diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-08-18 23:09:25 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-08-18 23:09:25 +0000 |
commit | 25b6068b8f5d9eb8b47ecb53678d738c7f50e645 (patch) | |
tree | 41919941befec9155044c5dd2eddfea9eb68b30e /llvm/lib/CodeGen/LocalStackSlotAllocation.cpp | |
parent | 211a787eaf9b5fbaed92fe3d1a2470c3206a3c41 (diff) | |
download | llvm-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