forked from OSchip/llvm-project
[arm] Fix r238921. We must handle Constraint_i too.
llvm-svn: 238925
This commit is contained in:
parent
5a26b25471
commit
43a79bf694
|
@ -3923,6 +3923,10 @@ SelectInlineAsmMemoryOperand(const SDValue &Op, unsigned ConstraintID,
|
|||
switch(ConstraintID) {
|
||||
default:
|
||||
llvm_unreachable("Unexpected asm memory constraint");
|
||||
case InlineAsm::Constraint_i:
|
||||
// FIXME: It seems strange that 'i' is needed here since it's supposed to
|
||||
// be an immediate and not a memory constraint.
|
||||
// Fallthrough.
|
||||
case InlineAsm::Constraint_m:
|
||||
case InlineAsm::Constraint_Q:
|
||||
case InlineAsm::Constraint_Um:
|
||||
|
|
Loading…
Reference in New Issue