[all-commits] [llvm/llvm-project] 89e124: [ARM][MVE] Optimise offset addresses of gathers/sc...

aWelker via All-commits all-commits at lists.llvm.org
Wed Apr 8 03:47:18 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 89e1248d7b76886912f499391719e68b27e42ec3
      https://github.com/llvm/llvm-project/commit/89e1248d7b76886912f499391719e68b27e42ec3
  Author: Anna Welker <anna.welker at arm.com>
  Date:   2020-04-08 (Wed, 08 Apr 2020)

  Changed paths:
    M llvm/lib/Target/ARM/MVEGatherScatterLowering.cpp
    M llvm/test/CodeGen/ARM/O3-pipeline.ll
    A llvm/test/CodeGen/Thumb2/mve-gather-optimisation-deep.ll
    A llvm/test/CodeGen/Thumb2/mve-gather-scatter-optimisation.ll

  Log Message:
  -----------
  [ARM][MVE] Optimise offset addresses of gathers/scatters

This patch adds an analysis of the offset addresses used by gathers
and scatters to the MVEGatherScatterLowering pass to find
multiplications and additions that are loop invariant and thus can
be moved into the loop preheader, avoiding to execute them each time.

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




More information about the All-commits mailing list