brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · a0e1280 Raw
49 lines · plain
1# RUN: llc -mtriple=aarch64-none-linux-gnu -mcpu=cortex-a57 \2# RUN:     -run-pass machine-combiner -machine-combiner-inc-threshold=0 \3# RUN:     -machine-combiner-verify-pattern-order=true -verify-machineinstrs  -o - %s | FileCheck %s4---5# Test incremental depth updates succeed when triggered after the removal of6# the first instruction in a basic block.7 8# CHECK-LABEL: name: inc_update_iterator_test9name:            inc_update_iterator_test10registers:11  - { id: 0, class: fpr64 }12  - { id: 1, class: gpr32 }13  - { id: 2, class: gpr32 }14  - { id: 3, class: gpr32 }15  - { id: 4, class: gpr32 }16  - { id: 5, class: gpr32 }17  - { id: 6, class: gpr32 }18  - { id: 7, class: fpr64 }19  - { id: 8, class: fpr64 }20  - { id: 9, class: fpr64 }21body:             |22  bb.0:23    successors: %bb.1, %bb.224 25    %3 = COPY $w226    %2 = COPY $w127    %1 = COPY $w028    %0 = COPY $d029    %4 = SUBSWrr %1, %2, implicit-def $nzcv30    Bcc 13, %bb.2, implicit $nzcv31    B %bb.132 33  bb.1:34    ; CHECK: MADDWrrr %1, %2, %335    %5 = MADDWrrr %1, %2, $wzr36    %6 = ADDWrr %3, killed %537    %7 = SCVTFUWDri killed %6, implicit $fpcr38    ; CHECK: FMADDDrrr %7, %7, %0, implicit $fpcr39    %8 = contract FMULDrr %7, %7, implicit $fpcr40    %9 = contract FADDDrr %0, killed %8, implicit $fpcr41    $d0 = COPY %942    RET_ReallyLR implicit $d043 44  bb.2:45    $d0 = COPY %046    RET_ReallyLR implicit $d047 48...49