[LLVMdev] replace the intrinsic call by a C function call

kewuzhang kewu.zhang at amd.com
Wed Oct 15 08:09:02 PDT 2014

Dear there, 

Is there anyway to replace a intrinsic call by a “normal” function call?

For exmple, when I see intrinsic “llvm.math.high.add(float x)”, I want to use function “math_high_add(float x)”  to replace it because I already have the implementation there.
I tried function attribute “alias”, it turns out not working because “llvm.math.add” is not a legal function name.

Any “elegant” way to handle this?



More information about the llvm-dev mailing list