aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/MIR/AArch64/generic-virtual-registers-error.mir
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/MIR/AArch64/generic-virtual-registers-error.mir')
-rw-r--r--test/CodeGen/MIR/AArch64/generic-virtual-registers-error.mir22
1 files changed, 0 insertions, 22 deletions
diff --git a/test/CodeGen/MIR/AArch64/generic-virtual-registers-error.mir b/test/CodeGen/MIR/AArch64/generic-virtual-registers-error.mir
deleted file mode 100644
index d63c2ef6e871..000000000000
--- a/test/CodeGen/MIR/AArch64/generic-virtual-registers-error.mir
+++ /dev/null
@@ -1,22 +0,0 @@
-# RUN: not llc -mtriple=aarch64-apple-ios -run-pass none -o - %s 2>&1 \
-# RUN: | FileCheck %s --check-prefix=ERR
-# REQUIRES: global-isel
-# This test ensures that the MIR parser errors out when
-# generic virtual register definitions are not correct.
-
---- |
- define void @baz() { ret void }
-...
-
----
-name: baz
-registers:
- - { id: 0, class: _ }
-body: |
- bb.0:
- liveins: %w0
- ; ERR: generic virtual registers must have a type
- ; ERR-NEXT: %0
- ; ERR: Unable to initialize machine function
- %0 = G_ADD i32 %w0, %w0
-...