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

Jessica Clarke via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 13 10:50:13 PDT 2025


================
@@ -367,6 +367,9 @@ 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.
----------------
jrtc27 wrote:

`iPTR` has gained `// Should only be used in TableGen.` since I added cPTR in its current form; please add that comment here too

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


More information about the llvm-commits mailing list