This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][NVPTX] Enable default scheduling for parallel for in non-SPMD cases.
ClosedPublic

Authored by gtbercea on Oct 19 2018, 10:39 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

gtbercea created this revision.Oct 19 2018, 10:39 AM
ABataev added inline comments.Oct 19 2018, 11:26 AM
lib/CodeGen/CGOpenMPRuntimeNVPTX.h
350 ↗(On Diff #170216)

Why do you need to change the type of the parameter?

What about tests?

gtbercea updated this revision to Diff 171310.Oct 26 2018, 8:43 AM
Add test.
ABataev added inline comments.Oct 26 2018, 8:47 AM
test/OpenMP/nvptx_parallel_for_codegen.cpp
44 ↗(On Diff #171310)

Do not use names of the IR vars, use regular expressions.

gtbercea updated this revision to Diff 171352.Oct 26 2018, 2:42 PM
Add test.
This revision is now accepted and ready to land.Oct 29 2018, 7:42 AM
This revision was automatically updated to reflect the committed changes.