]> granicus.if.org Git - llvm/commitdiff
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362396 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/SystemZ/subregliveness-02.ll

index 8f972e18a66470fb3ae8ef0908ee3dc54e849c23..e0e1c197e69d72d68c6677bb0bbdcdc65f628850 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