[all-commits] [llvm/llvm-project] e2b7cb: Fix outdated docs with vector.reduce instead of ve...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Mon Feb 2 10:46:57 PST 2026
Branch: refs/heads/users/arsenm/valuetracking/move-powi-handling-KnownFPClass
Home: https://github.com/llvm/llvm-project
Commit: e2b7cbf71f9ccdf035c7428e5dd666f4f6ee8a6b
https://github.com/llvm/llvm-project/commit/e2b7cbf71f9ccdf035c7428e5dd666f4f6ee8a6b
Author: Noah Prisament <nprisament at gmail.com>
Date: 2026-02-02 (Mon, 02 Feb 2026)
Changed paths:
M mlir/include/mlir/Dialect/Vector/Transforms/LoweringPatterns.h
M mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp
M mlir/lib/Dialect/Vector/Transforms/LowerVectorContract.cpp
Log Message:
-----------
Fix outdated docs with vector.reduce instead of vector.reduction (#178111)
There is no existing `vector.reduce` op in the vector dialect, but
multiple doc strings reference it. This change updates those instances
to the correct `vector.reduction` op.
Commit: 23821a4bd511f64178f4f82f0865e0394d2357eb
https://github.com/llvm/llvm-project/commit/23821a4bd511f64178f4f82f0865e0394d2357eb
Author: Zhewen Yu <zhewenyu at amd.com>
Date: 2026-02-02 (Mon, 02 Feb 2026)
Changed paths:
M mlir/include/mlir/Dialect/Utils/ReshapeOpsUtils.h
M mlir/test/Dialect/Tensor/canonicalize.mlir
Log Message:
-----------
[mlir][Utils] Add overflow<nsw> flags to dimension calculations in ReshapeOpsUtils (#178766)
This follows the convention that `tensor/memref` indexing calculations
generally should never signed overflow:
-
[ArithIndexingBuilder](https://github.com/llvm/llvm-project/blob/1ae93c634a16adc0eff8d5693496425cc4725033/mlir/include/mlir/Dialect/Arith/Utils/Utils.h#L123-L125)
- [Affine
lowering](https://github.com/llvm/llvm-project/blob/1ae93c634a16adc0eff8d5693496425cc4725033/mlir/lib/Dialect/Affine/Utils/Utils.cpp#L68-L70)
It also enables CSE to properly merge duplicate dimension computations.
Signed-off-by: Yu-Zhewen <zhewenyu at amd.com>
Commit: 91c4decc01522c0130d47f8270330194259f4207
https://github.com/llvm/llvm-project/commit/91c4decc01522c0130d47f8270330194259f4207
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2026-02-02 (Mon, 02 Feb 2026)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-exp.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fadd.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fdiv.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fma.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fmul.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fpext.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fptrunc-round.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fptrunc.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-log.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-maximum.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-minimum.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-rounding-intrinsics.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-sqrt.ll
Log Message:
-----------
InstCombine: Fix SimplifyDemandedFPClass bug with known-snan sources (#179244)
If the result can be a qnan, the source can be a signaling nan.
Commit: 2a384a26d583af7d36c9076b21dbae1b1da8c239
https://github.com/llvm/llvm-project/commit/2a384a26d583af7d36c9076b21dbae1b1da8c239
Author: Balázs Benics <benicsbalazs at gmail.com>
Date: 2026-02-02 (Mon, 02 Feb 2026)
Changed paths:
M clang/lib/StaticAnalyzer/Core/RegionStore.cpp
A clang/test/Analysis/store-union-aggregates.c
Log Message:
-----------
[analyzer] Avoid overwriting the default binding of union aggregates in incomplete array initializers (#178694)
Preserve existing default bindings in setImplicitDefaultValue to avoid
incorrectly overwriting the probably more accurate default binding when
initializing array elements with union members.
You can read the comments in the store-union-aggregates.c, but here's
what really matters:
We eventually bind the union field, using the "bindAggregate", which
just translates to a default binding at offset 0, binding
"compoundVal{&Element{global_buf}}".
So we will have a default binding at offset 0, by the time we realize
that the second element of the array "buffers" didn't have an explicit
initializer spelled, thus we want to default bind zero in
"setImplicitDefaultValue".
This effectively replaces our original default binding with an incorrect
one; so the next time we access "buffers[0].buffer_ptr" we end up
loading a NULL ptr; and show a null deref FP.
I didn't dive too deep into why "bindAggregate" handles binding unions,
but changing that seems risky and I also don't immediately see how a
proper fix would look; because unlike with structs, we can't just
dispatch the bind operations by each field, because in union these
members overlap.
Unions have a long list of issues anyway, and I'm not too inclined to
fix them right now. This workaround looks like the sweet spot to me.
Assisted-by: claude
rdar://167136849
Commit: d757adf5ec7cc32075b606720eabc3f5fe755f1f
https://github.com/llvm/llvm-project/commit/d757adf5ec7cc32075b606720eabc3f5fe755f1f
Author: Rahul Joshi <rjoshi at nvidia.com>
Date: 2026-02-02 (Mon, 02 Feb 2026)
Changed paths:
M llvm/utils/TableGen/RegisterBankEmitter.cpp
Log Message:
-----------
[NFC][TableGen] Adopt `IfDefEmitter` in `RegBankEmitter` (#179014)
- Adopt IfDefEmitter in RegBankEmitter.
- Remove `const` for `StringRef` args.
Commit: 63c1615e7edc3b83a1b6167aa77dec9cc0f6c101
https://github.com/llvm/llvm-project/commit/63c1615e7edc3b83a1b6167aa77dec9cc0f6c101
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2026-02-02 (Mon, 02 Feb 2026)
Changed paths:
A llvm/test/Transforms/SLPVectorizer/X86/shl-to-add-transformation.ll
Log Message:
-----------
[SLP][NFC]Add a case for missed shl-to-add transformation, NFC
Commit: 37b56e7fce31f71bcb8cb0bf816a1a58099ec2b2
https://github.com/llvm/llvm-project/commit/37b56e7fce31f71bcb8cb0bf816a1a58099ec2b2
Author: Aiden Grossman <aidengrossman at google.com>
Date: 2026-02-02 (Mon, 02 Feb 2026)
Changed paths:
M .github/workflows/prune-branches.yml
M .github/workflows/prune-unused-branches.py
Log Message:
-----------
[Github] Make prune-unused-branches workflow prune branches (#178769)
This adds in the final piece to the workflow to actually delete unused
user branches. For now this is limited to my branches so we can validate
this a little more in the production environment before starting to
delete all branches.
Commit: 5fbf4117e3ccacfd57805650a08739e88091b608
https://github.com/llvm/llvm-project/commit/5fbf4117e3ccacfd57805650a08739e88091b608
Author: Balázs Benics <benicsbalazs at gmail.com>
Date: 2026-02-02 (Mon, 02 Feb 2026)
Changed paths:
M clang/lib/StaticAnalyzer/Core/RegionStore.cpp
M clang/test/Analysis/uninit-vals.cpp
Log Message:
-----------
[analyzer] Fix crash when copying uninitialized data in function named "swap" (#178923)
So the RegionStore has some assumptions, namely that the
core.unitialized.Assign checker is enabled and detects copying Undefined
(read of uninitialized data) before the Store is instructed to model
this.
As it turns out, there is a little hack in the
UndefinedAssignmentChecker:
```c++
void UndefinedAssignmentChecker::checkBind(SVal location, SVal val,
const Stmt *StoreE, bool AtDeclInit,
CheckerContext &C) const {
if (!val.isUndef())
return;
// Do not report assignments of uninitialized values inside swap functions.
// This should allow to swap partially uninitialized structs
if (const FunctionDecl *EnclosingFunctionDecl =
dyn_cast<FunctionDecl>(C.getStackFrame()->getDecl()))
if (C.getCalleeName(EnclosingFunctionDecl) == "swap")
return;
// ...
```
This meant that no Sink node was inserted by the checker, thus the Store
would just go and try to fulfill the bind operation.
However, the Store also assumed that it's not going to see Undefined
vals, so that case wasn't handled, but simply cast the value to a
nonloc::CompoundVal.
The checker should have created the Sink node regardless if it wants to
emit a report or not.
In addition to this, I'm also hardedning the Store to also be able to
handle UndefinedVals a bit better.
The crash bisects to #118096, but that's only surfaced this issue.
Fixes #178797
Commit: a1b050402d9f6fc15deab5ccac0b82a61210503c
https://github.com/llvm/llvm-project/commit/a1b050402d9f6fc15deab5ccac0b82a61210503c
Author: Ebuka Ezike <yerimyah1 at gmail.com>
Date: 2026-02-02 (Mon, 02 Feb 2026)
Changed paths:
M lldb/tools/lldb-dap/Handler/NextRequestHandler.cpp
M lldb/tools/lldb-dap/Handler/StackTraceRequestHandler.cpp
M lldb/tools/lldb-dap/Handler/StepInRequestHandler.cpp
M lldb/tools/lldb-dap/Handler/StepInTargetsRequestHandler.cpp
M lldb/tools/lldb-dap/Handler/StepOutRequestHandler.cpp
Log Message:
-----------
[lldb-dap] Check the process state before thread or frame validation. (#179202)
We are sending an invalid thread error on a valid thread because the
process is not in a stopped state.
Send a `notStoppedError` so the client can retry at a later state after
we have sent a stopped event.
This can happen when debugging a large binary and the user spams the
step over button.
Commit: 85c96ff3a08cb69d59414ea8c278491399748f8b
https://github.com/llvm/llvm-project/commit/85c96ff3a08cb69d59414ea8c278491399748f8b
Author: Alex Langford <alangford at apple.com>
Date: 2026-02-02 (Mon, 02 Feb 2026)
Changed paths:
M lldb/include/lldb/Core/Module.h
M lldb/source/Core/Module.cpp
Log Message:
-----------
[lldb][NFC] Remove unused method Module::SetUUID (#178803)
Commit: 32ccf4eed040d3e4bf910ce0ebb4de90bda46c4f
https://github.com/llvm/llvm-project/commit/32ccf4eed040d3e4bf910ce0ebb4de90bda46c4f
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2026-02-02 (Mon, 02 Feb 2026)
Changed paths:
M llvm/include/llvm/Support/KnownFPClass.h
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/Support/KnownFPClass.cpp
Log Message:
-----------
ValueTracking: Move ldexp KnownFPClass handling to support (#179235)
Will enable code sharing with SImplifyDemandedFPClass, SelectionDAG
and GlobalISel.
Commit: ca63b01b6f8b34499faa2c13a0dfff45d538f61b
https://github.com/llvm/llvm-project/commit/ca63b01b6f8b34499faa2c13a0dfff45d538f61b
Author: Samarth Narang <70980689+snarang181 at users.noreply.github.com>
Date: 2026-02-02 (Mon, 02 Feb 2026)
Changed paths:
M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVTypes.h
Log Message:
-----------
[NFC][mlir][SPIRV] Fix mix up in comments (#179285)
Commit: fba111de5ea79d4e8459c53be5e4998d7759ae29
https://github.com/llvm/llvm-project/commit/fba111de5ea79d4e8459c53be5e4998d7759ae29
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2026-02-02 (Mon, 02 Feb 2026)
Changed paths:
M mlir/lib/Dialect/GPU/Transforms/PromoteShuffleToAMDGPU.cpp
Log Message:
-----------
[MLIR] Apply clang-tidy fixes for bugprone-argument-comment in PromoteShuffleToAMDGPU.cpp (NFC)
Commit: 182835658f9825fe175821df29c62ae3d113233c
https://github.com/llvm/llvm-project/commit/182835658f9825fe175821df29c62ae3d113233c
Author: Aiden Grossman <aidengrossman at google.com>
Date: 2026-02-02 (Mon, 02 Feb 2026)
Changed paths:
M .ci/premerge_advisor_explain.py
M .github/workflows/commit-create-issue.py
M llvm/utils/git/code-format-helper.py
M llvm/utils/git/code-lint-helper.py
M llvm/utils/git/github-automation.py
M llvm/utils/release/github-upload-release.py
Log Message:
-----------
[Github] Fully remove use of login_or_token (#179258)
PyGithub deprecated this a while back. An earlier patch attempted to fix
all the deprecations, but it looks like my grep expression missed a
bunch of cases. This patch should catch the remaining ones (minus libc++
which have been split for review by libc++ maintainers).
Commit: d19e78d0ed960a4d431d784e5c165d0ad532b4db
https://github.com/llvm/llvm-project/commit/d19e78d0ed960a4d431d784e5c165d0ad532b4db
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2026-02-02 (Mon, 02 Feb 2026)
Changed paths:
M .ci/premerge_advisor_explain.py
M .github/workflows/commit-create-issue.py
M .github/workflows/prune-branches.yml
M .github/workflows/prune-unused-branches.py
M clang/lib/StaticAnalyzer/Core/RegionStore.cpp
A clang/test/Analysis/store-union-aggregates.c
M clang/test/Analysis/uninit-vals.cpp
M lldb/include/lldb/Core/Module.h
M lldb/source/Core/Module.cpp
M lldb/tools/lldb-dap/Handler/NextRequestHandler.cpp
M lldb/tools/lldb-dap/Handler/StackTraceRequestHandler.cpp
M lldb/tools/lldb-dap/Handler/StepInRequestHandler.cpp
M lldb/tools/lldb-dap/Handler/StepInTargetsRequestHandler.cpp
M lldb/tools/lldb-dap/Handler/StepOutRequestHandler.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-exp.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fadd.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fdiv.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fma.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fmul.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fpext.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fptrunc-round.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fptrunc.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-log.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-maximum.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-minimum.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-rounding-intrinsics.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-sqrt.ll
A llvm/test/Transforms/SLPVectorizer/X86/shl-to-add-transformation.ll
M llvm/utils/TableGen/RegisterBankEmitter.cpp
M llvm/utils/git/code-format-helper.py
M llvm/utils/git/code-lint-helper.py
M llvm/utils/git/github-automation.py
M llvm/utils/release/github-upload-release.py
M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVTypes.h
M mlir/include/mlir/Dialect/Utils/ReshapeOpsUtils.h
M mlir/include/mlir/Dialect/Vector/Transforms/LoweringPatterns.h
M mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp
M mlir/lib/Dialect/GPU/Transforms/PromoteShuffleToAMDGPU.cpp
M mlir/lib/Dialect/Vector/Transforms/LowerVectorContract.cpp
M mlir/test/Dialect/Tensor/canonicalize.mlir
Log Message:
-----------
Merge branch 'main' into users/arsenm/valuetracking/move-powi-handling-KnownFPClass
Compare: https://github.com/llvm/llvm-project/compare/8d188d6c8026...d19e78d0ed96
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