[PATCH] D73460: [RDA][ARM] Move functionality into RDA
Sam Parker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 27 03:38:42 PST 2020
samparker created this revision.
samparker added reviewers: dmgreen, SjoerdMeijer.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: LLVM.
Add several helpers to RDA:
- hasLocalDefBefore
- isRegDefinedAfter
- isSafeToDefRegAt
And move two bits of logic from ARMLowOverheadLoops into RDA:
- isSafeToMove
- isSafeToRemove
Both of these have some wrappers too to make them more convenient to use. This is an NFC for LowOverheadLoops.
https://reviews.llvm.org/D73460
Files:
llvm/include/llvm/CodeGen/ReachingDefAnalysis.h
llvm/lib/CodeGen/ReachingDefAnalysis.cpp
llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73460.240521.patch
Type: text/x-patch
Size: 18387 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200127/20b7a3be/attachment.bin>
More information about the llvm-commits
mailing list