This patch replaces copy-pastish and non-genetic check in deref in presence
of GC with a query to the GC. Should be NFC w.r.t. current behavior, but better
structured code.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D100637
[deref] Ask GC if it can free memory at a pointer AbandonedPublic Authored by mkazantsev on Apr 16 2021, 3:48 AM.
Details
Diff Detail Event Timelinemkazantsev added a parent revision: D100559: [GC][NFC] Make getGCStrategy by name available in IR.Apr 16 2021, 3:48 AM
Revision Contents
Diff 338055 llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h
llvm/include/llvm/IR/GCStrategy.h
llvm/lib/IR/BuiltinGCs.cpp
llvm/lib/IR/GCStrategy.cpp
llvm/lib/IR/Value.cpp
|
clang-format: please reformat the code