[all-commits] [llvm/llvm-project] c4a040: Add `Operation* OpState::operator->()` to provide ...
Christian Sigg via All-commits
all-commits at lists.llvm.org
Wed Dec 2 06:51:29 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c4a04059026b98e8c23981f1195a61494a661cdb
https://github.com/llvm/llvm-project/commit/c4a04059026b98e8c23981f1195a61494a661cdb
Author: Christian Sigg <csigg at google.com>
Date: 2020-12-02 (Wed, 02 Dec 2020)
Changed paths:
M mlir/examples/toy/Ch5/mlir/LowerToAffineLoops.cpp
M mlir/examples/toy/Ch6/mlir/LowerToAffineLoops.cpp
M mlir/examples/toy/Ch7/mlir/LowerToAffineLoops.cpp
M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOpsInterface.td
M mlir/include/mlir/Dialect/Vector/VectorTransforms.h
M mlir/include/mlir/IR/OpDefinition.h
M mlir/include/mlir/Interfaces/VectorInterfaces.td
M mlir/lib/Analysis/AffineAnalysis.cpp
M mlir/lib/Analysis/BufferAliasAnalysis.cpp
M mlir/lib/Analysis/Utils.cpp
M mlir/lib/Conversion/AVX512ToLLVM/ConvertAVX512ToLLVM.cpp
M mlir/lib/Conversion/GPUCommon/ConvertLaunchFuncToRuntimeCalls.cpp
M mlir/lib/Conversion/PDLToPDLInterp/PDLToPDLInterp.cpp
M mlir/lib/Conversion/SCFToOpenMP/SCFToOpenMP.cpp
M mlir/lib/Conversion/SCFToSPIRV/SCFToSPIRV.cpp
M mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
M mlir/lib/Conversion/StandardToSPIRV/ConvertStandardToSPIRV.cpp
M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
M mlir/lib/Dialect/Affine/Transforms/AffineLoopInvariantCodeMotion.cpp
M mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp
M mlir/lib/Dialect/Affine/Utils/Utils.cpp
M mlir/lib/Dialect/Async/Transforms/AsyncRefCountingOptimization.cpp
M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
M mlir/lib/Dialect/GPU/Transforms/KernelOutlining.cpp
M mlir/lib/Dialect/Linalg/Transforms/Bufferize.cpp
M mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp
M mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
M mlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp
M mlir/lib/Dialect/Linalg/Transforms/Hoisting.cpp
M mlir/lib/Dialect/Linalg/Transforms/Loops.cpp
M mlir/lib/Dialect/Linalg/Transforms/Promotion.cpp
M mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
M mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
M mlir/lib/Dialect/PDL/IR/PDL.cpp
M mlir/lib/Dialect/SCF/SCF.cpp
M mlir/lib/Dialect/SCF/Transforms/ParallelLoopFusion.cpp
M mlir/lib/Dialect/SCF/Transforms/StructuralTypeConversions.cpp
M mlir/lib/Dialect/SPIRV/Linking/ModuleCombiner/ModuleCombiner.cpp
M mlir/lib/Dialect/SPIRV/SPIRVCanonicalization.cpp
M mlir/lib/Dialect/SPIRV/Serialization/Serializer.cpp
M mlir/lib/Dialect/SPIRV/Transforms/RewriteInsertsPass.cpp
M mlir/lib/Dialect/StandardOps/IR/Ops.cpp
M mlir/lib/Dialect/StandardOps/Transforms/TensorConstantBufferize.cpp
M mlir/lib/Dialect/Vector/VectorOps.cpp
M mlir/lib/Dialect/Vector/VectorTransforms.cpp
M mlir/lib/IR/BuiltinDialect.cpp
M mlir/lib/Parser/Parser.cpp
M mlir/lib/Transforms/Inliner.cpp
M mlir/lib/Transforms/LoopFusion.cpp
M mlir/lib/Transforms/SCCP.cpp
M mlir/lib/Transforms/Utils/InliningUtils.cpp
M mlir/lib/Transforms/Utils/LoopFusionUtils.cpp
M mlir/lib/Transforms/Utils/LoopUtils.cpp
M mlir/test/lib/Dialect/SPIRV/TestAvailability.cpp
M mlir/test/lib/Transforms/TestLinalgFusionTransforms.cpp
M mlir/test/lib/Transforms/TestLoopFusion.cpp
M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
M mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp
Log Message:
-----------
Add `Operation* OpState::operator->()` to provide more convenient access to members of Operation.
Given that OpState already implicit converts to Operator*, this seems reasonable.
The alternative would be to add more functions to OpState which forward to Operation.
Reviewed By: rriddle, ftynse
Differential Revision: https://reviews.llvm.org/D92266
More information about the All-commits
mailing list