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

[X86] Lower AVX2 gather intrinsics similar to AVX-512. Apply the same input...

[X86] Lower AVX2 gather intrinsics similar to AVX-512. Apply the same input source optimizations to break execution dependencies.

For AVX-512 we force the input to zero if the input is undef or the mask is all ones to break an execution dependency. This patch brings the same behavior to AVX2.

llvm-svn: 297652
parent eb7ea28b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment