[LLVMdev] Lowering x64bit LLVM IR to x86bit LLVM IR

Sandeep Kumar Singh deepdondo007 at gmail.com
Thu Dec 4 19:47:56 PST 2014


I need some help,
As per my requirement, I am trying to lower down the x86_64bit binary LLVM
IR to x86 LLVM IR.
Instruction of x86_64 binary are as follows,
mov rax, 1122334455667788
mov rax, 8877665544332211
To lower down the same in x86, I need to split 'rax' register into
'rax_lower' and 'rax_higher'.
Can anybody please give me some pointer to do the same or any tool with
option to generate the
same type of LLVM IR.

Any help will be highly appreciated.

Thanks and Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141205/4b20fb29/attachment.html>

More information about the llvm-dev mailing list