diff options
author | Chris Lattner <sabre@nondot.org> | 2005-01-16 23:59:48 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-01-16 23:59:48 +0000 |
commit | 5f180e46456fe5efba04e11d7981512597e7b22f (patch) | |
tree | 98aadae96e5aa7c6fd127b6423039e8d8f8bfbd5 | |
parent | 12879e04cb909c1ec615d9c7cff09c332457edc2 (diff) | |
download | bcm5719-llvm-5f180e46456fe5efba04e11d7981512597e7b22f.tar.gz bcm5719-llvm-5f180e46456fe5efba04e11d7981512597e7b22f.zip |
Shift and setcc types default to the pointer type.
llvm-svn: 19619
-rw-r--r-- | llvm/lib/Target/TargetLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/TargetLowering.cpp b/llvm/lib/Target/TargetLowering.cpp index b4d4a170b36..dd8c084a597 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*)); } |