diff --git a/test/Analysis/BasicAA/2003-06-01-AliasCrash.ll b/test/Analysis/BasicAA/2003-06-01-AliasCrash.ll new file mode 100644 index 00000000000..eba74ea0d7d --- /dev/null +++ b/test/Analysis/BasicAA/2003-06-01-AliasCrash.ll @@ -0,0 +1,11 @@ +; RUN: as < %s | opt -basicaa -aa-eval + +int %MTConcat([3 x int]* %a.1) { + %tmp.961 = getelementptr [3 x int]* %a.1, long 0, long 4 + %tmp.97 = load int* %tmp.961 + %tmp.119 = getelementptr [3 x int]* %a.1, long 1, long 0 + %tmp.120 = load int* %tmp.119 + %tmp.1541 = getelementptr [3 x int]* %a.1, long 0, long 4 + %tmp.155 = load int* %tmp.1541 + ret int 0 +} diff --git a/test/Transforms/BasicAA/2003-06-01-AliasCrash.ll b/test/Transforms/BasicAA/2003-06-01-AliasCrash.ll new file mode 100644 index 00000000000..eba74ea0d7d --- /dev/null +++ b/test/Transforms/BasicAA/2003-06-01-AliasCrash.ll @@ -0,0 +1,11 @@ +; RUN: as < %s | opt -basicaa -aa-eval + +int %MTConcat([3 x int]* %a.1) { + %tmp.961 = getelementptr [3 x int]* %a.1, long 0, long 4 + %tmp.97 = load int* %tmp.961 + %tmp.119 = getelementptr [3 x int]* %a.1, long 1, long 0 + %tmp.120 = load int* %tmp.119 + %tmp.1541 = getelementptr [3 x int]* %a.1, long 0, long 4 + %tmp.155 = load int* %tmp.1541 + ret int 0 +}