summaryrefslogtreecommitdiff
path: root/utils/TableGen/CodeGenRegisters.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-01-24 20:50:47 +0000
committerCraig Topper <craig.topper@gmail.com>2014-01-24 20:50:47 +0000
commitf3474549ba401c05a6d3db3dc6b2cfe3a7f73314 (patch)
treeb95e4ba3094c0d393c055dfcfc1053f47edede07 /utils/TableGen/CodeGenRegisters.cpp
parent96172cb4a44d890263c9054df35739a60569d4a5 (diff)
downloadllvm-f3474549ba401c05a6d3db3dc6b2cfe3a7f73314.tar.gz
llvm-f3474549ba401c05a6d3db3dc6b2cfe3a7f73314.tar.bz2
llvm-f3474549ba401c05a6d3db3dc6b2cfe3a7f73314.tar.xz
Replace tablegen uses of EVT with MVT. Add isOverloaded() to MVT to facilitate. Remove TGValueTypes.cpp since its unused now (and may have been before).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200036 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenRegisters.cpp')
-rw-r--r--utils/TableGen/CodeGenRegisters.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/CodeGenRegisters.cpp b/utils/TableGen/CodeGenRegisters.cpp
index f2eef4f68f..f491d57626 100644
--- a/utils/TableGen/CodeGenRegisters.cpp
+++ b/utils/TableGen/CodeGenRegisters.cpp
@@ -712,7 +712,7 @@ CodeGenRegisterClass::CodeGenRegisterClass(CodeGenRegBank &RegBank, Record *R)
unsigned Size = R->getValueAsInt("Size");
Namespace = R->getValueAsString("Namespace");
- SpillSize = Size ? Size : EVT(VTs[0]).getSizeInBits();
+ SpillSize = Size ? Size : MVT(VTs[0]).getSizeInBits();
SpillAlignment = R->getValueAsInt("Alignment");
CopyCost = R->getValueAsInt("CopyCost");
Allocatable = R->getValueAsBit("isAllocatable");