mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 23:29:51 +00:00
Mems can be in the output list also. This is the second half of a fix for
PR833 llvm-svn: 29224
This commit is contained in:
parent
cb3c26fa6a
commit
77e6cda5d0
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user