1. Oct 01, 2012
  2. Sep 30, 2012
  3. Sep 29, 2012
    • Daniel Jasper's avatar
      Fix refersToDeclaration()-matcher and add missing test case. This was · 0c30337f
      Daniel Jasper authored
      broken as of r164656 as TemplateArgument::getAsDecl() now asserts
      instead of returning NULL for other template arugment kinds.
      
      llvm-svn: 164896
      0c30337f
    • Dmitri Gribenko's avatar
      Move the 'find macro by spelling' infrastructure to the Preprocessor class and · 6743e046
      Dmitri Gribenko authored
      use it to suggest appropriate macro for __attribute__((deprecated)) in
      -Wdocumentation-deprecated-sync.
      
      llvm-svn: 164892
      6743e046
    • Chandler Carruth's avatar
      Fix a somewhat surprising miscompile where code relying on an ABI · 903790ef
      Chandler Carruth authored
      alignment could lose it due to the alloca type moving down to a much
      smaller alignment guarantee.
      
      Now SROA will actively compute a proper alignment, factoring the target
      data, any explicit alignment, and the offset within the struct. This
      will in some cases lower the alignment requirements, but when we lower
      them below those of the type, we drop the alignment entirely to give
      freedom to the code generator to align it however is convenient.
      
      Thanks to Duncan for the lovely test case that pinned this down. =]
      
      llvm-svn: 164891
      903790ef
    • Duncan Sands's avatar
      Speculatively revert commit 164885 (nadav) in the hope of ressurecting a pile of · fb9d30dd
      Duncan Sands authored
      buildbots.  Original commit message:
      
      A DAGCombine optimization for merging consecutive stores. This optimization is not profitable in many cases
      because moden processos can store multiple values in parallel, and preparing the consecutive store requires
      some work.  We only handle these cases:
      
      1. Consecutive stores where the values and consecutive loads. For example:
        int a = p->a;
        int b = p->b;
        q->a = a;
        q->b = b;
      
      2. Consecutive stores where the values are constants. Foe example:
        q->a = 4;
        q->b = 5;
      
      llvm-svn: 164890
      fb9d30dd