bolt/deps/llvm-18.1.8/llvm/test/CodeGen/PowerPC/idiv_large.ll

18 lines
470 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc -mtriple=powerpc-- < %s | FileCheck %s
; RUN: llc -mtriple=powerpc64-- < %s | FileCheck %s
define i128 @udiv_i128(i128 %x, i128 %y) nounwind {
; CHECK-LABEL: udiv_i128:
; CHECK: bl __udivti3
%res = udiv i128 %x, %y
ret i128 %res
}
define i129 @udiv_i129(i129 %x, i129 %y) nounwind {
; CHECK-LABEL: udiv_i129:
; CHECK-NOT: bl __
%res = udiv i129 %x, %y
ret i129 %res
}