llvm.org GIT mirror llvm / c7fe216
DivergenceAnalysisTest: fix use of uninitialized memory Thanks to Simon Moll for chasing it down. Change-Id: If188f07c4aaec217f40a7a2ca029818f9202f1cb git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@344738 91177308-0d34-0410-b5e6-96231b3b80d8 Nicolai Haehnle 11 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
301301 if (!Phi)
302302 continue;
303303
304 if (&BB == *ItDivJoins) {
304 if (ItDivJoins != ItCase.second.end() && &BB == *ItDivJoins) {
305305 EXPECT_TRUE(DA.isDivergent(*Phi));
306306 // Advance to next block with expected divergent PHI node.
307307 ++ItDivJoins;