[polly] r302891 - [FIX] Fix regression caused by c29f4ed, testcase matches output

Siddharth Bhat via llvm-commits llvm-commits at lists.llvm.org
Fri May 12 04:34:52 PDT 2017


Author: bollu
Date: Fri May 12 06:34:51 2017
New Revision: 302891

URL: http://llvm.org/viewvc/llvm-project?rev=302891&view=rev
Log:
[FIX] Fix regression caused by c29f4ed, testcase matches output

- Commit changed codegen for induction variables
- Updated testcase

Modified:
    polly/trunk/test/GPGPU/host-control-flow.ll

Modified: polly/trunk/test/GPGPU/host-control-flow.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/GPGPU/host-control-flow.ll?rev=302891&r1=302890&r2=302891&view=diff
==============================================================================
--- polly/trunk/test/GPGPU/host-control-flow.ll (original)
+++ polly/trunk/test/GPGPU/host-control-flow.ll Fri May 12 06:34:51 2017
@@ -39,7 +39,7 @@
 ; ...
 ; IR: call void @polly_freeKernel
 ; IR-NEXT:   %polly.indvar_next = add nsw i64 %polly.indvar, 1
-; IR-NEXT:   %polly.loop_cond = icmp sle i64 %polly.indvar, 98
+; IR-NEXT:   %polly.loop_cond = icmp sle i64 %polly.indvar_next, 99
 ; IR-NEXT:   br i1 %polly.loop_cond, label %polly.loop_header, label %polly.loop_exit
 
 ; KERNEL-IR: define ptx_kernel void @kernel_0(i8 addrspace(1)* %MemRef_A, i64 %c0)




More information about the llvm-commits mailing list