================
@@ -2298,14 +2298,23 @@ mlir::LogicalResult
CIRToLLVMSelectOpLowering::matchAndRewrite(
return mlir::success();
}
+static unsigned
+getTargetAddrSpaceFromCIRAddrSpace(cir::AddressSpace addrSpace) {
----------------
RiverDave wrote:
Can you be a bit more specific? Besides numerical addresses to which I've added
tests for in this PR. offload addresses cannot be lowered to LLVM since we seem
to be dependend on `cir::lowerModule` which we haven't upstreamed yet.
therefore we hit an assertion in this function. I could target that in a
different PR.
https://github.com/llvm/llvm-project/pull/161028
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits