[PATCH] D43238: Add types to HwMode

Aleksandar Beserminji via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 13 07:54:36 PST 2018


abeserminji created this revision.
abeserminji added reviewers: petarj, sdardis, kparzysz.

This patch adds 'Type' field to HwMode class so that HwMode can be used for parameterization of different information independently.

Motivation for this change is implementation of 'RegisterClassByHwMode' which should not be mutually exclusive with other implementations of *ByHwMode. This is first in a series of three patches.


Repository:
  rL LLVM

https://reviews.llvm.org/D43238

Files:
  include/llvm/CodeGen/TargetRegisterInfo.h
  include/llvm/CodeGen/TargetSubtargetInfo.h
  include/llvm/HwMode.h
  include/llvm/MC/MCRegisterInfo.h
  include/llvm/MC/MCSubtargetInfo.h
  include/llvm/Target/Target.td
  lib/CodeGen/TargetRegisterInfo.cpp
  lib/Target/Hexagon/HexagonRegisterInfo.cpp
  lib/Target/Hexagon/HexagonRegisterInfo.h
  tools/llvm-mc/llvm-mc.cpp
  utils/TableGen/CodeGenHwModes.cpp
  utils/TableGen/CodeGenHwModes.h
  utils/TableGen/RegisterInfoEmitter.cpp
  utils/TableGen/SubtargetEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43238.134031.patch
Type: text/x-patch
Size: 17873 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180213/d39605bc/attachment.bin>


More information about the llvm-commits mailing list