Displaying 3 results from an estimated 3 matches for "__xx_acos".
Did you mean:
__xxx_acos
2016 Jun 07
4
llvm intrinsics/libc/libm question
...c so have to rely on a runtime library helper
function (e.g., the stuff in compiler-rt/lib/builtins/).
So, #1 and #2 would make LLVM able to emit calls to __xxx_acos when
it sees "@llvm.acos.f32", but it won't let LLVM optimize (constant
fold, transform into the intrinsic, ...) "__xx_acos()" when it sees
it.
It sounds like you also want to recognize and optimize these calls.
That involves (pre-CodeGen) IR-level optimizations.
No, I don't think that's supported today without changing LLVM (see
the list in my first email).
> 3) change TargetLibraryInfo for functions...
2016 Jun 14
2
llvm intrinsics/libc/libm question
...> >> >>
>> >> >> So, #1 and #2 would make LLVM able to emit calls to __xxx_acos when
>> >> >> it sees "@llvm.acos.f32", but it won't let LLVM optimize (constant
>> >> >> fold, transform into the intrinsic, ...) "__xx_acos()" when it sees
>> >> >> it.
>> >> >>
>> >> >> It sounds like you also want to recognize and optimize these calls.
>> >> >> That involves (pre-CodeGen) IR-level optimizations.
>> >> >> No, I don't thi...
2016 Jun 07
2
llvm intrinsics/libc/libm question
Tim,
Are you referring to setLibcallName? That is target specific yes but there
isn't RTLIB for most of the libm functions, for example, for acos this
doesn't apply.
Ideally what I would like is to create a libc with functions like acos
called something like __xxx_acos that can still be recognized to be
optimized.
RTLIB is pretty limited but it works fine, I can just use