Use more consistent way to avoid overflow when calculating SGPR
and VGPR pressure limits.
Details
Details
Diff Detail
Diff Detail
Event Timeline
llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp | ||
---|---|---|
93 | clamp with min of 0 seems weird. Also could use -= |
Paths
| Differential D142262
[AMDGPU] Use more consistemt way to avoid overflow in the scheduler ClosedPublic Authored by rampitec on Jan 20 2023, 3:22 PM.
Details Summary Use more consistent way to avoid overflow when calculating SGPR
Diff Detail Event Timelinerampitec added a parent revision: D141876: [AMDGPU] Tune scheduler on GFX10 and GFX11 for regions with spilling.Jan 20 2023, 3:23 PM
This revision is now accepted and ready to land.Jan 22 2023, 10:27 PM Closed by commit rG7d0145cc4748: [AMDGPU] Use more consistemt way to avoid overflow in the scheduler (authored by rampitec). · Explain WhyJan 23 2023, 11:01 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 490988 llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
|
clamp with min of 0 seems weird. Also could use -=