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

Chris Lattner lattner at cs.uiuc.edu
Sun Jan 16 16:00:00 PST 2005



Changes in directory llvm/lib/Target:

TargetLowering.cpp updated: 1.5 -> 1.6
---
Log message:

Shift and setcc types default to the pointer type.


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

Index: llvm/lib/Target/TargetLowering.cpp
diff -u llvm/lib/Target/TargetLowering.cpp:1.5 llvm/lib/Target/TargetLowering.cpp:1.6
--- llvm/lib/Target/TargetLowering.cpp:1.5	Sun Jan 16 01:28:11 2005
+++ llvm/lib/Target/TargetLowering.cpp	Sun Jan 16 17:59:48 2005
@@ -24,7 +24,7 @@
   memset(OpActions, 0, sizeof(OpActions));
 
   IsLittleEndian = TD.isLittleEndian();
-  PointerTy = getValueType(TD.getIntPtrType());
+  ShiftAmountTy = SetCCResultTy = PointerTy = getValueType(TD.getIntPtrType());
   memset(RegClassForVT, 0,MVT::LAST_VALUETYPE*sizeof(TargetRegisterClass*));
 }
 






More information about the llvm-commits mailing list