new testcase which crashes the inliner, thanks Bugpoint!
[oota-llvm.git] / test / ExecutionEngine / test-arith.ll
index 5e2a43ceb4e6bcf5855ee155f23cd7f03017fcd6..86512da4dc2ca31cc9d0811f6ea29e85f192ce26 100644 (file)
@@ -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
 }