Skip to content

Commit 4ba603f

Browse files
committed
remove one liner if statement's { and } as per review comment
1 parent 53b6353 commit 4ba603f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3379,9 +3379,9 @@ LogicalResult LLVM::ConstantOp::verify() {
33793379

33803380
Type attrElmType = getElementType(elementsAttr.getType());
33813381
Type resultElmType = getElementType(getType());
3382-
if (auto floatType = dyn_cast<FloatType>(attrElmType)) {
3382+
if (auto floatType = dyn_cast<FloatType>(attrElmType))
33833383
return verifyFloatSemantics(floatType.getFloatSemantics(), resultElmType);
3384-
}
3384+
33853385
if (isa<IntegerType>(attrElmType) && !isa<IntegerType>(resultElmType)) {
33863386
return emitOpError(
33873387
"expected integer element type for integer elements attribute");

0 commit comments

Comments
 (0)