cgen: drop redundant "& mask" in "(x & mask) as T"

This commit is contained in:
Nigel Tao committed 2023-05-22 16:03:24 +10:00
1 parent 145ff0ce64
commit 02a6a13236
3 files changed
+129 -98

No files matched your search

+4
View File
@@ -42,6 +42,10 @@ var (
maxInt64 = big.NewInt((1 << 63) - 1)
maxUint8 = big.NewInt((1 << 8) - 1)
maxUint16 = big.NewInt((1 << 16) - 1)
maxUint32 = big.NewInt((1 << 32) - 1)
typeExprARMCRC32U32 = a.NewTypeExpr(0, t.IDBase, t.IDARMCRC32U32, nil, nil, nil)
typeExprPixelSwizzler = a.NewTypeExpr(0, t.IDBase, t.IDPixelSwizzler, nil, nil, nil)
)