File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
llvm/test/Verifier/AMDGPU Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments