We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d822206 commit a35ced9Copy full SHA for a35ced9
mlir/lib/Dialect/Arith/IR/ArithOps.cpp
@@ -1523,7 +1523,7 @@ OpFoldResult arith::TruncFOp::fold(FoldAdaptor adaptor) {
1523
auto srcType = cast<FloatType>(getElementTypeOrSelf(src.getType()));
1524
auto intermediateType =
1525
cast<FloatType>(getElementTypeOrSelf(extOp.getType()));
1526
- // Check if the srcType is representable in the intermediateType
+ // Check if the srcType is representable in the intermediateType.
1527
if (llvm::APFloatBase::isRepresentableBy(
1528
srcType.getFloatSemantics(),
1529
intermediateType.getFloatSemantics())) {
0 commit comments