Skip to content

Commit 4f5cfa8

Browse files
authored
AMDGPU: Remove amdhsa_code_object_version module flags from most tests (#136363)
These were added to the migration from v4 to v5 and should be removed now that the default has changed.
1 parent d43ce35 commit 4f5cfa8

File tree

67 files changed

+200
-347
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+200
-347
lines changed

llvm/test/CodeGen/AMDGPU/GlobalISel/crash-stack-address-O0.ll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,3 @@ entry:
2626
ret void
2727
}
2828

29-
!llvm.module.flags = !{!0}
30-
!0 = !{i32 1, !"amdhsa_code_object_version", i32 500}

llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-assert-align.ll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,5 +210,3 @@ entry:
210210
ret ptr addrspace(1) %call
211211
}
212212

213-
!llvm.module.flags = !{!0}
214-
!0 = !{i32 1, !"amdhsa_code_object_version", i32 500}

llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-atomicrmw.ll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,5 +178,3 @@ define <2 x half> @test_atomicrmw_fmax_vector(ptr addrspace(3) %addr) {
178178
ret <2 x half> %oldval
179179
}
180180

181-
!llvm.module.flags = !{!0}
182-
!0 = !{i32 1, !"amdhsa_code_object_version", i32 500}

llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call-abi-attribute-hints.ll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,5 +227,3 @@ define void @func_call_no_other_sgprs() {
227227
ret void
228228
}
229229

230-
!llvm.module.flags = !{!0}
231-
!0 = !{i32 1, !"amdhsa_code_object_version", i32 500}

llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call-return-values.ll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3013,5 +3013,3 @@ attributes #0 = { nounwind }
30133013
attributes #1 = { nounwind readnone }
30143014
attributes #2 = { nounwind noinline }
30153015

3016-
!llvm.module.flags = !{!0}
3017-
!0 = !{i32 1, !"amdhsa_code_object_version", i32 500}

llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call-sret.ll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,3 @@ define amdgpu_kernel void @test_call_external_void_func_sret_struct_i8_i32_byval
9090
ret void
9191
}
9292

93-
!llvm.module.flags = !{!0}
94-
!0 = !{i32 1, !"amdhsa_code_object_version", i32 500}

llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call.ll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6124,5 +6124,3 @@ attributes #0 = { nounwind }
61246124
attributes #1 = { nounwind readnone }
61256125
attributes #2 = { nounwind noinline }
61266126

6127-
!llvm.module.flags = !{!0}
6128-
!0 = !{i32 1, !"amdhsa_code_object_version", i32 500}

llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-constant-fold-vector-op.ll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,3 @@ entry:
2323
ret void
2424
}
2525

26-
!llvm.module.flags = !{!0}
27-
!0 = !{i32 1, !"amdhsa_code_object_version", i32 500}

llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-indirect-call.ll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,3 @@ define amdgpu_gfx void @test_gfx_indirect_call_sgpr_ptr(ptr %fptr) {
7474
ret void
7575
}
7676

77-
!llvm.module.flags = !{!0}
78-
!0 = !{i32 1, !"amdhsa_code_object_version", i32 500}

llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-sibling-call.ll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1488,5 +1488,3 @@ entry:
14881488
attributes #0 = { nounwind }
14891489
attributes #1 = { nounwind noinline "amdgpu-no-dispatch-id" "amdgpu-no-dispatch-ptr" "amdgpu-no-heap-ptr" "amdgpu-no-hostcall-ptr" "amdgpu-no-implicitarg-ptr" "amdgpu-no-lds-kernel-id" "amdgpu-no-multigrid-sync-arg" "amdgpu-no-queue-ptr" "amdgpu-no-workgroup-id-x" "amdgpu-no-workgroup-id-y" "amdgpu-no-workgroup-id-z" "amdgpu-no-workitem-id-x" "amdgpu-no-workitem-id-y" "amdgpu-no-workitem-id-z" }
14901490

1491-
!llvm.module.flags = !{!0}
1492-
!0 = !{i32 1, !"amdhsa_code_object_version", i32 500}

0 commit comments

Comments
 (0)