Skip to content
Commit a74b1fab authored by Craig Topper's avatar Craig Topper
Browse files

[X86] Make reduceMaskedLoadToScalarLoad/reduceMaskedStoreToScalarStore work...

[X86] Make reduceMaskedLoadToScalarLoad/reduceMaskedStoreToScalarStore work for avx512 after type legalization.

The scalar elements of the vXi1 build_vector will have been type legalized to i8 by padding with 0s. So we can't check for all ones. Instead we should just look at bit 0 of the constant.

Differential Revision: https://reviews.llvm.org/D87863
parent c89b3af0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment