Turn a few more inline asm errors into "emitErrors" instead of fatal errors.
authorChris Lattner <sabre@nondot.org>
Tue, 3 Jan 2012 23:51:01 +0000 (23:51 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 3 Jan 2012 23:51:01 +0000 (23:51 +0000)
commit6b77a07f75c553fbf188cebdf366b41ab8678dcf
tree6bbe59ee5b1660436bff399d7721cd5b22658e6f
parente22e6131281180936c5196e811e4c952549aa7ab
Turn a few more inline asm errors into "emitErrors" instead of fatal errors.

Before we'd get:

$ clang t.c
fatal error: error in backend: Invalid operand for inline asm constraint 'i'!

Now we get:

$ clang t.c
t.c:16:5: error: invalid operand for inline asm constraint 'i'!
    "movq         (%4), %%mm0\n"
    ^

Which at least gets us the inline asm that is the problem.

llvm-svn: 147502
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp