[Mlir-commits] [mlir] [mlir] Fix two `CHECK:` typos (PR #73803)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Nov 29 07:10:11 PST 2023
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir-affine
@llvm/pr-subscribers-mlir-gpu
Author: Rik Huijzer (rikhuijzer)
<details>
<summary>Changes</summary>
Out of curiosity, I ran [typos](https://github.com/crate-ci/typos) against MLIR. It found two `CHECK:` typos (and many minor typos; which I'm not gonna work on today).
---
Full diff: https://github.com/llvm/llvm-project/pull/73803.diff
2 Files Affected:
- (modified) mlir/test/Dialect/Affine/value-bounds-op-interface-impl.mlir (+1-1)
- (modified) mlir/test/Dialect/NVGPU/transform-pipeline-shared.mlir (+1-1)
``````````diff
diff --git a/mlir/test/Dialect/Affine/value-bounds-op-interface-impl.mlir b/mlir/test/Dialect/Affine/value-bounds-op-interface-impl.mlir
index 8acf358c887a987..55282e8334abd72 100644
--- a/mlir/test/Dialect/Affine/value-bounds-op-interface-impl.mlir
+++ b/mlir/test/Dialect/Affine/value-bounds-op-interface-impl.mlir
@@ -6,7 +6,7 @@
// CHECK-SAME: %[[a:.*]]: index, %[[b:.*]]: index
// CHECK: %[[apply:.*]] = affine.apply #[[$map]]()[%[[a]], %[[b]]]
// CHECK: %[[apply:.*]] = affine.apply #[[$map]]()[%[[a]], %[[b]]]
-// CHECL: return %[[apply]]
+// CHECK: return %[[apply]]
func.func @affine_apply(%a: index, %b: index) -> index {
%0 = affine.apply affine_map<()[s0, s1] -> (s0 + s1)>()[%a, %b]
%1 = "test.reify_bound"(%0) : (index) -> (index)
diff --git a/mlir/test/Dialect/NVGPU/transform-pipeline-shared.mlir b/mlir/test/Dialect/NVGPU/transform-pipeline-shared.mlir
index 02aca49052ad173..42b072374261e0a 100644
--- a/mlir/test/Dialect/NVGPU/transform-pipeline-shared.mlir
+++ b/mlir/test/Dialect/NVGPU/transform-pipeline-shared.mlir
@@ -165,7 +165,7 @@ func.func @async_depth_2_peeled(%global: memref<?xf32>) {
// CHECK: nvgpu.device_async_copy
// CHECK: scf.yield
// CHECK: nvgpu.device_async_wait %{{.*}} {numGroups = 1
- // CHEKC: nvgpu.device_async_wait %{{.*}} {numGroups = 0
+ // CHECK: nvgpu.device_async_wait %{{.*}} {numGroups = 0
scf.for %i = %c0 to %c98 step %c4 {
%c96 = arith.constant 96 : index
%cond = arith.cmpi slt, %i, %c96 : index
``````````
</details>
https://github.com/llvm/llvm-project/pull/73803
More information about the Mlir-commits
mailing list