- Jan 20, 2010
-
-
Devang Patel authored
If a instruction belongs to another function (and not current function) as per debug info attached with the instruction then ignore the dangling lexical scope of this instruction. Such scopes are unreachable. llvm-svn: 93967
-
David Greene authored
Add some asserts to check SelectionDAG problems earlier. llvm-svn: 93960
-
Dale Johannesen authored
more cases where debug declarations affect debug line info. llvm-svn: 93953
-
Dan Gohman authored
that SCEVExpander can produce when running on behalf of LSR. llvm-svn: 93949
-
- Jan 19, 2010
-
-
Chris Lattner authored
llvm-svn: 93929
-
Chris Lattner authored
for -fverbose-asm unless it's on. llvm-svn: 93926
-
Jakob Stoklund Olesen authored
instructions. llvm-svn: 93925
-
Chris Lattner authored
llvm-svn: 93918
-
Benjamin Kramer authored
llvm-svn: 93905
-
David Greene authored
Add some new debugging APIs to print out "raw" SelectionDAGs to make understanding CannotYTetSelect and other errors easier. llvm-svn: 93901
-
Chris Lattner authored
identifier. There is no way to work around it. llvm-svn: 93896
-
Evan Cheng authored
Do not extend extension results beyond the use of a PHI instruction at the start of a use block. A PHI use is expected to kill its source values. llvm-svn: 93895
-
Chris Lattner authored
This fixes some bugs handling address spaces. llvm-svn: 93891
-
Chris Lattner authored
default address space. llvm-svn: 93890
-
Chris Lattner authored
which we don't support anymore. llvm-svn: 93886
-
Jim Grosbach authored
function can support dynamic stack realignment. That's a much easier question to answer at instruction selection stage than whether the function actually will have dynamic alignment prologue. This allows the removal of the stack alignment heuristic pass, and improves code quality for cases where the heuristic would result in dynamic alignment code being generated when it was not strictly necessary. llvm-svn: 93885
-
Chris Lattner authored
darwin. The next big piece to get global variables streamerized is EmitGlobalConstant. llvm-svn: 93870
-
Chris Lattner authored
.zerofill directive. Streamerize its generation. llvm-svn: 93868
-
Devang Patel authored
MDNodes are not expected to disappear or replaced by another MDNode, so there is no need to pay the cost of WeakVH and ValueMaps. llvm-svn: 93865
-
Devang Patel authored
llvm-svn: 93864
-
Chris Lattner authored
llvm-svn: 93860
-
Chris Lattner authored
llvm-svn: 93859
-
Chris Lattner authored
doing global variable classification anymore) and hookized, sink almost all target targets global variable emission code into AsmPrinter and out of each target. Some notes: 1. PIC16 does completely custom and crazy stuff, so it is not changed. 2. XCore has some custom handling for extra directives. I'll look at it next. 3. This switches linux/ppc to use .globl instead of .global. If .globl is actually wrong, let me know and I'll fix it. 4. This makes linux/ppc get a lot of random cases right which were obviously wrong before, it is probably now a bit healthier. 5. Blackfin will probably start getting .comm and other things that it didn't before. If this is undesirable, it should explicitly opt out of these things by clearing the relevant fields of MCAsmInfo. This leads to a nice diffstat: 14 files changed, 127 insertions(+), 830 deletions(-) llvm-svn: 93858
-
Chris Lattner authored
This makes a similar code dead in all the other targets, I'll clean it up in a bit. This also moves handling of lcomm up before acquisition of a section, since lcomm never needs a section. llvm-svn: 93851
-
Chris Lattner authored
darwin into common code. llvm-svn: 93849
-
Devang Patel authored
llvm-svn: 93832
-
Dale Johannesen authored
llvm-svn: 93818
-
Dale Johannesen authored
comments (fast isel, X86). This doesn't seem to break any functionality, but will introduce cases where -g affects the generated code. I'll be fixing that. llvm-svn: 93811
-
- Jan 18, 2010
-
-
Evan Cheng authored
Instcombine does this but apparently there are situations where this pattern will escape the optimizer and / or created by isel. Here is a case that's seen in JavaScriptCore: %t1 = sub i32 0, %a %t2 = add i32 %t1, -1 The dag combiner pattern: ((c1-A)+c2) -> (c1+c2)-A will fold it to -1 - %a. llvm-svn: 93773
-
Bill Wendling authored
idea, but unfortunately necessary. - Default to using 4-bytes for the LSDA pointer encoding to agree with the encoded value in the CIE. llvm-svn: 93753
-
Chris Lattner authored
llvm-svn: 93699
-
- Jan 17, 2010
-
-
Chris Lattner authored
remove it and change all the code that prints MCSymbols to use << instead, which is much simpler and cleaner. llvm-svn: 93695
-
Chris Lattner authored
having to pass various fields from it in. Simplify. llvm-svn: 93686
-
Benjamin Kramer authored
llvm-svn: 93680
-
Nate Begeman authored
Add a note for the macho streamer and remove a used of the mangler from the soon to be defunct machowriter pass. llvm-svn: 93670
-
Kenneth Uildriks authored
When checking for sret-demotion, it needs to use legal types. When using the return value of an sret-demoted call, it needs to use possibly illegal types that match the declared Type of the callee. llvm-svn: 93667
-
- Jan 16, 2010
-
-
Chris Lattner authored
llvm-svn: 93664
-
Chris Lattner authored
llvm-svn: 93656
-
Chris Lattner authored
llvm-svn: 93654
-
Rafael Espindola authored
Mangler::getMangledName is used from lto Mangler::setUseQuotes is used in the AsmPrinter Mangler::setSymbolsCanStartWithDigit is used in the AsmPrinter llvm-svn: 93652
-