[all-commits] [llvm/llvm-project] c5b637: [GC][NFC] Make getGCStrategy by name available in IR

Max Kazantsev via All-commits all-commits at lists.llvm.org
Mon Aug 2 00:26:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5b63714b520a2b271809d5f1257e5b3737b12ac
      https://github.com/llvm/llvm-project/commit/c5b63714b520a2b271809d5f1257e5b3737b12ac
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2021-08-02 (Mon, 02 Aug 2021)

  Changed paths:
    M llvm/include/llvm/IR/GCStrategy.h
    M llvm/lib/CodeGen/GCMetadata.cpp
    M llvm/lib/IR/GCStrategy.cpp

  Log Message:
  -----------
  [GC][NFC] Make getGCStrategy by name available in IR

We might want to use info from GC strategy in middle end analysis.
The motivation for this is provided in D99135: we may want to ask
a GC if it's going to work with a given pointer (currently this code
makes naive check by the method name).

Differetial Revision: https://reviews.llvm.org/D100559
Reviewed By: reames




More information about the All-commits mailing list