[InstCombine] Add a new formula for SMIN.
[oota-llvm.git] / test / Transforms / InstCombine / 2007-03-26-BadShiftMask.ll
index 0e08cb0d9d854acd01009af26afafae38a1a9047..c4070a1b1dbef1c27da5e3a6fd33c3ba500fabc4 100644 (file)
@@ -1,6 +1,7 @@
 ; PR1271
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
-; RUN:    grep 'ashr i32 %.mp137, 2'
+; RUN: opt < %s -instcombine -S | \
+; RUN:    grep "ashr exact i32 %.mp137, 2"
+
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
 target triple = "i686-pc-linux-gnu"