[all-commits] [llvm/llvm-project] 0ac210: [X86] isTargetShuffleEquivalent - merge duplicate ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Oct 5 09:28:08 PDT 2020


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

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [X86] isTargetShuffleEquivalent - merge duplicate array accesses. NFCI.


  Commit: 2efd9fd699ed59df2927074f318edac99533e402
      https://github.com/llvm/llvm-project/commit/2efd9fd699ed59df2927074f318edac99533e402
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    M llvm/test/Transforms/InstCombine/funnel.ll

  Log Message:
  -----------
  [InstCombine] Add or(shl(v,and(x,bw-1)),lshr(v,bw-and(x,bw-1))) funnel shift tests

If we know the shift amount is less than the bitwidth we should be able to convert this to a funnel shift


  Commit: 5ba084c42fdc80a51fc49c27f5f3ecf153953114
      https://github.com/llvm/llvm-project/commit/5ba084c42fdc80a51fc49c27f5f3ecf153953114
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    M llvm/test/Transforms/InstCombine/pr19420.ll

  Log Message:
  -----------
  [InstCombine] Extend 'shift with constants' vector tests

Added missing test coverage for shl(add(and(lshr(x,c1),c2),y),c1) -> add(and(x,c2<<c1),shl(y,c1)) combine

Rename tests as 'foo' and 'bar' isn't very extensible

Added vector tests with undefs and nonuniform constants


Compare: https://github.com/llvm/llvm-project/compare/d5a6da84a346...5ba084c42fdc


More information about the All-commits mailing list