[llvm-bugs] [Bug 41538] New: For -enable-newgvn flag seen assertion failure `ProcessedCount[V] < 100 && "Seem to have processed the same Value a lot"' failed

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 19 00:12:43 PDT 2019


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

            Bug ID: 41538
           Summary: For -enable-newgvn flag seen assertion failure
                    `ProcessedCount[V] < 100 && "Seem to have processed
                    the same Value a lot"' failed
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Loop Optimizer
          Assignee: unassignedbugs at nondot.org
          Reporter: balarishi.bhogadi at amd.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 21800
  --> https://bugs.llvm.org/attachment.cgi?id=21800&action=edit
Error log

/* Flag: "-O2 -mllvm -enable-newgvn" */

#define ARRAY1_DIM1 4
a, b, c;
fn1() {
  b = 0;
  for (;; b++) {
    c = 0;
    for (; c < ARRAY1_DIM1; c++) {
      for (; a < b + c; a++)
        ;
    }
  }
}

When compiled the small case using "-O2 -mllvm -enable-newgvn" facing

clang-9:
/home/amd/JENKINS/workspace/CPUPC_Mirror_Branch/llvm/lib/Transforms/Scalar/NewGVN.cpp:3039:
void {anonymous}::NewGVN::updateProcessedCount(const llvm::Value*): Assertion
`ProcessedCount[V] < 100 && "Seem to have processed the same Value a lot"'
failed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190419/4b640dfc/attachment.html>


More information about the llvm-bugs mailing list