[all-commits] [llvm/llvm-project] 5e4ec0: Fix crash with -ast-dump=json (#137324)
Iris Shi via All-commits
all-commits at lists.llvm.org
Tue Apr 29 23:39:44 PDT 2025
Branch: refs/heads/users/el-ev/fold-masked-merge
Home: https://github.com/llvm/llvm-project
Commit: 5e4ec04063e0f04311b6e717c68cd968a0bb6d36
https://github.com/llvm/llvm-project/commit/5e4ec04063e0f04311b6e717c68cd968a0bb6d36
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
Log Message:
-----------
Fix crash with -ast-dump=json (#137324)
When given an invalid Objective-C extension, Clang would crash when
trying to emit the mangled name of the method to the JSON dump output.
Fixes #137320
Commit: 2f976956e5ccef566418853015fb6b31257aa69f
https://github.com/llvm/llvm-project/commit/2f976956e5ccef566418853015fb6b31257aa69f
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/DeclBase.h
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Sema/Sema.h
M clang/lib/AST/DeclBase.cpp
M clang/lib/Sema/SemaDecl.cpp
A clang/test/Sema/decl-hidden-in-c++.c
Log Message:
-----------
[C] Diagnose declarations hidden in C++ (#137368)
This introduces a new diagnostic, -Wc++-hidden-decl, which is grouped
under -Wc++-compat, that diagnoses declarations which are valid in C but
invalid in C++ due to the type being at the wrong scope. e.g.,
```
struct S {
struct T {
int x;
} t;
};
struct T t; // Valid C, invalid C++
```
This is implementing the other half of #21898
Commit: b0f2bfc7e45427b2df8d45f3cd40c833d1f3bab6
https://github.com/llvm/llvm-project/commit/b0f2bfc7e45427b2df8d45f3cd40c833d1f3bab6
Author: Luke Lau <luke at igalia.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
Log Message:
-----------
[VPlan] Use correct non-FMF constructor in VPInstructionWithType createNaryOp (#137632)
Currently if we try to create a VPInstructionWithType without a FMF via
VPBuilder::createNaryOp we will use the constructor that asserts
`assert(isFPMathOp() && "this op can't take fast-math flags");`.
This fixes it by checking if FMFs have a value, similar to the other
createNaryOp overloads.
This is needed by #129508
Commit: 24661001281da09aa6c5c12e4f2552c9d06a8e88
https://github.com/llvm/llvm-project/commit/24661001281da09aa6c5c12e4f2552c9d06a8e88
Author: Rohit Aggarwal <44664450+rohitaggarwal007 at users.noreply.github.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M llvm/test/CodeGen/X86/masked_gather_scatter.ll
Log Message:
-----------
[X86] Add new #134979 test cases for gather scalar (#137416)
We are adding new test cases to see the transformation impact due to #134979.
These are similar to previous commit #688c3ffb057a87b86c6c1e77040418adf511efbb.
Handling struct with two member and different vector factor.
---------
Co-authored-by: Rohit Aggarwal <Rohit.Aggarwal at amd.com>
Commit: faf87e141438138c3ade265af472b00b25b67ac5
https://github.com/llvm/llvm-project/commit/faf87e141438138c3ade265af472b00b25b67ac5
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
Log Message:
-----------
[LAA] Prefer set-contains over set-count (NFC) (#136749)
Improve code by preferring {SmallSet,SmallPtrSet}::contains() over the
count() function, when used in a boolean context.
Commit: 78d95cc54455755eaac43d956baed6a3612bc72c
https://github.com/llvm/llvm-project/commit/78d95cc54455755eaac43d956baed6a3612bc72c
Author: Fraser Cormack <fraser at codeplay.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
A libclc/clc/include/clc/math/clc_fract.h
M libclc/clc/lib/generic/SOURCES
A libclc/clc/lib/generic/math/clc_fract.cl
A libclc/clc/lib/generic/math/clc_fract.inc
M libclc/generic/include/clc/math/fract.h
R libclc/generic/include/clc/math/fract.inc
M libclc/generic/lib/math/fract.cl
R libclc/generic/lib/math/fract.inc
Log Message:
-----------
[libclc] Move fract to the CLC library (#137785)
The builtin was already vectorized so there's no difference to codegen
for non-SPIR-V targets.
Commit: 1e31f4b5eb96de3080810340c9083138a34587b8
https://github.com/llvm/llvm-project/commit/1e31f4b5eb96de3080810340c9083138a34587b8
Author: Fraser Cormack <fraser at codeplay.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M clang/lib/Basic/Targets/AMDGPU.h
M clang/test/Misc/amdgcn.languageOptsOpenCL.cl
M clang/test/Misc/r600.languageOptsOpenCL.cl
Log Message:
-----------
[AMDGPU] Support the OpenCL generic addrspace feature by default (#137636)
This feature should be supported on AMDGCN architectures with flat
addressing.
Commit: 837d5a740f120eb077aa8808809c057fa38d91f3
https://github.com/llvm/llvm-project/commit/837d5a740f120eb077aa8808809c057fa38d91f3
Author: Fraser Cormack <fraser at codeplay.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
R libclc/clc/include/clc/math/unary_builtin.inc
M libclc/clc/lib/generic/math/clc_ceil.cl
M libclc/clc/lib/generic/math/clc_fabs.cl
M libclc/clc/lib/generic/math/clc_floor.cl
M libclc/clc/lib/generic/math/clc_rint.cl
M libclc/clc/lib/generic/math/clc_round.cl
M libclc/clc/lib/generic/math/clc_trunc.cl
M libclc/generic/lib/math/acos.cl
M libclc/generic/lib/math/acosh.cl
M libclc/generic/lib/math/acospi.cl
M libclc/generic/lib/math/asin.cl
M libclc/generic/lib/math/asinh.cl
M libclc/generic/lib/math/asinpi.cl
M libclc/generic/lib/math/atan.cl
M libclc/generic/lib/math/atanh.cl
M libclc/generic/lib/math/atanpi.cl
M libclc/generic/lib/math/ceil.cl
M libclc/generic/lib/math/fabs.cl
M libclc/generic/lib/math/floor.cl
M libclc/generic/lib/math/log1p.cl
M libclc/generic/lib/math/rint.cl
M libclc/generic/lib/math/round.cl
M libclc/generic/lib/math/trunc.cl
Log Message:
-----------
[libclc][NFC] Remove unary_builtin.inc (#137656)
We had two ways of achieving the same thing. This commit removes
unary_builtin.inc in favour of the approach combining gentype.inc with
unary_def.inc.
There is no change to the codegen for any target.
Commit: 4560ff8740c58745506c7797ec1076fd83dd7345
https://github.com/llvm/llvm-project/commit/4560ff8740c58745506c7797ec1076fd83dd7345
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M lldb/test/Shell/Settings/TestFrameFormatFunctionSuffix.test
Log Message:
-----------
[lldb][test] Skip TestFrameFormatFunctionSuffix.test on Windows
We skip/xfail the other FrameFormat tests on Windows already. The number
of different buildbot configurations out there targetting Windows makes
it hard to make this test portable. If we want to test this on Windows
we should probably just make a dedicated test for it.
Commit: f02c93d707c0f36a696a5ec71131cba95a30c045
https://github.com/llvm/llvm-project/commit/f02c93d707c0f36a696a5ec71131cba95a30c045
Author: Feng Zou <feng.zou at intel.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M llvm/test/CodeGen/X86/apx/tls.ll
Log Message:
-----------
[X86] Remove LLD command in LIT test (#137794)
The test introduced in #136660, may be failed as ld.lld command not
found.
Commit: cc0cf7253967af4aa3dce2a5de186f766564747b
https://github.com/llvm/llvm-project/commit/cc0cf7253967af4aa3dce2a5de186f766564747b
Author: Steven Perron <stevenperron at google.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M clang/lib/Driver/Driver.cpp
A clang/test/Driver/dxc_I.test
Log Message:
-----------
[HLSL] Allow non `.hlsl` files as source files (#137378)
Changes the driver to assume input file with an unknown extension are
HLSL source files instead of object files.
Fixes https://github.com/llvm/llvm-project/issues/137370
Commit: 6695976d16d02d72afc249bb5b46d267c1eee458
https://github.com/llvm/llvm-project/commit/6695976d16d02d72afc249bb5b46d267c1eee458
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/hdr/CMakeLists.txt
A libc/hdr/offsetof_macros.h
M libc/include/llvm-libc-types/CMakeLists.txt
M libc/include/llvm-libc-types/jmp_buf.h
M libc/include/setjmp.yaml
M libc/src/setjmp/CMakeLists.txt
A libc/src/setjmp/linux/CMakeLists.txt
A libc/src/setjmp/linux/sigsetjmp_epilogue.cpp
M libc/src/setjmp/setjmp_impl.h
A libc/src/setjmp/siglongjmp.cpp
A libc/src/setjmp/siglongjmp.h
A libc/src/setjmp/sigsetjmp.h
A libc/src/setjmp/sigsetjmp_epilogue.h
M libc/src/setjmp/x86_64/CMakeLists.txt
M libc/src/setjmp/x86_64/setjmp.cpp
A libc/src/setjmp/x86_64/sigsetjmp.cpp
M libc/test/src/setjmp/CMakeLists.txt
A libc/test/src/setjmp/sigsetjmp_test.cpp
Log Message:
-----------
Reland "[libc] build fix for sigsetjmp (#137047)" (#137214)
Reland `sigsetjmp` patches with build fixes.
We wrap every target replying on the epilogue library into conditional
checks.
---------
Co-authored-by: Petr Hosek <phosek at google.com>
Commit: db2315afa8db1153e3b85d452cd14d5a1b957350
https://github.com/llvm/llvm-project/commit/db2315afa8db1153e3b85d452cd14d5a1b957350
Author: Reid Kleckner <rnk at google.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M clang/lib/CodeGen/BackendUtil.cpp
M clang/unittests/CMakeLists.txt
M clang/unittests/Driver/ModuleCacheTest.cpp
M clang/unittests/Frontend/OutputStreamTest.cpp
M clang/unittests/Interpreter/CMakeLists.txt
M clang/unittests/Interpreter/ExceptionTests/CMakeLists.txt
M clang/unittests/Parse/CMakeLists.txt
Log Message:
-----------
[clang] Merge gtest binaries into AllClangUnitTests (#134196)
This reduces the size of the clang/unittests build directory by 64% and
my overall build dir size by 5%. Static linking is the real driving
factor here, but even if the default build configuration used shared
libraries, I don't see why we should be building so many unit test
binaries.
To make the project more approachable for new contributors, I'm
attempting to make the build a bit less resource-intensive. Build
directory size is a common complaint, and this is low-hanging fruit.
I've noticed that incremental builds leave behind the old, stale gtest binaries, and lit will keep running them. This mostly doesn't matter unless they use shared libraries, which will eventually stop working after successive builds. You can clean up the old test binaries with this command in the build directory:
$ find tools/clang/unittests/ -iname '*Tests' -type f | xargs rm
... or you can simply clean the build directory in a more holistic way.
---------
Co-authored-by: Petr Hosek <phosek at google.com>
Commit: 1433c3e997ef7cc29f460d7b2f5da813acd0cafa
https://github.com/llvm/llvm-project/commit/1433c3e997ef7cc29f460d7b2f5da813acd0cafa
Author: Asher Mancinelli <ashermancinelli at gmail.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M flang/include/flang/Optimizer/Builder/LowLevelIntrinsics.h
M flang/lib/Optimizer/Builder/LowLevelIntrinsics.cpp
Log Message:
-----------
[flang] Remove dead functions for getting LLVM intrinsics (#137743)
In cleaning up LowLevelIntrinsics I found some uncalled functions. We
would like to remove direct calls to llvm instructions wherever possible
to make it easier on consumers of our IR to match LLVM intrinsics, so if
this code is needed again we should use the op from the llvm dialect
instead anyways.
Commit: c5c4f0d11ca033acaab2d92b713cdab25c8ba555
https://github.com/llvm/llvm-project/commit/c5c4f0d11ca033acaab2d92b713cdab25c8ba555
Author: Gaëtan Bossu <gaetan.bossu at arm.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP] Simplify tryToFindDuplicates() (NFC) (#135766)
This NFC aims to simplify the control-flow and interfaces used in tryToFindDuplicates(). The point is to make it easier to understand where decisions for scalar de-duplication are made.
In particular:
- Limit indentation
- Rename some variables to better match their use case
- Always give consistent outputs for VL and ReuseShuffleIndices. This makes it possible to use the same code for building gather TreeEntry everywhere. This also allows to remove the TryToFindDuplicates lambda.
Commit: c5d780bb727e2d0fab9efac87a9b2fc3deeb0ed3
https://github.com/llvm/llvm-project/commit/c5d780bb727e2d0fab9efac87a9b2fc3deeb0ed3
Author: Luke Lau <luke at igalia.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
Log Message:
-----------
[VPlan] Remove no longer needed VP intrinsic handling in VPWidenIntrinsicRecipe::computeCost. NFCI (#137573)
Whenever calls were transformed to VP intrinsics with EVL tail folding
in #110412, this workaround was added in computeCost to avoid an
assertion when checking ICA.getArgs().
However it turned out that the actual arguments were never used and this
assertion was removed in #115983 afterwards, so it's now fine to leave
the arguments empty and use the type based cost instead.
The type based cost and value based cost are the same for these VP
intrinsics.
This was tested by adding back in the transformation code in #110412 and
checking that no assertions were still hit.
Commit: 2e713af20e58a1ca005fcae9165fda3007c0e400
https://github.com/llvm/llvm-project/commit/2e713af20e58a1ca005fcae9165fda3007c0e400
Author: Chao Chen <chao.chen at intel.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPU.h
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUDialect.td
M mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
M mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
M mlir/test/Dialect/XeGPU/invalid.mlir
M mlir/test/Dialect/XeGPU/ops.mlir
Log Message:
-----------
[MLIR][XeGPU] refine verifier for TensorDescType (#137226)
This PR updates the verifier of TensorDescType after the extension of
LayoutAttr in #132425.
Commit: 65b0d21eb490aaa0c742739ce95b1acc654be22b
https://github.com/llvm/llvm-project/commit/65b0d21eb490aaa0c742739ce95b1acc654be22b
Author: David Spickett <david.spickett at linaro.org>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M lldb/include/lldb/Target/Process.h
M lldb/source/API/SBProcess.cpp
M lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
M lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
M lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
Log Message:
-----------
[lldb] Remove "error:" prefix from reverse execute error messages
Errors will get "error:" prefixes automatically so this is not needed.
Commit: 55b4e5e5154550ba981af08ca9bd1e3da00e6fea
https://github.com/llvm/llvm-project/commit/55b4e5e5154550ba981af08ca9bd1e3da00e6fea
Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py
Log Message:
-----------
[lldb] Disable TestDAP_attach
This is also flaky. See https://github.com/llvm/llvm-project/issues/137660
Commit: 94dc0a0e7bc723af13a0923aa102fcc4d03c82a2
https://github.com/llvm/llvm-project/commit/94dc0a0e7bc723af13a0923aa102fcc4d03c82a2
Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
Log Message:
-----------
[NFC][AMDGPU] Drop recursive types in LowerBufferFatPointers (#137735)
Now that IRMover and the rest of LLVM don't allow recursive types, drop
support for them from the clone of the IRMover code used when lowering
buffer fat pointer operations.
Commit: 67783eb166664cb0be9da01d1dc83178615a0575
https://github.com/llvm/llvm-project/commit/67783eb166664cb0be9da01d1dc83178615a0575
Author: Lucas Duarte Prates <lucas.prates at arm.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M llvm/lib/Analysis/CMakeLists.txt
Log Message:
-----------
Re-land: [Analysis] Ensure use of strict fp exceptions in ConstantFolding (#137652)
To perform constant folding in math operations, the implementation of
the ConstantFolding Analysis relies on the use of the math functions
from the host's libm. In particular, it relies on checking the value of
errno and IEEE exceptions to determine when an operation is safe to be
constant-folded.
On some platforms, such as BSD or Darwin, math library functions don't
set errno, so the ConstantFolding check depends only on the value of
IEEE exceptions. As the FP exception behaviour is set to `ignore` by
default, the compiler can perform optimisations that would get in the
way of such checks being performed correctly.
This patch sets the FP exception behaviour to `strict` when compiling
the `ConstantFolding.cpp` source file, ensuring the value of IEEE
exceptions can be reliably used by its implementation.
This re-lands the changes from #136139, but using the `-ftrapping-math`
compile option instead of `-ffp-exception-behavior` for GCC support.
Commit: 3f8035961f08d160851c40f7ac1f6e441149183c
https://github.com/llvm/llvm-project/commit/3f8035961f08d160851c40f7ac1f6e441149183c
Author: Daniel Chen <cdchen at ca.ibm.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M clang/lib/Driver/ToolChains/AIX.h
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M flang/test/Driver/flang-ld-powerpc.f90
Log Message:
-----------
[driver] return immediately in `addArchSpecificRPath` and `getArchSpecificLibPaths` on AIX (#134520)
`addArchSpecificRPath` should immediately return for AIX as AIX doesn't
support `rpath` option.
`getArchSpecificLibPaths` should return as well as we don't want
`-L/ArchSepcificLibPaths` sent to the linker on AIX.
Commit: 6ffccea1c2b804d530c0f7bf3cc92db42b4432c5
https://github.com/llvm/llvm-project/commit/6ffccea1c2b804d530c0f7bf3cc92db42b4432c5
Author: Fraser Cormack <fraser at codeplay.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M libclc/generic/include/clc/math/atan2.h
M libclc/generic/include/clc/math/atan2pi.h
R libclc/generic/include/clc/math/binary_decl_tt.inc
M libclc/generic/include/clc/math/copysign.h
M libclc/generic/include/clc/math/fdim.h
M libclc/generic/include/clc/math/fmod.h
M libclc/generic/include/clc/math/half_divide.h
M libclc/generic/include/clc/math/half_powr.h
M libclc/generic/include/clc/math/hypot.h
M libclc/generic/include/clc/math/maxmag.h
M libclc/generic/include/clc/math/minmag.h
M libclc/generic/include/clc/math/nextafter.h
M libclc/generic/include/clc/math/pow.h
M libclc/generic/include/clc/math/powr.h
M libclc/generic/include/clc/math/remainder.h
Log Message:
-----------
[libclc][NFC] Remove binary_decl_tt.inc
This was performing the same role as binary_decl.inc.
Commit: b62afbccc8da8a14d06db68cd58cb48a14d79f91
https://github.com/llvm/llvm-project/commit/b62afbccc8da8a14d06db68cd58cb48a14d79f91
Author: NimishMishra <42909663+NimishMishra at users.noreply.github.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M llvm/include/llvm/Frontend/Atomic/Atomic.h
M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
M llvm/lib/Frontend/Atomic/Atomic.cpp
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Target/LLVMIR/openmp-llvm.mlir
Log Message:
-----------
[mlir][OpenMP] Add __atomic_store to AtomicInfo (#121055)
This PR adds functionality for `__atomic_store` libcall in AtomicInfo.
This allows for supporting complex types in `atomic write`.
Fixes https://github.com/llvm/llvm-project/issues/113479
Fixes https://github.com/llvm/llvm-project/issues/115652
Commit: ac65b2c327d791a4731360c52625d11b8d233449
https://github.com/llvm/llvm-project/commit/ac65b2c327d791a4731360c52625d11b8d233449
Author: Alan Li <me at alanli.org>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M mlir/include/mlir/Dialect/GPU/Transforms/Passes.h
M mlir/lib/Dialect/GPU/CMakeLists.txt
M mlir/lib/Dialect/GPU/Transforms/GlobalIdRewriter.cpp
A mlir/lib/Dialect/GPU/Transforms/SubgroupIdRewriter.cpp
A mlir/test/Dialect/GPU/subgroupId-rewrite.mlir
M mlir/test/lib/Dialect/GPU/TestGpuRewrite.cpp
Log Message:
-----------
[MLIR][GPU] Add a pattern to rewrite gpu.subgroup_id (#137671)
This patch impelemnts a rewrite pattern for transforming
`gpu.subgroup_id` to:
```
subgroup_id = linearized_thread_id / gpu.subgroup_size
```
where:
```
linearized_thread_id = thread_id.x + block_dim.x * (thread_id.y + block_dim.y * thread_id.z)
```
Commit: cf7301aeb808a13fe882a4b0bf7f1bfe4051c301
https://github.com/llvm/llvm-project/commit/cf7301aeb808a13fe882a4b0bf7f1bfe4051c301
Author: Pavel Labath <pavel at labath.sk>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M lldb/unittests/Host/posix/HostTest.cpp
Log Message:
-----------
[lldb] Disable the process architecture test on macOS as well
Fails on the x86_64 bot.
Commit: 900505900e2033f24548f1b04b531585ce932215
https://github.com/llvm/llvm-project/commit/900505900e2033f24548f1b04b531585ce932215
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/inline-asm-invalid.ll
Log Message:
-----------
[RISCV] Check the VT for R and cR inline asm constraints is 2*xlen. (#137749)
Fixes #137726.
Commit: 316a6ff3d08f986e7b38f81415fd611c2e876fd6
https://github.com/llvm/llvm-project/commit/316a6ff3d08f986e7b38f81415fd611c2e876fd6
Author: YongKang Zhu <yongzhu at fb.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M bolt/lib/Rewrite/RewriteInstance.cpp
A bolt/test/AArch64/skip-non-vfuncptr-reloc-in-relative-vtable.s
Log Message:
-----------
[BOLT][RelVTable] Skip special handling on non virtual function pointer relocations (#137406)
Besides virtual function pointers vtable could contain other kinds of
entries like those for RTTI data that also require relocations. We need
to skip special handling on relocations for non virtual function pointers
in relative vtable.
Co-authored-by: Maksim Panchenko <maks at meta.com>
Commit: 3081ec12491aa2514e03fe27abf9ff44e9e332ae
https://github.com/llvm/llvm-project/commit/3081ec12491aa2514e03fe27abf9ff44e9e332ae
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M lldb/packages/Python/lldbsuite/test/decorators.py
M lldb/test/API/commands/expression/import-std-module/pair/TestPairFromStdModule.py
M lldb/test/API/commands/watchpoints/variable_out_of_scope/TestWatchedVarHitWhenInScope.py
M lldb/test/API/lang/objc/bitfield_ivars/TestBitfieldIvars.py
M lldb/test/API/tools/lldb-dap/attach/TestDAP_attachByPortNum.py
Log Message:
-----------
[lldb] Provide an unconditional @skip annotation for API tests (#137712)
The correct way of doing this today is to use `@skipIf` with no
arguments, which reads like it expects a condition.
Fixes #137710
Commit: 55287705691ab42e5b15d2b2847a22aaa3b99e84
https://github.com/llvm/llvm-project/commit/55287705691ab42e5b15d2b2847a22aaa3b99e84
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
Log Message:
-----------
[mlir][Linalg] Add syntax-highlighting in docs (#137646)
With this small update we should gain MLIR syntax-highlighting in:
* https://mlir.llvm.org/docs/Dialects/Linalg/
Commit: bd3dde0f871cd71a797ba5da3070fa3ddbc48828
https://github.com/llvm/llvm-project/commit/bd3dde0f871cd71a797ba5da3070fa3ddbc48828
Author: Cyndy Ishida <cyndy_ishida at apple.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M clang/include/clang/Basic/DiagnosticSerializationKinds.td
M clang/lib/Serialization/ASTReader.cpp
A clang/test/Modules/invalid-module-dep.c
Log Message:
-----------
[clang][Modules] Diagnose mismatching pcm dependencies in explicit buiilds (#137068)
In an explicit build, the dependency scanner generates invocations with
dependencies to module files to use during compilation. The pcm's passed
in the invocations should match the ones that were imported by other
modules that share the same dependencies.
We have seen bugs caused from incorrect invocations that mismatch which
module file to load. When this happens report it as a warning, to help
with investigations, as that should never occur in a well behaved build
scheduled from the dependency scanner.
The warning flag is off by default.
Commit: ea688c031e99c48a35e0c764d0224c7eed559b12
https://github.com/llvm/llvm-project/commit/ea688c031e99c48a35e0c764d0224c7eed559b12
Author: Fraser Cormack <fraser at codeplay.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
A libclc/clc/include/clc/math/clc_fdim.h
M libclc/clc/include/clc/math/gentype.inc
M libclc/clc/lib/generic/SOURCES
A libclc/clc/lib/generic/math/clc_fdim.cl
A libclc/clc/lib/generic/math/clc_fdim.inc
M libclc/generic/lib/math/fdim.cl
R libclc/generic/lib/math/fdim.inc
Log Message:
-----------
[libclc] Move fdim to CLC library; simplify (#137811)
This commit moves the fdim builtin to the CLC library. It simultaneously
simplifies the codegen, unifying it between scalar and vector and
avoiding bithacking for vector types.
Commit: 9d1f1c4c8b5e96dfdbde37cb2cf906afdce5ef30
https://github.com/llvm/llvm-project/commit/9d1f1c4c8b5e96dfdbde37cb2cf906afdce5ef30
Author: Andres-Salamanca <andrealebarbaritos at gmail.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M clang/include/clang/CIR/Dialect/IR/CIRDialect.h
M clang/include/clang/CIR/Dialect/IR/CIROps.td
M clang/include/clang/CIR/MissingFeatures.h
M clang/lib/CIR/CodeGen/CIRGenFunction.h
M clang/lib/CIR/CodeGen/CIRGenStmt.cpp
M clang/lib/CIR/Dialect/IR/CIRDialect.cpp
A clang/test/CIR/CodeGen/switch.cpp
A clang/test/CIR/IR/switch.cir
Log Message:
-----------
[CIR] Upstream initial support for switch statements (#137106)
This introduces initial support for the switchOP, with caseOP of the
Equal kind. Support for additional case kinds such as AnyOf, Range, and
Default will be included in a future patch. Similarly, lowering to LLVM
IR and flattening of the switch are deferred and will be addressed in
subsequent updates.
Commit: 30bedb318611d84cf9b0672f6e0675d33f90d2c8
https://github.com/llvm/llvm-project/commit/30bedb318611d84cf9b0672f6e0675d33f90d2c8
Author: TatWai Chong <tatwai.chong at arm.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M mlir/include/mlir/Dialect/Tosa/IR/TosaUtilOps.td
M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg-pipeline.mlir
M mlir/test/Dialect/Tosa/invalid.mlir
M mlir/test/Dialect/Tosa/variables.mlir
M mlir/test/Dialect/Tosa/verifier.mlir
Log Message:
-----------
[mlir][tosa] Add error if checks Variable Operators (#137291)
For VARIABLE, VARIABLE_WRITE & VARIABLE_READ
Commit: f37ab152540d374ceff8551abef3de5110e697ee
https://github.com/llvm/llvm-project/commit/f37ab152540d374ceff8551abef3de5110e697ee
Author: 黃國庭 <we3223 at gmail.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
A llvm/test/Transforms/InstCombine/cttz-shift-exact.ll
M llvm/test/Transforms/InstCombine/select.ll
Log Message:
-----------
[InstCombine] Infer exact for lshr by cttz (#136696)
Infer the 'exact' flag on an 'lshr' or 'ashr' instruction when the shift
amount is computed via a 'cttz' intrinsic on the same operand.
Proof: https://alive2.llvm.org/ce/z/CQR2PG
Fixes #131444.
Commit: ad66e5495d598c9f64cfafba92ba48f2a24b8278
https://github.com/llvm/llvm-project/commit/ad66e5495d598c9f64cfafba92ba48f2a24b8278
Author: Deric C. <cheung.deric at gmail.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M llvm/include/llvm/BinaryFormat/DXContainerConstants.def
M llvm/test/CodeGen/DirectX/ShaderFlags/disable-opt-cs.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/disable-opt-lib.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/low-precision.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/raw-and-structured-buffers.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/res-may-alias-0.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/res-may-alias-1.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/res-may-not-alias-sm6.6.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/res-may-not-alias-sm6.7.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/res-may-not-alias-valver1.8.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/use-native-low-precision-0.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/use-native-low-precision-1.ll
M llvm/test/ObjectYAML/DXContainer/DomainMaskVectors.yaml
M llvm/test/ObjectYAML/DXContainer/GeometryMaskVectors.yaml
M llvm/test/ObjectYAML/DXContainer/HullMaskVectors.yaml
M llvm/test/tools/obj2yaml/DXContainer/ShaderFlags.yaml
M llvm/test/tools/obj2yaml/DXContainer/ShaderFlagsEmpty.yaml
Log Message:
-----------
[DirectX] Revise descriptions of DXIL module flags (#133543)
This PR revises the descriptions of DXIL module flags.
Descriptions such as `D3D11_1_SB_GLOBAL_FLAG_SKIP_OPTIMIZATION` are
referring to Global Flags in DXBC.
DXBC is not a supported backend target, so references to DXBC should not
be present.
There is also confusion with regards to the description of the
`LowPrecisionPresent` DXIL module flag, which currently reads
`D3D11_1_SB_GLOBAL_FLAG_ENABLE_MINIMUM_PRECISION` and implies the use of
minimum-precision to handle 16-bit types.
However this is not true, because both the flags `LowPrecisionPresent`
and `UseNativeLowPrecision` can simultaneously be set in the same DXIL
module, and minimum precision mode is mutually exclusive with native low
precision.
This PR revises the description of the `LowPrecisionPresent` flag to
accurately describe what it represents.
Commit: d20796dab776f80c26915c44d558357f3459a184
https://github.com/llvm/llvm-project/commit/d20796dab776f80c26915c44d558357f3459a184
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2025-04-30 (Wed, 30 Apr 2025)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/icmp-add.ll
M llvm/test/Transforms/InstCombine/icmp-equality-xor.ll
M llvm/test/Transforms/InstCombine/icmp-select.ll
Log Message:
-----------
[InstCombine] Offset both sides of an equality icmp (#134086)
Proof: https://alive2.llvm.org/ce/z/zQ2UW4
Closes https://github.com/llvm/llvm-project/issues/134024
Commit: 7b70fc74d039dbb0c3c67feb1741bb5c446d55f7
https://github.com/llvm/llvm-project/commit/7b70fc74d039dbb0c3c67feb1741bb5c446d55f7
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Target/LLVMIR/openmp-cancel.mlir
M mlir/test/Target/LLVMIR/openmp-todo.mlir
Log Message:
-----------
[mlir][OpenMP] Convert omp.cancel sections to LLVMIR (#137193)
This is quite ugly but it is the best I could think of. The old
FiniCBWrapper was way too brittle depending upon the exact block
structure inside of the section, and could be confused by any control
flow in the section (e.g. an if clause on cancel). The wording in the
comment and variable names didn't seem to match where it was actually
branching too as well.
Clang's (non-OpenMPIRBuilder) lowering for cancel inside of sections
branches to a block containing __kmpc_for_static_fini.
This was hard to achieve here because sometimes the FiniCBWrapper has to
run before the worksharing loop finalization has been crated.
To get around this ordering issue I created a dummy branch to a dummy
block, which is then fixed later once all of the information is
available.
Commit: 6022a5214b597561d23c26a839a210f41c246c47
https://github.com/llvm/llvm-project/commit/6022a5214b597561d23c26a839a210f41c246c47
Author: Callum Fare <callum at codeplay.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M offload/liboffload/src/OffloadImpl.cpp
M offload/test/CMakeLists.txt
M offload/test/lit.cfg
A offload/test/unit/lit.cfg.py
A offload/test/unit/lit.site.cfg.in
M offload/unittests/CMakeLists.txt
M offload/unittests/OffloadAPI/CMakeLists.txt
M offload/unittests/OffloadAPI/common/Environment.cpp
M offload/unittests/OffloadAPI/common/Environment.hpp
M offload/unittests/OffloadAPI/common/Fixtures.hpp
R offload/unittests/OffloadAPI/device/olDeviceInfo.hpp
M offload/unittests/OffloadAPI/device/olGetDeviceInfo.cpp
M offload/unittests/OffloadAPI/device/olGetDeviceInfoSize.cpp
M offload/unittests/OffloadAPI/device_code/CMakeLists.txt
M offload/unittests/OffloadAPI/kernel/olGetKernel.cpp
M offload/unittests/OffloadAPI/kernel/olLaunchKernel.cpp
M offload/unittests/OffloadAPI/memory/olMemAlloc.cpp
M offload/unittests/OffloadAPI/memory/olMemFree.cpp
M offload/unittests/OffloadAPI/memory/olMemcpy.cpp
M offload/unittests/OffloadAPI/platform/olGetPlatformInfo.cpp
M offload/unittests/OffloadAPI/platform/olGetPlatformInfoSize.cpp
R offload/unittests/OffloadAPI/platform/olPlatformInfo.hpp
M offload/unittests/OffloadAPI/program/olCreateProgram.cpp
M offload/unittests/OffloadAPI/program/olDestroyProgram.cpp
M offload/unittests/OffloadAPI/queue/olCreateQueue.cpp
M offload/unittests/OffloadAPI/queue/olDestroyQueue.cpp
M offload/unittests/OffloadAPI/queue/olWaitQueue.cpp
R offload/unittests/Plugins/CMakeLists.txt
R offload/unittests/Plugins/NextgenPluginsTest.cpp
Log Message:
-----------
[Offload] Add check-offload-unit for liboffload unittests (#137312)
Adds a `check-offload-unit` target for running the liboffload unit test
suite. This unit test binary runs the tests for every available device.
This can optionally filtered to devices from a single platform, but the
check target runs on everything.
The target is not part of `check-offload` and does not get propagated to
the top level build. I'm not sure if either of these things are
desirable, but I'm happy to look into it if we want.
Also remove the `offload/unittests/Plugins` test as it's dead code and
doesn't build.
Commit: d63703842937c8a089a272297886de5fc7bdc0a4
https://github.com/llvm/llvm-project/commit/d63703842937c8a089a272297886de5fc7bdc0a4
Author: Ilia Kuklin <ikuklin at accesssoftek.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M lldb/docs/dil-expr-lang.ebnf
M lldb/include/lldb/ValueObject/DILAST.h
M lldb/include/lldb/ValueObject/DILEval.h
M lldb/include/lldb/ValueObject/DILLexer.h
M lldb/include/lldb/ValueObject/DILParser.h
M lldb/source/Target/StackFrame.cpp
M lldb/source/ValueObject/DILAST.cpp
M lldb/source/ValueObject/DILEval.cpp
M lldb/source/ValueObject/DILLexer.cpp
M lldb/source/ValueObject/DILParser.cpp
A lldb/test/API/commands/frame/var-dil/basics/AddressOf/Makefile
A lldb/test/API/commands/frame/var-dil/basics/AddressOf/TestFrameVarDILAddressOf.py
A lldb/test/API/commands/frame/var-dil/basics/AddressOf/main.cpp
A lldb/test/API/commands/frame/var-dil/basics/PointerArithmetic/Makefile
A lldb/test/API/commands/frame/var-dil/basics/PointerArithmetic/TestFrameVarDILPointerArithmetic.py
A lldb/test/API/commands/frame/var-dil/basics/PointerArithmetic/main.cpp
Log Message:
-----------
[LLDB] Add unary operators Dereference and AddressOf to DIL (#134428)
Commit: 694a42f018d0847005e6b6ad1aa2f22a64f1f482
https://github.com/llvm/llvm-project/commit/694a42f018d0847005e6b6ad1aa2f22a64f1f482
Author: Fraser Cormack <fraser at codeplay.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M libclc/clc/include/clc/math/gentype.inc
M libclc/clc/lib/generic/common/clc_sign.inc
M libclc/clc/lib/generic/math/clc_asinpi.inc
M libclc/clc/lib/generic/math/clc_atanpi.inc
M libclc/clc/lib/generic/math/clc_fdim.inc
M libclc/clc/lib/generic/math/clc_rootn.inc
Log Message:
-----------
[libclc] Avoid casting NANs & literals to 'gentype' (#137824)
By having these already defined as type 'gentype' we can avoid
unnecessary casting.
Commit: 5cec6f6f2d0a9abb53af9d663a60fe56736fc2ac
https://github.com/llvm/llvm-project/commit/5cec6f6f2d0a9abb53af9d663a60fe56736fc2ac
Author: Elvina Yakubova <eyakubova at nvidia.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M bolt/test/non-empty-debug-line.test
Log Message:
-----------
[BOLT][NFC] Add keep-nops option to non-empty-debug-line.test (#137812)
On openSUSE distribution test is failing due to different .debug_line
size without the keep-nops option
Commit: 82c036e2de4eba0e286a94c9b3240e4b14d8aee4
https://github.com/llvm/llvm-project/commit/82c036e2de4eba0e286a94c9b3240e4b14d8aee4
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M flang/include/flang/Optimizer/Analysis/AliasAnalysis.h
M flang/include/flang/Optimizer/Analysis/TBAAForest.h
M flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
M flang/lib/Optimizer/Analysis/TBAAForest.cpp
M flang/lib/Optimizer/Transforms/AddAliasTags.cpp
M flang/test/Transforms/tbaa-with-dummy-scope.fir
M flang/test/Transforms/tbaa-with-dummy-scope2.fir
M flang/test/Transforms/tbaa.fir
M flang/test/Transforms/tbaa2.fir
A flang/test/Transforms/tbaa3.fir
A flang/test/Transforms/tbaa4.fir
Log Message:
-----------
[flang] Restructured TBAA trees in AddAliasTags pass. (#136725)
This patch produces the following TBAA tree for a function:
```
Function root
|
"any access"
|
|- "descriptor member"
|- "any data access"
|
|- "dummy arg data"
|- "target data"
|
|- "allocated data"
|- "direct data"
|- "global data"
```
The TBAA tags are assigned using the following logic:
* All POINTER variables point to the root of "target data".
* Dummy arguments without POINTER/TARGET point to their
leafs under "dummy arg data".
* Dummy arguments with TARGET point to the root of "target data".
* Global variables without descriptors point to their leafs under
"global data" (including the ones with TARGET).
* Global variables with descriptors point to their leafs under
"direct data" (including the ones with TARGET).
* Locally allocated variables point to their leafs under
"allocated data" (including the ones with TARGET).
This change makes it possible to disambiguate globals like:
```
module data
real, allocatable :: a(:)
real, allocatable, target :: b(:)
end
```
Indeed, two direct references to global vars cannot alias
even if any/both of them have TARGET attribute.
In addition, the dummy arguments without POINTER/TARGET cannot alias
any other variable even with POINTER/TARGET. This was not expressed
in TBAA before this change.
As before, any "unknown" memory references (such as with Indirect
source, as classified by FIR alias analysis) may alias with
anything, as long as they point to the root of "any access".
Please think of the counterexamples for which this structure
may not work.
Commit: 0f90a7b323bcaa087be31aa135b71694db2d5ff9
https://github.com/llvm/llvm-project/commit/0f90a7b323bcaa087be31aa135b71694db2d5ff9
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M clang/include/clang/Frontend/CompilerInstance.h
M clang/lib/Frontend/CompilerInstance.cpp
Log Message:
-----------
[clang] Enable making the `CompilerInstance` module dependency collector thread-safe (#137227)
The same principle as #135473, #135737, #136178, #136601 & #137059.
Commit: c85e43bd45fee5de106d79965db484339b5cc46f
https://github.com/llvm/llvm-project/commit/c85e43bd45fee5de106d79965db484339b5cc46f
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M clang/include/clang/Frontend/ASTUnit.h
M clang/include/clang/Frontend/CompilerInstance.h
M clang/include/clang/Frontend/CompilerInvocation.h
M clang/lib/Frontend/ASTUnit.cpp
M clang/lib/Frontend/FrontendAction.cpp
Log Message:
-----------
[clang] Hide the `LangOptions` pointer from `CompilerInvocation` (#137675)
This PR makes `CompilerInvocation` the sole owner of the `LangOptions`
instance.
Commit: e0660edf22ed1064e80cc1ac80f2a9a00cc7624a
https://github.com/llvm/llvm-project/commit/e0660edf22ed1064e80cc1ac80f2a9a00cc7624a
Author: Sam Elliott <quic_aelliott at quicinc.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M llvm/lib/Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp
M llvm/lib/Target/AArch64/AArch64FalkorHWPFFix.cpp
M llvm/lib/Target/AArch64/SMEABIPass.cpp
M llvm/lib/Target/AArch64/SMEPeepholeOpt.cpp
M llvm/lib/Target/AArch64/SVEIntrinsicOpts.cpp
Log Message:
-----------
[NFC][AArch64] Final Cleanup Pass Initialization (#137744)
This finishes the work from 23c27f3efcdda730b365698ade5fd0c1c283f2e7 to
cleanup where pass initializers are called from, as noted in #111767.
This patch addresses passes where the initializer does not start with
`initializeAArch64`, which seemed to be missed in the previous commit.
Commit: e07307b53457095746aa037750a4ac2f9491d71c
https://github.com/llvm/llvm-project/commit/e07307b53457095746aa037750a4ac2f9491d71c
Author: Richard Howell <rmaz at users.noreply.github.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M lld/MachO/DriverUtils.cpp
Log Message:
-----------
[lld] resolve dylib paths before caching (#137649)
When loading frameworks it is possible to have load commands for the
same framework through symlinks and the real path. To avoid loading
these multiple times find the real path before checking the dylib cache.
Commit: 743c32eb8195c248c699c61ffbac141947b8e6ab
https://github.com/llvm/llvm-project/commit/743c32eb8195c248c699c61ffbac141947b8e6ab
Author: Reid Kleckner <rnk at google.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M clang/unittests/libclang/CrashTests/LibclangCrashTest.cpp
Log Message:
-----------
[clang] Disable libclang abort death test after merging unittests
Death tests are often sensitive to global process state, which is
dirtier now that the scope of the test binary has increased
significantly.
I think the value of this single death test isn't high enough to roll
back the gtest binary merging patch, so I'm disabling it.
See issue #137855 for the investigation.
Commit: 7d91cf4bab8c9c4daa3d3a9fca87778d6ccacb6b
https://github.com/llvm/llvm-project/commit/7d91cf4bab8c9c4daa3d3a9fca87778d6ccacb6b
Author: Andy Kaylor <akaylor at nvidia.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
M clang/lib/CIR/CodeGen/CIRGenFunction.cpp
M clang/lib/CIR/CodeGen/CIRGenFunction.h
A clang/test/CIR/CodeGen/compound_assign.cpp
Log Message:
-----------
[CIR] Add support for compound assignment statements (#137740)
Compound assignment in C++ goes through a different path than the binary
assignment operators that were already handled for C. This change adds
the necessary handler to get this working with C++.
Commit: e33b7a1d6388007183b7657958a0d32626caea46
https://github.com/llvm/llvm-project/commit/e33b7a1d6388007183b7657958a0d32626caea46
Author: Deric C. <cheung.deric at gmail.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M llvm/lib/Target/DirectX/DXILShaderFlags.cpp
M llvm/test/CodeGen/DirectX/ShaderFlags/max-64-uavs-array-valver1.5.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/max-64-uavs-array-valver1.6.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/max-64-uavs.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/res-may-alias-1.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/res-may-not-alias-sm6.6.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/res-may-not-alias-sm6.7.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/res-may-not-alias-valver1.8.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/typed-uav-load-additional-formats.ll
A llvm/test/CodeGen/DirectX/ShaderFlags/uavs-at-every-stage-lib-valver1.7.ll
A llvm/test/CodeGen/DirectX/ShaderFlags/uavs-at-every-stage-lib-valver1.8.ll
A llvm/test/CodeGen/DirectX/ShaderFlags/uavs-at-every-stage-vs.ll
Log Message:
-----------
[DirectX] Implement Shader Flag Analysis for `UAVsAtEveryStage` (#137085)
Fixes #112272
In addition to the implementation of the UAVsAtEveryStage shader flag
analysis, several unrelated tests have had the `dx.valver` module
metadata defined to avoid setting the UAVsAtEveryStage shader flag in
them.
Example:
```
!dx.valver = !{!0}
!0 = !{i32 1, i32 8}
```
---------
Co-authored-by: Justin Bogner <mail at justinbogner.com>
Commit: 4ed8f38e814d788abc3131c24e7bad96766a52bc
https://github.com/llvm/llvm-project/commit/4ed8f38e814d788abc3131c24e7bad96766a52bc
Author: Hristo Hristov <hghristov.rmm at gmail.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M libcxx/docs/Status/Cxx2cPapers.csv
M libcxx/include/__utility/pair.h
M libcxx/test/std/utilities/utility/pairs/pairs.spec/comparison.pass.cpp
Log Message:
-----------
[libc++][pair] P2944R3: Constrain `std::pair`'s equality operator (#136672)
Implements https://wg21.link/P2944R3 (partially):
- [pairs.spec](https://eel.is/c++draft/pairs.spec)
Related issues:
- Related to #105424
- Related to #118135
- PR https://github.com/llvm/llvm-project/pull/135759
- PR https://github.com/llvm/llvm-project/pull/117664
Closes: [#136763](https://github.com/llvm/llvm-project/issues/136763)
# References
- https://eel.is/c++draft/concept.booleantestable
- https://eel.is/c++draft/concept.equalitycomparable
---------
Co-authored-by: Hristo Hristov <zingam at outlook.com>
Co-authored-by: Nikolas Klauser <nikolasklauser at berlin.de>
Commit: 0864e3c8a9335db0d9c8c32f059a3d0c3f01c534
https://github.com/llvm/llvm-project/commit/0864e3c8a9335db0d9c8c32f059a3d0c3f01c534
Author: thetruestblue <bblueconway at gmail.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M compiler-rt/test/asan/TestCases/zero_page_pc.cpp
Log Message:
-----------
[Test][Darwin] Mark zero_page_pc test as unsupported for iOS (#137858)
This is handled as a SIGKILL and can't be intercepted by ASan's signal
handler.
rdar://127512190
Commit: 705ceff7c1fc328151a6506a91773aac429ccee3
https://github.com/llvm/llvm-project/commit/705ceff7c1fc328151a6506a91773aac429ccee3
Author: Shoaib Meenai <smeenai at fb.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M clang/lib/AST/CMakeLists.txt
M clang/lib/Basic/CMakeLists.txt
M clang/lib/CodeGen/CMakeLists.txt
M clang/lib/Driver/CMakeLists.txt
M clang/tools/driver/CMakeLists.txt
M llvm/CMakeLists.txt
M llvm/cmake/modules/LLVMConfig.cmake.in
M llvm/include/llvm/TargetParser/CMakeLists.txt
M llvm/lib/TargetParser/CMakeLists.txt
Log Message:
-----------
[TargetParser] Fix flaky installs of generated headers (#137853)
The `llvm-headers` target wasn't depending on the generated TargetParser
headers, so they'd be flakily installed or not installed depending on
which order the build steps ran in. Add an explicit dependency to fix
this, and switch to a single `target_parser_gen` target to mirror the
pattern used by `intrinsics_gen` (which also fixes a few other missing
dependencies). Switch `llvm-headers` to use `add_dependencies` instead
of `DEPENDS` for the tablegen dependencies as well, since `DEPENDS` is
only intended for creating a file-level dependency on the output of an
`add_custom_command` in the same CMakeLists.txt (see `DEPENDS` under
https://cmake.org/cmake/help/latest/command/add_custom_target.html).
Commit: becd418626e1ebedde6d095f7bb020e554251b15
https://github.com/llvm/llvm-project/commit/becd418626e1ebedde6d095f7bb020e554251b15
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/test/CodeGen/ARM/cttz.ll
M llvm/test/CodeGen/RISCV/GlobalISel/rv32zbb.ll
M llvm/test/CodeGen/RISCV/ctlz-cttz-ctpop.ll
M llvm/test/CodeGen/RISCV/rv32xtheadbb.ll
M llvm/test/CodeGen/RISCV/rv32zbb.ll
M llvm/test/CodeGen/SPARC/ctlz.ll
M llvm/test/CodeGen/SPARC/cttz.ll
M llvm/test/CodeGen/X86/ctlo.ll
M llvm/test/CodeGen/X86/ctlz.ll
M llvm/test/CodeGen/X86/cttz.ll
R llvm/test/CodeGen/X86/lzcnt-cmp.ll
Log Message:
-----------
[CGP] Despeculate ctlz/cttz with "illegal" integer types (#137197)
The code below the removed check looks generic enough to support
arbitrary integer widths. This change helps 32-bit targets avoid
expensive expansion/libcalls in the case of zero input.
Pull Request: https://github.com/llvm/llvm-project/pull/137197
Commit: f784fa727543463b86511f7e5797174422cbeeaf
https://github.com/llvm/llvm-project/commit/f784fa727543463b86511f7e5797174422cbeeaf
Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M lldb/test/API/functionalities/thread/exit_during_expression/TestExitDuringExpression.py
Log Message:
-----------
[lldb] Disable TestExitDuringExpression on asan
This test is trying to exercise code running constructors with
interrupts. While we should fix this, this is creating noise on the
bots.
Commit: c88b53777130a80ac08f39166c487ea7bb721441
https://github.com/llvm/llvm-project/commit/c88b53777130a80ac08f39166c487ea7bb721441
Author: Peter Collingbourne <peter at pcc.me.uk>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M llvm/lib/Target/TargetMachine.cpp
M llvm/test/CodeGen/X86/code-model-elf-sections.ll
M llvm/test/CodeGen/X86/code-model-elf.ll
Log Message:
-----------
Target: Stop assigning RELRO sections to .ldata.rel.ro.
Linkers do not currently support PT_GNU_RELRO for SHF_X86_64_LARGE
sections; that would require the linker to emit more than one
PT_GNU_RELRO because large sections are discontiguous by design,
and most ELF dynamic loaders do not support that (bionic appears to
support it but glibc/musl/FreeBSD/NetBSD/OpenBSD appear not to). With
current linkers these sections will end up in .ldata which results
in silently disabling RELRO. Therefore, disable SHF_X86_64_LARGE for
RELRO sections. If this ever gets supported by downstream components
in the future we could add an opt-in flag for moving these sections
to .ldata.rel.ro which would trigger the creation of a second
PT_GNU_RELRO.
Reviewers: MaskRay, aeubanks
Reviewed By: aeubanks
Pull Request: https://github.com/llvm/llvm-project/pull/137742
Commit: 7dd8122d4ea147a2e8b90d611e30d4c2cff4619f
https://github.com/llvm/llvm-project/commit/7dd8122d4ea147a2e8b90d611e30d4c2cff4619f
Author: Pranav Bhandarkar <pranav.bhandarkar at amd.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Optimizer/OpenMP/MapsForPrivatizedSymbols.cpp
M flang/lib/Optimizer/Passes/Pipelines.cpp
M flang/test/Lower/OpenMP/DelayedPrivatization/target-private-allocatable.f90
M flang/test/Lower/OpenMP/DelayedPrivatization/target-private-multiple-variables.f90
M flang/test/Lower/OpenMP/Todo/firstprivate-target.f90
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Target/LLVMIR/openmp-target-private.mlir
M mlir/test/Target/LLVMIR/openmp-todo.mlir
Log Message:
-----------
[Flang][MLIR][OpenMP] - Add support for firstprivate when translating omp.target ops from MLIR to LLVMIR (#131213)
This patch adds support to translate `firstprivate` clauses on `omp.target` ops when translating from MLIR to LLVMIR.
Presently, this PR is restricted to supporting only included tasks, i.e `#omp target nowait firstprivate(some_variable)` will likely not work correctly even if it produces object code.
Commit: d3d35adcd32c91e9076be6bb242dd6c82c490c4b
https://github.com/llvm/llvm-project/commit/d3d35adcd32c91e9076be6bb242dd6c82c490c4b
Author: Farzon Lotfi <farzonlotfi at microsoft.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M llvm/lib/Target/DirectX/DXILLegalizePass.cpp
A llvm/test/CodeGen/DirectX/legalize-i8-alloca.ll
Log Message:
-----------
[DirectX] Legalize i8 allocas (#137399)
fixes #137202
investingating i8 allocas I came to find some missing instructions from
out i8 legalization around load, store, and select.
Added those three.
To do i8 allocas right though we needed to walk the uses and find the
casts.
After finding the casts I chose to pick the smallest cast as the cast to
transform to. That would then let me preserve the larger casts that come
later
Commit: 1a6b0413e047a390dc7759b2ea558bad83e7f1cf
https://github.com/llvm/llvm-project/commit/1a6b0413e047a390dc7759b2ea558bad83e7f1cf
Author: Razvan Lupusoru <razvan.lupusoru at gmail.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M flang/lib/Lower/OpenACC.cpp
M flang/test/Lower/OpenACC/acc-private.f90
Log Message:
-----------
[flang][acc] Fix issue with privatization recipe for box ref (#137869)
When privatizing allocatable/pointer arrays, the code was creating a
temporary but this was a box type. This led to inconsistency between the
input and output of recipe.
The updated logic now creates storage when a box ref is requested.
Commit: 9ebaa9d483740b1e9a796e9e3b40a2ab70a4efb5
https://github.com/llvm/llvm-project/commit/9ebaa9d483740b1e9a796e9e3b40a2ab70a4efb5
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/include/llvm-libc-types/jmp_buf.h
M libc/src/setjmp/aarch64/CMakeLists.txt
A libc/src/setjmp/aarch64/sigsetjmp.cpp
Log Message:
-----------
[libc] implement aarch64 sigsetjmp (#136706)
- **[libc][aarch64] implement sigsetjmp**
On top of https://github.com/llvm/llvm-project/pull/136072
See also https://github.com/llvm/llvm-project/issues/137055 for remarks
on naked attributes.
```c++
//===-- Implementation of setjmp ------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#include "src/setjmp/sigsetjmp.h"
#include "hdr/offsetof_macros.h"
#include "src/__support/common.h"
#include "src/__support/macros/config.h"
#include "src/setjmp/setjmp_impl.h"
#include "src/setjmp/sigsetjmp_epilogue.h"
namespace LIBC_NAMESPACE_DECL {
[[gnu::naked]]
LLVM_LIBC_FUNCTION(int, sigsetjmp, (sigjmp_buf, int)) {
asm(R"(
cbz w1, %c[setjmp]
str x30, [x0, %c[retaddr]]
str x19, [x0, %c[extra]]
mov x19, x0
bl %c[setjmp]
mov w1, w0
mov x0, x19
ldr x30, [x0, %c[retaddr]]
ldr x19, [x0, %c[extra]]
b %c[epilogue])" ::[retaddr] "i"(offsetof(__jmp_buf, sig_retaddr)),
[extra] "i"(offsetof(__jmp_buf, sig_extra)), [setjmp] "i"(setjmp),
[epilogue] "i"(sigsetjmp_epilogue)
: "x0", "x1", "x19", "x30");
}
} // namespace LIBC_NAMESPACE_DECL
```
Commit: 7e71466900f84770c08cc53807425a19918a3975
https://github.com/llvm/llvm-project/commit/7e71466900f84770c08cc53807425a19918a3975
Author: Florian Hahn <flo at fhahn.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/dbg-outer-loop-vect.ll
Log Message:
-----------
[VPlan] Preserve dbg location on canonical IVs in native path.
Pass the debug location of the primary IV to addCanonicalIVRecipes in
the native path, matching the behavior of inner loop vectorization.
Commit: fff622fbf760f9ff4e10073ad859c2b663f33af8
https://github.com/llvm/llvm-project/commit/fff622fbf760f9ff4e10073ad859c2b663f33af8
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M llvm/lib/Analysis/BasicAliasAnalysis.cpp
M llvm/test/Analysis/BasicAA/gep-modulo.ll
Log Message:
-----------
[BasicAA] Account for wrapping when using abs(Scale*V0 + (-Scale)*V1) >= abs(Scale) (#137755)
Similar to 1b7ef6aac8a3cad245c0ed14fe21725e31261f73, add a check to only
set MinAbsVarIndex if abs(Scale*V0) and abs((-Scale)*V1) won't wrap. In
the absence of IsNSW, try to use the bitwidths of the original V and
Scale to rule out wrapping
Commit: 74593f667823025580e046e56d48d7a9899b8956
https://github.com/llvm/llvm-project/commit/74593f667823025580e046e56d48d7a9899b8956
Author: Min-Yih Hsu <min.hsu at sifive.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M clang/test/Driver/riscv-cpus.c
M llvm/lib/Target/RISCV/RISCVProcessors.td
Log Message:
-----------
[RISCV][NFC] Remove duplicate extensions from tt-ascalon-d8 CPU (#137865)
Sscofpmf is already in RVA23S64 and Zicsr is in RVA20U64. I also added a
check against Sscofpmf. NFC.
Commit: 6a16da75d1d52de2211993e25a6485281defe097
https://github.com/llvm/llvm-project/commit/6a16da75d1d52de2211993e25a6485281defe097
Author: Jay Foad <jay.foad at amd.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPU.h
Log Message:
-----------
[AMDGPU] Avoid referring to specific number of address spaces. NFC. (#137842)
This just avoids some hard coded numbers that would have to be updated
every time we add an address space.
Commit: e17122fffa8d233fcf9f717354ecda46173f1b8d
https://github.com/llvm/llvm-project/commit/e17122fffa8d233fcf9f717354ecda46173f1b8d
Author: Florian Hahn <flo at fhahn.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.h
M llvm/unittests/Transforms/Vectorize/VPlanTestBase.h
Log Message:
-----------
[VPlan] Add canonical IV during construction (NFC).
This addresses an existing TODO and simply moves the current code to add
canonical IV recipes to the initial skeleton construction, at the same
place where the corresponding region will be introduced.
Commit: 740f674917a41bbaea88877db9beb4b2d6b52878
https://github.com/llvm/llvm-project/commit/740f674917a41bbaea88877db9beb4b2d6b52878
Author: Razvan Lupusoru <razvan.lupusoru at gmail.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
Log Message:
-----------
[mlir][acc] Fix extraneous space when printing acc.loop (#137839)
The acc.loop printer inserted two spaces after the operation. This
occurred because the custom combined loop attribute printer was not
conditional - and thus the tablegen inserted an automatic space before
invoking the custom printer. Then for each additional attribute it also
inserted a space in beginning.
Since lit tests were not sensitive to this, no tests need updated. But
the issue with the extraneous space is resolved.
Commit: d431921677ae923d189ff2d6f188f676a2964ed8
https://github.com/llvm/llvm-project/commit/d431921677ae923d189ff2d6f188f676a2964ed8
Author: Florian Hahn <flo at fhahn.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.h
M llvm/unittests/Transforms/Vectorize/VPlanTestBase.h
Log Message:
-----------
Revert "[VPlan] Add canonical IV during construction (NFC)."
This reverts commit e17122fffa8d233fcf9f717354ecda46173f1b8d.
Revert as this seems to break some unit tests on some bots.
Commit: 97ec3ef4ab0eaf5e1fde9a3bf4bf4a9aaad49f33
https://github.com/llvm/llvm-project/commit/97ec3ef4ab0eaf5e1fde9a3bf4bf4a9aaad49f33
Author: Paul Kirth <paulkirth at google.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M clang-tools-extra/clang-doc/BitcodeReader.cpp
M clang-tools-extra/clang-doc/BitcodeWriter.cpp
M clang-tools-extra/clang-doc/HTMLGenerator.cpp
M clang-tools-extra/clang-doc/MDGenerator.cpp
M clang-tools-extra/clang-doc/Mapper.cpp
M clang-tools-extra/clang-doc/Mapper.h
M clang-tools-extra/clang-doc/Representation.h
M clang-tools-extra/clang-doc/Serialize.cpp
M clang-tools-extra/clang-doc/Serialize.h
M clang-tools-extra/clang-doc/YAMLGenerator.cpp
M clang-tools-extra/unittests/clang-doc/BitcodeTest.cpp
M clang-tools-extra/unittests/clang-doc/ClangDocTest.cpp
M clang-tools-extra/unittests/clang-doc/HTMLGeneratorTest.cpp
M clang-tools-extra/unittests/clang-doc/MDGeneratorTest.cpp
M clang-tools-extra/unittests/clang-doc/MergeTest.cpp
M clang-tools-extra/unittests/clang-doc/SerializeTest.cpp
M clang-tools-extra/unittests/clang-doc/YAMLGeneratorTest.cpp
Log Message:
-----------
[clang-doc] Add start and end line numbers (#137732)
This patch adds start and end line numbers to clang-doc. Currently
clang-doc only encodes the start line numbers of records, struct, etc.
This patch adds start and end line number to clang-doc bitcode which is
passed to the generator. This will be used by the mustache backend to
generate line ranges. Based on the orginal patch in #135081.
Co-author: Paul Kirth <paulkirth at google.com>
Co-authored-by: PeterChou1 <peter.chou at mail.utoronto.ca>
Commit: 557ddc2e5d066dbc9900cb158a842b9cd5864d8a
https://github.com/llvm/llvm-project/commit/557ddc2e5d066dbc9900cb158a842b9cd5864d8a
Author: Ian Anderson <iana at apple.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M clang/lib/Headers/float.h
Log Message:
-----------
[clang][headers][Apple] Don't include_next float.h to avoid an unnecessary module dependency (#137432)
float.h doesn't define anything in Apple's SDKs that the clang float.h
doesn't undefine, so all the include_next does is add an unnecessary
module dependency. Skip the include_next and completely shadow the SDK
header.
Commit: f73db3df80e6924551ea773c0d5afb54a82bc76f
https://github.com/llvm/llvm-project/commit/f73db3df80e6924551ea773c0d5afb54a82bc76f
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M lldb/test/API/tools/lldb-dap/attach/TestDAP_attachByPortNum.py
Log Message:
-----------
[lldb-dap[test] Don't pass --listen to debugserver
Fixes "debugserver: unrecognized option `--listen'"
Commit: a24457eb99d5c78e46bdf5310430a9551e480361
https://github.com/llvm/llvm-project/commit/a24457eb99d5c78e46bdf5310430a9551e480361
Author: enh-google <enh at google.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M libc/test/src/search/lfind_test.cpp
Log Message:
-----------
[libc] lfind_test.cpp: put helpers in an anonymous namespace. (#137821)
This matches other tests and allows the tests to be built together (as
Android is doing).
Commit: a7402b0c4ac1cc255354904ef1f46aa7b714c44f
https://github.com/llvm/llvm-project/commit/a7402b0c4ac1cc255354904ef1f46aa7b714c44f
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2025-04-30 (Wed, 30 Apr 2025)
Changed paths:
M clang/include/clang/Parse/Parser.h
Log Message:
-----------
[clang][NFC] Convert `Parser::ScopeCacheSize` to a constant
Commit: 951292be2c21bc903e63729338d872a878d2d49c
https://github.com/llvm/llvm-project/commit/951292be2c21bc903e63729338d872a878d2d49c
Author: Min-Yih Hsu <min.hsu at sifive.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
A llvm/test/TableGen/DuplicateProcessorFeatures.td
M llvm/utils/TableGen/SubtargetEmitter.cpp
Log Message:
-----------
[TableGen] Print a warning when a Processor contains duplicate Features / TuneFeatures (#137864)
I don't think a processor should normally contains duplicate features. This patch prints a warning whenever that happens in either the features or tune features.
Commit: 4595e8092ed5ce69b3ce33e989d7bea3a25fc289
https://github.com/llvm/llvm-project/commit/4595e8092ed5ce69b3ce33e989d7bea3a25fc289
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2025-04-30 (Wed, 30 Apr 2025)
Changed paths:
M clang/include/clang/Parse/Parser.h
M clang/lib/Parse/ParseStmt.cpp
M clang/lib/Parse/ParseTentative.cpp
M clang/lib/Parse/Parser.cpp
Log Message:
-----------
[clang][NFC] Convert `Parser::AnnotatedNameKind` to scoped enum
Commit: 7ecd81e266174253786e084c100c22c65a214b5d
https://github.com/llvm/llvm-project/commit/7ecd81e266174253786e084c100c22c65a214b5d
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2025-04-30 (Wed, 30 Apr 2025)
Changed paths:
M clang/include/clang/Parse/Parser.h
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Parse/ParseObjc.cpp
M clang/lib/Parse/Parser.cpp
Log Message:
-----------
[clang][NFC] Convert `Parser::ExtraSemiKind` to scoped enum
Commit: c68535581135a1513c9c4c1c7672307d4b5e616e
https://github.com/llvm/llvm-project/commit/c68535581135a1513c9c4c1c7672307d4b5e616e
Author: thetruestblue <bblueconway at gmail.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M compiler-rt/test/asan/TestCases/zero_page_pc.cpp
Log Message:
-----------
Unsupported zero_page_pc on iOS. (#137893)
Commit: d5272e4f4130788f261b44b5412c75a6b87fc836
https://github.com/llvm/llvm-project/commit/d5272e4f4130788f261b44b5412c75a6b87fc836
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M flang/lib/Optimizer/Transforms/CUFDeviceGlobal.cpp
M flang/test/Fir/CUDA/cuda-implicit-device-global.f90
Log Message:
-----------
[flang][cuda] Only copy global that have effective use (#137890)
Commit: 36850a028d149467cafd2702bc0c2587f6b71cce
https://github.com/llvm/llvm-project/commit/36850a028d149467cafd2702bc0c2587f6b71cce
Author: Haowei <haowei at google.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M llvm/tools/llvm-exegesis/lib/AArch64/Target.cpp
Log Message:
-----------
[llvm-exegesis][AArch64] Adding PR_PAC_APIAKEY macro definition (#137888)
In older Linux distros, PR_PAC_APIAKEY is not defined and it causes
build failures on linux arm64 platform. This patch adds the definition
of this macro if it is not defined.
Commit: efef83e11d6b5f47c624465006bbea4cbb8a2526
https://github.com/llvm/llvm-project/commit/efef83e11d6b5f47c624465006bbea4cbb8a2526
Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M lld/MachO/BPSectionOrderer.cpp
M lld/test/MachO/bp-section-orderer.s
Log Message:
-----------
[lld][InstrProf] Skip BP ordering input sections with null data (#137906)
In MachO, `.bss` `isec`s have a length, but point to null. This causes
Balanced Partitioning to crash on these inputs.
This code was in the original implementation, but was removed in
https://github.com/llvm/llvm-project/pull/124482/files#diff-b2aac8833d29d297ae5ada1b36eb4e88f53691fd91df954c24e0c264f3131d4aL27
Commit: a01a5b82dc89d427eada7f3b4d2f3e42ef50ae91
https://github.com/llvm/llvm-project/commit/a01a5b82dc89d427eada7f3b4d2f3e42ef50ae91
Author: Min-Yih Hsu <min.hsu at sifive.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPU.td
Log Message:
-----------
[AMDGPU][NFC] Remove duplicate features in gfx908/909/90a (#137902)
The new TableGen warning introduced in
https://github.com/llvm/llvm-project/commit/951292be2c21bc903e63729338d872a878d2d49c
shows the following warnings:
```
warning: Processor gfx908 contains duplicate feature 'addressablelocalmemorysize65536'
warning: Processor gfx909 contains duplicate feature 'image-insts'
warning: Processor gfx90a contains duplicate feature 'addressablelocalmemorysize65536'
```
Commit: 6bb4ce0f6ff462b58bacc8dbc47719b7009f9b18
https://github.com/llvm/llvm-project/commit/6bb4ce0f6ff462b58bacc8dbc47719b7009f9b18
Author: Akira Hatanaka <ahatanak at gmail.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M clang/lib/Sema/SemaChecking.cpp
A clang/test/Sema/warn-nontrivial-struct-memaccess-ptrauth.c
Log Message:
-----------
Silence spurious -Wnontrivial-memcall warnings in C mode (#137429)
clang currently issues a warning when memset is used on a struct that
contains an address-discriminated pointer field, even though this is
entirely valid behavior.
For example:
```
struct S {
int * __ptrauth(1, 1, 100) p;
} s;
memset(&s, 0, sizeof(struct S));
```
Only allow the warning to be emitted in C++ mode to silence the warning.
rdar://142495870
Commit: f1750300aad0e49383cd4b206e2354f1300a40a8
https://github.com/llvm/llvm-project/commit/f1750300aad0e49383cd4b206e2354f1300a40a8
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M clang/include/clang/Basic/Builtins.td
M clang/include/clang/Sema/SemaHLSL.h
M clang/lib/CodeGen/CGHLSLBuiltins.cpp
M clang/lib/CodeGen/CGHLSLRuntime.cpp
M clang/lib/CodeGen/CGHLSLRuntime.h
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp
M clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.h
M clang/lib/Sema/HLSLExternalSemaSource.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaHLSL.cpp
M clang/test/AST/HLSL/ByteAddressBuffers-AST.hlsl
M clang/test/AST/HLSL/StructuredBuffers-AST.hlsl
M clang/test/AST/HLSL/TypedBuffers-AST.hlsl
M clang/test/CodeGenHLSL/builtins/ByteAddressBuffers-constructors.hlsl
M clang/test/CodeGenHLSL/builtins/RWBuffer-constructor-opt.hlsl
M clang/test/CodeGenHLSL/builtins/RWBuffer-constructor.hlsl
M clang/test/CodeGenHLSL/builtins/StructuredBuffers-constructors.hlsl
M clang/test/CodeGenHLSL/cbuffer.hlsl
M clang/test/CodeGenHLSL/cbuffer_with_packoffset.hlsl
M clang/test/CodeGenHLSL/resource-bindings.hlsl
M clang/test/ParserHLSL/hlsl_resource_handle_attrs.hlsl
Log Message:
-----------
[HLSL] Resource initialization by constructors (#135120)
- Adds resource constructor that takes explicit binding for all resource
classes.
- Updates implementation of default resource constructor to initialize
resource handle to `poison`.
- Removes initialization of resource classes from Codegen.
- Initialization of `cbuffer` still needs to happen in `CGHLSLRuntime`
because it does not have a corresponding resource class type.
- Adds `ImplicitCastExpr` for builtin function calls. Sema adds these
automatically when a method of a template class is instantiated, but
some resource classes like `ByteAddressBuffer` are not templates so they
need to have this added explicitly.
Design proposal: llvm/wg-hlsl#197
Closes #134154
Commit: b8bb1ccb4f9126d1bc9817be24e17f186a75a08b
https://github.com/llvm/llvm-project/commit/b8bb1ccb4f9126d1bc9817be24e17f186a75a08b
Author: Owen Pan <owenpiano at gmail.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Format/Format.h
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatTokenLexer.cpp
M clang/unittests/Format/ConfigParseTest.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Add OneLineFormatOffRegex option (#137577)
Close #54334
Commit: baaed16a6b8617ce5a6a807c427c6ec48b5236ad
https://github.com/llvm/llvm-project/commit/baaed16a6b8617ce5a6a807c427c6ec48b5236ad
Author: Min-Yih Hsu <min.hsu at sifive.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M llvm/lib/Target/X86/X86.td
Log Message:
-----------
[X86][NFC] Remove duplicate feature from Znver5 processor definition (#137901)
`FeatureVNNI` is already in Znver4AdditionalFeature.
Found by the new TableGen warning introduced in
951292be2c21bc903e63729338d872a878d2d49c
Commit: 512225563148a7a31912d5c1d2699cd228049b55
https://github.com/llvm/llvm-project/commit/512225563148a7a31912d5c1d2699cd228049b55
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2025-04-30 (Wed, 30 Apr 2025)
Changed paths:
M clang/include/clang/Parse/Parser.h
M clang/lib/Parse/ParseCXXInlineMethods.cpp
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Parse/ParseTemplate.cpp
M clang/lib/Parse/Parser.cpp
Log Message:
-----------
[clang][NFC] Convert `ParsedTemplateInfo::Kind` to scoped enum
Commit: 159628cc228726b8ffae2127c65363ce14a5c3d0
https://github.com/llvm/llvm-project/commit/159628cc228726b8ffae2127c65363ce14a5c3d0
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2025-04-30 (Wed, 30 Apr 2025)
Changed paths:
M llvm/include/llvm/CodeGen/MachineUniformityAnalysis.h
M llvm/include/llvm/Passes/MachinePassRegistry.def
M llvm/lib/CodeGen/MachineUniformityAnalysis.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/always-uniform-gmir.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/always-uniform.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/atomics-gmir.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/atomics.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/control-flow-intrinsics.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/hidden-diverge-gmir.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/hidden-loop-diverge.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/irreducible/branch-outside-gmir.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/irreducible/diverged-entry-basic-gmir.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/irreducible/exit-divergence-gmir.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/irreducible/irreducible-2-gmir.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/join-loopexit-gmir.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/loads-gmir.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/never-uniform.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/temporal-divergence.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/uses-value-from-cycle.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/deprecated/hidden-diverge.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/deprecated/irreducible-1.mir
Log Message:
-----------
[CodeGen] Port MachineUniformityAnalysis to new pass manager (#137578)
- Add new pass manager version of `MachineUniformityAnalysis `.
- Query `TargetTransformInfo` in new pass manager version.
- Use `printAsOperand` when printing machine function name
Commit: 44d8aa8139e02e7b1642f284b32757ee446a88e6
https://github.com/llvm/llvm-project/commit/44d8aa8139e02e7b1642f284b32757ee446a88e6
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2025-04-30 (Wed, 30 Apr 2025)
Changed paths:
M clang/include/clang/Parse/Parser.h
M clang/lib/Parse/ParseCXXInlineMethods.cpp
M clang/lib/Parse/ParseDecl.cpp
Log Message:
-----------
[clang][NFC] Convert `Parser::CachedInitKind` to scoped enum
Commit: 23c3c4e40304f7c05fd77e45d26c846779b37ed5
https://github.com/llvm/llvm-project/commit/23c3c4e40304f7c05fd77e45d26c846779b37ed5
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2025-04-30 (Wed, 30 Apr 2025)
Changed paths:
M clang/include/clang/Parse/Parser.h
M clang/lib/Parse/ParseObjc.cpp
M clang/lib/Parse/Parser.cpp
Log Message:
-----------
[clang][NFC] Convert `Parser::ObjCTypeQual` to scoped enum
Commit: dc87d21aca34c8aa1654ecefb456aac0c1965507
https://github.com/llvm/llvm-project/commit/dc87d21aca34c8aa1654ecefb456aac0c1965507
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2025-04-30 (Wed, 30 Apr 2025)
Changed paths:
M clang/include/clang/Parse/Parser.h
M clang/lib/Parse/ParseExpr.cpp
M clang/lib/Parse/ParseExprCXX.cpp
M clang/lib/Parse/ParseOpenMP.cpp
M clang/lib/Parse/ParseTemplate.cpp
Log Message:
-----------
[clang][NFC] Convert `Parser::TypeCastState` to scoped enum
Commit: 4075a3698a3fdda3a77ce2456e3bfefbc0f0c56e
https://github.com/llvm/llvm-project/commit/4075a3698a3fdda3a77ce2456e3bfefbc0f0c56e
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2025-04-30 (Wed, 30 Apr 2025)
Changed paths:
M clang/include/clang/Parse/Parser.h
M clang/lib/Parse/ParseExpr.cpp
M clang/lib/Parse/ParseExprCXX.cpp
M clang/lib/Parse/ParseOpenMP.cpp
Log Message:
-----------
[clang][NFC] Convert `Parser::CastParseKind` to scoped enum
Commit: 830cf36bd4c491ef28d9bba74737e324639bb4cd
https://github.com/llvm/llvm-project/commit/830cf36bd4c491ef28d9bba74737e324639bb4cd
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2025-04-30 (Wed, 30 Apr 2025)
Changed paths:
M llvm/include/llvm/Analysis/ValueTracking.h
M llvm/include/llvm/IR/Instruction.h
M llvm/lib/Analysis/LazyValueInfo.cpp
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/IR/Instruction.cpp
A llvm/test/Transforms/CorrelatedValuePropagation/pr137582.ll
Log Message:
-----------
[LVI][ValueTracking] Take UB-implying attributes into account in `isSafeToSpeculativelyExecute` (#137604)
Closes https://github.com/llvm/llvm-project/issues/137582.
In the original case, LVI uses the edge information in `%entry ->
%if.end` to get a more precise result. However, since the call to `smin`
has an `noundef` return attribute, an immediate UB will be triggered
after optimization.
Currently, `isSafeToSpeculativelyExecuteWithOpcode(%min)` returns true
because
https://github.com/llvm/llvm-project/commit/6a288c1e32351d4be3b7630841af078fa1c3bb8b
only checks whether the function is speculatable. However, it is not
enough in this case.
This patch takes UB-implying attributes into account if
`IgnoreUBImplyingAttrs` is set to false. If it is set to true, the
caller is responsible for correctly propagating UB-implying attributes.
Commit: e8c684a0e4299077904892d11b1906f8e660eb01
https://github.com/llvm/llvm-project/commit/e8c684a0e4299077904892d11b1906f8e660eb01
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2025-04-30 (Wed, 30 Apr 2025)
Changed paths:
M clang/include/clang/Parse/Parser.h
M clang/lib/Parse/ParseExpr.cpp
M clang/lib/Parse/ParseExprCXX.cpp
M clang/lib/Parse/Parser.cpp
Log Message:
-----------
[clang][NFC] Convert `Parser::ParenParseOption` to scoped enum
Commit: 5f22b84b653e9b76a21ea4ea2ae864173242f237
https://github.com/llvm/llvm-project/commit/5f22b84b653e9b76a21ea4ea2ae864173242f237
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2025-04-30 (Wed, 30 Apr 2025)
Changed paths:
M clang/include/clang/Parse/Parser.h
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Parse/ParseInit.cpp
M clang/lib/Parse/ParseStmt.cpp
M clang/lib/Parse/Parser.cpp
Log Message:
-----------
[clang][NFC] Convert `Parser::IfExistsBehavior` to scoped enum
Commit: 78a1d92870b596c67ee301b96d3a7864bafaab92
https://github.com/llvm/llvm-project/commit/78a1d92870b596c67ee301b96d3a7864bafaab92
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2025-04-30 (Wed, 30 Apr 2025)
Changed paths:
M clang/include/clang/Parse/Parser.h
M clang/lib/Parse/ParseTemplate.cpp
M clang/lib/Parse/ParseTentative.cpp
Log Message:
-----------
[clang][NFC] Convert `Parser::TentativeCXXTypeIdContext` to scoped enum
Commit: e803c20863f52a218a381a5f09ea8c23a57b545e
https://github.com/llvm/llvm-project/commit/e803c20863f52a218a381a5f09ea8c23a57b545e
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2025-04-30 (Wed, 30 Apr 2025)
Changed paths:
M clang/include/clang/Parse/Parser.h
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Parse/ParseExprCXX.cpp
M clang/lib/Parse/ParseTentative.cpp
Log Message:
-----------
[clang][NFC] Convert `Parser::CXX11AttributeKind` to scoped enum
Commit: e4332e470678093c42670b594014bce8e91fe31b
https://github.com/llvm/llvm-project/commit/e4332e470678093c42670b594014bce8e91fe31b
Author: Alexander Richardson <alexrichardson at google.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M flang/test/CMakeLists.txt
Log Message:
-----------
[flang] Fix build when examples are disabled
Without this change I get a build error due to the missing Bye target
when I configure my build with -DLLVM_INCLUDE_EXAMPLES=OFF.
This check for LLVM_BUILD_EXAMPLES matches the checks in llvm and lld.
Reviewed By: mgorny
Pull Request: https://github.com/llvm/llvm-project/pull/137908
Commit: 857ac4c229d209ebf3990c4760e2fc546beeac9c
https://github.com/llvm/llvm-project/commit/857ac4c229d209ebf3990c4760e2fc546beeac9c
Author: Kaviya Rajendiran <67495422+kaviya2510 at users.noreply.github.com>
Date: 2025-04-30 (Wed, 30 Apr 2025)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/include/flang/Optimizer/OpenMP/Passes.td
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/OpenMP/CMakeLists.txt
A flang/lib/Optimizer/OpenMP/LowerNontemporal.cpp
M flang/lib/Optimizer/Passes/Pipelines.cpp
M flang/test/Fir/basic-program.fir
A flang/test/Fir/convert-nontemporal-to-llvm.fir
A flang/test/Fir/simd-nontemporal.fir
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
A mlir/test/Target/LLVMIR/openmp-nontemporal.mlir
M mlir/test/Target/LLVMIR/openmp-todo.mlir
Log Message:
-----------
[MLIR][OpenMP] Lowering nontemporal clause to LLVM IR for SIMD directive (#118751)
This patch,
- Added a new attribute `nontemporal` to fir.load and fir.store operation in the FIR dialect.
- Added a pass `lower-nontemporal` which is called before FIRToLLVM conversion pass and adds the nontemporal attribute to loads and stores on the list items specified in the nontemporal clause of the SIMD directive.
- Set the `UnitAttr:$nontemporal` to llvm.load and llvm.store operations during FIR to LLVM dialect conversion, if the corresponding fir.load or fir.store operations have the nontemporal attribute.
- Attached the `nontemporal metadata` to load and store instructions that have the nontemporal attribute, during LLVM dialect to LLVM IR translation.
Commit: 96eeb6c1a93ab295d9baa4baad2efe1c2b51ffc0
https://github.com/llvm/llvm-project/commit/96eeb6c1a93ab295d9baa4baad2efe1c2b51ffc0
Author: Peiyong Lin <linpyong at gmail.com>
Date: 2025-04-30 (Wed, 30 Apr 2025)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/LLVMEnums.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMMemorySlot.cpp
M mlir/lib/Target/LLVMIR/ModuleImport.cpp
M mlir/test/Dialect/LLVMIR/invalid.mlir
M mlir/test/Dialect/LLVMIR/roundtrip.mlir
M mlir/test/Target/LLVMIR/Import/instructions.ll
M mlir/test/Target/LLVMIR/llvmir.mlir
Log Message:
-----------
[mlir][llvm] Support nusw and nuw in GEP (#137272)
nusw and nuw were introduced in getelementptr, this patch plumbs them in
MLIR.
Since inbounds implies nusw, this patch also adds an inboundsFlag to
represent the concept of raw inbounds with no nusw implication, and have
the inbounds literal captured as the combination of inboundsFlag and
nusw.
Fixes: iree#20482
Signed-off-by: Lin, Peiyong <linpyong at gmail.com>
Commit: 3a0268910f0a01a028eddad70d154684a8258a4c
https://github.com/llvm/llvm-project/commit/3a0268910f0a01a028eddad70d154684a8258a4c
Author: Iris Shi <0.0 at owo.li>
Date: 2025-04-30 (Wed, 30 Apr 2025)
Changed paths:
M bolt/lib/Rewrite/RewriteInstance.cpp
A bolt/test/AArch64/skip-non-vfuncptr-reloc-in-relative-vtable.s
M bolt/test/non-empty-debug-line.test
M clang-tools-extra/clang-doc/BitcodeReader.cpp
M clang-tools-extra/clang-doc/BitcodeWriter.cpp
M clang-tools-extra/clang-doc/HTMLGenerator.cpp
M clang-tools-extra/clang-doc/MDGenerator.cpp
M clang-tools-extra/clang-doc/Mapper.cpp
M clang-tools-extra/clang-doc/Mapper.h
M clang-tools-extra/clang-doc/Representation.h
M clang-tools-extra/clang-doc/Serialize.cpp
M clang-tools-extra/clang-doc/Serialize.h
M clang-tools-extra/clang-doc/YAMLGenerator.cpp
M clang-tools-extra/unittests/clang-doc/BitcodeTest.cpp
M clang-tools-extra/unittests/clang-doc/ClangDocTest.cpp
M clang-tools-extra/unittests/clang-doc/HTMLGeneratorTest.cpp
M clang-tools-extra/unittests/clang-doc/MDGeneratorTest.cpp
M clang-tools-extra/unittests/clang-doc/MergeTest.cpp
M clang-tools-extra/unittests/clang-doc/SerializeTest.cpp
M clang-tools-extra/unittests/clang-doc/YAMLGeneratorTest.cpp
M clang/docs/ClangFormatStyleOptions.rst
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/DeclBase.h
M clang/include/clang/Basic/Builtins.td
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/DiagnosticSerializationKinds.td
M clang/include/clang/CIR/Dialect/IR/CIRDialect.h
M clang/include/clang/CIR/Dialect/IR/CIROps.td
M clang/include/clang/CIR/MissingFeatures.h
M clang/include/clang/Format/Format.h
M clang/include/clang/Frontend/ASTUnit.h
M clang/include/clang/Frontend/CompilerInstance.h
M clang/include/clang/Frontend/CompilerInvocation.h
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Sema/Sema.h
M clang/include/clang/Sema/SemaHLSL.h
M clang/lib/AST/CMakeLists.txt
M clang/lib/AST/DeclBase.cpp
M clang/lib/Basic/CMakeLists.txt
M clang/lib/Basic/Targets/AMDGPU.h
M clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
M clang/lib/CIR/CodeGen/CIRGenFunction.cpp
M clang/lib/CIR/CodeGen/CIRGenFunction.h
M clang/lib/CIR/CodeGen/CIRGenStmt.cpp
M clang/lib/CIR/Dialect/IR/CIRDialect.cpp
M clang/lib/CodeGen/BackendUtil.cpp
M clang/lib/CodeGen/CGHLSLBuiltins.cpp
M clang/lib/CodeGen/CGHLSLRuntime.cpp
M clang/lib/CodeGen/CGHLSLRuntime.h
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/lib/CodeGen/CMakeLists.txt
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/Driver/CMakeLists.txt
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChains/AIX.h
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatTokenLexer.cpp
M clang/lib/Frontend/ASTUnit.cpp
M clang/lib/Frontend/CompilerInstance.cpp
M clang/lib/Frontend/FrontendAction.cpp
M clang/lib/Headers/float.h
M clang/lib/Parse/ParseCXXInlineMethods.cpp
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Parse/ParseExpr.cpp
M clang/lib/Parse/ParseExprCXX.cpp
M clang/lib/Parse/ParseInit.cpp
M clang/lib/Parse/ParseObjc.cpp
M clang/lib/Parse/ParseOpenMP.cpp
M clang/lib/Parse/ParseStmt.cpp
M clang/lib/Parse/ParseTemplate.cpp
M clang/lib/Parse/ParseTentative.cpp
M clang/lib/Parse/Parser.cpp
M clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp
M clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.h
M clang/lib/Sema/HLSLExternalSemaSource.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaHLSL.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/test/AST/HLSL/ByteAddressBuffers-AST.hlsl
M clang/test/AST/HLSL/StructuredBuffers-AST.hlsl
M clang/test/AST/HLSL/TypedBuffers-AST.hlsl
A clang/test/CIR/CodeGen/compound_assign.cpp
A clang/test/CIR/CodeGen/switch.cpp
A clang/test/CIR/IR/switch.cir
M clang/test/CodeGenHLSL/builtins/ByteAddressBuffers-constructors.hlsl
M clang/test/CodeGenHLSL/builtins/RWBuffer-constructor-opt.hlsl
M clang/test/CodeGenHLSL/builtins/RWBuffer-constructor.hlsl
M clang/test/CodeGenHLSL/builtins/StructuredBuffers-constructors.hlsl
M clang/test/CodeGenHLSL/cbuffer.hlsl
M clang/test/CodeGenHLSL/cbuffer_with_packoffset.hlsl
M clang/test/CodeGenHLSL/resource-bindings.hlsl
A clang/test/Driver/dxc_I.test
M clang/test/Driver/riscv-cpus.c
M clang/test/Misc/amdgcn.languageOptsOpenCL.cl
M clang/test/Misc/r600.languageOptsOpenCL.cl
A clang/test/Modules/invalid-module-dep.c
M clang/test/ParserHLSL/hlsl_resource_handle_attrs.hlsl
A clang/test/Sema/decl-hidden-in-c++.c
A clang/test/Sema/warn-nontrivial-struct-memaccess-ptrauth.c
M clang/tools/driver/CMakeLists.txt
M clang/unittests/CMakeLists.txt
M clang/unittests/Driver/ModuleCacheTest.cpp
M clang/unittests/Format/ConfigParseTest.cpp
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Frontend/OutputStreamTest.cpp
M clang/unittests/Interpreter/CMakeLists.txt
M clang/unittests/Interpreter/ExceptionTests/CMakeLists.txt
M clang/unittests/Parse/CMakeLists.txt
M clang/unittests/libclang/CrashTests/LibclangCrashTest.cpp
M compiler-rt/test/asan/TestCases/zero_page_pc.cpp
M flang/include/flang/Optimizer/Analysis/AliasAnalysis.h
M flang/include/flang/Optimizer/Analysis/TBAAForest.h
M flang/include/flang/Optimizer/Builder/LowLevelIntrinsics.h
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/include/flang/Optimizer/OpenMP/Passes.td
M flang/lib/Lower/OpenACC.cpp
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
M flang/lib/Optimizer/Analysis/TBAAForest.cpp
M flang/lib/Optimizer/Builder/LowLevelIntrinsics.cpp
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/OpenMP/CMakeLists.txt
A flang/lib/Optimizer/OpenMP/LowerNontemporal.cpp
M flang/lib/Optimizer/OpenMP/MapsForPrivatizedSymbols.cpp
M flang/lib/Optimizer/Passes/Pipelines.cpp
M flang/lib/Optimizer/Transforms/AddAliasTags.cpp
M flang/lib/Optimizer/Transforms/CUFDeviceGlobal.cpp
M flang/test/CMakeLists.txt
M flang/test/Driver/flang-ld-powerpc.f90
M flang/test/Fir/CUDA/cuda-implicit-device-global.f90
M flang/test/Fir/basic-program.fir
A flang/test/Fir/convert-nontemporal-to-llvm.fir
A flang/test/Fir/simd-nontemporal.fir
M flang/test/Lower/OpenACC/acc-private.f90
M flang/test/Lower/OpenMP/DelayedPrivatization/target-private-allocatable.f90
M flang/test/Lower/OpenMP/DelayedPrivatization/target-private-multiple-variables.f90
M flang/test/Lower/OpenMP/Todo/firstprivate-target.f90
M flang/test/Transforms/tbaa-with-dummy-scope.fir
M flang/test/Transforms/tbaa-with-dummy-scope2.fir
M flang/test/Transforms/tbaa.fir
M flang/test/Transforms/tbaa2.fir
A flang/test/Transforms/tbaa3.fir
A flang/test/Transforms/tbaa4.fir
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/hdr/CMakeLists.txt
A libc/hdr/offsetof_macros.h
M libc/include/llvm-libc-types/CMakeLists.txt
M libc/include/llvm-libc-types/jmp_buf.h
M libc/include/setjmp.yaml
M libc/src/setjmp/CMakeLists.txt
M libc/src/setjmp/aarch64/CMakeLists.txt
A libc/src/setjmp/aarch64/sigsetjmp.cpp
A libc/src/setjmp/linux/CMakeLists.txt
A libc/src/setjmp/linux/sigsetjmp_epilogue.cpp
M libc/src/setjmp/setjmp_impl.h
A libc/src/setjmp/siglongjmp.cpp
A libc/src/setjmp/siglongjmp.h
A libc/src/setjmp/sigsetjmp.h
A libc/src/setjmp/sigsetjmp_epilogue.h
M libc/src/setjmp/x86_64/CMakeLists.txt
M libc/src/setjmp/x86_64/setjmp.cpp
A libc/src/setjmp/x86_64/sigsetjmp.cpp
M libc/test/src/search/lfind_test.cpp
M libc/test/src/setjmp/CMakeLists.txt
A libc/test/src/setjmp/sigsetjmp_test.cpp
A libclc/clc/include/clc/math/clc_fdim.h
A libclc/clc/include/clc/math/clc_fract.h
M libclc/clc/include/clc/math/gentype.inc
R libclc/clc/include/clc/math/unary_builtin.inc
M libclc/clc/lib/generic/SOURCES
M libclc/clc/lib/generic/common/clc_sign.inc
M libclc/clc/lib/generic/math/clc_asinpi.inc
M libclc/clc/lib/generic/math/clc_atanpi.inc
M libclc/clc/lib/generic/math/clc_ceil.cl
M libclc/clc/lib/generic/math/clc_fabs.cl
A libclc/clc/lib/generic/math/clc_fdim.cl
A libclc/clc/lib/generic/math/clc_fdim.inc
M libclc/clc/lib/generic/math/clc_floor.cl
A libclc/clc/lib/generic/math/clc_fract.cl
A libclc/clc/lib/generic/math/clc_fract.inc
M libclc/clc/lib/generic/math/clc_rint.cl
M libclc/clc/lib/generic/math/clc_rootn.inc
M libclc/clc/lib/generic/math/clc_round.cl
M libclc/clc/lib/generic/math/clc_trunc.cl
M libclc/generic/include/clc/math/atan2.h
M libclc/generic/include/clc/math/atan2pi.h
R libclc/generic/include/clc/math/binary_decl_tt.inc
M libclc/generic/include/clc/math/copysign.h
M libclc/generic/include/clc/math/fdim.h
M libclc/generic/include/clc/math/fmod.h
M libclc/generic/include/clc/math/fract.h
R libclc/generic/include/clc/math/fract.inc
M libclc/generic/include/clc/math/half_divide.h
M libclc/generic/include/clc/math/half_powr.h
M libclc/generic/include/clc/math/hypot.h
M libclc/generic/include/clc/math/maxmag.h
M libclc/generic/include/clc/math/minmag.h
M libclc/generic/include/clc/math/nextafter.h
M libclc/generic/include/clc/math/pow.h
M libclc/generic/include/clc/math/powr.h
M libclc/generic/include/clc/math/remainder.h
M libclc/generic/lib/math/acos.cl
M libclc/generic/lib/math/acosh.cl
M libclc/generic/lib/math/acospi.cl
M libclc/generic/lib/math/asin.cl
M libclc/generic/lib/math/asinh.cl
M libclc/generic/lib/math/asinpi.cl
M libclc/generic/lib/math/atan.cl
M libclc/generic/lib/math/atanh.cl
M libclc/generic/lib/math/atanpi.cl
M libclc/generic/lib/math/ceil.cl
M libclc/generic/lib/math/fabs.cl
M libclc/generic/lib/math/fdim.cl
R libclc/generic/lib/math/fdim.inc
M libclc/generic/lib/math/floor.cl
M libclc/generic/lib/math/fract.cl
R libclc/generic/lib/math/fract.inc
M libclc/generic/lib/math/log1p.cl
M libclc/generic/lib/math/rint.cl
M libclc/generic/lib/math/round.cl
M libclc/generic/lib/math/trunc.cl
M libcxx/docs/Status/Cxx2cPapers.csv
M libcxx/include/__utility/pair.h
M libcxx/test/std/utilities/utility/pairs/pairs.spec/comparison.pass.cpp
M lld/MachO/BPSectionOrderer.cpp
M lld/MachO/DriverUtils.cpp
M lld/test/MachO/bp-section-orderer.s
M lldb/docs/dil-expr-lang.ebnf
M lldb/include/lldb/Target/Process.h
M lldb/include/lldb/ValueObject/DILAST.h
M lldb/include/lldb/ValueObject/DILEval.h
M lldb/include/lldb/ValueObject/DILLexer.h
M lldb/include/lldb/ValueObject/DILParser.h
M lldb/packages/Python/lldbsuite/test/decorators.py
M lldb/source/API/SBProcess.cpp
M lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
M lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
M lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
M lldb/source/Target/StackFrame.cpp
M lldb/source/ValueObject/DILAST.cpp
M lldb/source/ValueObject/DILEval.cpp
M lldb/source/ValueObject/DILLexer.cpp
M lldb/source/ValueObject/DILParser.cpp
M lldb/test/API/commands/expression/import-std-module/pair/TestPairFromStdModule.py
A lldb/test/API/commands/frame/var-dil/basics/AddressOf/Makefile
A lldb/test/API/commands/frame/var-dil/basics/AddressOf/TestFrameVarDILAddressOf.py
A lldb/test/API/commands/frame/var-dil/basics/AddressOf/main.cpp
A lldb/test/API/commands/frame/var-dil/basics/PointerArithmetic/Makefile
A lldb/test/API/commands/frame/var-dil/basics/PointerArithmetic/TestFrameVarDILPointerArithmetic.py
A lldb/test/API/commands/frame/var-dil/basics/PointerArithmetic/main.cpp
M lldb/test/API/commands/watchpoints/variable_out_of_scope/TestWatchedVarHitWhenInScope.py
M lldb/test/API/functionalities/thread/exit_during_expression/TestExitDuringExpression.py
M lldb/test/API/lang/objc/bitfield_ivars/TestBitfieldIvars.py
M lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py
M lldb/test/API/tools/lldb-dap/attach/TestDAP_attachByPortNum.py
M lldb/test/Shell/Settings/TestFrameFormatFunctionSuffix.test
M lldb/unittests/Host/posix/HostTest.cpp
M llvm/CMakeLists.txt
M llvm/cmake/modules/LLVMConfig.cmake.in
M llvm/include/llvm/Analysis/ValueTracking.h
M llvm/include/llvm/BinaryFormat/DXContainerConstants.def
M llvm/include/llvm/CodeGen/MachineUniformityAnalysis.h
M llvm/include/llvm/Frontend/Atomic/Atomic.h
M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
M llvm/include/llvm/IR/Instruction.h
M llvm/include/llvm/Passes/MachinePassRegistry.def
M llvm/include/llvm/TargetParser/CMakeLists.txt
M llvm/lib/Analysis/BasicAliasAnalysis.cpp
M llvm/lib/Analysis/CMakeLists.txt
M llvm/lib/Analysis/LazyValueInfo.cpp
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/MachineUniformityAnalysis.cpp
M llvm/lib/Frontend/Atomic/Atomic.cpp
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/IR/Instruction.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp
M llvm/lib/Target/AArch64/AArch64FalkorHWPFFix.cpp
M llvm/lib/Target/AArch64/SMEABIPass.cpp
M llvm/lib/Target/AArch64/SMEPeepholeOpt.cpp
M llvm/lib/Target/AArch64/SVEIntrinsicOpts.cpp
M llvm/lib/Target/AMDGPU/AMDGPU.h
M llvm/lib/Target/AMDGPU/AMDGPU.td
M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
M llvm/lib/Target/DirectX/DXILLegalizePass.cpp
M llvm/lib/Target/DirectX/DXILShaderFlags.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVProcessors.td
M llvm/lib/Target/TargetMachine.cpp
M llvm/lib/Target/X86/X86.td
M llvm/lib/TargetParser/CMakeLists.txt
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/test/Analysis/BasicAA/gep-modulo.ll
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/always-uniform-gmir.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/always-uniform.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/atomics-gmir.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/atomics.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/control-flow-intrinsics.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/hidden-diverge-gmir.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/hidden-loop-diverge.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/irreducible/branch-outside-gmir.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/irreducible/diverged-entry-basic-gmir.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/irreducible/exit-divergence-gmir.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/irreducible/irreducible-2-gmir.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/join-loopexit-gmir.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/loads-gmir.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/never-uniform.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/temporal-divergence.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/uses-value-from-cycle.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/deprecated/hidden-diverge.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/deprecated/irreducible-1.mir
M llvm/test/CodeGen/ARM/cttz.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/disable-opt-cs.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/disable-opt-lib.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/low-precision.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/max-64-uavs-array-valver1.5.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/max-64-uavs-array-valver1.6.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/max-64-uavs.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/raw-and-structured-buffers.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/res-may-alias-0.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/res-may-alias-1.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/res-may-not-alias-sm6.6.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/res-may-not-alias-sm6.7.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/res-may-not-alias-valver1.8.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/typed-uav-load-additional-formats.ll
A llvm/test/CodeGen/DirectX/ShaderFlags/uavs-at-every-stage-lib-valver1.7.ll
A llvm/test/CodeGen/DirectX/ShaderFlags/uavs-at-every-stage-lib-valver1.8.ll
A llvm/test/CodeGen/DirectX/ShaderFlags/uavs-at-every-stage-vs.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/use-native-low-precision-0.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/use-native-low-precision-1.ll
A llvm/test/CodeGen/DirectX/legalize-i8-alloca.ll
M llvm/test/CodeGen/RISCV/GlobalISel/rv32zbb.ll
M llvm/test/CodeGen/RISCV/ctlz-cttz-ctpop.ll
M llvm/test/CodeGen/RISCV/inline-asm-invalid.ll
M llvm/test/CodeGen/RISCV/rv32xtheadbb.ll
M llvm/test/CodeGen/RISCV/rv32zbb.ll
M llvm/test/CodeGen/SPARC/ctlz.ll
M llvm/test/CodeGen/SPARC/cttz.ll
M llvm/test/CodeGen/X86/apx/tls.ll
M llvm/test/CodeGen/X86/code-model-elf-sections.ll
M llvm/test/CodeGen/X86/code-model-elf.ll
M llvm/test/CodeGen/X86/ctlo.ll
M llvm/test/CodeGen/X86/ctlz.ll
M llvm/test/CodeGen/X86/cttz.ll
R llvm/test/CodeGen/X86/lzcnt-cmp.ll
M llvm/test/CodeGen/X86/masked_gather_scatter.ll
M llvm/test/ObjectYAML/DXContainer/DomainMaskVectors.yaml
M llvm/test/ObjectYAML/DXContainer/GeometryMaskVectors.yaml
M llvm/test/ObjectYAML/DXContainer/HullMaskVectors.yaml
A llvm/test/TableGen/DuplicateProcessorFeatures.td
A llvm/test/Transforms/CorrelatedValuePropagation/pr137582.ll
A llvm/test/Transforms/InstCombine/cttz-shift-exact.ll
M llvm/test/Transforms/InstCombine/icmp-add.ll
M llvm/test/Transforms/InstCombine/icmp-equality-xor.ll
M llvm/test/Transforms/InstCombine/icmp-select.ll
M llvm/test/Transforms/InstCombine/select.ll
M llvm/test/Transforms/LoopVectorize/dbg-outer-loop-vect.ll
M llvm/test/tools/obj2yaml/DXContainer/ShaderFlags.yaml
M llvm/test/tools/obj2yaml/DXContainer/ShaderFlagsEmpty.yaml
M llvm/tools/llvm-exegesis/lib/AArch64/Target.cpp
M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
M llvm/utils/TableGen/SubtargetEmitter.cpp
M mlir/include/mlir/Dialect/GPU/Transforms/Passes.h
M mlir/include/mlir/Dialect/LLVMIR/LLVMEnums.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/include/mlir/Dialect/Tosa/IR/TosaUtilOps.td
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPU.h
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUDialect.td
M mlir/lib/Dialect/GPU/CMakeLists.txt
M mlir/lib/Dialect/GPU/Transforms/GlobalIdRewriter.cpp
A mlir/lib/Dialect/GPU/Transforms/SubgroupIdRewriter.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMMemorySlot.cpp
M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
M mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
M mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/lib/Target/LLVMIR/ModuleImport.cpp
M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg-pipeline.mlir
A mlir/test/Dialect/GPU/subgroupId-rewrite.mlir
M mlir/test/Dialect/LLVMIR/invalid.mlir
M mlir/test/Dialect/LLVMIR/roundtrip.mlir
M mlir/test/Dialect/Tosa/invalid.mlir
M mlir/test/Dialect/Tosa/variables.mlir
M mlir/test/Dialect/Tosa/verifier.mlir
M mlir/test/Dialect/XeGPU/invalid.mlir
M mlir/test/Dialect/XeGPU/ops.mlir
M mlir/test/Target/LLVMIR/Import/instructions.ll
M mlir/test/Target/LLVMIR/llvmir.mlir
M mlir/test/Target/LLVMIR/openmp-cancel.mlir
M mlir/test/Target/LLVMIR/openmp-llvm.mlir
A mlir/test/Target/LLVMIR/openmp-nontemporal.mlir
M mlir/test/Target/LLVMIR/openmp-target-private.mlir
M mlir/test/Target/LLVMIR/openmp-todo.mlir
M mlir/test/lib/Dialect/GPU/TestGpuRewrite.cpp
M offload/liboffload/src/OffloadImpl.cpp
M offload/test/CMakeLists.txt
M offload/test/lit.cfg
A offload/test/unit/lit.cfg.py
A offload/test/unit/lit.site.cfg.in
M offload/unittests/CMakeLists.txt
M offload/unittests/OffloadAPI/CMakeLists.txt
M offload/unittests/OffloadAPI/common/Environment.cpp
M offload/unittests/OffloadAPI/common/Environment.hpp
M offload/unittests/OffloadAPI/common/Fixtures.hpp
R offload/unittests/OffloadAPI/device/olDeviceInfo.hpp
M offload/unittests/OffloadAPI/device/olGetDeviceInfo.cpp
M offload/unittests/OffloadAPI/device/olGetDeviceInfoSize.cpp
M offload/unittests/OffloadAPI/device_code/CMakeLists.txt
M offload/unittests/OffloadAPI/kernel/olGetKernel.cpp
M offload/unittests/OffloadAPI/kernel/olLaunchKernel.cpp
M offload/unittests/OffloadAPI/memory/olMemAlloc.cpp
M offload/unittests/OffloadAPI/memory/olMemFree.cpp
M offload/unittests/OffloadAPI/memory/olMemcpy.cpp
M offload/unittests/OffloadAPI/platform/olGetPlatformInfo.cpp
M offload/unittests/OffloadAPI/platform/olGetPlatformInfoSize.cpp
R offload/unittests/OffloadAPI/platform/olPlatformInfo.hpp
M offload/unittests/OffloadAPI/program/olCreateProgram.cpp
M offload/unittests/OffloadAPI/program/olDestroyProgram.cpp
M offload/unittests/OffloadAPI/queue/olCreateQueue.cpp
M offload/unittests/OffloadAPI/queue/olDestroyQueue.cpp
M offload/unittests/OffloadAPI/queue/olWaitQueue.cpp
R offload/unittests/Plugins/CMakeLists.txt
R offload/unittests/Plugins/NextgenPluginsTest.cpp
Log Message:
-----------
Merge branch 'main' into users/el-ev/fold-masked-merge
Compare: https://github.com/llvm/llvm-project/compare/2f08e9920ad3...3a0268910f0a
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