Fixes PR38071.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/AMDGPU/AMDGPUISelLowering.cpp | ||
---|---|---|
3942–3944 ↗ | (On Diff #154263) | Why can't this keep getting the offset from the subtarget? |
lib/Target/AMDGPU/AMDGPUISelLowering.h | ||
297–298 ↗ | (On Diff #154263) | Weird formatting |
lib/Target/AMDGPU/AMDGPUISelLowering.cpp | ||
---|---|---|
3942–3944 ↗ | (On Diff #154263) | That would require moving another function (isAMDCodeObjectV2) into the AMDGPUCommonSubtarget class. I've been trying not to add more things to this class, but I can make this change. |
lib/Target/AMDGPU/AMDGPUISelLowering.cpp | ||
---|---|---|
3942–3944 ↗ | (On Diff #154263) | This ABI stuff probably does need to move there, but my main concern is how this broke so subtly |
lib/Target/AMDGPU/AMDGPUISelLowering.cpp | ||
---|---|---|
3942–3944 ↗ | (On Diff #154263) | AMDGPUSubtarget is now GCN specific, so I just forgot to rename AMDGPUSubtarget->AMDGPUCommonSubtarget. I have a few cleanups to do after splitting the targets and making the subtarget names make sense is one of them. |
Comment Actions
I don't really know anything about the AMDGPU target, so I'll resign as reviewer to make that clear, but thanks for notifying me about the fix!