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 | 53b59d1d974184657edfd22779e0bb3653d164ec (patch) | |
| tree | f49ed6abdb7377a97fa83fa6c9c9750e730cd817 /lib/Target/Mips/MipsISelLowering.cpp | |
| parent | 8c574be2fec59a3d80e400a9a0409b28f7f34829 (diff) | |
| download | external_llvm-53b59d1d974184657edfd22779e0bb3653d164ec.zip external_llvm-53b59d1d974184657edfd22779e0bb3653d164ec.tar.gz external_llvm-53b59d1d974184657edfd22779e0bb3653d164ec.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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161062 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsISelLowering.cpp')
0 files changed, 0 insertions, 0 deletions
