OSDN Git Service

[Tests] Split an LFTR dead-iv case
authorPhilip Reames <listmail@philipreames.com>
Mon, 10 Jun 2019 22:33:20 +0000 (22:33 +0000)
committerPhilip Reames <listmail@philipreames.com>
Mon, 10 Jun 2019 22:33:20 +0000 (22:33 +0000)
commit150fff8ce44fec676b6b2a78fc926abb13a73c06
treebfe7bb51e68206942b4f81256fd3a0dbce3f8863
parent2cda3f1ac0459efb35d88998c14b17e110600763
[Tests] Split an LFTR dead-iv case

There are two interesting sub-cases here.  1) Switching IVs is legal, but only in pre-increment form.  and 2) Switching IVs is legal, and so is post-increment form.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362993 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/IndVarSimplify/lftr-dead-ivs.ll