[PATCH] D98536: [M68k] Convert register Aliases to AltNames

Ricky Taylor via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 12 12:29:57 PST 2021


ricky26 created this revision.
ricky26 added a reviewer: myhsu.
Herald added a subscriber: hiraditya.
ricky26 edited the summary of this revision.
ricky26 edited the summary of this revision.
ricky26 published this revision for review.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This makes it simpler to determine when two registers are actually the same vs aliasing.

The only real caveat is that there is no longer any record of which 'logical' register it is.
(i.e. parsing assembly and then printing it can result in the register name changing.)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98536

Files:
  llvm/lib/Target/M68k/M68kRegisterInfo.td
  llvm/lib/Target/M68k/MCTargetDesc/M68kBaseInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98536.330304.patch
Type: text/x-patch
Size: 5241 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210312/94d22823/attachment.bin>


More information about the llvm-commits mailing list