From 4b6e3ad9b40111852aa717fee2768f964b6d70a7 Mon Sep 17 00:00:00 2001 From: Arthur Eubanks Date: Wed, 7 Oct 2020 14:41:27 -0700 Subject: [PATCH] [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 --- llvm/test/Transforms/CodeExtractor/LoopExtractor_infinite.ll | 2 +- .../UnifyFunctionExitNodes/unreachable-blocks-status.ll | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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