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 53b6353 commit 4ba603fCopy full SHA for 4ba603f
mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
@@ -3379,9 +3379,9 @@ LogicalResult LLVM::ConstantOp::verify() {
3379
3380
Type attrElmType = getElementType(elementsAttr.getType());
3381
Type resultElmType = getElementType(getType());
3382
- if (auto floatType = dyn_cast<FloatType>(attrElmType)) {
+ if (auto floatType = dyn_cast<FloatType>(attrElmType))
3383
return verifyFloatSemantics(floatType.getFloatSemantics(), resultElmType);
3384
- }
+
3385
if (isa<IntegerType>(attrElmType) && !isa<IntegerType>(resultElmType)) {
3386
return emitOpError(
3387
"expected integer element type for integer elements attribute");
0 commit comments