[all-commits] [llvm/llvm-project] d45fae: Move CodeGen/LowLevelType => CodeGen/LowLevelTypeU...

NAKAMURA Takumi via All-commits all-commits at lists.llvm.org
Mon Apr 24 16:53:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d45fae601067f03e8b4a5a59507ad3aaf7613ac4
      https://github.com/llvm/llvm-project/commit/d45fae601067f03e8b4a5a59507ad3aaf7613ac4
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2023-04-25 (Tue, 25 Apr 2023)

  Changed paths:
    R llvm/include/llvm/CodeGen/LowLevelType.h
    A llvm/include/llvm/CodeGen/LowLevelTypeUtils.h
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/CMakeLists.txt
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/lib/CodeGen/GlobalISel/LoadStoreOpt.cpp
    R llvm/lib/CodeGen/LowLevelType.cpp
    A llvm/lib/CodeGen/LowLevelTypeUtils.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
    M llvm/lib/Target/ARM/ARMCallLowering.cpp
    M llvm/lib/Target/ARM/ARMLegalizerInfo.cpp
    M llvm/lib/Target/X86/X86CallLowering.cpp
    M llvm/unittests/CodeGen/LowLevelTypeTest.cpp

  Log Message:
  -----------
  Move CodeGen/LowLevelType => CodeGen/LowLevelTypeUtils

Before restoring `CodeGen/LowLevelType`, rename this to `LowLevelTypeUtils`.

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


  Commit: 28cc956054bd4e618513eefbe3db50b6df49b00f
      https://github.com/llvm/llvm-project/commit/28cc956054bd4e618513eefbe3db50b6df49b00f
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2023-04-25 (Tue, 25 Apr 2023)

  Changed paths:
    M llvm/unittests/Support/MachineValueType.h

  Log Message:
  -----------
  SupportTests/MachineValueType.h: Catch up llvmorg-17-init-8340-gb68b94f6f40b


  Commit: 3c853c845ad6ff1591f60a909fa3c7d293c27b49
      https://github.com/llvm/llvm-project/commit/3c853c845ad6ff1591f60a909fa3c7d293c27b49
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2023-04-25 (Tue, 25 Apr 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/ValueTypes.td
    M llvm/include/llvm/IR/Intrinsics.td

  Log Message:
  -----------
  ValueTypes.td: Introduce VTAny as `isOverloaded = true`

`ValueType.isOverloaded` is used for;

  - Define `iPTRAny`, `vAny`, `fAny`, and `Any`
  - Reflect `ValueType.isOverloaded` to `LLVMType.isAny` in `Intrinsics.td`
  - (Planninig) Reflect the condition to `MVT::isOverloaded()`

Part of D146179


  Commit: 45b820d5a11a673124d78efd5907f0da8ee3bf41
      https://github.com/llvm/llvm-project/commit/45b820d5a11a673124d78efd5907f0da8ee3bf41
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2023-04-25 (Tue, 25 Apr 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/ValueTypes.td

  Log Message:
  -----------
  ValueTypes.td: Reorganize ValueType

Introduce VTAny as `isOverloaded = true`. ValueType.isOverloaded` is used for;

  - Define `iPTRAny`, `vAny`, `fAny`, and `Any`
  - Reflect `ValueType.isOverloaded` to `LLVMType.isAny` in `Intrinsics.td`
  - (Planninig) Reflect the condition to `MVT::isOverloaded()`

Introduce some fields in `ValueType`

  - LLVMName
  - isInteger
  - isFP
  - isVector
  - isScalable
  - nElem
  - ElementType

Introduce `VTVec<int nelem, ValueType elt, int value>` to represent
the element type. VTVec.Size may be calculated by `!mul(nelem, elt.Size)`.

Introduce `list<ValueType> ValueTypes` as convention for lookup.

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


  Commit: ddaf085e7bcb903d5ae1cafc4667b8c3d302897e
      https://github.com/llvm/llvm-project/commit/ddaf085e7bcb903d5ae1cafc4667b8c3d302897e
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2023-04-25 (Tue, 25 Apr 2023)

  Changed paths:
    M llvm/unittests/Support/MachineValueType.h
    M llvm/utils/TableGen/VTEmitter.cpp

  Log Message:
  -----------
  Fully generate `MachineValueType.h`

Part of D146914


  Commit: c49f850d55221e84c675f03c68fec2801674a4d3
      https://github.com/llvm/llvm-project/commit/c49f850d55221e84c675f03c68fec2801674a4d3
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2023-04-25 (Tue, 25 Apr 2023)

  Changed paths:
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/lib/IR/Function.cpp
    M llvm/utils/TableGen/IntrinsicEmitter.cpp

  Log Message:
  -----------
  Migrate `IIT_Info` into `Intrinsics.td`

  - Define `IIT_Info` in `Intrinsics.td`
  - Implement `EmitIITInfo` in `IntrinsicEmitter.cpp`
  - Use generated `IIT_Info` in `Function.cpp`

Depends on D145873 and D146179

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


Compare: https://github.com/llvm/llvm-project/compare/b63b2c2350ad...c49f850d5522


More information about the All-commits mailing list