projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1368ae
)
Add back a test I accidentally removed
author
Chris Lattner
<sabre@nondot.org>
Thu, 27 May 2004 17:43:33 +0000
(17:43 +0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/load.ll
b/test/Transforms/InstCombine/load.ll
index 993f7c1a3f65fa285cae62359b8813dc5e73c386..870c62d4ff9c45f3d14762f61130fc92a9a77f55 100644
(file)
--- 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