[all-commits] [llvm/llvm-project] b78883: [mlir][intrange] Fix inference of zero-trip loop b...
Mingming Liu via All-commits
all-commits at lists.llvm.org
Wed Jun 26 17:56:42 PDT 2024
Branch: refs/heads/users/minglotus-6/spr/icpass
Home: https://github.com/llvm/llvm-project
Commit: b78883fc6db7ca0780ee287267f4c133a3b38201
https://github.com/llvm/llvm-project/commit/b78883fc6db7ca0780ee287267f4c133a3b38201
Author: Felix Schneider <fx.schn at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/lib/Analysis/DataFlow/IntegerRangeAnalysis.cpp
M mlir/test/Dialect/Arith/int-range-interface.mlir
Log Message:
-----------
[mlir][intrange] Fix inference of zero-trip loop bound (#96429)
When lower bound and exclusive upper bound of a loop are the same, and
the zero-trip loop is not canonicalized away before the analysis, this
leads to a meaningless range for the induction variable being inferred.
This patch adds a check to make sure that the inferred range for the IV
is meaningful before updating the analysis state.
Fix https://github.com/llvm/llvm-project/issues/94423
Commit: 79b0966f2f137869cabab42d094fc1ccbb58373c
https://github.com/llvm/llvm-project/commit/79b0966f2f137869cabab42d094fc1ccbb58373c
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/AST/DeclID.h
M clang/lib/Serialization/ASTReader.cpp
Log Message:
-----------
[NFC] [Serialization] Refactor getLocalDeclID to 'LocalDeclID::get'
I just realized that the name `getLocalDeclID` looks like an member
function in ASTReader. It looks not good. So I decided to refactor this
into a static member function in LocalDeclID.
Commit: 9e8ccf6b6410a598f94d2ce4c29d753b8609c907
https://github.com/llvm/llvm-project/commit/9e8ccf6b6410a598f94d2ce4c29d753b8609c907
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/lib/Conversion/FuncToLLVM/FuncToLLVM.cpp
M mlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp
M mlir/lib/Conversion/LLVMCommon/TypeConverter.cpp
Log Message:
-----------
[mlir][Conversion] `FuncToLLVM`: Simplify bare-pointer handling (#96393)
Before this commit, there used to be a workaround in the
`func.func`/`gpu.func` op lowering when the bare-pointer calling
convention is enabled. This workaround "patched up" the argument
materializations for memref arguments. This can be done directly in the
argument materialization functions (as the TODOs in the code base
indicate).
This commit effectively reverts back to the old implementation
(a664c14001fa2359604527084c91d0864aa131a4) and adds additional checks to
make sure that bare pointers are used only for function entry block
arguments.
Commit: 1c025fb02d0fa15b76ca816d8414d532a687ebeb
https://github.com/llvm/llvm-project/commit/1c025fb02d0fa15b76ca816d8414d532a687ebeb
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
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/address-taken-externalize.ll
A llvm/test/tools/llvm-split/AMDGPU/debug-non-kernel-root.ll
M llvm/test/tools/llvm-split/AMDGPU/large-kernels-merging.ll
A llvm/test/tools/llvm-split/AMDGPU/non-kernels-dependencies.ll
A llvm/test/tools/llvm-split/AMDGPU/non-kernels-dependency-indirect.ll
Log Message:
-----------
[AMDGPU][SplitModule] Allow non-kernels to be treated as roots (#95902)
I initially assumed only kernels could be roots, but that is wrong. A
function with no callers also needs to be a root to ensure it is
correctly handled.
They're very rare because we usually internalize everything, and
internal functions with no callers would be deleted.
When they are present, we need to also consider their dependencies and
act accordingly. Previously, we could put a function "by default" in P0,
but it could call another function with internal linkage defined in
another module which was of course incorrect.
Fixes SWDEV-467695
Commit: 599ca7165edcf7d226bd658c450801044b46ce7c
https://github.com/llvm/llvm-project/commit/599ca7165edcf7d226bd658c450801044b46ce7c
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/include/lldb/lldb-private-enumerations.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
M lldb/source/Symbol/Type.cpp
M lldb/test/Shell/SymbolFile/DWARF/clang-gmodules-type-lookup.c
M lldb/test/Shell/SymbolFile/DWARF/x86/compilercontext.ll
M lldb/test/Shell/SymbolFile/DWARF/x86/find-basic-function.cpp
M lldb/test/Shell/SymbolFile/DWARF/x86/module-ownership.mm
M lldb/tools/lldb-test/lldb-test.cpp
M lldb/unittests/Symbol/TestType.cpp
M lldb/unittests/SymbolFile/DWARF/DWARFDIETest.cpp
Log Message:
-----------
[lldb] Merge CompilerContextKind::{Class,Struct} (#96145)
Our dwarf parsing code treats structures and classes as interchangable.
CompilerContextKind is used when looking DIEs for types. This makes sure
we always they're treated the same way.
See also
[#95905#discussion_r1645686628](https://github.com/llvm/llvm-project/pull/95905#discussion_r1645686628).
Commit: c43d5f540fd43409e7997c9fec97a1d415855b7c
https://github.com/llvm/llvm-project/commit/c43d5f540fd43409e7997c9fec97a1d415855b7c
Author: Balázs Kéri <balazs.keri at ericsson.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/PointerSubChecker.cpp
M clang/test/Analysis/casts.c
A clang/test/Analysis/pointer-sub-notes.c
M clang/test/Analysis/pointer-sub.c
Log Message:
-----------
[clang][analyzer] Add notes to PointerSubChecker (#95899)
Notes are added to indicate the array declarations of the arrays in a
found invalid pointer subtraction.
Commit: c2fc7f75f67039bb1ed577bc0edbd699a850cd9d
https://github.com/llvm/llvm-project/commit/c2fc7f75f67039bb1ed577bc0edbd699a850cd9d
Author: vg0204 <Vikash.Gupta at amd.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
M llvm/test/CodeGen/AMDGPU/preserve-wwm-copy-dst-reg.ll
M llvm/test/CodeGen/AMDGPU/sgpr-regalloc-flags.ll
M llvm/test/CodeGen/AMDGPU/si-lower-sgpr-spills-vgpr-lanes-usage.mir
M llvm/test/CodeGen/AMDGPU/spill-scavenge-offset.ll
Log Message:
-----------
Revert "[AMDGPU]Optimize SGPR spills (#93668)"
This reverts commit 4b9112e88a998ce620e4683548f2afd17cc5fe95. A separate
issue(#96353) describing it has been opened to further keep its track.
Commit: f0c674f680e3e3301c7ccd429400690b128172c5
https://github.com/llvm/llvm-project/commit/f0c674f680e3e3301c7ccd429400690b128172c5
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
A llvm/test/Transforms/LoopVectorize/RISCV/only-compute-cost-for-vplan-vfs.ll
Log Message:
-----------
[LV] Add test showing cost is computed when there are no vector plans.
Add test showing unnecessary cost computations, as no vector VPlans are
generated.
Commit: 45a7af7c993f66044a8492dce1d073380feafffc
https://github.com/llvm/llvm-project/commit/45a7af7c993f66044a8492dce1d073380feafffc
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Basic/Targets/X86.cpp
M clang/test/Driver/x86-target-features.c
M clang/test/Preprocessor/x86_target_features.c
Log Message:
-----------
[X86][Driver] Enable feature cf for -mapxf
This is follow-up for #78901 after validation.
Commit: 9931ee61d99c101db653ae21706f1edce4b39781
https://github.com/llvm/llvm-project/commit/9931ee61d99c101db653ae21706f1edce4b39781
Author: Cullen Rhodes <cullen.rhodes at arm.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/LowerVectorGather.cpp
M mlir/test/Dialect/Vector/vector-gather-lowering.mlir
Log Message:
-----------
[mlir][vector] Fix FlattenGather for scalable vectors (#96074)
This pattern flattens vector.gather ops by unrolling the outermost
dimension for rank > 2 vectors. There's two issues with this pattern for
scalable vectors:
1. The unrolling doesn't take vscale into account. A constraint is
added to disable this pattern for vectors with leading scalable
dims.
2. The scalable dims are dropped when creating the new gather. Fixed
by propagating the flags.
Depends on #96049.
Commit: abf5969f76c6b4196b08fe5ea9c2890e97a61357
https://github.com/llvm/llvm-project/commit/abf5969f76c6b4196b08fe5ea9c2890e97a61357
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/RISCV/only-compute-cost-for-vplan-vfs.ll
Log Message:
-----------
[VPlan] Don't compute costs if there are no vector VPlans.
In some cases, no vector VPlans can be constructed due to failing VPlan
legality checks (e.g. unable to perform sinking for first order
recurrences or plans being incompatible with EVL).
There's no need to compute costs in those cases, so check directly if
there are no vector plans.
Commit: 957dc4366dd2ce9d5d2991c3ad76bbf438e9954e
https://github.com/llvm/llvm-project/commit/957dc4366dd2ce9d5d2991c3ad76bbf438e9954e
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/PassInstrumentation.h
M llvm/include/llvm/Passes/TargetPassRegistry.inc
M llvm/include/llvm/Target/TargetMachine.h
M llvm/lib/IR/PassInstrumentation.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.h
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
M llvm/lib/Target/BPF/BPFTargetMachine.cpp
M llvm/lib/Target/BPF/BPFTargetMachine.h
M llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
M llvm/lib/Target/Hexagon/HexagonTargetMachine.h
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.h
M llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
M llvm/lib/Target/X86/X86TargetMachine.h
Log Message:
-----------
[IR] Lazily initialize the class to pass name mapping (NFC) (#96321)
Initializing this map is somewhat expensive (especially for O0), so we
currently only do it if certain flags are used. I would like to make use
of it for crash dumps (#96078), where we don't know in advance whether
it will be needed or not.
This patch changes the initialization to a lazy approach, where a
callback is registered that does the actual initialization. The
callbacks will be run the first time the pass name is requested.
This way there is no compile-time impact if the mapping is not used.
Commit: 57f79371a5c08e1328e85b68b757cd5547f2bf62
https://github.com/llvm/llvm-project/commit/57f79371a5c08e1328e85b68b757cd5547f2bf62
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
M llvm/lib/Target/SPIRV/SPIRVCommandLine.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
M llvm/lib/Target/SPIRV/SPIRVInstrInfo.td
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
M llvm/lib/Target/SPIRV/SPIRVSymbolicOperands.td
A llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_cooperative_matrix/cooperative_matrix.ll
A llvm/test/CodeGen/SPIRV/transcoding/OpPtrCastToGeneric.ll
Log Message:
-----------
[SPIR-V]: Add SPIR-V extension: SPV_KHR_cooperative_matrix (#96091)
This PR adds SPIR-V extension SPV_KHR_cooperative_matrix that "adds a
new set of types known as "cooperative matrix" types, where the storage
for and computations performed on the matrix are spread across a set of
invocations such as a subgroup" (see
https://github.com/KhronosGroup/SPIRV-Registry/blob/main/extensions/KHR/SPV_KHR_cooperative_matrix.asciidoc).
This PR also fixes https://github.com/llvm/llvm-project/issues/96170, a
new test cases is attached
(llvm/test/CodeGen/SPIRV/transcoding/OpPtrCastToGeneric.ll).
Commit: 790f931886a03324714f31a626eef7e9c609ae97
https://github.com/llvm/llvm-project/commit/790f931886a03324714f31a626eef7e9c609ae97
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/AST/ASTContext.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaLookup.cpp
M clang/lib/Sema/SemaModule.cpp
Log Message:
-----------
[NFC] [Modules] Extract the logic to decide whether the module units belongs to the same module
This patch extracts the logci to decide how we decide the module units
belongs to the same module into a member function of ASTContext. This is
helpful to refactor the implementation in the future.
Commit: e7137f2fed5cfee822ae3c4c6d39188adb59a16c
https://github.com/llvm/llvm-project/commit/e7137f2fed5cfee822ae3c4c6d39188adb59a16c
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/include/llvm/Passes/TargetPassRegistry.inc
Log Message:
-----------
[Passes] Try to fix build on windows
Some passes reference *this (inside decltype) which fails with
MSVC. Fix this by not explicitly specifying the captures (otherwise
we would get an unused lambda capture warning for cases where this
is *not* used).
Commit: 6eaf204dbb0a6a81cddfd02f625c130f7bb1aae5
https://github.com/llvm/llvm-project/commit/6eaf204dbb0a6a81cddfd02f625c130f7bb1aae5
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
M llvm/lib/Target/DirectX/DirectXTargetMachine.h
Log Message:
-----------
[DirectX] Fix DirectXTargetMachine after #96321
Commit: 33676ba543737f8e286e28a9cae81a848bdd3f09
https://github.com/llvm/llvm-project/commit/33676ba543737f8e286e28a9cae81a848bdd3f09
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeEmitter.h
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/lib/AST/Interp/EvalEmitter.h
M clang/test/AST/Interp/c.c
Log Message:
-----------
[clang][Interp] Fix variable initialization in inactive regions
When the EvalEmitter is inactive, it will simply not evaluate
any of the operations we emit via emit*. However, it will still
allocate variables. So the variables will be allocated, but we
won't evaluate their initializer, so later when we see the variable
again, it is uninitialized.
Stop creating variables in that case.
Commit: 73cf014223fed1947f725f7debcf19b8f54448b5
https://github.com/llvm/llvm-project/commit/73cf014223fed1947f725f7debcf19b8f54448b5
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M flang/include/flang/Evaluate/characteristics.h
M flang/include/flang/Evaluate/shape.h
M flang/lib/Evaluate/characteristics.cpp
M flang/lib/Evaluate/check-expression.cpp
M flang/lib/Evaluate/shape.cpp
M flang/lib/Lower/CallInterface.cpp
M flang/lib/Semantics/check-call.cpp
M flang/lib/Semantics/check-declarations.cpp
M flang/lib/Semantics/pointer-assignment.cpp
M flang/lib/Semantics/runtime-type-info.cpp
M flang/test/Evaluate/rewrite06.f90
Log Message:
-----------
[flang] harden TypeAndShape for assumed-ranks (#96234)
SIZEOF and C_SIZEOF were broken for assumed-ranks because
`TypeAndShape::MeasureSizeInBytes` behaved as a scalar because the
`TypeAndShape::shape_` member was the same for scalar and assumed-ranks.
The easy fix would have been to add special handling in
`MeasureSizeInBytes` for assumed-ranks using the TypeAndShape
attributes, but I think this solution would leave `TypeAndShape::shape_`
manipulation fragile to future developers. Hence, I went for the
solution that turn shape_ into a `std::optional<Shape>`.
Commit: e5a41f0afc152cc24b8fef3aa177ef53b2e77c43
https://github.com/llvm/llvm-project/commit/e5a41f0afc152cc24b8fef3aa177ef53b2e77c43
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/PassInstrumentation.h
M llvm/include/llvm/Passes/TargetPassRegistry.inc
M llvm/include/llvm/Target/TargetMachine.h
M llvm/lib/IR/PassInstrumentation.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.h
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
M llvm/lib/Target/BPF/BPFTargetMachine.cpp
M llvm/lib/Target/BPF/BPFTargetMachine.h
M llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
M llvm/lib/Target/DirectX/DirectXTargetMachine.h
M llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
M llvm/lib/Target/Hexagon/HexagonTargetMachine.h
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.h
M llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
M llvm/lib/Target/X86/X86TargetMachine.h
Log Message:
-----------
Revert "[IR] Lazily initialize the class to pass name mapping (NFC) (#96321)"
My attempt to fix the Windows build made things worse,
revert entirely for now.
This reverts commit e7137f2fed5cfee822ae3c4c6d39188adb59a16c.
This reverts commit 6eaf204dbb0a6a81cddfd02f625c130f7bb1aae5.
This reverts commit 957dc4366dd2ce9d5d2991c3ad76bbf438e9954e.
Commit: 64796044f4152c49e4b3c797390a83dcfd33bd46
https://github.com/llvm/llvm-project/commit/64796044f4152c49e4b3c797390a83dcfd33bd46
Author: Tim Creech <timothy.m.creech at intel.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M libclc/CMakeLists.txt
M libclc/cmake/modules/AddLibclc.cmake
Log Message:
-----------
[CMake][libclc] Improve dependencies to avoid build errors (#95018)
With the Makefile generator and particularly high build parallelism some
intermediate dependencies may be generated redundantly and concurrently,
leading to build failures.
To fix this, arrange for libclc's add_custom_commands to depend on
targets in addition to files.
This follows CMake documentation's[^1] guidance on add_custom_command:
> Do not list the output in more than one independent target that may
> build in parallel or the instances of the rule may conflict. Instead,
> use the add_custom_target() command to drive the command and make the
> other targets depend on that one.
Eliminating the redundant commands also improves build times.
[^1]: https://cmake.org/cmake/help/v3.29/command/add_custom_command.html
Commit: 090e0c4f50ec39df2beafd98d0556f23e82f4bcd
https://github.com/llvm/llvm-project/commit/090e0c4f50ec39df2beafd98d0556f23e82f4bcd
Author: Ben Shi <2283975856 at qq.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/AVR/AVRInstrInfo.td
Log Message:
-----------
[AVR][NFC] Improve format of target description files (#96449)
Commit: 2232881736f1a7e3e94ee1123dea1b6cd85a9c3a
https://github.com/llvm/llvm-project/commit/2232881736f1a7e3e94ee1123dea1b6cd85a9c3a
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/AST/ASTContext.h
M clang/lib/AST/ASTContext.cpp
Log Message:
-----------
[C++20] [Modules] Avoid comparing primary module name to decide isInSameModule all the time
Previously, we decide if two module units are in the same module by
comparing name of the primary module interface. But it looks not
efficiency if we always compare the strings. It should be good to
avoid the expensive string operations if possible.
In this patch, we introduced a `llvm::StringMap` to map primary module
name to a Module* and a `llvm::DenseMap<Module*, Module*>` to map a
Module* to a representative Module *. The representative Module* is one
of the Module units belonging to a certain module. The module units have the
same representative Module* should belong to the same module.
We choose the representative Module* by the first module lookup for a
certain primary module name. So the following module units have the same
primary module name would get the same representative modules. So that
for every modules, there will be only one hash process for the primary
module name.
Commit: 3b6462c5b5b38c2f329a2bf97734196610cb4a35
https://github.com/llvm/llvm-project/commit/3b6462c5b5b38c2f329a2bf97734196610cb4a35
Author: Adrian Kuegel <akuegel at google.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Mesh/Interfaces/ShardingInterface.cpp
Log Message:
-----------
[mlir] Apply ClangTidy fixes
Prefer to check .empty() instead of .size() == 0
Commit: 2151ba036213705346553e759fc4e095547989d1
https://github.com/llvm/llvm-project/commit/2151ba036213705346553e759fc4e095547989d1
Author: A. Jiang <de34 at live.cn>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/www/cxx_status.html
Log Message:
-----------
[Docs][Clang] Missing DR status for C++23-era papers in cxx_status.html (#68846)
List the following C++23-era WG21 papers as Defect Reports in
cxx_status.html as per WG21 meeting minutes.
- [P1949R7](https://wg21.link/p1949r7) (C++ Identifier Syntax using
Unicode Standard Annex 31)
- [P2156R1](https://wg21.link/p2156r1) (Allow Duplicate Attributes)
- [P2036R3](https://wg21.link/p2036r3) (Change scope of lambda
_trailing-return-type_)
- [P2468R2](https://wg21.link/p2468r2) (The Equality Operator You Are
Looking For)
- [P2327R1](https://wg21.link/p2327r1) (De-deprecating `volatile`
compound operations)
- [P2493R0](https://wg21.link/p2493r0) (Missing feature test macros for
C++20 core papers)
- [P2513R3](https://wg21.link/p2513r3) (`char8_t` Compatibility and
Portability Fix)
- [P2460R2](https://wg21.link/p2460r2) (Relax requirements on `wchar_t`
to match existing practices)
- [P2579R0](https://wg21.link/p2579r0) (Mitigation strategies for
[P2036](https://wg21.link/p2036) ”Changing scope for lambda
_trailing-return-type_”)
Commit: 137a7451f458cf7d8e1d88df93dbd8da6888886d
https://github.com/llvm/llvm-project/commit/137a7451f458cf7d8e1d88df93dbd8da6888886d
Author: Mubashar Ahmad <mubashar.ahmad at arm.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp
M mlir/test/Dialect/Vector/vector-rewrite-narrow-types.mlir
Log Message:
-----------
[mlir][vector] Support n-D vectors in i8 to i4 trunci emulation (#94946)
Previously, this only supported 1-D vectors via vector.shuffle, with
the new vector.deinterleave this can be updated to support n-D vectors.
Commit: b0bc2f691254adae7042052b8aff6aa728fd6a2d
https://github.com/llvm/llvm-project/commit/b0bc2f691254adae7042052b8aff6aa728fd6a2d
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Target/LLVMIR/openmp-private.mlir
Log Message:
-----------
[OpenMP][LLVM] Fix access to reduction args of `omp.parallel`. (#96426)
Fix for Fujitsu test suite test: 0275_0032.f90. The MLIR to LLVM
translation logic assumed that reduction arguments to an `omp.parallel`
op are always the last set of arguments to the op. However, this is a
wrong assumption since private args come afterward.
Commit: f8ff9094711b74d3f695f7571f6390f8a481fc52
https://github.com/llvm/llvm-project/commit/f8ff9094711b74d3f695f7571f6390f8a481fc52
Author: Guray Ozen <guray.ozen at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/include/mlir-c/Dialect/GPU.h
M mlir/lib/Bindings/Python/DialectGPU.cpp
M mlir/lib/CAPI/Dialect/GPU.cpp
M mlir/test/Examples/NVGPU/Ch1.py
M mlir/test/Examples/NVGPU/Ch2.py
M mlir/test/Examples/NVGPU/Ch3.py
M mlir/test/Examples/NVGPU/Ch4.py
M mlir/test/Examples/NVGPU/Ch5.py
M mlir/test/Integration/GPU/CUDA/sm90/python/tools/matmulBuilder.py
Log Message:
-----------
[mlir][gpu] Add py binding for AsyncTokenType (#96466)
The PR adds py binding for `AsyncTokenType`
Commit: dfbfb6c5c6dba8a25c7a9769e969d56ba19fc14d
https://github.com/llvm/llvm-project/commit/dfbfb6c5c6dba8a25c7a9769e969d56ba19fc14d
Author: Ilya Biryukov <ibiryukov at google.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/Basic/SourceManager.h
M clang/lib/Basic/SourceManager.cpp
Log Message:
-----------
[SourceManager] Expose max usage of source location space as a Statistic (#96292)
We have been running into source location exhaustion recently and want
to use the statistics to monitor the usage in various files to be able
to anticipate where the next problem will happen.
I picked `Statistic` because it can be written into a structured JSON
file and is easier to consume by further automation.
This commit does not change any existing per-source-manager metrics
exposed via `SourceManager::PrintStats()`. This does create some
redundancy, but I also expect to be non-controversial because it aligns
with the intended use of `Statistic`.
Commit: 738533c84aeb56fff94b19c71714f54ae91c3670
https://github.com/llvm/llvm-project/commit/738533c84aeb56fff94b19c71714f54ae91c3670
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
M llvm/test/Transforms/LoopVectorize/AArch64/sme-vectorize.ll
Log Message:
-----------
[AArch64] Consider streaming mode in TTI interfaces for vectorization. (#96305)
At the moment, vectorization is only enabled in streaming(-compatible)
mode when enabled through an option. But the interfaces should check
more than just 'hasSVE()', because a function with +sme in streaming
mode should also vectorize with the option enabled.
Additionally, a streaming-compatible function should only be able to use
fixed-length autovec if SVE is available, otherwise the vector code will
be scalarised by the backend.
Commit: 1b64ed0e0c7fde1b65d55bfb7954beadc0f60e28
https://github.com/llvm/llvm-project/commit/1b64ed0e0c7fde1b65d55bfb7954beadc0f60e28
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/ArmSME/Transforms/Passes.td
M mlir/lib/Dialect/ArmSME/Transforms/EnableArmStreaming.cpp
M mlir/test/Dialect/ArmSME/enable-arm-streaming-invalid.mlir
M mlir/test/Dialect/ArmSME/enable-arm-streaming.mlir
Log Message:
-----------
[mlir][ArmSME] Disallow streaming mode for gathers/scatters (#96209)
Ideally, this would be based on target information (but we don't really
have that), so this currently errs on the side of caution. If possible
gathers/scatters should be lowered regular vector loads/stores before
using invoking enable-arm-streaming.
Commit: fd5a177ccb56ec2dbe1a313db54072f450aa1c29
https://github.com/llvm/llvm-project/commit/fd5a177ccb56ec2dbe1a313db54072f450aa1c29
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
R llvm/test/CodeGen/X86/clz.ll
A llvm/test/CodeGen/X86/ctlz.ll
Log Message:
-----------
[X86] Rename clz.ll -> ctlz.ll to match the intrinsic naming
I'll be splitting the ctlz/cttz tests into separate test files shortly
Commit: 145f36c2aa4ec9c4dc02699579c10e754a797997
https://github.com/llvm/llvm-project/commit/145f36c2aa4ec9c4dc02699579c10e754a797997
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/ctlz.ll
A llvm/test/CodeGen/X86/cttz.ll
Log Message:
-----------
[X86] Split scalar ctlz/cttz tests into their own files
Commit: 53e577add0fb25e335d73376a906da7321182261
https://github.com/llvm/llvm-project/commit/53e577add0fb25e335d73376a906da7321182261
Author: Thomas Preud'homme <thomas.preudhomme at arm.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/Utils/Utils.h
Log Message:
-----------
Remove reference to removed method. (#96315)
Methodes were removed in dc37dc824aabbbe3d029519f43f0b348dcad7027.
Commit: 5a997c1d83845cd891c1e4662cb7ddb02c1eaecc
https://github.com/llvm/llvm-project/commit/5a997c1d83845cd891c1e4662cb7ddb02c1eaecc
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
A llvm/test/CodeGen/X86/ctlo.ll
Log Message:
-----------
[X86] Add count leading ones test coverage based on #96455
Commit: f03cb005eb4ba3c6fb645aca2228e907db8cd452
https://github.com/llvm/llvm-project/commit/f03cb005eb4ba3c6fb645aca2228e907db8cd452
Author: Doug Wyatt <doug at sonosphere.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/AbstractBasicReader.h
M clang/include/clang/AST/AbstractBasicWriter.h
M clang/include/clang/AST/Decl.h
M clang/include/clang/AST/PropertiesBase.td
M clang/include/clang/AST/Type.h
M clang/include/clang/AST/TypeProperties.td
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Sema/Sema.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/Type.cpp
M clang/lib/AST/TypePrinter.cpp
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Sema/SemaOverload.cpp
M clang/lib/Sema/SemaType.cpp
M clang/lib/Sema/TreeTransform.h
A clang/test/Sema/attr-nonblocking-sema.c
A clang/test/Sema/attr-nonblocking-sema.cpp
A clang/test/Sema/attr-nonblocking-syntax.cpp
Log Message:
-----------
[Clang] Introduce `nonblocking`/`nonallocating` attributes (#84983)
Introduce `nonblocking` and `nonallocating` attributes. RFC is here:
https://discourse.llvm.org/t/rfc-nolock-and-noalloc-attributes/76837
This PR introduces the attributes, with some changes in Sema to deal
with them as extensions to function (proto)types.
There are some basic type checks, most importantly, a warning when
trying to spoof the attribute (implicitly convert a function without the
attribute to one that has it).
A second, follow-on pull request will introduce new caller/callee
verification.
---------
Co-authored-by: Doug Wyatt <dwyatt at apple.com>
Co-authored-by: Shafik Yaghmour <shafik.yaghmour at intel.com>
Co-authored-by: Aaron Ballman <aaron at aaronballman.com>
Co-authored-by: Sirraide <aeternalmail at gmail.com>
Commit: a66900be7507eb0c68a6eff1e945e1823507d3e0
https://github.com/llvm/llvm-project/commit/a66900be7507eb0c68a6eff1e945e1823507d3e0
Author: Luke Lau <luke at igalia.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Log Message:
-----------
[RISCV] Pretty print AVL register in VSETVLIInfo::dump. NFC
Currently the AVLReg is printed raw like {AVLReg=2147483668, ...}, this
changes it to {AVLReg=%20, ...} which should be easier to read.
Commit: 3d8079229e7571a5912e880bf7a960d809c8ee96
https://github.com/llvm/llvm-project/commit/3d8079229e7571a5912e880bf7a960d809c8ee96
Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/test/CodeGen/aarch64-mixed-target-attributes.c
M clang/test/CodeGen/attr-target-clones-aarch64.c
M clang/test/CodeGen/attr-target-version.c
M clang/test/CodeGenCXX/attr-target-clones-aarch64.cpp
M clang/test/CodeGenCXX/attr-target-version.cpp
M clang/test/CodeGenCXX/fmv-namespace.cpp
Log Message:
-----------
[clang][AArch64][FMV] Stop emitting alias to ifunc. (#96221)
Long story short the interaction of two optimizations happening in
GlobalOpt results in a crash. For more details look at the issue
https://github.com/llvm/llvm-project/issues/96197. I will be fixing this
in GlobalOpt but it is a conservative solution since it won't allow us
to optimize resolvers which return a pointer to a function whose
definition is in another TU when compiling without LTO:
```
__attribute__((target_version("simd"))) void bar(void);
__attribute__((target_version("default"))) void bar(void);
int foo() { bar(); }
```
fixes: #96197
Commit: 4e6c8f1d30b8516fc7205bbcc97a78a728215512
https://github.com/llvm/llvm-project/commit/4e6c8f1d30b8516fc7205bbcc97a78a728215512
Author: Martin Storsjö <martin at martin.st>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/Frontend/InitPreprocessor.cpp
M clang/test/Preprocessor/predefined-win-macros.c
Log Message:
-----------
[clang] [MinGW] Set a predefined __GXX_TYPEINFO_EQUALITY_INLINE=0 for MinGW targets (#96062)
libstdc++ requires this define to match what is predefined in GCC for
the ABI of this platform; GCC hardcodes this define for all mingw
configurations in gcc/config/i386/cygming.h.
(It also defines __GXX_MERGED_TYPEINFO_NAMES=0, but that happens to
match the defaults in libstdc++ headers, so there's no similar need to
define it in Clang.)
This fixes a Clang/libstdc++ interop issue discussed at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110572.
Commit: 6b41de3605658069eb69b8684c2760e54bd1bea3
https://github.com/llvm/llvm-project/commit/6b41de3605658069eb69b8684c2760e54bd1bea3
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/InterpBuiltin.cpp
M clang/test/CodeGen/ptrauth-intrinsics.c
Log Message:
-----------
[clang][Interp] Implement ptrauth builtins
Commit: cc4ec6daf0d4f43110e8220d542c1155b8c1ef51
https://github.com/llvm/llvm-project/commit/cc4ec6daf0d4f43110e8220d542c1155b8c1ef51
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/test/Modules/no-eager-load.cppm
A clang/test/Modules/same-decl-in-different-modules.cppm
Log Message:
-----------
[C++20] [Modules] Diagnose redeclarations from different modules
[basic.link]/p10:
> If two declarations of an entity are attached to different modules,
> the program is ill-formed
But we only implemented the check for ODR. In this patch, we tried to
diagnose the redeclarations from different modules.
Commit: 17e51d5fc79fc1c9a2a33c13eb02cfbd70c9a221
https://github.com/llvm/llvm-project/commit/17e51d5fc79fc1c9a2a33c13eb02cfbd70c9a221
Author: Andarwinux <144242044+Andarwinux at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
Log Message:
-----------
[Driver] Add winsysroot alias to the GNU driver (#95320)
fixes #91216
Commit: 689c5c48294451461b936be2ea30444ecaf39182
https://github.com/llvm/llvm-project/commit/689c5c48294451461b936be2ea30444ecaf39182
Author: Mariusz Sikora <mariusz.sikora at amd.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPU.td
M llvm/test/CodeGen/AMDGPU/llvm.maximum.f64.ll
M llvm/test/CodeGen/AMDGPU/llvm.minimum.f64.ll
M llvm/test/CodeGen/AMDGPU/load-constant-i1.ll
M llvm/test/CodeGen/AMDGPU/load-constant-i16.ll
M llvm/test/CodeGen/AMDGPU/load-constant-i8.ll
M llvm/test/CodeGen/AMDGPU/occupancy-levels.ll
Log Message:
-----------
[AMDGPU] Set total VGPRs to 1536 for gfx12 (#96272)
- Use Feature1_5xVGPRs
Commit: 41a4db1ba6591169069dd2352e00364d9113fbeb
https://github.com/llvm/llvm-project/commit/41a4db1ba6591169069dd2352e00364d9113fbeb
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Log Message:
-----------
[lldb/DWARF] Optimize DIEToType handling (#96308)
- move type insertion from individual parse methods into
ParseTypeFromDWARF
- optimize sentinel (TYPE_IS_BEING_PARSED) insertion to avoid double map
lookup
- as this requires the map to not have nullptr values, I've replaced all
`operator[]` queries with calls to `lookup`.
Commit: 9298e40f46e07bb348e310236c1b2f0359a224dc
https://github.com/llvm/llvm-project/commit/9298e40f46e07bb348e310236c1b2f0359a224dc
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/tailcc-ssp.ll
Log Message:
-----------
[X86] tailcc-ssp.ll - regenerate test checks to simplify diff for #95904
Commit: 284fbf91663b737be2ffb4785ad819c75d22797e
https://github.com/llvm/llvm-project/commit/284fbf91663b737be2ffb4785ad819c75d22797e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/stack-protector-msvc.ll
Log Message:
-----------
[X86] stack-protector-msvc.ll - regenerate test checks to simplify diff for #95904
Commit: efab4a380f36dcd23561633f8bba484036c500f3
https://github.com/llvm/llvm-project/commit/efab4a380f36dcd23561633f8bba484036c500f3
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaType.cpp
Log Message:
-----------
[Sema] Fix -Wunused-variable in SemaType.cpp (NFC)
/llvm-project/clang/lib/Sema/SemaType.cpp:7625:8:
error: unused variable 'Success' [-Werror,-Wunused-variable]
bool Success = FX.insert(NewEC, Errs);
^
1 error generated.
Commit: 9cd6ef4b8a5c843ef491437c765d4cb2ff2f8fe3
https://github.com/llvm/llvm-project/commit/9cd6ef4b8a5c843ef491437c765d4cb2ff2f8fe3
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/test/Driver/riscv-arch.c
M clang/test/Preprocessor/riscv-target-features.c
M llvm/docs/RISCVUsage.rst
M llvm/docs/ReleaseNotes.rst
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/test/CodeGen/RISCV/GlobalISel/atomic-fence.ll
M llvm/test/CodeGen/RISCV/atomic-cmpxchg.ll
M llvm/test/CodeGen/RISCV/atomic-fence.ll
M llvm/test/CodeGen/RISCV/atomic-load-store.ll
M llvm/test/CodeGen/RISCV/atomic-rmw.ll
M llvm/test/CodeGen/RISCV/atomicrmw-uinc-udec-wrap.ll
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/CodeGen/RISCV/module-elf-flags.ll
M llvm/test/MC/RISCV/Ztso.s
M llvm/test/MC/RISCV/attribute-arch.s
M llvm/test/MC/RISCV/elf-flags.s
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Remove experimental from Ztso. (#96465)
Ztso 1.0 was ratified in January 2023.
Documentation:
https://github.com/riscv/riscv-isa-manual/blob/main/src/ztso-st-ext.adoc
Commit: c053ec95f7e66ff212c8a867426cc7275a4dace6
https://github.com/llvm/llvm-project/commit/c053ec95f7e66ff212c8a867426cc7275a4dace6
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/test/API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py
Log Message:
-----------
[lldb] Fix TestDAP_runInTerminal for #96256
change the expected error msg.
Commit: b8979c6b13e9d4cb5051dd6f8ca772a20b14b428
https://github.com/llvm/llvm-project/commit/b8979c6b13e9d4cb5051dd6f8ca772a20b14b428
Author: Kamau Bridgeman <kamau.bridgeman.ibm at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/Basic/Targets/PPC.h
A clang/test/CodeGen/PowerPC/inline-asm-constraints-error.c
Log Message:
-----------
[PPC][InlineASM] Mark the 'a' constraint as unsupported (#96109)
'a' is an input/output constraint for restraining assembly variables
to an indexed or indirect address operand. It previously was marked
as supported but would throw an assertion for unknown constraint type
in the back-end when this test case was compiled. This change marks it
as unsupported until we can add full support for address operands
constraining to the compiler code generation.
Commit: 6e3725d7f290d0180e8b5cfe073d0cc4c9bbafd0
https://github.com/llvm/llvm-project/commit/6e3725d7f290d0180e8b5cfe073d0cc4c9bbafd0
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
Log Message:
-----------
[IndVars] Make pushIVUsers() a member function (NFC)
Make it easier to access additional state from it.
Commit: 0cf1e662b13fb20d3897c5b9055c60b0de50beca
https://github.com/llvm/llvm-project/commit/0cf1e662b13fb20d3897c5b9055c60b0de50beca
Author: Jan Voung <jvoung at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGDecl.cpp
M clang/test/CodeGenCXX/auto-var-init-max-size.cpp
M clang/test/CodeGenCXX/auto-var-init-stop-after.cpp
M clang/test/CodeGenCXX/auto-var-init.cpp
A clang/test/CodeGenCXX/trivial-auto-var-init-skip-scalar-with-nonconst-init.cpp
Log Message:
-----------
[clang] Skip auto-init on scalar vars that have a non-constant Init and no self-ref (#94642)
In that scalar case, the Init should initialize the auto var before use. The Init might use uninitialized memory from other sources (e.g., heap) but auto-init did not help us in that case because the auto-init would have been overwritten by the Init before use.
For non-scalars e.g., classes, the Init expr might be a ctor call that leaves uninitialized members, so we leave the auto-init there.
The motivation is to have less IR for the optimizer to later remove, which may not be until a fairly late pass (DSE) or may not get optimized in lower optimization levels like O1 (no DSE) or sometimes due to derefinement.
This is ~10% less left-over auto-init in O1 in a few examples checked.
Commit: 5cd0ba30f53d11835dbfd05ad4071d397387fb04
https://github.com/llvm/llvm-project/commit/5cd0ba30f53d11835dbfd05ad4071d397387fb04
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/PassInstrumentation.h
M llvm/include/llvm/Passes/TargetPassRegistry.inc
M llvm/include/llvm/Target/TargetMachine.h
M llvm/lib/IR/PassInstrumentation.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.h
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
M llvm/lib/Target/BPF/BPFTargetMachine.cpp
M llvm/lib/Target/BPF/BPFTargetMachine.h
M llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
M llvm/lib/Target/DirectX/DirectXTargetMachine.h
M llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
M llvm/lib/Target/Hexagon/HexagonTargetMachine.h
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.h
M llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
M llvm/lib/Target/X86/X86TargetMachine.h
Log Message:
-----------
Reapply [IR] Lazily initialize the class to pass name mapping (NFC) (#96321) (#96462)
On MSVC the `this` uses inside `decltype` require a lambda capture. On
clang they result in an unused capture warning instead. Add the capture
and suppress the warning with `(void)this`.
-----
Initializing this map is somewhat expensive (especially for O0), so we
currently only do it if certain flags are used. I would like to make use
of it for crash dumps (#96078), where we don't know in advance whether
it will be needed or not.
This patch changes the initialization to a lazy approach, where a
callback is registered that does the actual initialization. The
callbacks will be run the first time the pass name is requested.
This way there is no compile-time impact if the mapping is not used.
Commit: c1bde0a2cb640b3607e9568b9a57b292e1f82666
https://github.com/llvm/llvm-project/commit/c1bde0a2cb640b3607e9568b9a57b292e1f82666
Author: Dan McArdle <zingermc at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/docs/ThreadSafetyAnalysis.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Sema/ParsedAttr.h
M clang/lib/Analysis/ThreadSafety.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/test/Sema/attr-capabilities.c
M clang/test/SemaCXX/warn-thread-safety-analysis.cpp
M clang/test/SemaCXX/warn-thread-safety-parsing.cpp
M clang/unittests/AST/ASTImporterTest.cpp
Log Message:
-----------
[clang][ThreadSafety] Check trylock function success and return types (#95290)
With this change, Clang will generate errors when trylock functions have
improper return types. Today, it silently fails to apply the trylock
attribute to these functions which may incorrectly lead users to believe
they have correctly acquired locks before accessing guarded data.
As a side effect of explicitly checking the success argument type, I
seem to have fixed a false negative in the analysis that could occur
when a trylock's success argument is an enumerator. I've added a
regression test to warn-thread-safety-analysis.cpp named
`TrylockSuccessEnumFalseNegative`.
This change also improves the documentation with descriptions of of the
subtle gotchas that arise from the analysis interpreting the success arg
as a boolean.
Issue #92408
Commit: 3ff680a1a57d74a5c94d3da35594a8046a879888
https://github.com/llvm/llvm-project/commit/3ff680a1a57d74a5c94d3da35594a8046a879888
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
A clang/test/C/C11/n1285.c
M clang/www/c_status.html
Log Message:
-----------
[C11] Claim we do not conform to WG14 N1285 yet
This also updates the status for C11 to be Partial, and because C17 is
C11 plus DR resolutions, that makes C17 also Partial.
Commit: ae1c564d1522f1202d05b698dce8d9c8ca46667c
https://github.com/llvm/llvm-project/commit/ae1c564d1522f1202d05b698dce8d9c8ca46667c
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/Sema/ptrauth.c
Log Message:
-----------
[clang][Interp] Cast dummy pointers to other pointer type if necessary
Commit: 605e18479c8ee272759f2f52fc5259bfb8af7085
https://github.com/llvm/llvm-project/commit/605e18479c8ee272759f2f52fc5259bfb8af7085
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Analysis/VectorUtils.cpp
Log Message:
-----------
[VectorUtils] Use poison instead of undef in findScalarElement()
Out-of-range extractelement returns poison, and so do poison elements
in the shufflevector mask.
Commit: 9b8c3c687163931eee69c718c9d83a7fe6bc6f57
https://github.com/llvm/llvm-project/commit/9b8c3c687163931eee69c718c9d83a7fe6bc6f57
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
Log Message:
-----------
[InstSimplify] Use poison instead of undef for unreachable inst
Commit: 29e0f046735010540fbdba4371dcd26f9e437650
https://github.com/llvm/llvm-project/commit/29e0f046735010540fbdba4371dcd26f9e437650
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C11] Remove WG14 N1353 from the list of papers to track
Only the first proposed changes in the paper were adopted, and that
wording was changing "operations" into "operators", which is purely an
editorial change.
Commit: 69d07465c5cb0194d15dfe75b058957fd6ab16c8
https://github.com/llvm/llvm-project/commit/69d07465c5cb0194d15dfe75b058957fd6ab16c8
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Analysis/Lint.cpp
Log Message:
-----------
[Lint] Use poison instead of undef for self-referential values
Commit: 6ecb9fd83d6015b19be8db554328645ae15e63e9
https://github.com/llvm/llvm-project/commit/6ecb9fd83d6015b19be8db554328645ae15e63e9
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C11] Remove WG14 N1382 from the list of papers to track
This paper proposes only changes to a footnote that had problematic
implications for ABI; the changes were purely editorial.
Commit: fc4b09d16139348533f1a1c9c72c99dacba51417
https://github.com/llvm/llvm-project/commit/fc4b09d16139348533f1a1c9c72c99dacba51417
Author: Kristóf Umann <dkszelethus at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/NoOwnershipChangeVisitor.cpp
M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
A clang/test/Analysis/stream-notes-missing-close.cpp
Log Message:
-----------
[analyzer] Add an ownership change visitor to StreamChecker (#94957)
This is very similar to https://reviews.llvm.org/D105553, in fact, I
barely made any changes from MallocChecker's ownership visitor to this
one.
The new visitor emits a diagnostic note for function where a change in
stream ownership was expected (for example, it had a fclose() call), but
the ownership remained unchanged. This is similar to messages regarding
ordinary values ("Returning without writing to x").
Commit: b6447260748086c0df484ec6609f126ae90e91ea
https://github.com/llvm/llvm-project/commit/b6447260748086c0df484ec6609f126ae90e91ea
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/test/CodeGen/PowerPC/inline-asm-constraints-error.c
Log Message:
-----------
[PPC][InlineASM] Don't write to source directory in test
Commit: 824113f7b1fe79e9e5258323a0fdfbf960ab315a
https://github.com/llvm/llvm-project/commit/824113f7b1fe79e9e5258323a0fdfbf960ab315a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/AsmParser/LLParser.cpp
Log Message:
-----------
[LLParser] Use poison instead of undef when cleaning up forward refs
Commit: 6258b5f610d51d37a79456d660b12c2d8e98500b
https://github.com/llvm/llvm-project/commit/6258b5f610d51d37a79456d660b12c2d8e98500b
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
Log Message:
-----------
[BitcodeReader] Use poison instead of undef for invalid instructions
Commit: 34026207c87116bd8e7fb0a464ea8db947f8239a
https://github.com/llvm/llvm-project/commit/34026207c87116bd8e7fb0a464ea8db947f8239a
Author: Dan McArdle <dmcardle at google.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/docs/ThreadSafetyAnalysis.rst
Log Message:
-----------
[clang][ThreadSafety] Fix code block syntax in ThreadSafetyAnalysis.rst (#96494)
Without a newline, documentation was failing to build with this error:
Warning, treated as error:
/home/runner/work/llvm-project/llvm-project/clang-build/tools/clang/docs/ThreadSafetyAnalysis.rst:466:Error
in "code-block" directive:
maximum 1 argument(s) allowed, 10 supplied.
Issue #92408
Commit: df9f4792f55d63d77f45786a6b3c0955d2180e9e
https://github.com/llvm/llvm-project/commit/df9f4792f55d63d77f45786a6b3c0955d2180e9e
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/IR/Instructions.cpp
Log Message:
-----------
[IR] Use poison instead of undef for self-referential phi
Commit: b012ab01cb39e440a38dad5d7dd71b419480264b
https://github.com/llvm/llvm-project/commit/b012ab01cb39e440a38dad5d7dd71b419480264b
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
A clang/test/C/C2x/n3033.c
A clang/test/C/C2x/n3033_2.c
M clang/www/c_status.html
Log Message:
-----------
[C23] Claim conformance to WG14 N3033
Clang has implemented __VA_OPT__ since Clang 12.
Commit: db9e9eabb7835bae4285a3f13c7cc7c985455e27
https://github.com/llvm/llvm-project/commit/db9e9eabb7835bae4285a3f13c7cc7c985455e27
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/IR/Instructions.cpp
Log Message:
-----------
[IR] Generate poison for all-poison scalable shufflevector mask
Ultimately doesn't matter because the bitcode reader interprets
undef and poison interchangeably in this context.
Commit: 10bd5ad0a133fe73ffc1b05e63bc3fb2d56ba79c
https://github.com/llvm/llvm-project/commit/10bd5ad0a133fe73ffc1b05e63bc3fb2d56ba79c
Author: Miro Bucko <mbucko at meta.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/bindings/python/python-typemaps.swig
M lldb/include/lldb/API/SBProcess.h
M lldb/include/lldb/Core/AddressRangeListImpl.h
M lldb/include/lldb/Target/Process.h
M lldb/source/API/SBProcess.cpp
M lldb/source/Target/Process.cpp
A lldb/test/API/python_api/find_in_memory/Makefile
A lldb/test/API/python_api/find_in_memory/TestFindInMemory.py
A lldb/test/API/python_api/find_in_memory/TestFindRangesInMemory.py
A lldb/test/API/python_api/find_in_memory/address_ranges_helper.py
A lldb/test/API/python_api/find_in_memory/main.cpp
Log Message:
-----------
[lldb][API] Add Find(Ranges)InMemory() to Process SB API (#95007)
Test Plan:
llvm-lit
llvm-project/lldb/test/API/python_api/find_in_memory/TestFindInMemory.py
llvm-project/lldb/test/API/python_api/find_in_memory/TestFindRangesInMemory.py
Reviewers: clayborg
Tasks: lldb
Commit: 13c1fec4716a93079311d2dff54c4ae977f8de67
https://github.com/llvm/llvm-project/commit/13c1fec4716a93079311d2dff54c4ae977f8de67
Author: Angel Zhang <angel.zhang at amd.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
A mlir/include/mlir/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.h
M mlir/include/mlir/Conversion/Passes.h
M mlir/include/mlir/Conversion/Passes.td
M mlir/lib/Conversion/CMakeLists.txt
A mlir/lib/Conversion/ConvertToSPIRV/CMakeLists.txt
A mlir/lib/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.cpp
A mlir/test/Conversion/ConvertToSPIRV/arith.mlir
A mlir/test/Conversion/ConvertToSPIRV/combined.mlir
A mlir/test/Conversion/ConvertToSPIRV/index.mlir
A mlir/test/Conversion/ConvertToSPIRV/scf.mlir
A mlir/test/Conversion/ConvertToSPIRV/simple.mlir
A mlir/test/Conversion/ConvertToSPIRV/ub.mlir
A mlir/test/Conversion/ConvertToSPIRV/vector.mlir
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
Reland "[mlir][spirv] Add a generic convert-to-spirv pass" (#96359)
This PR relands #95942, which was reverted in #96332 due to link
failures. It fixes the issue by updating CMake dependencies. The bazel
support, originally introduced in #96334, is also included in this PR.
---------
Co-authored-by: Keith Smiley <keithbsmiley at gmail.com>
Commit: 3e36dfafa0d11b2a5d7776d88f170c449116aa0e
https://github.com/llvm/llvm-project/commit/3e36dfafa0d11b2a5d7776d88f170c449116aa0e
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C23] Remove WG14 N2660 from the list of papers we track
This paper was a clarification paper that made no normative changes to
the wording, so we can lean on the C99 status for this.
Commit: b0efde6db0282c0a98aec04806d7b8ba29e19a1b
https://github.com/llvm/llvm-project/commit/b0efde6db0282c0a98aec04806d7b8ba29e19a1b
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
A llvm/test/CodeGen/SPIRV/const-array-in-struct.ll
A llvm/test/CodeGen/SPIRV/const-nested-vecs.ll
M llvm/test/CodeGen/SPIRV/opencl/image.ll
A llvm/test/CodeGen/SPIRV/pointers/global-zeroinitializer.ll
Log Message:
-----------
[SPIR-V]: Improve pattern matching to recognize a composite constant to be a constant (#96286)
This PR is to fix https://github.com/llvm/llvm-project/issues/96285 by:
* improve pattern matching to recognize an aggregate constant to be a
constant
* do not emit Bitcast for an aggregate type
Commit: f985a8826bfa4ca3d23e654185de35e30ea6dc79
https://github.com/llvm/llvm-project/commit/f985a8826bfa4ca3d23e654185de35e30ea6dc79
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/test/Driver/riscv-arch.c
M clang/test/Preprocessor/riscv-target-features.c
M llvm/docs/RISCVUsage.rst
M llvm/docs/ReleaseNotes.rst
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/test/CodeGen/RISCV/GlobalISel/atomic-fence.ll
M llvm/test/CodeGen/RISCV/atomic-cmpxchg.ll
M llvm/test/CodeGen/RISCV/atomic-fence.ll
M llvm/test/CodeGen/RISCV/atomic-load-store.ll
M llvm/test/CodeGen/RISCV/atomic-rmw.ll
M llvm/test/CodeGen/RISCV/atomicrmw-uinc-udec-wrap.ll
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/CodeGen/RISCV/module-elf-flags.ll
M llvm/test/MC/RISCV/Ztso.s
M llvm/test/MC/RISCV/attribute-arch.s
M llvm/test/MC/RISCV/elf-flags.s
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
Revert "[RISCV] Remove experimental from Ztso. (#96465)"
This reverts commit 9cd6ef4b8a5c843ef491437c765d4cb2ff2f8fe3. See
discussion on review thread.
Commit: b312cbf921422fc30615b1311b235a8cb31453d9
https://github.com/llvm/llvm-project/commit/b312cbf921422fc30615b1311b235a8cb31453d9
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/CGSCCPassManager.h
M llvm/lib/Analysis/CGSCCPassManager.cpp
Log Message:
-----------
[NFC][CGSCC] Remove RCWorklist from CGSCCUpdateResult (#95448)
After #94815, this is only used within
ModuleToPostOrderCGSCCPassAdaptor::run(), so keep it local to that
function.
Commit: 3602efa78ddc16f82c338358748b3a13b3859e24
https://github.com/llvm/llvm-project/commit/3602efa78ddc16f82c338358748b3a13b3859e24
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M flang/lib/Evaluate/check-expression.cpp
M flang/lib/Evaluate/tools.cpp
M flang/lib/Semantics/check-declarations.cpp
M flang/lib/Semantics/resolve-names.cpp
M flang/module/__fortran_builtins.f90
M flang/test/Semantics/c_loc01.f90
M flang/test/Semantics/call05.f90
Log Message:
-----------
[flang] Silence errors on C_LOC/C_FUNLOC in specification expressions (#96108)
Transformational functions from the intrinsic module ISO_C_BINDING are
allowed in specification expressions, so tweak some general checks that
would otherwise trigger error messages about inadmissible targets, dummy
procedures in specification expressions, and pure procedures with impure
dummy procedures.
Commit: 317277e4f961edf13132914a58a26408db4ab0aa
https://github.com/llvm/llvm-project/commit/317277e4f961edf13132914a58a26408db4ab0aa
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M flang/lib/Evaluate/fold-integer.cpp
M flang/lib/Evaluate/fold-real.cpp
M flang/test/Evaluate/fold-nearest.f90
M flang/test/Evaluate/folding04.f90
Log Message:
-----------
[flang] Better error reporting for MOD/MODULO/NEAREST (#96114)
When the second argument to these intrinsic functions is a scalar
constant zero, emit a warning (if enabled) even if the first argument is
not a constant.
Commit: 6481dc57612671ebe77fe9c34214fba94e1b3b27
https://github.com/llvm/llvm-project/commit/6481dc57612671ebe77fe9c34214fba94e1b3b27
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGBlocks.cpp
M clang/lib/CodeGen/CGGPUBuiltin.cpp
M clang/lib/CodeGen/CGHLSLRuntime.cpp
M clang/lib/CodeGen/CGObjC.cpp
M clang/lib/CodeGen/CGObjCMac.cpp
M clang/lib/CodeGen/CGOpenMPRuntime.cpp
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/CodeGen/CodeGenABITypes.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M llvm/include/llvm/IR/IRBuilder.h
M llvm/include/llvm/IR/Instruction.h
M llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
M llvm/lib/Analysis/MemoryBuiltins.cpp
M llvm/lib/CodeGen/AtomicExpandPass.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/ExpandLargeFpConvert.cpp
M llvm/lib/CodeGen/ExpandMemCmp.cpp
M llvm/lib/CodeGen/ExpandVectorPredication.cpp
M llvm/lib/CodeGen/HardwareLoops.cpp
M llvm/lib/CodeGen/IntrinsicLowering.cpp
M llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
M llvm/lib/CodeGen/SafeStack.cpp
M llvm/lib/CodeGen/ShadowStackGCLowering.cpp
M llvm/lib/CodeGen/SjLjEHPrepare.cpp
M llvm/lib/CodeGen/WasmEHPrepare.cpp
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/IR/AutoUpgrade.cpp
M llvm/lib/IR/Core.cpp
M llvm/lib/Target/AArch64/SVEIntrinsicOpts.cpp
M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
M llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
M llvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
M llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
M llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
M llvm/lib/Target/ARM/ARMParallelDSP.cpp
M llvm/lib/Target/ARM/MVELaneInterleavingPass.cpp
M llvm/lib/Target/ARM/MVETailPredication.cpp
M llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
M llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
M llvm/lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
M llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
M llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp
M llvm/lib/Target/X86/X86LowerAMXType.cpp
M llvm/lib/Target/X86/X86WinEHState.cpp
M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp
M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
M llvm/lib/Transforms/ObjCARC/ObjCARC.cpp
M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
M llvm/lib/Transforms/Scalar/GuardWidening.cpp
M llvm/lib/Transforms/Scalar/LoopBoundSplit.cpp
M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
M llvm/lib/Transforms/Scalar/LoopPredication.cpp
M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
M llvm/lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
M llvm/lib/Transforms/Scalar/SROA.cpp
M llvm/lib/Transforms/Scalar/ScalarizeMaskedMemIntrin.cpp
M llvm/lib/Transforms/Scalar/Scalarizer.cpp
M llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp
M llvm/lib/Transforms/Utils/BypassSlowDivision.cpp
M llvm/lib/Transforms/Utils/CallPromotionUtils.cpp
M llvm/lib/Transforms/Utils/FlattenCFG.cpp
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/lib/Transforms/Utils/IntegerDivision.cpp
M llvm/lib/Transforms/Utils/SSAUpdaterBulk.cpp
M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
M llvm/lib/Transforms/Vectorize/LoopIdiomVectorize.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/unittests/Analysis/MemorySSATest.cpp
M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
M llvm/unittests/IR/BasicBlockTest.cpp
M llvm/unittests/IR/DebugInfoTest.cpp
M llvm/unittests/IR/IRBuilderTest.cpp
M llvm/unittests/Transforms/Utils/SSAUpdaterBulkTest.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M polly/lib/CodeGen/BlockGenerators.cpp
Log Message:
-----------
[IR][NFC] Update IRBuilder to use InsertPosition (#96497)
Uses the new InsertPosition class (added in #94226) to simplify some of
the IRBuilder interface, and removes the need to pass a BasicBlock
alongside a BasicBlock::iterator, using the fact that we can now get the
parent basic block from the iterator even if it points to the sentinel.
This patch removes the BasicBlock argument from each constructor or call
to setInsertPoint.
This has no functional effect, but later on as we look to remove the
`Instruction *InsertBefore` argument from instruction-creation
(discussed
[here](https://discourse.llvm.org/t/psa-instruction-constructors-changing-to-iterator-only-insertion/77845)),
this will simplify the process by allowing us to deprecate the
InsertPosition constructor directly and catch all the cases where we use
instructions rather than iterators.
Commit: 347206f9570446340da6d7dadc13d10b0aac4528
https://github.com/llvm/llvm-project/commit/347206f9570446340da6d7dadc13d10b0aac4528
Author: Chelsea Cassanova <chelsea_cassanova at apple.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/include/lldb/lldb-private-interfaces.h
M lldb/source/Breakpoint/BreakpointOptions.cpp
M lldb/unittests/CMakeLists.txt
A lldb/unittests/Callback/CMakeLists.txt
A lldb/unittests/Callback/TestBreakpointSetCallback.cpp
Log Message:
-----------
Add a unit test for SBBreakpoint::SetCallback (#96001)
This commit adds a unit test for SBBreakpoint::SetCallback as it wasn't
being tested before.
Commit: 9eba835dec2e7d755a86efdf464ff5745f3c2b1e
https://github.com/llvm/llvm-project/commit/9eba835dec2e7d755a86efdf464ff5745f3c2b1e
Author: Nick Desaulniers (paternity leave) <nickdesaulniers at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M libc/config/linux/arm/entrypoints.txt
Log Message:
-----------
[libc][arm] add malloc/free/aligned_alloc to entrypoints (#96516)
Necessary for arm32 cross full build.
Commit: 9ab292d72651c6dda098a653320f7fbb3624b778
https://github.com/llvm/llvm-project/commit/9ab292d72651c6dda098a653320f7fbb3624b778
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M flang/include/flang/Evaluate/tools.h
M flang/lib/Semantics/check-allocate.cpp
M flang/lib/Semantics/check-call.cpp
M flang/lib/Semantics/check-declarations.cpp
M flang/lib/Semantics/expression.cpp
M flang/lib/Semantics/pointer-assignment.cpp
M flang/test/Semantics/select-rank03.f90
Log Message:
-----------
[flang] Add/fix some semantic checks for assumed-rank (#96194)
Catch some cases where assumed rank dummy arguments are not allowed.
Commit: 3b5b814647ef83ab763cf7871b6d74edfca67438
https://github.com/llvm/llvm-project/commit/3b5b814647ef83ab763cf7871b6d74edfca67438
Author: Greg Clayton <gclayton at fb.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.h
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.h
M lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.h
A lldb/test/Shell/SymbolFile/DWARF/x86/dwp-foreign-type-units.cpp
M llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
M llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
Log Message:
-----------
Add support for using foreign type units in .debug_names. (#87740)
This patch adds support for the new foreign type unit support in
.debug_names. Features include:
- don't manually index foreign TUs if we have info for them
- only use the type unit entries that match the .dwo files when we have
a .dwp file
- fix type unit lookups for .dwo files
- fix crashers that happen due to PeekDIEName() using wrong offsets where an entry had DW_IDX_comp_unit and DW_IDX_type_unit entries and when we had no type unit support, it would cause us to think it was a normal DIE in .debug_info from the main executable.
---------
Co-authored-by: paperchalice <liujunchang97 at outlook.com>
Commit: d75f9dd1d29b332bdc51346de63cbc04646354d7
https://github.com/llvm/llvm-project/commit/d75f9dd1d29b332bdc51346de63cbc04646354d7
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGBlocks.cpp
M clang/lib/CodeGen/CGGPUBuiltin.cpp
M clang/lib/CodeGen/CGHLSLRuntime.cpp
M clang/lib/CodeGen/CGObjC.cpp
M clang/lib/CodeGen/CGObjCMac.cpp
M clang/lib/CodeGen/CGOpenMPRuntime.cpp
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/CodeGen/CodeGenABITypes.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M llvm/include/llvm/IR/IRBuilder.h
M llvm/include/llvm/IR/Instruction.h
M llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
M llvm/lib/Analysis/MemoryBuiltins.cpp
M llvm/lib/CodeGen/AtomicExpandPass.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/ExpandLargeFpConvert.cpp
M llvm/lib/CodeGen/ExpandMemCmp.cpp
M llvm/lib/CodeGen/ExpandVectorPredication.cpp
M llvm/lib/CodeGen/HardwareLoops.cpp
M llvm/lib/CodeGen/IntrinsicLowering.cpp
M llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
M llvm/lib/CodeGen/SafeStack.cpp
M llvm/lib/CodeGen/ShadowStackGCLowering.cpp
M llvm/lib/CodeGen/SjLjEHPrepare.cpp
M llvm/lib/CodeGen/WasmEHPrepare.cpp
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/IR/AutoUpgrade.cpp
M llvm/lib/IR/Core.cpp
M llvm/lib/Target/AArch64/SVEIntrinsicOpts.cpp
M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
M llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
M llvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
M llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
M llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
M llvm/lib/Target/ARM/ARMParallelDSP.cpp
M llvm/lib/Target/ARM/MVELaneInterleavingPass.cpp
M llvm/lib/Target/ARM/MVETailPredication.cpp
M llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
M llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
M llvm/lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
M llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
M llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp
M llvm/lib/Target/X86/X86LowerAMXType.cpp
M llvm/lib/Target/X86/X86WinEHState.cpp
M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp
M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
M llvm/lib/Transforms/ObjCARC/ObjCARC.cpp
M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
M llvm/lib/Transforms/Scalar/GuardWidening.cpp
M llvm/lib/Transforms/Scalar/LoopBoundSplit.cpp
M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
M llvm/lib/Transforms/Scalar/LoopPredication.cpp
M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
M llvm/lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
M llvm/lib/Transforms/Scalar/SROA.cpp
M llvm/lib/Transforms/Scalar/ScalarizeMaskedMemIntrin.cpp
M llvm/lib/Transforms/Scalar/Scalarizer.cpp
M llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp
M llvm/lib/Transforms/Utils/BypassSlowDivision.cpp
M llvm/lib/Transforms/Utils/CallPromotionUtils.cpp
M llvm/lib/Transforms/Utils/FlattenCFG.cpp
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/lib/Transforms/Utils/IntegerDivision.cpp
M llvm/lib/Transforms/Utils/SSAUpdaterBulk.cpp
M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
M llvm/lib/Transforms/Vectorize/LoopIdiomVectorize.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/unittests/Analysis/MemorySSATest.cpp
M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
M llvm/unittests/IR/BasicBlockTest.cpp
M llvm/unittests/IR/DebugInfoTest.cpp
M llvm/unittests/IR/IRBuilderTest.cpp
M llvm/unittests/Transforms/Utils/SSAUpdaterBulkTest.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M polly/lib/CodeGen/BlockGenerators.cpp
Log Message:
-----------
Revert "[IR][NFC] Update IRBuilder to use InsertPosition (#96497)"
Reverts the above commit, as it updates a common header function and
did not update all callsites:
https://lab.llvm.org/buildbot/#/builders/29/builds/382
This reverts commit 6481dc57612671ebe77fe9c34214fba94e1b3b27.
Commit: 7601ae125de673c5a5f13a1d97f16cdd49e26e29
https://github.com/llvm/llvm-project/commit/7601ae125de673c5a5f13a1d97f16cdd49e26e29
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-select-fp.ll
Log Message:
-----------
[RISCV] Add back some test cases I inadvertently deleted. NFC
These tests were accidentally removed in a7a1195f01037e5019f671c96ef4bca9af9bb9a7.
I only meant to remove bfloat tests, but I accidentally removed
f32 and f64 as well.
Commit: cb248f8c2a79fbddfdfed0039390e49512410a80
https://github.com/llvm/llvm-project/commit/cb248f8c2a79fbddfdfed0039390e49512410a80
Author: Martin Storsjö <martin at martin.st>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lld/COFF/Driver.cpp
A lld/test/COFF/invalid-entry.s
Log Message:
-----------
[LLD] [COFF] Don't crash on an empty -entry: argument (#96058)
We can't pass an empty string to addUndefined().
This fixes the crash that was encountered in
https://github.com/llvm/llvm-project/issues/93309 (turning the crash
into a properly handled error; making it do the right thing is handled
in https://github.com/llvm/llvm-project/pull/96055).
Commit: 3a57925b071f16c64af6a729078dce58510a0da9
https://github.com/llvm/llvm-project/commit/3a57925b071f16c64af6a729078dce58510a0da9
Author: Abid Qadeer <haqadeer at amd.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
M flang/lib/Optimizer/Transforms/DebugTypeGenerator.h
M flang/test/Integration/debug-char-type-1.f90
M flang/test/Transforms/debug-char-type-1.fir
Log Message:
-----------
[flang][debug] Handle allocatable strings. (#95906)
The allocatable strings also use DIStringType but provide dwarf
expressions to find the location and length of the string. With this
change in place, the debugging of the allocatable strings looks like
this:
character(len=:), allocatable :: first
character(len=:), allocatable :: second
character(len=:), allocatable :: third
first = 'Mount'
second = 'Everest'
third = first // " " // second
print *, third
(gdb) p third
$1 = ""
(gdb) n
18 print *, third
(gdb) p third
$2 = 'Mount Everest'
(gdb) ptype third
type = character (13)
Commit: ee4c12f87dfe24431a786d8bf32aa853a5f39e7f
https://github.com/llvm/llvm-project/commit/ee4c12f87dfe24431a786d8bf32aa853a5f39e7f
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lld/ELF/LinkerScript.cpp
M lld/ELF/LinkerScript.h
M lld/ELF/ScriptParser.cpp
M lld/test/ELF/linkerscript/addr.test
M lld/test/ELF/linkerscript/locationcountererr-arm-exidx.test
Log Message:
-----------
[ELF] Postpone more linker script errors
Since `assignAddresses` is executed more than once, error reporting
during `assignAddresses` would be duplicated. Generalize #66854 to cover
more errors.
Note: address-related errors exposed in one invocation might not be
errors in another invocation.
Pull Request: https://github.com/llvm/llvm-project/pull/96361
Commit: fc066ca1c32b4aef549f3e371dc70589804aba0f
https://github.com/llvm/llvm-project/commit/fc066ca1c32b4aef549f3e371dc70589804aba0f
Author: Greg Clayton <clayborg at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
Log Message:
-----------
Fix buildbots for https://github.com/llvm/llvm-project/pull/87740
Commit: 5d15f606da4cb4346465956d935a2842f8e86200
https://github.com/llvm/llvm-project/commit/5d15f606da4cb4346465956d935a2842f8e86200
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M flang/include/flang/Parser/preprocessor.h
M flang/lib/Parser/prescan.cpp
M flang/lib/Parser/prescan.h
A flang/test/Preprocessing/cond-contin.F90
A flang/test/Preprocessing/inc-contin-1.F
A flang/test/Preprocessing/inc-contin-1.h
A flang/test/Preprocessing/inc-contin-2.F90
A flang/test/Preprocessing/inc-contin-2a.h
A flang/test/Preprocessing/inc-contin-2b.h
M flang/test/Preprocessing/include-args.F90
M flang/unittests/Frontend/FrontendActionTest.cpp
Log Message:
-----------
[flang][preprocessing] Mix preprocessing directives with free form li… (#96244)
…ne continuation
Allow preprocessing directives to appear between a source line and its
continuation, including conditional compilation directives (#if, #ifdef,
&c.).
Fixes https://github.com/llvm/llvm-project/issues/95476.
Commit: e6ec3664cb72fd95669cb516b21572da4236fd91
https://github.com/llvm/llvm-project/commit/e6ec3664cb72fd95669cb516b21572da4236fd91
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/InterpBuiltin.cpp
M clang/test/AST/Interp/functions.cpp
Log Message:
-----------
[clang][Interp] Fix classifying __builtin_addressof() argument
It's an lvalue, so we need to use the classify() taking an expression.
Commit: eac925fb81f26342811ad1765e8f9919628e2254
https://github.com/llvm/llvm-project/commit/eac925fb81f26342811ad1765e8f9919628e2254
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M flang/runtime/external-unit.cpp
M flang/runtime/pseudo-unit.cpp
M flang/runtime/unit.h
Log Message:
-----------
[flang][runtime] Better handling of "fort.N" opening errors (#96347)
When a data transfer statement references a unit number that hasn't been
explicitly OPENed, the runtime I/O support library opens a local
"fort.N" file where N is the unit number. If that name exists in the
current working directory but is not a readable or writable file (as
appropriate), the runtime needs to catch the error at the point of the
READ or WRITE statement rather than leaving an open unit in the unit map
without a valid file descriptor.
Commit: 514c1ec5477a48e4f639c0b15ab757832b67dd10
https://github.com/llvm/llvm-project/commit/514c1ec5477a48e4f639c0b15ab757832b67dd10
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M flang/include/flang/Runtime/pointer.h
M flang/runtime/ISO_Fortran_binding.cpp
M flang/runtime/descriptor.cpp
M flang/runtime/pointer.cpp
Log Message:
-----------
[flang][runtime] Interoperable POINTER deallocation validation (#96100)
Extend the runtime validation of deallocated pointers so that it also
works when pointers are allocated &/or deallocated outside Fortran.
Previously, bogus runtime errors would be reported for pointers
allocated via CFI_allocate() and deallocated in Fortran, and
CFI_deallocate() did not check that it was deallocating a whole
contiguous pointer that was allocated as such.
Commit: a27164cb33162bb42642c091703f9c6f8829785c
https://github.com/llvm/llvm-project/commit/a27164cb33162bb42642c091703f9c6f8829785c
Author: Jacob Lalonde <jalalonde at fb.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.cpp
M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.h
M lldb/source/Plugins/ObjectFile/Minidump/ObjectFileMinidump.cpp
M llvm/include/llvm/BinaryFormat/Minidump.h
Log Message:
-----------
[LLDB][Minidump] Add 64b support to LLDB's minidump file builder. (#95312)
Currently, LLDB does not support taking a minidump over the 4.2gb limit imposed by uint32. In fact, currently it writes the RVA's and the headers to the end of the file, which can become corrupted due to the header offset only supporting a 32b offset.
This change reorganizes how the file structure is laid out. LLDB will precalculate the number of directories required and preallocate space at the top of the file to fill in later. Additionally, thread stacks require a 32b offset, and we provision empty descriptors and keep track of them to clean up once we write the 32b memory list.
For
[MemoryList64](https://learn.microsoft.com/en-us/windows/win32/api/minidumpapiset/ns-minidumpapiset-minidump_memory64_list),
the RVA to the start of the section itself will remain in a 32b addressable space. We achieve this by predetermining the space the memory regions will take, and only writing up to 4.2 gb of data with some buffer to allow all the MemoryDescriptor64s to also still be 32b addressable.
I did not add any explicit tests to this PR because allocating 4.2gb+ to test is very expensive. However, we have 32b automation tests and I validated with in several ways, including with 5gb+ array/object and would be willing to add this as a test case.
Commit: 43d207addaf4111dd6a4e0e702e8797587ce61ba
https://github.com/llvm/llvm-project/commit/43d207addaf4111dd6a4e0e702e8797587ce61ba
Author: Jiahan Xie <88367305+jiahanxie353 at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
A llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/vec-store.ll
Log Message:
-----------
[RISCV][GISEL] IRTranslator for Scalable Vector Store (#86699)
Support IR translation for scalable vector store
Commit: 431213c99d7707114d8e7956073a057cf1607160
https://github.com/llvm/llvm-project/commit/431213c99d7707114d8e7956073a057cf1607160
Author: srcarroll <50210727+srcarroll at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
M mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp
A mlir/test/Dialect/Linalg/rank-reduce-contraction-ops.mlir
M mlir/test/lib/Dialect/Linalg/CMakeLists.txt
A mlir/test/lib/Dialect/Linalg/TestLinalgRankReduceContractionOps.cpp
M mlir/tools/mlir-opt/mlir-opt.cpp
Log Message:
-----------
[mlir][linalg] Implement patterns for reducing rank of named linalg contraction ops (#95710)
This patch introduces pattern rewrites for reducing the rank of named
linalg contraction ops with unit spatial dim(s) to other named
contraction ops. For example `linalg.batch_matmul` with batch size 1 ->
`linalg.matmul` and `linalg.matmul` with unit LHS spatial dim ->
`linalg.vecmat`, etc. These patterns don't support reducing the rank
along reduction dimension as those don't convert to other named
contraction ops.
Commit: 962d7ac7fcdf6f0cb43e36dec2a6a67cadd7c46c
https://github.com/llvm/llvm-project/commit/962d7ac7fcdf6f0cb43e36dec2a6a67cadd7c46c
Author: Quentin Michaud <128144579+mh4ck-Thales at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/Basic/LangOptions.h
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/WebAssembly.cpp
Log Message:
-----------
Add flag to opt out of wasm-opt (#95208)
This PR fixes #55781 by adding the `--no-wasm-opt` and `--wasm-opt`
flags in clang to disable/enable the `wasm-opt` optimizations. The
default is to enable `wasm-opt` as before in order to not break existing
workflows.
I think that adding a warning when no flag or the `--wasm-opt` flag is
given but `wasm-opt` wasn't found in the path may be relevant here. It
allows people using `wasm-opt` to be aware of if it have been used on
their produced binary or not. The only downside I see to this is that
people already using the toolchain with the `-O` and `-Werror` flags but
without `wasm-opt` in the path will see their toolchain break (with an
easy fix: either adding `--no-wasm-opt` or add `wasm-opt` to the path).
I haven't implemented this here because I haven't figured out how to add
such a warning, and I don't know if this warning should be added here or
in another PR.
CC @sunfishcode that proposed in the associated issue to review this
patch.
Commit: 0ab81986be7c2df8dc784e9e950c906274b51fd4
https://github.com/llvm/llvm-project/commit/0ab81986be7c2df8dc784e9e950c906274b51fd4
Author: Fred Grim <fgrim at apple.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/test/tools/llvm-readobj/ELF/dynamic-tags.test
M llvm/tools/llvm-readobj/ELFDumper.cpp
Log Message:
-----------
[llvm-readobj][ELF] Implement JSON output for --dynamic-table (#95976)
When printing JSON output with --dynamic-table I noticed that the output
is invalid JSON. This patch overrides the printDynamicTable() function
in the JSONELFDumper to return a list of dictionaries for the
DynamicSection value.
Before the output was:
```
{
"FileSummary": {
"File": "bin/llvm-readelf",
"Format": "elf64-x86-64",
"Arch": "x86_64",
"AddressSize": "64bit",
"LoadName": "<Not found>"
}DynamicSection [ (35 entries)
Tag Type Name/Value
0x000000000000001D RUNPATH Library runpath: [$ORIGIN/../lib:]
0x0000000000000001 NEEDED Shared library: [libm.so.6]
0x0000000000000001 NEEDED Shared library: [libz.so.1]
0x0000000000000001 NEEDED Shared library: [libzstd.so.1]
```
Now the output looks like:
```
"DynamicSection": [
{
"Tag": 29,
"Type": "RUNPATH",
"Value": 6322,
"Path": [
"$ORIGIN/../lib"
]
},
{
"Tag": 1,
"Type": "NEEDED",
"Value": 6109,
"Library": "libm.so.6"
},
```
Commit: 58cb0e651fee277777c7121465d488dba43adbd6
https://github.com/llvm/llvm-project/commit/58cb0e651fee277777c7121465d488dba43adbd6
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M .github/CODEOWNERS
Log Message:
-----------
[.github] Add myself as a reviewer for DWARFLinker & friends (#96531)
Commit: 0534953253725a0f3aa5a83ba5e09836c768860e
https://github.com/llvm/llvm-project/commit/0534953253725a0f3aa5a83ba5e09836c768860e
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
Log Message:
-----------
[bazel] Port #95312 (#96533)
Commit: 33a9c57b89c3ea901a057c3fcc9c9160eaf5a625
https://github.com/llvm/llvm-project/commit/33a9c57b89c3ea901a057c3fcc9c9160eaf5a625
Author: Miro Bucko <mbucko at meta.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/test/API/python_api/find_in_memory/address_ranges_helper.py
Log Message:
-----------
[lldb] Fix failing TestFind(Ranges)InMemory.py tests. (#96511)
This is to unblock #95007. Will investigate why the assertion is failing
on some arch.
Commit: 2f69e9a212bb3b965c4d79ff8a12e1e63d679587
https://github.com/llvm/llvm-project/commit/2f69e9a212bb3b965c4d79ff8a12e1e63d679587
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/test/DebugInfo/COFF/fission-sections.ll
Log Message:
-----------
[COFF,test] Improve fission.ll
Commit: b7b337fb91f9b0538fcc4467ffca7c6c71192bc9
https://github.com/llvm/llvm-project/commit/b7b337fb91f9b0538fcc4467ffca7c6c71192bc9
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Affine/Transforms/LoopFusion.cpp
M mlir/lib/Dialect/GPU/Transforms/NVVMAttachTarget.cpp
M mlir/lib/Dialect/GPU/Transforms/ROCDLAttachTarget.cpp
M mlir/lib/Dialect/GPU/Transforms/SPIRVAttachTarget.cpp
M mlir/lib/Dialect/Transform/Interfaces/MatchInterfaces.cpp
M mlir/lib/IR/AffineMap.cpp
M mlir/lib/Tools/mlir-pdll-lsp-server/PDLLServer.cpp
Log Message:
-----------
[mlir] Use llvm::unique (NFC) (#96415)
Commit: d6a3bd1325c5c54ef59e8a612451757c86186355
https://github.com/llvm/llvm-project/commit/d6a3bd1325c5c54ef59e8a612451757c86186355
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/www/get_involved.html
Log Message:
-----------
Update Clang extension criteria (#96532)
This updates Clang's extension criteria to explicitly mention impacts on
other projects within the monorepo.
These changes were discussed in the following RFC:
https://discourse.llvm.org/t/rfc-require-discussion-of-impact-to-monorepo-stakeholders-when-adding-new-clang-extensions/79613
Commit: 2ae09052477e1a966afbc5482d88585f95694c53
https://github.com/llvm/llvm-project/commit/2ae09052477e1a966afbc5482d88585f95694c53
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
A clang/test/C/C2x/n2819.c
M clang/www/c_status.html
Log Message:
-----------
[C23] Claim we do not conform to N2819
This paper clarified the lifetime of compound literal objects in odd
scopes, such as use at function prototype scope.
We do not currently implement this paper, as the new test demonstrates.
Commit: 62baf21daa377c4ec1a641b26931063c1117d262
https://github.com/llvm/llvm-project/commit/62baf21daa377c4ec1a641b26931063c1117d262
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
M llvm/test/CodeGen/AArch64/aarch64-sme2-asm.ll
M llvm/test/CodeGen/AArch64/sme-intrinsics-add.ll
M llvm/test/CodeGen/AArch64/sme-intrinsics-loads.ll
M llvm/test/CodeGen/AArch64/sme-intrinsics-mopa.ll
M llvm/test/CodeGen/AArch64/sme-intrinsics-mops.ll
M llvm/test/CodeGen/AArch64/sme-intrinsics-stores.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-add-sub-za16.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-add.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-cvt.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-cvtl.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-cvtn.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-extract-mova.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-fmlas.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-fmlas16.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-fp-dots.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-frint.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-insert-mova.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-int-dots.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-ld1.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-ldnt1.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-luti2-lane-x2.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-luti2-lane-x4.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-luti2-lane.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-luti4-lane-x2.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-luti4-lane-x4.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-luti4-lane.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-max.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-min.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-mlall.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-mlals.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-mop.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-mopa.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-qcvt.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-qcvtn.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-qrshr.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-rshl.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-select-sme-tileslice.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-sqdmulh.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-sub.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-vdot.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-zero-zt.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-zt0.ll
M llvm/test/CodeGen/AArch64/sme2p1-intrinsics-zero.ll
M llvm/test/CodeGen/AArch64/sve-callee-save-restore-pairs.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-contiguous-prefetches.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-conversion.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-counting-bits.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-counting-elems.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-fp-converts.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-ldN-sret-reg+imm-addr-mode.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-ldN-sret-reg+reg-addr-mode.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-logical.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-pred-creation.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-pred-operations.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-pred-testing.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-reinterpret.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-reversal.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-sel.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-sqdec.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-sqinc.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-st1-addressing-mode-reg-imm.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-st1-addressing-mode-reg-reg.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-st1.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-stN-reg-imm-addr-mode.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-stN-reg-reg-addr-mode.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-stores.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-uqdec.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-uqinc.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-while.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-reshuffle.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-binary-narrowing-add-sub.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-binary-narrowing-shr.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-complex-dot.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-contiguous-conflict-detection.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-fp-converts.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-fp-int-binary-logarithm.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-fp-widening-mul-acc.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-int-mul-lane.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-non-widening-pairwise-arith.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-polynomial-arithmetic.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-psel.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-revd.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-unary-narrowing.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-uniform-complex-arith.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-while-reversed.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-while.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-widening-complex-int-arith.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-widening-dsp.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-widening-pairwise-arith.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-cntp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-dots.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-fclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-fp-reduce.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-int-reduce.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-loads.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-predicate-as-counter.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-sclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-selx2.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-selx4.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-stores.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-uclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-unpk.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-uzpx2.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-uzpx4.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-while-pn.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-zipx2.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-zipx4.ll
Log Message:
-----------
[AArch64] Check for streaming mode in HasSME* features. (#96302)
This also fixes up some asserts in copyPhysReg, loadRegFromStackSlot and
storeRegToStackSlot.
Commit: 09c0337a581dfd8f39df131786cfc7f675adf483
https://github.com/llvm/llvm-project/commit/09c0337a581dfd8f39df131786cfc7f675adf483
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/Basic/arm_sme.td
M clang/include/clang/Basic/arm_sve.td
M clang/include/clang/Basic/arm_sve_sme_incl.td
M clang/test/Sema/aarch64-sve-intrinsics/acle_sve_bfloat.cpp
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_bfloat.cpp
M clang/utils/TableGen/SveEmitter.cpp
Log Message:
-----------
[Clang][SveEmitter] Split up TargetGuard into SVE and SME component. (#96482)
One reason to want to split this up is to simplify the code added in
#93802, where it checks the SME streaming-mode requirements for a
builtin by checking for the absence of SVE. If the target guards are
separate, we can generate a table and make the Sema code to verify the
runtime mode simpler.
Another reason is to avoid an issue with a check in SveEmitter.cpp where
it ensures that the 'VerifyRuntimeMode' is set correctly for functions
that have both SVE and SME target guards:
if (!Def->isFlagSet(VerifyRuntimeMode) &&
Def->getGuard().contains("sve") &&
Def->getGuard().contains("sme"))
llvm_unreachable("Missing VerifyRuntimeMode flag");
However, if we ever add a new feature with "sme" in the name, even
though it is unrelated to FEAT_SME, then this code no longer works.
Note that the arm_sve.td and arm_sme.td files could do with a bit of
restructuring after this but it seems better to follow that up in an NFC
patch.
Commit: f2d3d829b97a221c9ce3a3467a20ea51bb29ecbd
https://github.com/llvm/llvm-project/commit/f2d3d829b97a221c9ce3a3467a20ea51bb29ecbd
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
Log Message:
-----------
[mlir][linalg][Transform] Fix use-after-free in `SplitOp::apply` (#96390)
Detected with ASAN. `Operation::getLoc()` was called after erasing the
operation.
Reverts 48cf6b6bbe7a22bfcd98f82dc7afd21c9decd22f, which attempted to fix
the use-after-free. (But the use-after-free is still there when the
`hasFailed` branch is taken.)
Commit: d30b082fd4aeba0a3a99c3f17dbffe6691f859cc
https://github.com/llvm/llvm-project/commit/d30b082fd4aeba0a3a99c3f17dbffe6691f859cc
Author: Terry Wilmarth <terry.l.wilmarth at intel.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M openmp/runtime/src/dllexports
M openmp/runtime/src/kmp.h
M openmp/runtime/src/kmp_csupport.cpp
M openmp/runtime/src/kmp_runtime.cpp
A openmp/runtime/test/parallel/omp_parallel_num_threads_list.c
A openmp/runtime/test/parallel/omp_parallel_num_threads_strict.c
Log Message:
-----------
[OpenMP] Add num_threads clause list format and strict modifier support (#85466)
Add support to the runtime for 6.0 spec features that allow num_threads
clause to take a list, and also make use of the strict modifier.
Provides new compiler interface functions for these features.
Commit: 0555afd02401551c10dbf7f646a98501929b27e2
https://github.com/llvm/llvm-project/commit/0555afd02401551c10dbf7f646a98501929b27e2
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Analysis/MLInlineAdvisor.cpp
Log Message:
-----------
[NFC][MLInliner] Rename LastSCC -> CurSCC (#96546)
The passed SCC is the current SCC we're working on.
Commit: b1a93dbaba87119556c1138b64cde6aa5ee8a854
https://github.com/llvm/llvm-project/commit/b1a93dbaba87119556c1138b64cde6aa5ee8a854
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Export distributable lldb files (#96549)
If you're building and vendoring lldb, you might need to also vendor
these files.
Commit: b097018fdafe61f1fe10337a71f56e5386930d54
https://github.com/llvm/llvm-project/commit/b097018fdafe61f1fe10337a71f56e5386930d54
Author: Mike Rice <michael.p.rice at intel.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaOpenMP.cpp
M clang/test/OpenMP/Inputs/nesting_of_regions.cpp
Log Message:
-----------
[clang][OpenMP] Fix teams nesting of region check (#94806)
The static verifier flagged dead code in the check since the loop will
only execute once and never reach the iterator increment.
The loop needs to iterate twice to correctly diagnose when a statement
is after the teams.
Since there are two iterations again, reset the iterator to the first
teams directive when the double teams case is seen so the diagnostic can
report both locations.
Commit: 313b1a8250d3cd742356cc71c36402b10d8b2e16
https://github.com/llvm/llvm-project/commit/313b1a8250d3cd742356cc71c36402b10d8b2e16
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/ReleaseModeModelRunner.h
M llvm/lib/Analysis/MLInlineAdvisor.cpp
M llvm/unittests/Analysis/MLModelRunnerTest.cpp
Log Message:
-----------
[mlgo] Support composite AOT-ed models (#96276)
This applies to the AOT case where we embed models in the compiler. The
change adds support for multiple models for the same agent, and allows
the user select one via a command line flag. "agent" refers to e.g. the
inline advisor or the register allocator eviction advisor.
To avoid build setup complexity, the support is delegated to the saved
model. Since saved models define computational graphs, we can generate a
composite model (this happens prior to building and embedding it in LLVM
and is not shown in this change) that exposes an extra feature with a
predefined name: `_model_selector`. The model, then, delegates
internally to contained models based on that feature value.
Model selection is expected to happen at model instantiation, there is
no current scenario for switching them afterwards.
If the model doesn't expose such a feature but the user passes one, we
report error.
If the model exposes such a feature but the user doesn't pass one, we
also report an error.
Invalid model selector values are expected to be handled by the saved
model.
Internally, the model uses a pair of uint64 values - the high and low of
the MD5 hash of the name.
A tool composing models would, then, need to:
- expose the extra feature, `_model_selector`, shape (2,), uint64 data
type
- test its value (`tf.cond` or `tf.case` in Tensorflow) against the MD5
hash, in the [high, low] order, of contained models based on a
user-specified name (which the user will then use as flag value to the
compiler)
Agents just need to add a flag to capture the name of a model and pass
it to `ReleaseModeModelRunner` at construction. This can be passed in
all cases without checking - the case where the model is not composite
and we pass an empty name, everything works as before.
This change also factors out the string flags we pass to the
`ReleaseModeModelRunner` for better maintainability (we risk confusing
parameters that are strings otherwise)
Commit: 5413a2bb843a3c71e0891aa5984afd63cd580dea
https://github.com/llvm/llvm-project/commit/5413a2bb843a3c71e0891aa5984afd63cd580dea
Author: Mike Rice <michael.p.rice at intel.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/lib/Parse/ParseOpenMP.cpp
M clang/test/OpenMP/declare_variant_clauses_messages.cpp
Log Message:
-----------
[clang][OpenMP] Fix error handling of the adjust_args clause (#94696)
Static verifier noticed the current code has logically dead code parsing
the clause where IsComma is assigned. Fix this and improve the error
message received when a bad adjust-op is specified.
This will now be handled like 'map' where a nice diagnostic is given
with the correct values, then parsing continues on the next clause
reducing unhelpful diagnostics.
Commit: 3aef525aa4b9a5395b6ac4ae771e28e64b27a126
https://github.com/llvm/llvm-project/commit/3aef525aa4b9a5395b6ac4ae771e28e64b27a126
Author: vangthao95 <vang.thao at amd.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-constant.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/smrd.ll
M llvm/test/CodeGen/AMDGPU/cgp-addressing-modes-smem.ll
M llvm/test/CodeGen/AMDGPU/gfx12_scalar_subword_loads.ll
M llvm/test/CodeGen/AMDGPU/global-saddr-load.ll
M llvm/test/CodeGen/AMDGPU/llvm.prefetch.ll
M llvm/test/CodeGen/AMDGPU/smrd.ll
Log Message:
-----------
[AMDGPU] Fix negative immediate offset for unbuffered smem loads (#89165)
For unbuffered smem loads, it is illegal for the immediate offset to be
negative if the resulting IOFFSET + (SGPR[Offset] or M0 or zero) is
negative.
New PR of https://github.com/llvm/llvm-project/pull/79553.
Commit: d2864d1716b5e5b5eabb3004b04a1d7f67803f0d
https://github.com/llvm/llvm-project/commit/d2864d1716b5e5b5eabb3004b04a1d7f67803f0d
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M libcxx/CMakeLists.txt
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-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
Log Message:
-----------
[libc++] Build with -fsized-deallocation (#96217)
This patch makes libc++ build with -fsized-deallocation. That flag is
enabled by default in recent versions of Clang, so this patch will make
libc++ forward-compatible with ToT Clang.
Commit: bea7f3d8739a12c599525c18c151f37b1293a080
https://github.com/llvm/llvm-project/commit/bea7f3d8739a12c599525c18c151f37b1293a080
Author: Nick Desaulniers (paternity leave) <nickdesaulniers at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M libc/include/llvm-libc-macros/CMakeLists.txt
A libc/include/llvm-libc-macros/link-macros.h
M libc/startup/linux/CMakeLists.txt
M libc/startup/linux/do_start.cpp
Log Message:
-----------
[libc][startup] create header for ElfW and use in startup (#96510)
This is necessary for 32b platforms such as ARM and i386.
Link: #94128
Commit: dd8d978b7642b410f3a4895aa20f0aada4a0f7e4
https://github.com/llvm/llvm-project/commit/dd8d978b7642b410f3a4895aa20f0aada4a0f7e4
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/lldb/BUILD.bazel
Log Message:
-----------
[bazel] Switch mach_gen to apple_genrule (#96551)
mig is a tool vendored with Xcode. Using apple_genrule makes sure that
the bazel selected version of Xcode is preferred, and that the action is
invalidated when that version changes.
Commit: a030c8bc87be0599e861f5d8fe8254ac8d6e84ba
https://github.com/llvm/llvm-project/commit/a030c8bc87be0599e861f5d8fe8254ac8d6e84ba
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
A utils/bazel/llvm-project-overlay/lldb/tools/lldb-dap/BUILD.bazel
Log Message:
-----------
[bazel] Add support for building lldb-dap (#96556)
Commit: 687d6fbfac6205e6f53ea58584278c09738ea708
https://github.com/llvm/llvm-project/commit/687d6fbfac6205e6f53ea58584278c09738ea708
Author: Akshay Deodhar <adeodhar at nvidia.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/IntrinsicsNVVM.td
M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
M llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
M llvm/lib/Target/NVPTX/NVPTXUtilities.cpp
M llvm/lib/Target/NVPTX/NVPTXUtilities.h
A llvm/test/CodeGen/NVPTX/lower-args-gridconstant.ll
Log Message:
-----------
[NVPTX] Basic support for "grid_constant" (#96125)
- Adds a helper function for checking whether an argument is a
[grid_constant](https://docs.nvidia.com/cuda/nvvm-ir-spec/index.html#supported-properties).
- Adds support for cvta.param using changes from
https://github.com/llvm/llvm-project/pull/95289
- Supports escaped grid_constant pointers conservatively, by casting all
uses to the generic address space with cvta.param.
Commit: 5ae50698a0d6a3022af2e79d405a7eb6c8c790f0
https://github.com/llvm/llvm-project/commit/5ae50698a0d6a3022af2e79d405a7eb6c8c790f0
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
M llvm/test/Analysis/LoopAccessAnalysis/symbolic-stride.ll
Log Message:
-----------
LAA: strip unnecessary getUniqueCastUse (#92119)
733b8b2 ([LAA] Simplify identification of speculatable strides [nfc])
refactored getStrideFromPointer() to compute directly on SCEVs, and
return an SCEV expression instead of a Value. However, it left behind a
call to getUniqueCastUse(), which is completely unnecessary. Remove
this, showing a positive test update, and simplify the surrounding
program logic.
Commit: 16903ace180755b7558234ff2b2e8d89b00dcb88
https://github.com/llvm/llvm-project/commit/16903ace180755b7558234ff2b2e8d89b00dcb88
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
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/docs/math/index.rst
M libc/src/__support/FPUtil/double_double.h
M libc/src/__support/FPUtil/dyadic_float.h
M libc/src/__support/macros/optimization.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/range_reduction_double_common.h
A libc/src/math/generic/range_reduction_double_fma.h
A libc/src/math/generic/range_reduction_double_nofma.h
A libc/src/math/generic/sin.cpp
A libc/src/math/generic/sincos_eval.h
M libc/src/math/x86_64/CMakeLists.txt
R libc/src/math/x86_64/sin.cpp
M libc/test/src/math/sin_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/sin_test.cpp
Log Message:
-----------
[libc][math] Implement double precision sin correctly rounded to all rounding modes. (#95736)
- Algorithm:
- Step 1 - Range reduction: for a double precision input `x`, return `k`
and `u` such that
- k is an integer
- u = x - k * pi / 128, and |u| < pi/256
- Step 2 - Calculate `sin(u)` and `cos(u)` in double-double using Taylor
polynomials with errors < 2^-70 with FMA or < 2^-66 w/o FMA.
- Step 3 - Calculate `sin(x) = sin(k*pi/128) * cos(u) + cos(k*pi/128) *
sin(u)` using look-up table for `sin(k*pi/128)` and `cos(k*pi/128)`.
- Step 4 - Use Ziv's rounding test to decide if the result is correctly
rounded.
- Step 4' - If the Ziv's rounding test failed, redo step 1-3 using
128-bit precision.
- Currently, without FMA instructions, the large range reduction only
works correctly for the default rounding mode (FE_TONEAREST).
- Provide `LIBC_MATH` flag so that users can set `LIBC_MATH =
LIBC_MATH_SKIP_ACCURATE_PASS` to build the `sin` function without step 4
and 4'.
Commit: a32b7199f0c15ea1c6c9490b6166c019c9d4bd2b
https://github.com/llvm/llvm-project/commit/a32b7199f0c15ea1c6c9490b6166c019c9d4bd2b
Author: Chelsea Cassanova <chelsea_cassanova at apple.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/bindings/python/python-typemaps.swig
M lldb/include/lldb/API/SBProcess.h
M lldb/include/lldb/Core/AddressRangeListImpl.h
M lldb/include/lldb/Target/Process.h
M lldb/source/API/SBProcess.cpp
M lldb/source/Target/Process.cpp
R lldb/test/API/python_api/find_in_memory/Makefile
R lldb/test/API/python_api/find_in_memory/TestFindInMemory.py
R lldb/test/API/python_api/find_in_memory/TestFindRangesInMemory.py
R lldb/test/API/python_api/find_in_memory/address_ranges_helper.py
R lldb/test/API/python_api/find_in_memory/main.cpp
Log Message:
-----------
Revert commits that add `TestFind(Ranges)InMemory.py` (#96560)
Reverting to unblock macOS buildbots which are currently failing on
these tests.
https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/as-lldb-cmake/6377/
Commit: 75ac887a3033c6e4eb8e423a78490c8d4bf7d5b5
https://github.com/llvm/llvm-project/commit/75ac887a3033c6e4eb8e423a78490c8d4bf7d5b5
Author: shaw young <58664393+shawbyoung at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M bolt/docs/CommandLineArgumentReference.md
Log Message:
-----------
[BOLT][NFC] Sync CommandLineArgumentReference with options (#96563)
Commit: a3a44bfbdfefe0928124f9e40d242507f75b87f4
https://github.com/llvm/llvm-project/commit/a3a44bfbdfefe0928124f9e40d242507f75b87f4
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/ProfDataUtils.h
M llvm/lib/IR/Instructions.cpp
M llvm/lib/IR/ProfDataUtils.cpp
M llvm/lib/IR/Verifier.cpp
Log Message:
-----------
[llvm][ProfDataUtils] Provide getNumBranchWeights API (#90146)
As suggested in
https://github.com/llvm/llvm-project/pull/86609/files#r1556689262
an API for getting the number of branch weights directly from the MD
node would be useful in a variety of checks, and keeps the logic within
ProfDataUtils.
Commit: 5e097c79d820683b72e2bac8e56df93801ad85ec
https://github.com/llvm/llvm-project/commit/5e097c79d820683b72e2bac8e56df93801ad85ec
Author: shaw young <58664393+shawbyoung at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M bolt/docs/CommandLineArgumentReference.md
M bolt/lib/Profile/YAMLProfileReader.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/lib/Utils/CommandLineOpts.cpp
A bolt/test/X86/hashing-based-function-matching.test
Log Message:
-----------
[BOLT] Hash-based function matching (#95821)
Using the hashes of binary and profiled functions
to recover functions with changed names.
Test Plan: added
hashing-based-function-matching.test.
Commit: b3c668b0055717633503ed26787037d9e3499781
https://github.com/llvm/llvm-project/commit/b3c668b0055717633503ed26787037d9e3499781
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/docs/LanguageExtensions.rst
Log Message:
-----------
[clang][docs] '#pragma clang section' is supported on Mach-O. NFC
This was added back in 7f6e3316456f939a062aad0eeaac983251a1747c, but I forgot
to update the docs that referenced it.
Commit: 32e4906c28952d2dd8ed193cfd37856b98233ef5
https://github.com/llvm/llvm-project/commit/32e4906c28952d2dd8ed193cfd37856b98233ef5
Author: shaw young <58664393+shawbyoung at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M bolt/docs/CommandLineArgumentReference.md
M bolt/lib/Profile/YAMLProfileReader.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/lib/Utils/CommandLineOpts.cpp
R bolt/test/X86/hashing-based-function-matching.test
Log Message:
-----------
Revert "[BOLT] Hash-based function matching" (#96568)
Reverts llvm/llvm-project#95821
Commit: 0d4da0df166ea7512c6e97e182b21cd706293eaa
https://github.com/llvm/llvm-project/commit/0d4da0df166ea7512c6e97e182b21cd706293eaa
Author: Miro Bucko <mbucko at meta.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/bindings/python/python-typemaps.swig
M lldb/include/lldb/API/SBProcess.h
M lldb/include/lldb/Core/AddressRangeListImpl.h
M lldb/include/lldb/Target/Process.h
M lldb/source/API/SBProcess.cpp
M lldb/source/Target/Process.cpp
A lldb/test/API/python_api/find_in_memory/Makefile
A lldb/test/API/python_api/find_in_memory/TestFindInMemory.py
A lldb/test/API/python_api/find_in_memory/TestFindRangesInMemory.py
A lldb/test/API/python_api/find_in_memory/address_ranges_helper.py
A lldb/test/API/python_api/find_in_memory/main.cpp
Log Message:
-----------
[lldb][API] Add Find(Ranges)InMemory() to Process SB API (#96569)
This is a second attempt to land #95007
Test Plan:
llvm-lit
llvm-project/lldb/test/API/python_api/find_in_memory/TestFindInMemory.py
llvm-project/lldb/test/API/python_api/find_in_memory/TestFindRangesInMemory.py
Reviewers: clayborg
Tasks: lldb
Commit: dc27ff10497ea0c7d93de028badffa62707d8b6c
https://github.com/llvm/llvm-project/commit/dc27ff10497ea0c7d93de028badffa62707d8b6c
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M libc/test/src/__support/CMakeLists.txt
Log Message:
-----------
[libc] Disable freelist test on NVPTX temporarily
Summary:
This test fails due to alignment issues, it's likely that it's
misaligned on other targets too and they just don't crash on it.
@PiJoules maybe we should run this with ubsan?
Commit: 361543e4100defe14334cfb11481be44a977e627
https://github.com/llvm/llvm-project/commit/361543e4100defe14334cfb11481be44a977e627
Author: Jacob Lalonde <jalalonde at fb.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.cpp
M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.h
Log Message:
-----------
[LLDB][Minidump] Change expected directories to the correct type; size_t (#96564)
In #95312 I incorrectly set `m_expected_directories` to uint, this broke
the windows build and is the incorrect type.
`size_t` is more accurate because this value only ever represents the
expected upper bound of the directory vector.
Commit: a2d340ba161fe48ee4ff736c6e7877038a7388cd
https://github.com/llvm/llvm-project/commit/a2d340ba161fe48ee4ff736c6e7877038a7388cd
Author: David Truby <david.truby at arm.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/include/clang/Driver/Driver.h
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/Driver.cpp
R flang/test/Driver/print-resource-dir.F90
Log Message:
-----------
Revert "[Flang][Driver] Add -print-resource-dir command line flag to emit Flang's resource directory" (#96557)
Reverts llvm/llvm-project#90886
These changes broke linking to compiler-rt on Windows
Commit: 954b692bd74b4e7571bb4a8045f4b488d504a6ba
https://github.com/llvm/llvm-project/commit/954b692bd74b4e7571bb4a8045f4b488d504a6ba
Author: David Truby <david.truby at arm.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M flang/lib/Evaluate/intrinsics.cpp
M flang/unittests/Evaluate/intrinsics.cpp
Log Message:
-----------
[flang] Allow derf as alternate spelling for erf (#95784)
This patch adds derf as an alternate spelling for the erf intrinsic.
This spelling is supported by multiple other compilers and used by WRF.
Commit: 8ad32ce7382bb8d630a3d4d93d1e1f00f8e2bd0e
https://github.com/llvm/llvm-project/commit/8ad32ce7382bb8d630a3d4d93d1e1f00f8e2bd0e
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Basic/Targets/X86.cpp
M clang/lib/Basic/Targets/X86.h
M clang/lib/Driver/ToolChains/Arch/X86.cpp
M clang/test/Driver/x86-target-features.c
M clang/test/Preprocessor/x86_target_features.c
M llvm/include/llvm/TargetParser/X86TargetParser.def
M llvm/lib/Target/X86/X86.td
M llvm/lib/TargetParser/X86TargetParser.cpp
Log Message:
-----------
[X86] Add sub-feature zu (zero upper) for APX
This is a follow-up patch for #74199
Commit: 7ea63b9db4198688873036f3b0b81f9124076f7a
https://github.com/llvm/llvm-project/commit/7ea63b9db4198688873036f3b0b81f9124076f7a
Author: Weining Lu <luweining at loongson.cn>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/test/CodeGen/LoongArch/psabi-restricted-scheduling.ll
Log Message:
-----------
[LoongArch][test] Remove the FIXME in psabi-restricted-scheduling.ll which has been addressed by #76555
Commit: b0e9b00ce7d623175c5e60e82afe24e7f8a200be
https://github.com/llvm/llvm-project/commit/b0e9b00ce7d623175c5e60e82afe24e7f8a200be
Author: weiwei chen <weiwei.chen at modular.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
A llvm/test/CodeGen/NVPTX/mma-no-sink-after-laneid-check.ll
Log Message:
-----------
[NVPTX] Make nvptx mma instructions convergent. (#96521)
We are running into NVPTX backend generating wrong code for an input:
```
%0 = llvm.nvvm.mma.m?n?k?.row.col.??? (...)
if laneid == 0:
ret
else:
store %0
```
The backend reorder the instruction (as an effect of `MachineSink` pass)
to
```
if laneid == 0:
ret
else:
%0 = llvm.nvvm.mma.m?n?k?.row.col.??? (...)
store %0
```
This is incorrect because `mma` is a warp instruction which needs all
threads to sync before performing the operation instead of being guarded
by a specific thread id. It should be similar as the shuffle instruction
`shfl` in terms of warp level sync, and `shfl` is marked as
`isConvergent = true`.
Apply `isConvergent = true` to `mma` instructions.
Commit: 4e0a0eae58f7a6998866719f7eb970096a2a52e9
https://github.com/llvm/llvm-project/commit/4e0a0eae58f7a6998866719f7eb970096a2a52e9
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/include/llvm/TargetParser/X86TargetParser.def
Log Message:
-----------
[X86] Fix test Clang::CodeGen/builtin-cpu-supports.c failure
The test failed after
https://github.com/llvm/llvm-project/commit/8ad32ce7382bb8d630a3d4d93d1e1f00f8e2bd0e
In https://github.com/gcc-mirror/gcc/blob/master/gcc/common/config/i386/i386-cpuinfo.h
FEATURE_AVX512CD = 23 and FEATURE_AVX512VBMI = 26, we should only add 2
features between them. New features should be inserted at the end.
Commit: 9267f8f19a2e502ef5a216c0d52b352b3699d399
https://github.com/llvm/llvm-project/commit/9267f8f19a2e502ef5a216c0d52b352b3699d399
Author: sstwcw <su3e8a96kzlver at posteo.net>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Format/Format.h
M clang/lib/Format/Format.cpp
M clang/lib/Format/UnwrappedLineFormatter.cpp
M clang/unittests/Format/ConfigParseTest.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Add option to remove leading blank lines (#91221)
The options regarding which blank lines are kept are also aggregated.
The new option is `KeepEmptyLines`.
Commit: 437366b668cebefbf3cb7bd354fa4bfb5d90ccbb
https://github.com/llvm/llvm-project/commit/437366b668cebefbf3cb7bd354fa4bfb5d90ccbb
Author: Alexander Smarus <bender at readdle.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CMakeLists.txt
M clang/lib/Tooling/Inclusions/Stdlib/CMakeLists.txt
Log Message:
-----------
Adjust MSVC version range for ARM64 build performance regression (#90731)
This is follow up for #65215
Mentioned regression was fixed in MSVC 19.39 (VS 17.9.0), so it makes
sense to not apply fix for that (and newer) compiler versions.
Same as original change, this patch is narrowly scoped to not affect any
other compiler.
Commit: c393121778d877661f6b50cc3b3c582ac1654437
https://github.com/llvm/llvm-project/commit/c393121778d877661f6b50cc3b3c582ac1654437
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M libcxx/test/CMakeLists.txt
M libcxx/test/configs/llvm-libc++-shared-clangcl.cfg.in
M libcxx/test/configs/llvm-libc++-shared-no-vcruntime-clangcl.cfg.in
M libcxx/test/configs/llvm-libc++-static-clangcl.cfg.in
Log Message:
-----------
[libc++] Remove Windows-specific configuration from libcxx/test/CMakeLists.txt (#96330)
This is essentially a revert of 9853e9b which tried removing duplication
in the Windows config files by moving it to the CMake. However, we want
to decouple the CMake and the test suite as much as possible, so
encoding additional (non-official) Lit parameters in the CMake only as a
code reuse mechanism is not an approach we want to take.
Commit: 8348d720ef913b0ff92b468be2eb9f4ea273cb5a
https://github.com/llvm/llvm-project/commit/8348d720ef913b0ff92b468be2eb9f4ea273cb5a
Author: Clement Courbet <courbet at google.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/utils/DeclRefExprUtils.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/performance/unnecessary-copy-initialization.cpp
Log Message:
-----------
[clang-tidy] Fix assert in performance-unnecessary-copy-init. (#96506)
`GetDirectCallee` can be null.
Fixes #96498.
Commit: bd488c1247715f8d698b9b26611ff7f869c824cc
https://github.com/llvm/llvm-project/commit/bd488c1247715f8d698b9b26611ff7f869c824cc
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/TargetParser/RISCVISAInfo.cpp
Log Message:
-----------
[RISCV] Use StringRef::starts_with(char) instead of starts_with(StringRef). NFC
Commit: 8599629d390270b21c97f8b7ad2d97a344211d05
https://github.com/llvm/llvm-project/commit/8599629d390270b21c97f8b7ad2d97a344211d05
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachinePostDominators.h
M llvm/include/llvm/Passes/MachinePassRegistry.def
M llvm/lib/CodeGen/MachinePostDominators.cpp
M llvm/lib/Passes/PassBuilder.cpp
Log Message:
-----------
[CodeGen][NewPM] Port machine post dominator tree analysis to new pass manager (#96378)
Follows #95879.
Commit: 62d44fbd50e28a6cfe479fc07164b8c970f049c6
https://github.com/llvm/llvm-project/commit/62d44fbd50e28a6cfe479fc07164b8c970f049c6
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/MC/MCDwarf.cpp
Log Message:
-----------
[MC] Remove setUseAssemblerInfoForParsing(false) workarounds
This reverts commit 245491a9f384e4c53421196533c2a2b693efaf8d ("[MC] Disable MCAssembler based constant folding for DwarfDebug")
and cb09b5f3d53e5b7b4452bb3db78dca79fc9b3f17 ("[MC] Disable MCAssembler based constant folding for compact unwind and emitJumpTableEntry").
Checking the relative order of FA and FB is now faster due to
de19f7b6d46f1c38e10e604154f0fdaaffde9ebd ("[MC] Replace fragment ilist with singly-linked lists").
Commit: f1e0657d144f5a3cfef4b625d0f875f4dacd21d1
https://github.com/llvm/llvm-project/commit/f1e0657d144f5a3cfef4b625d0f875f4dacd21d1
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M mlir/docs/DialectConversion.md
M mlir/include/mlir/Transforms/DialectConversion.h
M mlir/lib/Transforms/Utils/DialectConversion.cpp
M mlir/test/Transforms/test-legalize-type-conversion.mlir
Log Message:
-----------
[mlir][Transforms] Dialect conversion: Simplify handling of dropped arguments (#96207)
This commit simplifies the handling of dropped arguments and updates
some dialect conversion documentation that is outdated.
When converting a block signature, a `BlockTypeConversionRewrite` object
and potentially multiple `ReplaceBlockArgRewrite` are created. During
the "commit" phase, uses of the old block arguments are replaced with
the new block arguments, but the old implementation was written in an
inconsistent way: some block arguments were replaced in
`BlockTypeConversionRewrite::commit` and some were replaced in
`ReplaceBlockArgRewrite::commit`. The new
`BlockTypeConversionRewrite::commit` implementation is much simpler and
no longer modifies any IR; that is done only in `ReplaceBlockArgRewrite`
now. The `ConvertedArgInfo` data structure is no longer needed.
To that end, materializations of dropped arguments are now built in
`applySignatureConversion` instead of `materializeLiveConversions`; the
latter function no longer has to deal with dropped arguments.
Other minor improvements:
- Improve variable name: `origOutputType` -> `origArgType`. Add an
assertion to check that this field is only used for argument
materializations.
- Add more comments to `applySignatureConversion`.
Note: Error messages around failed materializations for dropped basic
block arguments changed slightly. That is because those materializations
are now built in `legalizeUnresolvedMaterialization` instead of
`legalizeConvertedArgumentTypes`.
This commit is in preparation of decoupling argument/source/target
materializations from the dialect conversion.
Commit: 41f8e6d3ea57315e619ab9f71e1663095f4ed59d
https://github.com/llvm/llvm-project/commit/41f8e6d3ea57315e619ab9f71e1663095f4ed59d
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/fp-arith.mir
Log Message:
-----------
[RISCV][GISel] Fix test case order in fp-arith.mir. NFC
The fadd_f64 test was in the middle of some f32 tests.
Commit: 4c91b49bab0728d4bc136aa33c4aeb4e8ea37d01
https://github.com/llvm/llvm-project/commit/4c91b49bab0728d4bc136aa33c4aeb4e8ea37d01
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang-tools-extra/clangd/Format.cpp
Log Message:
-----------
[clangd] Fix the build broken (NFC)
/llvm-project/clang-tools-extra/clangd/Format.cpp:284:11:
error: no member named 'KeepEmptyLinesAtTheStartOfBlocks' in 'clang::format::FormatStyle'
Style.KeepEmptyLinesAtTheStartOfBlocks = true;
~~~~~ ^
1 error generated.
Commit: efa8463ab90147aacd4647eb7715763978235890
https://github.com/llvm/llvm-project/commit/efa8463ab90147aacd4647eb7715763978235890
Author: David Green <david.green at arm.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/test/Transforms/PhaseOrdering/AArch64/interleavevectorization.ll
M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity-concat.ll
M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll
Log Message:
-----------
[VectorCombine] Add free concats to shuffleToIdentity. (#94954)
This is another relatively small adjustment to shuffleToIdentity, which
has had a few knock-one effects to need a few more changes. It attempts
to detect free concats, that will be legalized to multiple vector
operations. For example if the lanes are '[a[0], a[1], b[0], b[1]]' and
a and b are v2f64 under aarch64.
In order to do this:
- isFreeConcat detects whether the input has piece-wise identities from
multiple inputs that can become a concat.
- A tree of concat shuffles is created to concatenate the input values
into a single vector. This is a little different to most other inputs as
there are created from multiple values that are being combined together,
and we cannot rely on the Lane0 insert location always being valid.
- The insert location is changed to the original location instead of
updating per item, which ensure it is valid due to the order that we
visit and create items.
Commit: f01958137f358f4fd3e71636b187db14a37a5853
https://github.com/llvm/llvm-project/commit/f01958137f358f4fd3e71636b187db14a37a5853
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/SmallPtrSet.h
M llvm/unittests/ADT/SmallPtrSetTest.cpp
Log Message:
-----------
[SmallPtrSet] Add remove_if() method (#96468)
Add remove_if() method, similar to the one already present on SetVector.
It is intended to replace the following pattern:
for (Foo *Ptr : Set)
if (Pred(Ptr))
Set.erase(Ptr);
With:
Set.remove_if(Pred);
This pattern is commonly used for set intersection, where `Pred` is
something like `!OtherSet.contains(Ptr)`.
The implementation provided here is a bit more efficient than the naive
loop, because it does not require looking up the bucket during the
erase() operation again.
However, my actual motivation for this is to have a way to perform this
operation without relying on the current `std::set`-style guarantee that
erase() does not invalidate iterators. I'd like to stop making use of
tombstones in the small regime, which will make insertion operations a
good bit more efficient. However, this will invalidate iterators during
erase().
Commit: fa20184a8f336e4154f2ffeeeb8a538dc9462d9a
https://github.com/llvm/llvm-project/commit/fa20184a8f336e4154f2ffeeeb8a538dc9462d9a
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/lib/Serialization/ASTWriter.cpp
A clang/test/Modules/no-external-identifier-id.cppm
A clang/test/Modules/no-external-type-id.cppm
Log Message:
-----------
[C++20] [Modules] [Serialization] Don't reuse type ID and identifier ID from imported modules
To support no-transitive-change model for named modules, we can't reuse
type ID and identifier ID from imported modules arbitrarily. Since the
theory for no-transitive-change model is,
for a user of a named module, the user can only access the
indirectly imported decls via the directly imported module. So that it is
possible to control what matters to the users when writing the module.
And it will be unsafe to do so if the users can reuse the type IDs and
identifier IDs from the indirectly imported modules not via the directly
imported modules.
So in this patch, we don't reuse the type ID and identifier ID in the
AST writer to avoid the problematic case.
Commit: 8153773b23032177546944ec2524dce131b8a46e
https://github.com/llvm/llvm-project/commit/8153773b23032177546944ec2524dce131b8a46e
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Pointer.cpp
M clang/test/AST/Interp/literals.cpp
Log Message:
-----------
[clang][Interp] Fix returning primitive non-blockpointers
We can't deref() them, so return false here.
Commit: 174f80c6030f9bc96df6ae8daeb4d6bce3f36fbb
https://github.com/llvm/llvm-project/commit/174f80c6030f9bc96df6ae8daeb4d6bce3f36fbb
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/GenericDomTreeConstruction.h
Log Message:
-----------
[DomTree] Avoid duplicate hash lookups in runDFS() (NFCI) (#96460)
runDFS() currently performs three hash table lookups. One in the main
loop, one when checking whether a successor has already been visited and
another when adding parent and reverse children to the successor.
We can avoid the two additional lookups by making the parent number part
of the stack, and then making the parent / reverse children update part
of the main loop.
The main loop already has a check for already visited nodes, so we don't
have to check this in advance -- we can simply push the node to the
worklist and skip it later.
Commit: 01fb5290eb86f056e6ba8757011273bcb7f4f2ee
https://github.com/llvm/llvm-project/commit/01fb5290eb86f056e6ba8757011273bcb7f4f2ee
Author: Oleksandr "Alex" Zinenko <git at ozinenko.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
Fix bazel after 18cf1cd92b554ba0b870c6a2223ea4d0d3c6dd21
mlir-config.h is included but not listed in dependencies
Commit: 7f1a74429dfd62a410d4b51d2e75d3677429a51a
https://github.com/llvm/llvm-project/commit/7f1a74429dfd62a410d4b51d2e75d3677429a51a
Author: Björn Pettersson <bjorn.a.pettersson at ericsson.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/MachineSSAUpdater.cpp
A llvm/test/CodeGen/AArch64/taildup-ssa-update-pr62712.mir
Log Message:
-----------
[TailDup][MachineSSAUpdater] Let RewriteUse insert a COPY when needed (#95553)
When running early-tailduplication we've seen problems with machine
verifier errors due to register class mismatches after doing the machine
SSA updates.
Typical scenario is that there is a PHI node and another instruction
that is using the same vreg:
%othervreg:otherclass = PHI %vreg:origclass, %bb
MInstr %vreg:origclass
but then after TailDuplicator::tailDuplicateAndUpdate we get
%othervreg:otherclass = PHI %vreg:origclass, %bb, ...
MInstr %othervreg:otherclass
Such rewrites are only valid if 'otherclass' is equal to (or a subclass
of) 'origclass'.
The solution here is based on adding a COPY instruction to make sure we
satisfy constraints given by 'MInstr' in the example. So if 'otherclass'
isn't equal to (or a subclass of) 'origclass' we insert a copy after the
PHI like this:
%othervreg:otherclass = PHI %vreg:origclass, %bb, ...
%newvreg:origclass = COPY %othervreg:otherclass
MInstr %newvreg:origclass
A special case is when it is possible to constrain the register class
instead of inserting a COPY. We currently prefer to constrain the
register class instead of inserting a COPY, even if it is a bit unclear
if that always is better (considering register pressure for the
constrained class etc.).
Fixes: https://github.com/llvm/llvm-project/issues/62712
Commit: 11e12bd82b0358de053cfd0dc762e9b30948c8a1
https://github.com/llvm/llvm-project/commit/11e12bd82b0358de053cfd0dc762e9b30948c8a1
Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M compiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
M compiler-rt/lib/gwp_asan/platform_specific/guarded_pool_allocator_fuchsia.cpp
M compiler-rt/lib/gwp_asan/platform_specific/guarded_pool_allocator_posix.cpp
M compiler-rt/lib/gwp_asan/utilities.h
Log Message:
-----------
[NFC] [GWP-ASan] Rename Check() to check() (#96605)
Change this function to be LLVM-style in name.
Commit: d78211912391b724a064ef017dbf239eff10380a
https://github.com/llvm/llvm-project/commit/d78211912391b724a064ef017dbf239eff10380a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/Analysis.h
Log Message:
-----------
[Analysis] Use SmallPtrSet::remove_if (NFC)
Commit: 2d84e0ffefda62da6193d339633dbb55654f7b5d
https://github.com/llvm/llvm-project/commit/2d84e0ffefda62da6193d339633dbb55654f7b5d
Author: Anton Sidorenko <anton.sidorenko at syntacore.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCV.td
M llvm/lib/Target/RISCV/RISCVProcessors.td
A llvm/lib/Target/RISCV/RISCVSchedSyntacoreSCR3.td
A llvm/test/tools/llvm-mca/RISCV/SyntacoreSCR/SCR3-ALU.s
A llvm/test/tools/llvm-mca/RISCV/SyntacoreSCR/SCR3-LSU.s
Log Message:
-----------
[RISCV] Add scheduling model for Syntacore SCR3 (#95427)
Syntacore SCR3 is a microcontroller-class processor core. Overview:
https://syntacore.com/products/scr3
Co-authored-by: Dmitrii Petrov <dmitrii.petrov at syntacore.com>
Commit: 8395f9cecd34af8a79c96e661e46a80d0d471fb1
https://github.com/llvm/llvm-project/commit/8395f9cecd34af8a79c96e661e46a80d0d471fb1
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.h
Log Message:
-----------
[lldb/DWARF] Remove parsing recursion when searching for definition DIEs (#96484)
If ParseStructureLikeDIE (or ParseEnum) encountered a declaration DIE,
it would call FindDefinitionTypeForDIE. This returned a fully formed
type, which it achieved by recursing back into ParseStructureLikeDIE
with the definition DIE.
This obscured the control flow and caused us to repeat some work (e.g.
the UniqueDWARFASTTypeMap lookup), but it mostly worked until we tried
to delay the definition search in #90663. After this patch, the two
ParseStructureLikeDIE calls were no longer recursive, but rather the
second call happened as a part of the CompleteType() call. This opened
the door to inconsistencies, as the second ParseStructureLikeDIE call
was not aware it was called to process a definition die for an existing
type.
To make that possible, this patch removes the recusive type resolution
from this function, and leaves just the "find definition die"
functionality. After finding the definition DIE, we just go back to the
original ParseStructureLikeDIE call, and have it finish the parsing
process with the new DIE.
While this patch is motivated by the work on delaying the definition
searching, I believe it is also useful on its own.
Commit: f6aa50873463ebd9a459b7ccd4989460175a6e7f
https://github.com/llvm/llvm-project/commit/f6aa50873463ebd9a459b7ccd4989460175a6e7f
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
M llvm/lib/Target/SPIRV/SPIRVUtils.cpp
A llvm/test/CodeGen/SPIRV/var-uniform-const.ll
Log Message:
-----------
[SPIR-V]: Fix creation of constants of array types in SPIRV Backend (#96514)
This PR fixes https://github.com/llvm/llvm-project/issues/96513.
The way of creation of array type constant was incorrect: instead of
creating [1, 1, 1] or [1, 1, 1, 1, 1, ....] constants, the same [1]
constant was always created, substituting original composite constants.
This in its turn led to a situation when only one of constants might
exist in the code without emitting invalid code, the second constant
would be eventually rewritten to the first constant, because a key to
address both was an array of a single element (like [1]).
This PR fixes the issue and purges from the code unneeded copy/pasted
clone of the function that creates an array constant.
Commit: 0bd9c49a295829ed44e838c4d54cc905662a1afa
https://github.com/llvm/llvm-project/commit/0bd9c49a295829ed44e838c4d54cc905662a1afa
Author: Lukacma <Marian.Lukac at arm.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
A llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-comb-no-active-lanes-loads.ll
Log Message:
-----------
[AArch64][SVE] optimisation for SVE load intrinsics with no active lanes (#95269)
This patch extends #73964 and adds optimisation of load SVE intrinsics
when predicate is zero.
Commit: 919b1ecafc010379eff88368b050068223a01f99
https://github.com/llvm/llvm-project/commit/919b1ecafc010379eff88368b050068223a01f99
Author: Abid Qadeer <haqadeer at amd.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
A flang/test/Integration/debug-ptr-type.f90
A flang/test/Transforms/debug-ptr-type.fir
Log Message:
-----------
[flang][debug] Support pointer type. (#96153)
The handling of `PointerType` is similar to `HeapType`. The only
difference is that allocated flag is generated for `HeapType` and
associated flag for `PointerType`. The tests for pointer to allocatable
strings are disabled for now. I will enable them once #95906 is merged.
The debugging in GDB looks like this:
integer, pointer :: par2(:)
integer, target, allocatable :: ar2(:)
integer, target :: sc
integer, pointer :: psc
allocate(ar2(4))
par2 => ar2
psc => sc
19 par2 => ar2
(gdb) p par2
$3 = <not associated>
(gdb) n
20 do i=1,5
(gdb) p par2
$4 = (0, 0, 0, 0)
(gdb) ptype par2
type = integer (4)
(gdb) p sc
$5 = 3
(gdb) p psc
$6 = (PTR TO -> ( integer )) 0x7fffffffda24
(gdb) p *psc
$7 = 3
Commit: 5feb32ba929f9e517c530217cabb09d1d734a763
https://github.com/llvm/llvm-project/commit/5feb32ba929f9e517c530217cabb09d1d734a763
Author: Vikram Hegde <115221833+vikramRH at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGenOpenCL/builtins-amdgcn.cl
M llvm/docs/AMDGPUUsage.rst
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/lib/Target/AMDGPU/VOP1Instructions.td
M llvm/lib/Target/AMDGPU/VOP2Instructions.td
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/intrinsics.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/atomic_optimizations_mul_one.ll
M llvm/test/CodeGen/AMDGPU/atomic_optimization_split_dt_update.ll
A llvm/test/CodeGen/AMDGPU/convergence-laneops.ll
M llvm/test/CodeGen/AMDGPU/global-atomic-scan.ll
M llvm/test/CodeGen/AMDGPU/global_atomic_optimizer_fp_rtn.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_iterative_scan.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_iterative_scan_fp.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_optimizer_fp_no_rtn.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.readfirstlane.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.readfirstlane.ptr.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.readlane.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.readlane.ptr.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.writelane.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.writelane.ptr.ll
M llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll
Log Message:
-----------
[AMDGPU] Extend readlane, writelane and readfirstlane intrinsic lowering for generic types (#89217)
This patch is intended to be the first of a series with end goal to
adapt atomic optimizer pass to support i64 and f64 operations (along
with removing all unnecessary bitcasts). This legalizes 64 bit readlane,
writelane and readfirstlane ops pre-ISel
---------
Co-authored-by: vikramRH <vikhegde at amd.com>
Commit: f9795f34a6b358bdf02389ba01765924a2ad0b9f
https://github.com/llvm/llvm-project/commit/f9795f34a6b358bdf02389ba01765924a2ad0b9f
Author: Serge Pavlov <sepavloff at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/unittests/CodeGen/GlobalISel/MachineIRBuilderTest.cpp
Log Message:
-----------
[GlobalISel] Add build methods for FP environment intrinsics (#96607)
This change adds methods like buildGetFPEnv and similar for opcodes that
represent manipulation on floating-point state.
Commit: 16d02cd1c5df57ae317b115333cf75b347c90d1d
https://github.com/llvm/llvm-project/commit/16d02cd1c5df57ae317b115333cf75b347c90d1d
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libcxx/include/__type_traits/is_nothrow_destructible.h
M libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_destructible.pass.cpp
Log Message:
-----------
[libc++] Use __is_nothrow_destructible (#95766)
This changes the behaviour in C++03 mode because we'll now use the
builtin on Clang, but I don't think that's much of a problem.
Commit: 29f4a0561a03f4760a876e39d443c64ea7ee9e22
https://github.com/llvm/llvm-project/commit/29f4a0561a03f4760a876e39d443c64ea7ee9e22
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/SetOperations.h
Log Message:
-----------
[SetOperations] clang-format header (NFC)
This header used three-space indentation in a number of places.
Reformat it completely.
Commit: f09b02484b865e4e6e2243ee2ff59d70b60d28e4
https://github.com/llvm/llvm-project/commit/f09b02484b865e4e6e2243ee2ff59d70b60d28e4
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaTemplate.cpp
Log Message:
-----------
[clang] Remove a stale FIXME
This FIXME has already been addressed in #89358
Commit: 9d45077df92a64ff8db5b249ac2f2d45e82ab73c
https://github.com/llvm/llvm-project/commit/9d45077df92a64ff8db5b249ac2f2d45e82ab73c
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
Log Message:
-----------
[VPlan] Iterate over VPlans to get VFs to compute cost for (NFCI).
Instead for iterating over all VFs when computing costs, simply iterate
over the VFs available in the created VPlans.
Split off from https://github.com/llvm/llvm-project/pull/92555.
This also prepares for moving the check if any vector instructions will
be generated to be based on VPlan, to unblock recommitting
https://github.com/llvm/llvm-project/pull/92555.
Commit: eeb0884e6696ec618feb2181a432d10f66d4e840
https://github.com/llvm/llvm-project/commit/eeb0884e6696ec618feb2181a432d10f66d4e840
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
M llvm/test/Transforms/LoopUnroll/ARM/multi-blocks.ll
M llvm/test/Transforms/LoopUnroll/runtime-exit-phi-scev-invalidation.ll
M llvm/test/Transforms/LoopUnroll/runtime-loop-at-most-two-exits.ll
M llvm/test/Transforms/LoopUnroll/runtime-loop-multiple-exits.ll
M llvm/test/Transforms/LoopUnroll/runtime-loop5.ll
M llvm/test/Transforms/LoopUnroll/runtime-multiexit-heuristic.ll
M llvm/test/Transforms/LoopUnroll/runtime-unroll-remainder.ll
M llvm/test/Transforms/LoopUnroll/tripcount-overflow.ll
M llvm/test/Transforms/LoopUnrollAndJam/unroll-and-jam.ll
M llvm/test/Transforms/LoopVectorize/X86/float-induction-x86.ll
Log Message:
-----------
[LoopUnroll] Use poison instead of undef for preheader value
Commit: a2e915704ffb040e544b13bf565ecad3aa661d98
https://github.com/llvm/llvm-project/commit/a2e915704ffb040e544b13bf565ecad3aa661d98
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/create-induction-resume.ll
Log Message:
-----------
[LV] Make create-induction-resume.ll more robust by adding store.
Without the store, the vector loop body is empty. Add a store to avoid
that, while not impacting the induction resume values that are created.
Commit: 37c736e0359770b6a2d2139d84f9df400f4b1049
https://github.com/llvm/llvm-project/commit/37c736e0359770b6a2d2139d84f9df400f4b1049
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
M llvm/test/DebugInfo/unrolled-loop-remainder.ll
M llvm/test/Transforms/LoopUnroll/runtime-exit-phi-scev-invalidation.ll
M llvm/test/Transforms/LoopUnroll/runtime-loop-multiple-exits.ll
M llvm/test/Transforms/LoopUnroll/tripcount-overflow.ll
Log Message:
-----------
[LoopUnroll] Use poison instead of undef for another preheader value
Commit: cc8fdd60c2f791dba70c9e458173640d7da836e3
https://github.com/llvm/llvm-project/commit/cc8fdd60c2f791dba70c9e458173640d7da836e3
Author: Andrei Safronov <safronov at espressif.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/Xtensa/XtensaAsmPrinter.cpp
M llvm/lib/Target/Xtensa/XtensaAsmPrinter.h
M llvm/lib/Target/Xtensa/XtensaISelLowering.cpp
M llvm/lib/Target/Xtensa/XtensaISelLowering.h
M llvm/lib/Target/Xtensa/XtensaInstrInfo.td
M llvm/lib/Target/Xtensa/XtensaOperators.td
A llvm/test/CodeGen/Xtensa/blockaddress.ll
A llvm/test/CodeGen/Xtensa/brcc.ll
A llvm/test/CodeGen/Xtensa/indirectbr.ll
A llvm/test/CodeGen/Xtensa/jumpt.ll
Log Message:
-----------
[Xtensa] Lower GlobalAddress/BlockAddress/JumpTable (#95256)
This patch implements lowering of the GlobalAddress, BlockAddress,
JumpTable and BR_JT. Also patch adds legal support of the BR_CC
operation for i32 type.
Commit: 4acc8eed94e3f4e21bcf1dedca021cb6a086720c
https://github.com/llvm/llvm-project/commit/4acc8eed94e3f4e21bcf1dedca021cb6a086720c
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/test/Transforms/SCCP/2009-01-14-IPSCCP-Invoke.ll
M llvm/test/Transforms/SCCP/apint-ipsccp2.ll
M llvm/test/Transforms/SCCP/ipsccp-clear-returned.ll
M llvm/test/Transforms/SCCP/ipsccp-noundef.ll
M llvm/test/Transforms/SCCP/ipsccp-preserve-analysis.ll
M llvm/test/Transforms/SCCP/range-and-ip.ll
M llvm/test/Transforms/SCCP/solve-after-each-resolving-undefs-for-function.ll
M llvm/test/Transforms/SCCP/struct-arg-resolve-undefs.ll
Log Message:
-----------
[SCCP] Generate test checks (NFC)
Some of these are just old, while others previously did not use
UTC due to missing features that have since been implemented
(such as signature matching).
Commit: 16bb8c16aab32e2ee623a2b64d976548be247180
https://github.com/llvm/llvm-project/commit/16bb8c16aab32e2ee623a2b64d976548be247180
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/SCCP.cpp
M llvm/test/Transforms/FunctionSpecialization/track-return.ll
M llvm/test/Transforms/SCCP/2009-01-14-IPSCCP-Invoke.ll
M llvm/test/Transforms/SCCP/apint-ipsccp2.ll
M llvm/test/Transforms/SCCP/arg-count-mismatch.ll
M llvm/test/Transforms/SCCP/indirectbr.ll
M llvm/test/Transforms/SCCP/ip-constant-ranges.ll
M llvm/test/Transforms/SCCP/ip-ranges-phis.ll
M llvm/test/Transforms/SCCP/ip-ranges-select.ll
M llvm/test/Transforms/SCCP/ipsccp-basic.ll
M llvm/test/Transforms/SCCP/ipsccp-clear-returned.ll
M llvm/test/Transforms/SCCP/ipsccp-noundef.ll
M llvm/test/Transforms/SCCP/ipsccp-preserve-analysis.ll
M llvm/test/Transforms/SCCP/issue59602-assume-like-call-users.ll
M llvm/test/Transforms/SCCP/metadata.ll
M llvm/test/Transforms/SCCP/musttail-call.ll
M llvm/test/Transforms/SCCP/range-and-ip.ll
M llvm/test/Transforms/SCCP/range-attribute.ll
M llvm/test/Transforms/SCCP/remove-call-inst.ll
M llvm/test/Transforms/SCCP/resolvedundefsin-tracked-fn.ll
M llvm/test/Transforms/SCCP/return-constant.ll
M llvm/test/Transforms/SCCP/solve-after-each-resolving-undefs-for-function.ll
M llvm/test/Transforms/SCCP/struct-arg-resolve-undefs.ll
Log Message:
-----------
[SCCP] Use poison instead of undef when zapping returns
Commit: 35eef9f97f077a7cfa2beb9df857aa1713e4faa6
https://github.com/llvm/llvm-project/commit/35eef9f97f077a7cfa2beb9df857aa1713e4faa6
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/Reassociate.cpp
Log Message:
-----------
[Reassociate] Use poison instead of undef for dummy operands (NFCI)
These will be replaced later.
Commit: 65f9601fb1479507820ca8381bb472ec4e8a2eee
https://github.com/llvm/llvm-project/commit/65f9601fb1479507820ca8381bb472ec4e8a2eee
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M lld/ELF/InputFiles.cpp
M lld/ELF/InputFiles.h
Log Message:
-----------
[NFC][lld][ELF] Remove unused `sec` param of `ObjFile<ELFT>::getRelocTarget` (#96500)
Commit: bfad8757159a3def7c07d4f5ef23ed76fafdf441
https://github.com/llvm/llvm-project/commit/bfad8757159a3def7c07d4f5ef23ed76fafdf441
Author: hev <wangrui at loongson.cn>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
M llvm/test/CodeGen/LoongArch/machinelicm-address-pseudos.ll
M llvm/test/CodeGen/LoongArch/psabi-restricted-scheduling.ll
Log Message:
-----------
[LoongArch] Ensure PseudoLA* can be hoisted (#94723)
Since we mark the pseudos as mayLoad but do not provide any MMOs,
isSafeToMove conservatively returns false, stopping MachineLICM from
hoisting the instructions. PseudoLA_TLS_{LD,GD} does not actually expand
to a load, so stop marking that as mayLoad to allow it to be hoisted,
and for the others make sure to add MMOs during lowering to indicate
they're GOT loads and thus can be freely moved.
Commit: 9952e00af6c93e9807c3dfe076e99e7f5a77f675
https://github.com/llvm/llvm-project/commit/9952e00af6c93e9807c3dfe076e99e7f5a77f675
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/unittests/Transforms/Vectorize/VPlanTest.cpp
Log Message:
-----------
[VPlanTest] Use poison instead of undef for dummy values (NFC)
Commit: 68efc506f58776fdfcfc60707f8fe52584736d8a
https://github.com/llvm/llvm-project/commit/68efc506f58776fdfcfc60707f8fe52584736d8a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/unittests/IR/VectorBuilderTest.cpp
Log Message:
-----------
[VectorBuilderTest] Use poison instead of undef for dummy values (NFC)
Commit: 9acb533c38be833ec1d8daa06e127a9de8f0a5ef
https://github.com/llvm/llvm-project/commit/9acb533c38be833ec1d8daa06e127a9de8f0a5ef
Author: Alex Voicu <alexandru.voicu at amd.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/include/clang/Basic/Cuda.h
M clang/lib/Basic/Cuda.cpp
M clang/lib/Basic/Targets/NVPTX.cpp
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Driver/ToolChains/HIPAMD.cpp
M clang/lib/Driver/ToolChains/HIPAMD.h
M clang/test/Driver/cuda-arch-translation.cu
M clang/test/Frontend/embed-bitcode.ll
M clang/test/Misc/target-invalid-cpu-note.c
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
Log Message:
-----------
[clang][Driver] Add HIPAMD Driver support for AMDGCN flavoured SPIR-V (#95061)
This patch augments the HIPAMD driver to allow it to target AMDGCN
flavoured SPIR-V compilation. It's mostly straightforward, as we re-use
some of the existing SPIRV infra, however there are a few notable
additions:
- we introduce an `amdgcnspirv` offload arch, rather than relying on
using `generic` (this is already fairly overloaded) or simply using
`spirv` or `spirv64` (we'll want to use these to denote unflavoured
SPIRV, once we bring up that capability)
- initially it is won't be possible to mix-in SPIR-V and concrete AMDGPU
targets, as it would require some relatively intrusive surgery in the
HIPAMD Toolchain and the Driver to deal with two triples
(`spirv64-amd-amdhsa` and `amdgcn-amd-amdhsa`, respectively)
- in order to retain user provided compiler flags and have them
available at JIT time, we rely on embedding the command line via
`-fembed-bitcode=marker`, which the bitcode writer had previously not
implemented for SPIRV; we only allow it conditionally for AMDGCN
flavoured SPIRV, and it is handled correctly by the Translator (it ends
up as a string literal)
Once the SPIRV BE is no longer experimental we'll switch to using that
rather than the translator. There's some additional work that'll come
via a separate PR around correctly piping through AMDGCN's
implementation of `printf`, for now we merely handle its flags
correctly.
Commit: a46a2c2b7d8daf68c793b6b96f1c5bc009aea62b
https://github.com/llvm/llvm-project/commit/a46a2c2b7d8daf68c793b6b96f1c5bc009aea62b
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/X86/arith-int-codesize.ll
M llvm/test/Analysis/CostModel/X86/arith-int-latency.ll
M llvm/test/Analysis/CostModel/X86/arith-int-sizelatency.ll
M llvm/test/Analysis/CostModel/X86/arith-int.ll
M llvm/test/Analysis/CostModel/X86/rem-codesize.ll
M llvm/test/Analysis/CostModel/X86/rem-latency.ll
M llvm/test/Analysis/CostModel/X86/rem-sizelatency.ll
M llvm/test/Analysis/CostModel/X86/rem.ll
M llvm/test/Analysis/CostModel/X86/slm-arith-costs.ll
M llvm/test/CodeGen/X86/avx2-arith.ll
M llvm/test/CodeGen/X86/midpoint-int-vec-128.ll
M llvm/test/CodeGen/X86/midpoint-int-vec-256.ll
M llvm/test/CodeGen/X86/min-legal-vector-width.ll
M llvm/test/CodeGen/X86/pmul.ll
M llvm/test/CodeGen/X86/prefer-avx256-wide-mul.ll
M llvm/test/CodeGen/X86/vector-shuffle-combining-sse41.ll
Log Message:
-----------
[X86] Lower vXi8 multiplies using PMADDUBSW on SSSE3+ targets (#95690)
Extends https://github.com/llvm/llvm-project/pull/95403 to handle non-constant cases - we can avoid unpacks/extensions from vXi8 to vXi16 by using PMADDUBSW instead and truncating the vXi16 results back together.
Most targets benefit from performing this for non-constant cases - its just Intel Core/SandyBridge era CPUs that might experience additional Port0/15 contention (but lower instruction count).
Fixes https://github.com/llvm/llvm-project/issues/90748
Commit: 5ed5d723db58f7556782427444642d0571cdf649
https://github.com/llvm/llvm-project/commit/5ed5d723db58f7556782427444642d0571cdf649
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M mlir/lib/Dialect/ArmSME/Transforms/VectorLegalization.cpp
M mlir/test/Dialect/ArmSME/vector-legalization.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/ArmSME/multi-tile-matmul.mlir
Log Message:
-----------
[mlir][ArmSME] Lower multi-tile stores to a single loop (#96187)
This adds a new pattern that can legalize a multi-tile transfer_write as
a single store loop. This is done as part of type decomposition as at
this level we know each tile write is disjoint, but that information is
lost after decomposition (without analysis to reconstruct it).
Example (pseudo-MLIR):
```
vector.transfer_write %vector, %dest[%y, %x], %mask
: vector<[16]x[8]xi16>, memref<?x?xi16>
```
Is rewritten to:
```
scf.for %slice_idx = %c0 to %c8_vscale step %c1 {
%upper_slice_mask = vector.extract %mask[%slice_idx] ─┐
: vector<[8]xi1> from vector<[16]x[8]xi1> |
%upper_slice = vector.extract %upper_tile[%slice_idx] |- Store upper tile
: vector<[8]xi16> from vector<[8]x[8]xi16> |
vector.transfer_write %upper_slice, |
%dest[%slice_idx + %y, %x], %upper_slice_mask |
: vector<[8]xi16>, memref<?x?xi16> ┘
%lower_slice_idx = %slice_idx + %c8_vscale ─┐
%lower_slice_mask = vector.extract %mask[%lower_slice_idx] |
: vector<[8]xi1> from vector<[16]x[8]xi1> |
%lower_slice = vector.extract %lower_tile[%slice_idx] |- Store lower
: vector<[8]xi16> from vector<[8]x[8]xi16> | tile
vector.transfer_write %lower_slice, |
%dest[%lower_slice_idx + %y, %x], %lower_slice_mask |
: vector<[8]xi16>, memref<?x?xi16> ┘
}
```
Commit: 6c9916d0d8a40034c5e0dfc157f146855e42520e
https://github.com/llvm/llvm-project/commit/6c9916d0d8a40034c5e0dfc157f146855e42520e
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libc/cmake/modules/prepare_libc_gpu_build.cmake
M llvm/runtimes/CMakeLists.txt
Log Message:
-----------
[libc] Configure CMAKE_REQUIRED_FLAGS so the GPU can use flag checks (#95424)
Summary:
This patch adds `CMAKE_REQUIRED_FLAGS` for the GPU build so checks like
`check_cxx_compiler_flags` work as expected. This is required because we
need to hack around the potential lack of `nvlink` and `ptxas` for NVPTX
targets and the fact that the AMDGPU target needs `-nogpulib` to avoid
errors on lack of ROCm. This makes a few of the checks pass and also
allows us to just check `-mcpu=native` for architecture detection
instead of finding the tools manually.
Commit: 0f111ba790a28056d42a0ae376371d7b694454ae
https://github.com/llvm/llvm-project/commit/0f111ba790a28056d42a0ae376371d7b694454ae
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/LoopInfo.h
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
M llvm/lib/Analysis/LoopInfo.cpp
M llvm/lib/Transforms/Scalar/LoopDistribute.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
A llvm/test/Analysis/LoopAccessAnalysis/debug-loc.ll
M llvm/test/Analysis/LoopAccessAnalysis/print-order.ll
M llvm/test/Analysis/LoopAccessAnalysis/scalable-vector-regression-tests.ll
A llvm/test/Transforms/LoopDistribute/debug-loc.ll
A llvm/test/Transforms/LoopDistribute/debug-print.ll
M llvm/test/Transforms/LoopVectorize/ARM/mve-hoist-runtime-checks.ll
M llvm/test/Transforms/LoopVectorize/runtime-checks-hoist.ll
Log Message:
-----------
LoopInfo: introduce Loop::getLocStr; unify debug output (#93051)
Introduce a Loop::getLocStr stolen from LoopVectorize's static function
getDebugLocString in order to have uniform debug output headers across
LoopVectorize, LoopAccessAnalysis, and LoopDistribute. The motivation
for this change is to have UpdateTestChecks recognize the headers and
automatically generate CHECK lines for debug output, with minimal
special-casing.
Commit: 8263bec5331863113c6163afdc3f93e063f20a07
https://github.com/llvm/llvm-project/commit/8263bec5331863113c6163afdc3f93e063f20a07
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP] Use poison instead of undef in reorderScalars() (#96619)
-1 mask elements are specified to return poison rather than undef
nowadays , so update the reorderScalars() implementation to match.
Commit: 952bdaaf79c1e5d7364160b21de0cd1295cdfbd8
https://github.com/llvm/llvm-project/commit/952bdaaf79c1e5d7364160b21de0cd1295cdfbd8
Author: Leandro Lupori <leandro.lupori at linaro.org>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M flang/include/flang/Lower/AbstractConverter.h
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
A flang/test/Lower/OpenMP/copyprivate2.f90
Log Message:
-----------
[flang][OpenMP] Fix copyprivate allocatable/pointer lowering (#95975)
The lowering of copyprivate clauses with allocatable or pointer
variables was incorrect. This happened because the values passed to
copyVar() are always wrapped in SymbolBox::Intrinsic, which
resulted in allocatable/pointer variables being handled as regular
ones.
This is fixed by providing to copyVar() the attributes of the
variables being copied, to make it possible to detect and handle
allocatable/pointer variables correctly.
Fixes #95801
Commit: c43664931378c589091fb169a6d3840474f5c324
https://github.com/llvm/llvm-project/commit/c43664931378c589091fb169a6d3840474f5c324
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
M llvm/lib/Target/AArch64/AArch64Subtarget.h
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
Log Message:
-----------
[AArch64] Remove all instances of the 'hasSVEorSME' interfaces. (#96543)
I've not added any new tests for these, because the original conditions
were wrong (they did not consider streaming mode) and we have tests for
the positive cases.
Commit: c5aa983f91f0543b43926a32d2f70bb53f9945a2
https://github.com/llvm/llvm-project/commit/c5aa983f91f0543b43926a32d2f70bb53f9945a2
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/test/Transforms/InstCombine/shift.ll
M llvm/test/Transforms/InstSimplify/phi.ll
M llvm/test/Transforms/LoopDeletion/update-scev.ll
Log Message:
-----------
[InstSimplify] Fold all poison phi to poison instead of undef
Commit: 4780dc3d7fd63016ebb871544287fedc83b1006a
https://github.com/llvm/llvm-project/commit/4780dc3d7fd63016ebb871544287fedc83b1006a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/phi.ll
Log Message:
-----------
[InstCombine] Add poison variant to phi test (NFC)
And rename an argument to avoid an upper/lowercase clash.
Commit: abc8c4be3bb70755328051c99e1b196663140c66
https://github.com/llvm/llvm-project/commit/abc8c4be3bb70755328051c99e1b196663140c66
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/uniform-blend.ll
Log Message:
-----------
[LoopVectorize] Generate test checks (NFC)
Commit: edbe698eadaefca31564e3207074c8ed4b10bc12
https://github.com/llvm/llvm-project/commit/edbe698eadaefca31564e3207074c8ed4b10bc12
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/__support/FPUtil/CMakeLists.txt
M libc/src/__support/FPUtil/dyadic_float.h
M libc/src/__support/FPUtil/generic/CMakeLists.txt
A libc/src/__support/FPUtil/generic/div.h
M libc/src/math/CMakeLists.txt
A libc/src/math/f16divf.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/f16divf.cpp
M libc/test/src/math/CMakeLists.txt
A libc/test/src/math/DivTest.h
A libc/test/src/math/f16divf_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/DivTest.h
A libc/test/src/math/smoke/f16divf_test.cpp
M libc/utils/MPFRWrapper/MPFRUtils.cpp
M libc/utils/MPFRWrapper/MPFRUtils.h
Log Message:
-----------
[libc][math][c23] Add f16divf C23 math function (#96131)
Part of #93566.
Commit: eabe091cdba859890fd169bd51924f34fd754bbf
https://github.com/llvm/llvm-project/commit/eabe091cdba859890fd169bd51924f34fd754bbf
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Add missing dependency for 5ed5d723db58f7556782427444642d0571cdf649
Commit: 70cfece24d6cbb57e35dd961cc97eb2a6bf1e387
https://github.com/llvm/llvm-project/commit/70cfece24d6cbb57e35dd961cc97eb2a6bf1e387
Author: sstwcw <su3e8a96kzlver at posteo.net>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Format/Format.h
M clang/lib/Format/Format.cpp
M clang/lib/Format/UnwrappedLineFormatter.cpp
M clang/unittests/Format/ConfigParseTest.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
Revert "[clang-format] Add option to remove leading blank lines (#91221)"
This reverts commit 9267f8f19a2e502ef5a216c0d52b352b3699d399.
I changed a formatter option. I forgot to update other components that
depend on the formatter when the option name changed.
Commit: c69ea04fb9738db283263eb350669e00b77ee4fd
https://github.com/llvm/llvm-project/commit/c69ea04fb9738db283263eb350669e00b77ee4fd
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang-tools-extra/clangd/Format.cpp
Log Message:
-----------
Revert "[clangd] Fix the build broken (NFC)"
This reverts commit 4c91b49bab0728d4bc136aa33c4aeb4e8ea37d01 after 70cfece24d6cbb57e35dd961cc97eb2a6bf1e387.
Commit: fd62906ddb252298f6ed63fe85e146d477acdaed
https://github.com/llvm/llvm-project/commit/fd62906ddb252298f6ed63fe85e146d477acdaed
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libcxx/include/__numeric/gcd_lcm.h
M libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.pass.cpp
Log Message:
-----------
[libc++] Fix incorrect overflow checking in std::lcm (#96310)
We should have been using __builtin_mul_overflow from the start instead
of adding a manual (and error-prone) check for overflow.
Fixes #96196
Commit: 44c9a26756192228fd9dcd33c238ec8858d40329
https://github.com/llvm/llvm-project/commit/44c9a26756192228fd9dcd33c238ec8858d40329
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/test/Transforms/Mem2Reg/preserve-nonnull-load-metadata.ll
Log Message:
-----------
[Mem2Reg] Add tests with !noundef (NFC)
Commit: c9f083a9940d1d62f77c39f05bb0fc186cc4832c
https://github.com/llvm/llvm-project/commit/c9f083a9940d1d62f77c39f05bb0fc186cc4832c
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/include/clang/Basic/BuiltinsAMDGPU.def
M clang/lib/CodeGen/CGBuiltin.cpp
A clang/test/CodeGenOpenCL/builtins-amdgcn-raw-buffer-store.cl
A clang/test/SemaOpenCL/builtins-amdgcn-raw-buffer-store-error.cl
Log Message:
-----------
[Clang][AMDGPU] Add builtins for instrinsic `llvm.amdgcn.raw.ptr.buffer.store` (#94576)
Depends on https://github.com/llvm/llvm-project/pull/96313.
Commit: 1462605ab0a121fc2f652f178c7c13dc0179f10e
https://github.com/llvm/llvm-project/commit/1462605ab0a121fc2f652f178c7c13dc0179f10e
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/CFGPrinter.h
M llvm/lib/Analysis/CallGraph.cpp
M llvm/lib/Analysis/ConstraintSystem.cpp
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
M llvm/lib/Analysis/PHITransAddr.cpp
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/lib/Analysis/TargetTransformInfo.cpp
Log Message:
-----------
[Analysis] Use range-based for loops (NFC) (#96587)
Commit: 2dd4167a09cfe1a1e09852e99b4984ddb3e89cf7
https://github.com/llvm/llvm-project/commit/2dd4167a09cfe1a1e09852e99b4984ddb3e89cf7
Author: David Sherwood <david.sherwood at arm.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
M llvm/test/Analysis/CostModel/AArch64/masked_ldst.ll
M llvm/test/Analysis/CostModel/AArch64/sve-gather.ll
M llvm/test/Analysis/CostModel/AArch64/sve-ldst.ll
M llvm/test/Analysis/CostModel/AArch64/sve-scatter.ll
M llvm/test/Transforms/LoopVectorize/AArch64/scalable-reductions.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-illegal-type.ll
A llvm/test/Transforms/LoopVectorize/AArch64/sve-invalid-costs.ll
Log Message:
-----------
[LoopVectorize][AArch64] Add limited support for scalable vectorisation of i1 types (#95920)
Previously isElementTypeLegalForScalableVector returned false for i1
types, which also prevented vectorisation of loops with i1 reductions.
This is overkill - we only need to disable vectorisation for loads
and/or stores of i1 types. I've added i1 as a legal type, but changed
the cost model to return an invalid cost for loads and stores.
Commit: 54b61adc0cbefb7f923ef43c407704ba9f9d8b69
https://github.com/llvm/llvm-project/commit/54b61adc0cbefb7f923ef43c407704ba9f9d8b69
Author: Mike Rice <michael.p.rice at intel.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/lib/Lex/LiteralSupport.cpp
Log Message:
-----------
[NFC][clang] Replace unreachable code in literal processing with assert (#96579)
Address static verifier concerns about dead code in DoubleUnderscore
check. Replace it with an assert.
Commit: eb12d9b5cb6d15ce151a63ad32b4e0e5823ddb87
https://github.com/llvm/llvm-project/commit/eb12d9b5cb6d15ce151a63ad32b4e0e5823ddb87
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libcxx/docs/ReleaseNotes/19.rst
M libcxx/include/__memory/allocator.h
M libcxx/include/__memory/shared_ptr.h
R libcxx/test/libcxx/containers/sequences/vector/const_T.compile.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/const_value_type.pass.cpp
M libcxx/test/libcxx/diagnostics/memory.nodiscard.verify.cpp
M libcxx/test/libcxx/memory/allocator_void.trivial.compile.pass.cpp
M libcxx/test/libcxx/memory/allocator_volatile.verify.cpp
M libcxx/test/std/concepts/concepts.lang/concept.default.init/default_initializable.compile.pass.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator.ctor.pass.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator.dtor.pass.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator.members/allocate.constexpr.size.verify.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator.members/allocate.size.pass.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator_types.deprecated_in_cxx17.verify.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator_types.deprecated_in_cxx23.verify.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator_types.pass.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator_types.removed_in_cxx20.verify.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator_types.removed_in_cxx26.verify.cpp
M libcxx/test/std/utilities/memory/specialized.algorithms/specialized.construct/construct_at.pass.cpp
Log Message:
-----------
[libc++] Remove the allocator<const T> extension (#96319)
This effort has quite a history:
- This was first attempted in 2022 via bed3240bf7d1, which broke
std::shared_ptr<T const> and caused the change to be reverted in
9138666f5464.
- We then re-attempted landing the change in 276ca87382b8 after fixing
std::shared_ptr, but reports were made that this broke code en masse
within Google. This led to the patch being reverted again in
a54d028895c9 with the goal to land this again with a migration path for
vendors.
This patch re-lands the removal while providing a migration path for
vendors by providing the `_LIBCPP_ENABLE_REMOVED_ALLOCATOR_CONST` macro.
This macro will be honored for the LLVM 19 release and will be removed
after that, at which point allocator<const T> will be removed
unconditionally.
Fixes #73665
Commit: d6c74102626ead8c4e2f7e638fdfea1fcd3d0bc7
https://github.com/llvm/llvm-project/commit/d6c74102626ead8c4e2f7e638fdfea1fcd3d0bc7
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
Log Message:
-----------
AMDGPU: Remove an outdated TODO (#96446)
We have a fixed calling convention for stack pointer and frame pointer,
we shouldn't try to shift anything around.
Commit: 7e9b49f6b86c8616e6211ec02dbccc3ebb615e79
https://github.com/llvm/llvm-project/commit/7e9b49f6b86c8616e6211ec02dbccc3ebb615e79
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
M llvm/lib/Target/AMDGPU/GCNSubtarget.h
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
Log Message:
-----------
AMDGPU: Add plumbing for private segment size argument (#96445)
The actual size of scratch/private is determined at dispatch time, so
add more plumbing to request it. Will be used in subsequent change.
Commit: 13ed349c44ca44f470e2e6181888f14b6b22a44a
https://github.com/llvm/llvm-project/commit/13ed349c44ca44f470e2e6181888f14b6b22a44a
Author: Ivan Kosarev <ivan.kosarev at amd.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.h
Log Message:
-----------
[AMDGPU][NFC] Rename AMDGPUVariadicMCExpr to AMDGPUMCExpr. (#96618)
Some of our custom expressions are not variadic and there seems to be
little benefit in mentioning the variadic nature of expression nodes in
the name anyway.
Commit: fb463e154e7fe1200b9d91f82fafa532331ce764
https://github.com/llvm/llvm-project/commit/fb463e154e7fe1200b9d91f82fafa532331ce764
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C23] Remove WG14 N2379 from the C status page
This paper was adopted at the Oct 2019 meeting in Ithaca, but the
changes from the paper were later removed (editorially) by the C
Floating Point study group due to being incorrect and unnecessary.
Commit: c6973ade4c46e28b1be9e1f5d873ca9a59197418
https://github.com/llvm/llvm-project/commit/c6973ade4c46e28b1be9e1f5d873ca9a59197418
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
M llvm/test/Transforms/Mem2Reg/preserve-nonnull-load-metadata.ll
Log Message:
-----------
[Mem2Reg] Generate non-terminator unreachable for !noundef undef (#96639)
When performing a load from uninitialized memory using !noundef, insert
a non-terminator unreachable instruction, which will be converted to a
proper unreachable by SimplifyCFG. This way we retain the fact that UB
occurred on this code path.
Commit: de528ffb17ebce96e0bc4dde1749146c41ca1d0d
https://github.com/llvm/llvm-project/commit/de528ffb17ebce96e0bc4dde1749146c41ca1d0d
Author: Mats Petersson <mats.petersson at arm.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Transforms/Passes.h
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/include/flang/Tools/CLOptions.inc
M flang/lib/Optimizer/Transforms/CMakeLists.txt
A flang/lib/Optimizer/Transforms/ConstantArgumentGlobalisation.cpp
M flang/test/Fir/boxproc.fir
M flang/test/Lower/character-local-variables.f90
A flang/test/Transforms/constant-argument-globalisation-2.fir
A flang/test/Transforms/constant-argument-globalisation.fir
Log Message:
-----------
[Flang] Extracting internal constants from scalar literals (#73829)
Constants actual arguments in function/subroutine calls are currently
lowered as allocas + store. This can sometimes inhibit LTO and the
constant will not be propagated to the called function. Particularly in
cases where the function/subroutine call happens inside a condition.
This patch changes the lowering of these constant actual arguments to a
global constant + fir.address_of_op. This lowering makes it easier for
LTO to propagate the constant.
The optimization must be enabled explicitly to run. Use -mmlir
--enable-constant-argument-globalisation to enable.
---------
Co-authored-by: Dmitriy Smirnov <dmitriy.smirnov at arm.com>
Commit: 2cf197506f59b6151c542faec594a7e1e97d9c64
https://github.com/llvm/llvm-project/commit/2cf197506f59b6151c542faec594a7e1e97d9c64
Author: harishch4 <harishcse44 at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/OpenMP/OpenMPClauseOperands.h
M mlir/include/mlir/Dialect/OpenMP/OpenMPEnums.td
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
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 order-modifier support to Order clause (#93805)
This adds order-modifier (reproducible|unconstrained) support to Order
clause.
Commit: a4045299d3024a69746c4fd9517e27e5cef4785e
https://github.com/llvm/llvm-project/commit/a4045299d3024a69746c4fd9517e27e5cef4785e
Author: bwlodarcz <bertrand.wlodarczyk at intel.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVBaseInfo.cpp
M llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVBaseInfo.h
M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
Log Message:
-----------
[SPIRV] Add definitions for NonSemantic debug info (#95530)
This commit adds basic types and definitions for
NonSemantic.Shader.DebugInfo.100 standard for SPIRV.
Full implementation of the standard will allow SPIRV backend to emit
files with debug info included.
Link to standard:
https://github.com/KhronosGroup/SPIRV-Registry/blob/main/nonsemantic/NonSemantic.Shader.DebugInfo.100.html
Commit: ec9ce89a0823165e245be8fc095da8a88fb4cf79
https://github.com/llvm/llvm-project/commit/ec9ce89a0823165e245be8fc095da8a88fb4cf79
Author: David Sherwood <david.sherwood at arm.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/AArch64/sve-invalid-costs.ll
Log Message:
-----------
[LoopVectorize] Fix build issue caused by #95920 (#96647)
Commit: 2274c66e6faaaf29ad693b1ae3e5a7b0228a1950
https://github.com/llvm/llvm-project/commit/2274c66e6faaaf29ad693b1ae3e5a7b0228a1950
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libcxx/include/__type_traits/conditional.h
Log Message:
-----------
[libc++] Use _If for conditional_t (#96193)
This avoids different instantiations when the if and else types are
different, resulting in reduced memory use by the compiler.
Commit: ed1273d4ddee160f847cbee28714c79353022a3c
https://github.com/llvm/llvm-project/commit/ed1273d4ddee160f847cbee28714c79353022a3c
Author: RichardLuo <CommAdama at outlook.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libcxx/modules/CMakeLists.txt.in
Log Message:
-----------
[libc++] change the visibility of libc++ header to public in libcxx module (#91240)
This PR addresses a problem that headers may not be able to be found if
`#include` is used with std modules.
Consider the following file:
#include <boost/json.hpp>
import std;
int main(int, const char **) { }
Boost will include something from libc++, but we are using -nostdinc++
at [1] so the compiler can not find any default std header. Therefore
the locally built header needs to be public.
[1]: https://github.com/RichardLuo0/llvm-project/blob/15fdd47c4b110b64dc61f636e42e0484bf8bdbe0/libcxx/modules/CMakeLists.txt.in#L52
Commit: bb5ab1ffe719f5e801ef08ac08be975546aa3266
https://github.com/llvm/llvm-project/commit/bb5ab1ffe719f5e801ef08ac08be975546aa3266
Author: shawbyoung <shawbyoung at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M bolt/docs/CommandLineArgumentReference.md
M bolt/lib/Profile/YAMLProfileReader.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/lib/Utils/CommandLineOpts.cpp
A bolt/test/X86/hashing-based-function-matching.test
Log Message:
-----------
[𝘀𝗽𝗿] initial version
Created using spr 1.3.4
Commit: 020f69cd10a2ff1233cc28088989319e5a58b116
https://github.com/llvm/llvm-project/commit/020f69cd10a2ff1233cc28088989319e5a58b116
Author: shawbyoung <shawbyoung at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M bolt/lib/Rewrite/RewriteInstance.cpp
Log Message:
-----------
Added opts::Lite to RewriteInstance
Commit: c097e643efc2a2ee5170fbcdb5e8c644a7207452
https://github.com/llvm/llvm-project/commit/c097e643efc2a2ee5170fbcdb5e8c644a7207452
Author: shawbyoung <shawbyoung at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M bolt/lib/Rewrite/RewriteInstance.cpp
Log Message:
-----------
Revert "Added opts::Lite to RewriteInstance"
This reverts commit 020f69cd10a2ff1233cc28088989319e5a58b116.
Commit: 0e11a7e7179a2eb066e5f63f25b9277aa63f38eb
https://github.com/llvm/llvm-project/commit/0e11a7e7179a2eb066e5f63f25b9277aa63f38eb
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/test/Transforms/EarlyCSE/flags.ll
Log Message:
-----------
[EarlyCSE] Add test with noundef load of undef (NFC)
Commit: 79e8a5952366eacd92201a8d6472726fc14e00fd
https://github.com/llvm/llvm-project/commit/79e8a5952366eacd92201a8d6472726fc14e00fd
Author: Hui <hui.xie1990 at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libcxx/include/__memory/allocator_traits.h
M libcxx/include/deque
M libcxx/include/forward_list
M libcxx/include/list
M libcxx/include/map
M libcxx/include/set
M libcxx/include/string
M libcxx/include/unordered_map
M libcxx/include/unordered_set
M libcxx/include/vector
Log Message:
-----------
[libc++] Move allocator assertion into allocator_traits (#94750)
There is code duplication in all containers that static_assert the
allocator matches the allocator requirements in the spec. This check can
be moved into a more centralised place.
Commit: 7f10ed637e53c68ce62b756a3be8546a3dccf751
https://github.com/llvm/llvm-project/commit/7f10ed637e53c68ce62b756a3be8546a3dccf751
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
Log Message:
-----------
[tsan] Fix dead lock when starting StackDepot thread (#96456)
Sometime tsan runtimes calls, like
`__tsan_mutex_create ()`, need to store a stack
in the StackDepot, and the Depot may need to start
and maintenance thread.
Example:
```
__sanitizer::FutexWait ()
__sanitizer::Semaphore::Wait ()
__sanitizer::Mutex::Lock ()
__tsan::SlotLock ()
__tsan::SlotLocker::SlotLocker ()
__tsan::Acquire ()
__tsan::CallUserSignalHandler ()
__tsan::ProcessPendingSignalsImpl ()
__tsan::ProcessPendingSignals ()
__tsan::ScopedInterceptor::~ScopedInterceptor ()
___interceptor_mmap ()
pthread_create ()
__sanitizer::internal_start_thread ()
__sanitizer::(anonymous namespace)::CompressThread::NewWorkNotify ()
__sanitizer::StackDepotNode::store ()
__sanitizer::StackDepotBase<__sanitizer::StackDepotNode, 1, 20>::Put ()
__tsan::CurrentStackId ()
__tsan::MutexCreate ()
__tsan_mutex_create ()
```
pthread_create() implementation may hit other
interceptors recursively, which may invoke
ProcessPendingSignals, which deadlocks.
Alternative solution could be block interceptors
closer to TSAN runtime API function, like
`__tsan_mutex_create`, or just before
`StackDepotPut``, but it's not needed for most
calls, only when new thread is created using
`real_pthread_create`.
I don't see a reasonable way to create a
regression test.
Commit: dddef9d1c9b7b4e8a96bd68d44cd3ed6dc85f758
https://github.com/llvm/llvm-project/commit/dddef9d1c9b7b4e8a96bd68d44cd3ed6dc85f758
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
M llvm/lib/Target/RISCV/GISel/RISCVRegisterBankInfo.cpp
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/fp-arith-f16.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-fp-arith-f16.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/fp-arith-f16.mir
Log Message:
-----------
[RISCV] Add FPR16 regbank and start legalizing f16 operations for Zfh. (#96582)
Commit: 8a46bbbc22a51db57f05beb0026772b899a785b9
https://github.com/llvm/llvm-project/commit/8a46bbbc22a51db57f05beb0026772b899a785b9
Author: Lukacma <Marian.Lukac at arm.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaType.cpp
M clang/test/Sema/arm-vector-types-support.c
R clang/test/SemaCUDA/neon-attrs.cu
M clang/utils/TableGen/NeonEmitter.cpp
Log Message:
-----------
[Clang] Remove preprocessor guards and global feature checks for NEON (#95224)
To enable function multi-versioning (FMV), current checks which rely on
cmd line options or global macros to see if target feature is present
need to be removed. This patch removes those for NEON and also
implements changes to NEON header file as proposed in
[ACLE](https://github.com/ARM-software/acle/pull/321).
Commit: 8c11d3788c26cd85f102959068109d3e498e8498
https://github.com/llvm/llvm-project/commit/8c11d3788c26cd85f102959068109d3e498e8498
Author: Xiaoyang Liu <siujoeng.lau at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libcxx/include/__mdspan/extents.h
M libcxx/test/std/containers/views/mdspan/extents/ctad.pass.cpp
Log Message:
-----------
[libc++] P3029R1: Better `mdspan`'s CTAD - `std::extents` (#89015)
This patch implements an improvement introduced in P3029R1 that was
missed in #87873. It adds a deduction of static extents if
integral_constant-like constants are passed to `std::extents`.
Commit: 902952ae04afc2dfe28805b949a1e2218affe65e
https://github.com/llvm/llvm-project/commit/902952ae04afc2dfe28805b949a1e2218affe65e
Author: shawbyoung <shawbyoung at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M bolt/docs/CommandLineArgumentReference.md
M bolt/lib/Profile/YAMLProfileReader.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/lib/Utils/CommandLineOpts.cpp
R bolt/test/X86/hashing-based-function-matching.test
Log Message:
-----------
Revert "[𝘀𝗽𝗿] initial version"
This reverts commit bb5ab1ffe719f5e801ef08ac08be975546aa3266.
Commit: 731db06a878f5c8cb29b36d526a54493677ea89f
https://github.com/llvm/llvm-project/commit/731db06a878f5c8cb29b36d526a54493677ea89f
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libcxx/include/__atomic/atomic_init.h
M libcxx/src/barrier.cpp
M libcxx/src/filesystem/operations.cpp
M libcxx/src/filesystem/path.cpp
M libcxx/src/filesystem/path_parser.h
M libcxx/src/locale.cpp
M runtimes/cmake/Modules/WarningFlags.cmake
Log Message:
-----------
[libc++] Get the GCC build mostly clean of warnings (#96604)
The GCC build has gotten to the point where it's often hard to find the
actual error in the build log. We should look into enabling these
warnings again in the future, but it looks like a lot of them are
bogous.
Commit: 2604830aacdd563715da030d0396b565e912436f
https://github.com/llvm/llvm-project/commit/2604830aacdd563715da030d0396b565e912436f
Author: Akira Hatanaka <ahatanak at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/docs/LanguageExtensions.rst
M clang/include/clang/AST/Expr.h
M clang/include/clang/Basic/Builtins.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/CodeGen/ModuleBuilder.h
M clang/lib/AST/ExprConstant.cpp
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/CodeGen/CGDebugInfo.h
M clang/lib/Sema/SemaChecking.cpp
A clang/test/CodeGenCXX/debug-info-verbose-trap.cpp
A clang/test/SemaCXX/verbose-trap.cpp
Log Message:
-----------
Add support for __builtin_verbose_trap (#79230)
The builtin causes the program to stop its execution abnormally and
shows a human-readable description of the reason for the termination
when a debugger is attached or in a symbolicated crash log.
The motivation for the builtin is explained in the following RFC:
https://discourse.llvm.org/t/rfc-adding-builtin-verbose-trap-string-literal/75845
clang's CodeGen lowers the builtin to `llvm.trap` and emits debugging
information that represents an artificial inline frame whose name
encodes the category and reason strings passed to the builtin.
Commit: bb075eeb892374a209953ad20e02c1324e272679
https://github.com/llvm/llvm-project/commit/bb075eeb892374a209953ad20e02c1324e272679
Author: Jakub Mazurkiewicz <mazkuba3 at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
A libcxx/test/std/containers/sequences/array/array.overview/nttp.equivalence.compile.pass.cpp
A libcxx/test/std/containers/sequences/array/array.overview/nttp.verify.cpp
A libcxx/test/std/utilities/utility/pairs/pairs.pair/nttp.equivalence.compile.pass.cpp
A libcxx/test/std/utilities/utility/pairs/pairs.pair/nttp.verify.cpp
Log Message:
-----------
[libc++] LWG3382: NTTP for `pair` and `array` (#85811)
Mark LWG3382 as "Nothing To Do" and add tests.
Commit: 889f3c5741e78ce90b4dcc643bb15d992225a67c
https://github.com/llvm/llvm-project/commit/889f3c5741e78ce90b4dcc643bb15d992225a67c
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPU.td
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/GCNSubtarget.h
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
Log Message:
-----------
AMDGPU: Handle legal v2bf16 atomicrmw fadd for gfx12 (#95930)
Annoyingly gfx90a/940 support this for global/flat but not buffer.
Commit: b7768c5485844306cd3c8afeef609ddf9d79696a
https://github.com/llvm/llvm-project/commit/b7768c5485844306cd3c8afeef609ddf9d79696a
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
Log Message:
-----------
[clang][Interp][NFC] Use delegate() to delegate to only initlist item
Commit: e951bd0f51f8b077296f09d9c60ddf150048042f
https://github.com/llvm/llvm-project/commit/e951bd0f51f8b077296f09d9c60ddf150048042f
Author: Vy Nguyen <vyng at google.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M lldb/include/lldb/API/SBDebugger.h
M lldb/include/lldb/Symbol/TypeSystem.h
M lldb/source/API/SBDebugger.cpp
M lldb/source/Symbol/TypeSystem.cpp
M lldb/tools/lldb-dap/DAP.cpp
M lldb/tools/lldb-dap/DAP.h
M lldb/tools/lldb-dap/lldb-dap.cpp
Log Message:
-----------
Reapply PR/87550 (again) (#95571)
New fixes:
- properly init the `std::optional<std::vector>` to an empty vector as
opposed to `{}` (which was effectively `std::nullopt`).
---------
Co-authored-by: Vy Nguyen <oontvoo at users.noreply.github.com>
Commit: dca49d739de07b1755ad65aa26dacd2e2c22af20
https://github.com/llvm/llvm-project/commit/dca49d739de07b1755ad65aa26dacd2e2c22af20
Author: Nick Desaulniers (paternity leave) <nickdesaulniers at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libc/config/linux/app.h
M libc/src/__support/threads/thread.h
M libc/startup/linux/do_start.cpp
Log Message:
-----------
[libc][arm32] define argc type and stack alignment (#96367)
https://github.com/ARM-software/abi-aa/blob/main/aapcs32/aapcs32.rst#6212stack-constraints-at-a-public-interface
mentions that the stack on ARM32 is double word aligned.
Remove confused comments around ArgcType. argc is always an int, passed on the
stack, so we need to store a pointer to it (regardless of ILP32 or LP64).
Commit: fb07afedbebb0c9f2647d02c6f254245cdb84085
https://github.com/llvm/llvm-project/commit/fb07afedbebb0c9f2647d02c6f254245cdb84085
Author: yonghong-song <yhs at fb.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/BPF/BPFRegisterInfo.cpp
Log Message:
-----------
[BPF] Avoid potential long compilation time without -g (#96575)
Alastair Robertson reported a huge compilation time increase without -g
for bpf target when comparing to x86 ([1]). In my setup, with '-O0', for
x86, a large basic block compilation takes 0.19s while bpf target takes
2.46s. The top function which contributes to the compile time is
eliminateFrameIndex().
Such long compilation time without -g is caused by commit
05de2e481811 ("[bpf] error when BPF stack size exceeds 512 bytes")
The compiler tries to get some debug loc by iterating all insns in the
basic block which will be used when compiler warns larger-than-512 stack
size. Even without -g, such iterating also happens which cause
unnecessary compile time increase.
To fix the issue, let us move the related code when the compiler is
about to warn stack limit violation. This fixed the compile time
regression, and on my system, the compile time is reduced from 2.46s to
0.35s.
[1] https://github.com/bpftrace/bpftrace/issues/3257
Co-authored-by: Yonghong Song <yonghong.song at linux.dev>
Commit: ac1e22f3053f761e4e2ef832b92de15876e68335
https://github.com/llvm/llvm-project/commit/ac1e22f3053f761e4e2ef832b92de15876e68335
Author: Stanley Winata <68087699+raikonenfnu at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
M mlir/test/Dialect/Vector/fold-arith-extf-into-vector-contract.mlir
Log Message:
-----------
[mlir][vector] Generalize folding of ext-contractionOp to other types. (#96593)
Many state of the art models and quantization operations are now
directly working on vector.contract on integers.
This commit enables generalizes ext-contraction folding S.T we can emit
more performant vector.contracts on codegen pipelines.
Signed-off-by: Stanley Winata <stanley.winata at amd.com>
Commit: 580343d96f18e3c2fa8d7a8e25a175aaa2e20522
https://github.com/llvm/llvm-project/commit/580343d96f18e3c2fa8d7a8e25a175aaa2e20522
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Descriptor.cpp
Log Message:
-----------
[clang][Interp][NFC] Destroy InitMap when moving contents to DeadBlock
Commit: c9529f76017f0b517dca1e89eecdf6bbd97c3e84
https://github.com/llvm/llvm-project/commit/c9529f76017f0b517dca1e89eecdf6bbd97c3e84
Author: Max191 <44243577+Max191 at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
M mlir/test/Dialect/Tensor/fold-tensor-subset-ops-into-vector-transfers.mlir
M mlir/test/Dialect/Tensor/fold-tensor-subset-ops.mlir
Log Message:
-----------
[mlir] Drop outermost dims in slice rank reduction inference (#95020)
The `getDroppedDims` utility function does not follow the convention of
dropping outermost unit dimensions first when inferring a rank reduction
mask for a slice. This PR updates the implementation to match this
convention.
Commit: 05ca20744159a33349271a96b90959a0a3807133
https://github.com/llvm/llvm-project/commit/05ca20744159a33349271a96b90959a0a3807133
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C23] Update status page regarding FLT_MAX_EXP
N2843 was subsumed by N2882; we could probably consider removing
subsumed entries, but I've been leaving them to help folks looking at
the editor's report from various working drafts and wondering about the
changes.
Commit: d7dd778cde84110e38521a6b55dfeb4e1c649ec2
https://github.com/llvm/llvm-project/commit/d7dd778cde84110e38521a6b55dfeb4e1c649ec2
Author: PeterChou1 <peter.chou at mail.utoronto.ca>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang-tools-extra/clang-doc/tool/CMakeLists.txt
M clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
Log Message:
-----------
[clang-doc] update install path to share/clang-doc instead of share/clang (#96555)
Updates the install path for clang-doc to share/clang-doc instead
share/clang to avoid confusion
Commit: dbd5c7805bae510c79b51c2c7700a590f2df446d
https://github.com/llvm/llvm-project/commit/dbd5c7805bae510c79b51c2c7700a590f2df446d
Author: PeterChou1 <peter.chou at mail.utoronto.ca>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Calculator.cpp
M clang-tools-extra/test/clang-doc/basic-project.test
Log Message:
-----------
[clang-doc] Remove stdexecpt from clang-doc test (#96552)
Removes stdexecpt from clang-doc test introduced in
https://github.com/llvm/llvm-project/pull/93928
since it violates the rule that test must be freestanding
Commit: f0f774ebf09b1f1ae8129074801342eeadf5495b
https://github.com/llvm/llvm-project/commit/f0f774ebf09b1f1ae8129074801342eeadf5495b
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M compiler-rt/lib/asan/asan_interceptors.cpp
M compiler-rt/lib/hwasan/hwasan_interceptors.cpp
M compiler-rt/lib/lsan/lsan_interceptors.cpp
M compiler-rt/lib/memprof/memprof_interceptors.cpp
M compiler-rt/lib/msan/msan_interceptors.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_common_libcdep.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_posix.h
M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
Log Message:
-----------
[sanitizer] Rename DEFINE_REAL_PTHREAD_FUNCTIONS (#96527)
We use REAL() calls in interceptors, but
DEFINE_REAL_PTHREAD_FUNCTIONS has nothing to do
with them and only used for internal maintenance
threads.
This is done to avoid confusion like in #96456.
Commit: de7c1396f29b9bf7011912e7cfea9edad1efb492
https://github.com/llvm/llvm-project/commit/de7c1396f29b9bf7011912e7cfea9edad1efb492
Author: Han-Kuan Chen <hankuan.chen at sifive.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP] NFC. Refactor and add getAltInstrMask help function. (#94709)
Co-authored-by: Alexey Bataev <a.bataev at gmx.com>
Commit: aaf50bf34f3a2007221c644384d238666cfc2bc3
https://github.com/llvm/llvm-project/commit/aaf50bf34f3a2007221c644384d238666cfc2bc3
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/cgp-addressing-modes-smem.ll
Log Message:
-----------
[AMDGPU] Disallow negative s_load offsets in isLegalAddressingMode (#91327)
Commit: 5e2beed9a1643cd6358fb8b43feb893543d90bf3
https://github.com/llvm/llvm-project/commit/5e2beed9a1643cd6358fb8b43feb893543d90bf3
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C23] Move WG14 N2931 to the TS18661 section
This paper only matters for TS18661-3 integration.
Commit: 0b049ce64653a8cbdeedaa2bfe6cc79fc6af5d40
https://github.com/llvm/llvm-project/commit/0b049ce64653a8cbdeedaa2bfe6cc79fc6af5d40
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
A compiler-rt/test/tsan/Darwin/fork_deadlock.cpp
R compiler-rt/test/tsan/Linux/fork_deadlock.cpp
Log Message:
-----------
[tsan] Test `__tsan_test_only_on_fork` only on Mac (#96597)
According to https://reviews.llvm.org/D114250
this was to handle Mac specific issue, however
the test is Linux only.
The test effectively prevents to lock main allocator
on fork, but we do that on Linux for other
sanitizers for years, and need to do the same
for TSAN to avoid deadlocks.
Commit: 4c87212d63c3b45e9371434239553ef007216106
https://github.com/llvm/llvm-project/commit/4c87212d63c3b45e9371434239553ef007216106
Author: Nick Desaulniers (paternity leave) <nickdesaulniers at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libc/src/__support/OSUtil/linux/arm/syscall.h
Log Message:
-----------
[libc][thumb] support syscalls from thumb mode (#96558)
r7 is reserved in thumb2 (typically for the frame pointer, as opposed to r11 in
ARM mode), so assigning to a variable with explicit register storage in r7 will
produce an error.
But r7 is where the Linux kernel expects the syscall number to be placed. We
can use a temporary to get the register allocator to pick a temporary, which we
save+restore the previous value of r7 in.
Fixes: #93738
Commit: cd2bac81a9ae961f8299198750a8910dc389491e
https://github.com/llvm/llvm-project/commit/cd2bac81a9ae961f8299198750a8910dc389491e
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M compiler-rt/lib/tsan/rtl/tsan_mman.cpp
M compiler-rt/lib/tsan/rtl/tsan_mman.h
M compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
Log Message:
-----------
[nfc][tsan] Better name for locking functions (#96598)
These functions used only for `fork`.
Unused parameter `child` will be used in followup patches.
Commit: 0258a60cd97c5d44b150a6c954f992b39a6c4f2f
https://github.com/llvm/llvm-project/commit/0258a60cd97c5d44b150a6c954f992b39a6c4f2f
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M compiler-rt/lib/tsan/rtl/tsan_mman.cpp
Log Message:
-----------
[nfc][tsan] Clang format includes (#96599)
Commit: 5c9513ac752fe33976a0a16a9e6d188b8200d3ae
https://github.com/llvm/llvm-project/commit/5c9513ac752fe33976a0a16a9e6d188b8200d3ae
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
A llvm/test/CodeGen/NVPTX/max-align.ll
Log Message:
-----------
[NVPTX] cap param alignment at 128 (max supported by ptx) (#96117)
Cap the alignment to 128 bytes as that is the maximum alignment
supported by PTX. The restriction is mentioned in the parameter passing
section (Note D) of the [PTX Writer's Guide to Interoperability]
(https://docs.nvidia.com/cuda/ptx-writers-guide-to-interoperability/index.html#parameter-passing)
> D. The alignment must be 1, 2, 4, 8, 16, 32, 64, or 128 bytes.
Commit: 70fb1e379b52bfab061fd608acb8c7d070d31ecd
https://github.com/llvm/llvm-project/commit/70fb1e379b52bfab061fd608acb8c7d070d31ecd
Author: Fabian Mora <fmora.dev at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M mlir/include/mlir/Target/LLVM/ROCDL/Utils.h
M mlir/lib/Target/LLVM/CMakeLists.txt
M mlir/lib/Target/LLVM/ROCDL/Target.cpp
Log Message:
-----------
Reland [mlir][Target] Improve ROCDL gpu serialization API (#96198)
Reland: https://github.com/llvm/llvm-project/pull/95456
This patch improves the ROCDL gpu serialization API by:
- Introducing the enum `AMDGCNLibraries` for specifying the AMD GCN
device code libraries to use during linking.
- Removing `getCommonBitcodeLibs` in favor of `AMDGCNLibraries`.
Previously `getCommonBitcodeLibs` would try to load all AMD GCN bitcode
librariesm now it will only load the requested libraries.
- Exposing the `compileToBinary` method and making it virtual, allowing
downstream users to re-use this method.
- Exposing `moduleToObjectImpl`, this method provides a prototype flow
for compiling to binary, allowing downstream users to re-use this
method.
- It also avoids constructing the control variables if no device
libraries are being used.
- Changes the style of the error messages to be composable, ie no full
stops.
- Adds an error message for when the ROCm toolkit can't be found but it
was required.
Commit: c0dc134de56f0fa25b942c9db1b1852b1da9ee51
https://github.com/llvm/llvm-project/commit/c0dc134de56f0fa25b942c9db1b1852b1da9ee51
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M compiler-rt/lib/tsan/rtl/tsan_mman.cpp
M compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c
Log Message:
-----------
[tsan] Lock/Unlock allocator and stacks on fork (#96600)
We do that for other Sanitizers, and we
should do the same for TSAN.
There are know deadlocks reports here.
Commit: 39a0aa5876c20ef245fc4065b9f512008fac91a6
https://github.com/llvm/llvm-project/commit/39a0aa5876c20ef245fc4065b9f512008fac91a6
Author: Eli Friedman <efriedma at quicinc.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/AArch64/ldexp.ll
A llvm/test/CodeGen/ARM/ldexp.ll
M llvm/test/CodeGen/X86/ldexp.ll
M llvm/test/CodeGen/X86/llvm.frexp.ll
Log Message:
-----------
[SelectionDAG] Lower llvm.ldexp.f32 to ldexp() on Windows. (#95301)
This reduces codesize. As discussed in #92707.
Commit: 928b7808406b893b24edb8d8462491dc82f9ce43
https://github.com/llvm/llvm-project/commit/928b7808406b893b24edb8d8462491dc82f9ce43
Author: Brendan Dahl <brendan.dahl at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
M llvm/test/CodeGen/WebAssembly/half-precision.ll
M llvm/test/MC/WebAssembly/simd-encodings.s
Log Message:
-----------
[WebAssembly] Implement trunc_sat and convert instructions for f16x8. (#95180)
These instructions can be generated using regular LL intrinsics.
Specified at:
https://github.com/WebAssembly/half-precision/blob/29a9b9462c9285d4ccc1a5dc39214ddfd1892658/proposals/half-precision/Overview.md
Commit: a790279bf2a8be2f9c42bf80f55a63933e398d0e
https://github.com/llvm/llvm-project/commit/a790279bf2a8be2f9c42bf80f55a63933e398d0e
Author: Alexis Perry-Holby <AlexisPerry at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Flang.cpp
M flang/include/flang/Frontend/TargetOptions.h
M flang/include/flang/Lower/Bridge.h
M flang/include/flang/Optimizer/CodeGen/CGPasses.td
M flang/include/flang/Optimizer/CodeGen/Target.h
M flang/include/flang/Optimizer/Dialect/Support/FIRContext.h
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Frontend/FrontendActions.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/CodeGen/Target.cpp
M flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
M flang/lib/Optimizer/CodeGen/TypeConverter.cpp
M flang/lib/Optimizer/Dialect/Support/FIRContext.cpp
A flang/test/Driver/tune-cpu-fir.f90
A flang/test/Lower/tune-cpu-llvm.f90
M flang/tools/bbc/bbc.cpp
M flang/tools/tco/tco.cpp
M flang/unittests/Optimizer/FIRContextTest.cpp
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/lib/Target/LLVMIR/ModuleImport.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
A mlir/test/Target/LLVMIR/Import/tune-cpu.ll
A mlir/test/Target/LLVMIR/tune-cpu.mlir
Log Message:
-----------
[flang] Add basic -mtune support (#95043)
This PR adds -mtune as a valid flang flag and passes the information
through to LLVM IR as an attribute on all functions. No specific
architecture optimizations are added at this time.
Commit: a0869331ec0c9ae42f696e87d72416ea5ecb926f
https://github.com/llvm/llvm-project/commit/a0869331ec0c9ae42f696e87d72416ea5ecb926f
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C11] Remove WG14 N1537 from the status page
This paper was a rewording of WG14 N1485, correcting terminology and
bringing the C11 feature slightly closer in line with the C++11
feature. There is nothing additional to be done or test to conform to
what was specified by WG14 N1537, so we'll remove the entry and lean on
N1485 to track status for atomics.
Commit: 21ab32e1c144b42458b7b3181e84bfb45aadcc54
https://github.com/llvm/llvm-project/commit/21ab32e1c144b42458b7b3181e84bfb45aadcc54
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
Log Message:
-----------
[lldb][LibCxx] Move incorrect nullptr check (#96635)
Found while skimming this code. Don't have a reproducible test case for
this but the nullptr check should clearly occur before we try to
dereference `location_sp`.
Commit: b9353f7f3ec88ecc5c4cdfc109665c89599b7f2f
https://github.com/llvm/llvm-project/commit/b9353f7f3ec88ecc5c4cdfc109665c89599b7f2f
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
Log Message:
-----------
[LinkerWrapper][NFC] Simplify StringErrors (#96650)
Summary:
The StringError class has a specialized method that creates the
inconvertible error code for you. It's much easier to read this way.
Commit: fef144cebb378f550ef098d370316554d647f625
https://github.com/llvm/llvm-project/commit/fef144cebb378f550ef098d370316554d647f625
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
M llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
M llvm/lib/DWARFLinker/Parallel/ArrayList.h
M llvm/lib/ExecutionEngine/Orc/Core.cpp
M llvm/lib/ExecutionEngine/Orc/Debugging/DebugInfoSupport.cpp
M llvm/lib/ProfileData/InstrProfReader.cpp
M llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
M llvm/lib/Target/NVPTX/NVVMReflect.cpp
M llvm/lib/Target/PowerPC/PPCMergeStringPool.cpp
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
M llvm/lib/Transforms/Utils/CodeLayout.cpp
M llvm/tools/llvm-jitlink/llvm-jitlink.cpp
M llvm/utils/TableGen/ARMTargetDefEmitter.cpp
M llvm/utils/TableGen/ExegesisEmitter.cpp
Log Message:
-----------
Revert "[llvm] Use llvm::sort (NFC) (#96434)"
This reverts commit 05d167fc201b4f2e96108be0d682f6800a70c23d.
Reverting the patch fixes the following under EXPENSIVE_CHECKS:
LLVM :: CodeGen/AMDGPU/sched-group-barrier-pipeline-solver.mir
LLVM :: CodeGen/AMDGPU/sched-group-barrier-pre-RA.mir
LLVM :: CodeGen/PowerPC/aix-xcoff-used-with-stringpool.ll
LLVM :: CodeGen/PowerPC/merge-string-used-by-metadata.mir
LLVM :: CodeGen/PowerPC/mergeable-string-pool-large.ll
LLVM :: CodeGen/PowerPC/mergeable-string-pool-pass-only.mir
LLVM :: CodeGen/PowerPC/mergeable-string-pool.ll
Commit: aec735cf476c3975b026aa79fa40dda06a27fac3
https://github.com/llvm/llvm-project/commit/aec735cf476c3975b026aa79fa40dda06a27fac3
Author: agozillon <Andrew.Gozillon at amd.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
M flang/test/Integration/OpenMP/map-types-and-sizes.f90
A flang/test/Lower/OpenMP/common-block-map.f90
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
A mlir/test/Target/LLVMIR/omptarget-fortran-common-block-host.mlir
A offload/test/offloading/fortran/target-map-all-common-block-members.f90
A offload/test/offloading/fortran/target-map-common-block.f90
A offload/test/offloading/fortran/target-map-declare-target-link-common-block.f90
A offload/test/offloading/fortran/target-map-first-common-block-member.f90
A offload/test/offloading/fortran/target-map-mix-imp-exp-common-block-members.f90
A offload/test/offloading/fortran/target-map-second-common-block-member.f90
Log Message:
-----------
[Flang][OpenMP][MLIR] Fix common block mapping for regular and declare target link (#91829)
This PR attempts to fix common block mapping for regular mapping of
these types as well as when they have been marked as "declare target
link". This PR should allow correct mapping of both the members of a
common block and the full common block via its block symbol.
The main changes were some adjustments to the Fortran OpenMP lowering to
HLFIR/FIR, the lowering of the LLVM+OpenMP dialect to LLVM-IR and
adjustments to the way the we handle target kernel map argument
rebinding inside of the OMPIRBuilder.
For the Fortran OpenMP lowering were two changes, one to prevent the
implicit capture of common block members when the common block symbol
itself has been marked and the other creates intermediate member access
inside of the target region to be used in-place of those external to the
target region, this prevents external usages breaking the
IsolatedFromAbove pact.
In the latter case, there was an adjustment to the size calculation for
types to better handle cases where we pass an array as the type of a map
(as opposed to the bounds and the type of the element), which occurs in
the case of common blocks. There is also some adjustment to how
handleDeclareTargetMapVar handles renaming of declare target symbols in
the module to the reference pointer, now it will only apply to those
within the kernel that is currently being generated and we also perform
a modification to replace constants with instructions as necessary as we
cannot replace these with our reference pointer (non-constant and
constants do not mix nicely).
In the case of the OpenMPIRBuilder some changes were made to defer
global symbol rebinding to kernel arguments until all other arguments
have been rebound. This makes sure we do not replace uses that may refer
to the global (e.g. a GEP) but are themselves actually a separate
argument that needs bound.
Currently "declare target to" still needs some work, but this may be the
case for all types in conjunction with "declare target to" at the
moment.
Commit: b003c60904a78eb62702c613f9e61155bad56798
https://github.com/llvm/llvm-project/commit/b003c60904a78eb62702c613f9e61155bad56798
Author: Felix Schneider <fx.schn at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
M mlir/test/Dialect/Arith/canonicalize.mlir
Log Message:
-----------
[mlir][arith] Match folding of `arith.remf` to `llvm.frem` semantics (#96537)
There are multiple ways to define a remainder operation. Depending on
the definition, the result could be either always positive or have the
sign of the dividend.
The pattern lowering `arith.remf` to LLVM assumes that the semantics
match `llvm.frem`, which seems to be reasonable. The folder, however, is
implemented via `APFloat::remainder()` which has different semantics.
This patch matches the folding behaviour to lowering behavior by using
`APFloat::mod()`, which matches the behavior of `llvm.frem` and libm's
`fmod()`. It also updates the documentation of `arith.remf` to explain
this behavior: The sign of the result of the remainder operation always
matches the sign of the dividend (LHS operand).
frem documentation: https://llvm.org/docs/LangRef.html#frem-instruction
Fix https://github.com/llvm/llvm-project/issues/94431
---------
Co-authored-by: Jakub Kuderski <kubakuderski at gmail.com>
Commit: a255ece56f73f3ef4bd5add83f9120a0b17914a1
https://github.com/llvm/llvm-project/commit/a255ece56f73f3ef4bd5add83f9120a0b17914a1
Author: Nivetha Kuruparan <167944429+nivethakuruparan at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/test/DebugInfo/attr-btf_type_tag.ll
Log Message:
-----------
XFAIL llvm/test/DebugInfo/attr-btf_type_tag.ll on AIX (#96677)
This PR XFAILS `llvm/test/DebugInfo/attr-btf_type_tag.ll` on AIX since
we we don’t have `.debug_addr` section.
Co-authored-by: Nivetha Kuruparan <nivetha at comp810.rtp.raleigh.ibm.com>
Commit: ec2fb59e6c12bf89aae823c4c47b25488d00daa0
https://github.com/llvm/llvm-project/commit/ec2fb59e6c12bf89aae823c4c47b25488d00daa0
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
A bolt/docs/OptimizingLinux.md
Log Message:
-----------
[BOLT][docs] Add Linux kernel optimization guide (#96669)
Describe steps for optimizing the Linux kernel with BOLT.
Commit: 8dd9494056d6797144dfabbbfb6d478c95375019
https://github.com/llvm/llvm-project/commit/8dd9494056d6797144dfabbbfb6d478c95375019
Author: Tarun Prabhu <tarun at lanl.gov>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Flang.cpp
M flang/include/flang/Frontend/TargetOptions.h
M flang/include/flang/Lower/Bridge.h
M flang/include/flang/Optimizer/CodeGen/CGPasses.td
M flang/include/flang/Optimizer/CodeGen/Target.h
M flang/include/flang/Optimizer/Dialect/Support/FIRContext.h
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Frontend/FrontendActions.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/CodeGen/Target.cpp
M flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
M flang/lib/Optimizer/CodeGen/TypeConverter.cpp
M flang/lib/Optimizer/Dialect/Support/FIRContext.cpp
R flang/test/Driver/tune-cpu-fir.f90
R flang/test/Lower/tune-cpu-llvm.f90
M flang/tools/bbc/bbc.cpp
M flang/tools/tco/tco.cpp
M flang/unittests/Optimizer/FIRContextTest.cpp
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/lib/Target/LLVMIR/ModuleImport.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
R mlir/test/Target/LLVMIR/Import/tune-cpu.ll
R mlir/test/Target/LLVMIR/tune-cpu.mlir
Log Message:
-----------
Revert "[flang] Add basic -mtune support" (#96678)
Reverts llvm/llvm-project#95043
Commit: 7e77353db6984b2bf07f54fd0ef5f56bf1aa8244
https://github.com/llvm/llvm-project/commit/7e77353db6984b2bf07f54fd0ef5f56bf1aa8244
Author: Karl-Johan Karlsson <karl-johan.karlsson at ericsson.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/test/Preprocessor/embed_weird.cpp
Log Message:
-----------
[clang][test] Avoid writing to a potentially write-protected dir (#96457)
The test clang/test/Preprocessor/embed_weird.cpp creates a file directly
in the Inputs dir in the llvm-project repo instead of the temporary
directory. The llvm-project repo may be write protected e.g. in a
sandboxed environment.
This patch creates a separate temporary directory where the
null_byte.bin file is created along with the rest of copies of the other
embed-files needed for the testcase.
Commit: a55dc1d3ca2ed948bdae887ea1f4ab8041ed1b6d
https://github.com/llvm/llvm-project/commit/a55dc1d3ca2ed948bdae887ea1f4ab8041ed1b6d
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/test/Transforms/SLPVectorizer/RISCV/shuffled-gather-casted.ll
Log Message:
-----------
[SLP][NFC]Add a test with the incorrect casting of the sext/zext alternate node, NFC.
Commit: 600ff287722a15106e9a02c470b9865dda05980e
https://github.com/llvm/llvm-project/commit/600ff287722a15106e9a02c470b9865dda05980e
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/InlineModelFeatureMaps.h
M llvm/lib/Analysis/MLInlineAdvisor.cpp
M llvm/lib/Analysis/models/gen-inline-oz-test-model.py
A llvm/test/Transforms/Inline/ML/avail-external.ll
Log Message:
-----------
[mlgo] add 2 new features whether caller/callee is `available_externally` (#96585)
AvailableExternally linkage is interesting because, in ThinLTO cases, it
means the function may get elided if it survives inlining - see
`elim-avail-extern` pass.
Commit: bd5b77529f07d21c27cf14009845e319e454867d
https://github.com/llvm/llvm-project/commit/bd5b77529f07d21c27cf14009845e319e454867d
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M compiler-rt/lib/asan/asan_globals.cpp
Log Message:
-----------
__asan_register_elf_globals: properly check the "no instrumented global variable" case
On ELF platforms, the instrumentation registers global variables using
`__asan_register_elf_globals` for the default `UseGlobalsGC` case. If
all instrumented global variables in a module are discarded by linker
GC, we will have `start == stop`.
Normally `start == 0`, but `start != 0` is possible with a linker script
retaining `asan_globals`. The called `__asan_register_globals` would
access out-of-bounds `globals[n-1]`, though there is likely no runtime
failure.
Pull Request: https://github.com/llvm/llvm-project/pull/96529
Commit: 80114a7b325becbfe4ff4298c4ab5e17631e24bb
https://github.com/llvm/llvm-project/commit/80114a7b325becbfe4ff4298c4ab5e17631e24bb
Author: Björn Pettersson <bjorn.a.pettersson at ericsson.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h
Log Message:
-----------
[ScheduleDAG] Remove obsolete VReg2SUnitMap. NFC (#96559)
The VReg2SUnitMap type is not used anywhere (it has probably been
obsolete since commit 97d0ffbe0647c4ec49ed4 back in 2015). This commit
simply removes the type definition.
Commit: 699cd9ac1dc305b2f0ee6e70939a3dddccc2add4
https://github.com/llvm/llvm-project/commit/699cd9ac1dc305b2f0ee6e70939a3dddccc2add4
Author: Morten larsen <mortenlarsens at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/DWP/DWP.cpp
M llvm/test/tools/llvm-dwp/X86/merge.test
A llvm/test/tools/llvm-dwp/X86/merge_v5.test
Log Message:
-----------
[llvm-dwp] Fix merging of debug_str_offsets with multiple contributions (#90461)
This pull request will change the merging of ``debug_str_offset`` to
merge per contribution and correctly copy over each contribution header
to the merged section. I have added some test data which is in dwarf5
format as this is where the section contribution header was introduced,
as far as i can tell.
Commit: 228c2e147390ca996a22e460e0bb804431469d25
https://github.com/llvm/llvm-project/commit/228c2e147390ca996a22e460e0bb804431469d25
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/RISCV/shuffled-gather-casted.ll
Log Message:
-----------
[SLP]Fix incorrect promotion of nodes before shuffling.
If the base node is signed, but some values are unsigned, still the
whole node should be considered signed. Also, an extra bitwidth analysis
should be performed, when estimating the minimal bitwidth.
Commit: 3c24eb39fb7e9c8b61992c86cb44d8cacc5853d2
https://github.com/llvm/llvm-project/commit/3c24eb39fb7e9c8b61992c86cb44d8cacc5853d2
Author: Stephen Chou <stephenchouca at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/MIRParser/MILexer.cpp
M llvm/lib/CodeGen/MIRParser/MILexer.h
M llvm/lib/CodeGen/MIRParser/MIParser.cpp
A llvm/test/CodeGen/MIR/Generic/bfloat-immediates.mir
Log Message:
-----------
[LLVM][MIR] Support parsing bfloat immediates in MIR parser (#96010)
Adds support in MIR parser for parsing bfloat immediates, and adds a
test for this.
Commit: ef05b0322307318eb806c0bd4cdcdae9e31d477b
https://github.com/llvm/llvm-project/commit/ef05b0322307318eb806c0bd4cdcdae9e31d477b
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libc/test/src/math/exhaustive/CMakeLists.txt
M libc/test/src/math/exhaustive/exhaustive_test.h
A libc/test/src/math/exhaustive/fmodf16_test.cpp
M libc/utils/MPFRWrapper/MPFRUtils.cpp
Log Message:
-----------
[libc][math][c23] Add MPFR exhaustive test for fmodf16 (#94656)
Commit: 88f80aeb0c626708017ea2d845e541e0e20f4d58
https://github.com/llvm/llvm-project/commit/88f80aeb0c626708017ea2d845e541e0e20f4d58
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
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/docs/math/index.rst
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/cos.cpp
M libc/src/math/generic/range_reduction_double_common.h
M libc/src/math/generic/sin.cpp
M libc/src/math/generic/sincos_eval.h
M libc/src/math/x86_64/CMakeLists.txt
R libc/src/math/x86_64/cos.cpp
M libc/test/src/math/cos_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/cos_test.cpp
Log Message:
-----------
[libc][math] Implement double precision cos correctly rounded to all rounding modes. (#96591)
Sharing the same algorithm as double precision sin:
https://github.com/llvm/llvm-project/pull/95736
Commit: 04c27852e47093f7efa18609dbf57b3ce58a3ffa
https://github.com/llvm/llvm-project/commit/04c27852e47093f7efa18609dbf57b3ce58a3ffa
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCContext.h
M llvm/include/llvm/MC/MCWinCOFFStreamer.h
M llvm/lib/MC/MCContext.cpp
M llvm/lib/MC/MCObjectFileInfo.cpp
M llvm/lib/MC/MCWinCOFFStreamer.cpp
M llvm/lib/MC/WinCOFFObjectWriter.cpp
M llvm/test/DebugInfo/X86/InlinedFnLocalVar.ll
M llvm/test/DebugInfo/X86/ref_addr_relocation.ll
M llvm/test/ExecutionEngine/RuntimeDyld/X86/COFF_x86_64.s
M llvm/test/MC/COFF/section-comdat-conflict.s
M llvm/test/MC/COFF/section-comdat.s
A llvm/test/MC/COFF/section-sym-err.s
Log Message:
-----------
[MC,COFF] Change how we handle section symbols
13a79bbfe583e1d8cc85d241b580907260065eb8 (2017) unified `BeginSymbol` and
section symbol for ELF. This patch does the same for COFF.
* In getCOFFSection, all sections now have a `BeginSymbol` (section
symbol). We do not need a dummy symbol name when `getBeginSymbol` is
needed (used by AsmParser::Run and DWARF generation).
* Section symbols are in the global symbol table. `call .text` will
reference the section symbol instead of an undefined symbol. This
matches GNU assembler. Unlike GNU, redefining the section symbol will
cause a "symbol 'foo0' is already defined" error (see
`section-sym-err.s`).
Pull Request: https://github.com/llvm/llvm-project/pull/96459
Commit: d26451411f9cab2200a749f5b7a2f4f93c154445
https://github.com/llvm/llvm-project/commit/d26451411f9cab2200a749f5b7a2f4f93c154445
Author: Akshay Deodhar <adeodhar at nvidia.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/test/CodeGen/NVPTX/f16-instructions.ll
Log Message:
-----------
Enforce parameter order in f16 call, flipped call unit tests (#96258)
Commit: 0280f97b36c83a7129e5dbce53c603b7ec5d82fe
https://github.com/llvm/llvm-project/commit/0280f97b36c83a7129e5dbce53c603b7ec5d82fe
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/insertelement-uses-vectorized-index.ll
Log Message:
-----------
[SLP]Fix PR95925: extract vectorized index of the potential buildvector sequence.
If the vectorized scalar is not the insert value in the buildvector
sequence but the index, it should be always extracted.
Commit: dff6871cdbce8569a141d541023061294860fb95
https://github.com/llvm/llvm-project/commit/dff6871cdbce8569a141d541023061294860fb95
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/fp-constant-f16.mir
Log Message:
-----------
[RISCV][GISel] Support G_FCONSTANT for Zfh.
Commit: 7e59b20034aa77d69e5218ff44e3cba8a500f76a
https://github.com/llvm/llvm-project/commit/7e59b20034aa77d69e5218ff44e3cba8a500f76a
Author: vaibhav <73255802+mrdaybird at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ScalarEvolution.cpp
A llvm/test/Analysis/ScalarEvolution/pr92560.ll
Log Message:
-----------
[SCEV] Support addrec in right hand side in howManyLessThans (#92560)
Fixes #92554 (std::reverse will auto-vectorize now)
When calculating number of times a exit condition containing a
comparison is executed, we mostly assume that RHS of comparison should
be loop invariant, but it may be another add-recurrence.
~In that case, we can try the computation with `LHS = LHS - RHS` and
`RHS = 0`.~ (It is not valid unless proven that it doesn't wrap)
**Edit:**
We can calculate back edge count for loop structure like:
```cpp
left = left_start
right = right_start
while(left < right){
// ...do something...
left += s1; // the stride of left is s1 (> 0)
right -= s2; // the stride of right is -s2 (s2 > 0)
}
// left and right converge somewhere in the middle of their start values
```
We can calculate the backedge-count as ceil((End - left_start) /u (s1-
(-s2)) where, End = max(left_start, right_start).
**Alive2**: https://alive2.llvm.org/ce/z/ggxx58
Commit: edf5782f1780f480c3ae3fc0a44bf5432f9aa48b
https://github.com/llvm/llvm-project/commit/edf5782f1780f480c3ae3fc0a44bf5432f9aa48b
Author: Jason Eckhardt <jeckhardt at nvidia.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
A llvm/test/TableGen/check-duplicate-tuple-regs.td
M llvm/utils/TableGen/Common/CodeGenRegisters.cpp
Log Message:
-----------
[TableGen] Check for duplicate register tuple definitions. (#95725)
Currently TableGen does not directly detect duplicate synthesized
registers as can happen in this example:
def GPR128 : RegisterTuples<[sub0, sub1, sub2, sub3],
[(decimate (shl GPR32, 0), 1),
(decimate (shl GPR32, 1), 1),
(decimate (shl GPR32, 2), 1),
(decimate (shl GPR32, 3), 1)]>;
def GPR128_Aligned : RegisterTuples<[sub0, sub1, sub2, sub3],
[(decimate (shl GPR32, 0), 4),
(decimate (shl GPR32, 1), 4),
(decimate (shl GPR32, 2), 4),
(decimate (shl GPR32, 3), 4)]>;
TableGen does fail, but with an unrelated and difficult to understand
error that happens downstream of tuple expansion:
"error: No SubRegIndex for R0_R1_R2_R3 in R0_R1_R2_R3".
This patch detects the problem directly during expansion and emits an
error pointing the user to the actual issue:
"error: Register tuple redefines register 'R0_R1_R2_R3'".
Commit: 8bba070ef84ce41be4d3ec0b87d85a1be62325b0
https://github.com/llvm/llvm-project/commit/8bba070ef84ce41be4d3ec0b87d85a1be62325b0
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmax.ll
M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmin.ll
M llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmax.ll
M llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmin.ll
M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmax.ll
M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmin.ll
Log Message:
-----------
AMDGPU: Expand testing of atomicrmw fmin/fmax lowering
Cover amdgpu.no.fine.grained.memory vs. amdgpu.no.remote.memory.
Commit: 4f80f362a5b2b0339bf702f6ff7ae14304c76185
https://github.com/llvm/llvm-project/commit/4f80f362a5b2b0339bf702f6ff7ae14304c76185
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
M llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fadd.ll
M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
Log Message:
-----------
AMDGPU: Add new metadata and expand atomicrmw fadd expansion tests
Commit: e214ed9d7060f6caa0c1bb756edb62643f23aa5b
https://github.com/llvm/llvm-project/commit/e214ed9d7060f6caa0c1bb756edb62643f23aa5b
Author: Nick Desaulniers (paternity leave) <nickdesaulniers at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libc/config/linux/arm/entrypoints.txt
Log Message:
-----------
[libc][arm] move setjmp+longjmp to fullbuild-only entrypoints (#96708)
The opaque type jmp_buf should only be tested in fullbuild mode.
Commit: 847235bbef153c6d805d415cea8494297eaf2bdb
https://github.com/llvm/llvm-project/commit/847235bbef153c6d805d415cea8494297eaf2bdb
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rv32zbb.ll
M llvm/test/CodeGen/RISCV/rv64zbb.ll
Log Message:
-----------
[RISCV] Add DAG combine to turn (sub (shl X, 8), X) into orc.b (#96680)
If only bits 8, 16, 24, 32, etc. can be non-zero.
This is what (mul X, 255) is decomposed to. This decomposition happens
early before RISC-V DAG combine runs.
This patch does not support types larger than XLen so i64 on rv32 fails
to generate 2 orc.b instructions. It might have worked if the mul hadn't
been decomposed before it was expanded.
Partial fix for #96595.
Commit: 0d533665054c3a04681c46f3ed88960f28777be1
https://github.com/llvm/llvm-project/commit/0d533665054c3a04681c46f3ed88960f28777be1
Author: YunQiang Su <syq at debian.org>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/APFloat.h
M llvm/unittests/ADT/APFloatTest.cpp
Log Message:
-----------
APFloat: Add minimumnum and maximumnum (#96304)
They implements IEEE754-2019 minimumNumber and maximumNumber semantics.
Newer libc also has these 2 functions with names
fminimum_num
fmaximum_num
We are planning add minimumnum and maximumnum intrinsic. This is a step
to the goal.
Commit: 54ca5a800d12bf76dabc957163df02c3ea005627
https://github.com/llvm/llvm-project/commit/54ca5a800d12bf76dabc957163df02c3ea005627
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libc/src/__support/fixedvector.h
M libc/test/src/__support/fixedvector_test.cpp
Log Message:
-----------
[libc][fixedvector] Add const_iterator begin/end (#96714)
Commit: e6c2216940885ae5b0d6509dac73417c40d6c62f
https://github.com/llvm/llvm-project/commit/e6c2216940885ae5b0d6509dac73417c40d6c62f
Author: Haopeng Liu <153236845+haopliu at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/ConstantRangeList.h
M llvm/lib/IR/ConstantRangeList.cpp
M llvm/unittests/IR/ConstantRangeListTest.cpp
Log Message:
-----------
Add ConstantRangeList::unionWith() and ::intersectWith() (#96547)
Add ConstantRangeList::unionWith() and ::intersectWith().
These methods will be used in the "initializes" attribute inference.
https://github.com/llvm/llvm-project/commit/df11106068294fb00f11988d3f48336e2cbed364
Commit: 6b29965fd9355243f23a83a590a70ac7744f0e0f
https://github.com/llvm/llvm-project/commit/6b29965fd9355243f23a83a590a70ac7744f0e0f
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
Log Message:
-----------
[clang-tidy] align all help message in run-clang-tidy (#96199)
Commit: ef864516f7d2f4e256f74570beec8f29905d8828
https://github.com/llvm/llvm-project/commit/ef864516f7d2f4e256f74570beec8f29905d8828
Author: Diego Caballero <dieg0ca6aller0 at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M .github/CODEOWNERS
Log Message:
-----------
[mlir] Remove `*` from generic Linalg/Vector rules in CODEOWNERS (#96581)
The PR removes the `*` from the generic MLIR Vector/Linalg rules. The
`*` symbol keeps the match local to the files in the directory,
excluding sub-directories, which was not the intention when I added
these rules.
Commit: a4fef26c7d13c003b253052fbe670af451f9f1ff
https://github.com/llvm/llvm-project/commit/a4fef26c7d13c003b253052fbe670af451f9f1ff
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86FixupSetCC.cpp
A llvm/test/CodeGen/X86/apx/setzucc.ll
Log Message:
-----------
[X86][FixupSetCC] Substitute setcc + zext pair with setzucc if possible (#96594)
Commit: 55e60c35212e0cf293572499ee74e96438d64b99
https://github.com/llvm/llvm-project/commit/55e60c35212e0cf293572499ee74e96438d64b99
Author: dpalermo <dan.palermo at amd.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M flang/include/flang/Lower/BoxAnalyzer.h
Log Message:
-----------
[flang] Fix BoxAnalyzer.h for LLVM_ENABLE_EXPENSIVE_CHECKS (#96675)
Fixes assert seen trying to use default number of inlined elements for
`SmallVector<T>` but `sizeof(T)` is really big. Seen with
-DLLVM_ENABLE_EXPENSIVE_CHECKS.
Commit: 811e505c5b43242b20029cbd7a85d87763addf83
https://github.com/llvm/llvm-project/commit/811e505c5b43242b20029cbd7a85d87763addf83
Author: Hua Tian <akiratian at tencent.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/WindowScheduler.cpp
M llvm/test/CodeGen/Hexagon/swp-ws-dead-def.mir
M llvm/test/CodeGen/Hexagon/swp-ws-exp-dbg.mir
M llvm/test/CodeGen/Hexagon/swp-ws-exp.mir
M llvm/test/CodeGen/Hexagon/swp-ws-fail-0.mir
M llvm/test/CodeGen/Hexagon/swp-ws-fail-1.mir
M llvm/test/CodeGen/Hexagon/swp-ws-fail-2.mir
A llvm/test/CodeGen/Hexagon/swp-ws-fail-3.mir
M llvm/test/CodeGen/Hexagon/swp-ws-meta-instr.mir
M llvm/test/CodeGen/Hexagon/swp-ws-phi.mir
M llvm/test/CodeGen/Hexagon/swp-ws-sqrt.mir
M llvm/test/CodeGen/Hexagon/swp-ws-weak-dep.mir
Log Message:
-----------
[llvm][CodeGen] Update checking method of loop-carried phi in window scheduler (#96288)
Added some logic to check loop-carried phis in the window scheduler. It now includes the scenario where the preceding phi uses the virtual register defined by the succeeding phi.
Commit: 0fe82ea2ea7c92388a33652997b98d159d253012
https://github.com/llvm/llvm-project/commit/0fe82ea2ea7c92388a33652997b98d159d253012
Author: Peter Collingbourne <peter at pcc.me.uk>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn
Log Message:
-----------
gn build: Add missing source files to hwasan library.
Commit: 96b1f8859df3c82b6362b1dd07ee485f48cb1816
https://github.com/llvm/llvm-project/commit/96b1f8859df3c82b6362b1dd07ee485f48cb1816
Author: Lang Hames <lhames at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/Core.h
M llvm/lib/ExecutionEngine/Orc/Core.cpp
Log Message:
-----------
[ORC] Remove redundant locking of session mutex, update method name.
JITDylib::removeTracker already runs with the session mutex locked (and must do
so), so remove the redundant locking and add an 'IL_' ("inside lock") prefix to
the method name.
Commit: 896dd322afcc1cf5dc4fa7375dedd55b59001eb4
https://github.com/llvm/llvm-project/commit/896dd322afcc1cf5dc4fa7375dedd55b59001eb4
Author: Lang Hames <lhames at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
Log Message:
-----------
[ORC] Fix block dependence calculation in ObjectLinkingLayer.
This fixes a bug in ObjectLinkingLayer::computeBlockNonLocalDeps: The worklist
needs to be built *after* all immediate dependencies / dependants are recorded,
rather than trying to populate it as part of the same loop. (Trying to do the
latter causes us to miss some blocks that should have been included in the
worklist).
This fixes a bug discovered by @Sahil123 on discord during work on
out-of-process execution support in the clang-repl.
No testcase yet. This *might* be testable with a unit test and a custom
JITLinkContext but I believe some aspects of the algorithm depend on memory
layout. I'll need to investigate that. Alternatively we could add llvm-jitlink
testcases that exercise concurrent linking (and should probably do that anyway).
Either option will require some investment and I don't want to hold this fix up
in the mean time.
Commit: b347a720bfc4dfd6ff16cfde54f9a56f00efdb3c
https://github.com/llvm/llvm-project/commit/b347a720bfc4dfd6ff16cfde54f9a56f00efdb3c
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
M llvm/test/Instrumentation/InstrProfiling/mcdc.ll
Log Message:
-----------
[MC/DC][Coverage] Make tvbitmapupdate capable of atomic write (#96042)
This also introduces "Test and conditional Read-Modify-Write". The flow
to `atomicrmw or` is marked as `unlikely`.
Commit: f71f95d6aa27057f4fc10695ee9c8eb1ec77b763
https://github.com/llvm/llvm-project/commit/f71f95d6aa27057f4fc10695ee9c8eb1ec77b763
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M lld/ELF/InputSection.cpp
M lld/ELF/Relocations.cpp
M llvm/include/llvm/Object/ELFTypes.h
Log Message:
-----------
[ELF] Rename IsRela to HasAddend
`IsRela` is used by lld to differentiate REL and RELA static
relocations. The proposed CREL patch will reuse `IsRela` for CREL
(#91280). Rename `IsRela` to be more appropriate.
Pull Request: https://github.com/llvm/llvm-project/pull/96592
Commit: 174d3537c203ec81a6810bad554a5a71cc331e24
https://github.com/llvm/llvm-project/commit/174d3537c203ec81a6810bad554a5a71cc331e24
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86FixupSetCC.cpp
Log Message:
-----------
[X86] Fix description for pass X86FixupSetCC.cpp, NFCI
It should be a typo when the author created this file from
X86OptimizeLEAs.cpp.
Commit: 21bfc0e8ed798f078d4e87e6f43af025f078ead3
https://github.com/llvm/llvm-project/commit/21bfc0e8ed798f078d4e87e6f43af025f078ead3
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86FixupSetCC.cpp
Log Message:
-----------
Revert "[X86] Fix description for pass X86FixupSetCC.cpp, NFCI"
This reverts commit 174d3537c203ec81a6810bad554a5a71cc331e24.
It introduced new typo "IMul" by accident.
Commit: 9253ac24aac0198371260762838758f587fa3f9d
https://github.com/llvm/llvm-project/commit/9253ac24aac0198371260762838758f587fa3f9d
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86FixupSetCC.cpp
Log Message:
-----------
[X86] Fix description for pass X86FixupSetCC.cpp, NFCI
It should be a typo when the author created this file from
X86OptimizeLEAs.cpp.
Commit: 89d8df12015ac3440190d372a8d439614027dc2c
https://github.com/llvm/llvm-project/commit/89d8df12015ac3440190d372a8d439614027dc2c
Author: pcc <peter at pcc.me.uk>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenAction.cpp
M clang/test/CodeGen/asan-frame-pointer.cpp
M clang/test/CodeGen/asan-globals.cpp
A clang/test/CodeGen/coverage-target-attr.c
M clang/test/CodeGen/sanitize-metadata-nosanitize.c
M llvm/include/llvm/IR/Function.h
M llvm/include/llvm/IR/LLVMContext.h
M llvm/lib/IR/Function.cpp
M llvm/lib/IR/LLVMContext.cpp
M llvm/lib/IR/LLVMContextImpl.h
Log Message:
-----------
CodeGen, IR: Add target-{cpu,features} attributes to functions created via createWithDefaultAttr().
Functions created with createWithDefaultAttr() need to have the
correct target-{cpu,features} attributes to avoid miscompilations
such as using the wrong relocation type to access globals (missing
tagged-globals feature), clobbering registers specified via -ffixed-*
(missing reserve-* feature), and so on.
There's already a number of attributes copied from the module flags
onto functions created by createWithDefaultAttr(). I don't think
module flags are the right choice for the target attributes because
we don't need the conflict resolution logic between modules with
different target attributes, nor does it seem sensible to add it:
there's no unambiguously "correct" set of target attributes when
merging two modules with different attributes, and nor should there
be; it's perfectly valid for two modules to be compiled with different
target attributes, that's the whole reason why they are per-function.
This also implies that it's unnecessary to serialize the attributes in
bitcode, which implies that they shouldn't be stored on the module. We
can also observe that for the most part, createWithDefaultAttr()
is called from compiler passes such as sanitizers, coverage and
profiling passes that are part of the compile time pipeline, not
the LTO pipeline. This hints at a solution: we need to store the
attributes in a non-serialized location associated with the ambient
compilation context. Therefore in this patch I elected to store the
attributes on the LLVMContext.
There are calls to createWithDefaultAttr() in the NVPTX and AMDGPU
backends, and those calls would happen at LTO time. For those callers,
the bug still potentially exists and it would be necessary to refactor
them to create the functions at compile time if this issue is relevant
on those platforms.
Fixes #93633.
Reviewers: fmayer, MaskRay, eugenis
Reviewed By: MaskRay
Pull Request: https://github.com/llvm/llvm-project/pull/96721
Commit: 35f7b60aa6105753859bcccaf4a793aaf16b4acd
https://github.com/llvm/llvm-project/commit/35f7b60aa6105753859bcccaf4a793aaf16b4acd
Author: Vikram Hegde <115221833+vikramRH at users.noreply.github.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx10.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx11.cl
M llvm/docs/AMDGPUUsage.rst
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/VOP1Instructions.td
M llvm/lib/Target/AMDGPU/VOP3Instructions.td
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/intrinsics.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.ptr.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane64.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane64.ptr.ll
M llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll
M llvm/test/Verifier/AMDGPU/intrinsic-immarg.ll
Log Message:
-----------
[AMDGPU] Extend permlane16, permlanex16 and permlane64 intrinsic lowering for generic types (#92725)
These are incremental changes over #89217 , with core logic being the
same. This patch along with #89217 and #91190 should get us ready to enable 64
bit optimizations in atomic optimizer.
Commit: cb3469a30f875b9cd54a263803fffc93554bec12
https://github.com/llvm/llvm-project/commit/cb3469a30f875b9cd54a263803fffc93554bec12
Author: Jacob Lalonde <jalalonde at fb.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M lldb/source/Plugins/ObjectFile/Minidump/ObjectFileMinidump.cpp
Log Message:
-----------
Removed header and validated on new windows machine (#96724)
![image](https://github.com/llvm/llvm-project/assets/25160653/2044cc8e-72d5-49ec-9439-256555f5fd2b)
In #95312 uint and `#include <unistd.h>` were introduced. These broke
the windows build. I addressed uint in #96564, but include went unfixed.
So I acquired myself a windows machine to validate.
Commit: 2ee2b6aa7a3d9ba6ba13f6881b25e26d7d12c823
https://github.com/llvm/llvm-project/commit/2ee2b6aa7a3d9ba6ba13f6881b25e26d7d12c823
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/lib/Sema/ScopeInfo.cpp
M clang/test/SemaCXX/coroutine-vla.cpp
Log Message:
-----------
[Coroutines] Clear FirstVLALoc in time
Unlike other *Loc member in FunctionScopeInfo, we didn't clear
FirstVLALoc in 'FunctionScopeInfo::Clear()'. Then it will be
problematic for the following case:
```
void bar(int n) {
int array[n];
return;
}
coroutine foo(int n) {
co_return;
}
```
When we parse `foo`, the FirstVLALoc is still valid, then the compiler
will report `vla in coroutine` error in bar, which is super odd. After
this patch, we can fix this.
Commit: c01ce797619359ee282773dfc4b1e91ff0a30435
https://github.com/llvm/llvm-project/commit/c01ce797619359ee282773dfc4b1e91ff0a30435
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M mlir/lib/Transforms/Utils/DialectConversion.cpp
Log Message:
-----------
[mlir][Transforms][NFC] Dialect Conversion: Move argument materialization logic (#96329)
This commit moves the argument materialization logic from
`legalizeConvertedArgumentTypes` to
`legalizeUnresolvedMaterializations`.
Before this change:
- Argument materializations were created in
`legalizeConvertedArgumentTypes` (which used to call
`materializeLiveConversions`).
After this change:
- `legalizeConvertedArgumentTypes` creates a "placeholder"
`unrealized_conversion_cast`.
- The placeholder `unrealized_conversion_cast` is replaced with an
argument materialization (using the type converter) in
`legalizeUnresolvedMaterializations`.
- All argument and target materializations now take place in the same
location (`legalizeUnresolvedMaterializations`).
This commit brings us closer towards creating all source/target/argument
materializations in one central step, which can then be made optional
(and delegated to the user) in the future. (There is one more source
materialization step that has not been moved yet.)
This commit also consolidates all `build*UnresolvedMaterialization`
functions into a single `buildUnresolvedMaterialization` function.
Commit: a159b36724d9b7dc67702d742ffd63503f6a1417
https://github.com/llvm/llvm-project/commit/a159b36724d9b7dc67702d742ffd63503f6a1417
Author: McCowan Zhang <86526121+mccowanzhang at users.noreply.github.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/ControlFlow/IR/ControlFlowOps.td
M mlir/lib/Dialect/Bufferization/Transforms/OwnershipBasedBufferDeallocation.cpp
M mlir/lib/Dialect/ControlFlow/IR/ControlFlowOps.cpp
A mlir/test/Dialect/Bufferization/Transforms/OwnershipBasedBufferDeallocation/misc-other.mlir
M mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize.mlir
Log Message:
-----------
Bufferization with ControlFlow Asserts (#95868)
Fixed incorrect bufferization interaction with cf.assert
- reordered bufferization condition checking
- fixed hasNeitherAllocateNorFreeSideEffect checking bug
- implemented memory interface for cf.assert
---------
Co-authored-by: McCowan Zhang <mccowan.z at ssi.samsung.com>
Commit: 1822e3183d92e1bb9a742038e1dac3fb70b39028
https://github.com/llvm/llvm-project/commit/1822e3183d92e1bb9a742038e1dac3fb70b39028
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
A llvm/test/CodeGen/WebAssembly/target-features-attrs.ll
R llvm/test/CodeGen/WebAssembly/target-features.ll
Log Message:
-----------
[WebAssembly] Rename target-features.ll (#96716)
I'm planning on a PR that splits `target-features.ll` into two different
files and fix some other stuff on them:
- `target-features-attrs.ll` that tests target features by bitcode
function attributes and `-mattr=` options
- `target-features-cpus.ll` that tests target features by `-mcpu=`
options
But `target-features-attrs.ll` will share a bulk of the lines with the
current `target-features.ll`. And if I remove `target-features.ll` and
create the two new files in a single PR, git doesn't recognize either of
them as a copy (I hoped at least `target-features-attrs.ll` would be
recognized as a copy because it shares many lines with the current file)
So to make the diff smaller and easier to review, I'm renaming the file
first. I'll follow up with the PR that does the actual splitting.
Commit: 8426586f8709c771054ef5f84410fb9fcd83dbee
https://github.com/llvm/llvm-project/commit/8426586f8709c771054ef5f84410fb9fcd83dbee
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M compiler-rt/lib/profile/InstrProfilingFile.c
Log Message:
-----------
Revert "Reformat", due to wrong version of clang-format.
This reverts commit f4ce3448be9c47c61755197173a6a9e9b612dff8.
Commit: 20683de70e43fa73536ac1e8ce4082604048d040
https://github.com/llvm/llvm-project/commit/20683de70e43fa73536ac1e8ce4082604048d040
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/apx/adc.ll
M llvm/test/CodeGen/X86/apx/add.ll
M llvm/test/CodeGen/X86/apx/and.ll
M llvm/test/CodeGen/X86/apx/ctest.ll
M llvm/test/CodeGen/X86/apx/dec.ll
M llvm/test/CodeGen/X86/apx/inc.ll
M llvm/test/CodeGen/X86/apx/neg.ll
M llvm/test/CodeGen/X86/apx/not.ll
M llvm/test/CodeGen/X86/apx/or.ll
M llvm/test/CodeGen/X86/apx/sar.ll
M llvm/test/CodeGen/X86/apx/sbb.ll
M llvm/test/CodeGen/X86/apx/shl.ll
M llvm/test/CodeGen/X86/apx/shr.ll
M llvm/test/CodeGen/X86/apx/sub.ll
M llvm/test/CodeGen/X86/apx/xor.ll
M llvm/test/CodeGen/X86/popcnt.ll
Log Message:
-----------
[X86][CodeGen] Not promote some binary ops from i16 to i32 if we have NDD variant
Commit: eaae63d8e1430179f94c3bf8e2025067c3ff5975
https://github.com/llvm/llvm-project/commit/eaae63d8e1430179f94c3bf8e2025067c3ff5975
Author: Hui <hui.xie1990 at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M libcxx/docs/Status/Cxx20Issues.csv
M libcxx/include/__memory/shared_ptr.h
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter_allocator.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_allocator.pass.cpp
A libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/types.h
Log Message:
-----------
"[libc++] Try again LWG3233 Broken requirements for shared_ptr converting constructors" (#96103)
Try it again. Use the approach suggested by Tim in the LWG thread :
using function default argument SFINAE
- Revert "[libc++] Revert LWG3233 Broken requirements for shared_ptr
converting constructors (#93071)"
- Revert "[libc++] Revert temporary attempt to implement LWG 4110
(#95263)"
- test for default_delete
- Revert "Revert "[libc++] Revert temporary attempt to implement LWG
4110 (#95263)""
- test for NULL
Commit: 569faa4dc04cf6849057e56ef07b56ad27f6ef9e
https://github.com/llvm/llvm-project/commit/569faa4dc04cf6849057e56ef07b56ad27f6ef9e
Author: Richard Smith <richard at metafoo.co.uk>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/docs/LanguageExtensions.rst
Log Message:
-----------
Add documentation for `__builtin_object_size`. (#96573)
Explicitly describe how the Clang builtin works, given that it's not
exactly the same as GCC's builtin of the same name -- but is drop-in
compatible.
Fixes #95635.
Commit: 28a3fbbe8c6cd5b92fb0a2a3cc21a836a381e086
https://github.com/llvm/llvm-project/commit/28a3fbbe8c6cd5b92fb0a2a3cc21a836a381e086
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/apx/compress-evex.mir
Log Message:
-----------
[X86][test] Pre-commit test for disabling NDD2NonNDD transform for 8/16-bit ops
Commit: 6c4c44b50ba3a08106b37fd5a739c387fef0b961
https://github.com/llvm/llvm-project/commit/6c4c44b50ba3a08106b37fd5a739c387fef0b961
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/SetOperations.h
M llvm/unittests/ADT/SetOperationsTest.cpp
Log Message:
-----------
[SetOperations] Support set containers with remove_if (#96613)
The current set_intersect implementation only works for std::set style
sets that have a value-erase method that does not invalidate iterators.
As such, it cannot be used for set containers like SetVector, which only
has iterator-invalidating erase.
Support such set containers by calling the remove_if method instead, if
it exists. The detection code is adopted from how contains() is detected
inside llvm::is_contained().
Commit: 515e048e36d9036506b0a9ea34aa20c2f65c25a7
https://github.com/llvm/llvm-project/commit/515e048e36d9036506b0a9ea34aa20c2f65c25a7
Author: AtariDreams <gfunni234 at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
Log Message:
-----------
[InstCombine] Simplify commutative matchers (NFC) (#96665)
Commit: dbd0c031366a1373db6dbe42186351568f526e56
https://github.com/llvm/llvm-project/commit/dbd0c031366a1373db6dbe42186351568f526e56
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/MC/MCDwarf.cpp
Log Message:
-----------
[MC][DWARF][NFC] Drop CIEKey map (#96075)
We already sort frames by their CIEKey, so we know that we only need to
update the CIE symbol when the CIE key changes. No need for a DenseMap.
Commit: 54cb5ca9f48fc542b920662a0eee7c0e6f35bee0
https://github.com/llvm/llvm-project/commit/54cb5ca9f48fc542b920662a0eee7c0e6f35bee0
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M libcxx/include/__utility/pair.h
Log Message:
-----------
[libc++][NFC] Simplify pair a bit (#96165)
Commit: be00190ce35807c8586ee4e2e61507fc0221e825
https://github.com/llvm/llvm-project/commit/be00190ce35807c8586ee4e2e61507fc0221e825
Author: Haohai Wen <haohai.wen at intel.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstrInfo.cpp
Log Message:
-----------
[TII][X86] Do not schedule frame-setup/frame-destory instructions (#96611)
frame-setup/frame-destroy instruction can not be scheduled around by
PostRAScheduler. Their order is critical for SEH.
Commit: 1dbc2aad68f29f9d6306f6329610e1eca8afb3fe
https://github.com/llvm/llvm-project/commit/1dbc2aad68f29f9d6306f6329610e1eca8afb3fe
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Passes/PassBuilder.cpp
M llvm/test/tools/llc/new-pm/pipeline.mir
Log Message:
-----------
[PassBuilder] Parse machine function analyses inside require/invalidate (#96634)
Now we have several machine function analyses but forgot to support them
in `parseMachinePass`.
Commit: 8681bb8bedf065abe34a4523fb58287fc05f7907
https://github.com/llvm/llvm-project/commit/8681bb8bedf065abe34a4523fb58287fc05f7907
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/AArch64/conditional-branches-cost.ll
A llvm/test/Transforms/LoopVectorize/RISCV/vf-will-not-generate-any-vector-insts.ll
A llvm/test/Transforms/LoopVectorize/WebAssembly/induction-branch-cost.ll
A llvm/test/Transforms/LoopVectorize/WebAssembly/lit.local.cfg
M llvm/test/Transforms/LoopVectorize/X86/cost-model.ll
M llvm/test/Transforms/LoopVectorize/X86/optsize.ll
Log Message:
-----------
[LV] Add additional test coverage for cost modeling.
Add missing tests uncovered by
https://github.com/llvm/llvm-project/pull/92555.
Includes test for https://github.com/llvm/llvm-project/issues/96294 and
https://github.com/llvm/llvm-project/issues/96328
Commit: 5b4000dc58572d08754f0b2199c2046871ec8507
https://github.com/llvm/llvm-project/commit/5b4000dc58572d08754f0b2199c2046871ec8507
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/VectorUtils.h
M llvm/lib/Analysis/VectorUtils.cpp
M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
Log Message:
-----------
[VectorUtils] Add llvm::scaleShuffleMaskElts wrapper for narrowShuffleMaskElts/widenShuffleMaskElts, NFC. (#96646)
Using the target number of vector elements, scaleShuffleMaskElts will try to use narrowShuffleMaskElts/widenShuffleMaskElts to scale the shuffle mask accordingly.
Working on #58895 I didn't want to create yet another case where we have to handle both re-scaling cases.
Commit: 90e4eb8a479dbef4f98f7d8ccd2de5494c6366c7
https://github.com/llvm/llvm-project/commit/90e4eb8a479dbef4f98f7d8ccd2de5494c6366c7
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Interp.cpp
Log Message:
-----------
[clang][Interp][NFC] Add more source ranges to diagnostics
Commit: f782ff8fc6426890863be0791a9ace2394da3887
https://github.com/llvm/llvm-project/commit/f782ff8fc6426890863be0791a9ace2394da3887
Author: Benji Smith <6193112+Benjins at users.noreply.github.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/docs/ReleaseNotes.rst
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:
-----------
[C API] Add getters for Target Extension Types to C API (#96447)
Accessors for the name, type parameters, and integer parameters are
added. A test is added to echo.ll
This was originally done in
https://github.com/llvm/llvm-project/pull/71291 but that has been stale
for several months. This re-applies the changes, but with some tweaks.
e.g. removing the bulk getters in favour of a simple get-by-index
approach for the type/integer parameters. The latter is more in line
with the rest of the API
Commit: 16f349251fabacfdba4acac3b25baf0e6890c1a0
https://github.com/llvm/llvm-project/commit/16f349251fabacfdba4acac3b25baf0e6890c1a0
Author: Hui <hui.xie1990 at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M libcxx/include/__expected/expected.h
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.copy.pass.cpp
Log Message:
-----------
[libc++] restrict the expected conversion constructor not compete against copy constructor (#96101)
fixes #92676
So right now clang does not like
```
std::expected<std::any, int> e1;
auto e2 = e1;
```
So basically when clang tries to do overload resolution of `auto e2 =
e1;`
It finds
```
expected(const expected&); // 1. This is OK
expected(const expected<_Up, _OtherErr>&) requires __can_convert; // 2. This needs to check its constraints
```
Then in `__can_convert`, one of the check is
```
_Not<is_constructible<_Tp, expected<_Up, _OtherErr>&>>
```
which is checking
```
is_constructible<std::any, expected<_Up, _OtherErr>&>
```
Then it looks at `std::any`'s constructor
```
template < class _ValueType,
class _Tp = decay_t<_ValueType>,
class = enable_if_t< !is_same<_Tp, any>::value && !__is_inplace_type<_ValueType>::value &&
is_copy_constructible<_Tp>::value> >
any(_ValueType&& __value);
```
In the above, `is_copy_constructible<_Tp>` expands to
```
is_copy_constructible<std::expected<std::any, int>>
```
And the above goes back to the original thing we asked : copy the
`std::expected`, which goes to the overload resolution again.
```
expected(const expected&);
expected(const expected<_Up, _OtherErr>&) requires __can_convert;
```
So the second overload results in a logical cycle.
I am not a language lawyer. We could argue that clang should give up on
the second overload which has logical cycle, as the first overload is a
perfect match.
Anyway, the fix in this patch tries to short-circuiting the second
overload's constraint check: that is, if the argument matches exact same
`expected<T, E>`, we give up immediately and let the copy constructor to
deal with it
Commit: cca4f549bddd28742f370571296b46054c98d27b
https://github.com/llvm/llvm-project/commit/cca4f549bddd28742f370571296b46054c98d27b
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
Log Message:
-----------
[InstCombine][X86] Avoid repeated getType() calls when folding blendv->select. NFC.
Cleanup prep work for #58895
Commit: c9fc960650223ffb89c93d21d0d4c59648ee1c13
https://github.com/llvm/llvm-project/commit/c9fc960650223ffb89c93d21d0d4c59648ee1c13
Author: CarolineConcatto <caroline.concatto at arm.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/include/clang/Basic/arm_sme.td
A clang/test/CodeGen/aarch64-sme2p1-intrinsics/acle_sme2p1_movaz.c
M llvm/include/llvm/IR/IntrinsicsAArch64.td
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/lib/Target/AArch64/SMEInstrFormats.td
A llvm/test/CodeGen/AArch64/sme2p1-intrinsics-movaz.ll
Log Message:
-----------
[CLANG][LLVM][AArch64]SME2.1 intrinsics for MOVAZ tile to 2/4 vectors (#88710)
According to the specification in
ARM-software/acle#309 this adds the intrinsics
// Variants are also available for _za8_u8, _za16_s16, _za16_u16, //
_za16_f16, _za16_bf16, _za32_s32, _za32_u32, _za32_f32, // _za64_s64,
_za64_u64 and _za64_f64
svint8x2_t svreadz_hor_za8_s8_vg2(uint64_t tile, uint32_t slice)
__arm_streaming __arm_inout("za");
// Variants are also available for _za8_u8, _za16_s16, _za16_u16, //
_za16_f16, _za16_bf16, _za32_s32, _za32_u32, _za32_f32, // _za64_s64,
_za64_u64 and _za64_f64
svint8x4_t svreadz_hor_za8_s8_vg4(uint64_t tile, uint32_t slice)
__arm_streaming __arm_inout("za");
// Variants are also available for _za8_u8, _za16_s16, _za16_u16, //
_za16_f16, _za16_bf16, _za32_s32, _za32_u32, _za32_f32, // _za64_s64,
_za64_u64 and _za64_f64
svint8x2_t svreadz_ver_za8_s8_vg2(uint64_t tile, uint32_t slice)
__arm_streaming __arm_inout("za");
// Variants are also available for _za8_u8, _za16_s16, _za16_u16, //
_za16_f16, _za16_bf16, _za32_s32, _za32_u32, _za32_f32, // _za64_s64,
_za64_u64 and _za64_f64
svint8x4_t svreadz_ver_za8_s8_vg4(uint64_t tile, uint32_t slice)
__arm_streaming __arm_inout("za");
Commit: 847d046a82a760caa1b05206d77ed0b3d7bd4be6
https://github.com/llvm/llvm-project/commit/847d046a82a760caa1b05206d77ed0b3d7bd4be6
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Pointer.h
M clang/test/AST/Interp/arrays.cpp
Log Message:
-----------
[clang][Interp] Fix comparing one-past-the-end pointers
Commit: d6f906eadbf7a5c2eb484f62740bf3e6a650bc92
https://github.com/llvm/llvm-project/commit/d6f906eadbf7a5c2eb484f62740bf3e6a650bc92
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SlotIndexes.h
M llvm/lib/CodeGen/SlotIndexes.cpp
M llvm/unittests/CodeGen/MLRegAllocDevelopmentFeatures.cpp
Log Message:
-----------
[SlotIndexes] Use simple_ilist instead of ilist. NFC. (#96747)
simple_ilist does not take ownership of its nodes, which is fine for
SlotIndexes because the IndexListEntry nodes are allocated with a
BumpPtrAllocator and do not need to be freed.
Commit: 86860be2886283210083e5e3f20048e559cc059e
https://github.com/llvm/llvm-project/commit/86860be2886283210083e5e3f20048e559cc059e
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M libc/src/stdlib/CMakeLists.txt
M libc/src/stdlib/rand.cpp
M libc/src/stdlib/rand_util.cpp
M libc/src/stdlib/rand_util.h
M libc/src/stdlib/srand.cpp
M libc/test/src/stdlib/rand_test.cpp
Log Message:
-----------
[libc] Make 'rand()' thread-safe using atomics instead of TLS (#96692)
Summary:
Currently, we implement the `rand` function using thread-local storage.
This is somewhat problematic because not every target supports TLS, and
even more do not support non-zero initializers on TLS.
The C standard states that the `rand()` function need not be thread,
safe. However, many implementations provide thread-safety anyway.
There's some confusing language in the 'rationale' section of
https://pubs.opengroup.org/onlinepubs/9699919799/functions/rand.html,
but given that `glibc` uses a lock, I think we should make this thread
safe as well. it mentions that threaded behavior is desirable and can be
done in the two ways:
1. A single per-process sequence of pseudo-random numbers that is shared
by all threads that call rand()
2. A different sequence of pseudo-random numbers for each thread that
calls rand()
The current implementation is (2.) and this patch moves it to (1.). This
is beneficial for the GPU case and more generic support. The downside is
that it's slightly slower to do these atomic operations, the fast path
will be two atomic reads and an atomic write.
Commit: 317f782ef2366950e6cdc0de9d35df7fcc15ec5d
https://github.com/llvm/llvm-project/commit/317f782ef2366950e6cdc0de9d35df7fcc15ec5d
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/SmallPtrSet.h
M llvm/unittests/ADT/SmallPtrSetTest.cpp
Log Message:
-----------
[ADT] Return bool from SmallPtrSet::remove_if()
Return whether anything was removed. This matches the API of
SetVector::remove_if() and is convenient for some future uses.
Commit: 92715cf43b18d497cd034bdc7787b3a8eeb2edc5
https://github.com/llvm/llvm-project/commit/92715cf43b18d497cd034bdc7787b3a8eeb2edc5
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/test/CodeGen/X86/avg.ll
M llvm/test/CodeGen/X86/avgceils-scalar.ll
M llvm/test/CodeGen/X86/avgceilu-scalar.ll
M llvm/test/CodeGen/X86/avgfloors-scalar.ll
M llvm/test/CodeGen/X86/avgflooru-scalar.ll
Log Message:
-----------
[DAG] expandAVG - attempt to extend to a wider integer type for the add/shift to avoid overflow handling (#95788)
Commit: 6f582b7ed3dcd220a2154b617d6469c142805d7c
https://github.com/llvm/llvm-project/commit/6f582b7ed3dcd220a2154b617d6469c142805d7c
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP][NFC]Remove extra check for VU.
Commit: 4c9b71dd9171164efbb99de5e75d4fcadf0e21b5
https://github.com/llvm/llvm-project/commit/4c9b71dd9171164efbb99de5e75d4fcadf0e21b5
Author: Serge Pavlov <sepavloff at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/ARM/ARMLegalizerInfo.cpp
M llvm/lib/Target/ARM/ARMRegisterBankInfo.cpp
M llvm/test/CodeGen/ARM/GlobalISel/fpenv.ll
Log Message:
-----------
[GlobalISel][ARM] Legalze set_fpmode and get_fpmode (#96467)
Implement handling of get/set floating point control modes for ARM in
Global Instruction Selector.
Commit: b6a94b6bfb2cbcfcb64c354d3ab876ec52bfcd14
https://github.com/llvm/llvm-project/commit/b6a94b6bfb2cbcfcb64c354d3ab876ec52bfcd14
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
Log Message:
-----------
[OMPIRBuilder] Use SmallPtrSet::remove_if() (NFC)
Commit: 519dbc6b996d6121e95cc14865d7e0fa6496bb12
https://github.com/llvm/llvm-project/commit/519dbc6b996d6121e95cc14865d7e0fa6496bb12
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp
Log Message:
-----------
[WasmExceptionInfo] Use SmallPtrSet::remove_if() (NFC)
Commit: 177cbd16663a2ca36d0d7145c3b62f2d756f8f7f
https://github.com/llvm/llvm-project/commit/177cbd16663a2ca36d0d7145c3b62f2d756f8f7f
Author: Caroline Concatto <caroline.concatto at arm.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/test/CodeGen/aarch64-sme2p1-intrinsics/acle_sme2p1_movaz.c
Log Message:
-----------
[Clang][SME2.1] Add REQUIRES: aarch64-registered-target to test
PR#88710 is failing because the test file needs
REQUIRES: aarch64-registered-target
Commit: d42b392696fbd9d612ac22ff82b4a1760fc26d89
https://github.com/llvm/llvm-project/commit/d42b392696fbd9d612ac22ff82b4a1760fc26d89
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/VectorUtils.h
M llvm/lib/Analysis/VectorUtils.cpp
Log Message:
-----------
[VectorUtils] Use SmallPtrSet::remove_if() (NFC)
Commit: 6f8efc76c9b9d1fc02f043cb908a8aa655290a61
https://github.com/llvm/llvm-project/commit/6f8efc76c9b9d1fc02f043cb908a8aa655290a61
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/test/Transforms/PhaseOrdering/X86/pr67803.ll
Log Message:
-----------
[PhaseOrdering][X86] Regenerate pr67803.ll
Commit: dfe80a73223edff5c53f8be7925d302883cb40bc
https://github.com/llvm/llvm-project/commit/dfe80a73223edff5c53f8be7925d302883cb40bc
Author: martinboehme <mboehme at google.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/include/clang/Analysis/FlowSensitive/ASTOps.h
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
[clang][dataflow] Teach `AnalysisASTVisitor` that `typeid()` can be evaluated. (#96731)
We were previously treating the operand of `typeid()` as being
definitely
unevaluated, but it can be evaluated if it is a glvalue of polymorphic
type.
This patch includes a test that fails without the fix.
Commit: 85f47fdd039549ed7e89b53ca34b0b35456ffe3d
https://github.com/llvm/llvm-project/commit/85f47fdd039549ed7e89b53ca34b0b35456ffe3d
Author: martinboehme <mboehme at google.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
[clang][nullability] Improve modeling of `++`/`--` operators. (#96601)
We definitely know that these operations change the value of their
operand, so
clear out any value associated with it. We don't create a new value,
instead
leaving it to the analysis to do this if desired.
Commit: e24a21291ac35a0660ec7cf19d4c36019ee7437e
https://github.com/llvm/llvm-project/commit/e24a21291ac35a0660ec7cf19d4c36019ee7437e
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/include/clang/Parse/Parser.h
M clang/lib/Parse/ParseOpenMP.cpp
Log Message:
-----------
[clang][OpenMP] Shorten directive classification in ParseOpenMP (#94691)
Use directive categories to simplify long lists of `case` statements in
the OpenMP parser. This is a step towards avoiding dependence on
explicitly specified sets of directives that can be expressed more
generically.
The upcoming OpenMP 6.0 will introduce many new combined directives, and
the more generically we handle directives, the easier the introduction
of the new standard will be.
---------
Co-authored-by: Alexey Bataev <a.bataev at outlook.com>
Commit: 352a836176b25abfdc26ddc5ddbd18288715a794
https://github.com/llvm/llvm-project/commit/352a836176b25abfdc26ddc5ddbd18288715a794
Author: David Green <david.green at arm.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
A llvm/test/Transforms/InstCombine/canonicalize-gep-mul.ll
M llvm/test/Transforms/InstCombine/getelementptr.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-gather-scatter.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-interleaved-accesses.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-widen-phi.ll
M llvm/test/Transforms/LoopVectorize/AArch64/uniform-args-call-variants.ll
M llvm/test/Transforms/LoopVectorize/SystemZ/addressing.ll
M llvm/test/Transforms/LoopVectorize/X86/interleaving.ll
M llvm/test/Transforms/LoopVectorize/induction.ll
M llvm/test/Transforms/LoopVectorize/interleaved-accesses.ll
M llvm/test/Transforms/LoopVectorize/scalable-inductions.ll
M llvm/test/Transforms/LoopVectorize/scalable-loop-unpredicated-body-scalar-tail.ll
M llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-loops.ll
Log Message:
-----------
[InstCombine] Canonicalize non-i8 gep of mul to i8 (#96606)
This is a small canonicalization for `gep i32, p, (mul x, C)` -> `gep
i8, p, (mul x, C*4)`, so that the mul can combine both of the constant
multiplications, and we take a small step towards canonicalizing more
geps to i8.
It currently doesn't attempt to check for multiple uses on the mul, but
that should be possible if it sounds better. Let me know what you think
of the idea in general.
Commit: b6240c371522c701be8a7a143aa166d277508cbe
https://github.com/llvm/llvm-project/commit/b6240c371522c701be8a7a143aa166d277508cbe
Author: Lucas Duarte Prates <lucas.prates at arm.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/include/clang/Frontend/FrontendOptions.h
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChain.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/CodeGen/aarch64-targetattr.c
M clang/test/Driver/aarch64-fp16.c
M clang/test/Driver/aarch64-sve2.c
M clang/test/Driver/aarch64-v81a.c
M clang/test/Driver/aarch64-v82a.c
M clang/test/Driver/aarch64-v83a.c
M clang/test/Driver/aarch64-v84a.c
M clang/test/Driver/aarch64-v85a.c
M clang/test/Driver/aarch64-v86a.c
M clang/test/Driver/aarch64-v87a.c
M clang/test/Driver/aarch64-v88a.c
M clang/test/Driver/aarch64-v89a.c
A clang/test/Driver/aarch64-v8a.c
M clang/test/Driver/aarch64-v91a.c
M clang/test/Driver/aarch64-v92a.c
M clang/test/Driver/aarch64-v93a.c
M clang/test/Driver/aarch64-v94a.c
M clang/test/Driver/aarch64-v95a.c
A clang/test/Driver/aarch64-v9a.c
M clang/test/Driver/print-supported-extensions.c
M clang/test/Preprocessor/aarch64-target-features.c
M clang/tools/driver/cc1_main.cpp
M flang/test/Driver/target-cpu-features.f90
M llvm/include/llvm/MC/MCSubtargetInfo.h
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/MC/MCSubtargetInfo.cpp
M llvm/lib/Target/AArch64/AArch64Features.td
M llvm/lib/TargetParser/AArch64TargetParser.cpp
M llvm/unittests/TargetParser/TargetParserTest.cpp
M llvm/utils/TableGen/ARMTargetDefEmitter.cpp
Log Message:
-----------
[AArch64] Add ability to list extensions enabled for a target (#95805)
This introduces the new `--print-enabled-extensions` command line option
to AArch64, which prints the list of extensions that are enabled for the
target specified by the combination of `--target`/`-march`/`-mcpu`
values.
The goal of the this option is both to enable the manual inspection of
the enabled extensions by users and to enhance the testability of
architecture versions and CPU targets implemented in the compiler.
As part of this change, a new field for `FEAT_*` architecture feature
names was added to the TableGen entries. The output of the existing
`--print-supported-extensions` option was updated accordingly to show
these in a separate column.
Commit: 00ae6bb6c27b5ca89fb22dff99a34d6b45e3e0b0
https://github.com/llvm/llvm-project/commit/00ae6bb6c27b5ca89fb22dff99a34d6b45e3e0b0
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/test/CodeGen/ARM/constant-islands-split-IT.mir
Log Message:
-----------
[ARM] Regenerate MIR test (NFC)
Commit: 6e96e5ab8a0e40fba0302a5c32574be41ef57354
https://github.com/llvm/llvm-project/commit/6e96e5ab8a0e40fba0302a5c32574be41ef57354
Author: martinboehme <mboehme at google.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/include/clang/Analysis/FlowSensitive/ASTOps.h
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
Revert "[clang][dataflow] Teach `AnalysisASTVisitor` that `typeid()` can be evaluated." (#96766)
Reverts llvm/llvm-project#96731
It causes CI failures.
Commit: e5e0d8739d4a2b70d7ad317863d7b168e4895b18
https://github.com/llvm/llvm-project/commit/e5e0d8739d4a2b70d7ad317863d7b168e4895b18
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
Log Message:
-----------
[clang][Interp] Implement CXXStdInitializerListExprs
Commit: 161e1689ba98fabba71cac21f536708c78e9d7b0
https://github.com/llvm/llvm-project/commit/161e1689ba98fabba71cac21f536708c78e9d7b0
Author: Fred Grim <fgrim at apple.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M lld/test/ELF/as-needed-no-reloc.s
M lld/test/ELF/as-needed.s
M lld/test/ELF/auxiliary.s
M lld/test/ELF/dynamic-reloc.s
M lld/test/ELF/filter.s
M lld/test/ELF/gc-sections-shared.s
M lld/test/ELF/no-soname.s
M lld/test/ELF/partition-synthetic-sections.s
M lld/test/ELF/push-state.s
M lld/test/ELF/shared-ppc64.s
M lld/test/ELF/shared.s
M lld/test/ELF/soname.s
M lld/test/ELF/soname2.s
M lld/test/ELF/wrap-drop-shared-original.s
M llvm/test/tools/llvm-ifs/write-stub.test
M llvm/test/tools/llvm-readobj/ELF/dynamic-malformed.test
M llvm/test/tools/llvm-readobj/ELF/dynamic-tags.test
M llvm/test/tools/llvm-readobj/ELF/loadname.test
M llvm/tools/llvm-readobj/ELFDumper.cpp
Log Message:
-----------
[llvm-readobj][ELF] Test multivalued rpath entries and alter the output for readobj to emphasize the single valued nature of NEEDED, SONAME, USED etc. (#96562)
In the context of #95976 it became clear that the output for readobj
implied multi valued entries in several cases in the elf headers that
the documentation only allowed for a single value. DT_NEEDED is the
example here where the value is an offset into the string table without
any sort of separator that could give you multiple entries. This patch
alters the LLVM output so that the single valued nature is emphasized.
For example the output was:
```
DynamicSection [ (35 entries)
Tag Type Name/Value
0x000000000000001D RUNPATH Library runpath: [$ORIGIN/../lib:]
0x0000000000000001 NEEDED Shared library: [libm.so.6]
0x0000000000000001 NEEDED Shared library: [libz.so.1]
0x0000000000000001 NEEDED Shared library: [libzstd.so.1]
```
and is now
```
Tag Type Name/Value
0x000000000000001D RUNPATH Library runpath: [$ORIGIN/../lib:]
0x0000000000000001 NEEDED Shared library: libm.so.6
0x0000000000000001 NEEDED Shared library: libz.so.1
0x0000000000000001 NEEDED Shared library: libzstd.so.1
```
This pr also tests that multi-valued rpaths are handled correctly in the
JSON case (i.e. they become proper lists) like:
```
{
"Tag": 15,
"Type": "RPATH",
"Value": 9,
"Path": [
"x",
"w",
"U"
]
},
```
when separated by :
Commit: b579aacc30bc02e8430c0b59af644f52ece71160
https://github.com/llvm/llvm-project/commit/b579aacc30bc02e8430c0b59af644f52ece71160
Author: Lucas Duarte Prates <lucas.prates at arm.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/include/clang/Frontend/FrontendOptions.h
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChain.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/CodeGen/aarch64-targetattr.c
M clang/test/Driver/aarch64-fp16.c
M clang/test/Driver/aarch64-sve2.c
M clang/test/Driver/aarch64-v81a.c
M clang/test/Driver/aarch64-v82a.c
M clang/test/Driver/aarch64-v83a.c
M clang/test/Driver/aarch64-v84a.c
M clang/test/Driver/aarch64-v85a.c
M clang/test/Driver/aarch64-v86a.c
M clang/test/Driver/aarch64-v87a.c
M clang/test/Driver/aarch64-v88a.c
M clang/test/Driver/aarch64-v89a.c
R clang/test/Driver/aarch64-v8a.c
M clang/test/Driver/aarch64-v91a.c
M clang/test/Driver/aarch64-v92a.c
M clang/test/Driver/aarch64-v93a.c
M clang/test/Driver/aarch64-v94a.c
M clang/test/Driver/aarch64-v95a.c
R clang/test/Driver/aarch64-v9a.c
M clang/test/Driver/print-supported-extensions.c
M clang/test/Preprocessor/aarch64-target-features.c
M clang/tools/driver/cc1_main.cpp
M flang/test/Driver/target-cpu-features.f90
M llvm/include/llvm/MC/MCSubtargetInfo.h
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/MC/MCSubtargetInfo.cpp
M llvm/lib/Target/AArch64/AArch64Features.td
M llvm/lib/TargetParser/AArch64TargetParser.cpp
M llvm/unittests/TargetParser/TargetParserTest.cpp
M llvm/utils/TableGen/ARMTargetDefEmitter.cpp
Log Message:
-----------
Revert "[AArch64] Add ability to list extensions enabled for a target" (#96768)
Reverts llvm/llvm-project#95805 due to test failures caught by the
buildbots.
Commit: dead8f845f2549db5dec16b59b80d3e321948674
https://github.com/llvm/llvm-project/commit/dead8f845f2549db5dec16b59b80d3e321948674
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Pointer.h
M clang/test/AST/Interp/arrays.cpp
Log Message:
-----------
[clang][Interp] Pointers into unknown-size arrays are never one-past-end
Commit: 019f525716348578802b02961c328b43f7cad0fb
https://github.com/llvm/llvm-project/commit/019f525716348578802b02961c328b43f7cad0fb
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/misc/UseInternalLinkageCheck.cpp
M clang-tools-extra/clang-tidy/misc/UseInternalLinkageCheck.h
M clang-tools-extra/docs/clang-tidy/checks/misc/use-internal-linkage.rst
A clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-fix-mode-none.cpp
M clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-func.cpp
M clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-var.cpp
Log Message:
-----------
[clang-tidy] add fixhint for misc-use-internal-linkage (#96203)
Commit: fd35a92300a00edaf56ae94176317390677569a4
https://github.com/llvm/llvm-project/commit/fd35a92300a00edaf56ae94176317390677569a4
Author: Eisuke Kawashima <e.kawaschima+github at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M lldb/examples/python/crashlog.py
M lldb/examples/python/disasm-stress-test.py
M lldb/examples/summaries/cocoa/CFString.py
M lldb/examples/summaries/pysummary.py
M lldb/examples/synthetic/bitfield/example.py
M lldb/packages/Python/lldbsuite/test/lldbtest.py
M lldb/test/API/commands/command/script/welcome.py
M lldb/test/API/commands/expression/call-throws/TestCallThatThrows.py
M lldb/test/API/functionalities/disassemble/aarch64-adrp-add/TestAArch64AdrpAdd.py
M lldb/test/API/functionalities/gdb_remote_client/TestNoWatchpointSupportInfo.py
M lldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py
M lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
Log Message:
-----------
[lldb] fix(lldb/**.py): fix comparison to True/False (#94039)
from PEP8
(https://peps.python.org/pep-0008/#programming-recommendations):
> Comparisons to singletons like None should always be done with is or
is not, never the equality operators.
Co-authored-by: Eisuke Kawashima <e-kwsm at users.noreply.github.com>
Commit: 586114510c5fa71d1377c7f53e68a3b12c472aa2
https://github.com/llvm/llvm-project/commit/586114510c5fa71d1377c7f53e68a3b12c472aa2
Author: Eisuke Kawashima <e.kawaschima+github at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M lldb/bindings/interface/SBBreakpointDocstrings.i
M lldb/bindings/interface/SBDataExtensions.i
M lldb/docs/use/python.rst
M lldb/examples/python/armv7_cortex_m_target_defintion.py
M lldb/packages/Python/lldbsuite/test/dotest.py
M lldb/packages/Python/lldbsuite/test/lldbtest.py
M lldb/packages/Python/lldbsuite/test/lldbutil.py
M lldb/packages/Python/lldbsuite/test/tools/intelpt/intelpt_testcase.py
M lldb/test/API/functionalities/breakpoint/address_breakpoints/TestBadAddressBreakpoints.py
M lldb/test/API/functionalities/step_scripted/TestStepScripted.py
M lldb/test/API/functionalities/stop-on-sharedlibrary-load/TestStopOnSharedlibraryEvents.py
M lldb/test/API/lua_api/TestLuaAPI.py
M lldb/test/API/macosx/thread_suspend/TestInternalThreadSuspension.py
M lldb/test/API/python_api/event/TestEvents.py
M lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py
M lldb/test/API/python_api/type/TestTypeList.py
M lldb/test/API/python_api/was_interrupted/interruptible.py
M lldb/test/Shell/lit.cfg.py
Log Message:
-----------
[lldb] fix(lldb/**.py): fix comparison to None (#94017)
from PEP8
(https://peps.python.org/pep-0008/#programming-recommendations):
> Comparisons to singletons like None should always be done with is or
is not, never the equality operators.
Co-authored-by: Eisuke Kawashima <e-kwsm at users.noreply.github.com>
Commit: 3e1ebd77e4e9a772e4f06f12d19c64860fb1f070
https://github.com/llvm/llvm-project/commit/3e1ebd77e4e9a772e4f06f12d19c64860fb1f070
Author: darkbuck <michael.hliao at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
Log Message:
-----------
[GlobalISel] Add support for lowering byref attribute
Reviewers: nikic, spaits, arsenm
Reviewed By: arsenm
Pull Request: https://github.com/llvm/llvm-project/pull/96733
Commit: 30b93db5476e3ae2efdaba25fb53fcc3c081da77
https://github.com/llvm/llvm-project/commit/30b93db5476e3ae2efdaba25fb53fcc3c081da77
Author: Matthew Weingarten <matt at weingarten.org>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M compiler-rt/include/profile/MIBEntryDef.inc
M compiler-rt/include/profile/MemProfData.inc
M compiler-rt/lib/memprof/memprof_allocator.cpp
M compiler-rt/lib/memprof/memprof_flags.inc
M compiler-rt/lib/memprof/memprof_mapping.h
M compiler-rt/lib/memprof/memprof_mibmap.cpp
M compiler-rt/lib/memprof/memprof_rawprofile.cpp
M compiler-rt/lib/memprof/memprof_rtl.cpp
M compiler-rt/lib/memprof/tests/rawprofile.cpp
M llvm/include/llvm/ProfileData/MIBEntryDef.inc
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/include/llvm/ProfileData/MemProfData.inc
M llvm/include/llvm/ProfileData/MemProfReader.h
M llvm/lib/ProfileData/MemProfReader.cpp
M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
M llvm/test/Transforms/PGOProfile/Inputs/memprof.exe
M llvm/test/Transforms/PGOProfile/Inputs/memprof.memprofraw
M llvm/test/Transforms/PGOProfile/Inputs/memprof.nocolinfo.exe
M llvm/test/Transforms/PGOProfile/Inputs/memprof.nocolinfo.memprofraw
M llvm/test/Transforms/PGOProfile/Inputs/memprof_internal_linkage.exe
M llvm/test/Transforms/PGOProfile/Inputs/memprof_internal_linkage.memprofraw
M llvm/test/Transforms/PGOProfile/Inputs/memprof_loop_unroll.exe
M llvm/test/Transforms/PGOProfile/Inputs/memprof_loop_unroll.memprofraw
M llvm/test/Transforms/PGOProfile/Inputs/memprof_missing_leaf.exe
M llvm/test/Transforms/PGOProfile/Inputs/memprof_missing_leaf.memprofraw
M llvm/test/Transforms/PGOProfile/memprof_internal_linkage.ll
A llvm/test/tools/llvm-profdata/Inputs/basic-histogram.memprofexe
A llvm/test/tools/llvm-profdata/Inputs/basic-histogram.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/basic.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/basic.memprofraw
A llvm/test/tools/llvm-profdata/Inputs/basic_v3.memprofexe
A llvm/test/tools/llvm-profdata/Inputs/basic_v3.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/buildid.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/buildid.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/inline.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/inline.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/multi.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/multi.memprofraw
A llvm/test/tools/llvm-profdata/Inputs/padding-histogram.memprofexe
A llvm/test/tools/llvm-profdata/Inputs/padding-histogram.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/pic.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/pic.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/update_memprof_inputs.sh
A llvm/test/tools/llvm-profdata/memprof-basic-histogram.test
M llvm/test/tools/llvm-profdata/memprof-basic.test
A llvm/test/tools/llvm-profdata/memprof-basic_v3.test
M llvm/test/tools/llvm-profdata/memprof-inline.test
M llvm/test/tools/llvm-profdata/memprof-multi.test
A llvm/test/tools/llvm-profdata/memprof-padding-histogram.test
M llvm/test/tools/llvm-profdata/memprof-pic.test
M llvm/unittests/ProfileData/MemProfTest.cpp
Log Message:
-----------
[Memprof] Adds the option to collect AccessCountHistograms for memprof. (#94264)
Adds compile time flag -mllvm -memprof-histogram and runtime flag
histogram=true|false to turn Histogram collection on and off. The
-memprof-histogram flag relies on -memprof-use-callbacks=true to work.
Updates shadow mapping logic in histogram mode from having one 8 byte
counter for 64 bytes, to 1 byte for 8 bytes, capped at 255. Only
supports this granularity as of now.
Updates the RawMemprofReader and serializing MemoryInfoBlocks to binary
format, including changing to a new version of the raw binary format
from version 3 to version 4.
Updates creating MemoryInfoBlocks with and without Histograms. When two
MemoryInfoBlocks are merged, AccessCounts are summed up and the shorter
Histogram is removed.
Adds a memprof_histogram test case.
Initial commit for adding AccessCountHistograms up until RawProfile for
memprof
Commit: 17eaa23f7ecdfe79ad74552aaa260e6ce32432c2
https://github.com/llvm/llvm-project/commit/17eaa23f7ecdfe79ad74552aaa260e6ce32432c2
Author: Janek van Oirschot <janek.vanoirschot at amd.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.h
M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.h
M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
M llvm/lib/Target/AMDGPU/SIProgramInfo.cpp
M llvm/lib/Target/AMDGPU/SIProgramInfo.h
M llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch-init.ll
M llvm/test/MC/AMDGPU/hsa-sym-expr-failure.s
M llvm/test/MC/AMDGPU/hsa-sym-exprs-gfx10.s
M llvm/test/MC/AMDGPU/hsa-sym-exprs-gfx11.s
M llvm/test/MC/AMDGPU/hsa-sym-exprs-gfx12.s
M llvm/test/MC/AMDGPU/hsa-sym-exprs-gfx7.s
M llvm/test/MC/AMDGPU/hsa-sym-exprs-gfx8.s
M llvm/test/MC/AMDGPU/hsa-sym-exprs-gfx90a.s
M llvm/test/MC/AMDGPU/hsa-tg-split.s
M llvm/test/MC/AMDGPU/hsa-v4.s
M llvm/test/MC/AMDGPU/hsa-v5-uses-dynamic-stack.s
M llvm/unittests/MC/AMDGPU/CMakeLists.txt
R llvm/unittests/MC/AMDGPU/SIProgramInfoMCExprs.cpp
Log Message:
-----------
[AMDGPU] MCExpr-ify AMDGPU HSAMetadata (#94788)
Enables MCExpr for HSAMetadata, particularly, HSAMetadata's msgpack format.
Commit: b7762f2e64af34506447b56eea7bdbabd8568718
https://github.com/llvm/llvm-project/commit/b7762f2e64af34506447b56eea7bdbabd8568718
Author: Balazs Benics <benicsbalazs at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/CMakeLists.txt
Log Message:
-----------
Bump required minimal Z3 version from 4.7.1 to 4.8.9 (#96682)
https://discourse.llvm.org/t/bump-minimal-z3-requirements-from-4-7-1-to-4-8-9/79664
This supposed to unblock #95128 and #95129.
Commit: 2612765faf0e72cc57c6cce058305ddf241c3e3c
https://github.com/llvm/llvm-project/commit/2612765faf0e72cc57c6cce058305ddf241c3e3c
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
M llvm/test/CodeGen/NVPTX/combine-mad.ll
Log Message:
-----------
[NVPTX] Fold (add (select 0, (mul a, b)), c) -> (select c, (mad a, b, c)) (#96352)
Add folding for `(add (select cond, 0, (mul a, b)), c)` to `(select
cond, c, (mad a, b, c))`. Also, refactor the DAG folding implementation
to separate out the `ADD` and `FADD` folding cases.
Commit: 19183691f32c8cc6967322523f6fa338617929bd
https://github.com/llvm/llvm-project/commit/19183691f32c8cc6967322523f6fa338617929bd
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/is-fpclass-rv32.mir
M llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/is-fpclass-rv64.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-is-fpclass-rv32.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-is-fpclass-rv64.mir
M llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/is-fpclass-rv32.mir
M llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/is-fpclass-rv64.mir
Log Message:
-----------
[RISCV][GISel] Add missing fclass tests. NFC (#96694)
We were only testing f32 on rv32 and f64 on rv64. We need to test f32
and f64 on both rv32 and rv64.
Commit: d0527ab69765740c1747695bbfe72a3db1781b16
https://github.com/llvm/llvm-project/commit/d0527ab69765740c1747695bbfe72a3db1781b16
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M libc/src/stdlib/rand.cpp
M libc/src/stdlib/srand.cpp
Log Message:
-----------
[libc] Fix Fuscia builder failing on atomic warnings (#96791)
Summary:
This function uses atomics now, which emit warnings on some platforms
that don't support full lock-free atomics. These aren't specifically
wrong, and in the future we could investigate a libc configuration
specialized for single-threaded microprocessors, but for now we should
get the bot running again.
Commit: 637b7f805a2f22978fac75e75c52bd6d7c3e8161
https://github.com/llvm/llvm-project/commit/637b7f805a2f22978fac75e75c52bd6d7c3e8161
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M libcxx/include/__ranges/iota_view.h
A libcxx/test/std/ranges/range.factories/range.iota.view/assert.ctor.value.bound.pass.cpp
Log Message:
-----------
[libc++] Classify iota_view precondition (#96662)
Fixes #91385
Commit: e1015ae55d9ac729b0b0a41f4207241f8d4b2789
https://github.com/llvm/llvm-project/commit/e1015ae55d9ac729b0b0a41f4207241f8d4b2789
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M libc/docs/gpu/support.rst
M libc/src/stdlib/rand_util.cpp
Log Message:
-----------
[libc][docs] List `rand` and `srand` as supported on the GPU (#96757)
Summary:
I initially didn't report these as supported because they didn't provide
expected behavior and were very wasteful. The recent patch moved them to
a lock-free atomic implementation so they can now actually be used.
Commit: acd6cb85b3c410e88dbcc9e48733d0e1ac70eadc
https://github.com/llvm/llvm-project/commit/acd6cb85b3c410e88dbcc9e48733d0e1ac70eadc
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
M llvm/lib/Target/RISCV/GISel/RISCVRegisterBankInfo.cpp
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/fcmp-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/fcmp-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/is-fpclass-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/is-fpclass-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-fcmp-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-fcmp-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-is-fpclass-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-is-fpclass-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/fcmp-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/fcmp-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/is-fpclass-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/is-fpclass-f16-rv64.mir
Log Message:
-----------
[RISCV][GISel] Support fcmp and fclass for Zfh. (#96696)
Commit: 7c4fc9ccc058137877c99bad402a91d3ce640bbb
https://github.com/llvm/llvm-project/commit/7c4fc9ccc058137877c99bad402a91d3ce640bbb
Author: Xu Zhang <simonzgx at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M libc/src/__support/OSUtil/linux/fcntl.cpp
M libc/test/src/fcntl/CMakeLists.txt
M libc/test/src/fcntl/fcntl_test.cpp
Log Message:
-----------
[libc][fcntl] Simplify the handling of the return value from syscall … (#96325)
Fixes #95570
Commit: 581fd2fa573e39607ea164c0b4a8057baeb62c69
https://github.com/llvm/llvm-project/commit/581fd2fa573e39607ea164c0b4a8057baeb62c69
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/fptoi-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/fptoi-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/itofp-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/itofp-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-fptoi-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-fptoi-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-itofp-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-itofp-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/fptoi-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/fptoi-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/itofp-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/itofp-f16-rv64.mir
Log Message:
-----------
[RISCV][GISel] Support fptoi and itofp for Zfh. (#96707)
Commit: 0d9172ecaca2b0834e65343aa24d7cfa4f6d841d
https://github.com/llvm/llvm-project/commit/0d9172ecaca2b0834e65343aa24d7cfa4f6d841d
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
M llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
M llvm/test/CodeGen/SPIRV/const-nested-vecs.ll
M llvm/test/CodeGen/SPIRV/pointers/global-zeroinitializer.ll
A llvm/test/CodeGen/SPIRV/pointers/irtrans-added-int-const-32-64.ll
Log Message:
-----------
[SPIR-V] Improve pattern matching and tracking of constant integers (#96615)
This PR fixes the issue
https://github.com/llvm/llvm-project/issues/96614 by improve pattern
matching and tracking of constant integers. The attached test is
successful if it doesn't crash and generate valid SPIR-V code for both
32 and 64 bits targets.
Commit: bb50bc23983052e70a6140d39fcc775362b03fc3
https://github.com/llvm/llvm-project/commit/bb50bc23983052e70a6140d39fcc775362b03fc3
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/test/CodeGen/SPIRV/transcoding/OpGenericCastToPtr.ll
Log Message:
-----------
[SPIR-V] Fix support of OpGenericCastToPtr __spirv_ wrappers (#96655)
This PR completes implementation of insertion of OpGenericCastToPtr
using builtin functions started by
https://github.com/llvm/llvm-project/pull/95055 by:
* fixing errors in Tablegen definition,
* adding type inference info for `__spirv_GenericCastToPtrExplicit` kind
of wrappers, and
* hardening the test case to check correct translation of
`__spirv_GenericCastToPtrExplicit` kind of wrappers.
Commit: 378630b4d023e3de76a82ceb3b713f90cf308a7f
https://github.com/llvm/llvm-project/commit/378630b4d023e3de76a82ceb3b713f90cf308a7f
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
M llvm/test/CodeGen/SPIRV/extensions/SPV_EXT_shader_atomic_float_add/atomicrmw_faddfsub_float.ll
Log Message:
-----------
[SPIR-V] Support cl_ext_float_atomics and fix errors in definition of atomic_fetch_*_explicit builtins (#96767)
This PR:
* supports cl_ext_float_atomics by mapping atomic_fetch_add and
atomic_fetch_sub applied to float arguments to the corresponding
instructions from SPV_EXT_shader_atomic_float*_add, and
* fix errors in definition of atomic_fetch_*_explicit builtins by fixing
a valid number of arguments.
Commit: 8ab66775dc885f7a99ee5f53771ce555e42085f9
https://github.com/llvm/llvm-project/commit/8ab66775dc885f7a99ee5f53771ce555e42085f9
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
Log Message:
-----------
[RISCV] Add Zfh to typeIsScalarFPArith and simplify code. NFC
Now that we have Zfh supported and tested for every opcode that uses
typeIsScalarFPArith, we can fold Zfh into it.
Commit: 868fae1f2ecb54604231c1334ce9aa5b4c0b1288
https://github.com/llvm/llvm-project/commit/868fae1f2ecb54604231c1334ce9aa5b4c0b1288
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/fp-ext-trunc-f16.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-fp-ext-trunc-f16.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/fp-ext-trunc-f16.mir
Log Message:
-----------
[RISCV][GISel] Support G_FPEXT/FPTRUNC with ZFh.
Commit: 141bea8c3cad62b381aef3c216cf7f78b812f580
https://github.com/llvm/llvm-project/commit/141bea8c3cad62b381aef3c216cf7f78b812f580
Author: Damyan Pepper <damyanp at microsoft.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/DXContainerPSVInfo.h
M llvm/lib/Target/DirectX/DXContainerGlobals.cpp
A llvm/test/CodeGen/DirectX/ContainerData/PipelineStateValidation.ll
Log Message:
-----------
[DirectX] Add stub PSV0 section (#96712)
Direct3D requires a PSV0 section to be present in the DXContainer in
order to be able to load and use the shader.
This change adds a minimal stub PSV0, with some hard-coded values, that
are just enough to unblock loading into Direct3D.
Contributes to #90129
Commit: 0f24a462386409c1d907aefb9d8a58481cb71933
https://github.com/llvm/llvm-project/commit/0f24a462386409c1d907aefb9d8a58481cb71933
Author: Kyle Huey <khuey at kylehuey.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Support/CMakeLists.txt
Log Message:
-----------
[llvm-config] Make llvm-config --system-libs obey LLVM_USE_STATIC_ZSTD (#93754)
LLVM's build system does the right thing but LLVM_SYSTEM_LIBS ends up
containing the shared library. Emit the static library instead when
appropriate.
With LLVM_USE_STATIC_ZSTD, before:
khuey at zhadum:~/dev/llvm-project/build$ ./bin/llvm-config --system-libs
-lrt -ldl -lm -lz -lzstd -lxml2
after:
khuey at zhadum:~/dev/llvm-project/build$ ./bin/llvm-config --system-libs
-lrt -ldl -lm -lz /usr/local/lib/libzstd.a -lxml2
Commit: 3f78d89a2e6170d206a6b91a93b3fdf5e46ab6db
https://github.com/llvm/llvm-project/commit/3f78d89a2e6170d206a6b91a93b3fdf5e46ab6db
Author: Mingming Liu <mingmingl at google.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M compiler-rt/test/profile/Linux/instrprof-vtable-value-prof.cpp
M llvm/test/tools/llvm-profdata/vtable-value-prof.test
M llvm/tools/llvm-profdata/llvm-profdata.cpp
Log Message:
-----------
[TypeProf][InstrFDO]Omit vtable symbols in indexed profiles by default (#96520)
- The indexed iFDO profiles contains compressed vtable names for `llvm-profdata show --show-vtables` debugging
usage. An optimized build doesn't need it and doesn't decompress the blob now [1], since optimized binary has the
source code and IR to find vtable symbols.
- The motivation is to avoid increasing profile size when it's not necessary.
- This doesn't change the indexed profile format and thereby doesn't need a version change.
[1] https://github.com/llvm/llvm-project/blob/eac925fb81f26342811ad1765e8f9919628e2254/llvm/include/llvm/ProfileData/InstrProfReader.h#L696-L699
Commit: d29fdfbc4e3b42e9ee0295049493ba7b1471772f
https://github.com/llvm/llvm-project/commit/d29fdfbc4e3b42e9ee0295049493ba7b1471772f
Author: Joel E. Denny <jdenny.ornl at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/LTO/LTOBackend.cpp
M llvm/test/Feature/load_plugin_error.ll
Log Message:
-----------
[LTO] Avoid assert fail on failed pass plugin load (#96691)
Without this patch, passing -load-pass-plugin=nonexistent.so to
llvm-lto2 produces a backtrace because LTOBackend.cpp does not handle
the error correctly:
```
Failed to load passes from 'nonexistant.so'. Request ignored.
Expected<T> must be checked before access or destruction.
Unchecked Expected<T> contained error:
Could not load library 'nonexistant.so': nonexistant.so: cannot open shared object file: No such file or directoryPLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
```
Any tool using `lto::Config::PassPlugins` should suffer similarly.
Based on the message "Request ignored" and the continue statement, the
intention was apparently to continue on failure to load a plugin.
However, no one appears to rely on that behavior now given that it
crashes instead, and terminating is consistent with opt.
Commit: d058b51604eeb73bfc236bfe84e1ade90229950f
https://github.com/llvm/llvm-project/commit/d058b51604eeb73bfc236bfe84e1ade90229950f
Author: Momchil Velikov <momchil.velikov at arm.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
R llvm/test/CodeGen/AArch64/sitofp-to-tbl.ll
Log Message:
-----------
Revert "[AArch64] Lower extending sitofp using tbl (#92528)"
This reverts commit d1a4f0c9fb559eb4c2fb56112e56343bcd333edc.
There are reports about test failures with Eigen and JAX.
Commit: 22b36bfa3f18ef1cc858d3301c4eea00a280403a
https://github.com/llvm/llvm-project/commit/22b36bfa3f18ef1cc858d3301c4eea00a280403a
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/ProfileData/MemProfReader.cpp
Log Message:
-----------
[Memprof] Fix a warning
This patch fixes:
llvm/lib/ProfileData/MemProfReader.cpp:685:1: error: non-void
function does not return a value in all con trol paths
[-Werror,-Wreturn-type]
While I am at it, this patch removes an else-after-return.
Commit: 6b1c51bc052ae974e89e623b3d143d010fd09222
https://github.com/llvm/llvm-project/commit/6b1c51bc052ae974e89e623b3d143d010fd09222
Author: Akash Banerjee <akash.banerjee at amd.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.h
M clang/test/OpenMP/nvptx_target_parallel_reduction_codegen.cpp
M clang/test/OpenMP/nvptx_target_parallel_reduction_codegen_tbaa_PR46146.cpp
M clang/test/OpenMP/nvptx_teams_reduction_codegen.cpp
A clang/test/OpenMP/reduction_complex.c
M clang/test/OpenMP/reduction_implicit_map.cpp
M clang/test/OpenMP/target_teams_generic_loop_codegen.cpp
M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
Log Message:
-----------
[OpenMP] Migrate GPU Reductions CodeGen from Clang to OMPIRBuilder (#80343)
This patch migrates the CGOpenMPRuntimeGPU::emitReduction and related functions to the OpenMPIRBUilder. In future patches MLIR OpenMP translation would be making use of these functions.
Co-authored-by: Jan Leyonberg <jan.leyonberg at amd.com>
Commit: a89a54190ced6f7ded24eb3b6e5115dbe69eada8
https://github.com/llvm/llvm-project/commit/a89a54190ced6f7ded24eb3b6e5115dbe69eada8
Author: Joel E. Denny <jdenny.ornl at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/test/Feature/load_plugin_error.ll
Log Message:
-----------
Fix test introduced by d29fdfbc4e3b
It breaks builds like:
https://lab.llvm.org/buildbot/#/builders/190/builds/744
Commit: 133492fe18260d4b5ce2d70ff9575fa9c911d090
https://github.com/llvm/llvm-project/commit/133492fe18260d4b5ce2d70ff9575fa9c911d090
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M libc/hdr/types/CMakeLists.txt
A libc/hdr/types/struct_sigaction.h
M libc/src/signal/linux/CMakeLists.txt
M libc/src/signal/linux/signal.cpp
M libc/src/signal/sigaction.h
M libc/test/src/signal/CMakeLists.txt
M libc/test/src/signal/sigaction_test.cpp
M libc/test/src/signal/sigaltstack_test.cpp
Log Message:
-----------
[libc] add proxy header for struct_sigaction (#96224)
Commit: 57d3d070502f54c63c5fca588cf74b78d607e272
https://github.com/llvm/llvm-project/commit/57d3d070502f54c63c5fca588cf74b78d607e272
Author: RoseZhang03 <rosezhang at google.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
A libc/newhdrgen/class_implementation/classes/enumeration.py
A libc/newhdrgen/class_implementation/classes/function.py
A libc/newhdrgen/class_implementation/classes/include.py
A libc/newhdrgen/class_implementation/classes/macro.py
A libc/newhdrgen/class_implementation/classes/object.py
A libc/newhdrgen/class_implementation/classes/type.py
Log Message:
-----------
[libc] added newhdrgen class implementation (#96710)
Added a class representation of a libc header file, allowing for easier
conversion from YAML to .h file output.
Classes include:
- Function (representing function headers)
- Include (representing various include statements found on a header
file)
- Macro (representing macro definitions)
- Enumeration (representing enum definitions)
- Type (representing include statements for NamedTypes)
- Object (representing ObjectSpec defintitions)
Commit: a54704de0d019760c80517b97bd1df636076a059
https://github.com/llvm/llvm-project/commit/a54704de0d019760c80517b97bd1df636076a059
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/test/CodeGen/WebAssembly/target-features-attrs.ll
A llvm/test/CodeGen/WebAssembly/target-features-cpus.ll
Log Message:
-----------
[WebAssembly] Split and tidy up target features test (#96735)
This splits `target-features.ll` into two tests:
`target-features-attrs.ll` and `target-features-cpus.ll`.
Now `target-features-attrs.ll` contains tests with bitcode function
attributes and `-mattr=` options. The current `target-features.ll`
file's FileCheck lines are confusing, mainly because it is unclear how
`CHECK` and `ATTRS` lines are meant to be different. Turns out, before
https://github.com/llvm/llvm-project/commit/67ec8744d7e72b50a5db5038c9643584ce57cb0c,
`-mattr=` options used to override any existing bitcode function
attributes, but after the commit that's not the case anymore. So the
original test had a line that tested `i32.atomic.rmw.cmpxchg` was not
generated when `-mattr=+simd128` was given (because the existing
`+atomics` in the function attributes is overriden). That commit deleted
that line and changed some `ATTRS` lines into `CHECK`, which was
confusing. This PR simplifies that part and does not test the absence of
any instructions, and the effect of `-mattr=` option is only tested with
the target features section.
And `target-features-cpus.ll` only tests the sets of features enabled by
`-mcpu=` lines. It is better to have this as a separate file because
once you have bitcode function attributes they end up in the target
features section too, making the testing of only the `-mcpu=` options
difficult.
Commit: eeb931641ae735faa25283ddb2465318302e864f
https://github.com/llvm/llvm-project/commit/eeb931641ae735faa25283ddb2465318302e864f
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M libcxx/test/lit.cfg.py
M libcxxabi/test/lit.cfg.py
M libunwind/test/lit.cfg.py
Log Message:
-----------
[runtimes][NFC] Improve error message when running Lit incorrectly
Commit: 2582d11f1a8a5783828156d3ced354727f422885
https://github.com/llvm/llvm-project/commit/2582d11f1a8a5783828156d3ced354727f422885
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/SmallVector.h
M llvm/lib/Support/SmallVector.cpp
Log Message:
-----------
[ADT] Always use 32-bit size type for SmallVector with 16-bit elements (#95536)
`SmallVector` has a special case to allow vector of char to exceed 4 GB
in
size on 64-bit hosts. Apply this special case only for 8-bit element
types, instead of all element types < 32 bits.
This makes `SmallVector<MCPhysReg>` more compact because `MCPhysReg` is
`uint16_t`.
---------
Co-authored-by: Nikita Popov <github at npopov.com>
Commit: 2f57df5826a6df8ad5549ed98aede0d60e01e08b
https://github.com/llvm/llvm-project/commit/2f57df5826a6df8ad5549ed98aede0d60e01e08b
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
Log Message:
-----------
[CodeGen] Fix a warning
This patch fixes:
clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp:1662:8: error: unused
variable 'ParallelReduction' [-Werror,-Wunused-variable]
Commit: 49e5cd2acc0d12f7cdb80aafd9ab26719d4415aa
https://github.com/llvm/llvm-project/commit/49e5cd2acc0d12f7cdb80aafd9ab26719d4415aa
Author: Kolya Panchenko <87679760+nikolaypanchenko at users.noreply.github.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
M llvm/test/Transforms/LoopVectorize/vplan-printing-before-execute.ll
Log Message:
-----------
[LV][NFC] Marked functions as const. Added LLVM_DEBUG. (#96681)
Commit: 02b57dedb73134bc81f09e2ff3c56e286091ba13
https://github.com/llvm/llvm-project/commit/02b57dedb73134bc81f09e2ff3c56e286091ba13
Author: jameshu15869 <55058507+jameshu15869 at users.noreply.github.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M libc/CMakeLists.txt
M libc/benchmarks/CMakeLists.txt
A libc/benchmarks/gpu/BenchmarkLogger.cpp
A libc/benchmarks/gpu/BenchmarkLogger.h
A libc/benchmarks/gpu/CMakeLists.txt
A libc/benchmarks/gpu/LibcGpuBenchmark.cpp
A libc/benchmarks/gpu/LibcGpuBenchmark.h
A libc/benchmarks/gpu/LibcGpuBenchmarkMain.cpp
A libc/benchmarks/gpu/src/CMakeLists.txt
A libc/benchmarks/gpu/src/ctype/CMakeLists.txt
A libc/benchmarks/gpu/src/ctype/isalnum_benchmark.cpp
A libc/benchmarks/gpu/src/ctype/isalpha_benchmark.cpp
A libc/benchmarks/gpu/timing/CMakeLists.txt
A libc/benchmarks/gpu/timing/nvptx/CMakeLists.txt
A libc/benchmarks/gpu/timing/nvptx/timing.h
A libc/benchmarks/gpu/timing/timing.h
M libc/cmake/modules/LLVMLibCTestRules.cmake
Log Message:
-----------
[libc] NVPTX Profiling (#92009)
PR for adding microbenchmarking infrastructure for NVPTX. `nvlink`
cannot perform LTO, so we cannot inline `libc` functions and this
function call overhead is not adjusted for during microbenchmarking.
Commit: 0c56fd0a29ffb0425ca2ee2a4ff8f380880fdbfa
https://github.com/llvm/llvm-project/commit/0c56fd0a29ffb0425ca2ee2a4ff8f380880fdbfa
Author: DianQK <dianqk at dianqk.net>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/test/CodeGen/AArch64/arm64-jumptable.ll
M llvm/test/Transforms/SimplifyCFG/ForwardSwitchConditionToPHI.ll
M llvm/test/Transforms/SimplifyCFG/Hexagon/switch-to-lookup-table.ll
Log Message:
-----------
[SimplifyCFG] Forward indirect switch condition value if it can help fold the PHI (#95932)
Fixes #95919.
Commit: 1abe22cab521b833a9aa62a7a8d44ae188ab107e
https://github.com/llvm/llvm-project/commit/1abe22cab521b833a9aa62a7a8d44ae188ab107e
Author: Chelsea Cassanova <chelsea_cassanova at apple.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/SmallVector.h
M llvm/lib/Support/SmallVector.cpp
Log Message:
-----------
Revert "[ADT] Always use 32-bit size type for SmallVector with 16-bit elements" (#96826)
Reverts llvm/llvm-project#95536, this is breaking macOS GreenDragon
buildbots on arm64 and x86_64
https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/as-lldb-cmake/6522/console,
also breaks the Darwin LLVM buildbots:
https://lab.llvm.org/buildbot/#/builders/23/builds/398
Commit: 3a462d89221a307c037a653bc9e0c9190f79c1b9
https://github.com/llvm/llvm-project/commit/3a462d89221a307c037a653bc9e0c9190f79c1b9
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/ReleaseModeModelRunner.h
M llvm/unittests/Analysis/MLModelRunnerTest.cpp
Log Message:
-----------
[mlgo] drop the prefix `_` in `_model_selector`
`_` upsets the saved model freezer (assumptions about python naming).
Commit: c7adfb5e715334c9de176f434088bd9f89aa9eb3
https://github.com/llvm/llvm-project/commit/c7adfb5e715334c9de176f434088bd9f89aa9eb3
Author: DianQK <dianqk at dianqk.net>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/test/CodeGen/AArch64/arm64-jumptable.ll
M llvm/test/Transforms/SimplifyCFG/ForwardSwitchConditionToPHI.ll
M llvm/test/Transforms/SimplifyCFG/Hexagon/switch-to-lookup-table.ll
Log Message:
-----------
Revert "[SimplifyCFG] Forward indirect switch condition value if it can help fold the PHI (#95932)"
This reverts commit 0c56fd0a29ffb0425ca2ee2a4ff8f380880fdbfa.
This is breaking https://lab.llvm.org/buildbot/#/builders/72/builds/483.
Commit: 5dcf3d5335a8bd936c89a4cdf1da909e6b995b6f
https://github.com/llvm/llvm-project/commit/5dcf3d5335a8bd936c89a4cdf1da909e6b995b6f
Author: antangelo <contact at antangelo.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/lib/AST/MicrosoftMangle.cpp
M clang/lib/Basic/Targets/AArch64.cpp
A clang/test/CodeGenCXX/msabi-preserve-none-cc.cpp
M clang/test/Sema/preserve-none-call-conv.c
Log Message:
-----------
[MS ABI]: Support preserve_none in MS ABI (#96487)
Fixes ICE when compiling preserve_nonecc functions on Windows and adds
support for the calling convention on AArch64 for Windows targets.
Commit: f23a5f08f4b8d7734cf11342b2c1a405823e899e
https://github.com/llvm/llvm-project/commit/f23a5f08f4b8d7734cf11342b2c1a405823e899e
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/cmake/caches/Fuchsia-stage2.cmake
M libc/src/stdlib/rand.cpp
M libc/src/stdlib/srand.cpp
Log Message:
-----------
[libc] Remove atomic alignment diagnostics globally (#96803)
Summary:
These warnings mean that it will lower to a libcall. Previously we just
disabled it locally, which didn't work with GCC. This patch does it
globally in the compiler options if the compiler is clang.
Commit: 5a052ef76a95e525bc2fb0abdb68cefbe2d1a2ec
https://github.com/llvm/llvm-project/commit/5a052ef76a95e525bc2fb0abdb68cefbe2d1a2ec
Author: DianQK <dianqk at dianqk.net>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/test/CodeGen/AArch64/arm64-jumptable.ll
M llvm/test/Transforms/SimplifyCFG/ForwardSwitchConditionToPHI.ll
M llvm/test/Transforms/SimplifyCFG/Hexagon/switch-to-lookup-table.ll
Log Message:
-----------
Reapply "[SimplifyCFG] Forward indirect switch condition value if it can help fold the PHI (#95932)"
This reverts commit c7adfb5e715334c9de176f434088bd9f89aa9eb3.
Commit: 8f2d74affd8f4f182a2e9f05e86b494aad1b707c
https://github.com/llvm/llvm-project/commit/8f2d74affd8f4f182a2e9f05e86b494aad1b707c
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang-tools-extra/docs/clang-tidy/checks/misc/use-internal-linkage.rst
Log Message:
-----------
[clang-tidy] add default value for misc-use-internal-linkage [NFC] (#96779)
Commit: 4558e45e7e33d1cfc1a54af761085e358dbab64b
https://github.com/llvm/llvm-project/commit/4558e45e7e33d1cfc1a54af761085e358dbab64b
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
M clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py
M clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/index.rst
A clang-tools-extra/test/clang-tidy/infrastructure/allow-no-checks.cpp
Log Message:
-----------
[clang-tidy] add option to avoid "no checks enabled" error (#96122)
When clang-tidy get an empty checks, it will throw "no checks enabled"
error and exit with non-zero return value.
It make clang-tidy's wrapper program confused when in big project some
files don't want to be checked and use `-checks=-*` to disable all
checks.
---------
Co-authored-by: Danny Mösch <danny.moesch at icloud.com>
Commit: ac105136d189474f58cd095bd8a6dd6814cebea7
https://github.com/llvm/llvm-project/commit/ac105136d189474f58cd095bd8a6dd6814cebea7
Author: mingmingl <mingmingl at google.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M .github/CODEOWNERS
M bolt/docs/CommandLineArgumentReference.md
A bolt/docs/OptimizingLinux.md
M clang-tools-extra/clang-doc/tool/CMakeLists.txt
M clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
M clang-tools-extra/clang-tidy/misc/UseInternalLinkageCheck.cpp
M clang-tools-extra/clang-tidy/misc/UseInternalLinkageCheck.h
M clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
M clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py
M clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
M clang-tools-extra/clang-tidy/utils/DeclRefExprUtils.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/misc/use-internal-linkage.rst
M clang-tools-extra/docs/clang-tidy/index.rst
M clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Calculator.cpp
M clang-tools-extra/test/clang-doc/basic-project.test
A clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-fix-mode-none.cpp
M clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-func.cpp
M clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-var.cpp
M clang-tools-extra/test/clang-tidy/checkers/performance/unnecessary-copy-initialization.cpp
A clang-tools-extra/test/clang-tidy/infrastructure/allow-no-checks.cpp
M clang/cmake/caches/Fuchsia-stage2.cmake
M clang/docs/LanguageExtensions.rst
M clang/docs/ReleaseNotes.rst
M clang/docs/ThreadSafetyAnalysis.rst
M clang/include/clang/AST/ASTContext.h
M clang/include/clang/AST/AbstractBasicReader.h
M clang/include/clang/AST/AbstractBasicWriter.h
M clang/include/clang/AST/Decl.h
M clang/include/clang/AST/DeclID.h
M clang/include/clang/AST/Expr.h
M clang/include/clang/AST/PropertiesBase.td
M clang/include/clang/AST/Type.h
M clang/include/clang/AST/TypeProperties.td
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Basic/Builtins.td
M clang/include/clang/Basic/BuiltinsAMDGPU.def
M clang/include/clang/Basic/Cuda.h
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/LangOptions.h
M clang/include/clang/Basic/SourceManager.h
M clang/include/clang/Basic/arm_sme.td
M clang/include/clang/Basic/arm_sve.td
M clang/include/clang/Basic/arm_sve_sme_incl.td
M clang/include/clang/CodeGen/ModuleBuilder.h
M clang/include/clang/Driver/Driver.h
M clang/include/clang/Driver/Options.td
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Sema/ParsedAttr.h
M clang/include/clang/Sema/Sema.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/ExprConstant.cpp
M clang/lib/AST/Interp/ByteCodeEmitter.h
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/lib/AST/Interp/Descriptor.cpp
M clang/lib/AST/Interp/EvalEmitter.h
M clang/lib/AST/Interp/Interp.cpp
M clang/lib/AST/Interp/InterpBuiltin.cpp
M clang/lib/AST/Interp/Pointer.cpp
M clang/lib/AST/Interp/Pointer.h
M clang/lib/AST/MicrosoftMangle.cpp
M clang/lib/AST/Type.cpp
M clang/lib/AST/TypePrinter.cpp
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/lib/Analysis/ThreadSafety.cpp
M clang/lib/Basic/Cuda.cpp
M clang/lib/Basic/SourceManager.cpp
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Basic/Targets/NVPTX.cpp
M clang/lib/Basic/Targets/PPC.h
M clang/lib/Basic/Targets/X86.cpp
M clang/lib/Basic/Targets/X86.h
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/CodeGen/CGDebugInfo.h
M clang/lib/CodeGen/CGDecl.cpp
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.h
M clang/lib/CodeGen/CMakeLists.txt
M clang/lib/CodeGen/CodeGenAction.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChains/Arch/X86.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Driver/ToolChains/HIPAMD.cpp
M clang/lib/Driver/ToolChains/HIPAMD.h
M clang/lib/Driver/ToolChains/WebAssembly.cpp
M clang/lib/Frontend/InitPreprocessor.cpp
M clang/lib/Lex/LiteralSupport.cpp
M clang/lib/Parse/ParseOpenMP.cpp
M clang/lib/Sema/ScopeInfo.cpp
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Sema/SemaLookup.cpp
M clang/lib/Sema/SemaModule.cpp
M clang/lib/Sema/SemaOpenMP.cpp
M clang/lib/Sema/SemaOverload.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaType.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/StaticAnalyzer/Checkers/NoOwnershipChangeVisitor.cpp
M clang/lib/StaticAnalyzer/Checkers/PointerSubChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
M clang/lib/Tooling/Inclusions/Stdlib/CMakeLists.txt
M clang/test/AST/Interp/arrays.cpp
M clang/test/AST/Interp/c.c
M clang/test/AST/Interp/functions.cpp
M clang/test/AST/Interp/literals.cpp
M clang/test/Analysis/casts.c
A clang/test/Analysis/pointer-sub-notes.c
M clang/test/Analysis/pointer-sub.c
A clang/test/Analysis/stream-notes-missing-close.cpp
A clang/test/C/C11/n1285.c
A clang/test/C/C2x/n2819.c
A clang/test/C/C2x/n3033.c
A clang/test/C/C2x/n3033_2.c
A clang/test/CodeGen/PowerPC/inline-asm-constraints-error.c
M clang/test/CodeGen/aarch64-mixed-target-attributes.c
A clang/test/CodeGen/aarch64-sme2p1-intrinsics/acle_sme2p1_movaz.c
M clang/test/CodeGen/asan-frame-pointer.cpp
M clang/test/CodeGen/asan-globals.cpp
M clang/test/CodeGen/attr-target-clones-aarch64.c
M clang/test/CodeGen/attr-target-version.c
A clang/test/CodeGen/coverage-target-attr.c
M clang/test/CodeGen/ptrauth-intrinsics.c
M clang/test/CodeGen/sanitize-metadata-nosanitize.c
M clang/test/CodeGenCXX/attr-target-clones-aarch64.cpp
M clang/test/CodeGenCXX/attr-target-version.cpp
M clang/test/CodeGenCXX/auto-var-init-max-size.cpp
M clang/test/CodeGenCXX/auto-var-init-stop-after.cpp
M clang/test/CodeGenCXX/auto-var-init.cpp
A clang/test/CodeGenCXX/debug-info-verbose-trap.cpp
M clang/test/CodeGenCXX/fmv-namespace.cpp
A clang/test/CodeGenCXX/msabi-preserve-none-cc.cpp
A clang/test/CodeGenCXX/trivial-auto-var-init-skip-scalar-with-nonconst-init.cpp
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx10.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx11.cl
A clang/test/CodeGenOpenCL/builtins-amdgcn-raw-buffer-store.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn.cl
M clang/test/Driver/cuda-arch-translation.cu
M clang/test/Driver/x86-target-features.c
M clang/test/Frontend/embed-bitcode.ll
M clang/test/Misc/target-invalid-cpu-note.c
M clang/test/Modules/no-eager-load.cppm
A clang/test/Modules/no-external-identifier-id.cppm
A clang/test/Modules/no-external-type-id.cppm
A clang/test/Modules/same-decl-in-different-modules.cppm
M clang/test/OpenMP/Inputs/nesting_of_regions.cpp
M clang/test/OpenMP/declare_variant_clauses_messages.cpp
M clang/test/OpenMP/nvptx_target_parallel_reduction_codegen.cpp
M clang/test/OpenMP/nvptx_target_parallel_reduction_codegen_tbaa_PR46146.cpp
M clang/test/OpenMP/nvptx_teams_reduction_codegen.cpp
A clang/test/OpenMP/reduction_complex.c
M clang/test/OpenMP/reduction_implicit_map.cpp
M clang/test/OpenMP/target_teams_generic_loop_codegen.cpp
M clang/test/Preprocessor/embed_weird.cpp
M clang/test/Preprocessor/predefined-win-macros.c
M clang/test/Preprocessor/x86_target_features.c
M clang/test/Sema/aarch64-sve-intrinsics/acle_sve_bfloat.cpp
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_bfloat.cpp
M clang/test/Sema/arm-vector-types-support.c
M clang/test/Sema/attr-capabilities.c
A clang/test/Sema/attr-nonblocking-sema.c
A clang/test/Sema/attr-nonblocking-sema.cpp
A clang/test/Sema/attr-nonblocking-syntax.cpp
M clang/test/Sema/preserve-none-call-conv.c
M clang/test/Sema/ptrauth.c
R clang/test/SemaCUDA/neon-attrs.cu
M clang/test/SemaCXX/coroutine-vla.cpp
M clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
A clang/test/SemaCXX/verbose-trap.cpp
M clang/test/SemaCXX/warn-thread-safety-analysis.cpp
M clang/test/SemaCXX/warn-thread-safety-parsing.cpp
A clang/test/SemaOpenCL/builtins-amdgcn-raw-buffer-store-error.cl
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
M clang/unittests/AST/ASTImporterTest.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
M clang/utils/TableGen/NeonEmitter.cpp
M clang/utils/TableGen/SveEmitter.cpp
M clang/www/c_status.html
M clang/www/cxx_status.html
M clang/www/get_involved.html
M compiler-rt/include/profile/MIBEntryDef.inc
M compiler-rt/include/profile/MemProfData.inc
M compiler-rt/lib/asan/asan_globals.cpp
M compiler-rt/lib/asan/asan_interceptors.cpp
M compiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
M compiler-rt/lib/gwp_asan/platform_specific/guarded_pool_allocator_fuchsia.cpp
M compiler-rt/lib/gwp_asan/platform_specific/guarded_pool_allocator_posix.cpp
M compiler-rt/lib/gwp_asan/utilities.h
M compiler-rt/lib/hwasan/hwasan_interceptors.cpp
M compiler-rt/lib/lsan/lsan_interceptors.cpp
M compiler-rt/lib/memprof/memprof_allocator.cpp
M compiler-rt/lib/memprof/memprof_flags.inc
M compiler-rt/lib/memprof/memprof_interceptors.cpp
M compiler-rt/lib/memprof/memprof_mapping.h
M compiler-rt/lib/memprof/memprof_mibmap.cpp
M compiler-rt/lib/memprof/memprof_rawprofile.cpp
M compiler-rt/lib/memprof/memprof_rtl.cpp
M compiler-rt/lib/memprof/tests/rawprofile.cpp
M compiler-rt/lib/msan/msan_interceptors.cpp
M compiler-rt/lib/profile/InstrProfilingFile.c
M compiler-rt/lib/sanitizer_common/sanitizer_common_libcdep.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_posix.h
M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
M compiler-rt/lib/tsan/rtl/tsan_mman.cpp
M compiler-rt/lib/tsan/rtl/tsan_mman.h
M compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
M compiler-rt/test/profile/Linux/instrprof-vtable-value-prof.cpp
M compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c
A compiler-rt/test/tsan/Darwin/fork_deadlock.cpp
R compiler-rt/test/tsan/Linux/fork_deadlock.cpp
M flang/include/flang/Evaluate/characteristics.h
M flang/include/flang/Evaluate/shape.h
M flang/include/flang/Evaluate/tools.h
M flang/include/flang/Lower/AbstractConverter.h
M flang/include/flang/Lower/BoxAnalyzer.h
M flang/include/flang/Optimizer/Transforms/Passes.h
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/include/flang/Parser/preprocessor.h
M flang/include/flang/Runtime/pointer.h
M flang/include/flang/Tools/CLOptions.inc
M flang/lib/Evaluate/characteristics.cpp
M flang/lib/Evaluate/check-expression.cpp
M flang/lib/Evaluate/fold-integer.cpp
M flang/lib/Evaluate/fold-real.cpp
M flang/lib/Evaluate/intrinsics.cpp
M flang/lib/Evaluate/shape.cpp
M flang/lib/Evaluate/tools.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/CallInterface.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Optimizer/Transforms/CMakeLists.txt
A flang/lib/Optimizer/Transforms/ConstantArgumentGlobalisation.cpp
M flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
M flang/lib/Optimizer/Transforms/DebugTypeGenerator.h
M flang/lib/Parser/prescan.cpp
M flang/lib/Parser/prescan.h
M flang/lib/Semantics/check-allocate.cpp
M flang/lib/Semantics/check-call.cpp
M flang/lib/Semantics/check-declarations.cpp
M flang/lib/Semantics/expression.cpp
M flang/lib/Semantics/pointer-assignment.cpp
M flang/lib/Semantics/resolve-names.cpp
M flang/lib/Semantics/runtime-type-info.cpp
M flang/module/__fortran_builtins.f90
M flang/runtime/ISO_Fortran_binding.cpp
M flang/runtime/descriptor.cpp
M flang/runtime/external-unit.cpp
M flang/runtime/pointer.cpp
M flang/runtime/pseudo-unit.cpp
M flang/runtime/unit.h
R flang/test/Driver/print-resource-dir.F90
M flang/test/Evaluate/fold-nearest.f90
M flang/test/Evaluate/folding04.f90
M flang/test/Evaluate/rewrite06.f90
M flang/test/Fir/boxproc.fir
M flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
M flang/test/Integration/OpenMP/map-types-and-sizes.f90
M flang/test/Integration/debug-char-type-1.f90
A flang/test/Integration/debug-ptr-type.f90
A flang/test/Lower/OpenMP/common-block-map.f90
A flang/test/Lower/OpenMP/copyprivate2.f90
M flang/test/Lower/character-local-variables.f90
A flang/test/Preprocessing/cond-contin.F90
A flang/test/Preprocessing/inc-contin-1.F
A flang/test/Preprocessing/inc-contin-1.h
A flang/test/Preprocessing/inc-contin-2.F90
A flang/test/Preprocessing/inc-contin-2a.h
A flang/test/Preprocessing/inc-contin-2b.h
M flang/test/Preprocessing/include-args.F90
M flang/test/Semantics/c_loc01.f90
M flang/test/Semantics/call05.f90
M flang/test/Semantics/select-rank03.f90
A flang/test/Transforms/constant-argument-globalisation-2.fir
A flang/test/Transforms/constant-argument-globalisation.fir
M flang/test/Transforms/debug-char-type-1.fir
A flang/test/Transforms/debug-ptr-type.fir
M flang/unittests/Evaluate/intrinsics.cpp
M flang/unittests/Frontend/FrontendActionTest.cpp
M libc/CMakeLists.txt
M libc/benchmarks/CMakeLists.txt
A libc/benchmarks/gpu/BenchmarkLogger.cpp
A libc/benchmarks/gpu/BenchmarkLogger.h
A libc/benchmarks/gpu/CMakeLists.txt
A libc/benchmarks/gpu/LibcGpuBenchmark.cpp
A libc/benchmarks/gpu/LibcGpuBenchmark.h
A libc/benchmarks/gpu/LibcGpuBenchmarkMain.cpp
A libc/benchmarks/gpu/src/CMakeLists.txt
A libc/benchmarks/gpu/src/ctype/CMakeLists.txt
A libc/benchmarks/gpu/src/ctype/isalnum_benchmark.cpp
A libc/benchmarks/gpu/src/ctype/isalpha_benchmark.cpp
A libc/benchmarks/gpu/timing/CMakeLists.txt
A libc/benchmarks/gpu/timing/nvptx/CMakeLists.txt
A libc/benchmarks/gpu/timing/nvptx/timing.h
A libc/benchmarks/gpu/timing/timing.h
M libc/cmake/modules/LLVMLibCTestRules.cmake
M libc/cmake/modules/prepare_libc_gpu_build.cmake
M libc/config/darwin/arm/entrypoints.txt
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/app.h
M libc/config/linux/arm/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/gpu/support.rst
M libc/docs/math/index.rst
M libc/hdr/types/CMakeLists.txt
A libc/hdr/types/struct_sigaction.h
M libc/include/llvm-libc-macros/CMakeLists.txt
A libc/include/llvm-libc-macros/link-macros.h
A libc/newhdrgen/class_implementation/classes/enumeration.py
A libc/newhdrgen/class_implementation/classes/function.py
A libc/newhdrgen/class_implementation/classes/include.py
A libc/newhdrgen/class_implementation/classes/macro.py
A libc/newhdrgen/class_implementation/classes/object.py
A libc/newhdrgen/class_implementation/classes/type.py
M libc/spec/stdc.td
M libc/src/__support/FPUtil/CMakeLists.txt
M libc/src/__support/FPUtil/double_double.h
M libc/src/__support/FPUtil/dyadic_float.h
M libc/src/__support/FPUtil/generic/CMakeLists.txt
A libc/src/__support/FPUtil/generic/div.h
M libc/src/__support/OSUtil/linux/arm/syscall.h
M libc/src/__support/OSUtil/linux/fcntl.cpp
M libc/src/__support/fixedvector.h
M libc/src/__support/macros/optimization.h
M libc/src/__support/threads/thread.h
M libc/src/math/CMakeLists.txt
A libc/src/math/f16divf.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/cos.cpp
A libc/src/math/generic/f16divf.cpp
A libc/src/math/generic/range_reduction_double_common.h
A libc/src/math/generic/range_reduction_double_fma.h
A libc/src/math/generic/range_reduction_double_nofma.h
A libc/src/math/generic/sin.cpp
A libc/src/math/generic/sincos_eval.h
M libc/src/math/x86_64/CMakeLists.txt
R libc/src/math/x86_64/cos.cpp
R libc/src/math/x86_64/sin.cpp
M libc/src/signal/linux/CMakeLists.txt
M libc/src/signal/linux/signal.cpp
M libc/src/signal/sigaction.h
M libc/src/stdlib/CMakeLists.txt
M libc/src/stdlib/rand.cpp
M libc/src/stdlib/rand_util.cpp
M libc/src/stdlib/rand_util.h
M libc/src/stdlib/srand.cpp
M libc/startup/linux/CMakeLists.txt
M libc/startup/linux/do_start.cpp
M libc/test/src/__support/CMakeLists.txt
M libc/test/src/__support/fixedvector_test.cpp
M libc/test/src/fcntl/CMakeLists.txt
M libc/test/src/fcntl/fcntl_test.cpp
M libc/test/src/math/CMakeLists.txt
A libc/test/src/math/DivTest.h
M libc/test/src/math/cos_test.cpp
M libc/test/src/math/exhaustive/CMakeLists.txt
M libc/test/src/math/exhaustive/exhaustive_test.h
A libc/test/src/math/exhaustive/fmodf16_test.cpp
A libc/test/src/math/f16divf_test.cpp
M libc/test/src/math/sin_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/DivTest.h
A libc/test/src/math/smoke/cos_test.cpp
A libc/test/src/math/smoke/f16divf_test.cpp
A libc/test/src/math/smoke/sin_test.cpp
M libc/test/src/signal/CMakeLists.txt
M libc/test/src/signal/sigaction_test.cpp
M libc/test/src/signal/sigaltstack_test.cpp
M libc/test/src/stdlib/rand_test.cpp
M libc/utils/MPFRWrapper/MPFRUtils.cpp
M libc/utils/MPFRWrapper/MPFRUtils.h
M libclc/CMakeLists.txt
M libclc/cmake/modules/AddLibclc.cmake
M libcxx/CMakeLists.txt
M libcxx/docs/ReleaseNotes/19.rst
M libcxx/docs/Status/Cxx20Issues.csv
M libcxx/include/__atomic/atomic_init.h
M libcxx/include/__expected/expected.h
M libcxx/include/__mdspan/extents.h
M libcxx/include/__memory/allocator.h
M libcxx/include/__memory/allocator_traits.h
M libcxx/include/__memory/shared_ptr.h
M libcxx/include/__numeric/gcd_lcm.h
M libcxx/include/__ranges/iota_view.h
M libcxx/include/__type_traits/conditional.h
M libcxx/include/__type_traits/is_nothrow_destructible.h
M libcxx/include/__utility/pair.h
M libcxx/include/deque
M libcxx/include/forward_list
M libcxx/include/list
M libcxx/include/map
M libcxx/include/set
M libcxx/include/string
M libcxx/include/unordered_map
M libcxx/include/unordered_set
M libcxx/include/vector
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-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/modules/CMakeLists.txt.in
M libcxx/src/barrier.cpp
M libcxx/src/filesystem/operations.cpp
M libcxx/src/filesystem/path.cpp
M libcxx/src/filesystem/path_parser.h
M libcxx/src/locale.cpp
M libcxx/test/CMakeLists.txt
M libcxx/test/configs/llvm-libc++-shared-clangcl.cfg.in
M libcxx/test/configs/llvm-libc++-shared-no-vcruntime-clangcl.cfg.in
M libcxx/test/configs/llvm-libc++-static-clangcl.cfg.in
R libcxx/test/libcxx/containers/sequences/vector/const_T.compile.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/const_value_type.pass.cpp
M libcxx/test/libcxx/diagnostics/memory.nodiscard.verify.cpp
M libcxx/test/libcxx/memory/allocator_void.trivial.compile.pass.cpp
M libcxx/test/libcxx/memory/allocator_volatile.verify.cpp
M libcxx/test/lit.cfg.py
M libcxx/test/std/concepts/concepts.lang/concept.default.init/default_initializable.compile.pass.cpp
A libcxx/test/std/containers/sequences/array/array.overview/nttp.equivalence.compile.pass.cpp
A libcxx/test/std/containers/sequences/array/array.overview/nttp.verify.cpp
M libcxx/test/std/containers/views/mdspan/extents/ctad.pass.cpp
M libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.pass.cpp
A libcxx/test/std/ranges/range.factories/range.iota.view/assert.ctor.value.bound.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.copy.pass.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator.ctor.pass.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator.dtor.pass.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator.members/allocate.constexpr.size.verify.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator.members/allocate.size.pass.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator_types.deprecated_in_cxx17.verify.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator_types.deprecated_in_cxx23.verify.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator_types.pass.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator_types.removed_in_cxx20.verify.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator_types.removed_in_cxx26.verify.cpp
M libcxx/test/std/utilities/memory/specialized.algorithms/specialized.construct/construct_at.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter_allocator.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_allocator.pass.cpp
A libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/types.h
M libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_destructible.pass.cpp
A libcxx/test/std/utilities/utility/pairs/pairs.pair/nttp.equivalence.compile.pass.cpp
A libcxx/test/std/utilities/utility/pairs/pairs.pair/nttp.verify.cpp
M libcxxabi/test/lit.cfg.py
M libunwind/test/lit.cfg.py
M lld/COFF/Driver.cpp
M lld/ELF/InputFiles.cpp
M lld/ELF/InputFiles.h
M lld/ELF/InputSection.cpp
M lld/ELF/LinkerScript.cpp
M lld/ELF/LinkerScript.h
M lld/ELF/Relocations.cpp
M lld/ELF/ScriptParser.cpp
A lld/test/COFF/invalid-entry.s
M lld/test/ELF/as-needed-no-reloc.s
M lld/test/ELF/as-needed.s
M lld/test/ELF/auxiliary.s
M lld/test/ELF/dynamic-reloc.s
M lld/test/ELF/filter.s
M lld/test/ELF/gc-sections-shared.s
M lld/test/ELF/linkerscript/addr.test
M lld/test/ELF/linkerscript/locationcountererr-arm-exidx.test
M lld/test/ELF/no-soname.s
M lld/test/ELF/partition-synthetic-sections.s
M lld/test/ELF/push-state.s
M lld/test/ELF/shared-ppc64.s
M lld/test/ELF/shared.s
M lld/test/ELF/soname.s
M lld/test/ELF/soname2.s
M lld/test/ELF/wrap-drop-shared-original.s
M lldb/bindings/interface/SBBreakpointDocstrings.i
M lldb/bindings/interface/SBDataExtensions.i
M lldb/bindings/python/python-typemaps.swig
M lldb/docs/use/python.rst
M lldb/examples/python/armv7_cortex_m_target_defintion.py
M lldb/examples/python/crashlog.py
M lldb/examples/python/disasm-stress-test.py
M lldb/examples/summaries/cocoa/CFString.py
M lldb/examples/summaries/pysummary.py
M lldb/examples/synthetic/bitfield/example.py
M lldb/include/lldb/API/SBDebugger.h
M lldb/include/lldb/API/SBProcess.h
M lldb/include/lldb/Core/AddressRangeListImpl.h
M lldb/include/lldb/Symbol/TypeSystem.h
M lldb/include/lldb/Target/Process.h
M lldb/include/lldb/lldb-private-enumerations.h
M lldb/include/lldb/lldb-private-interfaces.h
M lldb/packages/Python/lldbsuite/test/dotest.py
M lldb/packages/Python/lldbsuite/test/lldbtest.py
M lldb/packages/Python/lldbsuite/test/lldbutil.py
M lldb/packages/Python/lldbsuite/test/tools/intelpt/intelpt_testcase.py
M lldb/source/API/SBDebugger.cpp
M lldb/source/API/SBProcess.cpp
M lldb/source/Breakpoint/BreakpointOptions.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.cpp
M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.h
M lldb/source/Plugins/ObjectFile/Minidump/ObjectFileMinidump.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.h
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.h
M lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.h
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
M lldb/source/Symbol/Type.cpp
M lldb/source/Symbol/TypeSystem.cpp
M lldb/source/Target/Process.cpp
M lldb/test/API/commands/command/script/welcome.py
M lldb/test/API/commands/expression/call-throws/TestCallThatThrows.py
M lldb/test/API/functionalities/breakpoint/address_breakpoints/TestBadAddressBreakpoints.py
M lldb/test/API/functionalities/disassemble/aarch64-adrp-add/TestAArch64AdrpAdd.py
M lldb/test/API/functionalities/gdb_remote_client/TestNoWatchpointSupportInfo.py
M lldb/test/API/functionalities/step_scripted/TestStepScripted.py
M lldb/test/API/functionalities/stop-on-sharedlibrary-load/TestStopOnSharedlibraryEvents.py
M lldb/test/API/lua_api/TestLuaAPI.py
M lldb/test/API/macosx/thread_suspend/TestInternalThreadSuspension.py
M lldb/test/API/python_api/event/TestEvents.py
A lldb/test/API/python_api/find_in_memory/Makefile
A lldb/test/API/python_api/find_in_memory/TestFindInMemory.py
A lldb/test/API/python_api/find_in_memory/TestFindRangesInMemory.py
A lldb/test/API/python_api/find_in_memory/address_ranges_helper.py
A lldb/test/API/python_api/find_in_memory/main.cpp
M lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py
M lldb/test/API/python_api/type/TestTypeList.py
M lldb/test/API/python_api/was_interrupted/interruptible.py
M lldb/test/API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py
M lldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py
M lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
M lldb/test/Shell/SymbolFile/DWARF/clang-gmodules-type-lookup.c
M lldb/test/Shell/SymbolFile/DWARF/x86/compilercontext.ll
A lldb/test/Shell/SymbolFile/DWARF/x86/dwp-foreign-type-units.cpp
M lldb/test/Shell/SymbolFile/DWARF/x86/find-basic-function.cpp
M lldb/test/Shell/SymbolFile/DWARF/x86/module-ownership.mm
M lldb/test/Shell/lit.cfg.py
M lldb/tools/lldb-dap/DAP.cpp
M lldb/tools/lldb-dap/DAP.h
M lldb/tools/lldb-dap/lldb-dap.cpp
M lldb/tools/lldb-test/lldb-test.cpp
M lldb/unittests/CMakeLists.txt
A lldb/unittests/Callback/CMakeLists.txt
A lldb/unittests/Callback/TestBreakpointSetCallback.cpp
M lldb/unittests/Symbol/TestType.cpp
M lldb/unittests/SymbolFile/DWARF/DWARFDIETest.cpp
M llvm/CMakeLists.txt
M llvm/docs/AMDGPUUsage.rst
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm-c/Core.h
M llvm/include/llvm/ADT/APFloat.h
M llvm/include/llvm/ADT/SetOperations.h
M llvm/include/llvm/ADT/SmallPtrSet.h
M llvm/include/llvm/Analysis/CFGPrinter.h
M llvm/include/llvm/Analysis/CGSCCPassManager.h
M llvm/include/llvm/Analysis/InlineModelFeatureMaps.h
M llvm/include/llvm/Analysis/LoopInfo.h
M llvm/include/llvm/Analysis/ReleaseModeModelRunner.h
M llvm/include/llvm/Analysis/VectorUtils.h
M llvm/include/llvm/BinaryFormat/Minidump.h
M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
M llvm/include/llvm/CodeGen/MachinePostDominators.h
M llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h
M llvm/include/llvm/CodeGen/SlotIndexes.h
M llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
M llvm/include/llvm/ExecutionEngine/Orc/Core.h
M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
M llvm/include/llvm/IR/Analysis.h
M llvm/include/llvm/IR/ConstantRangeList.h
M llvm/include/llvm/IR/Function.h
M llvm/include/llvm/IR/IntrinsicsAArch64.td
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/include/llvm/IR/IntrinsicsNVVM.td
M llvm/include/llvm/IR/LLVMContext.h
M llvm/include/llvm/IR/PassInstrumentation.h
M llvm/include/llvm/IR/ProfDataUtils.h
M llvm/include/llvm/MC/DXContainerPSVInfo.h
M llvm/include/llvm/MC/MCContext.h
M llvm/include/llvm/MC/MCWinCOFFStreamer.h
M llvm/include/llvm/Object/ELFTypes.h
M llvm/include/llvm/Passes/MachinePassRegistry.def
M llvm/include/llvm/Passes/TargetPassRegistry.inc
M llvm/include/llvm/ProfileData/MIBEntryDef.inc
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/include/llvm/ProfileData/MemProfData.inc
M llvm/include/llvm/ProfileData/MemProfReader.h
M llvm/include/llvm/Support/GenericDomTreeConstruction.h
M llvm/include/llvm/Target/TargetMachine.h
M llvm/include/llvm/TargetParser/X86TargetParser.def
M llvm/lib/Analysis/CGSCCPassManager.cpp
M llvm/lib/Analysis/CallGraph.cpp
M llvm/lib/Analysis/ConstraintSystem.cpp
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/Analysis/Lint.cpp
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
M llvm/lib/Analysis/LoopInfo.cpp
M llvm/lib/Analysis/MLInlineAdvisor.cpp
M llvm/lib/Analysis/PHITransAddr.cpp
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/lib/Analysis/TargetTransformInfo.cpp
M llvm/lib/Analysis/VectorUtils.cpp
M llvm/lib/Analysis/models/gen-inline-oz-test-model.py
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/MIRParser/MILexer.cpp
M llvm/lib/CodeGen/MIRParser/MILexer.h
M llvm/lib/CodeGen/MIRParser/MIParser.cpp
M llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
M llvm/lib/CodeGen/MachinePostDominators.cpp
M llvm/lib/CodeGen/MachineSSAUpdater.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/CodeGen/SlotIndexes.cpp
M llvm/lib/CodeGen/WindowScheduler.cpp
M llvm/lib/DWARFLinker/Parallel/ArrayList.h
M llvm/lib/DWP/DWP.cpp
M llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
M llvm/lib/ExecutionEngine/Orc/Core.cpp
M llvm/lib/ExecutionEngine/Orc/Debugging/DebugInfoSupport.cpp
M llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/IR/ConstantRangeList.cpp
M llvm/lib/IR/Core.cpp
M llvm/lib/IR/Function.cpp
M llvm/lib/IR/Instructions.cpp
M llvm/lib/IR/LLVMContext.cpp
M llvm/lib/IR/LLVMContextImpl.h
M llvm/lib/IR/PassInstrumentation.cpp
M llvm/lib/IR/ProfDataUtils.cpp
M llvm/lib/IR/Verifier.cpp
M llvm/lib/LTO/LTOBackend.cpp
M llvm/lib/MC/MCContext.cpp
M llvm/lib/MC/MCDwarf.cpp
M llvm/lib/MC/MCObjectFileInfo.cpp
M llvm/lib/MC/MCWinCOFFStreamer.cpp
M llvm/lib/MC/WinCOFFObjectWriter.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/ProfileData/InstrProfReader.cpp
M llvm/lib/ProfileData/MemProfReader.cpp
M llvm/lib/Support/CMakeLists.txt
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
M llvm/lib/Target/AArch64/AArch64Subtarget.h
M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.h
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
M llvm/lib/Target/AArch64/SMEInstrFormats.td
M llvm/lib/Target/AMDGPU/AMDGPU.td
M llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.h
M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.h
M llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
M llvm/lib/Target/AMDGPU/AMDGPUSplitModule.cpp
M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/GCNSubtarget.h
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.h
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
M llvm/lib/Target/AMDGPU/SIProgramInfo.cpp
M llvm/lib/Target/AMDGPU/SIProgramInfo.h
M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
M llvm/lib/Target/AMDGPU/VOP1Instructions.td
M llvm/lib/Target/AMDGPU/VOP2Instructions.td
M llvm/lib/Target/AMDGPU/VOP3Instructions.td
M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/ARM/ARMLegalizerInfo.cpp
M llvm/lib/Target/ARM/ARMRegisterBankInfo.cpp
M llvm/lib/Target/AVR/AVRInstrInfo.td
M llvm/lib/Target/BPF/BPFRegisterInfo.cpp
M llvm/lib/Target/BPF/BPFTargetMachine.cpp
M llvm/lib/Target/BPF/BPFTargetMachine.h
M llvm/lib/Target/DirectX/DXContainerGlobals.cpp
M llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
M llvm/lib/Target/DirectX/DirectXTargetMachine.h
M llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
M llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
M llvm/lib/Target/Hexagon/HexagonTargetMachine.h
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
M llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.h
M llvm/lib/Target/NVPTX/NVPTXUtilities.cpp
M llvm/lib/Target/NVPTX/NVPTXUtilities.h
M llvm/lib/Target/NVPTX/NVVMReflect.cpp
M llvm/lib/Target/PowerPC/PPCMergeStringPool.cpp
M llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
M llvm/lib/Target/RISCV/GISel/RISCVRegisterBankInfo.cpp
M llvm/lib/Target/RISCV/RISCV.td
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
M llvm/lib/Target/RISCV/RISCVProcessors.td
A llvm/lib/Target/RISCV/RISCVSchedSyntacoreSCR3.td
M llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVBaseInfo.cpp
M llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVBaseInfo.h
M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
M llvm/lib/Target/SPIRV/SPIRVCommandLine.cpp
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
M llvm/lib/Target/SPIRV/SPIRVInstrInfo.td
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
M llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
M llvm/lib/Target/SPIRV/SPIRVSymbolicOperands.td
M llvm/lib/Target/SPIRV/SPIRVUtils.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
M llvm/lib/Target/X86/X86.td
M llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
M llvm/lib/Target/X86/X86FixupSetCC.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
M llvm/lib/Target/X86/X86InstrInfo.cpp
M llvm/lib/Target/X86/X86TargetMachine.h
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/lib/Target/Xtensa/XtensaAsmPrinter.cpp
M llvm/lib/Target/Xtensa/XtensaAsmPrinter.h
M llvm/lib/Target/Xtensa/XtensaISelLowering.cpp
M llvm/lib/Target/Xtensa/XtensaISelLowering.h
M llvm/lib/Target/Xtensa/XtensaInstrInfo.td
M llvm/lib/Target/Xtensa/XtensaOperators.td
M llvm/lib/TargetParser/RISCVISAInfo.cpp
M llvm/lib/TargetParser/X86TargetParser.cpp
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
M llvm/lib/Transforms/IPO/SCCP.cpp
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
M llvm/lib/Transforms/Scalar/LoopDistribute.cpp
M llvm/lib/Transforms/Scalar/Reassociate.cpp
M llvm/lib/Transforms/Utils/CodeLayout.cpp
M llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
M llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/runtimes/CMakeLists.txt
M llvm/test/Analysis/CostModel/AArch64/masked_ldst.ll
M llvm/test/Analysis/CostModel/AArch64/sve-gather.ll
M llvm/test/Analysis/CostModel/AArch64/sve-ldst.ll
M llvm/test/Analysis/CostModel/AArch64/sve-scatter.ll
M llvm/test/Analysis/CostModel/X86/arith-int-codesize.ll
M llvm/test/Analysis/CostModel/X86/arith-int-latency.ll
M llvm/test/Analysis/CostModel/X86/arith-int-sizelatency.ll
M llvm/test/Analysis/CostModel/X86/arith-int.ll
M llvm/test/Analysis/CostModel/X86/rem-codesize.ll
M llvm/test/Analysis/CostModel/X86/rem-latency.ll
M llvm/test/Analysis/CostModel/X86/rem-sizelatency.ll
M llvm/test/Analysis/CostModel/X86/rem.ll
M llvm/test/Analysis/CostModel/X86/slm-arith-costs.ll
A llvm/test/Analysis/LoopAccessAnalysis/debug-loc.ll
M llvm/test/Analysis/LoopAccessAnalysis/print-order.ll
M llvm/test/Analysis/LoopAccessAnalysis/scalable-vector-regression-tests.ll
M llvm/test/Analysis/LoopAccessAnalysis/symbolic-stride.ll
A llvm/test/Analysis/ScalarEvolution/pr92560.ll
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/intrinsics.ll
M llvm/test/Bindings/llvm-c/echo.ll
M llvm/test/CodeGen/AArch64/aarch64-sme2-asm.ll
M llvm/test/CodeGen/AArch64/arm64-jumptable.ll
M llvm/test/CodeGen/AArch64/ldexp.ll
R llvm/test/CodeGen/AArch64/sitofp-to-tbl.ll
M llvm/test/CodeGen/AArch64/sme-intrinsics-add.ll
M llvm/test/CodeGen/AArch64/sme-intrinsics-loads.ll
M llvm/test/CodeGen/AArch64/sme-intrinsics-mopa.ll
M llvm/test/CodeGen/AArch64/sme-intrinsics-mops.ll
M llvm/test/CodeGen/AArch64/sme-intrinsics-stores.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-add-sub-za16.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-add.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-cvt.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-cvtl.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-cvtn.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-extract-mova.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-fmlas.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-fmlas16.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-fp-dots.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-frint.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-insert-mova.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-int-dots.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-ld1.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-ldnt1.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-luti2-lane-x2.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-luti2-lane-x4.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-luti2-lane.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-luti4-lane-x2.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-luti4-lane-x4.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-luti4-lane.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-max.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-min.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-mlall.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-mlals.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-mop.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-mopa.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-qcvt.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-qcvtn.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-qrshr.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-rshl.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-select-sme-tileslice.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-sqdmulh.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-sub.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-vdot.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-zero-zt.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-zt0.ll
A llvm/test/CodeGen/AArch64/sme2p1-intrinsics-movaz.ll
M llvm/test/CodeGen/AArch64/sme2p1-intrinsics-zero.ll
M llvm/test/CodeGen/AArch64/sve-callee-save-restore-pairs.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-contiguous-prefetches.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-conversion.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-counting-bits.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-counting-elems.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-fp-converts.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-ldN-sret-reg+imm-addr-mode.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-ldN-sret-reg+reg-addr-mode.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-logical.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-pred-creation.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-pred-operations.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-pred-testing.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-reinterpret.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-reversal.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-sel.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-sqdec.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-sqinc.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-st1-addressing-mode-reg-imm.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-st1-addressing-mode-reg-reg.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-st1.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-stN-reg-imm-addr-mode.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-stN-reg-reg-addr-mode.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-stores.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-uqdec.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-uqinc.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-while.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-reshuffle.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-binary-narrowing-add-sub.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-binary-narrowing-shr.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-complex-dot.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-contiguous-conflict-detection.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-fp-converts.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-fp-int-binary-logarithm.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-fp-widening-mul-acc.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-int-mul-lane.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-non-widening-pairwise-arith.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-polynomial-arithmetic.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-psel.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-revd.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-unary-narrowing.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-uniform-complex-arith.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-while-reversed.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-while.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-widening-complex-int-arith.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-widening-dsp.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-widening-pairwise-arith.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-cntp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-dots.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-fclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-fp-reduce.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-int-reduce.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-loads.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-predicate-as-counter.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-sclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-selx2.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-selx4.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-stores.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-uclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-unpk.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-uzpx2.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-uzpx4.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-while-pn.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-zipx2.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-zipx4.ll
A llvm/test/CodeGen/AArch64/taildup-ssa-update-pr62712.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/atomic_optimizations_mul_one.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch-init.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-constant.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/smrd.ll
M llvm/test/CodeGen/AMDGPU/atomic_optimization_split_dt_update.ll
M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmax.ll
M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmin.ll
M llvm/test/CodeGen/AMDGPU/cgp-addressing-modes-smem.ll
A llvm/test/CodeGen/AMDGPU/convergence-laneops.ll
M llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fadd.ll
M llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmax.ll
M llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmin.ll
M llvm/test/CodeGen/AMDGPU/gfx12_scalar_subword_loads.ll
M llvm/test/CodeGen/AMDGPU/global-atomic-scan.ll
M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmax.ll
M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmin.ll
M llvm/test/CodeGen/AMDGPU/global-saddr-load.ll
M llvm/test/CodeGen/AMDGPU/global_atomic_optimizer_fp_rtn.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_iterative_scan.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_iterative_scan_fp.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_optimizer_fp_no_rtn.ll
M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.ptr.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane64.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane64.ptr.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.readfirstlane.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.readfirstlane.ptr.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.readlane.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.readlane.ptr.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.writelane.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.writelane.ptr.ll
M llvm/test/CodeGen/AMDGPU/llvm.maximum.f64.ll
M llvm/test/CodeGen/AMDGPU/llvm.minimum.f64.ll
M llvm/test/CodeGen/AMDGPU/llvm.prefetch.ll
M llvm/test/CodeGen/AMDGPU/load-constant-i1.ll
M llvm/test/CodeGen/AMDGPU/load-constant-i16.ll
M llvm/test/CodeGen/AMDGPU/load-constant-i8.ll
M llvm/test/CodeGen/AMDGPU/occupancy-levels.ll
M llvm/test/CodeGen/AMDGPU/preserve-wwm-copy-dst-reg.ll
M llvm/test/CodeGen/AMDGPU/sgpr-regalloc-flags.ll
M llvm/test/CodeGen/AMDGPU/si-lower-sgpr-spills-vgpr-lanes-usage.mir
M llvm/test/CodeGen/AMDGPU/smrd.ll
M llvm/test/CodeGen/AMDGPU/spill-scavenge-offset.ll
M llvm/test/CodeGen/ARM/GlobalISel/fpenv.ll
M llvm/test/CodeGen/ARM/constant-islands-split-IT.mir
A llvm/test/CodeGen/ARM/ldexp.ll
A llvm/test/CodeGen/DirectX/ContainerData/PipelineStateValidation.ll
M llvm/test/CodeGen/Hexagon/swp-ws-dead-def.mir
M llvm/test/CodeGen/Hexagon/swp-ws-exp-dbg.mir
M llvm/test/CodeGen/Hexagon/swp-ws-exp.mir
M llvm/test/CodeGen/Hexagon/swp-ws-fail-0.mir
M llvm/test/CodeGen/Hexagon/swp-ws-fail-1.mir
M llvm/test/CodeGen/Hexagon/swp-ws-fail-2.mir
A llvm/test/CodeGen/Hexagon/swp-ws-fail-3.mir
M llvm/test/CodeGen/Hexagon/swp-ws-meta-instr.mir
M llvm/test/CodeGen/Hexagon/swp-ws-phi.mir
M llvm/test/CodeGen/Hexagon/swp-ws-sqrt.mir
M llvm/test/CodeGen/Hexagon/swp-ws-weak-dep.mir
M llvm/test/CodeGen/LoongArch/machinelicm-address-pseudos.ll
M llvm/test/CodeGen/LoongArch/psabi-restricted-scheduling.ll
A llvm/test/CodeGen/MIR/Generic/bfloat-immediates.mir
M llvm/test/CodeGen/NVPTX/combine-mad.ll
M llvm/test/CodeGen/NVPTX/f16-instructions.ll
A llvm/test/CodeGen/NVPTX/lower-args-gridconstant.ll
A llvm/test/CodeGen/NVPTX/max-align.ll
A llvm/test/CodeGen/NVPTX/mma-no-sink-after-laneid-check.ll
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/fcmp-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/fcmp-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/fp-arith-f16.mir
M llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/fp-arith.mir
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/fp-constant-f16.mir
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/fp-ext-trunc-f16.mir
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/fptoi-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/fptoi-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/is-fpclass-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/is-fpclass-f16-rv64.mir
M llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/is-fpclass-rv32.mir
M llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/is-fpclass-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/itofp-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/itofp-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/vec-store.ll
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-fcmp-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-fcmp-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-fp-arith-f16.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-fp-ext-trunc-f16.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-fptoi-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-fptoi-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-is-fpclass-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-is-fpclass-f16-rv64.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-is-fpclass-rv32.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-is-fpclass-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-itofp-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-itofp-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/fcmp-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/fcmp-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/fp-arith-f16.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/fp-ext-trunc-f16.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/fptoi-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/fptoi-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/is-fpclass-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/is-fpclass-f16-rv64.mir
M llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/is-fpclass-rv32.mir
M llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/is-fpclass-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/itofp-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/itofp-f16-rv64.mir
M llvm/test/CodeGen/RISCV/rv32zbb.ll
M llvm/test/CodeGen/RISCV/rv64zbb.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-select-fp.ll
A llvm/test/CodeGen/SPIRV/const-array-in-struct.ll
A llvm/test/CodeGen/SPIRV/const-nested-vecs.ll
M llvm/test/CodeGen/SPIRV/extensions/SPV_EXT_shader_atomic_float_add/atomicrmw_faddfsub_float.ll
A llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_cooperative_matrix/cooperative_matrix.ll
M llvm/test/CodeGen/SPIRV/opencl/image.ll
A llvm/test/CodeGen/SPIRV/pointers/global-zeroinitializer.ll
A llvm/test/CodeGen/SPIRV/pointers/irtrans-added-int-const-32-64.ll
M llvm/test/CodeGen/SPIRV/transcoding/OpGenericCastToPtr.ll
A llvm/test/CodeGen/SPIRV/transcoding/OpPtrCastToGeneric.ll
A llvm/test/CodeGen/SPIRV/var-uniform-const.ll
M llvm/test/CodeGen/WebAssembly/half-precision.ll
A llvm/test/CodeGen/WebAssembly/target-features-attrs.ll
A llvm/test/CodeGen/WebAssembly/target-features-cpus.ll
R llvm/test/CodeGen/WebAssembly/target-features.ll
M llvm/test/CodeGen/X86/apx/adc.ll
M llvm/test/CodeGen/X86/apx/add.ll
M llvm/test/CodeGen/X86/apx/and.ll
M llvm/test/CodeGen/X86/apx/compress-evex.mir
M llvm/test/CodeGen/X86/apx/ctest.ll
M llvm/test/CodeGen/X86/apx/dec.ll
M llvm/test/CodeGen/X86/apx/inc.ll
M llvm/test/CodeGen/X86/apx/neg.ll
M llvm/test/CodeGen/X86/apx/not.ll
M llvm/test/CodeGen/X86/apx/or.ll
M llvm/test/CodeGen/X86/apx/sar.ll
M llvm/test/CodeGen/X86/apx/sbb.ll
A llvm/test/CodeGen/X86/apx/setzucc.ll
M llvm/test/CodeGen/X86/apx/shl.ll
M llvm/test/CodeGen/X86/apx/shr.ll
M llvm/test/CodeGen/X86/apx/sub.ll
M llvm/test/CodeGen/X86/apx/xor.ll
M llvm/test/CodeGen/X86/avg.ll
M llvm/test/CodeGen/X86/avgceils-scalar.ll
M llvm/test/CodeGen/X86/avgceilu-scalar.ll
M llvm/test/CodeGen/X86/avgfloors-scalar.ll
M llvm/test/CodeGen/X86/avgflooru-scalar.ll
M llvm/test/CodeGen/X86/avx2-arith.ll
R llvm/test/CodeGen/X86/clz.ll
A llvm/test/CodeGen/X86/ctlo.ll
A llvm/test/CodeGen/X86/ctlz.ll
A llvm/test/CodeGen/X86/cttz.ll
M llvm/test/CodeGen/X86/ldexp.ll
M llvm/test/CodeGen/X86/llvm.frexp.ll
M llvm/test/CodeGen/X86/midpoint-int-vec-128.ll
M llvm/test/CodeGen/X86/midpoint-int-vec-256.ll
M llvm/test/CodeGen/X86/min-legal-vector-width.ll
M llvm/test/CodeGen/X86/pmul.ll
M llvm/test/CodeGen/X86/popcnt.ll
M llvm/test/CodeGen/X86/prefer-avx256-wide-mul.ll
M llvm/test/CodeGen/X86/stack-protector-msvc.ll
M llvm/test/CodeGen/X86/tailcc-ssp.ll
M llvm/test/CodeGen/X86/vector-shuffle-combining-sse41.ll
A llvm/test/CodeGen/Xtensa/blockaddress.ll
A llvm/test/CodeGen/Xtensa/brcc.ll
A llvm/test/CodeGen/Xtensa/indirectbr.ll
A llvm/test/CodeGen/Xtensa/jumpt.ll
M llvm/test/DebugInfo/COFF/fission-sections.ll
M llvm/test/DebugInfo/X86/InlinedFnLocalVar.ll
M llvm/test/DebugInfo/X86/ref_addr_relocation.ll
M llvm/test/DebugInfo/attr-btf_type_tag.ll
M llvm/test/DebugInfo/unrolled-loop-remainder.ll
M llvm/test/ExecutionEngine/RuntimeDyld/X86/COFF_x86_64.s
M llvm/test/Feature/load_plugin_error.ll
M llvm/test/Instrumentation/InstrProfiling/mcdc.ll
M llvm/test/MC/AMDGPU/hsa-sym-expr-failure.s
M llvm/test/MC/AMDGPU/hsa-sym-exprs-gfx10.s
M llvm/test/MC/AMDGPU/hsa-sym-exprs-gfx11.s
M llvm/test/MC/AMDGPU/hsa-sym-exprs-gfx12.s
M llvm/test/MC/AMDGPU/hsa-sym-exprs-gfx7.s
M llvm/test/MC/AMDGPU/hsa-sym-exprs-gfx8.s
M llvm/test/MC/AMDGPU/hsa-sym-exprs-gfx90a.s
M llvm/test/MC/AMDGPU/hsa-tg-split.s
M llvm/test/MC/AMDGPU/hsa-v4.s
M llvm/test/MC/AMDGPU/hsa-v5-uses-dynamic-stack.s
M llvm/test/MC/COFF/section-comdat-conflict.s
M llvm/test/MC/COFF/section-comdat.s
A llvm/test/MC/COFF/section-sym-err.s
M llvm/test/MC/WebAssembly/simd-encodings.s
A llvm/test/TableGen/check-duplicate-tuple-regs.td
M llvm/test/Transforms/EarlyCSE/flags.ll
M llvm/test/Transforms/FunctionSpecialization/track-return.ll
A llvm/test/Transforms/Inline/ML/avail-external.ll
A llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-comb-no-active-lanes-loads.ll
M llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll
A llvm/test/Transforms/InstCombine/canonicalize-gep-mul.ll
M llvm/test/Transforms/InstCombine/getelementptr.ll
M llvm/test/Transforms/InstCombine/phi.ll
M llvm/test/Transforms/InstCombine/shift.ll
M llvm/test/Transforms/InstSimplify/phi.ll
M llvm/test/Transforms/LoopDeletion/update-scev.ll
A llvm/test/Transforms/LoopDistribute/debug-loc.ll
A llvm/test/Transforms/LoopDistribute/debug-print.ll
M llvm/test/Transforms/LoopUnroll/ARM/multi-blocks.ll
M llvm/test/Transforms/LoopUnroll/runtime-exit-phi-scev-invalidation.ll
M llvm/test/Transforms/LoopUnroll/runtime-loop-at-most-two-exits.ll
M llvm/test/Transforms/LoopUnroll/runtime-loop-multiple-exits.ll
M llvm/test/Transforms/LoopUnroll/runtime-loop5.ll
M llvm/test/Transforms/LoopUnroll/runtime-multiexit-heuristic.ll
M llvm/test/Transforms/LoopUnroll/runtime-unroll-remainder.ll
M llvm/test/Transforms/LoopUnroll/tripcount-overflow.ll
M llvm/test/Transforms/LoopUnrollAndJam/unroll-and-jam.ll
M llvm/test/Transforms/LoopVectorize/AArch64/conditional-branches-cost.ll
M llvm/test/Transforms/LoopVectorize/AArch64/scalable-reductions.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sme-vectorize.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-gather-scatter.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-illegal-type.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-interleaved-accesses.ll
A llvm/test/Transforms/LoopVectorize/AArch64/sve-invalid-costs.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-widen-phi.ll
M llvm/test/Transforms/LoopVectorize/AArch64/uniform-args-call-variants.ll
M llvm/test/Transforms/LoopVectorize/ARM/mve-hoist-runtime-checks.ll
A llvm/test/Transforms/LoopVectorize/RISCV/only-compute-cost-for-vplan-vfs.ll
M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
A llvm/test/Transforms/LoopVectorize/RISCV/vf-will-not-generate-any-vector-insts.ll
M llvm/test/Transforms/LoopVectorize/SystemZ/addressing.ll
A llvm/test/Transforms/LoopVectorize/WebAssembly/induction-branch-cost.ll
A llvm/test/Transforms/LoopVectorize/WebAssembly/lit.local.cfg
M llvm/test/Transforms/LoopVectorize/X86/cost-model.ll
M llvm/test/Transforms/LoopVectorize/X86/float-induction-x86.ll
M llvm/test/Transforms/LoopVectorize/X86/interleaving.ll
M llvm/test/Transforms/LoopVectorize/X86/optsize.ll
M llvm/test/Transforms/LoopVectorize/create-induction-resume.ll
M llvm/test/Transforms/LoopVectorize/induction.ll
M llvm/test/Transforms/LoopVectorize/interleaved-accesses.ll
M llvm/test/Transforms/LoopVectorize/runtime-checks-hoist.ll
M llvm/test/Transforms/LoopVectorize/scalable-inductions.ll
M llvm/test/Transforms/LoopVectorize/scalable-loop-unpredicated-body-scalar-tail.ll
M llvm/test/Transforms/LoopVectorize/uniform-blend.ll
M llvm/test/Transforms/LoopVectorize/vplan-printing-before-execute.ll
M llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-loops.ll
M llvm/test/Transforms/Mem2Reg/preserve-nonnull-load-metadata.ll
M llvm/test/Transforms/PGOProfile/Inputs/memprof.exe
M llvm/test/Transforms/PGOProfile/Inputs/memprof.memprofraw
M llvm/test/Transforms/PGOProfile/Inputs/memprof.nocolinfo.exe
M llvm/test/Transforms/PGOProfile/Inputs/memprof.nocolinfo.memprofraw
M llvm/test/Transforms/PGOProfile/Inputs/memprof_internal_linkage.exe
M llvm/test/Transforms/PGOProfile/Inputs/memprof_internal_linkage.memprofraw
M llvm/test/Transforms/PGOProfile/Inputs/memprof_loop_unroll.exe
M llvm/test/Transforms/PGOProfile/Inputs/memprof_loop_unroll.memprofraw
M llvm/test/Transforms/PGOProfile/Inputs/memprof_missing_leaf.exe
M llvm/test/Transforms/PGOProfile/Inputs/memprof_missing_leaf.memprofraw
M llvm/test/Transforms/PGOProfile/memprof_internal_linkage.ll
M llvm/test/Transforms/PhaseOrdering/AArch64/interleavevectorization.ll
M llvm/test/Transforms/PhaseOrdering/X86/pr67803.ll
M llvm/test/Transforms/SCCP/2009-01-14-IPSCCP-Invoke.ll
M llvm/test/Transforms/SCCP/apint-ipsccp2.ll
M llvm/test/Transforms/SCCP/arg-count-mismatch.ll
M llvm/test/Transforms/SCCP/indirectbr.ll
M llvm/test/Transforms/SCCP/ip-constant-ranges.ll
M llvm/test/Transforms/SCCP/ip-ranges-phis.ll
M llvm/test/Transforms/SCCP/ip-ranges-select.ll
M llvm/test/Transforms/SCCP/ipsccp-basic.ll
M llvm/test/Transforms/SCCP/ipsccp-clear-returned.ll
M llvm/test/Transforms/SCCP/ipsccp-noundef.ll
M llvm/test/Transforms/SCCP/ipsccp-preserve-analysis.ll
M llvm/test/Transforms/SCCP/issue59602-assume-like-call-users.ll
M llvm/test/Transforms/SCCP/metadata.ll
M llvm/test/Transforms/SCCP/musttail-call.ll
M llvm/test/Transforms/SCCP/range-and-ip.ll
M llvm/test/Transforms/SCCP/range-attribute.ll
M llvm/test/Transforms/SCCP/remove-call-inst.ll
M llvm/test/Transforms/SCCP/resolvedundefsin-tracked-fn.ll
M llvm/test/Transforms/SCCP/return-constant.ll
M llvm/test/Transforms/SCCP/solve-after-each-resolving-undefs-for-function.ll
M llvm/test/Transforms/SCCP/struct-arg-resolve-undefs.ll
M llvm/test/Transforms/SLPVectorizer/RISCV/shuffled-gather-casted.ll
A llvm/test/Transforms/SLPVectorizer/X86/insertelement-uses-vectorized-index.ll
M llvm/test/Transforms/SimplifyCFG/ForwardSwitchConditionToPHI.ll
M llvm/test/Transforms/SimplifyCFG/Hexagon/switch-to-lookup-table.ll
M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity-concat.ll
M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll
M llvm/test/Verifier/AMDGPU/intrinsic-immarg.ll
M llvm/test/tools/llc/new-pm/pipeline.mir
M llvm/test/tools/llvm-dwp/X86/merge.test
A llvm/test/tools/llvm-dwp/X86/merge_v5.test
M llvm/test/tools/llvm-ifs/write-stub.test
A llvm/test/tools/llvm-mca/RISCV/SyntacoreSCR/SCR3-ALU.s
A llvm/test/tools/llvm-mca/RISCV/SyntacoreSCR/SCR3-LSU.s
A llvm/test/tools/llvm-profdata/Inputs/basic-histogram.memprofexe
A llvm/test/tools/llvm-profdata/Inputs/basic-histogram.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/basic.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/basic.memprofraw
A llvm/test/tools/llvm-profdata/Inputs/basic_v3.memprofexe
A llvm/test/tools/llvm-profdata/Inputs/basic_v3.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/buildid.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/buildid.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/inline.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/inline.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/multi.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/multi.memprofraw
A llvm/test/tools/llvm-profdata/Inputs/padding-histogram.memprofexe
A llvm/test/tools/llvm-profdata/Inputs/padding-histogram.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/pic.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/pic.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/update_memprof_inputs.sh
A llvm/test/tools/llvm-profdata/memprof-basic-histogram.test
M llvm/test/tools/llvm-profdata/memprof-basic.test
A llvm/test/tools/llvm-profdata/memprof-basic_v3.test
M llvm/test/tools/llvm-profdata/memprof-inline.test
M llvm/test/tools/llvm-profdata/memprof-multi.test
A llvm/test/tools/llvm-profdata/memprof-padding-histogram.test
M llvm/test/tools/llvm-profdata/memprof-pic.test
M llvm/test/tools/llvm-profdata/vtable-value-prof.test
M llvm/test/tools/llvm-readobj/ELF/dynamic-malformed.test
M llvm/test/tools/llvm-readobj/ELF/dynamic-tags.test
M llvm/test/tools/llvm-readobj/ELF/loadname.test
M llvm/test/tools/llvm-split/AMDGPU/address-taken-externalize-with-call.ll
M llvm/test/tools/llvm-split/AMDGPU/address-taken-externalize.ll
A llvm/test/tools/llvm-split/AMDGPU/debug-non-kernel-root.ll
M llvm/test/tools/llvm-split/AMDGPU/large-kernels-merging.ll
A llvm/test/tools/llvm-split/AMDGPU/non-kernels-dependencies.ll
A llvm/test/tools/llvm-split/AMDGPU/non-kernels-dependency-indirect.ll
M llvm/tools/llvm-c-test/echo.cpp
M llvm/tools/llvm-jitlink/llvm-jitlink.cpp
M llvm/tools/llvm-profdata/llvm-profdata.cpp
M llvm/tools/llvm-readobj/ELFDumper.cpp
M llvm/unittests/ADT/APFloatTest.cpp
M llvm/unittests/ADT/SetOperationsTest.cpp
M llvm/unittests/ADT/SmallPtrSetTest.cpp
M llvm/unittests/Analysis/MLModelRunnerTest.cpp
M llvm/unittests/CodeGen/GlobalISel/MachineIRBuilderTest.cpp
M llvm/unittests/CodeGen/MLRegAllocDevelopmentFeatures.cpp
M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
M llvm/unittests/IR/ConstantRangeListTest.cpp
M llvm/unittests/IR/VectorBuilderTest.cpp
M llvm/unittests/MC/AMDGPU/CMakeLists.txt
R llvm/unittests/MC/AMDGPU/SIProgramInfoMCExprs.cpp
M llvm/unittests/ProfileData/MemProfTest.cpp
M llvm/unittests/Transforms/Vectorize/VPlanTest.cpp
M llvm/utils/TableGen/ARMTargetDefEmitter.cpp
M llvm/utils/TableGen/Common/CodeGenRegisters.cpp
M llvm/utils/TableGen/ExegesisEmitter.cpp
M llvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn
M mlir/docs/DialectConversion.md
M mlir/include/mlir-c/Dialect/GPU.h
A mlir/include/mlir/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.h
M mlir/include/mlir/Conversion/Passes.h
M mlir/include/mlir/Conversion/Passes.td
M mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
M mlir/include/mlir/Dialect/ArmSME/Transforms/Passes.td
M mlir/include/mlir/Dialect/ControlFlow/IR/ControlFlowOps.td
M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
M mlir/include/mlir/Dialect/Linalg/Utils/Utils.h
M mlir/include/mlir/Dialect/OpenMP/OpenMPClauseOperands.h
M mlir/include/mlir/Dialect/OpenMP/OpenMPEnums.td
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/include/mlir/Target/LLVM/ROCDL/Utils.h
M mlir/include/mlir/Transforms/DialectConversion.h
M mlir/lib/Analysis/DataFlow/IntegerRangeAnalysis.cpp
M mlir/lib/Bindings/Python/DialectGPU.cpp
M mlir/lib/CAPI/Dialect/GPU.cpp
M mlir/lib/Conversion/CMakeLists.txt
A mlir/lib/Conversion/ConvertToSPIRV/CMakeLists.txt
A mlir/lib/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.cpp
M mlir/lib/Conversion/FuncToLLVM/FuncToLLVM.cpp
M mlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp
M mlir/lib/Conversion/LLVMCommon/TypeConverter.cpp
M mlir/lib/Dialect/Affine/Transforms/LoopFusion.cpp
M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
M mlir/lib/Dialect/ArmSME/Transforms/EnableArmStreaming.cpp
M mlir/lib/Dialect/ArmSME/Transforms/VectorLegalization.cpp
M mlir/lib/Dialect/Bufferization/Transforms/OwnershipBasedBufferDeallocation.cpp
M mlir/lib/Dialect/ControlFlow/IR/ControlFlowOps.cpp
M mlir/lib/Dialect/GPU/Transforms/NVVMAttachTarget.cpp
M mlir/lib/Dialect/GPU/Transforms/ROCDLAttachTarget.cpp
M mlir/lib/Dialect/GPU/Transforms/SPIRVAttachTarget.cpp
M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
M mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp
M mlir/lib/Dialect/Mesh/Interfaces/ShardingInterface.cpp
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
M mlir/lib/Dialect/Transform/Interfaces/MatchInterfaces.cpp
M mlir/lib/Dialect/Vector/Transforms/LowerVectorGather.cpp
M mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp
M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
M mlir/lib/IR/AffineMap.cpp
M mlir/lib/Target/LLVM/CMakeLists.txt
M mlir/lib/Target/LLVM/ROCDL/Target.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/lib/Tools/mlir-pdll-lsp-server/PDLLServer.cpp
M mlir/lib/Transforms/Utils/DialectConversion.cpp
A mlir/test/Conversion/ConvertToSPIRV/arith.mlir
A mlir/test/Conversion/ConvertToSPIRV/combined.mlir
A mlir/test/Conversion/ConvertToSPIRV/index.mlir
A mlir/test/Conversion/ConvertToSPIRV/scf.mlir
A mlir/test/Conversion/ConvertToSPIRV/simple.mlir
A mlir/test/Conversion/ConvertToSPIRV/ub.mlir
A mlir/test/Conversion/ConvertToSPIRV/vector.mlir
M mlir/test/Dialect/Arith/canonicalize.mlir
M mlir/test/Dialect/Arith/int-range-interface.mlir
M mlir/test/Dialect/ArmSME/enable-arm-streaming-invalid.mlir
M mlir/test/Dialect/ArmSME/enable-arm-streaming.mlir
M mlir/test/Dialect/ArmSME/vector-legalization.mlir
A mlir/test/Dialect/Bufferization/Transforms/OwnershipBasedBufferDeallocation/misc-other.mlir
M mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize.mlir
A mlir/test/Dialect/Linalg/rank-reduce-contraction-ops.mlir
M mlir/test/Dialect/OpenMP/invalid.mlir
M mlir/test/Dialect/OpenMP/ops.mlir
M mlir/test/Dialect/Tensor/fold-tensor-subset-ops-into-vector-transfers.mlir
M mlir/test/Dialect/Tensor/fold-tensor-subset-ops.mlir
M mlir/test/Dialect/Vector/fold-arith-extf-into-vector-contract.mlir
M mlir/test/Dialect/Vector/vector-gather-lowering.mlir
M mlir/test/Dialect/Vector/vector-rewrite-narrow-types.mlir
M mlir/test/Examples/NVGPU/Ch1.py
M mlir/test/Examples/NVGPU/Ch2.py
M mlir/test/Examples/NVGPU/Ch3.py
M mlir/test/Examples/NVGPU/Ch4.py
M mlir/test/Examples/NVGPU/Ch5.py
M mlir/test/Integration/Dialect/Linalg/CPU/ArmSME/multi-tile-matmul.mlir
M mlir/test/Integration/GPU/CUDA/sm90/python/tools/matmulBuilder.py
A mlir/test/Target/LLVMIR/omptarget-fortran-common-block-host.mlir
M mlir/test/Target/LLVMIR/openmp-private.mlir
M mlir/test/Transforms/test-legalize-type-conversion.mlir
M mlir/test/lib/Dialect/Linalg/CMakeLists.txt
A mlir/test/lib/Dialect/Linalg/TestLinalgRankReduceContractionOps.cpp
M mlir/tools/mlir-opt/mlir-opt.cpp
A offload/test/offloading/fortran/target-map-all-common-block-members.f90
A offload/test/offloading/fortran/target-map-common-block.f90
A offload/test/offloading/fortran/target-map-declare-target-link-common-block.f90
A offload/test/offloading/fortran/target-map-first-common-block-member.f90
A offload/test/offloading/fortran/target-map-mix-imp-exp-common-block-members.f90
A offload/test/offloading/fortran/target-map-second-common-block-member.f90
M openmp/runtime/src/dllexports
M openmp/runtime/src/kmp.h
M openmp/runtime/src/kmp_csupport.cpp
M openmp/runtime/src/kmp_runtime.cpp
A openmp/runtime/test/parallel/omp_parallel_num_threads_list.c
A openmp/runtime/test/parallel/omp_parallel_num_threads_strict.c
M runtimes/cmake/Modules/WarningFlags.cmake
M utils/bazel/llvm-project-overlay/lldb/BUILD.bazel
M utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
A utils/bazel/llvm-project-overlay/lldb/tools/lldb-dap/BUILD.bazel
M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
run 'git merge main' and fix compiler-rt test
Compare: https://github.com/llvm/llvm-project/compare/7cd8630980fd...ac105136d189
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