https://github.com/xlauko commented:
A few places outside the diff: - https://github.com/llvm/llvm-project/blob/3a765161946a23043a549e1f3e0f4fe36e825940/clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp#L3542: the global alias path skips the symbol-table remove/insert that the other replacements now do. Without rollback, the cached table would point to the erased `cir.global`. - https://github.com/llvm/llvm-project/blob/3a765161946a23043a549e1f3e0f4fe36e825940/clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp#L3170: same problem for function aliases. - https://github.com/llvm/llvm-project/blob/3a765161946a23043a549e1f3e0f4fe36e825940/clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp#L5389: `getValueForVTableSymbol` still reads `llvmSymbol.getType()`. Should it use the pre-conversion type too, like `getAddressOfSymbol`? https://github.com/llvm/llvm-project/pull/238698 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
