diff options
author | Valery Pykhtin <valery.pykhtin@gmail.com> | 2022-10-27 08:55:16 +0200 |
---|---|---|
committer | Valery Pykhtin <valery.pykhtin@gmail.com> | 2023-03-08 12:20:03 +0100 |
commit | a999669982d0cedacbb7371c96fce95682d582e1 (patch) | |
tree | 86fecedbf920b7347b991782b8b89101ef8dcd87 /llvm/lib/Transforms/Utils/ValueMapper.cpp | |
parent | 73f2a3b6a48b97f1deba605e4615b048533ee278 (diff) | |
download | llvm-a999669982d0cedacbb7371c96fce95682d582e1.zip llvm-a999669982d0cedacbb7371c96fce95682d582e1.tar.gz llvm-a999669982d0cedacbb7371c96fce95682d582e1.tar.bz2 |
[AMDGPU] Scheduler: fix RP calculation for a MBB with one successor
We reuse live registers after tracking one MBB as live-ins to the successor MBB
if the successor is only one but we don't check if the successor has other predecessors.
`A B`
` \ /`
` C`
A and B have one successor but C has live-ins defined by A and B and therefore should be
initialized using LIS.
This fixes 83 lit tests out if 420 with EXPENSIVE_CHECK enabled.
Reviewed By: rampitec
Differential Revision: https://reviews.llvm.org/D136918
Diffstat (limited to 'llvm/lib/Transforms/Utils/ValueMapper.cpp')
0 files changed, 0 insertions, 0 deletions