diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-04-11 00:00:26 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-04-11 00:00:26 +0000 |
commit | a3e86a604a6b2152bdafe1a568078bd96571f9cb (patch) | |
tree | 2c65c8349c27954bb6e99a7ef9fa36d23ab0c725 /lldb/scripts/Python/build-swig-Python.sh | |
parent | 0bcf8f4bfb72cbcea92ca617f442bf2f8476b244 (diff) | |
download | bcm5719-llvm-a3e86a604a6b2152bdafe1a568078bd96571f9cb.tar.gz bcm5719-llvm-a3e86a604a6b2152bdafe1a568078bd96571f9cb.zip |
Only check for PHI uses inside the current loop.
Hoisting a value that is used by a PHI in the loop will introduce a
copy because the live range is extended to cross the PHI.
The same applies to PHIs in exit blocks.
Also use this opportunity to make HasLoopPHIUse() non-recursive.
llvm-svn: 154454
Diffstat (limited to 'lldb/scripts/Python/build-swig-Python.sh')
0 files changed, 0 insertions, 0 deletions