[PATCH] D107351: [RDA] Attempt to make RDA subreg aware
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 3 07:15:44 PDT 2021
dmgreen created this revision.
dmgreen added reviewers: samparker, foad, SjoerdMeijer, samtebbs, MatzeB, efriedma, arsenm.
Herald added a subscriber: hiraditya.
dmgreen requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.
This attempts to make more of RDA aware of potentially overlapping subregisters. Some of this was already in place, with it iterating through MCRegUnitIterators. This also replaces calls to LiveRegs.contains(..) with !LiveRegs.available(..), and updates the isValidRegUseOf and isValidRegDefOf to search subregs.
https://reviews.llvm.org/D107351
Files:
llvm/lib/CodeGen/ReachingDefAnalysis.cpp
llvm/test/CodeGen/Thumb2/LowOverheadLoops/subreg-liveness.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107351.363711.patch
Type: text/x-patch
Size: 6678 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210803/a37872f8/attachment.bin>
More information about the llvm-commits
mailing list