summaryrefslogtreecommitdiff
path: root/test/ExecutionEngine/test-arith.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-12-13 05:51:32 +0000
committerChris Lattner <sabre@nondot.org>2002-12-13 05:51:32 +0000
commitbfbed6dbb2118899d39e7c386ef43b44b017a671 (patch)
tree1e84bcb5e79c1af72c4931ebcd8428d51cd4e46c /test/ExecutionEngine/test-arith.ll
parent297372c523817631df26e76024642008184a3f67 (diff)
downloadllvm-bfbed6dbb2118899d39e7c386ef43b44b017a671.tar.gz
llvm-bfbed6dbb2118899d39e7c386ef43b44b017a671.tar.bz2
llvm-bfbed6dbb2118899d39e7c386ef43b44b017a671.tar.xz
Stop sucking
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4992 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ExecutionEngine/test-arith.ll')
-rw-r--r--test/ExecutionEngine/test-arith.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ExecutionEngine/test-arith.ll b/test/ExecutionEngine/test-arith.ll
index 3e6e27cd36..5e2a43ceb4 100644
--- a/test/ExecutionEngine/test-arith.ll
+++ b/test/ExecutionEngine/test-arith.ll
@@ -1,7 +1,7 @@
int %main() {
%A = add sbyte 0, 12
- %B = sub sbyte %A, %A
+ %B = sub sbyte %A, 1
%C = mul sbyte %B, %B
%D = div sbyte %C, %C
%E = rem sbyte %D, %D
@@ -9,7 +9,7 @@ int %main() {
%G = rem ubyte 6, 5
%A = add short 0, 12
- %B = sub short %A, %A
+ %B = sub short %A, 1
%C = mul short %B, %B
%D = div short %C, %C
%E = rem short %D, %D
@@ -17,7 +17,7 @@ int %main() {
%G = rem uint 6, 5
%A = add int 0, 12
- %B = sub int %A, %A
+ %B = sub int %A, 1
%C = mul int %B, %B
%D = div int %C, %C
%E = rem int %D, %D