forked from OSchip/llvm-project
[NewPM][test] Avoid using -enable-new-pm=1 since -passes implies new PM
This commit is contained in:
parent
f290efc326
commit
a413663d8f
|
@ -1,5 +1,5 @@
|
|||
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
||||
; RUN: opt -enable-new-pm=1 -S -passes='default<O3>' %s -o - | FileCheck %s
|
||||
; RUN: opt -S -passes='default<O3>' %s -o - | FileCheck %s
|
||||
define void @test_builtin_ppc_compare_and_swaplp(i64 %a, i64 %b, i64 %c) {
|
||||
; CHECK-LABEL: @test_builtin_ppc_compare_and_swaplp(
|
||||
; CHECK-NEXT: entry:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -enable-new-pm=1 -function-attrs --disable-nofree-inference=false -S < %s | FileCheck %s --check-prefix=FNATTR
|
||||
; RUN: opt -passes=function-attrs --aa-pipeline=basic-aa --disable-nofree-inference=false -S < %s | FileCheck %s --check-prefix=FNATTR
|
||||
|
||||
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -enable-new-pm=1 -sample-profile -licm -S -sample-profile-file='%S/Inputs/no-hoist-prof.prof' < %s | FileCheck %s --check-prefix=CHECK-BFI-LICM
|
||||
; RUN: opt -passes='sample-profile,function(loop-mssa(licm))' -aa-pipeline=basic-aa -S -sample-profile-file='%S/Inputs/no-hoist-prof.prof' < %s | FileCheck %s --check-prefix=CHECK-BFI-LICM
|
||||
; RUN: opt -passes=licm -S < %s | FileCheck %s --check-prefix=CHECK-LICM
|
||||
|
||||
; Original source code:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -mtriple=amdgcn-- -O3 -S -enable-new-pm=1 %s | FileCheck %s
|
||||
; RUN: opt -mtriple=amdgcn-- -passes='default<O3>' -S %s | FileCheck %s
|
||||
; XFAIL: *
|
||||
|
||||
; Check that loop unswitch happened and condition hoisted out of the loop.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -O2 -pass-remarks-missed=openmp-opt -enable-new-pm < %s 2>&1 | FileCheck %s --check-prefix=MODULE
|
||||
; RUN: opt -passes='default<O2>' -pass-remarks-missed=openmp-opt < %s 2>&1 | FileCheck %s --check-prefix=MODULE
|
||||
target datalayout = "e-i64:64-i128:128-v16:16-v32:32-n16:32:64"
|
||||
|
||||
%struct.ident_t = type { i32, i32, i32, i32, i8* }
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
||||
; RUN: opt < %s -slp-vectorizer -S | FileCheck %s
|
||||
; RUN: opt < %s -slp-vectorizer -enable-new-pm -S | FileCheck %s
|
||||
; RUN: opt < %s -passes=slp-vectorizer -S | FileCheck %s
|
||||
|
||||
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
||||
target triple = "x86_64-unknown-linux-gnu"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
;;
|
||||
;; new PM
|
||||
; RUN: rm -f %t.yaml %t.hot.yaml
|
||||
; RUN: opt %s --enable-new-pm --passes='sample-profile,cgscc(inline)' \
|
||||
; RUN: opt %s --passes='sample-profile,cgscc(inline)' \
|
||||
; RUN: --sample-profile-file=%S/Inputs/remarks-hotness.prof \
|
||||
; RUN: -S --pass-remarks-filter=inline --pass-remarks-output=%t.yaml \
|
||||
; RUN: -pass-remarks-with-hotness --disable-output
|
||||
|
@ -10,14 +10,14 @@
|
|||
; RUN: FileCheck %s -check-prefix=YAML-MISS < %t.yaml
|
||||
|
||||
;; test 'auto' threshold
|
||||
; RUN: opt %s --enable-new-pm --passes='sample-profile,cgscc(inline)' \
|
||||
; RUN: opt %s --passes='sample-profile,cgscc(inline)' \
|
||||
; RUN: --sample-profile-file=%S/Inputs/remarks-hotness.prof \
|
||||
; RUN: -S --pass-remarks-filter=inline --pass-remarks-output=%t.hot.yaml \
|
||||
; RUN: --pass-remarks-with-hotness --pass-remarks-hotness-threshold=auto --disable-output
|
||||
; RUN: FileCheck %s -check-prefix=YAML-PASS < %t.hot.yaml
|
||||
; RUN: not FileCheck %s -check-prefix=YAML-MISS < %t.hot.yaml
|
||||
|
||||
; RUN: opt %s --enable-new-pm --passes='sample-profile,cgscc(inline)' \
|
||||
; RUN: opt %s --passes='sample-profile,cgscc(inline)' \
|
||||
; RUN: --sample-profile-file=%S/Inputs/remarks-hotness.prof \
|
||||
; RUN: -S --pass-remarks=inline --pass-remarks-missed=inline --pass-remarks-analysis=inline \
|
||||
; RUN: --pass-remarks-with-hotness --pass-remarks-hotness-threshold=auto --disable-output 2>&1 | FileCheck %s -check-prefix=CHECK-RPASS
|
||||
|
|
Loading…
Reference in New Issue