for scalar masked instructions only the lower bit of the mask is relevant. so for constant masks we should either do an unmasked operation or no operation, depending on the value of the lower bit.
This patch handles cases where the lower bit is '1'.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
test/CodeGen/X86/avx512-intrinsics.ll | ||
---|---|---|
5204 ↗ | (On Diff #97633) | This is incorrect behavior. The upper bit of the source should be preserved. The same for the tests below. |
test/CodeGen/X86/avx512-intrinsics.ll | ||
---|---|---|
5204 ↗ | (On Diff #97633) | ah, i've misread the description. thanks! |