[all-commits] [llvm/llvm-project] d36dd1: [ARM] Push gather/scatter shl index updates out of...

David Green via All-commits all-commits at lists.llvm.org
Wed Nov 3 04:00:18 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d36dd1f842c1ce1e6d07575ff71957f40eecd725
      https://github.com/llvm/llvm-project/commit/d36dd1f842c1ce1e6d07575ff71957f40eecd725
  Author: David Green <david.green at arm.com>
  Date:   2021-11-03 (Wed, 03 Nov 2021)

  Changed paths:
    M llvm/lib/Target/ARM/MVEGatherScatterLowering.cpp
    M llvm/test/CodeGen/Thumb2/mve-gather-increment.ll
    M llvm/test/CodeGen/Thumb2/mve-scatter-increment.ll

  Log Message:
  -----------
  [ARM] Push gather/scatter shl index updates out of loops

This teaches the MVE gather scatter lowering pass that SHL is
essentially the same as Mul, where we are able to optimize the
induction of a gather/scatter address by pushing them out of loops.
https://alive2.llvm.org/ce/z/wG4VyT

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




More information about the All-commits mailing list