[all-commits] [llvm/llvm-project] 5415fe: [InstCombine] matchFunnelShift - support non-unifo...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Oct 8 05:00:16 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5415fef3abefd666fc9209f8305f5e0b4103b5cf
      https://github.com/llvm/llvm-project/commit/5415fef3abefd666fc9209f8305f5e0b4103b5cf
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-10-08 (Thu, 08 Oct 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
    M llvm/test/Transforms/InstCombine/funnel.ll
    M llvm/test/Transforms/InstCombine/rotate.ll

  Log Message:
  -----------
  [InstCombine] matchFunnelShift - support non-uniform constant vector shift amounts (PR46895)

Complete basic PR46895 fixes by refactoring D87452/D88402 to allow us to match non-uniform constant values.

We still don't handle non-uniform vectors that contain undef elements, but that can wait until we have a decent generic mechanism for this.

Differential Revision: https://reviews.llvm.org/D88420




More information about the All-commits mailing list