Open Laity000 opened 1 month ago
Could you review this PR when you have some free time? @bcardosolopes
Looking at it this week! Thanks
@Laity000, one thing you'd need to add: "LLVM" checks as part of the testcase, you can see examples in some other tests (e.g. clang/test/CIR/CodeGen/abstract-cond.c).
We also just rebased against upstream, you need to update the PR too!
cir.vtt.address_point
op for visiting the element of VTT to initialize the virtual pointer.getVirtualBaseClassOffset
method which provides a virtual offset to adjust to the actual virtual pointer in virtual base.