summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-28 22:31:37 +0000
committerChris Lattner <sabre@nondot.org>2003-06-28 22:31:37 +0000
commitab1a5251634fd0ddba4a0332df31eeba352cdd44 (patch)
tree44672db3893f45e86db0c8c8d011e318c581e30c /test
parentcf36d1c6d12480b66183511e6e4e0f13670657ad (diff)
downloadllvm-ab1a5251634fd0ddba4a0332df31eeba352cdd44.tar.gz
llvm-ab1a5251634fd0ddba4a0332df31eeba352cdd44.tar.bz2
llvm-ab1a5251634fd0ddba4a0332df31eeba352cdd44.tar.xz
Fix testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6952 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/InstCombine/mul.ll7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/Transforms/InstCombine/mul.ll b/test/Transforms/InstCombine/mul.ll
index 5144cc28d1..3ffcc83201 100644
--- a/test/Transforms/InstCombine/mul.ll
+++ b/test/Transforms/InstCombine/mul.ll
@@ -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
}