[SystemZ] Add test missing from r186148
[oota-llvm.git] / test / Transforms / LoopStrengthReduce / 2009-04-28-no-reduce-mul.ll
index e1c9642ce8186ca4d8fd6d5fb6fee8016fb02867..002a878b7b24a9e4de4b413ecdcb8ac90362820f 100644 (file)
@@ -1,8 +1,12 @@
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis \
-; RUN:   | grep {getelementptr.*%lsr.iv.*%lsr.iv.*<i32\\*>}
+; 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]