summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/TargetLowering.cpp
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
commit968947766b17bc1a6f27e556f9f340de2504e92d (patch)
tree6a60ab5ee20cf6ac2ca7adc6c885c9c9de60c9a1 /lib/CodeGen/SelectionDAG/TargetLowering.cpp
parentaa7744d75fc1769ccc12c65c07bb5b82afa58330 (diff)
downloadllvm-968947766b17bc1a6f27e556f9f340de2504e92d.tar.gz
llvm-968947766b17bc1a6f27e556f9f340de2504e92d.tar.bz2
llvm-968947766b17bc1a6f27e556f9f340de2504e92d.tar.xz
Change TargetLowering::setTypeAction to take an MVT, instead fo EVT.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169839 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 35f1931494..2ec7e73bf1 100644
--- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/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 {