1 ; REQUIRES: x86-registered-target
2 ; RUN: opt -thinlto-bc -thinlto-split-lto-unit -o - %s | llvm-modextract -b -n 0 -o - | llvm-dis | FileCheck %s
4 target triple = "x86_64-unknown-linux-gnu"
6 ; CHECK: module asm ".set a,a.[[HASH:[0-9a-f]+]]"
9 %f = alloca void ()*, align 8
10 ; CHECK: store{{.*}} @a.[[HASH]],{{.*}} %f
11 store void ()* @a, void ()** %f, align 8
12 ; CHECK: %1 = call void ()* asm sideeffect "leaq a(%rip)
13 %1 = call void ()* asm sideeffect "leaq a(%rip), $0\0A\09", "=r,~{dirflag},~{fpsr},~{flags}"()
17 ; CHECK: define{{.*}} @a.[[HASH]](){{.*}} !type
18 define internal void @a() !type !0 {
22 !0 = !{i64 0, !"typeid1"}