[PATCH] D94806: [OpenMP] Add support for mapping names in mapper API

2021-01-20 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 updated this revision to Diff 317994. jhuber6 added a comment. Changing the handling of `OMP_TGT_MAPTYPE_PTR_AND_OBJ` so it will not pass the same name for the base object. This doesn't pass in the correct name, simply makes it show up as `unknown` if queried. Repository: rG LLVM Git

[PATCH] D94806: [OpenMP] Add support for mapping names in mapper API

2021-01-20 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 updated this revision to Diff 318061. jhuber6 added a comment. Adding a test case for the mapper names. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D94806/new/ https://reviews.llvm.org/D94806 Files: clang/lib/CodeGen/CGOpenMPRuntime.cpp

[PATCH] D94806: [OpenMP] Add support for mapping names in mapper API

2021-01-21 Thread Joseph Huber via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGe4eaf9d82064: [OpenMP] Add support for mapping names in mapper API (authored by jhuber6). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST

[PATCH] D111348: [OpenMP] Introduce new flags to assert thread and team usage in the runtime

2021-10-07 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 created this revision. jhuber6 added a reviewer: jdoerfert. Herald added subscribers: dexonsmith, dang, guansong, hiraditya, yaxunl. jhuber6 requested review of this revision. Herald added subscribers: llvm-commits, cfe-commits, sstefan1. Herald added projects: clang, LLVM. This patch adds

[PATCH] D111348: [OpenMP] Introduce new flags to assert thread and team usage in the runtime

2021-10-07 Thread Joseph Huber via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG9efdca87c782: [OpenMP] Introduce new flags to assert thread and team usage in the runtime (authored by jhuber6). Changed prior to commit: https://reviews.llvm.org/D111348?vs=377973&id=378066#toc Reposi

[PATCH] D111463: [OpenMP] Remove doing assumption propagation in the front end.

2021-10-08 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 created this revision. jhuber6 added a reviewer: jdoerfert. Herald added subscribers: guansong, yaxunl. jhuber6 requested review of this revision. Herald added subscribers: cfe-commits, sstefan1. Herald added a project: clang. This patch removes the assumption propagation that was added in

[PATCH] D111475: [OpenMP] Add RTL function for getting number of threads in block.

2021-10-08 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 created this revision. jhuber6 added a reviewer: jdoerfert. Herald added subscribers: guansong, tpr, yaxunl, jvesely, jholewinski. jhuber6 requested review of this revision. Herald added subscribers: openmp-commits, cfe-commits, sstefan1. Herald added projects: clang, OpenMP. This patch ad

[PATCH] D111475: [OpenMP] Add RTL function for getting number of threads in block.

2021-10-08 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 updated this revision to Diff 378393. jhuber6 added a comment. Fixing tests. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D111475/new/ https://reviews.llvm.org/D111475 Files: clang/lib/CodeGen/CGOpenMPRuntimeAMDGCN.cpp clang/lib/CodeGe

[PATCH] D111475: [OpenMP] Add RTL function for getting number of threads in block.

2021-10-08 Thread Joseph Huber via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rGbad44d5f39bc: [OpenMP] Add RTL function for getting number of threads in block. (authored by jhuber6). Changed prior to commit: https://reviews.llvm.org/D111475?vs=378393&id=378397#toc Repository: rG

[PATCH] D108483: [OpenMP] Correctly add member expressions to OpenMP info

2021-08-20 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 created this revision. jhuber6 added a reviewer: jdoerfert. Herald added subscribers: guansong, yaxunl. jhuber6 requested review of this revision. Herald added subscribers: cfe-commits, sstefan1. Herald added a project: clang. Mapping expressions that have `this` as their base expression a

[PATCH] D108483: [OpenMP] Correctly add member expressions to OpenMP info

2021-08-20 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 updated this revision to Diff 367887. jhuber6 added a comment. Add static. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D108483/new/ https://reviews.llvm.org/D108483 Files: clang/lib/CodeGen/CGOpenMPRuntime.cpp clang/test/OpenMP/target

[PATCH] D108483: [OpenMP] Correctly add member expressions to OpenMP info

2021-08-20 Thread Joseph Huber via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rGec66ed79f43c: [OpenMP] Correctly add member expressions to OpenMP info (authored by jhuber6). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D108483/new/ http

[PATCH] D108958: [OpenMP] Make CUDA math library functions SPMD amenable

2021-08-30 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 created this revision. jhuber6 added a reviewer: jdoerfert. Herald added subscribers: guansong, yaxunl. jhuber6 requested review of this revision. Herald added subscribers: cfe-commits, sstefan1. Herald added a project: clang. This patch adds the SPMD amenable assumption to the CUDA math l

[PATCH] D105937: [OpenMP] Encode `omp [...] assume[...]` assumptions with `omp[x]` prefix

2021-08-30 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 accepted this revision. jhuber6 added a comment. This revision is now accepted and ready to land. LGTM Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D105937/new/ https://reviews.llvm.org/D105937 _

[PATCH] D109321: [clang][OpenMP] Fix the bug in codegen for ordered directive

2021-09-06 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 added a comment. In D109321#2985281 , @lebedev.ri wrote: > Aha. But i don't think this is the right fix, > the fact that the inlining manifests the miscompile is a symptom. Preventing the outlined region from being inlined would also hurt OpenMP

[PATCH] D108958: [OpenMP] Make CUDA math library functions SPMD amenable

2021-09-07 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 updated this revision to Diff 371153. jhuber6 added a comment. Adding `no_openmp` assumption as well. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D108958/new/ https://reviews.llvm.org/D108958 Files: clang/lib/Headers/__clang_cuda_libdev

[PATCH] D108958: [OpenMP] Make CUDA math library functions SPMD amenable

2021-09-07 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 updated this revision to Diff 371162. jhuber6 added a comment. Fixing end assumes using wrong syntax. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D108958/new/ https://reviews.llvm.org/D108958 Files: clang/lib/Headers/__clang_cuda_libdev

[PATCH] D109321: [clang][OpenMP] Fix the bug in codegen for ordered directive

2021-09-07 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 added a comment. In D109321#2986678 , @peixin wrote: > $ clang++ -fopenmp simd.cpp -O1 -Xclang -disable-llvm-passes && ./a.out > 0 1 2 3 4 5 6 7 8 9 > $ clang++ -fopenmp simd.cpp -O2 && ./a.out > 0 1 2 3 4 5 6 7 8 9 > $ c

[PATCH] D109544: [OpenMP] Add flag for setting debug in the offloading device

2021-09-09 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 created this revision. jhuber6 added a reviewer: jdoerfert. Herald added subscribers: dexonsmith, dang, guansong, hiraditya, yaxunl. jhuber6 requested review of this revision. Herald added subscribers: llvm-commits, cfe-commits, sstefan1. Herald added projects: clang, LLVM. This patch intr

[PATCH] D109544: [OpenMP] Add flag for setting debug in the offloading device

2021-09-09 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 updated this revision to Diff 371737. jhuber6 added a comment. Addressing Comments. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D109544/new/ https://reviews.llvm.org/D109544 Files: clang/include/clang/Basic/DiagnosticDriverKinds.td cl

[PATCH] D109544: [OpenMP] Add flag for setting debug in the offloading device

2021-09-09 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 updated this revision to Diff 371740. jhuber6 added a comment. Forgot to format. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D109544/new/ https://reviews.llvm.org/D109544 Files: clang/include/clang/Basic/DiagnosticDriverKinds.td clang

[PATCH] D109544: [OpenMP] Add flag for setting debug in the offloading device

2021-09-09 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 updated this revision to Diff 371772. jhuber6 added a comment. Adding global regex to test. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D109544/new/ https://reviews.llvm.org/D109544 Files: clang/include/clang/Basic/DiagnosticDriverKinds

[PATCH] D109544: [OpenMP] Add flag for setting debug in the offloading device

2021-09-10 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 updated this revision to Diff 371914. jhuber6 added a comment. Adding constant to `llvm.used`. This is most likely easier than dealing with weak external linkage. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D109544/new/ https://reviews.ll

[PATCH] D108958: [OpenMP] Make CUDA math library functions SPMD amenable

2021-09-10 Thread Joseph Huber via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGf28e710db720: [OpenMP] Make CUDA math library functions SPMD amenable (authored by jhuber6). Repository: rG LLVM Github Monorepo CHANGES SINCE LA

[PATCH] D109544: [OpenMP] Add flag for setting debug in the offloading device

2021-09-10 Thread Joseph Huber via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG29b44ca896e7: [OpenMP] Add flag for setting debug in the offloading device (authored by jhuber6). Changed prior to commit: https://reviews.llvm.or

<    11   12   13   14   15   16