[all-commits] [llvm/llvm-project] 425b95: [clang][bytecode] Emit diagnostics from GetGlobalU...
Helena Kotas via All-commits
all-commits at lists.llvm.org
Fri Apr 25 19:04:19 PDT 2025
Branch: refs/heads/users/hekota/pr137258-resource-binding-analysis
Home: https://github.com/llvm/llvm-project
Commit: 425b9539684be00f3c8ccde54dbab18ce9bc8ebd
https://github.com/llvm/llvm-project/commit/425b9539684be00f3c8ccde54dbab18ce9bc8ebd
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M clang/lib/AST/ByteCode/Interp.h
M clang/test/AST/ByteCode/cxx11.cpp
M clang/test/SemaCXX/constant-expression-p2280r4.cpp
Log Message:
-----------
[clang][bytecode] Emit diagnostics from GetGlobalUnchecked (#137203)
If the global is uninitialized.
Commit: 9f74d517f13a4f1f5ca340d15c8d858f3784ec5c
https://github.com/llvm/llvm-project/commit/9f74d517f13a4f1f5ca340d15c8d858f3784ec5c
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M compiler-rt/test/ubsan_minimal/CMakeLists.txt
M compiler-rt/test/ubsan_minimal/lit.common.cfg.py
M compiler-rt/test/ubsan_minimal/lit.site.cfg.py.in
Log Message:
-----------
[NFC][UBSAN] Fix minimal UBSAN test names (#137244)
Same approach as in Asan.
Now it's going to print:
```
Failed Tests (2):
UBSan-Minimal-i386-linux :: TestCases/icall.c
UBSan-Minimal-x86_64-linux :: TestCases/icall.c
```
Before it was:
```
Failed Tests (2):
UBSan-Minimal-x86_64 :: TestCases/icall.c
UBSan-Minimal-x86_64 :: TestCases/icall.c
```
Commit: a7e53124eb1376b0f04a1f6d7d40a596532905b6
https://github.com/llvm/llvm-project/commit/a7e53124eb1376b0f04a1f6d7d40a596532905b6
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
A clang/test/Analysis/Checkers/WebKit/unchecked-call-arg.cpp
Log Message:
-----------
[alpha.webkit.UncheckedCallArgsChecker] Checker fails to recognize CanMakeCheckedPtrBase (#136500)
This PR fixes the bug that alpha.webkit.UncheckedCallArgsChecker did not
recognize CanMakeCheckedPtrBase due to getAsCXXRecordDecl returning
nullptr for it in hasPublicMethodInBase. Manually grab getTemplatedDecl
out of TemplateSpecializationType then CXXRecordDecl to workaround this
bug in clang frontend.
Commit: 8baa212b7aef800a0f7d9abad529a3976bef9d50
https://github.com/llvm/llvm-project/commit/8baa212b7aef800a0f7d9abad529a3976bef9d50
Author: Justin Bogner <mail at justinbogner.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M llvm/lib/Target/DirectX/DXILResourceAccess.cpp
M llvm/test/CodeGen/DirectX/ResourceAccess/load_typedbuffer.ll
Log Message:
-----------
[DirectX] Handle <1 x ...> loads in DXILResourceAccess (#137076)
We can end up with loads of single element vectors when we have scalar
values, because the vectorizer may introduce these to use ops like
shufflevector in some cases. Make sure we're maintaining the correct
type when translating these into resource load operations.
Fixes #136409.
Commit: 5d0afacd1bda42350efcd6ad567c70ec5c9d19d6
https://github.com/llvm/llvm-project/commit/5d0afacd1bda42350efcd6ad567c70ec5c9d19d6
Author: Amir Ayupov <aaupov at fb.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M bolt/include/bolt/Profile/DataAggregator.h
M bolt/lib/Profile/DataAggregator.cpp
Log Message:
-----------
[BOLT][NFCI] Emit uniform diagnostics in DataAggregator (#136530)
DataAggregator supports reading different kinds of profile data:
- perf data: branch records or IP samples,
- pre-aggregated branch data.
Make profile quality reporting uniform across all kinds of input:
- out-of-range and mismatching samples,
- samples in cold code in BAT mode (profiled BOLTed binary).
Test Plan: NFCI
Commit: 08efca9c2c2b9005a0390965a2bad9ef208e4db4
https://github.com/llvm/llvm-project/commit/08efca9c2c2b9005a0390965a2bad9ef208e4db4
Author: jeremyd2019 <github at jdrake.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M llvm/cmake/modules/AddLLVM.cmake
M llvm/tools/llvm-config/BuildVariables.inc.in
M llvm/tools/llvm-config/CMakeLists.txt
M llvm/tools/llvm-config/llvm-config.cpp
M llvm/tools/llvm-shlib/CMakeLists.txt
Log Message:
-----------
[LLVM][Cygwin] Fix shared library name (#136599)
Treat Cygwin like WIN32 in llvm-shlib for naming the library.
Don't create shlib symlinks on Cygwin, they don't help anything there,
but teach llvm_install_library_symlink that Cygwin's shared libraries
live in BINDIR like WIN32.
Add a new variable to llvm-config's BuildVariables to have CMake's
shared library prefix, to avoid having to patch between "cyg" and
"msys-" on MSYS2.
Commit: b649b3557e7b0a95612be64c1fe2334f6ecb2132
https://github.com/llvm/llvm-project/commit/b649b3557e7b0a95612be64c1fe2334f6ecb2132
Author: joaosaffran <126493771+joaosaffran at users.noreply.github.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M llvm/lib/Target/DirectX/DXILRootSignature.cpp
M llvm/lib/Target/DirectX/DXILRootSignature.h
R llvm/test/CodeGen/DirectX/ContainerData/RootSignature-Flags-Validation-Error.ll
M llvm/test/CodeGen/DirectX/ContainerData/RootSignature-Flags.ll
M llvm/test/CodeGen/DirectX/ContainerData/RootSignature-MultipleEntryFunctions.ll
A llvm/test/CodeGen/DirectX/ContainerData/RootSignature-Parameters-Validation-Error.ll
A llvm/test/CodeGen/DirectX/ContainerData/RootSignature-Parameters.ll
A llvm/test/CodeGen/DirectX/ContainerData/RootSignature-RootConstants-Invalid-Num32BitValues.ll
A llvm/test/CodeGen/DirectX/ContainerData/RootSignature-RootConstants-Invalid-RegisterSpace.ll
A llvm/test/CodeGen/DirectX/ContainerData/RootSignature-RootConstants-Invalid-ShaderRegister.ll
A llvm/test/CodeGen/DirectX/ContainerData/RootSignature-RootConstants.ll
A llvm/test/CodeGen/DirectX/ContainerData/RootSignature-RootFlags-VisibilityValidationError.ll
Log Message:
-----------
[HLSL] Adding support for Root Constants in LLVM Metadata (#135085)
- Closes [#126637](https://github.com/llvm/llvm-project/issues/126637)
---------
Co-authored-by: joaosaffran <joao.saffran at microsoft.com>
Commit: bae4c946a1998b0d2337a8b23c07db38afcabf12
https://github.com/llvm/llvm-project/commit/bae4c946a1998b0d2337a8b23c07db38afcabf12
Author: Erich Keane <ekeane at nvidia.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M clang/lib/CIR/CodeGen/CIRGenStmtOpenACC.cpp
M clang/test/CIR/CodeGenOpenACC/kernels.c
M clang/test/CIR/CodeGenOpenACC/parallel.c
Log Message:
-----------
[OpenACC][CIR] Implement 'num_gangs' lowering (#137216)
This is similar to the previous handful of lowering commits, except that
it takes an array of int-expressions rather than a single one. This
complicates the list of things that need updating (as the 'segments'
array also needs updating), which resulted in a bit of a refactor.
At the moment, only parallel/kernels are enabled (not parallel
loop/kernels loop), so tests are added just for those.
---------
Co-authored-by: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Commit: 7d71164855fb22b48cbd65a1e372be804dc404bb
https://github.com/llvm/llvm-project/commit/7d71164855fb22b48cbd65a1e372be804dc404bb
Author: Andy Kaylor <akaylor at nvidia.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M clang/include/clang/CIR/MissingFeatures.h
A clang/lib/CIR/CodeGen/CIRGenCXXABI.h
M clang/lib/CIR/CodeGen/CIRGenModule.cpp
M clang/lib/CIR/CodeGen/CIRGenModule.h
M clang/test/CIR/CodeGen/array.cpp
M clang/test/CIR/CodeGen/basic.cpp
M clang/test/CIR/CodeGen/binop.cpp
M clang/test/CIR/CodeGen/call.cpp
M clang/test/CIR/CodeGen/cast.cpp
M clang/test/CIR/CodeGen/cmp.cpp
M clang/test/CIR/CodeGen/if.cpp
M clang/test/CIR/CodeGen/int-to-bool.cpp
M clang/test/CIR/CodeGen/local-vars.cpp
M clang/test/CIR/CodeGen/loop.cpp
M clang/test/CIR/CodeGen/nullptr-init.cpp
M clang/test/CIR/CodeGen/struct.cpp
M clang/test/CIR/CodeGen/unary.cpp
M clang/test/CIR/Lowering/array.cpp
M clang/test/CIR/Lowering/basic.cpp
M clang/test/CIR/Lowering/func-simple.cpp
M clang/test/CIR/Lowering/local-vars.cpp
M clang/test/CIR/func-simple.cpp
M clang/test/CIR/global-var-linkage.cpp
Log Message:
-----------
[CIR] Upstream support for name mangling (#137094)
We have been using the default names for global symbols to this point.
This change introduces proper name mangling for functions.
This requires introducing a CXXABI class in the CIRGenModule. Because
only target independent name mangling is handled in this patch, the
CXXABI class does not require a target-specific implementation. The
general mechanism for selecting an implementation is introduced here,
but the actual target-specific subclasses are deferred until needed.
Commit: 80182a7d5d66c8dc90bb4623c1f722aba7ebe45b
https://github.com/llvm/llvm-project/commit/80182a7d5d66c8dc90bb4623c1f722aba7ebe45b
Author: erichkeane <ekeane at nvidia.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M clang/lib/CIR/CodeGen/CIRGenFunction.h
M clang/lib/CIR/CodeGen/CIRGenStmtOpenACC.cpp
A clang/test/CIR/CodeGenOpenACC/wait.c
Log Message:
-----------
[OpenACC][CIR] Implement 'wait' directive lowering
This construct has a couple of 'intexprs' which are lowered the same way
as clauses, plus has a pair of simple clauses that needed lowering.
This patch does all of that.
Commit: 0a3f2a05f27097c47d45e16828b0da0dd51fad48
https://github.com/llvm/llvm-project/commit/0a3f2a05f27097c47d45e16828b0da0dd51fad48
Author: Reid Kleckner <rnk at google.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/CodeGenModule.h
A clang/test/CodeGenCXX/bpf-debug-structors.cpp
Log Message:
-----------
[BPF] Fix issues with external declarations of C++ structor decls (#137079)
Use GetAddrOfGlobal, which is a more general API that takes a
GlobalDecl, and handles declaring C++ destructors and other types in a
general way. We can use this to generalize over functions and variable
declarations.
This fixes issues reported on #130674 by @lexi-nadia .
Commit: 67cbfb9d8c38c038e33ee48c82262e72e46ff089
https://github.com/llvm/llvm-project/commit/67cbfb9d8c38c038e33ee48c82262e72e46ff089
Author: Kaitlin Peng <kaitlinpeng at microsoft.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M clang/include/clang/Basic/BuiltinsSPIRV.td
M clang/lib/CodeGen/TargetBuiltins/SPIR.cpp
M clang/lib/Headers/hlsl/hlsl_intrinsic_helpers.h
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
M clang/lib/Sema/SemaSPIRV.cpp
A clang/test/CodeGenHLSL/builtins/faceforward.hlsl
A clang/test/CodeGenSPIRV/Builtins/faceforward.c
A clang/test/SemaHLSL/BuiltIns/faceforward-errors.hlsl
A clang/test/SemaSPIRV/BuiltIns/faceforward-errors.c
M clang/test/SemaSPIRV/BuiltIns/smoothstep-errors.c
M llvm/include/llvm/IR/IntrinsicsSPIRV.td
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/faceforward.ll
Log Message:
-----------
[HLSL] Implement the `faceforward` intrinsic (#135878)
Resolves #99114.
Tasks completed:
- Implement `faceforward` in
`hlsl_intrinsics.h`/`hlsl_intrinsic_helpers.h`
- Implement `faceforward` SPIR-V target builtin in
`clang/include/clang/Basic/BuiltinsSPIRV.td`
- Add a SPIR-V fast path in `hlsl_intrinsic_helpers.h`
- Add sema checks for `faceforward` to `CheckSPIRVBuiltinFunctionCall`
in `clang/lib/Sema/SemaSPIRV.cpp`
- Add codegen for SPIR-V `faceforward` builtin to `EmitSPIRVBuiltinExpr`
in `SPIR.cpp`
- Add HLSL codegen tests to
`clang/test/CodeGenHLSL/builtins/faceforward.hlsl`
- Add SPIRV builtin codegen tests to
`clang/test/CodeGenSPIRV/Builtins/faceforward.c`
- Add sema tests to
`clang/test/SemaHLSL/BuiltIns/faceforward-errors.hlsl`
- Add spirv sema tests to
`clang/test/SemaSPIRV/BuiltIns/faceforward-errors.c`
- Create the `int_spv_faceforward` intrinsic in `IntrinsicsSPIRV.td`
- In `SPIRVInstructionSelector.cpp` create the `faceforward` lowering
and map it to `int_spv_faceforward` in
`SPIRVInstructionSelector::selectIntrinsic`
- Create SPIR-V backend test case in
`llvm/test/CodeGen/SPIRV/hlsl-intrinsics/faceforward.ll`
Incomplete tasks:
- Create SPIR-V backend test case in
`llvm/test/CodeGen/SPIRV/opencl/faceforward.ll`
- Not applicable because the OpenCL SPIR-V extended instruction set does
not include a `faceforward` function
Follow-up tasks:
- Implement pattern matching for `faceforward` in `SPIRVCombine.td` and
`SPIRVPreLegalizerCombiner.cpp`
- In `faceforward.ll`, change `--target-env spv1.4` to `vulkan1.3` and
update the test accordingly once
[#136344](https://github.com/llvm/llvm-project/issues/136344) has been
resolved
Commit: 851f7c74213e8497afb2b2a3b7facb9faedf9f5f
https://github.com/llvm/llvm-project/commit/851f7c74213e8497afb2b2a3b7facb9faedf9f5f
Author: Anton <44649959+amemov at users.noreply.github.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/headers/math/index.rst
M libc/include/math.yaml
M libc/src/math/CMakeLists.txt
A libc/src/math/acospif16.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/acospif16.cpp
M libc/test/src/math/CMakeLists.txt
A libc/test/src/math/acospif16_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/acospif16_test.cpp
M libc/utils/MPFRWrapper/MPCommon.cpp
M libc/utils/MPFRWrapper/MPCommon.h
M libc/utils/MPFRWrapper/MPFRUtils.cpp
M libc/utils/MPFRWrapper/MPFRUtils.h
Log Message:
-----------
[libc][math][c23] Add acospif16() function (#134664)
Addresses #132211 #132754
Part of #95250
Commit: 7de2e4971f8ad8d12ed617bc66f6d549d2830a57
https://github.com/llvm/llvm-project/commit/7de2e4971f8ad8d12ed617bc66f6d549d2830a57
Author: Han-Chung Wang <hanhan0912 at gmail.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M mlir/include/mlir/Dialect/Utils/ReshapeOpsUtils.h
M mlir/lib/Dialect/Utils/ReshapeOpsUtils.cpp
Log Message:
-----------
[mlir][NFC] Use Builder for getReassociationIndicesAttribute method. (#137251)
The method does not need to create any operation, so we can use Builder.
It can be reused by any attribute getter implementation, so it does not
need to declare OpBuilder in the implementation.
Signed-off-by: hanhanW <hanhan0912 at gmail.com>
Commit: 768d3ba74319473e0bbf87ad92174062d4909488
https://github.com/llvm/llvm-project/commit/768d3ba74319473e0bbf87ad92174062d4909488
Author: Tom Stellard <tstellar at redhat.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M llvm/utils/git/github-automation.py
Log Message:
-----------
github-automation.py: Add debug output to the commit-request-greeter (#137104)
This script is not working any more in the GitHub actions jobs and I
can't reproduce this locally, so I've added some debug output to try to
help find the problem.
Commit: 5b16941f5707c3a326b688e0954f8882d8a36951
https://github.com/llvm/llvm-project/commit/5b16941f5707c3a326b688e0954f8882d8a36951
Author: Oliver Hunt <oliver at apple.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M clang/include/clang/AST/NonTrivialTypeVisitor.h
M clang/include/clang/AST/Type.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/Type.cpp
M clang/lib/CodeGen/CGBlocks.cpp
M clang/lib/CodeGen/CGBlocks.h
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CGNonTrivialStruct.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaDecl.cpp
A clang/test/CodeGen/ptrauth-in-c-struct.c
A clang/test/CodeGen/ptrauth-qualifier-blocks.c
M clang/test/Sema/ptrauth-qualifier.c
M clang/test/SemaCXX/ptrauth-qualifier.cpp
Log Message:
-----------
[clang] Ensure correct copying of records with authenticated fields (#136783)
When records contain fields with pointer authentication, even simple
copies can require
additional work be performed. This patch contains the core functionality
required to
handle user defined structs, as well as the implicitly constructed
structs for blocks, etc.
Co-authored-by: Ahmed Bougacha
Co-authored-by: Akira Hatanaka
Co-authored-by: John Mccall
Commit: 42622c79592b98b899d787c89db11cea1b540b96
https://github.com/llvm/llvm-project/commit/42622c79592b98b899d787c89db11cea1b540b96
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M utils/bazel/llvm-project-overlay/lldb/BUILD.bazel
Log Message:
-----------
[bazel] Depend on full Utility library in lldb (#137265)
Since 6493345c5ab96f60ab5ee38272fb6635f2083318 the utility library is
needed by the driver. Since liblldb's exports are limited with
-exports_symbols_list on macOS, some symbols like
`__ZN12SelectHelper10FDSetWriteEi` are not exported from liblldb and
therefore cause linker failures on macOS only. In the cmake the driver
now depends on the full utility library, even though that leads to some
duplication of symbols, so it should be safe for us to do in bazel as
well.
Commit: 262158b8aa12634c17f4b37cba62564e5c9baab4
https://github.com/llvm/llvm-project/commit/262158b8aa12634c17f4b37cba62564e5c9baab4
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py
M lldb/test/API/tools/lldb-dap/extendedStackTrace/TestDAP_extendedStackTrace.py
M lldb/test/API/tools/lldb-dap/stackTrace/TestDAP_stackTrace.py
M lldb/tools/lldb-dap/Handler/StackTraceRequestHandler.cpp
Log Message:
-----------
[lldb-dap] Support StackFrameFormat (#137113)
The debug adapter protocol supports an option to provide formatting
information for a stack frames as part of the StackTrace request.
lldb-dap incorrectly advertises it supports this, but until this PR that
support wasn't actually implemented.
Fixes #137057
Commit: fdbf073a86573c9ac4d595fac8e06d252ce1469f
https://github.com/llvm/llvm-project/commit/fdbf073a86573c9ac4d595fac8e06d252ce1469f
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M clang/lib/CodeGen/BackendUtil.cpp
M llvm/docs/HowToUpdateDebugInfo.rst
M llvm/include/llvm/IR/DebugLoc.h
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
M llvm/lib/IR/DebugInfo.cpp
M llvm/lib/IR/DebugLoc.cpp
M llvm/lib/Transforms/Utils/Debugify.cpp
Log Message:
-----------
Revert "[DLCov] Implement DebugLoc coverage tracking (#107279)"
This reverts commit a9d93ecf1f8d2cfe3f77851e0df179b386cff353.
Reverted due to the commit including a config in LLVM headers that is not
available outside of the llvm source tree.
Commit: b6746b06574686a587587acafb38881ca848089c
https://github.com/llvm/llvm-project/commit/b6746b06574686a587587acafb38881ca848089c
Author: Andy Kaylor <akaylor at nvidia.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M clang/lib/CIR/CodeGen/CIRGenDecl.cpp
M clang/lib/CIR/CodeGen/CIRGenModule.cpp
M clang/lib/CIR/CodeGen/CIRGenModule.h
A clang/test/CIR/CodeGen/namespace.cpp
Log Message:
-----------
[CIR] Upstream namepsace handling (#137253)
This adds the handlers for Decl::Namespace and Decl::UsingDirective
(which is needed for anonymous namespaces).
Commit: c0bc77512455ca7eec72efb45fb7aa6a7e9b449c
https://github.com/llvm/llvm-project/commit/c0bc77512455ca7eec72efb45fb7aa6a7e9b449c
Author: Bruno Cardoso Lopes <bruno.cardoso at gmail.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMDialect.td
M mlir/lib/Dialect/LLVMIR/IR/LLVMAttrs.cpp
M mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp
M mlir/lib/Target/LLVMIR/ModuleImport.cpp
M mlir/test/Dialect/LLVMIR/invalid.mlir
M mlir/test/Dialect/LLVMIR/module-roundtrip.mlir
M mlir/test/Target/LLVMIR/Import/module-flags.ll
M mlir/test/Target/LLVMIR/llvmir.mlir
Log Message:
-----------
[MLIR][LLVM] Add CG Profile module flags support (#137115)
Dialect only accept arbitrary module flag values in face of simple types
like int and string. Whenever metadata is a bit more complex use
specific attributes to map functionality. This PR adds an attribute to
represent "CG Profile" entries, verifiers, import / translate support.
Commit: 7122d9c5623f69a68817c38ecbe5cabd7ea13cd5
https://github.com/llvm/llvm-project/commit/7122d9c5623f69a68817c38ecbe5cabd7ea13cd5
Author: Min-Yih Hsu <min.hsu at sifive.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/vector-deinterleave.ll
M llvm/test/CodeGen/RISCV/rvv/vector-interleave.ll
Log Message:
-----------
[RISCV] Add codegen tests for `vector.(de)interleave3/5/7` on FP scalable vectors (#137257)
We had `vector.(de)interleave3/5/7` tests for floating point fixed
vectors but not for scalable vectors. This patch adds some tests. I also
reorganized the test files so all integer tests are put at the top.
Commit: be48c0df77413a237565a339c9ccc275b8256631
https://github.com/llvm/llvm-project/commit/be48c0df77413a237565a339c9ccc275b8256631
Author: Ziqing Luo <ziqing at udel.edu>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M clang/lib/Analysis/UnsafeBufferUsage.cpp
A clang/test/SemaCXX/bug149071318.cpp
Log Message:
-----------
[-Wunsafe-buffer-usage] Fix a bug that wrongly assumed CXXMethodDecl always has an identifier (#137248)
Fix a bug in UnsafeBufferUsage.cpp that wrongly assumed that
CXXMethodDecl always has an identifier.
rdar://149071318
Commit: 70e303f11e1b9ac4af20d4fad5f1ec1c8ceb448e
https://github.com/llvm/llvm-project/commit/70e303f11e1b9ac4af20d4fad5f1ec1c8ceb448e
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefLambdaCapturesChecker.cpp
M clang/test/Analysis/Checkers/WebKit/uncounted-lambda-captures.cpp
Log Message:
-----------
[webkit.UncountedLambdaCapturesChecker] Treat a call to lambda function via a variable as safe. (#135688)
This PR makes the checker ignore a function call to lambda via a local
variable.
Commit: 31b38d67f246066cbca9328a5b2dd66a31e71245
https://github.com/llvm/llvm-project/commit/31b38d67f246066cbca9328a5b2dd66a31e71245
Author: Chris B <chris.bieneman at me.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M clang/include/clang/Sema/SemaHLSL.h
M clang/lib/Sema/SemaHLSL.cpp
M clang/lib/Sema/SemaInit.cpp
A clang/test/SemaHLSL/Language/InitIncompleteArrays.hlsl
M clang/test/SemaHLSL/Language/InitListAST.hlsl
Log Message:
-----------
[HLSL] Handle incomplete array types (#133508)
This refactors the initialization list transformation code to handle
incomplete array types.
Fixes #132958
Commit: 967434aa3275842637937e9ac17614a10f81bae7
https://github.com/llvm/llvm-project/commit/967434aa3275842637937e9ac17614a10f81bae7
Author: royitaqi <royitaqi at users.noreply.github.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M lldb/include/lldb/Symbol/ObjectFile.h
M lldb/include/lldb/Symbol/SymbolFile.h
M lldb/include/lldb/Symbol/SymbolFileOnDemand.h
M lldb/include/lldb/Target/Statistics.h
M lldb/source/Core/Module.cpp
M lldb/source/Symbol/ObjectFile.cpp
M lldb/source/Symbol/SymbolFile.cpp
M lldb/source/Target/Statistics.cpp
M lldb/test/API/commands/statistics/basic/TestStats.py
M lldb/unittests/Symbol/LineTableTest.cpp
M lldb/unittests/Symbol/SymtabTest.cpp
Log Message:
-----------
[lldb] Remerge #136236 (Avoid force loading symbols in statistics collection (#136795)
Fix a [test
failure](https://github.com/llvm/llvm-project/pull/136236#issuecomment-2819772879)
in #136236, apply a minor renaming of statistics, and remerge. See
details below.
# Changes in #136236
Currently, `DebuggerStats::ReportStatistics()` calls
`Module::GetSymtab(/*can_create=*/false)`, but then the latter calls
`SymbolFile::GetSymtab()`. This will load symbols if haven't yet. See
stacktrace below.
The problem is that `DebuggerStats::ReportStatistics` should be
read-only. This is especially important because it reports stats for
symtab parsing/indexing time, which could be affected by the reporting
itself if it's not read-only.
This patch fixes this problem by adding an optional parameter
`SymbolFile::GetSymtab(bool can_create = true)` and receiving the
`false` value passed down from `Module::GetSymtab(/*can_create=*/false)`
when the call is initiated from `DebuggerStats::ReportStatistics()`.
---
Notes about the following stacktrace:
1. This can be reproduced. Create a helloworld program on **macOS** with
dSYM, add `settings set target.preload-symbols false` to `~/.lldbinit`,
do `lldb a.out`, then `statistics dump`.
2. `ObjectFile::GetSymtab` has `llvm::call_once`. So the fact that it
called into `ObjectFileMachO::ParseSymtab` means that the symbol table
is actually being parsed.
```
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = step over
frame #0: 0x0000000124c4d5a0 LLDB`ObjectFileMachO::ParseSymtab(this=0x0000000111504e40, symtab=0x0000600000a05e00) at ObjectFileMachO.cpp:2259:44
* frame #1: 0x0000000124fc50a0 LLDB`lldb_private::ObjectFile::GetSymtab()::$_0::operator()(this=0x000000016d35c858) const at ObjectFile.cpp:761:9
frame #5: 0x0000000124fc4e68 LLDB`void std::__1::__call_once_proxy[abi:v160006]<std::__1::tuple<lldb_private::ObjectFile::GetSymtab()::$_0&&>>(__vp=0x000000016d35c7f0) at mutex:652:5
frame #6: 0x0000000198afb99c libc++.1.dylib`std::__1::__call_once(unsigned long volatile&, void*, void (*)(void*)) + 196
frame #7: 0x0000000124fc4dd0 LLDB`void std::__1::call_once[abi:v160006]<lldb_private::ObjectFile::GetSymtab()::$_0>(__flag=0x0000600003920080, __func=0x000000016d35c858) at mutex:670:9
frame #8: 0x0000000124fc3cb0 LLDB`void llvm::call_once<lldb_private::ObjectFile::GetSymtab()::$_0>(flag=0x0000600003920080, F=0x000000016d35c858) at Threading.h:88:5
frame #9: 0x0000000124fc2bc4 LLDB`lldb_private::ObjectFile::GetSymtab(this=0x0000000111504e40) at ObjectFile.cpp:755:5
frame #10: 0x0000000124fe0a28 LLDB`lldb_private::SymbolFileCommon::GetSymtab(this=0x0000000104865200) at SymbolFile.cpp:158:39
frame #11: 0x0000000124d8fedc LLDB`lldb_private::Module::GetSymtab(this=0x00000001113041a8, can_create=false) at Module.cpp:1027:21
frame #12: 0x0000000125125bdc LLDB`lldb_private::DebuggerStats::ReportStatistics(debugger=0x000000014284d400, target=0x0000000115808200, options=0x000000014195d6d1) at Statistics.cpp:329:30
frame #13: 0x0000000125672978 LLDB`CommandObjectStatsDump::DoExecute(this=0x000000014195d540, command=0x000000016d35d820, result=0x000000016d35e150) at CommandObjectStats.cpp:144:18
frame #14: 0x0000000124f29b40 LLDB`lldb_private::CommandObjectParsed::Execute(this=0x000000014195d540, args_string="", result=0x000000016d35e150) at CommandObject.cpp:832:9
frame #15: 0x0000000124efbd70 LLDB`lldb_private::CommandInterpreter::HandleCommand(this=0x0000000141b22f30, command_line="statistics dump", lazy_add_to_history=eLazyBoolCalculate, result=0x000000016d35e150, force_repeat_command=false) at CommandInterpreter.cpp:2134:14
frame #16: 0x0000000124f007f4 LLDB`lldb_private::CommandInterpreter::IOHandlerInputComplete(this=0x0000000141b22f30, io_handler=0x00000001419b2aa8, line="statistics dump") at CommandInterpreter.cpp:3251:3
frame #17: 0x0000000124d7b5ec LLDB`lldb_private::IOHandlerEditline::Run(this=0x00000001419b2aa8) at IOHandler.cpp:588:22
frame #18: 0x0000000124d1e8fc LLDB`lldb_private::Debugger::RunIOHandlers(this=0x000000014284d400) at Debugger.cpp:1225:16
frame #19: 0x0000000124f01f74 LLDB`lldb_private::CommandInterpreter::RunCommandInterpreter(this=0x0000000141b22f30, options=0x000000016d35e63c) at CommandInterpreter.cpp:3543:16
frame #20: 0x0000000122840294 LLDB`lldb::SBDebugger::RunCommandInterpreter(this=0x000000016d35ebd8, auto_handle_events=true, spawn_thread=false) at SBDebugger.cpp:1212:42
frame #21: 0x0000000102aa6d28 lldb`Driver::MainLoop(this=0x000000016d35ebb8) at Driver.cpp:621:18
frame #22: 0x0000000102aa75b0 lldb`main(argc=1, argv=0x000000016d35f548) at Driver.cpp:829:26
frame #23: 0x0000000198858274 dyld`start + 2840
```
# Changes in this PR top of the above
Fix a [test
failure](https://github.com/llvm/llvm-project/pull/136236#issuecomment-2819772879)
in `TestStats.py`. The original version of the added test checks that
all modules have symbol count zero when `target.preload-symbols ==
false`. The test failed on macOS. Due to various reasons, on macOS,
symbols can be loaded for dylibs even with that setting, but not for the
main module. For now, the fix of the test is to limit the assertion to
only the main module. The test now passes on macOS. In the future, when
we have a way to control a specific list of plug-ins to be loaded, there
may be a configuration that this test can use to assert that all modules
have symbol count zero.
Apply a minor renaming of statistics, per the
[suggestion](https://github.com/llvm/llvm-project/pull/136226#issuecomment-2825080275)
in #136226 after merge.
Commit: e28616a22af81c1e24aa8026992560799d2c0170
https://github.com/llvm/llvm-project/commit/e28616a22af81c1e24aa8026992560799d2c0170
Author: Tom Stellard <tstellar at redhat.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M .github/workflows/commit-access-greeter.yml
Log Message:
-----------
workflows/commit-access-greeter: Add pull-request read permissions (#137268)
This is now needed in order to list the pull requests for a user. I'm
not sure what changed but this didn't used to be necessary.
Commit: f0c61d2242bbc7576ca5e4137a5ea8f63e4859a9
https://github.com/llvm/llvm-project/commit/f0c61d2242bbc7576ca5e4137a5ea8f63e4859a9
Author: YunQiang Su <syq at debian.org>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/include/llvm/Target/TargetSelectionDAG.td
M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
A llvm/test/CodeGen/AArch64/nofpclass.ll
A llvm/test/CodeGen/Mips/nofpclass.ll
Log Message:
-----------
CodeGen: Add ISD::AssertNoFPClass (#135946)
It is used to mark a value that we are sure that it is not some fcType.
The examples include:
* An arguments of a function is marked with nofpclass
* Output value of an intrinsic can be sure to not be some type
So that the following operation can make some assumptions.
---------
Co-authored-by: Your Name <you at example.com>
Commit: fb01f19f3cf6b3317983b06a7dbf5ed143072990
https://github.com/llvm/llvm-project/commit/fb01f19f3cf6b3317983b06a7dbf5ed143072990
Author: Ebuka Ezike <yerimyah1 at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M lldb/test/API/tools/lldb-dap/evaluate/TestDAP_evaluate.py
M lldb/test/API/tools/lldb-dap/launch/TestDAP_launch.py
M lldb/test/API/tools/lldb-dap/repl-mode/TestDAP_repl_mode_detection.py
M lldb/tools/lldb-dap/DAP.cpp
M lldb/tools/lldb-dap/Handler/EvaluateRequestHandler.cpp
M lldb/tools/lldb-dap/LLDBUtils.cpp
M lldb/tools/lldb-dap/LLDBUtils.h
Log Message:
-----------
[lldb][lldb-dap] fix repeating commands in repl mode (#135008)
Fixes #131589
Add a new parameter to the RunCommands functions to control the echoing of
commands
---------
Signed-off-by: Ebuka Ezike <yerimyah1 at gmail.com>
Co-authored-by: Walter Erquinigo <a20012251 at gmail.com>
Commit: 7a424276dee30154ec84b7494ef6040e10684a4e
https://github.com/llvm/llvm-project/commit/7a424276dee30154ec84b7494ef6040e10684a4e
Author: Feng Zou <feng.zou at intel.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/lib/Target/X86/X86InstrConditionalCompare.td
M llvm/lib/Target/X86/X86InstrInfo.cpp
M llvm/test/CodeGen/X86/apx/ccmp.ll
R llvm/test/CodeGen/X86/apx/optimize-compare-ccmp.mir
M llvm/test/CodeGen/X86/optimize-compare.mir
Log Message:
-----------
Revert "[X86][APX] Support peephole optimization with CCMP instruction (#129994)" (#136796)
This reverts commit 7ae75851b2e1570662261c97c13cfc65357c283d.
There is a problem with peephole optimization for CCMP instruction. See
the example below:
C source code:
```
if (a > 2 || (b && (a == 2))) { … }
```
MIR before peephole optimization:
```
TEST8rr %21:gr8, %21:gr8, implicit-def $eflags // b
CCMP32ri %30:gr32, 2, 0, 5, implicit-def $eflags, implicit $eflags // a == 2
CCMP32ri %30:gr32, 3, 0, 5, implicit-def $eflags, implicit $eflags // a > 2 (transformed to a < 3)
JCC_1 %bb.6, 2, implicit $eflags
JMP_1 %bb.3
```
Inputs:
```
a = 1, b = 0.
```
With the inputs above, the expected behavior is to jump to %bb.6 BB.
After TEST8rr instruction being executed with b(%21) == 0, the ZF bit is
set to 1 in eflags, so the eflags doesn't satisfy SCC condition in the
following CCMP32ri instruction (for a==2 condition) which skips compare
a(%30) with 2 and set flags in its payload to 0x202 (ZF = 0). The eflags
satisfies the SCC condition in the 2nd CCMP32ri instruction which
compares a(%30) with 3. It sets CF to 1 in eflags and the JCC
instruction jumps to %bb.6 BB.
But after adding CCMP support, peephole optimization eliminates the 2nd
CCMP32ri instruction and updates the condition of JCC instruction to
"BE" from "B". With the same inputs, JCC instruction falls through to
the next instruction. It's not expected and the 2nd CCMP32ri should not
be eliminated.
```
TEST8rr %21:gr8, %21:gr8, implicit-def $eflags // b
CCMP32ri %30:gr32, 2, 0, 5, implicit-def $eflags, implicit $eflags // a == 2
JCC_1 %bb.6, 6, implicit $eflags
JMP_1 %bb.3
```
Commit: 462bf4746fd6dcb004ecc9c450b0e45a00101297
https://github.com/llvm/llvm-project/commit/462bf4746fd6dcb004ecc9c450b0e45a00101297
Author: Jim Lin <jim at andestech.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/test/Transforms/InstCombine/and-xor-or.ll
Log Message:
-----------
[InstCombine] Refactor the code for folding logicop and sext/zext. NFC. (#137132)
This refactoring is for more easily adding the code to preserve disjoint
or in the PR https://github.com/llvm/llvm-project/pull/136815.
Both casts must have one use for folding logicop and sext/zext when the
src type differ to avoid creating an extra instruction. If the src type
of casts are the same, only one of the casts needs to have one use. This
PR also adds more tests for the same src type.
Commit: ea698c444707c8c3e10cb675003beb686fc94103
https://github.com/llvm/llvm-project/commit/ea698c444707c8c3e10cb675003beb686fc94103
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
Log Message:
-----------
[NVPTX][NFC] Refactoring and cleanup in NVPTXISelLowering (#137222)
Commit: 4652b69b0a512ff248b08cfa7ba9547860d1cc10
https://github.com/llvm/llvm-project/commit/4652b69b0a512ff248b08cfa7ba9547860d1cc10
Author: Ian Wood <ianwood2024 at u.northwestern.edu>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp
M mlir/test/Dialect/Linalg/fuse-with-reshape-by-collapsing.mlir
Log Message:
-----------
[mlir][linalg] Fix partial fuse by collapse (#136326)
Similar to `FoldWithProducerReshapeOpByCollapsing`,
`FoldReshapeWithGenericOpByCollapsing` needs to be able to handle
partial fusion of a reshape by collapsing. This means that the source of
the generated `expand_shape` op (aka the collapsed linalg op) might not
match the type of the original `collapse_shape` op. This change instead
replaces the original linalg op with the new `expand_shape` op which is
guaranteed to be the same type.
Signed-off-by: Ian Wood <ianwood2024 at u.northwestern.edu>
Commit: 82f1f5e5d4104fa276386f4840eacef9c44becce
https://github.com/llvm/llvm-project/commit/82f1f5e5d4104fa276386f4840eacef9c44becce
Author: Owen Pan <owenpiano at gmail.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Correctly identify include guards (#137112)
Fix #136814
Commit: 5717c5f385d3b8f5b395c3013aaba9929a618aa3
https://github.com/llvm/llvm-project/commit/5717c5f385d3b8f5b395c3013aaba9929a618aa3
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M lldb/test/API/tools/lldb-dap/stackTrace/TestDAP_stackTrace.py
M lldb/test/API/tools/lldb-dap/stackTrace/main.c
Log Message:
-----------
[lldb] Re-enable TestDAP_stackTrace on Windows
It's unclear why this test has been disabled on Windows. Remove the
unistd.h header and try re-enabling it.
Commit: 6d99d1a4a93564ab7a128c269b2c55dcbd4f9570
https://github.com/llvm/llvm-project/commit/6d99d1a4a93564ab7a128c269b2c55dcbd4f9570
Author: Sergei Lebedev <185856+superbobry at users.noreply.github.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][bazel] Added a target for the CF dialect C API (#137146)
Commit: 3b58a60086cb755fe40cb90a73d27a83d44ce766
https://github.com/llvm/llvm-project/commit/3b58a60086cb755fe40cb90a73d27a83d44ce766
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M clang/lib/AST/ByteCode/Interp.cpp
M clang/test/AST/ByteCode/cxx11.cpp
Log Message:
-----------
[clang][bytecode] Allow forming pointers to fields of extern globals (#137211)
This should be fine as long as we're not reading from it.
Note that this regresses
CXX/special/class.init/class.inhctor.init/p1.cpp, which used to work
fine with the bytecode interpreter.
That's because this code now fails:
```c++
struct Param;
struct A {
constexpr A(Param);
int a;
};
struct B : A { B(); using A::A; int b = 2; };
struct Wrap1 : B { constexpr Wrap1(); };
struct Wrap2 : Wrap1 {};
extern const Wrap2 b;
struct Param {
constexpr Param(int c) : n(4 * b.a + b.b + c) {}
int n;
};
```
and reports that the Param() constructor is never a valid constant
expression. But that's true and the current interpeter should report
that as well. It also fails when calling at compile time.
Commit: 38ad9266b6705818544c03856eeef8335961dc22
https://github.com/llvm/llvm-project/commit/38ad9266b6705818544c03856eeef8335961dc22
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/docs/LangRef.rst
Log Message:
-----------
[LangRef] Clarify the behavior of select with FP poison-generating flags (#137131)
RFC link:
https://discourse.llvm.org/t/rfc-clarify-the-behavior-of-select-with-fp-poison-generating-flags/85974
Actually, it does not conflict with the definition of FMF if we
interpret a select as `applyFMF(select cond, applyFMF(TrueArm),
applyFMF(FalseArm))`.
Commit: 9c2190eb5dacfb7991f616c83a9e87740c1c6d49
https://github.com/llvm/llvm-project/commit/9c2190eb5dacfb7991f616c83a9e87740c1c6d49
Author: T-Tie <t_tttie at 163.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M clang/test/Driver/print-supported-extensions-riscv.c
M clang/test/Preprocessor/riscv-target-features.c
M llvm/docs/RISCVUsage.rst
M llvm/docs/ReleaseNotes.md
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/CodeGen/RISCV/features-info.ll
M llvm/test/MC/RISCV/attribute-arch.s
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Add support for Ziccamoc (#136694)
Support for Ziccamoc is added in this pr.
Specification link:
https://drive.google.com/file/d/12QKRm92cLcEk8-5J9NI91m0fAQOxqNAq/view
---------
Co-authored-by: Tie <Tie at llvm.com>
Commit: 46f91173c5cd0b7aadeb1bc462217a020567d20e
https://github.com/llvm/llvm-project/commit/46f91173c5cd0b7aadeb1bc462217a020567d20e
Author: Jie Fu <jiefu at tencent.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Log Message:
-----------
[CodeGen] Fix -Wunused-variable in SelectionDAG.cpp (NFC)
/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:7502:17:
error: unused variable 'NoFPClass' [-Werror,-Wunused-variable]
FPClassTest NoFPClass = static_cast<FPClassTest>(N2->getAsZExtVal());
^
1 error generated.
Commit: 71329c6da1cd467f23b63e4a2956420f45b2cee9
https://github.com/llvm/llvm-project/commit/71329c6da1cd467f23b63e4a2956420f45b2cee9
Author: David Green <david.green at arm.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/test/CodeGen/AArch64/sub1.ll
Log Message:
-----------
[AArch64][GlobalISel] Add test coverage for sub1.ll. NFC
Commit: 8c2233b304dcdac0a6edb61a3cc5f9cb97c382bc
https://github.com/llvm/llvm-project/commit/8c2233b304dcdac0a6edb61a3cc5f9cb97c382bc
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
M mlir/test/Dialect/Vector/invalid.mlir
Log Message:
-----------
[mlir][vector] Update docs + add tests (#137144)
This is a small follow-on for #133721:
* Renamed `getRealVectorRank` as `getEffectiveVectorRankForXferOp` (to
emphasise that this method was written specifically for transfer Ops).
* Marginally tweaked the description for
`getEffectiveVectorRankForXferOp` (mostly to highlight the two edge
cases being covered).
* Added tests for cases when the element type (of the shaped type) is a
vector.
* Unified the naming (and the order) of arguments in tests with the
surrounding tests (e.g. `%vec_to_write` -> `%arg1`). Mostly for
consistency (it would be good to use self-documenting names like
`%vec_to_write` throughout).
Commit: 205d399f3026ad766a63fd20becc1476469cfa69
https://github.com/llvm/llvm-project/commit/205d399f3026ad766a63fd20becc1476469cfa69
Author: Martin Storsjö <martin at martin.st>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.hex.pass.cpp
M libcxx/test/support/test_macros.h
Log Message:
-----------
[libcxx] [test] Clarify the condition for long double hex formatting (#135334)
This test currently hardcodes which environments have got 80 bit long
doubles on x86_64 with a suitable printf formatting; convert the
architecture check into a check specifically for 80 bit long doubles.
Not all x86_64 configurations do have 80 bit long doubles (e.g.
Android doesn't), and i386 configurations can also have 80 bit long
doubles, compatible with this test.
Also clarify the exact reasons for why specific OSes such as FreeBSD are
skipped for these tests, even though they have 80 bit long doubles.
Commit: 5eca2ddeba6d05f0b1cf2193d56d059502122d00
https://github.com/llvm/llvm-project/commit/5eca2ddeba6d05f0b1cf2193d56d059502122d00
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M clang/lib/AST/ByteCode/Descriptor.cpp
M clang/lib/AST/ByteCode/Descriptor.h
M clang/lib/AST/ByteCode/Interp.cpp
M clang/lib/AST/ByteCode/Program.cpp
Log Message:
-----------
[clang][bytecode] Don't diagnose const extern reads in CPCE mode (#137285)
They might become constexpr later.
Commit: ac3dec7bbe6ef7ea5ed60648c3ac1d4c90bd4962
https://github.com/llvm/llvm-project/commit/ac3dec7bbe6ef7ea5ed60648c3ac1d4c90bd4962
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M clang/test/Driver/fsanitize.c
Log Message:
-----------
[NFC][Driver] Add missing `-resource-dir` into test (#137289)
Commit: 79316f9f518dad7ae9235aeab27cd4ceb4a35985
https://github.com/llvm/llvm-project/commit/79316f9f518dad7ae9235aeab27cd4ceb4a35985
Author: YAMAMOTO Takashi <yamamoto at midokura.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/include/llvm/IR/Module.h
Log Message:
-----------
[IR] Fix comments on module getLargeDataThreshold/setLargeDataThreshold (NFC) (#137283)
Commit: 2168455ef4cdbec9df3b63900fe9b316154187cf
https://github.com/llvm/llvm-project/commit/2168455ef4cdbec9df3b63900fe9b316154187cf
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/include/llvm/Target/TargetMachine.h
M llvm/lib/Target/AMDGPU/AMDGPUSplitModule.cpp
M llvm/test/tools/llvm-split/AMDGPU/address-taken-externalize-with-call.ll
M llvm/test/tools/llvm-split/AMDGPU/large-kernels-merging-weak_odr.ll
M llvm/test/tools/llvm-split/AMDGPU/large-kernels-merging.ll
A llvm/test/tools/llvm-split/AMDGPU/preserve-globals.ll
Log Message:
-----------
[AMDGPU][SplitModule] Do not create empty modules (#135761)
Skip creating a module if no function is going to be imported.
Also includes a change so that if the first partition is empty (which
can happen),
we import global with non-local linkage into the first non-empty
partition, instead
of P0 all the time.
I thought we'd need to change users of the SplitModule callback so they
can deal with less modules
than the number requested, but no. We already return only 1 module in
some cases and
it seems to be handled just fine.
Fixes SWDEV-523146
Commit: ffbd6bae3e961c2a6d23022e8153f44a33e09bf4
https://github.com/llvm/llvm-project/commit/ffbd6bae3e961c2a6d23022e8153f44a33e09bf4
Author: Martin Storsjö <martin at martin.st>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/CMakeLists.txt
Log Message:
-----------
[CMake] Fix the check for Windows vs ccache (#137238)
Only the host OS matters for how to interact with ccache, not the target
OS that we may be cross compiling for.
This mistake seems to have been present all since support for ccache on
Windows was added in
a4425cc9146059618b3b7e927639b60a7c3301bc.
Commit: 7aa8ece256e937d266bb66936cbe99d379c0f77f
https://github.com/llvm/llvm-project/commit/7aa8ece256e937d266bb66936cbe99d379c0f77f
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M clang/lib/Driver/SanitizerArgs.cpp
M clang/test/Driver/fsanitize.c
M clang/test/Driver/sanitizer-ld.c
Log Message:
-----------
[Driver][CFI] Allow CFI with minimal runtime (#137103)
It was introduced with original "minimal runtime"
patch without explanation:
https://reviews.llvm.org/D36810#:~:text=if%20(-,NonTrappingCfi,-)
Note, the same commit contains `cfi_check_fail` handler,
which can not be reached with `-fsanitize-trap=cfi`.
This patch makes CFI min runtime behavior consistent with UBSAN:
`-fsanitize-trap=` ignores `-fsanitize-minimal-runtime`,
`-fno-sanitize-trap=` with `-fsanitize-minimal-runtime` compiles and
link
minimal runtime.
Commit: a9788e3a86cab64ae92dd7d041718b0722f43c3a
https://github.com/llvm/llvm-project/commit/a9788e3a86cab64ae92dd7d041718b0722f43c3a
Author: Marco Elver <elver at google.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M clang/test/SemaCXX/warn-thread-safety-analysis.cpp
Log Message:
-----------
Thread Safety Analysis: Test: Minor style fix
Factored out from https://github.com/llvm/llvm-project/pull/137133
NFC.
Commit: 86cca005a1a160b4fe681c535c3f00984239259a
https://github.com/llvm/llvm-project/commit/86cca005a1a160b4fe681c535c3f00984239259a
Author: Quinton Miller <nicetas.c at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/docs/ReleaseNotes.md
M llvm/include/llvm-c/Core.h
M llvm/lib/IR/Core.cpp
M llvm/test/Bindings/llvm-c/echo.ll
M llvm/tools/llvm-c-test/echo.cpp
Log Message:
-----------
[llvm-c] Add `LLVMConstDataArray` and `LLVMGetRawDataValues` (#129440)
Resolves #129439.
The addition to `echo.ll` is for testing `ConstantArray`, because every
other array in that file is in fact a `ConstantDataArray` and now takes
the new code path in `echo.cpp`.
Commit: ada4ad9d1f5580476918d490cb51382714cb2973
https://github.com/llvm/llvm-project/commit/ada4ad9d1f5580476918d490cb51382714cb2973
Author: Josep Pinot <jsp.pinot at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M openmp/runtime/src/kmp_taskdeps.cpp
M openmp/runtime/src/kmp_tasking.cpp
A openmp/runtime/test/tasking/omp_record_replay_deps_multi_succ.cpp
Log Message:
-----------
[OpenMP] Fix taskgraph dependency tracking, memory access, and initialization (#136837)
This commit resolves multiple issues in the OpenMP taskgraph implementation:
- Fix a potential use of uninitialized is_taskgraph and tdg fields when a task is created outside of a taskgraph construct.
- Fix use of task ID field when accessing the taskgraph’s record_map.
- Fix resizing and copying of the successors array when its capacity is exceeded.
Fixes memory management flaws, invalid memory accesses, and uninitialized data risks in taskgraph operations.
Commit: dadea967915db7ac33963c3874097e4b1a961ca8
https://github.com/llvm/llvm-project/commit/dadea967915db7ac33963c3874097e4b1a961ca8
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/test/Assembler/amdgcn-intrinsic-attributes.ll
M llvm/test/Transforms/InstCombine/AMDGPU/llvm.amdgcn.wavefrontsize.ll
Log Message:
-----------
AMDGPU: Add range to wavefrontsize intrinsic declaration (#136303)
Commit: 911cb60975b1b8d2dc695e3e57c2e4c0db303e12
https://github.com/llvm/llvm-project/commit/911cb60975b1b8d2dc695e3e57c2e4c0db303e12
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M libcxx/include/__type_traits/rank.h
Log Message:
-----------
[libc++] Use __array_rank in Clang versions without any known bugs (#136103)
There was a bug in the implementation of `__array_rank` until LLVM 20
which prevented us from using the builtin. Since the bug has been fixed
now we can enable the use and remove the generic implementation in a few
releases.
Commit: c4d44ecb98896d1b0919ce064eefa8cae286f55d
https://github.com/llvm/llvm-project/commit/c4d44ecb98896d1b0919ce064eefa8cae286f55d
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M libcxx/include/string
Log Message:
-----------
[libc++][NFC] Use early returns in basic_string::operator= (#137145)
This makes the code a lot easier to read.
Commit: ec936b3186e3512a9297c5a12b58d627ef1a1b32
https://github.com/llvm/llvm-project/commit/ec936b3186e3512a9297c5a12b58d627ef1a1b32
Author: Fangyi Zhou <me at fangyi.io>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M clang/include/clang/Analysis/CFG.h
M clang/include/clang/StaticAnalyzer/Checkers/SValExplainer.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/Store.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h
M clang/lib/Analysis/CFG.cpp
M clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp
M clang/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp
M clang/lib/StaticAnalyzer/Checkers/ErrnoModeling.h
M clang/lib/StaticAnalyzer/Checkers/ErrnoTesterChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/Iterator.cpp
M clang/lib/StaticAnalyzer/Checkers/Iterator.h
M clang/lib/StaticAnalyzer/Checkers/IteratorModeling.cpp
M clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/STLAlgorithmModeling.cpp
M clang/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp
M clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/cert/InvalidPtrChecker.cpp
M clang/lib/StaticAnalyzer/Core/CallEvent.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp
M clang/lib/StaticAnalyzer/Core/LoopWidening.cpp
M clang/lib/StaticAnalyzer/Core/ProgramState.cpp
M clang/lib/StaticAnalyzer/Core/RegionStore.cpp
M clang/lib/StaticAnalyzer/Core/SValBuilder.cpp
M clang/lib/StaticAnalyzer/Core/SymbolManager.cpp
A clang/test/Analysis/PR57270.cpp
M clang/test/Analysis/container-modeling.cpp
M clang/test/Analysis/dump_egraph.cpp
M clang/test/Analysis/explain-svals.cpp
M clang/test/Analysis/explain-svals.m
Log Message:
-----------
[Clang][analyzer] Replace Stmt* with ConstCFGElementRef in SymbolConjured (#128251)
This PR changes the `Stmt *` field in `SymbolConjured` with
`CFGBlock::ConstCFGElementRef`. The motivation is that, when conjuring a
symbol, there might not always be a statement available, causing
information to be lost for conjured symbols, whereas the CFGElementRef
can always be provided at the callsite.
Following the idea, this PR changes callsites of functions to create
conjured symbols, and replaces them with appropriate `CFGElementRef`s.
Closes #57270
Commit: 166e5b1f0f68252f267146724fdb4ecc25dea894
https://github.com/llvm/llvm-project/commit/166e5b1f0f68252f267146724fdb4ecc25dea894
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M libcxx/include/__string/extern_template_lists.h
M libcxx/include/string
M libcxx/src/string.cpp
Log Message:
-----------
[libc++][NFC] Refactor string's extern template lists (#137264)
This patch moves the functions common between our two extern template
lists into a common list and avoids some unnecessary _Uglification. This
makes the code a lot nicer to read and makes the differences between the
two lists obvious.
Commit: 9fdb4f3537085389686fb27fd8f6d8a4bca89ab5
https://github.com/llvm/llvm-project/commit/9fdb4f3537085389686fb27fd8f6d8a4bca89ab5
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M libcxx/include/__configuration/abi.h
M libcxx/include/__configuration/availability.h
M libcxx/include/__functional/function.h
M libcxx/lib/abi/arm64-apple-darwin.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/powerpc-ibm-aix.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/powerpc64-ibm-aix.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/x86_64-apple-darwin.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/x86_64-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/x86_64-unknown-freebsd.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/x86_64-unknown-linux-gnu.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/x86_64-unknown-linux-gnu.libcxxabi.v1.stable.noexceptions.nonew.abilist
M libcxx/src/functional.cpp
Log Message:
-----------
[libc++] Make bad_function_call::what() existence a matter of availability instead of ABI (#127697)
We're currently adding `bad_function_call::what()` behind an ABI flag,
even though adding it is not an ABI break and can be handled through
availability.
Commit: 4955c3c476c821f3e5d51b04c24da3b8cc397725
https://github.com/llvm/llvm-project/commit/4955c3c476c821f3e5d51b04c24da3b8cc397725
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/test/Transforms/LoopVectorize/AArch64/sve-runtime-check-size-based-threshold.ll
Log Message:
-----------
[LV] Strip bad FIXME in test (#137142)
See https://github.com/llvm/llvm-project/pull/130118/files#r1983745712
for context.
Commit: e046f2050578b8cda394143fafbfb476767b836a
https://github.com/llvm/llvm-project/commit/e046f2050578b8cda394143fafbfb476767b836a
Author: Peng Sun <peng.sun at arm.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
M mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp
M mlir/test/Dialect/Tosa/error_if_check.mlir
M mlir/test/Dialect/Tosa/invalid.mlir
M mlir/test/Dialect/Tosa/verifier.mlir
Log Message:
-----------
[mlir][tosa] Enhance error_if and verify checks for RESCALE Op (#137021)
* add verifier for rank-0 input with per-channel
* add checkErrorIfRescale to tosa validation pass that align with
TOSAv1.0
* add LIT tests
Signed-off-by: Peng Sun <peng.sun at arm.com>
Commit: 9c830cef3d7c2f1adfadcc0026a73ba2cdbeef05
https://github.com/llvm/llvm-project/commit/9c830cef3d7c2f1adfadcc0026a73ba2cdbeef05
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
A lldb/include/lldb/Core/DemangledNameInfo.h
M lldb/source/Core/CMakeLists.txt
A lldb/source/Core/DemangledNameInfo.cpp
M lldb/unittests/Core/MangledTest.cpp
Log Message:
-----------
[lldb] Implement TrackingOutputBuffer to track demangled name information (#131836)
This patch implements a new `TrackingOutputBuffer` which tracks where the scope/basename/arguments begin and end in the demangled string.
The idea that a function name can be decomposed into <scope, base, arguments>. The assumption is that given the ranges of those three elements and the demangled name, LLDB will be able to to reconstruct the full demangled name. The tracking of those ranges is pretty simple. We don’t ever deal with nesting, so whenever we recurse into a template argument list or another function type, we just stop tracking any positions. Once we recursed out of those, and are back to printing the top-level function name, we continue tracking the positions.
We introduce a new structure `FunctionNameInfo` that holds all this information and is stored in the new `TrackingOutputBuffer` class.
Tests are in `ItaniumDemangleTest.cpp`.
https://github.com/llvm/llvm-project/pull/131836
Commit: f220ea2947b9c8b1e33db65b008086d47fa72af3
https://github.com/llvm/llvm-project/commit/f220ea2947b9c8b1e33db65b008086d47fa72af3
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M lldb/include/lldb/Core/Mangled.h
M lldb/source/Core/Mangled.cpp
Log Message:
-----------
[lldb][Mangled] Add API to force re-demangling a Mangled object (#131836)
Add version of GetDemangledName that will force re-demangling. This is required because LLDB will SetDemangledName without going through the demangler. So we need a way to force demangling to set the m_demangled_info member when we need it.
https://github.com/llvm/llvm-project/pull/131836
Commit: a2672250be871bdac18c1a955265a98704434218
https://github.com/llvm/llvm-project/commit/a2672250be871bdac18c1a955265a98704434218
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M lldb/include/lldb/Core/DemangledNameInfo.h
M lldb/include/lldb/Core/Mangled.h
M lldb/source/Core/DemangledNameInfo.cpp
M lldb/source/Core/Mangled.cpp
M lldb/unittests/Core/MangledTest.cpp
M llvm/include/llvm/Demangle/Demangle.h
M llvm/lib/Demangle/ItaniumDemangle.cpp
Log Message:
-----------
[lldb][Mangled] Retrieve and cache demangled name info (#131836)
Uses the `TrackingOutputBuffer` to populate the new member `Mangled::m_demangled_info`.
`m_demangled_info` is lazily popluated by `GetDemangledInfo`. To ensure `m_demangled` and `m_demangled_info` are in-sync we clear `m_demangled_info` anytime `m_demangled` is set/cleared.
https://github.com/llvm/llvm-project/pull/131836
Commit: 8b91b44a3be680788f914af72f38f90d35925c23
https://github.com/llvm/llvm-project/commit/8b91b44a3be680788f914af72f38f90d35925c23
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M lldb/include/lldb/Core/FormatEntity.h
M lldb/include/lldb/Symbol/SymbolContext.h
M lldb/include/lldb/Target/Language.h
M lldb/source/Core/FormatEntity.cpp
M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.h
M lldb/source/Symbol/SymbolContext.cpp
A lldb/test/Shell/Settings/TestFrameFormatFunctionBasename.test
A lldb/test/Shell/Settings/TestFrameFormatFunctionBasenameObjC.test
A lldb/test/Shell/Settings/TestFrameFormatFunctionFormattedArguments.test
A lldb/test/Shell/Settings/TestFrameFormatFunctionFormattedArgumentsObjC.test
A lldb/test/Shell/Settings/TestFrameFormatFunctionQualifiers.test
A lldb/test/Shell/Settings/TestFrameFormatFunctionQualifiersObjC.test
A lldb/test/Shell/Settings/TestFrameFormatFunctionReturn.test
A lldb/test/Shell/Settings/TestFrameFormatFunctionReturnObjC.test
A lldb/test/Shell/Settings/TestFrameFormatFunctionScope.test
A lldb/test/Shell/Settings/TestFrameFormatFunctionScopeObjC.test
A lldb/test/Shell/Settings/TestFrameFormatFunctionTemplateArguments.test
A lldb/test/Shell/Settings/TestFrameFormatFunctionTemplateArgumentsObjC.test
M lldb/test/Shell/Settings/TestFrameFormatName.test
Log Message:
-----------
[lldb][Format] Introduce new frame-format variables for function parts (#131836)
Adds new frame-format variables and implements them in the CPlusPlusLanguage plugin.
We use the `DemangledNameInfo` type to retrieve the necessary part of the demangled name.
https://github.com/llvm/llvm-project/pull/131836
Commit: d555b9f9a01705097edf2434cf897e351095e5c9
https://github.com/llvm/llvm-project/commit/d555b9f9a01705097edf2434cf897e351095e5c9
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M lldb/include/lldb/Core/PluginManager.h
M lldb/include/lldb/Target/Language.h
M lldb/source/Core/FormatEntity.cpp
M lldb/source/Core/PluginManager.cpp
M lldb/source/Plugins/Language/CPlusPlus/CMakeLists.txt
M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.h
A lldb/source/Plugins/Language/CPlusPlus/LanguageCPlusPlusProperties.td
A lldb/test/Shell/Settings/TestCxxFrameFormat.test
A lldb/test/Shell/Settings/TestCxxFrameFormatMixedLanguages.test
A lldb/test/Shell/Settings/TestCxxFrameFormatObjC.test
A lldb/test/Shell/Settings/TestCxxFrameFormatPartialFailure.test
A lldb/test/Shell/Settings/TestCxxFrameFormatRecursive.test
Log Message:
-----------
[lldb][CPlusPlus] Add plugin.cplusplus.display.function-name-format setting (#131836)
Adds the new `plugin.cplusplus.display.function-name-format` setting and makes the `${function.name-with-args}` query it for formatting the function name.
One caveat is that the setting can't itself be set to `${function.name-with-args}` because that would cause infinite recursion and blow the stack. I added an XFAILed test-case for it and will address it in a follow-up patch.
https://github.com/llvm/llvm-project/pull/131836
Commit: 8caba9ab2165e9ad91c81efd8cd4a61954893bab
https://github.com/llvm/llvm-project/commit/8caba9ab2165e9ad91c81efd8cd4a61954893bab
Author: Nikita Popov <npopov at redhat.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/test/Transforms/InstCombine/ptrtoint-nullgep.ll
Log Message:
-----------
[InstCombine] Drop integral/non-integral check prefixes from test (NFC)
The behavior is not affected by non-integral pointers. Keep the
RUN lines but drop the prefixes.
Commit: 34660eb60ee6401d9e7ce6dd37552c46eb760620
https://github.com/llvm/llvm-project/commit/34660eb60ee6401d9e7ce6dd37552c46eb760620
Author: Martin Storsjö <martin at martin.st>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M compiler-rt/test/ubsan/CMakeLists.txt
Log Message:
-----------
[compiler-rt] Don't exclude ubsan-asan tests on Windows/x86_64 (#137171)
This removes a leftover workaround from
00f3f6e296d49eb261e1ad47868a50122bfc111e from 2016. Currently the tests
seem to work fine on x86_64 in both MSVC and mingw configurations with
this workaround removed.
(On aarch64, asan isn't functional at all; this workaround used to hide
that issue when running "check-ubsan", but the issue is apparent if
running all tests with "check-compiler-rt" anyway.)
Commit: 655933070219f2b6f3a457c7e5af7edd4b5291b4
https://github.com/llvm/llvm-project/commit/655933070219f2b6f3a457c7e5af7edd4b5291b4
Author: Martin Storsjö <martin at martin.st>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
Log Message:
-----------
[compiler-rt] Only include asan on x86 architectures on Windows (#137173)
This avoids building asan when targeting Windows on armv7 or aarch64. It
is possible to build asan successfully for those configurations (since
5ea9dd8c7076270695a1d90b9c73718e7d95e0bf and
0c391133c9201ef29273554a1505ef855ce17668), but asan isn't functional
there.
This change skips building asan for targets other than x86_32 and
x86_64.
By excluding asan from the build, we fix the "check-ubsan" target for
armv7 and aarch64 Windows. If asan is included in the build, an
ubsan-asan configuration gets added to the tests, and as asan isn't
functional for these targets, it produces a lot of test failures even
when just trying to run "check-ubsan".
Commit: b3387968bece9c6d0f9cb8c3518563672f7ba3ee
https://github.com/llvm/llvm-project/commit/b3387968bece9c6d0f9cb8c3518563672f7ba3ee
Author: Martin Storsjö <martin at martin.st>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M compiler-rt/test/lit.common.configured.in
Log Message:
-----------
[compiler-rt] [test] Look for the right file name suffix for arm targets (#137174)
Compiler-rt libraries on arm use "arm" or "armhf" as suffix, not the
full exact arch name like "armv7".
This matches what was done for the build system in
8e11bede3a6ac11ebcc05c82fac39899feaf9534, to match the names that Clang
expects (in getArchNameForCompilerRTLib in Clang).
This fixes building a large number of the compiler-rt tests for
Windows/armv7.
Commit: 2de001da389f4729020a11e61ba571a6be8dcc71
https://github.com/llvm/llvm-project/commit/2de001da389f4729020a11e61ba571a6be8dcc71
Author: Martin Storsjö <martin at martin.st>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M compiler-rt/lib/builtins/CMakeLists.txt
Log Message:
-----------
[compiler-rt] Detect arm hardfloat targets via __ARM_PCS_VFP (#137175)
This makes sure that COMPILER_RT_ARMHF_TARGET is set properly for
targets without a specific "armhf" target name, such as armv7 windows.
This fixes the builtins test comparesf2_test.c on Windows on armv7.
Commit: 3e56f5f41843204b6e612362542b77110f8f8188
https://github.com/llvm/llvm-project/commit/3e56f5f41843204b6e612362542b77110f8f8188
Author: Martin Storsjö <martin at martin.st>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M compiler-rt/test/profile/instrprof-api.c
M compiler-rt/test/profile/instrprof-reset-counters.c
Log Message:
-----------
[compiler-rt] [test] Adjust profile tests to allow arm_aapcs_vfpcc (#137176)
This fixes these tests for Windows on armv7.
Commit: 5a645109c3a965dcaab08e3485f2fa505e44cde3
https://github.com/llvm/llvm-project/commit/5a645109c3a965dcaab08e3485f2fa505e44cde3
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M lldb/include/lldb/Core/DemangledNameInfo.h
Log Message:
-----------
[lldb] Remove redundant DemangledNameInfo::operator==
This wasn't defined correctly and was unused. And it was causing a CI
build failure:
```
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/lldb/include/lldb/Core/DemangledNameInfo.h: In function ‘bool lldb_private::operator==(const lldb_private::DemangledNameInfo&, const lldb_private::DemangledNameInfo&)’:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/lldb/include/lldb/Core/DemangledNameInfo.h:60:25: error: ‘const struct lldb_private::DemangledNameInfo’ has no member named ‘QualifiersRange’
60 | lhs.QualifiersRange) ==
| ^~~~~~~~~~~~~~~
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/lldb/include/lldb/Core/DemangledNameInfo.h:62:25: error: ‘const struct lldb_private::DemangledNameInfo’ has no member named ‘QualifiersRange’
62 | lhs.QualifiersRange);
| ^~~~~~~~~~~~~~~
111.469 [1284/7/3896] Building CXX object tools/lldb/source/Expression/CMakeFiles/lldbExpression.dir/ObjectFileJIT.cpp.o
111.470 [1284/6/3897] Building CXX object tools/lldb/source/Expression/CMakeFiles/lldbExpression.dir/Materializer.cpp.o
111.492 [1284/5/3898] Building CXX object tools/lldb/source/Expression/CMakeFiles/lldbExpression.dir/REPL.cpp.o
111.496 [1284/4/3899] Building CXX object tools/lldb/source/Expression/CMakeFiles/lldbExpression.dir/UserExpression.cpp.o
111.695 [1284/3/3900] Building CXX object tools/lldb/source/Commands/CMakeFiles/lldbCommands.dir/CommandObjectTarget.cpp.o
112.944 [1284/2/3901] Linking CXX shared library lib/libclang.so.21.0.0git
113.098 [1284/1/3902] Linking CXX shared library lib/libclang-cpp.so.21.0git
```
Commit: 211b51e4713d814d6fa894f4fc309a364c5642ce
https://github.com/llvm/llvm-project/commit/211b51e4713d814d6fa894f4fc309a364c5642ce
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M clang/lib/AST/ByteCode/Compiler.cpp
M clang/lib/AST/ByteCode/Descriptor.cpp
M clang/lib/AST/ByteCode/Descriptor.h
M clang/lib/AST/ByteCode/DynamicAllocator.cpp
M clang/lib/AST/ByteCode/Interp.cpp
M clang/lib/AST/ByteCode/InterpBlock.h
M clang/lib/AST/ByteCode/InterpBuiltin.cpp
M clang/lib/AST/ByteCode/Pointer.h
M clang/lib/AST/ByteCode/Program.cpp
M clang/lib/AST/ByteCode/Program.h
M clang/test/AST/ByteCode/literals.cpp
Log Message:
-----------
[clang][bytecode] Propagate IsVolatile bit to subobjects (#137293)
For
```c++
struct S {
constexpr S(int=0) : i(1) {}
int i;
};
constexpr volatile S vs;
```
reading from `vs.i` is not allowed, even though `i` is not volatile
qualified. Propagate the IsVolatile bit down the hierarchy, so we know
reading from `vs.i` is a volatile read.
Commit: 5bad5d84a15a4f36b8ed5b33dde924683bcc9ea1
https://github.com/llvm/llvm-project/commit/5bad5d84a15a4f36b8ed5b33dde924683bcc9ea1
Author: Diana Picus <Diana-Magda.Picus at amd.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/include/llvm/CodeGen/MachineFrameInfo.h
M llvm/include/llvm/CodeGen/TargetFrameLowering.h
M llvm/lib/CodeGen/PrologEpilogInserter.cpp
M llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp
M llvm/lib/Target/AMDGPU/AMDGPU.td
M llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
M llvm/lib/Target/AMDGPU/GCNSubtarget.h
M llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
M llvm/lib/Target/AMDGPU/SIFrameLowering.h
M llvm/lib/Target/AMDGPU/SIInstrInfo.h
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
M llvm/lib/Target/AMDGPU/SIRegisterInfo.h
A llvm/test/CodeGen/AMDGPU/pei-vgpr-block-spill-csr.mir
A llvm/test/CodeGen/AMDGPU/spill-vgpr-block.ll
A llvm/test/CodeGen/AMDGPU/vgpr-blocks-funcinfo.mir
M llvm/unittests/Target/AMDGPU/CMakeLists.txt
A llvm/unittests/Target/AMDGPU/LiveRegUnits.cpp
Log Message:
-----------
Reland [AMDGPU] Support block load/store for CSR #130013 (#137169)
Add support for using the existing SCRATCH_STORE_BLOCK and
SCRATCH_LOAD_BLOCK instructions for saving and restoring callee-saved
VGPRs. This is controlled by a new subtarget feature, block-vgpr-csr. It
does not include WWM registers - those will be saved and restored
individually, just like before. This patch does not change the ABI.
Use of this feature may lead to slightly increased stack usage, because
the memory is not compacted if certain registers don't have to be
transferred (this will happen in practice for calling conventions where
the callee and caller saved registers are interleaved in groups of 8).
However, if the registers at the end of the block of 32 don't have to be
transferred, we don't need to use a whole 128-byte stack slot - we can
trim some space off the end of the range.
In order to implement this feature, we need to rely less on the
target-independent code in the PrologEpilogInserter, so we override
several new methods in SIFrameLowering. We also add new pseudos,
SI_BLOCK_SPILL_V1024_SAVE/RESTORE.
One peculiarity is that both the SI_BLOCK_V1024_RESTORE pseudo and the
SCRATCH_LOAD_BLOCK instructions will have all the registers that are not
transferred added as implicit uses. This is done in order to inform
LiveRegUnits that those registers are not available before the restore
(since we're not really restoring them - so we can't afford to scavenge
them). Unfortunately, this trick doesn't work with the save, so before
the save all the registers in the block will be unavailable (see the
unit test).
This was reverted due to failures in the builds with expensive checks
on, now fixed by always updating LiveIntervals and SlotIndexes in
SILowerSGPRSpills.
Commit: 194da37b71a07f9959623231a5fa9fd1b11187cd
https://github.com/llvm/llvm-project/commit/194da37b71a07f9959623231a5fa9fd1b11187cd
Author: yingopq <115543042+yingopq at users.noreply.github.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/lib/Target/Mips/MipsFastISel.cpp
A llvm/test/CodeGen/Mips/Fast-ISel/div-imm.ll
Log Message:
-----------
[Mips] Do not emit instruction teq if divisor is non-zero immediate value in FastISel implementation (#135768)
Add a check before emitting the teq instruction to check whether the
divisor is a non-zero immediate value.
Fix #130629.
Commit: d9bab3349ad86850634f0b135ef2a0450cca75bd
https://github.com/llvm/llvm-project/commit/d9bab3349ad86850634f0b135ef2a0450cca75bd
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
M mlir/test/Dialect/OpenMP/invalid.mlir
M mlir/test/Dialect/OpenMP/ops.mlir
Log Message:
-----------
[mlir][OpenMP] add verifier and tests for cancel taskgroup (#137154)
Commit: 067067580f35d897e5aa4dcf94e9f35173984254
https://github.com/llvm/llvm-project/commit/067067580f35d897e5aa4dcf94e9f35173984254
Author: gbMattN <matthew.nagy at sony.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M compiler-rt/lib/tysan/tysan.cpp
A compiler-rt/test/tysan/derrived_default_constructor.cpp
A compiler-rt/test/tysan/inherited_member.cpp
Log Message:
-----------
[TySan] Fix false positives with derived classes (#126260)
Fixes issue #125079 as well as another case I discovered while trying to
build LLVM with TySan.
Commit: 6171e4b34b1c85c42baa31cb17dad1799f414688
https://github.com/llvm/llvm-project/commit/6171e4b34b1c85c42baa31cb17dad1799f414688
Author: Balazs Benics <benicsbalazs at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M clang/include/clang/Analysis/CFG.h
M clang/include/clang/StaticAnalyzer/Checkers/SValExplainer.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/Store.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h
M clang/lib/Analysis/CFG.cpp
M clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp
M clang/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp
M clang/lib/StaticAnalyzer/Checkers/ErrnoModeling.h
M clang/lib/StaticAnalyzer/Checkers/ErrnoTesterChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/Iterator.cpp
M clang/lib/StaticAnalyzer/Checkers/Iterator.h
M clang/lib/StaticAnalyzer/Checkers/IteratorModeling.cpp
M clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/STLAlgorithmModeling.cpp
M clang/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp
M clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/cert/InvalidPtrChecker.cpp
M clang/lib/StaticAnalyzer/Core/CallEvent.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp
M clang/lib/StaticAnalyzer/Core/LoopWidening.cpp
M clang/lib/StaticAnalyzer/Core/ProgramState.cpp
M clang/lib/StaticAnalyzer/Core/RegionStore.cpp
M clang/lib/StaticAnalyzer/Core/SValBuilder.cpp
M clang/lib/StaticAnalyzer/Core/SymbolManager.cpp
R clang/test/Analysis/PR57270.cpp
M clang/test/Analysis/container-modeling.cpp
M clang/test/Analysis/dump_egraph.cpp
M clang/test/Analysis/explain-svals.cpp
M clang/test/Analysis/explain-svals.m
Log Message:
-----------
Revert "[Clang][analyzer] replace Stmt* with ConstCFGElementRef in SymbolConjured" (#137304)
Reverts llvm/llvm-project#128251
ASAN bots reported some errors:
https://lab.llvm.org/buildbot/#/builders/55/builds/10398
Reverting for investigation.
```
Failed Tests (6):
Clang :: Analysis/loop-widening-ignore-static-methods.cpp
Clang :: Analysis/loop-widening-notes.cpp
Clang :: Analysis/loop-widening-preserve-reference-type.cpp
Clang :: Analysis/loop-widening.c
Clang :: Analysis/loop-widening.cpp
Clang :: Analysis/this-pointer.cpp
Testing Time: 411.55s
Total Discovered Tests: 118563
Skipped : 33 (0.03%)
Unsupported : 2015 (1.70%)
Passed : 116291 (98.08%)
Expectedly Failed: 218 (0.18%)
Failed : 6 (0.01%)
FAILED: CMakeFiles/check-all /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/CMakeFiles/check-all
cd /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan && /usr/bin/python3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/./bin/llvm-lit -sv --param USE_Z3_SOLVER=0 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/utils/mlgo-utils /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/tools/lld/test /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/tools/mlir/test /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/tools/clang/test /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/utils/lit /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/test
ninja: build stopped: subcommand failed.
```
```
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/clang -cc1 -internal-isystem /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/lib/clang/21/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify -analyzer-config eagerly-assume=false /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/test/Analysis/loop-widening.c # RUN: at line 1
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/clang -cc1 -internal-isystem /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/lib/clang/21/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify -analyzer-config eagerly-assume=false /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/test/Analysis/loop-widening.c
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/clang -cc1 -internal-isystem /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/lib/clang/21/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify -analyzer-config eagerly-assume=false /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/test/Analysis/loop-widening.c
1. <eof> parser at end of file
2. While analyzing stack:
#0 Calling nested_loop_inner_widen
#0 0x0000c894cca289cc llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/Support/Unix/Signals.inc:804:13
#1 0x0000c894cca23324 llvm::sys::RunSignalHandlers() /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/Support/Signals.cpp:106:18
#2 0x0000c894cca29bbc SignalHandler(int, siginfo_t*, void*) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/Support/Unix/Signals.inc:0:3
#3 0x0000f6898da4a8f8 (linux-vdso.so.1+0x8f8)
#4 0x0000f6898d377608 (/lib/aarch64-linux-gnu/libc.so.6+0x87608)
#5 0x0000f6898d32cb3c raise (/lib/aarch64-linux-gnu/libc.so.6+0x3cb3c)
#6 0x0000f6898d317e00 abort (/lib/aarch64-linux-gnu/libc.so.6+0x27e00)
#7 0x0000c894c5e77fec __sanitizer::Atexit(void (*)()) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp:168:10
#8 0x0000c894c5e76680 __sanitizer::Die() /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_termination.cpp:52:5
#9 0x0000c894c5e69650 Unlock /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/compiler-rt/lib/hwasan/../sanitizer_common/sanitizer_mutex.h:250:16
#10 0x0000c894c5e69650 ~GenericScopedLock /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/compiler-rt/lib/hwasan/../sanitizer_common/sanitizer_mutex.h:386:51
#11 0x0000c894c5e69650 __hwasan::ScopedReport::~ScopedReport() /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/compiler-rt/lib/hwasan/hwasan_report.cpp:54:5
#12 0x0000c894c5e68de0 __hwasan::(anonymous namespace)::BaseReport::~BaseReport() /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/compiler-rt/lib/hwasan/hwasan_report.cpp:476:7
#13 0x0000c894c5e66b74 __hwasan::ReportTagMismatch(__sanitizer::StackTrace*, unsigned long, unsigned long, bool, bool, unsigned long*) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/compiler-rt/lib/hwasan/hwasan_report.cpp:1091:1
#14 0x0000c894c5e52cf8 Destroy /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/compiler-rt/lib/hwasan/../sanitizer_common/sanitizer_common.h:532:31
#15 0x0000c894c5e52cf8 ~InternalMmapVector /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/compiler-rt/lib/hwasan/../sanitizer_common/sanitizer_common.h:642:56
#16 0x0000c894c5e52cf8 __hwasan::HandleTagMismatch(__hwasan::AccessInfo, unsigned long, unsigned long, void*, unsigned long*) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/compiler-rt/lib/hwasan/hwasan.cpp:245:1
#17 0x0000c894c5e551c8 __hwasan_tag_mismatch4 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/compiler-rt/lib/hwasan/hwasan.cpp:764:1
#18 0x0000c894c5e6a2f8 __interception::InterceptFunction(char const*, unsigned long*, unsigned long, unsigned long) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/compiler-rt/lib/interception/interception_linux.cpp:60:0
#19 0x0000c894d166f664 getBlock /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:217:45
#20 0x0000c894d166f664 getCFGElementRef /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:230:59
#21 0x0000c894d166f664 clang::ento::ExprEngine::processCFGBlockEntrance(clang::BlockEdge const&, clang::ento::NodeBuilderWithSinks&, clang::ento::ExplodedNode*) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:2570:45
#22 0x0000c894d15f3a1c hasGeneratedNodes /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:333:37
#23 0x0000c894d15f3a1c clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:319:20
#24 0x0000c894d15f2c34 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:220:7
#25 0x0000c894d15f2398 operator-> /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_install_hwasan/include/c++/v1/__memory/unique_ptr.h:267:101
#26 0x0000c894d15f2398 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>)::$_0::operator()(unsigned int) const /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:12
#27 0x0000c894d15f14b4 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:165:7
#28 0x0000c894d0ebb9dc release /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:232:9
#29 0x0000c894d0ebb9dc ~IntrusiveRefCntPtr /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:196:27
#30 0x0000c894d0ebb9dc ExecuteWorkList /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:192:5
#31 0x0000c894d0ebb9dc RunPathSensitiveChecks /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:772:7
#32 0x0000c894d0ebb9dc (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet<clang::Decl const*, llvm::DenseMapInfo<clang::Decl const*, void>>*) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:741:5
#33 0x0000c894d0eb6ee4 begin /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/include/llvm/ADT/DenseMap.h:0:0
#34 0x0000c894d0eb6ee4 begin /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/include/llvm/ADT/DenseSet.h:187:45
#35 0x0000c894d0eb6ee4 HandleDeclsCallGraph /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:516:29
#36 0x0000c894d0eb6ee4 runAnalysisOnTranslationUnit /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:584:5
#37 0x0000c894d0eb6ee4 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:647:3
#38 0x0000c894d18a7a38 clang::ParseAST(clang::Sema&, bool, bool) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/lib/Parse/ParseAST.cpp:0:13
#39 0x0000c894ce81ed70 clang::FrontendAction::Execute() /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1231:10
#40 0x0000c894ce6f2144 getPtr /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/include/llvm/Support/Error.h:278:42
#41 0x0000c894ce6f2144 operator bool /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/include/llvm/Support/Error.h:241:16
#42 0x0000c894ce6f2144 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1058:23
#43 0x0000c894cea718cc operator-> /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_install_hwasan/include/c++/v1/__memory/shared_ptr.h:635:12
#44 0x0000c894cea718cc getFrontendOpts /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/include/clang/Frontend/CompilerInstance.h:307:12
#45 0x0000c894cea718cc clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:301:14
#46 0x0000c894c5e9cf28 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/tools/driver/cc1_main.cpp:294:15
#47 0x0000c894c5e92a9c ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/tools/driver/driver.cpp:223:12
#48 0x0000c894c5e902ac clang_main(int, char**, llvm::ToolContext const&) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/tools/driver/driver.cpp:0:12
#49 0x0000c894c5eb2e34 main /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/tools/clang/tools/driver/clang-driver.cpp:17:3
#50 0x0000f6898d3184c4 (/lib/aarch64-linux-gnu/libc.so.6+0x284c4)
#51 0x0000f6898d318598 __libc_start_main (/lib/aarch64-linux-gnu/libc.so.6+0x28598)
#52 0x0000c894c5e52a30 _start (/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/clang+0x6512a30)
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/tools/clang/test/Analysis/Output/loop-widening.c.script: line 2: 2870204 Aborted /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/clang -cc1 -internal-isystem /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/lib/clang/21/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify -analyzer-config eagerly-assume=false /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/clang/test/Analysis/loop-widening.c
```
Commit: a4d1a9d6d5c44d37b926e675e6f707eb35b601b0
https://github.com/llvm/llvm-project/commit/a4d1a9d6d5c44d37b926e675e6f707eb35b601b0
Author: Jie Fu <jiefu at tencent.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
Log Message:
-----------
[AMDGPU] Remove unused variables in SILowerSGPRSpills.cpp (NFC)
/llvm-project/llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp:172:25:
error: unused variable 'RI' [-Werror,-Wunused-variable]
const SIRegisterInfo *RI = ST.getRegisterInfo();
^
1 error generated.
Commit: 6738cfe0a40af2754000346ff090ebb2115ce15f
https://github.com/llvm/llvm-project/commit/6738cfe0a40af2754000346ff090ebb2115ce15f
Author: Victor Campos <victor.campos at arm.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M clang/lib/CodeGen/CGDeclCXX.cpp
M clang/lib/CodeGen/Targets/AArch64.cpp
M clang/lib/CodeGen/Targets/ARM.cpp
A clang/test/CodeGenCXX/cxx20-module-initializer-pacbti.cpp
Log Message:
-----------
Mark CXX module initializer with PACBTI attributes (#133716)
The CXX module initializer function, which is called at program startup,
needs to be tagged with Pointer Authentication and Branch Target
Identification marks whenever relevant.
Before this patch, in CPUs set up for PACBTI execution, the function
wasn't protected with return address signing and no BTI instruction was
inserted at the start of it, thus leading to an execution fault.
This patch fixes the issue by marking the function with the function
attributes related to PAC and BTI if relevant.
Commit: c792b25e47e00dbf2cd9654bf806fe5f9de6e44e
https://github.com/llvm/llvm-project/commit/c792b25e47e00dbf2cd9654bf806fe5f9de6e44e
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/docs/GlobalISel/MIRPatterns.rst
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-cxx.td
M llvm/test/TableGen/GlobalISelCombinerEmitter/pattern-errors.td
M llvm/test/TableGen/GlobalISelCombinerEmitter/pattern-parsing.td
M llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp
Log Message:
-----------
[GlobalISel] Add `combine` action for C++ combine rules (#135941)
Adds a `combine` action (DAG operator) which allows for easy definition of
combine rule that only match one or more instructions, and defer all remaining
match/apply logic to C++ code.
This avoids the need for split match/apply function in such cases. One function
can do the trick as long as it returns `true` if it changed any code.
This is implemented as syntactic sugar over match/apply. The combine rule is
just a match pattern BUT every C++ pattern inside is treated as an "apply" function.
This makes it fit seamlessly with the current backend.
Fixes #92410
Commit: da14f6d4b9d8c2b1fde37cd766688ce5e26b2984
https://github.com/llvm/llvm-project/commit/da14f6d4b9d8c2b1fde37cd766688ce5e26b2984
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M lldb/unittests/Core/MangledTest.cpp
Log Message:
-----------
[lldb] Fix MangledTest build failure
No equality operator was specified. Define one locally.
Commit: 96ec17dfed358264b84fd6c407d0ca8d31229ebf
https://github.com/llvm/llvm-project/commit/96ec17dfed358264b84fd6c407d0ca8d31229ebf
Author: Paul Walker <paul.walker at arm.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-simplify-binop.ll
Log Message:
-----------
[LLVM][InstCombine] Enable constant folding for SVE add,and,eor,fadd,fdiv,fsub,orr & sub intrinsics. (#136849)
This is the subset of binops (mul and fmul are already enabled) whose
behaviour fully aligns with the equivalent SVE intrinsic. The omissions
are integer divides and shifts that are defined to return poison for
values where the intrinsics have a defined result. These will be covered
in a seperate PR.
Commit: b4e259291326176602c55db2dbf8697ff3bca6e9
https://github.com/llvm/llvm-project/commit/b4e259291326176602c55db2dbf8697ff3bca6e9
Author: Tai Ly <tai.ly at arm.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
M mlir/test/Dialect/Tosa/verifier.mlir
Log Message:
-----------
[mlir][tosa] Add verifier checks for Gather (#137204)
This adds verifier checks for the gather op
to make sure the shapes of inputs and output
are consistent with respect to spec.
---------
Signed-off-by: Tai Ly <tai.ly at arm.com>
Co-authored-by: Luke Hutton <luke.hutton at arm.com>
Commit: 2d00c73003a6c5e9fd468afcf271b505d4f80f27
https://github.com/llvm/llvm-project/commit/2d00c73003a6c5e9fd468afcf271b505d4f80f27
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M clang/lib/CodeGen/CGCall.cpp
A clang/test/CodeGenCXX/fake-use-musttail.cpp
Log Message:
-----------
[Clang][CodeGen] Emit fake uses before musttail calls (#136867)
Fixes the issue reported following the merge of #118026.
When a valid `musttail` call is made, the function it is made from must
return immediately after the call; if there are any cleanups left in the
function, then an error is triggered. This is not necessary for fake
uses however - it is perfectly valid to simply emit the fake use
"cleanup" code before the tail call, and indeed LLVM will automatically
move any fake uses following a tail call to come before the tail call.
Therefore, this patch specifically choose to handle fake use cleanups
when a musttail call is present by simply emitting them immediately
before the call.
Commit: d775b911c90e631f5cc332c07474f7121564e25b
https://github.com/llvm/llvm-project/commit/d775b911c90e631f5cc332c07474f7121564e25b
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M clang/lib/AST/ByteCode/Compiler.cpp
M clang/lib/AST/ByteCode/Interp.h
M clang/lib/AST/ByteCode/Opcodes.td
M clang/test/AST/ByteCode/cxx11.cpp
Log Message:
-----------
[clang][bytecode] Diagnose pseudo dtor calls before C++20 (#137303)
Commit: 317763580fa92a05ba04f4a04677124acb958ea3
https://github.com/llvm/llvm-project/commit/317763580fa92a05ba04f4a04677124acb958ea3
Author: Fangyi Zhou <me at fangyi.io>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h
M clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/ErrnoTesterChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp
M clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/cert/InvalidPtrChecker.cpp
M clang/lib/StaticAnalyzer/Core/SValBuilder.cpp
Log Message:
-----------
[clang][analyzer][NFC] Add a helper for conjuring symbols at call events (#137182)
Per suggestion in
https://github.com/llvm/llvm-project/pull/128251#discussion_r2055916229,
adding a new helper function in `SValBuilder` to conjure a symbol when
given a `CallEvent`.
Tested manually (with assertions) that the `LocationContext *` obtained
from the `CallEvent` are identical to those passed in the original
argument.
Commit: 2d1b5a269b85c1a6174c1988f43acbb7bc1ba8f2
https://github.com/llvm/llvm-project/commit/2d1b5a269b85c1a6174c1988f43acbb7bc1ba8f2
Author: Ebuka Ezike <yerimyah1 at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M lldb/test/API/tools/lldb-dap/cancel/TestDAP_cancel.py
M lldb/test/API/tools/lldb-dap/output/TestDAP_output.py
M lldb/tools/lldb-dap/DAP.cpp
Log Message:
-----------
[lldb][lldb-dap] Redirect LLDB's messages to the right output category. (#137002)
Based on the DAP specification.
The output categories stdout and stderr should only be used for the
debuggee's stdout and stderr.
```jsonc
/**
* The output category. If not specified or if the category is not
* understood by the client, `console` is assumed.
* Values:
* 'console': Show the output in the client's default message UI, e.g. a
* 'debug console'. This category should only be used for informational
* output from the debugger (as opposed to the debuggee).
* 'important': A hint for the client to show the output in the client's UI
* for important and highly visible information, e.g. as a popup
* notification. This category should only be used for important messages
* from the debugger (as opposed to the debuggee). Since this category value
* is a hint, clients might ignore the hint and assume the `console`
* category.
* 'stdout': Show the output as normal program output from the debuggee.
* 'stderr': Show the output as error program output from the debuggee.
* 'telemetry': Send the output to telemetry instead of showing it to the
* user.
* etc.
*/
category?: 'console' | 'important' | 'stdout' | 'stderr' | 'telemetry' | string;
```
What I am not sure if error should use the important category ?
---------
Signed-off-by: Ebuka Ezike <yerimyah1 at gmail.com>
Commit: accee2b5538eedae297201d1a2d66ddefd4c0cc1
https://github.com/llvm/llvm-project/commit/accee2b5538eedae297201d1a2d66ddefd4c0cc1
Author: Harrison Hao <57025411+harrisonGPU at users.noreply.github.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/headers/math/index.rst
M libc/include/math.yaml
M libc/src/math/CMakeLists.txt
A libc/src/math/atanhf16.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/atanhf16.cpp
M libc/src/math/generic/common_constants.cpp
M libc/src/math/generic/common_constants.h
M libc/src/math/generic/explogxf.h
M libc/test/src/math/CMakeLists.txt
A libc/test/src/math/atanhf16_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/atanhf16_test.cpp
Log Message:
-----------
[libc][math][c23] Add atanhf16 C23 math function. (#132612)
Implementation of atanhf16 function for 16-bit inputs.
Closes: https://github.com/llvm/llvm-project/issues/132209
Commit: 2dc6e98169baeb1f73036da0ea50fd828d8323d0
https://github.com/llvm/llvm-project/commit/2dc6e98169baeb1f73036da0ea50fd828d8323d0
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M clang/docs/CommandGuide/clang.rst
M clang/docs/ReleaseNotes.rst
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Driver/extend-variable-liveness.c
Log Message:
-----------
Revert "[Clang] Enable -fextend-lifetimes at -Og (#118026)"
Reverted following several issues appearing related to fake uses, reported
on the github PR.
This reverts commit a9dff35ad251cd20376ab25b26d1e5394e18ff4c.
Commit: 5ff277462dd717d0c52a9a8517f624b0b484e45a
https://github.com/llvm/llvm-project/commit/5ff277462dd717d0c52a9a8517f624b0b484e45a
Author: Krishna Pandey <47917477+krishna2803 at users.noreply.github.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/riscv/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/headers/stdfix.rst
M libc/include/stdfix.yaml
M libc/src/__support/fixed_point/CMakeLists.txt
M libc/src/__support/fixed_point/fx_bits.h
M libc/src/__support/macros/null_check.h
M libc/src/stdfix/CMakeLists.txt
A libc/src/stdfix/idivk.cpp
A libc/src/stdfix/idivk.h
A libc/src/stdfix/idivlk.cpp
A libc/src/stdfix/idivlk.h
A libc/src/stdfix/idivlr.cpp
A libc/src/stdfix/idivlr.h
A libc/src/stdfix/idivr.cpp
A libc/src/stdfix/idivr.h
A libc/src/stdfix/idivuk.cpp
A libc/src/stdfix/idivuk.h
A libc/src/stdfix/idivulk.cpp
A libc/src/stdfix/idivulk.h
A libc/src/stdfix/idivulr.cpp
A libc/src/stdfix/idivulr.h
A libc/src/stdfix/idivur.cpp
A libc/src/stdfix/idivur.h
M libc/test/src/stdfix/CMakeLists.txt
A libc/test/src/stdfix/IdivTest.h
A libc/test/src/stdfix/idivk_test.cpp
A libc/test/src/stdfix/idivlk_test.cpp
A libc/test/src/stdfix/idivlr_test.cpp
A libc/test/src/stdfix/idivr_test.cpp
A libc/test/src/stdfix/idivuk_test.cpp
A libc/test/src/stdfix/idivulk_test.cpp
A libc/test/src/stdfix/idivulr_test.cpp
A libc/test/src/stdfix/idivur_test.cpp
Log Message:
-----------
[libc][stdfix] Implement `idivfx` functions in LLVM libc (#133005)
This PR implements the following 8 functions along with the tests.
```c++
int idivr(fract, fract);
long int idivlr(long fract, long fract);
int idivk(accum, accum);
long int idivlk(long accum, long accum);
unsigned int idivur(unsigned fract, unsigned fract);
unsigned long int idivulr(unsigned long fract, unsigned long fract);
unsigned int idivuk(unsigned accum, unsigned accum);
unsigned long int idivulk(unsigned long accum, unsigned long accum);
```
ref: https://www.iso.org/standard/51126.html
Fixes #129125
---------
Signed-off-by: krishna2803 <kpandey81930 at gmail.com>
Commit: 320ec7fa7f2ca9385e355d3e031e601a9e331e3e
https://github.com/llvm/llvm-project/commit/320ec7fa7f2ca9385e355d3e031e601a9e331e3e
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M bolt/docs/CMakeLists.txt
M bolt/docs/doxygen.cfg.in
M clang-tools-extra/docs/CMakeLists.txt
M clang-tools-extra/docs/doxygen.cfg.in
M clang/docs/CMakeLists.txt
M clang/docs/doxygen.cfg.in
M flang/docs/CMakeLists.txt
M flang/docs/doxygen.cfg.in
M lldb/docs/doxygen.cfg.in
M llvm/docs/CMake.rst
M llvm/docs/CMakeLists.txt
M llvm/docs/doxygen.cfg.in
M llvm/utils/release/build-docs.sh
M mlir/docs/CMakeLists.txt
M mlir/docs/doxygen.cfg.in
M openmp/docs/CMakeLists.txt
M openmp/docs/doxygen.cfg.in
M openmp/runtime/doc/doxygen/config
M polly/docs/CMakeLists.txt
M polly/docs/doxygen.cfg.in
Log Message:
-----------
[Documentation] Always use SVG for dot-generated doxygen images. (#136843)
Despite our attempt (build-docs.sh)
to build the documentation with SVG,
it still uses PNG https://llvm.org/doxygen/classllvm_1_1StringRef.html,
and that renders terribly on any high dpi display.
SVG leads to smasller installation and works fine
on all browser (that has been true for _a while_
https://caniuse.com/svg), so this patch just unconditionally build all
dot graphs as SVG in all subprojects and remove the option.
Commit: 576161cb6069e2c7656a8ef530727a0f4aefff30
https://github.com/llvm/llvm-project/commit/576161cb6069e2c7656a8ef530727a0f4aefff30
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Parse/ParseStmt.cpp
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaInit.cpp
M clang/test/C/C23/n2607.c
M clang/test/C/drs/dr1xx.c
M clang/test/Parser/typeof.c
M clang/test/Sema/assign.c
M clang/test/Sema/atomic-ops.c
M clang/test/Sema/block-return.c
M clang/test/Sema/builtins-bpf.c
M clang/test/Sema/builtins-elementwise-math.c
M clang/test/Sema/builtins-overflow.c
M clang/test/Sema/enable_if.c
M clang/test/Sema/implicit-decl.c
M clang/test/Sema/overloadable.c
M clang/test/Sema/sizeless-1.c
M clang/test/Sema/typedef-retain.c
M clang/test/Sema/varargs-x86-64.c
A clang/test/Sema/warn-default-const-init.c
M clang/test/Sema/warn-unused-function.c
M clang/test/SemaObjC/message.m
M clang/test/SemaOpenCL/cl20-device-side-enqueue.cl
M clang/test/SemaOpenCL/invalid-block.cl
M clang/test/SemaOpenMP/atomic-capture-const-no-crash.c
Log Message:
-----------
[C] Warn on uninitialized const objects (#137166)
Unlike C++, C allows the definition of an uninitialized `const` object.
If the object has static or thread storage duration, it is still
zero-initialized, otherwise, the object is left uninitialized. In either
case, the code is not compatible with C++.
This adds a new diagnostic group, `-Wdefault-const-init-unsafe`, which
is on by default and diagnoses any definition of a `const` object which
remains uninitialized.
It also adds another new diagnostic group, `-Wdefault-const-init` (which
also enabled the `unsafe` variant) that diagnoses any definition of a
`const` object (including ones which are zero-initialized). This
diagnostic is off by default.
Finally, it adds `-Wdefault-const-init` to `-Wc++-compat`. GCC diagnoses
these situations under this flag.
Fixes #19297
Commit: 8c7a2ce01a77c96028fe2c8566f65c45ad9408d3
https://github.com/llvm/llvm-project/commit/8c7a2ce01a77c96028fe2c8566f65c45ad9408d3
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/lib/IR/Verifier.cpp
M llvm/lib/Target/AArch64/SMEABIPass.cpp
M llvm/lib/Target/AArch64/Utils/AArch64SMEAttributes.cpp
M llvm/lib/Target/AArch64/Utils/AArch64SMEAttributes.h
A llvm/test/CodeGen/AArch64/sme-new-zt0-function.ll
M llvm/test/CodeGen/AArch64/sme-zt0-state.ll
M llvm/test/Verifier/sme-attributes.ll
M llvm/unittests/Target/AArch64/SMEAttributesTest.cpp
Log Message:
-----------
[AArch64][SME] Allow spills of ZT0 around SME ABI routines again (#136726)
In #132722 spills of ZT0 were disabled around all SME ABI routines to
avoid a case where ZT0 is spilled before ZA is enabled (resulting in a
crash).
It turns out that the ABI does not promise that routines will preserve
ZT0 (however in practice they do), so generally disabling ZT0 spills for
ABI routines is not correct.
The case where a crash was possible was "aarch64_new_zt0" functions with
ZA disabled on entry and a ZT0 spill around __arm_tpidr2_save. In this
case, ZT0 will be undefined at the call to __arm_tpidr2_save, so this
patch avoids the ZT0 spill by marking the callsite with
"aarch64_zt0_undef". This attribute only applies to callsites and marks
that at the point the call is made ZT0 is not defined, so does not need
preserving.
Commit: 12a31658ea36cda74157c6b4e6b6c031e39a19c0
https://github.com/llvm/llvm-project/commit/12a31658ea36cda74157c6b4e6b6c031e39a19c0
Author: Thomas Preud'homme <thomas.preudhomme at arm.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
M mlir/test/Dialect/Tosa/availability.mlir
M mlir/test/Dialect/Tosa/invalid_extension.mlir
M mlir/test/Dialect/Tosa/ops.mlir
M mlir/test/Dialect/Tosa/profile_pro_fp_unsupported.mlir
M mlir/test/Dialect/Tosa/profile_pro_int_unsupported.mlir
M mlir/test/Dialect/Tosa/tosa-infer-shapes.mlir
Log Message:
-----------
[MLIR][TOSA] Fix Conv3D bias dim check (#137296)
verifyConvOpErrorIf() assumes output channel is the 4th dimension of the
output type but this is wrong for conv3d which now uses that verifier.
Use rank - 1 which works accross the operations using this verifier
(conv2d, conv3d and depthwise_conv3d).
Commit: b3529ed1d8a9c03ae5f0eb2d6a7930de657f7e71
https://github.com/llvm/llvm-project/commit/b3529ed1d8a9c03ae5f0eb2d6a7930de657f7e71
Author: Nikita Popov <npopov at redhat.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/lib/Linker/IRMover.cpp
Log Message:
-----------
[IRMover] Remove unnecessary pointer bitcast (NFC)
Commit: 715b1d59ec45dba361030d5413007635722c794f
https://github.com/llvm/llvm-project/commit/715b1d59ec45dba361030d5413007635722c794f
Author: AdityaK <hiraditya at msn.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/tools/opt/optdriver.cpp
Log Message:
-----------
[NFC] Clarify the syntax of passes flag (#136175)
Commit: 9147569c7fc996555af81916ce81a53ad7625d7d
https://github.com/llvm/llvm-project/commit/9147569c7fc996555af81916ce81a53ad7625d7d
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
R lldb/test/API/functionalities/reverse-execution/TestReverseContinueNotSupported.py
A lldb/test/API/functionalities/reverse-execution/TestReverseExecutionNotSupported.py
Log Message:
-----------
[lldb][test] Rename reverse-execution/TestReverseContinueNotSupported.py
Otherwise `lldb-dotest` fails with:
```
Traceback (most recent call last):
File "/Users/jonas/Git/llvm-worktrees/llvm-project/lldb/test/API/dotest.py", line 8, in <module>
lldbsuite.test.run_suite()
File "/Users/jonas/Git/llvm-worktrees/llvm-project/lldb/packages/Python/lldbsuite/test/dotest.py", line 1063, in run_suite
visit("Test", dirpath, filenames)
File "/Users/jonas/Git/llvm-worktrees/llvm-project/lldb/packages/Python/lldbsuite/test/dotest.py", line 701, in visit
raise Exception("Found multiple tests with the name %s" % name)
Exception: Found multiple tests with the name TestReverseContinueNotSupported.py
```
Commit: 63a2b0bd3dcb1eb77333d7b21e6086f94a5f540e
https://github.com/llvm/llvm-project/commit/63a2b0bd3dcb1eb77333d7b21e6086f94a5f540e
Author: Luke Hutton <luke.hutton at arm.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
M mlir/include/mlir/Dialect/Tosa/IR/TosaTypesBase.td
M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
M mlir/test/Dialect/Tosa/invalid.mlir
M mlir/test/Dialect/Tosa/ops.mlir
Log Message:
-----------
[mlir][tosa] Support unranked input/weight tensors for convolution ops (#134856)
This commit ensures that convolution operators including: conv2d,
depthwise_conv2d, transpose_conv2d and conv3d, can have unranked
input/weight operands.
In order to support operands with unranked tensors, the tablegen
definition was relaxed. The relaxation of tensor type will later be
checked by the validation pass, should the user wish to use it.
Signed-off-by: Luke Hutton <luke.hutton at arm.com>
Commit: 1ff931ea5bf80be82f65c2f0df2ccbb610f6728c
https://github.com/llvm/llvm-project/commit/1ff931ea5bf80be82f65c2f0df2ccbb610f6728c
Author: Pawan Nirpal <pawan.anil.nirpal at intel.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
A llvm/test/CodeGen/X86/isel-fp-to-sint-x87.ll
A llvm/test/CodeGen/X86/isel-sint-to-fp-x87.ll
Log Message:
-----------
[X86][NFC] Add sitofp and fptosi tests for x87 mode (#136860)
Add SDAG and GlobalISel runs as precommit testcases for sitofp and
fptosi in x87 mode.
Commit: ade502a8c46b8393e022b4eabcdd445af91a451c
https://github.com/llvm/llvm-project/commit/ade502a8c46b8393e022b4eabcdd445af91a451c
Author: lntue <lntue at google.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M libc/config/darwin/arm/entrypoints.txt
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/arm/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/config/windows/entrypoints.txt
M libc/docs/headers/math/index.rst
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/asin.cpp
A libc/src/math/generic/asin_utils.h
M libc/test/src/math/CMakeLists.txt
A libc/test/src/math/asin_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/asin_test.cpp
Log Message:
-----------
[libc][math] Implement double precision asin correctly rounded for all rounding modes. (#134401)
Main algorithm:
The Taylor series expansion of `asin(x)` is:
```math
\begin{align*}
asin(x) &= x + x^3 / 6 + 3x^5 / 40 + ... \\
&= x \cdot P(x^2) \\
&= x \cdot P(u) &\text{, where } u = x^2.
\end{align*}
```
For the fast path, we perform range reduction mod 1/64 and use degree-7
(minimax + Taylor) polynomials to approximate `P(x^2)`.
When `|x| >= 0.5`, we use the transformation:
```math
u = \frac{1 + x}{2}
```
and apply half-angle formula to reduce `asin(x)` to:
```math
\begin{align*}
asin(x) &= sign(x) \cdot \left( \frac{\pi}{2} - 2 \cdot asin(\sqrt{u}) \right) \\
&= sign(x) \cdot \left( \frac{\pi}{2} - 2 \cdot \sqrt{u} \cdot P(u) \right).
\end{align*}
```
Since `0.5 <= |x| <= 1`, `|u| <= 0.5`. So we can reuse the polynomial
evaluation of `P(u)` when `|x| < 0.5`.
For the accurate path, we redo the computations in 128-bit precision
with degree-15 (minimax + Taylor) polynomials to approximate `P(u)`.
Commit: 41f1663f118285e63eaf28c5156af3caa972644f
https://github.com/llvm/llvm-project/commit/41f1663f118285e63eaf28c5156af3caa972644f
Author: Asher Mancinelli <ashermancinelli at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M flang/lib/Optimizer/CodeGen/Target.cpp
M flang/test/Fir/convert-to-llvm-target.fir
M flang/test/Fir/target-rewrite-integer.fir
Log Message:
-----------
[flang] Use correct int extension flags for C-ABI calls on aarch64 (#137105)
The AArch64 procedure call standard does not mandate that the callee
extends the return value. Clang does not add signext to functions
returning i8 or i16 on linux aarch64, but flang does.
This means that runtime routines returning i8's will have signext on the
callsite/declaration, but not on the implementation, and the call site
will assume the return value has already been sign extended when it has
not. This showed up in a test case calling MINVAL on an array of
INTEGER*1.
Adjust our integer extension flags to match clang and aarch64pcs on
linux. The behavior on Darwin should be preserved. This is listed on the
apple developer guide as a divergence from aarch64pcs.
Commit: ee2aba7cc6359f7657db2ab6723e834b94ac9306
https://github.com/llvm/llvm-project/commit/ee2aba7cc6359f7657db2ab6723e834b94ac9306
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
Log Message:
-----------
AMDGPU: Use poison in some lowering contexts (#137325)
This replaces most of the places that use undef. I left alone
the cases that require additional thought.
Commit: c39cc9f48f323a61dd3f9ecc7332f0d2c7d4b8f0
https://github.com/llvm/llvm-project/commit/c39cc9f48f323a61dd3f9ecc7332f0d2c7d4b8f0
Author: Florian Hahn <flo at fhahn.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
A llvm/test/Transforms/LoopVectorize/minimumnum-maximumnum-reductions.ll
Log Message:
-----------
[LV] Add tests for maximumnum/minimumnum reductions.
Add reduction tests with maximumnum/minimumnum intrinsics.
Commit: 9f94e362475c9531f78df8ac1d407fd2b73efe3b
https://github.com/llvm/llvm-project/commit/9f94e362475c9531f78df8ac1d407fd2b73efe3b
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/test/CodeGen/X86/vector-shuffle-combining-ssse3.ll
Log Message:
-----------
[X86] vector-shuffle-combining-ssse3.ll - add tests showing the failure to merge logical shifts with non-uniform shift amounts into shuffles
Commit: db53dfce415f47b964616e271350223e8a08f217
https://github.com/llvm/llvm-project/commit/db53dfce415f47b964616e271350223e8a08f217
Author: Eugene Epshteyn <eepshteyn at nvidia.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M flang/module/iso_c_binding.f90
Log Message:
-----------
[flang] Change c_intmax_t to 64 bit to correspond to intmax_t in C (#137208)
gcc, clang, and other C compiles define intmax_t to be 64 bit. Change
flang's definition of c_intmax_t to be compatible.
Fixes #128609
Commit: 9cbbb74d370c09e13b8412f21dccb7d2c4afc6a4
https://github.com/llvm/llvm-project/commit/9cbbb74d370c09e13b8412f21dccb7d2c4afc6a4
Author: Anutosh Bhat <andersonbhat491 at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M lld/wasm/Config.h
M lld/wasm/Driver.cpp
M lld/wasm/InputChunks.cpp
M lld/wasm/MarkLive.cpp
M lld/wasm/OutputSections.cpp
M lld/wasm/Symbols.cpp
M lld/wasm/Symbols.h
M lld/wasm/SyntheticSections.cpp
M lld/wasm/Writer.cpp
Log Message:
-----------
[wasm-ld] Refactor WasmSym from static globals to per-link context (#134970)
Towards
#https://github.com/llvm/llvm-project/issues/134809#issuecomment-2787206873
This change moves WasmSym from a static global struct to an instance
owned by Ctx, allowing it to be reset cleanly between linker runs. This
enables safe support for multiple invocations of wasm-ld within the same
process
Changes done
- Converted WasmSym from a static struct to a regular struct with
instance members.
- Added a std::unique_ptr<WasmSym> wasmSym field inside Ctx.
- Reset wasmSym in Ctx::reset() to clear state between links.
- Replaced all WasmSym:: references with ctx.wasmSym->.
- Removed global symbol definitions from Symbols.cpp that are no longer
needed.
Clearing wasmSym in ctx.reset() ensures a clean slate for each link
invocation, preventing symbol leakage across runs—critical when using
wasm-ld/lld as a reentrant library where global state can cause subtle,
hard-to-debug errors.
---------
Co-authored-by: Vassil Vassilev <v.g.vassilev at gmail.com>
Commit: 09b012fa2d4f547e5359b8e1ace634b74bb9eebd
https://github.com/llvm/llvm-project/commit/09b012fa2d4f547e5359b8e1ace634b74bb9eebd
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M flang/test/Lower/OpenACC/acc-serial.f90
M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
Log Message:
-----------
[flang][openacc] Fix wait clause printer (#137263)
wait clause printer is failing with case like:
```
!$acc serial device_type(nvidia) wait
!$acc end serial
```
Commit: 77148fce6f35743c368e6c01ad24ebcec9fdea13
https://github.com/llvm/llvm-project/commit/77148fce6f35743c368e6c01ad24ebcec9fdea13
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2025-04-25 (Fri, 25 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/CrossTU/CrossTranslationUnit.cpp
M clang/lib/Frontend/ASTMerge.cpp
M clang/lib/Frontend/ASTUnit.cpp
M clang/lib/Frontend/FrontendAction.cpp
M clang/tools/c-index-test/core_main.cpp
M clang/tools/clang-extdef-mapping/ClangExtDefMapGen.cpp
M clang/tools/libclang/CIndex.cpp
M clang/unittests/Frontend/ASTUnitTest.cpp
Log Message:
-----------
[clang] Do not share ownership of `HeaderSearchOptions` (#132984)
This PR makes it so that `CompilerInvocation` is the sole owner of the
`HeaderSearchOptions` instance.
Commit: 63d5e64f1e729613157683a149b9141e80e0b0c9
https://github.com/llvm/llvm-project/commit/63d5e64f1e729613157683a149b9141e80e0b0c9
Author: Raghu Maddhipatla <7686592+raghavendhra at users.noreply.github.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M flang/lib/Semantics/check-omp-structure.cpp
M flang/test/Semantics/OpenMP/allocate04.f90
Log Message:
-----------
[Flang] [Semantics] [OpenMP] Add semantic checks for ALLOCATE directive (#123421)
Add following semantic checks for ALLOCATE directive as per OpenMP 6.0
standard.
- List item in ALLOCATE directive must not be a dummy argument
- List item in ALLOCATE directive must not have POINTER attribute
- List item in ALLOCATE directive must not be a associate name
Commit: 9062a38d5d15d74f8019a30b8a0012747dfad6a8
https://github.com/llvm/llvm-project/commit/9062a38d5d15d74f8019a30b8a0012747dfad6a8
Author: Philip Reames <preames at rivosinc.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.h
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoXRivos.td
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-extract.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-insert.ll
Log Message:
-----------
[RISCV] Add codegen support for ri.vinsert.v.x and ri.vextract.x.v (#136708)
These instructions are included in XRivosVisni. They perform a scalar
insert into a vector (with a potentially non-zero index) and a scalar
extract from a vector (with a potentially non-zero index) respectively.
They're very analogous to vmv.s.x and vmv.x.s respectively.
The instructions do have a couple restrictions:
1) Only constant indices are supported w/a uimm5 format.
2) There are no FP variants.
One important property of these instructions is that their throughput
and latency are expected to be LMUL independent.
Commit: c6915cd3ed17b6c658393c37d8df5f3af5b79c61
https://github.com/llvm/llvm-project/commit/c6915cd3ed17b6c658393c37d8df5f3af5b79c61
Author: Nikita Popov <npopov at redhat.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/lib/Linker/IRMover.cpp
Log Message:
-----------
[IRMover] Remove Visited set in type mapping (NFC) (#137329)
LLVM no longer supports recursive types, so the Visited set is
unnecessary.
Commit: bdc523f31f359f0641031100e299fd387ae606ef
https://github.com/llvm/llvm-project/commit/bdc523f31f359f0641031100e299fd387ae606ef
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
Log Message:
-----------
LowerMatrixIntrinsics: Use use_empty instead of hasNUses(0) (#137334)
Commit: 346792aafb483a53fb5e3274298d85bc2dde4a35
https://github.com/llvm/llvm-project/commit/346792aafb483a53fb5e3274298d85bc2dde4a35
Author: Joseph Huber <huberjn at outlook.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M offload/DeviceRTL/CMakeLists.txt
Log Message:
-----------
[Offload] Override linker for device build (#137246)
Summary:
Override the default linker in case the user is passing it separately.
This requires `lld` but it always did. This will be fixed *properly*
when https://github.com/llvm/llvm-project/pull/136729 lands.
Fixes https://github.com/llvm/llvm-project/issues/136822
Commit: 4ea2278e392c148f195b81443bb6fd7a38a73827
https://github.com/llvm/llvm-project/commit/4ea2278e392c148f195b81443bb6fd7a38a73827
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
SLPVectorizer: Use use_empty instead of hasNUses(0) (#137336)
Commit: df21288247c4683164b5aa532c29317cc4414a8b
https://github.com/llvm/llvm-project/commit/df21288247c4683164b5aa532c29317cc4414a8b
Author: Florian Hahn <flo at fhahn.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/lib/Transforms/Vectorize/VPlanUnroll.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/vplan-printing.ll
M llvm/test/Transforms/LoopVectorize/RISCV/vplan-vp-intrinsics-reduction.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-chains-vplan.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-sink-replicate-region.ll
M llvm/test/Transforms/LoopVectorize/interleave-and-scalarize-only.ll
M llvm/test/Transforms/LoopVectorize/vplan-printing-reductions.ll
M llvm/test/Transforms/LoopVectorize/vplan-printing.ll
Log Message:
-----------
[VPlan] Replace ExtractFromEnd with Extract(Last|Penultimate)Element (NFC). (#137030)
ExtractFromEnd only has 2 uses, extracting the last and penultimate
elements. Replace it with 2 separate opcodes, removing the need to
materialize and handle a constant argument.
PR: https://github.com/llvm/llvm-project/pull/137030
Commit: 50a767add148601a1494760d02e237fe5cc57555
https://github.com/llvm/llvm-project/commit/50a767add148601a1494760d02e237fe5cc57555
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/lib/Target/ARM/MVEGatherScatterLowering.cpp
Log Message:
-----------
ARM: Use use_empty instead of hasNUses(0) (#137337)
Commit: 6b3289faeb201bb906dca3bc7a3e991456c45636
https://github.com/llvm/llvm-project/commit/6b3289faeb201bb906dca3bc7a3e991456c45636
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/lib/Target/ARM/MVEGatherScatterLowering.cpp
Log Message:
-----------
ARM: Remove unnecessary use_empty check (#137338)
The previous statement removed all uses.
Commit: 38078b222f679fd9a6c8407ae78dbccae7cb4012
https://github.com/llvm/llvm-project/commit/38078b222f679fd9a6c8407ae78dbccae7cb4012
Author: Yang Zaizhou <91008302+Mxfg-incense at users.noreply.github.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M flang/docs/FortranForCProgrammers.md
Log Message:
-----------
[flang][docs] Fix typo in array description (#135908)
@klausler I think there's an extra "can" here that should be changed to
"one"
Commit: 3ce2d1e6a1fde05604a09b70f7bf99bffa1329ad
https://github.com/llvm/llvm-project/commit/3ce2d1e6a1fde05604a09b70f7bf99bffa1329ad
Author: bubblepipe <30717258+bubblepipe at users.noreply.github.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M mlir/lib/Transforms/CSE.cpp
Log Message:
-----------
[mlir] Fix typo in CSE transform (#137341)
"Replace all uses, but do not _remote_ the operation yet" should be
"Replace all uses, but do not _remove_ the operation yet".
Commit: 5dc2d668e68613e8898c5c42960d792129453e9d
https://github.com/llvm/llvm-project/commit/5dc2d668e68613e8898c5c42960d792129453e9d
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/include/llvm/Target/TargetSelectionDAG.td
M llvm/lib/Target/AArch64/AArch64InstrAtomics.td
M llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/DSInstructions.td
M llvm/lib/Target/AMDGPU/FLATInstructions.td
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/ARM/ARMInstrInfo.td
M llvm/lib/Target/ARM/ARMInstrThumb.td
M llvm/lib/Target/ARM/ARMInstrThumb2.td
M llvm/lib/Target/Hexagon/HexagonPatterns.td
M llvm/lib/Target/Lanai/LanaiInstrInfo.td
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
M llvm/lib/Target/Mips/MicroMipsInstrInfo.td
M llvm/lib/Target/Mips/Mips64InstrInfo.td
M llvm/lib/Target/Mips/MipsInstrInfo.td
M llvm/lib/Target/PowerPC/PPCInstrInfo.td
M llvm/lib/Target/PowerPC/PPCInstrP10.td
M llvm/lib/Target/RISCV/RISCVGISel.td
M llvm/lib/Target/Sparc/SparcInstrInfo.td
M llvm/lib/Target/VE/VEInstrInfo.td
M llvm/lib/Target/WebAssembly/WebAssemblyInstrAtomics.td
Log Message:
-----------
[SelectionDAG][Targets] Replace atomic_load_8/atomic_load_16 with atomic_load_*ext_8/atomic_load_*ext_16 where possible. (#137279)
isAnyExtLoad/isZExtLoad/isSignExtLoad are able to emit predicate checks
from tablegen now so we should use them.
The next step would be to add isNonExtLoad versions and migrate all
remaining uses of atomic_load_8/16/32/64 to that.
Commit: bd4a7aa64a79ee62b81f13ba7c45697ace386220
https://github.com/llvm/llvm-project/commit/bd4a7aa64a79ee62b81f13ba7c45697ace386220
Author: Joseph Huber <huberjn at outlook.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/CMakeLists.txt
Log Message:
-----------
[Offload] Deprecate `openmp` and `offload` projects builds (#136314)
Summary:
These are compiler runtimes are currently have weird support for
projects / runtimes. We should depcrate this to where the only expected
configuration is via a runtimes build. If the user wants a custom setup
they can still use the standalone build.
I remember there were some concerens around the OpenMP module file for
`flang`. Were those resolved?
Fixes: https://github.com/llvm/llvm-project/issues/124014
Commit: 7ff3d3bd1d5b0c9096377bf4c89d0de043dec805
https://github.com/llvm/llvm-project/commit/7ff3d3bd1d5b0c9096377bf4c89d0de043dec805
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M mlir/utils/generate-test-checks.py
Log Message:
-----------
[mlir][utils] Update generate-test-checks.py (use SSA names) (#136819)
This patch updates generate-test-checks.py to preserve original SSA
names (capitalized) when generating LIT variable names for function
arguments (i.e. for `CHECK-SAME` lines). This improves readability and
helps maintain consistency between the input MLIR and the expected
FileCheck/LIT output.
For example, given the following function:
```mlir
func.func @example(
%input: memref<4x6x3xf32>,
%filter: memref<1x3x8xf32>,
%output: memref<4x2x8xf32>) {
linalg.conv_1d_nwc_wcf
{dilations = dense<1> : tensor<1xi64>, strides = dense<3> : tensor<1xi64>}
ins(%input, %filter : memref<4x6x3xf32>, memref<1x3x8xf32>)
outs(%output : memref<4x2x8xf32>)
return
}
```
The generated output becomes:
```mlir
// CHECK-LABEL: func.func @conv1d_nwc_4x2x8_memref(
// CHECK-SAME: %[[INPUT:.*]]: memref<4x6x3xf32>,
// CHECK-SAME: %[[FILTER:.*]]: memref<1x3x8xf32>,
// CHECK-SAME: %[[OUTPUT:.*]]: memref<4x2x8xf32>) {
// CHECK: linalg.conv_1d_nwc_wcf
// CHECK: {dilations = dense<1> : tensor<1xi64>, strides = dense<3> : tensor<1xi64>}
// CHECK: ins(%[[INPUT]], %[[FILTER]] : memref<4x6x3xf32>, memref<1x3x8xf32>)
// CHECK: outs(%[[OUTPUT]] : memref<4x2x8xf32>)
// CHECK: return
// CHECK: }
```
By contrast, the current version of the script would generate:
```mlir
// CHECK-LABEL: func.func @conv1d_nwc_4x2x8_memref(
// CHECK-SAME: %[[VAL_0:.*]]: memref<4x6x3xf32>,
// CHECK-SAME: %[[VAL_1:.*]]: memref<1x3x8xf32>,
// CHECK-SAME: %[[VAL_2:.*]]: memref<4x2x8xf32>) {
// CHECK: linalg.conv_1d_nwc_wcf
// CHECK: {dilations = dense<1> : tensor<1xi64>, strides = dense<3> : tensor<1xi64>}
// CHECK: ins(%[[VAL_0]], %[[VAL_1]] : memref<4x6x3xf32>, memref<1x3x8xf32>)
// CHECK: outs(%[[VAL_2]] : memref<4x2x8xf32>)
// CHECK: return
// CHECK: }
```
Commit: 51dc0cc7a43a4aef98a62bae93e758083f92b6f4
https://github.com/llvm/llvm-project/commit/51dc0cc7a43a4aef98a62bae93e758083f92b6f4
Author: Ely Ronnen <elyronnen at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
A lldb/test/API/tools/lldb-dap/stackTraceMissingModule/Makefile
A lldb/test/API/tools/lldb-dap/stackTraceMissingModule/TestDAP_stackTraceMissingModule.py
A lldb/test/API/tools/lldb-dap/stackTraceMissingModule/main.c
M lldb/tools/lldb-dap/Handler/SourceRequestHandler.cpp
M lldb/tools/lldb-dap/JSONUtils.cpp
Log Message:
-----------
[lldb-dap] Handle stack frames without a module (#136777)
* Fix error in lldb-dap when the stack trace contains a frame without a
module by simply showing the first 32 assembly instructions after the PC.
* Adds a test with a simple example that triggers this case.
Commit: 480f1a4980de4d1a3691329bbe0b5b9e4321a3f3
https://github.com/llvm/llvm-project/commit/480f1a4980de4d1a3691329bbe0b5b9e4321a3f3
Author: Ely Ronnen <elyronnen at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
A lldb/test/API/tools/lldb-dap/stackTrace-x86/Makefile
A lldb/test/API/tools/lldb-dap/stackTrace-x86/TestDAP_source_x86.py
A lldb/test/API/tools/lldb-dap/stackTrace-x86/main.c
M lldb/tools/lldb-dap/JSONUtils.cpp
Log Message:
-----------
[lldb-dap] fix wrong assembly line number x64 (#136486)
Fix wrong assembly line number calculation that assumes the instruction
size is `GetAddressByteSize() / 2`
Fixes #136495
Commit: ea443eeb2ab8ed49ffb783c2025fed6629a36f10
https://github.com/llvm/llvm-project/commit/ea443eeb2ab8ed49ffb783c2025fed6629a36f10
Author: Justin Cai <justincai.lps at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M clang/include/clang/Basic/Cuda.h
A clang/include/clang/Basic/OffloadArch.h
M clang/lib/Basic/CMakeLists.txt
M clang/lib/Basic/Cuda.cpp
A clang/lib/Basic/OffloadArch.cpp
Log Message:
-----------
[Clang][NFC] Move OffloadArch enum to a generic location (#137070)
Currently, the OffloadArch enum is defined Cuda.h. This PR moves the
definition to a more generic location in OffloadArch.h/cpp.
Commit: 785ab45c2b300ba6291d8fb21762eabc050275f6
https://github.com/llvm/llvm-project/commit/785ab45c2b300ba6291d8fb21762eabc050275f6
Author: erichkeane <ekeane at nvidia.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
Log Message:
-----------
[NFC] move comment back to where it belongs.
It appears that OpenMP changes caused this comment to get moved away
from where it was intended, so this patch puts it back next to the
multiversioning code, as intended.
Commit: a0aa5f8933043c0939c3a8f301fed655be2a3732
https://github.com/llvm/llvm-project/commit/a0aa5f8933043c0939c3a8f301fed655be2a3732
Author: John Harrison <harjohn at google.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py
M lldb/test/API/tools/lldb-dap/launch/TestDAP_launch.py
M lldb/tools/lldb-dap/DAP.cpp
M lldb/tools/lldb-dap/DAP.h
M lldb/tools/lldb-dap/Handler/AttachRequestHandler.cpp
M lldb/tools/lldb-dap/Handler/LaunchRequestHandler.cpp
M lldb/tools/lldb-dap/Handler/RequestHandler.cpp
M lldb/tools/lldb-dap/Handler/RequestHandler.h
M lldb/tools/lldb-dap/Handler/RestartRequestHandler.cpp
M lldb/tools/lldb-dap/JSONUtils.cpp
M lldb/tools/lldb-dap/JSONUtils.h
M lldb/tools/lldb-dap/LLDBUtils.cpp
M lldb/tools/lldb-dap/Protocol/ProtocolRequests.cpp
M lldb/tools/lldb-dap/Protocol/ProtocolRequests.h
Log Message:
-----------
[lldb-dap] Refactoring lldb-dap 'launch' request to use typed RequestHandler<>. (#133624)
This converts a number of json::Value's into well defined types that are
used throughout lldb-dap and updates the 'launch' command to use the new
well defined types.
---------
Co-authored-by: Jonas Devlieghere <jonas at devlieghere.com>
Commit: cf766f521049d8fa3bccb956daf6689fca54754b
https://github.com/llvm/llvm-project/commit/cf766f521049d8fa3bccb956daf6689fca54754b
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/lib/Transforms/Utils/InlineFunction.cpp
Log Message:
-----------
InlineFunction: Use use_empty instead of hasNUses(0) (#137347)
Commit: a214084ae48aea726a09c483d09b447787646cc5
https://github.com/llvm/llvm-project/commit/a214084ae48aea726a09c483d09b447787646cc5
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/lib/Transforms/Utils/BypassSlowDivision.cpp
Log Message:
-----------
BypassSlowDivision: Use use_empty instead of hasNUses(0) (#137345)
Commit: 119910a8f819f2f665f10fe3674f0c4edc3e0a8d
https://github.com/llvm/llvm-project/commit/119910a8f819f2f665f10fe3674f0c4edc3e0a8d
Author: Augie Fackler <augie at google.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
Log Message:
-----------
[bazel] catch BUILD files up to d555b9f9a01705097edf2434cf897e351095e5c9 in lldb
Commit: 332e1817667827c242422e91c4de1b27fb573a0b
https://github.com/llvm/llvm-project/commit/332e1817667827c242422e91c4de1b27fb573a0b
Author: David Spickett <david.spickett at linaro.org>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
M lldb/test/API/commands/process/reverse-continue/TestReverseContinueNotSupported.py
Log Message:
-----------
[lldb] Fix error that lead Windows to think it could reverse execute (#137351)
The new test added in https://github.com/llvm/llvm-project/pull/132783
was failing on Windows because it created a new error to say it did not
support the feature, but then returned the existing, default constructed
error. Which was a success value.
This also changes the GDBRemote error message to the same phrasing used
in all the other places so we don't have to special case any platform.
Commit: 559a50c5f0b71d5ba91650fe9122f046403808ed
https://github.com/llvm/llvm-project/commit/559a50c5f0b71d5ba91650fe9122f046403808ed
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
Log Message:
-----------
SimplifyIndVar: Use use_empty instead of hasNUses(0) (#137346)
Commit: 91865ac9ba08d142646f1bc6fa7f1ba0b39841ef
https://github.com/llvm/llvm-project/commit/91865ac9ba08d142646f1bc6fa7f1ba0b39841ef
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/lib/IR/Instruction.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
Log Message:
-----------
Use isa instead of !dyn_cast (#137344)
Commit: 00e3885bf5497b4c0e53375fd91e4e196a8af697
https://github.com/llvm/llvm-project/commit/00e3885bf5497b4c0e53375fd91e4e196a8af697
Author: Dave Lee <davelee.com at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
A lldb/test/API/commands/process/reverse-continue/TestReverseContinueCommandNotSupported.py
R lldb/test/API/commands/process/reverse-continue/TestReverseContinueNotSupported.py
Log Message:
-----------
[lldb] Rename reverse-continue/TestReverseContinueNotSupported.py (NFC) (#137262)
Rename this test because another test by the same name already exists:
reverse-execution/TestReverseContinueNotSupported.py.
Having multiple tests of the same name breaks running any test with:
`lldb-dotest -p <TestName>`.
This tests reverse continue _commands_, and so the rename adds
"Commands" to the test name (TestReverseContinueCommandNotSupported.py)
Commit: d0ce861bf0f33fabab828755d0f1f522f6e1c602
https://github.com/llvm/llvm-project/commit/d0ce861bf0f33fabab828755d0f1f522f6e1c602
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py
M lldb/test/API/tools/lldb-dap/console/TestDAP_console.py
A lldb/test/API/tools/lldb-dap/console/minidump.yaml
M lldb/tools/lldb-dap/DAP.cpp
M lldb/tools/lldb-dap/DAP.h
M lldb/tools/lldb-dap/Handler/InitializeRequestHandler.cpp
M lldb/tools/lldb-dap/LLDBUtils.cpp
M lldb/tools/lldb-dap/LLDBUtils.h
Log Message:
-----------
[lldb] Emit diagnostics as "important" output (#137280)
Handle diagnostics events from the debugger (i.e. asynchronous errors
and warnings) in the lldb-dap event handler and emit them as "important"
output.
Commit: c4b7bd9ff26dd432287200c39b0421960a4b402d
https://github.com/llvm/llvm-project/commit/c4b7bd9ff26dd432287200c39b0421960a4b402d
Author: Kazu Hirata <kazu at google.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M lldb/tools/lldb-dap/DAP.cpp
Log Message:
-----------
[lldb] Fix a warning
This patch fixes:
lldb/tools/lldb-dap/DAP.cpp:975:34: error: format specifies type
'long long' but the argument has type 'rep' (aka 'long')
[-Werror,-Wformat]
Commit: 070a4ae2f9bcf6967a7147ed2972f409eaa7d3a6
https://github.com/llvm/llvm-project/commit/070a4ae2f9bcf6967a7147ed2972f409eaa7d3a6
Author: GeorgeHuyubo <113479859+GeorgeHuyubo at users.noreply.github.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M lldb/include/lldb/Core/Module.h
M lldb/include/lldb/Core/PluginManager.h
M lldb/include/lldb/Target/Statistics.h
M lldb/source/Core/DynamicLoader.cpp
M lldb/source/Core/ModuleList.cpp
M lldb/source/Core/PluginManager.cpp
M lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
M lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp
M lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp
M lldb/source/Plugins/SymbolVendor/PECOFF/SymbolVendorPECOFF.cpp
M lldb/source/Plugins/SymbolVendor/wasm/SymbolVendorWasm.cpp
M lldb/source/Target/Statistics.cpp
M lldb/test/Shell/Commands/command-statistics-dump.test
M lldb/unittests/Symbol/LocateSymbolFileTest.cpp
Log Message:
-----------
Add symbol locator time for each module in statistics (#134563)
In statistics, add locate time for each module in statistics, we time
the PluginManager::LocateExecutableSymbolFile and
PluginManager::LocateExecutableObjectFile call, save the duration for
the succeeded symbol locator plugin in the Module class as a map.
New key being added:
Module level: "_symbolLocatorTime_"
Summary level: "_totalSymbolLocatorTime_"
which would be a map of symbol_locator_plugin_name to time.
Sample statistic dump output after this change:
```
Command: statistics dump
===============Output===============
{
"commands": {
"command container add": 1,
"command script add": 51,
"command script import": 59,
"statistics dump": 1,
"target create": 1,
"type summary add": 36,
"type synthetic add": 21
},
"memory": {
"strings": {
"bytesTotal": 2801664,
"bytesUnused": 1704256,
"bytesUsed": 1097408
}
},
"modules": [
{
"debugInfoByteSize": 244927,
"debugInfoEnabled": true,
"debugInfoHadIncompleteTypes": false,
"debugInfoHadVariableErrors": false,
"debugInfoIndexLoadedFromCache": false,
"debugInfoIndexSavedToCache": false,
"debugInfoIndexTime": 0.61934599999999995,
"debugInfoParseTime": 0.00033100000000000002,
"identifier": 94868115726768,
"path": "/home/hyubo/.cache/llvm-debuginfod/client/llvmcache-720c9a0f5ba8b460a1524a25597226f0fa551f71-c4crasher",
"symbolLocatorTime": {
"debuginfod": 1.4547020000000002
},
"symbolTableIndexTime": 0.0035370000000000002,
"symbolTableLoadedFromCache": false,
"symbolTableParseTime": 0.0055040000000000002,
"symbolTableSavedToCache": false,
"symbolTableStripped": false,
"triple": "x86_64--linux",
"uuid": "720C9A0F-5BA8-B460-A152-4A25597226F0-FA551F71"
},
{
"debugInfoByteSize": 0,
"debugInfoEnabled": false,
"debugInfoHadIncompleteTypes": false,
"debugInfoHadVariableErrors": false,
"debugInfoIndexLoadedFromCache": false,
"debugInfoIndexSavedToCache": false,
"debugInfoIndexTime": 0,
"debugInfoParseTime": 0,
"identifier": 94868111142256,
"path": "[vdso](0x00007ffd41c59000)",
"symbolLocatorTime": {
"debuginfod": 0.80597700000000005
},
"symbolTableIndexTime": 2.8e-05,
"symbolTableLoadedFromCache": false,
"symbolTableParseTime": 0.00037300000000000001,
"symbolTableSavedToCache": false,
"symbolTableStripped": false,
"triple": "x86_64--linux",
"uuid": "4D1F38BD-BD34-DFB3-C9A5-B49A2A912219-AC713763"
},
{
"debugInfoByteSize": 0,
"debugInfoEnabled": false,
"debugInfoHadIncompleteTypes": false,
"debugInfoHadVariableErrors": false,
"debugInfoIndexLoadedFromCache": false,
"debugInfoIndexSavedToCache": false,
"debugInfoIndexTime": 0,
"debugInfoParseTime": 0,
"identifier": 94868116162096,
"path": "/usr/local/fbcode/platform010/lib/libc.so.6",
"symbolLocatorTime": {
"debuginfod": 0.286356
},
"symbolTableIndexTime": 0.0091780000000000004,
"symbolTableLoadedFromCache": false,
"symbolTableParseTime": 0.081841999999999998,
"symbolTableSavedToCache": false,
"symbolTableStripped": false,
"triple": "x86_64--linux",
"uuid": "ACE9DF01-8872-3A35-6D14-3C92527EF739-4BE32C75"
},
{
"debugInfoByteSize": 0,
"debugInfoEnabled": false,
"debugInfoHadIncompleteTypes": false,
"debugInfoHadVariableErrors": false,
"debugInfoIndexLoadedFromCache": false,
"debugInfoIndexSavedToCache": false,
"debugInfoIndexTime": 0,
"debugInfoParseTime": 0,
"identifier": 94868111990032,
"path": "/usr/local/fbcode/platform010/lib/libm.so.6",
"symbolLocatorTime": {
"debuginfod": 0.63356699999999999
},
"symbolTableIndexTime": 0.0023960000000000001,
"symbolTableLoadedFromCache": false,
"symbolTableParseTime": 0.021706,
"symbolTableSavedToCache": false,
"symbolTableStripped": false,
"triple": "x86_64--linux",
"uuid": "85932B54-0DE7-4FC1-23B0-FB09AD1A5A61-8E1098B7"
},
{
"debugInfoByteSize": 0,
"debugInfoEnabled": false,
"debugInfoHadIncompleteTypes": false,
"debugInfoHadVariableErrors": false,
"debugInfoIndexLoadedFromCache": false,
"debugInfoIndexSavedToCache": false,
"debugInfoIndexTime": 0,
"debugInfoParseTime": 0,
"identifier": 94868116399488,
"path": "/usr/local/fbcode/platform010/lib/libmvec.so.1",
"symbolLocatorTime": {
"debuginfod": 0.66705099999999995
},
"symbolTableIndexTime": 0.00053700000000000004,
"symbolTableLoadedFromCache": false,
"symbolTableParseTime": 0.0034429999999999999,
"symbolTableSavedToCache": false,
"symbolTableStripped": false,
"triple": "x86_64--linux",
"uuid": "4537CA22-8E6E-495B-7A03-FC2CEDCAD71C-8A7B2067"
},
{
"debugInfoByteSize": 0,
"debugInfoEnabled": false,
"debugInfoHadIncompleteTypes": false,
"debugInfoHadVariableErrors": false,
"debugInfoIndexLoadedFromCache": false,
"debugInfoIndexSavedToCache": false,
"debugInfoIndexTime": 0,
"debugInfoParseTime": 0,
"identifier": 94868111778368,
"path": "/usr/local/fbcode/platform010/lib/libatomic.so.1",
"symbolLocatorTime": {
"debuginfod": 0.83268299999999995
},
"symbolTableIndexTime": 0.000243,
"symbolTableLoadedFromCache": false,
"symbolTableParseTime": 0.0026640000000000001,
"symbolTableSavedToCache": false,
"symbolTableStripped": false,
"triple": "x86_64--",
"uuid": "F90F9111-BBD1-C2A9-972A-34EB75ABE62E-3BDED9CF"
},
{
"debugInfoByteSize": 0,
"debugInfoEnabled": false,
"debugInfoHadIncompleteTypes": false,
"debugInfoHadVariableErrors": false,
"debugInfoIndexLoadedFromCache": false,
"debugInfoIndexSavedToCache": false,
"debugInfoIndexTime": 0,
"debugInfoParseTime": 0,
"identifier": 94868116403264,
"path": "/usr/local/fbcode/platform010/lib/libgcc_s.so.1",
"symbolLocatorTime": {
"debuginfod": 0.58871499999999999
},
"symbolTableIndexTime": 0.000292,
"symbolTableLoadedFromCache": false,
"symbolTableParseTime": 0.0033,
"symbolTableSavedToCache": false,
"symbolTableStripped": false,
"triple": "x86_64--",
"uuid": "1C715A92-40BE-BE95-E148-1B401749BAB8-15D09F9D"
},
{
"debugInfoByteSize": 0,
"debugInfoEnabled": false,
"debugInfoHadIncompleteTypes": false,
"debugInfoHadVariableErrors": false,
"debugInfoIndexLoadedFromCache": false,
"debugInfoIndexSavedToCache": false,
"debugInfoIndexTime": 0,
"debugInfoParseTime": 0,
"identifier": 94868113225328,
"path": "/usr/local/fbcode/platform010/lib/libstdc++.so.6",
"symbolLocatorTime": {
"debuginfod": 0.76993400000000001
},
"symbolTableIndexTime": 0.042455,
"symbolTableLoadedFromCache": false,
"symbolTableParseTime": 0.081374000000000002,
"symbolTableSavedToCache": false,
"symbolTableStripped": false,
"triple": "x86_64--",
"uuid": "C9DAEE53-F607-981B-6BED-F2042833BFC7-71A1E66C"
},
{
"debugInfoByteSize": 0,
"debugInfoEnabled": false,
"debugInfoHadIncompleteTypes": false,
"debugInfoHadVariableErrors": false,
"debugInfoIndexLoadedFromCache": false,
"debugInfoIndexSavedToCache": false,
"debugInfoIndexTime": 0,
"debugInfoParseTime": 0,
"identifier": 94868113600960,
"path": "/usr/local/fbcode/platform010/lib/ld.so",
"symbolLocatorTime": {
"debuginfod": 0.48382199999999997
},
"symbolTableIndexTime": 0.00054799999999999998,
"symbolTableLoadedFromCache": false,
"symbolTableParseTime": 0.0057219999999999997,
"symbolTableSavedToCache": false,
"symbolTableStripped": false,
"triple": "x86_64--linux",
"uuid": "CCA86CF4-E4FF-42C8-7056-2F7D8B83AEE0-530B4095"
}
],
"targets": [
{
"breakpoints": [],
"dyldPluginName": "dump-modulelist-dyld",
"expressionEvaluation": {
"failures": 0,
"successes": 0
},
"frameVariable": {
"failures": 0,
"successes": 0
},
"mismatchCoredumpModuleCount": 0,
"moduleIdentifiers": [
94868115726768,
94868111142256,
94868116162096,
94868111990032,
94868116399488,
94868111778368,
94868116403264,
94868113225328,
94868113600960
],
"signals": [
{
"SIGABRT": 1
}
],
"sourceMapDeduceCount": 0,
"sourceRealpathAttemptCount": 0,
"sourceRealpathCompatibleCount": 0,
"stopCount": 1,
"summaryProviderStatistics": [],
"targetCreateTime": 4.1999999999999998e-05,
"totalBreakpointResolveTime": 0,
"totalSharedLibraryEventHitCount": 0
}
],
"totalDebugInfoByteSize": 244927,
"totalDebugInfoEnabled": 1,
"totalDebugInfoIndexLoadedFromCache": 0,
"totalDebugInfoIndexSavedToCache": 0,
"totalDebugInfoIndexTime": 0.61934599999999995,
"totalDebugInfoParseTime": 0.00033100000000000002,
"totalModuleCount": 9,
"totalModuleCountHasDebugInfo": 1,
"totalModuleCountWithIncompleteTypes": 0,
"totalModuleCountWithVariableErrors": 0,
"totalSymbolLocatorTime": {
"debuginfod": 6.5228070000000002
},
"totalSymbolTableIndexTime": 0.059214000000000003,
"totalSymbolTableParseTime": 0.205928,
"totalSymbolTableStripped": 0,
"totalSymbolTablesLoadedFromCache": 0,
"totalSymbolTablesSavedToCache": 0,
"transcript": [
{
"command": "symsrv",
"commandArguments": "",
"commandName": "symsrv",
"durationInSeconds": 0.00069099999999999999,
"error": "",
"output": "",
"timestampInEpochSeconds": 1744934015
},
{
"command": "settings set symbols.enable-external-lookup true",
"commandArguments": "symbols.enable-external-lookup true",
"commandName": "settings set",
"durationInSeconds": 4.1999999999999998e-05,
"error": "",
"output": "",
"timestampInEpochSeconds": 1744934015
},
{
"command": "settings insert-before plugin.symbol-locator.debuginfod.server-urls 0 https://our.intern.facebook.com/intern/debuginfod",
"commandArguments": "plugin.symbol-locator.debuginfod.server-urls 0 https://our.intern.facebook.com/intern/debuginfod",
"commandName": "settings insert-before",
"durationInSeconds": 5.5999999999999999e-05,
"error": "",
"output": "",
"timestampInEpochSeconds": 1744934015
},
{
"command": "target create --core \"/var/tmp/cores/c4crasher.crasher.1576894\"",
"commandArguments": "--core \"/var/tmp/cores/c4crasher.crasher.1576894\"",
"commandName": "target create",
"durationInSeconds": 6.7297630000000002,
"error": "",
"output": "Core file '/var/tmp/cores/c4crasher.crasher.1576894' (x86_64) was loaded.\n",
"timestampInEpochSeconds": 1744934017
},
{
"command": "fbpaste statistics dump",
"commandArguments": "statistics dump",
"commandName": "fbpaste",
"timestampInEpochSeconds": 1744934055
},
{
"command": "statistics dump",
"commandArguments": "",
"commandName": "statistics dump",
"timestampInEpochSeconds": 1744934055
}
]
}
```
Co-authored-by: George Hu <georgehuyubo at gmail.com>
Commit: a643ac439594a0a53799ee42932eef53618b091c
https://github.com/llvm/llvm-project/commit/a643ac439594a0a53799ee42932eef53618b091c
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/include/llvm/IR/IntrinsicsNVVM.td
M llvm/lib/IR/AutoUpgrade.cpp
M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
M llvm/test/Assembler/auto_upgrade_nvvm_intrinsics.ll
Log Message:
-----------
[NVPTX] Remove 'param' variants of nvvm.ptr.* intrinics (#137065)
After #136008 these intrinsics are no longer inserted by the
compiler and can be upgraded to addrspacecasts.
Commit: bc716a755a9bd0e5f0b5de0da0ffcc77374690db
https://github.com/llvm/llvm-project/commit/bc716a755a9bd0e5f0b5de0da0ffcc77374690db
Author: Kazu Hirata <kazu at google.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M lldb/include/lldb/Core/Module.h
M lldb/include/lldb/Core/PluginManager.h
M lldb/include/lldb/Target/Statistics.h
M lldb/source/Core/DynamicLoader.cpp
M lldb/source/Core/ModuleList.cpp
M lldb/source/Core/PluginManager.cpp
M lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
M lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp
M lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp
M lldb/source/Plugins/SymbolVendor/PECOFF/SymbolVendorPECOFF.cpp
M lldb/source/Plugins/SymbolVendor/wasm/SymbolVendorWasm.cpp
M lldb/source/Target/Statistics.cpp
M lldb/test/Shell/Commands/command-statistics-dump.test
M lldb/unittests/Symbol/LocateSymbolFileTest.cpp
Log Message:
-----------
Revert "Add symbol locator time for each module in statistics (#134563)"
This reverts commit 070a4ae2f9bcf6967a7147ed2972f409eaa7d3a6.
Multiple buildbot failures have been reported:
https://github.com/llvm/llvm-project/pull/134563
The build fails with:
lldb/source/Target/Statistics.cpp:75:39: error: use of undeclared
identifier 'num_symbols_loaded'
Commit: 683c3b8b7ea824427c177aa17db95f75d47a3d6b
https://github.com/llvm/llvm-project/commit/683c3b8b7ea824427c177aa17db95f75d47a3d6b
Author: Sam Elliott <quic_aelliott at quicinc.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M compiler-rt/lib/builtins/cpu_model/riscv.c
M llvm/lib/Target/RISCV/RISCVFeatures.td
Log Message:
-----------
[RISCV] Allocate Feature Bits for Zilsd/Zclsd/Zcmp (#135197)
As proposed in https://github.com/riscv-non-isa/riscv-c-api-doc/pull/104
No real compiler-rt implementation, as these are not exposed by Linux.
Commit: 60a1f5a8a00c12a34a8283d7a3cb5b0596c7fd91
https://github.com/llvm/llvm-project/commit/60a1f5a8a00c12a34a8283d7a3cb5b0596c7fd91
Author: Gaurav Verma <48321602+xintin at users.noreply.github.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M mlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
M mlir/test/Conversion/GPUToROCDL/gpu-to-rocdl.mlir
Log Message:
-----------
[mlir] added gpu.shuffle mode UP support (#137300)
Added support for `gpu.shuffle` mode `UP`
Signed-off-by: xintin <gaurav.verma at amd.com>
Commit: 3e4e365fac0503d9fcd9bb34ee1c27bf17d95e3a
https://github.com/llvm/llvm-project/commit/3e4e365fac0503d9fcd9bb34ee1c27bf17d95e3a
Author: Deric C. <cheung.deric at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/lib/Target/DirectX/DXILShaderFlags.cpp
R llvm/test/CodeGen/DirectX/ShaderFlags/max-64-uavs-array-sm6_5.ll
R llvm/test/CodeGen/DirectX/ShaderFlags/max-64-uavs-array-sm6_6.ll
A llvm/test/CodeGen/DirectX/ShaderFlags/max-64-uavs-array-valver1.5.ll
A 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-0.ll
R llvm/test/CodeGen/DirectX/ShaderFlags/res-may-not-alias-shadermodel6.6.ll
R llvm/test/CodeGen/DirectX/ShaderFlags/res-may-not-alias-shadermodel6.7.ll
R llvm/test/CodeGen/DirectX/ShaderFlags/res-may-not-alias-shadermodel6.8.ll
A llvm/test/CodeGen/DirectX/ShaderFlags/res-may-not-alias-sm6.6.ll
A llvm/test/CodeGen/DirectX/ShaderFlags/res-may-not-alias-sm6.7.ll
A llvm/test/CodeGen/DirectX/ShaderFlags/res-may-not-alias-valver1.8.ll
A llvm/test/CodeGen/DirectX/ShaderFlags/use-native-low-precision-0.ll
A llvm/test/CodeGen/DirectX/ShaderFlags/use-native-low-precision-1.ll
R llvm/test/CodeGen/DirectX/ShaderFlags/use-native-low-precision.ll
Log Message:
-----------
[DirectX] Fix shader flag version-checking logic to match DXC (#136787)
This PR primarily fixes the version-checking logic of the shader flags
`ResMayNotAlias` and `Max64UAVs` to correctly match DXC's behavior.
Primary changes:
- The logic for determining the presence of UAVs for the
`ResMayNotAlias` shader flag checked against the DXIL Version when it
should have been checking against the DXIL Validator Version. (See DXC:
[DxilShaderFlags.cpp#L484](https://github.com/microsoft/DirectXShaderCompiler/blob/f19b5da54170210e3cbc7f080be3f080abc52505/lib/DXIL/DxilShaderFlags.cpp#L484))
- The logic for counting UAVs for the `Max64UAVs` shader flag checked
against the DXIL Version when it should have been checking against the
DXIL Validator Version. (See DXC:
[DxilModule.cpp#L327](https://github.com/microsoft/DirectXShaderCompiler/blob/f19b5da54170210e3cbc7f080be3f080abc52505/lib/DXIL/DxilModule.cpp#L327))
- Tests have been modified to test the corrected behaviors for these two
flags
Additional changes included for consistency:
- The logic for setting `UseNativeLowPrecision` now checks against
Shader Model version instead of DXIL version to be consistent with the
code comments from DXC
([DxilShaderFlags.h#L280](https://github.com/microsoft/DirectXShaderCompiler/blob/f19b5da54170210e3cbc7f080be3f080abc52505/include/dxc/DXIL/DxilShaderFlags.h#L280)).
- An additional test has been added to ensure that the module flag
"dx.nativelowprec" set to 0 does not apply the `UseNativeLowPrecision`
shader flag
- Related shader flag tests were renamed to be more consistent, and some
comments were edited for clarification
- Add obj2yaml tests for the `Max64UAVs` shader flag
Commit: 77f8335a07e65f88a2c2925f175f48c458911cee
https://github.com/llvm/llvm-project/commit/77f8335a07e65f88a2c2925f175f48c458911cee
Author: GeorgeHuyubo <113479859+GeorgeHuyubo at users.noreply.github.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M lldb/include/lldb/Core/Module.h
M lldb/include/lldb/Core/PluginManager.h
M lldb/include/lldb/Target/Statistics.h
M lldb/source/Core/DynamicLoader.cpp
M lldb/source/Core/ModuleList.cpp
M lldb/source/Core/PluginManager.cpp
M lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
M lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp
M lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp
M lldb/source/Plugins/SymbolVendor/PECOFF/SymbolVendorPECOFF.cpp
M lldb/source/Plugins/SymbolVendor/wasm/SymbolVendorWasm.cpp
M lldb/source/Target/Statistics.cpp
M lldb/test/Shell/Commands/command-statistics-dump.test
M lldb/unittests/Symbol/LocateSymbolFileTest.cpp
Log Message:
-----------
Add symbol locator time for each module in statistics (#137379)
Identical PR to: https://github.com/llvm/llvm-project/pull/134563
Previous PR was approved and landed but broke the build due to bad
merge.
Manually resolve the merge conflict and try to land again.
Co-authored-by: George Hu <georgehuyubo at gmail.com>
Commit: 8b9861291000b6f593185752620008f7b6fd6149
https://github.com/llvm/llvm-project/commit/8b9861291000b6f593185752620008f7b6fd6149
Author: Andy Kaylor <akaylor at nvidia.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M clang/include/clang/CIR/MissingFeatures.h
M clang/lib/CIR/CodeGen/CIRGenModule.cpp
M clang/test/CIR/CodeGen/call.cpp
M clang/test/CIR/CodeGen/namespace.cpp
Log Message:
-----------
[CIR] Fix calling defined functions (#137271)
Until now our function symbol lookup has been assuming that the function
did not exist and creating a definition for it. This caused us to create
a duplicate definition if we ever tried to call a function that was
already defined.
This change fixes that by adding handling for trying to look up existing
global definitions before creating a new one.
Commit: 0383e545d1f6a5ccd1fc8177c9a9e52f5809c4f3
https://github.com/llvm/llvm-project/commit/0383e545d1f6a5ccd1fc8177c9a9e52f5809c4f3
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
A compiler-rt/test/ubsan_minimal/TestCases/icall.c
Log Message:
-----------
[NFC][CFI] Add minimal runtime test for CFI (#137245)
It's in UBSAN dir, as diagnostic runtime for CFI,
full or minimal is UBSAN.
Commit: d1c7fa85525355add4bf5cef9a229cf24599f1da
https://github.com/llvm/llvm-project/commit/d1c7fa85525355add4bf5cef9a229cf24599f1da
Author: Andy Kaylor <akaylor at nvidia.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M clang/lib/CIR/CodeGen/CIRGenCall.cpp
Log Message:
-----------
[CIR][NFC] Fix a build warning in CIRGenCall.cpp (#137366)
We have been getting a warning about a default statement in a fully
covered switch statement. This change fixes that by removing the
default, updating all paths to return a value rather than depending on a
local variable which is returned immediately after the switch, and
adding an llvm_unreachable for non-enum values.
Commit: c4d84e1b0021a231898cb0325db4f9687908dd82
https://github.com/llvm/llvm-project/commit/c4d84e1b0021a231898cb0325db4f9687908dd82
Author: Florian Hahn <flo at fhahn.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanUtils.h
Log Message:
-----------
[VPlan] Use replaceSuccessor/replacePredecessor in insertBlock (NFC).
Use replaceSuccessor/replacePredecessor in
insertBlockAfter/insertBlockBefore. This preserves the predecessor
order, which in turns is needed to not invalidate existing phi recipes.
At the moment this is NFC, but enables additional uses in the future.
Commit: 012cf4ff60cb9f452bdc3777b6fc2a8a9915e64c
https://github.com/llvm/llvm-project/commit/012cf4ff60cb9f452bdc3777b6fc2a8a9915e64c
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M compiler-rt/test/ubsan_minimal/TestCases/icall.c
Log Message:
-----------
[NFC][CFI] Fix test from #137245 (#137390)
For #137245
Commit: fecf0742b16dc332c7a75b0a6696f08694943862
https://github.com/llvm/llvm-project/commit/fecf0742b16dc332c7a75b0a6696f08694943862
Author: Finn Plummer <canadienfinn at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M clang/include/clang/Parse/ParseHLSLRootSignature.h
M clang/lib/Parse/ParseHLSLRootSignature.cpp
M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp
M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h
Log Message:
-----------
[HLSL][RootSignature] Add parsing of DescriptorRangeFlags (#136775)
- Defines `parseDescriptorRangeFlags` to establish a pattern of how
flags will be parsed
- Add corresponding unit tests
Part four of implementing #126569
Commit: 5c197236ed7eea010a4697706e2472145a7c0c61
https://github.com/llvm/llvm-project/commit/5c197236ed7eea010a4697706e2472145a7c0c61
Author: Ely Ronnen <elyronnen at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
Log Message:
-----------
[lldb-dap] Fix broken tests with commanEscapePrefix="" (#137384)
* Fix broken tests that use commanEscapePrefix="", in my case
`TestDAP_stackTraceMissingModule.test_missingModule`
Commit: 61d78d0c089d0e2bff994c5b3c353d22d4d8c1c7
https://github.com/llvm/llvm-project/commit/61d78d0c089d0e2bff994c5b3c353d22d4d8c1c7
Author: Owen Pan <owenpiano at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/FormatTestCSharp.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Correctly handle C# where clause (#137295)
Fix #74947
Commit: 3c4dff3ac6884b85fe93fe512c5bdaf014738c45
https://github.com/llvm/llvm-project/commit/3c4dff3ac6884b85fe93fe512c5bdaf014738c45
Author: Erich Keane <ekeane at nvidia.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M clang/lib/CIR/CodeGen/CIRGenStmtOpenACC.cpp
M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
Log Message:
-----------
[NFC][OpenACC] addDeviceType to init/shutdown ops (#137372)
As a first step of attempting to make for a 'better' interface to
lowering to the OpenACC dialect, this patch adds a helper function to
InitOp and ShutdownOp to make adding a device-type clause easier.
Commit: 881f6de812632bdbf835aaf8d6a792ff5d93764c
https://github.com/llvm/llvm-project/commit/881f6de812632bdbf835aaf8d6a792ff5d93764c
Author: Erich Keane <ekeane at nvidia.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M clang/include/clang/AST/OpenACCClause.h
M clang/lib/AST/OpenACCClause.cpp
M clang/lib/CIR/CodeGen/CIRGenStmtOpenACC.cpp
M clang/lib/Sema/TreeTransform.h
M clang/test/CIR/CodeGenOpenACC/data.c
M clang/test/CIR/CodeGenOpenACC/kernels.c
M clang/test/CIR/CodeGenOpenACC/parallel.c
M clang/test/CIR/CodeGenOpenACC/serial.c
Log Message:
-----------
[OpenACC][CIR] Lower 'wait' clause for compute/data constructs (#137359)
The 'wait' clause is a bit complicated, and is laid out awkwardly in the
IR addative functions, so this patch has to do a little bit of work to
do that (mostly the 'devnum' work).
Otherwise, this is very similar to how num_gangs works, with the
additional complexity of the 'empty' wait being represented differently
as well, but this is similar to how 'async' and a few others work as
well.
Commit: b60ee399787cb2a5f50d21932db3492cc4ff0d34
https://github.com/llvm/llvm-project/commit/b60ee399787cb2a5f50d21932db3492cc4ff0d34
Author: Nick Sarnie <nick.sarnie at intel.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M clang/include/clang/Basic/BuiltinHeaders.def
M clang/include/clang/Basic/BuiltinsAArch64.def
M clang/include/clang/Basic/BuiltinsARM.def
M clang/lib/Headers/arm_acle.h
M clang/lib/Sema/SemaARM.cpp
R clang/test/CodeGen/arm-former-microsoft-intrinsics-header-warning.c
R clang/test/CodeGen/arm-former-microsoft-intrinsics.c
M clang/test/CodeGen/arm-microsoft-intrinsics.c
R clang/test/CodeGen/arm64-former-microsoft-intrinsics-header-warning.c
R clang/test/CodeGen/arm64-former-microsoft-intrinsics.c
M clang/test/CodeGen/arm64-microsoft-intrinsics.c
M clang/test/CodeGen/builtins-arm-microsoft.c
M clang/test/Headers/Inputs/include/stdint.h
M clang/test/Headers/ms-intrin.cpp
Log Message:
-----------
Revert "[clang][ARM][AArch64] Define intrinsics guarded by __has_builtin on all platforms" (#137374)
This reverts commit
https://github.com/llvm/llvm-project/commit/de0153da325b21340747d8a064906a8c1c2f95ea.
It breaks MSVC.
---------
Signed-off-by: Sarnie, Nick <nick.sarnie at intel.com>
Commit: a3b6423d506f1340782db62d23fb0d1a845a9411
https://github.com/llvm/llvm-project/commit/a3b6423d506f1340782db62d23fb0d1a845a9411
Author: John Harrison <harjohn at google.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M lldb/tools/lldb-dap/DAP.cpp
Log Message:
-----------
[lldb-dap] Mitigate a build error on Windows. (#137388)
When building with MSVC 2019 using `std::future<llvm::Error>` causes a
compile time build error.
```
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\future(196): error C2248: 'llvm::Error::Error': cannot access protected member declared in class 'llvm::Error'
C:\work\main\llvm-project\llvm\include\llvm/Support/Error.h(181): note: see declaration of 'llvm::Error::Error'
C:\work\main\llvm-project\llvm\include\llvm/Support/FormatVariadicDetails.h(20): note: see declaration of 'llvm::Error'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\future(193): note: while compiling class template member function 'std::_Associated_state<_Ty>::_Associated_state(std::_Deleter_base<_Ty> *)'
with
[
_Ty=llvm::Error
]
C:\work\main\llvm-project\lldb\tools\lldb-dap\DAP.cpp(854): note: see reference to class template instantiation 'std::future<llvm::Error>' being compiled
```
To work around this, swapping to a lldb::SBError for now.
Commit: be7ef6c52b1942a738a2cab4304bb204f28dc00b
https://github.com/llvm/llvm-project/commit/be7ef6c52b1942a738a2cab4304bb204f28dc00b
Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/lib/CodeGen/MachineLICM.cpp
A llvm/test/CodeGen/SystemZ/pr122315.ll
Log Message:
-----------
[MachineLICM] Recognize registers clobbered at EH landing pad entry (#122446)
EH landing pad entry implicitly clobbers target-specific exception
pointer and exception selector registers. The post-RA MachineLICM pass
needs to take these into account when deciding whether to hoist an
instruction out of the loop that initializes one of these registers.
Fixes: https://github.com/llvm/llvm-project/issues/122315
Commit: 9f7a58791c12652b60381aaa3401831ca35313c3
https://github.com/llvm/llvm-project/commit/9f7a58791c12652b60381aaa3401831ca35313c3
Author: John Harrison <harjohn at google.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M lldb/tools/lldb-dap/DAP.cpp
Log Message:
-----------
[lldb-dap] Fix formatting chrono::seconds warning. (#137371)
Updated the format to use `llvm::formatv` instead of printf style
format.
Commit: 695769971dc6ff6734dacacff07f4f473508e37a
https://github.com/llvm/llvm-project/commit/695769971dc6ff6734dacacff07f4f473508e37a
Author: John Harrison <harjohn at google.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M lldb/tools/lldb-dap/Handler/RequestHandler.h
M lldb/tools/lldb-dap/Handler/StepOutRequestHandler.cpp
M lldb/tools/lldb-dap/Protocol/ProtocolRequests.cpp
M lldb/tools/lldb-dap/Protocol/ProtocolRequests.h
Log Message:
-----------
[lldb-dap] Migrating the 'stepOut' request to use typed RequestHandler. (#137362)
This moves the 'stepOut' request to the typed RequestHandler.
Commit: d8a4a3f91efecebb71b12dff1cef3952bc705390
https://github.com/llvm/llvm-project/commit/d8a4a3f91efecebb71b12dff1cef3952bc705390
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/include/llvm/Analysis/DXILResource.h
M llvm/lib/Analysis/DXILResource.cpp
M llvm/unittests/Target/DirectX/ResourceBindingAnalysisTests.cpp
Log Message:
-----------
Rename DXILResourceBindingsInfo to DXILResourceBindingInfo
Commit: 488eeb3ae508221f8e476bbc9d2e9f014542862e
https://github.com/llvm/llvm-project/commit/488eeb3ae508221f8e476bbc9d2e9f014542862e
Author: Emre Kultursay <emrekultursay at google.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M lldb/include/lldb/Host/linux/AbstractSocket.h
M lldb/include/lldb/Host/posix/DomainSocket.h
M lldb/source/Host/linux/AbstractSocket.cpp
M lldb/source/Host/posix/DomainSocket.cpp
M lldb/tools/lldb-server/lldb-platform.cpp
M lldb/unittests/Host/SocketTest.cpp
Log Message:
-----------
Fix connecting via abstract socket (#136466)
Commit 82ee31f and Commit 2e893124 added socket sharing, but only for
unix domain sockets. That broke Android, which uses unix-abstract
sockets.
Commit: bd96fa778809d70e688d27cae2f7667b2aed69c0
https://github.com/llvm/llvm-project/commit/bd96fa778809d70e688d27cae2f7667b2aed69c0
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M libcxxabi/src/demangle/ItaniumDemangle.h
M llvm/include/llvm/Demangle/ItaniumDemangle.h
Log Message:
-----------
[ItaniumDemangle][NFC] Add getter to ObjCProtoName::getProtocol
And remove now redunant friend declaration.
For some reason this was failing to build on one of the MSVC bots after
https://github.com/llvm/llvm-project/pull/131836:
```
FAILED: tools/lldb/source/Plugins/ExpressionParser/Clang/CMakeFiles/lldbPluginExpressionParserClang.dir/ClangExpressionParser.cpp.obj
ccache C:\PROGRA~1\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\cl.exe /nologo /TP -DCLANG_BUILD_STATIC -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\buildbot\as-builder-10\lldb-x-aarch64\build\tools\lldb\source\Plugins\ExpressionParser\Clang -IC:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\lldb\source\Plugins\ExpressionParser\Clang -IC:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\lldb\include -IC:\buildbot\as-builder-10\lldb-x-aarch64\build\tools\lldb\include -IC:\buildbot\as-builder-10\lldb-x-aarch64\build\include -IC:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\llvm\include -IC:\Python312\include -IC:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\llvm\..\clang\include -IC:\buildbot\as-builder-10\lldb-x-aarch64\build\tools\lldb\..\clang\include -IC:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\lldb\source -IC:\buildbot\as-builder-10\lldb-x-aarch64\build\tools\lldb\source -D__OPTIMIZE__ /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2 -MD -wd4018 -wd4068 -wd4150 -wd4201 -wd4251 -wd4521 -wd4530 -wd4589 /EHs-c- /GR- -UNDEBUG -std:c++17 /showIncludes /Fotools\lldb\source\Plugins\ExpressionParser\Clang\CMakeFiles\lldbPluginExpressionParserClang.dir\ClangExpressionParser.cpp.obj /Fdtools\lldb\source\Plugins\ExpressionParser\Clang\CMakeFiles\lldbPluginExpressionParserClang.dir\lldbPluginExpressionParserClang.pdb /FS -c C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\lldb\source\Plugins\ExpressionParser\Clang\ClangExpressionParser.cpp
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\llvm\include\llvm/Demangle/ItaniumDemangle.h(667): error C2248: 'llvm::itanium_demangle::ObjCProtoName::Protocol': cannot access private member declared in class 'llvm::itanium_demangle::ObjCProtoName'
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\llvm\include\llvm/Demangle/ItaniumDemangle.h(615): note: see declaration of 'llvm::itanium_demangle::ObjCProtoName::Protocol'
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\llvm\include\llvm/Demangle/ItaniumDemangle.h(613): note: see declaration of 'llvm::itanium_demangle::ObjCProtoName'
```
It's not quite clear to me why this wasn't compiling but either way this
is cleaner.
Commit: f9d4e7ef8b656952d3abcc4c5b2634bbf4cb93fe
https://github.com/llvm/llvm-project/commit/f9d4e7ef8b656952d3abcc4c5b2634bbf4cb93fe
Author: LU-JOHN <John.Lu at amd.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/lib/Transforms/Scalar/Sink.cpp
Log Message:
-----------
[NFC][Sink] Change runtime checks to asserts (#137354)
Candidate block for sinking must be dominated by current location. This
is true based on how the candidate block was selected. Runtime checks
are not necessary and has been changed to an assertion.
---------
Signed-off-by: John Lu <John.Lu at amd.com>
Commit: a1decfef3f75286398699573ddf801ec3805e1ee
https://github.com/llvm/llvm-project/commit/a1decfef3f75286398699573ddf801ec3805e1ee
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/include/llvm/Analysis/DXILResource.h
M llvm/lib/Analysis/DXILResource.cpp
M llvm/lib/Target/DirectX/DXContainerGlobals.cpp
M llvm/lib/Target/DirectX/DXILOpLowering.cpp
M llvm/lib/Target/DirectX/DXILPrettyPrinter.cpp
M llvm/lib/Target/DirectX/DXILShaderFlags.cpp
M llvm/lib/Target/DirectX/DXILTranslateMetadata.cpp
M llvm/test/CodeGen/DirectX/llc-pipeline.ll
Log Message:
-----------
[HLSL][NFC] Rename getBindingMap to getResourceMap and update pass name (#137256)
The DXILResourceMap stores more information about resource instances
than just their binding.
Commit: 290ba281e819d60be4903436cbc07efc12e22d4c
https://github.com/llvm/llvm-project/commit/290ba281e819d60be4903436cbc07efc12e22d4c
Author: Ely Ronnen <elyronnen at gmail.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M lldb/include/lldb/Core/Debugger.h
M lldb/include/lldb/lldb-enumerations.h
M lldb/source/Core/CoreProperties.td
M lldb/source/Core/Debugger.cpp
M lldb/source/Target/StackFrame.cpp
A lldb/test/API/tools/lldb-dap/stackTraceDisassemblyDisplay/Makefile
A lldb/test/API/tools/lldb-dap/stackTraceDisassemblyDisplay/TestDAP_stackTraceDisassemblyDisplay.py
A lldb/test/API/tools/lldb-dap/stackTraceDisassemblyDisplay/main.c
M lldb/tools/lldb-dap/Handler/StackTraceRequestHandler.cpp
M lldb/tools/lldb-dap/JSONUtils.cpp
M lldb/tools/lldb-dap/JSONUtils.h
M lldb/tools/lldb-dap/LLDBUtils.cpp
M lldb/tools/lldb-dap/LLDBUtils.h
Log Message:
-----------
[lldb-dap] Show assembly depending on `stop-disassembly-display` settings (#136494)
Show assembly code when the source code for a frame is not available in
the debugger machine
Edit: this functionality will work only when using
`stop-disassembly-display = no-source` in the settings
Fix #136492
After the fix:
[Screencast From 2025-04-20
18-00-30.webm](https://github.com/user-attachments/assets/1ce41715-cf4f-42a1-8f5c-6196b9d685dc)
Commit: d79900cc28e791dd72b4a9f036b9cacf5fc0abe0
https://github.com/llvm/llvm-project/commit/d79900cc28e791dd72b4a9f036b9cacf5fc0abe0
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M .github/workflows/commit-access-greeter.yml
M bolt/docs/CMakeLists.txt
M bolt/docs/doxygen.cfg.in
M bolt/include/bolt/Profile/DataAggregator.h
M bolt/lib/Profile/DataAggregator.cpp
M clang-tools-extra/docs/CMakeLists.txt
M clang-tools-extra/docs/doxygen.cfg.in
M clang/docs/CMakeLists.txt
M clang/docs/CommandGuide/clang.rst
M clang/docs/ReleaseNotes.rst
M clang/docs/doxygen.cfg.in
M clang/include/clang/AST/NonTrivialTypeVisitor.h
M clang/include/clang/AST/OpenACCClause.h
M clang/include/clang/AST/Type.h
M clang/include/clang/Basic/BuiltinHeaders.def
M clang/include/clang/Basic/BuiltinsAArch64.def
M clang/include/clang/Basic/BuiltinsARM.def
M clang/include/clang/Basic/BuiltinsSPIRV.td
M clang/include/clang/Basic/Cuda.h
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
A clang/include/clang/Basic/OffloadArch.h
M clang/include/clang/CIR/MissingFeatures.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/ParseHLSLRootSignature.h
M clang/include/clang/Sema/SemaHLSL.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/ByteCode/Compiler.cpp
M clang/lib/AST/ByteCode/Descriptor.cpp
M clang/lib/AST/ByteCode/Descriptor.h
M clang/lib/AST/ByteCode/DynamicAllocator.cpp
M clang/lib/AST/ByteCode/Interp.cpp
M clang/lib/AST/ByteCode/Interp.h
M clang/lib/AST/ByteCode/InterpBlock.h
M clang/lib/AST/ByteCode/InterpBuiltin.cpp
M clang/lib/AST/ByteCode/Opcodes.td
M clang/lib/AST/ByteCode/Pointer.h
M clang/lib/AST/ByteCode/Program.cpp
M clang/lib/AST/ByteCode/Program.h
M clang/lib/AST/OpenACCClause.cpp
M clang/lib/AST/Type.cpp
M clang/lib/Analysis/UnsafeBufferUsage.cpp
M clang/lib/Basic/CMakeLists.txt
M clang/lib/Basic/Cuda.cpp
A clang/lib/Basic/OffloadArch.cpp
A clang/lib/CIR/CodeGen/CIRGenCXXABI.h
M clang/lib/CIR/CodeGen/CIRGenCall.cpp
M clang/lib/CIR/CodeGen/CIRGenDecl.cpp
M clang/lib/CIR/CodeGen/CIRGenFunction.h
M clang/lib/CIR/CodeGen/CIRGenModule.cpp
M clang/lib/CIR/CodeGen/CIRGenModule.h
M clang/lib/CIR/CodeGen/CIRGenStmtOpenACC.cpp
M clang/lib/CodeGen/BackendUtil.cpp
M clang/lib/CodeGen/CGBlocks.cpp
M clang/lib/CodeGen/CGBlocks.h
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CGDeclCXX.cpp
M clang/lib/CodeGen/CGNonTrivialStruct.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/CodeGenModule.h
M clang/lib/CodeGen/TargetBuiltins/SPIR.cpp
M clang/lib/CodeGen/Targets/AArch64.cpp
M clang/lib/CodeGen/Targets/ARM.cpp
M clang/lib/CrossTU/CrossTranslationUnit.cpp
M clang/lib/Driver/SanitizerArgs.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Frontend/ASTMerge.cpp
M clang/lib/Frontend/ASTUnit.cpp
M clang/lib/Frontend/FrontendAction.cpp
M clang/lib/Headers/arm_acle.h
M clang/lib/Headers/hlsl/hlsl_intrinsic_helpers.h
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
M clang/lib/Parse/ParseHLSLRootSignature.cpp
M clang/lib/Parse/ParseStmt.cpp
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaARM.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaHLSL.cpp
M clang/lib/Sema/SemaInit.cpp
M clang/lib/Sema/SemaSPIRV.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/ErrnoTesterChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp
M clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefLambdaCapturesChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/cert/InvalidPtrChecker.cpp
M clang/lib/StaticAnalyzer/Core/SValBuilder.cpp
M clang/test/AST/ByteCode/cxx11.cpp
M clang/test/AST/ByteCode/literals.cpp
A clang/test/Analysis/Checkers/WebKit/unchecked-call-arg.cpp
M clang/test/Analysis/Checkers/WebKit/uncounted-lambda-captures.cpp
M clang/test/C/C23/n2607.c
M clang/test/C/drs/dr1xx.c
M clang/test/CIR/CodeGen/array.cpp
M clang/test/CIR/CodeGen/basic.cpp
M clang/test/CIR/CodeGen/binop.cpp
M clang/test/CIR/CodeGen/call.cpp
M clang/test/CIR/CodeGen/cast.cpp
M clang/test/CIR/CodeGen/cmp.cpp
M clang/test/CIR/CodeGen/if.cpp
M clang/test/CIR/CodeGen/int-to-bool.cpp
M clang/test/CIR/CodeGen/local-vars.cpp
M clang/test/CIR/CodeGen/loop.cpp
A clang/test/CIR/CodeGen/namespace.cpp
M clang/test/CIR/CodeGen/nullptr-init.cpp
M clang/test/CIR/CodeGen/struct.cpp
M clang/test/CIR/CodeGen/unary.cpp
M clang/test/CIR/CodeGenOpenACC/data.c
M clang/test/CIR/CodeGenOpenACC/kernels.c
M clang/test/CIR/CodeGenOpenACC/parallel.c
M clang/test/CIR/CodeGenOpenACC/serial.c
A clang/test/CIR/CodeGenOpenACC/wait.c
M clang/test/CIR/Lowering/array.cpp
M clang/test/CIR/Lowering/basic.cpp
M clang/test/CIR/Lowering/func-simple.cpp
M clang/test/CIR/Lowering/local-vars.cpp
M clang/test/CIR/func-simple.cpp
M clang/test/CIR/global-var-linkage.cpp
R clang/test/CodeGen/arm-former-microsoft-intrinsics-header-warning.c
R clang/test/CodeGen/arm-former-microsoft-intrinsics.c
M clang/test/CodeGen/arm-microsoft-intrinsics.c
R clang/test/CodeGen/arm64-former-microsoft-intrinsics-header-warning.c
R clang/test/CodeGen/arm64-former-microsoft-intrinsics.c
M clang/test/CodeGen/arm64-microsoft-intrinsics.c
M clang/test/CodeGen/builtins-arm-microsoft.c
A clang/test/CodeGen/ptrauth-in-c-struct.c
A clang/test/CodeGen/ptrauth-qualifier-blocks.c
A clang/test/CodeGenCXX/bpf-debug-structors.cpp
A clang/test/CodeGenCXX/cxx20-module-initializer-pacbti.cpp
A clang/test/CodeGenCXX/fake-use-musttail.cpp
A clang/test/CodeGenHLSL/builtins/faceforward.hlsl
A clang/test/CodeGenSPIRV/Builtins/faceforward.c
M clang/test/Driver/extend-variable-liveness.c
M clang/test/Driver/fsanitize.c
M clang/test/Driver/print-supported-extensions-riscv.c
M clang/test/Driver/sanitizer-ld.c
M clang/test/Headers/Inputs/include/stdint.h
M clang/test/Headers/ms-intrin.cpp
M clang/test/Parser/typeof.c
M clang/test/Preprocessor/riscv-target-features.c
M clang/test/Sema/assign.c
M clang/test/Sema/atomic-ops.c
M clang/test/Sema/block-return.c
M clang/test/Sema/builtins-bpf.c
M clang/test/Sema/builtins-elementwise-math.c
M clang/test/Sema/builtins-overflow.c
M clang/test/Sema/enable_if.c
M clang/test/Sema/implicit-decl.c
M clang/test/Sema/overloadable.c
M clang/test/Sema/ptrauth-qualifier.c
M clang/test/Sema/sizeless-1.c
M clang/test/Sema/typedef-retain.c
M clang/test/Sema/varargs-x86-64.c
A clang/test/Sema/warn-default-const-init.c
M clang/test/Sema/warn-unused-function.c
A clang/test/SemaCXX/bug149071318.cpp
M clang/test/SemaCXX/constant-expression-p2280r4.cpp
M clang/test/SemaCXX/ptrauth-qualifier.cpp
M clang/test/SemaCXX/warn-thread-safety-analysis.cpp
A clang/test/SemaHLSL/BuiltIns/faceforward-errors.hlsl
A clang/test/SemaHLSL/Language/InitIncompleteArrays.hlsl
M clang/test/SemaHLSL/Language/InitListAST.hlsl
M clang/test/SemaObjC/message.m
M clang/test/SemaOpenCL/cl20-device-side-enqueue.cl
M clang/test/SemaOpenCL/invalid-block.cl
M clang/test/SemaOpenMP/atomic-capture-const-no-crash.c
A clang/test/SemaSPIRV/BuiltIns/faceforward-errors.c
M clang/test/SemaSPIRV/BuiltIns/smoothstep-errors.c
M clang/tools/c-index-test/core_main.cpp
M clang/tools/clang-extdef-mapping/ClangExtDefMapGen.cpp
M clang/tools/libclang/CIndex.cpp
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/FormatTestCSharp.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
M clang/unittests/Frontend/ASTUnitTest.cpp
M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp
M compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
M compiler-rt/lib/builtins/CMakeLists.txt
M compiler-rt/lib/builtins/cpu_model/riscv.c
M compiler-rt/lib/tysan/tysan.cpp
M compiler-rt/test/lit.common.configured.in
M compiler-rt/test/profile/instrprof-api.c
M compiler-rt/test/profile/instrprof-reset-counters.c
A compiler-rt/test/tysan/derrived_default_constructor.cpp
A compiler-rt/test/tysan/inherited_member.cpp
M compiler-rt/test/ubsan/CMakeLists.txt
M compiler-rt/test/ubsan_minimal/CMakeLists.txt
A compiler-rt/test/ubsan_minimal/TestCases/icall.c
M compiler-rt/test/ubsan_minimal/lit.common.cfg.py
M compiler-rt/test/ubsan_minimal/lit.site.cfg.py.in
M flang/docs/CMakeLists.txt
M flang/docs/FortranForCProgrammers.md
M flang/docs/doxygen.cfg.in
M flang/lib/Optimizer/CodeGen/Target.cpp
M flang/lib/Semantics/check-omp-structure.cpp
M flang/module/iso_c_binding.f90
M flang/test/Fir/convert-to-llvm-target.fir
M flang/test/Fir/target-rewrite-integer.fir
M flang/test/Lower/OpenACC/acc-serial.f90
M flang/test/Semantics/OpenMP/allocate04.f90
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/riscv/entrypoints.txt
M libc/config/darwin/arm/entrypoints.txt
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/arm/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/config/windows/entrypoints.txt
M libc/docs/headers/math/index.rst
M libc/docs/headers/stdfix.rst
M libc/include/math.yaml
M libc/include/stdfix.yaml
M libc/src/__support/fixed_point/CMakeLists.txt
M libc/src/__support/fixed_point/fx_bits.h
M libc/src/__support/macros/null_check.h
M libc/src/math/CMakeLists.txt
A libc/src/math/acospif16.h
A libc/src/math/atanhf16.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/acospif16.cpp
A libc/src/math/generic/asin.cpp
A libc/src/math/generic/asin_utils.h
A libc/src/math/generic/atanhf16.cpp
M libc/src/math/generic/common_constants.cpp
M libc/src/math/generic/common_constants.h
M libc/src/math/generic/explogxf.h
M libc/src/stdfix/CMakeLists.txt
A libc/src/stdfix/idivk.cpp
A libc/src/stdfix/idivk.h
A libc/src/stdfix/idivlk.cpp
A libc/src/stdfix/idivlk.h
A libc/src/stdfix/idivlr.cpp
A libc/src/stdfix/idivlr.h
A libc/src/stdfix/idivr.cpp
A libc/src/stdfix/idivr.h
A libc/src/stdfix/idivuk.cpp
A libc/src/stdfix/idivuk.h
A libc/src/stdfix/idivulk.cpp
A libc/src/stdfix/idivulk.h
A libc/src/stdfix/idivulr.cpp
A libc/src/stdfix/idivulr.h
A libc/src/stdfix/idivur.cpp
A libc/src/stdfix/idivur.h
M libc/test/src/math/CMakeLists.txt
A libc/test/src/math/acospif16_test.cpp
A libc/test/src/math/asin_test.cpp
A libc/test/src/math/atanhf16_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/acospif16_test.cpp
A libc/test/src/math/smoke/asin_test.cpp
A libc/test/src/math/smoke/atanhf16_test.cpp
M libc/test/src/stdfix/CMakeLists.txt
A libc/test/src/stdfix/IdivTest.h
A libc/test/src/stdfix/idivk_test.cpp
A libc/test/src/stdfix/idivlk_test.cpp
A libc/test/src/stdfix/idivlr_test.cpp
A libc/test/src/stdfix/idivr_test.cpp
A libc/test/src/stdfix/idivuk_test.cpp
A libc/test/src/stdfix/idivulk_test.cpp
A libc/test/src/stdfix/idivulr_test.cpp
A libc/test/src/stdfix/idivur_test.cpp
M libc/utils/MPFRWrapper/MPCommon.cpp
M libc/utils/MPFRWrapper/MPCommon.h
M libc/utils/MPFRWrapper/MPFRUtils.cpp
M libc/utils/MPFRWrapper/MPFRUtils.h
M libcxx/include/__configuration/abi.h
M libcxx/include/__configuration/availability.h
M libcxx/include/__functional/function.h
M libcxx/include/__string/extern_template_lists.h
M libcxx/include/__type_traits/rank.h
M libcxx/include/string
M libcxx/lib/abi/arm64-apple-darwin.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/powerpc-ibm-aix.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/powerpc64-ibm-aix.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/x86_64-apple-darwin.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/x86_64-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/x86_64-unknown-freebsd.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/x86_64-unknown-linux-gnu.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/x86_64-unknown-linux-gnu.libcxxabi.v1.stable.noexceptions.nonew.abilist
M libcxx/src/functional.cpp
M libcxx/src/string.cpp
M libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.hex.pass.cpp
M libcxx/test/support/test_macros.h
M libcxxabi/src/demangle/ItaniumDemangle.h
M lld/wasm/Config.h
M lld/wasm/Driver.cpp
M lld/wasm/InputChunks.cpp
M lld/wasm/MarkLive.cpp
M lld/wasm/OutputSections.cpp
M lld/wasm/Symbols.cpp
M lld/wasm/Symbols.h
M lld/wasm/SyntheticSections.cpp
M lld/wasm/Writer.cpp
M lldb/docs/doxygen.cfg.in
M lldb/include/lldb/Core/Debugger.h
A lldb/include/lldb/Core/DemangledNameInfo.h
M lldb/include/lldb/Core/FormatEntity.h
M lldb/include/lldb/Core/Mangled.h
M lldb/include/lldb/Core/Module.h
M lldb/include/lldb/Core/PluginManager.h
M lldb/include/lldb/Host/linux/AbstractSocket.h
M lldb/include/lldb/Host/posix/DomainSocket.h
M lldb/include/lldb/Symbol/ObjectFile.h
M lldb/include/lldb/Symbol/SymbolContext.h
M lldb/include/lldb/Symbol/SymbolFile.h
M lldb/include/lldb/Symbol/SymbolFileOnDemand.h
M lldb/include/lldb/Target/Language.h
M lldb/include/lldb/Target/Statistics.h
M lldb/include/lldb/lldb-enumerations.h
M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py
M lldb/source/Core/CMakeLists.txt
M lldb/source/Core/CoreProperties.td
M lldb/source/Core/Debugger.cpp
A lldb/source/Core/DemangledNameInfo.cpp
M lldb/source/Core/DynamicLoader.cpp
M lldb/source/Core/FormatEntity.cpp
M lldb/source/Core/Mangled.cpp
M lldb/source/Core/Module.cpp
M lldb/source/Core/ModuleList.cpp
M lldb/source/Core/PluginManager.cpp
M lldb/source/Host/linux/AbstractSocket.cpp
M lldb/source/Host/posix/DomainSocket.cpp
M lldb/source/Plugins/Language/CPlusPlus/CMakeLists.txt
M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.h
A lldb/source/Plugins/Language/CPlusPlus/LanguageCPlusPlusProperties.td
M lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
M lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
M lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp
M lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp
M lldb/source/Plugins/SymbolVendor/PECOFF/SymbolVendorPECOFF.cpp
M lldb/source/Plugins/SymbolVendor/wasm/SymbolVendorWasm.cpp
M lldb/source/Symbol/ObjectFile.cpp
M lldb/source/Symbol/SymbolContext.cpp
M lldb/source/Symbol/SymbolFile.cpp
M lldb/source/Target/StackFrame.cpp
M lldb/source/Target/Statistics.cpp
A lldb/test/API/commands/process/reverse-continue/TestReverseContinueCommandNotSupported.py
R lldb/test/API/commands/process/reverse-continue/TestReverseContinueNotSupported.py
M lldb/test/API/commands/statistics/basic/TestStats.py
R lldb/test/API/functionalities/reverse-execution/TestReverseContinueNotSupported.py
A lldb/test/API/functionalities/reverse-execution/TestReverseExecutionNotSupported.py
M lldb/test/API/tools/lldb-dap/cancel/TestDAP_cancel.py
M lldb/test/API/tools/lldb-dap/console/TestDAP_console.py
A lldb/test/API/tools/lldb-dap/console/minidump.yaml
M lldb/test/API/tools/lldb-dap/evaluate/TestDAP_evaluate.py
M lldb/test/API/tools/lldb-dap/extendedStackTrace/TestDAP_extendedStackTrace.py
M lldb/test/API/tools/lldb-dap/launch/TestDAP_launch.py
M lldb/test/API/tools/lldb-dap/output/TestDAP_output.py
M lldb/test/API/tools/lldb-dap/repl-mode/TestDAP_repl_mode_detection.py
A lldb/test/API/tools/lldb-dap/stackTrace-x86/Makefile
A lldb/test/API/tools/lldb-dap/stackTrace-x86/TestDAP_source_x86.py
A lldb/test/API/tools/lldb-dap/stackTrace-x86/main.c
M lldb/test/API/tools/lldb-dap/stackTrace/TestDAP_stackTrace.py
M lldb/test/API/tools/lldb-dap/stackTrace/main.c
A lldb/test/API/tools/lldb-dap/stackTraceDisassemblyDisplay/Makefile
A lldb/test/API/tools/lldb-dap/stackTraceDisassemblyDisplay/TestDAP_stackTraceDisassemblyDisplay.py
A lldb/test/API/tools/lldb-dap/stackTraceDisassemblyDisplay/main.c
A lldb/test/API/tools/lldb-dap/stackTraceMissingModule/Makefile
A lldb/test/API/tools/lldb-dap/stackTraceMissingModule/TestDAP_stackTraceMissingModule.py
A lldb/test/API/tools/lldb-dap/stackTraceMissingModule/main.c
M lldb/test/Shell/Commands/command-statistics-dump.test
A lldb/test/Shell/Settings/TestCxxFrameFormat.test
A lldb/test/Shell/Settings/TestCxxFrameFormatMixedLanguages.test
A lldb/test/Shell/Settings/TestCxxFrameFormatObjC.test
A lldb/test/Shell/Settings/TestCxxFrameFormatPartialFailure.test
A lldb/test/Shell/Settings/TestCxxFrameFormatRecursive.test
A lldb/test/Shell/Settings/TestFrameFormatFunctionBasename.test
A lldb/test/Shell/Settings/TestFrameFormatFunctionBasenameObjC.test
A lldb/test/Shell/Settings/TestFrameFormatFunctionFormattedArguments.test
A lldb/test/Shell/Settings/TestFrameFormatFunctionFormattedArgumentsObjC.test
A lldb/test/Shell/Settings/TestFrameFormatFunctionQualifiers.test
A lldb/test/Shell/Settings/TestFrameFormatFunctionQualifiersObjC.test
A lldb/test/Shell/Settings/TestFrameFormatFunctionReturn.test
A lldb/test/Shell/Settings/TestFrameFormatFunctionReturnObjC.test
A lldb/test/Shell/Settings/TestFrameFormatFunctionScope.test
A lldb/test/Shell/Settings/TestFrameFormatFunctionScopeObjC.test
A lldb/test/Shell/Settings/TestFrameFormatFunctionTemplateArguments.test
A lldb/test/Shell/Settings/TestFrameFormatFunctionTemplateArgumentsObjC.test
M lldb/test/Shell/Settings/TestFrameFormatName.test
M lldb/tools/lldb-dap/DAP.cpp
M lldb/tools/lldb-dap/DAP.h
M lldb/tools/lldb-dap/Handler/AttachRequestHandler.cpp
M lldb/tools/lldb-dap/Handler/EvaluateRequestHandler.cpp
M lldb/tools/lldb-dap/Handler/InitializeRequestHandler.cpp
M lldb/tools/lldb-dap/Handler/LaunchRequestHandler.cpp
M lldb/tools/lldb-dap/Handler/RequestHandler.cpp
M lldb/tools/lldb-dap/Handler/RequestHandler.h
M lldb/tools/lldb-dap/Handler/RestartRequestHandler.cpp
M lldb/tools/lldb-dap/Handler/SourceRequestHandler.cpp
M lldb/tools/lldb-dap/Handler/StackTraceRequestHandler.cpp
M lldb/tools/lldb-dap/Handler/StepOutRequestHandler.cpp
M lldb/tools/lldb-dap/JSONUtils.cpp
M lldb/tools/lldb-dap/JSONUtils.h
M lldb/tools/lldb-dap/LLDBUtils.cpp
M lldb/tools/lldb-dap/LLDBUtils.h
M lldb/tools/lldb-dap/Protocol/ProtocolRequests.cpp
M lldb/tools/lldb-dap/Protocol/ProtocolRequests.h
M lldb/tools/lldb-server/lldb-platform.cpp
M lldb/unittests/Core/MangledTest.cpp
M lldb/unittests/Host/SocketTest.cpp
M lldb/unittests/Symbol/LineTableTest.cpp
M lldb/unittests/Symbol/LocateSymbolFileTest.cpp
M lldb/unittests/Symbol/SymtabTest.cpp
M llvm/CMakeLists.txt
M llvm/cmake/modules/AddLLVM.cmake
M llvm/docs/CMake.rst
M llvm/docs/CMakeLists.txt
M llvm/docs/GlobalISel/MIRPatterns.rst
M llvm/docs/HowToUpdateDebugInfo.rst
M llvm/docs/LangRef.rst
M llvm/docs/RISCVUsage.rst
M llvm/docs/ReleaseNotes.md
M llvm/docs/doxygen.cfg.in
M llvm/include/llvm-c/Core.h
M llvm/include/llvm/Analysis/DXILResource.h
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/include/llvm/CodeGen/MachineFrameInfo.h
M llvm/include/llvm/CodeGen/TargetFrameLowering.h
M llvm/include/llvm/Demangle/Demangle.h
M llvm/include/llvm/Demangle/ItaniumDemangle.h
M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h
M llvm/include/llvm/IR/DebugLoc.h
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/include/llvm/IR/IntrinsicsNVVM.td
M llvm/include/llvm/IR/IntrinsicsSPIRV.td
M llvm/include/llvm/IR/Module.h
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/include/llvm/Target/TargetMachine.h
M llvm/include/llvm/Target/TargetSelectionDAG.td
M llvm/lib/Analysis/DXILResource.cpp
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
M llvm/lib/CodeGen/MachineLICM.cpp
M llvm/lib/CodeGen/PrologEpilogInserter.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
M llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp
M llvm/lib/Demangle/ItaniumDemangle.cpp
M llvm/lib/IR/AutoUpgrade.cpp
M llvm/lib/IR/Core.cpp
M llvm/lib/IR/DebugInfo.cpp
M llvm/lib/IR/DebugLoc.cpp
M llvm/lib/IR/Instruction.cpp
M llvm/lib/IR/Verifier.cpp
M llvm/lib/Linker/IRMover.cpp
M llvm/lib/Target/AArch64/AArch64InstrAtomics.td
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/lib/Target/AArch64/SMEABIPass.cpp
M llvm/lib/Target/AArch64/Utils/AArch64SMEAttributes.cpp
M llvm/lib/Target/AArch64/Utils/AArch64SMEAttributes.h
M llvm/lib/Target/AMDGPU/AMDGPU.td
M llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
M llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
M llvm/lib/Target/AMDGPU/AMDGPUSplitModule.cpp
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/DSInstructions.td
M llvm/lib/Target/AMDGPU/FLATInstructions.td
M llvm/lib/Target/AMDGPU/GCNSubtarget.h
M llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
M llvm/lib/Target/AMDGPU/SIFrameLowering.h
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.h
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
M llvm/lib/Target/AMDGPU/SIRegisterInfo.h
M llvm/lib/Target/ARM/ARMInstrInfo.td
M llvm/lib/Target/ARM/ARMInstrThumb.td
M llvm/lib/Target/ARM/ARMInstrThumb2.td
M llvm/lib/Target/ARM/MVEGatherScatterLowering.cpp
M llvm/lib/Target/DirectX/DXContainerGlobals.cpp
M llvm/lib/Target/DirectX/DXILOpLowering.cpp
M llvm/lib/Target/DirectX/DXILPrettyPrinter.cpp
M llvm/lib/Target/DirectX/DXILResourceAccess.cpp
M llvm/lib/Target/DirectX/DXILRootSignature.cpp
M llvm/lib/Target/DirectX/DXILRootSignature.h
M llvm/lib/Target/DirectX/DXILShaderFlags.cpp
M llvm/lib/Target/DirectX/DXILTranslateMetadata.cpp
M llvm/lib/Target/Hexagon/HexagonPatterns.td
M llvm/lib/Target/Lanai/LanaiInstrInfo.td
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
M llvm/lib/Target/Mips/MicroMipsInstrInfo.td
M llvm/lib/Target/Mips/Mips64InstrInfo.td
M llvm/lib/Target/Mips/MipsFastISel.cpp
M llvm/lib/Target/Mips/MipsInstrInfo.td
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
M llvm/lib/Target/PowerPC/PPCInstrInfo.td
M llvm/lib/Target/PowerPC/PPCInstrP10.td
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/lib/Target/RISCV/RISCVGISel.td
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.h
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoXRivos.td
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
M llvm/lib/Target/Sparc/SparcInstrInfo.td
M llvm/lib/Target/VE/VEInstrInfo.td
M llvm/lib/Target/WebAssembly/WebAssemblyInstrAtomics.td
M llvm/lib/Target/X86/X86InstrConditionalCompare.td
M llvm/lib/Target/X86/X86InstrInfo.cpp
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
M llvm/lib/Transforms/Scalar/Sink.cpp
M llvm/lib/Transforms/Utils/BypassSlowDivision.cpp
M llvm/lib/Transforms/Utils/Debugify.cpp
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/lib/Transforms/Vectorize/VPlanUnroll.cpp
M llvm/lib/Transforms/Vectorize/VPlanUtils.h
M llvm/test/Assembler/amdgcn-intrinsic-attributes.ll
M llvm/test/Assembler/auto_upgrade_nvvm_intrinsics.ll
M llvm/test/Bindings/llvm-c/echo.ll
A llvm/test/CodeGen/AArch64/nofpclass.ll
A llvm/test/CodeGen/AArch64/sme-new-zt0-function.ll
M llvm/test/CodeGen/AArch64/sme-zt0-state.ll
M llvm/test/CodeGen/AArch64/sub1.ll
A llvm/test/CodeGen/AMDGPU/pei-vgpr-block-spill-csr.mir
A llvm/test/CodeGen/AMDGPU/spill-vgpr-block.ll
A llvm/test/CodeGen/AMDGPU/vgpr-blocks-funcinfo.mir
R llvm/test/CodeGen/DirectX/ContainerData/RootSignature-Flags-Validation-Error.ll
M llvm/test/CodeGen/DirectX/ContainerData/RootSignature-Flags.ll
M llvm/test/CodeGen/DirectX/ContainerData/RootSignature-MultipleEntryFunctions.ll
A llvm/test/CodeGen/DirectX/ContainerData/RootSignature-Parameters-Validation-Error.ll
A llvm/test/CodeGen/DirectX/ContainerData/RootSignature-Parameters.ll
A llvm/test/CodeGen/DirectX/ContainerData/RootSignature-RootConstants-Invalid-Num32BitValues.ll
A llvm/test/CodeGen/DirectX/ContainerData/RootSignature-RootConstants-Invalid-RegisterSpace.ll
A llvm/test/CodeGen/DirectX/ContainerData/RootSignature-RootConstants-Invalid-ShaderRegister.ll
A llvm/test/CodeGen/DirectX/ContainerData/RootSignature-RootConstants.ll
A llvm/test/CodeGen/DirectX/ContainerData/RootSignature-RootFlags-VisibilityValidationError.ll
M llvm/test/CodeGen/DirectX/ResourceAccess/load_typedbuffer.ll
R llvm/test/CodeGen/DirectX/ShaderFlags/max-64-uavs-array-sm6_5.ll
R llvm/test/CodeGen/DirectX/ShaderFlags/max-64-uavs-array-sm6_6.ll
A llvm/test/CodeGen/DirectX/ShaderFlags/max-64-uavs-array-valver1.5.ll
A 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-0.ll
R llvm/test/CodeGen/DirectX/ShaderFlags/res-may-not-alias-shadermodel6.6.ll
R llvm/test/CodeGen/DirectX/ShaderFlags/res-may-not-alias-shadermodel6.7.ll
R llvm/test/CodeGen/DirectX/ShaderFlags/res-may-not-alias-shadermodel6.8.ll
A llvm/test/CodeGen/DirectX/ShaderFlags/res-may-not-alias-sm6.6.ll
A llvm/test/CodeGen/DirectX/ShaderFlags/res-may-not-alias-sm6.7.ll
A llvm/test/CodeGen/DirectX/ShaderFlags/res-may-not-alias-valver1.8.ll
A llvm/test/CodeGen/DirectX/ShaderFlags/use-native-low-precision-0.ll
A llvm/test/CodeGen/DirectX/ShaderFlags/use-native-low-precision-1.ll
R llvm/test/CodeGen/DirectX/ShaderFlags/use-native-low-precision.ll
M llvm/test/CodeGen/DirectX/llc-pipeline.ll
A llvm/test/CodeGen/Mips/Fast-ISel/div-imm.ll
A llvm/test/CodeGen/Mips/nofpclass.ll
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/CodeGen/RISCV/features-info.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-extract.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-insert.ll
M llvm/test/CodeGen/RISCV/rvv/vector-deinterleave.ll
M llvm/test/CodeGen/RISCV/rvv/vector-interleave.ll
A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/faceforward.ll
A llvm/test/CodeGen/SystemZ/pr122315.ll
M llvm/test/CodeGen/X86/apx/ccmp.ll
R llvm/test/CodeGen/X86/apx/optimize-compare-ccmp.mir
A llvm/test/CodeGen/X86/isel-fp-to-sint-x87.ll
A llvm/test/CodeGen/X86/isel-sint-to-fp-x87.ll
M llvm/test/CodeGen/X86/optimize-compare.mir
M llvm/test/CodeGen/X86/vector-shuffle-combining-ssse3.ll
M llvm/test/MC/RISCV/attribute-arch.s
M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-cxx.td
M llvm/test/TableGen/GlobalISelCombinerEmitter/pattern-errors.td
M llvm/test/TableGen/GlobalISelCombinerEmitter/pattern-parsing.td
M llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-simplify-binop.ll
M llvm/test/Transforms/InstCombine/AMDGPU/llvm.amdgcn.wavefrontsize.ll
M llvm/test/Transforms/InstCombine/and-xor-or.ll
M llvm/test/Transforms/InstCombine/ptrtoint-nullgep.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-runtime-check-size-based-threshold.ll
M llvm/test/Transforms/LoopVectorize/AArch64/vplan-printing.ll
M llvm/test/Transforms/LoopVectorize/RISCV/vplan-vp-intrinsics-reduction.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-chains-vplan.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-sink-replicate-region.ll
M llvm/test/Transforms/LoopVectorize/interleave-and-scalarize-only.ll
A llvm/test/Transforms/LoopVectorize/minimumnum-maximumnum-reductions.ll
M llvm/test/Transforms/LoopVectorize/vplan-printing-reductions.ll
M llvm/test/Transforms/LoopVectorize/vplan-printing.ll
M llvm/test/Verifier/sme-attributes.ll
M llvm/test/tools/llvm-split/AMDGPU/address-taken-externalize-with-call.ll
M llvm/test/tools/llvm-split/AMDGPU/large-kernels-merging-weak_odr.ll
M llvm/test/tools/llvm-split/AMDGPU/large-kernels-merging.ll
A llvm/test/tools/llvm-split/AMDGPU/preserve-globals.ll
M llvm/tools/llvm-c-test/echo.cpp
M llvm/tools/llvm-config/BuildVariables.inc.in
M llvm/tools/llvm-config/CMakeLists.txt
M llvm/tools/llvm-config/llvm-config.cpp
M llvm/tools/llvm-shlib/CMakeLists.txt
M llvm/tools/opt/optdriver.cpp
M llvm/unittests/Target/AArch64/SMEAttributesTest.cpp
M llvm/unittests/Target/AMDGPU/CMakeLists.txt
A llvm/unittests/Target/AMDGPU/LiveRegUnits.cpp
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
M llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp
M llvm/utils/git/github-automation.py
M llvm/utils/release/build-docs.sh
M mlir/docs/CMakeLists.txt
M mlir/docs/doxygen.cfg.in
M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMDialect.td
M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
M mlir/include/mlir/Dialect/Tosa/IR/TosaTypesBase.td
M mlir/include/mlir/Dialect/Utils/ReshapeOpsUtils.h
M mlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMAttrs.cpp
M mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp
M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
M mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp
M mlir/lib/Dialect/Utils/ReshapeOpsUtils.cpp
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
M mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp
M mlir/lib/Target/LLVMIR/ModuleImport.cpp
M mlir/lib/Transforms/CSE.cpp
M mlir/test/Conversion/GPUToROCDL/gpu-to-rocdl.mlir
M mlir/test/Dialect/LLVMIR/invalid.mlir
M mlir/test/Dialect/LLVMIR/module-roundtrip.mlir
M mlir/test/Dialect/Linalg/fuse-with-reshape-by-collapsing.mlir
M mlir/test/Dialect/OpenMP/invalid.mlir
M mlir/test/Dialect/OpenMP/ops.mlir
M mlir/test/Dialect/Tosa/availability.mlir
M mlir/test/Dialect/Tosa/error_if_check.mlir
M mlir/test/Dialect/Tosa/invalid.mlir
M mlir/test/Dialect/Tosa/invalid_extension.mlir
M mlir/test/Dialect/Tosa/ops.mlir
M mlir/test/Dialect/Tosa/profile_pro_fp_unsupported.mlir
M mlir/test/Dialect/Tosa/profile_pro_int_unsupported.mlir
M mlir/test/Dialect/Tosa/tosa-infer-shapes.mlir
M mlir/test/Dialect/Tosa/verifier.mlir
M mlir/test/Dialect/Vector/invalid.mlir
M mlir/test/Target/LLVMIR/Import/module-flags.ll
M mlir/test/Target/LLVMIR/llvmir.mlir
M mlir/utils/generate-test-checks.py
M offload/DeviceRTL/CMakeLists.txt
M openmp/docs/CMakeLists.txt
M openmp/docs/doxygen.cfg.in
M openmp/runtime/doc/doxygen/config
M openmp/runtime/src/kmp_taskdeps.cpp
M openmp/runtime/src/kmp_tasking.cpp
A openmp/runtime/test/tasking/omp_record_replay_deps_multi_succ.cpp
M polly/docs/CMakeLists.txt
M polly/docs/doxygen.cfg.in
M utils/bazel/llvm-project-overlay/lldb/BUILD.bazel
M utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
Merge branch 'main' of https://github.com/llvm/llvm-project into resource-binding-analysis
Commit: c718763b4343390c50f7179cc1abc3fefe260dfd
https://github.com/llvm/llvm-project/commit/c718763b4343390c50f7179cc1abc3fefe260dfd
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/include/llvm/Analysis/DXILResource.h
M llvm/include/llvm/InitializePasses.h
M llvm/lib/Analysis/Analysis.cpp
M llvm/lib/Analysis/DXILResource.cpp
Log Message:
-----------
Add wrapper pass
Compare: https://github.com/llvm/llvm-project/compare/d5685ecc1329...c718763b4343
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