[llvm] [SROA] Unfold gep of index phi (PR #83087)

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 26 17:54:14 PST 2024


================
@@ -4023,64 +4023,88 @@ class AggLoadStoreRewriter : public InstVisitor<AggLoadStoreRewriter, bool> {
     Visited.insert(NSelI);
     enqueueUsers(*NSelI);
 
-    LLVM_DEBUG(dbgs() << "\n          to: " << *NTrue
-                      << "\n              " << *NFalse
-                      << "\n              " << *NSel << '\n');
+    LLVM_DEBUG(dbgs() << "\n          to: " << *NTrue << "\n              "
+                      << *NFalse << "\n              " << *NSel << '\n');
----------------
Artem-B wrote:

I wonder if there's a good way to convince clang-format to leave argument placement alone. 
It's been messing up printouts in my patches, too.

Adding `//` at the end of each original printout line might work.

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


More information about the llvm-commits mailing list