From c8ca8fb9789a47766662c6e89c1903d1cb1d6d94 Mon Sep 17 00:00:00 2001 From: Arthur Eubanks Date: Sun, 23 Oct 2022 13:43:39 -0700 Subject: [PATCH] [test] Use new pass manager syntax in some tests To prepare for upcoming change. --- llvm/test/Analysis/MustExecute/must_be_executed_context.ll | 3 +-- llvm/test/Transforms/LoopTransformWarning/optnone.ll | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/llvm/test/Analysis/MustExecute/must_be_executed_context.ll b/llvm/test/Analysis/MustExecute/must_be_executed_context.ll index 7471a65..0327611 100644 --- a/llvm/test/Analysis/MustExecute/must_be_executed_context.ll +++ b/llvm/test/Analysis/MustExecute/must_be_executed_context.ll @@ -1,6 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -print-mustexecute -disable-output 2>&1 | FileCheck %s --check-prefix=ME -; RUN: opt < %s -print-must-be-executed-contexts -disable-output 2>&1 | FileCheck %s --check-prefix=MBEC +; RUN: opt < %s -passes=print-mustexecute -disable-output 2>&1 | FileCheck %s --check-prefix=ME ; RUN: opt < %s -passes=print-must-be-executed-contexts -disable-output 2>&1 | FileCheck %s --check-prefix=MBEC ; ; void simple_conditional(int c) { diff --git a/llvm/test/Transforms/LoopTransformWarning/optnone.ll b/llvm/test/Transforms/LoopTransformWarning/optnone.ll index 866dac8..0cbfc9c 100644 --- a/llvm/test/Transforms/LoopTransformWarning/optnone.ll +++ b/llvm/test/Transforms/LoopTransformWarning/optnone.ll @@ -1,7 +1,3 @@ -; Legacy pass manager -; RUN: opt -transform-warning -disable-output -pass-remarks-missed=transform-warning -pass-remarks-analysis=transform-warning < %s 2>&1 | FileCheck -allow-empty %s -; -; New pass manager ; RUN: opt -passes=transform-warning -disable-output -pass-remarks-missed=transform-warning -pass-remarks-analysis=transform-warning < %s 2>&1 | FileCheck -allow-empty %s ; ; Verify that no transformation warnings are emitted for functions with -- 2.7.4