[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:
Sean Fertile 2020-08-31 11:14:17 -04:00
parent a4b07894ec
commit 73015ddfca

View 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
}