HomePhabricator

[ARM][RDA] add getUniqueReachingMIDef

Authored by samparker on Feb 26 2020, 3:14 AM.

Description

[ARM][RDA] add getUniqueReachingMIDef

Add getUniqueReachingMIDef to RDA which performs a global search for
a machine instruction that produces a unique definition of a given
register at a given point. Also add two helper functions
(getMIOperand) that wrap around this functionality to get the
incoming definition uses of a given instruction. These now replace
the uses of getReachingMIDef in ARMLowOverheadLoops. getReachingMIDef
has been renamed to getReachingLocalMIDef and has been made private
along with getInstFromId.

Differential Revision: https://reviews.llvm.org/D74605

Details

Committed
samparkerFeb 26 2020, 3:15 AM
Differential Revision
D74605: [ARM][RDA] add getUniqueReachingMIDef
Parents
rGa059be72c4f7: [AArch64] Flip default for register renaming in the ld/st optimizier.
Branches
Unknown
Tags
Unknown