arsenm added a comment.

In D81670#2088304 <https://reviews.llvm.org/D81670#2088304>, @hliao wrote:

> In D81670#2087974 <https://reviews.llvm.org/D81670#2087974>, @arsenm wrote:
>
> > We should instead allow bitcast to perform no-op addrspacecasts
>
>
> That may be a little bit challenging as so far no-op `addrspacecast` is 
> target-specific. There may be no TTI available when `bitcast` is constructed.


Yes, that is the point. You don't need TTI to use it. Addrspace bitcast will be 
just a dumb bit reinterpret, not something that may change the value like 
addrspacecast


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81670/new/

https://reviews.llvm.org/D81670



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to