[clang] [flang] [libcxx] [llvm] [llvm-reduce]: print short form, actionable names in the log (PR #132813)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 27 08:01:09 PDT 2025
================
@@ -164,24 +152,25 @@ static void runDeltaPassName(TestRunner &Tester, StringRef PassName) {
void llvm::printDeltaPasses(raw_ostream &OS) {
OS << "Delta passes (pass to `--delta-passes=` as a comma separated list):\n";
-#define DELTA_PASS(NAME, FUNC) OS << " " << NAME << "\n";
OS << " IR:\n";
- DELTA_PASSES;
+ for (const DeltaPass &Pass : IR_Passes) {
+ OS << " " << Pass.Name << "\n";
----------------
arsenm wrote:
```suggestion
OS << " " << Pass.Name << '\n';
```
https://github.com/llvm/llvm-project/pull/132813
More information about the llvm-commits
mailing list