summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/InstructionSimplify.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2014-01-02 19:29:38 +0000
committerAndrew Trick <atrick@apple.com>2014-01-02 19:29:38 +0000
commit020dd898fc1bd82f771b7b771a5c34038c1eec6b (patch)
treec5d77c81ff06d10303ffbaf651707f69c49db010 /llvm/lib/Analysis/InstructionSimplify.cpp
parent4dcee6960fcdb1fb56f1c5bec6c02c6929ed2c3b (diff)
downloadbcm5719-llvm-020dd898fc1bd82f771b7b771a5c34038c1eec6b.tar.gz
bcm5719-llvm-020dd898fc1bd82f771b7b771a5c34038c1eec6b.zip
indvars: insert truncate at loop boundary to avoid redundant IVs.
When widening an IV to remove s/zext, we generally try to eliminate the original narrow IV. However, LCSSA phi nodes outside the loop were still using the original IV. Clean this up more aggressively to avoid redundancy in generated code. llvm-svn: 198338
Diffstat (limited to 'llvm/lib/Analysis/InstructionSimplify.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud