[PATCH] D81670: [TTI] Expose isNoopAddrSpaceCast from TLI.[SROA] Teach SROA to recognize no-op addrspacecast.

Michael Liao via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 11 13:14:01 PDT 2020


hliao added a comment.

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.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81670





More information about the cfe-commits mailing list