Also skips the propagation if alignment is 1.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp | ||
---|---|---|
352–356 | You look through bitcasts, so "Ptr" does not necessarily have pointer type, so you really do need this check. |
llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp | ||
---|---|---|
352–356 | A bitcast cannot convert pointer to a non-pointer, and I am not handling ptrtoint. |
llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp | ||
---|---|---|
352–356 | OK sorry, I missed that detail. |
You look through bitcasts, so "Ptr" does not necessarily have pointer type, so you really do need this check.