brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.4 KiB · 2605040 Raw
56 lines · plain
1# RUN: llc -mtriple arm-- -mattr=+neon -run-pass=legalizer %s -o - | FileCheck %s2# RUN: llc -mtriple thumb-- -mattr=+v6t2,+neon -run-pass=legalizer %s -o - | FileCheck %s3--- |4  define void @test_add_s64() { ret void }5 6  define void @test_sub_s64() { ret void }7...8---9name:            test_add_s6410# CHECK-LABEL: name: test_add_s6411legalized:       false12# CHECK: legalized: true13regBankSelected: false14selected:        false15tracksRegLiveness: true16registers:17  - { id: 0, class: _ }18  - { id: 1, class: _ }19  - { id: 2, class: _ }20body:             |21  bb.0:22    liveins: $d0, $d123 24    %0(s64) = COPY $d025    %1(s64) = COPY $d126    %2(s64) = G_ADD %0, %127    ; G_ADD with s64 is legal, so we should find it unchanged in the output28    ; CHECK: {{%[0-9]+}}:_(s64) = G_ADD {{%[0-9]+, %[0-9]+}}29    $d0 = COPY %2(s64)30    BX_RET 14, $noreg, implicit $d031...32---33name:            test_sub_s6434# CHECK-LABEL: name: test_sub_s6435legalized:       false36# CHECK: legalized: true37regBankSelected: false38selected:        false39tracksRegLiveness: true40registers:41  - { id: 0, class: _ }42  - { id: 1, class: _ }43  - { id: 2, class: _ }44body:             |45  bb.0:46    liveins: $d0, $d147 48    %0(s64) = COPY $d049    %1(s64) = COPY $d150    %2(s64) = G_SUB %0, %151    ; G_SUB with s64 is legal, so we should find it unchanged in the output52    ; CHECK: {{%[0-9]+}}:_(s64) = G_SUB {{%[0-9]+, %[0-9]+}}53    $d0 = COPY %2(s64)54    BX_RET 14, $noreg, implicit $d055...56