brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.8 KiB · e161388 Raw
58 lines · plain
1#RUN: not --crash llc -o - -mtriple=arm64 -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s2# REQUIRES: aarch64-registered-target3 4---5name:            test_addrspacecast6legalized:       true7regBankSelected: false8selected:        false9tracksRegLiveness: true10liveins:11body:             |12  bb.0:13 14    %0:_(s64) = G_IMPLICIT_DEF15    %1:_(p0) = G_IMPLICIT_DEF16    %2:_(<2 x s64>) = G_IMPLICIT_DEF17    %3:_(<2 x p0>) = G_IMPLICIT_DEF18 19    ; CHECK: Bad machine code: Too few operands20    %4:_(s64) = G_ADDRSPACE_CAST21 22    ; CHECK: Bad machine code: Too few operands23    ; CHECK: Bad machine code: Explicit definition marked as use24    G_ADDRSPACE_CAST %125 26    ; CHECK: Bad machine code: addrspacecast types must be pointers27    %5:_(p0) = G_ADDRSPACE_CAST %028 29    ; CHECK: Bad machine code: addrspacecast types must be pointers30    %6:_(s64) = G_ADDRSPACE_CAST %131 32    ; CHECK: Bad machine code: addrspacecast types must be pointers33    %7:_(<2 x s64>) = G_ADDRSPACE_CAST %134 35    ; CHECK: Bad machine code: addrspacecast types must be pointers36    %8:_(<2 x p0>) = G_ADDRSPACE_CAST %237 38    ; CHECK: Bad machine code: operand types must be all-vector or all-scalar39    %9:_(<2 x p1>) = G_ADDRSPACE_CAST %140 41    ; CHECK: Bad machine code: operand types must be all-vector or all-scalar42    %10:_(p1) = G_ADDRSPACE_CAST %343 44    ; CHECK: Bad machine code: operand types must preserve number of vector elements45    %11:_(<4 x p1>) = G_ADDRSPACE_CAST %346 47    ; CHECK: Bad machine code: operand types must preserve number of vector elements48    %12:_(<4 x p1>) = G_IMPLICIT_DEF49    %13:_(<2 x p0>) = G_ADDRSPACE_CAST %1250 51    ; CHECK: Bad machine code: addrspacecast must convert different address spaces52    %14:_(p0) = G_ADDRSPACE_CAST %153 54    ; CHECK: Bad machine code: addrspacecast must convert different address spaces55    %15:_(<2 x p0>) = G_ADDRSPACE_CAST %356 57...58