diff options
author | Patrik Hagglund <patrik.h.hagglund@ericsson.com> | 2012-12-13 20:42:43 +0000 |
---|---|---|
committer | Patrik Hagglund <patrik.h.hagglund@ericsson.com> | 2012-12-13 20:42:43 +0000 |
commit | 13abe5ec3c8ff646352289370e0fa84bacce37c7 (patch) | |
tree | 3b80ca901df0923745d84cf6bccbec7f9115e586 /llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | |
parent | 62e8770ff8474941e9713f7f034c7df354cae9ec (diff) | |
download | bcm5719-llvm-13abe5ec3c8ff646352289370e0fa84bacce37c7.tar.gz bcm5719-llvm-13abe5ec3c8ff646352289370e0fa84bacce37c7.zip |
Change TargetLowering::setTypeAction to take an MVT, instead fo EVT.
llvm-svn: 170148
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 2 |
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 { |