[PATCH] D123960: [AsmWriter] Add option to print users of an operation as a comment

Christoph Pillmayer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 18 14:22:29 PDT 2022


cpillmayer created this revision.
Herald added subscribers: dexonsmith, hiraditya.
Herald added a project: All.
cpillmayer requested review of this revision.
Herald added a project: LLVM.

This capability in the AssemblyWriter allows to print users of an operation as a comment.
To be able to refer to void type users such as store or ret, an option to generate slot numbers for void instructions is added.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D123960

Files:
  llvm/include/llvm/IR/BasicBlock.h
  llvm/include/llvm/IR/Function.h
  llvm/include/llvm/IR/Module.h
  llvm/lib/IR/AsmWriter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123960.423472.patch
Type: text/x-patch
Size: 11600 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220418/570ae8e9/attachment.bin>


More information about the llvm-commits mailing list