fix storing booleans (grawp missed this one)

llvm-svn: 26120
This commit is contained in:
Duraid Madina 2006-02-11 07:33:17 +00:00
parent 0010a92375
commit 4698e4f5fe
1 changed files with 3 additions and 3 deletions

View File

@ -556,9 +556,9 @@ void IA64DAGToDAGISel::Select(SDOperand &Result, SDOperand Op) {
// then load 1 into the same reg iff the predicate to store is 1
SDOperand Tmp;
Select(Tmp, N->getOperand(1));
CurDAG->getTargetNode(IA64::TPCADDS, MVT::i64, Initial,
Tmp = SDOperand(CurDAG->getTargetNode(IA64::TPCADDS, MVT::i64, Initial,
CurDAG->getConstant(1, MVT::i64),
Tmp);
Tmp), 0);
Result = CurDAG->SelectNodeTo(N, Opc, MVT::Other, Address, Tmp, Chain);
return;
}