Don't refuse to transform constexpr(call(arg, ...)) to call(constexpr(arg), ...)...
[oota-llvm.git] / test / Analysis / ScalarEvolution / 2008-12-11-SMaxOverflow.ll
index 995a1d95a8a89bfaea4e37e231cf2e87ccb9febc..12254e37dcc77c29746a39e7cd54825e9f8337a2 100644 (file)
@@ -1,5 +1,7 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep {0 smax}
-; XFAIL: *
+; RUN: opt < %s -analyze -scalar-evolution | FileCheck %s
+
+; CHECK: @f
+; CHECK: Loop %bb16.preheader: backedge-taken count is (-1 + %c.idx.val)
 
 define i32 @f(i32 %c.idx.val) {