[all-commits] [llvm/llvm-project] 13bd41: [mlir][Pass] Include anchor op in -pass-pipeline
rk via All-commits
all-commits at lists.llvm.org
Thu Nov 3 08:36:59 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 13bd41096286305ee603428f6adf161f52981827
https://github.com/llvm/llvm-project/commit/13bd41096286305ee603428f6adf161f52981827
Author: rkayaith <rkayaith at gmail.com>
Date: 2022-11-03 (Thu, 03 Nov 2022)
Changed paths:
M flang/test/Fir/cg-ops.fir
M mlir/docs/PassManagement.md
M mlir/include/mlir/Pass/PassManager.h
M mlir/lib/Pass/Pass.cpp
M mlir/lib/Pass/PassRegistry.cpp
M mlir/test/Analysis/test-alias-analysis-modref.mlir
M mlir/test/Analysis/test-alias-analysis.mlir
M mlir/test/Analysis/test-dominance.mlir
M mlir/test/Analysis/test-foo-analysis.mlir
M mlir/test/Analysis/test-liveness.mlir
M mlir/test/Analysis/test-match-reduction.mlir
M mlir/test/Analysis/test-topoligical-sort.mlir
M mlir/test/Conversion/AffineToStandard/lower-affine-gpu.mlir
M mlir/test/Conversion/ArithToLLVM/arith-to-llvm.mlir
M mlir/test/Conversion/ArithToLLVM/convert-nd-vector-to-llvmir.mlir
M mlir/test/Conversion/ComplexToStandard/full-conversion.mlir
M mlir/test/Conversion/FuncToLLVM/func-memref.mlir
M mlir/test/Conversion/FuncToLLVM/func-to-llvm.mlir
M mlir/test/Conversion/MathToFuncs/math-to-funcs.mlir
M mlir/test/Conversion/MathToLLVM/math-to-llvm.mlir
M mlir/test/Conversion/MemRefToLLVM/generic-functions.mlir
M mlir/test/Conversion/SCFToGPU/no_blocks_no_threads.mlir
M mlir/test/Conversion/SCFToGPU/step_one.mlir
M mlir/test/Conversion/SCFToGPU/step_positive.mlir
M mlir/test/Conversion/ShapeToStandard/convert-shape-constraints.mlir
M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg-named.mlir
M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg-resize.mlir
M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
M mlir/test/Conversion/VectorToGPU/vector-to-mma-ops-mma-sync.mlir
M mlir/test/Conversion/VectorToGPU/vector-to-mma-ops.mlir
M mlir/test/Conversion/VectorToSCF/tensor-transfer-ops.mlir
M mlir/test/Conversion/VectorToSCF/unrolled-tensor-transfer-ops.mlir
M mlir/test/Conversion/VectorToSCF/unrolled-vector-to-loops.mlir
M mlir/test/Conversion/VectorToSCF/vector-to-scf-mask-and-permutation-map.mlir
M mlir/test/Conversion/VectorToSCF/vector-to-scf.mlir
M mlir/test/Dialect/Affine/canonicalize.mlir
M mlir/test/Dialect/Affine/loop-unswitch.mlir
M mlir/test/Dialect/Affine/memref-stride-calculation.mlir
M mlir/test/Dialect/ControlFlow/canonicalize.mlir
M mlir/test/Dialect/GPU/promotion.mlir
M mlir/test/Dialect/LLVMIR/terminator.mlir
M mlir/test/Dialect/Linalg/convert-elementwise-to-linalg.mlir
M mlir/test/Dialect/Linalg/detensorize_0d.mlir
M mlir/test/Dialect/Linalg/detensorize_br_operands.mlir
M mlir/test/Dialect/Linalg/detensorize_if.mlir
M mlir/test/Dialect/Linalg/detensorize_trivial.mlir
M mlir/test/Dialect/Linalg/detensorize_while.mlir
M mlir/test/Dialect/Linalg/detensorize_while_impure_cf.mlir
M mlir/test/Dialect/Linalg/detensorize_while_pure_cf.mlir
M mlir/test/Dialect/Linalg/drop-unit-extent-dims.mlir
M mlir/test/Dialect/Linalg/fold-unit-trip-loops.mlir
M mlir/test/Dialect/NVGPU/optimize-shared-memory.mlir
M mlir/test/Dialect/Quant/canonicalize.mlir
M mlir/test/Dialect/SCF/canonicalize.mlir
M mlir/test/Dialect/SCF/for-loop-to-while-loop.mlir
M mlir/test/Dialect/SCF/loop-range.mlir
M mlir/test/Dialect/SCF/parallel-loop-fusion.mlir
M mlir/test/Dialect/SCF/parallel-loop-tiling-inbound-check.mlir
M mlir/test/Dialect/SCF/parallel-loop-tiling.mlir
M mlir/test/Dialect/SPIRV/Transforms/canonicalize.mlir
M mlir/test/Dialect/SPIRV/Transforms/inlining.mlir
M mlir/test/Dialect/Vector/canonicalize.mlir
M mlir/test/IR/diagnostic-handler-filter.mlir
M mlir/test/IR/test-clone.mlir
M mlir/test/IR/test-matchers.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/test-one-shot-bufferize.mlir
M mlir/test/Integration/Dialect/Standard/CPU/test-ceil-floor-pos-neg.mlir
M mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-1d.mlir
M mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-2d.mlir
M mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-3d.mlir
M mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read.mlir
M mlir/test/Integration/Dialect/Vector/CPU/test-transfer-to-loops.mlir
M mlir/test/Integration/Dialect/Vector/GPU/CUDA/test-reduction-distribute.mlir
M mlir/test/Integration/Dialect/Vector/GPU/CUDA/test-warp-distribute.mlir
M mlir/test/Integration/GPU/CUDA/TensorCore/wmma-matmul-f16.mlir
M mlir/test/Integration/GPU/CUDA/TensorCore/wmma-matmul-f32.mlir
M mlir/test/Integration/GPU/CUDA/all-reduce-and.mlir
M mlir/test/Integration/GPU/CUDA/all-reduce-max.mlir
M mlir/test/Integration/GPU/CUDA/all-reduce-min.mlir
M mlir/test/Integration/GPU/CUDA/all-reduce-op.mlir
M mlir/test/Integration/GPU/CUDA/all-reduce-or.mlir
M mlir/test/Integration/GPU/CUDA/all-reduce-region.mlir
M mlir/test/Integration/GPU/CUDA/all-reduce-xor.mlir
M mlir/test/Integration/GPU/CUDA/async.mlir
M mlir/test/Integration/GPU/CUDA/gpu-to-cubin.mlir
M mlir/test/Integration/GPU/CUDA/multiple-all-reduce.mlir
M mlir/test/Integration/GPU/CUDA/shuffle.mlir
M mlir/test/Integration/GPU/CUDA/two-modules.mlir
M mlir/test/Integration/GPU/ROCM/gpu-to-hsaco.mlir
M mlir/test/Integration/GPU/ROCM/printf.mlir
M mlir/test/Integration/GPU/ROCM/two-modules.mlir
M mlir/test/Integration/GPU/ROCM/vecadd.mlir
M mlir/test/Integration/GPU/ROCM/vector-transferops.mlir
M mlir/test/Pass/crash-recovery-dynamic-failure.mlir
M mlir/test/Pass/crash-recovery.mlir
M mlir/test/Pass/dynamic-pipeline-fail-on-parent.mlir
M mlir/test/Pass/dynamic-pipeline-nested.mlir
M mlir/test/Pass/dynamic-pipeline.mlir
M mlir/test/Pass/generic-pipeline.mlir
M mlir/test/Pass/interface-pass.mlir
M mlir/test/Pass/invalid-interface-pass.mlir
M mlir/test/Pass/invalid-ir-print-after-failure.mlir
M mlir/test/Pass/invalid-parent.mlir
M mlir/test/Pass/invalid-pass.mlir
M mlir/test/Pass/ir-printing.mlir
M mlir/test/Pass/pass-timing.mlir
M mlir/test/Pass/pipeline-options-parsing.mlir
M mlir/test/Pass/pipeline-parsing.mlir
M mlir/test/Pass/pipeline-stats.mlir
M mlir/test/Target/LLVMIR/arm-neon-2d.mlir
M mlir/test/Target/LLVMIR/vector-to-llvm-ir.mlir
M mlir/test/Transforms/canonicalize-block-merge.mlir
M mlir/test/Transforms/canonicalize-dce.mlir
M mlir/test/Transforms/canonicalize-td.mlir
M mlir/test/Transforms/canonicalize.mlir
M mlir/test/Transforms/cse.mlir
M mlir/test/Transforms/parallel-loop-collapsing.mlir
M mlir/test/Transforms/parametric-mapping.mlir
M mlir/test/Transforms/sccp-callgraph.mlir
M mlir/test/Transforms/sccp-structured.mlir
M mlir/test/Transforms/sccp.mlir
M mlir/test/Transforms/single-parallel-loop-collapsing.mlir
M mlir/test/Transforms/test-canonicalize-filter.mlir
M mlir/test/Transforms/test-canonicalize.mlir
M mlir/test/Transforms/test-operation-folder-commutative.mlir
M mlir/test/Transforms/test-symbol-dce.mlir
M mlir/test/mlir-cpu-runner/async-error.mlir
M mlir/test/mlir-cpu-runner/async-group.mlir
M mlir/test/mlir-cpu-runner/async-value.mlir
M mlir/test/mlir-cpu-runner/async.mlir
M mlir/test/mlir-cpu-runner/bare-ptr-call-conv.mlir
M mlir/test/mlir-cpu-runner/copy.mlir
M mlir/test/mlir-cpu-runner/global-memref.mlir
M mlir/test/mlir-cpu-runner/math-polynomial-approx.mlir
M mlir/test/mlir-cpu-runner/memref-reinterpret-cast.mlir
M mlir/test/mlir-cpu-runner/memref-reshape.mlir
M mlir/test/mlir-cpu-runner/print.mlir
M mlir/test/mlir-cpu-runner/sgemm-naive-codegen.mlir
M mlir/test/mlir-cpu-runner/unranked-memref.mlir
M mlir/test/mlir-cpu-runner/utils.mlir
M mlir/test/mlir-opt/async.mlir
Log Message:
-----------
[mlir][Pass] Include anchor op in -pass-pipeline
In D134622 the printed form of a pass manager is changed to include the
name of the op that the pass manager is anchored on. This updates the
`-pass-pipeline` argument format to include the anchor op as well, so
that the printed form of a pipeline can be directly passed to
`-pass-pipeline`. In most cases this requires updating
`-pass-pipeline='pipeline'` to
`-pass-pipeline='builtin.module(pipeline)'`.
This also fixes an outdated assert that prevented running a
`PassManager` anchored on `'any'`.
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D134900
More information about the All-commits
mailing list