llvm-project
llvm-project copied to clipboard
[InstCombine] Missing select fold on nsz
Missed fold on (select nsz cond, X, y) -> (select nsz cond, 0.0, y) when X is +/-0.
https://godbolt.org/z/3vEhfd479 https://alive2.llvm.org/ce/z/5P2_7e
Not sure how common/profitable this pattern it is.