[LLVMdev] AliasAnalysis Doubt.

Rohith Goparaju rgoparaj at umail.iu.edu
Sun Sep 19 21:25:09 PDT 2010


 Hi All,

  I'm trying to use the inbuilt AliasAnalysis function for one of my
projects. Im trying to find out if a pair of load and store alias each
other. It would be helpful if somebody could point out the right way to do
this.

 Example :   %13 = load i32* %12, align 4
                   store i32 30, i32* %4, align 4

                  So in the above example i'm trying to find out if the
values %4 and %13 alias. (Both these values are getelementptr
instructions.).

  Thanks,
  Rohith.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100920/8fbd0bfe/attachment.html>


More information about the llvm-dev mailing list