[OMPIRBuilder] Pass dependencies to createTask by value
This patch modifies OpenMPIRBuilder::createTask to accept its Dependencies vector by value instead of by reference. This is necessary because the PostOutlineCB lambda that uses this Dependencies vector may outlive the original Dependencies vector. Reviewed By: kiranchandramohan Differential Revision: https://reviews.llvm.org/D141651
parent
901ba0fc
Please register or sign in to comment