Files
clang-p2996/llvm/test/Transforms/ThinLTOBitcodeWriter/x86/module-asm.ll
Hiroshi Inoue ba3585eaf2 [ThinLTO] fix test failure without x86 backend
This patch moves ThinLTOBitcodeWriter/module-asm.ll test case into x86 directory to avoid a test failure when x86 backend is not enabled.

llvm-svn: 324316
2018-02-06 07:03:09 +00:00

13 lines
360 B
LLVM

; RUN: opt -thinlto-bc -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"