Skip to content

Commit a925086

Browse files
committed
move test
1 parent 00c592e commit a925086

File tree

2 files changed

+12
-15
lines changed

2 files changed

+12
-15
lines changed

llvm/test/CodeGen/AMDGPU/inline-asm-use-bool.ll

Lines changed: 0 additions & 15 deletions
This file was deleted.

llvm/test/CodeGen/AMDGPU/inline-asm.ll

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,3 +363,15 @@ define void @mixed_def_sgpr_vgpr_def_asm() {
363363
call void asm sideeffect "; use $0 ", "{s[4:5]}"(i64 %sgpr.add)
364364
ret void
365365
}
366+
367+
define void @test(ptr %p, i1 %b) {
368+
; CHECK-LABEL: test:
369+
; CHECK: ; %bb.0:
370+
; CHECK-NEXT: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
371+
; CHECK-NEXT: ;;#ASMSTART
372+
; CHECK-NEXT: global_store_byte v[0:1], v2, off glc slc
373+
; CHECK-NEXT: ;;#ASMEND
374+
; CHECK-NEXT: s_setpc_b64 s[30:31]
375+
tail call void asm sideeffect "global_store_byte $0, $1, off glc slc", "v,v"(ptr %p, i1 %b)
376+
ret void
377+
}

0 commit comments

Comments
 (0)