[all-commits] [llvm/llvm-project] 9b4fcf: [SVE][CodeGen] Remove performMaskedGatherScatterCo...

kmclaughlin-arm via All-commits all-commits at lists.llvm.org
Mon Feb 1 06:11:40 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b4fcfaa9e8f19f250c45e92dd2e5a305156b701
      https://github.com/llvm/llvm-project/commit/9b4fcfaa9e8f19f250c45e92dd2e5a305156b701
  Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h

  Log Message:
  -----------
  [SVE][CodeGen] Remove performMaskedGatherScatterCombine

The AArch64 DAG combine added by D90945 & D91433 extends the index
of a scalable masked gather or scatter to i32 if necessary.

This patch removes the combine and instead adds shouldExtendGSIndex, which
is used by visitMaskedGather/Scatter in SelectionDAGBuilder to query whether
the index should be extended before calling getMaskedGather/Scatter.

Reviewed By: david-arm

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




More information about the All-commits mailing list