diff options
| author | Hal Finkel <hfinkel@anl.gov> | 2012-01-16 22:53:41 +0000 |
|---|---|---|
| committer | Hal Finkel <hfinkel@anl.gov> | 2012-01-16 22:53:41 +0000 |
| commit | 8606e3c7e381e5028aea01414efdeea0be8e84e5 (patch) | |
| tree | 643ee8d3c37f02ffc1faad2f826c87bbaf779272 /llvm/lib/CodeGen | |
| parent | 86ae07f049fce1bc69d26e7fa22caf3ce45259de (diff) | |
| download | bcm5719-llvm-8606e3c7e381e5028aea01414efdeea0be8e84e5.tar.gz bcm5719-llvm-8606e3c7e381e5028aea01414efdeea0be8e84e5.zip | |
AggressiveAntiDepBreaker needs to skip debug values because a debug value does not have a corresponding SUnit
llvm-svn: 148260
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp b/llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp index 77958d9c952..02f4afdfa59 100644 --- a/llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp +++ b/llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp @@ -780,6 +780,9 @@ unsigned AggressiveAntiDepBreaker::BreakAntiDependencies( I != E; --Count) { MachineInstr *MI = --I; + if (MI->isDebugValue()) + continue; + DEBUG(dbgs() << "Anti: "); DEBUG(MI->dump()); |

