[PATCH] D154658: Optimize emission of `dynamic_cast` to final classes.
Richard Smith - zygoloid via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 20 14:58:03 PDT 2023
rsmith added a comment.
In D154658#4516554 <https://reviews.llvm.org/D154658#4516554>, @rjmccall wrote:
> LGTM, except, should we have a way to turn this optimization off specifically?
Sure. I suppose even for an internal linkage vtable there could be a reason to want to turn this off (eg, if someone constructs a custom vtable at runtime). I've added `-fno-assume-unique-vtables` to disable the optimization.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154658/new/
https://reviews.llvm.org/D154658
More information about the cfe-commits
mailing list