aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/named-reg-alloc.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/named-reg-alloc.ll')
-rw-r--r--test/CodeGen/X86/named-reg-alloc.ll14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/CodeGen/X86/named-reg-alloc.ll b/test/CodeGen/X86/named-reg-alloc.ll
deleted file mode 100644
index c33b4eb75d04..000000000000
--- a/test/CodeGen/X86/named-reg-alloc.ll
+++ /dev/null
@@ -1,14 +0,0 @@
-; RUN: not llc < %s -mtriple=x86_64-apple-darwin 2>&1 | FileCheck %s
-; RUN: not llc < %s -mtriple=x86_64-linux-gnueabi 2>&1 | FileCheck %s
-
-define i32 @get_stack() nounwind {
-entry:
-; FIXME: Include an allocatable-specific error message
-; CHECK: Invalid register name global variable
- %sp = call i32 @llvm.read_register.i32(metadata !0)
- ret i32 %sp
-}
-
-declare i32 @llvm.read_register.i32(metadata) nounwind
-
-!0 = !{!"eax\00"}