]> granicus.if.org Git - llvm/commit
[Tests] Add tests for D62939 (miscompiles around dead pointer IVs)
authorPhilip Reames <listmail@philipreames.com>
Mon, 10 Jun 2019 19:45:59 +0000 (19:45 +0000)
committerPhilip Reames <listmail@philipreames.com>
Mon, 10 Jun 2019 19:45:59 +0000 (19:45 +0000)
commit656142808af43d49d67e03d61cda05817cd908cd
tree1846c200cc950996ee014fc15669d7c2d5c3b1e4
parent4d44152a0f890bf7627f4cded2e81fa5319c2973
[Tests] Add tests for D62939 (miscompiles around dead pointer IVs)

Flesh out a collection of tests for switching to a dead IV within LFTR, both for the current miscompile, and for some cases which we should be able to handle via simple reasoning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362976 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/IndVarSimplify/lftr-dead-ivs.ll [new file with mode: 0644]