[llvm] [GlobalIsel] Fix Machine Verifier errors (PR #99018)
Thorsten Schütt via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 16 04:13:26 PDT 2024
https://github.com/tschuett created https://github.com/llvm/llvm-project/pull/99018
temporary solution.
For discussion see https://github.com/llvm/llvm-project/pull/98894
>From 8fc5005a8a531644dd602cf15cc4de88c18373b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thorsten=20Sch=C3=BCtt?= <schuett at gmail.com>
Date: Tue, 16 Jul 2024 13:10:49 +0200
Subject: [PATCH] [GlobalIsel] Fix Machine Verifier errors
temporary solution.
For discussion see https://github.com/llvm/llvm-project/pull/98894
---
llvm/test/MachineVerifier/test_g_extract_subvector.mir | 3 ++-
llvm/test/MachineVerifier/test_g_insert_subvector.mir | 3 ++-
llvm/test/MachineVerifier/test_g_vscale.mir | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/llvm/test/MachineVerifier/test_g_extract_subvector.mir b/llvm/test/MachineVerifier/test_g_extract_subvector.mir
index bc167d2eb7bcd..5a441ff29c172 100644
--- a/llvm/test/MachineVerifier/test_g_extract_subvector.mir
+++ b/llvm/test/MachineVerifier/test_g_extract_subvector.mir
@@ -1,4 +1,5 @@
-# RUN: not --crash llc -o - -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s
+# RUN: not --crash llc -o - -run-pass=none -verify-machineinstrs -mtriple=arm64 %s 2>&1 | FileCheck %s
+# REQUIRES: aarch64-registered-target
---
name: g_extract_subvector
tracksRegLiveness: true
diff --git a/llvm/test/MachineVerifier/test_g_insert_subvector.mir b/llvm/test/MachineVerifier/test_g_insert_subvector.mir
index dce30cdb6b1e5..9fce3c3e842d4 100644
--- a/llvm/test/MachineVerifier/test_g_insert_subvector.mir
+++ b/llvm/test/MachineVerifier/test_g_insert_subvector.mir
@@ -1,4 +1,5 @@
-# RUN: not --crash llc -o - -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s
+# RUN: not --crash llc -o - -run-pass=none -verify-machineinstrs -mtriple=arm64 %s 2>&1 | FileCheck %s
+# REQUIRES: aarch64-registered-target
---
name: g_splat_vector
diff --git a/llvm/test/MachineVerifier/test_g_vscale.mir b/llvm/test/MachineVerifier/test_g_vscale.mir
index 78854620913a1..f4ff76766a84e 100644
--- a/llvm/test/MachineVerifier/test_g_vscale.mir
+++ b/llvm/test/MachineVerifier/test_g_vscale.mir
@@ -1,4 +1,5 @@
-# RUN: not --crash llc -verify-machineinstrs -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
+# 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
More information about the llvm-commits
mailing list