[llvm] [TableGen, CodeGen, CHERI] Add support for the cPTR wildcard value type. (PR #158426)

Andrew Adams via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 26 14:50:28 PDT 2025


abadams wrote:

Digging deeper, this commit increased the size of the TargetLoweringBase class to 1.5 MB, because the size of that class is quadratic in MVT::VALUETYPE_SIZE, and this commit increased that from 256 to 504.

If this is intentional, perhaps the true issue here is that this shouldn't be stack-allocated in ARMAsmPrinter. Moving the ARMSubtarget from the stack to the heap does fix things. But I'm not sure if it was intentional for this commit to increase the size of that class by so much.

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


More information about the llvm-commits mailing list