[PATCH] D123959: [mlir][core] 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 13:28:42 PDT 2022


cpillmayer created this revision.
Herald added subscribers: Chia-hungDuan, dexonsmith, rriddle, hiraditya.
Herald added a project: All.
cpillmayer requested review of this revision.
Herald added a subscriber: stephenneuendorffer.
Herald added a project: LLVM.

This capability in the AssemblyWriter allows to print users of an operation as a comment as proposed in git issue #53286.
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/D123959

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: D123959.423463.patch
Type: text/x-patch
Size: 11600 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220418/59bd736e/attachment.bin>


More information about the llvm-commits mailing list