forked from OSchip/llvm-project
[test] Migrate PGO related -instrprof tests to new PM
This commit is contained in:
parent
59fafdd815
commit
8658cf999d
|
@ -9,7 +9,7 @@
|
|||
; RUN: FileCheck %s -input-file=%t -check-prefix=MODULE-PASS
|
||||
; RUN: FileCheck %s -input-file=%t -check-prefix=FUNCTION-PASS
|
||||
|
||||
; RUN: opt -debugify-each -instrprof -instrprof -sroa -sccp -S -o /dev/null < %s 2> %t
|
||||
; RUN: opt -debugify-each -passes=instrprof,instrprof,sroa,sccp -S -o /dev/null < %s 2> %t
|
||||
; RUN: FileCheck %s -input-file=%t -check-prefix=MODULE-PASS
|
||||
; RUN: FileCheck %s -input-file=%t -check-prefix=FUNCTION-PASS
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
; RUN: opt < %s -instrprof -do-counter-promotion=true -speculative-counter-promotion-max-exiting=3 -S | FileCheck --check-prefix=PROMO %s
|
||||
; RUN: opt < %s --passes=instrprof -do-counter-promotion=true -speculative-counter-promotion-max-exiting=3 -S | FileCheck --check-prefix=PROMO %s
|
||||
|
||||
$__llvm_profile_raw_version = comdat any
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -instrprof -runtime-counter-relocation -do-counter-promotion=true -S | FileCheck %s
|
||||
; RUN: opt < %s -passes=instrprof -runtime-counter-relocation -do-counter-promotion=true -S | FileCheck %s
|
||||
|
||||
target triple = "x86_64-unknown-linux-gnu"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -instrprof -S -o - -do-counter-promotion=1 | FileCheck %s
|
||||
; RUN: opt < %s -passes=instrprof -S -do-counter-promotion=1 | FileCheck %s
|
||||
; CHECK: store
|
||||
|
||||
@__profn_foo = private constant [3 x i8] c"foo"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; RUN: opt < %s -instrprof -S -o - -do-counter-promotion=1 -skip-ret-exit-block=1 | FileCheck %s --check-prefixes=CHECK,SKIP
|
||||
; RUN: opt < %s -instrprof -S -o - -do-counter-promotion=1 -skip-ret-exit-block=0 | FileCheck %s --check-prefixes=CHECK,NOTSKIP
|
||||
; RUN: opt < %s -passes=instrprof -S -do-counter-promotion=1 -skip-ret-exit-block=1 | FileCheck %s --check-prefixes=CHECK,SKIP
|
||||
; RUN: opt < %s -passes=instrprof -S -do-counter-promotion=1 -skip-ret-exit-block=0 | FileCheck %s --check-prefixes=CHECK,NOTSKIP
|
||||
|
||||
$__llvm_profile_raw_version = comdat any
|
||||
|
||||
|
|
Loading…
Reference in New Issue