brintos

brintos / llvm-project-archived public Read only

0
0
Text · 718 B · a373004 Raw
22 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=aarch64-none-linux-gnu -global-isel -global-isel-abort=0 | FileCheck %s3 4define i32 @f(i64 %0) {5; CHECK-LABEL: f:6; CHECK:       // %bb.0:7; CHECK-NEXT:    mov x8, #-7378697629483820647 // =0x99999999999999998; CHECK-NEXT:    mov w9, w09; CHECK-NEXT:    mov w10, #10 // =0xa10; CHECK-NEXT:    eor x8, x8, #0x800000000000000311; CHECK-NEXT:    umulh x8, x9, x812; CHECK-NEXT:    umsubl x0, w8, w10, x913; CHECK-NEXT:    // kill: def $w0 killed $w0 killed $x014; CHECK-NEXT:    ret15  %2 = trunc i64 %0 to i3216  %3 = freeze i32 %217  %4 = zext i32 %3 to i6418  %5 = urem i64 %4, 1019  %6 = trunc i64 %5 to i3220  ret i32 %621}22