<html>
    <head>
      <base href="https://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 - GuardWidening: test/Transforms/GuardWidening/range-check-merging.ll looks different with debug info present"
   href="https://bugs.llvm.org/show_bug.cgi?id=37715">37715</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>GuardWidening: test/Transforms/GuardWidening/range-check-merging.ll looks different with debug info present
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </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>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>vsk@apple.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Running `opt -O1` on this file produces different output with/without debug
info present. To reproduce the issue, do:

# Baseline
$ $OPT -O1 $FILE -S -o -

# With debug info
$ $OPT -O1 $FILE -o - -debugify-each -debugify-quiet | $OPT -strip -S

Comparing: -O1 test/Transforms/GuardWidening/range-check-merging.ll
  Baseline: /var/folders/j8/t4w0bp8j6x1g6fpghkcb4sjm0000gp/T/tmp.C74Q3eA7
  With DI : /var/folders/j8/t4w0bp8j6x1g6fpghkcb4sjm0000gp/T/tmp.7O0SBoIr
8a9
<span class="quote">>   call void (i1, ...) @llvm.experimental.guard(i1 %4) [ "deopt"() ]</span >
11,18c12,18
<   %7 = and i1 %4, %6
<   call void (i1, ...) @llvm.experimental.guard(i1 %7) [ "deopt"() ]
<   %8 = add i32 %0, 2
<   %9 = icmp ult i32 %8, %3
<   %10 = add i32 %0, 3
<   %11 = icmp ult i32 %10, %3
<   %12 = and i1 %9, %11
<   call void (i1, ...) @llvm.experimental.guard(i1 %12) [ "deopt"() ]
---
<span class="quote">>   call void (i1, ...) @llvm.experimental.guard(i1 %6) [ "deopt"() ]
>   %7 = add i32 %0, 2
>   %8 = icmp ult i32 %7, %3
>   call void (i1, ...) @llvm.experimental.guard(i1 %8) [ "deopt"() ]
>   %9 = add i32 %0, 3
>   %10 = icmp ult i32 %9, %3
>   call void (i1, ...) @llvm.experimental.guard(i1 %10) [ "deopt"() ]</span >
24a25
<span class="quote">>   call void (i1, ...) @llvm.experimental.guard(i1 %4) [ "deopt"() ]</span >
27,34c28,34
<   %7 = and i1 %4, %6
<   call void (i1, ...) @llvm.experimental.guard(i1 %7) [ "deopt"() ]
<   %8 = add i32 %0, 3
<   %9 = icmp ult i32 %8, %3
<   %10 = add i32 %0, 6
<   %11 = icmp ult i32 %10, %3
<   %12 = and i1 %9, %11
<   call void (i1, ...) @llvm.experimental.guard(i1 %12) [ "deopt"() ]
...
(snipped)</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>