[PATCH] D65552: Move llvm::Register from CodeGen to MC to correct a layering issue
Daniel Sanders via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 31 18:53:40 PDT 2019
dsanders created this revision.
dsanders added reviewers: arsenm, bogner, aditya_nandakumar, volkan.
Herald added subscribers: hiraditya, nhaehnle, wdng, jvesely.
Herald added a project: LLVM.
The MC layer uses `unsigned` as registers in the same way as CodeGen (e.g.
MCRegisterClass::contains(). Move llvm::Register to the MC layer so we can
use it in MC API's too.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D65552
Files:
llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
llvm/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h
llvm/include/llvm/CodeGen/GlobalISel/Utils.h
llvm/include/llvm/CodeGen/MachineOperand.h
llvm/include/llvm/CodeGen/Register.h
llvm/include/llvm/CodeGen/SwiftErrorValueTracking.h
llvm/include/llvm/MC/Register.h
llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65552.212712.patch
Type: text/x-patch
Size: 4845 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190801/346f795b/attachment.bin>
More information about the llvm-commits
mailing list