diff options
author | Duraid Madina <duraid@octopus.com.au> | 2006-02-11 07:33:17 +0000 |
---|---|---|
committer | Duraid Madina <duraid@octopus.com.au> | 2006-02-11 07:33:17 +0000 |
commit | b20f97959efbf7f521a9e6c748ffe032dbb4d6c6 (patch) | |
tree | 0f1a238fd6d784de211b27fd40154bc41d68effe | |
parent | 631a140054d90fd1a32a27b7fba9c5c4fc455402 (diff) |
fix storing booleans (grawp missed this one)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26120 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/IA64/IA64ISelDAGToDAG.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/IA64/IA64ISelDAGToDAG.cpp b/lib/Target/IA64/IA64ISelDAGToDAG.cpp index 0f4d84ea2b..c90493454a 100644 --- a/lib/Target/IA64/IA64ISelDAGToDAG.cpp +++ b/lib/Target/IA64/IA64ISelDAGToDAG.cpp @@ -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, - CurDAG->getConstant(1, MVT::i64), - Tmp); + Tmp = SDOperand(CurDAG->getTargetNode(IA64::TPCADDS, MVT::i64, Initial, + CurDAG->getConstant(1, MVT::i64), + Tmp), 0); Result = CurDAG->SelectNodeTo(N, Opc, MVT::Other, Address, Tmp, Chain); return; } |