[clang] [CIR] Upstream missing support for vtables and virtual bases (PR #192617)

via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 17 11:02:10 PDT 2026


xiongzile wrote:

> Hi @andykaylor, Is there a way to auto-generate // CIR: checks similar to // LLVM:? It looks like llvm/utils/update_cc_test_checks.py only supports -emit-llvm, not -emit-cir.
> 
> Another question: I noticed CIR’s support for metadata construction does not seem fully in place yet. My current idea is to attach the relevant information to the GlobalOp via StringAttr, and then reconstruct the corresponding llvm::GlobalVariable metadata during lowering. 
Does this approach make sense?



https://github.com/llvm/llvm-project/pull/192617


More information about the cfe-commits mailing list