[X86] `LowerBUILD_VECTOR()`: fix all-UNDEF detection
The original check was trying to avoid checking UndefMask itself, and deduce it via simpler means, but checking `NonZeroMask` does not, e.g., check `ZeroMask`. Fixes https://github.com/llvm/llvm-project/issues/60168
Loading
Please sign in to comment