From 910cd3cfa2286baa683180a0d888f6d3c77f9d54 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Mon, 9 Jan 2006 22:29:54 +0000 Subject: [PATCH] More typos git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25162 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86ISelLowering.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 669f7de6ea2..6898e24ac42 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -1231,7 +1231,7 @@ SDOperand X86TargetLowering::LowerOperation(SDOperand Op, SelectionDAG &DAG) { SDOperand ShOpHi = Op.getOperand(1); SDOperand ShAmt = Op.getOperand(2); SDOperand Tmp1 = isSRA ? DAG.getNode(ISD::SRA, MVT::i32, ShOpHi, - DAG.getConstant(32, MVT::i32)) + DAG.getConstant(31, MVT::i32)) : DAG.getConstant(0, MVT::i32); SDOperand Tmp2, Tmp3; @@ -1271,6 +1271,7 @@ SDOperand X86TargetLowering::LowerOperation(SDOperand Op, SelectionDAG &DAG) { Ops.push_back(Tmp2); Ops.push_back(Tmp3); Ops.push_back(CC); + Ops.push_back(InFlag); Lo = DAG.getNode(X86ISD::CMOV, Tys, Ops); InFlag = Lo.getValue(1);