[all-commits] [llvm/llvm-project] 85460a: [X86][SSE] Move unpack(hop, hop) fold from foldShuf...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed May 5 05:47:22 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 85460a2f5b6309450b341d19d800a7d90786b941
      https://github.com/llvm/llvm-project/commit/85460a2f5b6309450b341d19d800a7d90786b941
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-05-05 (Wed, 05 May 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/horizontal-sum.ll

  Log Message:
  -----------
  [X86][SSE] Move unpack(hop,hop) fold from foldShuffleOfHorizOp to combineTargetShuffle

By moving this after more of the shuffle canonicalization we reduce the demanded vector elts, avoiding a few unnecessary copies/moves etc.




More information about the All-commits mailing list