[all-commits] [llvm/llvm-project] 8009a5: [MC] Add support for -mcpu=native. (#159414)
Stanislav Mekhanoshin via All-commits
all-commits at lists.llvm.org
Fri Sep 19 13:53:56 PDT 2025
Branch: refs/heads/users/rampitec/09-19-_amdgpu_ds_read2_ds_write2_gfx1250_tests._nfc
Home: https://github.com/llvm/llvm-project
Commit: 8009a5bafdc64562a4a3a89242170594454dee40
https://github.com/llvm/llvm-project/commit/8009a5bafdc64562a4a3a89242170594454dee40
Author: Cameron McInally <cameron.mcinally at nyu.edu>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
A llvm/test/MC/AsmParser/native.s
M llvm/tools/llvm-mc/llvm-mc.cpp
Log Message:
-----------
[MC] Add support for -mcpu=native. (#159414)
Support -mcpu=native by querying the Host CPU Name and Feature flags.
---------
Co-authored-by: Cameron McInally <cmcinally at nvidia.com>
Commit: e151e84ec0c6a95a08117dac33d555a663beeb50
https://github.com/llvm/llvm-project/commit/e151e84ec0c6a95a08117dac33d555a663beeb50
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
Log Message:
-----------
[MLIR] Apply clang-tidy fixes for bugprone-argument-comment in LinalgTransformOps.cpp (NFC)
Commit: cac54a8ad08938a66d4f0ce6114c53cb0ace4499
https://github.com/llvm/llvm-project/commit/cac54a8ad08938a66d4f0ce6114c53cb0ace4499
Author: Sam Clegg <sbc at chromium.org>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
A lld/test/wasm/Inputs/tags.s
M lld/test/wasm/tag-section.ll
M llvm/lib/CodeGen/AsmPrinter/WasmException.cpp
M llvm/lib/CodeGen/AsmPrinter/WasmException.h
M llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
M llvm/test/CodeGen/WebAssembly/exception-legacy.ll
M llvm/test/CodeGen/WebAssembly/exception.ll
Log Message:
-----------
[WebAssembly] Require tags for Wasm EH and Wasm SJLJ to be defined externally (#159143)
Rather then defining these tags in each object file that requires them
we can can declare them as undefined and require that they defined
externally in, for example, compiler-rt or libcxxabi.
Commit: bf835169a52b792acc9f8ad26141fb3e556b6f71
https://github.com/llvm/llvm-project/commit/bf835169a52b792acc9f8ad26141fb3e556b6f71
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M llvm/lib/Target/AArch64/AArch64InstrFormats.td
M llvm/lib/Target/AArch64/AArch64RegisterInfo.td
M llvm/lib/Target/AArch64/CMakeLists.txt
M llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
M llvm/lib/Target/AArch64/SMEInstrFormats.td
M llvm/lib/Target/AArch64/SVEInstrFormats.td
M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
Log Message:
-----------
[AArch64] Remove post-decoding instruction mutations (#156364)
Add `bits<0>` fields to instructions using the ZTR/MPR/MPR8 register
classes. These register classes contain only one register, and it is
not encoded in the instruction. This way, the generated decoder can
completely decode instructions without having to perform a post-decoding
pass to insert missing operands.
Some immediate operands are also not encoded and have only one possible
value "zero". Use this trick for them, too.
Finally, remove `-ignore-non-decodable-operands` option from
`llvm-tblgen` invocation to ensure that non-decodable operands do not
appear in the future.
Commit: 51e3c3d51ba8064c7dafd57bf19e2a54b553af03
https://github.com/llvm/llvm-project/commit/51e3c3d51ba8064c7dafd57bf19e2a54b553af03
Author: Joseph Huber <huberjn at outlook.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M offload/liboffload/API/Program.td
M offload/liboffload/src/OffloadImpl.cpp
M offload/libomptarget/PluginManager.cpp
M offload/plugins-nextgen/common/include/PluginInterface.h
M offload/plugins-nextgen/common/src/PluginInterface.cpp
M offload/unittests/OffloadAPI/CMakeLists.txt
A offload/unittests/OffloadAPI/program/olIsValidBinary.cpp
Log Message:
-----------
[Offload] Implement 'olIsValidBinary' in offload and clean up (#159658)
Summary:
This exposes the 'isDeviceCompatible' routine for checking if a binary
*can* be loaded. This is useful if people don't want to consume errors
everywhere when figuring out which image to put to what device.
I don't know if this is a good name, I was thining like `olIsCompatible`
or whatever. Let me know what you think.
Long term I'd like to be able to do something similar to what OpenMP
does where we can conditionally only initialize devices if we need them.
That's going to be support needed if we want this to be more
generic.
Commit: 90d03a0386a6b9640e50513f6948cd2549937208
https://github.com/llvm/llvm-project/commit/90d03a0386a6b9640e50513f6948cd2549937208
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RISCV] Use MutableArrayRef instead of SmallVectorImpl&. NFC (#159651)
We're only going to modify existing items, not add or remove any
elements to the vector.
Commit: 21f5f32cc6feacdacd9a22bc74f3e6ceb2a258c4
https://github.com/llvm/llvm-project/commit/21f5f32cc6feacdacd9a22bc74f3e6ceb2a258c4
Author: Gabriel Baraldi <baraldigabriel at gmail.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Passes/PassRegistry.def
A llvm/test/Other/pipeline-callbacks-string-api.ll
Log Message:
-----------
[PassBuilder] Add callback invoking to PassBuilder string API (#157153)
This is a very rough state of what this can look like, but I didn't want
to spend too much time on what could be a dead end.
Currently the only way to invoke callbacks is by using the default
pipelines, this is an issue if you want to define your own pipeline
using the C string API (we do that in LLVM.jl in julia) so I extended
the api to allow for invoking those callbacks just like one would call a
pass of that kind.
There are some questions about the params that these callbacks take and
also I'm missing some of them (some of them are also invoked by the
backend so we may not want to expose them)
Code written with AI help, bugs are mine. (Not sure what policy for this
is on LLVM)
Commit: bedfee0b8db6d3a2dba21e6d896ddcb4d38c1ab7
https://github.com/llvm/llvm-project/commit/bedfee0b8db6d3a2dba21e6d896ddcb4d38c1ab7
Author: Amr Hesham <amr96 at programmer.net>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M clang/include/clang/CIR/Dialect/IR/CIRAttrConstraints.td
M clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
M clang/lib/CIR/Dialect/IR/CIRDialect.cpp
M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
A clang/test/CIR/IR/invalid-type-info.cir
Log Message:
-----------
[CIR] Upstream TypeInfo attribute (#159426)
This change adds support for TypeInfoAttr which is needed later for RTTI
in exceptions
Issue https://github.com/llvm/llvm-project/issues/154992
Commit: 2998c74a1e113c63bc2c59685628bd0d0731caee
https://github.com/llvm/llvm-project/commit/2998c74a1e113c63bc2c59685628bd0d0731caee
Author: Charitha Saumya <136391709+charithaintc at users.noreply.github.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td
M mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp
M mlir/lib/Dialect/XeGPU/Transforms/XeGPUSubgroupDistribute.cpp
M mlir/test/Dialect/XeGPU/propagate-layout.mlir
M mlir/test/Dialect/XeGPU/subgroup-distribute.mlir
Log Message:
-----------
[mlir][xegpu] Add SIMT distribution support for GEMM transpose B case. (#155517)
This PR adds the features needed for supporting the GEMM with transpose
B case.
Summary of changes.
1). Add distribution logic for `vector.bitcast`, `vector.transpose` and
`memref.extract_aligned_pointer_as_index` cases.
2). Add layout propagation support for `vector.shape_cast`,
`vector.broadcast` and `vector.bitcast`
3). Incorporate slice attribute and `DistributeLayoutAttr` interface
with the core logic in layout prop.
Commit: 4c7ebf825edabb5e0433b312ddac7914028e4488
https://github.com/llvm/llvm-project/commit/4c7ebf825edabb5e0433b312ddac7914028e4488
Author: Sarah Spall <sarahspall at microsoft.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M clang/lib/Headers/hlsl/hlsl_compat_overloads.h
A clang/test/SemaHLSL/BuiltIns/binary-compat-overload-warnings.hlsl
A clang/test/SemaHLSL/BuiltIns/ternary-compat-overload-warnings.hlsl
A clang/test/SemaHLSL/BuiltIns/unary-compat-overload-warnings.hlsl
A clang/test/SemaHLSL/BuiltIns/vec-scalar-compat-overload-warnings.hlsl
Log Message:
-----------
[HLSL] Add deprecation warnings to compatability overloads (#159208)
Add deprecation warnings to compatability overloads and add tests to
show the warnings.
Closes #133452
Commit: 4cace1ff0f9a144de9f46f4521d140080e4e284d
https://github.com/llvm/llvm-project/commit/4cace1ff0f9a144de9f46f4521d140080e4e284d
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
M llvm/test/MC/Disassembler/ARM/arm-tests.txt
Log Message:
-----------
[ARM] Verify that disassembled instruction is correct (#157360)
This change adds basic `MCInst` verification (checks the number of
operands) and fixes detected bugs.
* `RFE*` instructions have only one operand, but `DecodeRFEInstruction`
added two.
* `DecodeMVEModImmInstruction` and `DecodeMVEVCMP` added a `vpred`
operand, but this is what `AddThumbPredicate` normally does. This
resulted in an extra `vpred` operand.
* `DecodeMVEVADCInstruction` added an extra immediate operand.
* `getARMInstruction` added a `pred` operand to instructions that don't
have one (via `DecodePredicateOperand`).
* `AddThumb1SBit` appended an extra register operand to instructions
that don't modify CPSR (such as `tBL`).
* Instructions in `NEONDup` namespace have `pred` operand that the
generated code successfully decodes. The operand was added once again by
`getARMInstruction`/`getThumbInstruction` via `AddThumbPredicate`.
Functional changes extracted from #156540.
Commit: 2e34188513e296f0c3d84b5a808924cafc6fd5a4
https://github.com/llvm/llvm-project/commit/2e34188513e296f0c3d84b5a808924cafc6fd5a4
Author: zhijian lin <zhijian at ca.ibm.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M llvm/lib/Target/PowerPC/PPC.td
Log Message:
-----------
[PowerPC] clean unused PPC target feature FeatureBPERMD (#159782)
clean unused PPC target feature FeatureBPERMD.
Commit: 21821f50cf1c420fe598b1252f04ebce3cc0f79e
https://github.com/llvm/llvm-project/commit/21821f50cf1c420fe598b1252f04ebce3cc0f79e
Author: lntue <lntue at google.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M libc/test/UnitTest/FEnvSafeTest.cpp
M libc/test/UnitTest/FPMatcher.h
Log Message:
-----------
[libc] Update floating testing infra for MSVC compatibility. (#159810)
Commit: 0ce6052a0c08035a07fcabb05271be7313308db3
https://github.com/llvm/llvm-project/commit/0ce6052a0c08035a07fcabb05271be7313308db3
Author: Jonathan Thackray <jonathan.thackray at arm.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M lldb/utils/TableGen/CMakeLists.txt
Log Message:
-----------
[lldb] install lldb-tblgen by default to ease cross-compilation (one-liner) (#159812)
Right now, cross-building `lldb` means either installing a native
`lldb-tblgen` by hand (non-trivial, as CMake is painful) or first
building all of native clang because of how the CMake rules work, which
is not fun.
In keeping with the pattern established by llvm-tblgen and clang-tblgen,
install lldb-tblgen to ease cross-compilation.
Co-authored-by: Ross Burton <ross.burton at arm.com>
Commit: 8fcb712167fa809af9bec2ffcfe1ac1b8c5e4aa6
https://github.com/llvm/llvm-project/commit/8fcb712167fa809af9bec2ffcfe1ac1b8c5e4aa6
Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
Log Message:
-----------
[AMDGPU] gfx1250 runlines for global-atomicrmw-fadd.ll. NFC (#159817)
Commit: 2d503b924c324f7f67ef8b1f5c518c1f80a2825b
https://github.com/llvm/llvm-project/commit/2d503b924c324f7f67ef8b1f5c518c1f80a2825b
Author: Joseph Huber <huberjn at outlook.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M compiler-rt/cmake/Modules/CompilerRTUtils.cmake
M flang-rt/CMakeLists.txt
M libc/cmake/modules/prepare_libc_gpu_build.cmake
M llvm/cmake/modules/HandleLLVMOptions.cmake
M openmp/CMakeLists.txt
M runtimes/CMakeLists.txt
Log Message:
-----------
[LLVM] Simplify GPU runtimes flag handling (#159802)
Summary:
The AMDGPU hack can be removed, and we no longer need to skip 90% of the
`HandleLLVMOptions` if we work around NVPTX earlier. Simplifies the
interface by removing duplicated logic and keeps the GPU targets from
being weirdly divergent on some flags.
Commit: bbf657d5bb52f0f60f16224aba7e05f5eb33638f
https://github.com/llvm/llvm-project/commit/bbf657d5bb52f0f60f16224aba7e05f5eb33638f
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M clang/lib/AST/ExprClassification.cpp
M clang/test/SemaTemplate/temp_arg_template.cpp
Log Message:
-----------
[clang] fix expression classification for dependent binary operators (#159819)
This fixes a regression reported here:
https://github.com/llvm/llvm-project/pull/159463#issuecomment-3312157416
Since this regression was never released, there are no release notes.
Commit: 16880116c9a180e1dfed69be383d20e1efd8d3c1
https://github.com/llvm/llvm-project/commit/16880116c9a180e1dfed69be383d20e1efd8d3c1
Author: Anthony Latsis <alatsis at apple.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M lldb/cmake/modules/LLDBConfig.cmake
Log Message:
-----------
[lldb] Fix Linux build when LLDB_ENABLE_PYTHON is OFF (#159825)
Remove 'lldb-python-scripts' from LLVM_DISTRIBUTION_COMPONENTS when
Python scripting is disabled. Otherwise we get
```
Specified distribution component 'lldb-python-scripts' doesn't have an install target
```
Commit: fc73ef42c92bf50547d5a069e98459a4a5615872
https://github.com/llvm/llvm-project/commit/fc73ef42c92bf50547d5a069e98459a4a5615872
Author: Roland McGrath <mcgrathr at google.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M clang/lib/Driver/ToolChains/UEFI.cpp
M clang/test/Driver/uefi-constructed-args.c
Log Message:
-----------
[clang][Driver] Clean up UEFI linker argument handling (#159639)
This makes the UEFI driver's handling of linking more canonical
in a few ways:
* Use /option:value syntax with lld-link as in the MSVC driver.
* Handle -nostdlib, -nodefaultlibs, -r and call common
subroutines when they aren't set. This covers sanitizer and
profile runtimes and their associated switches; compiler-rt
builds do not yet provide these libraries, but the driver
behavior is opt-in and supports all the opt-in/out plumbing
like other targets do. This lets command lines immediately
use the opt-out switches even when they are superfluous for
opt-in features, as build system plumbing often needs to do.
It also updates some TODO comments for how the driver behavior
will look when more runtime support is ready.
Commit: 9ba844eb3a21d461c3adc7add7691a076c6992fc
https://github.com/llvm/llvm-project/commit/9ba844eb3a21d461c3adc7add7691a076c6992fc
Author: Walter Erquinigo <werquinigo at nvidia.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M lldb/include/lldb/Utility/ArchSpec.h
M lldb/source/Utility/ArchSpec.cpp
M llvm/include/llvm/Object/ELFObjectFile.h
M llvm/include/llvm/TargetParser/Triple.h
M llvm/lib/Object/ELFObjectFile.cpp
M llvm/lib/Object/ObjectFile.cpp
M llvm/lib/TargetParser/TargetDataLayout.cpp
M llvm/lib/TargetParser/Triple.cpp
M llvm/unittests/Object/ELFObjectFileTest.cpp
Log Message:
-----------
[ELF][LLDB] Add an nvsass triple (#159459)
When handling CUDA ELF files via objdump or LLDB, the ELF parser in LLVM
needs to distinguish if an ELF file is sass or not, which requires a
triple for sass to exist in llvm. This patch includes all the necessary
changes for LLDB and objdump to correctly identify these files with the
correct triple.
Commit: fcf2c4629ccf41d13837748b261bfab6625afb11
https://github.com/llvm/llvm-project/commit/fcf2c4629ccf41d13837748b261bfab6625afb11
Author: Wendi <uwendi at gmail.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M llvm/docs/QualGroup.rst
R llvm/docs/qual-wg/slides/202507_llvm_qual_wg.pdf
R llvm/docs/qual-wg/slides/202508_llvm_qual_wg.pdf
R llvm/docs/qual-wg/slides/202509_llvm_qual_wg.pdf
Log Message:
-----------
[QualGroup] Update Slides Section, Add AI Transcription Policy, Clean Up (#158842)
This patch makes the following updates to the `QualGroup.rst`
documentation:
✅ 1. Replace slide links with Google Drive URLs
Replaced links to slide PDFs previously hosted in `llvm/docs/qual-wg/`
with publicly accessible links to the same files stored on Google Drive.
✅ 2. Remove duplicated "Current Topics & Backlog" section
Removed an accidental duplication of the "Current Topics & Backlog"
section to improve clarity and structure.
✅ 3. Add "AI Transcription Policy" section
Introduced a dedicated section documenting the group's practices and
expectations regarding AI-based auto-transcription during sync-up
meetings. Includes purpose, consent practices, retention details, and
how participants can opt out or raise concerns.
✅ 4. Remove `qual-wg` subfolder from `docs`
Removed the now-unused `llvm/docs/qual-wg` directory after migrating
slide hosting off-repo. No longer needed for qualification group
documentation.
✅ 5. Revision of the introduction
Updated sentence to reflect the most current and widely relevant safety
standards: adding IEC 61508 and IEC 62304 for broader applicability, and
replacing EN 50128 (older standard in railways) by EN 50716 for
correctness.
---------
Co-authored-by: Wendi Urribarri (Woven by Toyota <wendi.urribarri at woven-planet.global>
Commit: 6e977aabb9494ab0afbe4b4b47465a0798e2bf45
https://github.com/llvm/llvm-project/commit/6e977aabb9494ab0afbe4b4b47465a0798e2bf45
Author: Nico Weber <thakis at chromium.org>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/BUILD.gn
M llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn
Log Message:
-----------
[gn] port a513b701752b1
Commit: 8afea0d0ea1c1d24c8df646a6d8c87fd02ca0ea1
https://github.com/llvm/llvm-project/commit/8afea0d0ea1c1d24c8df646a6d8c87fd02ca0ea1
Author: Akash Banerjee <akash.banerjee at amd.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
A offload/test/offloading/fortran/target-declare-mapper-allocatable.f90
Log Message:
-----------
[OpenMP][MLIR] Preserve to/from flags in mapper base entry for mappers (#159799)
With declare mapper, the parent base entry was emitted as `TARGET_PARAM`
only. The mapper received a map-type without `to/from`, causing
components to degrade to `alloc`-only (no copies), breaking allocatable
payload mapping. This PR preserves the map-type bits from the parent.
This fixes #156466.
Commit: 733c1aded131ca955563ef7ef04fb8acf49aa5e3
https://github.com/llvm/llvm-project/commit/733c1aded131ca955563ef7ef04fb8acf49aa5e3
Author: AZero13 <gfunni234 at gmail.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/ARM/ARMISelLowering.h
M llvm/lib/Target/ARM/ARMInstrInfo.td
M llvm/lib/Target/ARM/ARMInstrThumb2.td
M llvm/lib/Target/ARM/ARMScheduleA57.td
M llvm/lib/Target/ARM/ARMScheduleR52.td
M llvm/lib/Target/ARM/ARMScheduleSwift.td
M llvm/test/Analysis/CostModel/ARM/abs.ll
M llvm/test/Analysis/CostModel/ARM/mve-abs.ll
M llvm/test/CodeGen/Thumb2/abs.ll
Log Message:
-----------
[ARM] Replace ABS and tABS machine nodes with custom lowering (#156717)
Just do a custom lowering instead.
Also copy paste the cmov-neg fold to prevent regressions in nabs.
Commit: e22985795ceddae29d91580f92e0d04d80ce5f60
https://github.com/llvm/llvm-project/commit/e22985795ceddae29d91580f92e0d04d80ce5f60
Author: David Green <david.green at arm.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
Log Message:
-----------
[AArch64] Clean up the formatting of some bitconvert patterns. NFC
Commit: b28d2ea432ab9ce04225874d893769be109be5c3
https://github.com/llvm/llvm-project/commit/b28d2ea432ab9ce04225874d893769be109be5c3
Author: Amr Hesham <amr96 at programmer.net>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
M clang/test/CIR/CodeGen/vector-ext.cpp
M clang/test/CIR/CodeGen/vector.cpp
Log Message:
-----------
[CIR] Implement Logical AND for VectorType (#158696)
This change adds support for local AND op for VectorType
Issue https://github.com/llvm/llvm-project/issues/136487
Commit: 580860e8b7341783e8e53114f26b9a9659a3a3e1
https://github.com/llvm/llvm-project/commit/580860e8b7341783e8e53114f26b9a9659a3a3e1
Author: Joseph Huber <huberjn at outlook.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M offload/plugins-nextgen/amdgpu/src/rtl.cpp
M offload/plugins-nextgen/cuda/src/rtl.cpp
M openmp/device/include/State.h
M openmp/device/src/Misc.cpp
M openmp/device/src/Synchronization.cpp
M openmp/tools/omptest/src/OmptAssertEvent.cpp
Log Message:
-----------
[OpenMP][NFC] Clean up a bunch of warnings and clang-tidy messages (#159831)
Summary:
I made the GPU flags accept more of the default LLVM warnings, which
triggered some new cases. Clean those up and fix some other ones while
I'm at it.
Commit: dcce216289b10f01ac4e974efcbd486f79cc35ea
https://github.com/llvm/llvm-project/commit/dcce216289b10f01ac4e974efcbd486f79cc35ea
Author: Jordan Rupprecht <rupprecht at google.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
Log Message:
-----------
[bazel][AArch64] Port #156364: fix tablegen args (#159835)
This was updated in #156364 but `-ignore-non-decodable-operands` was
removed from the wrong tablegen arg list (arm vs aarch64)
Commit: 46ce6a02ffc15e6b3b8a9ca89714c00c06150bed
https://github.com/llvm/llvm-project/commit/46ce6a02ffc15e6b3b8a9ca89714c00c06150bed
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/test/SemaCXX/builtin-structured-binding-size.cpp
Log Message:
-----------
[clang] diagnose invalid std::tuple_size sizes (#159677)
This makes sure the tuple sizes remain within implementation limits, and
this doesn't cause the compiler to crash later, as the tuple size is
assumed to fit within an UnsignedOrNone.
Fixes #159563
Commit: 57a593f6b23be04d47fee0c691e6738bdec0e608
https://github.com/llvm/llvm-project/commit/57a593f6b23be04d47fee0c691e6738bdec0e608
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
R libcxx/test/std/re/re.alg/re.alg.match/awk.locale.pass.cpp
M libcxx/test/std/re/re.alg/re.alg.match/awk.pass.cpp
R libcxx/test/std/re/re.alg/re.alg.match/basic.locale.pass.cpp
M libcxx/test/std/re/re.alg/re.alg.match/basic.pass.cpp
R libcxx/test/std/re/re.alg/re.alg.match/ecma.locale.pass.cpp
M libcxx/test/std/re/re.alg/re.alg.match/ecma.pass.cpp
R libcxx/test/std/re/re.alg/re.alg.match/extended.locale.pass.cpp
M libcxx/test/std/re/re.alg/re.alg.match/extended.pass.cpp
R libcxx/test/std/re/re.alg/re.alg.search/awk.locale.pass.cpp
M libcxx/test/std/re/re.alg/re.alg.search/awk.pass.cpp
R libcxx/test/std/re/re.alg/re.alg.search/basic.locale.pass.cpp
M libcxx/test/std/re/re.alg/re.alg.search/basic.pass.cpp
R libcxx/test/std/re/re.alg/re.alg.search/ecma.locale.pass.cpp
M libcxx/test/std/re/re.alg/re.alg.search/ecma.pass.cpp
R libcxx/test/std/re/re.alg/re.alg.search/extended.locale.pass.cpp
M libcxx/test/std/re/re.alg/re.alg.search/extended.pass.cpp
M libcxx/test/std/re/re.traits/lookup_collatename.pass.cpp
Log Message:
-----------
[libc++] Remove obsolete locale-specific regex tests (#159590)
After a recent macOS update, several of the locale-specific regex tests
started failing. These tests were mainly testing two locale specific
features of regular expressions:
- A character class like `[=x=]` matches any character that is
considered equivalent to `x` according to the collation rules of the
current locale.
- A character class like `[[.ch.]]` matches anything that is equivalent
to `ch` (whether as two letters or as a single collation element) in the
current locale.
However, these tests were relying on platform-specific localization
data, specifically they were only working with older macOS localization
data. As can be seen from the numerous XFAILs, most mainstream platforms
didn't actually pass this test. After the macOS update, macOS itself
also doesn't pass these tests anymore.
I looked at whether there are locales where these tests would still make
sense, and I couldn't find any. I am not a localization expert, but it
appears that only legacy locales like the traditional Spanish locale
(which isn't commonly shipped on systems anymore) considers `[.ch.]` to
be a single collation element. Therefore, it seems that the locale
specific part of these tests is not relevant anymore, and this patch
removes them.
The patch also moves some tests for equivalence classes inside character
classes to their non locale-specific tests, since that feature was not
covered there.
Finally, the lookup_collatename.pass.cpp test was fixed by removing an
assertion that `ch` is a collation element in the CZ locale, which seems
to not be the case in recent localization data (and appears to be the
root cause for about half the failures in these tests).
Commit: 19659eec2b81720eb6c827349c8df28331393e1a
https://github.com/llvm/llvm-project/commit/19659eec2b81720eb6c827349c8df28331393e1a
Author: Florian Hahn <flo at fhahn.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M llvm/test/Transforms/LoopVectorize/AArch64/replicating-load-store-costs.ll
M llvm/test/Transforms/LoopVectorize/X86/x86_fp80-vector-store.ll
Log Message:
-----------
[LV] Add additional test for replicating store costs.
Add tests for costing replicating stores with x86_fp80, scalarizing
costs after discarding interleave groups and cost when preferring vector
addressing.
Commit: 93f9ca21f060a7aa34e5bb94557409634bf0e39d
https://github.com/llvm/llvm-project/commit/93f9ca21f060a7aa34e5bb94557409634bf0e39d
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/Yaml.h
A clang/test/Analysis/Inputs/taint-generic-config-vfs.json
M clang/test/Analysis/taint-generic.c
Log Message:
-----------
[clang][analyzer] Load config through the proper VFS (#159164)
This PR ensures that the Clang static analyzer loads the config file
through the properly-configured VFS rather than through the bare real
file system. This enables correctly going through VFS overlays, unifying
the behavior with the rest of the compiler.
Commit: 81c0c7337df51b84feee6c40c4e09f41e740e3b1
https://github.com/llvm/llvm-project/commit/81c0c7337df51b84feee6c40c4e09f41e740e3b1
Author: Florian Hahn <flo at fhahn.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/X86/x86_fp80-vector-store.ll
Log Message:
-----------
[LV] Pass operand info to getMemoryOpCost in getMemInstScalarizationCost.
Pass operand info to getMemoryOpCost in getMemInstScalarizationCost.
This matches the behavior in VPReplicateRecipe::computeCost.
Commit: ef1372af431f62ca05d6c56ad5d13813860c4aae
https://github.com/llvm/llvm-project/commit/ef1372af431f62ca05d6c56ad5d13813860c4aae
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M llvm/include/llvm/Support/KnownBits.h
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/Support/KnownBits.cpp
Log Message:
-----------
[KnownBits] Add setAllConflict to set all bits in Zero and One. NFC (#159815)
This is a common pattern to initialize Knownbits that occurs before
loops that call intersectWith.
Commit: d38979dca24a20b94a682aef5dfbd9e290335ea9
https://github.com/llvm/llvm-project/commit/d38979dca24a20b94a682aef5dfbd9e290335ea9
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M llvm/lib/Target/PowerPC/PPC.td
Log Message:
-----------
Revert "[PowerPC] clean unused PPC target feature FeatureBPERMD" (#159837)
Reverts llvm/llvm-project#159782
The PR breaks multiple build bots and CI as well.
Commit: 29344380ce3d32d23ceb783eacb92787c857c04c
https://github.com/llvm/llvm-project/commit/29344380ce3d32d23ceb783eacb92787c857c04c
Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/CIR/Dialect/IR/CIRAttrConstraints.td
M clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
M clang/lib/AST/ExprClassification.cpp
M clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
M clang/lib/CIR/Dialect/IR/CIRDialect.cpp
M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
M clang/lib/Driver/ToolChains/UEFI.cpp
M clang/lib/Headers/hlsl/hlsl_compat_overloads.h
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/StaticAnalyzer/Checkers/Yaml.h
A clang/test/Analysis/Inputs/taint-generic-config-vfs.json
M clang/test/Analysis/taint-generic.c
M clang/test/CIR/CodeGen/vector-ext.cpp
M clang/test/CIR/CodeGen/vector.cpp
A clang/test/CIR/IR/invalid-type-info.cir
M clang/test/Driver/uefi-constructed-args.c
M clang/test/SemaCXX/builtin-structured-binding-size.cpp
A clang/test/SemaHLSL/BuiltIns/binary-compat-overload-warnings.hlsl
A clang/test/SemaHLSL/BuiltIns/ternary-compat-overload-warnings.hlsl
A clang/test/SemaHLSL/BuiltIns/unary-compat-overload-warnings.hlsl
A clang/test/SemaHLSL/BuiltIns/vec-scalar-compat-overload-warnings.hlsl
M clang/test/SemaTemplate/temp_arg_template.cpp
M compiler-rt/cmake/Modules/CompilerRTUtils.cmake
M flang-rt/CMakeLists.txt
M libc/cmake/modules/prepare_libc_gpu_build.cmake
M libc/test/UnitTest/FEnvSafeTest.cpp
M libc/test/UnitTest/FPMatcher.h
R libcxx/test/std/re/re.alg/re.alg.match/awk.locale.pass.cpp
M libcxx/test/std/re/re.alg/re.alg.match/awk.pass.cpp
R libcxx/test/std/re/re.alg/re.alg.match/basic.locale.pass.cpp
M libcxx/test/std/re/re.alg/re.alg.match/basic.pass.cpp
R libcxx/test/std/re/re.alg/re.alg.match/ecma.locale.pass.cpp
M libcxx/test/std/re/re.alg/re.alg.match/ecma.pass.cpp
R libcxx/test/std/re/re.alg/re.alg.match/extended.locale.pass.cpp
M libcxx/test/std/re/re.alg/re.alg.match/extended.pass.cpp
R libcxx/test/std/re/re.alg/re.alg.search/awk.locale.pass.cpp
M libcxx/test/std/re/re.alg/re.alg.search/awk.pass.cpp
R libcxx/test/std/re/re.alg/re.alg.search/basic.locale.pass.cpp
M libcxx/test/std/re/re.alg/re.alg.search/basic.pass.cpp
R libcxx/test/std/re/re.alg/re.alg.search/ecma.locale.pass.cpp
M libcxx/test/std/re/re.alg/re.alg.search/ecma.pass.cpp
R libcxx/test/std/re/re.alg/re.alg.search/extended.locale.pass.cpp
M libcxx/test/std/re/re.alg/re.alg.search/extended.pass.cpp
M libcxx/test/std/re/re.traits/lookup_collatename.pass.cpp
A lld/test/wasm/Inputs/tags.s
M lld/test/wasm/tag-section.ll
M lldb/cmake/modules/LLDBConfig.cmake
M lldb/include/lldb/Utility/ArchSpec.h
M lldb/source/Utility/ArchSpec.cpp
M lldb/utils/TableGen/CMakeLists.txt
M llvm/cmake/modules/HandleLLVMOptions.cmake
M llvm/docs/QualGroup.rst
R llvm/docs/qual-wg/slides/202507_llvm_qual_wg.pdf
R llvm/docs/qual-wg/slides/202508_llvm_qual_wg.pdf
R llvm/docs/qual-wg/slides/202509_llvm_qual_wg.pdf
M llvm/include/llvm/Object/ELFObjectFile.h
M llvm/include/llvm/Support/KnownBits.h
M llvm/include/llvm/TargetParser/Triple.h
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/CodeGen/AsmPrinter/WasmException.cpp
M llvm/lib/CodeGen/AsmPrinter/WasmException.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/Object/ELFObjectFile.cpp
M llvm/lib/Object/ObjectFile.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Passes/PassRegistry.def
M llvm/lib/Support/KnownBits.cpp
M llvm/lib/Target/AArch64/AArch64InstrFormats.td
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/lib/Target/AArch64/AArch64RegisterInfo.td
M llvm/lib/Target/AArch64/CMakeLists.txt
M llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
M llvm/lib/Target/AArch64/SMEInstrFormats.td
M llvm/lib/Target/AArch64/SVEInstrFormats.td
M llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/ARM/ARMISelLowering.h
M llvm/lib/Target/ARM/ARMInstrInfo.td
M llvm/lib/Target/ARM/ARMInstrThumb2.td
M llvm/lib/Target/ARM/ARMScheduleA57.td
M llvm/lib/Target/ARM/ARMScheduleR52.td
M llvm/lib/Target/ARM/ARMScheduleSwift.td
M llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
M llvm/lib/TargetParser/TargetDataLayout.cpp
M llvm/lib/TargetParser/Triple.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Analysis/CostModel/ARM/abs.ll
M llvm/test/Analysis/CostModel/ARM/mve-abs.ll
M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
M llvm/test/CodeGen/Thumb2/abs.ll
M llvm/test/CodeGen/WebAssembly/exception-legacy.ll
M llvm/test/CodeGen/WebAssembly/exception.ll
A llvm/test/MC/AsmParser/native.s
M llvm/test/MC/Disassembler/ARM/arm-tests.txt
A llvm/test/Other/pipeline-callbacks-string-api.ll
M llvm/test/Transforms/LoopVectorize/AArch64/replicating-load-store-costs.ll
M llvm/test/Transforms/LoopVectorize/X86/x86_fp80-vector-store.ll
M llvm/tools/llvm-mc/llvm-mc.cpp
M llvm/unittests/Object/ELFObjectFileTest.cpp
M llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/BUILD.gn
M llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td
M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
M mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp
M mlir/lib/Dialect/XeGPU/Transforms/XeGPUSubgroupDistribute.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Dialect/XeGPU/propagate-layout.mlir
M mlir/test/Dialect/XeGPU/subgroup-distribute.mlir
M offload/liboffload/API/Program.td
M offload/liboffload/src/OffloadImpl.cpp
M offload/libomptarget/PluginManager.cpp
M offload/plugins-nextgen/amdgpu/src/rtl.cpp
M offload/plugins-nextgen/common/include/PluginInterface.h
M offload/plugins-nextgen/common/src/PluginInterface.cpp
M offload/plugins-nextgen/cuda/src/rtl.cpp
A offload/test/offloading/fortran/target-declare-mapper-allocatable.f90
M offload/unittests/OffloadAPI/CMakeLists.txt
A offload/unittests/OffloadAPI/program/olIsValidBinary.cpp
M openmp/CMakeLists.txt
M openmp/device/include/State.h
M openmp/device/src/Misc.cpp
M openmp/device/src/Synchronization.cpp
M openmp/tools/omptest/src/OmptAssertEvent.cpp
M runtimes/CMakeLists.txt
M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
Log Message:
-----------
Merge branch 'main' into users/rampitec/09-19-_amdgpu_ds_read2_ds_write2_gfx1250_tests._nfc
Compare: https://github.com/llvm/llvm-project/compare/0cd0ffa7835a...29344380ce3d
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