[AMDGPU] Make uniform-work-group-size a valueless attribute (#183925)
The "uniform-work-group-size" function attribute previously took a
string value of "true" or "false". Since presence alone can convey the
"true" semantics and absence can convey "false", the value is
unnecessary.
This patch converts it to a valueless string attribute: presence
indicates true, absence indicates false. For backward compatibility,
auto-upgrade logic is added in both UpgradeAttributes (bitcode) and
UpgradeFunctionAttributes: if the old value is "true", the attribute is
kept without a value; if "false", the attribute is removed.
[AMDGPU] Make uniform-work-group-size a valueless attribute
The "uniform-work-group-size" function attribute previously took a
string value of "true" or "false". Since presence alone can convey
the "true" semantics and absence can convey "false", the value is
unnecessary.
This patch converts it to a valueless string attribute: presence
indicates true, absence indicates false. For backward compatibility,
auto-upgrade logic is added in both UpgradeAttributes (bitcode) and
UpgradeFunctionAttributes: if the old value is "true", the attribute
is kept without a value; if "false", the attribute is removed.
All setters (Clang CodeGen, OMPIRBuilder, AMDGPUAttributor, ROCDL
translation) and readers (AMDGPUAttributor, AMDGPULowerKernelAttributes,
AMDGPUHSAMetadataStreamer) are updated accordingly. The attribute is
also documented in the AMDGPU LLVM IR Attributes table where it was
previously missing.
Revert "[NFC][Clang] Auto generate check lines for `clang/test/CodeGenOpenCL/cl-uniform-wg-size.cl`" (#184035)
Reverts llvm/llvm-project#183926 because of some BB failures.
astro/py-ephem: Update to 4.2.1
- First release that offers wheels for Python 3.14
- Star database now makes the star Albereo available under its more
official spelling Albireo
- Classes like Sun and Mercury are now defined using plain literal
class statements, instead of being built dynamically in a for loop.
This should make the classes visible to tools like editors,
debuggers, and type checkers.
Strip had to be changed from PYTHON_TAG to PYTHON_SUFFIX in order to
also support threaded Python versions (3.13t).
Changelog: https://github.com/brandon-rhodes/pyephem/blob/master/ephem/doc/CHANGELOG.rst#version-421-2026-february-28
Reported by: Repology
MFH: 2026Q1
(cherry picked from commit 2a067443f6f147114723e89cc9ce1f30e5bf5974)
astro/py-ephem: Update to 4.2.1
- First release that offers wheels for Python 3.14
- Star database now makes the star Albereo available under its more
official spelling Albireo
- Classes like Sun and Mercury are now defined using plain literal
class statements, instead of being built dynamically in a for loop.
This should make the classes visible to tools like editors,
debuggers, and type checkers.
Strip had to be changed from PYTHON_TAG to PYTHON_SUFFIX in order to
also support threaded Python versions (3.13t).
Changelog: https://github.com/brandon-rhodes/pyephem/blob/master/ephem/doc/CHANGELOG.rst#version-421-2026-february-28
Reported by: Repology
MFH: 2026Q1