[polly] 28adee0 - [Polly] Update polly test after SCEV changes

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 27 07:09:17 PDT 2023


Author: Nikita Popov
Date: 2023-04-27T16:09:08+02:00
New Revision: 28adee04d1fc049d0191e6168898e75fc5d4cc2d

URL: https://github.com/llvm/llvm-project/commit/28adee04d1fc049d0191e6168898e75fc5d4cc2d
DIFF: https://github.com/llvm/llvm-project/commit/28adee04d1fc049d0191e6168898e75fc5d4cc2d.diff

LOG: [Polly] Update polly test after SCEV changes

Make the phi non-trivial, so SCEV can't see through it.

Added: 
    

Modified: 
    polly/test/CodeGen/only_non_affine_error_region.ll

Removed: 
    


################################################################################
diff  --git a/polly/test/CodeGen/only_non_affine_error_region.ll b/polly/test/CodeGen/only_non_affine_error_region.ll
index 64f53bcda2c23..b2ad1c1fe3fd9 100644
--- a/polly/test/CodeGen/only_non_affine_error_region.ll
+++ b/polly/test/CodeGen/only_non_affine_error_region.ll
@@ -13,7 +13,7 @@ for.body:                                         ; preds = %entry
   br label %for.end
 
 for.end:                                          ; preds = %for.body, %entry
-  %i.2 = phi i32 [ 1, %entry ], [ 1, %for.body ]
+  %i.2 = phi i32 [ 1, %entry ], [ 2, %for.body ]
   %cmp170 = icmp eq i32 %i.2, %argc
   br i1 %cmp170, label %if.then172, label %if.end174
 


        


More information about the llvm-commits mailing list