<html>
    <head>
      <base href="http://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Crash in NewGVN if run after LICM"
   href="http://bugs.llvm.org/show_bug.cgi?id=32607">32607</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Crash in NewGVN if run after LICM
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Scalar Optimizations
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>keno@alumni.harvard.edu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Consider the following bugpoint-reduced test case:
```
; ModuleID = 'bugpoint-reduced-simplified.bc'
source_filename = "bugpoint-output-0d3dd22.bc"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

define hidden void @"julia_populate_gal_fsm!_20586"() #0 {
top:
  br label %if

if:                                               ; preds = %if, %top
  %0 = load double, double* undef, align 8, !tbaa !1, !noalias !5
  %1 = fadd double %0, undef
  store double %1, double* undef, align 8, !tbaa !1, !noalias !5
  br i1 false, label %L50, label %if

L50:                                              ; preds = %if
  ret void
}

attributes #0 = { "no-frame-pointer-elim"="true" }

!llvm.module.flags = !{!0}

!0 = !{i32 1, !"Debug Info Version", i32 3}
!1 = !{!2, !2, i64 0}
!2 = !{!"jtbaa_arraybuf", !3, i64 0}
!3 = !{!"jtbaa_data", !4, i64 0}
!4 = !{!"jtbaa"}
!5 = !{!6}
!6 = !{!"aliasscope", !7}
!7 = !{!"accum_galaxy_pos!"}
```

```
opt -licm -newgvn bugpoint-reduced-simplified.ll
opt: /home/ubuntu/llvm/lib/Transforms/Scalar/NewGVN.cpp:2167: void
{anonymous}::NewGVN::updateProcessedCount(llvm::Value*): Assertion
`ProcessedCount[V] < 100 && "Seem to have processed the same Value a lot"'
failed.
```

Now, before bugpoint, the failure looked different (and the input wasn't an
infinite loop), so this is possibly just something that bugpoint exposed, but I
can rerun on the original file once this is fixed.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>