[PATCH] D108112: [LoopIdiom] let LIR fold memset pointer / stride SCEV regarding loop guards
Yueh-Ting Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 16 02:52:41 PDT 2021
eopXD created this revision.
eopXD added reviewers: Whitney, lebedev.ri, efriedma.
Herald added a subscriber: hiraditya.
eopXD requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Expression guraded in loop entry can be folded prior to comparison. This patch
proceeds D107353 <https://reviews.llvm.org/D107353> and makes LIR able to deal with nested for-loop.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D108112
Files:
llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
llvm/test/Transforms/LoopIdiom/memset-runtime-debug.ll
llvm/test/Transforms/LoopIdiom/memset-runtime.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108112.366576.patch
Type: text/x-patch
Size: 8478 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210816/d89fdec5/attachment-0001.bin>
More information about the llvm-commits
mailing list