summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/ThinLTOBitcodeWriter/x86/module-asm.ll
blob: 587ab3fbb5020e107e232ce7d2f784d5da115b66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: opt -thinlto-bc -thinlto-split-lto-unit -o %t %s
; RUN: llvm-modextract -b -n 0 -o - %t | llvm-dis | FileCheck --check-prefix=M0 %s
; RUN: llvm-modextract -b -n 1 -o - %t | llvm-dis | FileCheck --check-prefix=M1 %s

target triple = "x86_64-unknown-linux-gnu"

@g = constant i32 0, !type !0
!0 = !{i32 0, !"typeid"}

; M0: module asm "ret"
; M1-NOT: module asm
module asm "ret"
OpenPOWER on IntegriCloud