Skip to content

Commit a35ced9

Browse files
zahimoudkuhar
andauthored
Update mlir/lib/Dialect/Arith/IR/ArithOps.cpp
Co-authored-by: Jakub Kuderski <[email protected]>
1 parent d822206 commit a35ced9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1523,7 +1523,7 @@ OpFoldResult arith::TruncFOp::fold(FoldAdaptor adaptor) {
15231523
auto srcType = cast<FloatType>(getElementTypeOrSelf(src.getType()));
15241524
auto intermediateType =
15251525
cast<FloatType>(getElementTypeOrSelf(extOp.getType()));
1526-
// Check if the srcType is representable in the intermediateType
1526+
// Check if the srcType is representable in the intermediateType.
15271527
if (llvm::APFloatBase::isRepresentableBy(
15281528
srcType.getFloatSemantics(),
15291529
intermediateType.getFloatSemantics())) {

0 commit comments

Comments
 (0)