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:
6442a3e
)
Add test for longs
author
Chris Lattner
<sabre@nondot.org>
Mon, 13 Jan 2003 00:57:04 +0000
(
00:57
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 13 Jan 2003 00:57:04 +0000
(
00:57
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5246
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/ExecutionEngine/test-loadstore.ll
patch
|
blob
|
history
diff --git
a/test/ExecutionEngine/test-loadstore.ll
b/test/ExecutionEngine/test-loadstore.ll
index 1685c78142fffce1bbfa790f63cda5c011207a7f..35a2c5fcb151ac074d55a5ba5982a8e8a2fd9920 100644
(file)
--- a/
test/ExecutionEngine/test-loadstore.ll
+++ b/
test/ExecutionEngine/test-loadstore.ll
@@
-1,5
+1,5
@@
-void %test(sbyte* %P, short* %P, int* %P) {
+void %test(sbyte* %P, short* %P, int* %P
, long* %P
) {
%V = load sbyte* %P
store sbyte %V, sbyte* %P
@@
-8,6
+8,10
@@
void %test(sbyte* %P, short* %P, int* %P) {
%V = load int* %P
store int %V, int* %P
+
+ %V = load long* %P
+ store long %V, long* %P
+
ret void
}
@@
-22,7
+26,8
@@
int %main() {
%A = alloca sbyte
%B = alloca short
%C = alloca int
- call void %test(sbyte* %A, short* %B, int* %C)
+ %D = alloca long
+ call void %test(sbyte* %A, short* %B, int* %C, long* %D)
call uint %varalloca(uint 7)
ret int 0