The only supported calling convention for X86-64 uses
authorDale Johannesen <dalej@apple.com>
Fri, 23 Jul 2010 00:30:35 +0000 (00:30 +0000)
committerDale Johannesen <dalej@apple.com>
Fri, 23 Jul 2010 00:30:35 +0000 (00:30 +0000)
commitc76d23f2e2550c60aaa26ec23711aecebea7f533
tree412ac434690af7e7a59e0de528dd3b2282ea8fe2
parent06e6e101a0e71cb8e3f612aaa3549f4750957357
The only supported calling convention for X86-64 uses
SSE, so we can't return floating point values if this
is disabled.  Detect this error for clang.

With SSE1 only, f64 is a problem; it can be done, but
neither llvm-gcc nor clang has ever generated correct
code for it.  Since nobody noticed this I think it's
OK to treat it as an error for now.

This also handles SSE-sized vectors of floating point.
82076868204109.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109201 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp