- Sep 02, 2008
-
-
Dan Gohman authored
even in FastISel mode in the case where FastISel successfully selects all the instructions. llvm-svn: 55641
-
Ted Kremenek authored
- Change constructor and create methods to accept a CXXRecordDecl* (RecordDecl*) instead of a ScopedDecl* for PrevDecl. This causes the type checking to be more tight and doesn't break any code. RecordDecl: - Don't use the NextDeclarator field in ScopedDecl to represent the previous declaration. This is a conflated use of the NextDeclarator field, which will be removed anyway when DeclGroups are fully implemented. - Instead, represent (a soon to be implemented) chain of RecordDecls using a NextDecl field. The last RecordDecl in the chain is always the 'defining' RecordDecl that owns the FieldDecls. The other RecordDecls in the chain are forward declarations. llvm-svn: 55640
-
Steve Naroff authored
- Replace FIXME in Preprocessor::HandleIdentifier() with a check that avoids diagnosing extension tokens that originate from macro definitions. llvm-svn: 55639
-
Devang Patel authored
llvm-svn: 55638
-
Steve Naroff authored
llvm-svn: 55637
-
Daniel Dunbar authored
disabled until issues with gcc 4.1 on linux 32-bit are resolved. llvm-svn: 55636
-
Steve Naroff authored
llvm-svn: 55635
-
Nuno Lopes authored
llvm-svn: 55632
-
Nuno Lopes authored
# first commit to llvm, so whatch out :) llvm-svn: 55631
-
Nuno Lopes authored
llvm-svn: 55630
-
Nuno Lopes authored
llvm-svn: 55629
-
Matthijs Kooijman authored
llvm-svn: 55628
-
Eli Friedman authored
offset-of-like expressions. llvm-svn: 55627
-
Evan Cheng authored
llvm-svn: 55626
-
Evan Cheng authored
llvm-svn: 55625
-
Evan Cheng authored
llvm-svn: 55624
-
Evan Cheng authored
Change getBinaryCodeForInstr prototype. First operand MachineInstr& should be const. Make corresponding changes. llvm-svn: 55623
-
Eli Friedman authored
Note that this isn't really a complete fix; I think there are other potential overrun situations. I don't really know what the best systematic fix is, though. llvm-svn: 55622
-
Eli Friedman authored
anywhere near correct in terms of missing cases and missing diagnostics, but it's good enough to handle the uses in the Linux system headers, which are currently a constant pain for compiling applications on Linux. llvm-svn: 55621
-
Eli Friedman authored
type-checking pointer subtraction; if the canonical types aren't used, the qualifiers won't always get stripped off correctly. llvm-svn: 55620
-
Zhongxing Xu authored
llvm-svn: 55619
-
Ted Kremenek authored
llvm-svn: 55618
-
Nuno Lopes authored
llvm-svn: 55615
-
Eli Friedman authored
I'll try to come up with a correct fix for the testcase sometime soon. llvm-svn: 55614
-
- Sep 01, 2008
-
-
Ted Kremenek authored
llvm-svn: 55613
-
Ted Kremenek authored
- warn about nonnull being applied to functions with no pointer arguments - continue processing argument list in the attribute when we encounter a non-pointer parameter being marked as nonnull - when no argument list is specified, only mark pointers as nonnull. This fixes PR 2732 and radar 6188814. llvm-svn: 55610
-
Nuno Lopes authored
llvm-svn: 55609
-
Gabor Greif authored
The first can update the SDNode in an SDValue while the second is called with SDNode* and returns a possibly updated SDNode*. This patch has no intended functional impact, but helps eliminating ugly temporary SDValues. llvm-svn: 55608
-
Nuno Lopes authored
llvm-svn: 55607
-
Duncan Sands authored
(what matters is that it is added to the worklist), it seems more logical to return it. llvm-svn: 55606
-
Duncan Sands authored
llvm-svn: 55605
-
Duncan Sands authored
attributes on functions, based on the result of alias analysis. It's not hardwired to use GlobalsModRef even though this is the only (AFAIK) alias analysis that results in this pass actually doing something. Enable as follows: opt ... -globalsmodref-aa -markmodref ... Advantages of this pass: (1) records the result of globalsmodref in the bitcode, meaning it is available for use by later passes (currently the pass manager isn't smart enough to magically make an advanced alias analysis available to all later passes), which may expose more optimization opportunities; (2) hopefully speeds up compilation when code is optimized twice, for example when a file is compiled to bitcode, then later LTO is done on it: marking functions readonly/readnone when producing the initial bitcode should speed up alias analysis during LTO; (3) good for discovering that globalsmodref doesn't work very well :) Not currently turned on by default. llvm-svn: 55604
-
Nuno Lopes authored
llvm-svn: 55603
-
Evan Cheng authored
llvm-svn: 55601
-
Evan Cheng authored
llvm-svn: 55599
-
Evan Cheng authored
llvm-svn: 55598
-
Evan Cheng authored
llvm-svn: 55597
-
Evan Cheng authored
llvm-svn: 55596
-
Evan Cheng authored
llvm-svn: 55594
-
Evan Cheng authored
llvm-svn: 55593
-