forked from OSchip/llvm-project
Shift and setcc types default to the pointer type.
llvm-svn: 19619
This commit is contained in:
parent
12879e04cb
commit
5f180e4645
|
@ -24,7 +24,7 @@ TargetLowering::TargetLowering(TargetMachine &tm)
|
||||||
memset(OpActions, 0, sizeof(OpActions));
|
memset(OpActions, 0, sizeof(OpActions));
|
||||||
|
|
||||||
IsLittleEndian = TD.isLittleEndian();
|
IsLittleEndian = TD.isLittleEndian();
|
||||||
PointerTy = getValueType(TD.getIntPtrType());
|
ShiftAmountTy = SetCCResultTy = PointerTy = getValueType(TD.getIntPtrType());
|
||||||
memset(RegClassForVT, 0,MVT::LAST_VALUETYPE*sizeof(TargetRegisterClass*));
|
memset(RegClassForVT, 0,MVT::LAST_VALUETYPE*sizeof(TargetRegisterClass*));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue