[Mlir-commits] [mlir] [MLIR] Modify lowering of gpu.alloc op to llvm (PR #69969)
Nishant Patel
llvmlistbot at llvm.org
Tue Oct 24 14:05:02 PDT 2023
================
@@ -836,7 +836,11 @@ LogicalResult ConvertAllocOpToGpuRuntimeCallPattern::matchAndRewrite(
// Allocate the underlying buffer and store a pointer to it in the MemRef
// descriptor.
Type elementPtrType = this->getElementPtrType(memRefType);
- auto stream = adaptor.getAsyncDependencies().front();
+
+ Value stream =
+ adaptor.getAsyncDependencies().empty()
----------------
nbpatel wrote:
Added the test. Yes I am interested to do it but in a separate PR once all the PR's for #65539 are merged
https://github.com/llvm/llvm-project/pull/69969
More information about the Mlir-commits
mailing list