[LLVMdev] [llvm-commits] [llvm] r160791 - in /llvm/trunk: docs/LangRef.html include/llvm/Intrinsics.td lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

Owen Anderson resistor at mac.com
Thu Jul 26 13:55:04 PDT 2012


On Jul 26, 2012, at 12:57 PM, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:

>> +<p>This function returns the same values as the libm <tt>floor</tt> functions
>> +   would, and handles error conditions in the same way.</p>
> 
> Why the intrinsic then?

So that it's possible to access the ISD::FFLOOR SDNode without having to enable a C-specific TargetLibraryInfo's.

--Owen





More information about the llvm-dev mailing list