This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/HIP: Don't replace pointer types in kernel argument structs
AbandonedPublic

Authored by arsenm on May 11 2020, 11:16 AM.

Details

Reviewers
hliao
yaxunl
Summary

Currently this is counterproductive and doesn't have the desired
effect. The way the promotion is handled is by reinterpreting the
pointers in memory, which ultimately results in GVN using
ptrtoint/inttoptr. This defeats InferAddressSpaces and other
optimizations, which was the point of trying to do this replacement.

Diff Detail

Event Timeline

arsenm created this revision.May 11 2020, 11:16 AM
arsenm abandoned this revision.Jun 25 2020, 6:09 PM

I think this is obsoleted now