[llvm] 8f527e0 - [test][AggressiveInstCombine] Use -passes syntax in RUN lines. NFC

Bjorn Pettersson via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 13 01:45:58 PDT 2022


Author: Bjorn Pettersson
Date: 2022-10-13T10:44:37+02:00
New Revision: 8f527e08a576ceec09b6e8fbd9ccd8e1e62bc31b

URL: https://github.com/llvm/llvm-project/commit/8f527e08a576ceec09b6e8fbd9ccd8e1e62bc31b
DIFF: https://github.com/llvm/llvm-project/commit/8f527e08a576ceec09b6e8fbd9ccd8e1e62bc31b.diff

LOG: [test][AggressiveInstCombine] Use -passes syntax in RUN lines. NFC

Added: 
    

Modified: 
    llvm/test/Transforms/AggressiveInstCombine/lower-table-based-cttz-basics.ll
    llvm/test/Transforms/AggressiveInstCombine/lower-table-based-cttz-dereferencing-pointer.ll
    llvm/test/Transforms/AggressiveInstCombine/lower-table-based-cttz-non-argument-value.ll
    llvm/test/Transforms/AggressiveInstCombine/lower-table-based-cttz-zero-element.ll
    llvm/test/Transforms/AggressiveInstCombine/negative-lower-table-based-cttz.ll
    llvm/test/Transforms/AggressiveInstCombine/trunc_assume.ll
    llvm/test/Transforms/AggressiveInstCombine/trunc_phi.ll
    llvm/test/Transforms/AggressiveInstCombine/trunc_udivrem.ll
    llvm/test/Transforms/AggressiveInstCombine/trunc_vector_instrs.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/AggressiveInstCombine/lower-table-based-cttz-basics.ll b/llvm/test/Transforms/AggressiveInstCombine/lower-table-based-cttz-basics.ll
index 3f6e842e9b5b0..128e23b3d0e8b 100644
--- a/llvm/test/Transforms/AggressiveInstCombine/lower-table-based-cttz-basics.ll
+++ b/llvm/test/Transforms/AggressiveInstCombine/lower-table-based-cttz-basics.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -aggressive-instcombine -S < %s | FileCheck %s
+; RUN: opt -passes=aggressive-instcombine -S < %s | FileCheck %s
 
 ;; These cases test lowering of various implementations of table-based ctz
 ;; algorithms to the llvm.cttz instruction.

diff  --git a/llvm/test/Transforms/AggressiveInstCombine/lower-table-based-cttz-dereferencing-pointer.ll b/llvm/test/Transforms/AggressiveInstCombine/lower-table-based-cttz-dereferencing-pointer.ll
index 0bd4e2c2862b6..95ddc0cfd433e 100644
--- a/llvm/test/Transforms/AggressiveInstCombine/lower-table-based-cttz-dereferencing-pointer.ll
+++ b/llvm/test/Transforms/AggressiveInstCombine/lower-table-based-cttz-dereferencing-pointer.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -aggressive-instcombine -S < %s | FileCheck %s
+; RUN: opt -passes=aggressive-instcombine -S < %s | FileCheck %s
 
 ;; static const unsigned long long magic = 0x03f08c5392f756cdULL;
 ;;

diff  --git a/llvm/test/Transforms/AggressiveInstCombine/lower-table-based-cttz-non-argument-value.ll b/llvm/test/Transforms/AggressiveInstCombine/lower-table-based-cttz-non-argument-value.ll
index c034f88ff37df..631b9d7023556 100644
--- a/llvm/test/Transforms/AggressiveInstCombine/lower-table-based-cttz-non-argument-value.ll
+++ b/llvm/test/Transforms/AggressiveInstCombine/lower-table-based-cttz-non-argument-value.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -aggressive-instcombine -S < %s | FileCheck %s
+; RUN: opt -passes=aggressive-instcombine -S < %s | FileCheck %s
 
 ;; C reproducers:
 ;; #include "stdio.h"

diff  --git a/llvm/test/Transforms/AggressiveInstCombine/lower-table-based-cttz-zero-element.ll b/llvm/test/Transforms/AggressiveInstCombine/lower-table-based-cttz-zero-element.ll
index c744226e2651c..1384019f4046d 100644
--- a/llvm/test/Transforms/AggressiveInstCombine/lower-table-based-cttz-zero-element.ll
+++ b/llvm/test/Transforms/AggressiveInstCombine/lower-table-based-cttz-zero-element.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -aggressive-instcombine -S < %s | FileCheck %s
+; RUN: opt -passes=aggressive-instcombine -S < %s | FileCheck %s
 
 @ctz1.table = internal constant [32 x i8] c"\00\01\1C\02\1D\0E\18\03\1E\16\14\0F\19\11\04\08\1F\1B\0D\17\15\13\10\07\1A\0C\12\06\0B\05\0A\09", align 1
 

diff  --git a/llvm/test/Transforms/AggressiveInstCombine/negative-lower-table-based-cttz.ll b/llvm/test/Transforms/AggressiveInstCombine/negative-lower-table-based-cttz.ll
index 0fcca394d2cb7..d2d5e4ebe96b0 100644
--- a/llvm/test/Transforms/AggressiveInstCombine/negative-lower-table-based-cttz.ll
+++ b/llvm/test/Transforms/AggressiveInstCombine/negative-lower-table-based-cttz.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -aggressive-instcombine -S < %s | FileCheck %s --implicit-check-not=llvm.cttz
+; RUN: opt -passes=aggressive-instcombine -S < %s | FileCheck %s --implicit-check-not=llvm.cttz
 
 ;; These cases should ensure we are not lowering of some wrong implementations
 ;; of table-based ctz algorithms to the llvm.cttz instruction.

diff  --git a/llvm/test/Transforms/AggressiveInstCombine/trunc_assume.ll b/llvm/test/Transforms/AggressiveInstCombine/trunc_assume.ll
index 1c2a14323dd78..aa6f9fa545383 100644
--- a/llvm/test/Transforms/AggressiveInstCombine/trunc_assume.ll
+++ b/llvm/test/Transforms/AggressiveInstCombine/trunc_assume.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -aggressive-instcombine -S | FileCheck %s
+; RUN: opt < %s -passes=aggressive-instcombine -S | FileCheck %s
 
 define i16 @trunc_shl(i16 %x, i16 %y) {
 ; CHECK-LABEL: @trunc_shl(

diff  --git a/llvm/test/Transforms/AggressiveInstCombine/trunc_phi.ll b/llvm/test/Transforms/AggressiveInstCombine/trunc_phi.ll
index 01103a1a5afbf..adbfa7ab06956 100644
--- a/llvm/test/Transforms/AggressiveInstCombine/trunc_phi.ll
+++ b/llvm/test/Transforms/AggressiveInstCombine/trunc_phi.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -aggressive-instcombine -S | FileCheck %s
+; RUN: opt < %s -passes=aggressive-instcombine -S | FileCheck %s
 
 define i16 @trunc_phi(i8 %x) {
 ; CHECK-LABEL: @trunc_phi(

diff  --git a/llvm/test/Transforms/AggressiveInstCombine/trunc_udivrem.ll b/llvm/test/Transforms/AggressiveInstCombine/trunc_udivrem.ll
index 8b8b69a9fbe98..916c41f15cde9 100644
--- a/llvm/test/Transforms/AggressiveInstCombine/trunc_udivrem.ll
+++ b/llvm/test/Transforms/AggressiveInstCombine/trunc_udivrem.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -aggressive-instcombine -S | FileCheck %s
+; RUN: opt < %s -passes=aggressive-instcombine -S | FileCheck %s
 
 define i16 @udiv_one_arg(i8 %x) {
 ; CHECK-LABEL: @udiv_one_arg(

diff  --git a/llvm/test/Transforms/AggressiveInstCombine/trunc_vector_instrs.ll b/llvm/test/Transforms/AggressiveInstCombine/trunc_vector_instrs.ll
index 975ac13695c97..4182e748c713b 100644
--- a/llvm/test/Transforms/AggressiveInstCombine/trunc_vector_instrs.ll
+++ b/llvm/test/Transforms/AggressiveInstCombine/trunc_vector_instrs.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -aggressive-instcombine -S | FileCheck %s
+; RUN: opt < %s -passes=aggressive-instcombine -S | FileCheck %s
 
 define <4 x i16> @shuffle(<2 x i8> %a, <2 x i8> %b) {
 ; CHECK-LABEL: @shuffle(


        


More information about the llvm-commits mailing list