[llvm] 4b6e3ad - [test][NewPM] Pin -mergereturn tests to legacy PM
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 13 22:57:06 PDT 2020
Author: Arthur Eubanks
Date: 2020-10-13T22:56:59-07:00
New Revision: 4b6e3ad9b40111852aa717fee2768f964b6d70a7
URL: https://github.com/llvm/llvm-project/commit/4b6e3ad9b40111852aa717fee2768f964b6d70a7
DIFF: https://github.com/llvm/llvm-project/commit/4b6e3ad9b40111852aa717fee2768f964b6d70a7.diff
LOG: [test][NewPM] Pin -mergereturn tests to legacy PM
Looks like this pass isn't really used and hasn't been worked on in a
loooong time.
Reviewed By: asbirlea
Differential Revision: https://reviews.llvm.org/D89010
Added:
Modified:
llvm/test/Transforms/CodeExtractor/LoopExtractor_infinite.ll
llvm/test/Transforms/UnifyFunctionExitNodes/unreachable-blocks-status.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/CodeExtractor/LoopExtractor_infinite.ll b/llvm/test/Transforms/CodeExtractor/LoopExtractor_infinite.ll
index 24152305b75e..9a99491d083d 100644
--- a/llvm/test/Transforms/CodeExtractor/LoopExtractor_infinite.ll
+++ b/llvm/test/Transforms/CodeExtractor/LoopExtractor_infinite.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -mergereturn -loop-extract -S | FileCheck %s
+; RUN: opt < %s -mergereturn -loop-extract -enable-new-pm=0 -S | FileCheck %s
; This test used to enter an infinite loop, until out of memory (PR3082).
diff --git a/llvm/test/Transforms/UnifyFunctionExitNodes/unreachable-blocks-status.ll b/llvm/test/Transforms/UnifyFunctionExitNodes/unreachable-blocks-status.ll
index a9169e9ff15e..f1ee196faa82 100644
--- a/llvm/test/Transforms/UnifyFunctionExitNodes/unreachable-blocks-status.ll
+++ b/llvm/test/Transforms/UnifyFunctionExitNodes/unreachable-blocks-status.ll
@@ -1,4 +1,4 @@
-; RUN: opt -mergereturn -S < %s | FileCheck %s
+; RUN: opt -mergereturn -enable-new-pm=0 -S < %s | FileCheck %s
; The pass did previously not report the correct Modified status in the case
; where a function had at most one return block, and an unified unreachable
More information about the llvm-commits
mailing list