[SelectionDAG] Handle constants in SimplifyMultipleUseDemandedBits
Replace a non-zero constant with zero when none of its set bits are
demanded.
This allows users of `SimplifyMultipleUseDemandedBits` to eliminate
irrelevant constant bits while preserving the convention that a null
SDValue indicates no simplification.
[SelectionDAG][AMDGPU] Fold mul24 with an AND operand whose low bits are zero
Use SimplifyMultipleUseDemandedBits to simplify AND operands based on the
low 24 bits consumed by mul24.
Fold the multiply to zero when the simplified operand is zero.
This folds cases such as:
mul24(x & 0xff000000, y) -> 0
Improve downloading firmware by filename
dgl@ noticed that if we attempt to download by filename we didn't
first fetch the SHA256 to verify it was available to download and
always errored with grep failing to find the SHA256.
ok dgl@
leocad: Update to 26.09
Highlights
* Redesigned undo and redo support across a much broader range of editing actions, including object and model properties, grouping, duplication, visibility, keyframes, step editing, camera and light changes, painting, and mouse-driven transforms.
* Added a modern rotation gizmo with trackball and camera-plane rotation, camera-axis rotation, and clearer direction feedback.
* Improved viewport text rendering with smoother SDF glyphs, configurable halos, unified overlay colors, and sharper, more legible labels.
* Added drag-and-drop reordering to the Model List and support for merging multiple files into a project.
* Added an option to open submodels directly from the parts picker, plus improved drag-and-drop into inline models.
* Added Chinese (Simplified) localization.
Improvements
* Added Zoom and Smart Zoom gestures.
* Added drag-and-drop support for part categories.
* Improved high-DPI presentation, including Retina text and UI scaling.
* Improved macOS packaging with Universal and Apple Silicon builds.
* Refreshed dialogs and several user-interface workflows, including group editing, image export, set selection, and update handling.
[14 lines not shown]
[lldb/test] Skip test_scripted_process_addressable_bits on Windows (#224878)
This test is the first one in its directory to reach `self.build()` on
Windows, where the Makefile only knows how to build a dylib, so linking
the test binary fails on an undefined `baz` symbol.
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
[Clang][CodeGen] Fix crash in EmitParmDecl for bodyless destructors with -fextend-variable-liveness (#218830)
The fake-use coroutine check in EmitParmDecl calls
FnDecl->getBody()->getStmtClass() without guarding against a null
getBody(). This crashes when processing implicit parameters (e.g.
should_call_delete) of MSVC deleting destructors whose base destructor
is only declared, not defined.
[RISCV][XQCI] Add a test that shows getInstSizeInBytes returning an incorrect instruction size. NFC (#224787)
Follow up to https://github.com/llvm/llvm-project/pull/223913 that shows
`getInstSizeInBytes` returning an incorrect instruction size of 2 when
the 6 byte `Xqci` instruction compresses to a 4 byte instruction.
An AI agent assisted in the generation of the test.
[CodeGen] Reject undef tied use sharing a virtual register with another read (#222832)
A virtual use operand, tied to a def of a different register, sharing
the register with another read, carries obligation that is hard to
follow by passes. For example, twoaddressinstruction would use different
physical registers, breaking the expectation of the `IsUndef` flag:
```
define void @f() {
%y = freeze i32 undef
%m = mul i32 %y, %y
call void asm sideeffect "# use $0", "{cx}"(i32 %m)
ret void
}
%2 = IMUL32rr undef %1(tied-def 0), undef %1 ; before twoaddressinstruction
%2 = IMUL32rr undef %2(tied-def 0), undef %1 ; after
imull %eax, %ecx ; different regs
```
[10 lines not shown]
Harmonise installurl handling
In installurl(5) document multiple lines are possible and tools always
use the last line. Adjust pkg_add and sysupgrade to do that. In all
programs add validation to ignore installurl lines which contain the set
of bad characters which were recently added to the installer.
Previously tools had subtle differences in their handling:
- pkg_add used the first line.
- sysupgrade concatenated lines together.
- syspatch used the last line if mulitple lines were present.
ok ajacoutot@
misc/py-deepspeed: New port: DeepSpeed library for ChatGPT-like model training
required by misc/py-transformers
PR: 298590
APproved by: Baptiste Daroussin <bapt at FreeBSD.org> (on behalf of portmgr@)
devel/py-tree-sitter-typescript: New port: TypeScript and TSX grammars for tree-sitter
required by textproc/py-docling-core
PR: 298600
Approved by: Baptiste Daroussin <bapt at FreeBSD.org> (on behalf of portmgr@)
devel/py-tree-sitter-c: New port: C grammar for tree-sitter
required by textproc/py-docling-core
PR: 298598
Approved by: Baptiste Daroussin <bapt at FreeBSD.org> (on behalf of portmgr@)
ec2-desktop: Don't enable firstboot_pkgs
We don't have any packages to install by default when the instance
first boots, so (as with the "small" flavour) don't enable the
firstboot_pkgs script. If someone wants to launch a desktop with
packages autoinstalled at first boot, they can enable the script at
the same time as they provide the list of packages.
Sponsored by: Amazon
ec2-desktop: Fix shell expansion in ec2_setpass
Using a backtick inside a backtick-expansion isn't a good idea; switch
instead to using $( ... ).
Fixes: a9710349513f ("EC2: Add desktop flavour")
Sponsored by: Amazon