[OpenMPOpt][NFC] Clang format
authorJohannes Doerfert <johannes@jdoerfert.de>
Fri, 11 Dec 2020 00:25:28 +0000 (18:25 -0600)
committerJohannes Doerfert <johannes@jdoerfert.de>
Tue, 15 Dec 2020 22:51:34 +0000 (16:51 -0600)
llvm/lib/Transforms/IPO/OpenMPOpt.cpp

index f1c953a..2433b1f 100644 (file)
@@ -55,7 +55,6 @@ static cl::opt<bool> HideMemoryTransferLatency(
              " transfers"),
     cl::Hidden, cl::init(false));
 
-
 STATISTIC(NumOpenMPRuntimeCallsDeduplicated,
           "Number of OpenMP runtime calls deduplicated");
 STATISTIC(NumOpenMPParallelRegionsDeleted,
@@ -426,8 +425,7 @@ private:
   /// instruction \p Before is reached.
   bool getValues(AllocaInst &Array, Instruction &Before) {
     // Initialize container.
-    const uint64_t NumValues =
-        Array.getAllocatedType()->getArrayNumElements();
+    const uint64_t NumValues = Array.getAllocatedType()->getArrayNumElements();
     StoredValues.assign(NumValues, nullptr);
     LastAccesses.assign(NumValues, nullptr);
 
@@ -449,8 +447,8 @@ private:
 
       auto *S = cast<StoreInst>(&I);
       int64_t Offset = -1;
-      auto *Dst = GetPointerBaseWithConstantOffset(S->getPointerOperand(),
-                                                   Offset, DL);
+      auto *Dst =
+          GetPointerBaseWithConstantOffset(S->getPointerOperand(), Offset, DL);
       if (Dst == &Array) {
         int64_t Idx = Offset / PointerSize;
         StoredValues[Idx] = getUnderlyingObject(S->getValueOperand());