Skip to content
  • Jonathan Peyton's avatar
    Bug fix: crash if teams executed on host · 7cf08d42
    Jonathan Peyton authored
    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
    
    Differential Revision: http://reviews.llvm.org/D21336
    
    llvm-svn: 272935
    7cf08d42
Loading