17 lines · plain
1; RUN: opt -module-summary %s -o %t.bc2; RUN: llvm-lto -hot-cold-split=true \3; RUN: -thinlto-action=run %t.bc -debug-pass-manager 2>&1 | FileCheck %s -check-prefix=OLDPM-ANYLTO-POSTLINK-Os4; RUN: llvm-lto -hot-cold-split=true \5; RUN: %t.bc -debug-pass-manager 2>&1 | FileCheck %s -check-prefix=OLDPM-ANYLTO-POSTLINK-Os6 7; REQUIRES: asserts8 9target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"10target triple = "x86_64-unknown-linux-gnu"11 12; OLDPM-ANYLTO-POSTLINK-Os: HotColdSplittingPass13 14define void @foo() {15 ret void16}17