1 ; RUN: llvm-upgrade < %s | llvm-as | opt -anders-aa -load-vn -gcse -deadargelim | llvm-dis | grep store | not grep null
3 ; Because the 'internal' function is passed to an external function, we don't
4 ; know what the incoming values will alias. As such, we cannot do the
5 ; optimization checked by the 'arg-must-alias.llx' test.
7 declare void %external(int(int*)*)
8 %G = internal constant int* null
12 internal int %internal(int* %ARG) {
13 ;;; We *DON'T* know that ARG always points to null!
14 store int* %ARG, int** %G
19 call void %external(int(int*)* %internal)
20 %V = call int %internal(int* null)