mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 23:29:51 +00:00
fix storing booleans (grawp missed this one)
llvm-svn: 26120
This commit is contained in:
parent
a514d8d8a6
commit
81b9a8f8f7
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user