This is an archive of the discontinued LLVM Phabricator instance.

Bug fix: crash if teams executed on host.
ClosedPublic

Authored by tlwilmar on Jun 14 2016, 12:46 PM.

Details

Summary

Bug fix: crash if teams executed on host.
Added argv array check/allocation for parallel directly nested
inside the teams construct, as new coming Fortran codegen
passes parameters directly into kmpc_fork_call missing same
parameters in
kmpc_fork_teams (earlier codegen passed to
parallel the subset of parameter passed to teams, and thus
no check/allocation needed).

Patch by Andrey Churbanov

Diff Detail

Repository
rL LLVM

Event Timeline

tlwilmar updated this revision to Diff 60725.Jun 14 2016, 12:46 PM
tlwilmar retitled this revision from to Bug fix: crash if teams executed on host..
tlwilmar updated this object.
tlwilmar added reviewers: AndreyChurbanov, jlpeyton.
tlwilmar set the repository for this revision to rL LLVM.
tlwilmar added a subscriber: openmp-commits.
AndreyChurbanov accepted this revision.Jun 15 2016, 8:31 AM
AndreyChurbanov edited edge metadata.

LGTM

This revision is now accepted and ready to land.Jun 15 2016, 8:31 AM
This revision was automatically updated to reflect the committed changes.