From f45e03e20173363f51056aa726a707ad8cf779df Mon Sep 17 00:00:00 2001 From: Sanjoy Das Date: Tue, 2 Aug 2016 19:31:54 +0000 Subject: [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 --- llvm/test/Transforms/IRCE/single-access-with-preloop.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/test/Transforms/IRCE/single-access-with-preloop.ll') 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: -- cgit v1.2.3