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

Alexander Richardson via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 26 15:16:04 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.
----------------
arichardson wrote:

@abadams I wonder if moving this into the let block just below fixes your problem?

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


More information about the llvm-commits mailing list