These aren't produced now, but will be in a future patch.
Diff Detail
Diff Detail
Event Timeline
Comment Actions
What about the possibility of inserting waitcnt into bundles?
lib/Target/AMDGPU/SIInsertWaitcnts.cpp | ||
---|---|---|
1360–1361 | Can we just skip BUNDLE instructions. |
Comment Actions
Add tests for inter and cross bundle waitcnts. Somewhat surprisingly, works as expected
lib/Target/AMDGPU/SIInsertWaitcnts.cpp | ||
---|---|---|
1360–1361 | That's the opposite of the point. The point is to find the waitcnt inside the bundle |
Comment Actions
LGTM but I will wait for Stas.
lib/Target/AMDGPU/SIInsertWaitcnts.cpp | ||
---|---|---|
1360–1361 | I mean the actual BUNDLE instruction itself, but it's not actually important. |
Comment Actions
What will happen if we decide to insert wait in the middle of the bundle? Before this change it was impossible.
Comment Actions
That's tested in insert_in_bundle. It seems to work as expected, and puts a waitcnt inside the bundle
Can we just skip BUNDLE instructions.