[Mlir-commits] [mlir] [NFC][mlir][docs] Fix typos in TargetLLVMIR.md (PR #81549)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Feb 12 15:04:59 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir
Author: Ronan Keryell (keryell)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/81549.diff
1 Files Affected:
- (modified) mlir/docs/TargetLLVMIR.md (+2-2)
``````````diff
diff --git a/mlir/docs/TargetLLVMIR.md b/mlir/docs/TargetLLVMIR.md
index 27a399c520647c..40e141ec698f6c 100644
--- a/mlir/docs/TargetLLVMIR.md
+++ b/mlir/docs/TargetLLVMIR.md
@@ -336,7 +336,7 @@ func.func @bar() {
// is transformed into
llvm.func @foo(%arg0: i32, %arg1: i64) -> !llvm.struct<(i32, i64)> {
- // insert the vales into a structure
+ // insert the values into a structure
%0 = llvm.mlir.undef : !llvm.struct<(i32, i64)>
%1 = llvm.insertvalue %arg0, %0[0] : !llvm.struct<(i32, i64)>
%2 = llvm.insertvalue %arg1, %1[1] : !llvm.struct<(i32, i64)>
@@ -349,7 +349,7 @@ llvm.func @bar() {
%1 = llvm.mlir.constant(17 : i64) : i64
// call and extract the values from the structure
- %2 = llvm.call @bar(%0, %1)
+ %2 = llvm.call @foo(%0, %1)
: (i32, i32) -> !llvm.struct<(i32, i64)>
%3 = llvm.extractvalue %2[0] : !llvm.struct<(i32, i64)>
%4 = llvm.extractvalue %2[1] : !llvm.struct<(i32, i64)>
``````````
</details>
https://github.com/llvm/llvm-project/pull/81549
More information about the Mlir-commits
mailing list