[PATCH] D52318: [x86] avoid 256-bit andnp that requires insert/extract with AVX1 (PR37449)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 21 07:43:36 PDT 2018


RKSimon added a comment.

In https://reviews.llvm.org/D52318#1241940, @andreadb wrote:

> Unfortunately, I also found this regression:
>
>   define <8 x i32> @bar(<8 x i32> %A, <8 x i32> %B, <8 x i32> %Mask) {
>     %1 = and <8 x i32> %A, %Mask
>     %2 = xor <8 x i32> %1, %Mask
>     %3 = add <8 x i32> %2, %B
>     ret <8 x i32> %3
>   }


https://gcc.godbolt.org/z/Byx2OR


https://reviews.llvm.org/D52318





More information about the llvm-commits mailing list