
Should switch this to DiagnosticInfo and use the default calling convention, but that would require passing in the context.
8 lines
235 B
LLVM
8 lines
235 B
LLVM
; RUN: not llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -filetype=null %s 2>&1 | FileCheck %s
|
|
|
|
; CHECK: LLVM ERROR: unsupported calling convention
|
|
define void @caller(ptr %func) {
|
|
call aarch64_sve_vector_pcs void %func()
|
|
ret void
|
|
}
|