[llvm-commits] [llvm] r108639 - /llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

Chris Lattner clattner at apple.com
Sun Jul 18 12:04:53 PDT 2010


On Jul 18, 2010, at 11:47 AM, Owen Anderson wrote:

> 
> On Jul 18, 2010, at 11:46 AM, Chris Lattner wrote:
>> 
>> The code in the radar is:
>> 
>> 	#include <math.h>
>> 	float foo(float x) {
>> 	    return sqrt(x);
>> 	}
>> 
>> which is float/float.
>> 
> 
> Sorry, I was recreating it from memory.  The rest of my message was correct, as is the transform.

I agree that the xform is correct.  Why not do it on IR though?

-Chris



More information about the llvm-commits mailing list