From 5f180e46456fe5efba04e11d7981512597e7b22f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 16 Jan 2005 23:59:48 +0000 Subject: [PATCH] Shift and setcc types default to the pointer type. llvm-svn: 19619 --- llvm/lib/Target/TargetLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/TargetLowering.cpp b/llvm/lib/Target/TargetLowering.cpp index b4d4a170b368..dd8c084a5979 100644 --- a/llvm/lib/Target/TargetLowering.cpp +++ b/llvm/lib/Target/TargetLowering.cpp @@ -24,7 +24,7 @@ TargetLowering::TargetLowering(TargetMachine &tm) 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*)); }