summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-09-12 17:11:27 +0000
committerChris Lattner <sabre@nondot.org>2005-09-12 17:11:27 +0000
commit8048b85e8fe37fa955fe34d185b7d06e8319c1c2 (patch)
treebd93a2c0f7676688d090b757780cc54a65b63a42 /llvm/lib/Transforms/Scalar/InstructionCombining.cpp
parent2ee807c70f14380400ff4807c94ad439769d7435 (diff)
downloadbcm5719-llvm-8048b85e8fe37fa955fe34d185b7d06e8319c1c2.tar.gz
bcm5719-llvm-8048b85e8fe37fa955fe34d185b7d06e8319c1c2.zip
Fix a regression from last night, which caused this pass to create invalid
code for IV uses outside of loops that are not dominated by the latch block. We should only convert these uses to use the post-inc value if they ARE dominated by the latch block. Also use a new LoopInfo method to simplify some code. This fixes Transforms/LoopStrengthReduce/2005-09-12-UsesOutOutsideOfLoop.ll llvm-svn: 23318
Diffstat (limited to 'llvm/lib/Transforms/Scalar/InstructionCombining.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud