diff options
author | Manman Ren <mren@apple.com> | 2012-07-31 18:10:39 +0000 |
---|---|---|
committer | Manman Ren <mren@apple.com> | 2012-07-31 18:10:39 +0000 |
commit | 8c549b586c613753fa40e8cd5e6b5e56308d0f0c (patch) | |
tree | 13dad8329b3d8c5a457dae7289d7971ef9140786 /llvm/lib/CodeGen/MachineTraceMetrics.cpp | |
parent | b67d7a3a338b572b375de203f7bd5bca67b5d523 (diff) | |
download | llvm-8c549b586c613753fa40e8cd5e6b5e56308d0f0c.zip llvm-8c549b586c613753fa40e8cd5e6b5e56308d0f0c.tar.gz llvm-8c549b586c613753fa40e8cd5e6b5e56308d0f0c.tar.bz2 |
MachineSink: Sort the successors before trying to find SuccToSinkTo.
One motivating example is to sink an instruction from a basic block which has
two successors: one outside the loop, the other inside the loop. We should try
to sink the instruction outside the loop.
rdar://11980766
llvm-svn: 161062
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions