[llvm] [CodeGen, CHERI] Add capability types to MVT. (PR #156616)

Owen Anderson via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 8 23:46:54 PDT 2025


================
@@ -228,6 +228,9 @@ namespace llvm {
       return isSimple() ? V.is2048BitVector() : isExtended2048BitVector();
     }
 
+    /// Return true if this is a capability type.
+    bool isCapability() const { return isSimple() ? V.isCapability() : false; }
----------------
resistor wrote:

Gentle nudge here. Are folks feeling OK about the naming now?

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


More information about the llvm-commits mailing list