[PATCH] D135488: [codegen][WIP] Display stack layouts in console

Paul Kirth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 18 20:07:34 PDT 2022


paulkirth updated this revision to Diff 468770.
paulkirth added a comment.
Herald added a reviewer: jdoerfert.
Herald added subscribers: abrachet, sstefan1, pengfei, ormris.

Refactor printing into a dedicated pass

- add some basic lit tests
- change the printing format to be more machine readable
- disable diagnostics when issuing frame size warnings for now
- add TODOs for future improvements


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135488/new/

https://reviews.llvm.org/D135488

Files:
  llvm/include/llvm/CodeGen/MachineFrameInfo.h
  llvm/include/llvm/CodeGen/Passes.h
  llvm/include/llvm/InitializePasses.h
  llvm/lib/CodeGen/CMakeLists.txt
  llvm/lib/CodeGen/CodeGen.cpp
  llvm/lib/CodeGen/MachineFrameInfo.cpp
  llvm/lib/CodeGen/PrologEpilogInserter.cpp
  llvm/lib/CodeGen/StackFramePrinterPass.cpp
  llvm/lib/CodeGen/TargetPassConfig.cpp
  llvm/test/CodeGen/X86/stack-frame-printer.ll
  llvm/test/CodeGen/X86/stack-frame-printer2.ll



More information about the cfe-commits mailing list