1#RUN: not --crash llc -o - -march=arm64 -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s 2# REQUIRES: aarch64-registered-target 3 4--- 5name: test_inttoptr 6legalized: true 7regBankSelected: false 8selected: false 9tracksRegLiveness: true 10liveins: 11body: | 12 bb.0: 13 14 %0:_(s64) = G_IMPLICIT_DEF 15 %1:_(p0) = G_IMPLICIT_DEF 16 %2:_(<2 x s64>) = G_IMPLICIT_DEF 17 %3:_(<2 x p0>) = G_IMPLICIT_DEF 18 19 ; CHECK: Bad machine code: Too few operands 20 %4:_(p0) = G_INTTOPTR 21 22 ; CHECK: Bad machine code: Too few operands 23 ; CHECK: Bad machine code: Explicit definition marked as use 24 G_INTTOPTR %0 25 26 ; CHECK: Bad machine code: inttoptr result type must be a pointer 27 %5:_(s64) = G_INTTOPTR %0 28 29 ; CHECK: Bad machine code: inttoptr result type must be a pointer 30 %6:_(<2 x s64>) = G_INTTOPTR %2 31 32 ; CHECK: Bad machine code: operand types must be all-vector or all-scalar 33 %7:_(<2 x p0>) = G_INTTOPTR %0 34 35 ; CHECK: Bad machine code: operand types must be all-vector or all-scalar 36 %8:_(p0) = G_INTTOPTR %2 37 38 ; CHECK: Bad machine code: operand types must preserve number of vector elements 39 %9:_(<4 x p0>) = G_INTTOPTR %2 40 41 ; CHECK: Bad machine code: operand types must preserve number of vector elements 42 %10:_(<4 x s64>) = G_IMPLICIT_DEF 43 %11:_(<2 x p0>) = G_INTTOPTR %10 44 45... 46