- Jul 13, 2010
-
-
Jakob Stoklund Olesen authored
llvm-svn: 108277
-
John McCall authored
llvm-svn: 108276
-
Bob Wilson authored
NEON VMOV-immediate instructions. This simplifies some things. llvm-svn: 108275
-
Bruno Cardoso Lopes authored
Add the x86 VEX_L form to handle special cases where VEX_L must be set. llvm-svn: 108274
-
Fariborz Jahanian authored
to set that of VarDecl for block variables (they are already set). Per Doug's comment. llvm-svn: 108273
-
Evan Cheng authored
llvm-svn: 108272
-
Greg Clayton authored
llvm-svn: 108271
-
John McCall authored
mostly in avoiding unnecessary work at compile time but also in producing more sensible block orderings. Move the destructor cleanups for local variables over to use lazy cleanups. Eventually all cleanups will do this; for now we have some awkward code duplication. Tell IR generation just to never produce landing pads in -fno-exceptions. This is a much more comprehensive solution to a problem which previously was half-solved by checks in most cleanup-generation spots. llvm-svn: 108270
-
Dale Johannesen authored
This may not be right in all cases, but it's better than asserting which it was doing before. PR 7528. llvm-svn: 108268
-
Sebastian Redl authored
llvm-svn: 108267
-
Fariborz Jahanian authored
to block context when first instantiating them. llvm-svn: 108266
-
Kevin Enderby authored
llvm-svn: 108265
-
Jakob Stoklund Olesen authored
LiveInterval::overlapsFrom dereferences end() if it is called on an empty interval. It would be reasonable to just return false - an empty interval doesn't overlap anything, but I want to know who is doing it first. llvm-svn: 108264
-
Dan Gohman authored
construct is the named metadata. llvm-svn: 108263
-
Dan Gohman authored
useful, but it is nice for consistency. llvm-svn: 108262
-
Jakob Stoklund Olesen authored
Also, one binary search is enough. llvm-svn: 108261
-
Chris Lattner authored
t2.c:2:12: warning: use of logical && with constant operand; switch to bitwise & or remove constant [-Wlogical-bitwise-confusion] return x && 4; ^ ~ wording improvement suggestions are welcome. llvm-svn: 108260
-
Dan Gohman authored
llvm-svn: 108259
-
Evan Cheng authored
Extend the r107852 optimization which turns some fp compare to code sequence using only i32 operations. It now optimize some f64 compares when fp compare is exceptionally slow (e.g. cortex-a8). It also catches comparison against 0.0. llvm-svn: 108258
-
Chris Lattner authored
llvm-svn: 108257
-
Evan Cheng authored
llvm-svn: 108256
-
Greg Clayton authored
This allows LLDB (llvm/tools/lldb) to build on Mac OS X. llvm-svn: 108255
-
Evan Cheng authored
llvm-svn: 108254
-
Douglas Gregor authored
(e.g., a call, cast, etc.), immediately adjust the expression's type to strip cv-qualifiers off of all non-class types (in C++) or all types (in C). This effectively extends my previous fix for PR7463, which was restricted to calls, to other kinds of expressions within similar characteristics. I've audited every use of getNonReferenceType() in the code base, switching to the newly-renamed getNonLValueExprType() where necessary. Big thanks to Eli for pointing out just how incomplete my original fix for PR7463 actually was. We've been handling cv-qualifiers on rvalues wrong for a very, very long time. Fixes PR7463. llvm-svn: 108253
-
Eric Christopher authored
llvm-svn: 108252
-
Dale Johannesen authored
llvm-svn: 108251
-
Chandler Carruth authored
EXPECT_{TRUE,FALSE}(...) macros. This also prevents suprious warnings about bool-to-pointer conversion that occurs withit EXPECT_EQ. llvm-svn: 108248
-
Chandler Carruth authored
llvm-svn: 108247
-
Devang Patel authored
llvm-svn: 108246
-
Devang Patel authored
llvm-svn: 108245
-
Douglas Gregor authored
llvm-svn: 108243
-
Douglas Gregor authored
size" error for code like new (int [size]) to a warning, add a Fix-It to remove the parentheses, and make this diagnostic work properly when it occurs in a template instantiation. <rdar://problem/8018245>. llvm-svn: 108242
-
Duncan Sands authored
by a return that returns a constant, while elsewhere in the function another return instruction returns a different constant. This is a special case of accumulator recursion, so just generalize the existing logic a bit. llvm-svn: 108241
-
Gabor Greif authored
with this commit the callee moves to the end of the operand array (from the start) and the call arguments now start at index 0 (formerly 1) this ordering is now consistent with InvokeInst this commit only flips the switch, functionally it is equivalent to r101465 I intend to commit several cleanups after a few days of soak period llvm-svn: 108240
-
Benjamin Kramer authored
llvm-svn: 108239
-
Duncan Sands authored
wider than the source type. Correct LangRef. llvm-svn: 108238
-
Argyrios Kyrtzidis authored
When loading the PCH, IdentifierInfos that are associated with pragmas cause declarations that use these identifiers to be deserialized (e.g. the "clang" pragma causes the "clang" namespace to be loaded). We can avoid this if we just use StringRefs for the pragmas. As a bonus, since we don't have to create and pass IdentifierInfos, the pragma interfaces get a bit more simplified. llvm-svn: 108237
-
Douglas Gregor authored
effect warning" by printing the qualifiers we saw and correctly pluralizing the message, e.g., test/SemaCXX/conditional-expr.cpp:295:3: warning: 'const volatile' type qualifiers on return type have no effect const volatile Enum g2() { ^~~~~ ~~~~~~~~ llvm-svn: 108236
-
Douglas Gregor authored
don't include the nested-name-specifier or template arguments: they were only relevant when resolving the declaration. Fixes PR7460. llvm-svn: 108235
-
Douglas Gregor authored
strip cv-qualifiers from the expression's type when the language calls for it: in C, that's all the time, while C++ only does it for non-class types. Centralized the computation of the call expression type in QualType::getCallResultType() and some helper functions in other nodes (FunctionDecl, ObjCMethodDecl, FunctionType), and updated all relevant callers of getResultType() to getCallResultType(). Fixes PR7598 and PR7463, along with a bunch of getResultType() call sites that weren't stripping references off the result type (nothing stripped cv-qualifiers properly before this change). llvm-svn: 108234
-