commit | 504d1d2fa4103bddcc6e1ad26697029c79b4aeb7 | [log] [tgz] |
---|---|---|
author | Hal Finkel <hfinkel@anl.gov> | Mon Jan 16 22:53:41 2012 +0000 |
committer | Hal Finkel <hfinkel@anl.gov> | Mon Jan 16 22:53:41 2012 +0000 |
tree | 6cca5309382438578f3dc1103a505bbf421e628e | |
parent | c035c940a656f34a58ebe22fcc5f9b2a7d8e97fb [diff] |
AggressiveAntiDepBreaker needs to skip debug values because a debug value does not have a corresponding SUnit git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148260 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/AggressiveAntiDepBreaker.cpp b/lib/CodeGen/AggressiveAntiDepBreaker.cpp index 77958d9..02f4afd 100644 --- a/lib/CodeGen/AggressiveAntiDepBreaker.cpp +++ b/lib/CodeGen/AggressiveAntiDepBreaker.cpp
@@ -780,6 +780,9 @@ I != E; --Count) { MachineInstr *MI = --I; + if (MI->isDebugValue()) + continue; + DEBUG(dbgs() << "Anti: "); DEBUG(MI->dump());