[LLVMdev] SoftenSetCCOpernads in LegalizeFloatTypes.cpp
Sanjiv Gupta
sanjiv.gupta at microchip.com
Tue Sep 29 09:43:44 PDT 2009
Duncan Sands wrote:
> Hi Sanjiv, I think a lot of the softening code assumes you are dealing
> with float (32 bits). So it's not just a matter of changing the libcall
> return type.
>
Yes, we are dealing with 32-bits only. But why the cmp libcalls have to
return a 32-bit value.
e.g. Our libcall for comparing two floats is
char _eq_f32 (float a, float b);
rather than
long _eq_f32 (float a, float b);
- Sanjiv
More information about the llvm-dev
mailing list