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

Owen Anderson via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 29 08:36:30 PDT 2025


================
@@ -367,6 +367,10 @@ def aarch64mfp8 : ValueType<8,  253>;  // 8-bit value in FPR (AArch64)
 def c64 : VTCheriCapability<64, 254>;   // 64-bit CHERI capability value
 def c128 : VTCheriCapability<128, 255>; // 128-bit CHERI capability value
 
+// Pseudo valuetype mapped to the current CHERI capability pointer size.
+// Should only be used in TableGen.
----------------
resistor wrote:

I'm traveling for the next few days. I can do it when I have time, but you might have time sooner than I do.

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


More information about the llvm-commits mailing list