diff options
| author | Eric Christopher <echristo@apple.com> | 2011-01-27 05:44:56 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@apple.com> | 2011-01-27 05:44:56 +0000 |
| commit | 331cc5218d27a8a35d78ed7a2b36a47594ef8912 (patch) | |
| tree | 0da1cdaf18f430230283110869aae0bf713d6095 /llvm/lib/Target | |
| parent | 1373e5496b87cf2d515b0f30e0477162529ca42e (diff) | |
| download | bcm5719-llvm-331cc5218d27a8a35d78ed7a2b36a47594ef8912.tar.gz bcm5719-llvm-331cc5218d27a8a35d78ed7a2b36a47594ef8912.zip | |
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.
llvm-svn: 124357
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMFastISel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMFastISel.cpp b/llvm/lib/Target/ARM/ARMFastISel.cpp index f05eded575a..9f295302db0 100644 --- a/llvm/lib/Target/ARM/ARMFastISel.cpp +++ b/llvm/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. |

