1. Sep 05, 2019
    • Matt Arsenault's avatar
      GlobalISel/TableGen: Don't skip REG_SEQUENCE based on patterns · 38fb3444
      Matt Arsenault authored
      This partially adds support for patterns with REG_SEQUENCE. The source
      patterns are now accepted, but the pattern is still rejected due to
      missing support for the instruction renderer.
      
      llvm-svn: 370920
      38fb3444
    • Alexander Kornienko's avatar
      [clang-tidy] Fix bugprone-argument-comment bug if there are marcos. · 240a2e25
      Alexander Kornienko authored
      Summary:
      Fix bugprone-argument-comment bug if there are marcos.
      
      For example:
      ```
      void j(int a, int b, int c);
      j(X(1), /*b=*/1, X(1));
      ```
      
      clang-tidy can't recognize comment "/*b=*/". It suggests fix like this:
      ```
      j(X(1), /*b=*//*b=*/1, X(1));
      ```
      
      This change tries to fix this issue.
      
      Reviewers: alexfh, hokein, aaron.ballman
      
      Reviewed By: alexfh
      
      Subscribers: xazax.hun, cfe-commits
      
      Tags: #clang, #clang-tools-extra
      
      Patch by Yubo Xie.
      
      Differential Revision: https://reviews.llvm.org/D67080
      
      llvm-svn: 370919
      240a2e25
    • Matt Arsenault's avatar
      GlobalISel: Define GINodeEquiv for undef · 80913a70
      Matt Arsenault authored
      AMDGPU uses this for undef vector elements in some patterns which will
      be enabled in a future patch.
      
      llvm-svn: 370918
      80913a70
    • Johannes Doerfert's avatar
      [Attributor] Deal more explicit with non-exact definitions · b0412e43
      Johannes Doerfert authored
      Summary:
      Before we tried to rule out non-exact definitions early but that lead to
      on-demand attributes created for them anyway. As a consequence we needed
      to look at the definition in the initialize of each attribute again.
      This patch centralized this lookup and tightens the condition under
      which we give up on non-exact definitions.
      
      Reviewers: uenoku, sstefan1
      
      Subscribers: hiraditya, bollu, llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D67115
      
      llvm-svn: 370917
      b0412e43
    • Frederic Riss's avatar
      Workaround TestConcurrentMany* flakiness in a more pricipled way · cc5b509b
      Frederic Riss authored
      The flakiness on our local machines seems to come for a race in the kernel
      between task_suspend and the creation of the Mach exceptions for the threads
      that hit breakpoints. The debugserver code is written with the assumption
      that the kernel will be able to provide us with all the exceptions for a
      given task once task_suspend returns. On machines with higher core counts,
      this seems not to be the case. The first batch of exceptions we get after
      task_suspend does not contain exceptions for all the threads that have hit
      a breakpoint, thus they get misreprorted in the first stop packet.
      
      Adding a 1ms timeout to the call that retrieves the batch of exceptions
      seems to workaround the issue reliably on our machines, and it shoulnd't
      impact standard debugging scenarios too much (a stop will incur an additional
      1ms delay). We'll be talking to the kernel team to figure out the right
      contract for those APIs.
      
      This patch also reverts part of Jonas' previous workaround for the
      issue (r370785).
      
      llvm-svn: 370916
      cc5b509b
    • Craig Topper's avatar
    • Simon Pilgrim's avatar
      [Attributor] Ensure AAIsDead correctly overrides getIRPosition · b8cfdcfd
      Simon Pilgrim authored
      As commented on D65712, the getIRPosition methods weren't correctly being overridden.
      
      Differential Revision: https://reviews.llvm.org/D67170
      
      llvm-svn: 370914
      b8cfdcfd
  2. Sep 04, 2019