llvm/llvm-project
Voir sur GitHub[X86] computeKnownBitsForTargetNode - add X86ISD::GF2P8AFFINEQB handling
Open
#190 520 ouverte le 5 avr. 2026
backend:X86good first issue
Métriques du dépôt
- Stars
- (26 378 stars)
- Métriques de merge PR
- (Merge moyen 1j 2h) (1 000 PRs mergées en 30 j)
Description
X86ISD::GF2P8AFFINEQB nodes are being used for many shift/rotate style expansions, it'd be very useful if we can access the known bits to attempt additional folding afterward (e.g #190502).
This should only be attempted by somebody with access to a CPU with GFNI support to allow them to actually test this properly (although constexpr testing can help now that GFNI intrinsics support it).
(see also GFNIAffine() in llvm-project\clang\lib\AST\ExprConstant.cpp)