llvm-project
23 строки · 555.0 Байт
1# RUN: not --crash llc -o - -mtriple=arm64 -global-isel -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s
2# REQUIRES: aarch64-registered-target
3
4---
5name: test_trunc6legalized: true7regBankSelected: false8selected: false9tracksRegLiveness: true10liveins:11body: |12bb.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 use21G_TRUNC %1
22
23...
24