From: Sanjoy Das Date: Sat, 13 Aug 2016 23:36:40 +0000 (+0000) Subject: [IRCE] Fix test case; NFC X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1b1272f515e3b359b44d71dbf41634ce464302d3;p=platform%2Fupstream%2Fllvm.git [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 --- 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