- Jul 16, 2009
-
-
Jakob Stoklund Olesen authored
The inline asm operands must be parsed from the first flag, you cannot assume that an immediate operand preceeding a register use operand is the flag. PowerPC "m" operands are represented as (flag, imm, reg) triples. isRegTiedToDefOperand() would incorrectly interpret the imm as the flag. llvm-svn: 76101
-
Evan Cheng authored
llvm-svn: 76100
-
Owen Anderson authored
llvm-svn: 76097
-
Owen Anderson authored
our current context-passing stuff, which is also fixed here llvm-svn: 76089
-
Anton Korobeynikov authored
llvm-svn: 75955
-
Anton Korobeynikov authored
Scan for presence of calls and determine max callframe size early. To allow ProcessFunctionBeforeCalleeSaveScan() use this information llvm-svn: 75942
-
Anton Korobeynikov authored
llvm-svn: 75925
-
Evan Cheng authored
Avoid remat'ing instructions whose def have sub-register indices for now. It's just really really hard to get all the cases right. llvm-svn: 75900
-
Bruno Cardoso Lopes authored
llvm-svn: 75898
-
Devang Patel authored
This prefix is used by LLVM to inform the asm printer to not emit usual global symbol prefix before the symbol name. llvm-svn: 75875
-
Daniel Dunbar authored
(although we don't get a very good error message). llvm-svn: 75864
-
Owen Anderson authored
llvm-svn: 75863
-
Daniel Dunbar authored
llvm-svn: 75862
-
Jakob Stoklund Olesen authored
This extra check is not trigged when runnning "make check" on top-of-tree. Change error message to better match llvm_unreachable() grammar. Don't call llvm_unreachable() when writing error messages to a file, but keep going. llvm-svn: 75860
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 75859
-
Daniel Dunbar authored
- No intended functionality change. llvm-svn: 75848
-
Jakob Stoklund Olesen authored
Reserved registers are not candidates for scavenging, and they were removed from the candidate list like this: CreateRegClassMask(RC, Candidates); Candidates ^= ReservedRegs; However, when there are reserved registers outside RC, this causes invalid bits to be set in Candidates. llvm-svn: 75847
-
- Jul 15, 2009
-
-
Owen Anderson authored
llvm-svn: 75840
-
Evan Cheng authored
llvm-svn: 75838
-
Ted Kremenek authored
llvm-svn: 75831
-
Bruno Cardoso Lopes authored
we care more about random access than insertion/deletion of elements. llvm-svn: 75828
-
Chris Lattner authored
llvm-svn: 75742
-
Owen Anderson authored
llvm-svn: 75703
-
- Jul 14, 2009
-
-
David Greene authored
Have asm printers use formatted_raw_ostream directly to avoid a dynamic_cast<>. llvm-svn: 75670
-
Chris Lattner authored
additional bug fixes: 1. The bug that everyone hit was a problem in the asmprinter where it would remove $stub but keep the L prefix on a name when emitting the indirect symbol. This is easy to fix by keeping the name of the stub and the name of the symbol in a StringMap instead of just keeping a StringSet and trying to reconstruct it late. 2. There was a problem printing the personality function. The current logic to print out the personality function from the DWARF information is a bit of a cesspool right now that duplicates a bunch of other logic in the asm printer. The short version of it is that it depends on emitting both the L and _ prefix for symbols (at least on darwin) and until I can untangle it, it is best to switch the mangler back to emitting both prefixes. llvm-svn: 75646
-
Torok Edwin authored
This adds location info for all llvm_unreachable calls (which is a macro now) in !NDEBUG builds. In NDEBUG builds location info and the message is off (it only prints "UREACHABLE executed"). llvm-svn: 75640
-
Daniel Dunbar authored
--- Reverse-merging r75619 into '.': U lib/Target/DarwinTargetAsmInfo.cpp U lib/CodeGen/AsmPrinter/AsmPrinter.cpp --- Reverse-merging r75618 into '.': U lib/CodeGen/ELFWriter.cpp U lib/CodeGen/MachOCodeEmitter.cpp U lib/CodeGen/MachOWriter.cpp --- Reverse-merging r75617 into '.': U lib/Target/CBackend/CBackend.cpp --- Reverse-merging r75616 into '.': U tools/bugpoint/Miscompilation.cpp U tools/lto/LTOCodeGenerator.cpp U tools/lto/LTOModule.cpp llvm-svn: 75638
-
Torok Edwin authored
llvm-svn: 75630
-
Chris Lattner authored
dubious looking things that I need to investigate in more detail. llvm-svn: 75619
-
Chris Lattner authored
llvm-svn: 75618
-
Chris Lattner authored
indicates whether the label is private or not, instead of taking prefix stuff. One effect of this is that symbols will be generated with *just* the private prefix, instead of both the private prefix *and* the user-label-prefix, but this doesn't matter as long as it is consistent. For example we'll now get "Lfoo" instead of "L_foo". These are just assembler temporary labels anyway, so they never even make it into the .o file. llvm-svn: 75607
-
Devang Patel authored
llvm-svn: 75574
-
Evan Cheng authored
Fix pr4544. When remating, make sure the destination register fits the instruction definition. It may be mismatched due to sub-register coalescing. No test case yet because the code doesn't trigger until 75408 is re-applied. llvm-svn: 75572
-
Evan Cheng authored
llvm-svn: 75553
-
Devang Patel authored
llvm-svn: 75540
-
Bruno Cardoso Lopes authored
llvm-svn: 75537
-
Dan Gohman authored
and related functions out of LoopBase and into Loop, since they are specific to BasicBlock-based loops. This also allows the code to be moved out-of-line. llvm-svn: 75523
-
- Jul 13, 2009
-
-
Dan Gohman authored
using the Curiously Recurring Template Pattern with LoopBase. This will help further refactoring, and future functionality for Loop. Also, Headers can now foward-declare Loop, instead of pulling in LoopInfo.h or doing tricks. llvm-svn: 75519
-
Devang Patel authored
llvm-svn: 75515
-
Owen Anderson authored
llvm-svn: 75508
-