[llvm-commits] [llvm-gcc-4.2] r55783 - in /llvm-gcc-4.2/trunk/gcc: llvm-convert.cpp llvm-internal.h
Duncan Sands
baldrick at free.fr
Fri Sep 5 01:19:31 PDT 2008
Hi Dale,
> I think it's wrong for the back end to be keying off the C names; not
> all languages are C, not all dialects are C99, and not all environments
> are hosted.
I also don't like keying off the name. Maybe the SimplifyLibcalls pass
could turn calls to math functions ("sin") into calls to llvm intrinsics
("llvm.sin"), which would concentrate this kind of thing in one place.
Ciao,
Duncan.
PS: I guess that would also mean that there is no need for llvm-gcc
to generate the llvm intrinsics: it would happen automagically.
More information about the llvm-commits
mailing list