[PowerPC] Generate Power9 extswsli extend sign and shift immediate instruction
[llvm-core.git] / test / CodeGen / AMDGPU / invalid-alloca.ll
blob043ab46716bfb59e8eb578625040dc63624f1805
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
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!
12 define amdgpu_kernel void @test() {
13   %tmp = alloca i32
14   ret void