Skip to content
  • Evan Cheng's avatar
    If any def of a machine-sink candidate has local uses, it's obviously not safe... · 25b6068b
    Evan Cheng authored
    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
    25b6068b
Loading