[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Aug 31 10:48:16 PDT 2005
Changes in directory llvm/lib/Target/PowerPC:
PPC32ISelPattern.cpp updated: 1.172 -> 1.173
---
Log message:
Handle AssertSext/AssertZext nodes, fixing the regressions last night.
---
Diffs of the changes: (+4 -0)
PPC32ISelPattern.cpp | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.172 llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.173
--- llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.172 Fri Aug 26 15:25:03 2005
+++ llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp Wed Aug 31 12:48:04 2005
@@ -781,6 +781,10 @@
Reg = Result = (N.getValueType() != MVT::Other) ?
MakeReg(N.getValueType()) : 1;
break;
+ case ISD::AssertSext:
+ case ISD::AssertZext:
+ // Don't allocate a vreg for these nodes.
+ return Reg = SelectExpr(N.getOperand(0));
case ISD::TAILCALL:
case ISD::CALL:
// If this is a call instruction, make sure to prepare ALL of the result
More information about the llvm-commits
mailing list