We can't reuse the llvm.assume instruction's bitcast because it may not
dominate every user of the vtable pointer.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D36994
WholeProgramDevirt: Create bitcast to i8* at each virtual call site. ClosedPublic Authored by pcc on Aug 21 2017, 6:19 PM.
Details Summary We can't reuse the llvm.assume instruction's bitcast because it may not
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 22 2017, 2:38 PM Closed by commit rL311491: WholeProgramDevirt: Create bitcast to i8* at each virtual call site. (authored by pcc). · Explain WhyAug 22 2017, 2:42 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 112229 llvm/trunk/lib/Transforms/IPO/WholeProgramDevirt.cpp
llvm/trunk/test/Transforms/WholeProgramDevirt/import-no-dominating-assume.ll
llvm/trunk/test/Transforms/WholeProgramDevirt/import.ll
llvm/trunk/test/Transforms/WholeProgramDevirt/unique-retval.ll
llvm/trunk/test/Transforms/WholeProgramDevirt/virtual-const-prop-begin.ll
llvm/trunk/test/Transforms/WholeProgramDevirt/virtual-const-prop-end.ll
|