[llvm] r238925 - [arm] Fix r238921. We must handle Constraint_i too.
Daniel Sanders
daniel.sanders at imgtec.com
Wed Jun 3 07:17:19 PDT 2015
Author: dsanders
Date: Wed Jun 3 09:17:18 2015
New Revision: 238925
URL: http://llvm.org/viewvc/llvm-project?rev=238925&view=rev
Log:
[arm] Fix r238921. We must handle Constraint_i too.
Modified:
llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp?rev=238925&r1=238924&r2=238925&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp Wed Jun 3 09:17:18 2015
@@ -3923,6 +3923,10 @@ SelectInlineAsmMemoryOperand(const SDVal
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:
More information about the llvm-commits
mailing list