mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:19:43 +00:00
[PowerPC][AIX] Add test for returning a vector type. [NFC]
Shows error produced when trying to return a vector, which is not yet supported.
This commit is contained in:
parent
a4b07894ec
commit
73015ddfca
12
test/CodeGen/PowerPC/aix-vector-return.ll
Normal file
12
test/CodeGen/PowerPC/aix-vector-return.ll
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
; RUN: not --crash llc --verify-machineinstrs -mtriple powerpc-ibm-aix-xcoff \
|
||||||
|
; RUN: -mattr=+altivec 2>&1 < %s | FileCheck %s
|
||||||
|
|
||||||
|
; RUN: not --crash llc --verify-machineinstrs -mtriple powerpc64-ibm-aix-xcoff \
|
||||||
|
; RUN: -mattr=+altivec 2>&1 < %s | FileCheck %s
|
||||||
|
|
||||||
|
; CHECK: LLVM ERROR: UPDATE_VRSAVE is unexpected on AIX.
|
||||||
|
|
||||||
|
define dso_local <4 x i32> @test() local_unnamed_addr #0 {
|
||||||
|
entry:
|
||||||
|
ret <4 x i32> zeroinitializer
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user