[llvm] r278612 - [IRCE] Fix test case; NFC

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 13 16:36:40 PDT 2016


Author: sanjoy
Date: Sat Aug 13 18:36:40 2016
New Revision: 278612

URL: http://llvm.org/viewvc/llvm-project?rev=278612&view=rev
Log:
[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.

Modified:
    llvm/trunk/test/Transforms/IRCE/unhandled.ll

Modified: llvm/trunk/test/Transforms/IRCE/unhandled.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/IRCE/unhandled.ll?rev=278612&r1=278611&r2=278612&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/IRCE/unhandled.ll (original)
+++ llvm/trunk/test/Transforms/IRCE/unhandled.ll Sat Aug 13 18:36:40 2016
@@ -20,7 +20,7 @@ define void @general_affine_expressions(
   %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




More information about the llvm-commits mailing list