[all-commits] [llvm/llvm-project] 1627d6: [OMPIRBuilder] Pass dependencies to createTask by ...
Prabhdeep Soni via All-commits
all-commits at lists.llvm.org
Fri Jan 20 13:09:44 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1627d682cd211b6791e92341dd62bb1c26253eaf
https://github.com/llvm/llvm-project/commit/1627d682cd211b6791e92341dd62bb1c26253eaf
Author: Prabhdeep Singh Soni <prabhdeep.singh.soni3 at huawei.com>
Date: 2023-01-20 (Fri, 20 Jan 2023)
Changed paths:
M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list