diff options
author | Jeffrey Byrnes <jeffrey.byrnes@amd.com> | 2023-10-06 17:34:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-06 17:34:14 -0700 |
commit | 6afceba5106a2a5eb229791465d53ca4be257d5b (patch) | |
tree | 66f4730909ba810402c32417e205120edc40c95d /clang/lib/Lex/Preprocessor.cpp | |
parent | a9e97278aa0754e1ee7564dace1474b4e759df99 (diff) | |
download | llvm-6afceba5106a2a5eb229791465d53ca4be257d5b.zip llvm-6afceba5106a2a5eb229791465d53ca4be257d5b.tar.gz llvm-6afceba5106a2a5eb229791465d53ca4be257d5b.tar.bz2 |
[AMDGPU][IGLP] SingleWaveOpt: Cache DSW Counters from PreRA (#67759)
Save the DSW counters from PreRA scheduling. While this avoids recalculation in the postRA pass, that isn't the main purpose.
This is required because of physical register dependencies in PostRA scheduling -- they alter the DAG s.t. our counters may become incorrect -- which alters the layout of the pipeline. By preserving the values from PreRA, we can be sure that we accurately construct the pipeline.
Additionally, remove a bad assert in SharesPredWithPrevNthGroup -- it is possible that we will have an empty cache if OtherGroup has no elements which have a V_PERM pred (possible if the V_PERM SG is empty).
Diffstat (limited to 'clang/lib/Lex/Preprocessor.cpp')
0 files changed, 0 insertions, 0 deletions