brintos

brintos / llvm-project-archived public Read only

0
0
Text · 555 B · f79a748 Raw
24 lines · plain
1# RUN: not --crash llc -o - -mtriple=arm64 -global-isel -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s2# REQUIRES: aarch64-registered-target3 4---5name:            test_trunc6legalized:       true7regBankSelected: false8selected:        false9tracksRegLiveness: true10liveins:11body:             |12  bb.0:13 14    ; CHECK: Bad machine code: Too few operands15    %0:_(s32) = G_TRUNC16 17    %1:_(s64) = G_IMPLICIT_DEF18 19    ; CHECK: Bad machine code: Too few operands20    ; CHECK: Bad machine code: Explicit definition marked as use21    G_TRUNC %122 23...24