[LLVMdev] Explicit Dependence in LLVM IR
kapil anand
kapilanand2 at gmail.com
Sun Mar 14 21:09:14 PDT 2010
Hi,
I have a question regarding addition of explicit dependencies between two
things in LLVM IR. Suppose I have following code:
%a = alloca i32
......
store 10, i32* %a
call foo()
Is there any way of adding an explicit dependence between the call to foo
and the store? Can I add some dependence to represent that this call might
access the previous store and any pass should not optimize it away.
Thanks
--Kapil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100315/ec1209a3/attachment.html>
More information about the llvm-dev
mailing list