[PATCH] D111418: [GVN] Simple GVNHoist - limits
Momchil Velikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 8 08:25:44 PDT 2021
chill created this revision.
chill added a reviewer: junparser.
Herald added a subscriber: hiraditya.
chill requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This patch adds parameters limiting how much an instruction may move up form its original location.
It also prevents hoisting individual GEPs, but still allows GEPs to be hoisted if they are operands of hoisted instructions.
https://reviews.llvm.org/D111418
Files:
llvm/include/llvm/Transforms/Scalar/GVN.h
llvm/lib/Transforms/Scalar/GVN.cpp
llvm/test/Transforms/PhaseOrdering/AArch64/hoisting-sinking-required-for-vectorization.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111418.378229.patch
Type: text/x-patch
Size: 8825 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211008/1a5963ba/attachment.bin>
More information about the llvm-commits
mailing list