aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/ExecutionEngine/test-arith.ll9
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
}