commit | c3439ad63f4d145ca7357b7918bd72dfde8213d3 | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Wed Aug 18 23:09:25 2010 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Wed Aug 18 23:09:25 2010 +0000 |
tree | 5c35218e862665a3a9c360078dcbe09a98981e5e | |
parent | ff2efb9f9caf6669beb587aa4d65f24d3a026090 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111450 91177308-0d34-0410-b5e6-96231b3b80d8