LLVM/project 5c19f77compiler-rt/lib/scudo/standalone/tests combined_test.cpp

[scudo] Use setenv instead of putenv in ScudoCombinedTest.ZeroOnDeallocEnabledAndFlag (#173423)

This solves a stack-use-after-scope reported by AddressSanitizer within
the unsetenv call at end of the test, due to the "Options" buffer, that
we allocate on the stack, having already gone out of scope.

Unlike putenv, which stores the pointer to the passed string directly in
the environment, setenv creates an internal copy.
DeltaFile
+33-29compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
+33-291 files

LLVM/project f96f2b4llvm/lib/CodeGen/SelectionDAG SelectionDAG.cpp, llvm/test/CodeGen/AMDGPU chain-node-divergence-update-crash.ll

[SelectionDAG] Skip chain node when updating divergence

Fixes #173785.
DeltaFile
+32-0llvm/test/CodeGen/AMDGPU/chain-node-divergence-update-crash.ll
+2-1llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+34-12 files

LLVM/project 65f9374llvm/lib/CodeGen/SelectionDAG SelectionDAGISel.cpp

[SelectionDAG] Use emplace_back. NFC (#173824)

This avoids using push_back+std::pair/make_pair.
DeltaFile
+9-13llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+9-131 files

LLVM/project 0980bbcllvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

InstCombine: Implement SimplifyDemandedFPClass for sqrt
DeltaFile
+31-0llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+10-19llvm/lib/Analysis/ValueTracking.cpp
+24-0llvm/lib/Support/KnownFPClass.cpp
+7-11llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-sqrt.ll
+4-0llvm/include/llvm/Support/KnownFPClass.h
+76-305 files

LLVM/project 51c1ea4llvm/include/llvm/ADT FloatingPointMode.h, llvm/include/llvm/Support KnownFPClass.h

InstCombine: Handle log/log2/log10 in SimplifyDemandedFPClass
DeltaFile
+37-0llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+12-23llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-log.ll
+3-15llvm/lib/Analysis/ValueTracking.cpp
+17-0llvm/lib/Support/KnownFPClass.cpp
+5-0llvm/include/llvm/ADT/FloatingPointMode.h
+4-0llvm/include/llvm/Support/KnownFPClass.h
+78-386 files

LLVM/project 61a27d9llvm/test/Transforms/InstCombine simplify-demanded-fpclass-log.ll

InstCombine: Add baseline test for SimplifyDemandedFPClass log handling
DeltaFile
+269-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-log.ll
+269-01 files

LLVM/project 68a4828llvm/test/Transforms/InstCombine simplify-demanded-fpclass-sqrt.ll

InstCombine: Add baseline tests for sqrt SimplifyDemandedFPClass
DeltaFile
+206-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-sqrt.ll
+206-01 files

LLVM/project 3d8c8a4llvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

InstCombine: Handle fmul in SimplifyDemandedFPClass
DeltaFile
+122-1llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+46-39llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fmul.ll
+18-63llvm/lib/Analysis/ValueTracking.cpp
+59-0llvm/lib/Support/KnownFPClass.cpp
+29-0llvm/include/llvm/Support/KnownFPClass.h
+1-2llvm/test/Transforms/InstCombine/simplify-demanded-fpclass.ll
+275-1056 files

LLVM/project fe65a5bllvm/test/Transforms/InstCombine simplify-demanded-fpclass-fmul.ll

InstCombine: Add baseline tests for fmul SimplifyDemandedFPClass handling
DeltaFile
+792-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fmul.ll
+792-01 files

LLVM/project ed539aflibcxx/include/__ranges owning_view.h ref_view.h, libcxx/test/libcxx/ranges/range.adaptors/range.all nodiscard.verify.cpp all.nodiscard.verify.cpp

[libc++][ranges] Applied `[[nodiscard]]` to `owning_view`, `ref_view` (#173708)

`[[nodiscard]]` should be applied to functions where discarding the
return value is most likely a correctness issue.

- https://libcxx.llvm.org/CodingGuidelines.html
- https://wg21.link/range.all

Towards #172124
DeltaFile
+83-0libcxx/test/libcxx/ranges/range.adaptors/range.all/nodiscard.verify.cpp
+14-14libcxx/include/__ranges/owning_view.h
+0-21libcxx/test/libcxx/ranges/range.adaptors/range.all/all.nodiscard.verify.cpp
+6-6libcxx/include/__ranges/ref_view.h
+103-414 files

LLVM/project 4c03607libcxx/include/__ranges single_view.h, libcxx/test/libcxx/ranges/range.factories/range.single.view nodiscard.verify.cpp

[libc++][ranges]  Applied `[[nodiscard]]` to `single_view` (#173709)

`[[nodiscard]]` should be applied to functions where discarding the
return value is most likely a correctness issue.

- https://libcxx.llvm.org/CodingGuidelines.html
- https://wg21.link/range.single

Towards #172124
DeltaFile
+48-0libcxx/test/libcxx/ranges/range.factories/range.single.view/nodiscard.verify.cpp
+8-8libcxx/include/__ranges/single_view.h
+56-82 files

LLVM/project 1cf4882libcxx/include/__ranges repeat_view.h, libcxx/test/libcxx/ranges/range.factories/range.repeat.view nodiscard.verify.cpp

[libc++][ranges] Applied `[[nodiscard]]` to `repeat_view` (#173712)

`[[nodiscard]]` should be applied to functions where discarding the
return value is most likely a correctness issue.

- https://libcxx.llvm.org/CodingGuidelines.html
- https://wg21.link/range.repeat

Towards #172124
DeltaFile
+58-0libcxx/test/libcxx/ranges/range.factories/range.repeat.view/nodiscard.verify.cpp
+17-10libcxx/include/__ranges/repeat_view.h
+75-102 files

LLVM/project 0347c30libcxx/include/__ranges take_view.h, libcxx/test/libcxx/ranges/range.adaptors/range.take nodiscard.verify.cpp

[libc++][ranges] Applied `[[nodiscard]]` to `take_view` (#173738)

`[[nodiscard]]` should be applied to functions where discarding the
return value is most likely a correctness issue.

- https://libcxx.llvm.org/CodingGuidelines.html
- https://wg21.link/range.take

Towards #172124
DeltaFile
+143-0libcxx/test/libcxx/ranges/range.adaptors/range.take/nodiscard.verify.cpp
+9-9libcxx/include/__ranges/take_view.h
+152-92 files

LLVM/project 9b65f28mlir/docs Canonicalization.md

address comments
DeltaFile
+12-7mlir/docs/Canonicalization.md
+12-71 files

LLVM/project 144dc74llvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp, llvm/test/Transforms/InstCombine fsh.ll

[InstCombine] Drop range metadata when simplifying `fshl` with demanded bits (#173864)

InstCombine may rewrite `llvm.fshl` operands when simplifying based on
demanded bits, which can invalidate previously attached return value
constraints. Except from range attribute, `!range` metadata could also
be not dropped after operand rewriting, leading to stale
poison-generating metadata and potential miscompilations.

This patch drops poison-generating annotations when `fshl` operands are
simplified, ensuring that `!range` metadata is cleared consistently with
return attributes.

Alive2 proof: https://alive2.llvm.org/ce/z/EVUvY6

Fixes #173793
DeltaFile
+15-0llvm/test/Transforms/InstCombine/fsh.ll
+2-2llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+17-22 files

LLVM/project 96f40afllvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

InstCombine: Handle fmul in SimplifyDemandedFPClass
DeltaFile
+122-1llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+46-39llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fmul.ll
+5-59llvm/lib/Analysis/ValueTracking.cpp
+58-0llvm/lib/Support/KnownFPClass.cpp
+29-0llvm/include/llvm/Support/KnownFPClass.h
+260-995 files

LLVM/project 58a85fcllvm/test/Transforms/InstCombine simplify-demanded-fpclass-fmul.ll

InstCombine: Add baseline tests for fmul SimplifyDemandedFPClass handling
DeltaFile
+792-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fmul.ll
+792-01 files

LLVM/project e4722c6llvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

InstCombine: Handle exp/exp2/exp10 in SimplifyDemandedFPClass (#173432)

I'm working on optimizing out the tail sequences in the
implementations of the 4 different flavors of pow. These
include chains of selects on the various edge cases.

Related to #64870
DeltaFile
+91-0llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+34-47llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-exp.ll
+5-24llvm/lib/Analysis/ValueTracking.cpp
+21-0llvm/lib/Support/KnownFPClass.cpp
+3-0llvm/include/llvm/Support/KnownFPClass.h
+154-715 files

LLVM/project 75a0347llvm/include/llvm/ADT iterator.h

[ADT] Fix MSVC build after iterator C++20 fix (#173495)

Fixes an MSCV build issue after the C++20 fix in
https://github.com/llvm/llvm-project/pull/169772. See the [failure
log](https://productionresultssa1.blob.core.windows.net/actions-results/604d315e-edbd-401f-9a85-9ec5fcbc4996/workflow-job-run-99b94847-47a4-5b95-9933-44db3e32a2a7/logs/job/job-logs.txt?rsct=text%2Fplain&se=2025-12-24T11%3A16%3A19Z&sig=3leOtxGMlJmAMzOCtakzD8%2FOQCXF2HfflooR%2Bm%2Bt7Ng%3D&ske=2025-12-24T21%3A53%3A06Z&skoid=ca7593d4-ee42-46cd-af88-8b886a2f84eb&sks=b&skt=2025-12-24T09%3A53%3A06Z&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skv=2025-11-05&sp=r&spr=https&sr=b&st=2025-12-24T11%3A06%3A14Z&sv=2025-11-05)
in the IREE downstream project.

Making IsRandomAccess, IsBidirectional public ensures that they are
always accessible, avoiding the access-related SFINAE ambiguity that
causes different compilers to handle this differently.

The build is passing after this change:
https://github.com/iree-org/iree/actions/runs/20485132054/job/58865989220?pr=22979
DeltaFile
+4-1llvm/include/llvm/ADT/iterator.h
+4-11 files

LLVM/project 6e161f1llvm/lib/Support KnownFPClass.cpp

Use propagateNaN
DeltaFile
+1-4llvm/lib/Support/KnownFPClass.cpp
+1-41 files

LLVM/project 9e8a478llvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp

Use fcPositive
DeltaFile
+1-2llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+1-21 files

LLVM/project fd553b6llvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

Make KnownFPClass::exp not side-effecting
DeltaFile
+9-7llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+5-9llvm/lib/Analysis/ValueTracking.cpp
+5-5llvm/lib/Support/KnownFPClass.cpp
+1-1llvm/include/llvm/Support/KnownFPClass.h
+20-224 files

LLVM/project 0a74f72llvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

InstCombine: Handle exp/exp2/exp10 in SimplifyDemandedFPClass

I'm working on optimizing out the tail sequences in the
implementations of the 4 different flavors of pow. These
include chains of selects on the various edge cases.

Related to #64870
DeltaFile
+90-0llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+34-47llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-exp.ll
+24-0llvm/lib/Support/KnownFPClass.cpp
+2-17llvm/lib/Analysis/ValueTracking.cpp
+3-0llvm/include/llvm/Support/KnownFPClass.h
+153-645 files

LLVM/project fc8ec0dllvm/test/Transforms/InstCombine simplify-demanded-fpclass-exp.ll

InstCombine: Add baseline tests for exp SimplifyDemandedFPClass (#173431)

DeltaFile
+502-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-exp.ll
+502-01 files

LLVM/project 3b09719llvm/lib/Analysis ValueTracking.cpp, llvm/test/Transforms/Attributor nofpclass-exp.ll

ValueTracking: Improve handling of exp intrinsic for overflow (#173430)

Teach exp handling that positive inputs cannot introduce overflow,
and negative inputs cannot introduce underflow.
DeltaFile
+24-24llvm/test/Transforms/Attributor/nofpclass-exp.ll
+12-0llvm/lib/Analysis/ValueTracking.cpp
+2-2llvm/test/Transforms/Attributor/AMDGPU/nofpclass-amdgcn-exp.ll
+38-263 files

LLVM/project 94ad86ellvm/lib/Target/AMDGPU SIRegisterInfo.td, llvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll load-constant-i1.ll

[AMDGPU] Have VCC as a first-class member of the SGPR pool.

Add VCC and tuples using VCC to SGPR register classes.

We already support VCC as an allocatable register for 32-bit SGPR
operands, so it seems most natural to support it for register
tuple operands as well.

s106/s107 are still not allowed as aliases of vcc_lo/hi in
AsmParser.

The names given to the VCC tuples match those produced by SP3,
though it feels like there is room for improvement.

https://github.com/llvm/llvm-project/issues/62651
DeltaFile
+7,883-7,902llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+729-735llvm/test/CodeGen/AMDGPU/load-constant-i1.ll
+259-255llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+245-249llvm/test/CodeGen/AMDGPU/scc-clobbered-sgpr-to-vmem-spill.ll
+55-79llvm/test/CodeGen/AMDGPU/spill-scavenge-offset.ll
+48-21llvm/lib/Target/AMDGPU/SIRegisterInfo.td
+9,219-9,2418 files not shown
+9,296-9,26514 files

LLVM/project d49c752flang/include/flang/Parser parse-tree.h, flang/lib/Parser openmp-parsers.cpp

[flang][OpenMP] Allow INIT clause on DEPOBJ, add depinfo-modifier (#173056)

Co-authored-by: Kareem Ergawy <kareem.ergawy at amd.com>
DeltaFile
+86-32flang/lib/Semantics/check-omp-structure.cpp
+25-14flang/include/flang/Parser/parse-tree.h
+24-12flang/lib/Parser/openmp-parsers.cpp
+29-0flang/test/Semantics/OpenMP/init-clause.f90
+21-2flang/test/Parser/OpenMP/depobj-construct.f90
+17-0flang/lib/Semantics/openmp-modifiers.cpp
+202-605 files not shown
+213-6011 files

LLVM/project 9e86920llvm/lib/Support KnownFPClass.cpp

Use propagateNaN
DeltaFile
+1-4llvm/lib/Support/KnownFPClass.cpp
+1-41 files

LLVM/project 16cf82cllvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp

Use fcPositive
DeltaFile
+1-2llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+1-21 files

LLVM/project cdf7dc2llvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

Make KnownFPClass::exp not side-effecting
DeltaFile
+9-7llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+5-9llvm/lib/Analysis/ValueTracking.cpp
+5-5llvm/lib/Support/KnownFPClass.cpp
+1-1llvm/include/llvm/Support/KnownFPClass.h
+20-224 files