Run format_sources.sh.

pull/61/head
Stella Laurenzo 2020-09-28 12:03:54 -07:00
parent b5f010284f
commit fb895173f2
4 changed files with 4 additions and 6 deletions

View File

@ -109,7 +109,6 @@ matchAndRewriteUnaryElementwise(Operation *op, PatternRewriter &rewriter) {
"unhandled op (see dump above): TCF->TCP unary elementwise");
}
return success();
}
namespace {

View File

@ -111,7 +111,6 @@ mlir::NPCOMP::createLowerAllocMemRefOpsPass() {
// RestrictedCanonicalizer
//===----------------------------------------------------------------------===//
namespace {
struct RestrictedCanonicalizer
: public RestrictedCanonicalizerBase<RestrictedCanonicalizer> {

View File

@ -140,8 +140,8 @@ static Value createLinalgBodyCalculationForElementwiseOp(Operation *op,
return builder.create<AddFOp>(loc, bodyArgs[0], bodyArgs[1]);
if (isa<tcp::MaxOp>(op)) {
auto greater =
builder.create<CmpFOp>(loc, CmpFPredicate::OGT, bodyArgs[0], bodyArgs[1]);
auto greater = builder.create<CmpFOp>(loc, CmpFPredicate::OGT, bodyArgs[0],
bodyArgs[1]);
return builder.create<SelectOp>(loc, greater, bodyArgs[0], bodyArgs[1]);
}