projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a722ca
)
Ignore debug info one more place during coalescing.
author
Dale Johannesen
<dalej@apple.com>
Wed, 10 Feb 2010 23:04:09 +0000
(23:04 +0000)
committer
Dale Johannesen
<dalej@apple.com>
Wed, 10 Feb 2010 23:04:09 +0000
(23:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95819
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SimpleRegisterCoalescing.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SimpleRegisterCoalescing.cpp
b/lib/CodeGen/SimpleRegisterCoalescing.cpp
index 1d9bda4ab0bd96ef174f8837510dcfe754064475..0d35b295a39c31182e06e014f3c734e82f9305c0 100644
(file)
--- a/
lib/CodeGen/SimpleRegisterCoalescing.cpp
+++ b/
lib/CodeGen/SimpleRegisterCoalescing.cpp
@@
-1173,6
+1173,8
@@
SimpleRegisterCoalescing::HasIncompatibleSubRegDefUse(MachineInstr *CopyMI,
for (MachineRegisterInfo::reg_iterator I = mri_->reg_begin(VirtReg),
E = mri_->reg_end(); I != E; ++I) {
MachineOperand &O = I.getOperand();
+ if (O.isDebug())
+ continue;
MachineInstr *MI = &*I;
if (MI == CopyMI || JoinedCopies.count(MI))
continue;