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.).