<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:greg.bedwell@sony.com" title="Greg Bedwell <greg.bedwell@sony.com>"> <span class="fn">Greg Bedwell</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - mca hangs on sqrt-rsqrt-rcp-memop.s"
   href="https://bugs.llvm.org/show_bug.cgi?id=39466">bug 39466</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>ASSIGNED
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - mca hangs on sqrt-rsqrt-rcp-memop.s"
   href="https://bugs.llvm.org/show_bug.cgi?id=39466#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - mca hangs on sqrt-rsqrt-rcp-memop.s"
   href="https://bugs.llvm.org/show_bug.cgi?id=39466">bug 39466</a>
              from <span class="vcard"><a class="email" href="mailto:greg.bedwell@sony.com" title="Greg Bedwell <greg.bedwell@sony.com>"> <span class="fn">Greg Bedwell</span></a>
</span></b>
        <pre>Yeah.  This a script bug, when it's attempting to align identical blocks. 
Thanks for reporting it!

I reduced the failing tool output to:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0] Code Region - test_sqrtss

Timeline view:
                    0123456789          0
Index     0123456789          0123456789 

[1] Code Region - test_sqrtsd

Timeline view:
                    0123456789          0123456
Index     0123456789          0123456789       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

and 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0] Code Region - test_sqrtss

Timeline view:
                    0123456789    
Index     0123456789          0123

[1] Code Region - test_sqrtsd

Timeline view:
                    0123456789          0
Index     0123456789          0123456789 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


The problem is that the block:

```
Timeline view:
                    0123456789          0
Index     0123456789          0123456789 
```

just happens to exist in both sets of blocks so gets identified as a matching
block which it attempts to align even though they aren't really related.  This
has the affect of knocking all of the intermediate blocks out of alignment,
which it then attempts to re-align, thus knocking that one out of alignment,
and so on.

Fixed in r345499 by preventing it from trying to align something it's already
previously ever tried to align.

Note that your example will still fail as currently written because there is
already a BDVER2-prefixed line in the test so it will error out due to not
being able to find a unique prefix to represent the output.  Giving the line a
unique prefix instead produces a nice looking test file now.

No other test file output was affected by this change.</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>