HomePhabricator

[PowerPC][NFC] Added `getDefMIPostRA` method

Authored by lkail on Jul 25 2019, 12:47 AM.

Description

[PowerPC][NFC] Added getDefMIPostRA method

Summary:
In PostRA phase, we often have to find out the most recent definition
of a register. This patch adds getDefMIPostRA so that other methods
can use it rather than implementing it repeatedly.

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

llvm-svn: 366990