[all-commits] [llvm/llvm-project] d4b590: Add`final` specifier to the classop (#145977)

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Jun 29 23:34:18 PDT 2025


  Branch: refs/heads/users/MaskRay/spr/mc-store-fragment-content-and-fixups-out-of-line
  Home:   https://github.com/llvm/llvm-project
  Commit: d4b5905a259108aa48678311b3ba7357ab108bc9
      https://github.com/llvm/llvm-project/commit/d4b5905a259108aa48678311b3ba7357ab108bc9
  Author: Jaden Angella <ajaden at google.com>
  Date:   2025-06-29 (Sun, 29 Jun 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
    M mlir/lib/Target/Cpp/TranslateToCpp.cpp
    M mlir/test/mlir-translate/emitc_classops.mlir

  Log Message:
  -----------
  Add`final` specifier to the classop (#145977)

In some use cases of the `ClassOp`, eg MLGO, we would like to be able to declare the class as final. This specifier allows for that.


  Commit: 678ccd5e536d457bde3dbd5d9a24e23024549b3e
      https://github.com/llvm/llvm-project/commit/678ccd5e536d457bde3dbd5d9a24e23024549b3e
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-06-29 (Sun, 29 Jun 2025)

  Changed paths:
    M llvm/lib/IR/DebugInfo.cpp

  Log Message:
  -----------
  [IR] Remove an unnecessary cast (NFC) (#146274)

DT is already of DIType *.


  Commit: 72c0fc2305047c481480d8ebee1e393cf1fd0727
      https://github.com/llvm/llvm-project/commit/72c0fc2305047c481480d8ebee1e393cf1fd0727
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-06-29 (Sun, 29 Jun 2025)

  Changed paths:
    M llvm/lib/LTO/LTO.cpp

  Log Message:
  -----------
  [LTO] Remove an unnecessary cast (NFC) (#146275)

&I is already of const uint8_t *.


  Commit: 42d94afffe643bfe00b1c22f42e53963c59f7201
      https://github.com/llvm/llvm-project/commit/42d94afffe643bfe00b1c22f42e53963c59f7201
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-06-29 (Sun, 29 Jun 2025)

  Changed paths:
    M llvm/lib/Target/Lanai/LanaiISelLowering.cpp
    M llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
    M llvm/lib/Target/VE/VEISelLowering.cpp
    M llvm/lib/Target/XCore/XCoreISelLowering.cpp

  Log Message:
  -----------
  [Target] Use range-based for loops (NFC) (#146277)


  Commit: 59eaffe93aec6dc116ab7db5ebfee84a6e36112d
      https://github.com/llvm/llvm-project/commit/59eaffe93aec6dc116ab7db5ebfee84a6e36112d
  Author: Jim Lin <jim at andestech.com>
  Date:   2025-06-30 (Mon, 30 Jun 2025)

  Changed paths:
    M clang/include/clang/Basic/riscv_vector_common.td

  Log Message:
  -----------
  [RISCV] Remove required features zvfhmin from vslideup/vslidedown

Similar to #145891.


  Commit: a17f63590ac077a5705c9bed8d4e025b3ef4b299
      https://github.com/llvm/llvm-project/commit/a17f63590ac077a5705c9bed8d4e025b3ef4b299
  Author: Garvit Gupta <quic_garvgupt at quicinc.com>
  Date:   2025-06-30 (Mon, 30 Jun 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/BareMetal.cpp
    M clang/test/Driver/aarch64-toolchain-extra.c
    M clang/test/Driver/aarch64-toolchain.c
    M clang/test/Driver/arm-toolchain-extra.c
    M clang/test/Driver/arm-toolchain.c
    M clang/test/Driver/baremetal-multilib.yaml
    M clang/test/Driver/baremetal-sysroot.cpp
    M clang/test/Driver/baremetal.cpp

  Log Message:
  -----------
  Reland  [Driver] Fix link order of BareMetal toolchain object (#146291)

The linker job in BareMetal toolchain object will be used by GNU ld and
lld both.
However, gnuld process the arguments in the order in which they appear
on command
line, whereas there is no such restriction with lld.

The previous order was:
LibraryPaths -> Libraries -> LTOOptions -> LinkerInputs The new order
is:
LibraryPaths -> LTOOptions -> LinkerInputs -> Libraries

LTO options need to be added before adding any linker inputs because
file format
after compile stage during LTO is bitcode which gnuld natively cannot
process.
Hence will need to pass appropriate plugins before adding any bitcode
file on the
command line.

Object files that are getting linked need to be passed before processing
any
libraries so that gnuld can appropriately do symbol resolution for the
symbols
for which no definition is provided through user code.

Similar link order is also followed by other linker jobs for gnuld such
as in
gnutools::Linker in Gnu.cpp

This is the 3rd patch in the series of patches of merging RISCVToolchain
into
BareMetal toolchain object.

RFC:
https:
//discourse.llvm.org/t/merging-riscvtoolchain-and-baremetal-toolchains/75524


  Commit: bb982e733cfcda7e4cfb0583544f68af65211ed1
      https://github.com/llvm/llvm-project/commit/bb982e733cfcda7e4cfb0583544f68af65211ed1
  Author: Changpeng Fang <changpeng.fang at amd.com>
  Date:   2025-06-29 (Sun, 29 Jun 2025)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsAMDGPU.def
    M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx1250.cl
    M clang/test/SemaOpenCL/builtins-amdgcn-error-gfx1250-param.cl
    M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
    M llvm/lib/Target/AMDGPU/SOPInstructions.td
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.monitor.sleep.ll
    M llvm/test/MC/AMDGPU/gfx1250_asm_sopp.s
    M llvm/test/MC/Disassembler/AMDGPU/gfx1250_dasm_sopp.txt

  Log Message:
  -----------
  AMDGPU: support s_monitor_sleep on gfx1250 (#146293)

Co-Authored-by: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>


  Commit: ceb3a0762c19c729a18cfcfe18bbfb98f7ec8aa0
      https://github.com/llvm/llvm-project/commit/ceb3a0762c19c729a18cfcfe18bbfb98f7ec8aa0
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-06-29 (Sun, 29 Jun 2025)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsAMDGPU.def
    M clang/include/clang/Basic/riscv_vector_common.td
    M clang/lib/Driver/ToolChains/BareMetal.cpp
    M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx1250.cl
    M clang/test/Driver/aarch64-toolchain-extra.c
    M clang/test/Driver/aarch64-toolchain.c
    M clang/test/Driver/arm-toolchain-extra.c
    M clang/test/Driver/arm-toolchain.c
    M clang/test/Driver/baremetal-multilib.yaml
    M clang/test/Driver/baremetal-sysroot.cpp
    M clang/test/Driver/baremetal.cpp
    M clang/test/SemaOpenCL/builtins-amdgcn-error-gfx1250-param.cl
    M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
    M llvm/lib/IR/DebugInfo.cpp
    M llvm/lib/LTO/LTO.cpp
    M llvm/lib/MC/MCFragment.cpp
    M llvm/lib/Target/AMDGPU/SOPInstructions.td
    M llvm/lib/Target/Lanai/LanaiISelLowering.cpp
    M llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
    M llvm/lib/Target/VE/VEISelLowering.cpp
    M llvm/lib/Target/XCore/XCoreISelLowering.cpp
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.monitor.sleep.ll
    M llvm/test/MC/AMDGPU/gfx1250_asm_sopp.s
    M llvm/test/MC/Disassembler/AMDGPU/gfx1250_dasm_sopp.txt
    M mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
    M mlir/lib/Target/Cpp/TranslateToCpp.cpp
    M mlir/test/mlir-translate/emitc_classops.mlir

  Log Message:
  -----------
  static assert

Created using spr 1.3.5-bogner


Compare: https://github.com/llvm/llvm-project/compare/2930a87e589e...ceb3a0762c19

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list