[clang] [llvm] [X86][AVX512] rematerialize smaller predicate masks (PR #166178)

Ahmed Nour via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 4 03:05:41 PST 2025


================

----------------
ahmednoursphinx wrote:

`v32i1`/`v64i1` types are only **legal** with `HasBWI`. The pseudo instructions (lines 3157-3158) inherit `HasAVX512` from the multiclass, but the explicit bitconvert patterns (lines 3194-3197) need `HasBWI` to prevent matching on non-BWI targets where these vector types would be illegal.

https://github.com/llvm/llvm-project/pull/166178


More information about the llvm-commits mailing list