diff options
author | Duncan Sands <baldrick@free.fr> | 2010-11-03 11:35:31 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2010-11-03 11:35:31 +0000 |
commit | 1440e8b918d7116c3587cb95f4f7ac7a0a0b65ad (patch) | |
tree | 667c874fcb8f88caa625225f4e45383198140e86 /lib/Target/Sparc | |
parent | caebdd44f3a2c89457f09d0fa45a998c912235d2 (diff) | |
download | external_llvm-1440e8b918d7116c3587cb95f4f7ac7a0a0b65ad.zip external_llvm-1440e8b918d7116c3587cb95f4f7ac7a0a0b65ad.tar.gz external_llvm-1440e8b918d7116c3587cb95f4f7ac7a0a0b65ad.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118167 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc')
-rw-r--r-- | lib/Target/Sparc/SparcISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Sparc/SparcISelLowering.cpp b/lib/Target/Sparc/SparcISelLowering.cpp index 3e5024a..18ac794 100644 --- a/lib/Target/Sparc/SparcISelLowering.cpp +++ b/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: |