- Dec 10, 2009
-
-
Jakob Stoklund Olesen authored
The coalescer is supposed to clean these up, but when setting up parameters for a function call, there may be copies to physregs. If the defining instruction has been LICM'ed far away, the coalescer won't touch it. The register allocation hint does not always work - when the register allocator is backtracking, it clears the hints. This patch is more conservative than r90502, and does not break 483.xalancbmk/i686. It still breaks the PowerPC bootstrap, so it is disabled by default, and can be enabled with the -trivial-coalesce-ends option. llvm-svn: 91049
-
Torok Edwin authored
This code was crashing always with oprofile enabled, since it tried to create a StringRef out of NULL, which run strlen on NULL. llvm-svn: 91046
-
John McCall authored
are a couple of O(n^2) operations in this, some analogous to the usual O(n^2) redeclaration problem and some not. In particular, retroactively removing shadow declarations when they're hidden by later decls is pretty unfortunate. I'm not yet convinced it's worse than the alternative, though. llvm-svn: 91045
-
Eli Friedman authored
llvm-svn: 91044
-
Eli Friedman authored
llvm-svn: 91043
-
Anders Carlsson authored
Mangle static variables inside Objective-C methods in Objective-C++. We currently mangle them the same way as gcc does. llvm-svn: 91042
-
Eli Friedman authored
llvm-svn: 91041
-
Chris Lattner authored
a better diagnostic in the second example. llvm-svn: 91040
-
Chris Lattner authored
llvm-svn: 91039
-
Chris Lattner authored
to use ColonProtectionRAIIObject in the C codepath even though it won't matter for consistency. llvm-svn: 91037
-
Anders Carlsson authored
llvm-svn: 91036
-
Mike Stump authored
during throw to deallocate the exception object. WIP. llvm-svn: 91035
-
Chris Lattner authored
llvm-svn: 91032
-
Anders Carlsson authored
llvm-svn: 91027
-
Anders Carlsson authored
llvm-svn: 91026
-
Anders Carlsson authored
llvm-svn: 91025
-
Chris Lattner authored
llvm-svn: 91024
-
Chris Lattner authored
TODOs for other classes that could be moved out of Parser.h. I don't plan to do these in the near term though. llvm-svn: 91023
-
Chris Lattner authored
llvm-svn: 91016
-
Chris Lattner authored
llvm-svn: 91015
-
Chris Lattner authored
to be a bool in Parser that is twiddled by the ColonProtectionRAIIObject class. No functionality change. llvm-svn: 91014
-
Anders Carlsson authored
llvm-svn: 91012
-
Eric Christopher authored
of the loop. We could get to this condition via indirect branches. llvm-svn: 91009
-
Chris Lattner authored
llvm-svn: 91008
-
Anders Carlsson authored
llvm-svn: 91006
-
Chris Lattner authored
value size. This only manifested when memdep inprecisely returns clobber, which is do to a caching issue in the PR5744 testcase. We can 'efficiently emulate' this by using '-no-aa' llvm-svn: 91004
-
Jim Grosbach authored
Add memory barrier intrinsic support for ARM. Moving towards adding the atomic operations intrinsics. llvm-svn: 91003
-
Nuno Lopes authored
llvm-svn: 91002
-
Mike Stump authored
llvm-svn: 91001
-
Mike Stump authored
llvm-svn: 91000
-
Chris Lattner authored
llvm-svn: 90999
-
Mike Stump authored
llvm-svn: 90998
-
Mike Stump authored
llvm-svn: 90997
-
Mike Stump authored
llvm-svn: 90996
-
Fariborz Jahanian authored
(fixes radar 7457534). llvm-svn: 90995
-
Mike Stump authored
llvm-svn: 90994
-
Ted Kremenek authored
Fix null dereference in OSAtomicChecker and special case SymbolicRegions. We still aren't handling them correctly; I've added to failing test cases to test/Analysis/NSString-failed-cases.m that should pass and then be merged in to test/Analysis/NSString.m. llvm-svn: 90993
-
Douglas Gregor authored
new notion of an "initialization sequence", which encapsulates the computation of the initialization sequence along with diagnostic information and the capability to turn the computed sequence into an expression. At present, I've only switched one CheckReferenceInit callers over to this new mechanism; more will follow. Aside from (hopefully) being much more true to the standard, the diagnostics provided by this reference-initialization code are a bit better than before. Some examples: p5-var.cpp:54:12: error: non-const lvalue reference to type 'struct Derived' cannot bind to a value of unrelated type 'struct Base' Derived &dr2 = b; // expected-error{{non-const lvalue reference to ... ^ ~ p5-var.cpp:55:9: error: binding of reference to type 'struct Base' to a value of type 'struct Base const' drops qualifiers Base &br3 = bc; // expected-error{{drops qualifiers}} ^ ~~ p5-var.cpp:57:15: error: ambiguous conversion from derived class 'struct Diamond' to base class 'struct Base': struct Diamond -> struct Derived -> struct Base struct Diamond -> struct Derived2 -> struct Base Base &br5 = diamond; // expected-error{{ambiguous conversion from ... ^~~~~~~ p5-var.cpp:59:9: error: non-const lvalue reference to type 'long' cannot bind to a value of unrelated type 'int' long &lr = i; // expected-error{{non-const lvalue reference to type ... ^ ~ p5-var.cpp:74:9: error: non-const lvalue reference to type 'struct Base' cannot bind to a temporary of type 'struct Base' Base &br1 = Base(); // expected-error{{non-const lvalue reference to ... ^ ~~~~~~ p5-var.cpp:102:9: error: non-const reference cannot bind to bit-field 'i' int & ir1 = (ib.i); // expected-error{{non-const reference cannot ... ^ ~~~~~~ p5-var.cpp:98:7: note: bit-field is declared here int i : 17; // expected-note{{bit-field is declared here}} ^ llvm-svn: 90992
-
- Dec 09, 2009
-
-
Mike Stump authored
llvm-svn: 90991
-
Dan Gohman authored
llvm-svn: 90990
-