[AMDGPU] Select the high-half 16-bit packing idiom to v_lshl_or_b32 (#206058)
The (hi << 16) | z high-half packing idiom is not fused by the existing
(or (shl x, y), z) selection. By the time it reaches ISel the DAG
combiner has rewritten (ext i16) << 16 into bitcast(build_vector (i16
0), hi), so there is no shl node left to match and the build_vector and
or are selected separately.
Add ISel patterns that match the build_vector form directly. On the
non-real-true16 path the high-half source is a VGPR_32, so fold into
v_lshl_or_b32. On the real-true16 path the high-half source is a VGPR_16
and 16-bit ops are native, so OR it into the high half of the other
operand with v_or_b16 and assemble the result with a REG_SEQUENCE.
Co-authored-by: Barbara Mitic <Barbara.Mitic at amd.com>
[flang-rt] Disable host-side offload support when offload is disabled
This patch conditionally disables some host-side support for offload
when offload is not enabled. This fixes a bug on arm64ec-pc-windows-msvc
where the entry and exit thunks for libompoffload functions called by
this host support can't be found. It also removes the need for the extra
function call that does not do anything on other platforms when offload
is not enabled.
[Hexagon] Don't use reserved identifiers (#207967)
All identifiers that begin with an underscore followed by a capital
letter or by another underscore are reserved.
[C23] Allow deducing restrict and _Atomic qualifiers (#207994)
We were limiting the logic to __auto_type when it should apply to auto
as well.
Fixes #207466
if_bridge: Remove unused disable parameter in bridge_stop
The ```int disable``` parameter is included in the bridge_stop function
signature but is not used in the function body.
I had noticed this when tracing the driver's path while learning more
about the ifnet library.
This parameter originally appeared when importing the driver from NetBSD.
However, the FreeBSD ifnet library no longer requires an if_stop function.
Meaning that the function signature can be changed to only contain needed
parameters for our bridge driver.
Discussed with: freebsd-net@ mailing list
Signed-off-by: Acesp25 <acesp25 at freebsd.org>
Reviewed by: kp
Pull-Request: https://github.com/freebsd/freebsd-src/pull/2290
[libcxxabi] Don't enable -fvisibility=hidden on Windows (#207943)
This option is supported (and hence gets added by the
target_add_compile_flags_if_supported function) on Windows, but if using
dllexport, there's no point in using hidden visibility. (However if
building both static and shared libraries at the same time, it could be
beneficial to have hidden visibilty in the static libraries.)
In asserts enabled builds of Clang, building with -fvisibility=hidden
caused errors like this:
dllexport GlobalValue must have default or protected visibility
ptr @_ZTIv
[...]
fatal error: error in backend: Broken module found, compilation aborted!
Normally, combining -fvisibility=hidden with dllexport is not a problem,
but specifically for `__cxxabiv1:: __fundamental_type_info` it does make
Clang trigger an inconsistency, visible in asserts enabled builds of
[3 lines not shown]
py-openapi-core: updated to 0.23.1
0.23.1
Features
Add Starlette 1.x support
Fixes
Array parameter default regression with SchemaPath
Fix unstable error message for additional properties
py-openapi-spec-validator: updated to 0.9.0
0.9.0
Upgrades
Upgrade schema-validator 0.9
Upgrade jsonschema-path 0.5
Backward incompatibilities
Validation results may change for specifications that previously relied on discriminator-based narrowing or on discriminator mapping resolution errors during validation.
py-openapi-schema-validator: updated to 0.9.0
0.9.0
Features
Enforce properties required flag
Fixes
OAS 3.1/3.2 discriminator is annotation-only
Backward incompatibilities
OAS31Validator and OAS32Validator no longer use discriminator-driven schema selection for oneOf, anyOf, or allOf.
For OpenAPI 3.1 and 3.2, discriminator is now treated as a hint/annotation and does not change validation outcome.
Validation results may change for schemas that previously relied on discriminator-based narrowing or on discriminator mapping resolution errors during validation.
[X86] Sync compiler-rt cpu subtypes and vendors with libgcc and refactor internal cpu type tables in LLVM (#171172)
This is a continuation of previous PR:
https://github.com/llvm/llvm-project/pull/168750
compiler-rt was synced with libgcc on ProcessorVendor and
ProcessorSubtype fields and so was llvm. Cpu type, subtype and vendor
entries in X86TargetParser.def were refactored to use ABI_VALUE.
LLVM doesn't set the ABI_VALUE for its enums -- clang now takes care of
that by reading the ABI_VALUE.
I've removed and added some comments to better explain what is going on.
While at it, I've added tests to check that right values are passed for
vendor, subtypes, types and features (the last ones weren't added in
feature sync PR: https://github.com/llvm/llvm-project/pull/168750)
Parts of the PR (test) have been realized using Claude Code
[Clang] Renumber TokenKey enum values to close gap left by KEYNOZOS removal (#207906)
The previous commit (#207132) removed the unused KEYNOZOS flag
(0x4000000) but left a gap between KEYZOS (0x2000000) and KEYHLSL
(0x8000000). This patch renumbers the subsequent TokenKey values to
close the gap:
KEYHLSL: 0x8000000 -> 0x4000000
KEYFIXEDPOINT: 0x10000000 -> 0x8000000
KEYDEFERTS: 0x20000000 -> 0x10000000
KEYNOHLSL: 0x40000000 -> 0x20000000
The ~0x4000000u exclusion in KEYALL and the associated reserved-bit
comment are removed, since the renumbering eliminates the orphaned bit.
This is a follow-up to #207132, as suggested by @perry-ca.
AI assistance was used for code review analysis and CI failure
debugging.
Co-authored-by: Chenguang Ding <dingchenguang at kylinos.cn>
py-guessit: updated to 4.1.0
4.1.0
Bug Fixes
- **episodes**: Don't treat a title year as a number-first season marker
- **film**: Keep a leading film number in the title
- **options**: Read bundled options.json as UTF-8
- **title**: Reclaim a title-word property value from the title zone
- **website**: Refresh IANA TLD list so modern-gTLD hosts are detected
Features
- **episodes**: Keep a title-trailing number out of number-first seasons
- **episodes**: Recognize non-English season/episode keywords
- **title**: Split a leading original-language script prefix into alternative_title
Performance Improvements
[2 lines not shown]
py-charset-normalizer: updated to 3.4.8
3.4.8
Fixed
- Wall import time due to cascade codec imports for our multibyte first sort of iana supported codecs
- Unnecessary json import at runtime
- Inverse capitalization not seen by noise detector
Changed
- No longer holding a global cache for our noise / coherence measurements. Relax RSS memory usage.
- Micro-optimizations in our noise / coherence measurements.
- No longer using regex search by default for our preemptive charset mark algorithm.
- Raised upperbound of setuptools to v83.
- Raised upperbound of mypy(c) to v2.1.
Removed
- Redundant UTF7 BOM marker