summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/IRCE/single-access-with-preloop.ll
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2016-08-02 19:31:54 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2016-08-02 19:31:54 +0000
commitf45e03e20173363f51056aa726a707ad8cf779df (patch)
treeb66e7b0f1290aae2f58136edbed0f68d5b7491b7 /llvm/test/Transforms/IRCE/single-access-with-preloop.ll
parent8a482b33fed526b17a63e4539ca3036a89aea579 (diff)
downloadbcm5719-llvm-f45e03e20173363f51056aa726a707ad8cf779df.tar.gz
bcm5719-llvm-f45e03e20173363f51056aa726a707ad8cf779df.zip
[IRCE] Preserve DomTree and LCSSA
This changes IRCE to "preserve" LCSSA and DomTree by recomputing them. It still does not preserve LoopSimplify. llvm-svn: 277505
Diffstat (limited to 'llvm/test/Transforms/IRCE/single-access-with-preloop.ll')
-rw-r--r--llvm/test/Transforms/IRCE/single-access-with-preloop.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/IRCE/single-access-with-preloop.ll b/llvm/test/Transforms/IRCE/single-access-with-preloop.ll
index f80c4634791..204c24caa7e 100644
--- a/llvm/test/Transforms/IRCE/single-access-with-preloop.ll
+++ b/llvm/test/Transforms/IRCE/single-access-with-preloop.ll
@@ -53,7 +53,7 @@ define void @single_access_with_preloop(i32 *%arr, i32 *%a_len_ptr, i32 %n, i32
; CHECK: br i1 [[continue_mainloop_cond]], label %loop, label %main.exit.selector
; CHECK: main.exit.selector:
-; CHECK: [[mainloop_its_left:[^ ]+]] = icmp slt i32 %idx.next, %n
+; CHECK: [[mainloop_its_left:[^ ]+]] = icmp slt i32 %idx.next.lcssa, %n
; CHECK: br i1 [[mainloop_its_left]], label %main.pseudo.exit, label %exit.loopexit
; CHECK: in.bounds.preloop:
OpenPOWER on IntegriCloud