diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2022-12-09 00:54:40 +0300 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2022-12-09 01:04:47 +0300 |
commit | 6b3c2aed496c14bf3e392f316a3002476bda5ca5 (patch) | |
tree | 283f2ac59cfe4e311370995b02f269b746352991 /llvm/test/CodeGen/Thumb | |
parent | 5353b764ab8e9fdc29d67bd50e8d41091310643f (diff) | |
download | llvm-6b3c2aed496c14bf3e392f316a3002476bda5ca5.zip llvm-6b3c2aed496c14bf3e392f316a3002476bda5ca5.tar.gz llvm-6b3c2aed496c14bf3e392f316a3002476bda5ca5.tar.bz2 |
[NFC] Port codegen Thumb tests that invoke opt to `-passes=` syntax
Diffstat (limited to 'llvm/test/CodeGen/Thumb')
-rw-r--r-- | llvm/test/CodeGen/Thumb/consthoist-few-dependents.ll | 8 |
1 files 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 |