brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 21c713d Raw
19 lines · plain
1; RUN: opt -mtriple=x86_64-- -hot-cold-split=true -passes='default<Os>' -debug-pass-manager < %s -o /dev/null 2>&1 | FileCheck %s -check-prefix=DEFAULT-Os2; RUN: opt -mtriple=x86_64-- -hot-cold-split=true -passes='lto-pre-link<Os>' -debug-pass-manager < %s -o /dev/null 2>&1 | FileCheck %s -check-prefix=LTO-PRELINK-Os3; RUN: opt -mtriple=x86_64-- -hot-cold-split=true -passes='thinlto-pre-link<Os>' -debug-pass-manager < %s -o /dev/null 2>&1 | FileCheck %s -check-prefix=THINLTO-PRELINK-Os4; RUN: opt -mtriple=x86_64-- -hot-cold-split=true -passes='lto<Os>' -debug-pass-manager < %s -o /dev/null 2>&1 | FileCheck %s -check-prefix=LTO-POSTLINK-Os5; RUN: opt -mtriple=x86_64-- -hot-cold-split=true -passes='thinlto<Os>' -debug-pass-manager < %s -o /dev/null 2>&1 | FileCheck %s -check-prefix=THINLTO-POSTLINK-Os6 7; REQUIRES: asserts8 9; Splitting should occur late.10 11; DEFAULT-Os: pass: HotColdSplittingPass12 13; LTO-PRELINK-Os-NOT: pass: HotColdSplittingPass14 15; THINLTO-PRELINK-Os-NOT: Running pass: HotColdSplittingPass16 17; LTO-POSTLINK-Os: HotColdSplitting18; THINLTO-POSTLINK-Os: HotColdSplitting19