llvm-project
5f30b1aa - [FuncSpec] Improve handling of BinaryOperator instructions (#114534)

Commit
1 year ago
[FuncSpec] Improve handling of BinaryOperator instructions (#114534) When visiting BinaryOperator instructions during estimation of codesize savings for a candidate specialization, don't bail when the other operand is not found to be constant. This allows us to find more constants than we otherwise would, for example `and(false, x)`.
Author
Parents
Loading