[Mlir-commits] [clang] [lld] [llvm] [mlir] [IR] Introduce `T<address space>` to `DataLayout` to represent flat address space if a target supports it (PR #108786)
Johannes Doerfert
llvmlistbot at llvm.org
Tue Sep 17 18:51:39 PDT 2024
jdoerfert wrote:
@efriedma-quic's comment resonates with me. At least all use cases that come to my mind right now are basically questions of the following form:
1) Can I transform a pointer lossless from from AS(A) to AS(B)?
2) Is AS(A) "better"/more specialized than AS(B)?
3) Give me the most generic AS, or, give me an AS(B) for which 1) is true for any/most AS(A).
I think we already have helpers for the first and flat AS definitions seem to answer 2) and 3).
We could have helpers without actually talking about the flat AS.
https://github.com/llvm/llvm-project/pull/108786
More information about the Mlir-commits
mailing list