Thorsten Schütt 493d504b35
[GlobalIsel] Fix Machine Verifier errors (#99018)
temporary solution.
For discussion see https://github.com/llvm/llvm-project/pull/98894

Permanent solution could be:
REQUIRES: default_triple
2024-07-17 06:04:46 +02:00

17 lines
375 B
YAML

# RUN: not --crash llc -verify-machineinstrs -mtriple=arm64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
# REQUIRES: aarch64-registered-target
---
name: g_vscale
body: |
bb.0:
%1:_(s32) = G_CONSTANT i32 4
; CHECK: G_VSCALE operand must be cimm
%2:_(s32) = G_VSCALE %1
; CHECK: G_VSCALE immediate cannot be zero
%3:_(s32) = G_VSCALE i32 0
...