[PATCH] D88058: [UnifyLoopExits] Pin tests with -unify-loop-exits to legacy PM
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 21 16:53:34 PDT 2020
aeubanks created this revision.
aeubanks added reviewers: ychen, asbirlea.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
aeubanks requested review of this revision.
The pass is not used in tree, so no reason to port it.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D88058
Files:
llvm/test/Transforms/StructurizeCFG/workarounds/needs-fr-ule.ll
llvm/test/Transforms/StructurizeCFG/workarounds/needs-unified-loop-exits.ll
llvm/test/Transforms/UnifyLoopExits/basic.ll
llvm/test/Transforms/UnifyLoopExits/nested.ll
llvm/test/Transforms/UnifyLoopExits/restore-ssa.ll
llvm/test/Transforms/UnifyLoopExits/switch.ll
Index: llvm/test/Transforms/UnifyLoopExits/switch.ll
===================================================================
--- llvm/test/Transforms/UnifyLoopExits/switch.ll
+++ llvm/test/Transforms/UnifyLoopExits/switch.ll
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -unify-loop-exits -S | FileCheck %s
+; RUN: opt < %s -unify-loop-exits -enable-new-pm=0 -S | FileCheck %s
define void @loop_1(i32 %Value, i1 %PredEntry, i1 %PredD) {
; CHECK-LABEL: @loop_1(
Index: llvm/test/Transforms/UnifyLoopExits/restore-ssa.ll
===================================================================
--- llvm/test/Transforms/UnifyLoopExits/restore-ssa.ll
+++ llvm/test/Transforms/UnifyLoopExits/restore-ssa.ll
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -unify-loop-exits -S | FileCheck %s
+; RUN: opt < %s -unify-loop-exits -enable-new-pm=0 -S | FileCheck %s
; Loop consists of A and B:
; - A is the header
Index: llvm/test/Transforms/UnifyLoopExits/nested.ll
===================================================================
--- llvm/test/Transforms/UnifyLoopExits/nested.ll
+++ llvm/test/Transforms/UnifyLoopExits/nested.ll
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -unify-loop-exits -S | FileCheck %s
+; RUN: opt < %s -unify-loop-exits -enable-new-pm=0 -S | FileCheck %s
define void @nested(i1 %PredB3, i1 %PredB4, i1 %PredA4, i1 %PredA3, i32 %X, i32 %Y, i32 %Z) {
; CHECK-LABEL: @nested(
Index: llvm/test/Transforms/UnifyLoopExits/basic.ll
===================================================================
--- llvm/test/Transforms/UnifyLoopExits/basic.ll
+++ llvm/test/Transforms/UnifyLoopExits/basic.ll
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -unify-loop-exits -S | FileCheck %s
+; RUN: opt < %s -unify-loop-exits -enable-new-pm=0 -S | FileCheck %s
define void @loop_1(i1 %PredEntry, i1 %PredB, i1 %PredC, i1 %PredD) {
; CHECK-LABEL: @loop_1(
Index: llvm/test/Transforms/StructurizeCFG/workarounds/needs-unified-loop-exits.ll
===================================================================
--- llvm/test/Transforms/StructurizeCFG/workarounds/needs-unified-loop-exits.ll
+++ llvm/test/Transforms/StructurizeCFG/workarounds/needs-unified-loop-exits.ll
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -unify-loop-exits -structurizecfg -S | FileCheck %s
+; RUN: opt < %s -unify-loop-exits -structurizecfg -enable-new-pm=0 -S | FileCheck %s
; The structurizer uses an RPO traversal over a region, along with a
; manual hack that is meant to sort ensure that blocks within a loop
Index: llvm/test/Transforms/StructurizeCFG/workarounds/needs-fr-ule.ll
===================================================================
--- llvm/test/Transforms/StructurizeCFG/workarounds/needs-fr-ule.ll
+++ llvm/test/Transforms/StructurizeCFG/workarounds/needs-fr-ule.ll
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -fix-irreducible -unify-loop-exits -structurizecfg -S | FileCheck %s
+; RUN: opt < %s -fix-irreducible -unify-loop-exits -structurizecfg -enable-new-pm=0 -S | FileCheck %s
define void @irreducible_mountain_bug(i1 %Pred0, i1 %Pred1, i1 %Pred2, i1 %Pred3, i1 %Pred4, i1 %Pred5, i1 %Pred6, i1 %Pred7, i1 %Pred8, i1 %Pred9, i1 %Pred10, i1 %Pred11, i1 %Pred12, i1 %Pred13) {
; CHECK-LABEL: @irreducible_mountain_bug(
; CHECK-NEXT: entry:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88058.293293.patch
Type: text/x-patch
Size: 3631 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200921/e384082e/attachment.bin>
More information about the llvm-commits
mailing list