Skip to content

Commit

Permalink
[mlir] Fix two CHECK: typos (#73803)
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
rikhuijzer committed Nov 30, 2023
1 parent ae3cd2d commit ae6eedd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion mlir/test/Dialect/NVGPU/transform-pipeline-shared.mlir
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ae6eedd

Please sign in to comment.