[all-commits] [llvm/llvm-project] e961e0: [SLP][X86] Add 32-bit vector stores to help vector...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Jun 30 12:46:46 PDT 2022


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

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/arith-add-load.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-and-const-load.ll
    M llvm/test/Transforms/SLPVectorizer/X86/arith-mul-load.ll

  Log Message:
  -----------
  [SLP][X86] Add 32-bit vector stores to help vectorization opportunities

Building on the work on D124284, this patch tags v4i8 and v2i16 vector loads as custom, enabling SLP to try to vectorize these types ending in a partial store (using the SSE MOVD instruction) - we already do something similar for 64-bit vector types.

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




More information about the All-commits mailing list