<html>
    <head>
      <base href="https://bugs.freedesktop.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 - ineg of b2i32 optimization does not trigger"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=111578">111578</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>ineg of b2i32 optimization does not trigger
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

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

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

        <tr>
          <th>Severity</th>
          <td>minor
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>not set
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>glsl-compiler
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>idr@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This is mostly a note to myself.

While looking at <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - [REGRESSION] [BISECTED] Shadow Tactics: Blades of the Shogun - problems rendering water"
   href="show_bug.cgi?id=111490">bug #111490</a>, I noticed many instances of patterns like

        vec1 32 ssa_127 = ior ssa_125, ssa_126
        vec1 32 ssa_128 = b2i32 ssa_127
        vec1 32 ssa_129 = ineg ssa_128

I thought I'd add an optimization to clean this up, but it already exists:

dca6cd9ce651 src/compiler/nir/nir_opt_algebraic.py (Jason Ekstrand             
   2018-11-07 13:43:40 -0600  550)    (('ineg', ('b2i32', 'a@32')), a),

Why doesn't the existing transformation trigger?</pre>
        </div>
      </p>


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

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>