From: Daniel Sanders Date: Thu, 19 Mar 2015 11:27:23 +0000 (+0000) Subject: [sparc] Small fix to r232719 to make 2007-12-17-InvokeAsm.ll pass on the buildbot. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d30081aaa7e4b174a9ed2c4289a8f5bca78109d7;p=oota-llvm.git [sparc] Small fix to r232719 to make 2007-12-17-InvokeAsm.ll pass on the buildbot. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232720 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Sparc/SparcISelDAGToDAG.cpp b/lib/Target/Sparc/SparcISelDAGToDAG.cpp index c004ad9e626..1cf5ccfdef6 100644 --- a/lib/Target/Sparc/SparcISelDAGToDAG.cpp +++ b/lib/Target/Sparc/SparcISelDAGToDAG.cpp @@ -200,6 +200,7 @@ SparcDAGToDAGISel::SelectInlineAsmMemoryOperand(const SDValue &Op, SDValue Op0, Op1; switch (ConstraintID) { default: return true; + case InlineAsm::Constraint_i: case InlineAsm::Constraint_m: // memory if (!SelectADDRrr(Op, Op0, Op1)) SelectADDRri(Op, Op0, Op1);