diff options
author | Kang Zhang <shkzhang@cn.ibm.com> | 2020-04-28 03:22:48 +0000 |
---|---|---|
committer | Kang Zhang <shkzhang@cn.ibm.com> | 2020-04-28 03:22:48 +0000 |
commit | 4bb0a1cb70732f16749df6d47fd85eb86d60f587 (patch) | |
tree | 1e50e3a89a51eba2ac6b05d9fad3bcf3ae99b321 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | be884b79352de8917ad17fdb9bd70ec982ca8bdd (diff) | |
download | llvm-4bb0a1cb70732f16749df6d47fd85eb86d60f587.zip llvm-4bb0a1cb70732f16749df6d47fd85eb86d60f587.tar.gz llvm-4bb0a1cb70732f16749df6d47fd85eb86d60f587.tar.bz2 |
[PowerPC] Fix the liveins for ppc-expand-isel pass
Summary:
In the ppc-expand-isel pass, we use stepForward() to update the
liveins, this function is not recommended, because it needs the
accurate kill info.
This patch uses the function computeAndAddLiveIns() to update the
liveins, it's the recommended method and can fix the liveins bug for
ppc-expand-isel pass..
Reviewed By: efriedma, lkail
Differential Revision: https://reviews.llvm.org/D78657
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions