From: Dale Johannesen Date: Mon, 27 Sep 2010 17:29:47 +0000 (+0000) Subject: MMX parameters aren't handled here yet. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a8bd1ff8c5e77429dd19257b8039a9abca59e6f1;p=oota-llvm.git MMX parameters aren't handled here yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114844 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86FastISel.cpp b/lib/Target/X86/X86FastISel.cpp index 9390ba91d69..50dd2c5d3f1 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)