diff options
Diffstat (limited to 'test/CodeGen/R600/bitcast.ll')
-rw-r--r-- | test/CodeGen/R600/bitcast.ll | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/CodeGen/R600/bitcast.ll b/test/CodeGen/R600/bitcast.ll index 0be79e658f5c..3607d519f013 100644 --- a/test/CodeGen/R600/bitcast.ll +++ b/test/CodeGen/R600/bitcast.ll @@ -1,11 +1,11 @@ -; RUN: llc -march=r600 -mcpu=SI -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=FUNC %s +; RUN: llc -march=amdgcn -mcpu=SI -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=FUNC %s ; This test just checks that the compiler doesn't crash. declare void @llvm.SI.export(i32, i32, i32, i32, i32, float, float, float, float) -; FUNC-LABEL: @v32i8_to_v8i32 -; SI: S_ENDPGM +; FUNC-LABEL: {{^}}v32i8_to_v8i32: +; SI: s_endpgm define void @v32i8_to_v8i32(<32 x i8> addrspace(2)* inreg) #0 { entry: %1 = load <32 x i8> addrspace(2)* %0 @@ -17,8 +17,8 @@ entry: ret void } -; FUNC-LABEL: @i8ptr_v16i8ptr -; SI: S_ENDPGM +; FUNC-LABEL: {{^}}i8ptr_v16i8ptr: +; SI: s_endpgm define void @i8ptr_v16i8ptr(<16 x i8> addrspace(1)* %out, i8 addrspace(1)* %in) { entry: %0 = bitcast i8 addrspace(1)* %in to <16 x i8> addrspace(1)* @@ -55,8 +55,8 @@ define void @i32_to_v4i8(<4 x i8> addrspace(1)* %out, i32 addrspace(1)* %in) nou ret void } -; FUNC-LABEL: @bitcast_v2i32_to_f64 -; SI: S_ENDPGM +; FUNC-LABEL: {{^}}bitcast_v2i32_to_f64: +; SI: s_endpgm define void @bitcast_v2i32_to_f64(double addrspace(1)* %out, <2 x i32> addrspace(1)* %in) { %val = load <2 x i32> addrspace(1)* %in, align 8 %add = add <2 x i32> %val, <i32 4, i32 9> @@ -65,8 +65,8 @@ define void @bitcast_v2i32_to_f64(double addrspace(1)* %out, <2 x i32> addrspace ret void } -; FUNC-LABEL: @bitcast_f64_to_v2i32 -; SI: S_ENDPGM +; FUNC-LABEL: {{^}}bitcast_f64_to_v2i32: +; SI: s_endpgm define void @bitcast_f64_to_v2i32(<2 x i32> addrspace(1)* %out, double addrspace(1)* %in) { %val = load double addrspace(1)* %in, align 8 %add = fadd double %val, 4.0 |