llvm-6502/lib
Jakob Stoklund Olesen d519de0827 Include a source location when complaining about bad inline assembly.
Add a MI->emitError() method that the backend can use to report errors
related to inline assembly. Call it from X86FloatingPoint.cpp when the
constraints are wrong.

This enables proper clang diagnostics from the backend:

$ clang -c pr30848.c
pr30848.c:5:12: error: Inline asm output regs must be last on the x87 stack
  __asm__ ("" : "=u" (d));  /* { dg-error "output regs" } */
           ^
1 error generated.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134307 91177308-0d34-0410-b5e6-96231b3b80d8
2011-07-02 03:53:34 +00:00
..
Analysis Teach IVUsers to stop at non-affine expressions unless they are both 2011-07-01 22:05:19 +00:00
Archive
AsmParser Replace the existing forms of ConstantArray::get() with a single form 2011-06-22 09:24:39 +00:00
Bitcode Replace the existing forms of ConstantArray::get() with a single form 2011-06-22 09:24:39 +00:00
CodeGen Include a source location when complaining about bad inline assembly. 2011-07-02 03:53:34 +00:00
CompilerDriver Build CompilerDriver library. 2011-03-12 22:01:42 +00:00
ExecutionEngine Fix the ridiculous SubtargetFeatures API where it implicitly expects CPU name to 2011-06-30 01:53:36 +00:00
Linker Set the unnamed_addr only when we're creating a new GV in the dest module. 2011-03-29 23:31:06 +00:00
MC Add getFeatureBits to extract feature bits for a given CPU. 2011-07-02 00:43:44 +00:00
Object Object: Add proper error handling. 2011-06-25 17:55:23 +00:00
Support Add initial *-*-rtems* target, from Joel Sherrill 2011-07-01 22:41:06 +00:00
Target Include a source location when complaining about bad inline assembly. 2011-07-02 03:53:34 +00:00
Transforms indvars -disable-iv-rewrite: bug fix involving weird geps and related cleanup. 2011-07-02 02:34:25 +00:00
VMCore Improve constant folding of undef for cmp and select operators. 2011-07-01 01:03:43 +00:00
CMakeLists.txt Build CompilerDriver library. 2011-03-12 22:01:42 +00:00
Makefile