Details
Details
Diff Detail
Diff Detail
Event Timeline
llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp | ||
---|---|---|
443 | I don't think you can blindly set the register class, you should contrainRegClass instead |
llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp | ||
---|---|---|
443 | I cannot constrain VGPR to SGPR. |
llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp | ||
---|---|---|
443 | Oh, I see the API for this is just stupid. materializeFrameBaseRegister should just return the register it wants with the appropriate class. There's only the one caller, and there's no reason to have a randomly selected register class register as the input. |
I don't think you can blindly set the register class, you should contrainRegClass instead