1. Aug 19, 2017
  2. Aug 18, 2017
    • Brian Gesiak's avatar
      [Lexicon] Add "GEP" · 8953a7c5
      Brian Gesiak authored
      Summary:
      `getelementptr` is frequently abbreviated as "GEP", often in source files that
      do not ever reference the full name of the instruction. Add it to the Lexicon,
      in case readers go to look for what it means there.
      
      Test plan:
      1. `ninja sphinx`
      2. Confirm that the rendered docs HTML contains the new "GEP" entry
      
      llvm-svn: 311168
      8953a7c5
    • Simon Pilgrim's avatar
      358aeae7
    • Simon Pilgrim's avatar
      [X86][PCLMUL] Add scheduling latency/throughput test for PCLMULQDQ instruction · 9eb0869e
      Simon Pilgrim authored
      Added it to the SSE42 tests as targets seem to always have both
      
      llvm-svn: 311166
      9eb0869e
    • Andreas Simbuerger's avatar
      [Polly][Bug fix] Wrong dependences filtering during Fully Indexed expansion · 8d5b257d
      Andreas Simbuerger authored
      Summary:
      When trying to expand memory accesses, the current version of Polly uses statement Level dependences. The actual implementation is not working in case of multiple dependences per statement. For example in the following source code :
      ```
      void mse(double A[Ni], double B[Nj], double C[Nj], double D[Nj]) {
        int i,j;
        for (j = 0; j < Ni; j++) {
          for (int i = 0; i<Nj; i++)
      S:    B[i] = i;
          for (int i = 0; i<Nj; i++)
      T:    D[i] = i;
      
      U:  A[j] = B[j];
            C[j] = D[j];
        }
      }
      ```
      The statement U has two dependences with S and T. The current version of polly fails during expansion.
      
      This patch aims to fix this bug. For that, we use Reference Level dependences to be able to filter dependences according to statement and memory ref. The principle of expansion remains the same as before.
      
      We also noticed that we need to bail out if load come after store (at the same position) in same statement. So a check was added to isExpandable.
      
      Contributed by: Nicholas Bonfante <nicolas.bonfante@insa-lyon.fr>
      
      Reviewers: Meinersbur, simbuerg, bollu
      
      Reviewed By: Meinersbur, simbuerg
      
      Subscribers: pollydev, llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D36791
      
      llvm-svn: 311165
      8d5b257d
    • Simon Pilgrim's avatar
      ccaec261