[test] Completely pin PR37334-break-crit-edges-require-dt.ll to legacy PM
authorArthur Eubanks <aeubanks@google.com>
Mon, 9 Nov 2020 20:47:57 +0000 (12:47 -0800)
committerArthur Eubanks <aeubanks@google.com>
Mon, 9 Nov 2020 20:49:03 +0000 (12:49 -0800)
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.

llvm/test/Transforms/Util/PR37334-break-crit-edges-require-dt.ll

index 04eccc8..4330f33 100644 (file)
@@ -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