[LLVMdev] Get underlying object for Machine level memory operation

rahul rahul3527 at gmail.com
Thu Mar 14 04:15:25 PDT 2013


I am writing a pass that works at machine level and runs as last pass in
llc (just before converting llvm specific machine instructions into target
specific instructions)
In this pass I am trying to get underlying object for memory operations.
It turns out that due to various optimizations on machine instructions, the
memory operand in the operation is not always getelementptr (for e.g., it
can be phi node/bitcast/inttoptr instruction)
Can someone suggest best way to get the underlying object??

Rahul Patil.

View this message in context: http://llvm.1065342.n5.nabble.com/Get-underlying-object-for-Machine-level-memory-operation-tp55970.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130314/417ec459/attachment.html>

More information about the llvm-dev mailing list