[clang] [Clang] Track alloca element types to avoid getAllocatedType() calls (PR #181740)

Oliver Hunt via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 21 12:40:50 PST 2026


ojhunt wrote:

> On net, we'll get to remove a field from every single AllocaInst in exchange for that field being part of DominatingLLVMValue instead when there is a requirement of having a DominatingLLVMValue in use.

Yes, but we've doubled the size of DominatingLLVMValue everywhere afaict, and I don't whether that's an actual significant impact.

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


More information about the cfe-commits mailing list