commit 8360cf077113eea4d157fe6a9c1f229549a1d01e
parent 9e7fb34dbd5406af47f6f2bc32a89e920548a8a9
Author: Ryan Sepassi <rsepassi@gmail.com>
Date: Tue, 2 Jun 2026 07:54:51 -0700
cg: drop the C frontend's stale duplicate INTRIN_BSWAP16/32/64 (Track 4a follow-up)
These three enumerators in lang/c/parse/cg_adapter.h's private IntrinKind were
dead: the C frontend emits bswap only through the public single CFREE_CG_INTRIN_BSWAP,
and IntrinKind is mapped to the public enum by name (not value), so removing them is
inert. Completes the 4a width-by-type collapse on the frontend side.
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/lang/c/parse/cg_adapter.h b/lang/c/parse/cg_adapter.h
@@ -126,9 +126,6 @@ typedef enum IntrinKind {
INTRIN_POPCOUNT,
INTRIN_CTZ,
INTRIN_CLZ,
- INTRIN_BSWAP16,
- INTRIN_BSWAP32,
- INTRIN_BSWAP64,
INTRIN_MEMCPY,
INTRIN_MEMMOVE,
INTRIN_MEMSET,