llvm/test/CodeGen/PowerPC/idiv_large.ll
raw| 1 | ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py |
| 2 | ; RUN: llc -mtriple=powerpc-- < %s | FileCheck %s |
| 3 | ; RUN: llc -mtriple=powerpc64-- < %s | FileCheck %s |
| 4 | |
| 5 | define i128 @udiv_i128(i128 %x, i128 %y) nounwind { |
| 6 | ; CHECK-LABEL: udiv_i128: |
| 7 | ; CHECK: bl __udivti3 |
| 8 | %res = udiv i128 %x, %y |
| 9 | ret i128 %res |
| 10 | } |
| 11 | |
| 12 | define i129 @udiv_i129(i129 %x, i129 %y) nounwind { |
| 13 | ; CHECK-LABEL: udiv_i129: |
| 14 | ; CHECK-NOT: bl __ |
| 15 | %res = udiv i129 %x, %y |
| 16 | ret i129 %res |
| 17 | } |