llvm-project/llvm/test/Other/X86/lto-hot-cold-split.ll

15 lines
598 B
LLVM

; RUN: opt -module-summary %s -o %t.bc
; RUN: llvm-lto -use-new-pm=false -hot-cold-split=true \
; RUN: -thinlto-action=run %t.bc -debug-pass=Structure 2>&1 | FileCheck %s -check-prefix=OLDPM-ANYLTO-POSTLINK-Os
; RUN: llvm-lto -use-new-pm=false -hot-cold-split=true \
; RUN: %t.bc -debug-pass=Structure 2>&1 | FileCheck %s -check-prefix=OLDPM-ANYLTO-POSTLINK-Os
; FIXME: Update checks for new pass manager.
; REQUIRES: asserts
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; OLDPM-ANYLTO-POSTLINK-Os: Hot Cold Splitting