mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 23:18:58 +00:00
e87f0932d9
We were not looking past casts to see if an element should be included or not. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254313 91177308-0d34-0410-b5e6-96231b3b80d8
8 lines
301 B
LLVM
8 lines
301 B
LLVM
$foo = comdat any
|
|
%t = type { i8 }
|
|
@foo = global %t zeroinitializer, comdat
|
|
@llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @bar, i8* getelementptr (%t, %t* @foo, i32 0, i32 0) }]
|
|
define internal void @bar() comdat($foo) {
|
|
ret void
|
|
}
|