[LLVMdev] replace the intrinsic call by a C function call (original) (raw)
kewuzhang kewu.zhang at amd.com
Wed Oct 15 08:09:02 PDT 2014
- Previous message: [LLVMdev] using -debug-ir to map identify IR mapping
- Next message: [LLVMdev] replace the intrinsic call by a C function call
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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?
best
kevin
- Previous message: [LLVMdev] using -debug-ir to map identify IR mapping
- Next message: [LLVMdev] replace the intrinsic call by a C function call
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]