[all-commits] [llvm/llvm-project] 03892a: [ARM] Expand the range of allowed post-incs in loa...

David Green via All-commits all-commits at lists.llvm.org
Wed Feb 24 00:46:39 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 03892a27d6b89df92def3239338cafbbfa541dbd
      https://github.com/llvm/llvm-project/commit/03892a27d6b89df92def3239338cafbbfa541dbd
  Author: David Green <david.green at arm.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M llvm/lib/Target/ARM/ARMBaseInstrInfo.h
    M llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
    M llvm/test/CodeGen/ARM/store-prepostinc.mir
    M llvm/test/CodeGen/Thumb2/mve-float32regloops.ll
    M llvm/test/CodeGen/Thumb2/store-prepostinc.mir

  Log Message:
  -----------
  [ARM] Expand the range of allowed post-incs in load/store optimizer

Currently the load/store optimizer will only fold in increments of the
same size as the load/store. This patch expands that to any legal
immediate for the post-inc instruction.

This is a recommit of 3b34b06fc5908b with correctness fixes and extra
tests.

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




More information about the All-commits mailing list