[libc][math] Fix pow() subnormal base exponent computation (#198134)
For subnormal inputs, get_exponent() returns -1023. The code subtracted
64 after normalizing but didn't recompute e_x from the normalized value.
This set e_x to -1087 for every subnormal.
To fix, compute e_x from the normalized value.
powf() doesn't have this bug because it adds
`x_u >> FloatBits::FRACTION_LEN` to ex, where x_u is `x_u =
FloatBits(x).uintval();` with `x` being the normalized value. Added
subnormal base tests for powf to show that it works fine as-is.
Fixes #197212.
[llvm-debuginfo-analyzer] Fix missed 'else' (LVCodeViewReader / LVDWARFReader) (#192923)
Issues found PVS studio static analyzer.
LVCodeViewReader.cpp. PR for #170117.
4. Potent UB: manipulation of invalid object.
The PVS-Studio warning: V519 The 'FeaturesValue' variable is assigned
values twice successively.
The original patch caused fail tests for linker error and it was reverted.
This PR include original (#188578) + necessary edit in CMakeList.
Committed on behalf of @Seraphimt
[CUF] Fix CompilerGeneratedNamesConversion renaming managed companion globals
CUFAddConstructor creates a companion pointer global (e.g. foo.managed.ptr)
for each non-allocatable managed variable. When CompilerGeneratedNamesConversion
ran after CUFAddConstructor, it replaced the dots with 'X',
so CUFOpConversionLate could no longer find the companion by name and fell back
to CUFGetDeviceAddress with the wrong host pointer, causing cudaErrorInvalidSymbol.
Fix: mark the companion global with a cuf.managed_ptr unit attribute in
CUFAddConstructor and skip it in CompilerGeneratedNamesConversionPass.
Co-authored-by: Claude Sonnet 4.6 <noreply at anthropic.com>
devel/electron42: Add port: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Build cross platform desktop apps with JavaScript, HTML, and CSS.
It's easier than you think.
If you can build a website, you can build a desktop app. Electron is a
framework for creating native applications with web technologies like
JavaScript, HTML, and CSS. It takes care of the hard parts so you can
focus on the core of your application.
WWW: https://electronjs.org/
[BPF] Remove getMaxNumArgs() from BPFTargetTransformInfo (#198223)
The function getMaxNumArgs() hardcoded the maximum number of function
arguments to 5. LLVM now supports more than 5 arguments with stack
argument support. Remove this leftover.
[mlir][linalg] Add splat transpose canonicalization patterns (#195991)
All elements in a dense splat are identical, transposing it only changes
the shape, but still maintaining the value. Add a pattern where it would
replace the `linalg.transpose` of a splat constant with a
`arith.constant` of the transposed result shape.
Assisted-by: Cursor (GPT-5.5)
[Clang] Instantiate ParmVarDecls on-demand for FunctionParmPackExpr (#196919)
This is missed when we implemented CWG2369, where their instantiations
should be built in place when they are needed.
Fixes #173086
drm/amdgpu/vcn4: Avoid overflow on msg bound check
From Benjamin Cheng
271cd5429513ff9b364a9bf8903e5b65b687eb25 in linux-6.18.y/6.18.32
65bce27ea6192320448c30267ffc17ffa094e713 in mainline linux
drm/amdgpu/vcn3: Avoid overflow on msg bound check
From Benjamin Cheng
016b64a0313ea5346cf526e30c8d3e66aca10175 in linux-6.18.y/6.18.32
e6e9faba8100628990cccd13f0f044a648c303cf in mainline linux
drm/amdgpu: rework how we handle TLB fences
From Alex Deucher
f0d3bb6f5125c69ce872a7574afd6d9e1f7ea349 in linux-6.18.y/6.18.32
69c5fbd2b93b5ced77c6e79afe83371bca84c788 in mainline linux
Revert "drm/amdgpu: don't attach the tlb fence for SI"
From Prike Liang
13e9ea445191390269a6f092d009b68e086e601b in linux-6.18.y/6.18.32
9163fe4d790fb4e16d6b0e23f55b43cddd3d4a65 in mainline linux
drm/amdgpu: Fix validating flush_gpu_tlb_pasid()
From Timur Kristof
576b73b246564c8fa75572d45c1ed9b053b4be5b in linux-6.18.y/6.18.32
e3a6eff92bbd960b471966d9afccb4d584546d17 in mainline linux
drm/amdgpu: validate the flush_gpu_tlb_pasid()
From Prike Liang
fd78e63459ab6fe99b9fd026c420808d09eaa8be in linux-6.18.y/6.18.32
f4db9913e4d3dabe9ff3ea6178f2c1bc286012b8 in mainline linux
drm/amdgpu/pm: align Hawaii mclk workaround with radeon
From Alex Deucher
f8f546883e8777493157ccc4fac5794c502fcbd2 in linux-6.18.y/6.18.32
1987c79b4fe5789dfa14423e78b5c25f6acf3e9d in mainline linux
drm/amdgpu/pm: add missing revision check for CI
From Alex Deucher
6fed6e9f10622db34a18ee6ce155cbe0fa211b23 in linux-6.18.y/6.18.32
2a561b361b7681509710f3cfc3d95d54c87ac69f in mainline linux
drm/amdgpu/sdma4: replace BUG_ON with WARN_ON in fence emission
From John B. Moore
0b91ea46bb68abf98a082bf239092253bbd6aaa2 in linux-6.18.y/6.18.32
78d2e624fa073c14970aa097adcf3ea31c157a66 in mainline linux
drm/amdkfd: Make all TLB-flushes heavy-weight
From Felix Kuehling
6fbd52d210c15f3987e04d8fa2cf6ca3ace2d0d8 in linux-6.18.y/6.18.32
9b4e3495d1bd2469bf94b74930c153c2d534ddb7 in mainline linux
drm/amdgpu/gfx9: drop unnecessary 64-bit fence flag check in KIQ
From John B. Moore
71614ab2a683490bf7f43bf25afcf0d2a57a8403 in linux-6.18.y/6.18.32
7bbfb2559bcec39d1a4e1182d931a2046112c352 in mainline linux
drm/amdgpu: zero-initialize GART table on allocation
From Philip Yang
b17175d0a375b3ed5e81597dac4983fdb46e478d in linux-6.18.y/6.18.32
e6c2e6c2e1fa066968a16aca1cb66cd1bdde7741 in mainline linux
drm/radeon: add missing revision check for CI
From Alex Deucher
264ee64cf86794353e4fcb363282e3f9cf5249b3 in linux-6.18.y/6.18.32
17223816498f7b117d138d18eb0eba63604dc74e in mainline linux
drm: Set old handle to NULL before prime swap in change_handle
From Francis, David
672464dd53231509c9c771110798c56d4660e19e in linux-6.18.y/6.18.32
5e28b7b94408897e41c63477aabc9e1db439bc8c in mainline linux
drm/amdkfd: validate SVM ioctl nattr against buffer size
From Alysa Liu
db9530a9873a7c85d2266a922589ebcf427fa631 in linux-6.18.y/6.18.32
045e0ff208f0838a246c10204105126611b267a1 in mainline linux
drm/amd/display: Change dither policy for 10 bpc output back to dithering
From Mario Kleiner
158def957199b6c0b4d578f369ad05cbd7789fe9 in linux-6.18.y/6.18.32
d65bfb1782304b03862c8c725fac608015dffd36 in mainline linux