[all-commits] [llvm/llvm-project] 59b029: [reland][NFC] Vastly simplifies TypeSize

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Mon Jan 9 00:44:02 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 59b029238af27e6d77017d225cfe0ed1c2dd22f3
      https://github.com/llvm/llvm-project/commit/59b029238af27e6d77017d225cfe0ed1c2dd22f3
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2023-01-09 (Mon, 09 Jan 2023)

  Changed paths:
    M llvm/include/llvm/Support/TypeSize.h
    M llvm/lib/IR/StructuralHash.cpp
    M llvm/unittests/Support/CMakeLists.txt
    R llvm/unittests/Support/LinearPolyBaseTest.cpp
    M llvm/unittests/Support/TypeSizeTest.cpp
    M llvm/utils/TableGen/CodeGenDAGPatterns.cpp

  Log Message:
  -----------
  [reland][NFC] Vastly simplifies TypeSize

Simplifies the implementation of `TypeSize` while retaining its interface.
There is no need for abstract concepts like `LinearPolyBase`, `UnivariateLinearPolyBase` or `LinearPolySize`.

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




More information about the All-commits mailing list