[PATCH] D113289: [WIP] LICM: Hoist LOAD without STORE

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 5 08:24:44 PDT 2021


djtodoro created this revision.
djtodoro added a project: LLVM.
Herald added subscribers: asbirlea, hiraditya, kristof.beyls.
djtodoro requested review of this revision.
Herald added a subscriber: llvm-commits.

This addresses some problems from [0]. Hoisting load when it is safe could be very useful for targets such as AARCH64. This is controlled by the option.

NOTE: This doesn't depend on the SeparateConstOffsetFromGEP, but the flag for this optimization will be enabled iff the SeparateConstOffsetFromGEP is active in the case of AARCH64 target, which is the goal arch for this stack of patches.

https://bugs.llvm.org/show_bug.cgi?id=51193


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D113289

Files:
  llvm/include/llvm/Transforms/Utils/LoopUtils.h
  llvm/include/llvm/Transforms/Utils/SSAUpdater.h
  llvm/lib/Transforms/Scalar/LICM.cpp
  llvm/lib/Transforms/Utils/SSAUpdater.cpp
  llvm/test/Transforms/LICM/AArch64/hoist-load-without-store.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113289.385082.patch
Type: text/x-patch
Size: 13965 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211105/17fa242b/attachment.bin>


More information about the llvm-commits mailing list