Fixes not treating i16 kernel arguments as 4-byte aligned when
added as legal.
Also fixes bug for mesa argument lowering. The implicit 36-byte offset
does not correctly align 64-bit arguments.
Paths
| Differential D17308
AMDGPU: Change how alignment is computed for argument lowering ClosedPublic Authored by wdng on Feb 16 2016, 3:39 PM.
Details
Summary Fixes not treating i16 kernel arguments as 4-byte aligned when Also fixes bug for mesa argument lowering. The implicit 36-byte offset
Diff Detail
Event Timelinearsenm added a parent revision: D17306: DAGCombiner: Relax alignment restriction when changing load type.Feb 16 2016, 3:40 PM • tstellarAMD edited edge metadata. Comment ActionsLGTM.
This revision is now accepted and ready to land.Feb 16 2016, 4:00 PM Herald added subscribers: kerbowa, t-tye, tpr and 4 others. · View Herald TranscriptApr 5 2020, 8:07 AM
Revision Contents
Diff 63135 lib/Target/AMDGPU/AMDGPUISelLowering.cpp
lib/Target/AMDGPU/AMDGPUSubtarget.h
lib/Target/AMDGPU/SIISelLowering.h
lib/Target/AMDGPU/SIISelLowering.cpp |
You should be able to use one of the simpler getLoad operands that doesn't include the ISD::UNINDEXED