[PATCH] D33907: [AMDGPU] Fix uninit'ed var (RevisitLoop)

Mark Searles via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 5 12:29:29 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL304729: [AMDGPU] Fix uninit'ed var (RevisitLoop) (authored by msearles).

Changed prior to commit:
  https://reviews.llvm.org/D33907?vs=101440&id=101441#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D33907

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
@@ -229,7 +229,7 @@
                      MachineInstr &MI);
 
   BlockWaitcntBrackets()
-      : WaitAtBeginning(false), ValidLoop(false), MixedExpTypes(false),
+      : WaitAtBeginning(false), RevisitLoop(false), ValidLoop(false), MixedExpTypes(false),
         LoopRegion(NULL), PostOrder(0), Waitcnt(NULL), VgprUB(0), SgprUB(0) {
     for (enum InstCounterType T = VM_CNT; T < NUM_INST_CNTS;
          T = (enum InstCounterType)(T + 1)) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33907.101441.patch
Type: text/x-patch
Size: 676 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170605/f3c39921/attachment.bin>


More information about the llvm-commits mailing list