mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
ea93373a0a
merging types by name when we can. We still don't guarantee type name linkage but we do it when obviously the right thing to do. This makes LTO type names easier to read, for example. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146932 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
235 B
LLVM
11 lines
235 B
LLVM
; RUN: echo "%X = type { i32 } @G2 = global %X { i32 4 }" > %t.ll
|
|
; RUN: llvm-link %s %t.ll -S | FileCheck %s
|
|
; PR11464
|
|
|
|
%X = type { i32 }
|
|
@G = global %X { i32 4 }
|
|
|
|
|
|
; CHECK: @G = global %X { i32 4 }
|
|
; CHECK: @G2 = global %X { i32 4 }
|