1. Jun 20, 2017
  2. Jun 19, 2017
    • Artem Tamazov's avatar
      [AMDGPU][mc][tests][NFC] Bulk ISA tests: Massive update. Add Gfx9 dasm tests. · 314eafb7
      Artem Tamazov authored
      A new Gfx9 dasm test added with approx 29000 cases.
      Existing tests extended by (approx.):
      * Gfx7 asm: 5000 test cases
      * Gfx8 asm: 5000 test cases
      * Gfx9 asm: 14400 test cases
      * Gfx8 dasm: 5200 test cases
      
      llvm-svn: 305702
      314eafb7
    • Nirav Dave's avatar
      Allow truncated and extend memory operations in Store Merge. NFCI. · 8dcd008d
      Nirav Dave authored
      As all store merges checks are based on the memory operation
      performed, allow use of truncated stores and extended loads as valid
      input candidates for merging.
      
      Relanding after fixing selection between truncated and normal store.
      
      llvm-svn: 305701
      8dcd008d
    • Andrew Ng's avatar
      [LLD][LinkerScript] Add support for segment NONE. · 6e9f98c1
      Andrew Ng authored
      This patch adds support for segment NONE in linker scripts which enables the
      specification that a section should not be assigned to any segment.
      
      Note that GNU ld does not disallow the definition of a segment named NONE, which
      if defined, effectively overrides the behaviour described above. This feature
      has been copied.
      
      Differential Revision: https://reviews.llvm.org/D34203
      
      llvm-svn: 305700
      6e9f98c1
    • Anna Thomas's avatar
      [JumpThreading][LVI] Invalidate LVI information after blocks are merged · 7949f452
      Anna Thomas authored
      Summary:
      After a single predecessor is merged into a basic block, we need to invalidate
      the LVI information for the new merged block, when LVI is not provably true for
      all of instructions in the new block.
      The test cases added show the correct LVI information using the LVI printer
      pass.
      
      Reviewers: reames, dberlin, davide, sanjoy
      
      Reviewed by: dberlin, davide
      
      Subscribers: llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D34108
      
      llvm-svn: 305699
      7949f452
    • Xin Tong's avatar
      [TRE] Improve code motion in TRE, use AA to tell whether a load can be moved... · b412831d
      Xin Tong authored
      [TRE] Improve code motion in TRE, use AA to tell whether a load can be moved before a call that writes to memory.
      
      Summary: use AA to tell whether a load can be moved before a call that writes to memory.
      
      Reviewers: dberlin, davide, sanjoy, hfinkel
      
      Reviewed By: hfinkel
      
      Subscribers: hfinkel, llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D34115
      
      llvm-svn: 305698
      b412831d
    • Nirav Dave's avatar
      Add test for store merge with noimplicitfloat · 4e363e36
      Nirav Dave authored
      llvm-svn: 305697
      4e363e36
    • Francois Ferrand's avatar
      clang-format: Fix C99 designated initializers corner cases · 5f07f443
      Francois Ferrand authored
      Summary:
      This fixes the missing space before the designated initializer when `Cpp11BracedListStyle=false` :
      
        const struct A a = { .a = 1, .b = 2 };
                            ^
      
      Also, wrapping between opening brace and designated array initializers used to have an excessive penalty (like breaking between an expression and the subscript operator), leading to unexpected wrapping:
      
        const struct Aaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaa =
            {[1] = aaaaaaaaaaaaaaaaaaaaaaaaaaa,
             [2] = bbbbbbbbbbbbbbbbbbbbbbbbbbb};
      
      instead of:
      
        const struct Aaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaa = {
            [1] = aaaaaaaaaaaaaaaaaaaaaaaaaaa,
            [2] = bbbbbbbbbbbbbbbbbbbbbbbbbbb};
      
      Finally, designated array initializers are not binpacked, just like designated member initializers.
      
      Reviewers: djasper
      
      Reviewed By: djasper
      
      Subscribers: cfe-commits, krasimir, klimek
      
      Differential Revision: https://reviews.llvm.org/D33491
      
      llvm-svn: 305696
      5f07f443
    • Francis Ricci's avatar
      Add lsan interceptors for libdispatch functions on darwin · 4f1e047a
      Francis Ricci authored
      Summary:
      This is required for standalone LSan to work with libdispatch worker threads,
      and is a slimmed down version of the functionality provided for ASan
      in asan_mac.cc.
      
      Reviewers: alekseyshl, kubamracek, glider, kcc
      
      Subscribers: mgorny, llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D34247
      
      llvm-svn: 305695
      4f1e047a