[Mlir-commits] [mlir] 9f39867 - [mlir][NFC] Fix a few langref typos
River Riddle
llvmlistbot at llvm.org
Mon May 16 16:23:13 PDT 2022
Author: River Riddle
Date: 2022-05-16T16:23:01-07:00
New Revision: 9f39867b103213d34121668381cb7dc054eda068
URL: https://github.com/llvm/llvm-project/commit/9f39867b103213d34121668381cb7dc054eda068
DIFF: https://github.com/llvm/llvm-project/commit/9f39867b103213d34121668381cb7dc054eda068.diff
LOG: [mlir][NFC] Fix a few langref typos
Added:
Modified:
mlir/docs/LangRef.md
Removed:
################################################################################
diff --git a/mlir/docs/LangRef.md b/mlir/docs/LangRef.md
index cb383be7256e..d264b30e7911 100644
--- a/mlir/docs/LangRef.md
+++ b/mlir/docs/LangRef.md
@@ -95,8 +95,7 @@ func.func @mul(%A: tensor<100x?xf32>, %B: tensor<?x50xf32>) -> (tensor<100x50xf3
memref.dealloc %C_m : memref<100x50xf32>
// Call TensorFlow built-in function to print the result tensor.
- "tf.Print"(%C){message: "mul result"}
- : (tensor<100x50xf32) -> (tensor<100x50xf32>)
+ "tf.Print"(%C){message: "mul result"} : (tensor<100x50xf32>) -> (tensor<100x50xf32>)
return %C : tensor<100x50xf32>
}
@@ -152,7 +151,7 @@ literal ::= `abcd` // Matches the literal `abcd`.
Code examples are presented in blue boxes.
-```mlir
+```
// This is an example use of the grammar above:
// This matches things like: ba, bana, boma, banana, banoma, bomana...
example ::= `b` (`an` | `om`)* `a`
More information about the Mlir-commits
mailing list