[all-commits] [llvm/llvm-project] b16e86: [CodeGenPrepare][X86] Teach optimizeGatherScatterI...

topperc via All-commits all-commits at lists.llvm.org
Wed Sep 2 20:45:19 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b16e8687ab6c977ddab3409939e867828f394311
      https://github.com/llvm/llvm-project/commit/b16e8687ab6c977ddab3409939e867828f394311
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-09-02 (Wed, 02 Sep 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/VectorUtils.h
    M llvm/lib/Analysis/VectorUtils.cpp
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    M llvm/test/CodeGen/X86/masked_gather_scatter.ll
    M llvm/test/Transforms/CodeGenPrepare/X86/gather-scatter-opt.ll

  Log Message:
  -----------
  [CodeGenPrepare][X86] Teach optimizeGatherScatterInst to turn a splat pointer into GEP with scalar base and 0 index

This helps SelectionDAGBuilder recognize the splat can be used as a uniform base.

Reviewed By: RKSimon

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




More information about the All-commits mailing list