[PATCH] D70009: [ARM][ReachingDefs] RDA in LoLoops
Sam Parker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 18 09:02:51 PST 2019
samparker updated this revision to Diff 229861.
samparker retitled this revision from "[ARM][ReachingDefAnalysis] Use RDA for loloops" to "[ARM][ReachingDefs] RDA in LoLoops".
samparker edited the summary of this revision.
samparker added a comment.
Taken hasSameReachingDef from D70240 <https://reviews.llvm.org/D70240> and added isRegUsedAfter to RDA. This allows a great simplication for finding an insertion point and allows us to check for CPSR use/def within the loop too. I've added a couple of extra tests for the CPSR logic.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70009/new/
https://reviews.llvm.org/D70009
Files:
llvm/include/llvm/CodeGen/ReachingDefAnalysis.h
llvm/lib/CodeGen/ReachingDefAnalysis.cpp
llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
llvm/test/CodeGen/ARM/O3-pipeline.ll
llvm/test/CodeGen/Thumb2/LowOverheadLoops/unsafe-cpsr-loop-def.mir
llvm/test/CodeGen/Thumb2/LowOverheadLoops/unsafe-cpsr-loop-use.mir
llvm/test/CodeGen/Thumb2/ifcvt-neon-deprecated.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70009.229861.patch
Type: text/x-patch
Size: 29581 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191118/4015e9b5/attachment.bin>
More information about the llvm-commits
mailing list