summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/SparcISelLowering.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-11-03 11:35:31 +0000
committerDuncan Sands <baldrick@free.fr>2010-11-03 11:35:31 +0000
commitf5dda01f3385cfa4a510b490397a37548c12838f (patch)
tree01804c4afa101ec49ef9b2fe51ad719cfc85eeae /llvm/lib/Target/Sparc/SparcISelLowering.cpp
parent0806da8f28db297741439784a3d2643f2caf951f (diff)
downloadbcm5719-llvm-f5dda01f3385cfa4a510b490397a37548c12838f.tar.gz
bcm5719-llvm-f5dda01f3385cfa4a510b490397a37548c12838f.zip
Inside the calling convention logic LocVT is always a simple
value type, so there is no point in passing it around using an EVT. Use the simpler MVT everywhere. Rather than trying to propagate this information maximally in all the code that using the calling convention stuff, I chose to do a mainly low impact change instead. llvm-svn: 118167
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcISelLowering.cpp')
-rw-r--r--llvm/lib/Target/Sparc/SparcISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/SparcISelLowering.cpp b/llvm/lib/Target/Sparc/SparcISelLowering.cpp
index 3e5024ac61b..18ac7942cd7 100644
--- a/llvm/lib/Target/Sparc/SparcISelLowering.cpp
+++ b/llvm/lib/Target/Sparc/SparcISelLowering.cpp
@@ -287,7 +287,7 @@ SparcTargetLowering::LowerCall(SDValue Chain, SDValue Callee,
// Count the size of the outgoing arguments.
unsigned ArgsSize = 0;
for (unsigned i = 0, e = Outs.size(); i != e; ++i) {
- switch (Outs[i].VT.getSimpleVT().SimpleTy) {
+ switch (Outs[i].VT.SimpleTy) {
default: llvm_unreachable("Unknown value type!");
case MVT::i1:
case MVT::i8:
OpenPOWER on IntegriCloud