Skip to content

Commit be57899

Browse files
committed
Minor comment fixes
1 parent a5641e4 commit be57899

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def TruncIShrSIToTrunciShrUI :
394394
[(TruncationMatchesShiftAmount $x, $tr, $c0)]>;
395395

396396
//===----------------------------------------------------------------------===//
397-
// TruncIOp
397+
// TruncFOp
398398
//===----------------------------------------------------------------------===//
399399

400400
// truncf(sitofp(x)) -> sitofp(x) if default rounding mode.

mlir/lib/Dialect/Arith/IR/ArithOps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2723,7 +2723,7 @@ TypedAttr mlir::arith::getIdentityValueAttr(AtomicRMWKind kind, Type resultType,
27232723
return nullptr;
27242724
}
27252725

2726-
/// Return the identity numeric value associated to the give op.
2726+
/// Return the identity numeric value associated to the given op.
27272727
std::optional<TypedAttr> mlir::arith::getNeutralElement(Operation *op) {
27282728
std::optional<AtomicRMWKind> maybeKind =
27292729
llvm::TypeSwitch<Operation *, std::optional<AtomicRMWKind>>(op)

0 commit comments

Comments
 (0)