From 1b1272f515e3b359b44d71dbf41634ce464302d3 Mon Sep 17 00:00:00 2001 From: Sanjoy Das Date: Sat, 13 Aug 2016 23:36:40 +0000 Subject: [PATCH] [IRCE] Fix test case; NFC The (negative) test case is supposed to check that IRCE does not muck with range checks it cannot handle, not that it does the right thing in the absence of profiling information. llvm-svn: 278612 --- llvm/test/Transforms/IRCE/unhandled.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/test/Transforms/IRCE/unhandled.ll b/llvm/test/Transforms/IRCE/unhandled.ll index 668b318..4c5c7c0 100644 --- a/llvm/test/Transforms/IRCE/unhandled.ll +++ b/llvm/test/Transforms/IRCE/unhandled.ll @@ -20,7 +20,7 @@ define void @general_affine_expressions(i32 *%arr, i32 *%a_len_ptr, i32 %n, %abc.high = icmp slt i32 %array.idx, %len %abc.low = icmp sge i32 %array.idx, 0 %abc = and i1 %abc.low, %abc.high - br i1 %abc, label %in.bounds, label %out.of.bounds + br i1 %abc, label %in.bounds, label %out.of.bounds, !prof !1 in.bounds: %addr = getelementptr i32, i32* %arr, i32 %array.idx -- 2.7.4