[PATCH] D143321: [DRAFT] [IR] Add instruction IDs to simplify debugging.

Yury Gribov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 4 07:31:57 PST 2023


ygribov created this revision.
ygribov added a reviewer: rusyaev-roman.
Herald added a subscriber: hiraditya.
Herald added a project: All.
ygribov requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This provides an easy way to map from instruction in dumpfile to a place where it's created or modified in the compiler (by using conditional breakpoints in debugger).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143321

Files:
  llvm/include/llvm/CodeGen/MachineInstr.h
  llvm/include/llvm/IR/Value.h
  llvm/lib/CodeGen/MachineInstr.cpp
  llvm/lib/IR/AsmWriter.cpp
  llvm/lib/IR/Value.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143321.494825.patch
Type: text/x-patch
Size: 4260 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230204/33ebd450/attachment.bin>


More information about the llvm-commits mailing list