summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit7200a46c175cbb8b31e12feb4538158e4446b55c (patch)
tree93c3ea7f9a5d487d932633b468558be29bd53241 /llvm/test/CodeGen/X86/inline-asm-error.ll
parent9a9468ee02e36dba9bebaf8da833f8dfcfe8e0f0 (diff)
downloadbcm5719-llvm-7200a46c175cbb8b31e12feb4538158e4446b55c.tar.gz
bcm5719-llvm-7200a46c175cbb8b31e12feb4538158e4446b55c.zip
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. llvm-svn: 192041
Diffstat (limited to 'llvm/test/CodeGen/X86/inline-asm-error.ll')
-rw-r--r--llvm/test/CodeGen/X86/inline-asm-error.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/inline-asm-error.ll b/llvm/test/CodeGen/X86/inline-asm-error.ll
index 747a5891cf0..31fb190daf8 100644
--- a/llvm/test/CodeGen/X86/inline-asm-error.ll
+++ b/llvm/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:
OpenPOWER on IntegriCloud