mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-25 15:01:07 +00:00
[compatibility.ll] Cover explicitly named comdats.
Patch by Vedant Kumar! <vsk@apple.com> llvm-svn: 244284
This commit is contained in:
parent
ba3c36d65a
commit
890fe75208
@ -40,6 +40,14 @@ $comdat.samesize = comdat samesize
|
||||
@comdat.samesize = global i32 0, comdat
|
||||
; CHECK: @comdat.samesize = global i32 0, comdat
|
||||
|
||||
; Force two globals from different comdats into sections with the same name.
|
||||
$comdat1 = comdat any
|
||||
$comdat2 = comdat any
|
||||
@g.comdat1 = global i32 0, section "SharedSection", comdat($comdat1)
|
||||
; CHECK: @g.comdat1 = global i32 0, section "SharedSection", comdat($comdat1)
|
||||
@g.comdat2 = global i32 0, section "SharedSection", comdat($comdat2)
|
||||
; CHECK: @g.comdat2 = global i32 0, section "SharedSection", comdat($comdat2)
|
||||
|
||||
;; Constants
|
||||
@const.true = constant i1 true
|
||||
; CHECK: @const.true = constant i1 true
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user