OSDN Git Service

[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)
commite07464832d2df15184b4b288873123ddaef831c3
treeff3ce3786f99518b1ba034723de0d83cd4b5277a
parent538287dea2e6ae17a0f81615097c4de0df5d1e4d
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236526 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SystemZ/SystemZISelLowering.cpp
test/CodeGen/SystemZ/vec-args-error-01.ll [new file with mode: 0644]
test/CodeGen/SystemZ/vec-args-error-02.ll [new file with mode: 0644]
test/CodeGen/SystemZ/vec-args-error-03.ll [new file with mode: 0644]
test/CodeGen/SystemZ/vec-args-error-04.ll [new file with mode: 0644]
test/CodeGen/SystemZ/vec-args-error-05.ll [new file with mode: 0644]
test/CodeGen/SystemZ/vec-args-error-06.ll [new file with mode: 0644]
test/CodeGen/SystemZ/vec-args-error-07.ll [new file with mode: 0644]
test/CodeGen/SystemZ/vec-args-error-08.ll [new file with mode: 0644]