[RFC][Clang][AMDGPU] Emit only delta target-features to reduce IR bloat
Currently, AMDGPU functions have `target-features` attribute populated with all default features for the target GPU. This is redundant because the backend can derive these defaults from the `target-cpu` attribute via `AMDGPUTargetMachine::getFeatureString()`.
In this PR, for AMDGPU targets only:
- Functions without explicit target attributes no longer emit `target-features`
- Functions with `__attribute__((target(...)))` or `-target-feature` emit only features that differ from the target's defaults (delta)
The backend already handles missing `target-features` correctly by falling back to the TargetMachine's defaults.
A new cc1 flag `-famdgpu-emit-full-target-features` is added to emit full features when needed.
Example:
Before:
```llvm
attributes #0 = { "target-cpu"="gfx90a" "target-features"="+16-bit-insts,+atomic-buffer-global-pk-add-f16-insts,+atomic-fadd-rtn-insts,+ci-insts,+dl-insts,+dot1-insts,+dot2-insts,..." }
[13 lines not shown]
[clang-repl] Skip out-of-process execution due to compiler-rt path mismatch (#176198)
On some setups (Solaris), clang-repl attempts to enable out-of-process
execution,
but fails to locate the ORC runtime due to a mismatch between the
toolchain’s
expected compiler-rt path and the actual on-disk layout.
Specifically, ToolChain::getCompilerRT() relies on
getArchNameForCompilerRTLib(),
which returns an architecture name that does not match the Solaris
compiler-rt
directory naming. As a result, the ORC runtime (orc_rt) is not detected
at the
correct path, even though it exists under
lib/clang/<version>/lib/sunos/.
As an initial workaround, special-case Solaris in
getArchNameForCompilerRTLib() to return "sunos", aligning the expected
[14 lines not shown]
[AMDGPU] Fix inline constant encoding for `v_pk_fmac_f16`
This PR handles`v_pk_fmac_f16` inline constant encoding/decoding differences between pre-GFX11 and GFX11+ hardware.
- Pre-GFX11: fp16 inline constants produce (f16, 0) - value in low 16 bits, zero in high.
- GFX11+: fp16 inline constants are duplicated to both halves (f16, f16).
When trying to print a help message while editing a multiline entry, print
move down enough so that the error message does not get printed on top of
the newline from Yuishiro NAITO. Example program:
#include <stdio.h>
#include <histedit.h>
char *
prompt(EditLine *el)
{
return "(config) ";
}
static unsigned char
help(EditLine *el, int ch)
{
printf("\n");
printf("aaa:\n");
[50 lines not shown]
Import byacc-2024-12-31, previous was 2024-01-09
2024-12-31 Thomas E. Dickey <dickey at invisible-island.net>
* package/pkgsrc/distinfo: regen
* main.c: s/0/NULL/
* main.c: gcc warning
* reader.c:
make UCH() consistent wrt IS_xxxx macros (prompted by patch by Christos Zoulas)
2024-12-31 Christos Zoulas <christos at NetBSD.org>
* main.c:
from NetBSD - if "-o" option is given, derive the filename of the ".h"
definitions-file by stripping commonly-used C/C++ suffixes such as ".c"
and then adding ".h"
[97 lines not shown]
Slightly iprove a confusing wording in the parse.y manuals:
The things that need quoting are not necessarily "argument names",
and not even necessarily "names" at all, so just talk about "arguments".
"I guess?" florian@ and no objection from otto@, both back in July 2025.
Actually, the quoting rules are more complicated than the text makes
believe, but i do not know how to better describe them. It may not be
easy because some suspect the implementation may be somewhat adhoc
rather than based on cleary defined lexical rules.
games/chess-tui: update to 2.3.0
What's Changed
fix: parse args before mousetrack by @thomas-mauran in #181
fix: color popup piece scaling by @thomas-mauran in #186
fix: size crash by @thomas-mauran in #182
fix: ui history styling by @thomas-mauran in #187
fix: lichess bugs by @thomas-mauran in #183
fix: rust features to disable sound by @thomas-mauran in #184
pkgsrc changes: disable audio feature and avoid alsa dependency.
[VPlan] Match inverted logical AND/OR for select costs.
VPlan transforms may invert logical AND/OR selects, which can impact
costs on targets the select is not cheap but the boolean AND/OR is.
Also match the inverted logical AND/OR to improve accuracy of the
cost estimation and fixes the underlying issue for the cost
divergence between legacy and VPlan-based cost model that caused
the revert of 01d34eb38fa058 in ed004cf42bf57c.
devel/ruby-redmine60: update to 6.0.8
6.0.8 (2026-01-05)
Code cleanup/refactoring
* Defect #43441: Fix failures in test/system/issues_test.rb
* Patch #43638: Update copyright year to 2026
Custom fields
* Defect #43521: Saving a custom field fails with 500 when regular
expression is invalid
Gems support
* Defect #43609: Tests fail with minitest 6.0
Issues list
[41 lines not shown]
devel/ruby-redmine51: update to 5.1.11
5.1.11 (2026-01-05)
Code cleanup/refactoring
* Defect #43441: Fix failures in test/system/issues_test.rb
* Patch #43638: Update copyright year to 2026
Gems support
* Defect #43609: Tests fail with minitest 6.0
Security
* Defect #43451: PostScript disguised as PDF can lead to arbitrary file
operations via thumbnail generation
* Defect #43634: Authorization bypass in Redmine allows modification of
attachment metadata on invisible issues
[2 lines not shown]
www/ruby-webrick: update to 1.9.2
1.9.2 (2025-11-26)
What's Changed
* Remove usage of IO#nread by @osyoyu in #181
* Remove assert matching stderr output in test_sni. by @jackorp in #158
New Contributors
* @osyoyu made their first contribution in #181
* @jackorp made their first contribution in #158