[llvm] [IR][CodeGen] Add new SizedCapabilityType for use in CodeGen (PR #177192)
Jessica Clarke via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 21 11:09:09 PST 2026
================
@@ -455,6 +455,17 @@ namespace llvm {
return (MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE);
}
+ static MVT getCheriCapabilityVT(unsigned BitWidth) {
+ switch (BitWidth) {
----------------
jrtc27 wrote:
Ideally this would be using llvm/CodeGen/GenVT.inc like the others, but when cN were added GET_VT_ATTR was not extended with a Cap parameter so can't currently key off that...
https://github.com/llvm/llvm-project/pull/177192
More information about the llvm-commits
mailing list