[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp
Nate Begeman
natebegeman at mac.com
Thu Aug 25 17:34:17 PDT 2005
Changes in directory llvm/lib/Target/PowerPC:
PPC32ISelDAGToDAG.cpp updated: 1.36 -> 1.37
---
Log message:
SUBFIC produces two results, not one.
---
Diffs of the changes: (+4 -4)
PPC32ISelDAGToDAG.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp:1.36 llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp:1.37
--- llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp:1.36 Thu Aug 25 19:28:00 2005
+++ llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp Thu Aug 25 19:34:06 2005
@@ -1188,8 +1188,8 @@
SDOperand HI = Select(N->getOperand(0));
SDOperand LO = Select(N->getOperand(1));
SDOperand SH = Select(N->getOperand(2));
- SDOperand SH_LO_R = CurDAG->getTargetNode(PPC::SUBFIC, MVT::i32, SH,
- getI32Imm(32));
+ SDOperand SH_LO_R = CurDAG->getTargetNode(PPC::SUBFIC, MVT::i32, MVT::Flag,
+ SH, getI32Imm(32));
SDOperand SH_LO_L = CurDAG->getTargetNode(PPC::ADDI, MVT::i32, SH,
getI32Imm((unsigned)-32));
SDOperand HI_SHL = CurDAG->getTargetNode(PPC::SLW, MVT::i32, HI, SH);
@@ -1207,8 +1207,8 @@
SDOperand HI = Select(N->getOperand(0));
SDOperand LO = Select(N->getOperand(1));
SDOperand SH = Select(N->getOperand(2));
- SDOperand SH_HI_L = CurDAG->getTargetNode(PPC::SUBFIC, MVT::i32, SH,
- getI32Imm(32));
+ SDOperand SH_HI_L = CurDAG->getTargetNode(PPC::SUBFIC, MVT::i32, MVT::Flag,
+ SH, getI32Imm(32));
SDOperand SH_HI_R = CurDAG->getTargetNode(PPC::ADDI, MVT::i32, SH,
getI32Imm((unsigned)-32));
SDOperand LO_SHR = CurDAG->getTargetNode(PPC::SRW, MVT::i32, LO, SH);
More information about the llvm-commits
mailing list