Replace the switch on instruction opcode with a switch on register size.
This way we don't need to update the switch statement when we add new
SMRD variants.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D11601
AMDGPU/SI: Simplify moveSMRDToVALU() ClosedPublic Authored by • tstellarAMD on Jul 29 2015, 11:26 AM.
Details Summary Replace the switch on instruction opcode with a switch on register size.
Diff Detail
Event Timeline• tstellarAMD updated this object. This revision is now accepted and ready to land.Jul 29 2015, 11:36 AM Closed by commit rL243652: AMDGPU/SI: Simplify moveSMRDToVALU() (authored by tstellar). · Explain WhyJul 30 2015, 9:21 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 31037 llvm/trunk/lib/Target/AMDGPU/SIInstrInfo.cpp
|