[NFC] Port codegen AArch64 tests that invoke opt to `-passes=` syntax
authorRoman Lebedev <lebedev.ri@gmail.com>
Thu, 8 Dec 2022 21:54:35 +0000 (00:54 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Thu, 8 Dec 2022 22:04:46 +0000 (01:04 +0300)
llvm/test/CodeGen/AArch64/llvm-masked-gather-legal-for-sve.ll
llvm/test/CodeGen/AArch64/llvm-masked-scatter-legal-for-sve.ll
llvm/test/CodeGen/AArch64/sve-ptest-removal-cmple.ll

index 7388e03..8427fdd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -temporarily-allow-old-pass-syntax -mtriple=aarch64-linux-gnu -mattr=+sve -scalarize-masked-mem-intrin -S < %s | FileCheck %s
+; RUN: opt -mtriple=aarch64-linux-gnu -mattr=+sve -passes=scalarize-masked-mem-intrin -S < %s | FileCheck %s
 
 ; Testing that masked gathers operating on scalable vectors that are
 ; packed in SVE registers are not scalarized.
index 6105b47..fa36871 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -temporarily-allow-old-pass-syntax -mtriple=aarch64-linux-gnu -mattr=+sve -scalarize-masked-mem-intrin -S < %s | FileCheck %s
+; RUN: opt -mtriple=aarch64-linux-gnu -mattr=+sve -passes=scalarize-masked-mem-intrin -S < %s | FileCheck %s
 
 ; Testing that masked scatters operating on scalable vectors that are
 ; packed in SVE registers are not scalarized.
index 865164b..fbadbf7 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: opt -temporarily-allow-old-pass-syntax -instcombine -S %s | llc -mtriple=aarch64--linux-gnu -mattr=+sve -o - | FileCheck %s
+; RUN: opt -passes=instcombine -S %s | llc -mtriple=aarch64--linux-gnu -mattr=+sve -o - | FileCheck %s
 
 target triple = "aarch64-unknown-linux-gnu"