[PATCH] D30966: AMDGPU: Fix annotating loops with nested loop conditions

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 22 09:38:08 PDT 2017


arsenm added inline comments.


================
Comment at: lib/Target/AMDGPU/SIAnnotateControlFlow.cpp:189
+  if (llvm::RecursivelyDeleteDeadPHINode(Phi)) {
+    DEBUG(dbgs() << "Erased phi: " << Phi << ' ' << *Phi << '\n');
+  }
----------------
This printing is broken since it tries to print the deleted node afterwards


https://reviews.llvm.org/D30966





More information about the llvm-commits mailing list