Displaying 1 result from an estimated 1 matches for "visitfp_extend".
2013 May 06
1
[LLVMdev] Help with setting up a software-float supported architecture target
...sues in which the DAG conversion is
Can anyone help with:
I have some C code test like:
float x;
printf("%f", x);
which clang coverts to:
%0 = load float* @x, align 4
%conv = fpext float %0 to double
The issue is for simple Float to Double extension, the DAGCombiner.cpp
DAGCombiner::visitFP_EXTEND(SDNode *N) is making a decision to do a load
extension, and it translates into doing a simple double load. But problem
is that my target can't simple load 8 bytes from the 4 byte float memory
location to do a conversion to double.
But what I need is for the DAG conversion to respect that the...