[PATCH] D77478: [MLIR][NFC] applyPatternsGreedily -> applyPatternsAndFoldGreedily

Uday Bondhugula via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 4 18:38:29 PDT 2020


bondhugula created this revision.
bondhugula added reviewers: rriddle, mehdi_amini.
Herald added subscribers: llvm-commits, grosul1, bader, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, csigg, nicolasvasilache, antiagainst, shauheen, burmako, jpienaar, eraman, jholewinski.
Herald added a reviewer: mravishankar.
Herald added a reviewer: antiagainst.
Herald added a reviewer: nicolasvasilache.
Herald added a reviewer: herhut.
Herald added 1 blocking reviewer(s): rriddle.
Herald added a reviewer: aartbik.
Herald added a project: LLVM.

Rename mlir::applyPatternsGreedily -> applyPatternsAndFoldGreedily. The
new name is a more accurate description of the method - it performs
both, application of the specified patterns and folding of all ops in
the op's region irrespective of whether any patterns have been supplied.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D77478

Files:
  mlir/include/mlir/IR/PatternMatch.h
  mlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
  mlir/lib/Conversion/StandardToSPIRV/LegalizeStandardForSPIRV.cpp
  mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
  mlir/lib/Dialect/FxpMathOps/Transforms/LowerUniformRealMath.cpp
  mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
  mlir/lib/Dialect/Linalg/Transforms/LinalgToLoops.cpp
  mlir/lib/Dialect/Quant/Transforms/ConvertConst.cpp
  mlir/lib/Dialect/Quant/Transforms/ConvertSimQuant.cpp
  mlir/lib/Quantizer/Transforms/RemoveInstrumentationPass.cpp
  mlir/lib/Transforms/Canonicalizer.cpp
  mlir/lib/Transforms/Inliner.cpp
  mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
  mlir/test/lib/Dialect/Test/TestPatterns.cpp
  mlir/test/lib/Transforms/TestAllReduceLowering.cpp
  mlir/test/lib/Transforms/TestLinalgTransforms.cpp
  mlir/test/lib/Transforms/TestVectorToLoopsConversion.cpp
  mlir/test/lib/Transforms/TestVectorTransforms.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77478.255094.patch
Type: text/x-patch
Size: 12648 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200405/0dbe6cbc/attachment.bin>


More information about the llvm-commits mailing list