[all-commits] [llvm/llvm-project] d73657: [ARM][MVE] Fix location of optimized gather addresses

aWelker via All-commits all-commits at lists.llvm.org
Thu Apr 16 10:15:52 PDT 2020


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

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

  Log Message:
  -----------
  [ARM][MVE] Fix location of optimized gather addresses

Fix for the address optimization for gathers and scatters which would in
some complex cases push out instructions not to the vector loop preheader,
but to other locations as well which lead to a scrambled order and the
compilation failing.
This patch ensures that said instructions are always pushed to the end
of the vector loop preheader.

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




More information about the All-commits mailing list