[SystemZ] Remove sitofp(undef) from reduced test case.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 3 Jun 2019 12:58:36 +0000 (12:58 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 3 Jun 2019 12:58:36 +0000 (12:58 +0000)
Pre-commit for D62807 - which adds DAG [us]itofp(undef) --> 0 constant fold

llvm-svn: 362396

llvm/test/CodeGen/SystemZ/subregliveness-02.ll

index 8f972e1..e0e1c19 100644 (file)
@@ -7,9 +7,9 @@ target datalayout = "E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64"
 target triple = "s390x-ibm-linux"
 
 ; Function Attrs: nounwind
-define void @spec_random_load() #0 {
+define void @spec_random_load(i64 %a0) #0 {
 bb:
-  %tmp = sitofp i64 undef to float
+  %tmp = sitofp i64 %a0 to float
   %tmp1 = fmul float %tmp, 0x3E00000000000000
   %tmp2 = fpext float %tmp1 to double
   %tmp3 = fmul double %tmp2, 2.560000e+02