[LLVMdev] Help with Values sign

Óscar Fuentes ofv at wanadoo.es
Sun May 27 12:46:25 PDT 2012


Santos Merino <santitox at hotmail.es> writes:

> When the ExecutionEngine finishs the JIT execution it says: 
>
>   Result: 16777216

There is nothing wrong with the IR code you initially posted. If you are
obtaining that result, it must be caused by other factor. My guess is
that you are messing up with the stack by calling the function the wrong
way or by obtaining the result from the JIT engine inappropriately.

Please show a test case that is complete and minimal and that
demonstrates your problem.




More information about the llvm-dev mailing list