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 @@ -1334,12 +1334,12 @@ Error OpenMPIRBuilder::emitCancelationCheckImpl(
1334
1334
return Error::success ();
1335
1335
}
1336
1336
1337
- // Create wrapper function used to gather the outlined function's argument
1338
- // structure from a shared buffer and to forward them to it when running in
1339
- // Generic mode.
1340
- //
1341
- // The outlined function is expected to receive 2 integer arguments followed by
1342
- // an optional pointer argument to an argument structure holding the rest.
1337
+ // / Create wrapper function used to gather the outlined function's argument
1338
+ // / structure from a shared buffer and to forward them to it when running in
1339
+ // / Generic mode.
1340
+ // /
1341
+ // / The outlined function is expected to receive 2 integer arguments followed by
1342
+ // / an optional pointer argument to an argument structure holding the rest.
1343
1343
static Function *createTargetParallelWrapper (OpenMPIRBuilder *OMPIRBuilder,
1344
1344
Function &OutlinedFn) {
1345
1345
size_t NumArgs = OutlinedFn.arg_size ();
@@ -1470,7 +1470,7 @@ static void targetParallelCallback(
1470
1470
std::optional<omp::OMPTgtExecModeFlags> ExecMode =
1471
1471
getTargetKernelExecMode (*OuterFn);
1472
1472
Value *WrapperFn;
1473
- if (ExecMode && *ExecMode & OMP_TGT_EXEC_MODE_GENERIC)
1473
+ if (ExecMode && ( *ExecMode & OMP_TGT_EXEC_MODE_GENERIC) )
1474
1474
WrapperFn = createTargetParallelWrapper (OMPIRBuilder, OutlinedFn);
1475
1475
else
1476
1476
WrapperFn = Constant::getNullValue (PtrTy);
You can’t perform that action at this time.
0 commit comments