[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp

Chris Lattner lattner at cs.uiuc.edu
Sat Apr 9 12:47:37 PDT 2005



Changes in directory llvm/lib/Target/PowerPC:

PPC32ISelSimple.cpp updated: 1.135 -> 1.136
---
Log message:

Fix a crash on 173.applu by asking for a constant bigger than 32-bits.


---
Diffs of the changes:  (+1 -1)

 PPC32ISelSimple.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.135 llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.136
--- llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.135	Sat Apr  9 11:32:30 2005
+++ llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp	Sat Apr  9 14:47:21 2005
@@ -3742,7 +3742,7 @@
   User::op_iterator IdxEnd = GEPI->op_end();
   const TargetData &TD = TM.getTargetData();
   const Type *Ty = Src->getType();
-  int64_t constValue = 0;
+  int32_t constValue = 0;
   
   // Record the operations to emit the GEP in a vector so that we can emit them
   // after having analyzed the entire instruction.






More information about the llvm-commits mailing list