[all-commits] [llvm/llvm-project] b85b4e: Add an instruction marker field to the ExtraInfo i...

Amy Huang via All-commits all-commits at lists.llvm.org
Fri Oct 25 09:21:52 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b85b4e5a6f8579c137fecb59a4d75d7bfb111f79
      https://github.com/llvm/llvm-project/commit/b85b4e5a6f8579c137fecb59a4d75d7bfb111f79
  Author: Amy Huang <akhuang at google.com>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineFunction.h
    M llvm/include/llvm/CodeGen/MachineInstr.h
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
    M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
    M llvm/lib/CodeGen/MachineFunction.cpp
    M llvm/lib/CodeGen/MachineInstr.cpp
    M llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
    M llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
    M llvm/test/CodeGen/X86/label-heapallocsite.ll
    M llvm/test/CodeGen/X86/taildup-heapallocsite.ll
    M llvm/unittests/CodeGen/MachineInstrTest.cpp

  Log Message:
  -----------
  Add an instruction marker field to the ExtraInfo in MachineInstrs.

Summary:
Add instruction marker to MachineInstr ExtraInfo. This does almost the
same thing as Pre/PostInstrSymbols, except that it doesn't create a label until
printing instructions. This allows for labels to be put around instructions that
are deleted/duplicated somewhere.

Also undo the workaround in r375137.

Reviewers: rnk

Subscribers: MatzeB, hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list