diff options
author | Chris Lattner <sabre@nondot.org> | 2005-05-01 04:24:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-05-01 04:24:15 +0000 |
commit | 45c2bdd2f9101a1719a59e2ef5cfe85172e5eaab (patch) | |
tree | 0bc225ab13ee6f284b9b7e0f528d94b4d3f336c1 /test/Transforms/InstCombine/load.ll | |
parent | 874abe50aca1b5951f9ce045258b9cff197f3bf7 (diff) | |
download | external_llvm-45c2bdd2f9101a1719a59e2ef5cfe85172e5eaab.zip external_llvm-45c2bdd2f9101a1719a59e2ef5cfe85172e5eaab.tar.gz external_llvm-45c2bdd2f9101a1719a59e2ef5cfe85172e5eaab.tar.bz2 |
add a new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21644 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/load.ll')
-rw-r--r-- | test/Transforms/InstCombine/load.ll | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/load.ll b/test/Transforms/InstCombine/load.ll index b46b4b4..3c8a693 100644 --- a/test/Transforms/InstCombine/load.ll +++ b/test/Transforms/InstCombine/load.ll @@ -54,3 +54,8 @@ cond_continue.i: ret int %tmp.3 } +int %test7(int %X) { + %V = getelementptr int* null, int %X + %R = load int* %V + ret int %R +} |