[all-commits] [llvm/llvm-project] 75f9aa: [X86][AVX] Add SimplifyDemandedVectorEltsForTarget...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Jul 8 03:26:57 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 75f9aa6ce0751064d89bb19c9767866d770adf84
      https://github.com/llvm/llvm-project/commit/75f9aa6ce0751064d89bb19c9767866d770adf84
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-07-08 (Wed, 08 Jul 2020)

  Changed paths:
    M llvm/test/CodeGen/X86/vector-shuffle-avx512.ll

  Log Message:
  -----------
  [X86][AVX] Add SimplifyDemandedVectorEltsForTargetShuffle test for v32i8->v16i8 PSHUFB

On SKX targets we end up loading a v16i8 PSHUFB mask from a v32i8 constant and scaling incorrectly indexes the demanded elts mask - we're missing a check that the constant pool is the same size as the loaded mask.

Test case from D81791 post-commit review.




More information about the All-commits mailing list