[LSR] Add a test case for (another) miscompile in lsr-term-fold
authorPhilip Reames <preames@rivosinc.com>
Tue, 21 Mar 2023 14:45:30 +0000 (07:45 -0700)
committerPhilip Reames <listmail@philipreames.com>
Tue, 21 Mar 2023 15:11:36 +0000 (08:11 -0700)
commitb7af34c303ca3dc53ee5945b0c692b3b10ebae94
treea4ab10e219cc8ff9d3b0686f9d16864dd3b7bff7
parentfaa1043144b3f6c3362fe1d9f43e55e741b40386
[LSR] Add a test case for (another) miscompile in lsr-term-fold

Derived from an observation by @nikic on D146457.
llvm/test/Transforms/LoopStrengthReduce/lsr-term-fold.ll