1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/Regression/Analysis/BasicAA/2004-07-28-MustAliasbug.llx
2004-07-29 01:34:10 +00:00

11 lines
288 B
Plaintext

; RUN: llvm-as < %s | opt -dse | llvm-dis | grep 'store int 0'
void %test({int,int }* %P) {
%Q = getelementptr {int,int}* %P, int 1
%X = getelementptr {int,int}* %Q, int 0, uint 1
%Y = getelementptr {int,int}* %Q, int 1, uint 1
store int 0, int* %X
store int 1, int* %Y
ret void
}