[llvm] 35716f1 - [test] Completely pin PR37334-break-crit-edges-require-dt.ll to legacy PM
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 9 12:49:25 PST 2020
Author: Arthur Eubanks
Date: 2020-11-09T12:49:03-08:00
New Revision: 35716f1b7d490d133a90412b8ed02e3ce1552923
URL: https://github.com/llvm/llvm-project/commit/35716f1b7d490d133a90412b8ed02e3ce1552923
DIFF: https://github.com/llvm/llvm-project/commit/35716f1b7d490d133a90412b8ed02e3ce1552923.diff
LOG: [test] Completely pin PR37334-break-crit-edges-require-dt.ll to legacy PM
This tests legacy PM specific code (https://bugs.llvm.org/show_bug.cgi?id=37334).
This is failing under the new PM because -loop-sink is a function pass,
not a loop pass, and doesn't run -loop-simplify.
Added:
Modified:
llvm/test/Transforms/Util/PR37334-break-crit-edges-require-dt.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/Util/PR37334-break-crit-edges-require-dt.ll b/llvm/test/Transforms/Util/PR37334-break-crit-edges-require-dt.ll
index 04eccc817a17..4330f337c1e0 100644
--- a/llvm/test/Transforms/Util/PR37334-break-crit-edges-require-dt.ll
+++ b/llvm/test/Transforms/Util/PR37334-break-crit-edges-require-dt.ll
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -loop-sink -break-crit-edges -branch-prob -S | FileCheck %s
+; RUN: opt < %s -loop-sink -break-crit-edges -branch-prob -S -enable-new-pm=0 | FileCheck %s
; RUN: opt < %s -loop-sink -break-crit-edges -lazy-block-freq -S -enable-new-pm=0 | FileCheck %s
; RUN: opt < %s -loop-sink -break-crit-edges -lazy-branch-prob -S -enable-new-pm=0 | FileCheck %s
More information about the llvm-commits
mailing list