diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-04-15 23:41:02 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-04-15 23:41:02 +0000 |
commit | 626f3d7a57f4f2a46880331fdacce259195213ef (patch) | |
tree | ff19226438a4a142785764663d212d2666ef299a /lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | cd52932dce81d9578039565dd836a340b7bb2c63 (diff) |
Avoid sinking machine instructions into a loop.
MachineLoopInfo is already available when MachineSinking runs, so the check is
free.
There is no test case because it would require a critical edge into a loop, and
CodeGenPrepare splits those. This check is just to be extra careful.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101420 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions