[X86][AVX] canonicalizeLaneShuffleWithRepeatedOps - handle unary vperm2x128(permute...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 22 Jan 2021 15:47:06 +0000 (15:47 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 22 Jan 2021 15:47:23 +0000 (15:47 +0000)
commitc33d36e0667e7fff186243ac7a3a9cd63e797438
treef8879c61384e27c717df8312f7284da7114a1871
parent4846f6ab815c34f6ffbc8d4ecde891d917bf2157
[X86][AVX] canonicalizeLaneShuffleWithRepeatedOps - handle unary vperm2x128(permute/shift(x,c),undef) cases

Fold vperm2x128(permute/shift(x,c),undef) -> permute/shift(vperm2x128(x,undef),c)
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/avx-splat.ll
llvm/test/CodeGen/X86/extract-concat.ll
llvm/test/CodeGen/X86/haddsub-4.ll
llvm/test/CodeGen/X86/known-signbits-vector.ll
llvm/test/CodeGen/X86/vector-shuffle-256-v4.ll
llvm/test/CodeGen/X86/vector-shuffle-256-v8.ll
llvm/test/CodeGen/X86/vector-shuffle-combining.ll