[llvm] d82a6eb - [TableGen] Remove warning IntrinsicsToAttributesMap needs > 16 bits (#179533)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 4 07:56:46 PST 2026
Author: Rahul Joshi
Date: 2026-02-04T07:56:41-08:00
New Revision: d82a6eba65ee1bcd3d42cb2d7222e0297453dfef
URL: https://github.com/llvm/llvm-project/commit/d82a6eba65ee1bcd3d42cb2d7222e0297453dfef
DIFF: https://github.com/llvm/llvm-project/commit/d82a6eba65ee1bcd3d42cb2d7222e0297453dfef.diff
LOG: [TableGen] Remove warning IntrinsicsToAttributesMap needs > 16 bits (#179533)
Remove the warning issued by intrinsic emitter when an entry in the
`IntrinsicsToAttributesMap` is > 16 bits. The exact conditions under
which this happen is tightly coupled with how the intrinsic emitter
represents intrinsic attributes and generally this warning may not be
actionable in any way without changing the semantics of the intrinsics
being compiled (i.e., changing their attributes to have less number of
unique attributes).
Added:
Modified:
llvm/utils/TableGen/Basic/IntrinsicEmitter.cpp
Removed:
################################################################################
diff --git a/llvm/utils/TableGen/Basic/IntrinsicEmitter.cpp b/llvm/utils/TableGen/Basic/IntrinsicEmitter.cpp
index b8723aff9ebf7..5a2b2f89d5582 100644
--- a/llvm/utils/TableGen/Basic/IntrinsicEmitter.cpp
+++ b/llvm/utils/TableGen/Basic/IntrinsicEmitter.cpp
@@ -654,10 +654,6 @@ static AttributeSet getIntrinsicFnAttributeSet(LLVMContext &C, unsigned ID) {
AttributesMapDataBitSize = 8;
else if (AttributesMapDataBitSize > 64)
PrintFatalError("Packed ID of IntrinsicsToAttributesMap exceeds 64b!");
- else if (AttributesMapDataBitSize > 16)
- PrintWarning("Packed ID of IntrinsicsToAttributesMap exceeds 16b, "
- "this may cause performance drop (pr106809), "
- "please consider redesigning intrinsic sets!");
// Assign a packed ID for each intrinsic. The lower bits will be its
// "argument attribute ID" (index in UniqAttributes) and upper bits will be
More information about the llvm-commits
mailing list