<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 --- - Investigate whether AArch64LoadStoreOptimizer can combine STUR+STR to STP (like STR+STR)"
   href="https://llvm.org/bugs/show_bug.cgi?id=24465">24465</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Investigate whether AArch64LoadStoreOptimizer can combine STUR+STR to STP (like STR+STR)
          </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>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Backend: AArch64
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>ahmed.bougacha@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This doesn't generate STP, but it seems like it should:


target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"

define float* @foo(float* nocapture %PTR, <4 x float> %VAL1, <4 x float> %VAL2)
{
entry:
  %add.ptr = getelementptr inbounds float, float* %PTR, i64 -4
  %tmp = bitcast float* %add.ptr to <4 x float>*
  store <4 x float> %VAL1, <4 x float>* %tmp, align 16
  %tmp1 = bitcast float* %PTR to <4 x float>*
  store <4 x float> %VAL2, <4 x float>* %tmp1, align 16
  %add.ptr2 = getelementptr inbounds float, float* %PTR, i64 8
  ret float* %add.ptr2
}</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>