Add back a test I accidentally removed
authorChris Lattner <sabre@nondot.org>
Thu, 27 May 2004 17:43:33 +0000 (17:43 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 27 May 2004 17:43:33 +0000 (17:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13835 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/load.ll

index 993f7c1a3f65fa285cae62359b8813dc5e73c386..870c62d4ff9c45f3d14762f61130fc92a9a77f55 100644 (file)
@@ -8,6 +8,11 @@
                                      { int, float } { int 37, float 1.2312 } ]
 %Z = constant [2 x { int, float }] zeroinitializer
 
+int %test1() {
+       %B = load int* %X
+       ret int %B
+}
+
 float %test2() {
        %A = getelementptr [2 x { int, float}]* %Y, long 0, long 1, ubyte 1
        %B = load float* %A