diff options
author | Duncan Sands <baldrick@free.fr> | 2008-06-09 15:48:25 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2008-06-09 15:48:25 +0000 |
commit | 893076354a9fdb915cda27678570914dfd5732fa (patch) | |
tree | 2b795fe6a83c7aa6f01177f7f051be35d19a7538 /lib/CodeGen/SelectionDAG/TargetLowering.cpp | |
parent | 8a6ccb5f73cf2e490faa181ad6662633b3ee38df (diff) |
Various tweaks related to apint codegen. No functionality
change for non-funky-sized integers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52151 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/TargetLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp index 81cdf4637f..fe752de644 100644 --- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp @@ -250,7 +250,7 @@ void TargetLowering::computeRegisterProperties() { NumRegistersForVT[MVT::isVoid] = 0; // Find the largest integer register class. - unsigned LargestIntReg = MVT::i128; + unsigned LargestIntReg = MVT::LAST_INTEGER_VALUETYPE; for (; RegClassForVT[LargestIntReg] == 0; --LargestIntReg) assert(LargestIntReg != MVT::i1 && "No integer registers defined!"); |