File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1426,12 +1426,12 @@ Error OpenMPIRBuilder::emitCancelationCheckImpl(
1426
1426
return Error::success ();
1427
1427
}
1428
1428
1429
- // Create wrapper function used to gather the outlined function's argument
1430
- // structure from a shared buffer and to forward them to it when running in
1431
- // Generic mode.
1432
- //
1433
- // The outlined function is expected to receive 2 integer arguments followed by
1434
- // an optional pointer argument to an argument structure holding the rest.
1429
+ // / Create wrapper function used to gather the outlined function's argument
1430
+ // / structure from a shared buffer and to forward them to it when running in
1431
+ // / Generic mode.
1432
+ // /
1433
+ // / The outlined function is expected to receive 2 integer arguments followed by
1434
+ // / an optional pointer argument to an argument structure holding the rest.
1435
1435
static Function *createTargetParallelWrapper (OpenMPIRBuilder *OMPIRBuilder,
1436
1436
Function &OutlinedFn) {
1437
1437
size_t NumArgs = OutlinedFn.arg_size ();
@@ -1562,7 +1562,7 @@ static void targetParallelCallback(
1562
1562
std::optional<omp::OMPTgtExecModeFlags> ExecMode =
1563
1563
getTargetKernelExecMode (*OuterFn);
1564
1564
Value *WrapperFn;
1565
- if (ExecMode && *ExecMode & OMP_TGT_EXEC_MODE_GENERIC)
1565
+ if (ExecMode && ( *ExecMode & OMP_TGT_EXEC_MODE_GENERIC) )
1566
1566
WrapperFn = createTargetParallelWrapper (OMPIRBuilder, OutlinedFn);
1567
1567
else
1568
1568
WrapperFn = Constant::getNullValue (PtrTy);
You can’t perform that action at this time.
0 commit comments