<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:mjllvmbugzilla@gmail.com" title="Jesse Medley <mjllvmbugzilla@gmail.com>"> <span class="fn">Jesse Medley</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Demo Kaleidoscope/MCJIT Produces Incorrect Output on ARM"
   href="http://llvm.org/bugs/show_bug.cgi?id=20329">bug 20329</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>ASSIGNED
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Demo Kaleidoscope/MCJIT Produces Incorrect Output on ARM"
   href="http://llvm.org/bugs/show_bug.cgi?id=20329#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Demo Kaleidoscope/MCJIT Produces Incorrect Output on ARM"
   href="http://llvm.org/bugs/show_bug.cgi?id=20329">bug 20329</a>
              from <span class="vcard"><a class="email" href="mailto:mjllvmbugzilla@gmail.com" title="Jesse Medley <mjllvmbugzilla@gmail.com>"> <span class="fn">Jesse Medley</span></a>
</span></b>
        <pre>Just had a chance to try this out:
ready> def add(x y) x+y;
ready> Read function definition:
define double @add(double %x, double %y) {
entry:
  %y2 = alloca double
  %x1 = alloca double
  store double %x, double* %x1
  store double %y, double* %y2
  %x3 = load double* %x1
  %y4 = load double* %y2
  %addtmp = fadd double %x3, %y4
  ret double %addtmp
}

ready> add(1, 2);
ready> Evaluated to 3.000000

So it's working correctly now. Thanks, Renato! I also attached a little patch
that I used to get the example to compile. I was going to go ahead and send
that to the commits mailing list if that's okay.</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>