Shift and setcc types default to the pointer type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19619 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-01-16 23:59:48 +00:00
parent 6ae76fcc06
commit 714b69d047

View File

@ -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*));
}