Hi Folks,<div><br></div><div><div>I noticed that recently in the online code gen demo that generating the unique temporaries have been modified.</div><div><br></div><div>I don't believe i changed any options. (C++, demangle names, no optimization)</div>
<div><br></div><div><br></div><div><b>Where:</b></div><div><b><br></b></div><div><div>if(x >= y){</div><div>}</div></div><div><br></div><div><br></div><div><b>Previously Compiles to:</b></div><div><br></div><div>%0 = load i32* %x, align 4                     </div>
<div><div>%1 = load i32* %y, align 4                     </div><div>%2 = icmp sge i32 %0, %1                       </div><div>br i1 %2, label %bb, label %bb1</div><div><br></div><div>bb:                                              </div>
<div>; true goes here</div></div><div><br></div><div><br></div><div><b><b>Currently </b>Compiles to:</b></div><div><br></div><div><pre><font class="Apple-style-span" size="3">%tmp = load i32* %x                             
%tmp1 = load i32* %y                           
%cmp = icmp sge i32 %tmp, %tmp1                 
br i1 %cmp, label %if.then, label %if.end

if.then:                                          
; true goes here</font></pre><pre><span class="Apple-style-span" style="font-family: arial; white-space: normal; "><br></span></pre><pre><span class="Apple-style-span" style="font-family: arial; white-space: normal; ">If this is the case then is there a mailing list or Status update page that reflects this behavior? </span></pre>
My question may seem trivial however, im still in llvm exploration mode :)</div><div><br><pre><span class="Apple-style-span" style="font-family: arial; white-space: normal; ">Im working on a compiler that generates LLVM IR and for the moment i dont use the code gen API. I rely on the Assembly manual and demo for reference (Although at some point i will need to use the API in order to take full advantage).</span></pre>
<pre><span class="Apple-style-span" style="font-family: arial; white-space: normal; "><br></span></pre><pre><span class="Apple-style-span" style="font-family: arial; white-space: normal; ">Thanks,</span></pre><pre><span class="Apple-style-span" style="font-family: arial; white-space: normal; ">Jun</span></pre>
<pre><font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="white-space: normal;"><br></span></font></pre><pre><font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="white-space: normal;"><br>
</span></font></pre></div></div>