aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/TargetLowering.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-01-16 23:59:48 +0000
committerChris Lattner <sabre@nondot.org>2005-01-16 23:59:48 +0000
commit714b69d0479e0fab36195e36da4578742ed4b63d (patch)
treee59bce411b158d696f84b604ac752b16a27cfe34 /lib/CodeGen/SelectionDAG/TargetLowering.cpp
parent6ae76fcc060e1943c54bb9b07bd3b5cdb3c793bc (diff)
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
Diffstat (limited to 'lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/TargetLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index b4d4a170b3..dd8c084a59 100644
--- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/lib/CodeGen/SelectionDAG/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*));
}