[llvm] [NFC][TableGen] Adopt scaled indent in PredicateExpander (PR #109801)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 24 12:53:02 PDT 2024


================
@@ -1610,9 +1610,9 @@ static void emitPredicates(const CodeGenSchedTransition &T,
     }
 
     SS << ")\n"; // end of if-stmt
-    PE.decreaseIndentLevel();
-    SS.indent(PE.getIndentLevel() * 2);
-    PE.decreaseIndentLevel();
+    PE.getIndent()--;
----------------
topperc wrote:

Use prefix form? Or does the function call interfere with that?

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


More information about the llvm-commits mailing list