This should avoid relying on the pointee type
to get the alignment, particularly since pointee
types are supposed to be removed at some point.
Also fixes not getting the alignment for unsized types.
Paths
| Differential D48486
AMDGPU: Respect align argument parameter ClosedPublic Authored by arsenm on Jun 22 2018, 7:49 AM.
Details
Summary This should avoid relying on the pointee type Also fixes not getting the alignment for unsized types.
Diff Detail Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 3 others. · View Herald TranscriptJun 22 2018, 7:49 AM This revision is now accepted and ready to land.Jun 22 2018, 9:00 AM
Revision Contents
Diff 152477 lib/Target/AMDGPU/MCTargetDesc/AMDGPUHSAMetadataStreamer.h
lib/Target/AMDGPU/MCTargetDesc/AMDGPUHSAMetadataStreamer.cpp
test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full.ll
|