[all-commits] [llvm/llvm-project] c3f36a: [MC] Widen the functional unit type from 32 to 64 ...

Bevin Hansson via All-commits all-commits at lists.llvm.org
Mon Feb 24 01:09:18 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c3f36acc92479f6f27ed226e52499d619308561e
      https://github.com/llvm/llvm-project/commit/c3f36acc92479f6f27ed226e52499d619308561e
  Author: Bevin Hansson <bevin.hansson at ericsson.com>
  Date:   2020-02-24 (Mon, 24 Feb 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/ScoreboardHazardRecognizer.h
    M llvm/include/llvm/MC/MCInstrItineraries.h
    M llvm/lib/CodeGen/MachinePipeliner.cpp
    M llvm/lib/CodeGen/ScoreboardHazardRecognizer.cpp
    M llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
    M llvm/lib/Target/Hexagon/HexagonInstrInfo.h
    M llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
    M llvm/utils/TableGen/SubtargetEmitter.cpp

  Log Message:
  -----------
  [MC] Widen the functional unit type from 32 to 64 bits.

Summary:
The type used to represent functional units in MC is
'unsigned', which is 32 bits wide. This is currently
not a problem in any upstream target as no one seems
to have hit the limit on this yet, but in our
downstream one, we need to define more than 32
functional units.

Increasing the size does not seem to cause a huge
size increase in the binary (an llc debug build went
from 1366497672 to 1366523984, a difference of 26k),
so perhaps it would be acceptable to have this patch
applied upstream as well.

Subscribers: hiraditya, jsji, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list