[Mlir-commits] [mlir] 4a5ff56 - [mlir][docs] Fix name of get arith->LLVM patterns in docs
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Oct 18 09:05:34 PDT 2021
Author: Mogball
Date: 2021-10-18T16:04:17Z
New Revision: 4a5ff56b1492693317162a2db6b39ffbbb8a6f15
URL: https://github.com/llvm/llvm-project/commit/4a5ff56b1492693317162a2db6b39ffbbb8a6f15
DIFF: https://github.com/llvm/llvm-project/commit/4a5ff56b1492693317162a2db6b39ffbbb8a6f15.diff
LOG: [mlir][docs] Fix name of get arith->LLVM patterns in docs
Added:
Modified:
mlir/docs/Tutorials/Toy/Ch-6.md
Removed:
################################################################################
diff --git a/mlir/docs/Tutorials/Toy/Ch-6.md b/mlir/docs/Tutorials/Toy/Ch-6.md
index c567c788e3a4b..9a31c8d249fa7 100644
--- a/mlir/docs/Tutorials/Toy/Ch-6.md
+++ b/mlir/docs/Tutorials/Toy/Ch-6.md
@@ -95,7 +95,8 @@ multiple stages by relying on
mlir::RewritePatternSet patterns(&getContext());
mlir::populateAffineToStdConversionPatterns(patterns, &getContext());
mlir::populateLoopToStdConversionPatterns(patterns, &getContext());
- mlir::populateArithmeticToLLVMConversionPatterns(typeConverter, patterns);
+ mlir::arith::populateArithmeticToLLVMConversionPatterns(typeConverter,
+ patterns);
mlir::populateStdToLLVMConversionPatterns(typeConverter, patterns);
// The only remaining operation, to lower from the `toy` dialect, is the
More information about the Mlir-commits
mailing list