- Jul 14, 2009
-
-
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
-
Daniel Dunbar authored
--- Reverse-merging r75615 into '.': U lib/Target/XCore/XCoreAsmPrinter.cpp U lib/Target/PIC16/PIC16AsmPrinter.cpp U lib/Target/X86/AsmPrinter/X86IntelAsmPrinter.cpp U lib/Target/MSP430/MSP430AsmPrinter.cpp U lib/Target/IA64/AsmPrinter/IA64AsmPrinter.cpp U lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp U lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp U lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp U lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp U lib/Target/MSIL/MSILWriter.cpp U lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp U lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp llvm-svn: 75637
-
Daniel Dunbar authored
unbreaking llvm-gcc (on Darwin). --- Reverse-merging r75620 into '.': U include/llvm/Support/Mangler.h --- Reverse-merging r75610 into '.': U test/CodeGen/X86/loop-hoist.ll G include/llvm/Support/Mangler.h U lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp U lib/VMCore/Mangler.cpp llvm-svn: 75636
-
Dan Gohman authored
users from the Scalars map. llvm-svn: 75634
-
Dan Gohman authored
This results in the pass manager running IVUsers only once for indvars, instead of twice. llvm-svn: 75633
-
Dan Gohman authored
even when they're obvious. llvm-svn: 75632
-
Torok Edwin authored
Fix by making the LLVM_UNREACHABLE pass __FILE__ and __LINE__ to llvm_unreachable. llvm-svn: 75631
-
Torok Edwin authored
llvm-svn: 75630
-
Anton Korobeynikov authored
extension to another bit width. This is needed to get correct singed value. Patch by Artur Pietrek! llvm-svn: 75629
-
Anton Korobeynikov authored
llvm-svn: 75628
-
Daniel Dunbar authored
- Add getExecutionCount(const Function). - Add helper Edge type. - constify. - No functionality change. llvm-svn: 75623
-
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
llvm-svn: 75617
-
Chris Lattner authored
llvm-svn: 75615
-
Bob Wilson authored
llvm-svn: 75611
-
Chris Lattner authored
to symbols instead of doing it with "printSuffixedName". This gets us to the point where there is a real separation between computing a symbol name and printing it, something I need for MC printer stuff. This patch also fixes a corner case bug where unnamed private globals wouldn't get the private label prefix. Next up, rename all uses of getValueName -> getMangledName for better greppability, and then tackle the ppc/arm backends to eliminate "printSuffixedName". llvm-svn: 75610
-
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
-
Eli Friedman authored
llvm-svn: 75586
-
Evan Cheng authored
2. BX does not "use" the link register, it defines it. 3. Fix a couple more places in thumb td file that still uses pre-UAL syntax. llvm-svn: 75585
-
Dan Gohman authored
function. llvm-svn: 75584
-
Bill Wendling authored
llvm-svn: 75581
-
Dan Gohman authored
block has a single unique exiting block. llvm-svn: 75579
-
Dan Gohman authored
works similar to isLoopInvariant, except that it will do trivial hoisting to try to make the value loop invariant if it isn't already. This makes it easier for transformation passes to clear trivial instructions out of the way (the regular LICM pass doesn't run until relatively late). This is code factored out of LoopSimplify and other places. llvm-svn: 75578
-
Chris Lattner authored
llvm-svn: 75577
-
David Goodwin authored
llvm-svn: 75576
-
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
-
Dale Johannesen authored
xor R, R is a common and valid idiom for zeroing a register, for example. llvm-svn: 75571
-
Dan Gohman authored
llvm-svn: 75568
-
Dan Gohman authored
llvm-svn: 75567
-
Bob Wilson authored
llvm-svn: 75566
-
Bob Wilson authored
llvm-svn: 75565
-
Chris Lattner authored
llvm-svn: 75564
-
Bob Wilson authored
llvm-svn: 75562
-
Chris Lattner authored
descriptive. Thange them to keep track of the ID of a global that is assigned, not the first mangled name returned for it. Without doing this, we are required to always use the same suffix for a global that gets mangled. This means that we can mangle the same global once with $stub and another time with $non_lazy_ptr or whatever. llvm-svn: 75561
-
Owen Anderson authored
llvm-svn: 75559
-
Chris Lattner authored
local symbols and we haven't had type planes since llvm 1.9. llvm-svn: 75558
-
Chris Lattner authored
used with globals. llvm-svn: 75557
-