[X86][AVX] Add HADD lane crossing test
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 7 Apr 2021 15:43:36 +0000 (16:43 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 7 Apr 2021 15:43:47 +0000 (16:43 +0100)
commit93fb72575f7a70c0e095f7b278fd249260fe84a8
tree4fb0e3589d272383b1316a6c7f7ac6b7eba6074c
parent3b460f8cc08790c7f9a77c28671e7fe5791a5bb5
[X86][AVX] Add HADD lane crossing test

This used to work before rG77d625f8d8aa, but we now merge the shuffles across the fadd resulting in a hadd that requires a lane crossing post shuffle, which we don't permit on AVX1 targets
llvm/test/CodeGen/X86/vector-shuffle-256-v4.ll