indvars: fixed IV cloning in -disable-iv-rewrite mode with associated
authorAndrew Trick <atrick@apple.com>
Wed, 25 May 2011 04:42:22 +0000 (04:42 +0000)
committerAndrew Trick <atrick@apple.com>
Wed, 25 May 2011 04:42:22 +0000 (04:42 +0000)
commit03d3d3b361800f28c75d3386978d22e6d57744b7
tree1aee4d19a8b79ab0bd0cd5802b51b85a1b04e4cb
parent47268164f3d660f6357cc3a59d510efe3bc9152f
indvars: fixed IV cloning in -disable-iv-rewrite mode with associated
cleanup and overdue test cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132038 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/IndVarSimplify.cpp
test/Transforms/IndVarSimplify/elim-extend.ll [new file with mode: 0644]
test/Transforms/IndVarSimplify/no-iv-rewrite.ll [new file with mode: 0644]