[all-commits] [llvm/llvm-project] 4670d5: [NFC] Vastly simplifies TypeSize

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Fri Jan 6 05:19:54 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4670d5ece57d9b030597da679072f78bb3f4d419
      https://github.com/llvm/llvm-project/commit/4670d5ece57d9b030597da679072f78bb3f4d419
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M llvm/include/llvm/Support/TypeSize.h
    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:
  -----------
  [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