[arm] Fix r238921. We must handle Constraint_i too.

llvm-svn: 238925
This commit is contained in:
Daniel Sanders 2015-06-03 14:17:18 +00:00
parent 5a26b25471
commit 43a79bf694
1 changed files with 4 additions and 0 deletions

View File

@ -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: