[LifetimeSafety] Add UseFacts for function arguments and assignment RHS (#180446)
Add missing `UseFact` for binary operators and function call arguments
to track object usage.
These changes allow the analyzer to properly detect cases where an
object is used after being invalidated, particularly in container
operations like map access.
**Pointer vs Iterator Invalidation:**
Different containers provide different stability guarantees:
- **Pointer/Reference Stability**: Containers like `std::unordered_map`
guarantee that pointers and references to elements remain valid even
after insertions. This makes operations like `mp[2] = mp[1]` safe in
practice.
- **No Pointer Stability**: Containers like `std::flat_hash_map` (C++23)
do not provide pointer stability on insertion, making such operations
unsafe.
- **Iterator Stability**: Most containers (including
[4 lines not shown]
hardware: Add Windows Dev Kit 2023
The Windows dev kit 2023 has been working since 13.2 or 13.3. Add it to
the list of working arm platforms in the hardware release note template
as well as currently supported releases.
Reported by: fuz
[APINotes] Document that Methods can now be nested under Tags
`Tags` can be nested under other `Tags`, which represents nested C++
classes.
`Methods` can be nested under `Tags`, which represents C++ methods.
rdar://151033780
[AMDGPU][SIInsertWaitcnts][NFC] Clean up loop (#179572)
After merging https://github.com/llvm/llvm-project/pull/181760 this loop
no longer erases instructions while iterating. So this patch moves the
iteration increment inside the for statement.
Note: Replacing the loop with a range loop like `for (MachineInstr
&Instr : Block)` is not an NFC.
[MLIR] Graceful handling of uninitialized sparse tensor encodings with `sparse-tensor-codegen` (#181145)
This PR handles the case where users call the `--sparse-tensor-codegen`
pass without sufficiently lowering dense tensors to sparse ones (with
passes like `--lower-sparse-ops-to-foreach` and
`--lower-sparse-foreach-to-scf` among others). This results in dense
tensors having a null `SparseTensorEncodingAttr`, which was originally
assumed to be true in the SparseTensor's `ConvertOp` lowering, but is
now checked against.
This PR closes #177779.
sysutils/bastille: Update to 1.4.0.260219
Co-authored-by: Michael Osipov <michaelo at FreeBSD.org>
PR: 293305
Approved by: tschetter.victor at gmail.com (maintainer)
MFH: 2026Q1
(cherry picked from commit 7dd7d0814044139df61e9edd0d0dc1ccce38467c)
sysutils/bastille: Update to 1.4.0.260219
Co-authored-by: Michael Osipov <michaelo at FreeBSD.org>
PR: 293305
Approved by: tschetter.victor at gmail.com (maintainer)
MFH: 2026Q1
sysutils/bastille: Update to 1.4.0.260219
Co-authored-by: Michael Osipov <michaelo at FreeBSD.org>
PR: 293305
Approved by: tschetter.victor at gmail.com (maintainer)
MFH: 2026Q1