Skip to content

Commit 2a76913

Browse files
committed
clang-format
1 parent ae8435f commit 2a76913

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

flang/include/flang/Optimizer/Support/InitFIR.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
#include "mlir/Dialect/Affine/Passes.h"
2323
#include "mlir/Dialect/Complex/IR/Complex.h"
2424
#include "mlir/Dialect/Func/Extensions/InlinerExtension.h"
25-
#include "mlir/Dialect/OpenACC/Transforms/Passes.h"
2625
#include "mlir/Dialect/LLVMIR/NVVMDialect.h"
26+
#include "mlir/Dialect/OpenACC/Transforms/Passes.h"
2727
#include "mlir/InitAllDialects.h"
2828
#include "mlir/Pass/Pass.h"
2929
#include "mlir/Pass/PassRegistry.h"

flang/lib/Optimizer/Builder/IntrinsicCall.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6551,9 +6551,13 @@ IntrinsicLibrary::genMatchAnySync(mlir::Type resultType,
65516551

65526552
mlir::Value arg1 = args[1];
65536553
if (arg1.getType().isF32() || arg1.getType().isF64())
6554-
arg1 = builder.create<fir::ConvertOp>(loc, is32 ? builder.getI32Type() : builder.getI64Type(), arg1);
6554+
arg1 = builder.create<fir::ConvertOp>(
6555+
loc, is32 ? builder.getI32Type() : builder.getI64Type(), arg1);
65556556

6556-
return builder.create<mlir::NVVM::MatchSyncOp>(loc, resultType, args[0], arg1, mlir::NVVM::MatchSyncKind::any).getResult();
6557+
return builder
6558+
.create<mlir::NVVM::MatchSyncOp>(loc, resultType, args[0], arg1,
6559+
mlir::NVVM::MatchSyncKind::any)
6560+
.getResult();
65576561
}
65586562

65596563
// MATMUL

0 commit comments

Comments
 (0)