Skip to content

Commit

Permalink
fixup! [SandboxIR] PassManager
Browse files Browse the repository at this point in the history
  • Loading branch information
vporpo committed Sep 9, 2024
1 parent 79f1dca commit fa51a33
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions llvm/include/llvm/SandboxIR/PassManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,7 @@ class PassManager : public ParentPass {
void print(raw_ostream &OS) const override {
OS << this->getName();
OS << "(";
for (auto [Idx, Pass] : enumerate(Passes)) {
OS << Pass->getName();
if (Idx + 1 != Passes.size())
OS << ",";
}
interleave(Passes, OS, [&OS](auto *Pass) { OS << Pass->getName(); }, ",");
OS << ")";
}
LLVM_DUMP_METHOD void dump() const override {
Expand Down

0 comments on commit fa51a33

Please sign in to comment.