File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -7257,6 +7257,7 @@ static Function *emitTargetTaskProxyFunction(
7257
7257
assert (TaskTy != TaskWithPrivatesTy &&
7258
7258
" If there are offloading arrays to pass to the target"
7259
7259
" TaskTy cannot be the same as TaskWithPrivatesTy" );
7260
+ (void )TaskTy;
7260
7261
Value *Privates =
7261
7262
Builder.CreateStructGEP (TaskWithPrivatesTy, TaskWithPrivates, 1 );
7262
7263
for (unsigned int i = 0 ; i < NumOffloadingArrays; ++i)
@@ -7669,6 +7670,7 @@ OpenMPIRBuilder::InsertPointOrErrorTy OpenMPIRBuilder::emitTargetTask(
7669
7670
Type *ElementType = PrivatesTy->getElementType (i);
7670
7671
assert (ElementType == ArrayType &&
7671
7672
" ElementType should match ArrayType" );
7673
+ (void )ArrayType;
7672
7674
7673
7675
Value *Dst = Builder.CreateStructGEP (PrivatesTy, Privates, i);
7674
7676
Builder.CreateMemCpy (
You can’t perform that action at this time.
0 commit comments