add a new testcase
authorChris Lattner <sabre@nondot.org>
Sun, 1 May 2005 04:24:15 +0000 (04:24 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 1 May 2005 04:24:15 +0000 (04:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21644 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/load.ll

index b46b4b4a19b4a098c6c930694905e1c4201fa6fb..3c8a693dc78048c6b024177e2cce8806e0f3eb67 100644 (file)
@@ -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
+}