1# RUN: not --crash llc -o - -march=arm64 -global-isel -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s
2# REQUIRES: aarch64-registered-target
3
4---
5name:            test_trunc
6legalized:       true
7regBankSelected: false
8selected:        false
9tracksRegLiveness: true
10liveins:
11body:             |
12  bb.0:
13
14    ; CHECK: Bad machine code: Too few operands
15    %0:_(s32) = G_TRUNC
16
17    %1:_(s64) = G_IMPLICIT_DEF
18
19    ; CHECK: Bad machine code: Too few operands
20    ; CHECK: Bad machine code: Explicit definition marked as use
21    G_TRUNC %1
22
23...
24