diff options
| author | Andrew Trick <atrick@apple.com> | 2014-01-02 19:29:38 +0000 |
|---|---|---|
| committer | Andrew Trick <atrick@apple.com> | 2014-01-02 19:29:38 +0000 |
| commit | 020dd898fc1bd82f771b7b771a5c34038c1eec6b (patch) | |
| tree | c5d77c81ff06d10303ffbaf651707f69c49db010 /llvm/lib/Analysis/InstructionSimplify.cpp | |
| parent | 4dcee6960fcdb1fb56f1c5bec6c02c6929ed2c3b (diff) | |
| download | bcm5719-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

