[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Sep 29 10:39:05 PDT 2005
Changes in directory llvm/lib/Target/PowerPC:
PPC32ISelPattern.cpp updated: 1.179 -> 1.180
---
Log message:
consistency with other cases, no functionality change
---
Diffs of the changes: (+2 -0)
PPC32ISelPattern.cpp | 2 ++
1 files changed, 2 insertions(+)
Index: llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.179 llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.180
--- llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.179 Wed Sep 28 17:29:58 2005
+++ llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp Thu Sep 29 12:38:52 2005
@@ -1058,6 +1058,8 @@
DestType = N.getValue(0).getValueType();
if (Result == 1)
Result = ExprMap[N.getValue(0)] = MakeReg(DestType);
+ else
+ ExprMap[N.getValue(1)] = 1;
Tmp1 = dyn_cast<RegisterSDNode>(Node->getOperand(1))->getReg();
if (MVT::isInteger(DestType))
BuildMI(BB, PPC::OR, 2, Result).addReg(Tmp1).addReg(Tmp1);
More information about the llvm-commits
mailing list