[all-commits] [llvm/llvm-project] 2dec72: [X86][SSE] combineExtractWithShuffle - extend extr...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Jul 30 04:30:15 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2dec72ba5cd271f619a10d5cc230e384d3d86d1d
      https://github.com/llvm/llvm-project/commit/2dec72ba5cd271f619a10d5cc230e384d3d86d1d
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-07-30 (Thu, 30 Jul 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/vector-reduce-mul.ll

  Log Message:
  -----------
  [X86][SSE] combineExtractWithShuffle - extend extract(truncate(x),0) for any source vector size

As long as we can extract the lowest 128-bit subvector from the pre-truncated source vector, then we don't care what size it is.

The next stage will be to support non-zero extraction indices, as long as its still coming from the lowest 128-bit subvector.


  Commit: cc529285fd621c6f4f5de77c8de10ac0bb7ce190
      https://github.com/llvm/llvm-project/commit/cc529285fd621c6f4f5de77c8de10ac0bb7ce190
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-07-30 (Thu, 30 Jul 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/VectorUtils.h
    M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp

  Log Message:
  -----------
  VectorUtils.h - reduce unnecessary includes. NFC.

Replace TargetLibraryInfo.h include with forward declaration and fix implicit dependencies.

Reduce SmallSet.h include to SmallVector.h include.


Compare: https://github.com/llvm/llvm-project/compare/a262f0fea46c...cc529285fd62


More information about the All-commits mailing list