[polly] r248682 - [CodeGen test] Replace undef values with some defined constants
Tobias Grosser via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 27 04:34:54 PDT 2015
Author: grosser
Date: Sun Sep 27 06:34:53 2015
New Revision: 248682
URL: http://llvm.org/viewvc/llvm-project?rev=248682&view=rev
Log:
[CodeGen test] Replace undef values with some defined constants
Otherwise, part of the computation will be just simplified away when we add
instruction simplification support to the RegionGenerator.
Modified:
polly/trunk/test/Isl/CodeGen/non-affine-phi-node-expansion-2.ll
Modified: polly/trunk/test/Isl/CodeGen/non-affine-phi-node-expansion-2.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/CodeGen/non-affine-phi-node-expansion-2.ll?rev=248682&r1=248681&r2=248682&view=diff
==============================================================================
--- polly/trunk/test/Isl/CodeGen/non-affine-phi-node-expansion-2.ll (original)
+++ polly/trunk/test/Isl/CodeGen/non-affine-phi-node-expansion-2.ll Sun Sep 27 06:34:53 2015
@@ -7,8 +7,8 @@ target datalayout = "e-m:e-i64:64-f80:12
; CHECK: %polly.subregion.iv = phi i32 [ 0, %polly.stmt.bb3.entry ]
; CHECK: %polly.tmp = phi i64 [ %tmp.phiops.reload, %polly.stmt.bb3.entry ]
; CHECK: %tmp6_p_scalar_ = load double, double* %arg11, !alias.scope !0, !noalias !2
-; CHECK: %p_tmp7 = fadd double undef, %tmp6_p_scalar_
-; CHECK: %p_tmp8 = fcmp olt double undef, %p_tmp7
+; CHECK: %p_tmp7 = fadd double 1.000000e+00, %tmp6_p_scalar_
+; CHECK: %p_tmp8 = fcmp olt double 1.400000e+01, %p_tmp7
; CHECK: %polly.subregion.iv.inc = add i32 %polly.subregion.iv, 1
; CHECK: br i1 %p_tmp8, label %polly.stmt.bb9, label %polly.stmt.bb10
@@ -33,8 +33,8 @@ bb3:
%tmp4 = icmp sgt i32 %arg, 0
%tmp5 = getelementptr inbounds [1024 x double], [1024 x double]* %arg1, i64 0, i64 0
%tmp6 = load double, double* %tmp5
- %tmp7 = fadd double undef, %tmp6
- %tmp8 = fcmp olt double undef, %tmp7
+ %tmp7 = fadd double 1.0, %tmp6
+ %tmp8 = fcmp olt double 14.0, %tmp7
br i1 %tmp8, label %bb9, label %bb10
bb9: ; preds = %bb3
More information about the llvm-commits
mailing list