It wasn't always safe to generate assumption loads. Last time build failed on linking of classes like FenceInst because
it didn't introduce any new virtual function, and it had implicit virtual destructor.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/CodeGen/CGCXXABI.h | ||
---|---|---|
221–224 | This would benefit from a documentation comment:
I'm also not entirely happy with this name (even though I think I suggested it). canSpeculativelyEmitVTable might be better. | |
test/CodeGenCXX/vtable-assume-load.cpp | ||
174–295 | Comment doesn't match namespace name testMS. | |
268–269 | Maybe mark this one with FIXME: |
Comment Actions
I will wait with pushing for tomorrow noon, in case someone want's to check the code.
lib/CodeGen/CGClass.cpp | ||
---|---|---|
1861 | lol, I should start to grep availab |
This would benefit from a documentation comment:
I'm also not entirely happy with this name (even though I think I suggested it). canSpeculativelyEmitVTable might be better.