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:
d828a4b
)
Mems can be in the output list also. This is the second half of a fix for
author
Chris Lattner
<sabre@nondot.org>
Thu, 20 Jul 2006 19:02:21 +0000
(19:02 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 20 Jul 2006 19:02:21 +0000
(19:02 +0000)
PR833
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29224
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 3968c38fa48ed7a4612e343c2b72388885fddb69..e8e7a4701fdb4844a30b768377dd8d10c88182d2 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@
-2167,7
+2167,8
@@
void SelectionDAGLowering::visitInlineAsm(CallInst &I) {
// Advance to the next operand.
unsigned NumOps =
cast<ConstantSDNode>(AsmNodeOperands[CurOp])->getValue();
- assert((NumOps & 7) == 2 /*REGDEF*/ &&
+ assert(((NumOps & 7) == 2 /*REGDEF*/ ||
+ (NumOps & 7) == 4 /*MEM*/) &&
"Skipped past definitions?");
CurOp += (NumOps>>3)+1;
}