<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:slandden@gmail.com" title="Shawn Landden <slandden@gmail.com>"> <span class="fn">Shawn Landden</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - wrong passing of arguments on arm64 with optimization disabled"
   href="https://bugs.llvm.org/show_bug.cgi?id=38734">bug 38734</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;">Status</td>
           <td>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Summary</td>
           <td>wrong passing of arguments on arm64 with -O0
           </td>
           <td>wrong passing of arguments on arm64 with optimization disabled
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>WORKSFORME
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - wrong passing of arguments on arm64 with optimization disabled"
   href="https://bugs.llvm.org/show_bug.cgi?id=38734#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - wrong passing of arguments on arm64 with optimization disabled"
   href="https://bugs.llvm.org/show_bug.cgi?id=38734">bug 38734</a>
              from <span class="vcard"><a class="email" href="mailto:slandden@gmail.com" title="Shawn Landden <slandden@gmail.com>"> <span class="fn">Shawn Landden</span></a>
</span></b>
        <pre>OK, this bug only occurs with -O0.

main:
.Lfunc_begin8:
        .loc    5 6 0
        .cfi_startproc
        sub     sp, sp, #32
        stp     x29, x30, [sp, #16]
        add     x29, sp, #16
        .cfi_def_cfa w29, 16
        .cfi_offset w30, -8
        .cfi_offset w29, -16
        mov     w1, #-1
        sub     x0, x29, #4
.Ltmp41:
        .loc    5 7 16 prologue_end
        bl      function3
.Ltmp42:
        .loc    5 6 20
        ldp     x29, x30, [sp, #16]
        add     sp, sp, #32
        ret
.Ltmp43:
.Lfunc_end8:
        .size   main, .Lfunc_end8-main
        .cfi_endproc

        .p2align        2
        .type   function3,@function
function3:



With optimization enabled</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>