diff options
Diffstat (limited to 'test/CodeGen/R600/selectcc-opt.ll')
-rw-r--r-- | test/CodeGen/R600/selectcc-opt.ll | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/CodeGen/R600/selectcc-opt.ll b/test/CodeGen/R600/selectcc-opt.ll index bdb6867850ba..feaea87592b6 100644 --- a/test/CodeGen/R600/selectcc-opt.ll +++ b/test/CodeGen/R600/selectcc-opt.ll @@ -1,8 +1,8 @@ -; RUN: llc -march=r600 -mcpu=SI < %s | FileCheck -check-prefix=SI -check-prefix=FUNC %s +; RUN: llc -march=amdgcn -mcpu=SI < %s | FileCheck -check-prefix=SI -check-prefix=FUNC %s ; RUN: llc -march=r600 -mcpu=redwood < %s | FileCheck -check-prefix=EG -check-prefix=FUNC %s -; FUNC-LABEL: @test_a +; FUNC-LABEL: {{^}}test_a: ; EG-NOT: CND ; EG: SET{{[NEQGTL]+}}_DX10 @@ -30,7 +30,7 @@ ENDIF: ; Same as test_a, but the branch labels are swapped to produce the inverse cc ; for the icmp instruction -; EG-LABEL: @test_b +; EG-LABEL: {{^}}test_b: ; EG: SET{{[GTEQN]+}}_DX10 ; EG-NEXT: PRED_ ; EG-NEXT: ALU clause starting @@ -56,7 +56,7 @@ ENDIF: } ; Test a CND*_INT instruction with float true/false values -; EG-LABEL: @test_c +; EG-LABEL: {{^}}test_c: ; EG: CND{{[GTE]+}}_INT define void @test_c(float addrspace(1)* %out, i32 %in) { entry: @@ -66,11 +66,11 @@ entry: ret void } -; FUNC-LABEL: @selectcc_bool -; SI: V_CMP_NE_I32 -; SI-NEXT: V_CNDMASK_B32_e64 -; SI-NOT: CMP -; SI-NOT: CNDMASK +; FUNC-LABEL: {{^}}selectcc_bool: +; SI: v_cmp_ne_i32 +; SI-NEXT: v_cndmask_b32_e64 +; SI-NOT: cmp +; SI-NOT: cndmask define void @selectcc_bool(i32 addrspace(1)* %out, i32 %a, i32 %b) nounwind { %icmp0 = icmp ne i32 %a, %b %ext = select i1 %icmp0, i32 -1, i32 0 |