- Feb 06, 2010
-
-
Ted Kremenek authored
llvm-svn: 95459
-
John McCall authored
taken for non-trivial constructors. llvm-svn: 95457
-
Bob Wilson authored
Radar 7614112. llvm-svn: 95456
-
Douglas Gregor authored
llvm-svn: 95455
-
Jakob Stoklund Olesen authored
llvm-svn: 95454
-
Jakob Stoklund Olesen authored
llvm-svn: 95453
-
Devang Patel authored
llvm-svn: 95452
-
- Feb 05, 2010
-
-
Chris Lattner authored
llvm-svn: 95448
-
Douglas Gregor authored
non-type template argument for a non-type template parameter of pointer type. Fixes PR6244. llvm-svn: 95447
-
Chris Lattner authored
redundant with a correct one) pattern that was added for the disassembler. llvm-svn: 95446
-
Chris Lattner authored
llvm-svn: 95445
-
Chris Lattner authored
llvm-svn: 95444
-
Douglas Gregor authored
type-checking within a template definition. In this case, the "instantiated" declaration is just the declaration itself, found within the current instantiation. Fixes PR6239. llvm-svn: 95442
-
Chris Lattner authored
pslld 69, %mm3 ## encoding: [0x0f,0xf2,0x1c,0x25,0x45,0x00,0x00,0x00] instead of like this: pslld 69, %mm3 ## encoding: [0x0f,0xf2,0x1c,0x25,0x45,0000,0000,0000] this only affects 0. llvm-svn: 95441
-
Chris Lattner authored
llvm-svn: 95440
-
Jakob Stoklund Olesen authored
Weird code sometimes uses pointer constants other than null. This patch teaches SimplifyCFG to build switch instructions in those cases. Code like this: void f(const char *x) { if (!x) puts("null"); else if ((uintptr_t)x == 1) puts("one"); else if (x == (char*)2 || x == (char*)3) puts("two"); else if ((intptr_t)x == 4) puts("four"); else puts(x); } Now becomes a switch: define void @f(i8* %x) nounwind ssp { entry: %magicptr23 = ptrtoint i8* %x to i64 ; <i64> [#uses=1] switch i64 %magicptr23, label %if.else16 [ i64 0, label %if.then i64 1, label %if.then2 i64 2, label %if.then9 i64 3, label %if.then9 i64 4, label %if.then14 ] Note that LLVM's own DenseMap uses magic pointers. llvm-svn: 95439
-
Chris Lattner authored
llvm-svn: 95438
-
Chris Lattner authored
llvm-svn: 95437
-
John McCall authored
follows (as conservatively as possible) gcc's current behavior: attributes written on return types that don't apply there are applied to the function instead, etc. Only parse CC attributes as type attributes, not as decl attributes; don't accepet noreturn as a decl attribute on ValueDecls, either (it still needs to apply to other decls, like blocks). Consistently consume CC/noreturn information throughout codegen; enforce this by removing their default values in CodeGenTypes::getFunctionInfo(). llvm-svn: 95436
-
Chris Lattner authored
llvm-svn: 95435
-
Ted Kremenek authored
anything when Sema has issued an error. This matches the behavior in RewriteObjC::HandleTranslationUnit(). llvm-svn: 95434
-
Chris Lattner authored
pseudo instructions. llvm-svn: 95433
-
Chris Lattner authored
llvm-svn: 95432
-
Chris Lattner authored
lower the SETB* instructions. llvm-svn: 95431
-
Douglas Gregor authored
llvm-svn: 95430
-
Douglas Gregor authored
llvm-svn: 95429
-
Charles Davis authored
llvm-svn: 95428
-
Douglas Gregor authored
llvm-svn: 95427
-
Ted Kremenek authored
llvm-svn: 95425
-
Daniel Dunbar authored
llvm-svn: 95423
-
Douglas Gregor authored
when instantiating the declaration of a member template: - Only check if the have a template template argument at a specific position when we already know that we have template arguments at that level; otherwise, we're substituting for a level-reduced template template parameter. - When trying to find an instantiated declaration for a template template parameter, look into the instantiated scope. This was a typo, where we had two checks for TemplateTypeParmDecl, one of which should have been a TemplateTemplateParmDecl. With these changes, tramp3d-v4 passes -fsyntax-only. llvm-svn: 95421
-
Chris Lattner authored
xform it is checking to actually pass. There is no need to match m_SelectCst<0, -1> since instcombine canonicalizes that into not(sext). Add matches for sext(not(x)) in addition to not(sext(x)). llvm-svn: 95420
-
Daniel Dunbar authored
llvm-svn: 95416
-
Chris Lattner authored
llvm-svn: 95414
-
Chris Lattner authored
llvm-svn: 95410
-
Dan Gohman authored
container data. This prevents it from holding onto dangling pointers and potentially behaving unpredictably. llvm-svn: 95409
-
Chris Lattner authored
llvm-svn: 95408
-
Dan Gohman authored
malloc caller in a profile. llvm-svn: 95407
-
Fariborz Jahanian authored
(Fixes radar 7609722). llvm-svn: 95406
-
Chris Lattner authored
TSFlags directly instead of a TargetInstrDesc. llvm-svn: 95405
-