aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2010-09-27 17:29:47 +0000
committerDale Johannesen <dalej@apple.com>2010-09-27 17:29:47 +0000
commita8bd1ff8c5e77429dd19257b8039a9abca59e6f1 (patch)
treee3184c46ed486e5fc9d710bb5812063a391fc9a4 /lib
parent61b20efd9aae99101acf6fd480dee017b702f68b (diff)
downloadexternal_llvm-a8bd1ff8c5e77429dd19257b8039a9abca59e6f1.zip
external_llvm-a8bd1ff8c5e77429dd19257b8039a9abca59e6f1.tar.gz
external_llvm-a8bd1ff8c5e77429dd19257b8039a9abca59e6f1.tar.bz2
MMX parameters aren't handled here yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114844 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/X86/X86FastISel.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/X86/X86FastISel.cpp b/lib/Target/X86/X86FastISel.cpp
index 9390ba9..50dd2c5 100644
--- a/lib/Target/X86/X86FastISel.cpp
+++ b/lib/Target/X86/X86FastISel.cpp
@@ -1599,6 +1599,9 @@ bool X86FastISel::X86SelectCall(const Instruction *I) {
break;
}
case CCValAssign::AExt: {
+ // We don't handle MMX parameters yet.
+ if (VA.getLocVT().isVector() && VA.getLocVT().getSizeInBits() == 128)
+ return false;
bool Emitted = X86FastEmitExtend(ISD::ANY_EXTEND, VA.getLocVT(),
Arg, ArgVT, Arg);
if (!Emitted)