[PATCH] D153800: [ARM] Adjust strd/ldrd codegen alignment requirements

Maurice Heumann via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 26 11:59:50 PDT 2023


momo5502 created this revision.
momo5502 added a reviewer: eli.friedman.
Herald added subscribers: dmgreen, arphaman, hiraditya, kristof.beyls.
Herald added a project: All.
momo5502 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

In change https://reviews.llvm.org/D152790, it was discovered that the alignment requirement calculation for LDRD/STRD codegen was suboptimal and the calculation for volatile loads and stores was adjusted.

This change here adopts the calculation for the remaining non-volatile occurances.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D153800

Files:
  llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
  llvm/test/CodeGen/ARM/copy-by-struct-i32.ll
  llvm/test/CodeGen/ARM/ha-alignstack-call.ll
  llvm/test/CodeGen/ARM/indexed-mem.ll
  llvm/test/CodeGen/ARM/prera-ldst-aliasing.mir
  llvm/test/CodeGen/ARM/prera-ldst-insertpt.mir
  llvm/test/CodeGen/Thumb2/LowOverheadLoops/while-loops.ll
  llvm/test/CodeGen/Thumb2/mve-float16regloops.ll
  llvm/test/CodeGen/Thumb2/mve-float32regloops.ll
  llvm/test/CodeGen/Thumb2/mve-gather-ptrs.ll
  llvm/test/CodeGen/Thumb2/mve-masked-ldst.ll
  llvm/test/CodeGen/Thumb2/mve-satmul-loops.ll
  llvm/test/CodeGen/Thumb2/mve-scatter-ptrs.ll
  llvm/test/CodeGen/Thumb2/mve-vecreduce-slp.ll
  llvm/test/CodeGen/Thumb2/mve-vld3.ll
  llvm/test/CodeGen/Thumb2/mve-vst2.ll
  llvm/test/CodeGen/Thumb2/postinc-distribute.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153800.534682.patch
Type: text/x-patch
Size: 38531 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230626/c4e19c44/attachment.bin>


More information about the llvm-commits mailing list