[all-commits] [llvm/llvm-project] 4ef2e7: [FileCheck] Avoid matching IR keywords in source f...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Tue Aug 4 22:20:36 PDT 2026


  Branch: refs/heads/users/arichardson/spr/elfrisc-v-add-baseline-test-for-ignored-abi-behaviour
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ef2e75785d71a9ab8682bf2f6b4ccc223ba568c
      https://github.com/llvm/llvm-project/commit/4ef2e75785d71a9ab8682bf2f6b4ccc223ba568c
  Author: Eric Christopher <echristo at gmail.com>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M clang/test/CodeGen/openacc-noop-decl.c
    M clang/test/Modules/codegen-opt.test
    M llvm/test/tools/llvm-reduce/remove-dso-local.ll
    M llvm/test/tools/llvm-reduce/remove-function-attributes.ll
    M llvm/test/tools/llvm-reduce/remove-module-data.ll

  Log Message:
  -----------
  [FileCheck] Avoid matching IR keywords in source filenames (#213809)

Anchor checks for declare, define, and comdat to the start of lines or another fixture so
paths in module headers cannot satisfy or invalidate them.

Tested with make check.

Assisted by AI.


  Commit: 9524ff82697b539df6fb710d754a703d788bb137
      https://github.com/llvm/llvm-project/commit/9524ff82697b539df6fb710d754a703d788bb137
  Author: Fady Farag <com.webkit.iidmsa at gmail.com>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M clang/test/Index/reparse-predef-objc-protocol.m

  Log Message:
  -----------
  [clang][test] Use `FileCheck` in `Index/reparse-predef-objc-protocol.m` (#213566)

The test had `CHECK` directives that were never executed because the
`RUN` line did not pipe output to `FileCheck`. This also drops the first
`CHECK` directive in favor of the one below it due to `libclang` now
reporting top-level forward class declarations as `ObjCClassRef` cursors
which is the modern representation of that same declaration.


  Commit: d5b9e612d78116ffc52410588fe2f56fce4c9410
      https://github.com/llvm/llvm-project/commit/d5b9e612d78116ffc52410588fe2f56fce4c9410
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M llvm/test/CodeGen/X86/vector-reduce-or-cmp.ll

  Log Message:
  -----------
  [X86] vector-reduce-or-cmp.ll - add nounwind to silence cfi noise. NFC. (#214064)


  Commit: 1e2435e32312b149700c50ab2e8cd438facf9f2f
      https://github.com/llvm/llvm-project/commit/1e2435e32312b149700c50ab2e8cd438facf9f2f
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M flang/include/flang/Parser/dump-parse-tree.h
    M flang/include/flang/Parser/parse-tree.h
    M flang/include/flang/Semantics/openmp-modifiers.h
    M flang/lib/Lower/OpenMP/Clauses.cpp
    M flang/lib/Parser/openmp-parsers.cpp
    M flang/lib/Semantics/openmp-modifiers.cpp
    A flang/test/Parser/OpenMP/linear-clause-v45.f90
    A flang/test/Parser/OpenMP/linear-clause-v52.f90
    R flang/test/Parser/OpenMP/linear-clause.f90
    M flang/test/Semantics/OpenMP/linear-clause02.f90
    M flang/test/Semantics/OpenMP/linear-clause03.f90

  Log Message:
  -----------
  [flang][OpenMP] Use 'linear-step' instead of 'step-simple-modifier' i… (#214041)

…n 5.1-

These two modifiers are structurally identical, but the latter has an
exclusive property whereas the former does not.
Also, this allows diagnostics to use the modifier name that appears in
the spec that corresponds to the version in -fopenmp-version.


  Commit: 745271fc23fd23f83eace959285abfd580a267a5
      https://github.com/llvm/llvm-project/commit/745271fc23fd23f83eace959285abfd580a267a5
  Author: Dan Liew <dan at su-root.co.uk>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M clang/docs/BoundsSafetyImplPlans.md
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td

  Log Message:
  -----------
  [NFC][BoundsSafety] Give `counted_by_or_null`, `sized_by`, and `sized_by_or_null` their own documentation (#212877)

Previously the `counted_by`, `counted_by_or_null`, `sized_by`, and
`sized_by_or_null` attributes all pointed at a single `Documentation`
object (`CountedByDocs`). The generated `AttributeReference.rst`
therefore folded all four into one entry whose text described only
`counted_by` used on a C99 flexible array member.

This was misleading because the attributes differ in important ways that
went undocumented:

* `counted_by` counts *elements* whereas `sized_by` counts *bytes*.
* `counted_by` and `sized_by` require a null pointer to have a zero
count/size, while the `_or_null` variants allow a null pointer
regardless of the count or size.
* `counted_by` may be applied to a flexible array member, but
`sized_by`, `counted_by_or_null`, and `sized_by_or_null` apply to
pointers only.

As a result a reader looking up any of the three non-`counted_by`
attributes was shown documentation for a different attribute with
different behavior.

This change gives `sized_by`, `counted_by_or_null`, and
`sized_by_or_null` their own documentation so that each renders as its
own entry describing its actual behavior. The substantive text lives in
`counted_by` and `sized_by`; the `_or_null` variants are described in
terms of their base attribute.

While we're here, this patch also:

* Restructures `counted_by`'s documentation to explain the attribute's
meaning first, with the flexible-array-member material moved into its
own sub-section rather than leading the entry. It made sense that FAMs
were the leading entry when that was the only context the attribute was
supported in, but it's also now supported on pointer fields in a struct.
* Discusses how `counted_by` on `void *` is supported as a GNU
extension.
* Adds two sections on keeping the pointer and count/size value in sync.
The two sections are practically identical other than the attribute they
discuss and the associated count/size.
* For `counted_by`, explains how a pointer to a forward-declared type is
allowed as long as the type is complete at the use sites.
* For `sized_by`, explains the motivation for using it on types that
aren't byte-sized.

Assisted-by: Claude Code

rdar://136979310


  Commit: aeaa2aacad5fef1b700a80c4e555e6effa55935e
      https://github.com/llvm/llvm-project/commit/aeaa2aacad5fef1b700a80c4e555e6effa55935e
  Author: Abhinav Gaba <abhinav.gaba at intel.com>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/test/OpenMP/target_map_nested_ptr_member_mapper_codegen.cpp
    M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M offload/test/mapping/mapper_map_mbr_then_present_mbr_ptee.c
    M offload/test/mapping/mapper_target_update_present_ptee.c

  Log Message:
  -----------
  [OpenMP] Propagate PRESENT to pointee entries in mapper codegen (#210214)

For cases like:

```c
#pragma omp declare_mapper (default: S s) map(s.x, s.p[0:10])

S s1;
...
#pragma omp target_enter_data map(present, alloc: s1)
```
After "mapper-expansion", the behavior of the above should be equivalent
to:

```
#pragma omp target_enter_data map(present, alloc: s1.x) map(present, alloc: s.p[0:10])
```

i.e. The `present` map-type needs to be propagated to the map for the
pointee of `s.p`. That was not happening prior to this change.

We try to limit this to entries that have their own "attach-ptr" (like
`s.p[0:10]`) and thus occupy a separate storage block than the base
variable for which the mapper is declared (like `s`).

Note that we do this only with OpenMP 6.0+, since the wording in 5.2
implies that PRESENT applies only to `s.x` after mapper-expansion.


TODO: `PRESENT` bit should also be propagated to non-pointee entries
resulting from mapper-expansion, e.g.

```c
struct S {
int x; int y; int *p;
};
S s1;
#pragma omp declare_mapper map(s.x, s.y)
...
#pragma omp target_enter_data map(present: s1)
// present has to be propagated inwards to `s.x, s.y` so that it doesn't
// assert that the full `s1` is "present".
```

However we cannot do that until we have removed the remaining uses of
PTR_AND_OBJ maps map-type (which is used for byrefs in clang at the
moment).

---------

Co-authored-by: Claude Opus 4.8 <noreply at anthropic.com>


  Commit: 95572b479a69aaaca824063dd14c71d6186efeb4
      https://github.com/llvm/llvm-project/commit/95572b479a69aaaca824063dd14c71d6186efeb4
  Author: Alexander Richardson <alexrichardson at google.com>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M llvm/test/MC/RISCV/rv32i-invalid.s

  Log Message:
  -----------
  [RISC-V][MC] Add a few more tests for invalid lw operands

To show the difference in diagnostic output as suggested in
https://github.com/llvm/llvm-project/pull/210901.

Pull Request: https://github.com/llvm/llvm-project/pull/214070


  Commit: 452467cbf82f13f57eda4c7fd66225b1225c7e58
      https://github.com/llvm/llvm-project/commit/452467cbf82f13f57eda4c7fd66225b1225c7e58
  Author: jeffniu-openai <jeffniu at openai.com>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
    A llvm/test/CodeGen/NVPTX/masked-divrem.ll

  Log Message:
  -----------
  [SelectionDAG] Split masked div/rem operands with illegal masks (#214058)

PR description written by Codex

Split masked signed and unsigned division/remainder alongside illegal
vector masks to fix NVPTX SelectionDAG crashes. Covers all four
intrinsics and the original eight-lane reproducer; five focused LLVM
tests pass.


  Commit: bc6f2a9263bfc5966ea596d22269abfbfd0003e2
      https://github.com/llvm/llvm-project/commit/bc6f2a9263bfc5966ea596d22269abfbfd0003e2
  Author: Adam Smith <adams at nvidia.com>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M clang/lib/CIR/Dialect/IR/CIRDialect.cpp
    M clang/test/CIR/IR/invalid-global.cir

  Log Message:
  -----------
  [CIR] Reject a global carrying a function type (#214065)

The verifier was accepting a `cir.global` whose `sym_type` is a
function. The LLVM dialect global takes one too, so it survives to LLVM
IR translation and crashes instead of reporting an error.
`GlobalOp::verify()` now rejects it.


  Commit: 437ff360f7adca4c6cfceca732b568edd2693bd0
      https://github.com/llvm/llvm-project/commit/437ff360f7adca4c6cfceca732b568edd2693bd0
  Author: Erich Keane <ekeane at nvidia.com>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenClass.cpp
    M clang/test/CIR/CodeGen/array-ctor.cpp
    M clang/test/CIR/CodeGen/partial-array-cleanup.cpp

  Log Message:
  -----------
  [CIR] Move array-ctor cleanup to properly cleanup temporaries (#213993)

This patch came out of self-build, any constructor temporary called
during the construction of an array element was being improperly cleaned
up (actually, no terminator?). This patch moves the RunCleanups RAII to
do so immediately in the body.

The OGCG/LLVM check lines are effectively equal, except OGCG uses a PHI
and we are doing so with an iterator loop, but the 'dtor called
immediately' is still correct.


  Commit: bd4117353574e1c1827e696821d3f4f180b24ed6
      https://github.com/llvm/llvm-project/commit/bd4117353574e1c1827e696821d3f4f180b24ed6
  Author: David Green <david.green at arm.com>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/LoadStoreOpt.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/store-merging-debug.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/store-merging.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Use a concrete type for store merging. (#213740)

This is just to reduce the number of scalar types in the MIR, as the
value is between a constant and a store it should have little effect.


  Commit: 20339da753dba389babdb937f2c2be624eac4517
      https://github.com/llvm/llvm-project/commit/20339da753dba389babdb937f2c2be624eac4517
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M lldb/source/Target/ThreadPlanStepInRange.cpp

  Log Message:
  -----------
  [lldb] Step past a prologue the pc is inside (#213555)

A step into a function ran past its prologue only when the pc was
exactly the function's first address. A target whose entry point is not
a function's first address (such as WebAssembly) is entered past it.
This means that the check took every such call for one whose prologue
had already run, and the step stopped on the opening brace instead of
the first statement.

What says the prologue has yet to run is the pc being inside it, which
for a target that does enter at the first address is the condition that
was there before.


  Commit: 02b5beb57bb4bbc4139853f6db5ec4b90a70f656
      https://github.com/llvm/llvm-project/commit/02b5beb57bb4bbc4139853f6db5ec4b90a70f656
  Author: Chinmay Deshpande <chdeshpa at amd.com>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.scale.pk.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.scalef32.pk.gfx950.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.scalef32.pk.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.scalef32.pk16.gfx1250.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.scalef32.pk8.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.scalef32.sr.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.scalef32.sr.pk.gfx1250.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.scalef32.sr.pk.gfx950.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.scalef32.sr.pk.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.scalef32.sr.pk16.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.sr.pk.bf16.ll

  Log Message:
  -----------
  [AMDGPU][GISel] RegBankLegalize rules for CVT Scale and SR BF16-specific intrinsics (#214018)


  Commit: 1fc2b37c6892b68962b7a916f9648d5204549085
      https://github.com/llvm/llvm-project/commit/1fc2b37c6892b68962b7a916f9648d5204549085
  Author: Chinmay Deshpande <chdeshpa at amd.com>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mfma.gfx950.bf16.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mfma.gfx950.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.smfmac.gfx950.ll

  Log Message:
  -----------
  [AMDGPU][GISel] RegBankLegalize rules for BF16 variants of gfx950 MFMA intrinsics (#214042)


  Commit: d7575bc5e72bf15dabb9f5782a629e211bf4914a
      https://github.com/llvm/llvm-project/commit/d7575bc5e72bf15dabb9f5782a629e211bf4914a
  Author: Piyou Chen <piyou.chen at sifive.com>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
    A llvm/test/CodeGen/RISCV/rvv/xsfmm-vsetvl-removal.ll

  Log Message:
  -----------
  [RISCV] coalesce between VSETVLI and SF_VSETTNT (#203438)

When twiden != 0, LMUL, tail policy, and mask policy from the user are
ignored. The tail policy and mask policy are always treated as agnostic.
The normal RVV instruction will ignore the twiden parameter. This
observation could allow the RVV instruction and xsfmm instruction to
share the same configuration instruction.

We need to make sure the AVL, SEW, and AltFmt is same between VSETVL and
VSETVLTN.

---------

Co-authored-by: Luke Lau <luke_lau at icloud.com>


  Commit: 66032aa8886cfffe19ecf4f3953eb9ced1455724
      https://github.com/llvm/llvm-project/commit/66032aa8886cfffe19ecf4f3953eb9ced1455724
  Author: Andres-Salamanca <andrealebarbaritos at gmail.com>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M clang/include/clang/CIR/Dialect/IR/CIROps.td
    M clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
    M clang/lib/CIR/CodeGen/CIRGenCoroutine.cpp
    M clang/lib/CIR/CodeGen/CIRGenFunction.h
    M clang/lib/CIR/CodeGen/CIRGenModule.h
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
    A clang/test/CIR/CodeGenCoroutines/coro-builtins-err.cpp
    A clang/test/CIR/CodeGenCoroutines/coro-builtins.cpp
    M clang/test/CIR/CodeGenCoroutines/coro-task.cpp

  Log Message:
  -----------
  [CIR] Change previous coroutine builtins to have their own coro intrinsic ops (#211699)

This PR introduces dedicated CIR operations for the coroutine intrinsics
(`coro.intrinsic.id`, `coro.intrinsic.alloc`, `coro.intrinsic.begin`,
`coro.intrinsic.free`, `coro.intrinsic.end`, `coro.intrinsic.size`)
instead of emitting them as calls to hand-created builtin functions.
LLVM IR already has its own dedicated ops for these cases, so this
follows the same pattern at CIR.

Along the way this also changes how coroutine builtins are handled in
`CIRGenBuiltin`: previously the intrinsics emitted automatically as part
of lowering `EmitCoroutineBody` and the ones triggered by an explicit
`__builtin_coro_*` call written in user source code were going through
the same path. This PR separates the two, since they're conceptually
different emission points.

New tests covering these builtins are included as well.

Also added explicit `errorNYI` messages for the remaining
`__builtin_coro_*` cases that aren't implemented yet (`coro_promise`,
`coro_resume`, `coro_noop`, `coro_destroy`, `coro_done`, `coro_end`,
`coro_suspend`, `coro_align`). @bcardosolopes The ClangIR Progress
Report (July 2026) showed 33 hits on the generic coroutine NYI error,
with no way to tell which specific builtin was missing these per case
messages fix that going forward.

A few things intentionally left out of scope for this PR, to keep it
reviewable:
- LLVM lowering for these new intrinsics  follow-up PR.
- The different `coro.size` variants for 32/64-bit  follow-up PR.
- `coro.end`'s current signature is wrong and needs fixing follow-up PR.


  Commit: af2a0e9c8897060b4442e7d096459aad922f37d6
      https://github.com/llvm/llvm-project/commit/af2a0e9c8897060b4442e7d096459aad922f37d6
  Author: hulxv <hulxxv at gmail.com>
  Date:   2026-08-05 (Wed, 05 Aug 2026)

  Changed paths:
    M compiler-rt/cmake/Modules/CompilerRTUtils.cmake

  Log Message:
  -----------
  [compiler-rt][cmake] filter libc-backed builtins superseded by assembly (#213481)

apply
https://github.com/llvm/llvm-project/pull/209900#discussion_r3615454574

fix the duplication that causes issues like this:
```
 lit-23: /__w/llvm-project/llvm-project/compiler-rt/test/builtins/Unit/lit.cfg.py:186: fatal: builtins_source_features contains duplicates: ['librt_has_floatdidf', 'librt_has_floatdisf', 'librt_has_floatundidf', 'librt_has_floatundisf']
FAILED: compiler-rt/test/builtins/CMakeFiles/check-builtins /__w/llvm-project/llvm-project/build/compiler-rt/test/builtins/CMakeFiles/check-builtins 
cd /__w/llvm-project/llvm-project/build/compiler-rt/test/builtins && /usr/bin/python3 /usr/bin/lit-23 -sv --show-xfail --show-unsupported /__w/llvm-project/llvm-project/build/compiler-rt/test/builtins/TestCases /__w/llvm-project/llvm-project/build/compiler-rt/test/builtins/Unit/X86_64LinuxConfig
ninja: build stopped: subcommand failed.
```

Part of #197824


  Commit: 723eaa4f83396c81212784fb0006e3ca4be19441
      https://github.com/llvm/llvm-project/commit/723eaa4f83396c81212784fb0006e3ca4be19441
  Author: Prabhu Rajasekaran <prabhukr at google.com>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M libc/cmake/caches/baremetal_common.cmake

  Log Message:
  -----------
  [libc][cmake] Enable assertions and Werror for baremetal builds (#214093)

Enable LLVM_ENABLE_ASSERTIONS and LLVM_ENABLE_WERROR in
baremetal_common.cmake
to ensure pre-merge checks catch assertion failures and compiler
warnings for
baremetal targets.

Assisted-by: Gemini


  Commit: 3d6ac5a9ba252cbaf8d12cecef89d015f1ffe0f7
      https://github.com/llvm/llvm-project/commit/3d6ac5a9ba252cbaf8d12cecef89d015f1ffe0f7
  Author: Longsheng Mou <longshengmou at gmail.com>
  Date:   2026-08-05 (Wed, 05 Aug 2026)

  Changed paths:
    M mlir/lib/Dialect/Func/Transforms/DuplicateFunctionElimination.cpp
    M mlir/test/Dialect/Func/duplicate-function-elimination.mlir

  Log Message:
  -----------
  [mlir][func] Fix a crash in DuplicateFunctionEliminationPass (#209667)

Previously, we used `SymbolUserMap::replaceAllUsesWith` to replace
symbols, but this could not update the symbol table cached by
`SymbolUserMap` during traversal, leading to a crash. This PR switches
to `SymbolTable::replaceAllSymbolUses`, which always operates on the
latest symbol table and avoids the crash. Fixes #209648.


  Commit: dbacea2912ae76f162ed622212a2804f2b32bd00
      https://github.com/llvm/llvm-project/commit/dbacea2912ae76f162ed622212a2804f2b32bd00
  Author: Arseniy Obolenskiy <arseniy.obolenskiy at amd.com>
  Date:   2026-08-05 (Wed, 05 Aug 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.illegal-data-type.err.ll

  Log Message:
  -----------
  [AMDGPU] Reject non-fp16 image sample data in D16 detection while lowering image (#213272)


  Commit: c15a90d299f4cab284f9d5e78922a86395de40a1
      https://github.com/llvm/llvm-project/commit/c15a90d299f4cab284f9d5e78922a86395de40a1
  Author: Zeyi Xu <mitchell.xu2 at gmail.com>
  Date:   2026-08-05 (Wed, 05 Aug 2026)

  Changed paths:
    M clang/test/Driver/print-supported-extensions-riscv.c
    M clang/test/Preprocessor/riscv-target-features.c
    M llvm/docs/RISCVUsage.rst
    M llvm/docs/ReleaseNotes.md
    M llvm/lib/Target/RISCV/RISCVFeatures.td
    M llvm/lib/Target/RISCV/RISCVSystemOperands.td
    M llvm/test/CodeGen/RISCV/attributes.ll
    M llvm/test/CodeGen/RISCV/features-info.ll
    M llvm/test/MC/RISCV/attribute-arch.s
    M llvm/test/MC/RISCV/machine-csr-names.s
    M llvm/test/MC/RISCV/supervisor-csr-names.s
    M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp

  Log Message:
  -----------
  [RISCV][MC] Add experimental Smijt, Ssijt, Smehv, and Ssehv support (#213431)

Add support for version 0.19 of the Smijt, Ssijt, Smehv, and Ssehv
extensions from the RISC-V fast interrupt specification.


  Commit: 1a176af243e78fad48ce0d6ecd1311c1e9f943d8
      https://github.com/llvm/llvm-project/commit/1a176af243e78fad48ce0d6ecd1311c1e9f943d8
  Author: Vicky Nguyen <vicky.trucviennguyen at gmail.com>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
    M clang/test/CodeGen/AArch64/neon-intrinsics.c
    M clang/test/CodeGen/AArch64/neon-ldst-one.c
    M clang/test/CodeGen/AArch64/neon/store.c
    M clang/test/CodeGen/AArch64/poly64.c

  Log Message:
  -----------
  [CIR][AArch64] Upstream store (vst[234]_*/vst[234]q_*) NEON builtins (#212040)

Related to https://github.com/llvm/llvm-project/issues/185382

CIR lowering for store intrinsics (`vst[234]_*`/`vst[234]q_*`)
(https://arm-software.github.io/acle/neon_intrinsics/advsimd.html#store)

Port tests:
- `clang/test/CodeGen/AArch64/neon-intrinsics.c`
-  `clang/test/CodeGen/AArch64/neon-ldst-one.c`
-  `clang/test/CodeGen/AArch64/poly64.c`

to `clang/test/CodeGen/AArch64/neon/store.c`


  Commit: d87c685d5d88fe00b0594fc238b9afb16ba6eb64
      https://github.com/llvm/llvm-project/commit/d87c685d5d88fe00b0594fc238b9afb16ba6eb64
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M libclc/test/CMakeLists.txt
    A libclc/test/conformance/lit.local.cfg
    A libclc/test/conformance/work_group_reduce.cl
    M libclc/test/lit.cfg.py
    M libclc/test/lit.site.cfg.py.in

  Log Message:
  -----------
  [libclc] Add initial support for libclc execution conformance tests (#214072)

Summary:
This uses the `llvm-gpu-loader` tool to invoke OpenCL test kernels. This
routes OpenCL through the standard compute runtimes, which aren't
exactly 1-to-1 with OpenCL, but it's close enough. Obviously, the best
solution would be to have a real OpenCL host library that can launch
these, but this is the best we can get in-tree and is very sipmle, write
kernel, test kernel.

The goal is to have a lot more tests run here, but this just gets the
basic infrastructure in place. We won't be able to do full conformance
like external suites, like exhaustive math, but I think its' a step in
the right direction. It looks like this on my side:

```console
$ ninja check-libclc-amdgpu-amd-amdhsa-llvm
```

This requires building with the LLVM `offload/` runtime enabled for the
source compiler.


  Commit: da9ca9c5aeb29e5c1f1bfc27c746d03da1e1974d
      https://github.com/llvm/llvm-project/commit/da9ca9c5aeb29e5c1f1bfc27c746d03da1e1974d
  Author: Thirumalai Shaktivel <74826228+Thirumalai-Shaktivel at users.noreply.github.com>
  Date:   2026-08-05 (Wed, 05 Aug 2026)

  Changed paths:
    M clang/include/clang/Basic/MakeSupport.h
    M clang/include/clang/Frontend/DependencyOutputOptions.h
    M clang/include/clang/Options/Options.td
    M clang/lib/Basic/MakeSupport.cpp
    M clang/lib/Driver/ToolChains/Flang.cpp
    M clang/lib/Frontend/DependencyFile.cpp
    M flang/docs/FlangDriver.md
    M flang/include/flang/Frontend/FrontendAction.h
    M flang/include/flang/Frontend/FrontendOptions.h
    M flang/include/flang/Parser/provenance.h
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/lib/Frontend/FrontendAction.cpp
    M flang/lib/Parser/provenance.cpp
    A flang/test/Driver/dependency-file-gen-mod.f90
    A flang/test/Driver/dependency-file-gen.f90
    A flang/test/Driver/dependency-file.f90

  Log Message:
  -----------
  [flang][driver] Support Makefile dependency generation (#209379)

Implement the GCC/Clang dependency-file flags for flang, which it
previously rejected as unknown arguments: -M, -MM, -MD, -MMD, -MF,
-MT and -MQ.

Feature:
 -  -MD/-MMD : write a .d file alongside a normal compile
 -  -M/-MM   : run through semantics; emit deps to stdout by default
 -  -MF      : dependency-file path
 -  -MT/-MQ  : target name (verbatim / Make-quoted)
  (-M==-MM and -MD==-MMD; Fortran has no system/user header split.)

Design:
- `-M`/`-MM`: driver passes `-fsyntax-only -dependency-file - -MT
  <target>` to `-fc1`. Running through semantics resolves USE
  statements so module file dependencies are captured in the output.
  This deviates from clang's prescan-only behaviour for -M, but is
  intentional: unlike C/C++ #include, Fortran's USE statement is
  resolved at the semantic stage, not during preprocessing.

- `-MD`/`-MMD`: driver passes `-dependency-file foo.d -MT <target>`
  alongside the normal compile action. The object file is produced as
  usual, and the dependency file is written as a side effect.

- `-MF <path>` overrides where the dependency file is written.
  `-MT <target>` sets the target name (the part before the colon in
  the Make rule) verbatim. `-MQ` does the same but additionally
  quotes characters that are special to Make.

- In `-fc1`, `-dependency-file` and `-MT` are stored in the frontend
  options. After the action, `writeDependencyFile()` is called
  unconditionally. It collects every file opened during the action —
  the source plus all INCLUDE/#include/USE module files — via
  `GetIncludedFilePaths()`, then writes the
  `target: source includes...` Make rule to the specified file, or
  stdout if the path is `-`.


  Commit: 442469093a0ea00244b39dfb8ab26545439fe363
      https://github.com/llvm/llvm-project/commit/442469093a0ea00244b39dfb8ab26545439fe363
  Author: Amr Hesham <amr96 at programmer.net>
  Date:   2026-08-05 (Wed, 05 Aug 2026)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenExprComplex.cpp
    M clang/test/CIR/CodeGen/complex-plus-minus.cpp

  Log Message:
  -----------
  [CIR] Fix imag value in Scalar and Complex substraction (#214019)

Fix imaginary value in Scalar and Complex subtraction

Issue #213998


  Commit: 2e53c04bb744d354cd880e63aea792c2c7efa5bd
      https://github.com/llvm/llvm-project/commit/2e53c04bb744d354cd880e63aea792c2c7efa5bd
  Author: Baranov Victor <bar.victor.2002 at gmail.com>
  Date:   2026-08-05 (Wed, 05 Aug 2026)

  Changed paths:
    M clang-tools-extra/clang-tidy/modernize/UseRangesCheck.cpp

  Log Message:
  -----------
  [clang-tidy][NFC] Apply readability-redundant-qualified-alias check (#214026)


  Commit: b6676fc0b946947fea23240dee2187ec619f7669
      https://github.com/llvm/llvm-project/commit/b6676fc0b946947fea23240dee2187ec619f7669
  Author: Baranov Victor <bar.victor.2002 at gmail.com>
  Date:   2026-08-05 (Wed, 05 Aug 2026)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/UnhandledCodePathsCheck.cpp
    M clang-tools-extra/clang-tidy/readability/FunctionCognitiveComplexityCheck.cpp
    M clang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.cpp

  Log Message:
  -----------
  [clang-tidy][NFC] Apply modernize-use-structured-binding check (#214022)


  Commit: 5e158f2fdb4ae1caf76278d991b2a83deb541506
      https://github.com/llvm/llvm-project/commit/5e158f2fdb4ae1caf76278d991b2a83deb541506
  Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
  Date:   2026-08-05 (Wed, 05 Aug 2026)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/CodeGen/CGAtomic.cpp
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/CGStmt.cpp
    M clang/lib/CodeGen/CodeGenFunction.h
    M clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp
    M clang/lib/CodeGen/Targets/AMDGPU.cpp
    M clang/lib/Sema/SemaStmtAttr.cpp
    A clang/test/CodeGen/AMDGPU/amdgcn-av-non-atomic.cpp
    A clang/test/CodeGen/AMDGPU/amdgcn-av-none-amdgpu-atomic.cpp
    A clang/test/CodeGen/AMDGPU/amdgcn-av-none-attr-c-atomic.c
    A clang/test/CodeGen/AMDGPU/amdgcn-av-none-attr.cpp

  Log Message:
  -----------
  [Clang][AMDGPU] Add ``amdgpu_av("none")`` attribute for atomic expressions (#199622)

Add a statement attribute that suppresses MakeAvailable/MakeVisible
cache operations on AMDGPU atomic instructions while preserving memory
ordering (waits). The attribute takes a string argument specifying the
mode. Currently "none" is the only supported mode. The resulting atomic
or fence instruction carries !mmra !{!"amdgcn-av", !"none"} metadata.

This only works with builtins that get lowered to intrinsics or
instructions. The attribute does not survive inlining. For example, a
C++ std atomic is typically a wrapper around a Clang builtin, and
applying this attribute on the std atomic does not remove the
MakeAvailableMakeVisible semantics built into it.

Part of a stack:

- #199486
- #199621
- #199489 
- #208395 
- #199622

Fixes: LCOMPILER-2214

Assisted-By: Claude Opus 4.6


  Commit: b0f431a4f777b85d7425435b35d45b5bc3b7abbf
      https://github.com/llvm/llvm-project/commit/b0f431a4f777b85d7425435b35d45b5bc3b7abbf
  Author: Alexander Richardson <mail at alexrichardson.me>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/UnhandledCodePathsCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/UseRangesCheck.cpp
    M clang-tools-extra/clang-tidy/readability/FunctionCognitiveComplexityCheck.cpp
    M clang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.cpp
    M clang/docs/BoundsSafetyImplPlans.md
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/MakeSupport.h
    M clang/include/clang/CIR/Dialect/IR/CIROps.td
    M clang/include/clang/Frontend/DependencyOutputOptions.h
    M clang/include/clang/Options/Options.td
    M clang/lib/Basic/MakeSupport.cpp
    M clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
    M clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
    M clang/lib/CIR/CodeGen/CIRGenClass.cpp
    M clang/lib/CIR/CodeGen/CIRGenCoroutine.cpp
    M clang/lib/CIR/CodeGen/CIRGenExprComplex.cpp
    M clang/lib/CIR/CodeGen/CIRGenFunction.h
    M clang/lib/CIR/CodeGen/CIRGenModule.h
    M clang/lib/CIR/Dialect/IR/CIRDialect.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
    M clang/lib/CodeGen/CGAtomic.cpp
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/lib/CodeGen/CGStmt.cpp
    M clang/lib/CodeGen/CodeGenFunction.h
    M clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp
    M clang/lib/CodeGen/Targets/AMDGPU.cpp
    M clang/lib/Driver/ToolChains/Flang.cpp
    M clang/lib/Frontend/DependencyFile.cpp
    M clang/lib/Sema/SemaStmtAttr.cpp
    M clang/test/CIR/CodeGen/array-ctor.cpp
    M clang/test/CIR/CodeGen/complex-plus-minus.cpp
    M clang/test/CIR/CodeGen/partial-array-cleanup.cpp
    A clang/test/CIR/CodeGenCoroutines/coro-builtins-err.cpp
    A clang/test/CIR/CodeGenCoroutines/coro-builtins.cpp
    M clang/test/CIR/CodeGenCoroutines/coro-task.cpp
    M clang/test/CIR/IR/invalid-global.cir
    M clang/test/CodeGen/AArch64/neon-intrinsics.c
    M clang/test/CodeGen/AArch64/neon-ldst-one.c
    M clang/test/CodeGen/AArch64/neon/store.c
    M clang/test/CodeGen/AArch64/poly64.c
    A clang/test/CodeGen/AMDGPU/amdgcn-av-non-atomic.cpp
    A clang/test/CodeGen/AMDGPU/amdgcn-av-none-amdgpu-atomic.cpp
    A clang/test/CodeGen/AMDGPU/amdgcn-av-none-attr-c-atomic.c
    A clang/test/CodeGen/AMDGPU/amdgcn-av-none-attr.cpp
    M clang/test/CodeGen/openacc-noop-decl.c
    M clang/test/Driver/print-supported-extensions-riscv.c
    M clang/test/Index/reparse-predef-objc-protocol.m
    M clang/test/Modules/codegen-opt.test
    M clang/test/OpenMP/target_map_nested_ptr_member_mapper_codegen.cpp
    M clang/test/Preprocessor/riscv-target-features.c
    M compiler-rt/cmake/Modules/CompilerRTUtils.cmake
    M flang/docs/FlangDriver.md
    M flang/include/flang/Frontend/FrontendAction.h
    M flang/include/flang/Frontend/FrontendOptions.h
    M flang/include/flang/Parser/dump-parse-tree.h
    M flang/include/flang/Parser/parse-tree.h
    M flang/include/flang/Parser/provenance.h
    M flang/include/flang/Semantics/openmp-modifiers.h
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/lib/Frontend/FrontendAction.cpp
    M flang/lib/Lower/OpenMP/Clauses.cpp
    M flang/lib/Parser/openmp-parsers.cpp
    M flang/lib/Parser/provenance.cpp
    M flang/lib/Semantics/openmp-modifiers.cpp
    A flang/test/Driver/dependency-file-gen-mod.f90
    A flang/test/Driver/dependency-file-gen.f90
    A flang/test/Driver/dependency-file.f90
    A flang/test/Parser/OpenMP/linear-clause-v45.f90
    A flang/test/Parser/OpenMP/linear-clause-v52.f90
    R flang/test/Parser/OpenMP/linear-clause.f90
    M flang/test/Semantics/OpenMP/linear-clause02.f90
    M flang/test/Semantics/OpenMP/linear-clause03.f90
    M libc/cmake/caches/baremetal_common.cmake
    M libclc/test/CMakeLists.txt
    A libclc/test/conformance/lit.local.cfg
    A libclc/test/conformance/work_group_reduce.cl
    M libclc/test/lit.cfg.py
    M libclc/test/lit.site.cfg.py.in
    M lld/test/ELF/lto/riscv-target-abi.ll
    M lldb/source/Target/ThreadPlanStepInRange.cpp
    M llvm/docs/RISCVUsage.rst
    M llvm/docs/ReleaseNotes.md
    M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
    M llvm/lib/CodeGen/GlobalISel/LoadStoreOpt.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVFeatures.td
    M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
    M llvm/lib/Target/RISCV/RISCVSystemOperands.td
    M llvm/test/CodeGen/AArch64/GlobalISel/store-merging-debug.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/store-merging.mir
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.scale.pk.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.scalef32.pk.gfx950.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.scalef32.pk.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.scalef32.pk16.gfx1250.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.scalef32.pk8.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.scalef32.sr.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.scalef32.sr.pk.gfx1250.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.scalef32.sr.pk.gfx950.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.scalef32.sr.pk.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.scalef32.sr.pk16.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.sr.pk.bf16.ll
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.illegal-data-type.err.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mfma.gfx950.bf16.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mfma.gfx950.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.smfmac.gfx950.ll
    A llvm/test/CodeGen/NVPTX/masked-divrem.ll
    M llvm/test/CodeGen/RISCV/attributes.ll
    M llvm/test/CodeGen/RISCV/features-info.ll
    A llvm/test/CodeGen/RISCV/rvv/xsfmm-vsetvl-removal.ll
    M llvm/test/CodeGen/X86/vector-reduce-or-cmp.ll
    M llvm/test/MC/RISCV/attribute-arch.s
    M llvm/test/MC/RISCV/machine-csr-names.s
    M llvm/test/MC/RISCV/rv32i-invalid.s
    M llvm/test/MC/RISCV/supervisor-csr-names.s
    M llvm/test/tools/llvm-reduce/remove-dso-local.ll
    M llvm/test/tools/llvm-reduce/remove-function-attributes.ll
    M llvm/test/tools/llvm-reduce/remove-module-data.ll
    M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
    M mlir/lib/Dialect/Func/Transforms/DuplicateFunctionElimination.cpp
    M mlir/test/Dialect/Func/duplicate-function-elimination.mlir
    M offload/test/mapping/mapper_map_mbr_then_present_mbr_ptee.c
    M offload/test/mapping/mapper_target_update_present_ptee.c

  Log Message:
  -----------
  apply suggestion

Created using spr 1.3.8-beta.1-arichardson


Compare: https://github.com/llvm/llvm-project/compare/42c92b963f88...b0f431a4f777

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list