brintos

brintos / llvm-project-archived public Read only

0
0
Text · 847 B · 0743773 Raw
30 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 42; RUN: llc < %s -mtriple=aarch64 | FileCheck %s3 4define i32 @f(ptr %arg, i41 %arg1, ptr %arg2) {5; CHECK-LABEL: f:6; CHECK:       // %bb.0: // %bb7; CHECK-NEXT:    and w9, w1, #0x18; CHECK-NEXT:    mov w10, #1 // =0x19; CHECK-NEXT:    mov x8, x010; CHECK-NEXT:    cmp w9, #111; CHECK-NEXT:    mov w0, wzr12; CHECK-NEXT:    adc x9, xzr, x1013; CHECK-NEXT:    str x9, [x2]14; CHECK-NEXT:    str xzr, [x8]15; CHECK-NEXT:    ret16bb:17  %new0 = and i41 %arg1, 118  %last = trunc i41 %new0 to i119  %i = add i64 0, 120  %i3 = zext i1 %last to i6421  %i4 = add i64 %i, %i322  %i5 = icmp ult i64 %i, 023  %i6 = icmp ult i64 %i4, %i24  %i7 = and i1 %i5, %i625  %i8 = zext i1 %i7 to i6426  store i64 %i4, ptr %arg2, align 827  store i64 %i8, ptr %arg, align 828  ret i32 029}30