[PATCH] D63932: [GlobalDCE] Dead Virtual Function Elimination
Oliver Stannard (Linaro) via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 28 07:54:03 PDT 2019
ostannard added a comment.
Without switching to `llvm.type.checked.load`, the optimisation would trigger in some cases where it shouldn't trigger, thus miscompiling the code. This is because it needs to know about _every_ virtual call site, if we lose the information about some of them then it will incorrectly think a virtual function is unused.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63932/new/
https://reviews.llvm.org/D63932
More information about the cfe-commits
mailing list