[all-commits] [llvm/llvm-project] ac3f96: [X86] canonicalizeShuffleWithBinOps - merge shuffl...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Jun 18 09:14:31 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ac3f967382abb63b402eb8a038152d9a17145311
      https://github.com/llvm/llvm-project/commit/ac3f967382abb63b402eb8a038152d9a17145311
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-06-18 (Sat, 18 Jun 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/avx512-hadd-hsub.ll
    M llvm/test/CodeGen/X86/sar_fold64.ll

  Log Message:
  -----------
  [X86] canonicalizeShuffleWithBinOps - merge shuffles across binops if either source op is a known splat

The shuffle of a splat (with no undefs) should always be removed




More information about the All-commits mailing list