https://llvm.org/bugs/show_bug.cgi?id=23249

            Bug ID: 23249
           Summary: LCSSA::verifyAnalysis() and verifyAnalysis() does
                    nothing?
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Hi Chandler,

Warnings level 4 were recently enabled for Visual C++ and it complains that:

lib\transforms\utils\lcssa.cpp(345): warning C4718: 'verifyLoop' : recursive
call has no side effects, deleting

essentially, it says that verifyLoop does nothing other than call itself, which
appear to be true both in debug and release modes:

static void verifyLoop(Loop &L, DominatorTree &DT) {
  // Recurse depth-first through inner loops.
  for (Loop::iterator LI = L.begin(), LE = L.end(); LI != LE; ++LI)
    verifyLoop(**LI, DT);

  // Check the special guarantees that LCSSA makes.
  //assert(L.isLCSSAForm(DT) && "LCSSA form not preserved!");
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to