brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · 98e94dd Raw
46 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_inttoptr6legalized:       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:_(p0) = G_INTTOPTR21 22    ; CHECK: Bad machine code: Too few operands23    ; CHECK: Bad machine code: Explicit definition marked as use24    G_INTTOPTR %025 26    ; CHECK: Bad machine code: inttoptr result type must be a pointer27    %5:_(s64) = G_INTTOPTR %028 29    ; CHECK: Bad machine code: inttoptr result type must be a pointer30    %6:_(<2 x s64>) = G_INTTOPTR %231 32    ; CHECK: Bad machine code: operand types must be all-vector or all-scalar33    %7:_(<2 x p0>) = G_INTTOPTR %034 35    ; CHECK: Bad machine code: operand types must be all-vector or all-scalar36    %8:_(p0) = G_INTTOPTR %237 38    ; CHECK: Bad machine code: operand types must preserve number of vector elements39    %9:_(<4 x p0>) = G_INTTOPTR %240 41    ; CHECK: Bad machine code: operand types must preserve number of vector elements42    %10:_(<4 x s64>) = G_IMPLICIT_DEF43    %11:_(<2 x p0>) = G_INTTOPTR %1044 45...46