[llvm] [SCEV] Preserve recursion depth when folding zext (PR #202350)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 8 08:12:38 PDT 2026


================

----------------
nikic wrote:

This looks like a very fragile test case. At least this should be directly calling the loop-reduce pass without going through llc, but ideall this would not be based on LSR at all -- I don't even know where this creates the relevant pattern that's being matched.

(I'd prefer no test case over a bad test case.)

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


More information about the llvm-commits mailing list