[llvm] 555e09c - [LAA] Rename printing pass to print<access-info>.

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 26 07:35:41 PDT 2022


Thanks!

Philip

On 8/26/22 03:00, Florian Hahn via llvm-commits wrote:
> Author: Florian Hahn
> Date: 2022-08-26T11:00:09+01:00
> New Revision: 555e09c2b0281c92de06235c06de25f1c36a8f29
>
> URL: https://github.com/llvm/llvm-project/commit/555e09c2b0281c92de06235c06de25f1c36a8f29
> DIFF: https://github.com/llvm/llvm-project/commit/555e09c2b0281c92de06235c06de25f1c36a8f29.diff
>
> LOG: [LAA] Rename printing pass to print<access-info>.
>
> This updates the naming for the LAA printing pass to be in line with
> most other analysis printing passes.
>
> The old name has come up as confusing multiple times already, e.g. in
> D131924.
>
> Added:
>      
>
> Modified:
>      llvm/lib/Passes/PassRegistry.def
>      llvm/test/Analysis/LoopAccessAnalysis/backward-dep-different-types.ll
>      llvm/test/Analysis/LoopAccessAnalysis/depend_diff_types.ll
>      llvm/test/Analysis/LoopAccessAnalysis/depend_diff_types_opaque_ptr.ll
>      llvm/test/Analysis/LoopAccessAnalysis/forked-pointers.ll
>      llvm/test/Analysis/LoopAccessAnalysis/forward-loop-carried.ll
>      llvm/test/Analysis/LoopAccessAnalysis/forward-loop-independent.ll
>      llvm/test/Analysis/LoopAccessAnalysis/independent-interleaved.ll
>      llvm/test/Analysis/LoopAccessAnalysis/loop-invariant-dep-with-backedge-taken-count.ll
>      llvm/test/Analysis/LoopAccessAnalysis/memcheck-for-loop-invariant.ll
>      llvm/test/Analysis/LoopAccessAnalysis/memcheck-off-by-one-error.ll
>      llvm/test/Analysis/LoopAccessAnalysis/memcheck-store-vs-alloc-size.ll
>      llvm/test/Analysis/LoopAccessAnalysis/memcheck-wrapping-pointers.ll
>      llvm/test/Analysis/LoopAccessAnalysis/multiple-strides-rt-memory-checks.ll
>      llvm/test/Analysis/LoopAccessAnalysis/non-wrapping-pointer.ll
>      llvm/test/Analysis/LoopAccessAnalysis/nullptr.ll
>      llvm/test/Analysis/LoopAccessAnalysis/number-of-memchecks.ll
>      llvm/test/Analysis/LoopAccessAnalysis/pointer-phis.ll
>      llvm/test/Analysis/LoopAccessAnalysis/pointer-with-unknown-bounds.ll
>      llvm/test/Analysis/LoopAccessAnalysis/pr31098.ll
>      llvm/test/Analysis/LoopAccessAnalysis/pr56672.ll
>      llvm/test/Analysis/LoopAccessAnalysis/resort-to-memchecks-only.ll
>      llvm/test/Analysis/LoopAccessAnalysis/reverse-memcheck-bounds.ll
>      llvm/test/Analysis/LoopAccessAnalysis/runtime-pointer-checking-insert-typesize.ll
>      llvm/test/Analysis/LoopAccessAnalysis/safe-no-checks.ll
>      llvm/test/Analysis/LoopAccessAnalysis/safe-with-dep-distance.ll
>      llvm/test/Analysis/LoopAccessAnalysis/store-to-invariant-check1.ll
>      llvm/test/Analysis/LoopAccessAnalysis/store-to-invariant-check2.ll
>      llvm/test/Analysis/LoopAccessAnalysis/store-to-invariant-check3.ll
>      llvm/test/Analysis/LoopAccessAnalysis/stride-access-dependence.ll
>      llvm/test/Analysis/LoopAccessAnalysis/symbolic-stride.ll
>      llvm/test/Analysis/LoopAccessAnalysis/uncomputable-backedge-taken-count.ll
>      llvm/test/Analysis/LoopAccessAnalysis/underlying-objects-1.ll
>      llvm/test/Analysis/LoopAccessAnalysis/underlying-objects-2.ll
>      llvm/test/Analysis/LoopAccessAnalysis/unsafe-and-rt-checks-convergent.ll
>      llvm/test/Analysis/LoopAccessAnalysis/unsafe-and-rt-checks.ll
>      llvm/test/Analysis/LoopAccessAnalysis/wrapping-pointer-versioning.ll
>      llvm/test/Transforms/LoopDistribute/basic-with-memchecks.ll
>      llvm/test/Transforms/LoopDistribute/basic.ll
>      llvm/test/Transforms/LoopUnroll/unroll-loop-invalidation.ll
>
> Removed:
>      
>
>
> ################################################################################
> diff  --git a/llvm/lib/Passes/PassRegistry.def b/llvm/lib/Passes/PassRegistry.def
> index ddff8a4f1f290..a6aa06c1be5c8 100644
> --- a/llvm/lib/Passes/PassRegistry.def
> +++ b/llvm/lib/Passes/PassRegistry.def
> @@ -517,7 +517,7 @@ LOOP_PASS("loop-simplifycfg", LoopSimplifyCFGPass())
>   LOOP_PASS("loop-reduce", LoopStrengthReducePass())
>   LOOP_PASS("indvars", IndVarSimplifyPass())
>   LOOP_PASS("loop-unroll-full", LoopFullUnrollPass())
> -LOOP_PASS("print-access-info", LoopAccessInfoPrinterPass(dbgs()))
> +LOOP_PASS("print<access-info>", LoopAccessInfoPrinterPass(dbgs()))
>   LOOP_PASS("print<ddg>", DDGAnalysisPrinterPass(dbgs()))
>   LOOP_PASS("print<iv-users>", IVUsersPrinterPass(dbgs()))
>   LOOP_PASS("print<loopnest>", LoopNestPrinterPass(dbgs()))
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/backward-dep-
> diff erent-types.ll b/llvm/test/Analysis/LoopAccessAnalysis/backward-dep-
> diff erent-types.ll
> index 0bb43fe588556..2a969f5e91d0b 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/backward-dep-
> diff erent-types.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/backward-dep-
> diff erent-types.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes='print-access-info' -disable-output < %s  2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' -disable-output < %s  2>&1 | FileCheck %s
>   
>   ; In this loop just because we access A through
> diff erent types (int, float)
>   ; we still have a dependence cycle:
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/depend_
> diff _types.ll b/llvm/test/Analysis/LoopAccessAnalysis/depend_
> diff _types.ll
> index 1b79a1ae2b10c..f6afc52ff2869 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/depend_
> diff _types.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/depend_
> diff _types.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -S -disable-output -passes='print-access-info' < %s 2>&1 | FileCheck %s
> +; RUN: opt -S -disable-output -passes='print<access-info>' < %s 2>&1 | FileCheck %s
>   
>   
>   ; In the function below some of the accesses are done as float types and some
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/depend_
> diff _types_opaque_ptr.ll b/llvm/test/Analysis/LoopAccessAnalysis/depend_
> diff _types_opaque_ptr.ll
> index f09433069ad2a..cfa37ecfa3483 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/depend_
> diff _types_opaque_ptr.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/depend_
> diff _types_opaque_ptr.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -S -disable-output --opaque-pointers -passes='print-access-info' < %s 2>&1 | FileCheck %s
> +; RUN: opt -S -disable-output --opaque-pointers -passes='print<access-info>' < %s 2>&1 | FileCheck %s
>   
>   ; In the function below some of the accesses are done as float types and some
>   ; are done as i32 types. When doing dependence analysis the type should not
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/forked-pointers.ll b/llvm/test/Analysis/LoopAccessAnalysis/forked-pointers.ll
> index 332a29457e486..efde509d75cf8 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/forked-pointers.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/forked-pointers.ll
> @@ -1,5 +1,5 @@
> -; RUN: opt -disable-output -passes='print-access-info' %s 2>&1 | FileCheck %s
> -; RUN: opt -disable-output -passes='print-access-info' -max-forked-scev-depth=2 %s 2>&1 | FileCheck -check-prefix=RECURSE %s
> +; RUN: opt -disable-output -passes='print<access-info>' %s 2>&1 | FileCheck %s
> +; RUN: opt -disable-output -passes='print<access-info>' -max-forked-scev-depth=2 %s 2>&1 | FileCheck -check-prefix=RECURSE %s
>   
>   target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
>   
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/forward-loop-carried.ll b/llvm/test/Analysis/LoopAccessAnalysis/forward-loop-carried.ll
> index bc7fde4a00214..18b25fd73710a 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/forward-loop-carried.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/forward-loop-carried.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes='print-access-info' -disable-output  < %s 2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' -disable-output  < %s 2>&1 | FileCheck %s
>   
>   ;   for (unsigned i = 0; i < 100; i++) {
>   ;     A[i+8] = B[i] + 2;
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/forward-loop-independent.ll b/llvm/test/Analysis/LoopAccessAnalysis/forward-loop-independent.ll
> index 55cddde36086e..03e04cd357337 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/forward-loop-independent.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/forward-loop-independent.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes='print-access-info' -disable-output  < %s 2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' -disable-output  < %s 2>&1 | FileCheck %s
>   
>   ; Check that loop-indepedent forward dependences are discovered properly.
>   ;
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/independent-interleaved.ll b/llvm/test/Analysis/LoopAccessAnalysis/independent-interleaved.ll
> index fff3ad3b5f0e2..5bd8981dbde79 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/independent-interleaved.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/independent-interleaved.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes='print-access-info' -store-to-load-forwarding-conflict-detection=false  -disable-output  < %s 2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' -store-to-load-forwarding-conflict-detection=false  -disable-output  < %s 2>&1 | FileCheck %s
>   
>   ; This test checks that we prove the strided accesses to be independent before
>   ; concluding that there is a forward dependence.
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/loop-invariant-dep-with-backedge-taken-count.ll b/llvm/test/Analysis/LoopAccessAnalysis/loop-invariant-dep-with-backedge-taken-count.ll
> index a45753e7e161e..63e483dd72ff1 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/loop-invariant-dep-with-backedge-taken-count.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/loop-invariant-dep-with-backedge-taken-count.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes=print-access-info -disable-output %s 2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' -disable-output %s 2>&1 | FileCheck %s
>   
>   ; Test cases for using the backedge-taken-count to rule out dependencies between
>   ; an invariant and strided accesses.
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/memcheck-for-loop-invariant.ll b/llvm/test/Analysis/LoopAccessAnalysis/memcheck-for-loop-invariant.ll
> index 009188aee7378..af2b928f0f06a 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/memcheck-for-loop-invariant.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/memcheck-for-loop-invariant.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes='print-access-info' -disable-output  < %s 2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' -disable-output  < %s 2>&1 | FileCheck %s
>   
>   ; Handle memchecks involving loop-invariant addresses:
>   ;
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/memcheck-off-by-one-error.ll b/llvm/test/Analysis/LoopAccessAnalysis/memcheck-off-by-one-error.ll
> index ea1ef61cb12fa..32d57f5b480c0 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/memcheck-off-by-one-error.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/memcheck-off-by-one-error.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes=print-access-info %s -disable-output 2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' %s -disable-output 2>&1 | FileCheck %s
>   
>   ; This test verifies run-time boundary check of memory accesses.
>   ; The original loop:
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/memcheck-store-vs-alloc-size.ll b/llvm/test/Analysis/LoopAccessAnalysis/memcheck-store-vs-alloc-size.ll
> index f333dc639c749..577887d5c95a3 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/memcheck-store-vs-alloc-size.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/memcheck-store-vs-alloc-size.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes=print-access-info %s -disable-output 2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' %s -disable-output 2>&1 | FileCheck %s
>   
>   ; This test defends against accidentally using alloc size instead of store size when performing run-time
>   ; boundary check of memory accesses. The IR in this file is based on
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/memcheck-wrapping-pointers.ll b/llvm/test/Analysis/LoopAccessAnalysis/memcheck-wrapping-pointers.ll
> index d6f7dbb138f5d..3bbc6b47686d6 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/memcheck-wrapping-pointers.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/memcheck-wrapping-pointers.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes=print-access-info %s -disable-output 2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' %s -disable-output 2>&1 | FileCheck %s
>   
>   target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
>   
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/multiple-strides-rt-memory-checks.ll b/llvm/test/Analysis/LoopAccessAnalysis/multiple-strides-rt-memory-checks.ll
> index 8abb0c7f22179..45f9e2e2c458d 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/multiple-strides-rt-memory-checks.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/multiple-strides-rt-memory-checks.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes='print-access-info' -disable-output  < %s 2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' -disable-output  < %s 2>&1 | FileCheck %s
>   
>   ; This is the test case from PR26314.
>   ; When we were retrying dependence checking with memchecks only,
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/non-wrapping-pointer.ll b/llvm/test/Analysis/LoopAccessAnalysis/non-wrapping-pointer.ll
> index 9790811a0e3cf..29dc3e5d8cae6 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/non-wrapping-pointer.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/non-wrapping-pointer.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes='print-access-info' -aa-pipeline='basic-aa' -disable-output < %s  2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' -aa-pipeline='basic-aa' -disable-output < %s  2>&1 | FileCheck %s
>   
>   ; For this loop:
>   ;   for (int i = 0; i < n; i++)
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/nullptr.ll b/llvm/test/Analysis/LoopAccessAnalysis/nullptr.ll
> index 2c371d2aef6ee..f1c80057702be 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/nullptr.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/nullptr.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes='print-access-info' -disable-output  < %s 2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' -disable-output  < %s 2>&1 | FileCheck %s
>   
>   ; Test that the loop accesses are proven safe in this case.
>   ; The analyzer uses to be confused by the "diamond" because getUnderlyingObjects
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/number-of-memchecks.ll b/llvm/test/Analysis/LoopAccessAnalysis/number-of-memchecks.ll
> index 70adc18d055fc..be628f129ec92 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/number-of-memchecks.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/number-of-memchecks.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes='print-access-info' -disable-output  < %s 2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' -disable-output  < %s 2>&1 | FileCheck %s
>   
>   target datalayout = "e-m:e-i64:64-i128:128-n32:64-S128"
>   target triple = "aarch64--linux-gnueabi"
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/pointer-phis.ll b/llvm/test/Analysis/LoopAccessAnalysis/pointer-phis.ll
> index b1ceac8317854..db3fb78c108da 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/pointer-phis.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/pointer-phis.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes='print-access-info' -disable-output  < %s 2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' -disable-output  < %s 2>&1 | FileCheck %s
>   
>   %s1 = type { [32000 x double], [32000 x double], [32000 x double] }
>   
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/pointer-with-unknown-bounds.ll b/llvm/test/Analysis/LoopAccessAnalysis/pointer-with-unknown-bounds.ll
> index 880d3a624e78c..f35c2813ad870 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/pointer-with-unknown-bounds.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/pointer-with-unknown-bounds.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -aa-pipeline=basic-aa -passes='print-access-info' -disable-output  < %s 2>&1 | FileCheck %s
> +; RUN: opt -aa-pipeline=basic-aa -passes='print<access-info>' -disable-output  < %s 2>&1 | FileCheck %s
>   
>   target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
>   
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/pr31098.ll b/llvm/test/Analysis/LoopAccessAnalysis/pr31098.ll
> index bd4c938339885..da4711e6701eb 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/pr31098.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/pr31098.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes='print-access-info' -disable-output  < %s 2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' -disable-output  < %s 2>&1 | FileCheck %s
>   
>   target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
>   
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/pr56672.ll b/llvm/test/Analysis/LoopAccessAnalysis/pr56672.ll
> index 98c3efc840d8d..92887feb6395e 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/pr56672.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/pr56672.ll
> @@ -1,5 +1,5 @@
> -; RUN: opt -passes='loop(loop-rotate),print-access-info' -S %s 2>&1 | FileCheck %s
> -; RUN: opt -passes='loop(loop-rotate),invalidate<loops>,print-access-info' -S %s 2>&1 | FileCheck %s
> +; RUN: opt -passes='loop(loop-rotate),print<access-info>' -S %s 2>&1 | FileCheck %s
> +; RUN: opt -passes='loop(loop-rotate),invalidate<loops>,print<access-info>' -S %s 2>&1 | FileCheck %s
>   
>   ; Make sure that the result of analysis is consistent regardless of blocks
>   ; order as they are stored in loop. This test demonstrates the situation when
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/resort-to-memchecks-only.ll b/llvm/test/Analysis/LoopAccessAnalysis/resort-to-memchecks-only.ll
> index 4aaa789cda874..dc7cb08c81b09 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/resort-to-memchecks-only.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/resort-to-memchecks-only.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes='print-access-info' -disable-output  < %s 2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' -disable-output  < %s 2>&1 | FileCheck %s
>   
>   ; We give up analyzing the dependences in this loop due to non-constant
>   ; distance between A[i+offset] and A[i] and add memchecks to prove
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/reverse-memcheck-bounds.ll b/llvm/test/Analysis/LoopAccessAnalysis/reverse-memcheck-bounds.ll
> index 043da22db00a4..e68861e95192b 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/reverse-memcheck-bounds.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/reverse-memcheck-bounds.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes='print-access-info' -disable-output  < %s 2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' -disable-output  < %s 2>&1 | FileCheck %s
>   
>   ; The runtime memory check code and the access grouping
>   ; algorithm both assume that the start and end values
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/runtime-pointer-checking-insert-typesize.ll b/llvm/test/Analysis/LoopAccessAnalysis/runtime-pointer-checking-insert-typesize.ll
> index f99c70c1a9f9c..3d6cd3e0e2707 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/runtime-pointer-checking-insert-typesize.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/runtime-pointer-checking-insert-typesize.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes='print-access-info' -disable-output < %s
> +; RUN: opt -passes='print<access-info>' -disable-output < %s
>   
>   ; This regression test is defending against a use of the wrong interface
>   ; of TypeSize (implicit conversion to a scalar). This issue cropped up
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/safe-no-checks.ll b/llvm/test/Analysis/LoopAccessAnalysis/safe-no-checks.ll
> index 1ceee9bc97d7a..74cbe97ca7601 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/safe-no-checks.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/safe-no-checks.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes='print-access-info' -aa-pipeline='basic-aa' -disable-output < %s  2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' -aa-pipeline='basic-aa' -disable-output < %s  2>&1 | FileCheck %s
>   
>   ; If the arrays don't alias this loop is safe with no memchecks:
>   ;   for (i = 0; i < n; i++)
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/safe-with-dep-distance.ll b/llvm/test/Analysis/LoopAccessAnalysis/safe-with-dep-distance.ll
> index 5273cbea3c37e..5e3663e13178a 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/safe-with-dep-distance.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/safe-with-dep-distance.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes='print-access-info' -disable-output  < %s 2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' -disable-output  < %s 2>&1 | FileCheck %s
>   
>   ; Analyze this loop:
>   ;   for (i = 0; i < n; i++)
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/store-to-invariant-check1.ll b/llvm/test/Analysis/LoopAccessAnalysis/store-to-invariant-check1.ll
> index 18615b80e4f71..bf0b932eaa269 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/store-to-invariant-check1.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/store-to-invariant-check1.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes='print-access-info' -disable-output  < %s 2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' -disable-output  < %s 2>&1 | FileCheck %s
>   
>   ; Test to confirm LAA will find multiple stores to an invariant address in the
>   ; inner loop.
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/store-to-invariant-check2.ll b/llvm/test/Analysis/LoopAccessAnalysis/store-to-invariant-check2.ll
> index 18cceb3273a7e..5338187eb2d3b 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/store-to-invariant-check2.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/store-to-invariant-check2.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes='print-access-info' -disable-output  < %s 2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' -disable-output  < %s 2>&1 | FileCheck %s
>   
>   ; Test to confirm LAA will not find store to invariant address.
>   ; Inner loop has no store to invariant address.
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/store-to-invariant-check3.ll b/llvm/test/Analysis/LoopAccessAnalysis/store-to-invariant-check3.ll
> index 878cc7c6b160b..9c5c9e7a828e2 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/store-to-invariant-check3.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/store-to-invariant-check3.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes='print-access-info' -disable-output  < %s 2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' -disable-output  < %s 2>&1 | FileCheck %s
>   
>   ; Inner loop has a store to invariant address, but LAA does not need to identify
>   ; the store to invariant address, since it is a single store.
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/stride-access-dependence.ll b/llvm/test/Analysis/LoopAccessAnalysis/stride-access-dependence.ll
> index 2ae1945cdb34b..bb31c94cc3ace 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/stride-access-dependence.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/stride-access-dependence.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes='print-access-info' -disable-output  < %s 2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' -disable-output  < %s 2>&1 | FileCheck %s
>   
>   target datalayout = "e-m:e-i64:64-i128:128-n32:64-S128"
>   
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/symbolic-stride.ll b/llvm/test/Analysis/LoopAccessAnalysis/symbolic-stride.ll
> index aba9346a513aa..584dd84bf6f8a 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/symbolic-stride.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/symbolic-stride.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -S -disable-output -passes='print-access-info' %s 2>&1 | FileCheck %s
> +; RUN: opt -S -disable-output -passes='print<access-info>' %s 2>&1 | FileCheck %s
>   
>   ;
>   target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/uncomputable-backedge-taken-count.ll b/llvm/test/Analysis/LoopAccessAnalysis/uncomputable-backedge-taken-count.ll
> index 5b0c62e0eb9c7..a16090880e063 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/uncomputable-backedge-taken-count.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/uncomputable-backedge-taken-count.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes='print-access-info' -aa-pipeline='basic-aa' -disable-output < %s  2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' -aa-pipeline='basic-aa' -disable-output < %s  2>&1 | FileCheck %s
>   
>   target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
>   target triple = "x86_64-apple-macosx10.10.0"
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/underlying-objects-1.ll b/llvm/test/Analysis/LoopAccessAnalysis/underlying-objects-1.ll
> index 77c0a542d6402..bc8c59d2f9799 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/underlying-objects-1.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/underlying-objects-1.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes='print-access-info' -disable-output  < %s 2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' -disable-output  < %s 2>&1 | FileCheck %s
>   
>   ; In:
>   ;
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/underlying-objects-2.ll b/llvm/test/Analysis/LoopAccessAnalysis/underlying-objects-2.ll
> index a5d018fb88937..0a0c4ac97a2cb 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/underlying-objects-2.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/underlying-objects-2.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes='print-access-info' -disable-output  < %s 2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' -disable-output  < %s 2>&1 | FileCheck %s
>   
>   ; This loop:
>   ;
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/unsafe-and-rt-checks-convergent.ll b/llvm/test/Analysis/LoopAccessAnalysis/unsafe-and-rt-checks-convergent.ll
> index d19cdc2cc79f0..a27867024f8af 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/unsafe-and-rt-checks-convergent.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/unsafe-and-rt-checks-convergent.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes='print-access-info' -disable-output  < %s 2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' -disable-output  < %s 2>&1 | FileCheck %s
>   
>   ; Analyze this loop:
>   ;   for (i = 0; i < n; i++)
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/unsafe-and-rt-checks.ll b/llvm/test/Analysis/LoopAccessAnalysis/unsafe-and-rt-checks.ll
> index 6af22635614e4..460809c203dc0 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/unsafe-and-rt-checks.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/unsafe-and-rt-checks.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes='print-access-info' -disable-output  < %s 2>&1 | FileCheck %s
> +; RUN: opt -passes='print<access-info>' -disable-output  < %s 2>&1 | FileCheck %s
>   
>   ; Analyze this loop:
>   ;   for (i = 0; i < n; i++)
>
> diff  --git a/llvm/test/Analysis/LoopAccessAnalysis/wrapping-pointer-versioning.ll b/llvm/test/Analysis/LoopAccessAnalysis/wrapping-pointer-versioning.ll
> index 60025caf3d4a5..6c8c37aa90ee9 100644
> --- a/llvm/test/Analysis/LoopAccessAnalysis/wrapping-pointer-versioning.ll
> +++ b/llvm/test/Analysis/LoopAccessAnalysis/wrapping-pointer-versioning.ll
> @@ -1,4 +1,4 @@
> -; RUN: opt -passes='print-access-info' -aa-pipeline='basic-aa' -disable-output < %s  2>&1 | FileCheck %s --check-prefix=LAA
> +; RUN: opt -passes='print<access-info>' -aa-pipeline='basic-aa' -disable-output < %s  2>&1 | FileCheck %s --check-prefix=LAA
>   
>   target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
>   
>
> diff  --git a/llvm/test/Transforms/LoopDistribute/basic-with-memchecks.ll b/llvm/test/Transforms/LoopDistribute/basic-with-memchecks.ll
> index e8c03ad2752ed..7edcfdfcf1584 100644
> --- a/llvm/test/Transforms/LoopDistribute/basic-with-memchecks.ll
> +++ b/llvm/test/Transforms/LoopDistribute/basic-with-memchecks.ll
> @@ -5,7 +5,7 @@
>   ; RUN:   -verify-loop-info -verify-dom-info -S < %s | \
>   ; RUN:   FileCheck --check-prefix=VECTORIZE %s
>   
> -; RUN: opt -aa-pipeline=basic-aa -passes='loop-distribute,print-access-info' -enable-loop-distribute \
> +; RUN: opt -aa-pipeline=basic-aa -passes='loop-distribute,print<access-info>' -enable-loop-distribute \
>   ; RUN:   -verify-loop-info -verify-dom-info -disable-output < %s 2>&1 | FileCheck %s --check-prefix=ANALYSIS
>   
>   ; The memcheck version of basic.ll.  We should distribute and vectorize the
>
> diff  --git a/llvm/test/Transforms/LoopDistribute/basic.ll b/llvm/test/Transforms/LoopDistribute/basic.ll
> index 36c9d844ffc00..c537fc1d04e35 100644
> --- a/llvm/test/Transforms/LoopDistribute/basic.ll
> +++ b/llvm/test/Transforms/LoopDistribute/basic.ll
> @@ -1,7 +1,7 @@
>   ; RUN: opt -aa-pipeline=basic-aa -passes=loop-distribute -enable-loop-distribute -verify-loop-info -verify-dom-info -S \
>   ; RUN:   < %s | FileCheck %s
>   
> -; RUN: opt -aa-pipeline=basic-aa -passes='loop-distribute,loop(print-access-info)' -enable-loop-distribute \
> +; RUN: opt -aa-pipeline=basic-aa -passes='loop-distribute,loop(print<access-info>)' -enable-loop-distribute \
>   ; RUN:   -verify-loop-info -verify-dom-info -disable-output < %s 2>&1 | FileCheck %s --check-prefix=ANALYSIS
>   
>   ; RUN: opt -aa-pipeline=basic-aa -passes=loop-distribute,loop-vectorize -enable-loop-distribute -force-vector-width=4 -S \
>
> diff  --git a/llvm/test/Transforms/LoopUnroll/unroll-loop-invalidation.ll b/llvm/test/Transforms/LoopUnroll/unroll-loop-invalidation.ll
> index 4b501eb3cd54c..a93aaa6775dff 100644
> --- a/llvm/test/Transforms/LoopUnroll/unroll-loop-invalidation.ll
> +++ b/llvm/test/Transforms/LoopUnroll/unroll-loop-invalidation.ll
> @@ -3,7 +3,7 @@
>   ; analysis is cached, then unroll the loop (deleting it) and make sure that the
>   ; next function doesn't get a cache "hit" for this stale analysis result.
>   ;
> -; RUN: opt -S -passes='loop(require<access-info>),loop-unroll,loop(print-access-info)' -debug-pass-manager < %s 2>&1 | FileCheck %s
> +; RUN: opt -S -passes='loop(require<access-info>),loop-unroll,loop(print<access-info>)' -debug-pass-manager < %s 2>&1 | FileCheck %s
>   ;
>   ; CHECK: Running analysis: LoopAnalysis
>   ; CHECK: Running analysis: InnerAnalysisManagerProxy<
>
>
>          
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits


More information about the llvm-commits mailing list