[all-commits] [llvm/llvm-project] a805dd: [Flang][OpenMP][OpenMPIRBuilder] Implement module ...
Abhinav Gaba via All-commits
all-commits at lists.llvm.org
Mon Aug 3 22:44:28 PDT 2026
Branch: refs/heads/users/abhinavgaba/attach-maps-in-mappers-4
Home: https://github.com/llvm/llvm-project
Commit: a805dd6fc5285fe2fdc911e38a12fe704e40fece
https://github.com/llvm/llvm-project/commit/a805dd6fc5285fe2fdc911e38a12fe704e40fece
Author: agozillon <Andrew.Gozillon at amd.com>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
A mlir/test/Target/LLVMIR/omptarget-declare-target-module-rewrite-device.mlir
Log Message:
-----------
[Flang][OpenMP][OpenMPIRBuilder] Implement module scope declare target use rewrite mechanism (#212920)
During lowering of declare target'd variables we generate new global
variables for device that replace the use of the pre-existing global
variable. In Flang we currently rewrite this for each target region, but
that's not enough to cover indirect use cases inside of declare target
functions which can be imported into the module and utilised inside of a
target region. This PR tries to extend the scope of the rewriting to the
module than a per target region rewrite.
It does so by creating a mechanism where we can register globals for
replacement which will trigger on finalization of the OMPIRBuilder. This
is required as due to the ordering of lowering for MLIR, where we
generate the replacement global at the beginning of the module before
any uses have been generated, effectively meaning we cannot replace the
uses at that point. So, we defer the replacement to the OMPIRBuilder as
there is no deferral mechanism directly in the OpenMP MLIR lowering.
The alternative might be to rebind the global maps in ModuleTranslation
(which requires extending ModuleTranslation a bit and might not be
looked apon as a great alteration from the MLIR community) so that the
old global points to the new one, but in practice this doesn't work
particularly well for declare target link/usm variables as they
neccesitate a load and the act of rebinding the global doesn't indicate
to the lowering that the load is required. So, the OMPIRBuilder method
allows us more flexibility to make this (and other) required
alterations.
Commit: f7b7ec8d5542dcede1ae607aa74dfe36d7a3c530
https://github.com/llvm/llvm-project/commit/f7b7ec8d5542dcede1ae607aa74dfe36d7a3c530
Author: Zachary Yedidia <zyedidia at gmail.com>
Date: 2026-08-03 (Mon, 03 Aug 2026)
Changed paths:
A llvm/docs/AlignedBundling.rst
M llvm/docs/Reference.md
M llvm/include/llvm/MC/MCAsmBackend.h
M llvm/include/llvm/MC/MCAssembler.h
M llvm/include/llvm/MC/MCELFStreamer.h
M llvm/include/llvm/MC/MCObjectStreamer.h
M llvm/include/llvm/MC/MCSection.h
M llvm/include/llvm/MC/MCStreamer.h
M llvm/lib/MC/MCAsmStreamer.cpp
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCELFStreamer.cpp
M llvm/lib/MC/MCFragment.cpp
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/MC/MCParser/AsmParser.cpp
M llvm/lib/MC/MCStreamer.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
A llvm/test/MC/X86/AlignedBundling/asm-printing-bundle-directives.s
A llvm/test/MC/X86/AlignedBundling/bundle-after-relax.s
A llvm/test/MC/X86/AlignedBundling/bundle-align-to-end-lock.s
A llvm/test/MC/X86/AlignedBundling/bundle-errors.s
A llvm/test/MC/X86/AlignedBundling/bundle-inst.s
A llvm/test/MC/X86/AlignedBundling/bundle-lock.s
A llvm/test/MC/X86/AlignedBundling/bundle-relax-all.s
A llvm/test/MC/X86/AlignedBundling/long-nop-pad.s
A llvm/test/MC/X86/AlignedBundling/prefix-padding.s
A llvm/test/MC/X86/AlignedBundling/relax-for-prefix-padding.s
A llvm/test/MC/X86/AlignedBundling/section.s
Log Message:
-----------
[MC][X86] Reintroduce aligned instruction bundling (#175830)
Aligned bundling partitions instructions into fixed-size, naturally
aligned groups called bundles and guarantees that no instruction
crosses a bundle boundary, giving the instruction stream a single
canonical decoding. It is a building block for software-based fault
isolation: control flow cannot jump into the middle of an instruction
to manufacture a different, unchecked sequence, and when combined with
masking of indirect branch targets it constrains control flow to a
statically verifiable set of locations.
The previous target-independent implementation was removed in #148781,
which simplified MC by eliminating per-fragment BundlePadding, the
virtual emitInstToData, and BundleGroupBeforeFirstInst. This change
reimplements the feature in the X86 backend on top of the existing
MCBoundaryAlignFragment infrastructure added for branch alignment,
keeping the generic MC surface smaller:
* AsmParser parses .bundle_align_mode, .bundle_lock and .bundle_unlock
and dispatches them through new MCStreamer hooks.
* MCAssembler holds the bundle size, MCObjectStreamer tracks whether a
locked group is open, and MCBoundaryAlignFragment gains an
align_to_end bit. No new per-fragment padding state.
* Padding is decided at layout time by computeBoundaryAlignSize, which
pads only when an instruction or a locked group would cross a
boundary, and NOP emission goes through writeControlledNops.
* X86AsmBackend opens a boundary-align fragment for each instruction, or
one for a whole bundle-locked group, and reports the group size error
at layout.
Improvements over the prior implementation:
* NOPs never span a bundle boundary.
* Labels never move.
* Bundle locks may not nest.
* Padding can be folded into neighboring instructions as otherwise
ignored prefixes rather than standalone NOPs, reusing the existing
--x86-pad-max-prefix-size option. Padding is only ever traded within
the bundle that holds it, so nothing moves across a boundary.
* No codegen change and no extra layout work when the directives are not
used.
Bundling is supported for X86 ELF only and the directives are rejected
elsewhere. Restrictions: bundle mode may be set once per file and cannot
be changed or turned off, it is incompatible with -x86-align-branch and
-mbranches-within-32B-boundaries, locked groups are allowed only in
executable sections, must fit within one bundle, must be closed before a
section change, and may not end in a bare instruction prefix.
Documented in llvm/docs/AlignedBundling.rst, with tests in
llvm/test/MC/X86/AlignedBundling.
---------
Co-authored-by: Taehyun Noh <taehyun at utexas.edu>
Co-authored-by: Fangrui Song <i at maskray.me>
Commit: b010a18d2b648cab83c83967ff26b8fde11acdc6
https://github.com/llvm/llvm-project/commit/b010a18d2b648cab83c83967ff26b8fde11acdc6
Author: Jeff Niu <jeffniu22 at gmail.com>
Date: 2026-08-03 (Mon, 03 Aug 2026)
Changed paths:
M mlir/docs/Rationale/SideEffectsAndSpeculation.md
M mlir/include/mlir/Interfaces/SideEffectInterfaceBase.td
M mlir/include/mlir/TableGen/SideEffects.h
M mlir/lib/TableGen/SideEffects.cpp
M mlir/test/IR/test-side-effects.mlir
M mlir/test/lib/Dialect/Test/TestOps.td
M mlir/test/lib/IR/TestSideEffects.cpp
M mlir/test/mlir-tblgen/op-side-effects.td
M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
Log Message:
-----------
[mlir][ODS] Allow parameters on side-effect resources (#213792)
Assisted-by: OpenAI Codex
---------
Co-authored-by: jeffniu-openai <jeffniu at openai.com>
Commit: d667528a1d9d73f4aa3c627295ae017699890ce1
https://github.com/llvm/llvm-project/commit/d667528a1d9d73f4aa3c627295ae017699890ce1
Author: Nico Weber <thakis at chromium.org>
Date: 2026-08-03 (Mon, 03 Aug 2026)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn
Log Message:
-----------
[gn build] Port 2354dce21ab1 (#213803)
Commit: 3cdc913f989ebe7f044b1bf5debb91b5fa9cd47e
https://github.com/llvm/llvm-project/commit/3cdc913f989ebe7f044b1bf5debb91b5fa9cd47e
Author: Nico Weber <thakis at chromium.org>
Date: 2026-08-03 (Mon, 03 Aug 2026)
Changed paths:
M llvm/utils/gn/secondary/lldb/source/Utility/BUILD.gn
Log Message:
-----------
[gn build] Port f84bacf82a15 (#213804)
Commit: 1d3ea0f50c4bcfababe7929c913df500723dcf2f
https://github.com/llvm/llvm-project/commit/1d3ea0f50c4bcfababe7929c913df500723dcf2f
Author: Arun Thangamani <arun.thangamani at intel.com>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
M llvm/include/llvm/ADT/Hashing.h
Log Message:
-----------
[ADT] Fix - gcc warning: buf may be used uninitialized [-Werror=maybe-uninitialized] (#213578)
When compiled with `gcc`, the uninitialized `buf` triggers a warning.
Since some external projects (e.g., `TPP-MLIR`) treat warnings as
errors, the build fails. This patch initializes `buf` to eliminate the
warning and prevent those build failures
Commit: 275c9efb8cea7e0a6cdbb96a2a464a1566649fe7
https://github.com/llvm/llvm-project/commit/275c9efb8cea7e0a6cdbb96a2a464a1566649fe7
Author: Joseph Huber <huberjn at outlook.com>
Date: 2026-08-03 (Mon, 03 Aug 2026)
Changed paths:
M llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
Log Message:
-----------
[Offload] Add `--kernel <name>` command to `llvm-gpu-loader` (#213738)
Summary:
This makes it easier to test a single function without opting-in to the
whole `crt1.o` infra for `libc` that was originally intended to test
existing CPU tests. Good for possible future unit tests, cheap tool that
can launch a kernel. Only provides `foo(void)` kernels for now, can be
improved.
Commit: 38146e816a08d24f95b04e1940b362616fb4a075
https://github.com/llvm/llvm-project/commit/38146e816a08d24f95b04e1940b362616fb4a075
Author: Zhen Wang <zhenw at nvidia.com>
Date: 2026-08-03 (Mon, 03 Aug 2026)
Changed paths:
M flang/lib/Optimizer/Transforms/CUDA/CUFAddConstructor.cpp
M flang/test/Fir/CUDA/cuda-constructor-2.f90
Log Message:
-----------
[flang][cuda] Only register module variables defined in the current translation unit (#213720)
CUFAddConstructor registered every CUF module variable mirrored in the
GPU module, including variables brought in with USE from another
translation unit. Without relocatable device code each translation unit
has its own device module, so registering a declaration binds the host
address to a module that does not contain the symbol, and a later
cudaGetSymbolAddress fails with cudaErrorInvalidSymbol or
cudaErrorSymbolNotFound. Under unified memory the same declaration is
registered as host memory, overriding the defining unit's device
registration.
Skip globals that have no initializer and no body. Non-allocatable
managed globals still register, since they go through a companion
pointer local to the translation unit.
Commit: 04a123b17c1ab097e3475da53a7e485c7b184a04
https://github.com/llvm/llvm-project/commit/04a123b17c1ab097e3475da53a7e485c7b184a04
Author: Abhinav Gaba <abhinav.gaba at intel.com>
Date: 2026-08-03 (Mon, 03 Aug 2026)
Changed paths:
M clang/docs/OpenMPSupport.md
M clang/docs/ReleaseNotes.md
M clang/lib/CodeGen/CGOpenMPRuntime.cpp
M clang/test/OpenMP/declare_mapper_codegen.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 llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M offload/test/mapping/mapper_enter_data_always_present_ptee.c
M offload/test/mapping/mapper_map_mbr_ptee_then_present_mbr_ptee.c
M offload/test/mapping/mapper_map_mbr_then_present_mbr_ptee.c
M offload/test/mapping/mapper_map_present_ptee.c
M offload/test/mapping/mapper_map_ptee_only.c
M offload/test/mapping/mapper_map_ptee_only_2_ptr_indirections.c
M offload/test/mapping/mapper_map_ptee_only_2_ptr_indirections_array.c
M offload/test/mapping/mapper_map_ptee_only_2ndlevel.c
Log Message:
-----------
[OpenMP][Clang] Enable `ATTACH`-style maps for mappers. (#210213)
This is a follow-up to #153683 to support OpenMP compliant
pointer-attachment
in `declare_mappers` via `ATTACH`-style maps.
In addition to enabling attach-style maps, we also need to propagate
information about
which map entries are for "pointee" data, i.e. have an "attach-ptr", and
thus occupy a different storage block than the base variable for which
the mapper is being generated. e.g.
```c
S sa[10];
#pragma omp declare_mapper (default: S s) map (s.x, s.p[0:10])
#pragma omp target_enter_data map(sa)
```
The entry emitted for `s.p[0:10]` is for the pointee, i.e. it does not
share storage with `s`.
Mapper codegen needs to know that the entry for `sa[1].p[0:10]`, for
example, is not a `MEMBER_OF` the map of `sa`, as it occupies its own
storage and has its own ref-count tracking etc.
Flang currently passes an unconditional `PreserveMemberofFlags` bool to
the OMPIRBuilder function, which should eventually be propagated to
using the per-entry information so that `map(s%x)` should get MEMBER_OF
during mapper codgen, but `map(s%p(1:10))` should not. Currently, the
per-entry MapInfo field is set to `false` for flang, so the change is a
no-op for it. I don't have enough flang expertise/testing resources, so
I'll let Andrew update Flang in follow-up changes.
---------
Co-authored-by: Claude Opus 4.8 <noreply at anthropic.com>
Commit: eb50d8775ce52576595b4e01583ec6e8c0842c6d
https://github.com/llvm/llvm-project/commit/eb50d8775ce52576595b4e01583ec6e8c0842c6d
Author: Prasoon Kumar <prasoonkumar054 at gmail.com>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
M llvm/utils/lit/lit/ShellEnvironment.py
M llvm/utils/lit/lit/TestRunner.py
M llvm/utils/lit/lit/builtin_commands/diff.py
Log Message:
-----------
[lit] Run builtin cat / diff in-process instead of spawning (#208024)
cat and diff are the only two builtins that still spawn a subprocess:
every cat/diff on a RUN line spawns a fresh Python interpreter, which
dominates wall time given how small lit's typical inputs are. Run them
in-process instead.
The spawned-script path stays as a fallback for now. Removing it
entirely is a follow-up PR. Output is byte-identical to the spawn path
either way.
Commit: 8f82ba2c79f4e6a69a884cc9e19bd0b8c0bbe932
https://github.com/llvm/llvm-project/commit/8f82ba2c79f4e6a69a884cc9e19bd0b8c0bbe932
Author: Kewen Meng <Kewen.Meng at amd.com>
Date: 2026-08-03 (Mon, 03 Aug 2026)
Changed paths:
M clang/include/clang/Basic/TargetID.h
M clang/lib/Basic/TargetID.cpp
M clang/lib/Basic/Targets/AMDGPU.cpp
M clang/lib/Basic/Targets/AMDGPU.h
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/OffloadBundler.cpp
M clang/lib/Driver/ToolChains/AMDGPU.cpp
M clang/lib/Driver/ToolChains/AMDGPU.h
M clang/test/OffloadTools/clang-offload-bundler/basic.c
M clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
M llvm/include/llvm/TargetParser/AMDGPUTargetParser.h
M llvm/lib/TargetParser/AMDGPUTargetParser.cpp
M llvm/unittests/TargetParser/TargetParserTest.cpp
Log Message:
-----------
Revert "clang: Use TargetID parsing from AMDGPUTargetParser" (#213824)
Reverts llvm/llvm-project#209845
verified by local reverting
unblock bots:
https://lab.llvm.org/buildbot/#/builders/234/builds/1391
https://lab.llvm.org/buildbot/#/builders/10/builds/33193
Commit: ff6d537b14d737719d6377789784d04ff9565f65
https://github.com/llvm/llvm-project/commit/ff6d537b14d737719d6377789784d04ff9565f65
Author: Kane Wang <wangqiang1 at kylinos.cn>
Date: 2026-08-03 (Mon, 03 Aug 2026)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/fp128.ll
Log Message:
-----------
[RISCV] Pick correct lround libcall for fp128 (#213220)
**LROUND** with an i32 result on rv64 chose the libcall as `f64 ?
LROUND_F64 : LROUND_F32`, so **fp128** fell through to the f32 libcall
(lroundf) and lost precision. Use `RTLIB::getLROUND`, which maps
**fp128** to lroundl.
Commit: ac19ad6217d18209bc3633ed3130db237596976d
https://github.com/llvm/llvm-project/commit/ac19ad6217d18209bc3633ed3130db237596976d
Author: Shilei Tian <i at tianshilei.me>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
M llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
M llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
M llvm/lib/Target/AMDGPU/SIPreAllocateWWMRegs.cpp
M llvm/lib/Target/AMDGPU/SIPreAllocateWWMRegs.h
M llvm/test/CodeGen/AMDGPU/schedule-amdgpu-tracker-physreg-crash.ll
M llvm/test/CodeGen/AMDGPU/sgpr-spill-vmem-large-frame.mir
R llvm/test/CodeGen/AMDGPU/wwm-regalloc-error.ll
A llvm/test/CodeGen/AMDGPU/wwm-regalloc-memory-fallback.ll
A llvm/test/CodeGen/AMDGPU/wwm-regalloc-partial-pool.mir
A llvm/test/CodeGen/AMDGPU/wwm-regalloc-preallocation-guard.mir
M llvm/test/CodeGen/MIR/AMDGPU/long-branch-reg-all-sgpr-used.ll
M llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll
M llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg-debug.ll
M llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg.ll
M llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-no-ir.mir
M llvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll
Log Message:
-----------
[AMDGPU] Support partial and empty WWM pools for SGPR spills (#213491)
SGPR lane spilling currently treats the WWM VGPR pool as all-or-nothing.
This can fail compilation when the requested pool cannot be formed, even
though scratch spilling or a smaller spillable pool could make progress.
This PR lets ordinary SGPR spills fall back to scratch when the pool is
empty and lets WWM register allocation use a nonempty partial pool. It
keeps the full-pool requirement for strict WWM/WQM and explicit
spill-carrier preallocation.
The no-pool fallback is recorded in SIMachineFunctionInfo so frame
lowering can provide enough emergency scavenging slots. The state is
also serialized to preserve the behavior across MIR round trips.
Fixes LCOMPILER-2542.
Commit: 8145c05ab3aff16bff2c124eec402239e62c1d08
https://github.com/llvm/llvm-project/commit/8145c05ab3aff16bff2c124eec402239e62c1d08
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
M clang/lib/AST/ByteCode/Compiler.cpp
M clang/lib/AST/ByteCode/Compiler.h
A clang/lib/AST/ByteCode/DeclOrExpr.h
M clang/lib/AST/ByteCode/Descriptor.cpp
M clang/lib/AST/ByteCode/Descriptor.h
M clang/lib/AST/ByteCode/EvaluationResult.cpp
M clang/lib/AST/ByteCode/EvaluationResult.h
M clang/lib/AST/ByteCode/Pointer.h
M clang/lib/AST/ByteCode/Program.cpp
M clang/lib/AST/ByteCode/Program.h
Log Message:
-----------
[clang][bytecode] Add DeclOrExpr (#213686)
And replace the previous usages of llvm::PointerUnion with this new
struct. This is currently just a refactoring but we'll later need to
have a proper type for the previos typedef so we can pass it to emit*
functions.
Commit: f7eefa802f57c6deb68e552af5e24b2eb1d0e0ac
https://github.com/llvm/llvm-project/commit/f7eefa802f57c6deb68e552af5e24b2eb1d0e0ac
Author: Shilei Tian <i at tianshilei.me>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
A llvm/test/Transforms/SimplifyCFG/AMDGPU/convergent-jump-threading.ll
Log Message:
-----------
[NFC] Pre-commit a test case for a SimplifyCFG issue (#204957)
Commit: 513a02ee150335a84c39ab2e2d0f965f1b0e260e
https://github.com/llvm/llvm-project/commit/513a02ee150335a84c39ab2e2d0f965f1b0e260e
Author: jandrovins <46629861+jandrovins at users.noreply.github.com>
Date: 2026-08-03 (Mon, 03 Aug 2026)
Changed paths:
M offload/plugins-nextgen/common/include/JIT.h
M offload/plugins-nextgen/common/src/JIT.cpp
A offload/test/jit/save_image.c
M openmp/docs/design/Runtimes.rst
Log Message:
-----------
[Offload] Save jit image (#212384)
This PR adds the envar LIBOMPTARGET_JIT_SAVE_IMAGE_FILENAME
to indicate that the device image generated after JIT compilation
should be saved to a file.
Commit: ed3d4a78ba8b23ab5d3fb629029695a03818d254
https://github.com/llvm/llvm-project/commit/ed3d4a78ba8b23ab5d3fb629029695a03818d254
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2026-08-03 (Mon, 03 Aug 2026)
Changed paths:
M lldb/include/lldb/API/SBAttachInfo.h
M lldb/include/lldb/API/SBBreakpoint.h
M lldb/include/lldb/API/SBBreakpointLocation.h
M lldb/include/lldb/API/SBCommandReturnObject.h
M lldb/include/lldb/API/SBData.h
M lldb/include/lldb/API/SBDebugger.h
M lldb/include/lldb/API/SBError.h
M lldb/include/lldb/API/SBEvent.h
M lldb/include/lldb/API/SBExecutionContext.h
M lldb/include/lldb/API/SBFrame.h
M lldb/include/lldb/API/SBFrameList.h
M lldb/include/lldb/API/SBLaunchInfo.h
M lldb/include/lldb/API/SBMemoryRegionInfo.h
M lldb/include/lldb/API/SBStream.h
M lldb/include/lldb/API/SBSymbolContext.h
M lldb/include/lldb/API/SBTarget.h
M lldb/include/lldb/API/SBThread.h
M lldb/include/lldb/API/SBValue.h
M lldb/include/lldb/Interpreter/Interfaces/ScriptedFrameInterface.h
M lldb/include/lldb/Interpreter/ScriptInterpreter.h
M lldb/include/lldb/Utility/StreamString.h
M lldb/include/lldb/lldb-forward.h
M lldb/source/API/CMakeLists.txt
A lldb/source/API/ScriptInterpreterBridge.cpp
A lldb/source/API/ScriptInterpreterBridge.h
M lldb/source/Interpreter/CMakeLists.txt
M lldb/source/Interpreter/ScriptInterpreter.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp
Log Message:
-----------
[lldb/Interpreter] Remove Interpreter's layering dependency on API (#213754)
Commit: 1e9c8ce9c6aca205a7cff2e3530ab759a1b691f1
https://github.com/llvm/llvm-project/commit/1e9c8ce9c6aca205a7cff2e3530ab759a1b691f1
Author: Jianhui Li <jian.hui.li at intel.com>
Date: 2026-08-03 (Mon, 03 Aug 2026)
Changed paths:
M mlir/lib/Conversion/VectorToXeGPU/VectorToXeGPU.cpp
M mlir/test/Conversion/VectorToXeGPU/gather-to-xegpu.mlir
M mlir/test/Conversion/VectorToXeGPU/scatter-to-xegpu.mlir
M mlir/test/Conversion/VectorToXeGPU/transfer-read-to-xegpu.mlir
M mlir/test/Conversion/VectorToXeGPU/transfer-write-to-xegpu.mlir
Log Message:
-----------
[mlir][xegpu] Lower 1D vector transfers to scattered load/store (#213469)
Both 1D vector.transfer_read / vector.transfer_write now lower to the
scattered xegpu.load / xegpu.store path instead of xegpu.load_nd /
xegpu.store_nd. We reserve the nd block path for rank ≥ 2 vectors.
Cleanup Test: Where both RUN configurations (with and without
--xevm-attach-target) produce identical IR for a function, the
duplicated LOAD-ND/LOAD-GATHER (and STORE-ND/STORE-SCATTER) check blocks
are collapsed into a single shared CHECK block.
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply at anthropic.com>
Commit: f914343e531e2feb35e29bab1c42e103ab15aaf5
https://github.com/llvm/llvm-project/commit/f914343e531e2feb35e29bab1c42e103ab15aaf5
Author: Shilei Tian <i at tianshilei.me>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/test/Transforms/SimplifyCFG/AMDGPU/convergent-jump-threading.ll
Log Message:
-----------
[SimplifyCFG] Do not thread branches into uncontrolled convergent regions (#204958)
SimplifyCFG's foldCondBranchOnValueKnownInPredecessor redirects a
predecessor edge around a block whose branch condition is known on that
edge. When the bypassed block and the threading destination are on a
common cycle, this can change the cycle structure and with it the
dynamic instance of an uncontrolled convergent operation inside that
cycle.
On targets with branch divergence, this PR skips the candidate when the
destination can reach an uncontrolled convergent call on a path back to
the bypassed block. Operations using convergence control tokens are left
alone.
Fixes ROCM-26496.
Commit: 73817e6a9279833e53fb9ccca3158ed987c4ad61
https://github.com/llvm/llvm-project/commit/73817e6a9279833e53fb9ccca3158ed987c4ad61
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2026-08-03 (Mon, 03 Aug 2026)
Changed paths:
M clang/lib/CodeGen/ItaniumCXXABI.cpp
M clang/test/CodeGenCXX/wasm-eh.cpp
Log Message:
-----------
[WebAssembly] Add funclet bundle to thread local wrapper calls (#213826)
When accessing a thread local variable, Clang generates a thread local
wrapper function that checks if the variable has been initialized, and
if it isn't, initializes it. This is a function call, so if this is
within a funclet (i.e., within a `catchpad` or `cleanuppad`), it needs
the funclet bundle argument, which was missing before. If it lacks a
funclet argument, it will be considered invalid and removed in
WinEHPrepare.
Fixes https://github.com/emscripten-core/emscripten/issues/27448.
Commit: e0d809fc8442bc90af49b423ea6e9786fd2d3512
https://github.com/llvm/llvm-project/commit/e0d809fc8442bc90af49b423ea6e9786fd2d3512
Author: Abhinav Gaba <abhinav.gaba at intel.com>
Date: 2026-08-03 (Mon, 03 Aug 2026)
Changed paths:
M clang/include/clang/Basic/TargetID.h
M clang/lib/AST/ByteCode/Compiler.cpp
M clang/lib/AST/ByteCode/Compiler.h
A clang/lib/AST/ByteCode/DeclOrExpr.h
M clang/lib/AST/ByteCode/Descriptor.cpp
M clang/lib/AST/ByteCode/Descriptor.h
M clang/lib/AST/ByteCode/EvaluationResult.cpp
M clang/lib/AST/ByteCode/EvaluationResult.h
M clang/lib/AST/ByteCode/Pointer.h
M clang/lib/AST/ByteCode/Program.cpp
M clang/lib/AST/ByteCode/Program.h
M clang/lib/Basic/TargetID.cpp
M clang/lib/Basic/Targets/AMDGPU.cpp
M clang/lib/Basic/Targets/AMDGPU.h
M clang/lib/CodeGen/ItaniumCXXABI.cpp
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/OffloadBundler.cpp
M clang/lib/Driver/ToolChains/AMDGPU.cpp
M clang/lib/Driver/ToolChains/AMDGPU.h
M clang/test/CodeGenCXX/wasm-eh.cpp
M clang/test/OffloadTools/clang-offload-bundler/basic.c
M clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
M flang/lib/Optimizer/Transforms/CUDA/CUFAddConstructor.cpp
M flang/test/Fir/CUDA/cuda-constructor-2.f90
M lldb/include/lldb/API/SBAttachInfo.h
M lldb/include/lldb/API/SBBreakpoint.h
M lldb/include/lldb/API/SBBreakpointLocation.h
M lldb/include/lldb/API/SBCommandReturnObject.h
M lldb/include/lldb/API/SBData.h
M lldb/include/lldb/API/SBDebugger.h
M lldb/include/lldb/API/SBError.h
M lldb/include/lldb/API/SBEvent.h
M lldb/include/lldb/API/SBExecutionContext.h
M lldb/include/lldb/API/SBFrame.h
M lldb/include/lldb/API/SBFrameList.h
M lldb/include/lldb/API/SBLaunchInfo.h
M lldb/include/lldb/API/SBMemoryRegionInfo.h
M lldb/include/lldb/API/SBStream.h
M lldb/include/lldb/API/SBSymbolContext.h
M lldb/include/lldb/API/SBTarget.h
M lldb/include/lldb/API/SBThread.h
M lldb/include/lldb/API/SBValue.h
M lldb/include/lldb/Interpreter/Interfaces/ScriptedFrameInterface.h
M lldb/include/lldb/Interpreter/ScriptInterpreter.h
M lldb/include/lldb/Utility/StreamString.h
M lldb/include/lldb/lldb-forward.h
M lldb/source/API/CMakeLists.txt
A lldb/source/API/ScriptInterpreterBridge.cpp
A lldb/source/API/ScriptInterpreterBridge.h
M lldb/source/Interpreter/CMakeLists.txt
M lldb/source/Interpreter/ScriptInterpreter.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp
A llvm/docs/AlignedBundling.rst
M llvm/docs/Reference.md
M llvm/include/llvm/ADT/Hashing.h
M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
M llvm/include/llvm/MC/MCAsmBackend.h
M llvm/include/llvm/MC/MCAssembler.h
M llvm/include/llvm/MC/MCELFStreamer.h
M llvm/include/llvm/MC/MCObjectStreamer.h
M llvm/include/llvm/MC/MCSection.h
M llvm/include/llvm/MC/MCStreamer.h
M llvm/include/llvm/TargetParser/AMDGPUTargetParser.h
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/MC/MCAsmStreamer.cpp
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCELFStreamer.cpp
M llvm/lib/MC/MCFragment.cpp
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/MC/MCParser/AsmParser.cpp
M llvm/lib/MC/MCStreamer.cpp
M llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
M llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
M llvm/lib/Target/AMDGPU/SIPreAllocateWWMRegs.cpp
M llvm/lib/Target/AMDGPU/SIPreAllocateWWMRegs.h
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
M llvm/lib/TargetParser/AMDGPUTargetParser.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/test/CodeGen/AMDGPU/schedule-amdgpu-tracker-physreg-crash.ll
M llvm/test/CodeGen/AMDGPU/sgpr-spill-vmem-large-frame.mir
R llvm/test/CodeGen/AMDGPU/wwm-regalloc-error.ll
A llvm/test/CodeGen/AMDGPU/wwm-regalloc-memory-fallback.ll
A llvm/test/CodeGen/AMDGPU/wwm-regalloc-partial-pool.mir
A llvm/test/CodeGen/AMDGPU/wwm-regalloc-preallocation-guard.mir
M llvm/test/CodeGen/MIR/AMDGPU/long-branch-reg-all-sgpr-used.ll
M llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll
M llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg-debug.ll
M llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-long-branch-reg.ll
M llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-no-ir.mir
M llvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll
M llvm/test/CodeGen/RISCV/fp128.ll
A llvm/test/MC/X86/AlignedBundling/asm-printing-bundle-directives.s
A llvm/test/MC/X86/AlignedBundling/bundle-after-relax.s
A llvm/test/MC/X86/AlignedBundling/bundle-align-to-end-lock.s
A llvm/test/MC/X86/AlignedBundling/bundle-errors.s
A llvm/test/MC/X86/AlignedBundling/bundle-inst.s
A llvm/test/MC/X86/AlignedBundling/bundle-lock.s
A llvm/test/MC/X86/AlignedBundling/bundle-relax-all.s
A llvm/test/MC/X86/AlignedBundling/long-nop-pad.s
A llvm/test/MC/X86/AlignedBundling/prefix-padding.s
A llvm/test/MC/X86/AlignedBundling/relax-for-prefix-padding.s
A llvm/test/MC/X86/AlignedBundling/section.s
A llvm/test/Transforms/SimplifyCFG/AMDGPU/convergent-jump-threading.ll
M llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
M llvm/unittests/TargetParser/TargetParserTest.cpp
M llvm/utils/gn/secondary/lldb/source/Utility/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn
M llvm/utils/lit/lit/ShellEnvironment.py
M llvm/utils/lit/lit/TestRunner.py
M llvm/utils/lit/lit/builtin_commands/diff.py
M mlir/docs/Rationale/SideEffectsAndSpeculation.md
M mlir/include/mlir/Interfaces/SideEffectInterfaceBase.td
M mlir/include/mlir/TableGen/SideEffects.h
M mlir/lib/Conversion/VectorToXeGPU/VectorToXeGPU.cpp
M mlir/lib/TableGen/SideEffects.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Conversion/VectorToXeGPU/gather-to-xegpu.mlir
M mlir/test/Conversion/VectorToXeGPU/scatter-to-xegpu.mlir
M mlir/test/Conversion/VectorToXeGPU/transfer-read-to-xegpu.mlir
M mlir/test/Conversion/VectorToXeGPU/transfer-write-to-xegpu.mlir
M mlir/test/IR/test-side-effects.mlir
A mlir/test/Target/LLVMIR/omptarget-declare-target-module-rewrite-device.mlir
M mlir/test/lib/Dialect/Test/TestOps.td
M mlir/test/lib/IR/TestSideEffects.cpp
M mlir/test/mlir-tblgen/op-side-effects.td
M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
M offload/plugins-nextgen/common/include/JIT.h
M offload/plugins-nextgen/common/src/JIT.cpp
A offload/test/jit/save_image.c
M openmp/docs/design/Runtimes.rst
Log Message:
-----------
Merge remote-tracking branch 'upstream/main' into add-data-motion-map-type-bit
# Conflicts:
# clang/lib/CodeGen/CGOpenMPRuntime.cpp
# clang/test/OpenMP/target_map_nested_ptr_member_mapper_codegen.cpp
# offload/test/mapping/mapper_map_mbr_then_present_mbr_ptee.c
Compare: https://github.com/llvm/llvm-project/compare/0dde5f20f5a9...e0d809fc8442
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