search for: gmp_demo

Displaying 2 results from an estimated 2 matches for "gmp_demo".

2015 Sep 10
2
Rewriting LLVM IR intrinsic functions
On 10 Sep 2015, at 10:09, serge guelton via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > On Thu, Sep 10, 2015 at 04:20:01PM +0800, Dipanjan Das via llvm-dev wrote: >> Hello, >> >> I can see the occurrences of several LLVM intrinsic functions in the LLVM >> IR generated by llvm-dis disassembler. Is there any means to rewrite these >> functions
2015 Sep 14
2
Rewriting LLVM IR intrinsic functions
...5, at 06:58, Dipanjan Das via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > > Hi David, > > I think you people can help me better if I explain what I am trying to achieve. > • I have compiled gmp with LLVM 2.9 > • Linked the library statically with a stub program (gmp_demo.bc) > • Transformed the bitcode to LLVM IR: llvm-dis gmp_demo.bc -o gmp_demo.ll > • Trying to convert the IR to high-level C code: llc -march=c gmp_demo.ll > Though I know that llc C backend has many issues and has been removed from LLVM >=3.1, still I am desperate to make it work. T...