diff options
author | Chris Lattner <sabre@nondot.org> | 2003-01-13 00:56:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-01-13 00:56:27 +0000 |
commit | 376b12707aad213304a872507a6fb6d9e687a181 (patch) | |
tree | cc4d6aec6dedbde93c836b5f526d7eb04957deaf | |
parent | 3fa61eb199e642d18b9bba837225b16e1d9ecbb2 (diff) | |
download | external_llvm-376b12707aad213304a872507a6fb6d9e687a181.zip external_llvm-376b12707aad213304a872507a6fb6d9e687a181.tar.gz external_llvm-376b12707aad213304a872507a6fb6d9e687a181.tar.bz2 |
Test long support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5243 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/ExecutionEngine/test-arith.ll | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/ExecutionEngine/test-arith.ll b/test/ExecutionEngine/test-arith.ll index 5e2a43c..86512da 100644 --- a/test/ExecutionEngine/test-arith.ll +++ b/test/ExecutionEngine/test-arith.ll @@ -1,4 +1,3 @@ - int %main() { %A = add sbyte 0, 12 %B = sub sbyte %A, 1 @@ -24,5 +23,13 @@ int %main() { %F = div uint 5, 6 %G = rem uint 6, 5 + %A = add long 0, 12 + %B = sub long %A, 1 + %C = mul long %B, %B + %D = div long %C, %C + %E = rem long %D, %D + %F = div ulong 5, 6 + %G = rem ulong 6, 5 + ret int 0 } |