efriedma-quic wrote:

> > it doesn't really make sense to use arbitrary address-spaces with 
> > clear_cache
> 
> I'd say it does, and we shouldn't have any intrinsics that force a specific 
> address space number

Sorry, this was a bit unclear.  Rewording:

That said, it doesn't really make sense to use arbitrary address-spaces with 
`__builtin___clear_cache`: even if LLVM IR has some representation, that 
doesn't mean that calling `__builtin___clear_cache` with that address-space 
does something meaningful. The address-space should be the same address-space 
we use for code.

https://github.com/llvm/llvm-project/pull/218642
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to