llvm-project
40 строк · 1.1 Кб
1# RUN: not --crash llc -o - -mtriple=aarch64 -global-isel -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s
2# REQUIRES: aarch64-registered-target
3
4---
5name: test_fcmp6legalized: true7regBankSelected: false8selected: false9tracksRegLiveness: true10liveins:11body: |12bb.0:
13liveins: $x0, $w0, $q0
14%s32:_(s32) = COPY $w0
15%ptr:_(p0) = COPY $x0
16
17G_PREFETCH %ptr
18; CHECK: *** Bad machine code: Too few operands ***19; CHECK: 4 operands expected, but 1 given.20
21G_PREFETCH %ptr, 0, 0, 0, 022; CHECK: *** Bad machine code: Extra explicit operand on non-variadic instruction ***23; CHECK: operand 4:24
25G_PREFETCH %s32, 0, 0, 026; CHECK: *** Bad machine code: addr operand must be a pointer ***27; CHECK: operand 0:28
29G_PREFETCH %ptr, 10, 0, 030; CHECK: *** Bad machine code: rw operand must be an immediate 0-1 ***31; CHECK: operand 1:32
33G_PREFETCH %ptr, 0, 10, 034; CHECK: *** Bad machine code: locality operand must be an immediate 0-3 ***35; CHECK: operand 2:36
37G_PREFETCH %ptr, 0, 0, 1038; CHECK: *** Bad machine code: cache type operand must be an immediate 0-1 ***39; CHECK: operand 3:40...
41