[Mlir-commits] [mlir] [OpenMP][OpenMPIRBuilder][NFC] Move copyInput to a passed in lambda function (PR #68124)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Oct 3 10:24:34 PDT 2023
================
@@ -5301,6 +5319,23 @@ TEST_F(OpenMPIRBuilderTest, TargetRegionDevice) {
Constant::getNullValue(PointerType::get(Ctx, 0)),
Constant::getNullValue(PointerType::get(Ctx, 0))};
+ auto SimpleArgAccessorCB = [&](llvm::Argument &Arg, llvm::Value *Input,
+ IRBuilderBase &Builder) {
----------------
shraiysh wrote:
Should this callback also take an AllocaIP? Without that, we make it rely on the caller to make sure builder is set at the right IP.
https://github.com/llvm/llvm-project/pull/68124
More information about the Mlir-commits
mailing list