[all-commits] [llvm/llvm-project] 531963: Add register size info back to MCRegisterClass

Rafael Auler via All-commits all-commits at lists.llvm.org
Tue Mar 23 15:05:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 53196387c201fd082d62f58459adb03267811a4c
      https://github.com/llvm/llvm-project/commit/53196387c201fd082d62f58459adb03267811a4c
  Author: Rafael Auler <rafaelauler at fb.com>
  Date:   2021-03-23 (Tue, 23 Mar 2021)

  Changed paths:
    M llvm/include/llvm/MC/MCRegisterInfo.h
    M llvm/utils/TableGen/RegisterInfoEmitter.cpp

  Log Message:
  -----------
  Add register size info back to MCRegisterClass

This patch addresses the removal of register size information done in
commit c8b782c.

Without this change, there is no viable option to get register size
information outside libTarget. We need this information to run
analysis that know the register size from the MC layer, used by
BOLT.

Discussion D50285 and D47199.

Reviewed By: kparzysz

Differential Revision: https://reviews.llvm.org/D97891




More information about the All-commits mailing list