Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | ||
---|---|---|
741–745 | Is this actually reachable? I forget how exactly we ended up with this partial 16-bit register thing |
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | ||
---|---|---|
742 | Are these tabs? |
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | ||
---|---|---|
741–745 | It is covered by lo16-32bit-physreg-copy.mir. In theory it is reachable on any target with 16 bit instructions (excluding GF11 with True 16 bit instructions). This code converts Now as to whether the code sequence in that mir test (or any use of a VGPR_LO16 register) is produced in any legitimate shader, I don't think so. That probably needs to be verified empirically on a test corpus, but then this code and I think VGPR_LO16/ VGPR_HI16 can be removed. |
Support generating differently-sized register transfers.
They are called copies, not transfers. How about: "Support emitting copies between different register sizes"?
Change the commit title as suggested and remove the unused code handling
the non-True16 case along with the test covering it.
Are these tabs?