This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Fixed promote alloca with ptr/int casts
ClosedPublic

Authored by rampitec on Jun 10 2020, 11:25 AM.

Details

Summary

There is an invalid cast produced when a pointee is a pointer
and the alloca type is cast to a pointer to int.

Diff Detail

Event Timeline

rampitec created this revision.Jun 10 2020, 11:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 10 2020, 11:25 AM
arsenm accepted this revision.Jun 10 2020, 11:30 AM
This revision is now accepted and ready to land.Jun 10 2020, 11:30 AM
This revision was automatically updated to reflect the committed changes.