[llvm] [DA][NFC] clang-format DependenceAnalysis (PR #151505)

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 6 07:06:38 PDT 2025


================
@@ -1519,9 +1474,14 @@ static bool findGCD(unsigned Bits, const APInt &AM, const APInt &BM,
   APInt R = G0;
   APInt::sdivrem(G0, G1, Q, R);
   while (R != 0) {
-    APInt A2 = A0 - Q*A1; A0 = A1; A1 = A2;
-    APInt B2 = B0 - Q*B1; B0 = B1; B1 = B2;
-    G0 = G1; G1 = R;
+    APInt A2 = A0 - Q * A1;
+    A0 = A1;
+    A1 = A2;
+    APInt B2 = B0 - Q * B1;
+    B0 = B1;
+    B1 = B2;
+    G0 = G1;
+    G1 = R;
----------------
Meinersbur wrote:

Adding a `// clang-format off` comment

https://github.com/llvm/llvm-project/pull/151505


More information about the llvm-commits mailing list