[all-commits] [llvm/llvm-project] 259624: [EquivClasses] Introduce members iterator-helper (...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Fri Mar 7 10:56:43 PST 2025


  Branch: refs/heads/users/vitalybuka/spr/machinepipeliner-fix-use-after-free-coping-values-of-the-same-densemap
  Home:   https://github.com/llvm/llvm-project
  Commit: 259624bf6d47b1dccebb3948aadf849d55f96404
      https://github.com/llvm/llvm-project/commit/259624bf6d47b1dccebb3948aadf849d55f96404
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M llvm/include/llvm/ADT/EquivalenceClasses.h
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    M llvm/lib/Analysis/VectorUtils.cpp
    M llvm/unittests/ADT/EquivalenceClassesTest.cpp

  Log Message:
  -----------
  [EquivClasses] Introduce members iterator-helper (#130139)


  Commit: c53e527bf8d79c6f05325d9246f66e765d784f9c
      https://github.com/llvm/llvm-project/commit/c53e527bf8d79c6f05325d9246f66e765d784f9c
  Author: Jacek Caban <jacek at codeweavers.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M lld/COFF/Chunks.h
    M lld/test/COFF/build-id-sym.s

  Log Message:
  -----------
  [LLD][COFF] Implement ECExportThunkChunk::classof (NFC) (#130106)

Allows using `dyn_cast_or_null` in `maybeAddAddressTakenFunction` in #128440.


  Commit: 86dfd90193da027b34162f1bdb3ed61620aae10e
      https://github.com/llvm/llvm-project/commit/86dfd90193da027b34162f1bdb3ed61620aae10e
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M llvm/include/llvm/ADT/EquivalenceClasses.h
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    M llvm/lib/Analysis/VectorUtils.cpp
    M llvm/unittests/ADT/EquivalenceClassesTest.cpp

  Log Message:
  -----------
  Revert "[EquivClasses] Introduce members iterator-helper" (#130313)

This reverts commit 259624bf6d, as it causes a build failure.


  Commit: afbbca5c9d0b9063287a22b52e2be5ab6690c4ce
      https://github.com/llvm/llvm-project/commit/afbbca5c9d0b9063287a22b52e2be5ab6690c4ce
  Author: Zibi Sarbinowski <zibi at ca.ibm.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/MemoryMapper.h
    M llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp

  Log Message:
  -----------
  [z/OS] Add call to shmctl() to release shared memory on z/OS (#130163)

This PR will solve the issue with leaking shared memory we have after running llvm lit test on z/OS.
In particular llvm/unittests/ExecutionEngine/Orc/SharedMemoryMapperTest.cpp was causing the leak.


  Commit: 445c43d71206cd7dca237657c62cfa3b46787cac
      https://github.com/llvm/llvm-project/commit/445c43d71206cd7dca237657c62cfa3b46787cac
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M llvm/test/Transforms/InstCombine/iX-ext-split.ll

  Log Message:
  -----------
  [InstCombine] Add test for missing (or (zext x), (shl (ashr x, bw-1))) -> (sext x) case

#129363 handled all the cases where there was a sext for the original source value, but not for cases where the source is already half the size of the destination type

Another regression noticed in #76524


  Commit: d4754db15d44b3000918952dae9a09aac496de80
      https://github.com/llvm/llvm-project/commit/d4754db15d44b3000918952dae9a09aac496de80
  Author: Renaud Kauffmann <rkauffmann at nvidia.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M flang/test/Analysis/AliasAnalysis/source-kind.fir

  Log Message:
  -----------
  Test fix: Adding REQUIRES: asserts (#130314)


  Commit: fb0891387ae8a1593f6835eeaa44dc4891fcf6ee
      https://github.com/llvm/llvm-project/commit/fb0891387ae8a1593f6835eeaa44dc4891fcf6ee
  Author: John Brawn <john.brawn at arm.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

  Log Message:
  -----------
  [SelectionDAG] Clean up some redundant setting of node flags (NFC) (#130307)

PR #130124 added a use of FlagInserter to the start of
SelectionDAGLegalize::PromoteNode, making some of the places where we
set flags be redundant, so remove them. The places where the setting of
flags remains are in non-floating-point operations.


  Commit: ce9e1d3c15ed6290f1cb07b482939976fa8115cd
      https://github.com/llvm/llvm-project/commit/ce9e1d3c15ed6290f1cb07b482939976fa8115cd
  Author: anjenner <161845516+anjenner at users.noreply.github.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M lldb/source/Core/DataFileCache.cpp
    M llvm/include/llvm/Support/Caching.h
    M llvm/lib/CGData/CodeGenData.cpp
    M llvm/lib/Debuginfod/Debuginfod.cpp
    M llvm/lib/LTO/LTOBackend.cpp
    M llvm/lib/Support/Caching.cpp
    M llvm/tools/gold/gold-plugin.cpp
    M llvm/tools/llvm-lto2/llvm-lto2.cpp
    M llvm/unittests/Support/CMakeLists.txt
    A llvm/unittests/Support/Caching.cpp

  Log Message:
  -----------
  Modify the localCache API to require an explicit commit on CachedFile… (#115331)

…Stream.

CachedFileStream has previously performed the commit step in its
destructor, but this means its only recourse for error handling is
report_fatal_error. Modify this to add an explicit commit() method, and
call this in the appropriate places with appropriate error handling for
the location.

Currently the destructor of CacheStream gives an assert failure in Debug
builds if commit() was not called. This will help track down any
remaining uses of the API that assume the old destructior behaviour. In
Release builds we fall back to the previous behaviour and call
report_fatal_error if the commit fails.


  Commit: a2b3dafcdfbf3cdeea8a722fe47402df69c20221
      https://github.com/llvm/llvm-project/commit/a2b3dafcdfbf3cdeea8a722fe47402df69c20221
  Author: JaydeepChauhan14 <chauhan.jaydeep.ashwinbhai at intel.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M llvm/test/CodeGen/X86/exp10-libcall-names.ll
    M llvm/test/CodeGen/X86/finite-libcalls.ll

  Log Message:
  -----------
  [X86][NFC] Updated POW/EXP*/LOG* functions testcases (#129677)

- Added GlobalISel runs as precommit testcase for G_POW/G_EXP*/G_LOG*.
- Removed unused tag MISSED.


  Commit: 6fa1bfad65edefe3f4c17740f05297d34e833b47
      https://github.com/llvm/llvm-project/commit/6fa1bfad65edefe3f4c17740f05297d34e833b47
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M clang/tools/amdgpu-arch/AMDGPUArch.cpp
    M clang/tools/amdgpu-arch/AMDGPUArchByHIP.cpp

  Log Message:
  -----------
  Fix amdgpu-arch for dll name on Windows (#101350)

Recently HIP runtime changed dll name to amdhip64_n.dll on Windows,
where n is ROCm major version number.

Fix amdgpu-arch to search for amdhip64_n.dll on Windows.


  Commit: 5668c7bb9085fafba4e2925113464f6227ef7be4
      https://github.com/llvm/llvm-project/commit/5668c7bb9085fafba4e2925113464f6227ef7be4
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M flang/module/cudadevice.f90
    M flang/test/Lower/CUDA/cuda-device-proc.cuf

  Log Message:
  -----------
  [flang][cuda] Add more interfaces for __ldca, __ldcs, __ldlu and __ldcv (#130218)


  Commit: 8eb9b947af267f38ad53cfc67a41c5c3d978aa27
      https://github.com/llvm/llvm-project/commit/8eb9b947af267f38ad53cfc67a41c5c3d978aa27
  Author: Andy Kaylor <akaylor at nvidia.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M clang/include/clang/CIR/Dialect/Builder/CIRBaseBuilder.h
    M clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
    M clang/include/clang/CIR/MissingFeatures.h
    A clang/lib/CIR/CodeGen/CIRGenConstantEmitter.h
    M clang/lib/CIR/CodeGen/CIRGenDecl.cpp
    M clang/lib/CIR/CodeGen/CIRGenExpr.cpp
    A clang/lib/CIR/CodeGen/CIRGenExprConstant.cpp
    M clang/lib/CIR/CodeGen/CIRGenFunction.h
    M clang/lib/CIR/CodeGen/CIRGenModule.h
    M clang/lib/CIR/CodeGen/CMakeLists.txt
    M clang/test/CIR/CodeGen/basic.cpp
    A clang/test/CIR/CodeGen/local-vars.cpp
    M clang/test/CIR/Lowering/basic.cpp
    A clang/test/CIR/Lowering/local-vars.cpp

  Log Message:
  -----------
  [CIR] Emit init of local variables (#130164)

Local variable initialization was previously being ignored. This change
adds support for initialization of scalar variables with constant values
and introduces the constant emitter framework.


  Commit: c59713c2d83dddfb08f23c210e054ae54beb856e
      https://github.com/llvm/llvm-project/commit/c59713c2d83dddfb08f23c210e054ae54beb856e
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M llvm/utils/gn/secondary/llvm/unittests/Support/BUILD.gn

  Log Message:
  -----------
  [gn build] Port ce9e1d3c15ed


  Commit: ca1833b91e45595a3728e90b3714566588c8abae
      https://github.com/llvm/llvm-project/commit/ca1833b91e45595a3728e90b3714566588c8abae
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    A mlir/test/Target/LLVMIR/omptarget-private-llvm.mlir

  Log Message:
  -----------
  [mlir][OpenMP] cast address space of private variables (#130301)

Fixes #130159

The problem is that the alloca created for the private variable uses the
default alloca address space in that module, but the function the
pointer is being passed to expects a different address space, leading to
a type missmatch in the function argument.

I know nothing about how AMDGPU is supposed to work. I based this
solution on code from createDeviceArgumentAccessor(). Please could
somebody from AMD confirm this solution is appropriate.


  Commit: ca582b1684c5f719b202b01d8727e9f8f4f1c3ec
      https://github.com/llvm/llvm-project/commit/ca582b1684c5f719b202b01d8727e9f8f4f1c3ec
  Author: Jerry-Ge <jerry.ge at arm.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
    M mlir/test/Dialect/Tosa/ops.mlir

  Log Message:
  -----------
  [mlir][tosa] Add FP8 lit tests (#127730)

Add FP8 lit tests to the following operators:

ARGMAX
AVGPOOL
CONV2D
CONV3D
DEPTHWISE_CONV2D
MATMUL
MAX_POOL2D
TRANSPOSE_CONV2D
CONST
CAST
CONCAT
PAD
RESHAPE
REVERSE
SLICE
TILE
TRANSPOSE
GATHER
SCATTER

Signed-off-by: Tai Ly <tai.ly at arm.com>
Signed-off-by: Jerry Ge <jerry.ge at arm.com>
Co-authored-by: Tai Ly <tai.ly at arm.com>


  Commit: 96f369791d6c146ccadb03e7f9d6b1be37990425
      https://github.com/llvm/llvm-project/commit/96f369791d6c146ccadb03e7f9d6b1be37990425
  Author: Jerry-Ge <jerry.ge at arm.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td

  Log Message:
  -----------
  [mlir][tosa] Update the description section for CastOp to align with TOSA v1.0 spec (#129958)

Updated the description section to include all data types and match the
ordering with the spec.

https://www.mlplatform.org/tosa/tosa_spec.html#_cast

Signed-off-by: Jerry Ge <jerry.ge at arm.com>


  Commit: df79000896101acc9b8d7435e59f767b36c00ac8
      https://github.com/llvm/llvm-project/commit/df79000896101acc9b8d7435e59f767b36c00ac8
  Author: Augie Fackler <augie at google.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

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

  Log Message:
  -----------
  [clangd] fix warning by adding missing parens


  Commit: 106c96462f2411ae8e84764feeb11246b997a169
      https://github.com/llvm/llvm-project/commit/106c96462f2411ae8e84764feeb11246b997a169
  Author: Tai Ly <tai.ly at arm.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Tosa/IR/TosaComplianceData.h.inc
    M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalgNamed.cpp
    M mlir/lib/Dialect/Tosa/IR/ShardingInterfaceImpl.cpp
    M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
    M mlir/lib/Dialect/Tosa/Transforms/TosaProfileCompliance.cpp
    M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg-named.mlir
    M mlir/test/Dialect/Mesh/sharding-propagation.mlir
    M mlir/test/Dialect/Tosa/availability.mlir
    M mlir/test/Dialect/Tosa/invalid.mlir
    M mlir/test/Dialect/Tosa/level_check.mlir
    M mlir/test/Dialect/Tosa/ops.mlir
    M mlir/test/Dialect/Tosa/profile_all_unsupported.mlir
    M mlir/test/Dialect/Tosa/profile_pro_fp_unsupported.mlir
    M mlir/test/Dialect/Tosa/tosa-infer-shapes.mlir

  Log Message:
  -----------
  [mlir][tosa] Change MatMul zero-point to inputs (#129785)

* Change zero-point attributes to inputs
* Fix relevant mlir tests
* Enhance ShardingInterface in MatMul

Signed-off-by: Udaya Ranga <udaya.ranga at arm.com>
Co-authored-by: Udaya Ranga <udaya.ranga at arm.com>


  Commit: b6b7f430c7dfcdc417c04a82dc9ebbe471805baa
      https://github.com/llvm/llvm-project/commit/b6b7f430c7dfcdc417c04a82dc9ebbe471805baa
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M clang/include/clang/CIR/Dialect/Builder/CIRBaseBuilder.h
    M clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
    M clang/include/clang/CIR/MissingFeatures.h
    A clang/lib/CIR/CodeGen/CIRGenConstantEmitter.h
    M clang/lib/CIR/CodeGen/CIRGenDecl.cpp
    M clang/lib/CIR/CodeGen/CIRGenExpr.cpp
    A clang/lib/CIR/CodeGen/CIRGenExprConstant.cpp
    M clang/lib/CIR/CodeGen/CIRGenFunction.h
    M clang/lib/CIR/CodeGen/CIRGenModule.h
    M clang/lib/CIR/CodeGen/CMakeLists.txt
    M clang/test/CIR/CodeGen/basic.cpp
    A clang/test/CIR/CodeGen/local-vars.cpp
    M clang/test/CIR/Lowering/basic.cpp
    A clang/test/CIR/Lowering/local-vars.cpp
    M clang/tools/amdgpu-arch/AMDGPUArch.cpp
    M clang/tools/amdgpu-arch/AMDGPUArchByHIP.cpp
    M flang/module/cudadevice.f90
    M flang/test/Analysis/AliasAnalysis/source-kind.fir
    M flang/test/Lower/CUDA/cuda-device-proc.cuf
    M lld/COFF/Chunks.h
    M lld/test/COFF/build-id-sym.s
    M lldb/source/Core/DataFileCache.cpp
    M llvm/include/llvm/ExecutionEngine/Orc/MemoryMapper.h
    M llvm/include/llvm/Support/Caching.h
    M llvm/lib/CGData/CodeGenData.cpp
    M llvm/lib/CodeGen/ModuloSchedule.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    M llvm/lib/Debuginfod/Debuginfod.cpp
    M llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp
    M llvm/lib/LTO/LTOBackend.cpp
    M llvm/lib/Support/Caching.cpp
    M llvm/test/CodeGen/X86/exp10-libcall-names.ll
    M llvm/test/CodeGen/X86/finite-libcalls.ll
    M llvm/test/Transforms/InstCombine/iX-ext-split.ll
    M llvm/tools/gold/gold-plugin.cpp
    M llvm/tools/llvm-lto2/llvm-lto2.cpp
    M llvm/unittests/Support/CMakeLists.txt
    A llvm/unittests/Support/Caching.cpp
    M llvm/utils/gn/secondary/llvm/unittests/Support/BUILD.gn
    M mlir/include/mlir/Dialect/Tosa/IR/TosaComplianceData.h.inc
    M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalgNamed.cpp
    M mlir/lib/Dialect/Tosa/IR/ShardingInterfaceImpl.cpp
    M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
    M mlir/lib/Dialect/Tosa/Transforms/TosaProfileCompliance.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg-named.mlir
    M mlir/test/Dialect/Mesh/sharding-propagation.mlir
    M mlir/test/Dialect/Tosa/availability.mlir
    M mlir/test/Dialect/Tosa/invalid.mlir
    M mlir/test/Dialect/Tosa/level_check.mlir
    M mlir/test/Dialect/Tosa/ops.mlir
    M mlir/test/Dialect/Tosa/profile_all_unsupported.mlir
    M mlir/test/Dialect/Tosa/profile_pro_fp_unsupported.mlir
    M mlir/test/Dialect/Tosa/tosa-infer-shapes.mlir
    A mlir/test/Target/LLVMIR/omptarget-private-llvm.mlir

  Log Message:
  -----------
  less copying

Created using spr 1.3.4


Compare: https://github.com/llvm/llvm-project/compare/6a2437677db8...b6b7f430c7df

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