[llvm] r362396 - [SystemZ] Remove sitofp(undef) from reduced test case.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 3 05:58:36 PDT 2019


Author: rksimon
Date: Mon Jun  3 05:58:36 2019
New Revision: 362396

URL: http://llvm.org/viewvc/llvm-project?rev=362396&view=rev
Log:
[SystemZ] Remove sitofp(undef) from reduced test case.

Pre-commit for D62807 - which adds DAG [us]itofp(undef) --> 0 constant fold

Modified:
    llvm/trunk/test/CodeGen/SystemZ/subregliveness-02.ll

Modified: llvm/trunk/test/CodeGen/SystemZ/subregliveness-02.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/SystemZ/subregliveness-02.ll?rev=362396&r1=362395&r2=362396&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/SystemZ/subregliveness-02.ll (original)
+++ llvm/trunk/test/CodeGen/SystemZ/subregliveness-02.ll Mon Jun  3 05:58:36 2019
@@ -7,9 +7,9 @@ target datalayout = "E-m:e-i1:8:16-i8:8:
 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




More information about the llvm-commits mailing list