[llvm] 543f1aa - [NFC] Port all Analysis/LoopAccessAnalysis tests to `-passes=` syntax

Roman Lebedev via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 8 14:05:41 PST 2022


Author: Roman Lebedev
Date: 2022-12-09T01:04:45+03:00
New Revision: 543f1aa60379954840f51566ac794186c6c3eb4b

URL: https://github.com/llvm/llvm-project/commit/543f1aa60379954840f51566ac794186c6c3eb4b
DIFF: https://github.com/llvm/llvm-project/commit/543f1aa60379954840f51566ac794186c6c3eb4b.diff

LOG: [NFC] Port all Analysis/LoopAccessAnalysis tests to `-passes=` syntax

Added: 
    

Modified: 
    llvm/test/Analysis/LoopAccessAnalysis/interleave-innermost.ll
    llvm/test/Analysis/LoopAccessAnalysis/memcheck-ni.ll
    llvm/test/Analysis/LoopAccessAnalysis/scalable-vector-regression-tests.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/interleave-innermost.ll b/llvm/test/Analysis/LoopAccessAnalysis/interleave-innermost.ll
index c8504c7ea72e8..5029fc2acdcfd 100644
--- a/llvm/test/Analysis/LoopAccessAnalysis/interleave-innermost.ll
+++ b/llvm/test/Analysis/LoopAccessAnalysis/interleave-innermost.ll
@@ -1,4 +1,4 @@
-; RUN: opt -temporarily-allow-old-pass-syntax -loop-vectorize -force-vector-interleave=1 -S < %s | FileCheck %s
+; RUN: opt -passes=loop-vectorize -force-vector-interleave=1 -S < %s | FileCheck %s
 ; CHECK-LABEL: TestFoo
 ; CHECK-NOT: %wide.vec
 

diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/memcheck-ni.ll b/llvm/test/Analysis/LoopAccessAnalysis/memcheck-ni.ll
index ac4cdb1cccc08..04b8fcd1e5f09 100644
--- a/llvm/test/Analysis/LoopAccessAnalysis/memcheck-ni.ll
+++ b/llvm/test/Analysis/LoopAccessAnalysis/memcheck-ni.ll
@@ -1,4 +1,4 @@
-; RUN: opt -temporarily-allow-old-pass-syntax -loop-versioning -S < %s | FileCheck %s
+; RUN: opt -passes=loop-versioning -S < %s | FileCheck %s
 
 ; NB: addrspaces 10-13 are non-integral
 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128-ni:10:11:12:13"

diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/scalable-vector-regression-tests.ll b/llvm/test/Analysis/LoopAccessAnalysis/scalable-vector-regression-tests.ll
index 5b3c8bcc307cb..995bc66da69dd 100644
--- a/llvm/test/Analysis/LoopAccessAnalysis/scalable-vector-regression-tests.ll
+++ b/llvm/test/Analysis/LoopAccessAnalysis/scalable-vector-regression-tests.ll
@@ -1,9 +1,9 @@
-; RUN: opt -temporarily-allow-old-pass-syntax -loop-load-elim -mtriple=aarch64 -mattr=+sve -S -debug < %s 2>&1 | FileCheck %s
+; RUN: opt -passes=loop-load-elim -mtriple=aarch64 -mattr=+sve -S -debug < %s 2>&1 | FileCheck %s
 ; REQUIRES: asserts
 
 ; Regression tests verifying "assumption that TypeSize is not scalable" and
 ; "Invalid size request on a scalable vector." are not produced by
-; -load-loop-elim (this would cause the test to fail because opt -temporarily-allow-old-pass-syntax would exit with
+; -load-loop-elim (this would cause the test to fail because opt would exit with
 ; a non-zero exit status).
 
 ; No output checked for this one, but causes a fatal error if the regression is present.


        


More information about the llvm-commits mailing list