[PATCH] D62058: [AMDGPU] gfx1010 Avoid SMEM WAR hazard for some s_waitcnt values
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 17 04:28:35 PDT 2019
arsenm added inline comments.
================
Comment at: lib/Target/AMDGPU/GCNHazardRecognizer.cpp:931
+ return (Decoded.LgkmCnt == 0);
+ } else if (MI->getOpcode() == AMDGPU::S_WAITCNT_LGKMCNT) {
+ if (MI->getOperand(0).getReg() != AMDGPU::SGPR_NULL) {
----------------
No else after return
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62058/new/
https://reviews.llvm.org/D62058
More information about the llvm-commits
mailing list