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 | 504d1d2fa4103bddcc6e1ad26697029c79b4aeb7 (patch) | |
tree | 6cca5309382438578f3dc1103a505bbf421e628e /lib | |
parent | c035c940a656f34a58ebe22fcc5f9b2a7d8e97fb (diff) | |
download | external_llvm-504d1d2fa4103bddcc6e1ad26697029c79b4aeb7.zip external_llvm-504d1d2fa4103bddcc6e1ad26697029c79b4aeb7.tar.gz external_llvm-504d1d2fa4103bddcc6e1ad26697029c79b4aeb7.tar.bz2 |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/AggressiveAntiDepBreaker.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ unsigned AggressiveAntiDepBreaker::BreakAntiDependencies( I != E; --Count) { MachineInstr *MI = --I; + if (MI->isDebugValue()) + continue; + DEBUG(dbgs() << "Anti: "); DEBUG(MI->dump()); |