[PATCH] D100637: [deref] Ask GC if it can free memory at a pointer
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 16 03:48:15 PDT 2021
mkazantsev created this revision.
mkazantsev added reviewers: reames, nlopes, nikic.
Herald added subscribers: dexonsmith, hiraditya.
mkazantsev requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This patch replaces copy-pastish and non-genetic check in deref in presence
of GC with a query to the GC.
https://reviews.llvm.org/D100637
Files:
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100637.338055.patch
Type: text/x-patch
Size: 5581 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210416/38da85a0/attachment.bin>
More information about the llvm-commits
mailing list