[PATCH] D77523: Add CanonicalizeFreezeInLoops pass
Juneyoung Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun May 3 11:41:42 PDT 2020
aqjune updated this revision to Diff 261712.
aqjune added a comment.
Leave the basic algorithm only.
I see that by this patch alone the slowdown in mcf_r isn't resolved.
I'll bring a follow-up patch.
While doing this, I'll investigate whether it is possible to apply more specific
pattern rather than just looking through instructions within N steps.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77523/new/
https://reviews.llvm.org/D77523
Files:
llvm/include/llvm/InitializePasses.h
llvm/include/llvm/Transforms/Utils.h
llvm/include/llvm/Transforms/Utils/CanonicalizeFreezeInLoops.h
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Passes/PassRegistry.def
llvm/lib/Transforms/Utils/CMakeLists.txt
llvm/lib/Transforms/Utils/CanonicalizeFreezeInLoops.cpp
llvm/lib/Transforms/Utils/Utils.cpp
llvm/test/Transforms/CanonicalizeFreezeInLoops/func_from_mcf_r.ll
llvm/test/Transforms/CanonicalizeFreezeInLoops/nonsteps-preserve-flags.ll
llvm/test/Transforms/CanonicalizeFreezeInLoops/onephi.ll
llvm/test/Transforms/CanonicalizeFreezeInLoops/phis.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77523.261712.patch
Type: text/x-patch
Size: 38811 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200503/432a0a2f/attachment-0001.bin>
More information about the llvm-commits
mailing list