[PATCH] D69864: [MIR] Add MIR parsing for heap alloc site instruction markers

Amy Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 5 11:34:20 PST 2019


akhuang created this revision.
akhuang added a reviewer: rnk.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
akhuang updated this revision to Diff 227939.
akhuang added a comment.

formatting


This patch adds MIR parsing and printing for heap alloc markers, which were
added in D69136 <https://reviews.llvm.org/D69136>. They are printed as an operand similar to pre-/post-instr
symbols, with a heap-alloc-marker token and a metadata node.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D69864

Files:
  llvm/lib/CodeGen/MIRParser/MILexer.cpp
  llvm/lib/CodeGen/MIRParser/MILexer.h
  llvm/lib/CodeGen/MIRParser/MIParser.cpp
  llvm/lib/CodeGen/MIRPrinter.cpp
  llvm/lib/CodeGen/MachineInstr.cpp
  llvm/test/CodeGen/MIR/X86/instr-heap-alloc-operands.mir
  llvm/test/CodeGen/X86/heap-alloc-markers.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69864.227939.patch
Type: text/x-patch
Size: 9087 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191105/7d8186d0/attachment.bin>


More information about the llvm-commits mailing list