- May 12, 2010
-
-
Evan Cheng authored
llvm-svn: 103538
-
John McCall authored
the test suite after modifying this diagnostic. llvm-svn: 103537
-
John McCall authored
about the permitted scopes. Specifically: 1) Permit labels and gotos to appear after a prologue of variable initializations. 2) Permit indirect gotos to jump out of scopes that don't require cleanup. 3) Diagnose possible attempts to indirect-jump out of scopes that do require cleanup. This requires a substantial reinvention of the algorithm for checking indirect goto. The current algorithm is Omega(M*N), with M = the number of unique scopes being jumped from and N = the number of unique scopes being jumped to, with an additional factor that is probably (worst-case) linear in the depth of scopes. Thus the entire thing is likely cubic given some truly bizarre ill-formed code; on well-formed code the additional factor collapses to an amortized constant (when amortized over the entire function) and so the algorithm is quadratic. Even this requires every label to appear in its own scope, which would be very unusual for indirect-goto code (and extremely unlikely for well-formed code); it is far more likely that all labels will be in the same scope and so the algorithm becomes linear. For such a marginal feature, I am fairly happy with this result. (this is using JumpDiagnostic's definition of scope, where successive variables in a block appear in their own scope) llvm-svn: 103536
-
Daniel Dunbar authored
llvm-svn: 103535
-
Nathan Jeffords authored
Added a trivial function to modify the flags field of MCSymbolData class. The function takes the value and a mask, and clears the mask bits before applying the value. llvm-svn: 103534
-
Devang Patel authored
This is meaningful for blocks. This patch fixes bunch of test failures in gdb testsuite. llvm-svn: 103533
-
Daniel Dunbar authored
be diced into atoms, and adjust getAtom() to take this into account. - This fixes relocations to symbols in fixed size literal sections, for example. llvm-svn: 103532
-
Jakob Stoklund Olesen authored
llvm-svn: 103531
-
Jakob Stoklund Olesen authored
llvm-svn: 103530
-
Dan Gohman authored
llvm-svn: 103529
-
Daniel Dunbar authored
llvm-svn: 103528
-
Daniel Dunbar authored
offset instead of the fixup address as intended. llvm-svn: 103527
-
Daniel Dunbar authored
llvm-svn: 103526
-
Daniel Dunbar authored
llvm-svn: 103525
-
Howard Hinnant authored
[rand.dist.bern.bin]. The evaluation function for this binomial distribution is hopefully just a placeholder. It is using the simplest and slowest method for computing the distribution and needs to be upgraded. llvm-svn: 103524
-
Jeffrey Yasskin authored
llvm-svn: 103523
-
Jakob Stoklund Olesen authored
llvm-svn: 103522
-
Jakob Stoklund Olesen authored
This allows us to add accurate kill markers, something the scavenger likes. Add some more tests from ARM that needed this. llvm-svn: 103521
-
Douglas Gregor authored
llvm-svn: 103520
-
- May 11, 2010
-
-
Dan Gohman authored
create separate virtual registers for CopyFromReg values, so uses of them don't necessarily kill the value. llvm-svn: 103519
-
Abramo Bagnara authored
llvm-svn: 103517
-
Howard Hinnant authored
llvm-svn: 103516
-
Daniel Dunbar authored
implicitly-instantiated class as ...", which seems to have broken bootstrap. llvm-svn: 103515
-
Daniel Dunbar authored
- Fixes PR7098. llvm-svn: 103514
-
Evan Cheng authored
llvm-svn: 103513
-
Chris Lattner authored
llvm-svn: 103511
-
Howard Hinnant authored
llvm-svn: 103510
-
Jakob Stoklund Olesen authored
llvm-svn: 103509
-
Jakob Stoklund Olesen authored
llvm-svn: 103508
-
Bill Wendling authored
llvm-svn: 103507
-
Chris Lattner authored
llvm-svn: 103501
-
Jakob Stoklund Olesen authored
closure after allocating all blocks. Add a few more test cases for -regalloc=fast. llvm-svn: 103500
-
Dan Gohman authored
It works in simple cases, but it isn't a general solution. llvm-svn: 103499
-
Chris Lattner authored
llvm-svn: 103498
-
Douglas Gregor authored
referenced unless we see one of them defined (or the key function defined, if it as one) or if we need the vtable for something. Fixes PR7114. llvm-svn: 103497
-
Duncan Sands authored
to LLVM_LIBRARY_VISIBILITY and introduce LLVM_GLOBAL_VISIBILITY, which is the opposite, for future use by dragonegg. llvm-svn: 103495
-
Duncan Sands authored
llvm-svn: 103494
-
Dan Gohman authored
llvm-svn: 103493
-
Dan Gohman authored
and the others use the regular addPassesToEmitFile hook now, and llc no longer needs a bunch of redundant code to handle the whole-file case. llvm-svn: 103492
-
Howard Hinnant authored
llvm-svn: 103491
-