[LLVMdev] Get underlying object for Machine level memory operation
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
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??
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...
More information about the llvm-dev