1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=aarch64-none-linux-gnu -global-isel -global-isel-abort=0 | FileCheck %s
4 define i32 @f(i64 %0) {
7 ; CHECK-NEXT: mov w8, #10
8 ; CHECK-NEXT: mov w9, w0
9 ; CHECK-NEXT: udiv x10, x9, x8
10 ; CHECK-NEXT: msub x0, x10, x8, x9
11 ; CHECK-NEXT: // kill: def $w0 killed $w0 killed $x0
13 %2 = trunc i64 %0 to i32
15 %4 = zext i32 %3 to i64
17 %6 = trunc i64 %5 to i32