[PATCH] D46616: [AMDGPU][Waitcnt] Fix handling of flat instrs

Tony Tye via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 8 18:40:15 PDT 2018


t-tye added inline comments.


================
Comment at: lib/Target/AMDGPU/SIInsertWaitcnts.cpp:744
+        !ST->hasFlatLgkmVMemCountInOrder()) {
       // If there is a pending FLAT operation, and this is a VM waitcnt,
       // then we need to force a waitcnt 0 for VM.
----------------
Update comment to:

```
// If there is a pending FLAT operation, this is a VM or
// LGKM waitcnt, and the target can report early
// completion, then we need to force a waitcnt 0.}
```


https://reviews.llvm.org/D46616





More information about the llvm-commits mailing list