OSDN Git Service

Don't record the increment instruction; just recompute it from the Phi
authorDan Gohman <gohman@apple.com>
Mon, 9 Mar 2009 22:04:01 +0000 (22:04 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 9 Mar 2009 22:04:01 +0000 (22:04 +0000)
commit9d10086797b4dfe58f8b13a71534b28805f0713d
treed2f1ce7fe0aa8933af0086ec8e61bef2d36359c2
parent96c96b46e962c801c610ba878751d8c0ee1359c9
Don't record the increment instruction; just recompute it from the Phi
if needed. This simplifies the code a little, and is needed for an
upcoming refactoring.

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