mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 19:16:04 +00:00

The previous name 'amdgpu_code_object_version', was misleading since this is really a property of the HSA OS. The new spelling also matches the asm directive I added in bc82cfb.
18 lines
793 B
LLVM
18 lines
793 B
LLVM
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
|
|
; RUN: verify-uselistorder < %s
|
|
|
|
!llvm.module.flags = !{!0, !1, !2, !3, !4}
|
|
|
|
!0 = !{i32 1, !"PIC Level", i32 1}
|
|
!1 = !{i32 1, !"PIE Level", i32 1}
|
|
!2 = !{i32 1, !"Objective-C Image Info Version", i32 0}
|
|
!3 = !{i32 1, !"Objective-C Image Info Section", !"__DATA, __objc_imageinfo, regular, no_dead_strip"}
|
|
!4 = !{i32 1, !"amdgpu_code_object_version", i32 500}
|
|
|
|
; CHECK: !0 = !{i32 8, !"PIC Level", i32 1}
|
|
; CHECK: !1 = !{i32 7, !"PIE Level", i32 1}
|
|
; CHECK: !2 = !{i32 1, !"Objective-C Image Info Version", i32 0}
|
|
; CHECK: !3 = !{i32 1, !"Objective-C Image Info Section", !"__DATA,__objc_imageinfo,regular,no_dead_strip"}
|
|
; CHECK: !4 = !{i32 1, !"amdhsa_code_object_version", i32 500}
|
|
; CHECK: !5 = !{i32 4, !"Objective-C Class Properties", i32 0}
|