aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-05-27 17:43:33 +0000
committerChris Lattner <sabre@nondot.org>2004-05-27 17:43:33 +0000
commit8152f5f41daee3d50653d545d5a38f8e6334510f (patch)
treedb52cbe1ef6d81534cb3b69b654188231e2e3bac /test/Transforms
parente1368aef23e688cbf8f8ff455ce2a3680e24a285 (diff)
downloadexternal_llvm-8152f5f41daee3d50653d545d5a38f8e6334510f.zip
external_llvm-8152f5f41daee3d50653d545d5a38f8e6334510f.tar.gz
external_llvm-8152f5f41daee3d50653d545d5a38f8e6334510f.tar.bz2
Add back a test I accidentally removed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13835 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-rw-r--r--test/Transforms/InstCombine/load.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/load.ll b/test/Transforms/InstCombine/load.ll
index 993f7c1..870c62d 100644
--- a/test/Transforms/InstCombine/load.ll
+++ b/test/Transforms/InstCombine/load.ll
@@ -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