[llvm] [LLVM][Intrinsics] Allow IIT fixed encoding table to be 32-bit (PR #178531)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 2 08:03:17 PST 2026


================
@@ -438,21 +438,26 @@ DecodeIITType(unsigned &NextElt, ArrayRef<unsigned char> Infos,
 
 void Intrinsic::getIntrinsicInfoTableEntries(
     ID id, SmallVectorImpl<IITDescriptor> &T) {
-  static_assert(sizeof(IIT_Table[0]) == 2,
-                "Expect 16-bit entries in IIT_Table");
-  // Check to see if the intrinsic's type was expressible by the table.
-  uint16_t TableVal = IIT_Table[id - 1];
+  // Note that `FixedEncodingTy` is defined in IntrinsicImpl.inc.
----------------
jurahul wrote:

Thanks, fixed the comment to mention `Use16BitFixedEncoding` flag.

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


More information about the llvm-commits mailing list