1 ; RUN: not llvm-as -data-layout=A5 < %s 2>&1 | FileCheck -check-prefixes=COMMON,AS %s 2 ; RUN: not llc -mtriple amdgcn-amd-amdhsa-amdgiz < %s 2>&1 | FileCheck -check-prefixes=COMMON,LLC %s 3 ; RUN: llvm-as < %s | not llc -mtriple amdgcn-amd-amdhsa-amdgiz 2>&1 | FileCheck -check-prefixes=COMMON,LLC %s 4 ; RUN: not opt -data-layout=A5 -S < %s 2>&1 | FileCheck -check-prefixes=COMMON,LLC %s 5 ; RUN: llvm-as < %s | not opt -data-layout=A5 2>&1 | FileCheck -check-prefixes=COMMON,LLC %s 6 7 ; AS: assembly parsed, but does not verify as correct! 8 ; COMMON: Allocation instruction pointer not in the stack address space! 9 ; COMMON: %tmp = alloca i32 10 ; LLC: error: input module is broken! 11 12 define amdgpu_kernel void @test() { 13 %tmp = alloca i32 14 ret void 15 } 16 17