[llvm-commits] [llvm] r125357 - in /llvm/trunk: lib/Target/ARM/ARMISelLowering.cpp test/CodeGen/ARM/fcopysign.ll

Chris Lattner clattner at apple.com
Fri Feb 11 14:19:14 PST 2011


On Feb 11, 2011, at 1:13 PM, Evan Cheng wrote:

>> Is there something wrong with the generic lowering code for copysign?  Why does arm have its own implementation?
>> 
>> -Chris
> 
> The generic implementation isn't going to be performant. The custom lowering make use of ARM specific nodes to split / combine D registers to / from GPRs when it's profitable.

Doesn't bitcast(i64->f64) do the right thing (getting legalized into split/combine d regs) on ARM?

-Chris



More information about the llvm-commits mailing list