cchen added a comment.

Just tried this patch and found that below test abort inside 
`generateInfoCapture`.
  #include <stdio.h>
  #define LEN 100
  int buf[LEN];
  
  int main()
  {
      int i;
      int *p = buf;
  
      for (i = 0; i < LEN; i++) {
          p[i] = 0;
      }
  
  #pragma omp target map(p) map(p[:100])
      {
          *(p+5) = 1;
      }
  
  }


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86119/new/

https://reviews.llvm.org/D86119

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to