commit | a495784ea07d34ec04f165340eba5e57ffcfaa44 | [log] [tgz] |
---|---|---|
author | Tom Stellard <thomas.stellard@amd.com> | Thu Jul 30 16:20:42 2015 +0000 |
committer | Tom Stellard <thomas.stellard@amd.com> | Thu Jul 30 16:20:42 2015 +0000 |
tree | 828942c9a9b9c4b75954b5d7c45a3c97388c9f49 | |
parent | a3a8dc4c30dbbd8d53d0d1c1c083bb131e421c7e [diff] |
AMDGPU/SI: Simplify moveSMRDToVALU() Summary: 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. Reviewers: arsenm Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D11601 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243652 91177308-0d34-0410-b5e6-96231b3b80d8