[PATCH] D36592: [BDCE] clear poison generators after turning a value into zero (PR33695, PR34037)

David Majnemer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 10 15:43:04 PDT 2017

majnemer added inline comments.

Comment at: lib/Transforms/Scalar/BDCE.cpp:56
+      clearAssumptionsOfUsers(UserInst, VisitedInsts);
+    }
I recommend using a worklist so that this doesn't blow up the stack.


More information about the llvm-commits mailing list