@@ -55,7 +55,6 @@ static cl::opt<bool> HideMemoryTransferLatency(
5555 " transfers" ),
5656 cl::Hidden, cl::init(false ));
5757
58-
5958STATISTIC (NumOpenMPRuntimeCallsDeduplicated,
6059 " Number of OpenMP runtime calls deduplicated" );
6160STATISTIC (NumOpenMPParallelRegionsDeleted,
@@ -426,8 +425,7 @@ struct OffloadArray {
426425 // / instruction \p Before is reached.
427426 bool getValues (AllocaInst &Array, Instruction &Before) {
428427 // Initialize container.
429- const uint64_t NumValues =
430- Array.getAllocatedType ()->getArrayNumElements ();
428+ const uint64_t NumValues = Array.getAllocatedType ()->getArrayNumElements ();
431429 StoredValues.assign (NumValues, nullptr );
432430 LastAccesses.assign (NumValues, nullptr );
433431
@@ -449,8 +447,8 @@ struct OffloadArray {
449447
450448 auto *S = cast<StoreInst>(&I);
451449 int64_t Offset = -1 ;
452- auto *Dst = GetPointerBaseWithConstantOffset (S-> getPointerOperand (),
453- Offset, DL);
450+ auto *Dst =
451+ GetPointerBaseWithConstantOffset (S-> getPointerOperand (), Offset, DL);
454452 if (Dst == &Array) {
455453 int64_t Idx = Offset / PointerSize;
456454 StoredValues[Idx] = getUnderlyingObject (S->getValueOperand ());
0 commit comments