Skip to content

Commit 3f5eec0

Browse files
committed
format
1 parent 9fda819 commit 3f5eec0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1501,14 +1501,12 @@ void printShortForm(OpAsmPrinter &p, Operation *payloadOp) {
15011501
std::string attrToElide;
15021502
p << " { " << payloadOp->getName().getStringRef();
15031503
for (const auto &attr : payloadOp->getAttrs()) {
1504-
if (auto fastAttr =
1505-
dyn_cast<arith::FastMathFlagsAttr>(attr.getValue())) {
1504+
if (auto fastAttr = dyn_cast<arith::FastMathFlagsAttr>(attr.getValue())) {
15061505
if (fastAttr.getValue() == arith::FastMathFlags::none) {
15071506
elidedAttrs.push_back(attr.getName().str());
15081507
}
15091508
}
1510-
if (auto denormAttr =
1511-
dyn_cast<arith::DenormalModeAttr>(attr.getValue())) {
1509+
if (auto denormAttr = dyn_cast<arith::DenormalModeAttr>(attr.getValue())) {
15121510
if (denormAttr.getValue() == arith::DenormalMode::ieee) {
15131511
elidedAttrs.push_back(attr.getName().str());
15141512
}

0 commit comments

Comments
 (0)