aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/MSP430/libcalls.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/MSP430/libcalls.ll')
-rw-r--r--llvm/test/CodeGen/MSP430/libcalls.ll14
1 files changed, 14 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/MSP430/libcalls.ll b/llvm/test/CodeGen/MSP430/libcalls.ll
index 5d3755c..d1bafea 100644
--- a/llvm/test/CodeGen/MSP430/libcalls.ll
+++ b/llvm/test/CodeGen/MSP430/libcalls.ll
@@ -639,4 +639,18 @@ entry:
ret i32 %shr
}
+define i64 @test__mspabi_divull(i64 %a, i64 %b) #0 {
+; CHECK-LABEL: test__mspabi_divull:
+; CHECK: call #__mspabi_divull
+ %result = udiv i64 %a, %b
+ ret i64 %result
+}
+
+define i64 @test__mspabi_remull(i64 %a, i64 %b) #0 {
+; CHECK-LABEL: test__mspabi_remull:
+; CHECK: call #__mspabi_remull
+ %result = urem i64 %a, %b
+ ret i64 %result
+}
+
attributes #0 = { nounwind }