This allows tracking these as preexisting waitcnt.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp | ||
---|---|---|
1605 | I thought we made this explicitly a property of the calling convention, so we could have this not be inserted for future conventions. I guess if this isn't checking the function for that already, it's a preexisting problem | |
llvm/test/CodeGen/AMDGPU/waitcnt-preexisting.mir | ||
188–190 | -NEXTs would be a bit more dependable |
llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp | ||
---|---|---|
1607 | Typo, should be "to wait" or "to do the wait" |
llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp | ||
---|---|---|
1605 | When would that waitcnt be added if it's a property of the CC? It seems like these changes could help avoid it being added twice since they would be combined. | |
1610 | It might be, if what it's saying is that we could move this waitcnt later until the function uses callee saved registers. |
Modified = false;?