<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - LVI misses opportunities to conclude overdefined"
   href="https://llvm.org/bugs/show_bug.cgi?id=27433">27433</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LVI misses opportunities to conclude overdefined
          </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>normal
          </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>regehr@cs.utah.edu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>listmail@philipreames.com, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Following each icmp ne + branch, LVI properly concludes that x is not 10 and
20, respectively. However, it should also put these facts together and conclude
that x is overdefined at cont2. Instead of intersecting the incoming dataflow
fact with the new one, it seems to only overwrite it, concluding at cont2 that
x != 20.

define void @foo8(i32 %x) #0 {
entry:
  %cmp = icmp ne i32 %x, 10
  br i1 %cmp, label %if.end3, label %cont

cont:
  %cmp1 = icmp ne i32 %x, 20
  br i1 %cmp1, label %if.end3, label %cont2

cont2:
  ;; LVI should be able to tell we can't get here!
  br label %if.end3

if.end3:
  ret void
}</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>