summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorPatrik Hagglund <patrik.h.hagglund@ericsson.com>2012-12-11 09:32:56 +0000
committerPatrik Hagglund <patrik.h.hagglund@ericsson.com>2012-12-11 09:32:56 +0000
commit40e1afe970c2e5f34540557bd2523c18ad57c2c5 (patch)
tree40ee1fc4253f0b241b6233194662235c11b02c1b /llvm/lib
parent57b1694df10d30cef3248ba86e2e95ecdd2b8817 (diff)
downloadbcm5719-llvm-40e1afe970c2e5f34540557bd2523c18ad57c2c5.tar.gz
bcm5719-llvm-40e1afe970c2e5f34540557bd2523c18ad57c2c5.zip
Change TargetLowering::setTypeAction to take an MVT, instead fo EVT.
llvm-svn: 169839
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index 35f19314946..2ec7e73bf17 100644
--- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -772,7 +772,7 @@ void TargetLowering::computeRegisterProperties() {
unsigned LegalIntReg = LargestIntReg;
for (unsigned IntReg = LargestIntReg - 1;
IntReg >= (unsigned)MVT::i1; --IntReg) {
- EVT IVT = (MVT::SimpleValueType)IntReg;
+ MVT IVT = (MVT::SimpleValueType)IntReg;
if (isTypeLegal(IVT)) {
LegalIntReg = IntReg;
} else {
OpenPOWER on IntegriCloud