Fixes PR38071.
Details
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 20064 Build 20064: arc lint + arc unit
Event Timeline
lib/Target/AMDGPU/AMDGPUISelLowering.cpp | ||
---|---|---|
3941–3945 | 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 | ||
---|---|---|
3941–3945 | This ABI stuff probably does need to move there, but my main concern is how this broke so subtly |
lib/Target/AMDGPU/AMDGPUISelLowering.cpp | ||
---|---|---|
3941–3945 | 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. |
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!
Why can't this keep getting the offset from the subtarget?