aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMFastISel.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2013-08-15 02:33:50 +0000
committerCraig Topper <craig.topper@gmail.com>2013-08-15 02:33:50 +0000
commit5a0910b34959fa8e0b5a49908f51a15bc3a48069 (patch)
treed946a6df74da234c24e33b16a12b4ebcf913d408 /lib/Target/ARM/ARMFastISel.cpp
parente742d687369f79702894b6cf302e1f222c5d7432 (diff)
downloadexternal_llvm-5a0910b34959fa8e0b5a49908f51a15bc3a48069.zip
external_llvm-5a0910b34959fa8e0b5a49908f51a15bc3a48069.tar.gz
external_llvm-5a0910b34959fa8e0b5a49908f51a15bc3a48069.tar.bz2
Replace getValueType().getSimpleVT() with getSimpleValueType(). Also remove one weird cast from MVT->EVT just to call getSimpleVT().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188441 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMFastISel.cpp')
-rw-r--r--lib/Target/ARM/ARMFastISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMFastISel.cpp b/lib/Target/ARM/ARMFastISel.cpp
index ed054aa..fc847b8 100644
--- a/lib/Target/ARM/ARMFastISel.cpp
+++ b/lib/Target/ARM/ARMFastISel.cpp
@@ -1933,7 +1933,7 @@ bool ARMFastISel::ProcessCallArgs(SmallVectorImpl<Value*> &Args,
!VA.isRegLoc() || !ArgLocs[++i].isRegLoc())
return false;
} else {
- switch (static_cast<EVT>(ArgVT).getSimpleVT().SimpleTy) {
+ switch (ArgVT.SimpleTy) {
default:
return false;
case MVT::i1: