xref: /llvm-project/llvm/test/ThinLTO/X86/merge-triple.ll (revision 7b1d793713cf9ed9ab719f33b332f9c66a1fc5cc)
1; RUN: opt -module-summary %s -o %t1.bc
2; RUN: opt -module-summary %p/Inputs/merge-triple.ll -o %t2.bc
3; RUN: llvm-lto -thinlto-action=optimize %t1.bc %t2.bc
4; RUN: llvm-dis < %t1.bc.thinlto.imported.bc | FileCheck %s --check-prefix=CHECK1
5; RUN: llvm-dis < %t2.bc.thinlto.imported.bc | FileCheck %s --check-prefix=CHECK2
6
7target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
8target triple = "x86_64-apple-macosx10.12.0"
9
10; CHECK1: target triple = "x86_64-apple-macosx10.12.0"
11; CHECK2: target triple = "x86_64-apple-macosx10.11.0"
12