[llvm-dev] result of load Instruction

Mohammad Norouzi via llvm-dev llvm-dev at lists.llvm.org
Thu Feb 4 09:46:03 PST 2016

Hi all,

How can i find the instruction that uses the result of a load instruction.
For example:

%16 = load i32, i32* %ptr

%add = add i32 4, %16

In this case, i would like to get the add instruction.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160204/bdef6f63/attachment.html>

More information about the llvm-dev mailing list