summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/inline-asm-error.ll
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-10-05 19:33:37 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-10-05 19:33:37 +0000
commit87855d3013d9a87a3aeb51508312b76e200baac7 (patch)
treed2199320270a83a7dbd2dafb89182f716896fa87 /test/CodeGen/X86/inline-asm-error.ll
parent617ba175da2885aa3e747ee7a00faa5ee4110579 (diff)
downloadllvm-87855d3013d9a87a3aeb51508312b76e200baac7.tar.gz
llvm-87855d3013d9a87a3aeb51508312b76e200baac7.tar.bz2
llvm-87855d3013d9a87a3aeb51508312b76e200baac7.tar.xz
Emit a better error when running out of registers on inline asm.
The most likely case where this error happens is when the user specifies too many register operands. Don't make it look like an internal LLVM bug when we can see that the error is coming from an inline asm instruction. For other instructions we keep the "ran out of registers" error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192041 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/inline-asm-error.ll')
-rw-r--r--test/CodeGen/X86/inline-asm-error.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/inline-asm-error.ll b/test/CodeGen/X86/inline-asm-error.ll
index 747a5891cf..31fb190daf 100644
--- a/test/CodeGen/X86/inline-asm-error.ll
+++ b/test/CodeGen/X86/inline-asm-error.ll
@@ -6,7 +6,7 @@
; RUN: FileCheck %s < %t3
; The register allocator must fail on this function.
-; CHECK: error: ran out of registers during register allocation
+; CHECK: error: inline assembly requires more registers than available
define void @f(i32 %x0, i32 %x1, i32 %x2, i32 %x3, i32 %x4, i32 %x5, i32 %x6, i32 %x7, i32 %x8, i32 %x9) nounwind ssp {
entry: