summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiddharth Bhat <siddu.druid@gmail.com>2017-05-12 11:34:51 +0000
committerSiddharth Bhat <siddu.druid@gmail.com>2017-05-12 11:34:51 +0000
commitf16db04cd5861a60d55e02551ddf5c5733142ef7 (patch)
tree1c9401a9695aaadc5071cf5c76574c1c877492c9
parentd09472e7216c2e9a845a919061089f6aa12e2cf3 (diff)
downloadbcm5719-llvm-f16db04cd5861a60d55e02551ddf5c5733142ef7.tar.gz
bcm5719-llvm-f16db04cd5861a60d55e02551ddf5c5733142ef7.zip
[FIX] Fix regression caused by c29f4ed, testcase matches output
- Commit changed codegen for induction variables - Updated testcase llvm-svn: 302891
-rw-r--r--polly/test/GPGPU/host-control-flow.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/test/GPGPU/host-control-flow.ll b/polly/test/GPGPU/host-control-flow.ll
index bc66dc0d787..e1258b707c7 100644
--- a/polly/test/GPGPU/host-control-flow.ll
+++ b/polly/test/GPGPU/host-control-flow.ll
@@ -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)
OpenPOWER on IntegriCloud