[llvm] [X86][AVX-512] Fold `zext(and(bitcast(mask), C))` --> `and(anyext(bitcast(mask)), zext(C))` (PR #220251)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 3 01:39:26 PDT 2026
================
----------------
VachanVY wrote:
> The 1 is too narrow now. Also test i8->i32, i16->i32/i64 with different immediate
Done. i16 -> i32 and i16 -> i64 part was already being optimized, before itself. See cf2526157133f31596ea67fea4f28ac044aa1d42 for the diffs created by this PR
https://github.com/llvm/llvm-project/pull/220251
More information about the llvm-commits
mailing list