[qt/clang/llvm]: Summary of bulk changes made

KDE Git Services - Bulk Change <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git repository change summary for qt/clang/llvm
Pushed by mirror-service into branch 'upstream/users/gandhi56/amdgpu-isel/uaddsat-i16-gcnpat'.
Changed from 0000000000000000000000000000000000000000 to c6d89676c20b376e0a6cb37fa5637eb6fc7ae14c
Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository.

This change contains the following new commits:

Git commit 49744c0cc07c85f201267d75ec064eab743270d4 by GitHub (on behalf of Ron Green [NVIDIA]) on 16/07/2026 at 17:15..
[flang][OpenACC] Allow blanks around ':' in a gang-arg (#210089)

The parsers for the STATIC, DIM, and NUM forms of an OpenACC gang-arg
used the token strings "STATIC: ", "DIM: ", and "NUM: ", none of which
permit a blank between the keyword and the ':' separator. A space in a
TokenStringMatch pattern is the only place a blank is accepted in the
source (outside the leading/trailing skip), so a directive such as

    !$acc loop gang(static : 1)

was rejected with "expected end of OpenACC directive", even though
free-form Fortran allows optional blanks around the separator.

Move the blank in each token string to before the ':' ("STATIC :", etc.)
so zero or more blanks are accepted on either side of the separator. The
_tok form keeps the blank optional, so the no-space spelling still
parses without a warning.

Add parser/unparse coverage for the spaced spellings of the static, dim,
and num gang arguments.
https://invent.kde.org/qt/clang/llvm/-/commit/49744c0cc07c85f201267d75ec064eab743270d4

Git commit 4180e2bb885271956e80344354b046a9b4cf3031 by GitHub (on behalf of Fangrui Song) on 16/07/2026 at 17:15..
[UniformityAnalysis] Make divergent-exit cycle print order deterministic (#210107)

Once the set spills to the heap its iteration order follows allocation
addresses, so the printed order is nondeterministic.

Fix https://reviews.llvm.org/D130746 ("RFC: Uniformity Analysis for
Irreducible Control Flow")
https://invent.kde.org/qt/clang/llvm/-/commit/4180e2bb885271956e80344354b046a9b4cf3031

Git commit 74dee943ac272caa4cd80a2a23c7f866dd96b4ec by GitHub (on behalf of Arthur Eubanks) on 16/07/2026 at 17:20..
[llvm-reduce] Fix !inline_history verifier issues (#199373)

We'd RAUW a function which would cause !inline_history metadata nodes to
be `ptr null` which doesn't pass the verifier.

Instead we can keep around metadata usages of the function with
replaceNonMetadataUsesWith().
https://invent.kde.org/qt/clang/llvm/-/commit/74dee943ac272caa4cd80a2a23c7f866dd96b4ec

Git commit 8da6ab53c7533b9bc1e8eb5a2c8eaf195c45c0b3 by GitHub (on behalf of UebelAndre) on 16/07/2026 at 17:31..
[bazel] Updated lit_test to work from external workspaces (#204489)

This change should not change the behavior of tests but instead ensure
that no matter where a test is run (either as an external repo or as an
overlay from `./utils/bazel`) that the rendered source paths are correct
for that context.
https://invent.kde.org/qt/clang/llvm/-/commit/8da6ab53c7533b9bc1e8eb5a2c8eaf195c45c0b3

Git commit 202cb24d246a871e7ae0b5ebf900582d76e7a334 by GitHub (on behalf of Qiongsi Wu) on 16/07/2026 at 17:39..
[clang][Modules] Adding Specific Diagnostics when a Finalized PCM is Out-of-date due to Input File Changes (#209857)

We have good diagnostics coverage when a pcm cannot be dropped in
`ASTReader::readASTCore`, because we call `canRecoverFromOutOfDate` to
check if the pcm is finalized or not. This check is missing for input
file changes.

This PR fixes the diagnostics, so we do not fall to the generic error
`err_module_rebuild_finalized`, which is hard to reason and act on.
https://invent.kde.org/qt/clang/llvm/-/commit/202cb24d246a871e7ae0b5ebf900582d76e7a334

Git commit a730dda7d520cff562e77efbe02b5bba470a2b36 by GitHub (on behalf of Qiongsi Wu) on 16/07/2026 at 17:41..
[clang][DependencyScanning] Logging Dependency Scanning Events (#195896)

This PR sets up an `AtomicLineLogger` (added by
https://github.com/llvm/llvm-project/pull/205395) to log the sequence of
dependency scanning events. The logging is triggered by a new `LogPath`
option in `DependencyScanningServiceOptions`. This PR adds an option
`-log-path=` to `clang-scan-deps` to trigger the log.

We are logging 16 events during dependency scanning. 

| Event | Logged In | When |
|-------|-----------|------|
| `starting scanning command: <args>` | `DependencyScanningWorker.cpp` |
Start of each TU scan |
| `finished scanning command: <args>` | `DependencyScanningWorker.cpp` |
End of each TU scan |
| `init_compiler_instance_with_context: <args>` |
`DependencyScanningTool.cpp` | CompilerInstanceWithContext created for
by-name scanning |
| `start scan_by_name: <module name>` | `DependencyScanningTool.cpp` |
Start of a by-name module query |
| `finish scan_by_name: <module name>` | `DependencyScanningTool.cpp` |
End of a by-name module query |
| `module_compile_thread: parent=<TID> pcm_compile: <pcm path>` |
`CompilerInstance::compileModule` | A new thread is created to compile a
pcm |
| `timestamp_read: <pcm path>` |
`InProcessModuleCache::getModuleTimestamp` | Validation timestamp read |
| `timestamp_write: <pcm path>` |
`InProcessModuleCache::updateModuleTimestamp` | Validation timestamp
update |
| `pcm_write: <pcm path>` | `InProcessModuleCache::write` | PCM write to
disk attempted |
| `pcm_read_disk: <pcm path>` | `InProcessModuleCache::read` | PCM read
from disk attempted |
| `pcm_read_cached: <pcm path>` | `InMemoryModuleCache::lookupPCM` | PCM
looked up in in-memory cache |
| `pcm_add: <pcm path>` | `InMemoryModuleCache::addPCM` | PCM added to
cache (not validated) |
| `pcm_add_built: <pcm path>` | `InMemoryModuleCache::addBuiltPCM` | PCM
added to cache (final) |
| `pcm_finalized: <pcm path>` | `InMemoryModuleCache::finalizePCM` | PCM
marked as validated/final |
| `pcm_dropped: <pcm path>` | `InMemoryModuleCache::tryToDropPCM` | PCM
dropped (validation failed) |
| `pcm_not_dropped: <pcm path>` | `InMemoryModuleCache::tryToDropPCM` |
PCM not dropped (validation failed, but already final) |

In addition to checking the logger's functionality,
`clang/test/ClangScanDeps/logging-simple.c` checks against the change
committed by https://github.com/llvm/llvm-project/pull/177062. Without
https://github.com/llvm/llvm-project/pull/177062,
`clang/test/ClangScanDeps/logging-simple.c` fails.

This implementation adds a single instance of `AtomicLineLogger` to the
`DependencyScanningService`. Most of the plumbing goes into the
`ModuleCache` and its derived classes.

Assisted-by: claude-opus-4.6

rdar://39907408
https://invent.kde.org/qt/clang/llvm/-/commit/a730dda7d520cff562e77efbe02b5bba470a2b36

Git commit 908b5931ce3d9630ae3b897bd4c523945038fdcd by GitHub (on behalf of Nikita Terentev) on 16/07/2026 at 17:45..
[NFC][Clang][PowerPC] Fix suspicious unsequenced volatile accesses in codegen tests (#199338)

When trying to add new Sema check in PR
https://github.com/llvm/llvm-project/pull/180955 some tests failed.
The following pattern is observed in these tests:
```
volatile x;
x = __builtinXXX(x, x, x);

```
For C and C++ standards order of evaluate funcall argument is
unsequence(or indeterminate sequence) and unsequence access for same
volatile variable is UB(because read volatile qualified variable is
side-effects).

As far as I undestand, unsequenced accesses is unwanted and new warning
is correct.
This PR try to fix it for tests:
```
\clang\test\CodeGen\PowerPC\builtins-ppc-fma.c
\clang\test\CodeGen\PowerPC\builtins-ppc-fpconstrained.c
```
Topics on discourse:
https://discourse.llvm.org/t/suspicious-use-volatile-qualified-variable-in-clang-codegen-tests/90837
Closed similar issue for SystemZ :
https://github.com/llvm/llvm-project/issues/186584
https://invent.kde.org/qt/clang/llvm/-/commit/908b5931ce3d9630ae3b897bd4c523945038fdcd

Git commit dd2e6e03c75918dce69e9d1f46e7b356ef31c60d by GitHub (on behalf of Alexander Richardson) on 16/07/2026 at 17:55..
[RISCV][RVY] Fix DwarfRegAlias for X10_Y to X15_Y (#210104)

The initial commit had typos here missing the leading 1.
This was not noticed since we don't have any tests yet that
emit .cfi_offset etc.

Fixes 5eb3969c7a0b192d74bf4730f854d4cfc25a6c77
https://invent.kde.org/qt/clang/llvm/-/commit/dd2e6e03c75918dce69e9d1f46e7b356ef31c60d

Git commit 409f15dbb1d3853fb563e6ac902a1067411c8b9f by GitHub (on behalf of Alex Langford) on 16/07/2026 at 17:58..
[lldb] Section::GetName should return a StringRef (#209926)

Section currently owns a ConstString to hold onto its name. I plan on
changing this in the future, but first I want to remove ConstString from
its API. This commit starts with `GetName`.
https://invent.kde.org/qt/clang/llvm/-/commit/409f15dbb1d3853fb563e6ac902a1067411c8b9f

Git commit 03c539c79af2d917be5f5120fb49e714d0f23101 by GitHub (on behalf of Craig Topper) on 16/07/2026 at 18:05..
[RISCV] Use MCRegister. NFC (#210110)
https://invent.kde.org/qt/clang/llvm/-/commit/03c539c79af2d917be5f5120fb49e714d0f23101

Git commit 5d99b0a9a79dd72ae45b88a7815edaf600808698 by GitHub (on behalf of Mauri de Souza Meneguzzo) on 16/07/2026 at 18:24..
[tsan][go]: add a128 store, load, compare_exchange (#196833)

This commit adds a128 load, store and compare_exchange to the Go
sanitizer functions. This is needed for a new Go atomic type that
operate on 16-byte values.

The SANITIZER_GO macro was gating a128 and is now lifted. Based on the
__TSAN_HAS_INT128 macro definition, the only architecture excluded by it
that intersects with [Go race support
](https://go.dev/doc/articles/race_detector#Requirements) is s390x.

For https://github.com/golang/go/issues/61236
https://invent.kde.org/qt/clang/llvm/-/commit/5d99b0a9a79dd72ae45b88a7815edaf600808698

Git commit fb908ede5170c8eadb4ff86b491ca48a23f23c17 by GitHub (on behalf of Erich Keane) on 16/07/2026 at 18:33..
Add fallback type for Constrained placeholders other than plain auto. (#209893)

We were diagnosing this and leave the type in place, but that broke
invariants when
looking it up later. This patch just sets a fallback type to just the
'auto' (or a supported
type at least) instead, so that we gracefully continue.

Fixes: #208658
https://invent.kde.org/qt/clang/llvm/-/commit/fb908ede5170c8eadb4ff86b491ca48a23f23c17

Git commit 55fc45605710c642cf49a732f7d96a95c120db9f by GitHub (on behalf of Farid Zakaria) on 16/07/2026 at 18:33..
[NFC] Refactor when selecting x86-64 EH encoding to be less prone to error (#210109)

Use a case-scoped local (EHCM) rather than mutating the object file's
code model, so only the EH encoding selection is affected.
https://invent.kde.org/qt/clang/llvm/-/commit/55fc45605710c642cf49a732f7d96a95c120db9f

Git commit f6ed48325939e40940fccce886e5414d26b7114e by GitHub (on behalf of hulxv) on 16/07/2026 at 18:37..
[libc][math] reduce duplicated inv trig helpers (#191364)

Instead of duplicate inv trig helpers for float and double. we can unify
them when that is possible and drop inv_trigf_utils after moving helpers
to asin_utils and atan_utils. That makes everything clean.
https://invent.kde.org/qt/clang/llvm/-/commit/f6ed48325939e40940fccce886e5414d26b7114e

Git commit dce66b626c98c2c85b77b6b77cef24adc4f01460 by GitHub (on behalf of Damian Rouson) on 16/07/2026 at 18:38..
[Flang] [Docs] Update DO CONCURRENT status (#209299)

Update the documentation of
1. `reduce` locality support
2. `do concurrent` support (link to implementation details).

---------

Co-authored-by: Dan Bonachea <[email protected]>
Co-authored-by: Tarun Prabhu <[email protected]>
https://invent.kde.org/qt/clang/llvm/-/commit/dce66b626c98c2c85b77b6b77cef24adc4f01460

Git commit 37cf7d04a3a7ec460aabed51a9a383d60bc63572 by GitHub (on behalf of Zhen Wang) on 16/07/2026 at 18:39..
[flang][cuda] Fix invalid host free of managed allocatable function results (#209945)

An allocatable function result with a CUDA data attribute is allocated
with the CUDA allocator, but the caller freed the temporary with a host
`free` (via `hlfir.destroy` → `fir.freemem`), corrupting the heap.
Release it through the CUDA-aware deallocation (`cuf.deallocate`)
instead.
https://invent.kde.org/qt/clang/llvm/-/commit/37cf7d04a3a7ec460aabed51a9a383d60bc63572

Git commit 5f371b2add3e2784e6e9921b42842e2a6622e24e by GitHub (on behalf of Anshil Gandhi) on 16/07/2026 at 18:40..
[AMDGPU] Fold constant offset into SV form addressing in SVS frame index fallback (#208629)

Depends on #208624 (which depends on #208612).

In the SVS fallback path of `SIRegisterInfo::eliminateFrameIndex` for
flat scratch, the scratch address was materialized by moving the full
frame offset into the scavenged vaddr VGPR and forcing the
instruction's immediate offset to `0`, which also silently dropped
any pre-existing immediate offset on the instruction.

This splits the full constant offset with `TII->splitFlatOffset`, folding
as much as possible into the SV form instruction's immediate offset
field and materializing only the remainder (plus the frame register,
if any) into the vaddr VGPR.

Test: adds `scratch_{store,load}_svs_split_offset` to
`eliminate-frame-index-flat-scratch-svs.mir` (non-zero instruction
offset, now preserved and folded) and regenerates the existing checks.

Made with [Cursor](https://cursor.com)

Resolves https://github.com/llvm/llvm-project/issues/178968
https://invent.kde.org/qt/clang/llvm/-/commit/5f371b2add3e2784e6e9921b42842e2a6622e24e

Git commit d4f4524291d734c4b3ddb55d205c6fffeefbea6a by GitHub (on behalf of Ayokunle Amodu) on 16/07/2026 at 18:43..
[CIR][AMDGPU] Add support for AMDGCN exp2 builtins (#198025)

Adds codegen support for the following AMDGCN exp2 builtins:

- __builtin_amdgcn_exp2f (float)
- __builtin_amdgcn_exp2_bf16 (bfloat16)

These are lowered to the corresponding `llvm.amdgcn.exp2` intrinsic.
https://invent.kde.org/qt/clang/llvm/-/commit/d4f4524291d734c4b3ddb55d205c6fffeefbea6a

Git commit 4c50e41095b36cfa2e362a4f1990c4df59533836 by GitHub (on behalf of DylanFleming-arm) on 16/07/2026 at 18:46..
[libc][mathvec] Fix missing ABI-prefix from causing errors (#210127)

abi_prefix.h throws errors for unsupported ABI targets. This patch
modifies that behaviour to instead fall back onto a default
naming scheme instead, as to not break non-vfabi supporting targets.
https://invent.kde.org/qt/clang/llvm/-/commit/4c50e41095b36cfa2e362a4f1990c4df59533836

Git commit c6d89676c20b376e0a6cb37fa5637eb6fc7ae14c by Anshil Gandhi on 16/07/2026 at 19:56..
[AMDGPU] Lower uniform uaddsat to SALU instructions

Map uniform uaddsat.i16(i16 a, i16 b) to the following:

```
s_and_b32 s2, s0, 0xffff    ; s0 = i16 a
s_and_b32 s3, s1, 0xffff    ; s1 = i16 b
s_add_i32 s4, s3, s2
s_min_u32 s5, s4, 0xffff
```
https://invent.kde.org/qt/clang/llvm/-/commit/c6d89676c20b376e0a6cb37fa5637eb6fc7ae14c
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.