brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.8 KiB · 5781dac Raw
55 lines · plain
1# REQUIRES: aarch64-registered-target2# RUN: not --crash llc -o - -mtriple=arm64 -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s3 4---5name:            test_ptr_mask6tracksRegLiveness: true7liveins:8body:             |9  bb.0:10 11    %0:_(p0) = G_IMPLICIT_DEF12    %1:_(p0) = G_IMPLICIT_DEF13    %2:_(s64) = G_IMPLICIT_DEF14 15    ; CHECK:  Bad machine code: Type mismatch in generic instruction16    ; CHECK: Bad machine code: ptrmask result type must be a pointer17    %3:_(s64) = G_PTRMASK %0, %218 19    ; CHECK:  Bad machine code: Type mismatch in generic instruction20    %4:_(p0) = G_PTRMASK %2, %221 22    ; CHECK: Bad machine code: ptrmask mask type must be an integer23    %5:_(p0) = G_PTRMASK %0, %024 25    %6:_(<2 x p0>) = G_IMPLICIT_DEF26    %7:_(<2 x s64>) = G_IMPLICIT_DEF27 28    ; CHECK: Bad machine code: Type mismatch in generic instruction29    ; CHECK: Bad machine code: ptrmask result type must be a pointer30    %8:_(<2 x s64>) = G_PTRMASK %6, %731 32    ; CHECK:  Bad machine code: Type mismatch in generic instruction33    %9:_(<2 x p0>) = G_PTRMASK %7, %734 35    ; CHECK: Bad machine code: Type mismatch in generic instruction36    ; CHECK: Bad machine code: ptrmask mask type must be an integer37    ; CHECK: Bad machine code: operand types must be all-vector or all-scalar38    %10:_(<2 x p0>) = G_PTRMASK %0, %039 40    ; CHECK: Bad machine code: Type mismatch in generic instruction41    %11:_(p0) = G_PTRMASK %6, %242 43    ; CHECK: Bad machine code: operand types must be all-vector or all-scalar44    %12:_(p0) = G_PTRMASK %0, %745 46    ; CHECK: Bad machine code: operand types must be all-vector or all-scalar47    %13:_(<2 x p0>) = G_PTRMASK %6, %248 49    %14:_(<4 x p0>) = G_IMPLICIT_DEF50 51    ; CHECK: Bad machine code: operand types must preserve number of vector elements52    %15:_(<4 x p0>) = G_PTRMASK %14, %853 54...55