llvm.org GIT mirror llvm / release_38 test / CodeGen / SystemZ / vec-args-error-04.ll
release_38

Tree @release_38 (Download .tar.gz)

vec-args-error-04.ll @release_38raw · history · blame

; Verify that we detect unsupported single-element vector types.

; RUN: not llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 2>&1 | FileCheck %s

declare <1 x i128> @bar()

define void @foo() {
  %res = call <1 x i128> @bar ()
  ret void
}

; CHECK: LLVM ERROR: Unsupported vector argument or return type