Skip to content

Commit 1d41952

Browse files
jrbyrnesarsenm
andauthored
Update llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
Co-authored-by: Matt Arsenault <[email protected]>
1 parent 041a72d commit 1d41952

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,7 @@ bool AVGPRRewriteScheduleStage::initGCNSchedStage() {
10861086
// either VGPR or AGPR. However, for the unified RF case, we should only be
10871087
// using AGPR if strictly necessary. That is, if the required number of VGPRs
10881088
// exceeds the addressable limit. Otherwise, we should be stricly using VGPRs
1089-
// to minimize cross RC copies. Thus, if we are underc this limit, we should
1089+
// to minimize cross RC copies. Thus, if we are under this limit, we should
10901090
// constrain AVReg- > VReg.
10911091
// TODO: AVReg constraining for non unified case.
10921092
if (!ST.hasGFX90AInsts() || DAG.RegionsWithAVRegs.empty() ||

0 commit comments

Comments
 (0)