Changeset View
Changeset View
Standalone View
Standalone View
llvm/trunk/test/Other/new-pm-thinlto-defaults.ll
Show All 20 Lines | |||||
; RUN: -passes='thinlto-pre-link<Os>,name-anon-globals' -S %s 2>&1 \ | ; RUN: -passes='thinlto-pre-link<Os>,name-anon-globals' -S %s 2>&1 \ | ||||
; RUN: | FileCheck %s --check-prefixes=CHECK-O,CHECK-Os,CHECK-PRELINK-O,CHECK-PRELINK-O-NODIS,CHECK-PRELINK-Os | ; RUN: | FileCheck %s --check-prefixes=CHECK-O,CHECK-Os,CHECK-PRELINK-O,CHECK-PRELINK-O-NODIS,CHECK-PRELINK-Os | ||||
; RUN: opt -disable-verify -debug-pass-manager \ | ; RUN: opt -disable-verify -debug-pass-manager \ | ||||
; RUN: -passes='thinlto-pre-link<Oz>,name-anon-globals' -S %s 2>&1 \ | ; RUN: -passes='thinlto-pre-link<Oz>,name-anon-globals' -S %s 2>&1 \ | ||||
; RUN: | FileCheck %s --check-prefixes=CHECK-O,CHECK-Oz,CHECK-PRELINK-O,CHECK-PRELINK-O-NODIS,CHECK-PRELINK-Oz | ; RUN: | FileCheck %s --check-prefixes=CHECK-O,CHECK-Oz,CHECK-PRELINK-O,CHECK-PRELINK-O-NODIS,CHECK-PRELINK-Oz | ||||
; RUN: opt -disable-verify -debug-pass-manager -new-pm-debug-info-for-profiling \ | ; RUN: opt -disable-verify -debug-pass-manager -new-pm-debug-info-for-profiling \ | ||||
; RUN: -passes='thinlto-pre-link<O2>,name-anon-globals' -S %s 2>&1 \ | ; RUN: -passes='thinlto-pre-link<O2>,name-anon-globals' -S %s 2>&1 \ | ||||
; RUN: | FileCheck %s --check-prefixes=CHECK-DIS,CHECK-O,CHECK-O2,CHECK-PRELINK-O,CHECK-PRELINK-O2 | ; RUN: | FileCheck %s --check-prefixes=CHECK-DIS,CHECK-O,CHECK-O2,CHECK-PRELINK-O,CHECK-PRELINK-O2 | ||||
; Enabling the hot-cold-split pass should not affect the ThinLTO pre-link | |||||
; RUN: opt -disable-verify -debug-pass-manager \ | |||||
; RUN: -passes='thinlto-pre-link<O2>,name-anon-globals' -hot-cold-split -S %s 2>&1 \ | |||||
; RUN: | FileCheck %s --check-prefixes=CHECK-O,CHECK-O2,CHECK-PRELINK-O,CHECK-PRELINK-O-NODIS,CHECK-PRELINK-O2 | |||||
; | ; | ||||
; Postlink pipelines: | ; Postlink pipelines: | ||||
; RUN: opt -disable-verify -debug-pass-manager \ | ; RUN: opt -disable-verify -debug-pass-manager \ | ||||
; RUN: -passes='thinlto<O1>' -S %s 2>&1 \ | ; RUN: -passes='thinlto<O1>' -S %s 2>&1 \ | ||||
; RUN: | FileCheck %s --check-prefixes=CHECK-O,CHECK-O1,CHECK-POSTLINK-O,CHECK-POSTLINK-O1 | ; RUN: | FileCheck %s --check-prefixes=CHECK-O,CHECK-O1,CHECK-POSTLINK-O,CHECK-POSTLINK-O1 | ||||
; RUN: opt -disable-verify -debug-pass-manager \ | ; RUN: opt -disable-verify -debug-pass-manager \ | ||||
; RUN: -passes='thinlto<O2>' -S %s 2>&1 \ | ; RUN: -passes='thinlto<O2>' -S %s 2>&1 \ | ||||
; RUN: | FileCheck %s --check-prefixes=CHECK-O,CHECK-O2,CHECK-POSTLINK-O,CHECK-POSTLINK-O2 | ; RUN: | FileCheck %s --check-prefixes=CHECK-O,CHECK-O2,CHECK-POSTLINK-O,CHECK-POSTLINK-O2 | ||||
▲ Show 20 Lines • Show All 239 Lines • Show Last 20 Lines |