[MachineVerifier] Accept partial defs in bundles
A read of a register pair whose only defined half comes from an earlier
instruction of the same bundle was reported as "Using an undefined
physical register", although the unbundled code verifies. Count such
in-bundle defs when checking whether part of the register is defined.
[RISCV] Only speculate VXRM writes within loops with vxrm-pipeline-flush (#234972)
With +vxrm-pipeline-flush, VXRM writes can be moved out of loops by
treating a block as needing VXRM even when only some of its successors
use it. This was applied to all blocks, so writes were also placed in
the entry block of a function that can exit early, adding a write on
paths that never use VXRM.
Fix this by limiting the speculation to blocks inside a loop. Writes are
still moved out of loops. Outside loops the normal rule applies, so no
write is added on a path that does not reach a VXRM use.
On SpacemiT X100, this improves 525.x264_r (SPEC CPU2017) by ~1%.
Assisted by Claude
x11/cosmic-app-library: New port: Modern application launcher for COSMIC
COSMIC App Library is a modern application launcher for the
COSMIC desktop environment that displays graphical apps
in a neat, airy grid.
WWW: https://github.com/pop-os/cosmic-app-library
PR: 299771
Reported by: Josh Megnauth <jo.sh at tutanota.com> (new maintainer)
databases/pgloader3: Fix crash during "reset sequences"
Column names that need to be quoted, will already be so quoting them
again results in sql errors.
Patch taken from:
https://github.com/codereverser/pgloader/commit/aba754a759f28701d94551e85c6b9c369e63698c
Upstreaming is of no use as upstream rewrote pgloader in java and is not
accepting patches for v3 anymore.
While at it:
- Replace PORTVERSION with DISTVERSION.
- Add libzstd to LIB_DEPENDS.
- Fix warnings from portclippy.
- Refresh patch.
PR: 298832
Approved by: freebsd-washroom at duhanic.com (maintainer, timeout 1 month)
Sponsored by: UNIS Labs (vvd)
[4 lines not shown]
[RISCV] Don't request analysis in passes that are skipped without V. NFC
We skip RISCVGatherScatterLowering and RISCVVLOptimizer when there's no V extension (or fixed length vector support), but after we request any analysises. Move the bail-out checks before this so we don't unnecessarily compute them in the new PM. The legacy PM will still redundantly compute them.
databases/pgloader3: Fix crash during "reset sequences"
Column names that need to be quoted, will already be so quoting them
again results in sql errors.
Patch taken from:
https://github.com/codereverser/pgloader/commit/aba754a759f28701d94551e85c6b9c369e63698c
Upstreaming is of no use as upstream rewrote pgloader in java and is not
accepting patches for v3 anymore.
While at it:
- Replace PORTVERSION with DISTVERSION.
- Add libzstd to LIB_DEPENDS.
- Fix warnings from portclippy.
- Refresh patch.
PR: 298832
Approved by: freebsd-washroom at duhanic.com (maintainer, timeout 1 month)
Sponsored by: UNIS Labs (vvd)
[2 lines not shown]
[compiler-rt][test] Require android-37 for free_sized tests on Android (#235545)
In Android NDK r30, `stdlib.h` declares `free_sized` and
`free_aligned_sized` with `__INTRODUCED_IN(37)` without
`__BIONIC_AVAILABILITY_GUARD(37)`, which causes compilation to fail when
targeting Android API levels below 37. Add `android-37` to the available
lit features in `lit.common.cfg.py` and mark `free_sized.c`,
`free_aligned_sized.c`, and `free_sized_mismatch.cpp` as `UNSUPPORTED`
on Android below API 37.
Assisted-by: Gemini
Linux 7.3 compat: META
Update the META file to reflect compatibility with the 7.3
kernel.
Assisted-by: OpenAI Codex
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: ooonea <35407790+ooonea at users.noreply.github.com>
Closes #19553
[MIR] Drop the numeric flag from the operand count test
An inline asm operand flag written as an immediate holds its register
class's TableGen ID, so adding a register class can change the
immediate, though the class stays the same. The "ops:N" syntax lets
tests write every flag symbolically instead. The new test's numeric flag
had no class, but it was still an immediate, and other tests already
check that a numeric flag prints with its count: peephole-copy.mir,
callbr-asm-kill.mir, and scavenge-clobbered-reg.mir.
Assisted-by: Claude Opus 5.5
[hwasan] Disable aliasing mode runtime and tests on Android (#235414)
HWASan x86_64 aliasing mode
(`-fsanitize-hwaddress-experimental-aliasing`)
is only implemented on Linux (`hwasan_dynamic_shadow.cpp` does not set
up
`MapDynamicShadowAndAliases` under `SANITIZER_ANDROID`). Skip building
the
`hwasan_aliases` runtime on Android in
`compiler-rt/lib/hwasan/CMakeLists.txt`
and exclude Android from `supported_os` in
`compiler-rt/test/hwasan/lit.cfg.py`
when aliasing mode is enabled.
Assisted-by: Gemini
[test][compiler-rt] Set HOME and TMPDIR via re-exec in sanitizer_set_report_path_test (#235534)
Setting `HOME=%device_rundir/%t.homedir` in the lit `RUN:` line leaves
the
device path in the host `os.environ` when `android_run.py` invokes
`adb`,
causing `adb` 37+ (`KnownWifiHostsFile`) to abort trying to create
`$HOME/.android` on the host.
Set `HOME` and `TMPDIR` from `argv[0]` inside `main()` and re-exec the
test
binary so `/proc/self/environ` has the updated paths on the target
without
modifying the host environment.
Assisted-by: Gemini