[all-commits] [llvm/llvm-project] ac6e2e: [mlir][vector] Support direct broadcast conversion...
Steven Wu via All-commits
all-commits at lists.llvm.org
Mon Jul 21 15:20:37 PDT 2025
Branch: refs/heads/users/cachemeifyoucan/spr/clang-add-a-codegen-option-to-ignore-compilation-directories
Home: https://github.com/llvm/llvm-project
Commit: ac6e2ee39b34ec7ff5bed885c87e0d0bd16be835
https://github.com/llvm/llvm-project/commit/ac6e2ee39b34ec7ff5bed885c87e0d0bd16be835
Author: James Newling <james.newling at gmail.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M mlir/lib/Conversion/ArithToAMDGPU/ArithToAMDGPU.cpp
M mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
M mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp
M mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp
M mlir/test/Conversion/ArithToAMDGPU/scaling-extf.mlir
M mlir/test/Conversion/ArithToAMDGPU/scaling-truncf.mlir
M mlir/test/Conversion/ConvertToSPIRV/vector.mlir
M mlir/test/Conversion/VectorToLLVM/vector-to-llvm-interface.mlir
M mlir/test/Conversion/VectorToSPIRV/vector-to-spirv.mlir
Log Message:
-----------
[mlir][vector] Support direct broadcast conversion (LLVM & SPIRV) (#148027)
Add conversion for broadcast from scalar for LLVM and SPIRV. Also some
miscellaneous replacements of vector.splat with vector.broadcast in
VectorToGPU and ArithToAMDGPU.
Part of deprecation of vector.splat RFC:
https://discourse.llvm.org/t/rfc-mlir-vector-deprecate-then-remove-vector-splat/87143/4
Commit: ce44f089ded833acde529dbf448732a486207d5f
https://github.com/llvm/llvm-project/commit/ce44f089ded833acde529dbf448732a486207d5f
Author: Augusto Noronha <anoronha at apple.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M lldb/include/lldb/Target/Target.h
M lldb/source/Target/Target.cpp
M lldb/unittests/Expression/DWARFExpressionTest.cpp
Log Message:
-----------
[lldb] Add an extra optional did_read_live_memory to Target::ReadMemory (#149620)
Target::ReadMemory may or may not read live memory, but whether it did
read from live memory or from the filecache is opaque to callers. Add an
extra out parameter to indicate whether live memory was read or not.
Commit: 8940ab510ca56e0d87ab1e6a1d6cd26df3405f10
https://github.com/llvm/llvm-project/commit/8940ab510ca56e0d87ab1e6a1d6cd26df3405f10
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M mlir/test/Dialect/Linalg/vectorization/linalg-ops.mlir
Log Message:
-----------
[mlir][linalg][nfc] Group tests for linalg.pack + linalg.unpack (#149783)
Groups vectorization tests for `linalg.pack` + `linalg.unpack` together.
Commit: 9ad7edef4276207ca4cefa6b39d11145f4145a72
https://github.com/llvm/llvm-project/commit/9ad7edef4276207ca4cefa6b39d11145f4145a72
Author: Muhammad Bassiouni <60100307+bassiounix at users.noreply.github.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M libc/shared/math.h
A libc/shared/math/acosf16.h
M libc/src/__support/math/CMakeLists.txt
M libc/src/__support/math/acos.h
A libc/src/__support/math/acosf16.h
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/acosf16.cpp
M libc/test/shared/CMakeLists.txt
M libc/test/shared/shared_math_test.cpp
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[libc][math] Refactor acosf16 implementation to header-only in src/__support/math folder. (#148412)
Part of #147386
in preparation for:
https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450
Commit: abe93d9d7e891a2a6596ddb0c6324280137c89dc
https://github.com/llvm/llvm-project/commit/abe93d9d7e891a2a6596ddb0c6324280137c89dc
Author: Michał Górny <mgorny at gentoo.org>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M libclc/cmake/modules/AddLibclc.cmake
Log Message:
-----------
[libclc] Fix installed symlinks to be relative again (#149728)
Fix the symlink creation logic to use relative paths instead of
absolute, in order to ensure that the installed symlinks actually refer
to the installed .bc files rather than the ones from the build
directory. This was broken in #146833. The change is a bit roundabout
but it attempts to preserve the spirit of #146833, that is the ability
to use multiple output directories (provided they all resides in
`${LIBCLC_OUTPUT_LIBRARY_DIR}` and preserve the same structure in the
installed tree).
Signed-off-by: Michał Górny <mgorny at gentoo.org>
Commit: 509af524e3c3a25f7c777059585e075f70bf8db3
https://github.com/llvm/llvm-project/commit/509af524e3c3a25f7c777059585e075f70bf8db3
Author: Deric C. <cheung.deric at gmail.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M llvm/lib/Target/DirectX/DXILOpLowering.cpp
R llvm/test/CodeGen/DirectX/legalize-lifetimes-valver-1.5.ll
R llvm/test/CodeGen/DirectX/legalize-lifetimes-valver-1.6.ll
A llvm/test/CodeGen/DirectX/legalize-lifetimes.ll
Log Message:
-----------
Revert "[DirectX] Lower `llvm.lifetime.*` intrinsics to stores when DXIL version is lower than 1.6 (#147432)" (#149874)
This PR reverts commit d47c126fbf7915c01ea112ae372fe8835df4379f
(corresponding to PR #147432) to fix a build failure caused by #149310
Commit: 53f4abc6036a13f1b8afebc31d179d1a901084b8
https://github.com/llvm/llvm-project/commit/53f4abc6036a13f1b8afebc31d179d1a901084b8
Author: Lei Huang <lei at ca.ibm.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
R clang/test/CodeGen/PowerPC/ppc-dmf-future-builtin-err.c
M clang/test/CodeGen/PowerPC/ppc-dmf-mma-builtin-err.c
Log Message:
-----------
[PowerPC][NFC] Combine the 2 dmf neg test files (#149875)
Combining since these are testing the same err message with only
difference being the target cpu.
Commit: b7e332d3f59f567b1999fbcc660d7837cba8e406
https://github.com/llvm/llvm-project/commit/b7e332d3f59f567b1999fbcc660d7837cba8e406
Author: Maksim Levental <maksim.levental at gmail.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h
M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.h
M mlir/include/mlir/Dialect/LLVMIR/BasicPtxBuilderInterface.td
M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorType.h
M mlir/include/mlir/Dialect/Tosa/Utils/ConversionUtils.h
M mlir/include/mlir/Dialect/Tosa/Utils/QuantUtils.h
M mlir/include/mlir/Dialect/Utils/ReshapeOpsUtils.h
M mlir/include/mlir/Dialect/Vector/Utils/VectorUtils.h
M mlir/include/mlir/IR/Builders.h
M mlir/include/mlir/IR/PatternMatch.h
M mlir/include/mlir/Interfaces/ViewLikeInterface.h
M mlir/include/mlir/Parser/Parser.h
M mlir/lib/Target/IRDLToCpp/IRDLToCpp.cpp
M mlir/lib/Target/IRDLToCpp/Templates/PerOperationDecl.txt
M mlir/lib/Target/IRDLToCpp/Templates/PerOperationDef.txt
Log Message:
-----------
[mlir][NFC] update `include` create APIs (3/n) (#149687)
See https://github.com/llvm/llvm-project/pull/147168 for more info.
Commit: fe267860c1206b0622f5aee8fe8a04040fcecbf7
https://github.com/llvm/llvm-project/commit/fe267860c1206b0622f5aee8fe8a04040fcecbf7
Author: Muhammad Bassiouni <60100307+bassiounix at users.noreply.github.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M libc/shared/math.h
A libc/shared/math/erff.h
M libc/src/__support/math/CMakeLists.txt
A libc/src/__support/math/erff.h
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/erff.cpp
M libc/test/shared/CMakeLists.txt
M libc/test/shared/shared_math_test.cpp
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[libc][math] Refactor erff implementation to header-only in src/__support/math folder. (#148413)
Part of #147386
in preparation for:
https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450
Commit: d93f91fc467beb3da99a43fc1874f1dbcaf250c4
https://github.com/llvm/llvm-project/commit/d93f91fc467beb3da99a43fc1874f1dbcaf250c4
Author: Philip Reames <preames at rivosinc.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInterleavedAccess.cpp
Log Message:
-----------
[RISCV][IA] Prefer switch over intrinsic ID instead of if-chain [nfc]
Commit: 0e42c665f97ee6551e1019cd75ff649c14bda03a
https://github.com/llvm/llvm-project/commit/0e42c665f97ee6551e1019cd75ff649c14bda03a
Author: Teresa Johnson <tejohnson at google.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
M llvm/test/ThinLTO/X86/memprof-basic.ll
M llvm/test/Transforms/MemProfContextDisambiguation/basic.ll
Log Message:
-----------
[MemProf] Update the declaration DISubprogram linkageName for clones (#149864)
Follow up to PR145385 to also update the linkageName on any separate
DISubprogram for the clone function declaration.
Commit: c4f3bc91c0684e82491045dc3f317274be3b8131
https://github.com/llvm/llvm-project/commit/c4f3bc91c0684e82491045dc3f317274be3b8131
Author: Deric C. <cheung.deric at gmail.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M llvm/lib/Target/DirectX/DXILOpLowering.cpp
A llvm/test/CodeGen/DirectX/legalize-lifetimes-valver-1.5.ll
A llvm/test/CodeGen/DirectX/legalize-lifetimes-valver-1.6.ll
R llvm/test/CodeGen/DirectX/legalize-lifetimes.ll
Log Message:
-----------
Revert "Revert "[DirectX] Lower `llvm.lifetime.*` intrinsics to stores when DXIL version is lower than 1.6 (#147432)"" (#149882)
Reverts llvm/llvm-project#149874
Reverted the wrong PR by mistake.
Commit: 8f9ed788740fd00836195b30061ad161b2055d8c
https://github.com/llvm/llvm-project/commit/8f9ed788740fd00836195b30061ad161b2055d8c
Author: Deric C. <cheung.deric at gmail.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M llvm/lib/Target/DirectX/DXILPrepare.cpp
M llvm/lib/Target/DirectX/DXILShaderFlags.cpp
M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
R llvm/test/CodeGen/DirectX/ShaderFlags/lifetimes-noint64op.ll
M llvm/test/CodeGen/DirectX/legalize-lifetimes-valver-1.6.ll
R llvm/test/tools/dxil-dis/lifetimes.ll
Log Message:
-----------
Revert "[DirectX] Legalize lifetime intrinsics for DXIL" (#149883)
Reverts llvm/llvm-project#148003 to fix a DirectX backend build breakage
due to #149310
Commit: b53be5f4b2d25aabcd676319a054f251cb0752b2
https://github.com/llvm/llvm-project/commit/b53be5f4b2d25aabcd676319a054f251cb0752b2
Author: Joseph Huber <huberjn at outlook.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M llvm/include/llvm/BinaryFormat/ELF.h
M llvm/include/llvm/Object/ELFObjectFile.h
M llvm/lib/Object/ELFObjectFile.cpp
M llvm/tools/llvm-readobj/ELFDumper.cpp
M offload/plugins-nextgen/common/src/Utils/ELF.cpp
M offload/plugins-nextgen/cuda/src/rtl.cpp
Log Message:
-----------
[LLVM] Update CUDA ELF flags for their new ABI (#149534)
Summary:
We rely on these flags to do things in the runtime and print the
contents of binaries correctly. CUDA updated their ABI encoding recently
and we didn't handle that. it's a new ABI entirely so we just select on
it when it shows up.
Fixes: https://github.com/llvm/llvm-project/issues/148703
Commit: 4184a1b5815810993eb87602aa6d47bcf7e72691
https://github.com/llvm/llvm-project/commit/4184a1b5815810993eb87602aa6d47bcf7e72691
Author: Lei Huang <lei at ca.ibm.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M llvm/lib/Target/PowerPC/PPCInstrFuture.td
Log Message:
-----------
[PowerPC][NFC] Fix clang format in PPCInstrFuture.td (#149884)
Commit: 033df384cde9e692fd1b9e5d3bf29100971f9444
https://github.com/llvm/llvm-project/commit/033df384cde9e692fd1b9e5d3bf29100971f9444
Author: Philip Reames <preames at rivosinc.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M llvm/lib/CodeGen/InterleavedAccessPass.cpp
Log Message:
-----------
[IA] Naming and style cleanup [nfc]
1) Rename argument II to something slightly more descriptive since we have
more than one IntrinsicInst flowing through.
2) Perform a checked dyn_cast early to eliminate two casts later in each
routine.
Commit: 84781c0ed36410d9fb79cab6f58e09e660e4ea7e
https://github.com/llvm/llvm-project/commit/84781c0ed36410d9fb79cab6f58e09e660e4ea7e
Author: Muhammad Bassiouni <60100307+bassiounix at users.noreply.github.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M libc/shared/math.h
A libc/shared/math/acoshf.h
M libc/src/__support/math/CMakeLists.txt
A libc/src/__support/math/acosh_float_constants.h
A libc/src/__support/math/acoshf.h
A libc/src/__support/math/acoshf_utils.h
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/acoshf.cpp
M libc/src/math/generic/acoshf16.cpp
M libc/src/math/generic/asinhf.cpp
M libc/src/math/generic/asinhf16.cpp
M libc/src/math/generic/atanhf.cpp
M libc/src/math/generic/common_constants.cpp
M libc/src/math/generic/common_constants.h
M libc/src/math/generic/explogxf.h
M libc/src/math/generic/log1pf.cpp
M libc/test/shared/CMakeLists.txt
M libc/test/shared/shared_math_test.cpp
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[libc][math] Refactor acoshf implementation to header-only in src/__support/math folder. (#148418)
Part of #147386
in preparation for:
https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450
Commit: 423cea760732e7969ac5d0edff9d725d89503807
https://github.com/llvm/llvm-project/commit/423cea760732e7969ac5d0edff9d725d89503807
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Log Message:
-----------
[SelectionDAG] Fix incorrect indentation. NFC
Commit: fcacd4e880c9a0b3f2bdaa43603aeddfa1b1cd2e
https://github.com/llvm/llvm-project/commit/fcacd4e880c9a0b3f2bdaa43603aeddfa1b1cd2e
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M lld/COFF/Config.h
M lld/COFF/Driver.cpp
M lld/COFF/InputFiles.cpp
R lld/test/COFF/exported-dllmain.test
A lld/test/COFF/imported-dllmain-i386.test
A lld/test/COFF/imported-dllmain.test
Log Message:
-----------
[LLD][COFF] Follow up comments on pr146610 (#147152)
This is a follow-up PR for post-commit comments in
https://github.com/llvm/llvm-project/pull/146610
- Changed "exporteddllmain" references to "importeddllmain".
- Add support for x86 target and test coverage.
- Changed a comment to better express why we're skipping importing
`DllMain`.
Commit: 96548db78f037a8f6c8a59c0110a53b4e6f0f4c6
https://github.com/llvm/llvm-project/commit/96548db78f037a8f6c8a59c0110a53b4e6f0f4c6
Author: Muhammad Bassiouni <60100307+bassiounix at users.noreply.github.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M libc/test/src/math/explogxf_test.cpp
Log Message:
-----------
[libc][math] fix explogxf test (#149891)
Commit: e1aed19fb9e36543fa7354934ee1b268bdc40705
https://github.com/llvm/llvm-project/commit/e1aed19fb9e36543fa7354934ee1b268bdc40705
Author: lntue <lntue at google.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/libc_test_rules.bzl
M utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel
Log Message:
-----------
[libc][bazel] Add hypotf16 bazel targets. (#149761)
Commit: f38c94b80563b063439f2079de260d1424e0bffc
https://github.com/llvm/llvm-project/commit/f38c94b80563b063439f2079de260d1424e0bffc
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/vector-deinterleave-load.ll
Log Message:
-----------
[RISCV] Fix typo in test: loat->load. NFC (#149869)
Commit: 860ff8714b2d6f810703c4490e26dd687fc15b8d
https://github.com/llvm/llvm-project/commit/860ff8714b2d6f810703c4490e26dd687fc15b8d
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp
Log Message:
-----------
[RISCV] Use empty() instead of size()==0. NFC (#149868)
Move the assert past the code that determines if the pass should run.
Commit: 9052a85da803b246fa6a6f8b3b5bcbfc2e9de7a8
https://github.com/llvm/llvm-project/commit/9052a85da803b246fa6a6f8b3b5bcbfc2e9de7a8
Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M mlir/lib/Dialect/AMDGPU/IR/AMDGPUDialect.cpp
M mlir/test/Conversion/AMDGPUToROCDL/amdgpu-to-rocdl.mlir
M mlir/test/Dialect/AMDGPU/ops.mlir
Log Message:
-----------
[mlir][AMDGPU] Infer canonical layouts for fat_raw_buffer_cast resetOffset (#149867)
When inferring the return type of amdgpu.fat_raw_buffer_cast with the
offset reset, we would sometimes use a strided layout, like
strided<[1]>, in cases where, after stripping the offset, the memref had
the identity layout. This would cause issues with EmulateNarrowTypes,
which does perform this layout canonicalization.
Now, the return type inference will put in an identity layout after
offset stripping for
1. Statically-shaped memrefs of any rank where the strides match the
suffix product of the shape, and
2. Memrefs of rank <= 1 whose strides are [1] (or []) that just had
their offset removed by resetOffset.
Commit: e47d5eb4541d5f377d9a57ef2157dbb3a41a85e6
https://github.com/llvm/llvm-project/commit/e47d5eb4541d5f377d9a57ef2157dbb3a41a85e6
Author: Changpeng Fang <changpeng.fang at amd.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
M llvm/lib/Target/AMDGPU/GCNHazardRecognizer.h
A llvm/test/CodeGen/AMDGPU/wmma-coececution-valu-hazards.mir
A llvm/test/CodeGen/AMDGPU/wmma-hazards-gfx1250-w32.mir
Log Message:
-----------
[AMDGPU] Hazard handling for gfx1250 wmma instructions (#149865)
If both instructions are xdl WMMA, hazard exists when the first WMMA
writes a register (D0) and the second WMMA reads it (A1/B1/Index1).
If the first instruction is a xdl WMMA, and the second one is a VALU,
three kinds of hazards exist:
WMMA writes (D0), VALU reads (Use1);
WMMA writes (D0), VALU writes (D1);
WMMA reads (A0/B0.Index0), VALU writes (D1).
The actual number of hazard slots depends on the categories of the first
xdl WMMA as well as whether the second instruction is a xdl WMMA or
VALU. If there is not enough unrelated VALUs in between the two
instructions, appropriate number (to cover the missing) of V_NOPs will
be inserted to satisfy the hazard handling requirements.
Commit: 2d31fc85a847759a5ea1fb39718a3851d57913c3
https://github.com/llvm/llvm-project/commit/2d31fc85a847759a5ea1fb39718a3851d57913c3
Author: Naveen Seth Hanig <naveen.hanig at outlook.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Driver/Driver.h
M clang/include/clang/Driver/Options.td
M clang/include/clang/Lex/DependencyDirectivesScanner.h
M clang/lib/Driver/Driver.cpp
M clang/lib/Lex/DependencyDirectivesScanner.cpp
A clang/test/Driver/modules-driver-cxx20-module-usage-scanner.cpp
Log Message:
-----------
Reland [clang][modules-driver] Add scanner to detect C++20 module presence (#147630)
This patch is part of a series to natively support C++20 module usage
from the Clang driver (without requiring an external build system). This
introduces a new scanner that detects C++20 module usage in source files
without using the preprocessor or lexer.
For now, it is enabled only with the `-fmodules-driver` flag and serves
solely diagnostic purposes. In the future, the scanner will be enabled
for any (modules-driver compatible) compilation with two or more inputs,
and will help the driver determine whether to implicitly enable the
modules driver.
Since the scanner adds very little overhead, we are also exploring
enabling it for compilations with only a single input. This approach
could allow us to detect `import std` usage in a single-file
compilation, which would then activate the modules driver. For
performance measurements on this, see
https://github.com/naveen-seth/llvm-dev-cxx-modules-check-benchmark.
RFC:
https://discourse.llvm.org/t/rfc-modules-support-simple-c-20-modules-use-from-the-clang-driver-without-a-build-system
This patch relands commit ded1426. The CI failure is resolved by
removing the compatibility warning for using the `-fmodules-driver` flag
with pre-C++20 standards, which also better aligns its behavior with
other features/flags supported only in newer standards.
Commit: 2a78c6d45d4965df35e8cb766f557e7ae52477a8
https://github.com/llvm/llvm-project/commit/2a78c6d45d4965df35e8cb766f557e7ae52477a8
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M lldb/unittests/DAP/TestBase.cpp
Log Message:
-----------
[lldb] Fix warning: suggest explicit braces to avoid ambiguous ‘else’
According to the LLVM Style Guide we don't need braces because it's a
single-line, but it looks like the macro expands to code that includes a
potentially ambiguous "else". Use braces to silence the warning.
Commit: 45a6c02c2123f1d4764a8ad981193b15851df744
https://github.com/llvm/llvm-project/commit/45a6c02c2123f1d4764a8ad981193b15851df744
Author: Eugene Epshteyn <eepshteyn at nvidia.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M flang/include/flang/Evaluate/integer.h
M flang/include/flang/Evaluate/real.h
Log Message:
-----------
[flang] Control alignment of constant folded reals (#149381)
When REAL types are constant folded, the underneath implementation uses
arrays of integers. Ensure that these arrays are properly aligned.
This matters when building flang with clang. In some cases, the
resulting code for flang compiler ended up using SSE2 aligned load
instructions for REAL(16) constant folding on x86_64, and these
instructions require that the values are loaded from the aligned
addresses.
Commit: bf86abee3e86e7226887ab1a5541296beed46d82
https://github.com/llvm/llvm-project/commit/bf86abee3e86e7226887ab1a5541296beed46d82
Author: Philip Reames <preames at rivosinc.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M llvm/lib/CodeGen/InterleavedAccessPass.cpp
M llvm/lib/Target/RISCV/RISCVInterleavedAccess.cpp
M llvm/test/CodeGen/RISCV/rvv/vector-interleave-store.ll
Log Message:
-----------
[RISCV][IA] Support masked.store of deinterleaveN intrinsic (#149893)
This is the masked.store side to the masked.load support added in
881b3fd.
With this change, we support masked.load and masked.store via the
intrinsic lowering path used primarily with scalable vectors. An
upcoming change will extend the fixed vector (i.a. shuffle vector) paths
in the same manner.
Commit: cb6f132b1c433c7f6b7727793a1588ae6401f284
https://github.com/llvm/llvm-project/commit/cb6f132b1c433c7f6b7727793a1588ae6401f284
Author: Naveen Seth Hanig <naveen.hanig at outlook.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Driver/Driver.h
M clang/include/clang/Driver/Options.td
M clang/include/clang/Lex/DependencyDirectivesScanner.h
M clang/lib/Driver/Driver.cpp
M clang/lib/Lex/DependencyDirectivesScanner.cpp
R clang/test/Driver/modules-driver-cxx20-module-usage-scanner.cpp
Log Message:
-----------
Revert "Reland [clang][modules-driver] Add scanner to detect C++20 module presence" (#149900)
Reverts llvm/llvm-project#147630.
This causes a linker error caused by linking the driver against the
lexer.
Commit: 54ae81f6ffb4f7685e5dcb56d21eeabda24d21b7
https://github.com/llvm/llvm-project/commit/54ae81f6ffb4f7685e5dcb56d21eeabda24d21b7
Author: lntue <lntue at google.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/test/libc_test_rules.bzl
Log Message:
-----------
[libc][bazel] Remove -fext-numeric-literals as it is only needed for gcc and not available in clang. (#149902)
Commit: dcffa3d05ca1873c098712d6ad9cb5d095ac7c85
https://github.com/llvm/llvm-project/commit/dcffa3d05ca1873c098712d6ad9cb5d095ac7c85
Author: Devon Loehr <DKLoehr at users.noreply.github.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M clang/docs/StandardCPlusPlusModules.rst
Log Message:
-----------
Fix indendation in StandardCPlusPlusModules.rst (#149901)
The CI is complaining about unexpected indentation. It seems multiple-line list entries must start at the beginning of each line.
Commit: 520398e752b1f69f9c2575b23db34ab65de2cd02
https://github.com/llvm/llvm-project/commit/520398e752b1f69f9c2575b23db34ab65de2cd02
Author: Muhammad Bassiouni <60100307+bassiounix at users.noreply.github.com>
Date: 2025-07-22 (Tue, 22 Jul 2025)
Changed paths:
M libc/shared/math.h
A libc/shared/math/acoshf16.h
M libc/src/__support/math/CMakeLists.txt
A libc/src/__support/math/acoshf16.h
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/acoshf16.cpp
M libc/test/shared/CMakeLists.txt
M libc/test/shared/shared_math_test.cpp
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[libc][math] Refactor acoshf16 implementation to header-only in src/__support/math folder. (#148568)
Part of #147386
in preparation for:
https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450
Commit: b66084acd9f6052ed9061ef4ec39e7c8a176f01d
https://github.com/llvm/llvm-project/commit/b66084acd9f6052ed9061ef4ec39e7c8a176f01d
Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
A llvm/test/MC/AMDGPU/gfx1250_asm_vflat_err.s
M llvm/test/MC/AMDGPU/gfx1250_asm_vop2_err.s
Log Message:
-----------
[AMDGPU] Verify asm VGPR alignment on gfx1250 (#149880)
Co-authored-by: Shilei Tian <Shilei.Tian at amd.com>
Commit: 5062fe5692a503b600bccb753323ba961811ade6
https://github.com/llvm/llvm-project/commit/5062fe5692a503b600bccb753323ba961811ade6
Author: Jorge Gorbe Moya <jgorbe at google.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Add missing dep after 9052a85da803b246fa6a6f8b3b5bcbfc2e9de7a8
Commit: de011e372dff540056b4abdf02de94061f5ddb86
https://github.com/llvm/llvm-project/commit/de011e372dff540056b4abdf02de94061f5ddb86
Author: Jonathan Peyton <jonathan.l.peyton at intel.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M openmp/runtime/src/kmp.h
M openmp/runtime/src/kmp_config.h.cmake
M openmp/runtime/src/kmp_global.cpp
M openmp/runtime/src/kmp_runtime.cpp
M openmp/runtime/src/kmp_settings.cpp
Log Message:
-----------
[OpenMP] [NFC] Remove KMP_NESTED_HOT_TEAMS macro (#143584)
The feature was introduced back in 2014 and has been on ever since.
Leave the feature in place. Removing only the macro.
Commit: 4981bc24cff3344d477af04591b699da466e10b8
https://github.com/llvm/llvm-project/commit/4981bc24cff3344d477af04591b699da466e10b8
Author: Jonathan Peyton <jonathan.l.peyton at intel.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M openmp/runtime/src/include/omp_lib.F90.var
M openmp/runtime/src/include/omp_lib.h.var
M openmp/runtime/src/kmp_affinity.cpp
M openmp/runtime/src/kmp_barrier.cpp
M openmp/runtime/src/kmp_barrier.h
M openmp/runtime/src/kmp_ftn_entry.h
M openmp/runtime/src/kmp_i18n.cpp
M openmp/runtime/src/kmp_lock.cpp
M openmp/runtime/src/kmp_runtime.cpp
M openmp/runtime/src/kmp_settings.cpp
M openmp/runtime/src/kmp_str.cpp
A openmp/runtime/test/env/check_certain_values.c
A openmp/runtime/test/tasking/no_task_barrier.c
Log Message:
-----------
[OpenMP] Fixup bugs found during fuzz testing (#143455)
A lot of these only trip when using sanitizers with the library.
* Insert forgotten free()s
* Change (-1) << amount to 0xffffffffu as left shifting a negative is UB
* Fixup integer parser to return INT_MAX when parsing huge string of
digits. e.g., 452523423423423423 returns INT_MAX
* Fixup range parsing for affinity mask so integer overflow does not
occur
* Don't assert when branch bits are 0, instead warn user that is invalid
and use the default value.
* Fixup kmp_set_defaults() so the C version only uses null terminated
strings and the Fortran version uses the string + size version.
* Make sure the KMP_ALIGN_ALLOC is power of two, otherwise use
CACHE_LINE.
* Disallow ability to set KMP_TASKING=1 (task barrier) this doesn't work
and hasn't worked for a long time.
* Limit KMP_HOT_TEAMS_MAX_LEVEL to 1024, an array is allocated based on
this value.
* Remove integer values for OMP_PROC_BIND. The specification only allows
strings and CSV of strings.
* Fix setting KMP_AFFINITY=disabled + OMP_DISPLAY_AFFINITY=TRUE
Commit: 6f7f8eb28d3c468d22351aed79f68d05706bba73
https://github.com/llvm/llvm-project/commit/6f7f8eb28d3c468d22351aed79f68d05706bba73
Author: Steven Wu <stevenwu at apple.com>
Date: 2025-07-21 (Mon, 21 Jul 2025)
Changed paths:
M clang/docs/StandardCPlusPlusModules.rst
M clang/test/ClangScanDeps/modules-debug-dir.c
R clang/test/CodeGen/PowerPC/ppc-dmf-future-builtin-err.c
M clang/test/CodeGen/PowerPC/ppc-dmf-mma-builtin-err.c
M clang/test/CodeGen/debug-info-compilation-dir.c
M flang/include/flang/Evaluate/integer.h
M flang/include/flang/Evaluate/real.h
M libc/shared/math.h
A libc/shared/math/acosf16.h
A libc/shared/math/acoshf.h
A libc/shared/math/acoshf16.h
A libc/shared/math/erff.h
M libc/src/__support/math/CMakeLists.txt
M libc/src/__support/math/acos.h
A libc/src/__support/math/acosf16.h
A libc/src/__support/math/acosh_float_constants.h
A libc/src/__support/math/acoshf.h
A libc/src/__support/math/acoshf16.h
A libc/src/__support/math/acoshf_utils.h
A libc/src/__support/math/erff.h
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/acosf16.cpp
M libc/src/math/generic/acoshf.cpp
M libc/src/math/generic/acoshf16.cpp
M libc/src/math/generic/asinhf.cpp
M libc/src/math/generic/asinhf16.cpp
M libc/src/math/generic/atanhf.cpp
M libc/src/math/generic/common_constants.cpp
M libc/src/math/generic/common_constants.h
M libc/src/math/generic/erff.cpp
M libc/src/math/generic/explogxf.h
M libc/src/math/generic/log1pf.cpp
M libc/test/shared/CMakeLists.txt
M libc/test/shared/shared_math_test.cpp
M libc/test/src/math/explogxf_test.cpp
M libclc/cmake/modules/AddLibclc.cmake
M lld/COFF/Config.h
M lld/COFF/Driver.cpp
M lld/COFF/InputFiles.cpp
R lld/test/COFF/exported-dllmain.test
A lld/test/COFF/imported-dllmain-i386.test
A lld/test/COFF/imported-dllmain.test
M lldb/include/lldb/Target/Target.h
M lldb/source/Target/Target.cpp
M lldb/unittests/DAP/TestBase.cpp
M lldb/unittests/Expression/DWARFExpressionTest.cpp
M llvm/include/llvm/BinaryFormat/ELF.h
M llvm/include/llvm/Object/ELFObjectFile.h
M llvm/lib/CodeGen/InterleavedAccessPass.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/Object/ELFObjectFile.cpp
M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
M llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
M llvm/lib/Target/AMDGPU/GCNHazardRecognizer.h
M llvm/lib/Target/DirectX/DXILPrepare.cpp
M llvm/lib/Target/DirectX/DXILShaderFlags.cpp
M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
M llvm/lib/Target/PowerPC/PPCInstrFuture.td
M llvm/lib/Target/RISCV/RISCVInterleavedAccess.cpp
M llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
A llvm/test/CodeGen/AMDGPU/wmma-coececution-valu-hazards.mir
A llvm/test/CodeGen/AMDGPU/wmma-hazards-gfx1250-w32.mir
R llvm/test/CodeGen/DirectX/ShaderFlags/lifetimes-noint64op.ll
M llvm/test/CodeGen/DirectX/legalize-lifetimes-valver-1.6.ll
M llvm/test/CodeGen/RISCV/rvv/vector-deinterleave-load.ll
M llvm/test/CodeGen/RISCV/rvv/vector-interleave-store.ll
A llvm/test/MC/AMDGPU/gfx1250_asm_vflat_err.s
M llvm/test/MC/AMDGPU/gfx1250_asm_vop2_err.s
M llvm/test/ThinLTO/X86/memprof-basic.ll
M llvm/test/Transforms/MemProfContextDisambiguation/basic.ll
R llvm/test/tools/dxil-dis/lifetimes.ll
M llvm/tools/llvm-readobj/ELFDumper.cpp
M mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h
M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.h
M mlir/include/mlir/Dialect/LLVMIR/BasicPtxBuilderInterface.td
M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorType.h
M mlir/include/mlir/Dialect/Tosa/Utils/ConversionUtils.h
M mlir/include/mlir/Dialect/Tosa/Utils/QuantUtils.h
M mlir/include/mlir/Dialect/Utils/ReshapeOpsUtils.h
M mlir/include/mlir/Dialect/Vector/Utils/VectorUtils.h
M mlir/include/mlir/IR/Builders.h
M mlir/include/mlir/IR/PatternMatch.h
M mlir/include/mlir/Interfaces/ViewLikeInterface.h
M mlir/include/mlir/Parser/Parser.h
M mlir/lib/Conversion/ArithToAMDGPU/ArithToAMDGPU.cpp
M mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
M mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp
M mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp
M mlir/lib/Dialect/AMDGPU/IR/AMDGPUDialect.cpp
M mlir/lib/Target/IRDLToCpp/IRDLToCpp.cpp
M mlir/lib/Target/IRDLToCpp/Templates/PerOperationDecl.txt
M mlir/lib/Target/IRDLToCpp/Templates/PerOperationDef.txt
M mlir/test/Conversion/AMDGPUToROCDL/amdgpu-to-rocdl.mlir
M mlir/test/Conversion/ArithToAMDGPU/scaling-extf.mlir
M mlir/test/Conversion/ArithToAMDGPU/scaling-truncf.mlir
M mlir/test/Conversion/ConvertToSPIRV/vector.mlir
M mlir/test/Conversion/VectorToLLVM/vector-to-llvm-interface.mlir
M mlir/test/Conversion/VectorToSPIRV/vector-to-spirv.mlir
M mlir/test/Dialect/AMDGPU/ops.mlir
M mlir/test/Dialect/Linalg/vectorization/linalg-ops.mlir
M offload/plugins-nextgen/common/src/Utils/ELF.cpp
M offload/plugins-nextgen/cuda/src/rtl.cpp
M openmp/runtime/src/include/omp_lib.F90.var
M openmp/runtime/src/include/omp_lib.h.var
M openmp/runtime/src/kmp.h
M openmp/runtime/src/kmp_affinity.cpp
M openmp/runtime/src/kmp_barrier.cpp
M openmp/runtime/src/kmp_barrier.h
M openmp/runtime/src/kmp_config.h.cmake
M openmp/runtime/src/kmp_ftn_entry.h
M openmp/runtime/src/kmp_global.cpp
M openmp/runtime/src/kmp_i18n.cpp
M openmp/runtime/src/kmp_lock.cpp
M openmp/runtime/src/kmp_runtime.cpp
M openmp/runtime/src/kmp_settings.cpp
M openmp/runtime/src/kmp_str.cpp
A openmp/runtime/test/env/check_certain_values.c
A openmp/runtime/test/tasking/no_task_barrier.c
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
Attt fx tets
Created using spr 1.3.6
Compare: https://github.com/llvm/llvm-project/compare/9bb801bcf10b...6f7f8eb28d3c
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