[PATCH] Have a way to let fast-isel handle normally optimized library functions

reed kotler rkotler at mips.com
Wed Feb 4 18:35:07 PST 2015

This original code was added by Bob Wilson.

The following commit from the commit:

Fall back to selection DAG isel for calls to builtin functions.

Fast isel doesn't currently have support for translating builtin function
calls to target instructions.  For embedded environments where the library
functions are not available, this is a matter of correctness and not
just optimization.  Most of this patch is just arranging to make the
TargetLibraryInfo available in fast isel.  rdar://problem/12008746

The problem with this approach is that the fast-isel code fro a given target can always for things to fall back to selection dag but this patch forces it to do that in all cases.



More information about the llvm-commits mailing list