[llvm] [InstCombine] Fix fail to fold (A >> C1) Pred C2 if shr is used multple times #83430 (PR #83563)

via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 22 22:08:29 PDT 2024


SahilPatidar wrote:

@dtcxzyw, It seems to be working perfectly now, and I haven't noticed any test failures after the changes. However, the current implementation feels a bit like a brute force approach, and the code could definitely use some improvement – it's a bit rough around the edges. Considering this, should I go ahead and make a commit on this PR?

https://github.com/llvm/llvm-project/pull/83563


More information about the llvm-commits mailing list