Fix testcase
authorChris Lattner <sabre@nondot.org>
Sat, 28 Jun 2003 22:31:37 +0000 (22:31 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 28 Jun 2003 22:31:37 +0000 (22:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6952 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/mul.ll

index 5144cc28d1c36ca130d069fd7ac9c9a67137303c..3ffcc832015419ac64cf2050a39346b023cfbb85 100644 (file)
@@ -1,10 +1,7 @@
 ; This test makes sure that mul instructions are properly eliminated.
 ;
 
-; RUN: if as < %s | opt -instcombine | dis | grep mul
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
+; RUN: as < %s | opt -instcombine | dis | grep-not mul
 
 implementation
 
@@ -35,7 +32,7 @@ int %test5(int %A) {
 
 ubyte %test6(ubyte %A) {
        %B = mul ubyte %A, 8
-       %C = mul ubyte %B, 13
+       %C = mul ubyte %B, 8
        ret ubyte %C
 }