aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorValery Pykhtin <valery.pykhtin@gmail.com>2022-10-27 14:38:00 +0200
committerValery Pykhtin <valery.pykhtin@gmail.com>2022-11-03 11:52:56 +0100
commit5144133f6fd50d6067c808b83af90437995e441d (patch)
treebe7107c2af1cefe50958ecfdddccbdf43c6e009a /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent0fb763e7d0a4b8c9f5978675e7556ae50716d695 (diff)
downloadllvm-5144133f6fd50d6067c808b83af90437995e441d.zip
llvm-5144133f6fd50d6067c808b83af90437995e441d.tar.gz
llvm-5144133f6fd50d6067c808b83af90437995e441d.tar.bz2
[AMDGPU] Fix GCNDownwardRPTracker::advanceBeforeNext at the end of MBB
The problem with GCNDownwardRPTracker::advanceBeforeNext is that it doesn't allow to get register pressure after the last instruction in a MBB. However when we track RP through the boundary of a MBB we need the state that is after the last instruction of the MBB and before the first instruction of the successor MBB. Currently we stop traking RP in the state 'at' the last instruction of the MBB which is incorrect. This patch fixes 27 lit tests with EXPENSIVE_CHECKS enabled. Reviewed By: rampitec, arsenm Differential Revision: https://reviews.llvm.org/D136927
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions