[all-commits] [llvm/llvm-project] 3bdf05: Revert "[WebAssembly] Remove FAKE_USEs before Expl...
Steven Wu via All-commits
all-commits at lists.llvm.org
Wed Sep 24 12:39:32 PDT 2025
Branch: refs/heads/users/cachemeifyoucan/spr/llvmsupport-make-sysfsfile_t-into-a-seperate-type
Home: https://github.com/llvm/llvm-project
Commit: 3bdf05a05a8128931684556dea7edf4ebc1053d0
https://github.com/llvm/llvm-project/commit/3bdf05a05a8128931684556dea7edf4ebc1053d0
Author: Derek Schuff <dschuff at chromium.org>
Date: 2025-09-24 (Wed, 24 Sep 2025)
Changed paths:
M llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp
R llvm/test/CodeGen/WebAssembly/fake-use.ll
Log Message:
-----------
Revert "[WebAssembly] Remove FAKE_USEs before ExplicitLocals" (#160553)
Reverts llvm/llvm-project#160228
See
https://github.com/llvm/llvm-project/pull/160228#issuecomment-3329752471
Commit: 5fde3e884beb2b93cbd0455ccd9f22e9e30b1470
https://github.com/llvm/llvm-project/commit/5fde3e884beb2b93cbd0455ccd9f22e9e30b1470
Author: Fangrui Song <i at maskray.me>
Date: 2025-09-24 (Wed, 24 Sep 2025)
Changed paths:
M lld/ELF/SyntheticSections.cpp
M lld/ELF/SyntheticSections.h
Log Message:
-----------
ELF: EhFrameSection: Remove unused template parameters
Commit: 844150de8ab7b28e1de5e003335b6f39cc671b70
https://github.com/llvm/llvm-project/commit/844150de8ab7b28e1de5e003335b6f39cc671b70
Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
Date: 2025-09-24 (Wed, 24 Sep 2025)
Changed paths:
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
Log Message:
-----------
[AMDGPU] Update comment about coop atomics ordering. NFC (#160463)
Commit: 1becadeebc76db49300a74666c846047d027733e
https://github.com/llvm/llvm-project/commit/1becadeebc76db49300a74666c846047d027733e
Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
Date: 2025-09-24 (Wed, 24 Sep 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
Log Message:
-----------
[AMDGPU] Update comments in memory legalizer. NFC (#160453)
Commit: f81cc8bddcbc3561dbf9baa9ba48ffdae2443f3b
https://github.com/llvm/llvm-project/commit/f81cc8bddcbc3561dbf9baa9ba48ffdae2443f3b
Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
Date: 2025-09-24 (Wed, 24 Sep 2025)
Changed paths:
M llvm/docs/AMDGPUUsage.rst
Log Message:
-----------
[AMDGPU] Update gfx1250 documentation. NFC (#160457)
Commit: 2bf3748eeabf6e963adf2ab48b158438f4774bbc
https://github.com/llvm/llvm-project/commit/2bf3748eeabf6e963adf2ab48b158438f4774bbc
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2025-09-24 (Wed, 24 Sep 2025)
Changed paths:
M clang/include/clang/Basic/Builtins.td
M clang/lib/CodeGen/CGHLSLBuiltins.cpp
M clang/lib/CodeGen/CGHLSLRuntime.h
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
A clang/test/CodeGenHLSL/resources/NonUniformResourceIndex.hlsl
Log Message:
-----------
[HLSL] NonUniformResourceIndex implementation (#160430)
Adds HLSL function `NonUniformResourceIndex` to `hlsl_intrinsics.h.` The function calls a builtin `__builtin_hlsl_resource_nonuniformindex` which gets translated to LLVM intrinsic `llvm.{dx|spv}.resource_nonuniformindex`.
Closes #157923
Commit: e3aa00e517e58583f96ca62e2c654d9ce6dec060
https://github.com/llvm/llvm-project/commit/e3aa00e517e58583f96ca62e2c654d9ce6dec060
Author: Fabian Mora <fmora.dev at gmail.com>
Date: 2025-09-24 (Wed, 24 Sep 2025)
Changed paths:
M mlir/include/mlir/Dialect/Ptr/IR/PtrEnums.td
M mlir/include/mlir/Dialect/Ptr/IR/PtrOps.td
M mlir/lib/Dialect/Ptr/IR/PtrDialect.cpp
M mlir/lib/Target/LLVMIR/Dialect/Ptr/PtrToLLVMIRTranslation.cpp
M mlir/test/Dialect/Ptr/invalid.mlir
M mlir/test/Dialect/Ptr/ops.mlir
M mlir/test/Target/LLVMIR/ptr.mlir
Log Message:
-----------
[mlir][ptr] Add `ptr.ptr_diff` operation (#157354)
Thi patch introduces the `ptr.ptr_diff` operation for computing pointer
differences. The semantics of the operation are given by:
```
The `ptr_diff` operation computes the difference between two pointers,
returning an integer or index value representing the number of bytes
between them.
The operation supports both scalar and shaped types with value semantics:
- When both operands are scalar: produces a single difference value
- When both are shaped: performs element-wise subtraction,
shapes must be the same
The operation also supports the following flags:
- `none`: No flags are set.
- `nuw`: No Unsigned Wrap, if the subtraction causes an unsigned overflow,
the result is a poison value.
- `nsw`: No Signed Wrap, if the subtraction causes a signed overflow, the
result is a poison value.
NOTE: The pointer difference is calculated using an integer type specified
by the data layout. The final result will be sign-extended or truncated to
fit the result type as necessary.
```
This patch also adds translation to LLVM IR hooks for the `ptr_diff` op.
This translation uses the `ptrtoaddr` builder to compute only index bits
difference.
Example:
```mlir
llvm.func @ptr_diff_vector_i32(%ptrs1: vector<8x!ptr.ptr<#llvm.address_space<0>>>, %ptrs2: vector<8x!ptr.ptr<#llvm.address_space<0>>>) -> vector<8xi32> {
%diffs = ptr.ptr_diff %ptrs1, %ptrs2 : vector<8x!ptr.ptr<#llvm.address_space<0>>> -> vector<8xi32>
llvm.return %diffs : vector<8xi32>
}
```
Translation to LLVM IR:
```llvm
define <8 x i32> @ptr_diff_vector_i32(<8 x ptr> %0, <8 x ptr> %1) {
%3 = ptrtoint <8 x ptr> %0 to <8 x i64>
%4 = ptrtoint <8 x ptr> %1 to <8 x i64>
%5 = sub <8 x i64> %3, %4
%6 = trunc <8 x i64> %5 to <8 x i32>
ret <8 x i32> %6
}
```
---------
Co-authored-by: Mehdi Amini <joker.eph at gmail.com>
Commit: eb8589987267dc5315c09aa10265f8071b516074
https://github.com/llvm/llvm-project/commit/eb8589987267dc5315c09aa10265f8071b516074
Author: Matthew Devereau <matthew.devereau at arm.com>
Date: 2025-09-24 (Wed, 24 Sep 2025)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/test/Transforms/InstCombine/select-masked_load.ll
Log Message:
-----------
[InstCombine] Fold selects into masked loads (#160522)
Selects can be folded into masked loads if the masks are identical.
Commit: 0acfdbd7e2b5c66d3611eee8164f8e4f7b6e42f8
https://github.com/llvm/llvm-project/commit/0acfdbd7e2b5c66d3611eee8164f8e4f7b6e42f8
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2025-09-24 (Wed, 24 Sep 2025)
Changed paths:
M libcxx/utils/requirements.txt
M libcxx/utils/visualize-historical
Log Message:
-----------
[libc++] Improve historical benchmark visualization
- Use LOWESS instead of OLS trendlines, it tends to fit data better
- Plot using the commit date instead of the arbitrary revlist order
- Fix progress bar reporting when we prefetch Git commit data
- Allow adding a subtitle to charts, which is helpful to stay organized
- Ensure that series are always presented in the same (alphabetical) order
Commit: 38aa93d2571a482f73890e06c8cfca084cc58c9e
https://github.com/llvm/llvm-project/commit/38aa93d2571a482f73890e06c8cfca084cc58c9e
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2025-09-24 (Wed, 24 Sep 2025)
Changed paths:
M libcxx/utils/compare-benchmarks
Log Message:
-----------
[libc++] Allow naming series and adding a subtitle in compare-benchmarks
This is really helpful to stay organized when generating multiple
charts.
Commit: 106fea90117424c2def33d5ca0eb7b772af9783e
https://github.com/llvm/llvm-project/commit/106fea90117424c2def33d5ca0eb7b772af9783e
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2025-09-24 (Wed, 24 Sep 2025)
Changed paths:
M libcxx/test/benchmarks/spec.gen.py
Log Message:
-----------
[libc++] Pin down the C version to use for SPEC
Also, disable a warning which allows additional benchmarks to build
successfully.
Commit: 1b944e24d2aed0c8a0dbabedf8c51e7291f151a1
https://github.com/llvm/llvm-project/commit/1b944e24d2aed0c8a0dbabedf8c51e7291f151a1
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2025-09-24 (Wed, 24 Sep 2025)
Changed paths:
M flang/lib/Semantics/check-cuda.cpp
M flang/test/Semantics/cuf23.cuf
Log Message:
-----------
[flang][cuda] Allow print of managed and unified variables (#160571)
Commit: 51fa1196179ff96cd6b392549a37d00cc83cf580
https://github.com/llvm/llvm-project/commit/51fa1196179ff96cd6b392549a37d00cc83cf580
Author: Mark Danial <mark.danial at ibm.com>
Date: 2025-09-24 (Wed, 24 Sep 2025)
Changed paths:
M llvm/test/CodeGen/AMDGPU/lds-run-twice-absolute-md.ll
M llvm/test/CodeGen/AMDGPU/lds-run-twice.ll
M llvm/test/tools/llvm-ar/option-X.test
M llvm/test/tools/llvm-nm/option-X-AIX.test
M llvm/test/tools/llvm-ranlib/aix-X-option.test
M llvm/test/tools/llvm-strings/eof.test
M llvm/test/tools/llvm-strings/stdin.test
M llvm/test/tools/llvm-strings/whitespace.test
M llvm/test/tools/yaml2obj/empty-or-invalid-doc.yaml
M llvm/utils/lit/tests/shtest-readfile-external.py
M llvm/utils/lit/tests/shtest-ulimit-nondarwin.py
Log Message:
-----------
[AIX] Fix AIX failures due to switch to internal shell (#160566)
This PR fixes a bunch of failures on AIX that occurred due to the switch
to lit internal shell by default. The failures deal with the following:
1. unset not being supported by lit internal shell
2. A bug with echo -n on AIX when there are multiple pipes in the RUN
command
3. ulimit test case not supported on AIX due to the -v option
4. platform specific error message for missing file
Commit: ce170d28ad4e90111abe0e4c16d4f7e716ae2256
https://github.com/llvm/llvm-project/commit/ce170d28ad4e90111abe0e4c16d4f7e716ae2256
Author: Amr Hesham <amr96 at programmer.net>
Date: 2025-09-24 (Wed, 24 Sep 2025)
Changed paths:
M clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
M clang/test/CIR/CodeGen/complex.cpp
Log Message:
-----------
[CIR] Implement Unary real & imag on scalar expr (#159916)
This change implements Unary real & imag on scalar expr
Issue: https://github.com/llvm/llvm-project/issues/141365
Commit: 3c53adec68b3e7be3d69bc4e24168e530097fce0
https://github.com/llvm/llvm-project/commit/3c53adec68b3e7be3d69bc4e24168e530097fce0
Author: lntue <lntue at google.com>
Date: 2025-09-24 (Wed, 24 Sep 2025)
Changed paths:
M libc/benchmarks/LibcMemoryBenchmark.cpp
M libc/benchmarks/LibcMemoryBenchmarkMain.cpp
M libc/benchmarks/LibcMemoryBenchmarkTest.cpp
M libc/src/__support/CPP/tuple.h
M libc/test/UnitTest/MemoryMatcher.cpp
M libc/test/integration/src/pthread/pthread_create_test.cpp
M libc/test/src/math/smoke/RoundToIntegerTest.h
M libc/test/src/string/memory_utils/utils_test.cpp
Log Message:
-----------
[libc][NFC] Remove usage of the C keyword `I`. (#160567)
Commit: 89eeecd15c28d399dc533ba24f02cb317b81e3e4
https://github.com/llvm/llvm-project/commit/89eeecd15c28d399dc533ba24f02cb317b81e3e4
Author: Lei Huang <lei at ca.ibm.com>
Date: 2025-09-24 (Wed, 24 Sep 2025)
Changed paths:
M llvm/lib/Target/PowerPC/PPCInstrFuture.td
Log Message:
-----------
[PowerPC][NFC] Simplify vector unpacked instr classes (#160564)
Apply suggestion as per review comment in
https://github.com/llvm/llvm-project/pull/151004/files#r2240893226
Commit: f95aacaf0465925e508d019b47efcb635428d049
https://github.com/llvm/llvm-project/commit/f95aacaf0465925e508d019b47efcb635428d049
Author: Samira Bakon <bazuzi at google.com>
Date: 2025-09-24 (Wed, 24 Sep 2025)
Changed paths:
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
[clang][dataflow] Copy records relative to the destination type for c… (#160557)
…opy/move assignments.
This mirrors the handling of copy/move constructors.
Also fix a couple capitalizations of variables in an adjacent and
related test.
Commit: 4b99547b74450fd54a552261e44850718bed2c9d
https://github.com/llvm/llvm-project/commit/4b99547b74450fd54a552261e44850718bed2c9d
Author: Luke Hutton <luke.hutton at arm.com>
Date: 2025-09-24 (Wed, 24 Sep 2025)
Changed paths:
M mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp
Log Message:
-----------
[mlir][tosa] Use `LogicalResult` in validation functions (#160052)
This commit replaces functions that previously returned `bool` to
indicate validation success or failure with `LogicalResult`.
Commit: 14a126b37a2a0898ad09aa00da7b276d20cb2a86
https://github.com/llvm/llvm-project/commit/14a126b37a2a0898ad09aa00da7b276d20cb2a86
Author: Luke Hutton <luke.hutton at arm.com>
Date: 2025-09-24 (Wed, 24 Sep 2025)
Changed paths:
M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
M mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
M mlir/test/Dialect/Tosa/canonicalize.mlir
Log Message:
-----------
[mlir][tosa] Remove `log(exp(x))` and `exp(log(x))` folders (#156434)
Both of the folders would reduce to `x`. These folders were vulnerable
to overflow / underflow issues, resulting in a difference in numerical
behaviour when running or not running the folders. For now they have
been removed. We can consider restoring these as part of an optional and
separate "fast-math" style of transformation in the future.
Commit: 3cc56dd82a78964ab0b5edc9738abf90f259e36a
https://github.com/llvm/llvm-project/commit/3cc56dd82a78964ab0b5edc9738abf90f259e36a
Author: Marcel Jacobse <mjacobse at uni-bremen.de>
Date: 2025-09-24 (Wed, 24 Sep 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaChecking.cpp
M clang/test/Sema/warn-double-promotion.c
A clang/test/Sema/warn-double-promotion.cpp
Log Message:
-----------
[Clang] [Sema] Fix -Wdouble-promotion in C++ list-initialization (#159992)
Resolves https://github.com/llvm/llvm-project/issues/33409.
The information `IsListInit` is already passed to function
`CheckImplicitConversion` for another use-case which makes adding a
condition for the double-promotion case simple.
Also adds tests, both for the changed list-initialization case as well
as for normal explicit casts which already would have passed before this
PR. These negative tests are added directly next to the positive tests
in `warn-double-promotion.c` or for the C++-specific cases in a new .cpp
version of that file.
Commit: 792a7bbd99ba7fafabc8c03cf9f3c29e729858c0
https://github.com/llvm/llvm-project/commit/792a7bbd99ba7fafabc8c03cf9f3c29e729858c0
Author: Mircea Trofin <mtrofin at google.com>
Date: 2025-09-24 (Wed, 24 Sep 2025)
Changed paths:
M llvm/lib/Transforms/Utils/ProfileVerify.cpp
A llvm/test/Transforms/PGOProfile/profcheck-synthetic.ll
Log Message:
-----------
[profcheck] Option to inject distinct small weights (#159644)
There are cases where the easiest way to regression-test a profile change is to add `!prof` metadata, with small numbers as to simplify manual verification. To ensure coverage, this (the inserting) may become tedious. This patch makes `prof-inject` do that for us, if so opted in.
The list of weights used is a bunch of primes, used as a circular buffer.
Issue #147390
Commit: 59b4074037827290f97eeac512c3f8332cf23457
https://github.com/llvm/llvm-project/commit/59b4074037827290f97eeac512c3f8332cf23457
Author: Rahman Lavaee <rahmanl at google.com>
Date: 2025-09-24 (Wed, 24 Sep 2025)
Changed paths:
M llvm/include/llvm/CodeGen/BasicBlockSectionsProfileReader.h
M llvm/lib/CodeGen/BasicBlockSectionsProfileReader.cpp
A llvm/test/CodeGen/X86/basic-block-sections-cfg.ll
M llvm/test/CodeGen/X86/basic-block-sections-clusters-error.ll
Log Message:
-----------
[Propeller] Read the CFG profile from the propeller directive. (#160422)
The CFG allows us to do layout optimization in the compiler.
Furthermore, it allows further branch optimization.
Commit: 6e904e89cb97fa113c95f746942e04226a7d2207
https://github.com/llvm/llvm-project/commit/6e904e89cb97fa113c95f746942e04226a7d2207
Author: Martin Storsjö <martin at martin.st>
Date: 2025-09-24 (Wed, 24 Sep 2025)
Changed paths:
M llvm/utils/lit/tests/shtest-readfile.py
Log Message:
-----------
[lit] [test] Fix the shtest-readfile test on Python 3.13 on Windows (#160503)
Python 3.13 considers "/file/does/not/exist" to not be an absolute path
on Windows, so the test runner does os.path.join(cwd, filePath), which
can end up with an output path such as "D:/file/does/not/exist".
Accept a potential prefix before the missing path here.
This fixes running the lit tests on Windows with Python 3.13.
Commit: a67cbb3b921b4bf941f3f188f2193a2ab9b33830
https://github.com/llvm/llvm-project/commit/a67cbb3b921b4bf941f3f188f2193a2ab9b33830
Author: Steven Wu <stevenwu at apple.com>
Date: 2025-09-24 (Wed, 24 Sep 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/Builtins.td
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
M clang/lib/CodeGen/CGHLSLBuiltins.cpp
M clang/lib/CodeGen/CGHLSLRuntime.h
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
M clang/lib/Sema/SemaChecking.cpp
M clang/test/CIR/CodeGen/complex.cpp
A clang/test/CodeGenHLSL/resources/NonUniformResourceIndex.hlsl
M clang/test/Sema/warn-double-promotion.c
A clang/test/Sema/warn-double-promotion.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
M flang/lib/Semantics/check-cuda.cpp
M flang/test/Semantics/cuf23.cuf
M libc/benchmarks/LibcMemoryBenchmark.cpp
M libc/benchmarks/LibcMemoryBenchmarkMain.cpp
M libc/benchmarks/LibcMemoryBenchmarkTest.cpp
M libc/src/__support/CPP/tuple.h
M libc/test/UnitTest/MemoryMatcher.cpp
M libc/test/integration/src/pthread/pthread_create_test.cpp
M libc/test/src/math/smoke/RoundToIntegerTest.h
M libc/test/src/string/memory_utils/utils_test.cpp
M libcxx/test/benchmarks/spec.gen.py
M libcxx/utils/compare-benchmarks
M libcxx/utils/requirements.txt
M libcxx/utils/visualize-historical
M lld/ELF/SyntheticSections.cpp
M lld/ELF/SyntheticSections.h
M llvm/docs/AMDGPUUsage.rst
M llvm/include/llvm/CodeGen/BasicBlockSectionsProfileReader.h
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/include/llvm/Support/FileSystem.h
M llvm/lib/CodeGen/BasicBlockSectionsProfileReader.cpp
M llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
M llvm/lib/Target/PowerPC/PPCInstrFuture.td
M llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/lib/Transforms/Utils/ProfileVerify.cpp
M llvm/test/CodeGen/AMDGPU/lds-run-twice-absolute-md.ll
M llvm/test/CodeGen/AMDGPU/lds-run-twice.ll
R llvm/test/CodeGen/WebAssembly/fake-use.ll
A llvm/test/CodeGen/X86/basic-block-sections-cfg.ll
M llvm/test/CodeGen/X86/basic-block-sections-clusters-error.ll
M llvm/test/Transforms/InstCombine/select-masked_load.ll
A llvm/test/Transforms/PGOProfile/profcheck-synthetic.ll
M llvm/test/tools/llvm-ar/option-X.test
M llvm/test/tools/llvm-nm/option-X-AIX.test
M llvm/test/tools/llvm-ranlib/aix-X-option.test
M llvm/test/tools/llvm-strings/eof.test
M llvm/test/tools/llvm-strings/stdin.test
M llvm/test/tools/llvm-strings/whitespace.test
M llvm/test/tools/yaml2obj/empty-or-invalid-doc.yaml
M llvm/unittests/Support/MemoryBufferTest.cpp
M llvm/utils/lit/tests/shtest-readfile-external.py
M llvm/utils/lit/tests/shtest-readfile.py
M llvm/utils/lit/tests/shtest-ulimit-nondarwin.py
M mlir/include/mlir/Dialect/Ptr/IR/PtrEnums.td
M mlir/include/mlir/Dialect/Ptr/IR/PtrOps.td
M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
M mlir/lib/Dialect/Ptr/IR/PtrDialect.cpp
M mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
M mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp
M mlir/lib/Target/LLVMIR/Dialect/Ptr/PtrToLLVMIRTranslation.cpp
M mlir/test/Dialect/Ptr/invalid.mlir
M mlir/test/Dialect/Ptr/ops.mlir
M mlir/test/Dialect/Tosa/canonicalize.mlir
M mlir/test/Target/LLVMIR/ptr.mlir
Log Message:
-----------
fix some comments
Created using spr 1.3.7
Compare: https://github.com/llvm/llvm-project/compare/9690e48487c3...a67cbb3b921b
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