[all-commits] [llvm/llvm-project] 9d25b2: [InstCombine] Explicitly canonicalize splat shuffl...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Dec 18 07:30:58 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d25b28b9e412b66bb58993dff6646a8f08b8c8c
      https://github.com/llvm/llvm-project/commit/9d25b28b9e412b66bb58993dff6646a8f08b8c8c
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-12-18 (Mon, 18 Dec 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
    M llvm/test/Transforms/InstCombine/vec_shuffle.ll
    M llvm/test/Transforms/InstCombine/vscale_extractelement.ll
    M llvm/test/Transforms/InstCombine/vscale_insertelement.ll

  Log Message:
  -----------
  [InstCombine] Explicitly canonicalize splat shuffles to use poison RHS

This is usually handled by demanded elements simplification. However,
as that is not supported for scalable vectors, also handle it
explicitly here.




More information about the All-commits mailing list