[llvm] [InstCombine] Extend `foldICmpAddConstant` to disjoint `or`. (PR #75899)
Mikhail Gudim via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 20 00:54:56 PST 2023
mgudim wrote:
> @mgudim Could you please have a look at [dtcxzyw/llvm-opt-benchmark#10](https://github.com/dtcxzyw/llvm-opt-benchmark/pull/10)? Our CI found that this patch introduced some unnecessary `and %size, ~signmask` patterns before calling `operator new(size_t)`. Some file changes:
@dtcxzyw Sure, I'll take a look. But I didn't understand what file exactly the regressions are at. Can you paste the IR before and after the transformation. Preferably the smallest function which shows the regression.
https://github.com/llvm/llvm-project/pull/75899
More information about the llvm-commits
mailing list