[PATCH] D48391: [AMDGPU] Fix bug with tracking processed blocks in SIInsertWaitcnts

Scott Linder via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 21 11:53:22 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL335268: [AMDGPU] Fix bug with tracking processed blocks in SIInsertWaitcnts (authored by scott.linder, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D48391?vs=152137&id=152356#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D48391

Files:
  llvm/trunk/lib/Target/AMDGPU/SIInsertWaitcnts.cpp


Index: llvm/trunk/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
===================================================================
--- llvm/trunk/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+++ llvm/trunk/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
@@ -1868,6 +1868,7 @@
   BlockVisitedSet.clear();
   VCCZBugHandledSet.clear();
   LoopWaitcntDataMap.clear();
+  BlockWaitcntProcessedSet.clear();
 
   // Walk over the blocks in reverse post-dominator order, inserting
   // s_waitcnt where needed.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48391.152356.patch
Type: text/x-patch
Size: 483 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180621/4b391a8c/attachment.bin>


More information about the llvm-commits mailing list