- Mar 23, 2009
-
-
Evan Cheng authored
Fix a bug in spill weight computation. If the alias is a super-register, and the super-register is in the register class we are trying to allocate. Then add the weight to all sub-registers of the super-register even if they are not aliases. e.g. allocating for GR32, bh is not used, updating bl spill weight. bl should get the same spill weight otherwise it will be choosen as a spill candidate since spilling bh doesn't make ebx available. This fix PR2866. llvm-svn: 67574
-
Ted Kremenek authored
llvm-svn: 67573
-
Ted Kremenek authored
A test case to test that -warn-dead-stores does not emit a warning for stores to variables marked with '#pragma unused'. llvm-svn: 67570
-
Ted Kremenek authored
llvm-svn: 67569
-
Ted Kremenek authored
llvm-svn: 67565
-
Daniel Dunbar authored
On a synthetic command line consisting of almost all defined options, this drops wall time from .00494 to .00336 and user time from .00258 to .00105. On the same benchmark, clang-driver is about 15% faster than the primary gcc driver and almost twice as fast as the gcc driver driver. llvm-svn: 67564
-
Dale Johannesen authored
same as a normal i80 {low64, high16} rather than its own {high64, low16}. A depressing number of places know about this; I think I got them all. Bitcode readers and writers convert back to the old form to avoid breaking compatibility. llvm-svn: 67562
-
John Mosby authored
llvm-svn: 67560
-
Anders Carlsson authored
llvm-svn: 67559
-
Dan Gohman authored
a data dependency on the load node, so it really needs a data-dependence edge to the load node, even if the load previously existed. And add a few comments. llvm-svn: 67554
-
Ted Kremenek authored
llvm-svn: 67553
-
Daniel Dunbar authored
llvm-svn: 67552
-
Fariborz Jahanian authored
llvm-svn: 67551
-
Anders Carlsson authored
More improvements to abstract type checking. Handle arrays correctly, and make sure to check parameter types before they decay. llvm-svn: 67550
-
Daniel Dunbar authored
clang doesn't support, and don't want to warn are unused. Eventually these should disappear. Here is a more readable list than is in the diff: W options: -Wall, -Wcast-align, -Wchar-align, -Wchar-subscripts, -Werror, -Wextra, -Winline, -Wint-to-pointer-cast, -Wmissing-braces, -Wmost, -Wnested-externs, -Wno-format-y2k, -Wno-four-char-constants, -Wno-missing-field-initializers, -Wno-trigraphs, -Wno-unknown-pragmas, -Wno-unused-parameter, -Wparentheses, -Wpointer-arith, -Wpointer-to-int-cast, -Wreturn-type, -Wshorten-64-to-32, -Wswitch, -Wunused-function, -Wunused-label, -Wunused-value, -Wunused-variable, -Wwrite-strings. f options: -fasm-blocks, -fmessage-length=. llvm-svn: 67549
-
Daniel Dunbar authored
Release-Asserts mode). Also, avoid searching through option groups (which will never match). llvm-svn: 67548
-
Evan Cheng authored
llvm-svn: 67545
-
Evan Cheng authored
llvm-svn: 67544
-
Chris Lattner authored
llvm-svn: 67543
-
Anders Carlsson authored
llvm-svn: 67542
-
Douglas Gregor authored
library function, accept this declaration and pretend that we do not know that this is a library function. autoconf depends on this (broken) behavior. llvm-svn: 67541
-
Dan Gohman authored
actually have uses, which reflects the way it's used. llvm-svn: 67540
-
Chris Lattner authored
This matters in assembler mode, where this is silently allowed. This fixes rdar://6709206. llvm-svn: 67539
-
Ted Kremenek authored
<rdar://problem/6704930> involving SimpleConstraintManager not reasoning well about symbolic constraint values involving arithmetic operators. llvm-svn: 67534
-
Douglas Gregor authored
prototype. Thanks Eli! llvm-svn: 67533
-
Chris Lattner authored
llvm-svn: 67532
-
Dan Gohman authored
in an SUnit, instead of just the first one. This fix is needed by some upcoming scheduler changes. llvm-svn: 67531
-
Douglas Gregor authored
llvm-svn: 67530
-
Daniel Dunbar authored
llvm-svn: 67529
-
Dan Gohman authored
defs, regardless of whether they are actually used. llvm-svn: 67528
-
Daniel Dunbar authored
- Patch by Ed Schoeten! llvm-svn: 67527
-
Dan Gohman authored
explicitly flush it. llvm-svn: 67526
-
Dan Gohman authored
llvm-svn: 67525
-
Dan Gohman authored
llvm-svn: 67524
-
Dan Gohman authored
llvm-svn: 67523
-
Dan Gohman authored
static member functions, and add getIncomingValueNumForOperand and getIncomingBlockNumForOperand, which are the respective inverses. llvm-svn: 67522
-
Ted Kremenek authored
values passed-by-reference to unknown functions. llvm-svn: 67519
-
Dan Gohman authored
llvm-svn: 67518
-
Daniel Dunbar authored
llvm-svn: 67517
-
Evan Cheng authored
Model inline asm constraint which ties an input to an output register as machine operand TIED_TO constraint. This eliminated the need to pre-allocate registers for these. This also allows register allocator can eliminate the unneeded copies. llvm-svn: 67512
-