Skip to content

Commit 7d2779e

Browse files
committed
implement feedback
1 parent aa34d1e commit 7d2779e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/test/Verifier/AMDGPU/intrinsic-amdgpu-init-exec-from-input.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,21 @@ attributes #0 = { convergent nocallback nofree nounwind willreturn }
66

77
; CHECK: only inreg arguments to the parent function are valid as inputs to this intrinsic
88
; CHECK-NEXT: call void @llvm.amdgcn.init.exec.from.input(i32 0, i32 0)
9-
define amdgpu_ps void @init_exec_from_input_fail_immarg(i32 inreg %a, i32 %b) {
9+
define void @init_exec_from_input_fail_immarg(i32 inreg %a, i32 %b) {
1010
call void @llvm.amdgcn.init.exec.from.input(i32 0, i32 0)
1111
ret void
1212
}
1313

1414
; CHECK: only inreg arguments to the parent function are valid as inputs to this intrinsic
1515
; CHECK-NEXT: call void @llvm.amdgcn.init.exec.from.input(i32 %b, i32 0)
16-
define amdgpu_ps void @init_exec_from_input_fail_not_inreg(i32 inreg %a, i32 %b) {
16+
define void @init_exec_from_input_fail_not_inreg(i32 inreg %a, i32 %b) {
1717
call void @llvm.amdgcn.init.exec.from.input(i32 %b, i32 0)
1818
ret void
1919
}
2020

2121
; CHECK: only inreg arguments to the parent function are valid as inputs to this intrinsic
2222
; CHECK-NEXT: call void @llvm.amdgcn.init.exec.from.input(i32 %c, i32 0)
23-
define amdgpu_ps void @init_exec_from_input_fail_constant(i32 inreg %a, i32 %b) {
23+
define void @init_exec_from_input_fail_constant(i32 inreg %a, i32 %b) {
2424
%c = add i32 %a, %b
2525
call void @llvm.amdgcn.init.exec.from.input(i32 %c, i32 0)
2626
ret void

0 commit comments

Comments
 (0)