search for: llvmrunfunctionasmain

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

2012 Sep 27
0
[LLVMdev] Possible bug or misunderstanding of feature LLVMConstIntOfString
...ionPass(rPassMgr); LLVMRunPassManager(rPassMgr, modCEx); printf("\n[llvmPrintf# %s] Dumping OPTIMIZED LLVM generated Code\n", moduleName); LLVMDumpModule(modCEx); // printf Executing: printf("\n[llvmPrintf# %s] Executing generated Code\n", moduleName); LLVMRunFunctionAsMain(engExe, vFnMain, 0, NULL, NULL); printf("\n[llvmPrintf# %s] Finished executing generated Code\n", moduleName); LLVMDisposeBuilder(bldr); LLVMDisposeExecutionEngine(engExe); } Regards Sunny Narula -------------- next part -------------- An HTML attachment was scrubbed... URL...
2016 Aug 10
2
crash JIT with AVX intrinsics
Hi all, I have some old code using the JIT via the LLVM-3.0-C API. I want to upgrade to newer versions of LLVM. As a simple example I wrote a C program that creates the following function and calls it: ; ModuleID = 'round-avx.bc' target triple = "x86_64-pc-linux-gnu" define void @round(<8 x float>*) { _L1: %1 = load <8 x float>* %0 %2 = call <8 x