Skip to content
  1. Oct 02, 2012
  2. Oct 01, 2012
  3. Sep 30, 2012
  4. Sep 29, 2012
    • Bob Wilson's avatar
      Add LLVM support for Swift. · e8a549cd
      Bob Wilson authored
      llvm-svn: 164899
      e8a549cd
    • Bob Wilson's avatar
      Whitespace. · 63605ef3
      Bob Wilson authored
      llvm-svn: 164898
      63605ef3
    • Benjamin Kramer's avatar
      Shrink TargetAlignElem a bit, we do a lot of searches on them. · 903f4856
      Benjamin Kramer authored
      llvm-svn: 164897
      903f4856
    • 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
    • Craig Topper's avatar
      Tidy up to match coding standards. Remove 'else' after 'return' and moving... · 5f9791fd
      Craig Topper authored
      Tidy up to match coding standards. Remove 'else' after 'return' and moving operators to end of preceding line. No functional change intended.
      
      llvm-svn: 164887
      5f9791fd
    • Craig Topper's avatar
      Replace a couple if/elses around similar calls with conditional operators on... · 65161fa4
      Craig Topper authored
      Replace a couple if/elses around similar calls with conditional operators on the varying arguments. No functional change.
      
      llvm-svn: 164886
      65161fa4
    • Nadav Rotem's avatar
      · a2e7ea2f
      Nadav Rotem authored
      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: 164885
      a2e7ea2f
Loading