From 6b3c2aed496c14bf3e392f316a3002476bda5ca5 Mon Sep 17 00:00:00 2001 From: Roman Lebedev Date: Fri, 9 Dec 2022 00:54:40 +0300 Subject: [PATCH] [NFC] Port codegen Thumb tests that invoke opt to `-passes=` syntax --- llvm/test/CodeGen/Thumb/consthoist-few-dependents.ll | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/llvm/test/CodeGen/Thumb/consthoist-few-dependents.ll b/llvm/test/CodeGen/Thumb/consthoist-few-dependents.ll index f96b588..d408fd4 100644 --- a/llvm/test/CodeGen/Thumb/consthoist-few-dependents.ll +++ b/llvm/test/CodeGen/Thumb/consthoist-few-dependents.ll @@ -1,7 +1,7 @@ -; RUN: opt -temporarily-allow-old-pass-syntax -consthoist -S %s -o - | FileCheck %s --check-prefix=OPT -; RUN: opt -temporarily-allow-old-pass-syntax -consthoist -S -consthoist-min-num-to-rebase=1 %s -o - | FileCheck %s --check-prefix=OPT --check-prefix=OPT-1 -; RUN: opt -temporarily-allow-old-pass-syntax -consthoist -S -consthoist-min-num-to-rebase=2 %s -o - | FileCheck %s --check-prefix=OPT --check-prefix=OPT-2 -; RUN: opt -temporarily-allow-old-pass-syntax -consthoist -S -consthoist-min-num-to-rebase=3 %s -o - | FileCheck %s --check-prefix=OPT --check-prefix=OPT-3 +; RUN: opt -passes=consthoist -S %s -o - | FileCheck %s --check-prefix=OPT +; RUN: opt -passes=consthoist -S -consthoist-min-num-to-rebase=1 %s -o - | FileCheck %s --check-prefix=OPT --check-prefix=OPT-1 +; RUN: opt -passes=consthoist -S -consthoist-min-num-to-rebase=2 %s -o - | FileCheck %s --check-prefix=OPT --check-prefix=OPT-2 +; RUN: opt -passes=consthoist -S -consthoist-min-num-to-rebase=3 %s -o - | FileCheck %s --check-prefix=OPT --check-prefix=OPT-3 ; RUN: llc -consthoist-min-num-to-rebase=2 %s -o - | FileCheck %s --check-prefix=LLC -- 2.7.4