mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Mems can be in the output list also. This is the second half of a fix for
PR833 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29224 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d828a4b285
commit
a15cf7045e
@ -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…
x
Reference in New Issue
Block a user