brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.8 KiB · 99ac3d4 Raw
65 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -mtriple=x86_64-linux-gnu -mattr=+avx512f -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s --check-prefix=ALL3 4--- |5  define void @test_insert_128() {6    ret void7  }8 9  define void @test_insert_256() {10    ret void11  }12...13---14name:            test_insert_12815alignment:       1616legalized:       false17regBankSelected: false18registers:19  - { id: 0, class: _ }20  - { id: 1, class: _ }21  - { id: 2, class: _ }22body:             |23  bb.1 (%ir-block.0):24    liveins: $zmm0, $ymm125 26    ; ALL-LABEL: name: test_insert_12827    ; ALL: [[COPY:%[0-9]+]]:_(<16 x s32>) = COPY $zmm028    ; ALL: [[COPY1:%[0-9]+]]:_(<4 x s32>) = COPY $xmm129    ; ALL: [[INSERT:%[0-9]+]]:_(<16 x s32>) = G_INSERT [[COPY]], [[COPY1]](<4 x s32>), 030    ; ALL: $zmm0 = COPY [[INSERT]](<16 x s32>)31    ; ALL: RET 0, implicit $ymm032    %0(<16 x s32>) = COPY $zmm033    %1(<4 x s32>) = COPY $xmm134    %2(<16 x s32>) = G_INSERT %0(<16 x s32>), %1(<4 x s32>), 035    $zmm0 = COPY %2(<16 x s32>)36    RET 0, implicit $ymm037 38...39---40name:            test_insert_25641alignment:       1642legalized:       false43regBankSelected: false44registers:45  - { id: 0, class: _ }46  - { id: 1, class: _ }47  - { id: 2, class: _ }48body:             |49  bb.1 (%ir-block.0):50    liveins: $zmm0, $ymm151 52    ; ALL-LABEL: name: test_insert_25653    ; ALL: [[COPY:%[0-9]+]]:_(<16 x s32>) = COPY $zmm054    ; ALL: [[COPY1:%[0-9]+]]:_(<8 x s32>) = COPY $ymm155    ; ALL: [[INSERT:%[0-9]+]]:_(<16 x s32>) = G_INSERT [[COPY]], [[COPY1]](<8 x s32>), 056    ; ALL: $zmm0 = COPY [[INSERT]](<16 x s32>)57    ; ALL: RET 0, implicit $ymm058    %0(<16 x s32>) = COPY $zmm059    %1(<8 x s32>) = COPY $ymm160    %2(<16 x s32>) = G_INSERT %0(<16 x s32>), %1(<8 x s32>), 061    $zmm0 = COPY %2(<16 x s32>)62    RET 0, implicit $ymm063 64...65