Make sure the value passed to test function is initialized.
authorReid Spencer <rspencer@reidspencer.com>
Thu, 1 Feb 2007 21:58:46 +0000 (21:58 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 1 Feb 2007 21:58:46 +0000 (21:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33764 91177308-0d34-0410-b5e6-96231b3b80d8

test/ExecutionEngine/test-fp.ll

index 8d8dae8def067aa13f859d26de2b21f18bb9bb58..1ee29b5421ec9d19780c6fc4d639c02938e8ede0 100644 (file)
@@ -18,6 +18,7 @@ double %test(double* %DP, double %Arg) {
 
 int %main() { 
   %X = alloca double
+  store double 0.0, double* %X
   call double %test(double* %X, double 2.0)
   ret int 0 
 }