[SystemZ] Add test missing from r186148
[oota-llvm.git] / test / Transforms / LoopStrengthReduce / 2009-04-28-no-reduce-mul.ll
index f873b3d73e2cd886c4a80777e808c2f3c623f90c..002a878b7b24a9e4de4b413ecdcb8ac90362820f 100644 (file)
@@ -1,7 +1,12 @@
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | grep {mul.*%lsr.iv} | count 2
+; RUN: opt < %s -loop-reduce -S | FileCheck %s
+
 ; The multiply in bb2 must not be reduced to an add, as the sext causes the
 ; %1 argument to become negative after a while.
-; ModuleID = '<stdin>'
+
+; CHECK: sext i8
+; CHECK: mul i32
+; CHECK: store i32
+
 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-f80:128:128"
 target triple = "i386-apple-darwin9.6"
 @table = common global [32 x [256 x i32]] zeroinitializer, align 32            ; <[32 x [256 x i32]]*> [#uses=2]