[all-commits] [llvm/llvm-project] 252ba8: NFC: Refactor MIRPrinter into state struct and fun...

Matthias Braun via All-commits all-commits at lists.llvm.org
Sat May 17 08:08:34 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 252ba8e3fb361772003c38566c99233c07adc4bd
      https://github.com/llvm/llvm-project/commit/252ba8e3fb361772003c38566c99233c07adc4bd
  Author: Matthias Braun <matze at braunis.de>
  Date:   2025-05-17 (Sat, 17 May 2025)

  Changed paths:
    M llvm/lib/CodeGen/MIRPrinter.cpp

  Log Message:
  -----------
  NFC: Refactor MIRPrinter into state struct and functions (#140317)

Moves `MIRPRinter` and `MIPrinter` fields into a new `MFPrintState`
struct. Turns methods into independent functions.

- This slightly simplifies the code.
- In the future this will allow to pass the state around to other printing functions
   without the need to expose classes in the public headers.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list