[all-commits] [llvm/llvm-project] 12b4f9: [AMDGPU] Do not apply schedule metric for regions ...
Stanislav Mekhanoshin via All-commits
all-commits at lists.llvm.org
Tue Feb 14 12:17:07 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 12b4f9e2af957bd248ee3a39143fbef7a483fd35
https://github.com/llvm/llvm-project/commit/12b4f9e2af957bd248ee3a39143fbef7a483fd35
Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
Date: 2023-02-14 (Tue, 14 Feb 2023)
Changed paths:
M llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
A llvm/test/CodeGen/AMDGPU/schedule-regpressure-ilp-metric-spills.mir
Log Message:
-----------
[AMDGPU] Do not apply schedule metric for regions with spilling
D139710 has added a metric to increase schedule's ILP while
staying within the same occupancy. Do not bother to apply this
metric to a region which is known to have spilling, it may result
in spilling to reappear after the previous stage and will do no
good if we already spilling anyway. It may also reduce compile
time a bit for such regions.
Fixes: SWDEV-377300
Differential Revision: https://reviews.llvm.org/D143934
More information about the All-commits
mailing list