aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-08-18 23:09:25 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-08-18 23:09:25 +0000
commit25b6068b8f5d9eb8b47ecb53678d738c7f50e645 (patch)
tree41919941befec9155044c5dd2eddfea9eb68b30e /llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
parent211a787eaf9b5fbaed92fe3d1a2470c3206a3c41 (diff)
downloadllvm-25b6068b8f5d9eb8b47ecb53678d738c7f50e645.zip
llvm-25b6068b8f5d9eb8b47ecb53678d738c7f50e645.tar.gz
llvm-25b6068b8f5d9eb8b47ecb53678d738c7f50e645.tar.bz2
If any def of a machine-sink candidate has local uses, it's obviously not safe to sink it to a successor block. This bug has been hidden because a later check for critical-edge disable these illegal optimizations. This patch should significantly reduce the amount of time spent on checking dominator information for obviously unsafe sinking.
llvm-svn: 111450
Diffstat (limited to 'llvm/lib/CodeGen/LocalStackSlotAllocation.cpp')
0 files changed, 0 insertions, 0 deletions