Skip to content

Commit dc740ce

Browse files
committed
Clean up test
1 parent 85e8efa commit dc740ce

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

llvm/test/CodeGen/AMDGPU/sdwa-peephole-cndmask-fail.ll

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,7 @@
1111
; CHECK-NOT: {{.*}}Bad machine code: Virtual register defs don't dominate all uses
1212
; CHECK: {{.*}}v_cndmask_b32_e32{{.*}}vcc_lo
1313

14-
; ModuleID = 'test.ll'
15-
source_filename = "test.ll"
16-
target datalayout = "e-p:64:64-p1:64:64-p2:32:32-p3:32:32-p4:64:64-p5:32:32-p6:32:32-p7:160:256:256:32-p8:128:128-p9:192:256:256:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64-S32-A5-G1-ni:7:8:9"
17-
target triple = "amdgcn-amd-amdhsa"
18-
19-
define amdgpu_kernel void @quux(i32 %arg, i1 %arg1, i1 %arg2) #0 {
14+
define amdgpu_kernel void @quux(i32 %arg, i1 %arg1, i1 %arg2) {
2015
bb:
2116
br i1 %arg1, label %bb9, label %bb3
2217

@@ -42,10 +37,4 @@ bb9: ; preds = %bb3, %bb
4237
%extractelement = extractelement <5 x i8> %phi, i64 0
4338
store i8 %extractelement, ptr addrspace(1) null, align 1
4439
ret void
45-
}
46-
47-
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
48-
declare noundef range(i32 0, 1024) i32 @llvm.amdgcn.workitem.id.x() #1
49-
50-
attributes #0 = { "target-cpu"="gfx1030" }
51-
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) "target-cpu"="gfx1030" }
40+
}

0 commit comments

Comments
 (0)