Better diagnostics when inline asm fails to allocate.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 2 Jul 2011 07:17:37 +0000 (07:17 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 2 Jul 2011 07:17:37 +0000 (07:17 +0000)
commit9d812a2805161665d56a78734da98b58f39ce0fc
tree4dad97708bb7128a64f4edd82452b0b84c565dbd
parenta9badd250cac2e5090eb950bb0456c37ee6c8f7a
Better diagnostics when inline asm fails to allocate.

asm.c:2:7: error: ran out of registers during register allocation
  asm(""::"r"(0), "r"(1), "r"(2), "r"(3), "r"(4), "r"(5), "r"(6), "r"(7), "r"(8), "r"(9));
        ^

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134310 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegAllocBasic.cpp
lib/CodeGen/RegAllocFast.cpp
test/CodeGen/X86/inline-asm-error.ll