@@ -55,7 +55,6 @@ static cl::opt<bool> HideMemoryTransferLatency(
55
55
" transfers" ),
56
56
cl::Hidden, cl::init(false ));
57
57
58
-
59
58
STATISTIC (NumOpenMPRuntimeCallsDeduplicated,
60
59
" Number of OpenMP runtime calls deduplicated" );
61
60
STATISTIC (NumOpenMPParallelRegionsDeleted,
@@ -426,8 +425,7 @@ struct OffloadArray {
426
425
// / instruction \p Before is reached.
427
426
bool getValues (AllocaInst &Array, Instruction &Before) {
428
427
// Initialize container.
429
- const uint64_t NumValues =
430
- Array.getAllocatedType ()->getArrayNumElements ();
428
+ const uint64_t NumValues = Array.getAllocatedType ()->getArrayNumElements ();
431
429
StoredValues.assign (NumValues, nullptr );
432
430
LastAccesses.assign (NumValues, nullptr );
433
431
@@ -449,8 +447,8 @@ struct OffloadArray {
449
447
450
448
auto *S = cast<StoreInst>(&I);
451
449
int64_t Offset = -1 ;
452
- auto *Dst = GetPointerBaseWithConstantOffset (S-> getPointerOperand (),
453
- Offset, DL);
450
+ auto *Dst =
451
+ GetPointerBaseWithConstantOffset (S-> getPointerOperand (), Offset, DL);
454
452
if (Dst == &Array) {
455
453
int64_t Idx = Offset / PointerSize;
456
454
StoredValues[Idx] = getUnderlyingObject (S->getValueOperand ());
0 commit comments