OSDN Git Service

[LFTR] Rename variable to minimize confusion [NFC]
authorPhilip Reames <listmail@philipreames.com>
Wed, 19 Jun 2019 20:41:28 +0000 (20:41 +0000)
committerPhilip Reames <listmail@philipreames.com>
Wed, 19 Jun 2019 20:41:28 +0000 (20:41 +0000)
commit4fba1e0a922695cb03f2e4c07875cfb8be2a2531
tree3cf974575a728945c65898fd38d00030059a86fb
parent5b01aa833231e2a91ab91bb43bba0d0531b670c5
[LFTR] Rename variable to minimize confusion [NFC]

(Recommit of r363293 which was reverted when a dependent patch was.)

As pointed out by Nikita in D62625, BackedgeTakenCount is generally used to refer to the backedge taken count of the loop. A conditional backedge taken count - one which only applies if a particular exit is taken - is called a ExitCount in SCEV code, so be consistent here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363875 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/IndVarSimplify.cpp