[llvm] [InstCombine] limit icmp sgt (shl nsw X, C1), C0 --> icmp sgt X, C0 >> C1 to hasOneUse (PR #74318)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 4 05:43:38 PST 2023


nikic wrote:

I don't think this is the right way to fix this issue. If I'm reading the transformation log right, the problem seems to be that we lose nsw information in IndVarSimplify?

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


More information about the llvm-commits mailing list