[all-commits] [llvm/llvm-project] a078c7: [MIR] Add MIR parsing for heap alloc site instruct...

Amy Huang via All-commits all-commits at lists.llvm.org
Tue Nov 5 12:58:26 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a078c77d72082bf6a06486849735cdeaab1374bc
      https://github.com/llvm/llvm-project/commit/a078c77d72082bf6a06486849735cdeaab1374bc
  Author: Amy Huang <akhuang at google.com>
  Date:   2019-11-05 (Tue, 05 Nov 2019)

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

  Log Message:
  -----------
  [MIR] Add MIR parsing for heap alloc site instruction markers

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

Reviewers: rnk

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D69864




More information about the All-commits mailing list