summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2016-08-13 23:36:40 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2016-08-13 23:36:40 +0000
commit1b1272f515e3b359b44d71dbf41634ce464302d3 (patch)
tree71137cadbabedcca0aab95247c427e6f2f64342a /llvm
parent2a2f14d7abc76de65cb7c8d4599e69392c3bca7d (diff)
downloadbcm5719-llvm-1b1272f515e3b359b44d71dbf41634ce464302d3.tar.gz
bcm5719-llvm-1b1272f515e3b359b44d71dbf41634ce464302d3.zip
[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
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/Transforms/IRCE/unhandled.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/IRCE/unhandled.ll b/llvm/test/Transforms/IRCE/unhandled.ll
index 668b318eea0..4c5c7c0a25a 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
OpenPOWER on IntegriCloud