[LLVMdev] Problem in X86 backend

Rinaldini Julien julien.rinaldini at heig-vd.ch
Mon Oct 27 02:44:29 PDT 2014


Hi,


I'm having some trouble wirting an instruction in the X86 backend.


I made a new intrinsic and I wrote a custom inserter for my intrinsic in the X86 backend.


Everything works fine, except for one instruction that I can't find how to write.


I want to add this instruction in one of my machine basic block: mov [rdi], 0

How can I achieve that with the LLVM api? I tried several stuff, but none works :(


Cheers




More information about the llvm-dev mailing list