[all-commits] [llvm/llvm-project] 266897: [AArch64][ISel] Enable profile-aware branch condit...
Krzysztof Parzyszek via All-commits
all-commits at lists.llvm.org
Wed Jun 24 16:06:48 PDT 2026
Branch: refs/heads/users/kparzysz/c01-clause-check
Home: https://github.com/llvm/llvm-project
Commit: 2668971e14219205ddf6b1f753cf83f7cb22022a
https://github.com/llvm/llvm-project/commit/2668971e14219205ddf6b1f753cf83f7cb22022a
Author: Kunal Pathak <kunalspathak.github at gmail.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/test/CodeGen/AArch64/andorbrcompare.ll
M llvm/test/CodeGen/AArch64/arm64-ccmp.ll
M llvm/test/CodeGen/AArch64/arm64_32.ll
A llvm/test/CodeGen/AArch64/br-cond-merging-cbz-tbnz.ll
A llvm/test/CodeGen/AArch64/br-cond-merging-fccmp.ll
M llvm/test/CodeGen/AArch64/br-cond-not-merge.ll
M llvm/test/CodeGen/AArch64/fcvt-i256.ll
M llvm/test/CodeGen/AArch64/lr-reserved-for-ra-live-in.ll
M llvm/test/CodeGen/AArch64/machine_cse.ll
M llvm/test/CodeGen/AArch64/peephole-and-tst.ll
M llvm/test/CodeGen/AArch64/pr166870.ll
M llvm/test/CodeGen/AArch64/ragreedy-csr.ll
M llvm/test/CodeGen/AArch64/tbl-loops.ll
M llvm/test/CodeGen/AArch64/tbz-tbnz.ll
M llvm/test/CodeGen/AArch64/umulo-128-legalisation-lowering.ll
M llvm/test/DebugInfo/AArch64/instr-ref-target-hooks.ll
Log Message:
-----------
[AArch64][ISel] Enable profile-aware branch condition merging (#201486)
AArch64 previously inherited the default {-1, -1, -1} for
`getJumpConditionMergingParams`, causing
`shouldKeepJumpConditionsTogether` in SelectionDAGBuilder to always
return false. This meant compound branch conditions (br (and/or cond1,
cond2)) were always split into separate basic blocks at the DAG level,
and profile data from BranchProbabilityInfo was never consulted for the
merge/split decision.
Override `getJumpConditionMergingParams` in AArch64TargetLowering with
tunable cl::opt parameters matching the X86 structure. Since `CCMP` is
part of the base AArch64 ISA, the `CCMP` bias is applied
unconditionally. Default values: `BaseCost=2, CcmpBias=6 (effective
threshold 8), LikelyBias=0, UnlikelyBias=-1`.
This enables three improvements:
1. Profile-guided merge/split decisions using BranchProbabilityInfo
2. Smarter compare ordering at the DAG level (e.g., placing large
immediates in CMP and small ones in CCMP to respect the 0-31 immediate
range)
3. Branch elimination in cases like (a == 5 || b == 32) where the
post-ISel CCMP pass previously could not merge due to immediate range
constraints
Godbolt: https://godbolt.org/z/99d8cnKx8
(note: I am not sure why godbolt is not showing the compiler I saved,
but essentially the example shows the comparison of aarch64 clang vs.
gcc with `-O3` flags)
---------
Co-authored-by: Kunal Pathak <kupathak at fb.com>
Commit: 1cf9b9556f4ad0a02f58016538f08339c85725a0
https://github.com/llvm/llvm-project/commit/1cf9b9556f4ad0a02f58016538f08339c85725a0
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
A llvm/test/tools/llubi/infinite_loop_error_only.ll
M llvm/tools/llubi/llubi.cpp
Log Message:
-----------
[llubi] Always print out error message (#205573)
When `--verbose` is not specified, the error message and UB reason are
omitted. However, this information is still useful for test oracles. For
example, the fuzzer may skip the seed when it runs out of time.
BTW, the stack trace is always dumped. Not sure if it is intended or
not.
Commit: b24a5f51aebda635c50b92d9245613234bdd5328
https://github.com/llvm/llvm-project/commit/b24a5f51aebda635c50b92d9245613234bdd5328
Author: vangthao95 <vang.thao at amd.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalize.cpp
M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeHelper.cpp
M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeHelper.h
M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.h
M llvm/test/CodeGen/AMDGPU/llvm.get.rounding.ll
M llvm/test/CodeGen/AMDGPU/llvm.set.rounding.ll
Log Message:
-----------
AMDGPU/GlobalISel: Implement G_GET/SET_ROUNDING (#205265)
Implement G_GET/SET_ROUNDING for the llvm.get.rounding and
llvm.set.rounding intrinsics.
The lowering is ported from the existing SelectionDAG handling, keeping
the structure close to the SDAG implementation.
Assisted by: Claude Opus 4.8
Commit: 68192737824cd28410a4c02affde86971b8cb10d
https://github.com/llvm/llvm-project/commit/68192737824cd28410a4c02affde86971b8cb10d
Author: Zeyi Xu <mitchell.xu2 at gmail.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M clang/lib/Sema/SemaLifetimeSafety.h
M clang/test/Sema/LifetimeSafety/annotation-suggestions-fixits.cpp
Log Message:
-----------
[LifetimeSafety] Cache lifetimebound macro lookup (#205250)
Cache lifetimebound macro spelling lookup used by fix-it suggestions.
Current cache strategy:
- During cache build, collect macro names that have ever been defined as
a lifetimebound attribute spelling.
- During lookup, only visit those cached macro names, find the active
definition at the fix-it location, and re-check that the active
definition still has lifetimebound spelling.
- If multiple matching macros are active at the fix-it location, use the
most recently defined one.
Performance:
| Case | Before 359bfe6 | 359bfe6| After Cached |
|-------------------------------------------------------------|----------------:|---------------:|-------------:|
| C++ no diagnostics (8k macros, 5k safe functions) | 42.5 ms | 44.2 ms
| 47.0 ms |
| C++ 10 diagnostics, 8k macros | 23.2 ms | 23.4 ms | 17.5 ms |
| C++ 200 diagnostics, macro passed via command line option | 24.8 ms |
24.6 ms | 29.3 ms |
| C++ 200 diagnostics, 8k macros | 26.3 ms | 41.7 ms | 27.9 ms |
| C++ stress: 1000 diagnostics, 20k macros, no matching macro
(simulating worst case scenario) | 40.8 ms | 386.7 ms | 78.9 ms |
AI Usage: Performance experiment assisted by Codex.
Follow up of https://github.com/llvm/llvm-project/pull/204045
Commit: 779c908014f73aee3b228d24572845dc1178e85f
https://github.com/llvm/llvm-project/commit/779c908014f73aee3b228d24572845dc1178e85f
Author: Cheng Lingfei <53817093+clingfei at users.noreply.github.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/i128-cmp.ll
Log Message:
-----------
[AArch64] Recombine SETCCCARRY for legalized unsigned compares (#204504)
Type legalization can turn wide unsigned compares into SETCCCARRY nodes
fed by USUBO carry results, hiding the original high/low compare shape
from the existing CCMP conjunction/disjunction lowering.
Add an AArch64 DAG combine for SETCCCARRY that recognizes these
legalized wide-compare patterns and rebuilds them as SETCC plus AND/OR,
exposing them to the existing CCMP lowering.
This is separated from https://github.com/llvm/llvm-project/pull/181822.
Commit: 916a974941fbac24889e9c2da1972bd221d0055e
https://github.com/llvm/llvm-project/commit/916a974941fbac24889e9c2da1972bd221d0055e
Author: Federico Bruzzone <federico.bruzzone.i at gmail.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M mlir/include/mlir/Dialect/MemRef/Utils/MemRefUtils.h
M mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
M mlir/lib/Dialect/MemRef/Utils/MemRefUtils.cpp
M mlir/lib/Dialect/Vector/IR/CMakeLists.txt
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
M mlir/test/Dialect/Vector/invalid.mlir
Log Message:
-----------
[mlir][vector] reject negative strides for `vector.load`/`vector.store` (#204611)
This PR follows up #204309 and #204309.
It simply rejects negative strides for vector.load/vector.store :D
AI Disclaimer: I used AI for the tests.
---------
Signed-off-by: Federico Bruzzone <federico.bruzzone.i at gmail.com>
Co-authored-by: Andrzej Warzyński <andrzej.warzynski at gmail.com>
Commit: 25a6b5be6853b2c493ef392d41e43dd35ad4839a
https://github.com/llvm/llvm-project/commit/25a6b5be6853b2c493ef392d41e43dd35ad4839a
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
A cross-project-tests/debuginfo-tests/dexter/dex/evaluation/ExpectRewriter.py
M cross-project-tests/debuginfo-tests/dexter/dex/test_script/Script.py
M cross-project-tests/debuginfo-tests/dexter/dex/tools/ToolBase.py
M cross-project-tests/debuginfo-tests/dexter/dex/tools/test/Tool.py
A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/rewrite_expect_list_expected.cpp
A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/rewrite_expects_expected.cpp
A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/rewrite_multiple_scripts_expected.cpp
A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/simple_prog.cpp
A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/whole_file_test.dex
A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/whole_file_test_expected.dex
A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/rewrite_expect_list.cpp
A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/rewrite_expects.cpp
A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/rewrite_multiple_scripts.cpp
A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/whole_file.test
Log Message:
-----------
[Dexter] Add ability to rewrite scripts to fill-in unknown values (#202799)
This patch adds a feature to Dexter that allows scripts to be passed to
Dexter with missing expected values (`null` values in YAML), which
Dexter will attempt to "fill-in" with expected values that match the
debugger's actual output. The result is written to a file with the same
name as the original test file, in the directory given by
--results-directory if one is present; all content outside of the Dexter
script itself is preserved exactly as-is.
NB: Each test in this patch has a corresponding "expected" file, which
is almost identical (including the `RUN` lines), and exists to be
`diff`'d against the output of Dexter's script generation.
Commit: d63ecaa12cc1fa204b54e7c3b1520d004041e9b8
https://github.com/llvm/llvm-project/commit/d63ecaa12cc1fa204b54e7c3b1520d004041e9b8
Author: VladimirMedic <Vladimir.Medic at amd.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/docs/CommandGuide/llvm-objdump.rst
A llvm/test/tools/llvm-objdump/X86/source-path.test
M llvm/tools/llvm-objdump/ObjdumpOpts.td
M llvm/tools/llvm-objdump/SourcePrinter.cpp
M llvm/tools/llvm-objdump/llvm-objdump.cpp
M llvm/tools/llvm-objdump/llvm-objdump.h
Log Message:
-----------
[llvm-objdump] Add --substitute-path and --source-dir for --source (#201096)
When the code object was compiled on a different machine that does not
have the same directory structure, or the source code has been moved, we
are seeing a warning with the disassembler, stating that the files
embedded in the code object were not found on disk.
This patch introduces a command line options for llvm-objdump, which
provide alternate directory locations to locate the source files on
disk. These options are inspired by GDB commands _set directory_ and
_set substitute-path_.
--substitute-path — Takes two strings, _from_ and _to_, and do a simple
string replacement of from with to at the start of the directory part of
the source file name, then use that result instead of the original file
name to look up the sources. A rule applies only if _from_ ends at a
directory separator.
--source-dir — Add directories to the source search path. Directories
are searched in following order: original recorded path, source-dir +
relative recorded path or absolute path without root, source-dir +
basename.
Commit: 2750294d90d6e76f49583eead7c9db2e8075149b
https://github.com/llvm/llvm-project/commit/2750294d90d6e76f49583eead7c9db2e8075149b
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M libcxx/include/__cxx03/__config
M libcxx/include/__cxx03/__type_traits/datasizeof.h
M libcxx/test/libcxx-03/type_traits/datasizeof.compile.pass.cpp
Log Message:
-----------
[libc++][C++03] Cherry-pick #106832 (#205547)
Commit: 6d8d32a242d1ef792c4c08f9aebc7659a15a7c41
https://github.com/llvm/llvm-project/commit/6d8d32a242d1ef792c4c08f9aebc7659a15a7c41
Author: vitbur <vittorioburani at gmail.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td
A llvm/test/MC/RISCV/corev/XCVbi-long-branch.s
Log Message:
-----------
[RISCV][XCV] Relax long `cv.beqimm`/`cv.bneimm` branches (#205096)
`cv.beqimm` and `cv.bneimm` encode their target as a 13-bit signed
PC-relative offset (+/-4094 bytes). Branches beyond that range were
silently truncated by MC fixup application, producing wrong code with no
diagnostic. Add `PseudoLongCV_BEQIMM`/`PseudoLongCV_BNEIMM` and the
MC-layer relaxation flow (inverted short branch + JAL trampoline),
mirroring the standard B-type and Qualcomm Xqcibi vendor branches.
**Tests:** `xcvbi-branch-relax.ll` (uses `-filetype=obj | llvm-objdump`,
since MC-layer relaxation is only observable on object emission, not on
textual asm).
Split out of #204879 at review request (one fix per PR).
Part of a CORE-V (XCV) series; see RFC:
https://discourse.llvm.org/t/rfc-core-v-xcv-support-for-cv32e40p-clang-builtins-xcvsimd-intrinsics-and-generic-auto-selection/91111
Commit: 3ae3fa4642b7e9acd7167014ce6ed395186f99f7
https://github.com/llvm/llvm-project/commit/3ae3fa4642b7e9acd7167014ce6ed395186f99f7
Author: lonely eagle <2020382038 at qq.com>
Date: 2026-06-25 (Thu, 25 Jun 2026)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
M mlir/test/Target/LLVMIR/Import/intrinsic.ll
M mlir/test/Target/LLVMIR/llvmir-intrinsics.mlir
Log Message:
-----------
[mlir][llvm] Add nontemporal field to llvm.intr.masked.store (#205566)
Add `nontemporal` field to `llvm.intr.masked.store`. Since `nontemporal`
is a missing field for `llvm.intr.masked.store`, you can refer to
https://github.com/llvm/llvm-project/blob/e68e8d35c91b4fd3ba0ae3ef12d79b41d92580b2/llvm/test/CodeGen/AArch64/sve-nontemporal-masked-ldst.ll#L28.
---------
Co-authored-by: Tobias Gysi <tobias.gysi at nextsilicon.com>
Commit: a7f5b5550655a2af0fc1fe9da579e5706713195d
https://github.com/llvm/llvm-project/commit/a7f5b5550655a2af0fc1fe9da579e5706713195d
Author: Charles Zablit <c_zablit at apple.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py
Log Message:
-----------
[lldb-dap][test] Re-enable test_by_name_waitFor on Windows (#205570)
`test_by_name_waitFor` passes with `LLDB_USE_LLDB_SERVER=1`.
`test_by_partial_name_waitFor` hangs on exit. Skip if for now.
rdar://180515488
Commit: 41b1d3cdaebb9b771d60f62b0dfb6a507c26a6a3
https://github.com/llvm/llvm-project/commit/41b1d3cdaebb9b771d60f62b0dfb6a507c26a6a3
Author: Akash Banerjee <akash.banerjee at amd.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M flang/include/flang/Semantics/openmp-utils.h
M flang/lib/Semantics/check-omp-structure.cpp
M flang/lib/Semantics/check-omp-structure.h
M flang/lib/Semantics/openmp-utils.cpp
A flang/test/Semantics/OpenMP/target-enter-data-temp-descriptor-omp61.f90
A flang/test/Semantics/OpenMP/target-enter-data-temp-descriptor.f90
Log Message:
-----------
[Flang][OpenMP][Sema] Add OpenMP warning when mapping local descriptors to device on enter without a corresponding exit (#205580)
Reland https://github.com/llvm/llvm-project/pull/201060. Issues reported
in https://github.com/llvm/llvm-project/pull/203324 have now been
resolved.
Authored-by: agozillon <Andrew.Gozillon at amd.com>
Commit: a6f8c9c427d8add6715b69ba41e1fff83500494f
https://github.com/llvm/llvm-project/commit/a6f8c9c427d8add6715b69ba41e1fff83500494f
Author: Mel Chen <mel.chen at sifive.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/test/Transforms/LoopVectorize/iv_outside_user.ll
Log Message:
-----------
[LV] Pre-commit test for live-out derivation requiring VPExpandSCEVRecipe. nfc (#204350)
Commit: aea73b4ef88ed47e9237d6949563325d12c4c7ba
https://github.com/llvm/llvm-project/commit/aea73b4ef88ed47e9237d6949563325d12c4c7ba
Author: Kseniya Tikhomirova <kseniya.tikhomirova at intel.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M libsycl/src/detail/global_objects.cpp
M libsycl/src/detail/global_objects.hpp
M libsycl/src/detail/offload/offload_topology.cpp
M libsycl/src/detail/platform_impl.cpp
M libsycl/src/detail/platform_impl.hpp
M libsycl/src/detail/program_manager.cpp
M libsycl/src/detail/program_manager.hpp
M libsycl/src/device_selector.cpp
M libsycl/unittests/CMakeLists.txt
A libsycl/unittests/common/unittests_helper.hpp
A libsycl/unittests/device_selector/CMakeLists.txt
A libsycl/unittests/device_selector/get_device_preference.cpp
M libsycl/unittests/mock/helpers.hpp
Log Message:
-----------
[libsycl] add heuristics to prefer devices with compatible images (#203530)
Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova at intel.com>
Commit: 62c0effca5cfeba39422a7342ba9bf816649bd79
https://github.com/llvm/llvm-project/commit/62c0effca5cfeba39422a7342ba9bf816649bd79
Author: forking-google-bazel-bot[bot] <265904573+forking-google-bazel-bot[bot]@users.noreply.github.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[Bazel] Fixes 916a974 (#205583)
This fixes 916a974941fbac24889e9c2da1972bd221d0055e.
Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
Commit: 6a15e2d75623860436271e52513cc2ca43991e70
https://github.com/llvm/llvm-project/commit/6a15e2d75623860436271e52513cc2ca43991e70
Author: Joseph Huber <huberjn at outlook.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M offload/plugins-nextgen/common/src/PluginInterface.cpp
Log Message:
-----------
[Offload] Fix ordering with RPC teardown and global destructors (#205594)
Summary:
There's a bit of a chicken and egg problem for the RPC server if we want
to do something creative with the device's image for things like DWARF
dumping. The problem was that destructors can make RPC calls, but the
RPC server also needed the images to be valid. Simple fix is to just
split the destructor calling out and do it first so we can deinitialize
RPC with valid device images.
Commit: 9adac330f2d134511461376bdbab31d0048bf802
https://github.com/llvm/llvm-project/commit/9adac330f2d134511461376bdbab31d0048bf802
Author: A. Jiang <de34 at live.cn>
Date: 2026-06-25 (Thu, 25 Jun 2026)
Changed paths:
M libcxx/include/__locale_dir/wbuffer_convert.h
M libcxx/include/__locale_dir/wstring_convert.h
M libcxx/test/extensions/libcxx/localization/locale.convenience/conversions/conversions.string/ctor_move.pass.cpp
M libcxx/test/libcxx/localization/nodiscard.verify.cpp
Log Message:
-----------
[libc++] Apply `[[nodiscard]]` to `wstring_convert`, `wbuffer_convert` (#205486)
`[[nodiscard]]` should be applied to functions where discarding the
return value is most likely a correctness issue.
- https://libcxx.llvm.org/CodingGuidelines.html
- https://timsong-cpp.github.io/cppwp/n4950/depr.conversions.string
- https://timsong-cpp.github.io/cppwp/n4950/depr.conversions.buffer
Commit: 55b45709a85ccce1fcc768a458179832b030218a
https://github.com/llvm/llvm-project/commit/55b45709a85ccce1fcc768a458179832b030218a
Author: Paul Osmialowski <pawel.osmialowski at arm.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M bolt/runtime/common.h
Log Message:
-----------
[BOLT] Increase BufSize in runtime/common.h (#204607)
During my work towards bolring the flang binary, I've encountered a
frequently occuring problem with running out of the buffer space.
The problem affects C++ programs with a decent number of very long
symbol names, which is inevitable when using template metaprogramming.
As one can clearly see, flang is one of such programs.
The proposed BufSize value is an effect of the trial-and-error process
aiming at finiding the smallest reasonable increase.
Commit: 44409a06cffd8271bce7bf075ce4f4d4552c35ad
https://github.com/llvm/llvm-project/commit/44409a06cffd8271bce7bf075ce4f4d4552c35ad
Author: Paul Osmialowski <pawel.osmialowski at arm.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M clang/CMakeLists.txt
A flang/cmake/caches/BOLT-PGO.cmake
A flang/cmake/caches/BOLT.cmake
A flang/cmake/caches/PGO-stage2-instrumented.cmake
A flang/cmake/caches/PGO-stage2.cmake
A flang/cmake/caches/PGO.cmake
M flang/test/CMakeLists.txt
M flang/test/Driver/offload-device.f90
A flang/test/bolt.lit.cfg
M flang/test/lit.cfg.py
M flang/test/lit.site.cfg.py.in
A flang/test/pgo.lit.cfg
A flang/test/test.lit.cfg
M llvm/docs/AdvancedBuilds.rst
Log Message:
-----------
[flang][cmake][perf-training] Optimize flang with PGO and BOLT (#198863)
This is an attempt to replicate similar fearture already available to
clang. The changes in this patch were made with an intent to reuse as
much of existing infrastructure as possible. Namely, two-stage build
arrangement, perf-helper.py script and the means for building of the
instrumented binaries have all been incorporated into this approach.
It was deliberately chosen to optimize clang along with flang as they
are mostly working together in the final toolchain.
See the `llvm/docs/AdvancedBuilds.rst` documentation for more details.
Note that the attempt to optimize flang has exceeded one of the BOLT
limitations. The size of one of the statically allocated buffers needed
to be extended in this patch.
Commit: 768ad6158a33778e5a4616b448b3952e84fce45e
https://github.com/llvm/llvm-project/commit/768ad6158a33778e5a4616b448b3952e84fce45e
Author: Leandro Lupori <leandro.lupori at linaro.org>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
A mlir/test/Target/LLVMIR/openmp-wsloop-linear.mlir
Log Message:
-----------
[mlir][OpenMP] Don't use label prefixes on linear variable rewrite (#200900)
This is a follow-up to #194623. After that PR, matching specific label
prefixes became unnecessary. In fact, doing so could potentially lead
to missed linear variables in the rewrite, if they appear in basic
blocks with unexpected label prefixes.
Commit: 618edfa7050ed521b29f500782f17a6ab4e01136
https://github.com/llvm/llvm-project/commit/618edfa7050ed521b29f500782f17a6ab4e01136
Author: Lucas Mellone <github.snugness349 at passinbox.com>
Date: 2026-06-25 (Thu, 25 Jun 2026)
Changed paths:
M libcxx/include/__ranges/transform_view.h
R libcxx/test/libcxx/ranges/range.adaptors/range.transform/adaptor.nodiscard.verify.cpp
A libcxx/test/libcxx/ranges/range.adaptors/range.transform/nodiscard.verify.cpp
Log Message:
-----------
[libc++][ranges] Applied [[nodiscard]] to `transform_view` (#204014)
[[nodiscard]] should be applied to functions where discarding the return
value is most likely a correctness issue.
- https://libcxx.llvm.org/CodingGuidelines.html
- https://wg21.link/range.transform
Towards https://github.com/llvm/llvm-project/issues/172124
---------
Co-authored-by: A. Jiang <de34 at live.cn>
Co-authored-by: Hristo Hristov <zingam at outlook.com>
Commit: f4a8eb0a6ea0dd268a23aa08cf0384c6f8542172
https://github.com/llvm/llvm-project/commit/f4a8eb0a6ea0dd268a23aa08cf0384c6f8542172
Author: EuphoricThinking <agata.momot at intel.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M offload/liboffload/API/Memory.td
M offload/liboffload/src/OffloadImpl.cpp
M offload/plugins-nextgen/amdgpu/src/rtl.cpp
M offload/plugins-nextgen/common/include/MemoryManager.h
M offload/plugins-nextgen/common/include/PluginInterface.h
M offload/plugins-nextgen/common/src/PluginInterface.cpp
M offload/plugins-nextgen/cuda/src/rtl.cpp
M offload/plugins-nextgen/host/src/rtl.cpp
M offload/plugins-nextgen/level_zero/include/L0Device.h
M offload/plugins-nextgen/level_zero/src/L0Device.cpp
M offload/unittests/OffloadAPI/CMakeLists.txt
A offload/unittests/OffloadAPI/memory/olMemAllocAligned.cpp
Log Message:
-----------
[offload] add support for aligned allocations (#203353)
This patch is the first step towards introducing alignment support in
memory allocations using liboffload, in order to enable SYCL
implementation of aligned allocations.
At the level of device allocators, it does not modify the Level Zero
code except for forwarding the alignment parameter, since Level Zero
already allows for specifying the alignment in its device allocator
implementation. For AMD and CUDA, it checks whether the alignment passed
by the caller is supported by the given backend; the reasoning behind
this verification is described in the following paragraphs. At the API
level, it adds a new function olMemAllocAligned, which is expected to
work similarly to olMemAlloc, with the difference that the buffers
returned by olMemAllocAligned should be aligned to the alignment passed
by the user. At the level of the plugin interface internal abstractions,
it adds a new argument Alignment to existing functions and delegates
memory allocation between olMemAllocAligned and olMemAlloc
implementations by using a common helper function.
The goal of the anticipated series of patches is to implement handling
of the alignment in the memory manager at the plugin interface level. At
the first stage, presented in this patch, the information about the
passed alignment is used mainly for checking whether the buffer returned
by the device allocators meets the requirements. In the case of the
requested memory size exceeding the thresholds of allocations handled by
the memory manager, the request is forwarded directly to the device.
Otherwise, the memory manager is responsible for allocating memory in
full pages and pooling it according to the requested chunks. In the
first scenario, the requested size, which is greater than the
aforementioned threshold, is usually a multiple of the page size.
Therefore, any alignment smaller than the page size would be correct.
Neither CUDA nor HSA provides users with the ability to specify the
alignment of the allocated memory. Their APIs include the alignment as
one of the possible arguments only in functions that reserve virtual
address space. CUDA enables users only to check the allocation
granularity, which is usually synonymous with the page size. In the case
of HSA, if the memory is allocated using a pool, the user is able to
check not only the granularity, but also the alignment of the buffers
allocated using the given pool. However, these values - granularity and
alignment - are defined only if
HSA_AMD_MEMORY_POOL_INFO_RUNTIME_ALLOC_ALLOWED is set to true, which
should always be set since the current implementation of the memory pool
for the AMD plugin in liboffload uses only hsa_amd_memory_pool_ts for
allocations. Only Level Zero accepts the alignment parameter during the
memory allocation process, but manages returned pointers internally.
Since pooling is also implemented in the memory manager at the plugin
level, such a design in the Level Zero device allocator duplicates
pooling in the whole application.
In the final version, the memory manager at the plugin interface level
will handle memory pooling and the buffer alignment from different
devices instead of delegating memory management to device allocator
implementations, as this would simplify the Level Zero plugin design and
provide AMD and CUDA plugins with support for the alignment in memory
allocations, which is not natively included in their APIs.
Commit: 7920821849ecc8ce929ba78aefc4589366db91aa
https://github.com/llvm/llvm-project/commit/7920821849ecc8ce929ba78aefc4589366db91aa
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/include/llvm/IR/IntrinsicsNVVM.td
M llvm/lib/Target/NVPTX/NVPTX.h
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
M llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
M llvm/lib/Target/NVPTX/NVPTXPassRegistry.def
M llvm/test/CodeGen/NVPTX/bug21465.ll
M llvm/test/CodeGen/NVPTX/lower-args-alignment.ll
M llvm/test/CodeGen/NVPTX/lower-args-gridconstant.ll
A llvm/test/CodeGen/NVPTX/lower-byval-args-dbg.ll
A llvm/test/CodeGen/NVPTX/lower-byval-args-idempotent.ll
M llvm/test/CodeGen/NVPTX/lower-byval-args.ll
M llvm/test/CodeGen/NVPTX/mark-kernel-ptrs-global.ll
Log Message:
-----------
[NVPTX] Rewrite kernel signatures in param AS (#204192)
Rewrite the kernel signatures moving byval parameters directly into
entry parameter address space (similar to how ExpandVariadics handles
va_arg functions). This avoids the need for the somewhat hacky
nvvm_internal_addrspace_wrap intrinsic and enables better support for
parameter short pointers.
Commit: a92d346119a4eb1a9c8055e29ffb40068c96bef9
https://github.com/llvm/llvm-project/commit/a92d346119a4eb1a9c8055e29ffb40068c96bef9
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
R clang/test/AST/ast-dump-openmp-atomic.c
R clang/test/AST/ast-dump-openmp-barrier.c
R clang/test/AST/ast-dump-openmp-cancel.c
R clang/test/AST/ast-dump-openmp-cancellation-point.c
R clang/test/AST/ast-dump-openmp-critical.c
R clang/test/AST/ast-dump-openmp-distribute-parallel-for-simd.c
R clang/test/AST/ast-dump-openmp-distribute-parallel-for.c
R clang/test/AST/ast-dump-openmp-distribute-simd.c
R clang/test/AST/ast-dump-openmp-distribute.c
R clang/test/AST/ast-dump-openmp-flush.c
R clang/test/AST/ast-dump-openmp-for-simd.c
R clang/test/AST/ast-dump-openmp-for.c
R clang/test/AST/ast-dump-openmp-master.c
R clang/test/AST/ast-dump-openmp-ordered.c
R clang/test/AST/ast-dump-openmp-parallel-for-simd.c
R clang/test/AST/ast-dump-openmp-parallel-for.c
R clang/test/AST/ast-dump-openmp-parallel-sections.c
R clang/test/AST/ast-dump-openmp-parallel.c
R clang/test/AST/ast-dump-openmp-section.c
R clang/test/AST/ast-dump-openmp-sections.c
R clang/test/AST/ast-dump-openmp-simd.c
R clang/test/AST/ast-dump-openmp-single.c
R clang/test/AST/ast-dump-openmp-split.c
R clang/test/AST/ast-dump-openmp-target-data.c
R clang/test/AST/ast-dump-openmp-target-enter-data.c
R clang/test/AST/ast-dump-openmp-target-exit-data.c
R clang/test/AST/ast-dump-openmp-target-parallel-for-simd.c
R clang/test/AST/ast-dump-openmp-target-parallel-for.c
R clang/test/AST/ast-dump-openmp-target-parallel.c
R clang/test/AST/ast-dump-openmp-target-simd.c
R clang/test/AST/ast-dump-openmp-target-teams-distribute-parallel-for-simd.c
R clang/test/AST/ast-dump-openmp-target-teams-distribute-parallel-for.c
R clang/test/AST/ast-dump-openmp-target-teams-distribute-simd.c
R clang/test/AST/ast-dump-openmp-target-teams-distribute.c
R clang/test/AST/ast-dump-openmp-target-teams.c
R clang/test/AST/ast-dump-openmp-target-update.c
R clang/test/AST/ast-dump-openmp-target.c
R clang/test/AST/ast-dump-openmp-task.c
R clang/test/AST/ast-dump-openmp-taskgroup.c
R clang/test/AST/ast-dump-openmp-taskloop-simd.c
R clang/test/AST/ast-dump-openmp-taskloop.c
R clang/test/AST/ast-dump-openmp-taskwait.c
R clang/test/AST/ast-dump-openmp-taskyield.c
R clang/test/AST/ast-dump-openmp-teams-distribute-parallel-for-simd.c
R clang/test/AST/ast-dump-openmp-teams-distribute-parallel-for.c
R clang/test/AST/ast-dump-openmp-teams-distribute-simd.c
R clang/test/AST/ast-dump-openmp-teams-distribute.c
R clang/test/AST/ast-dump-openmp-teams.c
Log Message:
-----------
[OpenMP] Remove AST dump tests for non-variant clauses (#204493)
As was suggested during discussion of #200077, and supported by Johannes
in our discussion during his office hours today, this PR removes OpenMP
AST dump tests that do not test the `variant` clause. The full
motivation can be found in the description of the aforementioned PR, but
the short version is that they are a maintenance burden that hold off
improvements to `TextNodeDumper` for other parts of Clang, because they
match too many unrelated details.
Commit: bc2c2a94f159ca25df560976b8fc149aa95ca827
https://github.com/llvm/llvm-project/commit/bc2c2a94f159ca25df560976b8fc149aa95ca827
Author: Ryotaro Kasuga <kasuga.ryotaro at fujitsu.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/lib/Transforms/Scalar/LoopInterchange.cpp
Log Message:
-----------
[LoopInterchange] Remove some early exits in transform phase (NFCI) (#205563)
This patch removes some unnecessary early exits from the transformation
phase in LoopInterchange. Some of them are simply removed because they
are trivially unsatisfiable. Others are replaced with assertions. These
conditions should be checked in the legality check phase, so it should
be safe to add those asserts.
Commit: 8770aec62a7cd5ec0e7f99db41a8beec1861b97e
https://github.com/llvm/llvm-project/commit/8770aec62a7cd5ec0e7f99db41a8beec1861b97e
Author: serge-sans-paille <sguelton at mozilla.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M clang-tools-extra/clang-tidy/modernize/TypeTraitsCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/modernize/type-traits.rst
A clang-tools-extra/test/clang-tidy/checkers/modernize/type-traits-remove-cvref.cpp
Log Message:
-----------
[clang-tidy] Extend `modernize-type-traits` to fold remove_cv_t<remove_reference_t<...>> into remove_cv_ref_t (#204789)
Commit: 2b4bbc14e6c53d87d43d2a6047b32535440e96c8
https://github.com/llvm/llvm-project/commit/2b4bbc14e6c53d87d43d2a6047b32535440e96c8
Author: Alex Langford <alangford at apple.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M lldb/include/lldb/Breakpoint/Breakpoint.h
M lldb/source/Breakpoint/Breakpoint.cpp
Log Message:
-----------
[lldb][NFC] Change type of Breakpoint's name list (#205429)
This is currently a `std::unordered_set<std::string>`. The downside of
this is that you need to have a `std::string` to perform a lookup of any
kind. This may require an allocation whenever we want to query the name
list. Even using `std::string_view` is not sufficient to perform a
lookup.
I propose that this instead be a `llvm::StringSet` which uses StringRefs
as its primary currency for insertions, lookups, and more.
---------
Co-authored-by: Jonas Devlieghere <jonas at devlieghere.com>
Commit: f8bfc176bb513abf31da350b9a688ea5f3faadfe
https://github.com/llvm/llvm-project/commit/f8bfc176bb513abf31da350b9a688ea5f3faadfe
Author: vangthao95 <vang.thao at amd.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeHelper.cpp
Log Message:
-----------
AMDGPU/GlobalISel: Fix get.rounding s_getreg lowering (#205601)
Use llvm.amdgcn.s.getreg instead of emitting S_GETREG_B32 directly so
instruction selection applies the required SReg_32 operand constraint.
This was done for setreg but missed for getreg.
Fixes https://github.com/llvm/llvm-project/pull/205265 when expensive
checks are enabled.
Commit: f217862546d65cce10f774d0455c8e806a7b93f0
https://github.com/llvm/llvm-project/commit/f217862546d65cce10f774d0455c8e806a7b93f0
Author: Kevin Sala Penades <salapenades1 at llnl.gov>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/include/llvm/Transforms/IPO/Instrumentor.h
M llvm/lib/Transforms/IPO/Instrumentor.cpp
Log Message:
-----------
[Instrumentor] Move common instruction IO functions into a class (#205460)
This commit moves several instruction-related IO functions into a class
instead of having them defined in the instrumentor namespace. We add the
BaseInstructionIO non-templated class because InstructionIO is a
templated class. Adding the common functions into InstructionIO would
force us to define them in the header.
Commit: 52f312665807828e1804df0410e82a11c428cca1
https://github.com/llvm/llvm-project/commit/52f312665807828e1804df0410e82a11c428cca1
Author: Jeremy Kun <jkun at google.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M mlir/lib/Conversion/FuncToEmitC/FuncToEmitC.cpp
M mlir/test/Conversion/ConvertToEmitC/func.mlir
Log Message:
-----------
[mlir][emitc]: use converted result types when func.call has one result (#205191)
The lowering for `func.call` to emitc properly uses converted result
types when there are multiple return values from the called func, but
not when there is a single one.
Commit: f1f5d9c88e9cba37ae033581be49d4ea202df24a
https://github.com/llvm/llvm-project/commit/f1f5d9c88e9cba37ae033581be49d4ea202df24a
Author: Alexey Gerenkov <alexey at espressif.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/lib/Target/Xtensa/AsmParser/XtensaAsmParser.cpp
M llvm/lib/Target/Xtensa/MCTargetDesc/XtensaMCTargetDesc.cpp
M llvm/lib/Target/Xtensa/MCTargetDesc/XtensaTargetStreamer.h
A llvm/test/CodeGen/Xtensa/null-streamer.ll
Log Message:
-----------
[Xtensa] Implement XtensaNullTargetStreamer (#203819)
It fixes crash in Xtensa AsmParser::run() during
ModuleSummaryIndexAnalysis pass.
Commit: de78b7e6678e0a1e0e84c646e4f98d5caed9ebdd
https://github.com/llvm/llvm-project/commit/de78b7e6678e0a1e0e84c646e4f98d5caed9ebdd
Author: David Green <david.green at arm.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
M llvm/test/CodeGen/AArch64/O3-pipeline.ll
M llvm/test/CodeGen/AArch64/aarch64-neon-vector-insert-uaddlv.ll
M llvm/test/CodeGen/AArch64/fabs-fp128.ll
Log Message:
-----------
Revert "[AArch64] Run cleanup one final time after peephole (#199711)" (#205633)
This reverts commit 448c3d54df7bcd5e5be2b5d051832ad00b4cc89c as it
causes
compile time regressions for little gain, and sounds like the dead
instructions
can be removed in a better way.
Commit: 1514123374252f4ca8a9ed340abc80d8e42055dc
https://github.com/llvm/llvm-project/commit/1514123374252f4ca8a9ed340abc80d8e42055dc
Author: adams381 <adams at nvidia.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M clang/include/clang/AST/Mangle.h
M clang/lib/AST/Mangle.cpp
M clang/lib/CIR/CodeGen/CIRGenModule.cpp
M clang/lib/CIR/CodeGen/CIRGenModule.h
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/CodeGenModule.h
A clang/test/CIR/CodeGen/trivially-recursive-skip.cpp
Log Message:
-----------
[CIR] Skip trivially-recursive available_externally function bodies (#198363)
CIR was emitting available_externally bodies for glibc-style inline
wrappers whose sole call is back to the same asm-named symbol (via
__builtin_*). LLVM then treats the function as non-terminating and
can fold away surrounding null checks — the same failure mode as
classic CodeGen PR9614 (basename-style if (cwd) paths).
Port isTriviallyRecursive / shouldEmitFunction from CodeGenModule,
including the isInlineBuiltinDeclaration exemption, and skip emitting
those definitions. isTriviallyRecursive (and its
FunctionIsDirectlyRecursive visitor) lives on MangleContext, so both
classic CodeGen and CIRGen call getMangleContext().isTriviallyRecursive(FD).
Commit: 847d3964cd87f4b1c026d5528a3318a6b3a34c4f
https://github.com/llvm/llvm-project/commit/847d3964cd87f4b1c026d5528a3318a6b3a34c4f
Author: Ziqing Luo <ziqing_luo at apple.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowExtractor.cpp
M clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.cpp
M clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.h
M clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageExtractor.cpp
A clang/test/Analysis/Scalable/PointerFlow/entity-name-no-conflict.cpp
A clang/test/Analysis/Scalable/PointerFlow/multi-decl-contributor.cpp
Log Message:
-----------
[SSAF] Properly handle contributors with multiple declarations (#204482)
A contributor entity can have multiple declarations all contributing
interesting facts. For example, a function declaration (not definition)
may have default arguments, which may provide pointer flow or unsafe
buffer usage facts. This commit groups declarations by their canonical
decls. The entity summary of a contributor will be collected from all
its decls.
In addition, this commit includes the following minor changes:
- Factor the common procedure of summary extraction and insertion into a
template function in SSAFAnalysesCommon.h.
- Convert the no-duplicate contributor assertion into a debug warning.
We need the release build to not crash.
rdar://179150798
Commit: 2c4c2683092eb2773a361236910ecbf208af96bb
https://github.com/llvm/llvm-project/commit/2c4c2683092eb2773a361236910ecbf208af96bb
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/madd.ll
M llvm/test/CodeGen/X86/shrink_vmul.ll
Log Message:
-----------
[X86] combineMulToPMADDWD - match 256/512-bit SIGN_EXTEND nodes (#205606)
Now that the X86ISD::VPMADDWD handling is improving, we can remove some
of the limits that we had to prevent regressions
Commit: e53c48b1c4e831482b51a460fdb62026e0652bb2
https://github.com/llvm/llvm-project/commit/e53c48b1c4e831482b51a460fdb62026e0652bb2
Author: Anshil Gandhi <95053726+gandhi56 at users.noreply.github.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SOPInstructions.td
M llvm/test/CodeGen/AMDGPU/usubsat.ll
Log Message:
-----------
[AMDGPU] Lower uniform usubsat to SOP (#203155)
Prefer scalar (SALU) lowering for uniform `usubsat`, since usubsat(a, b)
= max(a, b) - b.
* i32: add a GCNPat matching uniform `usubsat` to S_MAX_U32 + S_SUB_I32
* i16: route uniform `usubsat` through `promoteUniformOpToI32` instead
of a TableGen pattern that hard-codes the 0xffff masks. This exposes the
zero-extends as real DAG nodes so KnownBits can fold the masks when the
high bits are already known zero; the promoted i32 usubsat then reuses
the scalar pattern. Promote-and-truncate is safe for usubsat because the
result always fits in the narrow type (unlike uaddsat).
Register USUBSAT with `setTargetDAGCombine` and the promotion dispatch,
return ZERO_EXTEND in `getExtOpcodeForPromotedOp`, and add it to
`isNarrowingProfitable` so divergent i16/i32 keep their native VALU
clamp form.
Co-authored by: Jeffrey Byrnes
Commit: aa07daee80611a71c2afc763d3db76fd6dbab784
https://github.com/llvm/llvm-project/commit/aa07daee80611a71c2afc763d3db76fd6dbab784
Author: Jeremy Kun <jkun at google.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][bazel]: Remove GPU dialect deps from MemRefTransforms (#205624)
This change removes dead GPU dependencies (`GPUDialect` and
`NVGPUDialect`) from the `MemRefTransforms` target. These dependencies
are not needed by the transforms themselves and greatly increase the
build time (e.g., NVVMDialect.cpp alone requires two minutes to build).
This aligns the bazel build with the CMake configuration.
Commit: 89ff26442d773dbf8d6dbd5b8908e4d9eef04ef2
https://github.com/llvm/llvm-project/commit/89ff26442d773dbf8d6dbd5b8908e4d9eef04ef2
Author: Fabian Parzefall <parzefall at meta.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M bolt/include/bolt/Core/BinaryFunction.h
M bolt/include/bolt/Core/MCPlusBuilder.h
M bolt/include/bolt/Passes/PatchEntries.h
M bolt/lib/Core/BinaryFunction.cpp
M bolt/lib/Passes/PatchEntries.cpp
M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
M bolt/test/X86/patch-entries.test
Log Message:
-----------
[BOLT] Replace partial instructions with traps in patched entries (#205211)
Overwriting a function entry with a jump is likely to not perfectly
align with the instruction stream. If the end of the patch does not
fall onto an instruction boundary, the bytes following the jump are
orphaned and will have nonsensical interpretations. This can leave
other tools confused, especially since these orphaned bytes can
decode to instructions that do not nicely rejoin the still intact
part of the instructions stream. Overwrite these bytes with traps
in the PatchEntry pass.
Fixes #198455.
Commit: 5528a0e984c3d4d840af98001960ff345167d0cd
https://github.com/llvm/llvm-project/commit/5528a0e984c3d4d840af98001960ff345167d0cd
Author: Florian Hahn <flo at fhahn.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/include/llvm/Analysis/VectorUtils.h
M llvm/lib/Analysis/VectorUtils.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/discarded-interleave-group.ll
Log Message:
-----------
[VectorUtils] Discard predicates if no interleave groups are found. (#205424)
If no interleave groups are found, the predicates won't be used and
should be dropped. Update to use the new variant of getPtrStride which
returns the added predicates (added in
https://github.com/llvm/llvm-project/pull/203787).
This enables only committing the predicates if there are any interleave
groups.
PR: https://github.com/llvm/llvm-project/pull/205424
Commit: c46c34284d4a059050fca105ad65acb4f27bfca6
https://github.com/llvm/llvm-project/commit/c46c34284d4a059050fca105ad65acb4f27bfca6
Author: Brian Cain <brian.cain at oss.qualcomm.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M compiler-rt/lib/tysan/tysan_interceptors.cpp
Log Message:
-----------
[tysan] Guard mallopt() use on SANITIZER_GLIBC instead of SANITIZER_LINUX (#203118)
mallopt() is a glibc extension, not provided by other Linux C libraries
such as musl, but its declaration and its use in
InitializeInterceptors() are gated on SANITIZER_LINUX. Linking the TySan
runtime for a musl target therefore fails:
ld.lld: error: undefined symbol: mallopt
>>> referenced by tysan_interceptors.cpp:215 in
>>> __tysan::InitializeInterceptors() in libclang_rt.tysan-hexagon.a
Commit: 42ff45b865b1744e3f37a821bbcbc3d2ece1513c
https://github.com/llvm/llvm-project/commit/42ff45b865b1744e3f37a821bbcbc3d2ece1513c
Author: Scott Linder <scott.linder at amd.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M bolt/docs/conf.py
M clang-tools-extra/docs/conf.py
M clang/docs/conf.py
R clang/docs/ghlinks.py
M flang/docs/FlangDriver.md
M flang/docs/conf.py
M libc/docs/conf.py
M libcxx/docs/conf.py
M libunwind/docs/conf.py
M lld/docs/conf.py
M lldb/docs/_ext/lldb_setting.py
M lldb/docs/conf.py
M llvm/cmake/modules/AddSphinxTarget.cmake
M llvm/docs/conf.py
R llvm/docs/llvm_slug.py
M openmp/docs/conf.py
M orc-rt/docs/conf.py
M polly/docs/conf.py
M pyproject.toml
A utils/docs/README.md
A utils/docs/__main__.py
A utils/docs/llvm_sphinx/__init__.py
A utils/docs/llvm_sphinx/ext/__init__.py
A utils/docs/llvm_sphinx/ext/ghlinks/__init__.py
A utils/docs/llvm_sphinx/ext/ghlinks/test/conf.py
A utils/docs/llvm_sphinx/ext/ghlinks/test/index.rst
A utils/docs/llvm_sphinx/ext/ghlinks/test/markdown.md
A utils/docs/llvm_sphinx/ext/ghlinks/test/rest.rst
A utils/docs/llvm_sphinx/help.py
Log Message:
-----------
[docs] Create utils/docs (#203962)
llvm-project is home to many sphinx documentation sites, each with
configuration quirks and bespoke extensions.
The sphinx config model makes sharing code somewhat difficult. There
are options like sphinx-multiproject, but some of our docs builds are
out of the source tree while some are done out of the binary tree, so
the multiproject configuration itself would need to be generated. It
also would impose more uniformity around extensions than required.
This change instead creates a python package at utils/docs/llvm_sphinx
and makes it available to all sphinx-build processes via PYTHONPATH.
Each conf.py does not modify its own sys.path because not all builds are
out of the source tree, so there isn't a stable relative path to use to
refer to the utils/docs/ directory.
Type checking via pyright in new package is pinned to being python 3.8
compatible.
The myst slug script from llvm/docs is promoted to be the default,
with a slight edit to targets needed in FlangDriver.md to adapt to the
change.
The ghlinks extension from clang gets lifted to be the first generic
extension, although it is still only used in clang currently. I used it
as an example of a general extension that might be useful for other
projects, but I also intend to add a new generic extension in a future
patch.
As part of the move ghlinks is refactored a bit:
* Rather than have a main function directly to run its tests, those
tests are now run via the command-line entrypoint to the new package,
e.g. `python utils/docs --test` will now replace
`python clang/docs/ghlinks.py --test`. This makes the command-line
more pithy (`python utils/docs/llvm_sphinx/ext/ghlinks --test` is a
bit long), and makes the default behavior when running be to
include utils/docs in the sys.path, so imports can be absolute and
the behavior is as close to the CMake targets as possible.
* The static files that were previously written to a tempdir during
testing are just committed directly in git. The assumption here is
that the original version was taking pains to avoid polluting the
clang/docs directory with test files that would confuse sphinx-build,
and without that limitation the workaround can be removed.
* Some typing-related changes to make it strictly python 3.8 compatible.
Change-Id: Ie16de273f74973f163dbf7fe9d22d80a466d051f
Commit: 7c6c2af56f4a446c9e5221049eb63527e4ac0a97
https://github.com/llvm/llvm-project/commit/7c6c2af56f4a446c9e5221049eb63527e4ac0a97
Author: Nico Weber <thakis at chromium.org>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M libc/src/__support/FPUtil/x86_64/fenv_x87_utils.h
M libc/src/__support/macros/sanitizer.h
M libc/src/sys/epoll/linux/epoll_pwait.cpp
M libc/src/sys/epoll/linux/epoll_pwait2.cpp
M libc/src/sys/epoll/linux/epoll_wait.cpp
M libc/src/sys/socket/linux/recv.cpp
M libc/src/sys/socket/linux/recvfrom.cpp
M libc/src/sys/socket/linux/recvmsg.cpp
M libc/src/sys/socket/linux/socketpair.cpp
M libc/src/unistd/linux/pipe.cpp
M libc/src/unistd/linux/pipe2.cpp
M libc/src/unistd/linux/pread.cpp
M libc/src/unistd/linux/read.cpp
M libc/test/src/string/memory_utils/memory_check_utils.h
Log Message:
-----------
[libc] Prefix sanitizer macros with LIBC_ (#205002)
Since these macros leak into user code via libc/shared/math.h,
prefix them with LIBC_ to not cause collisions.
Change created with:
rg -l MSAN_UNPOISON libc | xargs sed -i '' \
-e 's/MSAN_UNPOISON/LIBC_MSAN_UNPOISON/g'
rg -l ASAN_POISON_MEMORY_REGION libc | xargs sed -i '' -e \
's/ASAN_POISON_MEMORY_REGION/LIBC_ASAN_POISON_MEMORY_REGION/g'
rg -l ASAN_POISON_MEMORY_REGION libc | xargs sed -i '' -e \
's/ASAN_POISON_MEMORY_REGION/LIBC_ASAN_POISON_MEMORY_REGION/g'
No behavior change.
Commit: 4500e536f6e83e654e6abc7fe29ebd09f7ec5533
https://github.com/llvm/llvm-project/commit/4500e536f6e83e654e6abc7fe29ebd09f7ec5533
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/lib/Target/AArch64/AArch64PointerAuth.cpp
M llvm/test/CodeGen/AArch64/pauth-lr-tail-call-fpdiff.ll
M llvm/test/CodeGen/AArch64/swifttail-ptrauth.ll
Log Message:
-----------
[AArch64] Skip FrameDestroy DW_CFA_AARCH64_negate_ra_state_with_pc (#198677)
The toggle semantics of DW_CFA_AARCH64_negate_ra_state_with_pc are
evaluated over a linear stream of CFI opcodes, rather than along control
flow edges, making it impossible to faithfully represent the RA state
across all CFG paths for functions with non-trivial block layouts (for
example hot-cold-splitting, or doubly-shrinkwrapped functions with
multiple independent frames).
libunwind works around this by recording the signing address at the
FrameSetup site, and not validating that the CFI state has toggled back
to "unsigned" after authentication. We can therefore omit the
FrameDestroy emission, treating the marker solely as a marker for the
signing site. This holds so long as each function has at most one
signing location, which is currently guaranteed since shrinkwrapping
does not yet create functions with more than one frame.
DW_CFA_AARCH64_set_ra_state is the correct long-term fix, but cannot be
used exclusively due to unwinder compatability concerns.
See: https://github.com/ARM-software/abi-aa/issues/327
https://github.com/ARM-software/abi-aa/pull/346
rdar://174074919
Commit: ede168f6492a5a1fca60264b9c7d290693b9d8e2
https://github.com/llvm/llvm-project/commit/ede168f6492a5a1fca60264b9c7d290693b9d8e2
Author: Nico Weber <thakis at chromium.org>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn
Log Message:
-----------
[gn build] Port 30abd9ec2b8d (#205658)
Commit: 657f38cbb57ecb5c6b17766147cd342b99700c6b
https://github.com/llvm/llvm-project/commit/657f38cbb57ecb5c6b17766147cd342b99700c6b
Author: Nico Weber <thakis at chromium.org>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/utils/gn/secondary/compiler-rt/lib/profile/BUILD.gn
Log Message:
-----------
[gn] Fix oversight from cf6527a49669c796b (#205660)
Without this, the interception/interception.h include in
InstProfilingPlatformROCm.cpp isn't found.
Commit: 1b44a9d9e1ae82ccbd16488d02c4ebd5d3a6be13
https://github.com/llvm/llvm-project/commit/1b44a9d9e1ae82ccbd16488d02c4ebd5d3a6be13
Author: Nico Weber <thakis at chromium.org>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Target/Hexagon/BUILD.gn
Log Message:
-----------
[gn build] Port c997a13812c1 (#205659)
Commit: c0cbb8ac9e51f9bf19ed2ef5428420d8ef18fac5
https://github.com/llvm/llvm-project/commit/c0cbb8ac9e51f9bf19ed2ef5428420d8ef18fac5
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
R cross-project-tests/debuginfo-tests/dexter/dex/evaluation/ExpectRewriter.py
M cross-project-tests/debuginfo-tests/dexter/dex/test_script/Script.py
M cross-project-tests/debuginfo-tests/dexter/dex/tools/ToolBase.py
M cross-project-tests/debuginfo-tests/dexter/dex/tools/test/Tool.py
R cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/rewrite_expect_list_expected.cpp
R cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/rewrite_expects_expected.cpp
R cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/rewrite_multiple_scripts_expected.cpp
R cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/simple_prog.cpp
R cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/whole_file_test.dex
R cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/whole_file_test_expected.dex
R cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/rewrite_expect_list.cpp
R cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/rewrite_expects.cpp
R cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/rewrite_multiple_scripts.cpp
R cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/whole_file.test
Log Message:
-----------
Revert "[Dexter] Add ability to rewrite scripts to fill-in unknown values" (#205657)
Reverts llvm/llvm-project#202799 to fix the failing
cross-project-tests::debuginfo-tests/dexter/feature_tests/scripts/rewriting/rewrite_expect_list.cpp
test and unblock pre-commit CI.
Commit: ab3fc0b17b9e80f91694271b068566b388b7ae0f
https://github.com/llvm/llvm-project/commit/ab3fc0b17b9e80f91694271b068566b388b7ae0f
Author: Aditya Gupta <adityagupta1089 at users.noreply.github.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/include/llvm/CodeGen/ValueTypes.td
M llvm/test/TableGen/CPtrWildcard.td
Log Message:
-----------
[CodeGen] Add v2048bf16 vector type (#202386)
Define v2048bf16 vector type in ValueTypes.td. This is useful for
targets that support packed bf16 operations with large vector widths
(e.g. Google TPU).
Commit: 83c0ccc6f95c900a504d27ffa1741951b487b290
https://github.com/llvm/llvm-project/commit/83c0ccc6f95c900a504d27ffa1741951b487b290
Author: Prabhu Rajasekaran <prabhukr at google.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M libc/src/__support/math/atan2f_float.h
Log Message:
-----------
[libc][math] Fix MPI_OVER_2 constant in atan2f_float (#205621)
Fix a typo in the size-optimized float-float implementation of atan2f
where MPI_OVER_2 (-pi/2) was defined identically to PI_OVER_2 (pi/2).
This caused atan2f to return incorrect values (off by pi) on targets
where the float-float path is selected (e.g. baremetal ARM Cortex-M
with hardware FMA/floating-point support) for inputs requiring
reciprocal range reduction, such as atan2f(10.0f, 1.0f).
Commit: c41ab104b001659431fa97b8c0bfcbac0273c452
https://github.com/llvm/llvm-project/commit/c41ab104b001659431fa97b8c0bfcbac0273c452
Author: Scott Manley <rscottmanley at gmail.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M mlir/include/mlir/Dialect/OpenACC/OpenACCCGOps.td
M mlir/lib/Dialect/OpenACC/IR/OpenACCCG.cpp
M mlir/test/Dialect/OpenACC/invalid-cg.mlir
M mlir/test/Dialect/OpenACC/ops-cg.mlir
Log Message:
-----------
[OpenACC] add acc::ReductionAccumulateArrayOp (#205617)
Add an OpenACC Dialect operation to accumulate elements of a (private)
array across threads. This operation only specifies the PointerLikeType
and an acc::DataBoundsOp to represent the accumulation of the array at a
high level. This will ultimately get lowered by "codegen".
Commit: d1b9398bead54b0fe0ce785b822a214a7f3c00ed
https://github.com/llvm/llvm-project/commit/d1b9398bead54b0fe0ce785b822a214a7f3c00ed
Author: Jianhui Li <jian.hui.li at intel.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M mlir/lib/Dialect/XeGPU/Transforms/XeGPULayoutImpl.cpp
Log Message:
-----------
[mlir][xegpu] adding maybe_usused for unused variable/function when assertion is off (#205629)
address the warning brought by the PR
https://github.com/llvm/llvm-project/pull/203156
Commit: fccfe44b80a11cf15f56467a974ef99bc0ebd8d3
https://github.com/llvm/llvm-project/commit/fccfe44b80a11cf15f56467a974ef99bc0ebd8d3
Author: Ryan Buchner <rbuchner at qti.qualcomm.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP][NFC] Remove extra checks from analyzeRtStrideCandidate() (#205415)
These checks duplicate the functionality of the additional checks added
in #204013
Commit: 1c9412432ff9f897d5fb096d31b945e50fbbb61d
https://github.com/llvm/llvm-project/commit/1c9412432ff9f897d5fb096d31b945e50fbbb61d
Author: Florian Hahn <flo at fhahn.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
Log Message:
-----------
[VPlan] Remove unused VPlan::getExitBlock(BasicBlock*) (NFC) (#205645)
Remove unused function.
Commit: f6923f5d39c7fb0b2ca5bd799206abb7eb96d43e
https://github.com/llvm/llvm-project/commit/f6923f5d39c7fb0b2ca5bd799206abb7eb96d43e
Author: nvptm <pmathew at nvidia.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M flang/docs/Directives.md
M flang/lib/Semantics/check-call.cpp
A flang/test/Semantics/call03-ignore-tkr-c-relaxed.f90
A flang/test/Semantics/call03-ignore-tkr-c-strict.f90
Log Message:
-----------
[flang] Relax ignore_tkr(c) for assumed-type BIND(C) descriptor dummies (#205445)
Relax `F2023 15.5.2.5 p2` derived-type checks for assumed-type
ignore_tkr(c) dummies passed by descriptor to bind(C) procedures. This
will allow passing a derived type with a type-bound procedure or FINAL
or a parameterized derived type to a TYPE(*), dimension(..) bind(C)
dummy.
Commit: 0ba95d65d8e27b7fedd953b1bda8a8a206191ce6
https://github.com/llvm/llvm-project/commit/0ba95d65d8e27b7fedd953b1bda8a8a206191ce6
Author: Florian Hahn <flo at fhahn.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.cpp
A llvm/test/Transforms/LoopVectorize/X86/outer-loop-non-power-of-2-type.ll
Log Message:
-----------
[LV] Round outer-loop VPlan VF down to a power of two (#205646)
computeVPlanOuterloopVF computes the VF as max(1, RegSize / WidestType).
WidestType may not be a power of two, which resulted in a non-power-of-2
VF. Round down like in the inner loop path.
Commit: fa538c0b3af533e296cbfc0dd018ef94cf3607ed
https://github.com/llvm/llvm-project/commit/fa538c0b3af533e296cbfc0dd018ef94cf3607ed
Author: Dave Lee <davelee.com at gmail.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M lldb/include/lldb/Core/Address.h
M lldb/include/lldb/Core/AddressRange.h
M lldb/include/lldb/Core/Declaration.h
M lldb/include/lldb/Core/Mangled.h
M lldb/include/lldb/Symbol/Block.h
M lldb/include/lldb/Symbol/Function.h
M lldb/include/lldb/Symbol/Variable.h
M lldb/include/lldb/Symbol/VariableList.h
M lldb/include/lldb/Utility/FileSpecList.h
M lldb/source/Core/Address.cpp
M lldb/source/Core/Declaration.cpp
M lldb/source/Core/Mangled.cpp
M lldb/source/Symbol/Block.cpp
M lldb/source/Symbol/Function.cpp
M lldb/source/Symbol/Variable.cpp
M lldb/source/Symbol/VariableList.cpp
M lldb/source/Utility/FileSpecList.cpp
Log Message:
-----------
[lldb] Remove unused MemorySize methods (NFC) (#205463)
These `MemorySize` methods are unused. There are two remaining which are
used: `FileSpec::MemorySize` and `ConstString::MemorySize`.
Commit: 1338319d3cdd710ecdab9377c0aa1b61206fc4bd
https://github.com/llvm/llvm-project/commit/1338319d3cdd710ecdab9377c0aa1b61206fc4bd
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M clang/include/clang/Basic/TargetInfo.h
M clang/lib/Basic/Targets/AMDGPU.cpp
M clang/lib/Basic/Targets/AMDGPU.h
M clang/lib/Sema/SemaAMDGPU.cpp
Log Message:
-----------
clang: Replace getTargetID API with isProcessorName (#205653)
The "target ID" naming is an AMDGPUism. Replace the getTargetID query
with an isProcessorName predicate so the target reports whether the
string should be considered a match. This makes alias handling more
natural than checking for exact match, and avoids an unnecessary
parse of the target ID.
Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
Commit: c85e7156f83fc5654a6229ee69f88e83891adb4c
https://github.com/llvm/llvm-project/commit/c85e7156f83fc5654a6229ee69f88e83891adb4c
Author: Jeremy Kun <jkun at google.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][bazel]: only depend on needed LLVM translations in ExecutionEngine (#205619)
ExecutionEngine currently pulls in `AllToLLVMIRTranslations` which
includes heavy dependencies on GPU dialects (notably NVVMDialect.cpp
which takes a whopping 2 minutes to compile!), despite the
ExecutionEngine not doing anything GPU-specific.
This change reduces the dependencies to just the subset of LLVMIR
translations that ExecutionEngine actually uses: Builtin, LLVM dialect,
and OpenMP dialect.
Commit: fc03af0ea17f7f3c5a3fff42be9d6a369dc0910d
https://github.com/llvm/llvm-project/commit/fc03af0ea17f7f3c5a3fff42be9d6a369dc0910d
Author: forking-google-bazel-bot[bot] <265904573+forking-google-bazel-bot[bot]@users.noreply.github.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[Bazel] Fixes 639c5a0 (#205273)
This fixes 639c5a014fad13c683b01c66a1474b7aa47ce7ee.
Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
Commit: 07d30c1fc9123c559caac2bc0194faa6d8d21758
https://github.com/llvm/llvm-project/commit/07d30c1fc9123c559caac2bc0194faa6d8d21758
Author: Piotr Balcer <piotr.balcer at intel.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/test/OpenMP/distribute_codegen.cpp
M clang/test/OpenMP/distribute_simd_codegen.cpp
M clang/test/OpenMP/target_dyn_groupprivate_codegen.cpp
M clang/test/OpenMP/target_firstprivate_codegen.cpp
M clang/test/OpenMP/target_ompx_dyn_cgroup_mem_codegen.cpp
M clang/test/OpenMP/target_parallel_codegen.cpp
M clang/test/OpenMP/target_parallel_for_codegen.cpp
M clang/test/OpenMP/target_parallel_for_simd_codegen.cpp
M clang/test/OpenMP/target_parallel_generic_loop_codegen-2.cpp
M clang/test/OpenMP/target_parallel_if_codegen.cpp
M clang/test/OpenMP/target_parallel_num_threads_codegen.cpp
M clang/test/OpenMP/target_parallel_num_threads_strict_codegen.cpp
M clang/test/OpenMP/target_private_codegen.cpp
M clang/test/OpenMP/target_task_affinity_codegen.cpp
M clang/test/OpenMP/target_teams_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_firstprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_private_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_simd_codegen.cpp
M clang/test/OpenMP/target_teams_generic_loop_codegen-1.cpp
M clang/test/OpenMP/target_teams_generic_loop_private_codegen.cpp
M clang/test/OpenMP/target_teams_map_codegen.cpp
M clang/test/OpenMP/target_teams_num_teams_codegen.cpp
M clang/test/OpenMP/target_teams_thread_limit_codegen.cpp
M clang/test/OpenMP/teams_codegen.cpp
M offload/plugins-nextgen/host/src/rtl.cpp
Log Message:
-----------
[OpenMP][Offload] Use argument pointer array in host kernels (#205355)
This is a follow-up to #194333, which changed liboffload's kernel launch
interface to take an array of pointers to arguments instead of a
contiguous argument buffer, but left the old path intact for OpenMP, to
be cleaned up iteratively in later changes.
This patch modifies the offload host kernels, and the OpenMP clang
codegen, to also use argument pointer arrays. The host was the only
plugin that did not support the new submission path. With it converted,
OpenMP can migrate to use the new path in all scenarios, after which
everything related to contiguous argument buffer and its construction
can be removed from plugin interface and the backends.
The change itself is fairly straightforward. The bulk of the diff is
automated test updates. In the runtime, the host kernel signature
becomes an array of pointers (void **), and the codegen is updated to
match. With each argument being a pointer, the kernel function now adds
one load to read the argument's value.
Assisted-by: Claude
Commit: 0f9ffd5fdd7d6a6415e2a98352e6132528fa6b03
https://github.com/llvm/llvm-project/commit/0f9ffd5fdd7d6a6415e2a98352e6132528fa6b03
Author: Thurston Dang <thurston at google.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/lib/Analysis/AssumptionCache.cpp
M llvm/test/Transforms/DropUnnecessaryAssumes/dereferenceable.ll
Log Message:
-----------
[AssumptionCache] Fix removeAffectedValues() when value is repeated in AssumeInst (#205275)
If a value appears more than once in an AssumeInst (e.g., `ptr %arg1` in
`call void @llvm.assume(i1 true) [ "dereferenceable"(ptr %arg1, i64 1),
"align"(ptr %arg1, i64 8) ]`) it will appear multiple times in the
result of findAffectedValues(). removeAffectedValues() may (depending on
how the results in AffectedValues.find_as(AV.Assume) are ordered),
nullify multiple values from AffectedValues.find_as(AV.Assume) in one
iteration of an outer for loop. The next iteration of that outer for
loop might then find a match only to a different AssumeInst, resulting
in an assertion failure.
This patch fixes the issue by counting the number of matching
ResultElems we expect to find.
This was a latent bug that was revealed by
https://github.com/llvm/llvm-project/pull/204432; the latter is not
itself buggy, but relies on AssumptionCache::removeAffectedValues().
---------
Co-authored-by: Nikolas Klauser <nikolasklauser at berlin.de>
Commit: b206777d06f8da99220ef48f33dcea80edb0ffcc
https://github.com/llvm/llvm-project/commit/b206777d06f8da99220ef48f33dcea80edb0ffcc
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M clang/lib/AST/ByteCode/InterpBuiltin.cpp
M clang/lib/AST/ExprConstant.cpp
M llvm/include/llvm/ADT/APInt.h
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/Support/APInt.cpp
M llvm/unittests/ADT/APIntTest.cpp
M llvm/unittests/Support/KnownBitsTest.cpp
Log Message:
-----------
[APInt] Consistently use the terms pdep/pext instead of expandBits/compressBits (#205112)
After some bikeshedding in #200570 - we decided on the terms pdep/pext
Commit: 0b1ad4c065ab6aaeea0c7563fab8a0d59c4af639
https://github.com/llvm/llvm-project/commit/0b1ad4c065ab6aaeea0c7563fab8a0d59c4af639
Author: Jiahao Guo <eoonguo at gmail.com>
Date: 2026-06-25 (Thu, 25 Jun 2026)
Changed paths:
M clang/test/CodeGen/AArch64/neon-intrinsics.c
M clang/test/CodeGen/AArch64/neon/subtraction.c
Log Message:
-----------
[CIR][AArch64] Migrate vsubl_high/vsubw_high NEON tests to subtraction.c (#205508)
### summary
Part of : https://github.com/llvm/llvm-project/issues/185382
This is a light patch and a follow up of :
https://github.com/llvm/llvm-project/pull/204088
All lowering logic have been implemented in this PR :
https://github.com/llvm/llvm-project/pull/204285 , I just need to
migrate these intrinsics.
This PR completed with the assistance of Claude Opus4.8
Co-authored-by: Claude Opus 4.8 <noreply at anthropic.com>
Commit: 238dbabecf5fbe31bb9e8182f87b3d710cdbff7e
https://github.com/llvm/llvm-project/commit/238dbabecf5fbe31bb9e8182f87b3d710cdbff7e
Author: Walter Lee <49250218+googlewalt at users.noreply.github.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
Revert "[Bazel] Fixes 639c5a0" (#205681)
Reverts llvm/llvm-project#205273. 639c5a0 was rolled back.
Commit: d7a29a8e3372eb009e6d62b810f15977e0663969
https://github.com/llvm/llvm-project/commit/d7a29a8e3372eb009e6d62b810f15977e0663969
Author: Paul Osmialowski <pawel.osmialowski at arm.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M flang/cmake/caches/BOLT-PGO.cmake
M flang/cmake/caches/BOLT.cmake
M flang/cmake/caches/PGO-stage2.cmake
M flang/cmake/caches/PGO.cmake
M llvm/docs/AdvancedBuilds.rst
Log Message:
-----------
[flang][cmake] Enable the runtimes in the CMake caches (#205642)
I've tried to introduce that in the PR #198863, but sadly, the buildbots
could not cope with this, so I decided to introduce it separately.
This patch also fixes the relevant places in the docs.
Commit: 8c87cf1605d3cb9b0a24c728ac01c9637ae3dcac
https://github.com/llvm/llvm-project/commit/8c87cf1605d3cb9b0a24c728ac01c9637ae3dcac
Author: Yao Qi <qiyaoltc at gmail.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M lldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp
M lldb/unittests/ObjectContainer/ObjectContainerUniversalMachOTest.cpp
Log Message:
-----------
[lldb][Mach-O] Bounds-check GetArchitectureAtIndex against m_fat_archs (#205289)
`ObjectContainerUniversalMachO::GetArchitectureAtIndex` used
`m_header.nfat_arch` (read directly from the file and untrusted, up to
0xFFFFFFFF) as the bound before indexing `m_fat_archs`. When ParseHeader
exhausts the data partway through and breaks early, `m_fat_archs.size()`
can be smaller than `nfat_arch`, so the indexed load is out of bounds.
Bound the check on the actual vector size instead.
Found by lldb-target-fuzzer.
---------
Co-authored-by: Alex Langford <nirvashtzero at gmail.com>
Commit: 6bf6094866ff39afc255816ff69ec815f2fb1aea
https://github.com/llvm/llvm-project/commit/6bf6094866ff39afc255816ff69ec815f2fb1aea
Author: Hüseyin Dönmez <donnmez.huseyin at gmail.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaChecking.cpp
A clang/test/Sema/builtin-abs-invalid.c
Log Message:
-----------
[Sema] Fix ICE when passing vector types to `abs` (#205017)
fix for ICE in `Sema::CheckAbsoluteValueFunction`
We failed to reject non-scalar types.
Fixes: #204777
Commit: 3d2974a7b4539634377c7f83797adc9287da7c0d
https://github.com/llvm/llvm-project/commit/3d2974a7b4539634377c7f83797adc9287da7c0d
Author: Johannes Doerfert <jdoerfert.llvm at gmail.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/include/llvm/Transforms/IPO/Instrumentor.h
M llvm/include/llvm/Transforms/IPO/InstrumentorRuntimeHelper.h
M llvm/lib/Transforms/IPO/Instrumentor.cpp
M llvm/lib/Transforms/IPO/InstrumentorStubPrinter.cpp
M llvm/test/Instrumentation/Instrumentor/alloca_and_function.ll
M llvm/test/Instrumentation/Instrumentor/cast.ll
M llvm/test/Instrumentation/Instrumentor/cast_crash.ll
M llvm/test/Instrumentation/Instrumentor/default_config.json
M llvm/test/Instrumentation/Instrumentor/default_rt.c
M llvm/test/Instrumentation/Instrumentor/default_rt.h
M llvm/test/Instrumentation/Instrumentor/generate_rt.ll
M llvm/test/Instrumentation/Instrumentor/module_and_globals.ll
A llvm/test/Instrumentation/Instrumentor/numeric_subtypeid.ll
A llvm/test/Instrumentation/Instrumentor/numeric_subtypeid_config.json
M llvm/test/Instrumentation/Instrumentor/rt_config.json
Log Message:
-----------
[Instrumentor] Add subtype IDs to complement type IDs for vectors/arrays (#205466)
If the type of an argument passed to the instrumentation is a vector or
array, we still want to filter on the underlying type, and the
instrumentation might also need to know. Thus, we can now pass a subtype
ID, which is -1 except if it's a vector or array, then it's the element
type ID. Structs need to be handled differently.
Commit: d4cf04ba17c833cfbab5a16aa2d21f7185a0c9ae
https://github.com/llvm/llvm-project/commit/d4cf04ba17c833cfbab5a16aa2d21f7185a0c9ae
Author: Utkarsh Saxena <usx at google.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M clang/include/clang/Analysis/Analyses/LifetimeSafety/FactsGenerator.h
M clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
M clang/lib/Analysis/LifetimeSafety/LiveOrigins.cpp
M clang/test/Sema/LifetimeSafety/invalidations.cpp
M clang/test/Sema/LifetimeSafety/safety.cpp
Log Message:
-----------
Revert "[LifetimeSafety] Fix liveness propagation for all origin flows (#205323)" (#205687)
Revert "[LifetimeSafety] Fix liveness propagation for all origin flows
(#205323)"
This reverts commit 8d2a578b2130742c8790f3dba5fb414962eafcd5.
Revert "[LifetimeSafety] Model GNU statement expressions (#204841)"
This reverts commit 361f3b24f2a8703eb7a32c1ae081f490888238f3.
Commit: 6cc609bb250b21b47fc7d394b4019101e9983597
https://github.com/llvm/llvm-project/commit/6cc609bb250b21b47fc7d394b4019101e9983597
Author: Alexey Gerenkov <alexey at espressif.com>
Date: 2026-06-25 (Thu, 25 Jun 2026)
Changed paths:
M llvm/lib/Target/Xtensa/XtensaISelLowering.cpp
M llvm/lib/Target/Xtensa/XtensaInstrInfo.td
M llvm/lib/Target/Xtensa/XtensaSubtarget.h
A llvm/test/CodeGen/Xtensa/trap.ll
Log Message:
-----------
[Xtensa] Fix trap/debugtrap operations lowering. (#200872)
Fix debug operation lowering for Xtensa.
Co-authored-by: Andrei Safronov <safronov at espressif.com>
Commit: b576ec61928671722c7bf7cf2df42862fd41b683
https://github.com/llvm/llvm-project/commit/b576ec61928671722c7bf7cf2df42862fd41b683
Author: Johannes Doerfert <jdoerfert.llvm at gmail.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
M compiler-rt/cmake/config-ix.cmake
M compiler-rt/lib/CMakeLists.txt
A compiler-rt/lib/instrumentor-tools/CMakeLists.txt
A compiler-rt/lib/instrumentor-tools/README.md
A compiler-rt/lib/instrumentor-tools/flop-counter/CMakeLists.txt
A compiler-rt/lib/instrumentor-tools/flop-counter/README.md
A compiler-rt/lib/instrumentor-tools/flop-counter/flop_counter_config.json
A compiler-rt/lib/instrumentor-tools/flop-counter/flop_counter_runtime.cpp
A compiler-rt/lib/instrumentor-tools/instrumentor_runtime.h
M compiler-rt/test/CMakeLists.txt
A compiler-rt/test/instrumentor-tools/CMakeLists.txt
A compiler-rt/test/instrumentor-tools/lit.cfg.py
A compiler-rt/test/instrumentor-tools/lit.site.cfg.py.in
A compiler-rt/test/instrumentor-tools/simple_flops.c
A compiler-rt/test/instrumentor-tools/vector_flops.cpp
Log Message:
-----------
[Instrumentor] Add runtime examples: [1/N] A flop counter (#205221)
This adds a instrumentor-tools folder into compiler RT to showcase
use cases of the instrumentor. The initial example is a program that,
via instrumentation, counts the number of flops performed. Call and
intrinsic support will follow after #198042.
Partially developed by Claude (AI), tested and verified by me.
Commit: ea36234c072a7ad415a7109f89fa3592d8cd4ef6
https://github.com/llvm/llvm-project/commit/ea36234c072a7ad415a7109f89fa3592d8cd4ef6
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M bolt/docs/conf.py
M bolt/include/bolt/Core/BinaryFunction.h
M bolt/include/bolt/Core/MCPlusBuilder.h
M bolt/include/bolt/Passes/PatchEntries.h
M bolt/lib/Core/BinaryFunction.cpp
M bolt/lib/Passes/PatchEntries.cpp
M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
M bolt/runtime/common.h
M bolt/test/X86/patch-entries.test
M clang-tools-extra/clang-tidy/modernize/TypeTraitsCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/modernize/type-traits.rst
M clang-tools-extra/docs/conf.py
A clang-tools-extra/test/clang-tidy/checkers/modernize/type-traits-remove-cvref.cpp
M clang/CMakeLists.txt
M clang/docs/ReleaseNotes.rst
M clang/docs/conf.py
R clang/docs/ghlinks.py
M clang/include/clang/AST/Mangle.h
M clang/include/clang/Analysis/Analyses/LifetimeSafety/FactsGenerator.h
M clang/include/clang/Basic/TargetInfo.h
M clang/lib/AST/ByteCode/InterpBuiltin.cpp
M clang/lib/AST/ExprConstant.cpp
M clang/lib/AST/Mangle.cpp
M clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
M clang/lib/Analysis/LifetimeSafety/LiveOrigins.cpp
M clang/lib/Basic/Targets/AMDGPU.cpp
M clang/lib/Basic/Targets/AMDGPU.h
M clang/lib/CIR/CodeGen/CIRGenModule.cpp
M clang/lib/CIR/CodeGen/CIRGenModule.h
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/CodeGenModule.h
M clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowExtractor.cpp
M clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.cpp
M clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.h
M clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageExtractor.cpp
M clang/lib/Sema/SemaAMDGPU.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaLifetimeSafety.h
R clang/test/AST/ast-dump-openmp-atomic.c
R clang/test/AST/ast-dump-openmp-barrier.c
R clang/test/AST/ast-dump-openmp-cancel.c
R clang/test/AST/ast-dump-openmp-cancellation-point.c
R clang/test/AST/ast-dump-openmp-critical.c
R clang/test/AST/ast-dump-openmp-distribute-parallel-for-simd.c
R clang/test/AST/ast-dump-openmp-distribute-parallel-for.c
R clang/test/AST/ast-dump-openmp-distribute-simd.c
R clang/test/AST/ast-dump-openmp-distribute.c
R clang/test/AST/ast-dump-openmp-flush.c
R clang/test/AST/ast-dump-openmp-for-simd.c
R clang/test/AST/ast-dump-openmp-for.c
R clang/test/AST/ast-dump-openmp-master.c
R clang/test/AST/ast-dump-openmp-ordered.c
R clang/test/AST/ast-dump-openmp-parallel-for-simd.c
R clang/test/AST/ast-dump-openmp-parallel-for.c
R clang/test/AST/ast-dump-openmp-parallel-sections.c
R clang/test/AST/ast-dump-openmp-parallel.c
R clang/test/AST/ast-dump-openmp-section.c
R clang/test/AST/ast-dump-openmp-sections.c
R clang/test/AST/ast-dump-openmp-simd.c
R clang/test/AST/ast-dump-openmp-single.c
R clang/test/AST/ast-dump-openmp-split.c
R clang/test/AST/ast-dump-openmp-target-data.c
R clang/test/AST/ast-dump-openmp-target-enter-data.c
R clang/test/AST/ast-dump-openmp-target-exit-data.c
R clang/test/AST/ast-dump-openmp-target-parallel-for-simd.c
R clang/test/AST/ast-dump-openmp-target-parallel-for.c
R clang/test/AST/ast-dump-openmp-target-parallel.c
R clang/test/AST/ast-dump-openmp-target-simd.c
R clang/test/AST/ast-dump-openmp-target-teams-distribute-parallel-for-simd.c
R clang/test/AST/ast-dump-openmp-target-teams-distribute-parallel-for.c
R clang/test/AST/ast-dump-openmp-target-teams-distribute-simd.c
R clang/test/AST/ast-dump-openmp-target-teams-distribute.c
R clang/test/AST/ast-dump-openmp-target-teams.c
R clang/test/AST/ast-dump-openmp-target-update.c
R clang/test/AST/ast-dump-openmp-target.c
R clang/test/AST/ast-dump-openmp-task.c
R clang/test/AST/ast-dump-openmp-taskgroup.c
R clang/test/AST/ast-dump-openmp-taskloop-simd.c
R clang/test/AST/ast-dump-openmp-taskloop.c
R clang/test/AST/ast-dump-openmp-taskwait.c
R clang/test/AST/ast-dump-openmp-taskyield.c
R clang/test/AST/ast-dump-openmp-teams-distribute-parallel-for-simd.c
R clang/test/AST/ast-dump-openmp-teams-distribute-parallel-for.c
R clang/test/AST/ast-dump-openmp-teams-distribute-simd.c
R clang/test/AST/ast-dump-openmp-teams-distribute.c
R clang/test/AST/ast-dump-openmp-teams.c
A clang/test/Analysis/Scalable/PointerFlow/entity-name-no-conflict.cpp
A clang/test/Analysis/Scalable/PointerFlow/multi-decl-contributor.cpp
A clang/test/CIR/CodeGen/trivially-recursive-skip.cpp
M clang/test/CodeGen/AArch64/neon-intrinsics.c
M clang/test/CodeGen/AArch64/neon/subtraction.c
M clang/test/OpenMP/distribute_codegen.cpp
M clang/test/OpenMP/distribute_simd_codegen.cpp
M clang/test/OpenMP/target_dyn_groupprivate_codegen.cpp
M clang/test/OpenMP/target_firstprivate_codegen.cpp
M clang/test/OpenMP/target_ompx_dyn_cgroup_mem_codegen.cpp
M clang/test/OpenMP/target_parallel_codegen.cpp
M clang/test/OpenMP/target_parallel_for_codegen.cpp
M clang/test/OpenMP/target_parallel_for_simd_codegen.cpp
M clang/test/OpenMP/target_parallel_generic_loop_codegen-2.cpp
M clang/test/OpenMP/target_parallel_if_codegen.cpp
M clang/test/OpenMP/target_parallel_num_threads_codegen.cpp
M clang/test/OpenMP/target_parallel_num_threads_strict_codegen.cpp
M clang/test/OpenMP/target_private_codegen.cpp
M clang/test/OpenMP/target_task_affinity_codegen.cpp
M clang/test/OpenMP/target_teams_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_firstprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_private_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_simd_codegen.cpp
M clang/test/OpenMP/target_teams_generic_loop_codegen-1.cpp
M clang/test/OpenMP/target_teams_generic_loop_private_codegen.cpp
M clang/test/OpenMP/target_teams_map_codegen.cpp
M clang/test/OpenMP/target_teams_num_teams_codegen.cpp
M clang/test/OpenMP/target_teams_thread_limit_codegen.cpp
M clang/test/OpenMP/teams_codegen.cpp
M clang/test/Sema/LifetimeSafety/annotation-suggestions-fixits.cpp
M clang/test/Sema/LifetimeSafety/invalidations.cpp
M clang/test/Sema/LifetimeSafety/safety.cpp
A clang/test/Sema/builtin-abs-invalid.c
M compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
M compiler-rt/cmake/config-ix.cmake
M compiler-rt/lib/CMakeLists.txt
A compiler-rt/lib/instrumentor-tools/CMakeLists.txt
A compiler-rt/lib/instrumentor-tools/README.md
A compiler-rt/lib/instrumentor-tools/flop-counter/CMakeLists.txt
A compiler-rt/lib/instrumentor-tools/flop-counter/README.md
A compiler-rt/lib/instrumentor-tools/flop-counter/flop_counter_config.json
A compiler-rt/lib/instrumentor-tools/flop-counter/flop_counter_runtime.cpp
A compiler-rt/lib/instrumentor-tools/instrumentor_runtime.h
M compiler-rt/lib/tysan/tysan_interceptors.cpp
M compiler-rt/test/CMakeLists.txt
A compiler-rt/test/instrumentor-tools/CMakeLists.txt
A compiler-rt/test/instrumentor-tools/lit.cfg.py
A compiler-rt/test/instrumentor-tools/lit.site.cfg.py.in
A compiler-rt/test/instrumentor-tools/simple_flops.c
A compiler-rt/test/instrumentor-tools/vector_flops.cpp
A flang/cmake/caches/BOLT-PGO.cmake
A flang/cmake/caches/BOLT.cmake
A flang/cmake/caches/PGO-stage2-instrumented.cmake
A flang/cmake/caches/PGO-stage2.cmake
A flang/cmake/caches/PGO.cmake
M flang/docs/Directives.md
M flang/docs/FlangDriver.md
M flang/docs/conf.py
M flang/include/flang/Semantics/openmp-utils.h
M flang/lib/Semantics/check-call.cpp
M flang/lib/Semantics/check-omp-structure.cpp
M flang/lib/Semantics/check-omp-structure.h
M flang/lib/Semantics/openmp-utils.cpp
M flang/test/CMakeLists.txt
M flang/test/Driver/offload-device.f90
A flang/test/Semantics/OpenMP/target-enter-data-temp-descriptor-omp61.f90
A flang/test/Semantics/OpenMP/target-enter-data-temp-descriptor.f90
A flang/test/Semantics/call03-ignore-tkr-c-relaxed.f90
A flang/test/Semantics/call03-ignore-tkr-c-strict.f90
A flang/test/bolt.lit.cfg
M flang/test/lit.cfg.py
M flang/test/lit.site.cfg.py.in
A flang/test/pgo.lit.cfg
A flang/test/test.lit.cfg
M libc/docs/conf.py
M libc/src/__support/FPUtil/x86_64/fenv_x87_utils.h
M libc/src/__support/macros/sanitizer.h
M libc/src/__support/math/atan2f_float.h
M libc/src/sys/epoll/linux/epoll_pwait.cpp
M libc/src/sys/epoll/linux/epoll_pwait2.cpp
M libc/src/sys/epoll/linux/epoll_wait.cpp
M libc/src/sys/socket/linux/recv.cpp
M libc/src/sys/socket/linux/recvfrom.cpp
M libc/src/sys/socket/linux/recvmsg.cpp
M libc/src/sys/socket/linux/socketpair.cpp
M libc/src/unistd/linux/pipe.cpp
M libc/src/unistd/linux/pipe2.cpp
M libc/src/unistd/linux/pread.cpp
M libc/src/unistd/linux/read.cpp
M libc/test/src/string/memory_utils/memory_check_utils.h
M libcxx/docs/conf.py
M libcxx/include/__cxx03/__config
M libcxx/include/__cxx03/__type_traits/datasizeof.h
M libcxx/include/__locale_dir/wbuffer_convert.h
M libcxx/include/__locale_dir/wstring_convert.h
M libcxx/include/__ranges/transform_view.h
M libcxx/test/extensions/libcxx/localization/locale.convenience/conversions/conversions.string/ctor_move.pass.cpp
M libcxx/test/libcxx-03/type_traits/datasizeof.compile.pass.cpp
M libcxx/test/libcxx/localization/nodiscard.verify.cpp
R libcxx/test/libcxx/ranges/range.adaptors/range.transform/adaptor.nodiscard.verify.cpp
A libcxx/test/libcxx/ranges/range.adaptors/range.transform/nodiscard.verify.cpp
M libsycl/src/detail/global_objects.cpp
M libsycl/src/detail/global_objects.hpp
M libsycl/src/detail/offload/offload_topology.cpp
M libsycl/src/detail/platform_impl.cpp
M libsycl/src/detail/platform_impl.hpp
M libsycl/src/detail/program_manager.cpp
M libsycl/src/detail/program_manager.hpp
M libsycl/src/device_selector.cpp
M libsycl/unittests/CMakeLists.txt
A libsycl/unittests/common/unittests_helper.hpp
A libsycl/unittests/device_selector/CMakeLists.txt
A libsycl/unittests/device_selector/get_device_preference.cpp
M libsycl/unittests/mock/helpers.hpp
M libunwind/docs/conf.py
M lld/docs/conf.py
M lldb/docs/_ext/lldb_setting.py
M lldb/docs/conf.py
M lldb/include/lldb/Breakpoint/Breakpoint.h
M lldb/include/lldb/Core/Address.h
M lldb/include/lldb/Core/AddressRange.h
M lldb/include/lldb/Core/Declaration.h
M lldb/include/lldb/Core/Mangled.h
M lldb/include/lldb/Symbol/Block.h
M lldb/include/lldb/Symbol/Function.h
M lldb/include/lldb/Symbol/Variable.h
M lldb/include/lldb/Symbol/VariableList.h
M lldb/include/lldb/Utility/FileSpecList.h
M lldb/source/Breakpoint/Breakpoint.cpp
M lldb/source/Core/Address.cpp
M lldb/source/Core/Declaration.cpp
M lldb/source/Core/Mangled.cpp
M lldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp
M lldb/source/Symbol/Block.cpp
M lldb/source/Symbol/Function.cpp
M lldb/source/Symbol/Variable.cpp
M lldb/source/Symbol/VariableList.cpp
M lldb/source/Utility/FileSpecList.cpp
M lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py
M lldb/unittests/ObjectContainer/ObjectContainerUniversalMachOTest.cpp
M llvm/cmake/modules/AddSphinxTarget.cmake
M llvm/docs/AdvancedBuilds.rst
M llvm/docs/CommandGuide/llvm-objdump.rst
M llvm/docs/conf.py
R llvm/docs/llvm_slug.py
M llvm/include/llvm/ADT/APInt.h
M llvm/include/llvm/Analysis/VectorUtils.h
M llvm/include/llvm/CodeGen/ValueTypes.td
M llvm/include/llvm/IR/IntrinsicsNVVM.td
M llvm/include/llvm/Transforms/IPO/Instrumentor.h
M llvm/include/llvm/Transforms/IPO/InstrumentorRuntimeHelper.h
M llvm/lib/Analysis/AssumptionCache.cpp
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/Analysis/VectorUtils.cpp
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/Support/APInt.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/lib/Target/AArch64/AArch64PointerAuth.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalize.cpp
M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeHelper.cpp
M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeHelper.h
M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.h
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SOPInstructions.td
M llvm/lib/Target/NVPTX/NVPTX.h
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
M llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
M llvm/lib/Target/NVPTX/NVPTXPassRegistry.def
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/Xtensa/AsmParser/XtensaAsmParser.cpp
M llvm/lib/Target/Xtensa/MCTargetDesc/XtensaMCTargetDesc.cpp
M llvm/lib/Target/Xtensa/MCTargetDesc/XtensaTargetStreamer.h
M llvm/lib/Target/Xtensa/XtensaISelLowering.cpp
M llvm/lib/Target/Xtensa/XtensaInstrInfo.td
M llvm/lib/Target/Xtensa/XtensaSubtarget.h
M llvm/lib/Transforms/IPO/Instrumentor.cpp
M llvm/lib/Transforms/IPO/InstrumentorStubPrinter.cpp
M llvm/lib/Transforms/Scalar/LoopInterchange.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/lib/Transforms/Vectorize/VPlan.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/test/CodeGen/AArch64/O3-pipeline.ll
M llvm/test/CodeGen/AArch64/aarch64-neon-vector-insert-uaddlv.ll
M llvm/test/CodeGen/AArch64/andorbrcompare.ll
M llvm/test/CodeGen/AArch64/arm64-ccmp.ll
M llvm/test/CodeGen/AArch64/arm64_32.ll
A llvm/test/CodeGen/AArch64/br-cond-merging-cbz-tbnz.ll
A llvm/test/CodeGen/AArch64/br-cond-merging-fccmp.ll
M llvm/test/CodeGen/AArch64/br-cond-not-merge.ll
M llvm/test/CodeGen/AArch64/fabs-fp128.ll
M llvm/test/CodeGen/AArch64/fcvt-i256.ll
M llvm/test/CodeGen/AArch64/i128-cmp.ll
M llvm/test/CodeGen/AArch64/lr-reserved-for-ra-live-in.ll
M llvm/test/CodeGen/AArch64/machine_cse.ll
M llvm/test/CodeGen/AArch64/pauth-lr-tail-call-fpdiff.ll
M llvm/test/CodeGen/AArch64/peephole-and-tst.ll
M llvm/test/CodeGen/AArch64/pr166870.ll
M llvm/test/CodeGen/AArch64/ragreedy-csr.ll
M llvm/test/CodeGen/AArch64/swifttail-ptrauth.ll
M llvm/test/CodeGen/AArch64/tbl-loops.ll
M llvm/test/CodeGen/AArch64/tbz-tbnz.ll
M llvm/test/CodeGen/AArch64/umulo-128-legalisation-lowering.ll
M llvm/test/CodeGen/AMDGPU/llvm.get.rounding.ll
M llvm/test/CodeGen/AMDGPU/llvm.set.rounding.ll
M llvm/test/CodeGen/AMDGPU/usubsat.ll
M llvm/test/CodeGen/NVPTX/bug21465.ll
M llvm/test/CodeGen/NVPTX/lower-args-alignment.ll
M llvm/test/CodeGen/NVPTX/lower-args-gridconstant.ll
A llvm/test/CodeGen/NVPTX/lower-byval-args-dbg.ll
A llvm/test/CodeGen/NVPTX/lower-byval-args-idempotent.ll
M llvm/test/CodeGen/NVPTX/lower-byval-args.ll
M llvm/test/CodeGen/NVPTX/mark-kernel-ptrs-global.ll
M llvm/test/CodeGen/X86/madd.ll
M llvm/test/CodeGen/X86/shrink_vmul.ll
A llvm/test/CodeGen/Xtensa/null-streamer.ll
A llvm/test/CodeGen/Xtensa/trap.ll
M llvm/test/DebugInfo/AArch64/instr-ref-target-hooks.ll
M llvm/test/Instrumentation/Instrumentor/alloca_and_function.ll
M llvm/test/Instrumentation/Instrumentor/cast.ll
M llvm/test/Instrumentation/Instrumentor/cast_crash.ll
M llvm/test/Instrumentation/Instrumentor/default_config.json
M llvm/test/Instrumentation/Instrumentor/default_rt.c
M llvm/test/Instrumentation/Instrumentor/default_rt.h
M llvm/test/Instrumentation/Instrumentor/generate_rt.ll
M llvm/test/Instrumentation/Instrumentor/module_and_globals.ll
A llvm/test/Instrumentation/Instrumentor/numeric_subtypeid.ll
A llvm/test/Instrumentation/Instrumentor/numeric_subtypeid_config.json
M llvm/test/Instrumentation/Instrumentor/rt_config.json
A llvm/test/MC/RISCV/corev/XCVbi-long-branch.s
M llvm/test/TableGen/CPtrWildcard.td
M llvm/test/Transforms/DropUnnecessaryAssumes/dereferenceable.ll
M llvm/test/Transforms/LoopVectorize/AArch64/discarded-interleave-group.ll
A llvm/test/Transforms/LoopVectorize/X86/outer-loop-non-power-of-2-type.ll
M llvm/test/Transforms/LoopVectorize/iv_outside_user.ll
A llvm/test/tools/llubi/infinite_loop_error_only.ll
A llvm/test/tools/llvm-objdump/X86/source-path.test
M llvm/tools/llubi/llubi.cpp
M llvm/tools/llvm-objdump/ObjdumpOpts.td
M llvm/tools/llvm-objdump/SourcePrinter.cpp
M llvm/tools/llvm-objdump/llvm-objdump.cpp
M llvm/tools/llvm-objdump/llvm-objdump.h
M llvm/unittests/ADT/APIntTest.cpp
M llvm/unittests/Support/KnownBitsTest.cpp
M llvm/utils/gn/secondary/compiler-rt/lib/profile/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/Target/Hexagon/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn
M mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
M mlir/include/mlir/Dialect/MemRef/Utils/MemRefUtils.h
M mlir/include/mlir/Dialect/OpenACC/OpenACCCGOps.td
M mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
M mlir/lib/Conversion/FuncToEmitC/FuncToEmitC.cpp
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
M mlir/lib/Dialect/MemRef/Utils/MemRefUtils.cpp
M mlir/lib/Dialect/OpenACC/IR/OpenACCCG.cpp
M mlir/lib/Dialect/Vector/IR/CMakeLists.txt
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
M mlir/lib/Dialect/XeGPU/Transforms/XeGPULayoutImpl.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Conversion/ConvertToEmitC/func.mlir
M mlir/test/Dialect/OpenACC/invalid-cg.mlir
M mlir/test/Dialect/OpenACC/ops-cg.mlir
M mlir/test/Dialect/Vector/invalid.mlir
M mlir/test/Target/LLVMIR/Import/intrinsic.ll
M mlir/test/Target/LLVMIR/llvmir-intrinsics.mlir
A mlir/test/Target/LLVMIR/openmp-wsloop-linear.mlir
M offload/liboffload/API/Memory.td
M offload/liboffload/src/OffloadImpl.cpp
M offload/plugins-nextgen/amdgpu/src/rtl.cpp
M offload/plugins-nextgen/common/include/MemoryManager.h
M offload/plugins-nextgen/common/include/PluginInterface.h
M offload/plugins-nextgen/common/src/PluginInterface.cpp
M offload/plugins-nextgen/cuda/src/rtl.cpp
M offload/plugins-nextgen/host/src/rtl.cpp
M offload/plugins-nextgen/level_zero/include/L0Device.h
M offload/plugins-nextgen/level_zero/src/L0Device.cpp
M offload/unittests/OffloadAPI/CMakeLists.txt
A offload/unittests/OffloadAPI/memory/olMemAllocAligned.cpp
M openmp/docs/conf.py
M orc-rt/docs/conf.py
M polly/docs/conf.py
M pyproject.toml
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
A utils/docs/README.md
A utils/docs/__main__.py
A utils/docs/llvm_sphinx/__init__.py
A utils/docs/llvm_sphinx/ext/__init__.py
A utils/docs/llvm_sphinx/ext/ghlinks/__init__.py
A utils/docs/llvm_sphinx/ext/ghlinks/test/conf.py
A utils/docs/llvm_sphinx/ext/ghlinks/test/index.rst
A utils/docs/llvm_sphinx/ext/ghlinks/test/markdown.md
A utils/docs/llvm_sphinx/ext/ghlinks/test/rest.rst
A utils/docs/llvm_sphinx/help.py
Log Message:
-----------
Merge branch 'main' into users/kparzysz/c01-clause-check
Compare: https://github.com/llvm/llvm-project/compare/0e99161ca056...ea36234c072a
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