[llvm] [InstCombine] Don't shrink AND mask if it grows the immediate (PR #199360)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Sun May 24 05:07:51 PDT 2026
dtcxzyw wrote:
> I believe implementing this functionality within AggressiveInstCombine is the simplest approach
No. If you check the O3 pass sequence in llvm/test/Other/new-pm-defaults.ll, you will find there are 6 InstCombine runs after AggressiveInstCombine, which reverts the change.
https://github.com/llvm/llvm-project/pull/199360
More information about the llvm-commits
mailing list