[SystemZ] Mark v1i128 and v1f128 as unsupported
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 5 May 2015 19:30:05 +0000 (19:30 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 5 May 2015 19:30:05 +0000 (19:30 +0000)
commit5211f9ff4d8f0bb87ace370155d2d4b59e278e39
tree2b0be158355187d6433331e13c007c017e9fa7b4
parentcd2a1b5341a3c42b1a56f8f301bd0de0343b5e8e
[SystemZ] Mark v1i128 and v1f128 as unsupported

The ABI specifies that <1 x i128> and <1 x fp128> are supposed to be
passed in vector registers.  We do not yet support those types, and
some infrastructure is missing before we can do so.

In order to prevent accidentally generating code violating the ABI,
this patch adds checks to detect those types and error out if user
code attempts to use them.

llvm-svn: 236526
llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
llvm/test/CodeGen/SystemZ/vec-args-error-01.ll [new file with mode: 0644]
llvm/test/CodeGen/SystemZ/vec-args-error-02.ll [new file with mode: 0644]
llvm/test/CodeGen/SystemZ/vec-args-error-03.ll [new file with mode: 0644]
llvm/test/CodeGen/SystemZ/vec-args-error-04.ll [new file with mode: 0644]
llvm/test/CodeGen/SystemZ/vec-args-error-05.ll [new file with mode: 0644]
llvm/test/CodeGen/SystemZ/vec-args-error-06.ll [new file with mode: 0644]
llvm/test/CodeGen/SystemZ/vec-args-error-07.ll [new file with mode: 0644]
llvm/test/CodeGen/SystemZ/vec-args-error-08.ll [new file with mode: 0644]