diff options
author | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-06-03 14:17:18 +0000 |
---|---|---|
committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-06-03 14:17:18 +0000 |
commit | 43a79bf694a6a16842d2f86becfa85b95990651d (patch) | |
tree | a42e21b07880eb9791dd60913d74db7666e6a94c /llvm/lib/Target | |
parent | 5a26b254718b48666030089958f1917ef9ddd577 (diff) | |
download | bcm5719-llvm-43a79bf694a6a16842d2f86becfa85b95990651d.tar.gz bcm5719-llvm-43a79bf694a6a16842d2f86becfa85b95990651d.zip |
[arm] Fix r238921. We must handle Constraint_i too.
llvm-svn: 238925
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r-- | llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp b/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp index 0944f2c9e42..50afb192b33 100644 --- a/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp +++ b/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp @@ -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: |