Details
- Reviewers
arsenm
Diff Detail
Event Timeline
lib/Target/AMDGPU/SIRegisterInfo.cpp | ||
---|---|---|
1039–1040 | I would rather this assert on null than try to handle it |
lib/Target/AMDGPU/SIISelLowering.cpp | ||
---|---|---|
2357–2358 | Also this is extracting the sub register when you can just directly copy from the sub register? |
lib/Target/AMDGPU/SIISelLowering.cpp | ||
---|---|---|
2357–2358 | Did you mean copy directly from the sub register of src_*_base? If yes, then I do not think it is possible, as it is an 64 bit inline constant, and there are no inline constants for _lo and _hi parts. If no, can you elaborate? Thanks. |
lib/Target/AMDGPU/SIISelLowering.cpp | ||
---|---|---|
2357–2358 | I think it is possible for sub0, but maybe not sub1. These are still modeled as constant registers, so at least getRegister should work, although you probably need the separate extract still |
It shouldn't be necessary to add these as live in, they should be reserved registers