[clang] [llvm] [LLVM] Add validation to check the number of intrinsic args (PR #196563)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Fri May 8 14:07:52 PDT 2026
================
@@ -398,6 +397,8 @@ DecodeIITType(unsigned &NextElt, ArrayRef<unsigned char> Infos,
unsigned OverloadIndex = Infos[NextElt++];
OutputTable.push_back(
IITDescriptor::get(IITDescriptor::SameVecWidth, OverloadIndex));
+ // IIT_SAME_VEC_WIDTH_ARG entry is followed by the element type.
+ DecodeIITType(NextElt, Infos, OutputTable);
----------------
andykaylor wrote:
This is fixing a bug, right? Maybe it should be a separate commit.
https://github.com/llvm/llvm-project/pull/196563
More information about the cfe-commits
mailing list