Modify the waitcnt pass to propagate info in the case of a single basic block loop. mergeInputScoreBrackets() does this for us; update it so that it processes the single bb's score bracket when processing the single bb's preds. It is, after all, a pred of itself, so it's score bracket is needed.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM, just fix formatting before submit.
lib/Target/AMDGPU/SIInsertWaitcnts.cpp | ||
---|---|---|
1320 ↗ | (On Diff #138391) | Please add spaces after commas. |