[PATCH] D98783: [CUDA][HIP] Remove unused addr space casts

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 17 10:48:30 PDT 2021


yaxunl added a comment.

In D98783#2632143 <https://reviews.llvm.org/D98783#2632143>, @tra wrote:

> Shouldn't the unused ASCs be eliminated by DCE? We seem to be cleaning up the consequences of a problem that happened somewhere else.

DCE does not eliminate these unused ASCs because normally they should not exist. That's why we do not want them to be kept in the IR emitted by clang.


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

https://reviews.llvm.org/D98783



More information about the cfe-commits mailing list