[all-commits] [llvm/llvm-project] d8b37d: [GC][NFC] Move GCStrategy from CodeGen to IR

max-azul via All-commits all-commits at lists.llvm.org
Wed May 12 22:32:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d8b37de8a478c1b1532e45b0bfd82ecf1c964d9a
      https://github.com/llvm/llvm-project/commit/d8b37de8a478c1b1532e45b0bfd82ecf1c964d9a
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2021-05-13 (Thu, 13 May 2021)

  Changed paths:
    R llvm/include/llvm/CodeGen/BuiltinGCs.h
    M llvm/include/llvm/CodeGen/GCMetadata.h
    R llvm/include/llvm/CodeGen/GCStrategy.h
    M llvm/include/llvm/CodeGen/LinkAllAsmWriterComponents.h
    M llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h
    A llvm/include/llvm/IR/BuiltinGCs.h
    A llvm/include/llvm/IR/GCStrategy.h
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp
    M llvm/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp
    R llvm/lib/CodeGen/BuiltinGCs.cpp
    M llvm/lib/CodeGen/CMakeLists.txt
    M llvm/lib/CodeGen/GCMetadata.cpp
    M llvm/lib/CodeGen/GCRootLowering.cpp
    R llvm/lib/CodeGen/GCStrategy.cpp
    M llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
    A llvm/lib/IR/BuiltinGCs.cpp
    M llvm/lib/IR/CMakeLists.txt
    A llvm/lib/IR/GCStrategy.cpp

  Log Message:
  -----------
  [GC][NFC] Move GCStrategy from CodeGen to IR

We want it to be available in analyzes so that we could use the
CodeGen notion in middle-end passes (for example, to check if
a GC may free some particular pointer).

This is a preparatory patch that simply moves the files around.

Note: if this causes some build issues, this patch must just be reverted.

Differential Revision: https://reviews.llvm.org/D100557
Reviewed By: reames




More information about the All-commits mailing list