Use more consistent way to avoid overflow when calculating SGPR
and VGPR pressure limits.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp | ||
---|---|---|
91–92 | clamp with min of 0 seems weird. Also could use -= |
clamp with min of 0 seems weird. Also could use -=