[llvm-dev] How to create a proper MachineMemOperand?

Will Lester via llvm-dev llvm-dev at lists.llvm.org
Mon Apr 16 01:25:21 PDT 2018


Hi all,
I met a new problem in the process of my project.
I have got an address by mmap. And I want to build a MachineInstr of
MOV64mr to move a value to the address. But it seems that the
MachinePointerInfo needs a pointer to a Value.
So can I create a MachineMemOperand directly with the address (is a long*)
? Or I need to try some other methods?
Thanks a lot,
Will
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180416/65d81a0b/attachment.html>


More information about the llvm-dev mailing list