aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-01-27 05:44:56 +0000
committerEric Christopher <echristo@apple.com>2011-01-27 05:44:56 +0000
commit4a2b31676217cbf710f74253ae6ab8306b115ba6 (patch)
tree98410643cae86f022e74387f58be9816f740c561 /lib/Target/ARM
parent40ccb798ccac6bc3f2c819828a249cc186932a3f (diff)
downloadexternal_llvm-4a2b31676217cbf710f74253ae6ab8306b115ba6.zip
external_llvm-4a2b31676217cbf710f74253ae6ab8306b115ba6.tar.gz
external_llvm-4a2b31676217cbf710f74253ae6ab8306b115ba6.tar.bz2
Use the incoming VT not the VT of where we're trying to store to determine
if we can store a value. Also, the exclusion is or, not and. Fixes rdar://8920247. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124357 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM')
-rw-r--r--lib/Target/ARM/ARMFastISel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMFastISel.cpp b/lib/Target/ARM/ARMFastISel.cpp
index f05eded..9f29530 100644
--- a/lib/Target/ARM/ARMFastISel.cpp
+++ b/lib/Target/ARM/ARMFastISel.cpp
@@ -1437,8 +1437,8 @@ bool ARMFastISel::ProcessCallArgs(SmallVectorImpl<Value*> &Args,
unsigned Arg = ArgRegs[VA.getValNo()];
MVT ArgVT = ArgVTs[VA.getValNo()];
- // We don't handle NEON parameters yet.
- if (VA.getLocVT().isVector() && VA.getLocVT().getSizeInBits() > 64)
+ // We don't handle NEON/vector parameters yet.
+ if (ArgVT.isVector() || ArgVT.getSizeInBits() > 64)
return false;
// Handle arg promotion, etc.