Skip to content

Commit 1b23522

Browse files
committed
clang-format
1 parent 674299e commit 1b23522

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

clang/lib/CIR/CodeGen/CIRGenDeclOpenACC.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ void CIRGenModule::emitGlobalOpenACCRoutineDecl(const OpenACCRoutineDecl *d) {
303303
namespace {
304304
class OpenACCRoutineClauseEmitter final
305305
: public OpenACCClauseVisitor<OpenACCRoutineClauseEmitter> {
306-
CIRGenModule &cgm;
306+
CIRGenModule &cgm;
307307
CIRGen::CIRGenBuilderTy &builder;
308308
mlir::acc::RoutineOp routineOp;
309309
llvm::SmallVector<mlir::acc::DeviceType> lastDeviceTypeValues;

mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4368,7 +4368,7 @@ void RoutineOp::addWorker(MLIRContext *context,
43684368
}
43694369

43704370
void RoutineOp::addGang(MLIRContext *context,
4371-
llvm::ArrayRef<DeviceType> effectiveDeviceTypes) {
4371+
llvm::ArrayRef<DeviceType> effectiveDeviceTypes) {
43724372
setGangAttr(addDeviceTypeAffectedOperandHelper(context, getGangAttr(),
43734373
effectiveDeviceTypes));
43744374
}
@@ -4393,8 +4393,8 @@ void RoutineOp::addGang(MLIRContext *context,
43934393
acc::DeviceTypeAttr::get(context, acc::DeviceType::None));
43944394
} else {
43954395
for (DeviceType dt : effectiveDeviceTypes) {
4396-
dimValues.push_back(
4397-
mlir::IntegerAttr::get(mlir::IntegerType::get(context, 64), val));
4396+
dimValues.push_back(
4397+
mlir::IntegerAttr::get(mlir::IntegerType::get(context, 64), val));
43984398
deviceTypes.push_back(acc::DeviceTypeAttr::get(context, dt));
43994399
}
44004400
}

0 commit comments

Comments
 (0)