이하동
이하동
InstCombine already recognizes `x & -x` in [`foldICmpAndConstant()`](https://github.com/llvm/llvm-project/blob/6a7f6a02bb95a75c615cde3194ad77d776b869c5/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp#L1967-L1975) for sign-bit comparisons. `x & -x` isolates the lowest set bit of `x`, but the following equality folds are currently missed: ```llvm...
InstSimplify can use the following equivalence: ```llvm icmp uge (sub X, (urem X, Y)), 1 ``` is equivalent to: ```llvm icmp uge X, Y ``` For a defined `urem`, let...
`LoopLoadElimination` can incorrectly forward a same-width store value across a mixed-width store that partially clobbers the forwarded value. This was initially exposed by @nikic in #221531. The LAA change in...