diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2006-11-18 08:06:17 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2006-11-18 08:06:17 +0000 |
| commit | e7c6fcdbf3bef74a6c790887506bb4ca0a6c56e6 (patch) | |
| tree | 8d6e4b5f47c094540637be96c9682bd8e7bbde54 /llvm/test/Regression/Analysis | |
| parent | e7cbbfcb309608cb65fbc5e5736d4b19b6ddc4f7 (diff) | |
| download | bcm5719-llvm-e7c6fcdbf3bef74a6c790887506bb4ca0a6c56e6.tar.gz bcm5719-llvm-e7c6fcdbf3bef74a6c790887506bb4ca0a6c56e6.zip | |
Fix bugs in this. What was I thinking??? :)
llvm-svn: 31848
Diffstat (limited to 'llvm/test/Regression/Analysis')
| -rw-r--r-- | llvm/test/Regression/Analysis/BasicAA/modref.ll | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/test/Regression/Analysis/BasicAA/modref.ll b/llvm/test/Regression/Analysis/BasicAA/modref.ll index acf439ff508..1cb478c8e1e 100644 --- a/llvm/test/Regression/Analysis/BasicAA/modref.ll +++ b/llvm/test/Regression/Analysis/BasicAA/modref.ll @@ -1,15 +1,15 @@ ; A very rudimentary test on AliasAnalysis::getModRefInfo. -; RUN: llvm-as < %s | opt -print-all-alias-modref-info -aa-eval -disable-output -&& +; RUN: llvm-as < %s | opt -print-all-alias-modref-info -aa-eval -disable-output && ; RUN: llvm-as < %s | opt -print-all-alias-modref-info -aa-eval -disable-output 2>&1 | not grep NoModRef int %callee() { - %X = alloca struct { int, int } - %Y = int* getelementptr struct { int, int }*, uint 1 - %Z = int load struct { int, int }* - ret %Z + %X = alloca { int, int } + %Y = getelementptr { int, int }* %X, uint 0, uint 0 + %Z = load int* %Y + ret int %Z } int %caller() { - %X = int callee(); + %X = call int %callee() + ret int %X } |

