diff options
author | Piotr Sobczak <piotr.sobczak@amd.com> | 2019-10-04 07:09:40 +0000 |
---|---|---|
committer | Piotr Sobczak <piotr.sobczak@amd.com> | 2019-10-04 07:09:40 +0000 |
commit | 165e469145ec94c845338334f128cd2f7024c47d (patch) | |
tree | 13b365b6f202c0e2bc7f984ba1f163d5638ce29c /lldb/packages/Python/lldbsuite/test/python_api | |
parent | 1ca074b86af733f7b11e6ed56326ee02cb3b3798 (diff) | |
download | bcm5719-llvm-165e469145ec94c845338334f128cd2f7024c47d.tar.gz bcm5719-llvm-165e469145ec94c845338334f128cd2f7024c47d.zip |
[AMDGPU][SILoadStoreOptimizer] NFC: Refactor code
Summary:
This patch fixes a potential aliasing problem in InstClassEnum,
where local values were mixed with machine opcodes.
Introducing InstSubclass will keep them separate and help extending
InstClassEnum with other instruction types (e.g. MIMG) in the future.
This patch also makes getSubRegIdxs() more concise.
Reviewers: nhaehnle, arsenm, tstellar
Reviewed By: arsenm
Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68384
llvm-svn: 373699
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions