[Mlir-commits] [clang] [flang] [mlir] [mlir] Replace non-ASCII characters for tablegen output (PR #235019)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Oct 23 09:47:51 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir-core
Author: Andy Kaylor (andykaylor)
<details>
<summary>Changes</summary>
When the CIR build was enabled by default, it exposed a problem where a bunch of tablegen commands were failing on z/OS builds because we were trying to emit non-ASCII characters and z/OS didn't like that. Some of these characters also show up as blocks on older fonts like Courier New.
This change replaces these characters with ASCII equivalents.
I used Cursor for the replacements, but I have reviewed them all and they look reasonable to me.
---
Patch is 45.64 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/235019.diff
31 Files Affected:
- (modified) clang/include/clang/CIR/Dialect/IR/CIRAttrs.td (+1-1)
- (modified) clang/include/clang/CIR/Dialect/IR/CIROps.td (+7-7)
- (modified) flang/include/flang/Optimizer/Dialect/MIF/MIFOps.td (+1-1)
- (modified) mlir/include/mlir/Dialect/Affine/IR/AffineOps.td (+1-1)
- (modified) mlir/include/mlir/Dialect/ArmSME/IR/ArmSMEOps.td (+5-5)
- (modified) mlir/include/mlir/Dialect/EmitC/IR/EmitC.td (+1-1)
- (modified) mlir/include/mlir/Dialect/Func/IR/FuncOps.td (+1-1)
- (modified) mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td (+5-5)
- (modified) mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td (+2-2)
- (modified) mlir/include/mlir/Dialect/Linalg/IR/LinalgRelayoutOps.td (+1-1)
- (modified) mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td (+4-4)
- (modified) mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td (+4-4)
- (modified) mlir/include/mlir/Dialect/SPIRV/IR/SPIRVArithmeticOps.td (+5-5)
- (modified) mlir/include/mlir/Dialect/SPIRV/IR/SPIRVAtomicOps.td (+11-11)
- (modified) mlir/include/mlir/Dialect/SPIRV/IR/SPIRVCastOps.td (+2-2)
- (modified) mlir/include/mlir/Dialect/SPIRV/IR/SPIRVCompositeOps.td (+3-3)
- (modified) mlir/include/mlir/Dialect/SPIRV/IR/SPIRVControlFlowOps.td (+1-1)
- (modified) mlir/include/mlir/Dialect/SPIRV/IR/SPIRVGLOps.td (+9-9)
- (modified) mlir/include/mlir/Dialect/SPIRV/IR/SPIRVGraphOps.td (+2-2)
- (modified) mlir/include/mlir/Dialect/SPIRV/IR/SPIRVImageOps.td (+1-1)
- (modified) mlir/include/mlir/Dialect/SPIRV/IR/SPIRVMemoryOps.td (+2-2)
- (modified) mlir/include/mlir/Dialect/SPIRV/IR/SPIRVNonUniformOps.td (+7-7)
- (modified) mlir/include/mlir/Dialect/SPIRV/IR/SPIRVStructureOps.td (+6-6)
- (modified) mlir/include/mlir/Dialect/Shard/IR/ShardOps.td (+10-10)
- (modified) mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.td (+1-1)
- (modified) mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorBase.td (+1-1)
- (modified) mlir/include/mlir/Dialect/Tensor/IR/TensorBase.td (+2-2)
- (modified) mlir/include/mlir/Dialect/Vector/IR/VectorOps.td (+2-2)
- (modified) mlir/include/mlir/IR/BuiltinTypes.td (+1-1)
- (modified) mlir/include/mlir/IR/TensorEncoding.td (+1-1)
- (modified) mlir/include/mlir/Transforms/Passes.td (+1-1)
``````````diff
diff --git a/clang/include/clang/CIR/Dialect/IR/CIRAttrs.td b/clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
index b3cc021989fde4..0992b8f095b3df 100644
--- a/clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
+++ b/clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
@@ -1589,7 +1589,7 @@ def CIR_UnwindTableKindAttr : CIR_EnumAttr<CIR_UnwindTableKind, "uwtable"> {
This mirrors the UWTableKindEnum in The LLVM dialect,
and is passed through to the llvm dialect. According to the LLVM
documentation:
- The ‘uwtable’ attribute is about the ABI or the user mandating an /
+ The 'uwtable' attribute is about the ABI or the user mandating an /
entry in the unwind table.
}];
}
diff --git a/clang/include/clang/CIR/Dialect/IR/CIROps.td b/clang/include/clang/CIR/Dialect/IR/CIROps.td
index 4dde0a667ac5a1..341f296e679d80 100644
--- a/clang/include/clang/CIR/Dialect/IR/CIROps.td
+++ b/clang/include/clang/CIR/Dialect/IR/CIROps.td
@@ -8101,7 +8101,7 @@ def CIR_ObjSizeOp : CIR_Op<"objsize", [Pure]> {
The `cir.objsize` operation is designed to provide information to the
optimizer to determine whether a) an operation (like memcpy) will
overflow a buffer that corresponds to an object, or b) that a runtime
- check for overflow isn’t necessary. An object in this context means an
+ check for overflow isn't necessary. An object in this context means an
allocation of a specific class, structure, array, or other object.
When the `min` attribute is present, the operation returns the minimum
@@ -8212,8 +8212,8 @@ def CIR_SqrtOp : CIR_UnaryFPToFPBuiltinOp<"sqrt", "SqrtOp"> {
Computes the square root of a floating-point value or vector.
The input must be either:
- • a floating-point scalar type, or
- • a vector whose element type is floating-point.
+ - a floating-point scalar type, or
+ - a vector whose element type is floating-point.
The result type must match the input type exactly.
@@ -8761,8 +8761,8 @@ def CIR_FMAOp : CIR_TernaryFPToFPBuiltinOp<"fma", "FMAOp"> {
Computes the fused multiply-add of three floating-point values or vector.
The inputs must be either:
- • floating-point scalar types, or
- • vectors whose element type is floating-point.
+ - floating-point scalar types, or
+ - vectors whose element type is floating-point.
The result type must match the input type exactly.
@@ -8790,8 +8790,8 @@ def CIR_FMulAddOp : CIR_TernaryFPToFPBuiltinOp<"fmuladd", "FMulAddOp"> {
emit either a fused or an unfused sequence.
The inputs must be either:
- • floating-point scalar types, or
- • vectors whose element type is floating-point.
+ - floating-point scalar types, or
+ - vectors whose element type is floating-point.
The result type must match the input type exactly.
diff --git a/flang/include/flang/Optimizer/Dialect/MIF/MIFOps.td b/flang/include/flang/Optimizer/Dialect/MIF/MIFOps.td
index 5cf3e19549b70d..035c21cc335f07 100644
--- a/flang/include/flang/Optimizer/Dialect/MIF/MIFOps.td
+++ b/flang/include/flang/Optimizer/Dialect/MIF/MIFOps.td
@@ -256,7 +256,7 @@ def mif_SyncImagesOp : mif_Op<"sync_images", [AttrSizedOperandSegments]> {
let summary = "Performs a synchronization of image with each of the other "
"images in the `image_set`";
let description = [{
- This operation can take an optional argument `image_set`, wich must be an integer expression
+ This operation can take an optional argument `image_set`, wich must be an integer expression
and must be scalar or rank one. If `image_set` is omitted from the call, this operation will
adopt the behavior of the Fortran statement `SYNC IMAGES(*)`.
}];
diff --git a/mlir/include/mlir/Dialect/Affine/IR/AffineOps.td b/mlir/include/mlir/Dialect/Affine/IR/AffineOps.td
index 6215d5c2926304..c3d8e998ed2f36 100644
--- a/mlir/include/mlir/Dialect/Affine/IR/AffineOps.td
+++ b/mlir/include/mlir/Dialect/Affine/IR/AffineOps.td
@@ -57,7 +57,7 @@ def AffineApplyOp : Affine_Op<"apply",
respective number of dimensional and symbolic inputs to the affine mapping;
the affine mapping has to be one-dimensional, and so the `affine.apply`
operation always returns one value. The input operands and result must all
- have ‘index’ type.
+ have 'index' type.
An operand that is a valid dimension as per the [rules on valid affine
dimensions and symbols](#restrictions-on-dimensions-and-symbols)
diff --git a/mlir/include/mlir/Dialect/ArmSME/IR/ArmSMEOps.td b/mlir/include/mlir/Dialect/ArmSME/IR/ArmSMEOps.td
index f7fec15ec130e7..8b38e0b2d759b9 100644
--- a/mlir/include/mlir/Dialect/ArmSME/IR/ArmSMEOps.td
+++ b/mlir/include/mlir/Dialect/ArmSME/IR/ArmSMEOps.td
@@ -869,7 +869,7 @@ def FMopa2WayOp
2 outer products
- Acol0 ⊗ Brow0 | Acol1 ⊗ Brow1
+ Acol0 * Brow0 | Acol1 * Brow1
------------- | -------------
|
[B0 B2 B4 B6] | [B1 B3 B5 B7]
@@ -884,7 +884,7 @@ def FMopa2WayOp
sum of 2 outer products
- Acol0 ⊗ Brow0 + Acol1 ⊗ Brow1
+ Acol0 * Brow0 + Acol1 * Brow1
[A0B0 + A1B1 A0B2 + A1B3 A0B4 + A1B5 A0B6 + A1B7]
[A2B0 + A3B1 A2B2 + A3B3 A2B4 + A3B5 A2B6 + A3B7]
@@ -1106,7 +1106,7 @@ def SMopa4WayOp
4 outer products
- Acol0 ⊗ Brow0 | Acol1 ⊗ Brow1
+ Acol0 * Brow0 | Acol1 * Brow1
------------- | -------------
|
[B0 B4 B8 B12] | [B1 B5 B9 B13]
@@ -1116,7 +1116,7 @@ def SMopa4WayOp
A8 [ A8B0 A8B4 A8B8 A8B12] | A9 [ A9B1 A9B5 A9B9 A9B13]
A12] [A12B0 A12B4 A12B8 A12B12] | A13] [A13B1 A13B5 A13B9 A13B13]
|
- Acol2 ⊗ Brow2 | Acol3 ⊗ Brow3
+ Acol2 * Brow2 | Acol3 * Brow3
------------- | -------------
|
[B2, B6, B10, B14] | [B3 B7 B11 B15]
@@ -1131,7 +1131,7 @@ def SMopa4WayOp
sum of 4 outer products
- Acol0 ⊗ Brow0 + Acol1 ⊗ Brow1 + Acol2 ⊗ Brow2 + Acol3 ⊗ Brow3
+ Acol0 * Brow0 + Acol1 * Brow1 + Acol2 * Brow2 + Acol3 * Brow3
[ A0B0 + A1B1 + A2B2 + A3B3 ... ... A0B12 + A1B13 + A2B14 + A3B15]
[ A4B0 + A5B1 + A6B2 + A7B3 ... ... A4B12 + A5B13 + A6B14 + A7B15]
diff --git a/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td b/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
index f08dac13972688..37307c03e6b1ef 100644
--- a/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
+++ b/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
@@ -871,7 +871,7 @@ def EmitC_FuncOp : EmitC_Op<"func", [
a symbolic connection (e.g. symbols referenced by name via a string
attribute like SymbolRefAttr). While the MLIR textual form provides a nice
inline syntax for function arguments, they are internally represented as
- “block arguments” to the first block in the region.
+ "block arguments" to the first block in the region.
Only dialect attribute names may be specified in the attribute dictionaries
for function arguments, results, or the function itself.
diff --git a/mlir/include/mlir/Dialect/Func/IR/FuncOps.td b/mlir/include/mlir/Dialect/Func/IR/FuncOps.td
index ba5531c46728e4..e7bf52c4643081 100644
--- a/mlir/include/mlir/Dialect/Func/IR/FuncOps.td
+++ b/mlir/include/mlir/Dialect/Func/IR/FuncOps.td
@@ -268,7 +268,7 @@ def FuncOp : Func_Op<"func", [
attribute like SymbolRefAttr). An external function declaration (used when
referring to a function declared in some other module) has no body. While
the MLIR textual form provides a nice inline syntax for function arguments,
- they are internally represented as “block arguments” to the first block in
+ they are internally represented as "block arguments" to the first block in
the region.
Only dialect attribute names may be specified in the attribute dictionaries
diff --git a/mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td b/mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
index 79eda3fee335cc..b62bc869c25da7 100644
--- a/mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
+++ b/mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
@@ -669,7 +669,7 @@ def NVVM_MBarrierInitOp : NVVM_PTXBuilder_Op<"mbarrier.init",
underlying address must be within the shared::cta memory space; otherwise
the behavior is undefined.
- `count`: Integer specifying the number of threads that will participate in barrier
- synchronization. Must be in the range [1, 2²⁰ - 1].
+ synchronization. Must be in the range [1, 2^20 - 1].
- `layout`: Optional in-memory layout to initialize the *mbarrier object*
with. Only `0` (`layout::v0`) and `1` (`layout::v1`) are valid values.
When it is omitted, it defaults to `0`. The layout of an existing
@@ -4698,11 +4698,11 @@ def NVVM_CpAsyncBulkTensorSharedCTAToGlobalOverrideAddrOp :
which optional operands are provided:
- `override.addr` (`.override::global_address`): only `overrideAddr` is given; the
- global base address from the tensor-map is replaced. Supported in `TILE` (1D–5D),
- `IM2COL`/`IM2COL_W` (3D–5D), and `TILE_SCATTER4` (2D, requires 5 coordinates).
+ global base address from the tensor-map is replaced. Supported in `TILE` (1D-5D),
+ `IM2COL`/`IM2COL_W` (3D-5D), and `TILE_SCATTER4` (2D, requires 5 coordinates).
- `override.addr.dim` (1D, `TILE` only): `overrideAddr` plus `tensorSize` (one
element); also overrides the tensor global dimension.
- - `override.addr.dim.stride` (2D–5D, `TILE` only): `overrideAddr` plus `tensorSize`,
+ - `override.addr.dim.stride` (2D-5D, `TILE` only): `overrideAddr` plus `tensorSize`,
`lowerStride`, and `upperStride`; also overrides the global dimensions and strides.
The effective global stride is
`global_stride[i] = ((%stride{i} + (%upper_stride{i} << 32)) << 4)`.
@@ -4728,7 +4728,7 @@ def NVVM_CpAsyncBulkTensorSharedCTAToGlobalOverrideAddrOp :
l2_cache_hint = %ch mode = im2col : !llvm.ptr, !llvm.ptr<3>, !llvm.ptr<1>
```
- // override.addr (TILE_SCATTER4, 2D) — 5 coordinates: x0, y0, y1, y2, y3
+ // override.addr (TILE_SCATTER4, 2D) -- 5 coordinates: x0, y0, y1, y2, y3
```mlir
nvvm.cp.async.bulk.tensor.global.shared.cta.override %tma_desc, %src, %override_addr, box[%x0, %y0, %y1, %y2, %y3]
mode = tile_scatter4 : !llvm.ptr, !llvm.ptr<3>, !llvm.ptr<1>
diff --git a/mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td b/mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
index 716fd92e810ace..9f77cbb50f3179 100644
--- a/mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
+++ b/mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
@@ -201,8 +201,8 @@ def ROCDL_DsBpermuteOp : ROCDL_ConcreteNonMemIntrOp<"ds_bpermute", [], 1>,
Each lane reads the value of `src` from the lane whose byte address is
given by `index` (i.e. lane id = `index / 4`).
- This is “backward” (pull) in contrast to `ds_permute_b32`, which is
- “forward” (push/scatter).
+ This is "backward" (pull) in contrast to `ds_permute_b32`, which is
+ "forward" (push/scatter).
Example:
```mlir
diff --git a/mlir/include/mlir/Dialect/Linalg/IR/LinalgRelayoutOps.td b/mlir/include/mlir/Dialect/Linalg/IR/LinalgRelayoutOps.td
index 044670d97ea702..c0ba1682caf765 100644
--- a/mlir/include/mlir/Dialect/Linalg/IR/LinalgRelayoutOps.td
+++ b/mlir/include/mlir/Dialect/Linalg/IR/LinalgRelayoutOps.td
@@ -122,7 +122,7 @@ def Linalg_PackOp : Linalg_RelayoutOp<"pack", [
`shape(result)[rank(source) + i] = inner_tiles[i]` for `0 <= i < k`.
- The following relationship for the tiled dimensions holds:
`shape(result)[inner_dims_pos[i]] = shape(source)[inner_dims_pos[i]] / inner_tiles[i]`,
- where (⌈/⌉ indicates CeilDiv).
+ where '/' indicates CeilDiv.
Example: If `inner_tiles = [16, 32]`, the result has a shape of
diff --git a/mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td b/mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
index 2b6fc04ac0991f..e2eebb04c3792a 100644
--- a/mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
+++ b/mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
@@ -831,7 +831,7 @@ def ContractOp : LinalgStructuredBase_Op<"contract", [
The semantics of contracting inputs `A` and `B` on top of `C` to produce
output `D` is given by
- `D[H] = (SUM_{(I ∪ J) \ H} A[I] * B[J]) + C[H]`
+ `D[H] = (SUM_{(I union J) \ H} A[I] * B[J]) + C[H]`
where `I`, `J`, and `H` are tuples of (pairwise distinct) dimension
identifiers - meant to range over valid indices - corresponding to the
@@ -852,8 +852,8 @@ def ContractOp : LinalgStructuredBase_Op<"contract", [
(if used on `A` and `C`), an "N-like" dim (if used on `B` and `C`) or a
"batch"-dim (if used to index into `A`, `B`, and `C`).
- For example, batch-matmul is given by `I = ⟨ b, m, k ⟩`, `J = ⟨ b, k, n ⟩`,
- `H = ⟨ b, m, n ⟩` (with `k` as a contracting reduction-dimension while `m`,
+ For example, batch-matmul is given by `I = (b, m, k)`, `J = (b, k, n)`,
+ `H = (b, m, n)` (with `k` as a contracting reduction-dimension while `m`,
`n` and `b` have parallel iteration-type) and gets represented as:
```mlir
@@ -1247,7 +1247,7 @@ def ScaledContractOp : LinalgStructuredBase_Op<"scaled_contract", [
The semantics of contracting inputs `A` and `B` with scales `scale_A` and
`scale_B` on top of `C` to produce output `D` is given by:
- `D[H] = (SUM_{(I ∪ J) \ H} (A[I] * scale_A[I]) * (B[J] * scale_B[J])) + C[H]`
+ `D[H] = (SUM_{(I union J) \ H} (A[I] * scale_A[I]) * (B[J] * scale_B[J])) + C[H]`
The iteration type of each dim is inferred.
diff --git a/mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td b/mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
index 86e466c46c2285..4047e203a54160 100644
--- a/mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
+++ b/mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
@@ -1527,8 +1527,8 @@ def MemRef_ReinterpretCastOp
memory outside the underlying allocation through the resulting memref is
undefined behavior.
- We distinguish between *underlying memory* — the sequence of elements as
- they appear in the contiguous memory of the memref — and the
+ We distinguish between *underlying memory* -- the sequence of elements as
+ they appear in the contiguous memory of the memref -- and the
*strided memref*, which refers to the underlying memory interpreted
according to specified offsets, sizes, and strides.
@@ -2206,8 +2206,8 @@ def SubViewOp : MemRef_OpWithOffsetSizesAndStrides<"subview", [
Consecutive `subview` operations on memref's with static dimensions.
- We distinguish between *underlying memory* — the sequence of elements as
- they appear in the contiguous memory of the memref — and the
+ We distinguish between *underlying memory* -- the sequence of elements as
+ they appear in the contiguous memory of the memref -- and the
*strided memref*, which refers to the underlying memory interpreted
according to specified offsets, sizes, and strides.
diff --git a/mlir/include/mlir/Dialect/SPIRV/IR/SPIRVArithmeticOps.td b/mlir/include/mlir/Dialect/SPIRV/IR/SPIRVArithmeticOps.td
index e1b94d6834f810..9659c9c37bef13 100644
--- a/mlir/include/mlir/Dialect/SPIRV/IR/SPIRVArithmeticOps.td
+++ b/mlir/include/mlir/Dialect/SPIRV/IR/SPIRVArithmeticOps.td
@@ -157,7 +157,7 @@ def SPIRV_FModOp : SPIRV_ArithmeticBinaryOp<"FMod", SPIRV_Float, []> {
Results are computed per component. The resulting value is undefined
if Operand 2 is 0. Otherwise, the result is the remainder r of Operand
- 1 divided by Operand 2 where if r ≠ 0, the sign of r is the same as the
+ 1 divided by Operand 2 where if r != 0, the sign of r is the same as the
sign of Operand 2.
#### Example:
@@ -232,7 +232,7 @@ def SPIRV_FRemOp : SPIRV_ArithmeticBinaryOp<"FRem", SPIRV_Float, []> {
Results are computed per component. The resulting value is undefined
if Operand 2 is 0. Otherwise, the result is the remainder r of Operand
- 1 divided by Operand 2 where if r ≠ 0, the sign of r is the same as the
+ 1 divided by Operand 2 where if r != 0, the sign of r is the same as the
sign of Operand 1.
#### Example:
@@ -427,7 +427,7 @@ def SPIRV_ISubBorrowOp : SPIRV_ArithmeticExtendedBinaryOp<"ISubBorrow",
Operand 1, member 0 gets 2w + Operand 1 - Operand 2, where w is the
component width.
- Member 1 of the result gets 0 if Operand 1 ≥ Operand 2, and gets 1
+ Member 1 of the result gets 0 if Operand 1 >= Operand 2, and gets 1
otherwise.
<!-- End of AutoGen section -->
@@ -528,7 +528,7 @@ def SPIRV_SModOp : SPIRV_ArithmeticBinaryOp<"SMod",
Results are computed per component. The resulting value is undefined
if Operand 2 is 0. Otherwise, the result is the remainder r of Operand
- 1 divided by Operand 2 where if r ≠ 0, the sign of r is the same as the
+ 1 divided by Operand 2 where if r != 0, the sign of r is the same as the
sign of Operand 2.
#### Example:
@@ -627,7 +627,7 @@ def SPIRV_SRemOp : SPIRV_ArithmeticBinaryOp<"SRem",
Results are computed per component. The resulting value is undefined
if Operand 2 is 0. Otherwise, the result is the remainder r of Operand
- 1 divided by Operand 2 where if r ≠ 0, the sign of r is the same as the
+ 1 divided by Operand 2 where if r != 0, the sign of r is the same as the
sign of Operand 1.
#### Example:
diff --git a/mlir/include/mlir/Dialect/SPIRV/IR/SPIRVAtomicOps.td b/mlir/include/mlir/Dialect/SPIRV/IR/SPIRVAtomicOps.td
index c706e39c4eb0c9..8ada507842dcc4 100644
--- a/mlir/include/mlir/Dialect/SPIRV/IR/SPIRVAtomicOps.td
+++ b/mlir/include/mlir/Dialect/SPIRV/IR/SPIRVAtomicOps.td
@@ -83,7 +83,7 @@ def SPIRV_AtomicAndOp : SPIRV_AtomicUpdateWithValueOp<"AtomicAnd", []> {
3) store the New Value back through Pointer.
- The instruction’s result is the Original Value.
+ The instruction's result is the Original Value.
Result Type must be an integer type scalar.
@@ -446,7 +446,7 @@ def SPIRV_AtomicIAddOp : SPIRV_AtomicUpdateWithValueOp<"AtomicIAdd", []> {
3) store the New Value back through Pointer.
- The instruction’s result is the Original Value.
+ The instruction's result is the Original Value.
Result Type must be an integer type scalar.
@@ -482,7 +482,7 @@ def SPIRV_AtomicIDecrementOp : SPIRV_AtomicUpdateOp<"AtomicIDecrement", []> {
3) store the New Value back through Pointer.
- The instruction’s result is the Original Value.
+ The instruction's result is the Original Value.
Result Type must be an integer type scalar. The type of the value
pointed to by Pointer must be the same as Result Type.
@@ -515,7 +515,7 @@ def SPIRV_AtomicIIncrementOp : SPIRV_AtomicUpdateOp<"AtomicIIncrement", []> {
3) store the New Value back through Pointer.
- The instruction’s result is the Original Value.
+ The instruction's result is the Original Value.
Result Type must be an integer type scalar. The type of the value
pointed to by Pointer must be the same as Result Type.
@@ -549,7 +549,7 @@ def SPIRV_AtomicISubOp : SPIRV_AtomicUpdateWithValueOp<"AtomicISub", []> {
3) store the New Value back through Pointer.
- The instruction’s result is the Original Value.
+ The instruction's result is the Original Value.
Result Type must be an integer type scalar.
@@ -584,7 +584,7 @@ def SPIRV_AtomicOrOp : SPIRV_AtomicUpdateWithValueOp<"AtomicOr", []> {
3) store the New Value back through Pointer.
- The instruction’s result is the Original Value.
+ The instruction's result is the Original Value.
Result...
[truncated]
``````````
</details>
https://github.com/llvm/llvm-project/pull/235019
More information about the Mlir-commits
mailing list