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:
ce67547
)
Test argument passing
author
Chris Lattner
<sabre@nondot.org>
Sat, 28 Dec 2002 20:00:47 +0000
(20:00 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 28 Dec 2002 20:00:47 +0000
(20:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5159
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/ExecutionEngine/test-fp.ll
patch
|
blob
|
history
diff --git
a/test/ExecutionEngine/test-fp.ll
b/test/ExecutionEngine/test-fp.ll
index 7e607717cfb33ebf25826e675e9450d7884982ba..cbb5ef6245c8ee0104dfceece5ff6a1e18e3252e 100644
(file)
--- a/
test/ExecutionEngine/test-fp.ll
+++ b/
test/ExecutionEngine/test-fp.ll
@@
-1,17
+1,18
@@
-double %test(double* %DP) {
+double %test(double* %DP
, double %Arg
) {
%D = load double* %DP
%V = add double %D, 1.0
%W = sub double %V, %V
%X = mul double %W, %W
%Y = div double %X, %X
%Z = rem double %Y, %Y
- store double %Z, double* %DP
+ %Q = add double %Z, %Arg
+ store double %Q, double* %DP
ret double %Z
}
int %main() {
%X = alloca double
- call double %test(double* %X)
+ call double %test(double* %X
, double 1.0
)
ret int 0
}