- Apr 08, 2010
-
-
Chris Lattner authored
implicit defs get added to the end of machine instrs sometimes. Scan the whole instruction for the metadata operand instead of assuming it will be at the end of the instruction. llvm-svn: 100792
-
Devang Patel authored
There is no need to remember labels identifying regions marked by such instructions in each scope. llvm-svn: 100781
-
Devang Patel authored
llvm-svn: 100771
-
Devang Patel authored
llvm-svn: 100769
-
Devang Patel authored
llvm-svn: 100768
-
Benjamin Kramer authored
llvm-svn: 100756
-
Evan Cheng authored
llvm-svn: 100751
-
Evan Cheng authored
llvm-svn: 100742
-
Chris Lattner authored
so the user at least knows what inline asm is a problem. For example: error: inline asm not supported yet: don't know how to handle tied indirect register inputs pr8788-1.c:14:10: note: generated from here asm ("\n" : "+r" (stack->regs) ^ Instead of: fatal error: error in backend: Don't know how to handle tied indirect register inputs yet! llvm-svn: 100731
-
Chris Lattner authored
llvm-svn: 100725
-
Chris Lattner authored
llvm-svn: 100724
-
Chris Lattner authored
and use it in one place in inline asm handling stuff. Before we'd generate this for an invalid modifier letter: $ clang asm.c -c -o t.o fatal error: error in backend: Invalid operand found in inline asm: 'abc incl ${0:Z}' INLINEASM <es:abc incl ${0:Z}>, 10, %EAX<def>, 2147483657, %EAX, 14, %EFLAGS<earlyclobber,def,dead>, <!-1> Now we generate this: $ clang asm.c -c -o t.o error: invalid operand in inline asm: 'incl ${0:Z}' asm.c:3:12: note: generated from here __asm__ ("incl %Z0" : "+r" (X)); ^ 1 error generated. This is much better but still admittedly not great ("why" is the operand invalid??), codegen should try harder with its diagnostics :) llvm-svn: 100723
-
Chris Lattner authored
llvm-svn: 100709
-
Chris Lattner authored
llvm-svn: 100703
-
Chris Lattner authored
llvm-svn: 100700
-
- Apr 07, 2010
-
-
Anton Korobeynikov authored
It is not ready for public yet. llvm-svn: 100673
-
Anton Korobeynikov authored
llvm-svn: 100645
-
Anton Korobeynikov authored
llvm-svn: 100644
-
Anton Korobeynikov authored
llvm-svn: 100640
-
Chris Lattner authored
llvm-svn: 100639
-
Chris Lattner authored
llvm-svn: 100638
-
Chris Lattner authored
MachineOperand::isIdenticalTo wasn't handling metadata operands. llvm-svn: 100636
-
Benjamin Kramer authored
llvm-svn: 100620
-
Torok Edwin authored
TimePassesIsEnabled. This should allow make check to pass. llvm-svn: 100618
-
Bill Wendling authored
llvm-svn: 100616
-
Benjamin Kramer authored
llvm-svn: 100615
-
Evan Cheng authored
llvm-svn: 100610
-
Evan Cheng authored
llvm-svn: 100609
-
Chris Lattner authored
Have the asmprinter use the mdnode to scavenge a source location if present. Document this nonsense in langref. llvm-svn: 100607
-
Chris Lattner authored
llvm-svn: 100606
-
Chris Lattner authored
1. Introduce some enums and accessors in the InlineAsm class that eliminate a ton of magic numbers when handling inline asm SDNode. 2. Add a new MDNodeSDNode selection dag node type that holds a MDNode (shocking!) 3. Add a new argument to ISD::INLINEASM nodes that hold !srcloc metadata, propagating it to the instruction emitter, which drops it. No functionality change. llvm-svn: 100605
-
Dale Johannesen authored
into AsmPrinter. Target-dependent form is still generated by FastISel and still handled in X86 code. llvm-svn: 100596
-
Evan Cheng authored
llvm-svn: 100592
-
Devang Patel authored
Do not emit specification DIE with DW_AT_specification attribute for member functions of a funcation local class. This trips gdb's partial scan of DIEs at load time. Fixes Radar 7833483. llvm-svn: 100586
-
John McCall authored
solution. The only reason these don't fire with gcc-4.2 is that gcc turns off part of -Wsign-compare in C++ on accident. llvm-svn: 100581
-
Dale Johannesen authored
llvm-svn: 100578
-
Dale Johannesen authored
There is probably a more elegant way to do this. llvm-svn: 100573
-
- Apr 06, 2010
-
-
Dale Johannesen authored
to a SDNode that didn't have code generated for it. llvm-svn: 100566
-
Stuart Hastings authored
llvm-svn: 100563
-
Evan Cheng authored
llvm-svn: 100532
-