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:
a091fa8
)
getOperandConstraint returns -1 if the operand does have the specific constraint...
author
Evan Cheng
<evan.cheng@apple.com>
Thu, 7 Dec 2006 00:46:04 +0000
(
00:46
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Thu, 7 Dec 2006 00:46:04 +0000
(
00:46
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32295
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/VirtRegMap.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/VirtRegMap.cpp
b/lib/CodeGen/VirtRegMap.cpp
index 359294d18e484d26b626b24cad83864c56074c81..60a773b3b03b44061872d504af8dec51bc7cfc8e 100644
(file)
--- a/
lib/CodeGen/VirtRegMap.cpp
+++ b/
lib/CodeGen/VirtRegMap.cpp
@@
-97,7
+97,7
@@
void VirtRegMap::virtFolded(unsigned VirtReg, MachineInstr *OldMI,
}
ModRef MRInfo;
- if (TII.getOperandConstraint(OldMI->getOpcode(), OpNo, TOI::TIED_TO)) {
+ if (TII.getOperandConstraint(OldMI->getOpcode(), OpNo, TOI::TIED_TO)
!= -1
) {
// Folded a two-address operand.
MRInfo = isModRef;
} else if (OldMI->getOperand(OpNo).isDef()) {