[LLVMdev] llvm-gcc cannot emit @llvm.pow.* ?
zhousheng00 at gmail.com
Thu Nov 22 06:15:30 PST 2007
2007/11/22, Duncan Sands <baldrick at free.fr>:
> PS: It is possible that the C front-end doesn't need to
> explicitly produce BUILT_IN_POW because it is auto-synthesized
> somehow from a call to "pow". I wouldn't know. One way to
> find out is to compile a testcase and rummage around inside
> the gcc trees when they hit llvm-convert.
Yes, they do hit llvm-convert. I created function EmitBuiltinPOW() in
add case BUILT_IN_POW to EmitBuiltinCall . Testcase result shows it will
call EmitBuiltinCall and finally emit llvm.pow.*
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev