[PATCH] D135928: [llvm] Teach GlobalDCE about dso_local_equivalent
Leonard Chan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 13 18:26:46 PDT 2022
leonardchan created this revision.
leonardchan added reviewers: pcc, tejohnson, phosek.
leonardchan added a project: LLVM.
Herald added a subscriber: hiraditya.
Herald added a project: All.
leonardchan requested review of this revision.
This way, C++ relative-vtables can also participate in GlobalDCE.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D135928
Files:
llvm/include/llvm/Analysis/TypeMetadataUtils.h
llvm/lib/Analysis/TypeMetadataUtils.cpp
llvm/test/Transforms/GlobalDCE/virtual-functions-relative-pointers-bad.ll
llvm/test/Transforms/GlobalDCE/virtual-functions-relative-pointers-gep.ll
llvm/test/Transforms/GlobalDCE/virtual-functions-relative-pointers.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135928.467652.patch
Type: text/x-patch
Size: 13319 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221014/4bf1cd0b/attachment-0001.bin>
More information about the llvm-commits
mailing list