[llvm-dev] Developing a pass for the backend
陳韋任 via llvm-dev
llvm-dev at lists.llvm.org
Mon Feb 5 04:45:47 PST 2018
See if this thread
2018-02-05 4:12 GMT+08:00 Pedro Lopes via llvm-dev <llvm-dev at lists.llvm.org>
> Is there a way to map a MachineInstr to the respective LLVM IR using a
> MachineFunctionPass (or something else) in my backend?
> I need to read some metadata associated with LLVM IR instructions and
> I was thinking of using some debug information (DebugLoc?) to do so.
> However, By inspecting the LLVM source code I have not been able to
> find any mapping between a MachineInstr and a LLVM IR Instruction.
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
Wei-Ren Chen (陳韋任)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev