If the alignment is at least 4, this should report true.
Something still seems off with how < 4-byte types are
handled here though.
Fixing this seems to change how some combines get
to where they get, but somehow isn't changing the net
result.
Paths
| Differential D52170
AMDGPU: Fix private handling for allowsMisalignedMemoryAccesses ClosedPublic Authored by arsenm on Sep 17 2018, 7:02 AM.
Details
Summary If the alignment is at least 4, this should report true. Something still seems off with how < 4-byte types are Fixing this seems to change how some combines get
Diff Detail Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 5 others. · View Herald TranscriptSep 17 2018, 7:02 AM This revision is now accepted and ready to land.Sep 17 2018, 10:46 AM
Revision Contents
Diff 165760 lib/Target/AMDGPU/SIISelLowering.cpp
test/CodeGen/AMDGPU/byval-frame-setup.ll
|