[llvm-commits] [PATCH] [msan] Remove unreachable bb's
Evgeniy Stepanov
eugenis at google.com
Fri Dec 14 04:28:34 PST 2012
================
Comment at: llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp:491
@@ +490,3 @@
+ for (succ_iterator SI = succ_begin(BB), SE = succ_end(BB); SI != SE; ++SI)
+ Worklist.push_back(*SI);
+ } while (!Worklist.empty());
----------------
Ouch. I copied the code from SimplifyCFGPass without thinking. This should be fixed there, as well.
http://llvm-reviews.chandlerc.com/D208
More information about the llvm-commits
mailing list