There is an invalid cast produced when a pointee is a pointer
and the alloca type is cast to a pointer to int.
Details
Details
- Reviewers
arsenm - Commits
- rG6e1eee6034f7: [AMDGPU] Fixed promote alloca with ptr/int casts
Diff Detail
Diff Detail
Paths
| Differential D81606
[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
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jun 10 2020, 11:30 AM Closed by commit rG6e1eee6034f7: [AMDGPU] Fixed promote alloca with ptr/int casts (authored by rampitec). · Explain WhyJun 10 2020, 11:47 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 269920 llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
llvm/test/CodeGen/AMDGPU/promote-alloca-pointer-array.ll
|