[all-commits] [llvm/llvm-project] 80b78f: [RISCV] Update fold-scalar-load-crash.ll
Paul Kirth via All-commits
all-commits at lists.llvm.org
Wed Jun 5 14:08:36 PDT 2024
Branch: refs/heads/users/ilovepi/spr/main.llvmprofdatautils-provide-getnumbranchweights-api
Home: https://github.com/llvm/llvm-project
Commit: 80b78f5fb30c43cd88f0d096081bc7f1509b0110
https://github.com/llvm/llvm-project/commit/80b78f5fb30c43cd88f0d096081bc7f1509b0110
Author: Wang Pengcheng <wangpengcheng.pp at bytedance.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/fold-scalar-load-crash.ll
Log Message:
-----------
[RISCV] Update fold-scalar-load-crash.ll
So that the loop won't be hoisted completely.
Commit: f31b197d9df141effd439de8be51ce24f3e8f200
https://github.com/llvm/llvm-project/commit/f31b197d9df141effd439de8be51ce24f3e8f200
Author: Martin Storsjö <martin at martin.st>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M clang/unittests/StaticAnalyzer/MemRegionDescriptiveNameTest.cpp
Log Message:
-----------
[analyzer] Fix a test issue in mingw configurations (#92737)
On Windows, long is always 32 bit, thus one can't use long for casting
pointers to integers, on 64 bit architectures.
Instead use long long, which should be large enough.
This avoids errors like "error: cast from pointer to smaller type 'long'
loses information" in this testcase.
This condition only seems to be an error in mingw mode; in MSVC mode
(clang-cl), this is only a warning.
Commit: 243ffbdf8b25285d04ee4393e86094312cb7c64f
https://github.com/llvm/llvm-project/commit/243ffbdf8b25285d04ee4393e86094312cb7c64f
Author: eaeltsin <109593613+eaeltsin at users.noreply.github.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
M llvm/test/Transforms/DeadStoreElimination/simple.ll
Log Message:
-----------
[DSE] Check write location in IsRedundantStore (#93400)
Fix https://github.com/llvm/llvm-project/issues/93298.
Commit: 0f85b25f51a3e06c48b3fe8042a3de1cf0e635d7
https://github.com/llvm/llvm-project/commit/0f85b25f51a3e06c48b3fe8042a3de1cf0e635d7
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M clang/test/SemaTemplate/deduction-guide.cpp
Log Message:
-----------
[clang] NFC: add a test case for TemplateName canonical type print issue
Commit: 76b9d38934572909ffc8c8ef4cd45407f22e6ea7
https://github.com/llvm/llvm-project/commit/76b9d38934572909ffc8c8ef4cd45407f22e6ea7
Author: Balázs Kéri <balazs.keri at ericsson.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M clang/docs/analyzer/checkers.rst
M clang/lib/StaticAnalyzer/Checkers/PutenvStackArrayChecker.cpp
M clang/test/Analysis/putenv-stack-array.c
Log Message:
-----------
[clang][analyzer] PutenvStackArrayChecker: No warning from 'main' (#93299)
Commit: 7429950d840b8fec3d9a48d00e612a3240c2be83
https://github.com/llvm/llvm-project/commit/7429950d840b8fec3d9a48d00e612a3240c2be83
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M clang/lib/Sema/SemaCodeComplete.cpp
M clang/test/CodeCompletion/member-access.cpp
Log Message:
-----------
[clang][CodeComplete] Recurse into the subexpression of deref operator in getApproximateType (#93404)
The issue with the previous implementation bc31be7 was that
getApproximateType could potentially return a null QualType for a
dereferencing operator, which is not what its caller wants.
Commit: 2b78c641525b7cea9dec8125b7f5cd06d7ce8fff
https://github.com/llvm/llvm-project/commit/2b78c641525b7cea9dec8125b7f5cd06d7ce8fff
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M flang/include/flang/Runtime/support.h
M flang/runtime/support.cpp
M flang/unittests/Runtime/CMakeLists.txt
A flang/unittests/Runtime/Support.cpp
Log Message:
-----------
[flang] add API to copy and update descriptors for assumed ranks (#93305)
When passing assumed-rank around, the lower bounds, dynamic type and
attribute must sometimes be updated to match the dummy attributes. See
https://github.com/llvm/llvm-project/blob/main/flang/docs/AssumedRank.md#annex-1---descriptor-temporary-for-the-dummy-arguments
for more details.
Doing it inline would require generating many instructions and block CFG
at the LLVM IR dialect level in codegen. Go for a simple runtime API
instead.
A matching fir.rebox_assumed_rank operation will be created and will
allow for easier future optimizations when inlining is done in FIR.
Commit: 43fd244b3d5c08bfd3aad0913b0fe84339842f4e
https://github.com/llvm/llvm-project/commit/43fd244b3d5c08bfd3aad0913b0fe84339842f4e
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
A llvm/lib/Target/AMDGPU/AMDGPUSplitModule.cpp
A llvm/lib/Target/AMDGPU/AMDGPUSplitModule.h
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
M llvm/lib/Target/AMDGPU/CMakeLists.txt
A llvm/test/tools/llvm-split/AMDGPU/address-taken-externalize-with-call.ll
A llvm/test/tools/llvm-split/AMDGPU/address-taken-externalize.ll
A llvm/test/tools/llvm-split/AMDGPU/debug-name-hiding.ll
A llvm/test/tools/llvm-split/AMDGPU/kernels-alias-dependencies.ll
A llvm/test/tools/llvm-split/AMDGPU/kernels-cost-ranking.ll
A llvm/test/tools/llvm-split/AMDGPU/kernels-dependencies.ll
A llvm/test/tools/llvm-split/AMDGPU/kernels-dependency-duplication.ll
A llvm/test/tools/llvm-split/AMDGPU/kernels-dependency-external.ll
A llvm/test/tools/llvm-split/AMDGPU/kernels-dependency-indirect.ll
A llvm/test/tools/llvm-split/AMDGPU/kernels-dependency-overridable.ll
A llvm/test/tools/llvm-split/AMDGPU/kernels-global-variables-noexternal.ll
A llvm/test/tools/llvm-split/AMDGPU/kernels-global-variables.ll
A llvm/test/tools/llvm-split/AMDGPU/kernels-load-balancing.ll
A llvm/test/tools/llvm-split/AMDGPU/kernels-no-dependencies.ll
A llvm/test/tools/llvm-split/AMDGPU/large-kernels-merging.ll
A llvm/test/tools/llvm-split/AMDGPU/lit.local.cfg
Log Message:
-----------
Reland "[AMDGPU] Add AMDGPU-specific module splitting (#89245)"
(with fix for ubsan)
This enables the --lto-partitions option to work more consistently.
This module splitting logic is fully aware of AMDGPU modules and their
specificities and takes advantage of
them to split modules in a way that avoids compilation issue (such as
resource usage being incorrectly represented).
This also includes a logging system that's more elaborate than just
LLVM_DEBUG which allows
printing logs to uniquely named files, and optionally with all value
names hidden so they can be safely shared without leaking informatiton
about the source. Logs can also be enabled through an environment
variable, which avoids the sometimes complicated process of passing a
-mllvm option all the way from clang driver to the offload linker that
handles full LTO codegen.
Commit: cc184eea80ca908b647b5f9a0de79b9965b565a8
https://github.com/llvm/llvm-project/commit/cc184eea80ca908b647b5f9a0de79b9965b565a8
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn
Log Message:
-----------
[gn build] Port 43fd244b3d5c
Commit: b0b35964042294d407a995a8407ee5ba93ba5a4b
https://github.com/llvm/llvm-project/commit/b0b35964042294d407a995a8407ee5ba93ba5a4b
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIRAttr.td
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/test/Fir/fir-ops.fir
M flang/test/Fir/invalid.fir
Log Message:
-----------
[flang] add fir.rebox_assumed_rank operation (#93334)
As described in https://github.com/llvm/llvm-project/blob/main/flang/docs/AssumedRank.md,
add an operation to make copies of assumed-rank descriptors where lower
bounds, attributes, or dynamic type may have been changed.
Commit: f1d13bbd6662969ad9e57a7938967217602636c5
https://github.com/llvm/llvm-project/commit/f1d13bbd6662969ad9e57a7938967217602636c5
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/FIRBuilder.h
M flang/include/flang/Optimizer/Builder/Runtime/RTBuilder.h
A flang/include/flang/Optimizer/Builder/Runtime/Support.h
M flang/include/flang/Optimizer/Dialect/FIRType.h
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/Builder/CMakeLists.txt
A flang/lib/Optimizer/Builder/Runtime/Support.cpp
M flang/lib/Optimizer/Dialect/FIRType.cpp
A flang/lib/Optimizer/Transforms/AssumedRankOpConversion.cpp
M flang/lib/Optimizer/Transforms/CMakeLists.txt
M flang/test/Driver/bbc-mlir-pass-pipeline.f90
M flang/test/Driver/mlir-debug-pass-pipeline.f90
M flang/test/Driver/mlir-pass-pipeline.f90
M flang/test/Fir/basic-program.fir
A flang/test/Fir/rebox_assumed_rank_codegen.fir
Log Message:
-----------
[flang] add FIR to FIR pass to lower assumed-rank operations (#93344)
Add pass to lower assumed-rank operations. The current patch adds
codegen for fir.rebox_assumed_rank. It will be the pass lowering
fir.select_rank.
fir.rebox_assumed_rank is lowered to a call to CopyAndUpdateDescriptor
runtime API.
Note that the lowering ends-up allocating two new descriptors at the
LLVM level (one alloca created by the pass for the CopyAndUpdateDescriptor
result descriptor argument, the second one is created by the fir.load
of the result descriptor in codegen).
LLVM is currently unable to properly optimize and merge those allocas.
The "nocapture" attribute added to CopyAndUpdateDescriptor arguments
gives part of the information to LLVM, but the fir.load codegen of
descriptors must be updated to use llvm.memcpy instead of
llvm.load+store to allow LLVM to optimize it. This will be done in later patch.
Commit: c1ac6d2dd4ad3b15756d53b4b294843de4c141c2
https://github.com/llvm/llvm-project/commit/c1ac6d2dd4ad3b15756d53b4b294843de4c141c2
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M clang/docs/LanguageExtensions.rst
M clang/include/clang/Basic/BuiltinsAMDGPU.def
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/test/CodeGenCXX/builtin-amdgcn-fence.cpp
M clang/test/SemaOpenCL/builtins-amdgcn-error.cl
M llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
A llvm/test/CodeGen/AMDGPU/memory-legalizer-fence-mmra-global.ll
A llvm/test/CodeGen/AMDGPU/memory-legalizer-fence-mmra-local.ll
Log Message:
-----------
[AMDGPU] Add amdgpu-as MMRA for fences (#78572)
Using MMRAs, allow `builtin_amdgcn_fence` to emit fences that only
target one or more address spaces, instead of fencing all address spaces
at once.
This is done through a `amdgpu-as` MMRA. Currently focused on OpenCL
fences, but can very easily support more AS names and codegen on more
than just fences.
Commit: 7a28a5b3fee6c78ad59af79a3d03c00db153c49f
https://github.com/llvm/llvm-project/commit/7a28a5b3fee6c78ad59af79a3d03c00db153c49f
Author: kadir çetinkaya <kadircet at google.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaOverload.cpp
M clang/test/SemaCXX/overload-template.cpp
Log Message:
-----------
[clang][Sema] Fix crash when diagnosing candidates with parameter packs (#93079)
Prevent OOB access by not printing target parameter range when there's a
pack in the function parameters.
Fixes https://github.com/llvm/llvm-project/issues/93076.
Fixes https://github.com/llvm/llvm-project/issues/76354.
Fixes https://github.com/llvm/llvm-project/issues/70191.
Commit: 4447461bc4802d4ead02db61c5276c142df3fd0c
https://github.com/llvm/llvm-project/commit/4447461bc4802d4ead02db61c5276c142df3fd0c
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/SemaCXX/recovery-expr-type.cpp
Log Message:
-----------
[clang][Interp] Don't try to dereference a null type
Commit: 1e6a82b8ef19abdc45fc72c309b0bef6cb6eda72
https://github.com/llvm/llvm-project/commit/1e6a82b8ef19abdc45fc72c309b0bef6cb6eda72
Author: Mirko Brkušanin <Mirko.Brkusanin at amd.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUGISel.td
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.h
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/SIInstructions.td
A llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.load.tfe.ll
A llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.struct.buffer.load.tfe.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.buffer.load.tfe.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.buffer.load.tfe.ll
Log Message:
-----------
[AMDGPU] Legalize and select raw/struct_buffer_load with tfe (#93310)
Commit: 8def1288d226008fe7a9128f1d81d6dfa172387e
https://github.com/llvm/llvm-project/commit/8def1288d226008fe7a9128f1d81d6dfa172387e
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M llvm/include/llvm/ADT/GenericUniformityImpl.h
Log Message:
-----------
[UniformityAnalysis] Use DenseSet for DivergentValues (#93455)
Values are small, and std::set is just unnecessarily expensive. It stood
out in some quick performance profiling. DenseSet is a better
alternative in this case.
Commit: 0183b58e292d9d7004fabc92bd0da10eba5666db
https://github.com/llvm/llvm-project/commit/0183b58e292d9d7004fabc92bd0da10eba5666db
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaOverload.cpp
M clang/test/SemaCXX/overload-decl.cpp
Log Message:
-----------
[Clang] Correctly diagnose a static function overloading a non-static function (#93460)
Regression in clang 18 introduced by af4751738db89a1
Fixes #93456
Commit: 8760d4ba4cb12d5cac2469f26cd09a2b3acd3c50
https://github.com/llvm/llvm-project/commit/8760d4ba4cb12d5cac2469f26cd09a2b3acd3c50
Author: Marius Brehler <marius.brehler at iml.fraunhofer.de>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M mlir/lib/Dialect/EmitC/IR/EmitC.cpp
Log Message:
-----------
[mlir][EmitC] Update comment (NFC)
Commit: 6af4118f1557eb7ac07147607bd23e90c5bf2b35
https://github.com/llvm/llvm-project/commit/6af4118f1557eb7ac07147607bd23e90c5bf2b35
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M flang/include/flang/Lower/AbstractConverter.h
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
M flang/lib/Lower/OpenMP/DataSharingProcessor.h
M flang/lib/Lower/OpenMP/Decomposer.cpp
M flang/lib/Lower/OpenMP/Decomposer.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/test/Lower/OpenMP/Todo/omp-default-clause-inner-loop.f90
M flang/test/Lower/OpenMP/copyin.f90
M flang/test/Lower/OpenMP/critical.f90
M flang/test/Lower/OpenMP/default-clause.f90
M flang/test/Lower/OpenMP/hlfir-seqloop-parallel.f90
M flang/test/Lower/OpenMP/hlfir-wsloop.f90
M flang/test/Lower/OpenMP/lastprivate-iv.f90
M flang/test/Lower/OpenMP/parallel-lastprivate-clause-scalar.f90
M flang/test/Lower/OpenMP/parallel-private-clause-fixes.f90
M flang/test/Lower/OpenMP/parallel-private-clause.f90
M flang/test/Lower/OpenMP/parallel-reduction-allocatable-array.f90
M flang/test/Lower/OpenMP/parallel-reduction3.f90
M flang/test/Lower/OpenMP/parallel-wsloop-firstpriv.f90
M flang/test/Lower/OpenMP/parallel-wsloop.f90
M flang/test/Lower/OpenMP/stop-stmt-in-region.f90
M flang/test/Lower/OpenMP/target.f90
M flang/test/Lower/OpenMP/unstructured.f90
M flang/test/Lower/OpenMP/wsloop-collapse.f90
M flang/test/Lower/OpenMP/wsloop-monotonic.f90
M flang/test/Lower/OpenMP/wsloop-nonmonotonic.f90
M flang/test/Lower/OpenMP/wsloop-reduction-add-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-add-hlfir-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-add-hlfir.f90
M flang/test/Lower/OpenMP/wsloop-reduction-add.f90
M flang/test/Lower/OpenMP/wsloop-reduction-allocatable.f90
M flang/test/Lower/OpenMP/wsloop-reduction-array-assumed-shape.f90
M flang/test/Lower/OpenMP/wsloop-reduction-array.f90
M flang/test/Lower/OpenMP/wsloop-reduction-array2.f90
M flang/test/Lower/OpenMP/wsloop-reduction-iand-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-iand.f90
M flang/test/Lower/OpenMP/wsloop-reduction-ieor-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-ieor.f90
M flang/test/Lower/OpenMP/wsloop-reduction-ior-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-ior.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-and-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-and.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-eqv-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-eqv.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-neqv-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-neqv.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-or-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-or.f90
M flang/test/Lower/OpenMP/wsloop-reduction-max-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-max-hlfir-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-max-hlfir.f90
M flang/test/Lower/OpenMP/wsloop-reduction-max.f90
M flang/test/Lower/OpenMP/wsloop-reduction-min-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-min.f90
M flang/test/Lower/OpenMP/wsloop-reduction-min2.f90
M flang/test/Lower/OpenMP/wsloop-reduction-mul-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-mul.f90
M flang/test/Lower/OpenMP/wsloop-reduction-multiple-clauses.f90
M flang/test/Lower/OpenMP/wsloop-variable.f90
M flang/test/Lower/OpenMP/wsloop.f90
Log Message:
-----------
Reapply #91116 with fix (#93160)
This PR contains 2 commits:
1. A commit to reapply changes introduced #91116 (was reverted earlier
due to test suite failures)
2. A commit containing a possible solution for the issue causing the
test suite failures. In particular, it introduces a simple symbol
visitor class to keep track of the current active OMP construct and
marking this active construct as the scope defining the symbol being
visisted.
Commit: a487616cbf542826d0ba1e7d0dabedca33a27de8
https://github.com/llvm/llvm-project/commit/a487616cbf542826d0ba1e7d0dabedca33a27de8
Author: Shan Huang <52285902006 at stu.ecnu.edu.cn>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/GVNSink.cpp
A llvm/test/Transforms/GVNSink/sink-common-code-dbg.ll
M llvm/test/Transforms/GVNSink/sink-ignore-dbg-intrinsics.ll
Log Message:
-----------
[DebugInfo][GVNSink] Merging debug locations of sinked instructions (#92859)
Fix #85069 .
Commit: b1e329a3f54fbe55fa61c124f94cc6c8509e5423
https://github.com/llvm/llvm-project/commit/b1e329a3f54fbe55fa61c124f94cc6c8509e5423
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M clang/lib/AST/Interp/PrimType.h
Log Message:
-----------
[clang][Interp][NFC] Explicitly define PrimType values
So I don't have to count them down all the time.
Commit: 6a197b35db0805e77d5103382b5b516ca0c2db1d
https://github.com/llvm/llvm-project/commit/6a197b35db0805e77d5103382b5b516ca0c2db1d
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/functions.cpp
Log Message:
-----------
[clang][Interp] Fix returning references to functions
Previously, we pushed a pointer to the stack and later tried to use
it as if it was a function pointer, which doesn't work.
Commit: 21ee27877a87185199d150f9a49f2d3337bad86e
https://github.com/llvm/llvm-project/commit/21ee27877a87185199d150f9a49f2d3337bad86e
Author: Hendrik Hübner <117831077+HendrikHuebner at users.noreply.github.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaChecking.cpp
M clang/test/Sema/atomic-ops.c
Log Message:
-----------
[Clang] Issue an error when an atomic builtin is called with a pointer to a zero-size object (#91057)
When an atomic builtin is called with a pointer to an object of size
zero, an arithmetic exception gets thrown because there is a modulo
operation with the objects size in codegen.
Diagnose this in sema instead.
Fixes #90330.
Commit: 670259466b238176ac302c8dedf806d2b2be7e0c
https://github.com/llvm/llvm-project/commit/670259466b238176ac302c8dedf806d2b2be7e0c
Author: Rouzbeh <rouzbeh.paktinat1 at huawei.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M llvm/lib/Analysis/LoopCacheAnalysis.cpp
M llvm/test/Analysis/LoopCacheAnalysis/PowerPC/LoopnestFixedSize.ll
M llvm/test/Analysis/LoopCacheAnalysis/PowerPC/compute-cost.ll
M llvm/test/Analysis/LoopCacheAnalysis/PowerPC/loads-store.ll
M llvm/test/Analysis/LoopCacheAnalysis/PowerPC/matmul.ll
M llvm/test/Analysis/LoopCacheAnalysis/PowerPC/matvecmul.ll
M llvm/test/Analysis/LoopCacheAnalysis/PowerPC/multi-store.ll
M llvm/test/Analysis/LoopCacheAnalysis/PowerPC/single-store.ll
M llvm/test/Analysis/LoopCacheAnalysis/PowerPC/stencil.ll
M llvm/test/Analysis/LoopCacheAnalysis/compute-cost.ll
A llvm/test/Analysis/LoopCacheAnalysis/interchange-cost-beneficial.ll
M llvm/test/Transforms/LoopInterchange/pr43176-move-to-new-latch.ll
Log Message:
-----------
[LoopCacheAnalysis] Fix loop cache cost to always round the cost up to the nearest integer number (#88915)
Currently loop cache analysis uses following formula to evaluate cost of
an RefGroup for a consecutive memory access:
`RefCost=(TripCount*Stride)/CLS`
This cost evaluates to zero when `TripCount*Stride` is smaller than
cache-line-size. This results in wrong cost value for a loop and
misleads loopInterchange decisions as shown in [this
case](https://llvm.godbolt.org/z/jTz1vn4hn).
This patch fixes the problem by rounding the cost to 1 once this problem
happens.
Commit: 5e140c8a17889a4cc677edee9f5db618dca70535
https://github.com/llvm/llvm-project/commit/5e140c8a17889a4cc677edee9f5db618dca70535
Author: Sirraide <aeternalmail at gmail.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/test/Parser/MicrosoftExtensions.cpp
M clang/test/Sema/builtin-assume.c
M clang/test/Sema/stmtexprs.c
M clang/test/SemaCXX/cxx23-assume.cpp
Log Message:
-----------
[Clang] [NFC] Clarify assume diagnostic (#93077)
Currently, if the argument to `__builtin_assume` and friends contains
side-effects, we issue the following diagnostic:
```
<source>:1:34: warning: the argument to '__builtin_assume' has side
effects that will be discarded [-Wassume]
1 | void f(int x) { __builtin_assume(x++); }
|
```
The issue here is that this diagnostic misrepresents what is actually
happening: not only do we discard the side-effects of the expression,
but we also don’t even emit any assumption information at all because
the backend is not equipped to deal with eliminating side-effects in
cases such as this.
This has caused some confusion (see #91612) beacuse the current wording
of the warning suggests that, sensibly, only the side-effects of the
expression, and not the assumption itself, will be discarded.
This pr updates the diagnostic to state what is actually happening: that
the assumption has no effect at all because its argument contains
side-effects:
```
<source>:1:34: warning: assumption is ignored because it contains
(potential) side-effects [-Wassume]
1 | void f(int x) { __builtin_assume(x++); }
|
```
I’ve deliberately included ‘(potential)’ here because even expressions
that only contain potential side-effects (e.g. `true ? x : x++` or a
call to a function that is pure, but we don’t know that it is) cause the
assumption to be discarded. This, too, has caused some confusion because
it was erroneously assumed that Clang would e.g. infer that a function
call is pure and not discard the assumption as a result when that isn’t
the case.
This is intended to be temporary; we should revert back to the original
diagnostic once we have proper support for assumptions with side-effects
in the backend (in which case the side-effects will still be discarded,
but the assumption won’t)
This fixes #91612.
Commit: 49b760ff2c7da60f4308708f56688ca99874605f
https://github.com/llvm/llvm-project/commit/49b760ff2c7da60f4308708f56688ca99874605f
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/records.cpp
Log Message:
-----------
[clang][Interp] Fix calling virtual CXXOperatorCallExprs
Commit: 8cdecd4d3aedea7bc5f27d1f69da216100cb2815
https://github.com/llvm/llvm-project/commit/8cdecd4d3aedea7bc5f27d1f69da216100cb2815
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm/AsmParser/LLToken.h
M llvm/include/llvm/Bitcode/LLVMBitCodes.h
M llvm/include/llvm/IR/Constants.h
A llvm/include/llvm/IR/GEPNoWrapFlags.h
M llvm/include/llvm/IR/Instructions.h
M llvm/include/llvm/IR/Operator.h
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/AsmParser/LLLexer.cpp
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/IR/AsmWriter.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/lib/IR/Constants.cpp
M llvm/lib/IR/Instruction.cpp
M llvm/lib/IR/Instructions.cpp
M llvm/lib/IR/Operator.cpp
M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
M llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
M llvm/lib/Transforms/Utils/FunctionComparator.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/test/Assembler/flags.ll
M llvm/test/Transforms/InstCombine/freeze.ll
M llvm/test/Transforms/SimplifyCFG/HoistCode.ll
M llvm/test/tools/llvm-reduce/reduce-flags.ll
M llvm/tools/llvm-reduce/deltas/ReduceInstructionFlags.cpp
Log Message:
-----------
[IR] Add getelementptr nusw and nuw flags (#90824)
This implements the `nusw` and `nuw` flags for `getelementptr` as
proposed at
https://discourse.llvm.org/t/rfc-add-nusw-and-nuw-flags-for-getelementptr/78672.
The three possible flags are encapsulated in the new `GEPNoWrapFlags`
class. Currently this class has a ctor from bool, interpreted as the
InBounds flag. This ctor should be removed in the future, as code gets
migrated to handle all flags.
There are a few places annotated with `TODO(gep_nowrap)`, where I've had
to touch code but opted to not infer or precisely preserve the new
flags, so as to keep this as NFC as possible and make sure any changes
of that kind get test coverage when they are made.
Commit: 714aee31e10020fbe2169bdca088545be4bfa4ae
https://github.com/llvm/llvm-project/commit/714aee31e10020fbe2169bdca088545be4bfa4ae
Author: Jakub Kuderski <jakub at nod-labs.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
M mlir/lib/Dialect/Vector/Transforms/LowerVectorInterleave.cpp
M mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp
M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
M mlir/test/Conversion/VectorToSPIRV/vector-to-spirv.mlir
M mlir/test/Dialect/Vector/canonicalize.mlir
M mlir/test/Dialect/Vector/ops.mlir
M mlir/test/Dialect/Vector/vector-interleave-lowering-transforms.mlir
M mlir/test/Dialect/Vector/vector-interleave-to-shuffle.mlir
M mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-scalable-interleave.mlir
M mlir/test/Integration/Dialect/Vector/CPU/test-interleave.mlir
Log Message:
-----------
[mlir][vector] Add result type to `interleave` assembly format (#93392)
This is to make it more obvious for what the result type is, especially
with some less trivial cases like 0-d inputs resulting in 1-d inputs or
interaction with scalable vector types. Note that `vector.deinterleave`
uses the same format with explicit result type.
Also improve examples and clean up surrounding code.
Commit: 3d1145a51009c56a4d46792dea51da75a1153951
https://github.com/llvm/llvm-project/commit/3d1145a51009c56a4d46792dea51da75a1153951
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
R libcxx/include/libcxx.imp
Log Message:
-----------
[libc++] Remove libcxx/include/libcxx.imp
This was committed by mistake. We don't store that file in the source
tree anymore, we only generate it upon installation.
Commit: 5fb38307f372555cd22fd09ace86c3b1ccd2abb9
https://github.com/llvm/llvm-project/commit/5fb38307f372555cd22fd09ace86c3b1ccd2abb9
Author: Michael Kruse <llvm-project at meinersbur.de>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M clang-tools-extra/clang-tidy/misc/CMakeLists.txt
Log Message:
-----------
[clang-tools-extra] Remove redundant FOLDER property. NFC.
This should have been removed from #89744 to address a review comment.
Commit: 48c988cfcbb25243700178bad43d106ae7ef2cb4
https://github.com/llvm/llvm-project/commit/48c988cfcbb25243700178bad43d106ae7ef2cb4
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M clang/lib/Sema/SemaOverload.cpp
M clang/test/SemaCXX/overloaded-operator.cpp
Log Message:
-----------
[Clang] Only non-overloaded dereference expressions are lvalues (#93457)
Fix a regression introduced by #88740
Fixes #92275
Commit: 4b5e0a1d12f0d624852c6d7c82207647ed5282aa
https://github.com/llvm/llvm-project/commit/4b5e0a1d12f0d624852c6d7c82207647ed5282aa
Author: Sirraide <aeternalmail at gmail.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Sema/SemaTemplateVariadic.cpp
A clang/test/SemaCXX/attribute-pack-expansion.cpp
Log Message:
-----------
[Clang] [Sema] Diagnose unexpanded parameter packs in attributes (#93482)
Call `DiagnoseUnexpandedParameterPack` when we parse an expression
argument to an attribute and check for implicit code in the
`CollectUnexpandedParameterPacksVisitor` so we can actually find
unexpanded packs in attributes that end up applied to lambda call
operators.
This fixes #93269.
Commit: 34388f986af1289492d043b56b6cba17468d1f8d
https://github.com/llvm/llvm-project/commit/34388f986af1289492d043b56b6cba17468d1f8d
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
A llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_function_alt.ll
A llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_function_alt.ll.expected
A llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_function_alt.s
A llvm/test/tools/UpdateTestChecks/update_llc_test_checks/amdgpu_function_alt.test
M llvm/utils/UpdateTestChecks/asm.py
M llvm/utils/update_llc_test_checks.py
Log Message:
-----------
update_llc_test_checks: better support for non-llc tools (#93135)
A full downstream fork can already hack up update_llc_test_checks.py to
support custom tools that output assembly.
An out-of-tree frontend which is meant to build against upstream
llvm-project cannot do this, and so providing additional arguments to
support a non-standard tool is useful.
This also makes a minor adjustment to the regular expression for
matching AMDGPU functions when fewer comments are enabled, which happens
to be the case for our out-of-tree shader compiler (which motivated this
change).
Commit: d3ce1078186389ce39505f06c2a0100dce9187a5
https://github.com/llvm/llvm-project/commit/d3ce1078186389ce39505f06c2a0100dce9187a5
Author: Michał Górny <mgorny at gentoo.org>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M libcxx/test/libcxx/lit.local.cfg
M libcxx/utils/libcxx/test/dsl.py
Log Message:
-----------
[libcxx] [test] Use `shlex.quote()` to fix Python 3.13 compatibility (#93376)
Replace the use of `pipes.quote()` with `shlex.quote()` to fix
compatibility with Python 3.13. The former was always an undocumented
alias to the latter, and the `pipes` module was removed completely in
Python 3.13.
Fixes #93375
Commit: 67aec0cd62d607b4e5b7198769be061454ce67b3
https://github.com/llvm/llvm-project/commit/67aec0cd62d607b4e5b7198769be061454ce67b3
Author: Peter Rong <peterrong96 at gmail.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M llvm/lib/Transforms/Utils/LowerSwitch.cpp
A llvm/test/Transforms/LowerSwitch/93152.ll
Log Message:
-----------
[LowerSwitch] Use unsigned integer for range comparison (#93237)
Commit 1db51d8eb2 switched from int64_t to `APInt` to prevent high precision integer overflow.
However, when comparing the "range" of switch cases, we should switch to unsigned integer to prevent overflow.
This patch fixes https://github.com/llvm/llvm-project/issues/93152.
Some test cases are added.
Signed-off-by: Peter Rong <PeterRong96 at gmail.com>
Commit: 9bbd5de8c8f73ca8bc705be48d8677d1a2838d26
https://github.com/llvm/llvm-project/commit/9bbd5de8c8f73ca8bc705be48d8677d1a2838d26
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M lld/test/ELF/arm-gotoff.s
Log Message:
-----------
[ELF,test] Simplify arm-gotoff.s and fix check prefixes
Commit: 855eef2abd81cb8c7543d4748353d5e378fdd4c2
https://github.com/llvm/llvm-project/commit/855eef2abd81cb8c7543d4748353d5e378fdd4c2
Author: Benoit Jacob <jacob.benoit.1 at gmail.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
Log Message:
-----------
[bazel] Add missing dependency for `llvm-tblgen` (#93486)
Commit: 59c6bd156cc8b42758ce90909615748e21c6eee2
https://github.com/llvm/llvm-project/commit/59c6bd156cc8b42758ce90909615748e21c6eee2
Author: David Green <david.green at arm.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/add_reduce.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/begin-vpt-without-inst.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/biquad-cascade-default.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/biquad-cascade-optsize-strd-lr.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/biquad-cascade-optsize.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/cmplx_cong.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/cond-mov.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/count_dominates_start.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/ctlz-non-zeros.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/disjoint-vcmp.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/dont-ignore-vctp.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/dont-remove-loop-update.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/end-positive-offset.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/extract-element.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/incorrect-sub-16.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/incorrect-sub-32.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/incorrect-sub-8.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/inloop-vpnot-1.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/inloop-vpnot-2.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/inloop-vpnot-3.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/inloop-vpsel-1.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/inloop-vpsel-2.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/invariant-qreg.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/it-block-chain-store.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/it-block-chain.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/it-block-itercount.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/it-block-mov.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/it-block-random.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/iv-two-vcmp-reordered.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/iv-two-vcmp.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/iv-vcmp.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/livereg-no-loop-def.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/loop-dec-copy-chain.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/loop-dec-copy-prev-iteration.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/loop-dec-liveout.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/lstp-insertion-position.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/massive.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/matrix-debug.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/matrix.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/mov-after-dls.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/mov-after-dlstp.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/mov-lr-terminator.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/move-def-before-start.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/move-start-after-def.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/multi-block-cond-iter-count.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/multi-cond-iter-count.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/multiblock-massive.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/multiple-do-loops.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/no-dec-cbnz.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/no-dec-reorder.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/no-dec.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/no-vpsel-liveout.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/non-masked-load.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/non-masked-store.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/out-of-range-cbz.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/predicated-invariant.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/predicated-liveout.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/reductions-vpt-liveout.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/remove-elem-moves.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/revert-while.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/revertcallearly.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/safe-def-no-mov.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/safe-retaining.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/size-limit.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/skip-debug.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/skip-vpt-debug.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/subreg-liveness.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/unpredicated-max.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/unrolled-and-vector.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/unsafe-cpsr-loop-def.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/unsafe-cpsr-loop-use.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/unsafe-retaining.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/unsafe-use-after.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vaddv.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vcmp-vpst-combination-across-blocks.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp-add-operand-liveout.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp-in-vpt-2.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp-in-vpt.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp-subi3.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp-subri.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp-subri12.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp16-reduce.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vector_spill_in_loop.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vmaxmin_vpred_r.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vmldava_in_vpt.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vpt-block-debug.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/vpt-blocks.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/while.mir
Log Message:
-----------
[ARM] Regnerate LowOverheadLoop tests. NFC
Commit: f114eddb1923289b696f1b0980cc22c4dbaafa22
https://github.com/llvm/llvm-project/commit/f114eddb1923289b696f1b0980cc22c4dbaafa22
Author: David Tenty <daltenty at ibm.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/thousands_sep.pass.cpp
Log Message:
-----------
[libcxx][test][AIX] Fix the thousands_sep expectation for fr_FR locales (#92312)
Similar to some other platforms, AIX uses ' ' for non-wide characters
and U202F for wide characters, so this change opts into those paths for
AIX as well.
Commit: a5b7c36bda22f6b2a1e2f20ba6959c66308cb66a
https://github.com/llvm/llvm-project/commit/a5b7c36bda22f6b2a1e2f20ba6959c66308cb66a
Author: Igor Kudrin <ikudrin at accesssoftek.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64PointerAuth.cpp
M llvm/test/CodeGen/AArch64/sign-return-address-tailcall.ll
Log Message:
-----------
[AArch64][PAC] Fix creating check instructions for BBs without an epilog (#92508)
`AArch64PAuth::checkAuthenticatedRegister()` splits the basic block
containing the tail call instruction to add check instructions, assuming
at least one more instruction before the call. This assumption is
incorrect in cases where some execution paths lead to the termination
block without creating the stack frame. This patch rearranges the
creation of the checks so that the prior splitting is not required.
Commit: e406d5ed9cb3878152d21088115143568ad8a057
https://github.com/llvm/llvm-project/commit/e406d5ed9cb3878152d21088115143568ad8a057
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M libcxx/include/CMakeLists.txt
A libcxx/include/__algorithm/pstl.h
R libcxx/include/__algorithm/pstl_any_all_none_of.h
R libcxx/include/__algorithm/pstl_copy.h
R libcxx/include/__algorithm/pstl_count.h
R libcxx/include/__algorithm/pstl_equal.h
R libcxx/include/__algorithm/pstl_fill.h
R libcxx/include/__algorithm/pstl_find.h
R libcxx/include/__algorithm/pstl_for_each.h
R libcxx/include/__algorithm/pstl_generate.h
R libcxx/include/__algorithm/pstl_is_partitioned.h
R libcxx/include/__algorithm/pstl_merge.h
R libcxx/include/__algorithm/pstl_move.h
R libcxx/include/__algorithm/pstl_replace.h
R libcxx/include/__algorithm/pstl_rotate_copy.h
R libcxx/include/__algorithm/pstl_sort.h
R libcxx/include/__algorithm/pstl_stable_sort.h
R libcxx/include/__algorithm/pstl_transform.h
A libcxx/include/__numeric/pstl.h
R libcxx/include/__numeric/pstl_reduce.h
R libcxx/include/__numeric/pstl_transform_reduce.h
M libcxx/include/algorithm
M libcxx/include/module.modulemap
M libcxx/include/numeric
Log Message:
-----------
[libc++][pstl] Merge all frontend functions for the PSTL (#89219)
This is an intermediate step towards the PSTL dispatching mechanism
rework. It will make it a lot easier to track the upcoming front-end
changes. After the rework, there are basically no implementation details
in the front-end, so the definition of each algorithm will become much
simpler. Otherwise, it wouldn't make sense to define all the algorithms
in the same header.
Commit: 434ee06d77613df23a2ece62a62bcd62c13121d2
https://github.com/llvm/llvm-project/commit/434ee06d77613df23a2ece62a62bcd62c13121d2
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
Log Message:
-----------
[gn build] Port e406d5ed9cb3
Commit: dba2aa265c5f2ef774c2812cf6ffdea8dd784e09
https://github.com/llvm/llvm-project/commit/dba2aa265c5f2ef774c2812cf6ffdea8dd784e09
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-05-27 (Mon, 27 May 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/WhitespaceManager.cpp
M clang/unittests/Format/ConfigParseTest.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Add LeftWithLastLine to AlignEscapedNewlines option (#93402)
Closes #92999.
Commit: 1de1ee9cbabd641d50c5d2ac416392494b4ed30b
https://github.com/llvm/llvm-project/commit/1de1ee9cbabd641d50c5d2ac416392494b4ed30b
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M .ci/generate-buildkite-pipeline-premerge
M .ci/monolithic-linux.sh
R clang/utils/ci/buildkite-pipeline.yml
Log Message:
-----------
[clang][ci] Move libc++ testing into the main PR pipeline (#93318)
Following the discussion in
https://github.com/llvm/llvm-project/pull/93233#issuecomment-2127920882,
this patch merges `clang-ci` pipeline into main `GitHub Pull Requests`
pipeline. `clang-ci` enables additional test coverage for Clang by
compiling it, and then using it to compile and test libc++, libc++abi,
and libunwind in C++03, C++26, and Clang Modules modes.
Additional work we skip and total time savings we should see:
1. Checking out the repo to generate the clang-ci pipeline (2 minutes)
2. Building Clang (3.5 minutes)
3. Uploading the artifacts once, then downloading them 3 times and
unpacking 3 times (0.5 minutes)
Note that because previously-split jobs for each mode are now under a
single Linux job, it now takes around 8 minutes more see the Linux CI
results despite total time savings.
The primary goal of this patch is to reduce the load of CI by removing
duplicated work. I consider this goal achieved. I could keep the job
parallelism we had (3 libc++ jobs depending on a main Linux job), but I
don't consider it worth the effort and opportunity cost, because
parallelism is not helping once the pool of builders is fully
subscribed.
Commit: 435ea21c897f94b5a3777a9f152e4c5bb4a371a3
https://github.com/llvm/llvm-project/commit/435ea21c897f94b5a3777a9f152e4c5bb4a371a3
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Gnu.cpp
Log Message:
-----------
[Driver] Remove unneeded *-linux-gnu after D158183
As the comment added by a07727199db0525e9d2df41e466a2a1611b3c8e1
suggests, these `*Triples` lists should shrink over time.
https://reviews.llvm.org/D158183 allows *-unknown-linux-gnu to detect
*-linux-gnu. If we additionally allow x86_64-unknown-linux-gnu
-m32/-mx32 to detect x86_64-linux-gnu, we can mostly remove these
*-linux-gnu elements.
Commit: 1708de1abd512696cec383fee9381c3b498014dc
https://github.com/llvm/llvm-project/commit/1708de1abd512696cec383fee9381c3b498014dc
Author: Ricky Zhou <ricky at rzhou.org>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M compiler-rt/lib/xray/xray_trampoline_x86_64.S
Log Message:
-----------
[XRay][compiler-rt][x86_64] Preserve flags in x86_64 trampolines. (#89452)
Previously, some xray trampolines would modify condition codes (before
saving/after restoring flags) due to stack alignment instructions, which
use add/sub.
I am not aware of issues that this causes in practice (outside of the
situation described in https://github.com/llvm/llvm-project/pull/89364,
which is only problematic due to a different bug). Nevertheless, it
seems nicer and less error-prone for xray instrumentation to be as
unobstrusive/preserve as much state as possible.
Commit: 21a39dfb17a4931d99d9a6d561d596c841d9197a
https://github.com/llvm/llvm-project/commit/21a39dfb17a4931d99d9a6d561d596c841d9197a
Author: Ricky Zhou <ricky at rzhou.org>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M compiler-rt/lib/xray/xray_buffer_queue.h
Log Message:
-----------
[XRay][compiler-rt] Fix oob memory access in FDR BufferQueue iterator (#90940)
Before this change, the FDR BufferQueue iterator could access oob memory
due to checks of the form `!Buffers[Offset].Used && Offset != Max`. This
allows access to `Buffers[Max]`, which is past the end of the `Buffers`
array. This can lead to crashes when that memory is not mapped. Fix this
by testing `Offset != Max` first.
Commit: 57c10fa564af44a5b236bc642c540d715b04448c
https://github.com/llvm/llvm-project/commit/57c10fa564af44a5b236bc642c540d715b04448c
Author: Angel Zhang <angel.zhang at amd.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M mlir/lib/Conversion/VectorToSPIRV/CMakeLists.txt
M mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp
M mlir/test/Conversion/VectorToSPIRV/vector-to-spirv.mlir
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][spirv] Add vector.interleave to spirv.VectorShuffle conversion (#93240)
- Add `vector.interleave` to `spirv.VectorShuffle` conversion
- Remove the `vector.interleave` to `vector.shuffle` conversion from
`populateVectorToSPIRVPatterns` and CMake/Bazel dependencies
---------
Co-authored-by: Jakub Kuderski <kubakuderski at gmail.com>
Commit: 8b037862b6eabe2efd4b0dcfdb6768484cd10564
https://github.com/llvm/llvm-project/commit/8b037862b6eabe2efd4b0dcfdb6768484cd10564
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.cpp
M llvm/test/Transforms/LoopVectorize/outer_loop_test1.ll
Log Message:
-----------
[VPlan] Preserve DT (and SCEV) in VPlan-native path (#93287)
As a follow-up to b2f65e80, use the DTU to also update and preserve
the DT in the native path. This should also allow preserving SCEV in the
native path
PR: https://github.com/llvm/llvm-project/pull/93287
Commit: a4f75ec730ee573fc35a51264a907b1f05b53e3b
https://github.com/llvm/llvm-project/commit/a4f75ec730ee573fc35a51264a907b1f05b53e3b
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/lib/Serialization/ASTWriter.cpp
A clang/test/Modules/no-implicit-declarations.cppm
Log Message:
-----------
[C++20] [Modules] Don't record implicitly declarations to BMI by default (#93459)
I found we may insert unused implciit declarations like AArch SVE
declarations by default on AArch64 due to we will insert that by
default. But it should be completely redundant and this patch tries to
remove that.
Commit: 0f08ef1b66cb3de81a10a237624e3e173b0c7c68
https://github.com/llvm/llvm-project/commit/0f08ef1b66cb3de81a10a237624e3e173b0c7c68
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
A llvm/test/Analysis/LoopAccessAnalysis/early-exit-runtime-checks.ll
Log Message:
-----------
[LAA] Add tests with various early exits.
Commit: 9ca2d60213790642d21dfbea4a1bbe4d23e56063
https://github.com/llvm/llvm-project/commit/9ca2d60213790642d21dfbea4a1bbe4d23e56063
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M clang/test/Driver/m68k-features.cpp
M clang/test/Driver/m68k-macros.cpp
M clang/test/Driver/m68k-sub-archs.cpp
M clang/test/Driver/masm.c
M clang/test/Driver/masm.s
M clang/test/Driver/mbackchain.c
M clang/test/Driver/mcount.c
M clang/test/Driver/mdouble.c
M clang/test/Driver/memtag-stack.c
M clang/test/Driver/mfentry.c
M clang/test/Driver/mglobal-merge.c
M clang/test/Driver/mingw-implicit-extension-windows.c
M clang/test/Driver/mingw-libgcc.c
M clang/test/Driver/mingw-msvcrt.c
M clang/test/Driver/mingw-sanitizers.c
M clang/test/Driver/mingw-sysroot.cpp
M clang/test/Driver/mingw-windowsapp.c
M clang/test/Driver/mingw.cpp
M clang/test/Driver/mips-abi.c
M clang/test/Driver/mips-abicalls-error.c
M clang/test/Driver/mips-abicalls-warning.c
M clang/test/Driver/mips-as.c
M clang/test/Driver/mips-features.c
M clang/test/Driver/mips-float.c
M clang/test/Driver/mips-gpopt-warning.c
M clang/test/Driver/mips-ias-Wa.s
M clang/test/Driver/mips-integrated-as.s
M clang/test/Driver/mips-mabs-warning.c
M clang/test/Driver/mlong-double-128.c
M clang/test/Driver/mlong-double-64.c
M clang/test/Driver/module-output.cppm
M clang/test/Driver/ms-bitfields.c
M clang/test/Driver/msan.c
M clang/test/Driver/msc-version.c
M clang/test/Driver/msp430-hwmult.c
M clang/test/Driver/msvc-compiler-rt.c
M clang/test/Driver/msvc-static-rtti.cpp
M clang/test/Driver/msvc-triple.c
M clang/test/Driver/msvc_forward.c
M clang/test/Driver/objc-encode-cxx-class-template-spec.m
M clang/test/Driver/openbsd.cpp
M clang/test/Driver/opencl.cl
Log Message:
-----------
[Driver][test] Replace legacy -target with --target=
Similar to previous cleanup.
While changing mips* tests, change some -no-integrated-as to the
recommended -fno-integrated-as.
Commit: 5eea4f44250e9af0f21a573d982fd84573c77826
https://github.com/llvm/llvm-project/commit/5eea4f44250e9af0f21a573d982fd84573c77826
Author: alx32 <103613512+alx32 at users.noreply.github.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M lld/MachO/Config.h
M lld/MachO/Driver.cpp
M lld/MachO/Options.td
M lld/MachO/SyntheticSections.cpp
M lld/test/MachO/stabs-icf.s
Log Message:
-----------
[lld-macho] Add flag --keep-icf-stabs to LLD for MachO (#93137)
This change adds the `--keep-icf-stabs` which, when specified, preserves
symbols that were folded by ICF in the binary's stabs entries.
This allows `dsymutil` to process debug information for the folded
symbols.
Commit: 94d5f01ecbc26d5c8d28d4406f77a7c966e38ef5
https://github.com/llvm/llvm-project/commit/94d5f01ecbc26d5c8d28d4406f77a7c966e38ef5
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/test/CodeGen/X86/apx/ccmp-flags-copy-lowering.mir
Log Message:
-----------
[X86][CodeGen][test] Add `dead` modifier for eflags w/o users, NFCI
This is for the coming NF (no flags update) support in flag copy
lowering.
Commit: 988cee7f96d6ba56dd465b9b2f3cfade3b6e2a3f
https://github.com/llvm/llvm-project/commit/988cee7f96d6ba56dd465b9b2f3cfade3b6e2a3f
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M clang-tools-extra/clangd/unittests/ClangdTests.cpp
Log Message:
-----------
[unittest] Fix target triple
Commit: 12b0ef5dade664fb24cb4e627f1c391d937c0925
https://github.com/llvm/llvm-project/commit/12b0ef5dade664fb24cb4e627f1c391d937c0925
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] Simplify BB->getParent(). NFC
Commit: 179fb2e51e08d7eec1844dd07c01d396728a1d0f
https://github.com/llvm/llvm-project/commit/179fb2e51e08d7eec1844dd07c01d396728a1d0f
Author: Ricky Zhou <ricky at rzhou.org>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.h
M llvm/test/CodeGen/X86/xray-custom-log.ll
Log Message:
-----------
[XRay][X86] Fix stack alignment for custom event calls (#89360)
Calls to @llvm.xray.{custom,typed}event are lowered to an nop sled that
can be
patched with a call to an instrumentation function at runtime. Prior to
this
change, x86 codegen did not guarantee that these patched calls run with
the
appropriate stack alignment (particularly in leaf functions, where
normal stack
alignment assumptions may not hold).
This leads to crashes on x86, as the custom event hook can end up using
SSE
instructions that assume a 16-byte aligned stack.
Fix this by wrapping custom event hooks in CALLSEQ_START/CALLSEQ_END as
done for
regular function calls. One downside of this approach is that on
functions whose
stacks aren't already aligned, we may end up running stack alignment
fixup
instructions even when instrumentation is disabled. An alternative could
be to
make the custom event assembly trampolines stack-alignment-agnostic.
This was
the case in the past, but
https://github.com/llvm/llvm-project/commit/b46c89892fe25bec197fd30f09b3a312da126422
removed this due to complexity in maintaining CFI directives for these
stack
adjustments. Since we are already willing to pay the call argument setup
cost
for custom hooks when instrumentation is disabled, I am hoping that an
extra
push/pop in this hopefully uncommon unaligned stack case is tolerable.
Commit: fcffea06fdf3876dc48170d5577d7454d7303792
https://github.com/llvm/llvm-project/commit/fcffea06fdf3876dc48170d5577d7454d7303792
Author: Ricky Zhou <ricky at rzhou.org>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86MCInstLower.cpp
M llvm/test/CodeGen/X86/xray-tail-call-sled.ll
Log Message:
-----------
[XRay][X86] Handle conditional calls when lowering patchable tail calls (#89364)
xray instruments tail call function exits by inserting a nop sled before
the tail call. When tracing is enabled, the nop sled is replaced with a
call to `__xray_FunctionTailExit()`. This currently does not work for
conditional tail calls, as the instrumentation assumes that the tail
call will be unconditional. This causes two issues:
- `__xray_FunctionTailExit()` is inappropately called even when the
tail call is not taken.
- `__xray_FunctionTailExit()`'s prologue/epilogue adjusts the stack
pointer with add/sub instructions. This clobbers condition flags,
which can flip the condition used for the tail call, leading to
incorrect program behavior.
Fix this by rewriting conditional calls when lowering patchable tail
calls.
With this change, a conditional patchable tail call like:
```
je target
```
Will be lowered to:
```
jne .fallthrough
.p2align 1, ..
.Lxray_sled_N:
SLED_CODE
jmp target
.fallthrough:
```
Commit: 5c7c1f6aba467b1c5a51d58fc591314ecd7147ce
https://github.com/llvm/llvm-project/commit/5c7c1f6aba467b1c5a51d58fc591314ecd7147ce
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/icmp.ll
Log Message:
-----------
[InstCombine] Try the flipped strictness of predicate in `foldICmpShlConstant` (#92773)
This patch extends the transform `(icmp pred iM (shl iM %v, N), C) ->
(icmp pred i(M-N) (trunc %v iM to i(M-N)), (trunc (C>>N))` to handle
icmps with the flipped strictness of predicate.
See the following case:
```
icmp ult i64 (shl X, 32), 8589934593 ->
icmp ule i64 (shl X, 32), 8589934592 ->
icmp ule i32 (trunc X, i32), 2 ->
icmp ult i32 (trunc X, i32), 3
```
Fixes the regression introduced by
https://github.com/llvm/llvm-project/pull/86111#issuecomment-2098203152.
Alive2 proofs: https://alive2.llvm.org/ce/z/-sp5n3
`nuw` cannot be propagated as we always use `ashr` here. I don't see the
value of fixing this (see the test `test_icmp_shl_nuw`).
Commit: 2b21c6875ff93f6082a36ecc8e14d61c56b78f6f
https://github.com/llvm/llvm-project/commit/2b21c6875ff93f6082a36ecc8e14d61c56b78f6f
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/test/CodeGen/X86/apx/flags-copy-lowering.mir
M llvm/test/CodeGen/X86/flags-copy-lowering.mir
Log Message:
-----------
[X86][test] Simplify tests for flag copy lowering, NFCI
Commit: 698058fd2bcbe9966f56eb132ae8741cd89f1048
https://github.com/llvm/llvm-project/commit/698058fd2bcbe9966f56eb132ae8741cd89f1048
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
R llvm/test/CodeGen/X86/apx/ccmp-flags-copy-lowering.mir
M llvm/test/CodeGen/X86/apx/flags-copy-lowering.mir
M llvm/test/CodeGen/X86/flags-copy-lowering.mir
Log Message:
-----------
[X86][test] Update tests for flag copy lowering, NFCI
1. Merge apx/ccmp-flags-copy-lowering.mir into
apx/flags-copy-lowering.mir
2. Update check lines for flags-copy-lowering.mir by script
This is for the coming NF (no flags update) support in flag copy
lowering.
Commit: 0e73bbd3450cca0bb383335fae4120f08da5be7b
https://github.com/llvm/llvm-project/commit/0e73bbd3450cca0bb383335fae4120f08da5be7b
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
A llvm/test/CodeGen/AMDGPU/promote-alloca-budget-exhausted.ll
Log Message:
-----------
[AMDGPU][PromoteAlloca] Don't stop when an alloca is too big to promote (#93466)
When I rewrote this, I made a mistake in the control flow. I thought we
could just stop promoting if an alloca is too big to vectorize, but we
can't. Other allocas in the list may be promotable and fit within the
budget.
Fixes SWDEV-455343
Commit: 42c4027729ac7dbfb732a361ab8085d4af0a7a0a
https://github.com/llvm/llvm-project/commit/42c4027729ac7dbfb732a361ab8085d4af0a7a0a
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUSplitModule.cpp
M llvm/test/tools/llvm-split/AMDGPU/kernels-dependency-indirect.ll
Log Message:
-----------
[AMDGPU][SplitModule] Keep looking for more dependencies after finding an indirect call (#93480)
This is just something I noticed while going over this pass logic one
more time and didn't cause issues (yet). If we find an indirect call, we
stop looking assuming we added all functions to the list, but if not all
functions in the module were indirectly callable, some may still be
missing.
Just to be safe, keep looking until we did everything we could to find
dependencies, so we don't accidentally miss one.
Commit: 34ba1c043af0c3bbcbc1c9e66fbcc6509e4b8e9d
https://github.com/llvm/llvm-project/commit/34ba1c043af0c3bbcbc1c9e66fbcc6509e4b8e9d
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/lib/Serialization/ASTWriter.cpp
M clang/test/Modules/no-implicit-declarations.cppm
Log Message:
-----------
[NFC] [Serialization] Emit Name for DECL_EXPORT
Commit: a0fdb38a7648f4e2b7c86e2212d7887ac996a57a
https://github.com/llvm/llvm-project/commit/a0fdb38a7648f4e2b7c86e2212d7887ac996a57a
Author: donald chen <62002319+cxy-1993 at users.noreply.github.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
M mlir/lib/Dialect/Linalg/Transforms/BufferizableOpInterfaceImpl.cpp
M mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-yaml-gen.cpp
Log Message:
-----------
[mlir][linalg] Add more precise memory effects to linalg op (#92079)
This patch add more precise memory effect to linalg op. Including the
following points:
1. Remove the read side effects for operands that are not used.
2. Set the effect for all side effects to "full".
Commit: af36fb00e32e43101b68b142cfc938af68ad5ffe
https://github.com/llvm/llvm-project/commit/af36fb00e32e43101b68b142cfc938af68ad5ffe
Author: David Green <david.green at arm.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
Log Message:
-----------
[ARM] Remove static variables from ARMLowOverheadLoops. NFC
VPTState was holding static state, and acting as both the info in a VPTBlock
and the overall state of all the blocks in the loop. This has been split up
into a class (VPTBlock) to hold the instructions of one block, and VPTState
that holds the overall state. The PredicatedInsts is also made into a
map<MachineInstr *, SetVector<MachineInstr *>>, as the double-storing of MI
inside a unique pointer is unneeded.
Commit: ea20647023f7bb110e8a198485727458684c43c6
https://github.com/llvm/llvm-project/commit/ea20647023f7bb110e8a198485727458684c43c6
Author: Cullen Rhodes <cullen.rhodes at arm.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-ssve.mlir
Log Message:
-----------
[mlir][ArmSME] NFC: -force-streaming-compatible-sve rename fixup (#93177)
-force-streaming-compatible-sve was renamed in #92774 but this test was
missed, no longer required so removing.
Commit: 9aa56db6a8d5ef0e70b82387df857da5fffa310a
https://github.com/llvm/llvm-project/commit/9aa56db6a8d5ef0e70b82387df857da5fffa310a
Author: JP Lehr <JanPatrick.Lehr at amd.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Gnu.cpp
Log Message:
-----------
Revert "[Driver] Remove unneeded *-linux-gnu after D158183"
This broke several buildbots:
https://lab.llvm.org/buildbot/#/builders/193
https://lab.llvm.org/buildbot/#/builders/259
https://lab.llvm.org/staging/#/builders/185
https://lab.llvm.org/staging/#/builders/140
This reverts commit 435ea21c897f94b5a3777a9f152e4c5bb4a371a3.
Commit: 7cdd53dacdfd9eef3d46ecddde872c71ec4292a1
https://github.com/llvm/llvm-project/commit/7cdd53dacdfd9eef3d46ecddde872c71ec4292a1
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M lldb/unittests/CMakeLists.txt
A lldb/unittests/ValueObject/CMakeLists.txt
A lldb/unittests/ValueObject/DumpValueObjectOptionsTests.cpp
Log Message:
-----------
[lldb][Test] Add C++ tests for DumpValueObjectOptions and enums (#93158)
DumpValueObjectOptions can only be created and modified from C++. This
means it's currently only testable from Python by calling some command
that happens to use one, and even so, you can't pick which options get
chosen.
So we have decent coverage for the major options that way, but I want to
add more niche options that will be harder to test from Python (register
field options).
So this change adds some "unit tests", though it's stretching the
definition to the point it's more "test written in C++". So we can test
future options in isolation.
Since I want to add options specific to enums, that's all it covers.
There is a test class that sets up the type system so it will be easy to
test other types in future (e.g. structs, which register fields also
use).
Commit: e8877b29a3fbf3b1912659a849ccd69dab2e4150
https://github.com/llvm/llvm-project/commit/e8877b29a3fbf3b1912659a849ccd69dab2e4150
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
Log Message:
-----------
[X86] getGatherScatterOpCost- remove unnecessary extra brackets. NFC.
Commit: 8a395b00b85ad64a56a9c65055cc9a26a9499a8d
https://github.com/llvm/llvm-project/commit/8a395b00b85ad64a56a9c65055cc9a26a9499a8d
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Log Message:
-----------
[DAG] Use auto* for cast/dyn_cast results (style). NFC.
Commit: 4d3284cadfa0dc9850d58b97e943481a30c39c1b
https://github.com/llvm/llvm-project/commit/4d3284cadfa0dc9850d58b97e943481a30c39c1b
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/test/Transforms/InstSimplify/ConstProp/poison.ll
Log Message:
-----------
[ConstFold] Add test for incorrect gep inbounds of undef fold (NFC)
If the offset is zero, then returning poison here is not correct.
Commit: 1383cb6e648ba9f4516fa2317f948116c4f35c10
https://github.com/llvm/llvm-project/commit/1383cb6e648ba9f4516fa2317f948116c4f35c10
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/IR/ConstantFold.cpp
M llvm/test/Transforms/InstSimplify/ConstProp/poison.ll
Log Message:
-----------
[ConstFold] Fix incorrect gep inbounds of undef fold
gep inbounds of undef can only be folded to poison if we know
that the offset is non-zero. I don't think precise handling here
is important, so just drop the inbounds special case. This matches
what InstSimplify does.
Commit: cb7995a1308c1bef396f9a2b2b14472cbdcca755
https://github.com/llvm/llvm-project/commit/cb7995a1308c1bef396f9a2b2b14472cbdcca755
Author: Stefan Gränitz <stefan.graenitz at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/include/clang/Interpreter/Interpreter.h
M clang/lib/Interpreter/Interpreter.cpp
M clang/test/Interpreter/execute.cpp
M clang/test/Interpreter/inline-virtual.cpp
M clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
Log Message:
-----------
[clang-repl] Set up executor implicitly to account for init PTUs (#84758)
Until now the IncrExecutor was created lazily on the first execution
request. In order to process the PTUs that come from initialization, we
have to do it upfront implicitly.
Commit: 05443aded7b2fa43af01bc0cfab024277855ca30
https://github.com/llvm/llvm-project/commit/05443aded7b2fa43af01bc0cfab024277855ca30
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/haddsub-undef.ll
Log Message:
-----------
[X86] isHorizontalBinOp - always create HADD/SUB if it will be merged with another existing HADD/SUB
Fixes some more cases from #34072 where undemanded vector elements prevent HADD/SUB being matched on slow targets
Commit: f53f2a8c92c6a66ef85a68686de224b6af3b47b4
https://github.com/llvm/llvm-project/commit/f53f2a8c92c6a66ef85a68686de224b6af3b47b4
Author: David Green <david.green at arm.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll
Log Message:
-----------
[VectorCombine] Add constant splat handling for shuffleToIdentity (#92797)
This just adds splat constants, which can be treated like any other
splat which hopefully makes them very simple. It does not try to handle
more complex constant vectors yet, just the more common splats.
Commit: 2fc510643747dc70abdf8f2f7efcc7763d1392cb
https://github.com/llvm/llvm-project/commit/2fc510643747dc70abdf8f2f7efcc7763d1392cb
Author: Kunwar Grover <groverkss at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/Arith/Transforms/Passes.h
M mlir/include/mlir/Dialect/Arith/Transforms/Passes.td
M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.h
M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.td
M mlir/include/mlir/Dialect/Linalg/Passes.h
M mlir/include/mlir/Dialect/Linalg/Passes.td
M mlir/include/mlir/Dialect/Shape/Transforms/Passes.h
M mlir/include/mlir/Dialect/Shape/Transforms/Passes.td
M mlir/include/mlir/Dialect/Tensor/Transforms/Passes.h
M mlir/include/mlir/Dialect/Tensor/Transforms/Passes.td
M mlir/include/mlir/Dialect/Vector/Transforms/Passes.h
M mlir/include/mlir/Dialect/Vector/Transforms/Passes.td
R mlir/lib/Dialect/Arith/Transforms/Bufferize.cpp
M mlir/lib/Dialect/Arith/Transforms/CMakeLists.txt
M mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp
R mlir/lib/Dialect/Linalg/Transforms/Bufferize.cpp
M mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
R mlir/lib/Dialect/Shape/Transforms/Bufferize.cpp
M mlir/lib/Dialect/Shape/Transforms/CMakeLists.txt
R mlir/lib/Dialect/Tensor/Transforms/Bufferize.cpp
M mlir/lib/Dialect/Tensor/Transforms/CMakeLists.txt
R mlir/lib/Dialect/Vector/Transforms/Bufferize.cpp
M mlir/lib/Dialect/Vector/Transforms/CMakeLists.txt
M mlir/test/Dialect/Arith/bufferize.mlir
M mlir/test/Dialect/Linalg/bufferize.mlir
M mlir/test/Dialect/Shape/bufferize.mlir
M mlir/test/Dialect/SparseTensor/sparse_lower.mlir
M mlir/test/Dialect/SparseTensor/sparse_lower_col.mlir
M mlir/test/Dialect/SparseTensor/sparse_lower_inplace.mlir
M mlir/test/Dialect/Tensor/bufferize.mlir
M mlir/test/Dialect/Vector/bufferize-invalid.mlir
M mlir/test/Dialect/Vector/bufferize.mlir
Log Message:
-----------
[mlir] Remove dialect specific bufferization passes (#93488)
These passes have been depreciated for a long time and replaced by
one-shot bufferization. These passes are also unsafe because they do not
check for read-after-write conflicts.
Commit: cbed9a64491d82d6c4a3a7d0cd97cdee32ff2301
https://github.com/llvm/llvm-project/commit/cbed9a64491d82d6c4a3a7d0cd97cdee32ff2301
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeStmtGen.cpp
M clang/test/SemaCXX/cxx23-assume-disabled.cpp
Log Message:
-----------
[clang][Interp] Fix ignoring assumptions
Commit: 39848d0a98e25abca950639ed6248b70cbcb5c02
https://github.com/llvm/llvm-project/commit/39848d0a98e25abca950639ed6248b70cbcb5c02
Author: Kunwar Grover <groverkss at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/Arith/Transforms/Passes.h
M mlir/include/mlir/Dialect/Arith/Transforms/Passes.td
M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.h
M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.td
M mlir/include/mlir/Dialect/Linalg/Passes.h
M mlir/include/mlir/Dialect/Linalg/Passes.td
M mlir/include/mlir/Dialect/Shape/Transforms/Passes.h
M mlir/include/mlir/Dialect/Shape/Transforms/Passes.td
M mlir/include/mlir/Dialect/Tensor/Transforms/Passes.h
M mlir/include/mlir/Dialect/Tensor/Transforms/Passes.td
M mlir/include/mlir/Dialect/Vector/Transforms/Passes.h
M mlir/include/mlir/Dialect/Vector/Transforms/Passes.td
A mlir/lib/Dialect/Arith/Transforms/Bufferize.cpp
M mlir/lib/Dialect/Arith/Transforms/CMakeLists.txt
M mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp
A mlir/lib/Dialect/Linalg/Transforms/Bufferize.cpp
M mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
A mlir/lib/Dialect/Shape/Transforms/Bufferize.cpp
M mlir/lib/Dialect/Shape/Transforms/CMakeLists.txt
A mlir/lib/Dialect/Tensor/Transforms/Bufferize.cpp
M mlir/lib/Dialect/Tensor/Transforms/CMakeLists.txt
A mlir/lib/Dialect/Vector/Transforms/Bufferize.cpp
M mlir/lib/Dialect/Vector/Transforms/CMakeLists.txt
M mlir/test/Dialect/Arith/bufferize.mlir
M mlir/test/Dialect/Linalg/bufferize.mlir
M mlir/test/Dialect/Shape/bufferize.mlir
M mlir/test/Dialect/SparseTensor/sparse_lower.mlir
M mlir/test/Dialect/SparseTensor/sparse_lower_col.mlir
M mlir/test/Dialect/SparseTensor/sparse_lower_inplace.mlir
M mlir/test/Dialect/Tensor/bufferize.mlir
M mlir/test/Dialect/Vector/bufferize-invalid.mlir
M mlir/test/Dialect/Vector/bufferize.mlir
Log Message:
-----------
Revert "[mlir] Remove dialect specific bufferization passes" (#93528)
Reverts llvm/llvm-project#93488
Buildbot failure:
https://lab.llvm.org/buildbot/#/builders/220/builds/39911
Commit: 12271710da72a11d3cccc958a2824fe269363c34
https://github.com/llvm/llvm-project/commit/12271710da72a11d3cccc958a2824fe269363c34
Author: Lukacma <Marian.Lukac at arm.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/include/clang/Basic/arm_sve.td
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_clamp.c
A clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_b16b16.cpp
M llvm/include/llvm/IR/IntrinsicsAArch64.td
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-bfclamp.ll
Log Message:
-----------
[AArch64][SME] Add intrinsics for multi-vector BFCLAMP (#88251)
According to the specification in
https://github.com/ARM-software/acle/pull/309 this adds the intrinsics
```
svbfloat16x2_t svclamp[_single_bf16_x2](svbfloat16x2_t zd, svbfloat16_t zn,
svbfloat16_t zm) __arm_streaming;
svbfloat16x4_t svclamp[_single_bf16_x4](svbfloat16x4_t zd, svbfloat16_t zn,
svbfloat16_t zm) __arm_streaming;
```
These are available only if __ARM_FEATURE_SME_B16B16 is enabled.
Commit: d46e37348ec3f8054b10bcbbe7c11149d7f61031
https://github.com/llvm/llvm-project/commit/d46e37348ec3f8054b10bcbbe7c11149d7f61031
Author: Ralender <Tyker1 at outlook.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/docs/ProgrammersManual.rst
M llvm/include/llvm/Support/DebugCounter.h
M llvm/lib/Support/DebugCounter.cpp
M llvm/lib/Transforms/Scalar/NewGVN.cpp
M llvm/test/Analysis/ValueTracking/assume-queries-counter.ll
M llvm/test/CodeGen/AArch64/GlobalISel/counter-fallback.ll
M llvm/test/CodeGen/AMDGPU/waitcnt-debug.mir
M llvm/test/CodeGen/X86/dag-combine-counter.ll
M llvm/test/Other/X86/debugcounter-divrempairs.ll
M llvm/test/Other/X86/debugcounter-partiallyinlinelibcalls.ll
M llvm/test/Other/debugcounter-dce.ll
M llvm/test/Other/debugcounter-earlycse.ll
M llvm/test/Other/debugcounter-newgvn.ll
M llvm/test/Other/debugcounter-predicateinfo.ll
M llvm/test/Other/print-debug-counter.ll
M llvm/test/Transforms/DeadStoreElimination/debug-counter.ll
M llvm/test/Transforms/Util/assume-builder-counter.ll
A llvm/tools/reduce-chunk-list/CMakeLists.txt
A llvm/tools/reduce-chunk-list/reduce-chunk-list.cpp
M llvm/unittests/Support/DebugCounterTest.cpp
Log Message:
-----------
[DebugCounter] Add support for non-continous ranges. (#89470)
Commit: 42b4be6d7b896fcf2ef16818862a5be3e98ca791
https://github.com/llvm/llvm-project/commit/42b4be6d7b896fcf2ef16818862a5be3e98ca791
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
R clang/utils/ci/run-buildbot
Log Message:
-----------
[clang][NFC] Remove `utils/ci/run-buildbot` script
A follow up for #93318. Discussion happened at https://github.com/llvm/llvm-project/pull/93318#discussion_r1616281934
Commit: d67200e0842e972abbd1fd3e48a5b13d717bcbd6
https://github.com/llvm/llvm-project/commit/d67200e0842e972abbd1fd3e48a5b13d717bcbd6
Author: Lukacma <Marian.Lukac at arm.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/include/clang/Basic/arm_sve.td
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_clamp.c
R clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_b16b16.cpp
M llvm/include/llvm/IR/IntrinsicsAArch64.td
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-bfclamp.ll
Log Message:
-----------
Revert "[AArch64][SME] Add intrinsics for multi-vector BFCLAMP" (#93531)
Reverts llvm/llvm-project#88251
Commit: 23e1ed65c2c3eb1f80f7eeb4897ec843492c5451
https://github.com/llvm/llvm-project/commit/23e1ed65c2c3eb1f80f7eeb4897ec843492c5451
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M libcxx/include/CMakeLists.txt
M libcxx/include/__config
A libcxx/include/__configuration/abi.h
A libcxx/include/__configuration/compiler.h
A libcxx/include/__configuration/platform.h
M libcxx/include/module.modulemap
M libcxx/utils/generate_iwyu_mapping.py
Log Message:
-----------
[libc++] Split up ABI and platform configuration to their own headers (#90863)
This is a first step towards splitting up the <__config> header. The
<__config> header is large and rather disorganized at this point,
leading to confusion and subtle mistakes. For example, we never noticed
that the string layout used on arm64 was only enabled for the Clang
compiler, as the setting being in the compiler == clang block was
probably never intentional.
The danger of splitting up the <__config> header is to implicitly use
undefined macros that should have been defined prior to their usage,
however this can be remediated with -Wundef and we've started moving
towards -Wundef enforceable macros.
Commit: d80383730cc8bf2562451b10eed92f7d781aad80
https://github.com/llvm/llvm-project/commit/d80383730cc8bf2562451b10eed92f7d781aad80
Author: Abid Qadeer <haqadeer at amd.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
M mlir/include/mlir-c/Dialect/LLVM.h
M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
M mlir/lib/CAPI/Dialect/LLVM.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMAttrs.cpp
M mlir/lib/Target/LLVMIR/DebugImporter.cpp
M mlir/lib/Target/LLVMIR/DebugTranslation.cpp
M mlir/lib/Target/LLVMIR/DebugTranslation.h
M mlir/test/CAPI/llvm.c
A mlir/test/Target/LLVMIR/Import/composite-type-fortran.ll
M mlir/test/Target/LLVMIR/llvmir-debug.mlir
Log Message:
-----------
[mlir] Add missing fields in DICompositeTypeAttr. (#93226)
The fortran arrays use 'dataLocation', 'rank', 'allocated' and
'associated' fields of the DICompositeType. These were not available in
'DICompositeTypeAttr'. This PR adds the missing fields.
---------
Co-authored-by: Tobias Gysi <tobias.gysi at nextsilicon.com>
Commit: 9b79acedd689c34d3505ac351c732aa44e22fc86
https://github.com/llvm/llvm-project/commit/9b79acedd689c34d3505ac351c732aa44e22fc86
Author: Adrian Kuegel <akuegel at google.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][Bazel] Followup to 57c10fa564af44a5b236bc642c540d715b04448c
It removed the dependency from the wrong target.
Also, we need to remove the header include to be able to remove the
dependency from VectorToSPIRV.
Commit: aefcdedf5b8c3832aa62e8ce02c7597b576d3a28
https://github.com/llvm/llvm-project/commit/aefcdedf5b8c3832aa62e8ce02c7597b576d3a28
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M flang/include/flang/Optimizer/HLFIR/Passes.h
M flang/include/flang/Optimizer/HLFIR/Passes.td
M flang/include/flang/Tools/CLOptions.inc
M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
Log Message:
-----------
[flang][HLFIR][NFC] Reduce BufferizeHLFIR pass boilerplate (#93161)
The pass constructor can be generated automatically.
This pass is module-level and then runs on all of the relevant HLFIR
operations inside of the module, no matter what top level operation they
are inside of.
Commit: f29352b63b448485177a2e2b31d864f808070c25
https://github.com/llvm/llvm-project/commit/f29352b63b448485177a2e2b31d864f808070c25
Author: Eymen Ünay <eymenunay at outlook.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
M llvm/test/ExecutionEngine/JITLink/AArch32/ELF_relocations_arm.s
M llvm/test/ExecutionEngine/JITLink/AArch32/ELF_relocations_data.s
M llvm/test/ExecutionEngine/JITLink/AArch32/ELF_relocations_thumbv6m.s
M llvm/test/ExecutionEngine/JITLink/AArch32/ELF_stubs_arm.s
M llvm/test/ExecutionEngine/JITLink/AArch32/ELF_stubs_multi.s
Log Message:
-----------
[RuntimeDyldChecker][AArch32] Add a PC offset to next_PC for ARM targets (#91746)
In ARM mode, the Program Counter (PC) points to the current instruction's
address + 8 instead of + 4. An offset is added to RuntimeDyldChecker to
use `next_pc` expression in JITLink tests with both Thumb and Arm.
Commit: 98f9bb384af1beb62eb62a353f0585281bee8c26
https://github.com/llvm/llvm-project/commit/98f9bb384af1beb62eb62a353f0585281bee8c26
Author: Stefan Gränitz <stefan.graenitz at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/unittests/Interpreter/IncrementalProcessingTest.cpp
M clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
M clang/unittests/Interpreter/InterpreterTest.cpp
Log Message:
-----------
[clang-repl] Check host JIT support in all tests that create an Interpreter (#84758)
Commit: 17ecd23f6932c87fcc8b2b8675762d50f3d53056
https://github.com/llvm/llvm-project/commit/17ecd23f6932c87fcc8b2b8675762d50f3d53056
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/Target/X86/CMakeLists.txt
M llvm/lib/Target/X86/X86CompressEVEX.cpp
M llvm/utils/TableGen/CMakeLists.txt
R llvm/utils/TableGen/X86CompressEVEXTablesEmitter.cpp
A llvm/utils/TableGen/X86InstrMappingEmitter.cpp
Log Message:
-----------
[X86][tablgen] Extend X86CompressEVEXTablesEmitter for NF transform
The generated table will be used in #93508
Commit: 516a9f5183446d695c701fcdc562d543c9ccb297
https://github.com/llvm/llvm-project/commit/516a9f5183446d695c701fcdc562d543c9ccb297
Author: David Green <david.green at arm.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll
Log Message:
-----------
[VectorCombine] Add Cmp and Select for shuffleToIdentity (#92794)
Other than some additional checks needed for compare predicates and
selects with scalar condition operands, these are relatively simple
additions to what already exists.
Commit: 125bd061c3240afd92edd5ef8c29a7b3d24a5cd1
https://github.com/llvm/llvm-project/commit/125bd061c3240afd92edd5ef8c29a7b3d24a5cd1
Author: josel-amd <166385423+josel-amd at users.noreply.github.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M mlir/lib/Conversion/ArithToEmitC/ArithToEmitC.cpp
M mlir/test/Conversion/ArithToEmitC/arith-to-emitc.mlir
Log Message:
-----------
[mlir][emitc] Support conversion of arith.divsi and arith.remsi to EmitC (#93450)
Commit: fe5d791517b1cc11bd518f0338516f157fe18661
https://github.com/llvm/llvm-project/commit/fe5d791517b1cc11bd518f0338516f157fe18661
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/fmaximum3.ll
M llvm/test/CodeGen/AMDGPU/fminimum3.ll
Log Message:
-----------
AMDGPU: Add some multi-use negative tests for minimum3/maximum3
Commit: 1da52caf2946e56f69eae75a60088a54edda1db5
https://github.com/llvm/llvm-project/commit/1da52caf2946e56f69eae75a60088a54edda1db5
Author: Kelvin Li <kkwli at users.noreply.github.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M flang/test/Lower/PowerPC/ppc-vec-load.f90
M flang/test/Lower/PowerPC/ppc-vec-shift-be-le.f90
Log Message:
-----------
[flang] Fix typos PPC intrinsics tests (NFC) (#92943)
Commit: 01fbc5658cdfa152519e2d0842ccf7d91aaeaeaf
https://github.com/llvm/llvm-project/commit/01fbc5658cdfa152519e2d0842ccf7d91aaeaeaf
Author: Artem Kroviakov <71938912+akroviakov at users.noreply.github.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/VectorLinearize.cpp
M mlir/test/Dialect/Vector/linearize.mlir
Log Message:
-----------
[mlir][vector] Add support for linearizing Insert VectorOp in VectorLinearize (#92370)
Building on top of
[#88204](https://github.com/llvm/llvm-project/pull/88204), this PR adds
support for converting `vector.insert` into an equivalent
`vector.shuffle` operation that operates on linearized (1-D) vectors.
Commit: bdd4e8b1c011a6cf30171d365b58327a4e321ba0
https://github.com/llvm/llvm-project/commit/bdd4e8b1c011a6cf30171d365b58327a4e321ba0
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
Log Message:
-----------
[bazel] Port 17ecd23f6932c87fcc8b2b8675762d50f3d53056
Commit: 5988c798de617cb35491c42de388b98b4c175421
https://github.com/llvm/llvm-project/commit/5988c798de617cb35491c42de388b98b4c175421
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/utils/TableGen/X86InstrMappingEmitter.cpp
Log Message:
-----------
[X86][tablgen] Add assertions when emitting NF transform table
Commit: 2c7c9df6ba3e86d7286476e875e215b64059c590
https://github.com/llvm/llvm-project/commit/2c7c9df6ba3e86d7286476e875e215b64059c590
Author: Nico Weber <thakis at chromium.org>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Target/X86/BUILD.gn
M llvm/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn
Log Message:
-----------
[gn] port 17ecd23f6932 (-gen-x86-instr-mapping)
Commit: de327865c0e255bc799458ce34bc913f598b4261
https://github.com/llvm/llvm-project/commit/de327865c0e255bc799458ce34bc913f598b4261
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M flang/include/flang/Optimizer/HLFIR/Passes.h
M flang/include/flang/Optimizer/HLFIR/Passes.td
M flang/include/flang/Tools/CLOptions.inc
M flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
Log Message:
-----------
[flang][HLFIR][NFC] Reduce HLFIR to FIR conversion boilerplate (#93539)
The pass constructor can be generated automatically.
This pass is module-level and then runs on all relevant intrinsic
operations inside of the module, no matter what top level operation they
are inside of.
Commit: 44861c7ac563f9e994305e22f2dca1c4f37265e4
https://github.com/llvm/llvm-project/commit/44861c7ac563f9e994305e22f2dca1c4f37265e4
Author: Sayan Saha <sayans at mathworks.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp
M mlir/test/Dialect/Linalg/drop-unit-extent-dims.mlir
Log Message:
-----------
[mlir] [linalg] Check for dim shape to decide unit dim for each operand in dropUnitDims pass. (#93317)
`mlir-opt --linalg-fold-unit-extent-dims` pass on the following IR
```
#map = affine_map<(d0, d1, d2, d3, d4, d5, d6) -> (d0, d1 + d4, d2 + d5, d6)>
#map1 = affine_map<(d0, d1, d2, d3, d4, d5, d6) -> (d4, d5, d6, d3)>
#map2 = affine_map<(d0, d1, d2, d3, d4, d5, d6) -> (d0, d1, d2, d3)>
module {
func.func @main(%arg0: tensor<1x?x?x1xf32>, %arg1: index) -> tensor<?x1x61x1xf32> {
%cst = arith.constant dense<1.000000e+00> : tensor<1x1x1x1xf32>
%0 = tensor.empty(%arg1) : tensor<?x1x61x1xf32>
%1 = linalg.generic {indexing_maps = [#map, #map1, #map2], iterator_types = ["parallel", "parallel", "parallel", "parallel", "reduction", "reduction", "reduction"]} ins(%arg0, %cst : tensor<1x?x?x1xf32>, tensor<1x1x1x1xf32>) outs(%0 : tensor<?x1x61x1xf32>) {
^bb0(%in: f32, %in_0: f32, %out: f32):
%2 = arith.mulf %in, %in_0 : f32
%3 = arith.addf %out, %2 : f32
linalg.yield %3 : f32
} -> tensor<?x1x61x1xf32>
return %1 : tensor<?x1x61x1xf32>
}
}
```
produces an incorrect tensor.expand_shape operation:
```
error: 'tensor.expand_shape' op expected dimension 0 of collapsed type to be dynamic since one or more of the corresponding dimensions in the expanded type is dynamic
%1 = linalg.generic {indexing_maps = [#map, #map1, #map2], iterator_types = ["parallel", "parallel", "parallel", "parallel", "reduction", "reduction", "reduction"]} ins(%arg0, %cst : tensor<1x?x?x1xf32>, tensor<1x1x1x1xf32>) outs(%0 : tensor<?x1x61x1xf32>) {
^
/mathworks/devel/sandbox/sayans/geckWorks/g3294570/repro.mlir:8:10: note: see current operation: %5 = "tensor.expand_shape"(%4) <{reassociation = [[0, 1, 2, 3]]}> : (tensor<61xf32>) -> tensor<?x1x61x1xf32>
// -----// IR Dump After LinalgFoldUnitExtentDimsPass Failed (linalg-fold-unit-extent-dims) //----- //
#map = affine_map<(d0) -> (0, d0)>
#map1 = affine_map<(d0) -> ()>
#map2 = affine_map<(d0) -> (d0)>
"builtin.module"() ({
"func.func"() <{function_type = (tensor<1x?x?x1xf32>, index) -> tensor<?x1x61x1xf32>, sym_name = "main"}> ({
^bb0(%arg0: tensor<1x?x?x1xf32>, %arg1: index):
%0 = "arith.constant"() <{value = dense<1.000000e+00> : tensor<f32>}> : () -> tensor<f32>
%1 = "tensor.collapse_shape"(%arg0) <{reassociation = [[0, 1], [2, 3]]}> : (tensor<1x?x?x1xf32>) -> tensor<?x?xf32>
%2 = "tensor.empty"() : () -> tensor<61xf32>
%3 = "tensor.empty"() : () -> tensor<61xf32>
%4 = "linalg.generic"(%1, %0, %2, %3) <{indexing_maps = [#map, #map1, #map2, #map2], iterator_types = [#linalg.iterator_type<parallel>], operandSegmentSizes = array<i32: 3, 1>}> ({
^bb0(%arg2: f32, %arg3: f32, %arg4: f32, %arg5: f32):
%6 = "arith.mulf"(%arg2, %arg3) <{fastmath = #arith.fastmath<none>}> : (f32, f32) -> f32
%7 = "arith.addf"(%arg4, %6) <{fastmath = #arith.fastmath<none>}> : (f32, f32) -> f32
"linalg.yield"(%7) : (f32) -> ()
}) : (tensor<?x?xf32>, tensor<f32>, tensor<61xf32>, tensor<61xf32>) -> tensor<61xf32>
%5 = "tensor.expand_shape"(%4) <{reassociation = [[0, 1, 2, 3]]}> : (tensor<61xf32>) -> tensor<?x1x61x1xf32>
"func.return"(%5) : (tensor<?x1x61x1xf32>) -> ()
}) : () -> ()
}) : () -> ()
```
The reason of this is because the dimension `d0` is determined to be an
unit-dim that can be dropped based on the dimensions of operand `arg0`
to `linalg.generic`. Later on when iterating over operand `outs` the
dimension `d0` is determined to be an unit-dim even though the shape
corresponding to it is `Shape::kDynamic`. For the `linalg.generic` to be
valid `d0` of `outs` does need to be `1` but that isn't properly
processed in the current implementation and the dimension is dropped
resulting in `outs` operand to be `tensor<61xf32>` in the example.
The fix is to also check that the dimension shape is actually `1` before
dropping the dimension. The IR after the fix is:
```
#map = affine_map<()[s0, s1] -> (s0 * s1)>
#map1 = affine_map<(d0) -> (0, d0)>
#map2 = affine_map<(d0) -> ()>
module {
func.func @main(%arg0: tensor<1x?x?x1xf32>, %arg1: index) -> tensor<?x1x61x1xf32> {
%c0 = arith.constant 0 : index
%c1 = arith.constant 1 : index
%cst = arith.constant dense<1.000000e+00> : tensor<f32>
%collapsed = tensor.collapse_shape %arg0 [[0, 1], [2, 3]] : tensor<1x?x?x1xf32> into tensor<?x?xf32>
%0 = tensor.empty(%arg1) : tensor<?x61xf32>
%1 = affine.apply #map()[%arg1, %c1]
%2 = tensor.empty(%1) : tensor<?x61xf32>
%3 = linalg.generic {indexing_maps = [#map1, #map2, #map1, #map1], iterator_types = ["parallel"]} ins(%collapsed, %cst, %0 : tensor<?x?xf32>, tensor<f32>, tensor<?x61xf32>) outs(%2 : tensor<?x61xf32>) {
^bb0(%in: f32, %in_0: f32, %in_1: f32, %out: f32):
%4 = arith.mulf %in, %in_0 : f32
%5 = arith.addf %in_1, %4 : f32
linalg.yield %5 : f32
} -> tensor<?x61xf32>
%expanded = tensor.expand_shape %3 [[0, 1], [2, 3]] output_shape [%c0, 1, 61, 1] : tensor<?x61xf32> into tensor<?x1x61x1xf32>
return %expanded : tensor<?x1x61x1xf32>
}
}
```
Commit: 24a12a9c85b1ec08ff597f43e3414271d8439a97
https://github.com/llvm/llvm-project/commit/24a12a9c85b1ec08ff597f43e3414271d8439a97
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/docs/InternalsManual.rst
M clang/test/TableGen/deferred-diag.td
M clang/test/TableGen/text-substitution.td
A clang/test/TableGen/wording-errors.td
M clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
Log Message:
-----------
[clang] Diagnose problematic diagnostic messages (#93229)
Clang has some unwritten rules about diagnostic wording regarding things
like punctuation and capitalization. This patch documents those rules
and adds some tablegen support for checking diagnostics follow the
rules.
Specifically: tablegen now checks that a diagnostic does not start with
a capital letter or end with punctuation, except for the usual
exceptions like proper nouns or ending with a question.
Now that the code base is clean of such issues, the diagnostics are
emitted as an error rather than a warning to ensure that failure to
follow these rules is either addressed by an author, or a new exception
is added to the checking logic.
Commit: 6e1a04247d6cc3295be8e3b14286f95983632e1c
https://github.com/llvm/llvm-project/commit/6e1a04247d6cc3295be8e3b14286f95983632e1c
Author: Tyker <tyker1 at outlook.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/test/CodeGen/PowerPC/peephole-counter-XToI.mir
M llvm/test/CodeGen/PowerPC/peephole-counter-perOp.mir
Log Message:
-----------
Fix failure after d46e37348ec3f8054b10bcbbe7c11149d7f61031
Commit: 8995ccc4460ed8a90dcc9bd023743a8f59458f50
https://github.com/llvm/llvm-project/commit/8995ccc4460ed8a90dcc9bd023743a8f59458f50
Author: Xu Zhang <simonzgx at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/include/clang/Basic/Attr.td
M clang/lib/Sema/SemaStmtAttr.cpp
M clang/test/CodeGen/attr-noinline.cpp
M clang/test/Sema/attr-noinline.cpp
Log Message:
-----------
[Clang] Add support for [[msvc::noinline]] attribute. (#91720)
Fixes #90941.
Add support for ``[[msvc::noinline]]`` attribute, which is actually an
alias of ``[[clang::noinline]]``.
Commit: 2ace7bdcfe640c69bd4dcf508d39485e0ef7ea06
https://github.com/llvm/llvm-project/commit/2ace7bdcfe640c69bd4dcf508d39485e0ef7ea06
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/CharInfo.h
M clang/include/clang/Basic/DiagnosticLexKinds.td
M clang/lib/Basic/CharInfo.cpp
M clang/lib/Lex/Lexer.cpp
A clang/test/Lexer/cxx2c-raw-strings.cpp
Log Message:
-----------
[Clang] allow `` `@$ `` in raw string delimiters in C++26 (#93216)
And as an extension in older language modes.
Per https://eel.is/c++draft/lex.string#nt:d-char
Fixes #93130
Commit: 57790db07c5a70b557d9e0cc88d8cda417b2f30d
https://github.com/llvm/llvm-project/commit/57790db07c5a70b557d9e0cc88d8cda417b2f30d
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
Log Message:
-----------
[gn build] Port 23e1ed65c2c3
Commit: 46a30dfdfd765021a76c927f70f95024d30786f2
https://github.com/llvm/llvm-project/commit/46a30dfdfd765021a76c927f70f95024d30786f2
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-and-combine.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bit-counting.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bitcast.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bitselect.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-build-vector.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-concat.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ext-loads.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-extract-subvector.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-extract-vector-elt.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fcopysign.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-arith.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-compares.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-convert.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-extend-trunc.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-fma.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-minmax.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-reduce-fa64.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-reduce.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-rounding.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-select.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-to-int.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-vselect.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-insert-vector-elt.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-arith.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-compares.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-div.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-extends.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-immediates.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-log.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-minmax.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-mla-neon-fa64.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-mulh.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-reduce.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-rem.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-select.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-shifts.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-to-fp.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-vselect.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-limit-duplane.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-loads.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-log-reduce.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-masked-load.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-masked-store.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-optimize-ptrue.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-permute-rev.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-permute-zip-uzp-trn.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ptest.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-rev.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-sdiv-pow2.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-splat-vector.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-stores.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-subvector.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-trunc-stores.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-trunc.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-vector-shuffle.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-test-register-mov.ll
Log Message:
-----------
Reland "[AArch64] NFC: Add RUN lines for streaming-compatible code." (#91599)
This reverts commit aa9d467abaeb440dc70b64c0f35b8d5e731f3a19.
Commit: 3864bfd2e0ce7e32fd623c550660885599383e6a
https://github.com/llvm/llvm-project/commit/3864bfd2e0ce7e32fd623c550660885599383e6a
Author: Daniil Fukalov <1671137+dfukalov at users.noreply.github.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/IR/Function.cpp
M llvm/lib/IR/ValueSymbolTable.cpp
A llvm/test/Assembler/non-global-value-max-name-size-2.ll
A llvm/test/Bitcode/value-with-long-name-dbg.ll
M llvm/test/Bitcode/value-with-long-name.ll
Log Message:
-----------
[IR] Fix ignoring `non-global-value-max-name-size` in `ValueSymbolTable::makeUniqueName()`. (#89057)
E.g. during inlining new symbol name can be duplicated and then
`ValueSymbolTable::makeUniqueName()` will add unique suffix, exceeding
the `non-global-value-max-name-size` restriction.
Also fixed `unsigned` type of the option to `int` since `ValueSymbolTable`'
constructor can use `-1` value that means unrestricted name size.
Commit: d2a103e682d65c3bfdff1d6a6f7b114e6cf4ff76
https://github.com/llvm/llvm-project/commit/d2a103e682d65c3bfdff1d6a6f7b114e6cf4ff76
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/lib/ProfileData/MemProf.cpp
Log Message:
-----------
[memprof] Remove const from the return type of toMemProfRecord (#93415)
"const" being removed in this patch prevents the move semantics from
being used in:
AI.CallStack = Callback(IndexedAI.CSId);
With this patch on an indexed MemProf Version 2 profile, the cycle
count and instruction count go down by 13.3% and 26.3%, respectively,
with "llvm-profdata show" modified to deserialize all MemProfRecords.
Commit: 74ed79f7f123788d95f1552800e1af9ceaee4a08
https://github.com/llvm/llvm-project/commit/74ed79f7f123788d95f1552800e1af9ceaee4a08
Author: Ryan Holt <ryanholt at mathworks.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/ConstantFold.cpp
A mlir/test/Dialect/Linalg/constant-fold.mlir
M mlir/test/Dialect/Linalg/fusion-elementwise-ops.mlir
Log Message:
-----------
[mlir][linalg] Add linalg.transpose constant folding (#92589)
There was existing support for constant folding a `linalg.generic` that
was actually a transpose. This commit adds support for the named op,
`linalg.transpose`, as well by making use of the `LinalgOp` interface.
Commit: cde1ae4c14eecd47215f04d4387845231021d939
https://github.com/llvm/llvm-project/commit/cde1ae4c14eecd47215f04d4387845231021d939
Author: Zequan Wu <zequanwu at google.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/NativePDB/UdtRecordCompleter.cpp
Log Message:
-----------
[lldb][NativePDB] Fix uninitialized values found by msan.
Commit: 94be801879788399a7ffa8c7cbe28f6c86e26ffe
https://github.com/llvm/llvm-project/commit/94be801879788399a7ffa8c7cbe28f6c86e26ffe
Author: stefankoncarevic <skoncare at amd.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M mlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
M mlir/test/Conversion/GPUToROCDL/gpu-to-rocdl.mlir
Log Message:
-----------
[mlir][ROCDL] Update the LLVM data layout for ROCDL lowering. (#92127)
This change updates the dataLayout string to ensure alignment with the
latest LLVM TargetMachine configuration. The aim is to
maintain consistency and prevent potential compilation issues related to
memory address space handling.
Commit: 26e0ce0b3633c67e09d2f3a99e0d4058a4e0a887
https://github.com/llvm/llvm-project/commit/26e0ce0b3633c67e09d2f3a99e0d4058a4e0a887
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M flang/include/flang/Optimizer/CodeGen/FIROpPatterns.h
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/CodeGen/FIROpPatterns.cpp
M flang/test/Fir/convert-to-llvm.fir
M flang/test/Fir/tbaa.fir
Log Message:
-----------
[flang] update fir.box_rank and fir.is_array codegen (#93541)
fir.box_rank codegen was invalid, it was assuming the rank field in the
descriptor was an i32. This is not correct. Do not hard code the type,
use the named position to find the type, and convert as needed in the
patterns.
Commit: 88902147c11f8de5cc7c792fd8c476a821664297
https://github.com/llvm/llvm-project/commit/88902147c11f8de5cc7c792fd8c476a821664297
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/include/llvm/Frontend/OpenMP/ConstructDecompositionT.h
Log Message:
-----------
[Frontend][OpenMP] Rename some variables, NFC
Rename things in a couple of places to make the code a bit clearer.
Commit: 51dd4eaaa29683c16151f5168e7f8645acbd6e6c
https://github.com/llvm/llvm-project/commit/51dd4eaaa29683c16151f5168e7f8645acbd6e6c
Author: Zequan Wu <zequanwu at google.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParser.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
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/SymbolFile/DWARF/UniqueDWARFASTType.cpp
M lldb/source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.h
A lldb/test/Shell/SymbolFile/DWARF/delayed-definition-die-searching.test
Log Message:
-----------
Reapply [lldb][DWARF] Delay struct/class/union definition DIE searching when parsing declaration DIEs. (#92328)
This reapplies
https://github.com/llvm/llvm-project/commit/9a7262c2601874e5aa64c5db19746770212d4b44
(#90663) and added https://github.com/llvm/llvm-project/pull/91808 as a
fix.
It was causing tests on macos to fail because
`SymbolFileDWARF::GetForwardDeclCompilerTypeToDIE` returned the map
owned by this symol file. When there were two symbol files, two
different maps were created for caching from compiler type to DIE even
if they are for the same module. The solution is to do the same as
`SymbolFileDWARF::GetUniqueDWARFASTTypeMap`: inquery
SymbolFileDWARFDebugMap first to get the shared underlying SymbolFile so
the map is shared among multiple SymbolFileDWARF.
Commit: d490ce22e93db2e9d57985bc50915e383327911f
https://github.com/llvm/llvm-project/commit/d490ce22e93db2e9d57985bc50915e383327911f
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/fceil-constrained-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/ffloor-constrained-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fceil-constrained-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ffloor-constrained-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fnearbyint-constrained-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fround-constrained-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-froundeven-constrained-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ftrunc-constrained-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/fnearbyint-constrained-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/fround-constrained-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/froundeven-constrained-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/ftrunc-constrained-sdnode.ll
Log Message:
-----------
[RISCV] Use mask undisturbed policy when silencing sNans for strict rounding ops. (#93356)
The elements that aren't sNans need to get passed through this fadd
instruction unchanged. With the agnostic mask policy they might be
forced to all ones.
Commit: f284af4863640e6b68918aa23b14498c1b8e2245
https://github.com/llvm/llvm-project/commit/f284af4863640e6b68918aa23b14498c1b8e2245
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M offload/src/PluginManager.cpp
Log Message:
-----------
[Offload][Fix] Fix lazy initialization with multiple images
Summary:
There was a bug here where we would initialize the plugin multiple times
when there were multiple images. Fix it by putting the `is_initliaized`
check later.
Commit: af22e274e9c5643780f25066442e05b5bd453328
https://github.com/llvm/llvm-project/commit/af22e274e9c5643780f25066442e05b5bd453328
Author: Matthias Gehre <matthias.gehre at amd.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M mlir/include/mlir/Conversion/TosaToTensor/TosaToTensor.h
M mlir/include/mlir/Dialect/Tosa/Transforms/Passes.h
M mlir/lib/Conversion/TosaToTensor/TosaToTensor.cpp
M mlir/lib/Conversion/TosaToTensor/TosaToTensorPass.cpp
M mlir/lib/Dialect/Tosa/Transforms/CMakeLists.txt
A mlir/lib/Dialect/Tosa/Transforms/TosaTypeConverters.cpp
M mlir/test/Conversion/TosaToTensor/tosa-to-tensor.mlir
Log Message:
-----------
TosaToTensor: Support reshape on tensors of unsigned integer (#91734)
This adds
- `mlir::tosa::populateTosaToLinalgTypeConversion` which converts
tensors of unsigned integers into tensors of signless integers
- modifies the `tosa.reshape` lowering in TosaToTensor to use the type
converter correctly
I choose to implement the type converter in
`mlir/Conversion/TosaToLinalg/TosaToLinalg.h` instead of
`mlir/Conversion/TosaToTensor/TosaToTensor.h` because I need the same
type converter in the TosaToLinalg lowerings (future PR).
Alternatively, I could duplicate the type converter so it exists both in
TosaToLinalg and TosaToTensor. Let me know if you prefer that.
Commit: fea7399e97b73a3209fcbe3338d412069769a637
https://github.com/llvm/llvm-project/commit/fea7399e97b73a3209fcbe3338d412069769a637
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/unittests/Interpreter/IncrementalProcessingTest.cpp
Log Message:
-----------
[clang] Fix a warning
This patch fixes:
clang/unittests/Interpreter/IncrementalProcessingTest.cpp:39:13:
error: unused function 'HostSupportsJit' [-Werror,-Wunused-function]
Commit: 273777ead296c9ab2c157d16b750e3ee1ace08ec
https://github.com/llvm/llvm-project/commit/273777ead296c9ab2c157d16b750e3ee1ace08ec
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/lib/AST/APValue.cpp
M clang/lib/Analysis/MacroExpansionContext.cpp
Log Message:
-----------
clang:: to llvm::; NFC
These interfaces are LLVM interfaces, not Clang ones; but this worked
because of LLVM.h adding the interfaces to the clang namespace.
Commit: 259caad2f75011174d39615bb0ba31955d16d498
https://github.com/llvm/llvm-project/commit/259caad2f75011174d39615bb0ba31955d16d498
Author: Oleksandr T <oleksandr.tarasiuk at outlook.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaExprCXX.cpp
A clang/test/SemaCXX/invalid-this-in-lambda.cpp
Log Message:
-----------
[Clang] Fix an assertion failure when checking invalid `this` (#93490)
Skip explicit this check in non-valid scopes due to `null` type in
lambdas with invalid captures or incomplete parameter lists during
parsing
Fixes #91536
Commit: 234cc40adc610a55d1a5a2fe798a9dd07b993f0c
https://github.com/llvm/llvm-project/commit/234cc40adc610a55d1a5a2fe798a9dd07b993f0c
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
M llvm/test/Analysis/LoopAccessAnalysis/depend_diff_types.ll
M llvm/test/Analysis/LoopAccessAnalysis/non-constant-strides-backward.ll
Log Message:
-----------
[LAA] Limit no-overlap check to at least one loop-invariant accesses.
Limit the logic added in https://github.com/llvm/llvm-project/pull/9230
to cases where either sink or source are loop-invariant, to avoid
compile-time increases. This is not needed for correctness.
I am working on follow-up changes to reduce the compile-time impact in
general to allow us to enable this again for any source/sink.
This should fix the compile-time regression introduced by this change:
* compile-time improvement with this change:
https://llvm-compile-time-tracker.com/compare.php?from=4351787fb650da6d1bfb8d6e58753c90dcd4c418&to=b89010a2eb5f98494787c1c3b77f25208c59090c&stat=instructions:u
* compile-time improvement with original patch reverted on top of this
change:
https://llvm-compile-time-tracker.com/compare.php?from=b89010a2eb5f98494787c1c3b77f25208c59090c&to=19a1103fe68115cfd7d6472c6961f4fabe81a593&stat=instructions:u
Commit: d582958618cc5aeff58c512399bef7b263fedd59
https://github.com/llvm/llvm-project/commit/d582958618cc5aeff58c512399bef7b263fedd59
Author: AtariDreams <gfunni234 at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
Log Message:
-----------
Revert "[Legalizer] Check full condition for UMIN and UMAX just like the code below does for SMIN and SMAX" (#93573)
Reverts llvm/llvm-project#87932
Commit: 42944e4600827738fae868f0df831fb2678be8b4
https://github.com/llvm/llvm-project/commit/42944e4600827738fae868f0df831fb2678be8b4
Author: Miro Bucko <mbucko at meta.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M lldb/bindings/headers.swig
A lldb/bindings/interface/SBAddressRangeDocstrings.i
A lldb/bindings/interface/SBAddressRangeExtensions.i
A lldb/bindings/interface/SBAddressRangeListDocstrings.i
A lldb/bindings/interface/SBAddressRangeListExtensions.i
M lldb/bindings/interfaces.swig
M lldb/include/lldb/API/LLDB.h
M lldb/include/lldb/API/SBAddress.h
A lldb/include/lldb/API/SBAddressRange.h
A lldb/include/lldb/API/SBAddressRangeList.h
M lldb/include/lldb/API/SBBlock.h
M lldb/include/lldb/API/SBDefines.h
M lldb/include/lldb/API/SBFunction.h
M lldb/include/lldb/API/SBStream.h
M lldb/include/lldb/API/SBTarget.h
M lldb/include/lldb/Core/AddressRange.h
A lldb/include/lldb/Core/AddressRangeListImpl.h
M lldb/include/lldb/Symbol/Block.h
M lldb/include/lldb/lldb-forward.h
M lldb/source/API/CMakeLists.txt
A lldb/source/API/SBAddressRange.cpp
A lldb/source/API/SBAddressRangeList.cpp
M lldb/source/API/SBBlock.cpp
M lldb/source/API/SBFunction.cpp
M lldb/source/Core/AddressRange.cpp
A lldb/source/Core/AddressRangeListImpl.cpp
M lldb/source/Core/CMakeLists.txt
M lldb/source/Symbol/Block.cpp
A lldb/test/API/python_api/address_range/Makefile
A lldb/test/API/python_api/address_range/TestAddressRange.py
A lldb/test/API/python_api/address_range/main.cpp
Log Message:
-----------
Add SBAddressRange and SBAddressRangeList to SB API (#92014)
This adds new SB API calls and classes to allow a user of the SB API to obtain an address ranges from SBFunction and SBBlock.
Commit: 79c7342f49f1ed7aa971e7857954b45906154943
https://github.com/llvm/llvm-project/commit/79c7342f49f1ed7aa971e7857954b45906154943
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/source/API/BUILD.gn
M llvm/utils/gn/secondary/lldb/source/Core/BUILD.gn
Log Message:
-----------
[gn build] Port 42944e460082
Commit: 7bea41e173367e2a535bd2188fd652a2ca267b90
https://github.com/llvm/llvm-project/commit/7bea41e173367e2a535bd2188fd652a2ca267b90
Author: Ramkumar Ramachandra <r at artagnon.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
Log Message:
-----------
LoopIdiomRecognize: strip bad TODO (NFC) (#92890)
There are several reasons why handling powi in LoopIdiomRecognize is a
bad idea:
- powi corresponds to a GCC builtin that is only defined for C int
(which is i32 for most targets).
- powi isn't always lowered by targets correctly for non-i32 parameters.
Several targets fail to compile llvm.powi.f32.i16, for example.
- Unlike memcpy and memset, which tend to be important enough internal
intrinsics that you have to handle them correctly even in freestanding
modes, powi isn't.
Strip this bad TODO to avoid misleading contributors.
Commit: 16a5fd3fdb91ffb39b97dbd3a7e9346ba406360d
https://github.com/llvm/llvm-project/commit/16a5fd3fdb91ffb39b97dbd3a7e9346ba406360d
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
A llvm/test/CodeGen/AMDGPU/select-flags-to-fmin-fmax.ll
Log Message:
-----------
DAG: Use flags in isLegalToCombineMinNumMaxNum (#93555)
Commit: b963931eb8bda810e2a8ad08832402993b931d69
https://github.com/llvm/llvm-project/commit/b963931eb8bda810e2a8ad08832402993b931d69
Author: alx32 <103613512+alx32 at users.noreply.github.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M lld/MachO/ObjC.cpp
M lld/test/MachO/objc-category-merging-complete-test.s
R lld/test/MachO/objc-category-merging-extern-class-minimal.s
A lld/test/MachO/objc-category-merging-minimal.s
Log Message:
-----------
[lld-macho][ObjC] Implement category merging into base class (#92448)
Currently category merging only supports merging multiple categories
into one. With this commit we add the ability to fully merge categories
into the base class, if the base class is included in the current
module. This is the optimal approach for defined classes.
Commit: d1d863c012cf3d5b407ae06d23a5628ec9510b7c
https://github.com/llvm/llvm-project/commit/d1d863c012cf3d5b407ae06d23a5628ec9510b7c
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp
Log Message:
-----------
[lldb] Remove lldbassert in AppleObjCTypeEncodingParser (#93332)
AppleObjCTypeEncodingParser::BuildObjCObjectPointerType currently
contains an lldbassert to detect situations where we have a forward
declaration without a definition. According to the accompanying comment,
its purpose is to catch "weird cases" during test suite runs.
However, because this is an lldbassert, we show a scary message to our
users who think this is a problem and report the issue to us.
Unfortunately those reports aren't very actionable without a way to know
the name of the type.
This patch changes the lldbassert to a regular assert and emits a log
message to the types log when this happens.
rdar://127439898
Commit: f69b6d2c99a10847a2d73c7fcd656d2ae22937ce
https://github.com/llvm/llvm-project/commit/f69b6d2c99a10847a2d73c7fcd656d2ae22937ce
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp
Log Message:
-----------
[lldb] Add missing semicolon (NFC)
Commit: c09787b7d05083791b417c5b97a8cfd6d0874ed9
https://github.com/llvm/llvm-project/commit/c09787b7d05083791b417c5b97a8cfd6d0874ed9
Author: Franklin Zhang <zhangfenglei at huawei.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M openmp/tools/archer/ompt-tsan.cpp
Log Message:
-----------
[OMPT] Set default values for tsan function pointers (#93568)
Avoid calling NULL function pointers in cases where ompt_start_tool
succeeds but those tsan functions
do not really exist.
Fix https://github.com/llvm/llvm-project/issues/93524
---------
Co-authored-by: Joachim <protze at rz.rwth-aachen.de>
Commit: ef67f31e88dbae46811f03da945cfb8130c6fa15
https://github.com/llvm/llvm-project/commit/ef67f31e88dbae46811f03da945cfb8130c6fa15
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/include/llvm/Analysis/ScalarEvolution.h
M llvm/lib/Analysis/ScalarEvolution.cpp
Log Message:
-----------
[SCEV] Compute symbolic max backedge taken count in BTI directly. (NFC)
Move symbolic max backedge taken count computation to BackedgeTakenInfo,
use existing ExitNotTaken info.
In preparation for https://github.com/llvm/llvm-project/pull/93498.
Commit: 0b2094c4553a63bb058c59073fc7c22d05e66977
https://github.com/llvm/llvm-project/commit/0b2094c4553a63bb058c59073fc7c22d05e66977
Author: Sirraide <aeternalmail at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/lib/Sema/SemaStmtAttr.cpp
Log Message:
-----------
[Clang] [NFC] Remove debug printing
Commit: f0899964e4041b1dc70dc66450a7f6b3e3a22262
https://github.com/llvm/llvm-project/commit/f0899964e4041b1dc70dc66450a7f6b3e3a22262
Author: Youngsuk Kim <joseph942010 at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaLookup.cpp
M clang/test/SemaCXX/invalid-if-constexpr.cpp
A clang/test/SemaCXX/typo-correction-builtin-func.cpp
Log Message:
-----------
[clang][Sema] Don't emit 'declared here' note for builtin functions with no decl in source (#93394)
Fixes #93369
---------
Co-authored-by: Timm Baeder <tbaeder at redhat.com>
Co-authored-by: S. B. Tam <cpplearner at outlook.com>
Commit: 73e22ff3d77db72bb9b6e22342417a5f4fe6afb4
https://github.com/llvm/llvm-project/commit/73e22ff3d77db72bb9b6e22342417a5f4fe6afb4
Author: Akshay Deodhar <adeodhar at nvidia.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/include/llvm/Transforms/Scalar/Reassociate.h
M llvm/lib/Transforms/Scalar/Reassociate.cpp
M llvm/test/Transforms/Reassociate/local-cse.ll
A llvm/test/Transforms/Reassociate/reassoc-add-nsw.ll
Log Message:
-----------
[Reassociate] Preserve NSW flags after expr tree rewriting (#93105)
We can guarantee NSW on all operands in a reassociated add expression
tree when:
- All adds in an add operator tree are NSW, AND either
- All add operands are guaranteed to be nonnegative, OR
- All adds are also NUW
- Alive2:
- Nonnegative Operands
- 3 operands: https://alive2.llvm.org/ce/z/G4XW6Q
- 4 operands: https://alive2.llvm.org/ce/z/FWcZ6D
- NUW NSW adds: https://alive2.llvm.org/ce/z/vRUxeC
---------
Co-authored-by: Nikita Popov <github at npopov.com>
Commit: 99835922ca2a2ac20769271a49a5f8055bb5dc93
https://github.com/llvm/llvm-project/commit/99835922ca2a2ac20769271a49a5f8055bb5dc93
Author: Peiming Liu <peiming at google.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.h
M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorPasses.cpp
Log Message:
-----------
[mlir][sparse] remove sparse encoding propagation pass. (#93593)
Commit: 196a0809822ba4ac0fc669a46cbacee8afbe36c2
https://github.com/llvm/llvm-project/commit/196a0809822ba4ac0fc669a46cbacee8afbe36c2
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
Log Message:
-----------
DAG: Handle fminnum_ieee/fmaxnum_ieee in basic legalization
Handle these in promote float and vector widening. Currently we happen
to avoid emitting these unless legal or custom. Avoids regression in
a future commit which wants to unconditionally emit these.
Commit: 08de0b3cf54e4998799673f835e9a7d5ead8efab
https://github.com/llvm/llvm-project/commit/08de0b3cf54e4998799673f835e9a7d5ead8efab
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
A llvm/test/CodeGen/WebAssembly/eh-option-errors.ll
M llvm/test/CodeGen/WebAssembly/lower-em-ehsjlj-options.ll
Log Message:
-----------
[WebAssembly] Add tests for EH/SjLj option errors (#93583)
This adds tests for EH/SjLj option errors and swaps the error checking
order for unimportant cosmetic reasons (I think checking EH/SjLj
conflicts is more important than the model checking)
Commit: d33864d5d8ae55ff1c86510dc475fd9dd72d61c7
https://github.com/llvm/llvm-project/commit/d33864d5d8ae55ff1c86510dc475fd9dd72d61c7
Author: Karthika Devi C <quic_kartc at quicinc.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M polly/include/polly/ScheduleTreeTransform.h
Log Message:
-----------
[polly] Fix cppcheck SA comment reported in #91235 (#93505)
This patch moves the unreachable assert before return statement.
Fixes #91235.
Commit: 5901d4005f015a46185ddc080038c1a3db3fa2c7
https://github.com/llvm/llvm-project/commit/5901d4005f015a46185ddc080038c1a3db3fa2c7
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Parse/Parser.h
M clang/lib/Parse/ParseStmt.cpp
M clang/test/C/C99/block-scopes.c
A clang/test/Parser/decls.c
M clang/test/SemaOpenACC/parallel-loc-and-stmt.c
Log Message:
-----------
[C] Disallow declarations where a statement is required (#92908)
This fixes a regression introduced in
8bd06d5b65845e5e01dd899a2deb773580460b89 where Clang began to accept a
declaration where a statement is required. e.g.,
```
if (1)
int x; // Previously accepted, now properly rejected
```
Fixes #92775
Commit: debdbeda15802900615d1bee83e4fc519abeaba6
https://github.com/llvm/llvm-project/commit/debdbeda15802900615d1bee83e4fc519abeaba6
Author: Kunwar Grover <groverkss at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/Arith/Transforms/Passes.h
M mlir/include/mlir/Dialect/Arith/Transforms/Passes.td
M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.h
M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.td
M mlir/include/mlir/Dialect/Linalg/Passes.h
M mlir/include/mlir/Dialect/Linalg/Passes.td
M mlir/include/mlir/Dialect/Shape/Transforms/Passes.h
M mlir/include/mlir/Dialect/Shape/Transforms/Passes.td
M mlir/include/mlir/Dialect/Tensor/Transforms/Passes.h
M mlir/include/mlir/Dialect/Tensor/Transforms/Passes.td
M mlir/include/mlir/Dialect/Vector/Transforms/Passes.h
M mlir/include/mlir/Dialect/Vector/Transforms/Passes.td
R mlir/lib/Dialect/Arith/Transforms/Bufferize.cpp
M mlir/lib/Dialect/Arith/Transforms/CMakeLists.txt
M mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp
R mlir/lib/Dialect/Linalg/Transforms/Bufferize.cpp
M mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
R mlir/lib/Dialect/Shape/Transforms/Bufferize.cpp
M mlir/lib/Dialect/Shape/Transforms/CMakeLists.txt
R mlir/lib/Dialect/Tensor/Transforms/Bufferize.cpp
M mlir/lib/Dialect/Tensor/Transforms/CMakeLists.txt
R mlir/lib/Dialect/Vector/Transforms/Bufferize.cpp
M mlir/lib/Dialect/Vector/Transforms/CMakeLists.txt
M mlir/test/Dialect/Arith/bufferize.mlir
M mlir/test/Dialect/Linalg/bufferize.mlir
M mlir/test/Dialect/Shape/bufferize.mlir
M mlir/test/Dialect/SparseTensor/sparse_lower.mlir
M mlir/test/Dialect/SparseTensor/sparse_lower_col.mlir
M mlir/test/Dialect/SparseTensor/sparse_lower_inplace.mlir
M mlir/test/Dialect/Tensor/bufferize.mlir
M mlir/test/Dialect/Vector/bufferize-invalid.mlir
M mlir/test/Dialect/Vector/bufferize.mlir
M mlir/test/Integration/Dialect/Complex/CPU/correctness.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/test-collapse-tensor.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/test-elementwise.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/test-expand-tensor.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/test-padtensor.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/test-subtensor-insert-multiple-uses.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/test-subtensor-insert.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/test-tensor-e2e.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/test-tensor-matmul.mlir
M mlir/test/Integration/Dialect/Memref/print-memref.mlir
M mlir/test/Integration/Dialect/Memref/verify-memref.mlir
M mlir/test/Integration/Dialect/Vector/CPU/AMX/test-mulf-full.mlir
M mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli-full.mlir
Log Message:
-----------
[mlir] Remove dialect specific bufferization passes (Reland) (#93535)
These passes have been depreciated for a long time and replaced by
one-shot bufferization. These passes are also unsafe because they do not
check for read-after-write conflicts.
Relands https://github.com/llvm/llvm-project/pull/93488 which failed on
buildbot. Fixes the failure by updating integration tests to use
one-shot-bufferize instead.
Commit: a4bef0ca826a8145ef3cb288846017c034a817c2
https://github.com/llvm/llvm-project/commit/a4bef0ca826a8145ef3cb288846017c034a817c2
Author: Stephan T. Lavavej <stl at nuwen.net>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M libcxx/docs/FeatureTestMacroTable.rst
M libcxx/include/version
M libcxx/test/std/language.support/support.limits/support.limits.general/filesystem.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/string.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
M libcxx/utils/generate_feature_test_macro_components.py
Log Message:
-----------
[libc++] Mark P2845R8 `__cpp_lib_format_path` and P2587R3 `__cpp_lib_to_string` as C++26 (#93255)
[P2845R8](https://wg21.link/P2845R8) "Formatting of
`std::filesystem::path`" and [P2587R3](https://wg21.link/P2587R3)
"`to_string` or not `to_string`" are C++26 features, so they should be
marked accordingly in `generate_feature_test_macro_components.py`.
I verified that without my changes, running the script produced no
edits. Then with my changes, I ran the script to regenerate all files,
with no other manual edits.
Found while running libc++'s tests with MSVC's STL, which noticed this
because it's currently a C++23-only implementation.
Note that @H-G-Hristov has a draft implementation of P2587R3: #78100
Commit: 51752ed0dd737f12014a89dec67d25494083153d
https://github.com/llvm/llvm-project/commit/51752ed0dd737f12014a89dec67d25494083153d
Author: Guray Ozen <guray.ozen at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M mlir/test/Examples/NVGPU/tools/nvdsl.py
Log Message:
-----------
[mlir][nvgpu] verify the module
Commit: 266fac8375bdf3f039503c559bb16ffab8895ae5
https://github.com/llvm/llvm-project/commit/266fac8375bdf3f039503c559bb16ffab8895ae5
Author: Stephan T. Lavavej <stl at nuwen.net>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M libcxx/test/std/atomics/atomics.ref/compare_exchange_strong.pass.cpp
M libcxx/test/std/atomics/atomics.ref/compare_exchange_weak.pass.cpp
M libcxx/test/std/atomics/atomics.ref/wait.pass.cpp
M libcxx/test/std/containers/views/views.span/span.cons/initializer_list.pass.cpp
M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp
M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp
M libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.pass.cpp
M libcxx/test/support/msvc_stdlib_force_include.h
Log Message:
-----------
[libc++] [test] Fix MSVC warnings (#93257)
Found while running libc++'s tests with MSVC's STL.
* Avoid MSVC warning C5101: use of preprocessor directive in
function-like macro argument list is undefined behavior.
+ We can easily make this portable by extracting `const bool is_newlib`.
+ Followup to #73440.
+ See #73598.
+ See #73836.
* Avoid MSVC warning C4267: 'return': conversion from 'size_t' to 'int',
possible loss of data.
+ This warning is valid, but harmless for the test, so
`static_cast<int>` will avoid it.
* Avoid MSVC warning C4146: unary minus operator applied to unsigned
type, result still unsigned.
+ This warning is also valid (the scenario is sometimes intentional, but
surprising enough that it's worth warning about). This is a C++17 test,
so we can easily avoid it by testing `is_signed_v` at compile-time
before testing `m < 0` and `n < 0` at run-time.
* Silence MSVC warning C4310: cast truncates constant value.
+ These warnings are being emitted by `T(255)`. Disabling the warning is
simpler than attempting to restructure the code.
+ Followup to #79791.
* MSVC no longer emits warning C4521: multiple copy constructors
specified.
+ This warning was removed from the compiler, since at least 2021-12-09.
Commit: 2ba08386156ef25913b1bee170d8fe95aaceb234
https://github.com/llvm/llvm-project/commit/2ba08386156ef25913b1bee170d8fe95aaceb234
Author: Stephan T. Lavavej <stl at nuwen.net>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M libcxx/test/libcxx/time/time.zone/time.zone.db/time.zone.db.tzdb/locate_zone.pass.cpp
M libcxx/test/std/algorithms/alg.nonmodifying/alg.contains/ranges.contains_subrange.pass.cpp
R libcxx/test/std/containers/sequences/vector/vector.modifiers/destory_elements.pass.cpp
A libcxx/test/std/containers/sequences/vector/vector.modifiers/destroy_elements.pass.cpp
M libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/path.pass.cpp
M libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/path.pass.cpp
M libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/path.pass.cpp
M libcxx/test/std/iterators/predef.iterators/move.iterators/sized_sentinel.compile.pass.cpp
M libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.access/current_zone.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.access/locate_zone.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.tzdb/current_zone.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.tzdb/locate_zone.pass.cpp
M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.swap/swap.pass.cpp
M libcxx/test/support/msvc_stdlib_force_include.h
Log Message:
-----------
[libc++] [test] Fix portability issues for MSVC (#93259)
* Guard `std::__make_from_tuple_impl` tests with `#ifdef _LIBCPP_VERSION` and `LIBCPP_STATIC_ASSERT`.
* Change `_LIBCPP_CONSTEXPR_SINCE_CXX20` to `TEST_CONSTEXPR_CXX20`.
+ Other functions in `variant.swap/swap.pass.cpp` were already using the proper test macro.
* Mark `what` as `[[maybe_unused]]` when used by `TEST_LIBCPP_REQUIRE`.
+ This updates one occurrence in `libcxx/test/libcxx` for consistency.
* Windows `_putenv_s()` takes 2 arguments, not 3.
+ See MSVC documentation: https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/putenv-s-wputenv-s?view=msvc-170
+ POSIX `setenv()` takes `int overwrite`, but Windows `_putenv_s()` always overwrites.
* Avoid non-Standard zero-length arrays.
+ Followup to #74183 and #79792.
* Add `operator++()` to `unsized_it`.
+ The Standard requires this due to [N4981][] [move.iter.requirements]/1 "The template parameter `Iterator` shall
either meet the *Cpp17InputIterator* requirements ([input.iterators])
or model `input_iterator` ([iterator.concept.input])."
+ MSVC's STL requires this because it has a strengthened exception
specification in `move_iterator` that inspects the underlying iterator's
increment operator.
* `uniform_int_distribution` forbids `int8_t`/`uint8_t`.
+ See [N4981][] [rand.req.genl]/1.5. MSVC's STL enforces this.
+ Note that when changing the distribution's `IntType`, we need to be
careful to preserve the original value range of `[0, max_input]`.
* fstreams are constructible from `const fs::path::value_type*` on wide systems.
+ See [ifstream.cons], [ofstream.cons], [fstream.cons].
* In `msvc_stdlib_force_include.h`, map `_HAS_CXX23` to `TEST_STD_VER` 23 instead of 99.
+ On 2023-05-23, https://github.com/llvm/llvm-project/commit/71400505ca048507e827013eb1ea0bc863525cab
started recognizing 23 as a distinct value.
* Fix test name typo: `destory_elements.pass.cpp` => `destroy_elements.pass.cpp`
[N4981]: https://wg21.link/N4981
Commit: bc247ba113543b07fcff769ab616cf9509eb2794
https://github.com/llvm/llvm-project/commit/bc247ba113543b07fcff769ab616cf9509eb2794
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
R llvm/test/tools/llvm-profdata/memprof-merge-v0.test
A llvm/test/tools/llvm-profdata/memprof-merge-versions.test
Log Message:
-----------
[memprof] Rename memprof-merge-v0.test to memprof-merge-versions.test (#93602)
Despite the name, the test is used to test merge/show roundtrips for
different MemProf versions. This patch renames the test to match the
reality.
Commit: 1c3a3f0e79a9c6a7c1c4a71c43a9eab783c3b266
https://github.com/llvm/llvm-project/commit/1c3a3f0e79a9c6a7c1c4a71c43a9eab783c3b266
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
M llvm/test/CodeGen/RISCV/rvv/ctlz-vp.ll
M llvm/test/CodeGen/RISCV/rvv/ctpop-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vdiv-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vdivu-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vmax-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vmaxu-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vmin-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vminu-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vrem-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vremu-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vshl-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vsra-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vsrl-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fshr-fshl-vp.ll
M llvm/test/CodeGen/RISCV/rvv/vdiv-vp.ll
M llvm/test/CodeGen/RISCV/rvv/vdivu-vp.ll
M llvm/test/CodeGen/RISCV/rvv/vmax-vp.ll
M llvm/test/CodeGen/RISCV/rvv/vmaxu-vp.ll
M llvm/test/CodeGen/RISCV/rvv/vmin-vp.ll
M llvm/test/CodeGen/RISCV/rvv/vminu-vp.ll
M llvm/test/CodeGen/RISCV/rvv/vrem-vp.ll
M llvm/test/CodeGen/RISCV/rvv/vremu-vp.ll
M llvm/test/CodeGen/RISCV/rvv/vshl-vp.ll
M llvm/test/CodeGen/RISCV/rvv/vsra-vp.ll
M llvm/test/CodeGen/RISCV/rvv/vsrl-vp.ll
Log Message:
-----------
[LegalizeTypes] Use VP_AND and VP_SHL/VP_SRA to promote operands fo VP arithmetic. (#92799)
This adds VPSExtPromotedInteger and VPZExtPromotedInteger and uses them
to promote many arithmetic operations.
VPSExtPromotedInteger uses a shift pair because we don't have
VP_SIGN_EXTEND_INREG yet.
Commit: 0e96eebc7f681a7ce41f35909e609c7c61a11455
https://github.com/llvm/llvm-project/commit/0e96eebc7f681a7ce41f35909e609c7c61a11455
Author: Thurston Dang <thurston at google.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M compiler-rt/lib/msan/msan.cpp
Log Message:
-----------
[msan] Reland: Increase k num stack origin descrs (limited to non-PowerPC) (#93117)
The original pull request
(https://github.com/llvm/llvm-project/pull/92838) was reverted due to a
PowerPC buildbot breakage
(https://github.com/llvm/llvm-project/commit/df626dd11c360c58eddae813ce6a0524d0a53696).
This reland limits the scope of the change to non-PowerPC platforms. I
am unaware of any PowerPC use cases that would benefit from a larger
kNumStackOriginDescrs constant.
Original CL description: This increases the constant size of
kNumStackOriginDescrs to 4M (64GB of BSS across two arrays), which ought
to be enough for anybody.
This is the easier alternative suggested by eugenis@ in
https://github.com/llvm/llvm-project/pull/92826.
Commit: d9dec109375ded13d61da20877c399fb8fbb877d
https://github.com/llvm/llvm-project/commit/d9dec109375ded13d61da20877c399fb8fbb877d
Author: Lucile Rose Nihlen <luci.the.rose at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M .ci/monolithic-windows.sh
Log Message:
-----------
[ci] limit parallel windows compile jobs to 24 (#93329)
This is an experiment to see if we can prevent some of the compiler OOMs
happening without unduly impacting the Windows build latency.
Commit: c96860aea2c77392bad16f1c4f55014164669de3
https://github.com/llvm/llvm-project/commit/c96860aea2c77392bad16f1c4f55014164669de3
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.h
Log Message:
-----------
[clang-tidy] Optimize realpath in readability-identifier-naming (#92659)
- Reduce disk IO usage by adding cache to an realpath introduced by
#81985
Commit: 0aacef3abc41cfc8efb5f1b9483bc37599352a59
https://github.com/llvm/llvm-project/commit/0aacef3abc41cfc8efb5f1b9483bc37599352a59
Author: Mattan Elkaim <73639004+mattanelkaim at users.noreply.github.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang-tools-extra/docs/clang-tidy/checks/readability/identifier-length.rst
Log Message:
-----------
[clang-tidy][NFC] Update identifier-length.rst (#93467)
Swapped code blocks of parameter and variable, which have been confused
(in a clang-tidy doc file)
Commit: c108c1e94580d70e2be66172ab4397fcff004376
https://github.com/llvm/llvm-project/commit/c108c1e94580d70e2be66172ab4397fcff004376
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
A llvm/test/CodeGen/WebAssembly/cfg-stackify-eh-legacy.ll
R llvm/test/CodeGen/WebAssembly/cfg-stackify-eh.ll
A llvm/test/CodeGen/WebAssembly/exception-legacy.ll
R llvm/test/CodeGen/WebAssembly/exception.ll
Log Message:
-----------
[WebAssembly] Rename old EH tests to *-legacy (#93585)
I think test files for the legacy and the new EH (exnref) are better be
separate, and I'd like to use the current test file names for the new
EH, rather than keeping the current files and naming the new ones as
`-new` or something.
Commit: 9e89d107a6ec2ade15eddb549fa473cf09bf230e
https://github.com/llvm/llvm-project/commit/9e89d107a6ec2ade15eddb549fa473cf09bf230e
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/lib/ProfileData/InstrProfReader.cpp
M llvm/lib/ProfileData/InstrProfWriter.cpp
M llvm/lib/ProfileData/MemProf.cpp
M llvm/test/tools/llvm-profdata/memprof-merge-versions.test
M llvm/tools/llvm-profdata/llvm-profdata.cpp
Log Message:
-----------
[memprof] Add MemProf format Version 3 (#93608)
This patch adds Version 3 for development purposes. For now, this
patch adds V3 as a copy of V2.
For the most part, this patch adds "case Version3:" wherever "case
Version2:" appears. One exception is writeMemProfV3, which is copied
from writeMemProfV2 but updated to write out memprof::Version3 to the
MemProf header. We'll incrementally modify writeMemProfV3 in
subsequent patches.
Commit: 193e9007ef0bef6c881ab26746221f22ec674447
https://github.com/llvm/llvm-project/commit/193e9007ef0bef6c881ab26746221f22ec674447
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/include/clang/AST/StmtOpenACC.h
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Sema/SemaOpenACC.h
M clang/lib/AST/StmtOpenACC.cpp
M clang/lib/Parse/ParseOpenACC.cpp
M clang/lib/Sema/SemaOpenACC.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTReaderStmt.cpp
M clang/lib/Serialization/ASTWriterStmt.cpp
Log Message:
-----------
[OpenACC][NFC] Fix begin loc and split it from the directive location
I discovered while working on something else that we were using the
location of the directive name as the 'beginloc' which caused some
problems in a few places. This patch makes it so our beginloc is the
'#' as we originally designed, and then adds a DirectiveLoc concept to a
construct for use diagnosing the name.
Commit: 5a23d31c5033dcb41d374692ed26d87ed8e2665a
https://github.com/llvm/llvm-project/commit/5a23d31c5033dcb41d374692ed26d87ed8e2665a
Author: William Junda Huang <williamjhuang at google.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/Transforms/IPO/SampleProfile.cpp
A llvm/test/Transforms/SampleProfile/Inputs/inline-hot-callsite-threshold.prof
A llvm/test/Transforms/SampleProfile/inline-hot-callsite-threshold.ll
M llvm/test/Transforms/SampleProfile/pseudo-probe-inline.ll
M llvm/test/Transforms/SampleProfile/remarks.ll
Log Message:
-----------
[Sample Profile] Check hot callsite threshold when inlining a function with a sample profile (#93286)
Currently if a callsite is hot as determined by the sample profile, it
is unconditionally inlined barring invalid cases (such as recursion).
Inline cost check should still apply because a function's hotness and
its inline cost are two different things.
For example if a function is calling another very large function
multiple times (at different code paths), the large function should not
be inlined even if its hot.
Commit: 6a47315a3cb2c6d381809f0ba5c89bd8dcdbcaa0
https://github.com/llvm/llvm-project/commit/6a47315a3cb2c6d381809f0ba5c89bd8dcdbcaa0
Author: Stefan Gränitz <stefan.graenitz at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/unittests/Interpreter/CodeCompletionTest.cpp
M clang/unittests/Interpreter/IncrementalProcessingTest.cpp
Log Message:
-----------
[clang-repl] Even more tests create the Interpreter and must check host JIT support (#84758)
Commit: 98fa0f6981f33b7d8f5aa38babc1e71bc0209de8
https://github.com/llvm/llvm-project/commit/98fa0f6981f33b7d8f5aa38babc1e71bc0209de8
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
Log Message:
-----------
DAG: Handle vector splitting for fminnum_ieee/fmaxnum_ieee
Avoids regression in future commit which starts producing
illegal instances.
Commit: bbca20f0b1ab7c6ea36a84e88a6abb07f94ca80b
https://github.com/llvm/llvm-project/commit/bbca20f0b1ab7c6ea36a84e88a6abb07f94ca80b
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/include/clang/Basic/CharInfo.h
Log Message:
-----------
[Clang][NFC] remove CHAR_PUNCT duplication introduced by #93216 (#93605)
Commit: df542e1ed82bd4e5a9e345d3a3ae63a76893a0cf
https://github.com/llvm/llvm-project/commit/df542e1ed82bd4e5a9e345d3a3ae63a76893a0cf
Author: Stefan Gränitz <stefan.graenitz at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/unittests/Interpreter/IncrementalProcessingTest.cpp
Log Message:
-----------
Fix build: [clang-repl] Even more tests create the Interpreter and must check host JIT support (#84758)
fea7399e97b73a3209fcbe3338d412069769a637 had removed the unused function that was still there when I tested.
Commit: ed4227aad37f2c4adf307b63050fb9aee52b07f8
https://github.com/llvm/llvm-project/commit/ed4227aad37f2c4adf307b63050fb9aee52b07f8
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
A llvm/test/Analysis/ScalarEvolution/predicated-symbolic-max-backedge-taken-count.ll
Log Message:
-----------
[SCEV] Add tests for symbolic max BTC requiring predicates.
Add extra tests for https://github.com/llvm/llvm-project/pull/93498.
Commit: e3f74d4589e29279e9f543b58577a2ece102dc6f
https://github.com/llvm/llvm-project/commit/e3f74d4589e29279e9f543b58577a2ece102dc6f
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/lib/Serialization/ASTWriter.cpp
Log Message:
-----------
[OpenACC] Correct serialization of certain clause sub-expressions
For some reason I was using writeStmtRef when I meant writeStmt, so this
corrects that.
Commit: 060b3023e198d197b47c652f19af5f7dea3a22cc
https://github.com/llvm/llvm-project/commit/060b3023e198d197b47c652f19af5f7dea3a22cc
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RISCV] Move TRUNCATE_VECTOR_VL combine into a helper function. NFC (#93574)
I plan to add other combines on TRUNCATE_VECTOR_VL.
Commit: 00bd2fa1982f3114536323209fffad909463effc
https://github.com/llvm/llvm-project/commit/00bd2fa1982f3114536323209fffad909463effc
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M flang/module/cudadevice.f90
A flang/test/Lower/CUDA/cuda-device-proc.cuf
Log Message:
-----------
[flang][cuda] Add bind c to cudadevice procedures (#92822)
This patch adds bind c names to functions and subroutines in cudadevice
so they can be lowered and not hit the intrinsic procedure TODOs.
Commit: 2d00c6fe06b6d709b4ab3d6b253df304c04e0c1f
https://github.com/llvm/llvm-project/commit/2d00c6fe06b6d709b4ab3d6b253df304c04e0c1f
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfo.td
M llvm/lib/Target/RISCV/RISCVMergeBaseOffset.cpp
M llvm/lib/Target/RISCV/RISCVPostRAExpandPseudoInsts.cpp
M llvm/test/CodeGen/RISCV/ctlz-cttz-ctpop.ll
M llvm/test/CodeGen/RISCV/ctz_zero_return_test.ll
M llvm/test/CodeGen/RISCV/early-clobber-tied-def-subreg-liveness.ll
M llvm/test/CodeGen/RISCV/fold-addi-loadstore.ll
M llvm/test/CodeGen/RISCV/rv32xtheadbb.ll
M llvm/test/CodeGen/RISCV/rv32zbb.ll
M llvm/test/CodeGen/RISCV/rvv/active_lane_mask.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-interleaved-access.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-mask-buildvec.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-gather.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-shuffle-reverse.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-stepvector.ll
M llvm/test/CodeGen/RISCV/rvv/shuffle-reverse.ll
M llvm/test/CodeGen/RISCV/tail-calls.ll
M llvm/test/CodeGen/RISCV/unroll-loop-cse.ll
Log Message:
-----------
[RISCV] Add a rematerializable pseudo instruction for LUI+ADDI for global addresses. (#93352)
This allows register allocation to rematerialize these instead of
spilling and reloading. We need to make it a single instruction due to
limitations in rematerialization.
This pseudo is expanded to an LUI+ADDI pair between regalloc and post RA
scheduling.
This improves the dynamic instruction count on 531.deepsjeng_r from
spec2017 by 3.2% for the train dataset. 500.perlbench and 502.gcc see a
1% improvement. There are couple regressions, but they are 0.1% or
smaller.
AArch64 has similar pseudo instructions like MOVaddr
Commit: 765206e050453018e861637a08a4520f29238074
https://github.com/llvm/llvm-project/commit/765206e050453018e861637a08a4520f29238074
Author: gulfemsavrun <gulfem at google.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenPGO.cpp
Log Message:
-----------
[CodeGen] Hidden visibility for prof version var (#93496)
This patch adds hidden visibility to the variable
that is used by the single byte counters mode in
source-based code coverage.
Commit: 067b4ccb4b5ab93ac2dc2243248a8934fa1f7ce3
https://github.com/llvm/llvm-project/commit/067b4ccb4b5ab93ac2dc2243248a8934fa1f7ce3
Author: Eric <eric at efcs.ca>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
A .github/workflows/restart-preempted-libcxx-jobs.yaml
Log Message:
-----------
Upstream libc++ buildbot restarter. (#93582)
I've been running a cronjob on my local machine to restart preempted
libc++ CI runs. This is bad and brittle. This upstreams a much better
version of the restarter.
It works by matching on check run annotations looking for mention
of the machine being shutdown.
If there are both preempted jobs and failing jobs, we don't restart
the workflow. Maybe we should change that?
Commit: b9cdea66b62e2eb91814ef7c57ea01aa27440e72
https://github.com/llvm/llvm-project/commit/b9cdea66b62e2eb91814ef7c57ea01aa27440e72
Author: Eric Fiselier <eric at efcs.ca>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M .github/workflows/restart-preempted-libcxx-jobs.yaml
Log Message:
-----------
Attempt to fix issue with plus sign in libc++ workflow name
Commit: 6aeea700df6f3f8db9e6a79be4aa593c6fcc7d18
https://github.com/llvm/llvm-project/commit/6aeea700df6f3f8db9e6a79be4aa593c6fcc7d18
Author: Spenser Bauman <sbauman at mathworks.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M mlir/include/mlir/Analysis/DataFlow/IntegerRangeAnalysis.h
M mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
M mlir/include/mlir/Dialect/GPU/IR/GPUOps.td
M mlir/include/mlir/Dialect/Index/IR/IndexOps.td
M mlir/include/mlir/Interfaces/InferIntRangeInterface.h
M mlir/include/mlir/Interfaces/InferIntRangeInterface.td
M mlir/include/mlir/Interfaces/Utils/InferIntRangeCommon.h
M mlir/lib/Analysis/DataFlow/IntegerRangeAnalysis.cpp
M mlir/lib/Dialect/Arith/IR/InferIntRangeInterfaceImpls.cpp
M mlir/lib/Interfaces/InferIntRangeInterface.cpp
M mlir/lib/Interfaces/Utils/InferIntRangeCommon.cpp
M mlir/test/Dialect/Arith/int-range-interface.mlir
M mlir/test/lib/Dialect/Test/TestOps.td
Log Message:
-----------
[mlir][dataflow] Fix for integer range analysis propagation bug (#93199)
Integer range analysis will not update the range of an operation when
any of the inferred input lattices are uninitialized. In the current
behavior, all lattice values for non integer types are uninitialized.
For operations like arith.cmpf
```mlir
%3 = arith.cmpf ugt, %arg0, %arg1 : f32
```
that will result in the range of the output also being uninitialized,
and so on for any consumer of the arith.cmpf result. When control-flow
ops are involved, the lack of propagation results in incorrect ranges,
as the back edges for loop carried values are not properly joined with
the definitions from the body region.
For example, an scf.while loop whose body region produces a value that
is in a dataflow relationship with some floating-point values through an
arith.cmpf operation:
```mlir
func.func @test_bad_range(%arg0: f32, %arg1: f32) -> (index, index) {
%c4 = arith.constant 4 : index
%c1 = arith.constant 1 : index
%c0 = arith.constant 0 : index
%3 = arith.cmpf ugt, %arg0, %arg1 : f32
%1:2 = scf.while (%arg2 = %c0, %arg3 = %c0) : (index, index) -> (index, index) {
%2 = arith.cmpi ult, %arg2, %c4 : index
scf.condition(%2) %arg2, %arg3 : index, index
} do {
^bb0(%arg2: index, %arg3: index):
%4 = arith.select %3, %arg3, %arg3 : index
%5 = arith.addi %arg2, %c1 : index
scf.yield %5, %4 : index, index
}
return %1#0, %1#1 : index, index
}
```
The existing behavior results in the control condition %2 being
optimized to true, turning the while loop into an infinite loop. The
update to %arg2 through the body region is never factored into the range
calculation, as the ranges for the body ops all test as uninitialized.
This change causes all values initialized with setToEntryState to be set
to some initialized range, even if the values are not integers.
---------
Co-authored-by: Spenser Bauman <sabauma at fastmail>
Commit: 20d497c26fc95c80a1bacb38820d92e5f52bec58
https://github.com/llvm/llvm-project/commit/20d497c26fc95c80a1bacb38820d92e5f52bec58
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Gnu.cpp
Log Message:
-----------
[Driver] Remove unneeded *-linux-gnu after D158183
Recommit 435ea21c897f94b5a3777a9f152e4c5bb4a371a3.
As the comment added by a07727199db0525e9d2df41e466a2a1611b3c8e1
suggests, these `*Triples` lists should shrink over time.
https://reviews.llvm.org/D158183 allows *-unknown-linux-gnu to detect
*-linux-gnu. If we additionally allow x86_64-unknown-linux-gnu
-m32/-mx32 to detect x86_64-linux-gnu, we can mostly remove these
*-linux-gnu elements.
Retain x86_64-linux-gnu for now to work around #93609.
(In addition, Debian /usr/bin/clang --version uses x86_64-pc-linux-gnu).
Retain i586-linux-gnu for now to work around #93502.
Commit: 760c2aa55f0c5f56bed944328b23aa3f2f764346
https://github.com/llvm/llvm-project/commit/760c2aa55f0c5f56bed944328b23aa3f2f764346
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M lld/ELF/Arch/ARM.cpp
M lld/ELF/Config.h
M lld/ELF/InputFiles.cpp
A lld/test/ELF/armv8-thumb-plt-reloc.s
Log Message:
-----------
[lld] Support thumb PLTs (#86223)
We are using PLTs for cortex-m33 which only supports thumb. More
specifically, this is for a very restricted use case. There's no MMU so
there's no sharing of virtual addresses between two processes, but this
is fine. The MCU is used for running [chre
nanoapps](https://android.googlesource.com/platform/system/chre/+/HEAD/doc/nanoapp_overview.md)
for android. Each nanoapp is a shared library (but effectively acts as
an executable containing a test suite) that is loaded and run on the MCU
one binary at a time and there's only one process running at a time, so
we ensure that the same text segment cannot be shared by two different
running executables. GNU LD supports thumb PLTs but we want to migrate
to a clang toolchain and use LLD, so thumb PLTs are needed.
Commit: f7c8a0339c64810a3c1b28d9b3b20e02a2be6232
https://github.com/llvm/llvm-project/commit/f7c8a0339c64810a3c1b28d9b3b20e02a2be6232
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
A llvm/test/CodeGen/RISCV/rvv/mul-combine.ll
Log Message:
-----------
[RISCV] Combine vXi32 (mul (and (lshr X, 15), 0x10001), 0xffff) -> (bitcast (sra (v2Xi16 (bitcast X)), 15)) (#93565)
Similar for i16 and i64 elements for both fixed and scalable vectors.
This reduces the number of vector instructions, but increases vl/vtype
toggles.
This reduces some code in 525.x264_r from SPEC2017. In that usage, the
vectors are fixed with a small number of elements so vsetivli can be
used.
This is similar to `performMulVectorCmpZeroCombine` from AArch64.
Commit: 0694552cb7e8b2041fd5e765cf5b83fc40664087
https://github.com/llvm/llvm-project/commit/0694552cb7e8b2041fd5e765cf5b83fc40664087
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M libc/src/__support/threads/linux/CMakeLists.txt
M libc/src/__support/threads/linux/CndVar.cpp
M libc/src/__support/threads/mutex.h
Log Message:
-----------
[libc] clean up MutexLock (#93619)
Commit: c179d50fd3d84311708701d84e3bca60570d3d7f
https://github.com/llvm/llvm-project/commit/c179d50fd3d84311708701d84e3bca60570d3d7f
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M lld/wasm/WriterUtils.cpp
M llvm/include/llvm/BinaryFormat/Wasm.h
M llvm/include/llvm/CodeGen/ValueTypes.td
M llvm/include/llvm/IR/Intrinsics.td
M llvm/include/llvm/IR/IntrinsicsWebAssembly.td
M llvm/lib/CodeGen/ValueTypes.cpp
M llvm/lib/Object/WasmObjectFile.cpp
M llvm/lib/ObjectYAML/WasmYAML.cpp
M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTypeUtilities.cpp
M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTypeUtilities.h
M llvm/lib/Target/WebAssembly/Utils/WebAssemblyTypeUtilities.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
M llvm/lib/Target/WebAssembly/WebAssemblyInstrRef.td
M llvm/lib/Target/WebAssembly/WebAssemblyInstrTable.td
M llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyRegisterInfo.td
M llvm/lib/Target/WebAssembly/WebAssemblyUtilities.cpp
M llvm/test/CodeGen/WebAssembly/reg-argument.mir
M llvm/test/CodeGen/WebAssembly/reg-copy.mir
M llvm/test/MC/WebAssembly/basic-assembly.s
M llvm/test/MC/WebAssembly/reference-types.s
M llvm/test/MC/WebAssembly/type-checker-errors.s
Log Message:
-----------
[WebAssembly] Add exnref type (#93586)
This adds (back) the exnref type restored in the new EH proposal adopted
in Oct 2023 CG meeting:
https://github.com/WebAssembly/exception-handling/blob/main/proposals/exception-handling/Exceptions.md:x
Commit: 4486fcba756bfa4c8729673a9533578232f0bc04
https://github.com/llvm/llvm-project/commit/4486fcba756bfa4c8729673a9533578232f0bc04
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M libc/hdr/CMakeLists.txt
A libc/hdr/float_macros.h
M libc/include/llvm-libc-macros/float-macros.h
M libc/src/__support/macros/properties/CMakeLists.txt
M libc/src/__support/macros/properties/types.h
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/scalbn.cpp
M libc/src/math/generic/scalbnf.cpp
M libc/src/math/generic/scalbnf128.cpp
M libc/src/math/generic/scalbnl.cpp
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[libc] Add proxy header for float.h. (#93504)
This is the continuation of
https://github.com/llvm/llvm-project/pull/88674.
Fixes #88433, #90496.
---------
Co-authored-by: aniplcc <aniplccode at gmail.com>
Commit: 39e5036c0e22cea24df73d28746bb8fe0a117f9d
https://github.com/llvm/llvm-project/commit/39e5036c0e22cea24df73d28746bb8fe0a117f9d
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/include/llvm/Analysis/ScalarEvolution.h
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/test/Analysis/ScalarEvolution/predicated-symbolic-max-backedge-taken-count.ll
Log Message:
-----------
[SCEV] Add predicated version of getSymbolicMaxBackedgeTakenCount. (#93498)
This patch adds a predicated version of
getSymbolicMaxBackedgeTakenCount.
The intended use for this is loop access analysis for loops with
uncountable exits. When analyzing dependences and computing runtime
checks, we need the smallest upper bound on the number of iterations. In
terms of memory safety, it shouldn't matter if any uncomputable exits
leave the loop, as long as we prove that there are no dependences given
the minimum of the countable exits. The same should apply also for
generating runtime checks.
PR: https://github.com/llvm/llvm-project/pull/93498
Commit: 722a5fce589cea76a0baf89ce731477bae8cf4b8
https://github.com/llvm/llvm-project/commit/722a5fce589cea76a0baf89ce731477bae8cf4b8
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.cpp
M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
M llvm/test/CodeGen/WebAssembly/eh-option-errors.ll
Log Message:
-----------
[WebAssembly] Add -wasm-enable-exnref option (#93597)
This adds `-wasm-enable-exnref`, which will enable the new EH
instructions using `exnref` (adopted in Oct 2023 CG meeting):
https://github.com/WebAssembly/exception-handling/blob/main/proposals/exception-handling/Exceptions.md
This option should be used with `-wasm-enable-eh`.
Commit: 60bce6eab4d734b86f49b7638856eb8899bc89e8
https://github.com/llvm/llvm-project/commit/60bce6eab4d734b86f49b7638856eb8899bc89e8
Author: Brendan Dahl <brendan.dahl at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/include/clang/Basic/BuiltinsWebAssembly.def
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGen/builtins-wasm.c
M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
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 all f16x8 binary instructions. (#93360)
This reuses most of the code that was created for f32x4 and f64x2 binary
instructions and tries to follow how they were implemented.
add/sub/mul/div - use regular LL instructions
min/max - use the minimum/maximum intrinsic, and also have builtins
pmin/pmax - use the wasm.pmax/pmin intrinsics and also have builtins
Specified at:
https://github.com/WebAssembly/half-precision/blob/29a9b9462c9285d4ccc1a5dc39214ddfd1892658/proposals/half-precision/Overview.md
Commit: 0edc97f119f3ac3ff96b11183fe5c001a48a9a8d
https://github.com/llvm/llvm-project/commit/0edc97f119f3ac3ff96b11183fe5c001a48a9a8d
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/docs/PointerAuth.md
M llvm/include/llvm/AsmParser/LLToken.h
M llvm/include/llvm/Bitcode/LLVMBitCodes.h
M llvm/include/llvm/IR/Constants.h
M llvm/include/llvm/IR/Value.def
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/AsmParser/LLLexer.cpp
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/IR/AsmWriter.cpp
M llvm/lib/IR/Constants.cpp
M llvm/lib/IR/ConstantsContext.h
M llvm/lib/IR/LLVMContextImpl.h
M llvm/lib/IR/Verifier.cpp
A llvm/test/Assembler/invalid-ptrauth-const1.ll
A llvm/test/Assembler/invalid-ptrauth-const2.ll
A llvm/test/Assembler/invalid-ptrauth-const3.ll
A llvm/test/Assembler/invalid-ptrauth-const4.ll
A llvm/test/Assembler/invalid-ptrauth-const5.ll
A llvm/test/Assembler/ptrauth-const.ll
M llvm/test/Bitcode/compatibility.ll
M llvm/utils/vim/syntax/llvm.vim
Log Message:
-----------
[IR][AArch64][PAC] Add "ptrauth(...)" Constant to represent signed pointers. (#85738)
This defines a new kind of IR Constant that represents a ptrauth signed
pointer, as used in AArch64 PAuth.
It allows representing most kinds of signed pointer constants used thus
far in the llvm ptrauth implementations, notably those used in the
Darwin and ELF ABIs being implemented for c/c++. These signed pointer
constants are then lowered to ELF/MachO relocations.
These can be simply thought of as a constant `llvm.ptrauth.sign`, with
the interesting addition of discriminator computation: the `ptrauth`
constant can also represent a combined blend, when both address and
integer discriminator operands are used. Both operands are otherwise
optional, with default values 0/null.
Commit: 6f529aaf666624c26715aa348955b26a684d1250
https://github.com/llvm/llvm-project/commit/6f529aaf666624c26715aa348955b26a684d1250
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/include/llvm/IR/Intrinsics.td
Log Message:
-----------
[WebAssembly] Remove IIT_EXNREF
This was added in #93586 but caused a compilation warning and is not
used anyway.
Commit: bd5cd4b837b67f8d549f072f37dd09295b4bf9f7
https://github.com/llvm/llvm-project/commit/bd5cd4b837b67f8d549f072f37dd09295b4bf9f7
Author: Eric Fiselier <eric at efcs.ca>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M .github/workflows/restart-preempted-libcxx-jobs.yaml
Log Message:
-----------
Fix trigger for libc++ job rerunner.
Testing github actions is such a pain. I swear it should match now.
Commit: 5bfe4b93e15ad38f211c5dec64be0eeaa4c8e914
https://github.com/llvm/llvm-project/commit/5bfe4b93e15ad38f211c5dec64be0eeaa4c8e914
Author: Jakub Kuderski <jakub at nod-labs.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
M mlir/test/Dialect/Arith/canonicalize.mlir
M mlir/test/Dialect/Arith/invalid.mlir
Log Message:
-----------
[mlir][arith] Disallow casting tensor dimensions (#93349)
Tighten the verifier for arith cast ops to disallow changing tensor
dimensions, e.g., static to dynamic. After this change:
* `arith.cast_op %x : tensor<4xi32> to tensor<4xf32>` remains valid
* `arith.cast_op %x : tensor<4xi32> to tensor<?xf32>` becomes invalid
* `arith.cast_op %x : tensor<?xi32> to tensor<4xf32>` becomes invalid
This is mostly to simplify the op semantics. See the discussion thread
for more context:
https://discourse.llvm.org/t/rfc-remove-arith-math-ops-on-tensors/74357/63.
Commit: 1c108c80dc5b878452c00e1411cb530a66122ea5
https://github.com/llvm/llvm-project/commit/1c108c80dc5b878452c00e1411cb530a66122ea5
Author: Sterling Augustine <saugustine at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lld/MachO/ObjC.cpp
Log Message:
-----------
Mark operator== const to avoid errors when asserts are enabled
Without this change, the build will fail like so:
llvm-project/lld/MachO/ObjC.cpp:1387:75: error: ISO C++20 considers use of overloaded operator '==' (with operand types 'ObjcCategoryMerger::PointerListInfo' and 'ObjcCategoryMerger::PointerListInfo') to be ambiguous despite there being a unique best viable function [-Werror,-Wambiguous-reversed-operator]
1387 | parseProtocolListInfo(classIsec, roClassLayout.baseProtocolsOffset) ==
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
1388 | parseProtocolListInfo(metaIsec, roClassLayout.baseProtocolsOffset) &&
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/assert.h:100:27: note: expanded from macro 'assert'
100 | (static_cast <bool> (expr) \
| ^~~~
llvm-project/lld/MachO/ObjC.cpp:391:17: note: ambiguity is between a regular call to this operator and a call with the argument order reversed
391 | inline bool operator==(const PointerListInfo &cmp) {
| ^
llvm-project/lld/MachO/ObjC.cpp:391:17: note: mark 'operator==' as const or add a matching 'operator!=' to resolve the ambiguity
1 error generated.
Commit: 44d4b3b2eebdd5eed95dd78dc3939dd9f5ebc5e6
https://github.com/llvm/llvm-project/commit/44d4b3b2eebdd5eed95dd78dc3939dd9f5ebc5e6
Author: Hui <hui.xie1990 at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M libcxx/docs/Status/Cxx20Issues.csv
A libcxx/test/std/containers/sequences/array/lwg3382.compile.pass.cpp
A libcxx/test/std/utilities/utility/pairs/pairs.pair/lwg3382.compile.pass.cpp
Log Message:
-----------
[libc++][test] Close LWG3382 and add tests (#93039)
Commit: d868f097053e19e828d7366f5dbb88add16998a2
https://github.com/llvm/llvm-project/commit/d868f097053e19e828d7366f5dbb88add16998a2
Author: Hui <hui.xie1990 at gmail.com>
Date: 2024-05-29 (Wed, 29 May 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_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++] LWG3223 Broken requirements for shared_ptr converting constructors (#93071)
Commit: 2ae3f7c29c1149098827df7edafa761e3e3eb420
https://github.com/llvm/llvm-project/commit/2ae3f7c29c1149098827df7edafa761e3e3eb420
Author: Hui <hui.xie1990 at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M libcxx/docs/Status/Cxx20Issues.csv
M libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/deduct_F.pass.cpp
R libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/deduct_F.verify.cpp
Log Message:
-----------
[libc++][test] Close LWG3238 and add tests (#93043)
Commit: 0380044e16a1c016e001a56c0ca7f4db649a6cae
https://github.com/llvm/llvm-project/commit/0380044e16a1c016e001a56c0ca7f4db649a6cae
Author: Jim Ingham <jingham at apple.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M lldb/unittests/CMakeLists.txt
M lldb/unittests/Editline/CMakeLists.txt
Log Message:
-----------
Fix the EditLine unittest build on Darwin after PR 92865
There was a Darwin only use of setupterm (under USE_SETUPTERM_WORKAROUND)
that required libcurses.dylib. That was added to the main build, but
not to the unittest.
Commit: d11922ebb26d84d7807be7f6fbf4d7e92c97455d
https://github.com/llvm/llvm-project/commit/d11922ebb26d84d7807be7f6fbf4d7e92c97455d
Author: Eric Fiselier <eric at efcs.ca>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M .github/workflows/restart-preempted-libcxx-jobs.yaml
Log Message:
-----------
Remove unneeded debug logging
Commit: f0b57b60e3b47bb9f9181d8be68473706b883430
https://github.com/llvm/llvm-project/commit/f0b57b60e3b47bb9f9181d8be68473706b883430
Author: Ruiling, Song <ruiling.song at amd.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
Log Message:
-----------
[Coroutines] Remove one construction of DominatorTree (#93507)
The DominatorTree can be reused if no CFG changes.
Commit: e492aa5adbccb9f4025af7c4179f75378fcad41a
https://github.com/llvm/llvm-project/commit/e492aa5adbccb9f4025af7c4179f75378fcad41a
Author: Eric Fiselier <eric at efcs.ca>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M .github/workflows/restart-preempted-libcxx-jobs.yaml
Log Message:
-----------
Remove one more unneeded debug log line
Commit: f9672cb775afc47e5210a111d248a01c23c428fe
https://github.com/llvm/llvm-project/commit/f9672cb775afc47e5210a111d248a01c23c428fe
Author: yronglin <yronglin777 at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M libcxx/docs/Status/Cxx2cIssues.csv
Log Message:
-----------
[NFC][libc++] Mark LWG3951 as implemented (#93191)
Since we have already addressed the LWG issue, this PR marks LWG3951 as
implemented.
Signed-off-by: yronglin <yronglin777 at gmail.com>
Co-authored-by: A. Jiang <de34 at live.cn>
Commit: 6abc3876c35bbe8fb5dd6435dc60f2c816b97ef6
https://github.com/llvm/llvm-project/commit/6abc3876c35bbe8fb5dd6435dc60f2c816b97ef6
Author: Jim Ingham <jingham at apple.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M lldb/unittests/CMakeLists.txt
M lldb/unittests/Editline/CMakeLists.txt
Log Message:
-----------
Revert "Fix the EditLine unittest build on Darwin after PR 92865"
This reverts commit 0380044e16a1c016e001a56c0ca7f4db649a6cae.
While I figure out some mysterious CMake error.
Commit: 04f01a2b9cedc291fa7dd941de841dc957c75a33
https://github.com/llvm/llvm-project/commit/04f01a2b9cedc291fa7dd941de841dc957c75a33
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M libcxx/CMakeLists.txt
M libcxx/include/CMakeLists.txt
M libcxx/include/__atomic/atomic_base.h
M libcxx/include/__atomic/atomic_flag.h
M libcxx/include/__atomic/atomic_sync.h
R libcxx/include/__availability
M libcxx/include/__charconv/to_chars_floating_point.h
M libcxx/include/__chrono/file_clock.h
M libcxx/include/__chrono/tzdb_list.h
M libcxx/include/__config
A libcxx/include/__configuration/availability.h
A libcxx/include/__configuration/language.h
M libcxx/include/__exception/exception_ptr.h
M libcxx/include/__expected/bad_expected_access.h
M libcxx/include/__filesystem/directory_entry.h
M libcxx/include/__filesystem/directory_iterator.h
M libcxx/include/__filesystem/filesystem_error.h
M libcxx/include/__filesystem/operations.h
M libcxx/include/__filesystem/path.h
M libcxx/include/__filesystem/path_iterator.h
M libcxx/include/__filesystem/recursive_directory_iterator.h
M libcxx/include/__filesystem/u8path.h
M libcxx/include/__functional/function.h
M libcxx/include/__fwd/memory_resource.h
M libcxx/include/__fwd/string.h
M libcxx/include/__memory_resource/memory_resource.h
M libcxx/include/__memory_resource/monotonic_buffer_resource.h
M libcxx/include/__memory_resource/polymorphic_allocator.h
M libcxx/include/__memory_resource/synchronized_pool_resource.h
M libcxx/include/__memory_resource/unsynchronized_pool_resource.h
M libcxx/include/__ostream/print.h
M libcxx/include/__stop_token/stop_callback.h
M libcxx/include/__stop_token/stop_source.h
M libcxx/include/__stop_token/stop_state.h
M libcxx/include/__stop_token/stop_token.h
M libcxx/include/__thread/jthread.h
M libcxx/include/__thread/poll_with_backoff.h
M libcxx/include/__verbose_abort
M libcxx/include/barrier
M libcxx/include/condition_variable
M libcxx/include/deque
M libcxx/include/forward_list
M libcxx/include/fstream
M libcxx/include/latch
M libcxx/include/list
M libcxx/include/map
M libcxx/include/module.modulemap
M libcxx/include/optional
M libcxx/include/print
M libcxx/include/regex
M libcxx/include/semaphore
M libcxx/include/set
M libcxx/include/sstream
M libcxx/include/unordered_map
M libcxx/include/unordered_set
M libcxx/include/variant
M libcxx/include/vector
M libcxx/include/version
M libcxx/src/optional.cpp
M libcxx/src/ostream.cpp
M libcxx/test/libcxx/vendor/apple/availability-with-pedantic-errors.compile.pass.cpp
M libcxx/utils/generate_feature_test_macro_components.py
Log Message:
-----------
[libc++] Make the __availability header a sub-header of __config (#93083)
In essence, this header has always been related to configuration of
the library but we didn't want to put it inside <__config> due to
complexity reasons. Now that we have sub-headers in <__config>, we
can move <__availability> to it and stop including it everywhere since
we already obtain the required macros via <__config>.
Commit: 633ea41b54bf7b2f10850bbd5ba3c4ab06081595
https://github.com/llvm/llvm-project/commit/633ea41b54bf7b2f10850bbd5ba3c4ab06081595
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M libcxx/test/CMakeLists.txt
M libcxx/test/configs/cmake-bridge.cfg.in
M libcxx/utils/libcxx/test/params.py
M libcxxabi/test/CMakeLists.txt
M libcxxabi/test/configs/cmake-bridge.cfg.in
M libunwind/test/CMakeLists.txt
M libunwind/test/configs/cmake-bridge.cfg.in
Log Message:
-----------
[runtimes] Reintroduce a way to select the compiler used for the test suite (#93542)
A while back, the cxx_under_test Lit parameter was removed. This patch
reintroduces a Lit parameter called "compiler" which controls the value
of the %{cxx} substitution used in the test suite.
To run the test suite with a different compiler, one can now pass
--param compiler=<path>.
Commit: bd135c3b9fb57e6346e4a790945809617388ca9b
https://github.com/llvm/llvm-project/commit/bd135c3b9fb57e6346e4a790945809617388ca9b
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M libcxx/CMakeLists.txt
M libcxx/benchmarks/CMakeLists.txt
M libcxx/modules/CMakeLists.txt
M libcxx/src/CMakeLists.txt
M libcxx/test/CMakeLists.txt
M libcxx/test/tools/clang_tidy_checks/CMakeLists.txt
M libcxxabi/CMakeLists.txt
M libcxxabi/src/CMakeLists.txt
M libcxxabi/test/CMakeLists.txt
M libunwind/test/CMakeLists.txt
Log Message:
-----------
[runtimes][CMake] Simplify the propagation of test dependencies (#93558)
Instead of using FOO_TEST_DEPS global variables that don't get updated
properly from subdirectories, use targets to propagate the dependencies
across directories.
Commit: 7832769d329ead264aff238c06dce086b3a74922
https://github.com/llvm/llvm-project/commit/7832769d329ead264aff238c06dce086b3a74922
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M lld/ELF/Arch/ARM.cpp
M lld/ELF/Config.h
M lld/ELF/InputFiles.cpp
R lld/test/ELF/armv8-thumb-plt-reloc.s
Log Message:
-----------
Revert "[lld] Support thumb PLTs" (#93631)
Reverts llvm/llvm-project#86223
windows pre-merge is broken.
Commit: c250aeb9d6c590d9fdbebd84fc259c4e536dace9
https://github.com/llvm/llvm-project/commit/c250aeb9d6c590d9fdbebd84fc259c4e536dace9
Author: Carl Ritson <carl.ritson at amd.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/MIMGInstructions.td
Log Message:
-----------
[AMDGPU] Fix typo in VIMAGE no sampler opcode usage (NFCI)
Opcodes are the same for these instructions in GFX11 and 12,
hence this typo has no functional impact.
Commit: cbf6e93ceee7b9de2b7c3e7e8cea3a972eda0e75
https://github.com/llvm/llvm-project/commit/cbf6e93ceee7b9de2b7c3e7e8cea3a972eda0e75
Author: Eli Friedman <efriedma at quicinc.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/lib/CodeGen/CGExprAgg.cpp
M clang/test/CodeGenCXX/no-unique-address.cpp
Log Message:
-----------
[clang codegen] Delete unnecessary GEP cleanup code. (#90303)
There's some code in AggExprEmitter::VisitCXXParenListOrInitListExpr to
try to do early cleanup for GEPs for fields that aren't accessed. But
it's unlikely to actually save significant compile-time, and it's subtly
wrong in cases where EmitLValueForFieldInitialization() doesn't create a
GEP. So just delete the code.
Fixes #88077. Fixes #89547.
Commit: bb42511f64fd44f2ff1beb0dd38a653a8f2c20df
https://github.com/llvm/llvm-project/commit/bb42511f64fd44f2ff1beb0dd38a653a8f2c20df
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/TemplateBase.cpp
M clang/test/SemaTemplate/temp_arg_nontype_cxx2c.cpp
Log Message:
-----------
[Clang][Sema] Use StructuralValues to model dependent NTTP arguments (#93556)
This patch takes Richard's approach of no longer modeling dependent NTTP
arguments with TemplateParamObjectDecls. Clang used to do so, which left
behind a problem in that we might mess up dependent and non-dependent
arguments that boil down to the same canonical type because there's a
default argument on the NTTP.
The problem of "canonical expression" is still present because this
patch doesn't touch the profiling part. Namely, #92292 seems different.
Fixes https://github.com/llvm/llvm-project/issues/84052
Commit: 465bc5e729fd755880b9a288de42a37ad1206301
https://github.com/llvm/llvm-project/commit/465bc5e729fd755880b9a288de42a37ad1206301
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/Atomics/aarch64-atomic-load-lse2.ll
M llvm/test/CodeGen/AArch64/relaxed-fp-atomics.ll
M llvm/test/CodeGen/ARM/atomic-load-store.ll
M llvm/test/CodeGen/PowerPC/atomics.ll
M llvm/test/CodeGen/X86/atomic-non-integer.ll
Log Message:
-----------
AArch64/ARM/PPC/X86: Add some atomic tests (#92933)
FP typed atomic load/store coverage was mostly missing, especially for
half and bfloat.
Commit: 3613b2683107bd60fda6d9348623be0686f6d7e3
https://github.com/llvm/llvm-project/commit/3613b2683107bd60fda6d9348623be0686f6d7e3
Author: Matthew Devereau <matthew.devereau at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/CMakeLists.txt
M llvm/cmake/config-ix.cmake
M llvm/include/llvm/ADT/APFloat.h
M llvm/include/llvm/ADT/APInt.h
M llvm/include/llvm/Config/llvm-config.h.cmake
A llvm/include/llvm/Support/float128.h
M llvm/lib/Analysis/CMakeLists.txt
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/Support/APFloat.cpp
M llvm/test/CMakeLists.txt
A llvm/test/Transforms/InstSimplify/ConstProp/logf128.ll
M llvm/test/lit.cfg.py
M llvm/test/lit.site.cfg.py.in
Log Message:
-----------
Constant Fold logf128 calls (#90611)
This is a second attempt to land #84501 which failed on several targets.
This patch adds the HAS_IEE754_FLOAT128 define which makes the check for
typedef'ing float128 more precise by checking whether __uint128_t is
available and checking if the host does not use __ibm128 which is
prevalent on power pc targets and replaces IEEE754 float128s.
Commit: b0f10a1dc34aa1b73faeeabdc2d348074a02c75d
https://github.com/llvm/llvm-project/commit/b0f10a1dc34aa1b73faeeabdc2d348074a02c75d
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/test/CodeGenCXX/partitions.cpp
A clang/test/Modules/pr93497.cppm
Log Message:
-----------
[C++20] [Modules] Don't generate the defintition for non-const available external variables (#93530)
Close https://github.com/llvm/llvm-project/issues/93497
The root cause of the problem is, we mark the variable from other
modules as constnant in LLVM incorrectly. This patch fixes this problem
by not emitting the defintition for non-const available external
variables. Since the non const available externally variable is not
helpful to the optimization.
Commit: 70d6b8a358366ec2ef4e73d5809fe23b9abf527d
https://github.com/llvm/llvm-project/commit/70d6b8a358366ec2ef4e73d5809fe23b9abf527d
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/MC/MCParser/AsmParser.cpp
M llvm/test/MC/AsmParser/macro-at-pseudo-variable.s
Log Message:
-----------
MCAsmParser: Amend \+ expansion
Amend 7c956293d856224dd6a1b633820ef53009f7ef1c ("MCAsmParser: Support
\+") to increase Macro.Count per iteration to match the new gas feature
(milestone: 2.43).
Commit: 5162027c9bb32ddbc8b37770c569a3e5a877d962
https://github.com/llvm/llvm-project/commit/5162027c9bb32ddbc8b37770c569a3e5a877d962
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/vsra-sdnode.ll
Log Message:
-----------
[RISCV] Add test for #93578. NFC
Commit: 4e0bd3fab4b6a54342c9bed14f205895da3cf0d9
https://github.com/llvm/llvm-project/commit/4e0bd3fab4b6a54342c9bed14f205895da3cf0d9
Author: Pengcheng Wang <wangpengcheng.pp at bytedance.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/CodeGen/MachineLICM.cpp
M llvm/test/CodeGen/AArch64/atomicrmw-uinc-udec-wrap.ll
M llvm/test/CodeGen/AArch64/dag-combine-concat-vectors.ll
M llvm/test/CodeGen/AArch64/machine-sink-cache-invalidation.ll
M llvm/test/CodeGen/AArch64/ragreedy-local-interval-cost.ll
M llvm/test/CodeGen/AMDGPU/amdpal-callable.ll
M llvm/test/CodeGen/AMDGPU/vgpr-liverange-ir.ll
M llvm/test/CodeGen/AVR/shift.ll
A llvm/test/CodeGen/RISCV/machinelicm-constant-phys-reg.ll
M llvm/test/CodeGen/RISCV/rvv/65704-illegal-instruction.ll
M llvm/test/CodeGen/RISCV/rvv/fold-scalar-load-crash.ll
M llvm/test/CodeGen/RISCV/vlenb.ll
Log Message:
-----------
[MachineLICM] Hoist copies of constant physical register (#93285)
Previously, we just check if the source is a virtual register and
this prevents some potential hoists.
We can see some improvements in AArch64/RISCV tests.
Commit: 476a6d81a3648cf638400632c098e9f0ed025f8f
https://github.com/llvm/llvm-project/commit/476a6d81a3648cf638400632c098e9f0ed025f8f
Author: MagentaTreehouse <99200384+MagentaTreehouse at users.noreply.github.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/lib/Driver/ToolChains/HIPUtility.cpp
Log Message:
-----------
[NFC] Construct Twines before concatenation (#90728)
Construct `Twine`s before concatenation.
Commit: 7f58ffd09b29d3ff4f9fa025bd4d05dd8fd9fc38
https://github.com/llvm/llvm-project/commit/7f58ffd09b29d3ff4f9fa025bd4d05dd8fd9fc38
Author: Guray Ozen <guray.ozen at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M mlir/python/mlir/dialects/scf.py
M mlir/test/python/dialects/scf.py
Log Message:
-----------
[mlir][python] Yield results of `scf.for_` (#93610)
Using `for_` is very hand with python bindings. Currently, it doesn't
support results, we had to fallback to two lines scf.for.
This PR yields results of scf.for in `for_`
---------
Co-authored-by: Maksim Levental <maksim.levental at gmail.com>
Commit: c2a9a974ca85e4ac4509e368d4b9acae7e67bf71
https://github.com/llvm/llvm-project/commit/c2a9a974ca85e4ac4509e368d4b9acae7e67bf71
Author: Antonio Frighetto <me at antoniofrighetto.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
A llvm/test/Transforms/LICM/update-scev-after-hoist.ll
Log Message:
-----------
[LICM] Introduce test for PR92655 (NFC)
Commit: 70091dc943ade280d75cea1e5ea5e93d9a8f934a
https://github.com/llvm/llvm-project/commit/70091dc943ade280d75cea1e5ea5e93d9a8f934a
Author: Antonio Frighetto <me at antoniofrighetto.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/LICM.cpp
M llvm/test/Transforms/LICM/update-scev-after-hoist.ll
Log Message:
-----------
[LICM] Invalidate cached SCEV results in `hoistMulAddAssociation`
While reassociating expressions, LICM is required to invalidate SCEV
results, as otherwise subsequent passes in the pipeline that leverage
LICM foldings (e.g. IndVars), may reason on invalid expressions; thus
miscompiling. This is achieved by rewriting the reassociable
instruction from scratch.
Fixes: https://github.com/llvm/llvm-project/issues/91957.
Commit: 53d79feec93ef99e2ba0ac8cfc6cf2f81d28bf8a
https://github.com/llvm/llvm-project/commit/53d79feec93ef99e2ba0ac8cfc6cf2f81d28bf8a
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/AppleDWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFIndex.h
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.h
Log Message:
-----------
[lldb/DWARF] Bypass the compres^Wconstruction of DIERefs in debug_names (#93296)
DebugNamesDWARFIndex was jumping through hoops to construct a DIERef
from an index entry only to jump through them back a short while later
to construct a DWARFDIE.
This used to be necessary as the index lookup was a two stage process,
where we first enumerated all matches, and then examined them (so it was
important that the enumeration was cheap -- does not trigger unnecessary
parsing). However, now that the processing is callback based, we are
always immediately examining the DWARFDIE right after finding the entry,
and the DIERef just gets in the way.
Commit: 2cfea14a57ad8443c6898d2310abb4346dc92ad2
https://github.com/llvm/llvm-project/commit/2cfea14a57ad8443c6898d2310abb4346dc92ad2
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lldb/tools/lldb-dap/DAP.cpp
Log Message:
-----------
[lldb-dap] Add timestamps to protocol logs (#93540)
I've found them very useful as a rudimentary form of benchmark.
Commit: 98714866830f505d7bb87de6b92a28f280a34b9b
https://github.com/llvm/llvm-project/commit/98714866830f505d7bb87de6b92a28f280a34b9b
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/icmp-of-and-x.ll
Log Message:
-----------
[InstCombine] Add multiuse tests for canonicalizing (icmp eq/ne (and x, y), {x,y}); NFC
Commit: 5532ab17327f2887fdac739ffaaae6c341695370
https://github.com/llvm/llvm-project/commit/5532ab17327f2887fdac739ffaaae6c341695370
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Analysis/ValueTracking/known-power-of-two-urem.ll
M llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v2-and-icmp-eq-to-icmp-ule.ll
M llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v2-and-icmp-ne-to-icmp-ugt.ll
M llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v3-and-icmp-eq-to-icmp-ule.ll
M llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v3-and-icmp-ne-to-icmp-ugt.ll
M llvm/test/Transforms/InstCombine/icmp-and-lowbit-mask.ll
M llvm/test/Transforms/InstCombine/icmp-of-and-x.ll
Log Message:
-----------
[InstCombine] Make the `(icmp eq/ne (and X, Y), X)` canonicalization work for non-const operands
We currently do:
`(icmp eq/ne (and X, Y), Y)` -> `(icmp eq/ne (and ~X, Y), 0)`
if `X` is constant. We can make this more general and do it if `X` is
freely invertable (i.e say `X = ~Z`).
As well, we can also do:
`(icmp eq/ne (and X, Y), Y)` -> `(icmp eq/ne (or X, ~Y), -1)`
If `Y` is freely invertible.
Proofs: https://alive2.llvm.org/ce/z/yeWH3E
Differential Revision: https://reviews.llvm.org/D159059
Closes #84688
Commit: a9e8a3a18eb897196f88d3705ccd966f5b52c012
https://github.com/llvm/llvm-project/commit/a9e8a3a18eb897196f88d3705ccd966f5b52c012
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86CompressEVEX.cpp
M llvm/lib/Target/X86/X86InstrInfo.cpp
M llvm/lib/Target/X86/X86InstrInfo.h
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/dec.ll
M llvm/test/CodeGen/X86/apx/imul.ll
M llvm/test/CodeGen/X86/apx/inc.ll
M llvm/test/CodeGen/X86/apx/neg.ll
M llvm/test/CodeGen/X86/apx/or.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
Log Message:
-----------
[X86][CodeGen] Extend X86CompressEVEX for NF transform
Commit: 76e1a535fd7d8e9451414c76b55d82166c4c5409
https://github.com/llvm/llvm-project/commit/76e1a535fd7d8e9451414c76b55d82166c4c5409
Author: Christian Sigg <csigg at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M utils/bazel/llvm_configs/llvm-config.h.cmake
Log Message:
-----------
[llvm][bazel] Fix llvm-config after 3613b2683107bd60fda6d9348623be0686f6d7e3.
Commit: 1c6746e2db58ab7c7a5fb44cd5efa852ce932f84
https://github.com/llvm/llvm-project/commit/1c6746e2db58ab7c7a5fb44cd5efa852ce932f84
Author: David Green <david.green at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll
Log Message:
-----------
[VectorCombine] Add support for zext/sext/trunc to shuffleToIdentity (#92696)
This is one of the simple additions to shuffleToIdentity that help it
look through intermediate zext/sext instructions.
Commit: 850f30c3ba378321538233b3cfbd93ae2efef77f
https://github.com/llvm/llvm-project/commit/850f30c3ba378321538233b3cfbd93ae2efef77f
Author: David Green <david.green at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
A llvm/test/CodeGen/Thumb2/mve-tailpred-vptblock.ll
Log Message:
-----------
[ARM][MVE] Don't allow tail-predication with else predicates
The test case contains a vpt block with an else predicated instruction. This
might not be very unrealistic, but currently crashes due to not being able to
handle the else. The instruction would need to be removed. This patch adds some
extra checks that none of the instructions in vpt block is else predicated,
leaving it using vctp.
Commit: 5aba0ded6c0415bc267a80469c8ea3661e012dc6
https://github.com/llvm/llvm-project/commit/5aba0ded6c0415bc267a80469c8ea3661e012dc6
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M flang/lib/Lower/ConvertVariable.cpp
A flang/test/Lower/HLFIR/convert-variable-assumed-rank.f90
Log Message:
-----------
[flang] lower assumed-rank variables specification expressions (#93477)
Enable lowering of assumed-ranks in specification parts under a debug
flag. I am using a debug flag because many cryptic TODOs/issues may be
hit until more support is added. The development should not take too
long, so I want to stay away from the noise of adding an actual
experimental flag to flang-new.
Commit: 326f58d7d68c33cfbb6ad54123ab9b56114de502
https://github.com/llvm/llvm-project/commit/326f58d7d68c33cfbb6ad54123ab9b56114de502
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
M flang/test/HLFIR/declare-codegen.fir
Log Message:
-----------
[flang][HLFIR] lower hlfir.declare of assumed-ranks (#93468)
hlfir.declare is in charge of ensuring that the lower bounds of its
"hlfir entity" output are the ones of the source program. For
non-allocatable/non-pointer assumed-ranks where the input descriptor
lower bounds may not be ones, the hlfir.declare needs to be lowered to
an hlfir.rebox_assumed_rank to set the lower bounds to ones.
Commit: 6957c00a8ccd36d990ebeb3b672621ba237bd9d8
https://github.com/llvm/llvm-project/commit/6957c00a8ccd36d990ebeb3b672621ba237bd9d8
Author: Alastair Houghton <ahoughton at apple.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
A llvm/test/ExecutionEngine/RuntimeDyld/AArch64/ELF_ARM64_xsec_branch.s
Log Message:
-----------
[RuntimeDyld][ELF][AArch64] Fix resolveAArch64ShortBranch. (#92245)
We don't know the load addresses when this function is called, so it
shouldn't be trying to use them to determine whether or not the branch
is short. Notably, this will fail in the case where the code is being
loaded into a target in such a way that the section offsets differ
between the process generating the code and the target process.
rdar://127673408
Commit: 4ad2f415f6e30ceb116466bf81515d3765402a0f
https://github.com/llvm/llvm-project/commit/4ad2f415f6e30ceb116466bf81515d3765402a0f
Author: AnastasiyaChernikova <anastasiya.chernikova at syntacore.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/tools/llvm-exegesis/AArch64/latency-by-opcode-name.s
M llvm/test/tools/llvm-exegesis/Mips/latency-GPR64.s
M llvm/test/tools/llvm-exegesis/Mips/latency-by-opcode-name.s
M llvm/test/tools/llvm-exegesis/PowerPC/latency-by-opcode-name.s
M llvm/test/tools/llvm-exegesis/X86/latency/latency-CMOV32rr.s
M llvm/test/tools/llvm-exegesis/X86/latency/latency-IN16rr.s
M llvm/test/tools/llvm-exegesis/X86/latency/latency-SBB8rr.s
M llvm/test/tools/llvm-exegesis/X86/latency/latency-SQRTSSr.s
M llvm/test/tools/llvm-exegesis/X86/latency/latency-by-opcode-name.s
M llvm/test/tools/llvm-exegesis/X86/latency/max-configs.test
M llvm/test/tools/llvm-exegesis/X86/lbr/mov-add.s
M llvm/test/tools/llvm-exegesis/X86/uops/uops-CMOV16rm-noreg-serialization.s
Log Message:
-----------
[Exegesis] Changing non-standard CHECK in tests to more compliant way (#93222)
Fixed some FileChecks in tests. Firstly found in PR89047
(https://github.com/llvm/llvm-project/pull/89047#discussion_r1608909489)
Commit: 93d8d74ae6717c8e7c8b25ad5a6cfa212d3a4d37
https://github.com/llvm/llvm-project/commit/93d8d74ae6717c8e7c8b25ad5a6cfa212d3a4d37
Author: David Green <david.green at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll
Log Message:
-----------
[VectorCombine] Remove requirement for Instructions in shuffleToIdentity (#93543)
This removes the check that both operands of the original shuffle are
instructions, which is a relic from a previous version that held more
variables as Instructions.
Commit: fa649df8e54c2aa8921a42ad8d10e1e45700e5d7
https://github.com/llvm/llvm-project/commit/fa649df8e54c2aa8921a42ad8d10e1e45700e5d7
Author: Daniel Grumberg <dgrumberg at apple.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/include/clang/ExtractAPI/ExtractAPIVisitor.h
M clang/test/ExtractAPI/anonymous_record_no_typedef.c
M clang/test/ExtractAPI/enum.c
M clang/tools/libclang/CXExtractAPI.cpp
Log Message:
-----------
[clang][ExtractAPI] Flatten all enum cases from anonymous enums at top level (#93559)
rdar://128863241
Commit: f6ace2bc15bfde4cc9bd140859fa92618568a006
https://github.com/llvm/llvm-project/commit/f6ace2bc15bfde4cc9bd140859fa92618568a006
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-and-combine.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bit-counting.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bitcast.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bitselect.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-concat.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ext-loads.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-extract-subvector.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-extract-vector-elt.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fcopysign.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-arith.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-compares.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-convert.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-extend-trunc.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-fma.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-minmax.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-reduce-fa64.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-reduce.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-rounding.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-select.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-to-int.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-vselect.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-insert-vector-elt.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-arith.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-compares.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-div.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-extends.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-immediates.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-log.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-minmax.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-mla-neon-fa64.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-mulh.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-reduce.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-rem.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-select.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-shifts.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-to-fp.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-vselect.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ld2-alloca.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-limit-duplane.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-loads.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-log-reduce.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-masked-load.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-masked-store.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-optimize-ptrue.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-permute-rev.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-permute-zip-uzp-trn.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ptest.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-rev.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-sdiv-pow2.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-shuffle.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-splat-vector.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-stores.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-subvector.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-trunc-stores.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-trunc.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-vector-shuffle.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-test-register-mov.ll
Log Message:
-----------
[AArch64] Expand vector ops when NEON and SVE are unavailable. (#90833)
Unlike `+noneon` we must assume that vector types are available, i.e.
it is valid to pass/return vector arguments to and from functions.
However, the compiler must make sure to scalarize any vector
operations.
Commit: a72a90677d2b320e3bca553698e99143034387d9
https://github.com/llvm/llvm-project/commit/a72a90677d2b320e3bca553698e99143034387d9
Author: Tulio Magno Quites Machado Filho <tuliom at redhat.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/docs/Security.rst
Log Message:
-----------
[Nomination] Add an extra Red Hat representative to the security group (#92174)
I'd like to nominate myself as another Red Hat representative. I work at
the LLVM team at Red Hat contributing to upstream and downstream.
Commit: 0f7b4b04a548e10d0f552f13bebc21972d55d7f6
https://github.com/llvm/llvm-project/commit/0f7b4b04a548e10d0f552f13bebc21972d55d7f6
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-05-29 (Wed, 29 May 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 ccmp,nf for -mapxf
This is follow-up for #78901 after validation.
Commit: f3fb7f569936db418feef98e4ae68777a9a4cd2a
https://github.com/llvm/llvm-project/commit/f3fb7f569936db418feef98e4ae68777a9a4cd2a
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/test/CodeGen/X86/x86-atomic-float.c
Log Message:
-----------
[X86] x86-atomic-float.c - cleanup unused check prefixes
Commit: 4bb6974a87e495f19faea4b13475a65e842473f0
https://github.com/llvm/llvm-project/commit/4bb6974a87e495f19faea4b13475a65e842473f0
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/test/CodeGen/X86/x86-atomic-long_double.c
Log Message:
-----------
[X86] x86-atomic-long_double.c - cleanup check prefixes
Commit: 9c42ed1371ee8c211aedcfe8aed16662a9befb69
https://github.com/llvm/llvm-project/commit/9c42ed1371ee8c211aedcfe8aed16662a9befb69
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
A clang/test/CodeGen/X86/x86-atomic-double.c
Log Message:
-----------
[X86] Add x86-atomic-double.c double test coverage
Commit: f42de69213890f1203c1c3418a962e50de4ed73c
https://github.com/llvm/llvm-project/commit/f42de69213890f1203c1c3418a962e50de4ed73c
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/CodeGen/X86/vector-shuffle-512-v16.ll
Log Message:
-----------
[X86] vector-shuffle-512-v16.ll - add fast shuffle test coverage
Commit: 74014b5a3497c1e9c7f0652d26f78fffea9bf51c
https://github.com/llvm/llvm-project/commit/74014b5a3497c1e9c7f0652d26f78fffea9bf51c
Author: Lu Weining <luweining at loongson.cn>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/docs/AMDGPUUsage.rst
Log Message:
-----------
Fix typo in AMDGPUUsage. NFC (#93652)
The vendor name is mesa but not mesa3d.
Commit: dc8da7ddeaa595a34827fc9e39322a8109e177f0
https://github.com/llvm/llvm-project/commit/dc8da7ddeaa595a34827fc9e39322a8109e177f0
Author: Pankaj Dwivedi <167427157+PankajDwivedi-25 at users.noreply.github.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
Log Message:
-----------
[AMDGPU] Reserved private memory register during PEI (#93536)
- Reserved newly selected private memory registers in entry Function
Prologue generation.
- Added assertion patch in eliminateFrameIndex to ensure register is
reserved.
Co-authored-by: PankajDwivedi-25 <pankajkumar.divedi at amd.com>
Commit: 1594cebedd60a08f408e3fa975116ef4db86bf9b
https://github.com/llvm/llvm-project/commit/1594cebedd60a08f408e3fa975116ef4db86bf9b
Author: Simon Camphausen <simon.camphausen at iml.fraunhofer.de>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M mlir/lib/Target/Cpp/TranslateToCpp.cpp
M mlir/test/Target/Cpp/expressions.mlir
Log Message:
-----------
[mlir][EmitC] Fix evaluation order of expressions (#93549)
Expressions with the same precedence were not parenthesized and
therefore were possibly evaluated in the wrong order depending on the
shape of the expression tree.
---------
Co-authored-by: Matthias Gehre <matthias.gehre at amd.com>
Co-authored-by: Corentin Ferry <corentin.ferry at amd.com>
Commit: 5553f27d5a45e702415fa2f91d842bf4a1f4a8b5
https://github.com/llvm/llvm-project/commit/5553f27d5a45e702415fa2f91d842bf4a1f4a8b5
Author: Lu Weining <luweining at loongson.cn>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/lower-work-group-id-intrinsics-hsa.ll
M llvm/test/CodeGen/AMDGPU/lower-work-group-id-intrinsics-pal.ll
Log Message:
-----------
[AMDGPU][test] Fix the wrong triples in lower-work-group-id-intrinsics-{hsa,pal}.ll. NFC (#93501)
- hsa -> amdhsa
- Use amdgcn-amd-amd{hsa,pal} for lower-work-group-id-intrinsics-{hsa,pal}.ll respectively
Commit: 78cc9cbba23fd1783a9b233ae745f126ece56cc7
https://github.com/llvm/llvm-project/commit/78cc9cbba23fd1783a9b233ae745f126ece56cc7
Author: Lukacma <Marian.Lukac at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/include/clang/Basic/arm_sve.td
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_clamp.c
A clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_b16b16.cpp
M llvm/include/llvm/IR/IntrinsicsAArch64.td
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-bfclamp.ll
Log Message:
-----------
[AArch64][SME] Add intrinsics for multi-vector BFCLAMP (#93532)
According to the specification in
https://github.com/ARM-software/acle/pull/309 this adds the intrinsics
```
svbfloat16x2_t svclamp[_single_bf16_x2](svbfloat16x2_t zd, svbfloat16_t zn,
svbfloat16_t zm) __arm_streaming;
svbfloat16x4_t svclamp[_single_bf16_x4](svbfloat16x4_t zd, svbfloat16_t zn,
svbfloat16_t zm) __arm_streaming;
```
These are available only if __ARM_FEATURE_SME_B16B16 is enabled.
Commit: e1aa8ad6faa1524f12338ca58d1eadfde6f29f34
https://github.com/llvm/llvm-project/commit/e1aa8ad6faa1524f12338ca58d1eadfde6f29f34
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
A flang/test/Lower/OpenMP/allocatable-multiple-vars.f90
Log Message:
-----------
[flang][OpenMP] Fix bug in emitting `dealloc` logic (#93641)
Fixes a bug in emiting deacllocation logic when delayed privatization is
disabled. I introduced the bug when implementing delayed privatization
for allocatables: when delayed privatization is disabled the
deacllocation ops are emitted for only one allocatable variables.
Commit: 5c214eb0c628c874f2c9496e663be4067e64442a
https://github.com/llvm/llvm-project/commit/5c214eb0c628c874f2c9496e663be4067e64442a
Author: Andreas Jonson <andjo403 at hotmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/test/Headers/__clang_hip_math.hip
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/test/Transforms/Inline/ret_attr_align_and_noundef.ll
Log Message:
-----------
[Inline] Clone return range attribute on the callsite into inlined call (#92666)
Commit: 971f1aaad3ca3680bfbab76212f498ca15b280a2
https://github.com/llvm/llvm-project/commit/971f1aaad3ca3680bfbab76212f498ca15b280a2
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lldb/test/API/python_api/address_range/TestAddressRange.py
Log Message:
-----------
[lldb][Test][Windows] Fix flaky address range API tests
The new tests added in #92014 have been flaky on Linaro's
Windows on Arm bot. They appear to be hitting a deadlock trying
to clean up the test process.
This only happens in async mode and I don't see why this test
case needs async mode, so the simple workaround is to stick to
sync mode.
Commit: 3bcccb6af685c3132a9ee578b9e11b2503c35a5c
https://github.com/llvm/llvm-project/commit/3bcccb6af685c3132a9ee578b9e11b2503c35a5c
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/Reassociate.cpp
M llvm/test/Transforms/Reassociate/repeats.ll
Log Message:
-----------
[Reassociate] Drop weight reduction to fix issue 91417 (#91469)
See the following case: https://alive2.llvm.org/ce/z/A-fBki
```
define i3 @src(i3 %0) {
%2 = mul i3 %0, %0
%3 = mul i3 %2, %0
%4 = mul i3 %3, %0
%5 = mul nsw i3 %4, %0
ret i3 %5
}
define i3 @tgt(i3 %0) {
%2 = mul i3 %0, %0
%5 = mul nsw i3 %2, %0
ret i3 %5
}
```
https://github.com/llvm/llvm-project/commit/d7aeefebd6b049f017711cd7c6ef5f217a17b673
introduced weight reduction during weights combination of the same
operand. As the weight of `%0` changes from 5 to 3, the nsw flag in `%5`
should be dropped.
However, the nsw flag isn't cleared by `RewriteExprTree` since `%5 = mul
nsw i3 %0, %4` is not included in the range of `[ExpressionChangedStart,
ExpressionChangedEnd)`.
```
Calculated Rank[] = 3
Combine negations for: %2 = mul i3 %0, %0
Calculated Rank[] = 4
Combine negations for: %3 = mul i3 %0, %2
Calculated Rank[] = 5
Combine negations for: %4 = mul i3 %0, %3
Calculated Rank[] = 6
Combine negations for: %5 = mul nsw i3 %0, %4
LINEARIZE: %5 = mul nsw i3 %0, %4
OPERAND: i3 %0 (1)
ADD USES LEAF: i3 %0 (1)
OPERAND: %4 = mul i3 %0, %3 (1)
DIRECT ADD: %4 = mul i3 %0, %3 (1)
OPERAND: i3 %0 (1)
OPERAND: %3 = mul i3 %0, %2 (1)
DIRECT ADD: %3 = mul i3 %0, %2 (1)
OPERAND: i3 %0 (1)
OPERAND: %2 = mul i3 %0, %0 (1)
DIRECT ADD: %2 = mul i3 %0, %0 (1)
OPERAND: i3 %0 (1)
OPERAND: i3 %0 (1)
RAIn: mul i3 [ %0, #3] [ %0, #3] [ %0, #3]
RAOut: mul i3 [ %0, #3] [ %0, #3] [ %0, #3]
RAOut after CSE reorder: mul i3 [ %0, #3] [ %0, #3] [ %0, #3]
RA: %5 = mul nsw i3 %0, %4
TO: %5 = mul nsw i3 %4, %0
RA: %4 = mul i3 %0, %3
TO: %4 = mul i3 %0, %0
```
The best way to fix this is to inform `RewriteExprTree` to clear flags
of the whole expr tree when weight reduction happens.
But I find that weight reduction based on Carmichael number never
happens in practice.
See the coverage result
https://dtcxzyw.github.io/llvm-opt-benchmark/coverage/home/dtcxzyw/llvm-project/llvm/lib/Transforms/Scalar/Reassociate.cpp.html#L323
I think it would be better to drop `IncorporateWeight`.
Fixes #91417
Commit: 718ba5a58452f013f40fab94f967064919bf13ff
https://github.com/llvm/llvm-project/commit/718ba5a58452f013f40fab94f967064919bf13ff
Author: AtariDreams <gfunni234 at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
M llvm/test/Transforms/InstCombine/ashr-lshr.ll
M llvm/test/Transforms/InstCombine/lshr.ll
Log Message:
-----------
Reapply [InstCombine] lshr (mul (X, 2^N + 1)), N -> add (X, lshr(X, N)) (#92907)
Alive2 Proofs:
https://alive2.llvm.org/ce/z/eSinJY
https://alive2.llvm.org/ce/z/vyKvde
https://alive2.llvm.org/ce/z/dRFsfV
I mistakenly reverted this commit as part of a larger set of
reverts. Reapplied without changes.
Commit: 6543453c3604c5532666a9bad2bf3d261099dab5
https://github.com/llvm/llvm-project/commit/6543453c3604c5532666a9bad2bf3d261099dab5
Author: Tuan Chuong Goh <chuong.goh at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/arm64-tbl.ll
Log Message:
-----------
[AArch64][NFC] Pre-commit test update for Select TBL/TBX instructions (#92914)
Commit: aef0bdd36d888edd1575713e4976162daf81ff5b
https://github.com/llvm/llvm-project/commit/aef0bdd36d888edd1575713e4976162daf81ff5b
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Log Message:
-----------
DAG: Preserve flags when expanding fminimum/fmaximum (#93550)
The operation selection logic here doesn't really work when vector types
need to be split. This was also dropping the flags, and losing nnan made
the combine from select back to fmin/fmax unrecoverable. Preserve the
flags to assist a future commit.
Commit: 9e8ecce88ef65a2953db8071746720dd78bd1632
https://github.com/llvm/llvm-project/commit/9e8ecce88ef65a2953db8071746720dd78bd1632
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
A llvm/test/CodeGen/RISCV/shl-cttz.ll
Log Message:
-----------
[DAGCombine] Transform `shl X, cttz(Y)` to `mul (Y & -Y), X` if cttz is unsupported (#85066)
This patch fold `shl X, cttz(Y)` to `mul (Y & -Y), X` if cttz is
unsupported by the target.
Alive2: https://alive2.llvm.org/ce/z/AtLN5Y
Fixes https://github.com/llvm/llvm-project/issues/84763.
Commit: 23a09b99313edb67d267a974be6cebfdfd97c7c8
https://github.com/llvm/llvm-project/commit/23a09b99313edb67d267a974be6cebfdfd97c7c8
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lldb/test/API/commands/expression/fixits/TestFixIts.py
M lldb/test/API/commands/expression/static-initializers/TestStaticInitializers.py
Log Message:
-----------
[lldb][Test] Remove some xfails for AArch64 Linux
PR #92245 fixed these tests on Linux. They likely work on FreeBSD too
but leaving the xfail for that so it can be confirmed later.
Also updated a bugzilla link to one that redirects to Github issues.
Relates to issues #43398 and #48751.
Commit: e93799f260e881ff2f7c0fd7afc78374d615d70e
https://github.com/llvm/llvm-project/commit/e93799f260e881ff2f7c0fd7afc78374d615d70e
Author: Lukacma <Marian.Lukac at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/include/clang/Basic/arm_sve.td
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvt.c
A clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvtl.c
M llvm/include/llvm/IR/IntrinsicsAArch64.td
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/test/CodeGen/AArch64/sme2-intrinsics-cvt.ll
A llvm/test/CodeGen/AArch64/sme2-intrinsics-cvtl.ll
Log Message:
-----------
[SME] Add intrinsics for FCVT(wid.) and FCVTL (#93202)
According to the specification in
https://github.com/ARM-software/acle/pull/309 this adds the intrinsics
```
svfloat32x2_t svcvt_f32[_f16_x2](svfloat16_t zn) __arm_streaming;
svfloat32x2_t svcvtl_f32[_f16_x2](svfloat16_t zn) __arm_streaming;
```
These are available only if __ARM_FEATURE_SME_F16F16 is enabled.
---------
Co-authored-by: Caroline Concatto <caroline.concatto at arm.com>
Commit: 1e44a9690915e8acf7b2a0e67b56aaf4509e9257
https://github.com/llvm/llvm-project/commit/1e44a9690915e8acf7b2a0e67b56aaf4509e9257
Author: Lukacma <Marian.Lukac at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/include/clang/Basic/arm_sme.td
A clang/test/CodeGen/aarch64-sme2p1-intrinsics/acle_sme2p1_zero.c
M llvm/include/llvm/IR/IntrinsicsAArch64.td
M llvm/lib/Target/AArch64/SMEInstrFormats.td
A llvm/test/CodeGen/AArch64/sme2p1-intrinsics-zero.ll
Log Message:
-----------
[AArch64][SME] Add intrinsics for vector groups ZERO (#93201)
According to the specification in
https://github.com/ARM-software/acle/pull/309 this adds the intrinsics:
void svzero_za64_vg1x2(uint32_t slice)
__arm_streaming __arm_inout("za");
void svzero_za64_vg1x4(uint32_t slice)
__arm_streaming __arm_inout("za");
void svzero_za64_vg2x1(uint32_t slice)
__arm_streaming __arm_inout("za");
void svzero_za64_vg2x2(uint32_t slice)
__arm_streaming __arm_inout("za");
void svzero_za64_vg2x4(uint32_t slice)
__arm_streaming __arm_inout("za");
void svzero_za64_vg4x1(uint32_t slice)
__arm_streaming __arm_inout("za");
void svzero_za64_vg4x2(uint32_t slice)
__arm_streaming __arm_inout("za");
void svzero_za64_vg4x4(uint32_t slice)
__arm_streaming __arm_inout("za");
Commit: 7fa45afa938e0feb0030b14a8633de7dd8e529cb
https://github.com/llvm/llvm-project/commit/7fa45afa938e0feb0030b14a8633de7dd8e529cb
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
A llvm/test/CodeGen/SPIRV/phi-spvintrinsic-dominate.ll
Log Message:
-----------
[SPIR-V] Ensure that internal intrinsic functions are inserted at the correct positions (#93552)
The goal of the PR is to ensure that newly inserted internal intrinsic
functions are inserted at the correct positions, and don't break rules
of instruction domination and PHI nodes grouping at top of basic block.
This is a continuation of
https://github.com/llvm/llvm-project/pull/92316 and
https://github.com/llvm/llvm-project/pull/92536
Commit: f63adf3b51008970cc7c3794c68c7a6e33e8d5dd
https://github.com/llvm/llvm-project/commit/f63adf3b51008970cc7c3794c68c7a6e33e8d5dd
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/docs/SPIRVUsage.rst
M llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVInstPrinter.cpp
M llvm/lib/Target/SPIRV/SPIRVCommandLine.cpp
M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
M llvm/lib/Target/SPIRV/SPIRVPrepareFunctions.cpp
M llvm/lib/Target/SPIRV/SPIRVSymbolicOperands.td
A llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_cache_controls/basic-load-store.ll
A llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_cache_controls/decorate-prefetch-w-cache-controls.ll
A llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_global_variable_fpga_decorations/global-var-decorations.ll
A llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_global_variable_host_access/global-var-host-access.ll
A llvm/test/CodeGen/SPIRV/llvm-intrinsics/ptr-annotation.ll
Log Message:
-----------
[SPIR-V] Introduce support of llvm.ptr.annotation to SPIR-V Backend and implement extensions which make use of spirv.Decorations (#93561)
This PR introduces support of llvm.ptr.annotation to SPIR-V Backend, and
implement several extensions which make use of spirv.Decorations and
llvm.ptr.annotation to annotate global variables and pointers:
- SPV_INTEL_cache_controls
- SPV_INTEL_global_variable_host_access
- SPV_INTEL_global_variable_fpga_decorations
Commit: 7c917e8268225735bf6fe0f7d8491fc944358e47
https://github.com/llvm/llvm-project/commit/7c917e8268225735bf6fe0f7d8491fc944358e47
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
A llvm/test/CodeGen/SPIRV/event-zero-const.ll
Log Message:
-----------
[SPIR-V] Implement correct zeroinitializer for extension types in SPIR-V Backend (#93607)
This PR implements correct zeroinitializer for extension types in SPIR-V
Backend.
Previous version has just created 0 of 32/64 integer type (depending on
target machine word size), that caused re-use and type re-write of the
corresponding integer constant 0 with a potential crash on wrong usage
of the constant (i.e., 0 of integer type expected but extension type
found). E.g., the following code would crash without the PR:
```
%r1 = icmp ne i64 %_arg_i, 0
%e1 = tail call spir_func target("spirv.Event") @__spirv_GroupAsyncCopy(i32 2, ptr addrspace(3) %_arg_local, ptr addrspace(1) %_arg_ptr, i64 1, i64 1, target("spirv.Event") zeroinitializer)
```
because 0 in icmp would eventually be of `Event` type.
Commit: 42a0fb2333344077dc8aafd65b50d0ece886cf4e
https://github.com/llvm/llvm-project/commit/42a0fb2333344077dc8aafd65b50d0ece886cf4e
Author: zjgarvey <47986913+zjgarvey at users.noreply.github.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml
M mlir/python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py
M mlir/test/Dialect/Linalg/generalize-named-ops.mlir
M mlir/test/Dialect/Linalg/named-ops.mlir
Log Message:
-----------
[mlir][linalg] Add linalg.conv_2d_ngchw_gfchw_q to named ops (#92136)
Adds a named op: linalg.conv_2d_ngchw_gfchw_q. This op is similar to
linalg.conv_2d_ngchw_gfchw, but additionally incorporates zero point
offset corrections.
Commit: a860e89028a004bc5b46ce0952b75d4f85a5927d
https://github.com/llvm/llvm-project/commit/a860e89028a004bc5b46ce0952b75d4f85a5927d
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Log Message:
-----------
[RISCV] Don't recompute getDemanded in RISCVInsertVSETVLI::needVSETVLI. NFC
This also makes the function a bit easier to reason about since we can
remove the assert. Eventually we might be able to replace needVSETVLI
with VSETVLIInfo::isCompatible.
Commit: 7ee511217b0d1cfd3269e9d2a89acf335ca9a9ea
https://github.com/llvm/llvm-project/commit/7ee511217b0d1cfd3269e9d2a89acf335ca9a9ea
Author: Nico Weber <thakis at chromium.org>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
Log Message:
-----------
[gn build] Port 04f01a2b9ced
Commit: 9c4bae7c7c5be754f98bc495d51dd122609cd649
https://github.com/llvm/llvm-project/commit/9c4bae7c7c5be754f98bc495d51dd122609cd649
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86CompressEVEX.cpp
M llvm/test/CodeGen/X86/apx/compress-evex.mir
M llvm/utils/TableGen/X86ManualCompressEVEXTables.def
Log Message:
-----------
[X86][CodeGen] Disable NDD2NonNDD compression for CFCMOV
Commit: 35f2caf713489049cc1b31aa3fe0a054968f80e3
https://github.com/llvm/llvm-project/commit/35f2caf713489049cc1b31aa3fe0a054968f80e3
Author: chuongg3 <chuong.goh at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
M llvm/test/CodeGen/AArch64/arm64-tbl.ll
Log Message:
-----------
[AArch64][GlobalISel] Select TBL/TBX Intrinsics (#92914)
Commit: 8e1290432adf33a7aeca65a53d1faa7577ed0e66
https://github.com/llvm/llvm-project/commit/8e1290432adf33a7aeca65a53d1faa7577ed0e66
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lldb/include/lldb/Symbol/Type.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
M lldb/source/Symbol/Type.cpp
M lldb/unittests/SymbolFile/DWARF/DWARFDIETest.cpp
Log Message:
-----------
[lldb/DWARF] Refactor DWARFDIE::Get{Decl,TypeLookup}Context (#93291)
After a bug (the bug is that the functions don't handle DW_AT_signature,
aka type units) led me to one of these similar-but-different functions,
I started to realize that most of the differences between these two
functions are actually bugs.
As a first step towards merging them, this patch rewrites both of them
to follow the same pattern, while preserving all of their differences.
The main change is that GetTypeLookupContext now also uses a `seen` list
to avoid reference loops (currently that's not necessary because the
function strictly follows parent links, but that will change with
DW_AT_signatures).
I've also optimized both functions to avoid recursion by starting contruction
with the deepest scope first (and then reversing it).
Commit: 3ce9b86cfd2d88162bc4a551dd7910b8cff3097b
https://github.com/llvm/llvm-project/commit/3ce9b86cfd2d88162bc4a551dd7910b8cff3097b
Author: Tuan Chuong Goh <chuong.goh at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/mulcmle.ll
Log Message:
-----------
[AArch64][NFC] Pre-commit Test for Combine MUL(AND(LSHR)) to CMLTz (#92915)
Commit: 3082258d3a29664a66fcd35c104a40b8cf9d6cba
https://github.com/llvm/llvm-project/commit/3082258d3a29664a66fcd35c104a40b8cf9d6cba
Author: Jan Patrick Lehr <JanPatrick.Lehr at amd.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
A llvm/test/Analysis/CostModel/X86/handle-iptr-with-data-layout-to-not-assert.ll
Log Message:
-----------
[CodeGen][X86] Use TargetLowering for TypeInfo of PointerTy (#93469)
This uses the TargetLowering getSimpleValueType mechanism to retrieve
the ValueType info inside the X86 cost model.
This resolves a build issue we were seeing for the miniQMC application after
https://github.com/llvm/llvm-project/pull/92671.
Commit: 103f6a7606fdc128041bb2e17fb0e992fc6f2225
https://github.com/llvm/llvm-project/commit/103f6a7606fdc128041bb2e17fb0e992fc6f2225
Author: Nico Weber <thakis at chromium.org>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
M llvm/utils/gn/secondary/llvm/test/BUILD.gn
Log Message:
-----------
Reland "[gn] port 088aa81a5454 (LLVM_HAS_LOGF128)""
This reverts commit 9ebf2f8a67cce570d0752556fed23ff2803aef33.
088aa81a5454 relanded in 3613b2683107b.
Commit: 9a282724a29899e84adc91bdeaf639010408a80d
https://github.com/llvm/llvm-project/commit/9a282724a29899e84adc91bdeaf639010408a80d
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/Transforms/Reassociate/reassoc_bool_vec.ll
Log Message:
-----------
[Reassociate] Update test after recent change
Fix test expectation after 3bcccb6af685c3132a9ee578b9e11b2503c35a5c.
Commit: 23366d4153e1e521a7e5b88d42afea69fb888be7
https://github.com/llvm/llvm-project/commit/23366d4153e1e521a7e5b88d42afea69fb888be7
Author: chuongg3 <chuong.goh at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64Combine.td
M llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp
M llvm/test/CodeGen/AArch64/mulcmle.ll
Log Message:
-----------
[AArch64][GlobalISel] Combine MUL(AND(LSHR(X, 15), 0x10001), 0xffff) to CMLTz (#92915)
This patch mirrors the following SelectionDAG patch for GlobalISel:
https://reviews.llvm.org/D130874
Commit: 4ffe26334e563a3fea70c2a05de0410a2a3856d7
https://github.com/llvm/llvm-project/commit/4ffe26334e563a3fea70c2a05de0410a2a3856d7
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/Transforms/InstSimplify/ConstProp/vectorgep-crash.ll
M llvm/test/Transforms/InstSimplify/vector_gep.ll
Log Message:
-----------
[InstSimplify] Generate test checks (NFC)
Commit: a49b5cad99ff84c2c9c55db1d5d9d4bfe1411777
https://github.com/llvm/llvm-project/commit/a49b5cad99ff84c2c9c55db1d5d9d4bfe1411777
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/Transforms/InferAddressSpaces/AMDGPU/infer-address-space.ll
M llvm/test/Transforms/InferAddressSpaces/NVPTX/bug31948.ll
Log Message:
-----------
[InferAddressSpaces] Generate test checks (NFC)
Commit: 9377412c5a8bbfbee93029ef22b4b74949cbe1b5
https://github.com/llvm/llvm-project/commit/9377412c5a8bbfbee93029ef22b4b74949cbe1b5
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/lib/Parse/ParseOpenMP.cpp
Log Message:
-----------
[clang][OpenMP] Remove unused include of UniqueVector.h, NFC
Commit: 1ea8caeada6efa991f7221f95fc6df581845895d
https://github.com/llvm/llvm-project/commit/1ea8caeada6efa991f7221f95fc6df581845895d
Author: Momchil Velikov <momchil.velikov at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
A llvm/test/CodeGen/AArch64/fixed-point-conv-vec-pat.ll
Log Message:
-----------
[AArch64] Add patterns for conversions using fixed-point scvtf (#92922)
Commit: 0dfd2bf4dfd3fc8c0733678186ceb37776597d35
https://github.com/llvm/llvm-project/commit/0dfd2bf4dfd3fc8c0733678186ceb37776597d35
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Transforms/IPO/LowerTypeTests.cpp
Log Message:
-----------
[LTT] Directly create inbounds gep (NFCI)
We know that this gep is inbounds. Constant expression construction
already infers this fact, but make it explicit.
Commit: 180448b13c2bfc94f4eef64d2352ad4cf94f01c7
https://github.com/llvm/llvm-project/commit/180448b13c2bfc94f4eef64d2352ad4cf94f01c7
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
Log Message:
-----------
[AMDGPU] Reduce use of continue in SIWholeQuadMode. NFC. (#93659)
Commit: 24ddce62c8bb92a19ba3677629c77a2e6f137b1a
https://github.com/llvm/llvm-project/commit/24ddce62c8bb92a19ba3677629c77a2e6f137b1a
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
A llvm/test/CodeGen/RISCV/GlobalISel/bitmanip.ll
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-bitreverse-rv32.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-bitreverse-rv64.mir
Log Message:
-----------
[GISel] Legalize bitreverse with types smaller than 8 bits (#92998)
This patch adds support for lowering `bitreverse` with types smaller
than 8 bits. It also fixes an existing assertion failure in
`llvm::APInt::getSplat`: https://godbolt.org/z/7crs8xrcG
The lowering logic is copied from SDAG:
https://github.com/llvm/llvm-project/blob/2034f2fc8729bd4645ef7caa3c5c6efa284d2d3f/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp#L9384-L9398
Commit: fba84ecc158ec4a9e0eae91d923d4a8f15e7ed6f
https://github.com/llvm/llvm-project/commit/fba84ecc158ec4a9e0eae91d923d4a8f15e7ed6f
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
Log Message:
-----------
[WPD] Directly create geteleementptr inbounds (NFCI)
We know that this GEP is inbounds, so make it explicit. NFCI
because constant expression construction already infers this.
Commit: 886d31675dbb6fe8cf97fd9083870bd043ce9f02
https://github.com/llvm/llvm-project/commit/886d31675dbb6fe8cf97fd9083870bd043ce9f02
Author: Tuan Chuong Goh <chuong.goh at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/GlobalISel/combine-add.mir
M llvm/test/CodeGen/AArch64/neon-extadd.ll
Log Message:
-----------
[AArch64][NFC] Pre-commit test for Push ADD/SUB through {S|Z}EXT (#90964)
Commit: 753ac4786e250604224701616f0962e41e163a02
https://github.com/llvm/llvm-project/commit/753ac4786e250604224701616f0962e41e163a02
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-abs-rv32.mir
Log Message:
-----------
[RISCV][test] Add missing check-prefix to a test (NFC) (#93683)
Commit: df9701bfee2b13282a9c1bf981d37b965cb22bf7
https://github.com/llvm/llvm-project/commit/df9701bfee2b13282a9c1bf981d37b965cb22bf7
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M openmp/runtime/src/CMakeLists.txt
Log Message:
-----------
[OpenMP] Fix multiply installing `libomp.so` (#93685)
Summary:
The `add_llvm_library` interface handles installing the llvm libraries,
however we want to do our own handling. Otherwise, this will install
into the `./lib` location instead of the `./lib/<target>` one.
Commit: 7af5b68a03bb7f5090a96b3f9f9a34f0e196e466
https://github.com/llvm/llvm-project/commit/7af5b68a03bb7f5090a96b3f9f9a34f0e196e466
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
Log Message:
-----------
[DFSan] Directly create gep inbounds for arg origin tls (NFCI)
Calling code explicitly checks that ArgNo is inbounds. NFCI
because constant expression creation already infers it, this just
makes it explicit.
Commit: fbe98da623c014a3e935b1e683aecdacee17f5bd
https://github.com/llvm/llvm-project/commit/fbe98da623c014a3e935b1e683aecdacee17f5bd
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/irreducible/diverged-entry-headers.ll
M llvm/test/CodeGen/AMDGPU/addrspacecast.ll
M llvm/test/CodeGen/AMDGPU/dpp_combine_gfx11.mir
M llvm/test/MC/AMDGPU/hsa-diag-v4.s
M llvm/test/MC/Disassembler/AMDGPU/gfx10-wave32.txt
M llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_ds.txt
M llvm/test/Verifier/AMDGPU/intrinsic-immarg.ll
Log Message:
-----------
[AMDGPU] Fix filecheck annotation typos
Co-authored-by: klensy <nightouser at gmail.com>
Commit: e8e5ba00db1b6a8ed5c988b1a252c86487d1bce7
https://github.com/llvm/llvm-project/commit/e8e5ba00db1b6a8ed5c988b1a252c86487d1bce7
Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/TargetParser/AArch64TargetParser.cpp
M llvm/utils/TableGen/ARMTargetDefEmitter.cpp
Log Message:
-----------
[AArch64][TargetParser] Move ExtensionDependencies into tablegen [NFC] (#93614)
This patch generates ExtensionDependency pairs {Earlier, Later} inferred
by the 'Implies' field of every Extension defined in tablegen. Implied
Subtarget Features that are not Extensions are skipped.
Commit: e20f0fe29f714a22679214b499744735d528fc1a
https://github.com/llvm/llvm-project/commit/e20f0fe29f714a22679214b499744735d528fc1a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/CodeGen/WasmEHPrepare.cpp
Log Message:
-----------
[WasmEHPrepare] Explicitly create inbounds GEP (NFCI)
These are known to be inbounds, create them as such. NFCI because
constant expression construction currently already infers this.
Also drop the unnecessary zero-index GEP: This is equivalent to
the pointer itself nowadays.
Commit: 14dc97df5ef3a9178fc4175303f0f86ed4e3f98e
https://github.com/llvm/llvm-project/commit/14dc97df5ef3a9178fc4175303f0f86ed4e3f98e
Author: chuongg3 <chuong.goh at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64Combine.td
M llvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/combine-add.mir
M llvm/test/CodeGen/AArch64/aarch64-addv.ll
M llvm/test/CodeGen/AArch64/arm64-vabs.ll
M llvm/test/CodeGen/AArch64/neon-extadd.ll
M llvm/test/CodeGen/AArch64/vecreduce-add.ll
Log Message:
-----------
[AArch64][GlobalISel] Push ADD/SUB through Extend Instructions (#90964)
The regression in one test is due to a SUB instruction being pushed
through the extend, leaving behind the abs instruction, which prevents
it from selecting uabdl instructions shown below:
`i32 abs(i32 sub(i32 ext i8, i32 ext i8))` =>
`i32 abs(i32 ext(i16 sub(i16 ext i8, i16 ext i8)))`
This is intended to be fixed in a follow up patch
Commit: 0981dca7779d4acfcbb92fbb29a7a1033e283b88
https://github.com/llvm/llvm-project/commit/0981dca7779d4acfcbb92fbb29a7a1033e283b88
Author: donald chen <chenxunyu1993 at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
M mlir/test/Dialect/Linalg/transform-op-split-reduction.mlir
Log Message:
-----------
[mlir][arith] Add neutral element support to arith.maxnumf/arith.minnumf (#93278)
For maxnumf and minnumf, the result of calculations involving NaN will
be another value, so their neutral element is set to NaN.
Commit: 799316ff26cc82d60f276dc62c4a69b5bba1aef3
https://github.com/llvm/llvm-project/commit/799316ff26cc82d60f276dc62c4a69b5bba1aef3
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lldb/include/lldb/Target/RegisterFlags.h
M lldb/source/Target/RegisterFlags.cpp
Log Message:
-----------
[lldb][NFC] Pass Stream& to ToXML methods in RegisterFlags
As suggested in a review of some new code for this file, Stream
is more general. The code does not need to know that it's backed
by a string.
Commit: 975477e7f7ee1d8c29975224abb452f73b90db36
https://github.com/llvm/llvm-project/commit/975477e7f7ee1d8c29975224abb452f73b90db36
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
Log Message:
-----------
[CGBuiltin] Explicitly use inbounds GEP (NFCI)
All of these are inbounds as they access known offsets in fixed
globals. NFCI because constant expression construction currently
already infers this, this patch just makes it explicit.
Commit: 6127f15e5b4834411e8f2e700e25c40490deec35
https://github.com/llvm/llvm-project/commit/6127f15e5b4834411e8f2e700e25c40490deec35
Author: zhijian lin <zhijian at ca.ibm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPC.td
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/lib/Target/PowerPC/PPCInstrP10.td
M llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
A llvm/test/CodeGen/PowerPC/pr62372.ll
Log Message:
-----------
[PowerPC] option `-msoft-float` should not block the PC-relative address instruction (#92543)
The Prefix instruction is introduced on PowerPC ISA3_1.
In the PR,
1. The `FeaturePrefixInstrs` do not imply the `FeatureP8Vector`
,`FeatureP9Vector` .
2. `FeaturePrefixInstrs` implies only the FeatureISA3_1.
3. For the prefix instructions `paddi` and `pli` , they have `Predicates
= [PrefixInstrs] `
4. For the prefix instructions `plfs` and `plfd`, they have `Predicates
= [PrefixInstrs, HasFPU] `
5. For the prefix instructions "plxv` , "plxssp` and `plxsd` , they have
`Predicates = [PrefixInstrs, HasP10Vector]`
Fixes #62372
Commit: cd5045a76a02f87542b2ff3d78352c10aee6395b
https://github.com/llvm/llvm-project/commit/cd5045a76a02f87542b2ff3d78352c10aee6395b
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/ValueTypes.td
M llvm/utils/TableGen/VTEmitter.cpp
Log Message:
-----------
[ValueTypes] Use bit instead of int for boolean fields in ValueTypes.td. NFC
Commit: b15a0a37404f36bcd9c7995de8cd16f9cb5ac8af
https://github.com/llvm/llvm-project/commit/b15a0a37404f36bcd9c7995de8cd16f9cb5ac8af
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/include/clang/Basic/Builtins.td
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGen/X86/math-builtins.c
M clang/test/CodeGen/constrained-math-builtins.c
M clang/test/CodeGen/math-libcalls.c
M clang/test/CodeGenOpenCL/builtins-f16.cl
M llvm/docs/LangRef.rst
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/include/llvm/IR/ConstrainedOps.def
M llvm/include/llvm/IR/Intrinsics.td
M llvm/test/Assembler/fp-intrinsics-attr.ll
M llvm/test/Feature/fp-intrinsics.ll
Log Message:
-----------
[clang] Add tanf16 builtin and support for tan constrained intrinsic (#93314)
In LLVM, the `llvm.experimental.constrained.cos` and
`llvm.experimental.constrained.sin` intrinsics are used for performing
cosine and sine calculations with additional constraints on
floating-point operations. This behavior is expected for all
floating-point math intrinsics. This change adds these constraints for
the `tan` intrinsic.
- `Builtins.td` - replace TanF128 with F16F128MathTemplate
- `CGBuiltin.cpp` - map existing tan builtins to `tan` and
`constrained_tan` intrinsic
- `ConstrainedOps.def` map tan and constrained_tan to an ISDOpcode.
- `ISDOpcodes.h` - define tan and strict tan opcodes
resolves #91421
Commit: fe82a3da36196157c0caa1ef2505186782f750d1
https://github.com/llvm/llvm-project/commit/fe82a3da36196157c0caa1ef2505186782f750d1
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/cmake/caches/Fuchsia-stage2.cmake
M clang/cmake/caches/Fuchsia.cmake
M clang/cmake/caches/VectorEngine.cmake
M clang/utils/analyzer/entrypoint.py
M compiler-rt/cmake/config-ix.cmake
M compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
M compiler-rt/lib/xray/tests/CMakeLists.txt
M lldb/docs/resources/build.rst
M lldb/source/Core/CMakeLists.txt
M llvm/CMakeLists.txt
M llvm/cmake/config-ix.cmake
A llvm/cmake/modules/FindTerminfo.cmake
M llvm/cmake/modules/LLVMConfig.cmake.in
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm/Config/config.h.cmake
M llvm/lib/Support/CMakeLists.txt
M llvm/lib/Support/Unix/Process.inc
M llvm/utils/gn/README.rst
A llvm/utils/gn/build/libs/terminfo/BUILD.gn
A llvm/utils/gn/build/libs/terminfo/enable.gni
M llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
M llvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn
M utils/bazel/.bazelrc
M utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h
M utils/bazel/llvm_configs/config.h.cmake
Log Message:
-----------
Revert "[Support] Remove terminfo dependency (#92865)"
This reverts commit 6bf450c7a60fa62c642e39836566da94bb9bbc91.
It breaks LLDB CI: https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/as-lldb-cmake/4762/execution/node/97/log/
```
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -Wdocumentation -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-deprecated-register -Wno-vla-extension -O3 -DNDEBUG -arch arm64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=14.1 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Wl,-dead_strip -Wl,-no_warn_duplicate_libraries tools/lldb/unittests/Editline/CMakeFiles/EditlineTests.dir/EditlineTest.cpp.o -o tools/lldb/unittests/Editline/EditlineTests lib/libLLVMSupport.a lib/libllvm_gtest_main.a lib/libllvm_gtest.a lib/liblldbHost.a lib/liblldbUtility.a lib/libLLVMTestingSupport.a /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libxml2.tbd /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libedit.tbd lib/liblldbHostMacOSXObjCXX.a lib/liblldbUtility.a -framework Foundation -framework CoreFoundation -framework CoreServices -framework Security lib/libLLVMObject.a lib/libLLVMIRReader.a lib/libLLVMBitReader.a lib/libLLVMAsmParser.a lib/libLLVMCore.a lib/libLLVMRemarks.a lib/libLLVMBitstreamReader.a lib/libLLVMMCParser.a lib/libLLVMMC.a lib/libLLVMDebugInfoCodeView.a lib/libLLVMTextAPI.a lib/libLLVMBinaryFormat.a lib/libLLVMTargetParser.a lib/libllvm_gtest.a lib/libLLVMSupport.a -lm /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libz.tbd /opt/homebrew/lib/libzstd.dylib lib/libLLVMDemangle.a -lpthread && cd /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/tools/lldb/unittests/Editline && /opt/homebrew/Cellar/cmake/3.28.3/bin/cmake -E make_directory /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/tools/lldb/unittests/Editline/./Inputs
ld: Undefined symbols:
_setupterm, referenced from:
lldb_private::Editline::Editline(char const*, __sFILE*, __sFILE*, __sFILE*, std::__1::recursive_mutex&) in liblldbHost.a[35](Editline.cpp.o)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```
Commit: 1de6011c34b185235cd65c2e3fb030015d182968
https://github.com/llvm/llvm-project/commit/1de6011c34b185235cd65c2e3fb030015d182968
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/ValueTypes.td
M llvm/utils/TableGen/VTEmitter.cpp
Log Message:
-----------
[ValueTypes] Remove hardcoded 224 from VTEmitter.cpp. NFC
Add a new bit to ValueTypes.td to indicate whether a type should be
part of the [FIRST_VALUETYPE,LAST_VALUETYPE] range or not.
This was reviewed as part of #93654.
Commit: 6d90ac1e06f31cae9806a8815158e2851cf8e987
https://github.com/llvm/llvm-project/commit/6d90ac1e06f31cae9806a8815158e2851cf8e987
Author: Thorsten Schütt <schuett at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/CombinerHelperVectorOps.cpp
M llvm/lib/CodeGen/GlobalISel/Utils.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/combine-extract-vec-elt.mir
A llvm/test/CodeGen/AArch64/GlobalISel/combine-freeze.mir
M llvm/test/CodeGen/AArch64/GlobalISel/combine-insert-vec-elt.mir
M llvm/test/CodeGen/AArch64/GlobalISel/prelegalizer-combiner-divrem-insertpt-crash.mir
M llvm/test/CodeGen/AArch64/fast-isel-select.ll
M llvm/test/CodeGen/AMDGPU/div_i128.ll
Log Message:
-----------
[GlobalIsel] Combine freeze (#93239)
Commit: c9c244423ffb8071bb838c3606052e12af537047
https://github.com/llvm/llvm-project/commit/c9c244423ffb8071bb838c3606052e12af537047
Author: Angel Zhang <angel.zhang at amd.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRVPass.cpp
A mlir/test/mlir-vulkan-runner/vector-interleave.mlir
A mlir/test/mlir-vulkan-runner/vector-shuffle.mlir
Log Message:
-----------
[mlir][spirv] Add integration test for `vector.interleave` and `vector.shuffle` (#93595)
- Add integration test for `vector.shuffle` and `vector.interleave`,
mentioned in issue #91978
- Add `VectorToSPIRV` patterns to `GPUToSPIRVPass`
---------
Co-authored-by: Jakub Kuderski <kubakuderski at gmail.com>
Commit: cfb209b92a26f16ed7413b32da20fc436eff8c58
https://github.com/llvm/llvm-project/commit/cfb209b92a26f16ed7413b32da20fc436eff8c58
Author: Vy Nguyen <oontvoo at users.noreply.github.com>
Date: 2024-05-29 (Wed, 29 May 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:
-----------
[lldb][lldb-dap] Cleanup breakpoint filters. (#87550)
Details:
- remove Swift breakpoint filter because this version of LLDB does not
support Swift.
- only return objc filters when working on macos.
Commit: 2ceec68e1630b40a37448c44fea63f9114848235
https://github.com/llvm/llvm-project/commit/2ceec68e1630b40a37448c44fea63f9114848235
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/ValueTypes.td
Log Message:
-----------
[ValueTypes] Rename FlagVT to Glue in ValueTypes.td. NFC
Nothing ever refers to it as FlagVT so we can just use the LLVMName
"Glue".
Commit: 949ef57dd20f8d3f3257376b91af71ab8c380338
https://github.com/llvm/llvm-project/commit/949ef57dd20f8d3f3257376b91af71ab8c380338
Author: Konstantin Zhuravlyov <kzhuravl_dev at outlook.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/docs/AMDGPUUsage.rst
M llvm/include/llvm/BinaryFormat/ELF.h
Log Message:
-----------
AMDGPU/NFC: Reserve 0x058 EF_AMDGPU_MACHs (#93696)
Commit: 4e251e7cad6c27b7476edd8e1dc4b98d5a8efe76
https://github.com/llvm/llvm-project/commit/4e251e7cad6c27b7476edd8e1dc4b98d5a8efe76
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
Log Message:
-----------
Fix MSVC "result of 32-bit shift implicitly converted to 64 bits" warning. NFC.
Commit: 2665b2a6ddb1625799536c45ca15605a6f24c081
https://github.com/llvm/llvm-project/commit/2665b2a6ddb1625799536c45ca15605a6f24c081
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] Pull out combineConstantPoolLoads helper from combineLoad. NFC.
The logic is already pretty dense and a future patch will further complicate this.
Commit: 737a3018e826f5452f181a550be90b9135d8eda5
https://github.com/llvm/llvm-project/commit/737a3018e826f5452f181a550be90b9135d8eda5
Author: Mingming Liu <mingmingl at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/lib/ProfileData/InstrProf.cpp
M llvm/lib/ProfileData/InstrProfReader.cpp
Log Message:
-----------
[nfc][InstrFDO] Add Header::getIndexedProfileVersion and use it to decide profile version. (#93613)
This is a split of https://github.com/llvm/llvm-project/pull/93346 as
discussed.
Commit: 8c5a7a1fc4890fcae50f8e8a61d5a2e2b1ebd7e5
https://github.com/llvm/llvm-project/commit/8c5a7a1fc4890fcae50f8e8a61d5a2e2b1ebd7e5
Author: Vadim D <36827317+vvd170501 at users.noreply.github.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang-tools-extra/clangd/Config.h
M clang-tools-extra/clangd/ConfigCompile.cpp
M clang-tools-extra/clangd/ConfigFragment.h
M clang-tools-extra/clangd/ConfigYAML.cpp
M clang-tools-extra/clangd/IncludeCleaner.cpp
M clang-tools-extra/clangd/IncludeCleaner.h
M clang-tools-extra/clangd/ParsedAST.cpp
M clang-tools-extra/clangd/unittests/ConfigCompileTests.cpp
M clang-tools-extra/clangd/unittests/ConfigYAMLTests.cpp
M clang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
Log Message:
-----------
[clangd] Add config option to allow detection of unused angled includes (#87208)
This PR adds a new `AnalyzeAngledIncludes` option to `Includes` section
of clangd config. This option enables unused include checks for all includes
that use the `<>` syntax, not just standard library includes.
Commit: 265589785ccf043492e4e0ab88c2830eae7d3496
https://github.com/llvm/llvm-project/commit/265589785ccf043492e4e0ab88c2830eae7d3496
Author: Miro Bucko <mbucko at meta.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lldb/include/lldb/Target/Process.h
M lldb/source/Commands/CommandObjectMemory.cpp
M lldb/source/Target/Process.cpp
Log Message:
-----------
[nfc][lldb] Move FastSearch from CommandObjectMemoryFind to Process (#93688)
Moving CommandObjectMemoryFind::FastSearch() to Process::FindInMemory(). Plan to expose FindInMemory as public API in SBProcess.
Commit: 9595eb10ae9a5661a596dff19bf39365140548e3
https://github.com/llvm/llvm-project/commit/9595eb10ae9a5661a596dff19bf39365140548e3
Author: Hui <hui.xie1990 at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M libcxx/docs/Status/Cxx20Issues.csv
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp
Log Message:
-----------
[libc++][test] Close LWG3018 and add tests (#93047)
Commit: c54657887b2cd88f0745c151fec0b15a8a7d1e44
https://github.com/llvm/llvm-project/commit/c54657887b2cd88f0745c151fec0b15a8a7d1e44
Author: Mingming Liu <mingmingl at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/ProfileData/InstrProfWriter.cpp
Log Message:
-----------
[nfc][InstrProfWriter]Store header fields in a vector and back patch once (#93594)
This is a split of https://github.com/llvm/llvm-project/pull/93346 as
discussed.
Commit: 1f67f34a5cf993f03eca8936bfb7203778c2997a
https://github.com/llvm/llvm-project/commit/1f67f34a5cf993f03eca8936bfb7203778c2997a
Author: Florian Mayer <fmayer at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
M llvm/lib/Target/AArch64/AArch64StackTagging.cpp
A llvm/test/CodeGen/AArch64/stack-tagging-prologue.ll
Log Message:
-----------
[MTE] add stack frame history buffer
this will allow us to find offending objects in a symbolization step,
like we can do with hwasan.
needs matching changes in AOSP:
https://android-review.git.corp.google.com/q/topic:%22stackhistorybuffer%22
Pull Request: https://github.com/llvm/llvm-project/pull/86356
Commit: 3313f28897a87ec313ec0b52ef71c14d3b9ff652
https://github.com/llvm/llvm-project/commit/3313f28897a87ec313ec0b52ef71c14d3b9ff652
Author: Florian Mayer <fmayer at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
M llvm/lib/Target/AArch64/AArch64StackTagging.cpp
R llvm/test/CodeGen/AArch64/stack-tagging-prologue.ll
Log Message:
-----------
Revert "[MTE] add stack frame history buffer"
This reverts commit 1f67f34a5cf993f03eca8936bfb7203778c2997a.
Commit: 1a2f3309765fdc143fdc3809211fb85d2e2ca341
https://github.com/llvm/llvm-project/commit/1a2f3309765fdc143fdc3809211fb85d2e2ca341
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/TextNodeDumper.h
M clang/lib/AST/TextNodeDumper.cpp
M clang/test/AST/ast-dump-decl.cpp
M clang/test/AST/ast-dump-openmp-begin-declare-variant_template_2.cpp
A clang/test/AST/ast-dump-template-name.cpp
M clang/test/AST/ast-dump-using-template.cpp
M clang/test/AST/constraints-explicit-instantiation.cpp
M clang/test/OpenMP/align_clause_ast_print.cpp
M clang/test/OpenMP/generic_loop_ast_print.cpp
M clang/test/OpenMP/interop_ast_print.cpp
M clang/test/SemaOpenACC/sub-array-ast.cpp
M clang/test/SemaTemplate/aggregate-deduction-candidate.cpp
M clang/test/SemaTemplate/attributes.cpp
M clang/test/SemaTemplate/deduction-guide.cpp
M clang/test/SemaTemplate/make_integer_seq.cpp
M clang/test/SemaTemplate/type_pack_element.cpp
Log Message:
-----------
[clang] Improve ast-dumper text printing of TemplateArgument (#93431)
This improves and unifies our approach to printing all template
arguments.
The same approach to printing types is extended to all
TemplateArguments: A sugared version is printed in quotes, followed by
printing the canonical form, unless they would print the same.
Special improvements are done to add more detail to template template
arguments.
It's planned in a future patch to use this improved TemplateName printer
for other places besides TemplateArguments.
Note: The sugared/desugared printing does not show up for TemplateNames
in tests yet, because we do a poor job of preserving their type sugar.
This will be improved in a future patch.
Commit: d2f7a38b7db78adb5c36fff1f7e12814be1a6c30
https://github.com/llvm/llvm-project/commit/d2f7a38b7db78adb5c36fff1f7e12814be1a6c30
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] Fix a warning
This patch fixes:
llvm/lib/Target/X86/X86ISelLowering.cpp:50832:7: error: unused
variable 'MemVT' [-Werror,-Wunused-variable]
Commit: dcbd1fbdf46e74e9be80ec8e3e865b8347e8532b
https://github.com/llvm/llvm-project/commit/dcbd1fbdf46e74e9be80ec8e3e865b8347e8532b
Author: thetruestblue <92476612+thetruestblue at users.noreply.github.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cpp
Log Message:
-----------
[TEST][Darwin] Change x86_64h UNSUPPORTED lit feature used in san cov test (#93706)
Fix x86_64 lit feature. x86-target-arch not set for x86_64h
x86-target-arch not set for x86_64.
Commit: 9fe7aef1889300a17a594efb55358ebd032a81a2
https://github.com/llvm/llvm-project/commit/9fe7aef1889300a17a594efb55358ebd032a81a2
Author: aengelke <engelke at in.tum.de>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachineFrameInfo.h
M llvm/lib/CodeGen/MachineFunction.cpp
M llvm/lib/CodeGen/TargetRegisterInfo.cpp
Log Message:
-----------
[CodeGen] Don't check attrs for stack realign (#92564)
shouldRealignStack/canRealignStack are repeatedly called in PEI (through
hasStackRealignment). Checking function attributes is expensive, so
cache this data in the MachineFrameInfo, which had most data already.
This slightly changes the semantics of `MachineFrameInfo::ForcedRealign`
to be also true when the `stackrealign` attribute is set.
Commit: 472184db24f2f5f7ddca76d7aadd13a3dca05991
https://github.com/llvm/llvm-project/commit/472184db24f2f5f7ddca76d7aadd13a3dca05991
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Port #93595 (#93716)
Commit: 8aceb7a53d82f9566a7cf4775effa4089b22a75b
https://github.com/llvm/llvm-project/commit/8aceb7a53d82f9566a7cf4775effa4089b22a75b
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/CodeGenTypes/MachineValueType.h
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
M llvm/lib/CodeGen/TargetLoweringBase.cpp
Log Message:
-----------
[ValueTypes] Remove MVT::MAX_ALLOWED_VALUETYPE. NFC (#93654)
Despite the comment, this isn't used to size bit vectors or tables.
That's done by VALUETYPE_SIZE. MAX_ALLOWED_VALUETYPE is only used by
some static_asserts that compare it to VALUETYPE_SIZE.
This patch removes it and most of the static_asserts. I left one where I
compared VALUETYPE_SIZE to token which is the first type that isn't part
of the VALUETYPE range. This isn't strictly needed, we'd probably catch
duplication error from VTEmitter.cpp first.
Commit: b3bbb2de6fab74b714f38c0bf0822e1634b0d158
https://github.com/llvm/llvm-project/commit/b3bbb2de6fab74b714f38c0bf0822e1634b0d158
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/vsra-sdnode.ll
Log Message:
-----------
[RISCV] Verify the VL and Mask on the outer TRUNCATE_VECTOR_VL in combineTruncOfSraSext. (#93578)
We checked the VL and mask of any additional TRUNCATE_VECTOR_VL
nodes we peek through, but not the outermost.
This moves the check to the outer node and then verifies all the
additional nodes have the same VL and Mask.
Stacked on #93574
Commit: 99b9ab45cd67648a7b6c2ba02041072fe4de346b
https://github.com/llvm/llvm-project/commit/99b9ab45cd67648a7b6c2ba02041072fe4de346b
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProfReader.h
M llvm/lib/ProfileData/InstrProfReader.cpp
M llvm/lib/ProfileData/InstrProfWriter.cpp
Log Message:
-----------
[memprof] Reorder MemProf sections in profile (#93640)
This patch teaches the V3 format to serialize Frames, call stacks, and
IndexedMemProfRecords, in that order.
I'm planning to use linear IDs for Frames. That is, Frames will be
numbered 0, 1, 2, and so on in the order we serialize them. In turn,
we will seialize the call stacks in terms of those linear IDs.
Likewise, I'm planning to use linear IDs for call stacks and then
serialize IndexedMemProfRecords in terms of those linear IDs for call
stacks.
With the new order, we can successively free data structures as we
serialize them. That is, once we serialize Frames, we can free the
Frames' data proper and just retain mappings from FrameIds to linear
IDs. A similar story applies to call stacks.
Commit: 7348bb23abdf59e503c815037ce9835f5dd15df2
https://github.com/llvm/llvm-project/commit/7348bb23abdf59e503c815037ce9835f5dd15df2
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/include/clang/Basic/Builtins.td
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGen/X86/math-builtins.c
M clang/test/CodeGen/constrained-math-builtins.c
M clang/test/CodeGen/math-libcalls.c
M clang/test/CodeGenOpenCL/builtins-f16.cl
M llvm/docs/LangRef.rst
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/include/llvm/IR/ConstrainedOps.def
M llvm/include/llvm/IR/Intrinsics.td
M llvm/test/Assembler/fp-intrinsics-attr.ll
M llvm/test/Feature/fp-intrinsics.ll
Log Message:
-----------
Revert "[clang] Add tanf16 builtin and support for tan constrained intrinsic (#93314)" (#93721)
This reverts commit b15a0a37404f36bcd9c7995de8cd16f9cb5ac8af.
This should undo PR: https://github.com/llvm/llvm-project/pull/93314
will need to re-open https://github.com/llvm/llvm-project/issues/91421
wait for https://github.com/llvm/llvm-project/pull/90503 to land
Commit: 1cff74130f30aaf47a995c5f6b637a04eaab2617
https://github.com/llvm/llvm-project/commit/1cff74130f30aaf47a995c5f6b637a04eaab2617
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCV.h
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
M llvm/test/CodeGen/RISCV/O0-pipeline.ll
M llvm/test/CodeGen/RISCV/O3-pipeline.ll
R llvm/test/CodeGen/RISCV/rvv/coalesce-vsetvli.mir
M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert.mir
Log Message:
-----------
[RISCV] Merge RISCVCoalesceVSETVLI back into RISCVInsertVSETVLI (#92869)
We no longer need to separate the passes now that #70549 is landed and
this will unblock #89089.
It's not strictly NFC because it will move coalescing before register
allocation when -riscv-vsetvl-after-rvv-regalloc is disabled. But this
makes it closer to the original behaviour.
Commit: ec8fe598a94d2826f8e4f79367a5a45a6b32d284
https://github.com/llvm/llvm-project/commit/ec8fe598a94d2826f8e4f79367a5a45a6b32d284
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.h
M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
Log Message:
-----------
[RISCV] Move vnclipu patterns into DAGCombiner. (#93596)
I plan to add support for multiple layers of vnclipu. For example,
i32->i8 using 2 vnclipu instructions. First clipping to 65535, then
clipping to 255. Similar for signed vnclip.
This scales poorly if we need to add patterns with 2 or 3 truncates.
Instead, move the code to DAGCombiner with new ISD opcodes to represent
VCLIP(U).
This patch just moves the existing patterns into DAG combine. Support
for multiple truncates will as a follow up. A similar patch series will
be made for the signed vnclip.
Commit: 9c4a716c1292096fcbdf415b63b7b0122b03310f
https://github.com/llvm/llvm-project/commit/9c4a716c1292096fcbdf415b63b7b0122b03310f
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/TemplateName.h
M clang/include/clang/Sema/Sema.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/DeclTemplate.cpp
M clang/lib/AST/ODRHash.cpp
M clang/lib/AST/TemplateBase.cpp
M clang/lib/AST/TemplateName.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/AST/Type.cpp
M clang/lib/AST/TypePrinter.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaExprMember.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaTemplateDeduction.cpp
M clang/lib/Sema/SemaType.cpp
M clang/lib/Sema/TreeTransform.h
M clang/test/AST/ast-dump-ctad-alias.cpp
M clang/test/AST/ast-dump-decl.cpp
M clang/test/AST/ast-dump-expr.cpp
M clang/test/AST/ast-dump-template-decls.cpp
M clang/test/AST/ast-dump-template-name.cpp
M clang/test/AST/ast-dump-using-template.cpp
M clang/test/CXX/drs/cwg1xx.cpp
M clang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p3-2a.cpp
M clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p9-0x.cpp
M clang/test/Index/print-type.cpp
M clang/test/OpenMP/declare_mapper_messages.cpp
M clang/test/Parser/cxx-template-template-recovery.cpp
M clang/test/SemaCXX/cxx1y-variable-templates_in_class.cpp
M clang/test/SemaTemplate/cwg2398.cpp
M clang/test/SemaTemplate/instantiate-requires-expr.cpp
M clang/test/SemaTemplate/nested-implicit-deduction-guides.cpp
M clang/unittests/AST/TemplateNameTest.cpp
M libcxx/test/std/containers/associative/map/map.cons/deduct.verify.cpp
M libcxx/test/std/containers/associative/multimap/multimap.cons/deduct.verify.cpp
M libcxx/test/std/containers/associative/multiset/multiset.cons/deduct.verify.cpp
M libcxx/test/std/containers/associative/set/set.cons/deduct.verify.cpp
M libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons/deduct.verify.cpp
M libcxx/test/std/containers/container.adaptors/queue/queue.cons/deduct.verify.cpp
M libcxx/test/std/containers/container.adaptors/stack/stack.cons/deduct.verify.cpp
M libcxx/test/std/containers/sequences/array/array.cons/deduct.verify.cpp
M libcxx/test/std/containers/sequences/deque/deque.cons/deduct.verify.cpp
M libcxx/test/std/containers/sequences/forwardlist/forwardlist.cons/deduct.verify.cpp
M libcxx/test/std/containers/sequences/list/list.cons/deduct.verify.cpp
M libcxx/test/std/containers/sequences/vector/vector.cons/deduct.verify.cpp
M libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/deduct.verify.cpp
M libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/deduct.verify.cpp
M libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/deduct.verify.cpp
M libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/deduct.verify.cpp
M libcxx/test/std/ranges/range.adaptors/range.join/ctad.verify.cpp
M libcxx/test/std/re/re.regex/re.regex.construct/deduct.verify.cpp
M libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/deduct.verify.cpp
Log Message:
-----------
[clang] Preserve Qualifiers and type sugar in TemplateNames (#93433)
This patch improves the preservation of qualifiers and loss of type
sugar in TemplateNames.
This problem is analogous to https://reviews.llvm.org/D112374 and this
patch takes a very similar approach to that patch, except the impact
here is much lesser.
When a TemplateName was written bare, without qualifications, we
wouldn't produce a QualifiedTemplate which could be used to disambiguate
it from a Canonical TemplateName. This had effects in the TemplateName
printer, which had workarounds to deal with this, and wouldn't print the
TemplateName as-written in most situations.
There are also some related fixes to help preserve this type sugar along
the way into diagnostics, so that this patch can be properly tested.
- Fix dropping the template keyword.
- Fix type deduction to preserve sugar in TST TemplateNames.
Commit: f68fdb84e1809caf42dd22b94145f06974429091
https://github.com/llvm/llvm-project/commit/f68fdb84e1809caf42dd22b94145f06974429091
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Log Message:
-----------
DAG: Fix losing flags on select when expanding select_cc (#93662)
This was only preserving the flags on the setcc, not the new select.
This was missing presumably due to getSelect not having a flags argument
until recently. Avoids regressions in a future commit.
Commit: 4e67f45168b6ba95864285ba7f0ee313b084bdfb
https://github.com/llvm/llvm-project/commit/4e67f45168b6ba95864285ba7f0ee313b084bdfb
Author: Florian Mayer <fmayer at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
M llvm/lib/Target/AArch64/AArch64StackTagging.cpp
A llvm/test/CodeGen/AArch64/stack-tagging-prologue.ll
Log Message:
-----------
Reapply "[MTE] add stack frame history buffer"
In the reverted change, the order of the IR was dependent on the host
compiler, because we inserted instructions in arguments to functions.
Fix that, and also fix another problem with the test.
This reverts commit 3313f28897a87ec313ec0b52ef71c14d3b9ff652.
Commit: 428b9be6484404183f51de08d2503570bade2287
https://github.com/llvm/llvm-project/commit/428b9be6484404183f51de08d2503570bade2287
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M flang/test/Fir/convert-to-llvm.fir
M mlir/include/mlir/Dialect/LLVMIR/LLVMTypes.td
M mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
M mlir/test/Target/LLVMIR/llvmir.mlir
Log Message:
-----------
[mlir] Align num elements type to LLVM ArrayType (#93230)
MLIR LLMArrayType is using `unsigned` for the number of elements while
LLVM ArrayType is using `uint64_t`
https://github.com/llvm/llvm-project/blob/4ae896fe979b7db501cabde4b6b3504478958682/llvm/include/llvm/IR/DerivedTypes.h#L377
This leads to silent truncation when we use it for globals in flang.
```
program test
integer(8), parameter :: large = 2**30
real, dimension(large) :: bigarray
common /c/ bigarray
bigarray(999) = 666
end
```
The above program would result in a segfault since the global would be
of size 0 because of the silent truncation.
```
fir.global common @c_(dense<0> : vector<4294967296xi8>) : !fir.array<4294967296xi8>
```
became
```
llvm.mlir.global common @c_(dense<0> : vector<4294967296xi8>) {addr_space = 0 : i32} : !llvm.array<0 x i8>
```
This patch updates the definition of MLIR ArrayType to take `uint64_t`
as argument of the number of elements to be compatible with LLVM.
Commit: 4b4d36654d8056546b177b3d04c352ba0b16d7ea
https://github.com/llvm/llvm-project/commit/4b4d36654d8056546b177b3d04c352ba0b16d7ea
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Log Message:
-----------
[RISCV] Store only VNInfo val no in VSETVLIInfo. NFC
The VNInfo id (called val no elsewhere it seems) and register is enough
to uniquely identify AVL values, so try to store as little state as
possible.
This may also allow us to use dummy val nos in an upcoming patch when we
don't have LiveIntervals.
Commit: 3255752cbdd73595605439ad66aa4273a444af17
https://github.com/llvm/llvm-project/commit/3255752cbdd73595605439ad66aa4273a444af17
Author: Mingming Liu <mingmingl at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M .github/new-prs-labeler.yml
Log Message:
-----------
[Github]Update PGO with more filepaths (#93720)
- `llvm/**/ProfileData/**/*` intends to cover `llvm/include/llvm/ProfileData/` and `llvm/lib/ProfileData/`
- `llvm/**/SampleProfile*` intends to cover a bunch of SamplePGO files and their headers. For example,
`SampleProfile.cpp`, `SampleProfileMatcher.cpp`, `SampleProfileProbe.cpp`
- `llvm/**/CodeGen/MIRSampleProfile*` intends to cover MIRSampleProfile.cpp and its header.
- `llvm/test/Transforms/SampleProfile/**/*` intends to cover unit tests.
Commit: 3fcf36363d0dc18f9782538897c13ff27e23d7a9
https://github.com/llvm/llvm-project/commit/3fcf36363d0dc18f9782538897c13ff27e23d7a9
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Log Message:
-----------
[RISCV] Make some static functions in RISCVInsertVSETVLI methods. NFC
So we don't have to thread through some common arguments, and to allow
some methods to access state in an upcoming patch.
Commit: 87e8ce376771f8c88a12776544cd81ec5a4993fb
https://github.com/llvm/llvm-project/commit/87e8ce376771f8c88a12776544cd81ec5a4993fb
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Transforms/Utils/RelLookupTableConverter.cpp
M llvm/test/Transforms/RelLookupTableConverter/X86/opaque-ptr.ll
M llvm/test/Transforms/RelLookupTableConverter/X86/relative_lookup_table.ll
Log Message:
-----------
[llvm] Re-use original global name in RelLookupTableConverter (#93626)
Prior, the reltable we create was "reltable." + FuncName which can
result in multiple tables named "reltable." + FuncName + ".{number}" if
we substitute multiple tables in a function. Since we replace the
original global, it makes it easier to just take over the original
global's name. Functionally, this doesn't change the IR emitted, just
global names.
This is a subset of PR 93355 that I'm breaking into multiple patches.
Commit: 025394fa0dd3d0c20cc755f79ed521b85e5d7943
https://github.com/llvm/llvm-project/commit/025394fa0dd3d0c20cc755f79ed521b85e5d7943
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lld/ELF/Arch/ARM.cpp
M lld/ELF/Config.h
M lld/ELF/InputFiles.cpp
A lld/test/ELF/armv8-thumb-plt-reloc.s
Log Message:
-----------
Reapply "[lld] Support thumb PLTs" (#93631) (#93644)
This reverts commit 7832769d329ead264aff238c06dce086b3a74922.
This was reverted prior due to a test failure on the windows builder. I
think this was because we didn't specify the triple and assumed windows.
The other tests use the full triple specifying linux, so we follow suite
here.
---
We are using PLTs for cortex-m33 which only supports thumb. More
specifically, this is for a very restricted use case. There's no MMU so
there's no sharing of virtual addresses between two processes, but this
is fine. The MCU is used for running [chre
nanoapps](https://android.googlesource.com/platform/system/chre/+/HEAD/doc/nanoapp_overview.md)
for android. Each nanoapp is a shared library (but effectively acts as
an executable containing a test suite) that is loaded and run on the MCU
one binary at a time and there's only one process running at a time, so
we ensure that the same text segment cannot be shared by two different
running executables. GNU LD supports thumb PLTs but we want to migrate
to a clang toolchain and use LLD, so thumb PLTs are needed.
Commit: 5bec47c1ef6468ea1e9b24fc7126424760306615
https://github.com/llvm/llvm-project/commit/5bec47c1ef6468ea1e9b24fc7126424760306615
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRVPass.cpp
R mlir/test/mlir-vulkan-runner/vector-interleave.mlir
R mlir/test/mlir-vulkan-runner/vector-shuffle.mlir
Log Message:
-----------
Revert "[mlir][spirv] Add integration test for `vector.interleave` and `vector.shuffle`" (#93732)
Reverts llvm/llvm-project#93595
This broke the gcc-7 bot.
Commit: 0d37e5c61797d6075f02daf28d1b16561299bc69
https://github.com/llvm/llvm-project/commit/0d37e5c61797d6075f02daf28d1b16561299bc69
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Log Message:
-----------
[RISCV] Remove redundant TSFlags parameter in RISCVInsertVSETVLI. NFC
Commit: b98bce50ac545e63494335141ff4cc3e39bcb4af
https://github.com/llvm/llvm-project/commit/b98bce50ac545e63494335141ff4cc3e39bcb4af
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/Bitcode/BitcodeWriter.h
Log Message:
-----------
[nfc] clang-format llvm/Bitcode/BitcodeWriter.h
Odd indenting.
Commit: b74f50a26980233c6bdf3bcacea1473a4a5e0d42
https://github.com/llvm/llvm-project/commit/b74f50a26980233c6bdf3bcacea1473a4a5e0d42
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/Analysis/LoopAccessAnalysis.h
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
Log Message:
-----------
[LAA] Store reference to SymbolicStrides in MemoryDepChecker (NFC).
This reduces the need for explicitly passing it through multiple layers
of function calls.
Commit: 6595e7fa1b5588f860aa057aac47c43623169584
https://github.com/llvm/llvm-project/commit/6595e7fa1b5588f860aa057aac47c43623169584
Author: gulfemsavrun <gulfem at google.com>
Date: 2024-05-29 (Wed, 29 May 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:
-----------
Revert "[lldb][lldb-dap] Cleanup breakpoint filters." (#93739)
Reverts llvm/llvm-project#87550 because it broke `TestDAP*` lldb tests.
https://luci-milo.appspot.com/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64-rbe/b8746585790559468897/overview
Commit: 495bc3cf23dedadd6d633cf9600b7c1f8ac87bb4
https://github.com/llvm/llvm-project/commit/495bc3cf23dedadd6d633cf9600b7c1f8ac87bb4
Author: S. Bharadwaj Yadavalli <Bharadwaj.Yadavalli at microsoft.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
A llvm/docs/DirectX/DXILOpTableGenDesign.rst
Log Message:
-----------
[DirectX][DXIL] Design document for TableGen Spec of DXIL Operations (#85170)
Add an initial design document for TableGen specification of DXIL Operations.
Commit: bfabc958c7c0d7ddc15f23383d9da836e8c6093f
https://github.com/llvm/llvm-project/commit/bfabc958c7c0d7ddc15f23383d9da836e8c6093f
Author: David Blaikie <dblaikie at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/include/clang/Basic/DebugOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
A clang/test/CodeGenCXX/debug-info-incomplete-types.cpp
M clang/test/Driver/debug-options.c
Log Message:
-----------
[DebugInfo] Add flag to only emit referenced member functions (#87018)
Complete C++ type information can be quite expensive - and there's
limited value in representing every member function, even those that
can't be called (we don't do similarly for every non-member function
anyway). So add a flag to opt out of this behavior for experimenting
with this more terse behavior.
I think Sony already does this by default, so perhaps with a change to
the defaults, Sony can migrate to this rather than a downstream patch.
This breaks current debuggers in some expected ways - but those
breakages are visible without this feature too. Consider member function
template instantiations - they can't be consistently enumerated in every
translation unit:
a.h:
```
struct t1 {
template <int i>
static int f1() {
return i;
}
};
namespace ns {
template <int i>
int f1() {
return i;
}
} // namespace ns
```
a.cpp:
```
void f1() {
t1::f1<0>();
ns::f1<0>();
}
```
b.cpp:
```
void f1();
int main() {
f1();
t1::f1<1>();
ns::f1<1>();
}
```
```
(gdb) p ns::f1<0>()
$1 = 0
(gdb) p ns::f1<1>()
$2 = 1
(gdb) p t1::f1<0>()
Couldn't find method t1::f1<0>
(gdb) p t1::f1<1>()
$3 = 1
(gdb) s
f1 () at a.cpp:3
3 t1::f1<0>();
(gdb) p t1::f1<0>()
$4 = 0
(gdb) p t1::f1<1>()
Couldn't find method t1::f1<1>
(gdb)
```
(other similar non-canonical features are implicit special members
(copy/move ctor/assignment operator, default ctor) and nested types (eg:
pimpl idiom, where the nested type is declared-but-not-defined in one
TU, and defined in another TU))
lldb can't parse the template expressions above, so I'm not sure how to
test it there, but I'd guess it has similar problems. (
https://stackoverflow.com/questions/64602475/how-to-print-value-returned-by-template-member-function-in-gdb-lldb-debugging
so... I guess that's just totally not supported in lldb, how
unfortunate. And implicit special members are instantiated implicitly by
lldb, so missing those doesn't tickle the same issue)
Some very rudimentary numbers for a clang debug build:
.debug_info section size:
-g: 476MiB
-g -fdebug-types-section: 357MiB
-g -gomit-unreferenced-members: 340MiB
Though it also means a major reduction in .debug_str size,
-fdebug-types-section doesn't reduce string usage (so the first two
examples have the same .debug_str size, 247MiB), down to 175MiB.
So for total clang binary size (I don't have a quick "debug section size
reduction" on-hand): 1.45 (no type units) GiB -> 1.34 -> 1.22, so it
saves about 120MiB of binary size.
Also open to any riffing on the flag name for sure.
@probinson - would this be an accurate upstreaming of your internal
handling/would you use this functionality? If it wouldn't be useful to
you, it's maybe not worth adding upstream yet - not sure we'll use it at
Google, but if it was useful to you folks and meant other folks could
test with it it seemed maybe useful.
Original Differential Revision: https://reviews.llvm.org/D152017
Commit: 1880a7bf18f8bf6497eddeda5cea49b507413f3a
https://github.com/llvm/llvm-project/commit/1880a7bf18f8bf6497eddeda5cea49b507413f3a
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/Analysis/LoopAccessAnalysis.h
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
Log Message:
-----------
[LAA] Move getDependenceDistanceStrideAndSize to MemoryDepChecker (NFC).
This avoids unnecessarily passing a number of parameters, and avoids
needing to add extra parameters in the future.
Commit: c6c08eee37bada190bd1aa4593c88a5e2c8cdaac
https://github.com/llvm/llvm-project/commit/c6c08eee37bada190bd1aa4593c88a5e2c8cdaac
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lldb/source/Host/common/Editline.cpp
Log Message:
-----------
[lldb] Remove setupterm workaround on macOS (#93714)
Remove setupterm workaround on macOS which caused an issues after the
removal of the terminfo dependency. There's a comment that explains why
the workaround is present, but neither Jim nor I were able to reproduce
the issue by setting TERM to vt100.
Commit: 058d4295939998923c78df80d0ea3b82ed899aa1
https://github.com/llvm/llvm-project/commit/058d4295939998923c78df80d0ea3b82ed899aa1
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/Analysis/LoopAccessAnalysis.h
Log Message:
-----------
[Analysis] Fix a build error regarding std::variant
This patch fixes:
llvm/include/llvm/Analysis/LoopAccessAnalysis.h:381:8: error: no
template named 'variant' in namespace 'std'
Commit: 34b14cc4f88b5e3d757f2ab20c19387178056567
https://github.com/llvm/llvm-project/commit/34b14cc4f88b5e3d757f2ab20c19387178056567
Author: Igor Kudrin <ikudrin at accesssoftek.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lld/ELF/LinkerScript.cpp
M lld/test/ELF/linkerscript/orphan-report.s
Log Message:
-----------
[lld][ELF] Suppress `--orphan-handling=error/warn` without `SECTIONS` (#93630)
Without a linker script, `--orphan-handling=error` or `=warn` reports
all input sections, including even well-known sections like `.text`,
`.bss`, `.dynamic`, or `.symtab`. However, in this case, no sections
should be considered orphans because they all are placed with the same
default rules. This patch suppresses errors/warnings for placing orphan
sections if no linker script with the `SECTIONS` command is provided.
The proposed behavior matches GNU gold. GNU ld in the same scenario only
reports sections that are not in its default linker script, thus, it
avoids complaining about `.text` and similar.
Commit: 3bdc90e3ff4c9a18caeb3e6ad40fa5d15bbf9d5e
https://github.com/llvm/llvm-project/commit/3bdc90e3ff4c9a18caeb3e6ad40fa5d15bbf9d5e
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lld/ELF/LinkerScript.cpp
M lld/ELF/Writer.cpp
M lld/ELF/Writer.h
Log Message:
-----------
[ELF] adjustOutputSections: update sortRank. NFC
... as flags have changed. This allows us to revisit the
`osd->osec.hasInputSections` condition in `getRankProximity` (originally
introduced as `Sec->Live` in https://reviews.llvm.org/D61197).
Commit: aeccfee348c717165541d8d895b9b0cdfe31415c
https://github.com/llvm/llvm-project/commit/aeccfee348c717165541d8d895b9b0cdfe31415c
Author: William Junda Huang <williamjhuang at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/CodeGen/CGDebugInfo.h
M clang/lib/CodeGen/CGExprScalar.cpp
A clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp
Log Message:
-----------
Add option to generate additional debug info for expression dereferencing pointer to pointers. (#81545)
Such expression does not correspond to a variable in the source code
thus does not have a debug location. When the user collects perf data on
the program, if the intermediate memory load instruction is sampled, it
could not be attributed to any variable/class member, which causes the
sampling results to be under-counted.
This patch adds an option `-fdebug_info_for_pointer_type` to generate a
psuedo variable and its debug info for intermediate expression with
pointer dereferencing, so that perf data collected on the instruction of
that expression can be attributed to the correct class member.
This is a prototype so comments are needed.
Commit: c3e6bd0b09965df218f86ebb6f1e59a570937c5d
https://github.com/llvm/llvm-project/commit/c3e6bd0b09965df218f86ebb6f1e59a570937c5d
Author: Florian Mayer <fmayer at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/stack-tagging-prologue.ll
Log Message:
-----------
[NFC] [MTE] remove unused functions from test
Commit: e4b424afc4fbfe31ea1876114b4e9232efbf2297
https://github.com/llvm/llvm-project/commit/e4b424afc4fbfe31ea1876114b4e9232efbf2297
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M .ci/generate-buildkite-pipeline-premerge
Log Message:
-----------
[CI] Disable Flang from pre-commit tests when Flang files are not touched on Windows Only (#93729)
Flang triggers some OOM on Windows CI right now. This is disruptive to
MLIR and LLVM changes that don't touch Flang, as such we disable
building Flang on Windows only for these PR that don't touch flang. The
testing on Linux is unchanged, and the post-merge Windows testing is
still fully covering here.
Commit: 66b9785670a7909d8301afdeac27991c9236f346
https://github.com/llvm/llvm-project/commit/66b9785670a7909d8301afdeac27991c9236f346
Author: Florian Mayer <fmayer at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/stack-tagging-prologue.ll
Log Message:
-----------
[NFC] [MTE] make test more robust by not hardcoding %1
Commit: 89129201fe4b825b2f6a0f3c9da8651603078d29
https://github.com/llvm/llvm-project/commit/89129201fe4b825b2f6a0f3c9da8651603078d29
Author: Shubham Sandeep Rastogi <srastogi22 at apple.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/IR/DebugInfoMetadata.h
M llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h
Log Message:
-----------
[NFC] Move DIExpressionCursor to DebugInfoMetadata.h (#69768)
This is an NFC patch to move DIExpressionCursor to DebugInfoMetada.h, so
that it can be used by classes in that header file.
Specifically, I want to use DIExpressionCursor in a subsequent patch:
https://github.com/llvm/llvm-project/pull/71718
Commit: a3f9066e99f3685b4f2271f54ba73210396c00b4
https://github.com/llvm/llvm-project/commit/a3f9066e99f3685b4f2271f54ba73210396c00b4
Author: Shubham Sandeep Rastogi <srastogi22 at apple.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/IR/DebugInfoMetadata.h
Log Message:
-----------
Add functions peekNextN(unsigned) and assignNewExpr(ArrayRef<uint64_t>) to DIExpressionCursor (#71717)
This commit adds two functions to the DIExpressionCursor class.
`peekNextN(unsigned)` works like peekNext, but lets you peek the next
Nth element
`assignNewExpr(ArrayRef<uint64_t>)` lets you assign a new expression to
the same DIExpressionCursor object
This is part of a stack of patches, it comes after
https://github.com/llvm/llvm-project/pull/69768
Commit: 11d7203c1d2f44085e105b8d4d726f2589f62f40
https://github.com/llvm/llvm-project/commit/11d7203c1d2f44085e105b8d4d726f2589f62f40
Author: Evgenii Kudriashov <evgenii.kudriashov at intel.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/X86/GISel/X86InstructionSelector.cpp
M llvm/lib/Target/X86/GISel/X86LegalizerInfo.cpp
M llvm/lib/Target/X86/GISel/X86LegalizerInfo.h
M llvm/lib/Target/X86/X86TargetMachine.cpp
A llvm/test/CodeGen/X86/isel-buildvector-avx.ll
A llvm/test/CodeGen/X86/isel-buildvector-sse.ll
A llvm/test/CodeGen/X86/isel-buildvector-sse2.ll
Log Message:
-----------
[X86][GlobalISel] Enable G_BUILD_VECTOR and G_CONSTANT_POOL (#92844)
* Add support for G_LOAD from G_CONSTANT_POOL on X86 and X64
* Add X86GlobalBaseRegPass to handle base register initialization for
X86.
* Fix vector type legalization for G_STORE and G_LOAD as well as enable
scalarization for them.
* Custom lower G_BUILD_VECTOR into G_LOAD from G_CONSTANT_POOL.
Commit: 6e7b45c55b4c3299c1160d49f7ad721c62e8e4eb
https://github.com/llvm/llvm-project/commit/6e7b45c55b4c3299c1160d49f7ad721c62e8e4eb
Author: Jun Wang <jwang86 at yahoo.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/MIMGInstructions.td
M llvm/test/MC/AMDGPU/gfx10_asm_mimg.s
M llvm/test/MC/AMDGPU/gfx11_asm_mimg.s
M llvm/test/MC/AMDGPU/mimg.s
M llvm/test/MC/Disassembler/AMDGPU/gfx8_mimg_features.txt
Log Message:
-----------
[AMDGPU][MC] Support tfe operand in image_atomic instructions (#92469)
Current, if an image_atomic instruction has the 'tfe' operand, the
llvm-mc assembler in general would reject it. The only exception is when
dmask is 0x1 and the instruction is not image_atomic_cmpswap (e.g.,
image_atomic_add v[5:6], v252, s[8:15] dmask:0x1 tfe). This patch fixes
this problem and allows tfe to be specified in image_atomic
instructions.
---------
Co-authored-by: Jun Wang <jun.wang7 at amd.com>
Commit: e06e680a97d28dc95d31952a0b200add75941496
https://github.com/llvm/llvm-project/commit/e06e680a97d28dc95d31952a0b200add75941496
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-trunc-sat-clip.ll
M llvm/test/CodeGen/RISCV/rvv/trunc-sat-clip-sdnode.ll
Log Message:
-----------
[RISCV] Replace duplicate trunc-sat-clip tests with more interesting tests. NFC (#93737)
For each pair of types, we had 3 identical tests using umin with the
unsigned max value.
This patch replaces two of them with smin+smax cases that can be
implemented with a signed vmax followed by a vnclipu.
Commit: b12f81b53ad6c3e1004f32eecbf4083d87731fbc
https://github.com/llvm/llvm-project/commit/b12f81b53ad6c3e1004f32eecbf4083d87731fbc
Author: Shubham Sandeep Rastogi <srastogi22 at apple.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/IR/DebugInfoMetadata.h
M llvm/lib/IR/CMakeLists.txt
A llvm/lib/IR/DIExpressionOptimizer.cpp
M llvm/lib/IR/DebugInfoMetadata.cpp
M llvm/unittests/IR/MetadataTest.cpp
Log Message:
-----------
Introduce DIExpression::foldConstantMath() (#71718)
DIExpressions can get very long and have a lot of redundant operations.
This function uses simple pattern matching to fold constant math that
can be evaluated at compile time.
The hope is that other people can contribute other patterns as well.
I also couldn't see a good way of combining this with
`DIExpression::constantFold` so it stands alone.
This is part of a stack of patches and comes after
https://github.com/llvm/llvm-project/pull/69768
https://github.com/llvm/llvm-project/pull/71717
Commit: fb607c9019dcfb3bec4c4ab84b67112b52fbe083
https://github.com/llvm/llvm-project/commit/fb607c9019dcfb3bec4c4ab84b67112b52fbe083
Author: Florian Mayer <fmayer at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
A llvm/test/CodeGen/AArch64/stack-tagging-dbg-assign-tag-offset.ll
A llvm/test/CodeGen/AArch64/stack-tagging-dbg-declare-tag-offset.ll
A llvm/test/CodeGen/AArch64/stack-tagging-dbg-value-tag-offset-nopad.ll
A llvm/test/CodeGen/AArch64/stack-tagging-dbg-value-tag-offset.ll
Log Message:
-----------
[MTE] add tests for stack tagging debug info (#93743)
These are equivalent to the tests in HWASan of the same name.
Commit: 69969c725b0987a12a27a8ac787f06be672a4d09
https://github.com/llvm/llvm-project/commit/69969c725b0987a12a27a8ac787f06be672a4d09
Author: Shubham Sandeep Rastogi <srastogi22 at apple.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/IR/DebugInfoMetadata.cpp
M llvm/test/Bitcode/upgrade-dbg-addr.ll
M llvm/test/DebugInfo/MIR/AArch64/dbgcall-site-expr-chain.mir
M llvm/unittests/IR/MetadataTest.cpp
Log Message:
-----------
Use DIExpression::foldConstantMath() at the result of an append() (#71719)
This patch uses `DIExpression::foldConstantMath()` at the end of a
`DIExpression::append()`. Which should help in reducing the size of
DIExpressions that grow because of salvaging debug info
This is part of a stack of patches and comes after:
https://github.com/llvm/llvm-project/pull/69768
https://github.com/llvm/llvm-project/pull/71717
https://github.com/llvm/llvm-project/pull/71718
Commit: f4681be06b465736cc993b114dd8e2625d37b779
https://github.com/llvm/llvm-project/commit/f4681be06b465736cc993b114dd8e2625d37b779
Author: Shubham Sandeep Rastogi <srastogi22 at apple.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Transforms/Utils/Local.cpp
M llvm/test/DebugInfo/salvage-icmp.ll
M llvm/test/DebugInfo/salvage-limit-expr-size.ll
M llvm/test/Transforms/InstCombine/cast-mul-select.ll
M llvm/test/Transforms/InstCombine/debuginfo-dce.ll
M llvm/test/Transforms/InstCombine/debuginfo-sink.ll
M llvm/unittests/Transforms/Utils/LocalTest.cpp
Log Message:
-----------
Use DIExpression::foldConstantMath at the result of a Salvaged expression (#71721)
This patch uses `DIExpression::foldConstantMath()` at the result of a
Salvaged expression, that is, it runs the folding optimizations after an
expression has been salvaged completely, to reduce how many times the
fold optimization function is called. Which should help in reducing the
size of DIExpressions that grow because of salvaging debug info
After checking the size of the dSYM with and without this change, I saw
a decrease of about 300KB, where the debug_loc section is about 1.6 GB
in size.
Where the debug loc section reduced in size by 212KB and it is 193MB in
size, the rest comes from the debug_info section
This is part of a stack of patches and comes after:
https://github.com/llvm/llvm-project/pull/69768
https://github.com/llvm/llvm-project/pull/71717
https://github.com/llvm/llvm-project/pull/71718
https://github.com/llvm/llvm-project/pull/71719
Commit: 424f82c204173889a93a74910e63dc53931c3ec9
https://github.com/llvm/llvm-project/commit/424f82c204173889a93a74910e63dc53931c3ec9
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RISCV] Refactor combineTruncToVnclipu to prepare for adding signed vnclip support. NFC
Reviewed as part of #93728.
Commit: ea1ecb50fa831583241fc531153bd2c072955d29
https://github.com/llvm/llvm-project/commit/ea1ecb50fa831583241fc531153bd2c072955d29
Author: David Blaikie <dblaikie at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp
Log Message:
-----------
Fix test - remove unnecessary/incorrect `-S`, in favor of `-emit-llvm`
Commit: 2e0cfe69d0d705e9c5d5f217625bf7e3a0e90871
https://github.com/llvm/llvm-project/commit/2e0cfe69d0d705e9c5d5f217625bf7e3a0e90871
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lld/ELF/Writer.cpp
Log Message:
-----------
[ELF] Simplify getSectionRank
Follow-up to a previous simplification
2473b1af085ad54e89666cedf684fdf10a84f058.
The xor difference between a SHT_NOTE and a read-only SHT_PROGBITS
(previously >=NOT_SPECIAL) should be smaller than RF_EXEC. Otherwise,
for the following section layout, `findOrphanPos` would place .text
before note.
```
// simplified from linkerscript/custom-section-type.s
non orphans:
progbits 0x8060c00 NOT_SPECIAL
note 0x8040003
orphan:
.text 0x8061000 NOT_SPECIAL
```
Commit: 8a8cd8a766081eebaf4dd51a1012d093713dfe59
https://github.com/llvm/llvm-project/commit/8a8cd8a766081eebaf4dd51a1012d093713dfe59
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
Log Message:
-----------
[RISCV] Move vnclip patterns into DAGCombiner. (#93728)
Similar to #93596, this moves the signed vnclip patterns into DAG
combine.
This will allows us to support more than 1 level of truncate in a
future patch.
Commit: c0873fa20eb5dcba303a003bdd5192d341f89eaa
https://github.com/llvm/llvm-project/commit/c0873fa20eb5dcba303a003bdd5192d341f89eaa
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-trunc-sat-clip.ll
M llvm/test/CodeGen/RISCV/rvv/trunc-sat-clip-sdnode.ll
Log Message:
-----------
[RISCV] Add trunc-sat-clip tests for i32->i8, i64->i8, and i64->i16. NFC
These can be implemented with multiple vnclips.
Commit: 3cee5672fd645cd58b8c4ee6187f10b509a34d77
https://github.com/llvm/llvm-project/commit/3cee5672fd645cd58b8c4ee6187f10b509a34d77
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/IR/BUILD.gn
Log Message:
-----------
[gn build] Port b12f81b53ad6
Commit: 246234ac70faa1e3281a2bb83dfc4dd206a7d59c
https://github.com/llvm/llvm-project/commit/246234ac70faa1e3281a2bb83dfc4dd206a7d59c
Author: Charlie Barto <chbarto at microsoft.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/lib/Driver/SanitizerArgs.cpp
M clang/lib/Driver/ToolChains/MSVC.cpp
M clang/test/Driver/cl-link.c
M compiler-rt/CMakeLists.txt
M compiler-rt/lib/asan/CMakeLists.txt
M compiler-rt/lib/asan/asan_flags.cpp
M compiler-rt/lib/asan/asan_globals_win.cpp
M compiler-rt/lib/asan/asan_malloc_win.cpp
A compiler-rt/lib/asan/asan_malloc_win_thunk.cpp
A compiler-rt/lib/asan/asan_win_common_runtime_thunk.cpp
A compiler-rt/lib/asan/asan_win_common_runtime_thunk.h
R compiler-rt/lib/asan/asan_win_dll_thunk.cpp
M compiler-rt/lib/asan/asan_win_dynamic_runtime_thunk.cpp
A compiler-rt/lib/asan/asan_win_static_runtime_thunk.cpp
M compiler-rt/lib/asan/tests/CMakeLists.txt
M compiler-rt/lib/profile/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/sanitizer_common_interface.inc
R compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_dll_thunk.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_dynamic_runtime_thunk.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_runtime_thunk.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_weak_interception.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_dll_thunk.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_dll_thunk.h
R compiler-rt/lib/sanitizer_common/sanitizer_win_dynamic_runtime_thunk.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_immortalize.h
A compiler-rt/lib/sanitizer_common/sanitizer_win_interception.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_interception.h
A compiler-rt/lib/sanitizer_common/sanitizer_win_thunk_interception.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_thunk_interception.h
R compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.h
M compiler-rt/lib/ubsan/CMakeLists.txt
R compiler-rt/lib/ubsan/ubsan_win_dll_thunk.cpp
R compiler-rt/lib/ubsan/ubsan_win_dynamic_runtime_thunk.cpp
A compiler-rt/lib/ubsan/ubsan_win_runtime_thunk.cpp
R compiler-rt/lib/ubsan/ubsan_win_weak_interception.cpp
M compiler-rt/test/asan/TestCases/Darwin/interface_symbols_darwin.cpp
M compiler-rt/test/asan/TestCases/Linux/interface_symbols_linux.cpp
M compiler-rt/test/asan/TestCases/Windows/double_free.cpp
M compiler-rt/test/asan/TestCases/Windows/free_hook_realloc.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/msvc/dll_and_lib.cpp
M compiler-rt/test/asan/TestCases/Windows/msvc/dll_large_function.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/symbols_path.cpp
M compiler-rt/test/asan/TestCases/Windows/unsymbolized.cpp
M compiler-rt/test/asan/TestCases/Windows/use_after_realloc.cpp
M compiler-rt/test/asan/TestCases/debug_double_free.cpp
M compiler-rt/test/asan/TestCases/debug_report.cpp
M compiler-rt/test/asan/TestCases/default_options.cpp
M compiler-rt/test/asan/TestCases/on_error_callback.cpp
M compiler-rt/test/asan/TestCases/report_error_summary.cpp
M compiler-rt/test/asan/lit.cfg.py
Log Message:
-----------
[asan][windows] Eliminate the static asan runtime on windows (#81677)
This is one of the major changes we (Microsoft) have made in the version
of asan we ship with Visual Studio.
@amyw-msft wrote a blog post outlining this work at
https://devblogs.microsoft.com/cppblog/msvc-address-sanitizer-one-dll-for-all-runtime-configurations/
> With Visual Studio 2022 version 17.7 Preview 3, we have refactored the
MSVC Address Sanitizer (ASan) to depend on one runtime DLL regardless of
the runtime configuration. This simplifies project onboarding and
supports more scenarios, particularly for projects statically linked
(/MT, /MTd) to the C Runtimes. However, static configurations have a new
dependency on the ASan runtime DLL.
> Summary of the changes:
> ASan now works with /MT or /MTd built DLLs when the host EXE was not
compiled with ASan. This includes Windows services, COM components, and
plugins.
Configuring your project with ASan is now simpler, since your project
doesn’t need to uniformly specify the same [runtime
configuration](https://learn.microsoft.com/en-us/cpp/build/reference/md-mt-ld-use-run-time-library?view=msvc-170)
(/MT, /MTd, /MD, /MDd).
ASan workflows and pipelines for /MT or /MTd built projects will need to
ensure the ASan DLL (clang_rt.asan_dynamic-<arch>.dll) is available on
PATH.
The names of the ASan .lib files needed by the linker have changed (the
linker normally takes care of this if not manually specifying lib names
via /INFERASANLIBS)
You cannot mix ASan-compiled binaries from previous versions of the MSVC
Address Sanitizer (this is always true, but especially true in this
case).
Here's the description of these changes from our internal PR
1. Build one DLL that includes everything debug mode needs (not included
here, already contributed upstream).
* Remove #if _DEBUG checks everywhere.
* In some places, this needed to be replaced with a runtime check. In
asan_win.cpp, IsDebugRuntimePresent was added where we are searching for
allocations prior to ASAN initialization.
* In asan_win_runtime_functions.cpp and interception_win.cpp, we need to
be aware of debug runtime DLLs even when not built with _DEBUG.
2. Redirect statically linked functions to the ASAN DLL for /MT
* New exports for each of the C allocation APIs so that the statically
linked portion of the runtime can call them (see asan_malloc_win.cpp,
search MALLOC_DLL_EXPORT). Since we want our stack trace information to
be accurate and without noise, this means we need to capture stack frame
info from the original call and tell it to our DLL export. For this, I
have reused the __asan_win_new_delete_data used for op new/delete
support from asan_win_new_delete_thunk_common.h and moved it into
asan_win_thunk_common.h renamed as __asan_win_stack_data.
* For the C allocation APIs, a new file is included in the
statically-linked /WHOLEARCHIVE lib - asan_malloc_win_thunk.cpp. These
functions simply provide definitions for malloc/free/etc to be used
instead of the UCRT's definitions for /MT and instead call the ASAN DLL
export. /INFERASANLIBS ensures libucrt.lib will not take precedence via
/WHOLEARCHIVE.
* For other APIs, the interception code was called, so a new export is
provided: __sanitizer_override_function.
__sanitizer_override_function_by_addr is also provided to support
__except_handler4 on x86 (due to the security cookie being per-module).
3. Support weak symbols for /MD
* We have customers (CoreCLR) that rely on this behavior and would force
/MT to get it.
* There was sanitizer_win_weak_interception.cpp before, which did some
stuff for setting up the .WEAK section, but this only worked on /MT. Now
stuff registered in the .WEAK section is passed to the ASAN DLL via new
export __sanitizer_register_weak_function (impl in
sanitizer_win_interception.cpp). Unlike linux, multiple weak symbol
registrations are possible here. Current behavior is to give priority on
module load order such that whoever loads last (so priority is given to
the EXE) will have their weak symbol registered.
* Unfortunately, the registration can only occur during the user module
startup, which is after ASAN DLL startup, so any weak symbols used by
ASAN during initialization will not be picked up. This is most notable
for __asan_default_options and friends (see asan_flags.cpp). A mechanism
was made to add a callback for when a certain weak symbol was
registered, so now we process __asan_default_options during module
startup instead of ASAN startup. This is a change in behavior, but
there's no real way around this due to how DLLs are.
4. Build reorganization
* I noticed that our current build configuration is very MSVC-specific
and so did a bit of reworking. Removed a lot of
create_multiple_windows_obj_lib use since it's no longer needed and it
changed how we needed to refer to each object_lib by adding runtime
configuration to the name, conflicting with how it works for non-MSVC.
* No more Win32 static build, use /MD everywhere.
* Building with /Zl to avoid defaultlib warnings.
In addition:
* I've reapplied "[sanitizer][asan][win] Intercept _strdup on Windows
instead of strdup" which broke the previous static asan runtime. That
runtime is gone now and this change is required for the strdup tests to
work.
* I've modified the MSVC clang driver to support linking the correct
asan libraries, including via defining _DLL (which triggers different
defaultlibs and should result in the asan dll thunk being linked, along
with the dll CRT (via defaultlib directives).
* I've made passing -static-libsan an error on windows, and made
-shared-libsan the default. I'm not sure I did this correctly, or in the
best way.
* Modified the test harnesses to add substitutions for the dynamic and
static thunks and to make the library substitutions point to the dynamic
asan runtime for all test configurations on windows. Both the static and
dynamic windows test configurations remain, because they correspond to
the static and dynamic CRT, not the static and dynamic asan runtime
library.
---------
Co-authored-by: Amy Wishnousky <amyw at microsoft.com>
Commit: ce2927a396c506cbf06ea39eff8f226fd8d46b94
https://github.com/llvm/llvm-project/commit/ce2927a396c506cbf06ea39eff8f226fd8d46b94
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/lib/AST/TemplateBase.cpp
M clang/lib/AST/TemplateName.cpp
M clang/test/SemaTemplate/deduction-guide.cpp
Log Message:
-----------
[clang] fix printing of canonical template template parameters take 2 (#93448)
Since they can also occur as the template name of
template specializations, handle them from TemplateName printing instead
of TemplateArgument.
Commit: 10436aede261db5260e0e11a4aa66565ba975848
https://github.com/llvm/llvm-project/commit/10436aede261db5260e0e11a4aa66565ba975848
Author: Charlie Barto <chbarto at microsoft.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/lib/Driver/SanitizerArgs.cpp
M clang/lib/Driver/ToolChains/MSVC.cpp
M clang/test/Driver/cl-link.c
M compiler-rt/CMakeLists.txt
M compiler-rt/lib/asan/CMakeLists.txt
M compiler-rt/lib/asan/asan_flags.cpp
M compiler-rt/lib/asan/asan_globals_win.cpp
M compiler-rt/lib/asan/asan_malloc_win.cpp
R compiler-rt/lib/asan/asan_malloc_win_thunk.cpp
R compiler-rt/lib/asan/asan_win_common_runtime_thunk.cpp
R compiler-rt/lib/asan/asan_win_common_runtime_thunk.h
A compiler-rt/lib/asan/asan_win_dll_thunk.cpp
M compiler-rt/lib/asan/asan_win_dynamic_runtime_thunk.cpp
R compiler-rt/lib/asan/asan_win_static_runtime_thunk.cpp
M compiler-rt/lib/asan/tests/CMakeLists.txt
M compiler-rt/lib/profile/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/sanitizer_common_interface.inc
A compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_dll_thunk.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_dynamic_runtime_thunk.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_runtime_thunk.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_weak_interception.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_dll_thunk.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_dll_thunk.h
A compiler-rt/lib/sanitizer_common/sanitizer_win_dynamic_runtime_thunk.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_immortalize.h
R compiler-rt/lib/sanitizer_common/sanitizer_win_interception.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_interception.h
R compiler-rt/lib/sanitizer_common/sanitizer_win_thunk_interception.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_thunk_interception.h
A compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.h
M compiler-rt/lib/ubsan/CMakeLists.txt
A compiler-rt/lib/ubsan/ubsan_win_dll_thunk.cpp
A compiler-rt/lib/ubsan/ubsan_win_dynamic_runtime_thunk.cpp
R compiler-rt/lib/ubsan/ubsan_win_runtime_thunk.cpp
A compiler-rt/lib/ubsan/ubsan_win_weak_interception.cpp
M compiler-rt/test/asan/TestCases/Darwin/interface_symbols_darwin.cpp
M compiler-rt/test/asan/TestCases/Linux/interface_symbols_linux.cpp
M compiler-rt/test/asan/TestCases/Windows/double_free.cpp
M compiler-rt/test/asan/TestCases/Windows/free_hook_realloc.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/msvc/dll_and_lib.cpp
M compiler-rt/test/asan/TestCases/Windows/msvc/dll_large_function.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/symbols_path.cpp
M compiler-rt/test/asan/TestCases/Windows/unsymbolized.cpp
M compiler-rt/test/asan/TestCases/Windows/use_after_realloc.cpp
M compiler-rt/test/asan/TestCases/debug_double_free.cpp
M compiler-rt/test/asan/TestCases/debug_report.cpp
M compiler-rt/test/asan/TestCases/default_options.cpp
M compiler-rt/test/asan/TestCases/on_error_callback.cpp
M compiler-rt/test/asan/TestCases/report_error_summary.cpp
M compiler-rt/test/asan/lit.cfg.py
Log Message:
-----------
Revert "[asan][windows] Eliminate the static asan runtime on windows (#81677)"
This reverts commit 246234ac70faa1e3281a2bb83dfc4dd206a7d59c.
Commit: f32ebabc27655a1bd26ccdede1610d8d1a05315f
https://github.com/llvm/llvm-project/commit/f32ebabc27655a1bd26ccdede1610d8d1a05315f
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
A llvm/test/CodeGen/NVPTX/combine-mad.ll
Log Message:
-----------
[NVPTX] Improve folding to mad with immediate 1 (#93628)
Extend NVPTX DAG combining logic to distribute a mul instruction across
an add of 1 into a mad where possible. In addition, add support for
transposing a mul through a select with an option of 1, if that would
allow further mul folding.
Commit: 2b1d1c51f6e321267cc86e9db7808298c59caf0e
https://github.com/llvm/llvm-project/commit/2b1d1c51f6e321267cc86e9db7808298c59caf0e
Author: Chen Zheng <czhengsz at cn.ibm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp
Log Message:
-----------
[NFC] Fix PPC buildbot failure https://lab.llvm.org/buildbot/#/builders/230/builds/29066
Failure was introduced in https://github.com/llvm/llvm-project/pull/81545
On 64-bit targets for i32 return type, there will be extension in the function
prototype.
Commit: 30c10fda2ba539e70bff4f05625ec6358c0f7502
https://github.com/llvm/llvm-project/commit/30c10fda2ba539e70bff4f05625ec6358c0f7502
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lld/ELF/Writer.cpp
Log Message:
-----------
Revert "[ELF] Simplify getSectionRank"
This reverts commit 2e0cfe69d0d705e9c5d5f217625bf7e3a0e90871.
Buildbots are broken.
Commit: 96d2dc7210db3ed3a4c9f6aa93c14d2ea90e67cc
https://github.com/llvm/llvm-project/commit/96d2dc7210db3ed3a4c9f6aa93c14d2ea90e67cc
Author: csstormq <swust_xiaoqiangxu at 163.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp
M llvm/test/Analysis/ScalarEvolution/scev-aa.ll
Log Message:
-----------
[SCEVAA] Enhance SCEVAAResult::alias() to handle two pointers with different pointer bases (#91453)
This patch enhances the SCEVAAResult::alias() interface to handle two
pointers with different pointer bases.
Before calling getMinusSCEV(), we firstly try to explicitly convert
these two pointers into ptrtoint expressions to do that.
Either both pointers are used with ptrtoint or neither, so we can't
end up with a ptr + int mix.
Commit: 8c33b3380b8044824f6adb48cc8d2076aecae566
https://github.com/llvm/llvm-project/commit/8c33b3380b8044824f6adb48cc8d2076aecae566
Author: Pavel Samolysov <samolisov at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/unittests/Transforms/CMakeLists.txt
A llvm/unittests/Transforms/Instrumentation/CMakeLists.txt
A llvm/unittests/Transforms/Instrumentation/PGOInstrumentationTest.cpp
Log Message:
-----------
[PGO] Add a unit test for the PGOInstrumentationGen pass (#93636)
The patch introduces the gmock-based unittest infrastructure for PGO
Instrumentation and adds some test cases to check whether the
instrumentation has taken place. The testing infrastructure for analysis
modules was borrowed from the LoopPassManagerTest unittest and
simplified a bit to handle module analysis passes only. Actually, we are
testing whether the result of a trivial analysis pass was invalidated by
the PGOInstrumentGen one: we exploit the fact the pass invalidates all
the analysis results after a module was instrumented.
NFC.
Commit: f639b57f7993cadb82ee9c36f04703ae4430ed85
https://github.com/llvm/llvm-project/commit/f639b57f7993cadb82ee9c36f04703ae4430ed85
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lld/ELF/Writer.cpp
Log Message:
-----------
[ELF] Simplify getSectionRank
Follow-up to a previous simplification
2473b1af085ad54e89666cedf684fdf10a84f058.
The xor difference between a SHT_NOTE and a read-only SHT_PROGBITS
(previously >=NOT_SPECIAL) should be smaller than RF_EXEC. Otherwise,
for the following section layout, `findOrphanPos` would place .text
before note.
```
// simplified from linkerscript/custom-section-type.s
non orphans:
progbits 0x8060c00 NOT_SPECIAL
note 0x8040003
orphan:
.text 0x8061000 NOT_SPECIAL
```
---
Identical to 2e0cfe69d0d705e9c5d5f217625bf7e3a0e90871.
The revert 30c10fda2ba539e70bff4f05625ec6358c0f7502 is wrong.
Commit: d38d0a0d1bd219555f130dd63e2599f5126e1bdd
https://github.com/llvm/llvm-project/commit/d38d0a0d1bd219555f130dd63e2599f5126e1bdd
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lld/ELF/Writer.cpp
Log Message:
-----------
Revert "[ELF] Simplify getSectionRank"
This reverts commit f639b57f7993cadb82ee9c36f04703ae4430ed85.
The premerge bot is still broken with failing bolt test.
Commit: 815250b219a04966e4ea5de3a09965bea4d4cc41
https://github.com/llvm/llvm-project/commit/815250b219a04966e4ea5de3a09965bea4d4cc41
Author: Mark Rowe <mrowe at bdash.net.nz>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M compiler-rt/cmake/Modules/AddCompilerRT.cmake
Log Message:
-----------
[compiler-rt] Don't rely on automatic codesigning with Apple's linker (#91681)
In https://github.com/llvm/llvm-project/pull/88323, I changed the logic
within `add_compiler_rt_runtime` to only explicitly code sign the
resulting library if an older version of Apple's ld64 was in use. This
was based on the assumption that newer versions of ld64 and the new
Apple linker always ad-hoc sign their output binaries. This is true in
most cases, but not when using Apple's new linker with the
`-darwin-target-variant` flag to build Mac binaries that are compatible
with Catalyst.
Rather than adding increasingly complicated logic to detect the exact
scenarios that require explicit code signing, I've opted to always
explicitly code sign when using any Apple linker. We instead detect and
use the 'linker-signed' codesigning option when possible to match the
signatures that the linker would otherwise create. This avoids having
non-'linker-signed' ad-hoc signatures which was the underlying problem
that https://github.com/llvm/llvm-project/pull/88323 was intended to
address.
Co-authored-by: Mark Rowe <markrowe at chromium.org>
Commit: 17940465364e0ad66fa364c5bef8abec4e34ac5b
https://github.com/llvm/llvm-project/commit/17940465364e0ad66fa364c5bef8abec4e34ac5b
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
Log Message:
-----------
[VPlan] Move verifier to class to reduce need to pass via args. (NFC)
Move VPlan verification functions to avoid the need to pass VPDT across
multiple calls. This also allows easier extensions in the future.
Commit: 3db1f3110e714ad24f7d72114b3a2c14f6c63651
https://github.com/llvm/llvm-project/commit/3db1f3110e714ad24f7d72114b3a2c14f6c63651
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Fix a regression in annotating class decl braces (#93657)
Fixes #93604.
Commit: 32f1f5ee39985bbd0c8f21bf264a45cd5d4335f6
https://github.com/llvm/llvm-project/commit/32f1f5ee39985bbd0c8f21bf264a45cd5d4335f6
Author: Pavel Samolysov <samolisov at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
A llvm/test/Transforms/PGOProfile/available_externally_functions.ll
A llvm/test/Transforms/PGOProfile/declarations_only.ll
A llvm/test/Transforms/PGOProfile/global_variables_only.ll
Log Message:
-----------
[PGO] Add tests for modules with only globals and function declarations (#93764)
When a module contains globals and/or function declarations only, the
'__llvm_profile_raw_version' variable should not be generated because
the module was not instrumented at all.
NFC
Commit: 02c6845c762dfd0a19d4a2f997990e160f392dae
https://github.com/llvm/llvm-project/commit/02c6845c762dfd0a19d4a2f997990e160f392dae
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/include/clang/Basic/DebugOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
R clang/test/CodeGenCXX/debug-info-incomplete-types.cpp
M clang/test/Driver/debug-options.c
Log Message:
-----------
Revert "[DebugInfo] Add flag to only emit referenced member functions" (#93767)
Reverts llvm/llvm-project#87018
MacOS and Windows bots are broken.
Commit: 8890209ead2246461985f49c4c9c01cc2371ac09
https://github.com/llvm/llvm-project/commit/8890209ead2246461985f49c4c9c01cc2371ac09
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Sema/SemaHLSL.h
M clang/lib/AST/DeclBase.cpp
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaAvailability.cpp
M clang/lib/Sema/SemaHLSL.cpp
M clang/test/SemaHLSL/Availability/attr-availability-compute.hlsl
M clang/test/SemaHLSL/Availability/attr-availability-mesh.hlsl
M clang/test/SemaHLSL/Availability/attr-availability-pixel.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-default-compute.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-default-lib.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-relaxed-compute.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-relaxed-lib.hlsl
A clang/test/SemaHLSL/Availability/avail-lib-multiple-stages.hlsl
M clang/test/SemaHLSL/WaveBuiltinAvailability.hlsl
Log Message:
-----------
[HLSL] Default and Relaxed Availability Diagnostics (#92704)
Implements HLSL availability diagnostics' default and relaxed mode.
HLSL availability diagnostics emits errors or warning when unavailable
shader APIs are used. Unavailable shader APIs are APIs that are exposed
in HLSL code but are not available in the target shader stage or shader
model version.
In the default mode the compiler emits an error when an unavailable API
is found in a code that is reachable from the shader entry point
function. In the future this check will also extended to exported
library functions (#92073). The relaxed diagnostic mode is the same
except the compiler emits a warning. This mode is enabled by
``-Wno-error=hlsl-availability``.
See HLSL Availability Diagnostics design doc
[here](https://github.com/llvm/llvm-project/blob/main/clang/docs/HLSL/AvailabilityDiagnostics.rst)
for more details.
Fixes #90095
Commit: 7d4a45d98275e669bda40410f064891beb3480ce
https://github.com/llvm/llvm-project/commit/7d4a45d98275e669bda40410f064891beb3480ce
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/CodeGen/CGDebugInfo.h
M clang/lib/CodeGen/CGExprScalar.cpp
R clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp
Log Message:
-----------
Revert "Add option to generate additional debug info for expression dereferencing pointer to pointers. (#81545)"
This reverts commit aeccfee348c717165541d8d895b9b0cdfe31415c, and dependents:
Revert "[NFC] Fix PPC buildbot failure https://lab.llvm.org/buildbot/#/builders/230/builds/29066"
This reverts commit 2b1d1c51f6e321267cc86e9db7808298c59caf0e.
Revert "Fix test - remove unnecessary/incorrect `-S`, in favor of `-emit-llvm`"
This reverts commit ea1ecb50fa831583241fc531153bd2c072955d29.
The test is failing on MacOs and Windows
Commit: 89801c74c3e25f5a1eaa3999863be398f6a82abb
https://github.com/llvm/llvm-project/commit/89801c74c3e25f5a1eaa3999863be398f6a82abb
Author: Bimo <rui.xu at intel.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M mlir/python/mlir/runtime/np_to_memref.py
M mlir/python/requirements.txt
M mlir/test/python/execution_engine.py
Log Message:
-----------
[MLIR][Python] add ctype python binding support for bf16 (#92489)
Since bf16 is supported by mlir, similar to
complex128/complex64/float16, we need an implementation of bf16 ctype in
Python binding. Furthermore, to resolve the absence of bf16 support in
NumPy, a third-party package [ml_dtypes
](https://github.com/jax-ml/ml_dtypes) is introduced to add bf16
extension, and the same approach was used in `torch-mlir` project.
See motivation and discussion in:
https://discourse.llvm.org/t/how-to-run-executionengine-with-bf16-dtype-in-mlir-python-bindings/79025
Commit: 49ef21d7674fa8267d674879e21b69d9ca4e6203
https://github.com/llvm/llvm-project/commit/49ef21d7674fa8267d674879e21b69d9ca4e6203
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M .ci/generate-buildkite-pipeline-premerge
Log Message:
-----------
Remove debug print from CI generation script (NFC)
Commit: e6821dd8c8cdd0279000f9a8eb57caf7977d68db
https://github.com/llvm/llvm-project/commit/e6821dd8c8cdd0279000f9a8eb57caf7977d68db
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M mlir/python/mlir/runtime/np_to_memref.py
M mlir/python/requirements.txt
M mlir/test/python/execution_engine.py
Log Message:
-----------
Revert "[MLIR][Python] add ctype python binding support for bf16" (#93771)
Reverts llvm/llvm-project#92489
This broke the bots.
Commit: 3e023d87d8e9a7bcf0a2feb2cee9b9ca47643a7e
https://github.com/llvm/llvm-project/commit/3e023d87d8e9a7bcf0a2feb2cee9b9ca47643a7e
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-30 (Thu, 30 May 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/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
Log Message:
-----------
[lldb] Remove DWARFDebugInfo DIERef footguns (#92894)
DWARFDebugInfo doesn't know how to resolve the "file_index" component of
a DIERef. This patch removes GetUnit (in favor of existing
GetUnitContainingDIEOffset) and changes GetDIE to take only the
components it actually uses.
Commit: 498da62088b22ef1d4e90d6021a80ae7bab6abae
https://github.com/llvm/llvm-project/commit/498da62088b22ef1d4e90d6021a80ae7bab6abae
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
A clang/test/Modules/cxx20-decls.cppm
Log Message:
-----------
[NFC] [clang] add tests for merging of UsingShadowDecl
Commit: 6a3982f8b7e37987659706cb3e6427c54c9bc7ce
https://github.com/llvm/llvm-project/commit/6a3982f8b7e37987659706cb3e6427c54c9bc7ce
Author: Christian Ulmann <christianulmann at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M mlir/lib/Dialect/LLVMIR/IR/LLVMInlining.cpp
M mlir/test/Dialect/LLVMIR/inlining-alias-scopes.mlir
Log Message:
-----------
[MLIR][LLVM] Relax the LLVM dialect's inliner assuming UCF (#93514)
This commit changes the LLVM dialect's inliner interface to stop
assuming that the inlined function only contained unstructured control
flow. This is not necessarily true, and it lead to not properly
propagating the noalias information.
Commit: 4bce270157f9a81bd7e38dc589a2970a445d1e96
https://github.com/llvm/llvm-project/commit/4bce270157f9a81bd7e38dc589a2970a445d1e96
Author: Guy David <49722543+guy-david at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
M mlir/test/Dialect/GPU/dynamic-shared-memory.mlir
M mlir/test/Dialect/LLVMIR/constant-folding.mlir
M mlir/test/Dialect/SparseTensor/conversion.mlir
M mlir/test/Dialect/SparseTensor/sparse_fill_zero.mlir
M mlir/test/Dialect/SparseTensor/specifier_to_llvm.mlir
M mlir/test/Examples/transform/ChH/full.mlir
Log Message:
-----------
[mlir][llvm] Implement ConstantLike for ZeroOp, UndefOp, PoisonOp (#93690)
These act as constants and should be propagated whenever possible. It is
safe to do so for mlir.undef and mlir.poison because they remain "dirty"
through out their lifetime and can be duplicated, merged, etc. per the
LangRef.
Signed-off-by: Guy David <guy.david at nextsilicon.com>
Commit: d10b76552f919ddb84347ab03908a55804ea6b8a
https://github.com/llvm/llvm-project/commit/d10b76552f919ddb84347ab03908a55804ea6b8a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/test/CodeGen/object-size.c
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp
M clang/test/CodeGenHLSL/cbuf.hlsl
M clang/test/Driver/linker-wrapper-image.c
M compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_allowlist_ignorelist.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/test/Assembler/ConstantExprFold.ll
M llvm/test/Assembler/getelementptr.ll
M llvm/test/Assembler/getelementptr_vec_ce.ll
M llvm/test/CodeGen/AMDGPU/opencl-printf.ll
M llvm/test/Linker/comdat-largest.ll
M llvm/test/Transforms/CodeGenPrepare/AArch64/gather-scatter-opt-inseltpoison.ll
M llvm/test/Transforms/CodeGenPrepare/AArch64/gather-scatter-opt.ll
M llvm/test/Transforms/CodeGenPrepare/X86/gather-scatter-opt-inseltpoison.ll
M llvm/test/Transforms/CodeGenPrepare/X86/gather-scatter-opt.ll
M llvm/test/Transforms/GlobalOpt/globalsra-opaque-ptr.ll
M llvm/test/Transforms/GlobalSplit/basic.ll
M llvm/test/Transforms/InferAddressSpaces/AMDGPU/infer-address-space.ll
M llvm/test/Transforms/InferAddressSpaces/AMDGPU/infer-getelementptr.ll
M llvm/test/Transforms/InferAddressSpaces/AMDGPU/old-pass-regressions-inseltpoison.ll
M llvm/test/Transforms/InferAddressSpaces/AMDGPU/old-pass-regressions.ll
M llvm/test/Transforms/InferAddressSpaces/NVPTX/bug31948.ll
M llvm/test/Transforms/InferAlignment/gep-array.ll
M llvm/test/Transforms/InstCombine/gep-vector.ll
M llvm/test/Transforms/InstSimplify/ConstProp/vectorgep-crash.ll
M llvm/test/Transforms/InstSimplify/vector_gep.ll
M llvm/test/Transforms/NewGVN/2007-07-26-InterlockingLoops.ll
M mlir/test/Target/LLVMIR/omptarget-constant-indexing-device-region.mlir
M mlir/test/Target/LLVMIR/omptarget-fortran-allocatable-types-host.mlir
Log Message:
-----------
[ConstantFold] Remove notional over-indexing fold (#93697)
The data-layout independent constant folding currently has some rather
gnarly code for canonicalizing GEP indices to reduce "notional
overindexing", and then infers inbounds based on that canonicalization.
Now that we canonicalize to i8 GEPs, this canonicalization is
essentially useless, as we'll discard it as soon as the GEP hits the
data-layout aware constant folder anyway. As such, I'd like to remove
this code entirely.
This shouldn't have any impact on optimization capabilities.
Commit: 1ac592c4e7b4ba7c680af9286ad79ed27ad628f1
https://github.com/llvm/llvm-project/commit/1ac592c4e7b4ba7c680af9286ad79ed27ad628f1
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/ASTContext.cpp
M clang/test/Modules/cxx20-decls.cppm
Log Message:
-----------
[clang] fix merging of UsingShadowDecl (#80245)
[clang] fix merging of UsingShadowDecl
Previously, when deciding if two UsingShadowDecls where mergeable,
we would incorrectly only look for both pointing to the exact redecla
ration, whereas the correct thing is to look for declarations to the
same entity.
This problem has existed as far back as 2013, introduced in commit
fd8634a09de71.
This problem could manifest itself as ODR check false positives when
importing modules.
Fixes: #80252
Commit: 73f4c2547dc3d1b6a453d3c4388648b122554dd1
https://github.com/llvm/llvm-project/commit/73f4c2547dc3d1b6a453d3c4388648b122554dd1
Author: Freddy Ye <freddy.ye at intel.com>
Date: 2024-05-30 (Thu, 30 May 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
A clang/test/Driver/x86-apx-inline-asm-use-gpr32.cpp
M clang/test/Preprocessor/x86_target_features.c
M llvm/docs/LangRef.rst
M llvm/lib/Target/X86/X86.td
M llvm/lib/Target/X86/X86ISelLowering.cpp
A llvm/test/CodeGen/X86/apx/asm-constraint-jR.ll
A llvm/test/CodeGen/X86/apx/asm-constraint-jr.ll
M llvm/test/CodeGen/X86/apx/asm-constraint.ll
Log Message:
-----------
[X86] Support EGPR for inline assembly. (#92338)
"jR": explicitly enables EGPR
"r", "l", "q": enables/disables EGPR w/wo -mapx-inline-asm-use-gpr32
"jr": explicitly enables GPR with -mapx-inline-asm-use-gpr32
-mapx-inline-asm-use-gpr32 will also define a new macro:
`__APX_INLINE_ASM_USE_GPR32__`
GCC patches:
https://gcc.gnu.org/pipermail/gcc-patches/2023-September/631183.html
https://gcc.gnu.org/pipermail/gcc-patches/2023-September/631186.html
[[PATCH v2] x86: Define _APX_INLINE_ASM_USE_GPR32_
(gnu.org)](https://gcc.gnu.org/pipermail/gcc-patches/2024-April/649003.html)
Reference: https://gcc.godbolt.org/z/nPPvbY6r4
Commit: 7f524f7ef2e9a7086d8e578c313cf1118c997922
https://github.com/llvm/llvm-project/commit/7f524f7ef2e9a7086d8e578c313cf1118c997922
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstrInfo.cpp
Log Message:
-----------
[X86][CodeGen] Simplify the code in foldMemoryOperandImpl, NFCI
In preparation for the coming NDD -> RMW fold.
Commit: c7acca1cb06f3850590363fb729a3c03a43170dd
https://github.com/llvm/llvm-project/commit/c7acca1cb06f3850590363fb729a3c03a43170dd
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/test/Shell/SymbolFile/Breakpad/symtab-sorted-by-size.test
Log Message:
-----------
[lldb] Fix collisions between two breakpad tests
symtab-sorted-by-size.test was using the same output file name as
symtab.test.
Commit: 6f2794afeb3c76293cc91cb9f8ae8c90a2ba8b3e
https://github.com/llvm/llvm-project/commit/6f2794afeb3c76293cc91cb9f8ae8c90a2ba8b3e
Author: Freddy Ye <freddy.ye at intel.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/Basic/Targets/X86.cpp
Log Message:
-----------
Fix build warning for '[X86] Support EGPR for inline assembly. (#92338)' (#93777)
Commit: e398383f9a05ec6f3766e5ab49dd862a72325ba6
https://github.com/llvm/llvm-project/commit/e398383f9a05ec6f3766e5ab49dd862a72325ba6
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M flang/include/flang/Optimizer/CodeGen/FIROpPatterns.h
M flang/include/flang/Optimizer/CodeGen/TypeConverter.h
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/CodeGen/FIROpPatterns.cpp
M flang/lib/Optimizer/CodeGen/TypeConverter.cpp
M flang/test/Fir/convert-to-llvm.fir
M flang/test/Fir/tbaa.fir
Log Message:
-----------
[flang][fir] add codegen for fir.load of assumed-rank fir.box (#93569)
- Update LLVM type conversion of assumed-rank fir.box/class to generate
the type of the maximum ranked descriptor. That way, alloca for assumed
rank descriptor copies are always big enough. This is needed in the
fir.load case that generates a new storage for the value
- Add a "computeBoxSize" helper to compute the dynamic size of a
descriptor.
- Use that size to generate an llvm.memcpy intrinsic to copy the input
descriptor into the new storage.
Looking at https://reviews.llvm.org/D108221?id=404635, it seems valid to
add the TBAA node on the memcpy, which I did.
In a further patch, I think we should likely always use a memcpy since
LLVM seems to have a better time optimizing it than fir.load/fir.store
patterns.
Commit: 74faa402ccf118ca9ee1434ce385c9a018014a6a
https://github.com/llvm/llvm-project/commit/74faa402ccf118ca9ee1434ce385c9a018014a6a
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M flang/lib/Lower/Allocatable.cpp
M flang/lib/Lower/ConvertVariable.cpp
M flang/test/Lower/HLFIR/convert-variable-assumed-rank.f90
Log Message:
-----------
[flang] lower allocatable assumed-rank specification parts (#93682)
Lower allocatable and pointers specification parts. Nothing special is
required to allocate the descriptor given they are required to be dummy
arguments, however, care must be taken with INTENT(OUT) to use the
runtime to deallocate them (inlined fir.embox + store is not possible).
Commit: 0eb4bf2faf4125d4d279463390a753c8c36a6937
https://github.com/llvm/llvm-project/commit/0eb4bf2faf4125d4d279463390a753c8c36a6937
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/test/CXX/drs/cwg1xx.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang] CWG150: add tests and change to unreleased (#93758)
Commit: 1034b4d38dd2df542204d55b3e14e985452e4fe4
https://github.com/llvm/llvm-project/commit/1034b4d38dd2df542204d55b3e14e985452e4fe4
Author: AtariDreams <gfunni234 at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
M llvm/test/Transforms/InstCombine/lshr.ll
Log Message:
-----------
[InstCombine] lshr (mul (X, 2^N + 1)), N -> X when X is half-width (#93677)
Alive2 Proof:
https://alive2.llvm.org/ce/z/Yd2CKF
Commit: 3cabbf60393cc8d55fe635e35e89e5973162de33
https://github.com/llvm/llvm-project/commit/3cabbf60393cc8d55fe635e35e89e5973162de33
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/include/clang/AST/TemplateName.h
M clang/include/clang/AST/TextNodeDumper.h
M clang/lib/AST/TextNodeDumper.cpp
M clang/test/AST/ast-dump-ctad-alias.cpp
M clang/test/AST/ast-dump-template-decls.cpp
M clang/test/AST/ast-dump-template-name.cpp
M clang/test/AST/ast-dump-using-template.cpp
M clang/test/Import/builtin-template/test.cpp
M clang/test/SemaTemplate/aggregate-deduction-candidate.cpp
M clang/test/SemaTemplate/deduction-guide.cpp
M clang/test/SemaTemplate/make_integer_seq.cpp
M clang/test/SemaTemplate/type_pack_element.cpp
Log Message:
-----------
[clang] text ast-dumper: dump TemplateName for TST and DTST (#93766)
Implement AST text dumping of the TemplateName for
TemplateSpecializationType and DeducedTemplateSpecializationType.
Commit: f38ebec7106fd541046d502be0f79a4dda1a89b0
https://github.com/llvm/llvm-project/commit/f38ebec7106fd541046d502be0f79a4dda1a89b0
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
A lldb/test/API/tools/lldb-dap/variables/children/Makefile
A lldb/test/API/tools/lldb-dap/variables/children/TestDAP_variables_children.py
A lldb/test/API/tools/lldb-dap/variables/children/formatter.py
A lldb/test/API/tools/lldb-dap/variables/children/main.cpp
M lldb/tools/lldb-dap/JSONUtils.cpp
Log Message:
-----------
[lldb-dap] Don't call GetNumChildren on non-indexed synthetic variables (#93534)
A synthetic child provider might need to do considerable amount of work
to compute the number of children. lldb-dap is currently calling that
for all synthethic variables, but it's only actually using the value for
values which it deems to be "indexed" (which is determined by looking at
the name of the first child). This patch reverses the logic so that
GetNumChildren is only called for variables with a suitable first child.
Commit: d554f2379b427505907ba52b8b9270c0b436224f
https://github.com/llvm/llvm-project/commit/d554f2379b427505907ba52b8b9270c0b436224f
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/source/Commands/CommandCompletions.cpp
M lldb/test/API/functionalities/completion/TestCompletion.py
Log Message:
-----------
[lldb] Fix module name tab completion (#93458)
Module names can be matched either by a full path or just their
basename. The completion machinery tried to do both, but had several
bugs:
- it always inserted the basename as a completion candidate, even if the
string being completed was a full path
- due to FileSpec canonicalization, it lost information about trailing
slashes (it treated "lib/<TAB>" as "lib<TAB>", even though it's clear
the former was trying to complete a directory name)
- due to both of the previous issues, the completion candidates could
end up being shorter than the string being completed, which caused
crashes (string out of range errors) when attempting to substitute the
results.
This patch rewrites to logic to remove these kinds of issues:
- basename and full path completion are handled separately
- full path completion is attempted always, basename only if the input
string does not contain a slash
- the code remembers both the canonical and original spelling or the
completed argument. The canonical arg is used for matching, while the
original spelling is used for completion. This way "/foo///.//b<TAB>"
can still match "/foo/bar", but it will complete to "/foo///.//bar".
Commit: 540a36ad7e31bfeb11e795047a42bb6e30bf9985
https://github.com/llvm/llvm-project/commit/540a36ad7e31bfeb11e795047a42bb6e30bf9985
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
M lldb/test/Shell/SymbolFile/DWARF/x86/Inputs/debug-types-basic.cpp
M lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-basic.test
Log Message:
-----------
[lldb/DWARF] Follow DW_AT_signature when computing type contexts (#93675)
This is necessary to correctly resolve the context within types, as the
name of the type is only present in the type unit.
Commit: 67897d77eda4c312cfe81b19a20abed43227ecb8
https://github.com/llvm/llvm-project/commit/67897d77eda4c312cfe81b19a20abed43227ecb8
Author: Oleksandr "Alex" Zinenko <git at ozinenko.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M mlir/lib/Bindings/Python/IRCore.cpp
M mlir/lib/Bindings/Python/IRModule.h
A mlir/test/python/live_operations.py
Log Message:
-----------
[mlir][py] invalidate nested operations when parent is deleted (#93339)
When an operation is erased in Python, its children may still be in the
"live" list inside Python bindings. After this, if some of the newly
allocated operations happen to reuse the same pointer address, this will
trigger an assertion in the bindings. This assertion would be incorrect
because the operations aren't actually live. Make sure we remove the
children operations from the "live" list when erasing the parent.
This also concentrates responsibility over the removal from the "live"
list and invalidation in a single place.
Note that this requires the IR to be sufficiently structurally valid so
a walk through it can succeed. If this invariant was broken by, e.g, C++
pass called from Python, there isn't much we can do.
Commit: 8bce40b1eb3eb00358bbc3b7a05ea987a183265f
https://github.com/llvm/llvm-project/commit/8bce40b1eb3eb00358bbc3b7a05ea987a183265f
Author: Him188 <tguan at nvidia.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/GIMatchTableExecutorImpl.h
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64RegisterBanks.td
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp
M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
A llvm/test/CodeGen/AArch64/GlobalISel/sve-load-store.ll
Log Message:
-----------
[AArch64][GISel] Support SVE with 128-bit min-size for G_LOAD and G_STORE (#92130)
This patch adds basic support for scalable vector types in load & store
instructions for AArch64 with GISel.
Only scalable vector types with a 128-bit base size are supported, e.g.
`<vscale x 4 x i32>`, `<vscale x 16 x i8>`.
This patch adapted some ideas from a similar abandoned patch
[https://github.com/llvm/llvm-project/pull/72976](https://github.com/llvm/llvm-project/pull/72976).
Commit: cd9a02e2c76ec2f37409c6f7becd61e605c117d8
https://github.com/llvm/llvm-project/commit/cd9a02e2c76ec2f37409c6f7becd61e605c117d8
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGCUDANV.cpp
M clang/lib/CodeGen/CGObjCGNU.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
Log Message:
-----------
[CodeGen] Remove useless zero-index constant GEPs (NFCI)
Remove zero-index constant expression GEPs, which are not needed
with opaque pointers and will get folded away.
Commit: bc946f52870a51b49a0c7c3c508cef1905a11bc0
https://github.com/llvm/llvm-project/commit/bc946f52870a51b49a0c7c3c508cef1905a11bc0
Author: Mubashar Ahmad <mubashar.ahmad at arm.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/Emulated/test-scalable-deinterleave.mlir
A mlir/test/Integration/Dialect/Vector/CPU/test-deinterleave.mlir
Log Message:
-----------
[mlir][vector] Add 1D vector.deinterleave lowering (#93042)
This patch implements the lowering of vector.deinterleave
for 1D vectors.
For fixed vector types, the operation is lowered to two
llvm shufflevector operations. One for even indexed
elements and the other for odd indexed elements. A poison
operation is used to satisfy the parameters of the
shufflevector parameters.
For scalable vectors, the llvm vector.deinterleave2
intrinsic is used for lowering. As such the results
found by extraction and used to form the result
struct for the intrinsic.
Commit: 32b91ec395529ef7ad8b5520fe692464f7512b41
https://github.com/llvm/llvm-project/commit/32b91ec395529ef7ad8b5520fe692464f7512b41
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/cmake/modules/HandleLLVMOptions.cmake
Log Message:
-----------
[cmake] Fix `-fno-lifetime-dse` not being passed to GCC
A follow-up to #92953. This should fix unexpected performance gains when Clang is built with GCC, and fix downstream LTO crashes reported in https://github.com/llvm/llvm-project/commit/4feae05c6abda364a9295aecfa600d7d4e7dfeb6#r142466703
Commit: fd8b2d2046508c027ccf0fffb50d665c8355997a
https://github.com/llvm/llvm-project/commit/fd8b2d2046508c027ccf0fffb50d665c8355997a
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/HLFIRTools.h
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/lib/Lower/ConvertExprToHLFIR.cpp
M flang/lib/Optimizer/Builder/HLFIRTools.cpp
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/test/Fir/convert-to-llvm.fir
Log Message:
-----------
[flang] lower RANK intrinsic (#93694)
First commit is reviewed in
https://github.com/llvm/llvm-project/pull/93682.
Lower RANK using fir.box_rank. This patches updates fir.box_rank to
accept box reference, this avoids the need of generating an assumed-rank
fir.load just for the sake of reading ALLOCATABLE/POINTER rank. The
fir.load would generate a "dynamic" memcpy that is hard to optimize
without further knowledge. A read effect is conditionally given to the
operation.
Commit: 7e9b949a8dfc885ec12b281e194d0530da7403eb
https://github.com/llvm/llvm-project/commit/7e9b949a8dfc885ec12b281e194d0530da7403eb
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-05-30 (Thu, 30 May 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/OMPMapInfoFinalization.cpp
Log Message:
-----------
[flang][OpenMP] Adapt OMPMapInfoFinalization to run on all top level ops (#93545)
This is generally just for consistency with the rest of the pipeline.
The assertion for the insertion point is because I am not sure if
omp::PrivateClauseOp is supported by FirOpBuilder::getAllocaBlock. I
didn't try to fix it because I don't see why we would generate IR like
that.
See RFC:
https://discourse.llvm.org/t/rfc-add-an-interface-for-top-level-container-operations
Commit: 3fee8b346928a24975ebbd6984b583c01ec82955
https://github.com/llvm/llvm-project/commit/3fee8b346928a24975ebbd6984b583c01ec82955
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-min-max.mir
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-select.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-saddo.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ssubo.mir
M llvm/test/CodeGen/ARM/GlobalISel/arm-legalize-exts.mir
M llvm/test/CodeGen/Mips/GlobalISel/legalizer/constants.mir
M llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/rem_and_div.ll
M llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/sitofp_and_uitofp.ll
M llvm/test/CodeGen/RISCV/GlobalISel/jumptable.ll
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-abs-rv32.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-abs-rv64.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-jump-table-brjt-rv64.mir
Log Message:
-----------
[GISel] LegalizationArtifactCombiner: Elide redundant G_SEXT_INREG (#93687)
This is similar to 373c343a, but for targets with zero-or-negative-one
booleans.
The difference in tests is mostly due to G_SEXT_INREG being illegal for
some targets, in which case it gets expanded into G_SHL/G_ASHR pair,
which is not currently optimized by the combiner.
Commit: b2bd024384b484647da9fd9863bf6f77b5731949
https://github.com/llvm/llvm-project/commit/b2bd024384b484647da9fd9863bf6f77b5731949
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/CodeGen/CGExprAgg.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
Log Message:
-----------
[CGExprAgg] Don't create zero index GEP
With opaque pointers, we no longer need a zero-index GEP to get
the first element.
Commit: 4310988991b46c9a35f60abc27a08ee10309a50c
https://github.com/llvm/llvm-project/commit/4310988991b46c9a35f60abc27a08ee10309a50c
Author: Stefan Gränitz <stefan.graenitz at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/test/Interpreter/incremental-mode.cpp
M clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp
M clang/unittests/Interpreter/InterpreterTest.cpp
Log Message:
-----------
[clang-repl] Even more tests create the Interpreter and must check host JIT support 2 (#84758)
Commit: 43100766f287185642a3ccbf1a629915f85575e2
https://github.com/llvm/llvm-project/commit/43100766f287185642a3ccbf1a629915f85575e2
Author: Ramkumar Ramachandra <r at artagnon.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/clamped-trip-count.ll
M llvm/test/Transforms/LoopVectorize/RISCV/low-trip-count.ll
M llvm/test/Transforms/LoopVectorize/RISCV/short-trip-count.ll
Log Message:
-----------
LV: generalize profitability criterion over TC (#93300)
Generalize LoopVectorizationPlanner::isMoreProfitable smoothly across
the fixed-vector and scalable-vector cases, taking the trip-count into
account, and fixing logical pitfalls that arise from a lack of
generality.
Commit: fecf5c74920705bf9d15ce0db4b04fdcfa05f104
https://github.com/llvm/llvm-project/commit/fecf5c74920705bf9d15ce0db4b04fdcfa05f104
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
A llvm/test/CodeGen/X86/apx/asm-constraint-1-jr.ll
A llvm/test/CodeGen/X86/apx/asm-constraint-2-jR.ll
R llvm/test/CodeGen/X86/apx/asm-constraint-jR.ll
R llvm/test/CodeGen/X86/apx/asm-constraint-jr.ll
Log Message:
-----------
[llvm][nfc] Rename tests (#93794)
Renames asm-constraint-jR.ll and asm-constraint-jR.ll - on
case-insensitive files systems those are treated as one file. Originally
introduced in #92338.
Commit: 1d57594d3dce3c7605a414dfecf8b06b3b62c40f
https://github.com/llvm/llvm-project/commit/1d57594d3dce3c7605a414dfecf8b06b3b62c40f
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmlsl.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_cntp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_create4_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_dot.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_fclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_get2_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ld1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ldnt1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pext.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pfalse.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_psel.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_psel_svcount.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ptrue.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_qcvtn.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_sclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set2_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set4_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_st1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_stnt1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_while_pn.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_while_x2.c
Log Message:
-----------
[Clang][AArch64] NFC: Remove -DTEST_SME from RUN lines
We can do this in favour of checking the feature macro that is set
when compiling for '+sme', like we do in other tests.
Commit: 8eb0945373173213e7454a475f6e227da12d6d3a
https://github.com/llvm/llvm-project/commit/8eb0945373173213e7454a475f6e227da12d6d3a
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/Sema/SemaChecking.cpp
Log Message:
-----------
[Clang][AArch64] NFC: Simplify checkArmStreamingBuiltin.
Changing this into if -> else if -> else if > else is NFC, because
the values of FnType are mutually exclusive.
Commit: 22c572eae0f3a73b9154718a3f46c08531e52e91
https://github.com/llvm/llvm-project/commit/22c572eae0f3a73b9154718a3f46c08531e52e91
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstrInfo.cpp
A llvm/test/CodeGen/X86/apx/memfold-nd2rmw.mir
M llvm/utils/TableGen/X86InstrMappingEmitter.cpp
Log Message:
-----------
[X86][CodeGen] Support memory folding for NDD -> RMW
Commit: 2705c605da2854a6b044fdf5978dea0472fd0ab1
https://github.com/llvm/llvm-project/commit/2705c605da2854a6b044fdf5978dea0472fd0ab1
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/utils/emacs/llvm-mode.el
M llvm/utils/vim/syntax/llvm.vim
M llvm/utils/vscode/llvm/syntaxes/ll.tmLanguage.yaml
Log Message:
-----------
[RemoveDIs] Update syntax highlighting to include debug records (#93660)
This patch updates the emacs, vim, and vscode syntax highlighters to
recognize debug records.
Commit: 01921bd4f155dbbddd49b818341190a8cb2f20c4
https://github.com/llvm/llvm-project/commit/01921bd4f155dbbddd49b818341190a8cb2f20c4
Author: Jerry Zhang Jian <11689182+jerryzj at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/TargetParser/RISCVISAInfo.cpp
Log Message:
-----------
[RISCV] Fix typo zamo -> zaamo (#93792)
Signed-off-by: Jerry Zhang Jian <jerry.zhangjian at sifive.com>
Commit: 4d65887aac98acd6ed749377f4ea296c5a003d7e
https://github.com/llvm/llvm-project/commit/4d65887aac98acd6ed749377f4ea296c5a003d7e
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/docs/convergence-both-diverged-nested.png
M llvm/docs/convergence-closed-path.png
M llvm/docs/convergence-divergent-inside.png
M llvm/docs/convergence-divergent-outside.png
M llvm/docs/convergence-natural-loop.png
M llvm/test/CodeGen/AArch64/large-offset-ldr-merge.mir
M llvm/test/DebugInfo/dpvalue-print-nocrash.ll
M llvm/unittests/DebugInfo/CodeView/GUIDFormatTest.cpp
M llvm/unittests/Target/AMDGPU/ExecMayBeModifiedBeforeAnyUse.cpp
Log Message:
-----------
[LLVM] Remove executable permission from some non-executable files (#93803)
Commit: 8b600a37325bd68c370b00838c9f0a0fda1af6ce
https://github.com/llvm/llvm-project/commit/8b600a37325bd68c370b00838c9f0a0fda1af6ce
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/bindings/headers.swig
R lldb/bindings/interface/SBAddressRangeDocstrings.i
R lldb/bindings/interface/SBAddressRangeExtensions.i
R lldb/bindings/interface/SBAddressRangeListDocstrings.i
R lldb/bindings/interface/SBAddressRangeListExtensions.i
M lldb/bindings/interfaces.swig
M lldb/include/lldb/API/LLDB.h
M lldb/include/lldb/API/SBAddress.h
R lldb/include/lldb/API/SBAddressRange.h
R lldb/include/lldb/API/SBAddressRangeList.h
M lldb/include/lldb/API/SBBlock.h
M lldb/include/lldb/API/SBDefines.h
M lldb/include/lldb/API/SBFunction.h
M lldb/include/lldb/API/SBStream.h
M lldb/include/lldb/API/SBTarget.h
M lldb/include/lldb/Core/AddressRange.h
R lldb/include/lldb/Core/AddressRangeListImpl.h
M lldb/include/lldb/Symbol/Block.h
M lldb/include/lldb/lldb-forward.h
M lldb/source/API/CMakeLists.txt
R lldb/source/API/SBAddressRange.cpp
R lldb/source/API/SBAddressRangeList.cpp
M lldb/source/API/SBBlock.cpp
M lldb/source/API/SBFunction.cpp
M lldb/source/Core/AddressRange.cpp
R lldb/source/Core/AddressRangeListImpl.cpp
M lldb/source/Core/CMakeLists.txt
M lldb/source/Symbol/Block.cpp
R lldb/test/API/python_api/address_range/Makefile
R lldb/test/API/python_api/address_range/TestAddressRange.py
R lldb/test/API/python_api/address_range/main.cpp
Log Message:
-----------
Revert "Add SBAddressRange and SBAddressRangeList to SB API (#92014)"
This reverts commit 42944e4600827738fae868f0df831fb2678be8b4.
Commit: b49c0b8abc460f8fec707a6ffccf2129fd6e1772
https://github.com/llvm/llvm-project/commit/b49c0b8abc460f8fec707a6ffccf2129fd6e1772
Author: Cullen Rhodes <cullen.rhodes at arm.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M mlir/lib/Conversion/VectorToArmSME/VectorToArmSME.cpp
Log Message:
-----------
[mlir][ArmSME] Simplify permutation map handling (#93515)
In -convert-vector-to-arm-sme the permutation_map is explicitly checked
for transpose when converting xfer ops, but for 2-D vector types the
only non-identity permutation map is transpose so this can be
simplified.
Commit: 662b1305292d69507a09164c911cfc782e0e4e73
https://github.com/llvm/llvm-project/commit/662b1305292d69507a09164c911cfc782e0e4e73
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M libc/src/__support/FPUtil/sqrt.h
R libc/src/__support/FPUtil/x86_64/PolyEval.h
M libc/src/__support/FPUtil/x86_64/sqrt.h
Log Message:
-----------
[libc][NFC] Tighten up guard conditions for sqrt and polyeval (#93791)
Found while investigating #93709
Commit: 08d168c56d303c4e6a2e85e56953c3cb98c6092c
https://github.com/llvm/llvm-project/commit/08d168c56d303c4e6a2e85e56953c3cb98c6092c
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUCombinerHelper.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
Log Message:
-----------
AMDGPU/GlobalISel: Use correct type for intrinsic ID
Commit: 0d0851b9604c4878951f5595b538a0763e9e5e73
https://github.com/llvm/llvm-project/commit/0d0851b9604c4878951f5595b538a0763e9e5e73
Author: Nico Weber <thakis at chromium.org>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
A llvm/utils/gn/secondary/llvm/unittests/Transforms/Instrumentation/BUILD.gn
Log Message:
-----------
[gn] port 8c33b3380b80 (InstrumentationTests)
Commit: 806ed2625e9569bdb55a13a2b1f9c3e71293fda6
https://github.com/llvm/llvm-project/commit/806ed2625e9569bdb55a13a2b1f9c3e71293fda6
Author: Kristof Beyls <kristof.beyls at arm.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/docs/Security.rst
Log Message:
-----------
[docs] Update security group nomination to use gh pr (#93679)
Commit: 191e64ffa9061e9c0d5387b38bd2d5a9ffebb0fb
https://github.com/llvm/llvm-project/commit/191e64ffa9061e9c0d5387b38bd2d5a9ffebb0fb
Author: Christian Sigg <csigg at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
Log Message:
-----------
[lldb][bazel] Fix BUILD after 540a36ad7e31bfeb11e795047a42bb6e30bf9985.
Commit: 05e6bb40ebfd285cc87f7ce326b7ba76c3c7f870
https://github.com/llvm/llvm-project/commit/05e6bb40ebfd285cc87f7ce326b7ba76c3c7f870
Author: Roger Ferrer Ibáñez <rofirrim at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/include/llvm/IR/RuntimeLibcalls.def
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/CodeGen/TargetLoweringBase.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.h
Log Message:
-----------
[SelectionDAG] Add an ISD::CLEAR_CACHE node to lower llvm.clear_cache (#93795)
The current way of lowering `llvm.clear_cache` is a bit unusual. As
suggested by Matt Arsenault we are better off using an ISD node.
This change introduces a new `ISD::CLEAR_CACHE`, registers a new libcall
by default named `__clear_cache` and the default legalisation is a
libcall.
This is preparatory work for a custom lowering of `ISD::CLEAR_CACHE`
needed by RISC-V on some platforms.
Commit: eb88e7c1d95452b1a7a51564b7feac030ac883ad
https://github.com/llvm/llvm-project/commit/eb88e7c1d95452b1a7a51564b7feac030ac883ad
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/test/Analysis/cfg-openmp.cpp
M clang/test/OpenMP/nvptx_target_cuda_mode_messages.cpp
R clang/test/OpenMP/target_reduction_codegen.cpp
R clang/test/OpenMP/target_reduction_messages.cpp
M clang/test/OpenMP/target_vla_messages.cpp
M llvm/include/llvm/Frontend/OpenMP/OMP.td
M llvm/unittests/Frontend/OpenMPDecompositionTest.cpp
Log Message:
-----------
[Frontend][OpenMP] Remove `reduction` from allowed clauses for `target` (#90754)
The "reduction" clause is not allowed on the "target" construct.
Commit: 7b77301c22f5d4f25c5e96834bf7d6117c608228
https://github.com/llvm/llvm-project/commit/7b77301c22f5d4f25c5e96834bf7d6117c608228
Author: Oleksandr T <oleksandr.tarasiuk at outlook.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/Sema/SemaOpenMP.cpp
Log Message:
-----------
[clang] fix(93002): clang/lib/Sema/SemaOpenMP.cpp:7405: Possible & / && mixup ? (#93093)
Fixes #93002
Commit: ed25d1a82e51595b6fdfc3d187352ed823f80491
https://github.com/llvm/llvm-project/commit/ed25d1a82e51595b6fdfc3d187352ed823f80491
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-global.s96.mir
Log Message:
-----------
[AMDGPU] Regenerate checks in inst-select-load-global.s96.mir
Commit: c28566cb892dc5ea778edee507278d7c4a90c876
https://github.com/llvm/llvm-project/commit/c28566cb892dc5ea778edee507278d7c4a90c876
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/source/API/BUILD.gn
M llvm/utils/gn/secondary/lldb/source/Core/BUILD.gn
Log Message:
-----------
[gn build] Port 8b600a37325b
Commit: 2b9c158efa33a225af38407adde6319fb26858e4
https://github.com/llvm/llvm-project/commit/2b9c158efa33a225af38407adde6319fb26858e4
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/getelementptr.ll
Log Message:
-----------
[InstCombine] Add test for miscompile in gep-of-gep fold (NFC)
Commit: 61790360381fa4526298d5121e8e0adf3456943a
https://github.com/llvm/llvm-project/commit/61790360381fa4526298d5121e8e0adf3456943a
Author: vdonaldson <37090318+vdonaldson at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/test/Lower/Intrinsics/ieee_flag.f90
Log Message:
-----------
[flang] Support calling ieee_support_flag with an array argument (#93772)
If present, the optional second argument of the ieee_exceptions
intrinsic module procedure ieee_support_flag may be either a scalar or
an array. Change the signature of the routine that implements this
function so that it is processed as a transformational function, not an
elemental function, which accounts for this argument variant.
Commit: 1bf1f93d94cb395e04329b17a4fcff65b4ff8122
https://github.com/llvm/llvm-project/commit/1bf1f93d94cb395e04329b17a4fcff65b4ff8122
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M offload/test/api/omp_device_memory.c
Log Message:
-----------
[Offload] Temporarily disable failing test after eb88e7c1
The `target reduction` combination is no longer accepted.
Disable the test to avoid build failures, until a better fix is ready.
Commit: 57da0407c44b187feed40b02cdfd24d71df755cc
https://github.com/llvm/llvm-project/commit/57da0407c44b187feed40b02cdfd24d71df755cc
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/readability/container-size-empty.cpp
Log Message:
-----------
[clang-tidy] Check number of arguments to size/length in readability-container-size-empty (#93724)
Verify that size/length methods are called with no arguments.
Closes #88203
Commit: b5db2e196928bfbaf5b4e3af50dc60caae498f30
https://github.com/llvm/llvm-project/commit/b5db2e196928bfbaf5b4e3af50dc60caae498f30
Author: David Green <david.green at arm.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/CodeGen/MachineCopyPropagation.cpp
Log Message:
-----------
[MCP] Remove unused TII argument. NFC
Last used in e35fbf5c04f4719db8ff7c7a993cbf96bb706903.
Commit: 1f46729a18ef13c3ba4184ead1da4ab3037cb7ae
https://github.com/llvm/llvm-project/commit/1f46729a18ef13c3ba4184ead1da4ab3037cb7ae
Author: Jeremy Kun <jkun at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/Polynomial/IR/Polynomial.td
M mlir/include/mlir/Dialect/Polynomial/IR/PolynomialAttributes.td
M mlir/lib/Dialect/Polynomial/IR/PolynomialCanonicalization.td
M mlir/lib/Dialect/Polynomial/IR/PolynomialOps.cpp
M mlir/test/Dialect/Polynomial/canonicalization.mlir
M mlir/test/Dialect/Polynomial/ops.mlir
M mlir/test/Dialect/Polynomial/ops_errors.mlir
Log Message:
-----------
[polynomial] Move primitive root attribute to ntt/intt ops. (#93227)
Better design to put semantics on the ops, and in this case the ntt/intt
op can lower in multiple ways depending on the polynomial ring modulus
(it can need an nth root of unity for cyclic polymul -> ntt, or a 2nth
root for negacyclic polymul -> ntt)
---------
Co-authored-by: Jeremy Kun <j2kun at users.noreply.github.com>
Commit: a871470a0d0c828718409c7a6dfb067a3231d013
https://github.com/llvm/llvm-project/commit/a871470a0d0c828718409c7a6dfb067a3231d013
Author: Stefan Gränitz <stefan.graenitz at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/unittests/Interpreter/CodeCompletionTest.cpp
M clang/unittests/Interpreter/IncrementalProcessingTest.cpp
M clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
M clang/unittests/Interpreter/InterpreterTest.cpp
A clang/unittests/Interpreter/InterpreterTestFixture.h
Log Message:
-----------
[clang-repl] Introduce common fixture class in unittests (NFC) (#93816)
Reduce code bloat by checking test requirements in a common test fixture
Commit: adc4e45f2ecce13cf4ed9b4ab119492342b86faf
https://github.com/llvm/llvm-project/commit/adc4e45f2ecce13cf4ed9b4ab119492342b86faf
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M offload/test/api/omp_device_memory.c
Log Message:
-----------
[Offload] Update test to use `target parallel for reduction`
Re-enable test disabled in 1bf1f93d with a fix.
Commit: 1159e7645b7f345e662759d763b3e6fcde62d005
https://github.com/llvm/llvm-project/commit/1159e7645b7f345e662759d763b3e6fcde62d005
Author: Ryan Holt <ryanholt at mathworks.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
M mlir/test/Dialect/Linalg/canonicalize.mlir
Log Message:
-----------
[mlir][linalg] Add folder for transpose(transpose) -> transpose (#93606)
Back to back `linalg.transpose` can be rewritten to a single transpose
Commit: f55622f0ffa4e388cb4da47b655d2a4721f8a405
https://github.com/llvm/llvm-project/commit/f55622f0ffa4e388cb4da47b655d2a4721f8a405
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M flang/lib/Lower/ConvertCall.cpp
M flang/test/Lower/Intrinsics/associated.f90
Log Message:
-----------
[flang] Lower non optional inquired argument in custom intrinsic lowering (#93592)
Handle lowering of non optional inquired argument in custom lowering.
Also fix an issue in the lowering of associated optional argument where
a box was emboxed again which led to weird result.
Commit: e8de977716e45f815edf98b0c7f53b87a1558e73
https://github.com/llvm/llvm-project/commit/e8de977716e45f815edf98b0c7f53b87a1558e73
Author: Christudasan Devadasan <christudasan.devadasan at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/GlobalISel/lds-zero-initializer.ll
M llvm/test/CodeGen/AMDGPU/lds-zero-initializer.ll
Log Message:
-----------
[AMDGPU] Fixed subtarget name in the lit test check-prefix string (NFC). (#93780)
Commit: 647d2728c4dbc387521ce3984ebfda78ff2b031f
https://github.com/llvm/llvm-project/commit/647d2728c4dbc387521ce3984ebfda78ff2b031f
Author: Stefan Gränitz <stefan.graenitz at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/unittests/Interpreter/CodeCompletionTest.cpp
M clang/unittests/Interpreter/IncrementalProcessingTest.cpp
M clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
M clang/unittests/Interpreter/InterpreterTest.cpp
M clang/unittests/Interpreter/InterpreterTestFixture.h
Log Message:
-----------
[clang-repl] Fix SetUp in CodeCompletionTest fixture (#93816)
And sort out some unused headers
Commit: 1ee02f9b6053617b741de542ee127c17c5a548be
https://github.com/llvm/llvm-project/commit/1ee02f9b6053617b741de542ee127c17c5a548be
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaOverload.cpp
M clang/test/SemaTemplate/concepts.cpp
Log Message:
-----------
[Clang] Fix overloading for constrained variadic functions (#93817)
Found by #93667
Commit: a2bcb932f3130c3c18ceb06872da9002f6845c4b
https://github.com/llvm/llvm-project/commit/a2bcb932f3130c3c18ceb06872da9002f6845c4b
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/test/API/functionalities/completion/TestCompletion.py
Log Message:
-----------
[lldb] Attempt to fix TestCompletion on macos
Macos will automatically load dependent modules when creating a target,
resulting in more modules than the test expects.
Commit: 6147a7b5f9479a4163c07064a9c78c2d5fe40d27
https://github.com/llvm/llvm-project/commit/6147a7b5f9479a4163c07064a9c78c2d5fe40d27
Author: Min-Yih Hsu <min.hsu at sifive.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVSchedSiFiveP400.td
M llvm/lib/Target/RISCV/RISCVSchedSiFiveP600.td
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/load.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP600/load.s
Log Message:
-----------
[RISCV] Adjust FP load latencies from 6 to 5 in SiFiveP400/P600 scheduling models (#93735)
According to our performance measurements, FLH/W/D have load latencies
closer to 5 rather than 6 in these two models.
Commit: facb767e5b78a024d70585b24254c769473b6b54
https://github.com/llvm/llvm-project/commit/facb767e5b78a024d70585b24254c769473b6b54
Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/test/API/tools/lldb-server/libraries-svr4/TestGdbRemoteLibrariesSvr4Support.py
Log Message:
-----------
[lldb] Fixed the TestGdbRemoteLibrariesSvr4Support test running on a remote target (#93825)
The TestGdbRemoteLibrariesSvr4Support test failed in case of Linux
x86_64 host and Linux Aarch64 target. Installing libraries to the remote
target is not enough. This test actively uses self.getBuildDir() and
os.path.realpath() which does not work in case of the remote target. So,
disable this test for remote target now.
Commit: 59e2a6b08f3e40afea87da3838ba69e1e15b6672
https://github.com/llvm/llvm-project/commit/59e2a6b08f3e40afea87da3838ba69e1e15b6672
Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/test/API/python_api/debugger/TestDebuggerAPI.py
Log Message:
-----------
[lldb] Fixed the TestDebuggerAPI test running on a remote target (#93829)
Recently we have disabled this test for Windows host and Linux target.
Now we faced the same issue #92419 in case of Linux x86_64 host and
Linux Aarch64 target.
Commit: b62ba7f5b1caf99a3cbbe06d0e1c788c2dc85416
https://github.com/llvm/llvm-project/commit/b62ba7f5b1caf99a3cbbe06d0e1c788c2dc85416
Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/test/API/tools/lldb-server/TestGdbRemotePlatformFile.py
Log Message:
-----------
[lldb] Fixed the TestGdbRemotePlatformFile test running on a remote target (#93832)
Skip checking of few stat fields like st_dev (ID of device containing
file) in case of a remote target.
Commit: ed35a92c404650b15a79ff38bcaff41de176cb78
https://github.com/llvm/llvm-project/commit/ed35a92c404650b15a79ff38bcaff41de176cb78
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M .github/new-prs-labeler.yml
A clang/include/clang/Sema/Attr.h
M clang/include/clang/Sema/Sema.h
A clang/include/clang/Sema/SemaAMDGPU.h
A clang/include/clang/Sema/SemaARM.h
A clang/include/clang/Sema/SemaBPF.h
A clang/include/clang/Sema/SemaHexagon.h
A clang/include/clang/Sema/SemaLoongArch.h
A clang/include/clang/Sema/SemaMIPS.h
A clang/include/clang/Sema/SemaNVPTX.h
A clang/include/clang/Sema/SemaPPC.h
A clang/include/clang/Sema/SemaSystemZ.h
A clang/include/clang/Sema/SemaWasm.h
M clang/lib/Parse/ParseOpenMP.cpp
M clang/lib/Sema/CMakeLists.txt
M clang/lib/Sema/Sema.cpp
A clang/lib/Sema/SemaAMDGPU.cpp
A clang/lib/Sema/SemaARM.cpp
A clang/lib/Sema/SemaBPF.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaExprCXX.cpp
A clang/lib/Sema/SemaHexagon.cpp
A clang/lib/Sema/SemaLoongArch.cpp
A clang/lib/Sema/SemaMIPS.cpp
A clang/lib/Sema/SemaNVPTX.cpp
A clang/lib/Sema/SemaPPC.cpp
A clang/lib/Sema/SemaSystemZ.cpp
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
A clang/lib/Sema/SemaWasm.cpp
M clang/utils/TableGen/MveEmitter.cpp
Log Message:
-----------
[clang] Introduce target-specific `Sema` components (#93179)
This patch introduces `SemaAMDGPU`, `SemaARM`, `SemaBPF`, `SemaHexagon`,
`SemaLoongArch`, `SemaMIPS`, `SemaNVPTX`, `SemaPPC`, `SemaSystemZ`,
`SemaWasm`. This continues previous efforts to split Sema up. Additional
context can be found in #84184 and #92682.
I decided to bundle target-specific components together because of their
low impact on `Sema`. That said, their impact on `SemaChecking.cpp` is
far from low, and I consider it a success.
Somewhat accidentally, I also moved Wasm- and AMDGPU-specific function
from `SemaDeclAttr.cpp`, because they were exposed in `Sema`. That went
well, and I consider it a success, too. I'd like to move the rest of
static target-specific functions out of `SemaDeclAttr.cpp` like we're
doing with built-ins in `SemaChecking.cpp` .
Commit: 8aa80199751b0cd6631d057b0bfb21584acb206f
https://github.com/llvm/llvm-project/commit/8aa80199751b0cd6631d057b0bfb21584acb206f
Author: Brendan Dahl <brendan.dahl at gmail.com>
Date: 2024-05-30 (Thu, 30 May 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 all f16x8 relation instructions. (#93751)
All of these instructions can be generated using regular LL
instructions.
Specified at:
https://github.com/WebAssembly/half-precision/blob/29a9b9462c9285d4ccc1a5dc39214ddfd1892658/proposals/half-precision/Overview.md
Commit: 32546bd2ff822df2419589a03747c6d83415a59e
https://github.com/llvm/llvm-project/commit/32546bd2ff822df2419589a03747c6d83415a59e
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
Log Message:
-----------
[gn build] Port ed35a92c4046
Commit: a8e03aed6ab2675b8d19f93657edc48c82e93625
https://github.com/llvm/llvm-project/commit/a8e03aed6ab2675b8d19f93657edc48c82e93625
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/docs/RemoveDIsDebugInfo.md
Log Message:
-----------
[DebugInfo][RemoveDIs] Add documentation for updating code to handle debug records (#93562)
Although the patch that enables debug records by default has been
temporarily reverted, it will (eventually) be reverted and everyone's
code will be subjected to the new debug info format. Although this is
broadly a good thing, it is important that the documentation has enough
information to guide users through the update; this patch adds what
should hopefully be enough detail for most users to either find the
answers, or find out how to find those answers.
Commit: cc2fafa1788908f69366821a04407083f770483e
https://github.com/llvm/llvm-project/commit/cc2fafa1788908f69366821a04407083f770483e
Author: Poseydon42 <vvmposeydon at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Analysis/ConstantFolding.cpp
A llvm/test/Transforms/InstSimplify/uscmp.ll
Log Message:
-----------
[InstSimplify] Add constant folding support for `ucmp`/`scmp` intrinsics (#93730)
This PR adds support for folding calls to `ucmp`/`scmp` intrinsics with
constant arguments.
Commit: f6c8e7dc3e1cbcecc2f01d898b895b96bb5723be
https://github.com/llvm/llvm-project/commit/f6c8e7dc3e1cbcecc2f01d898b895b96bb5723be
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
M mlir/lib/Dialect/LLVMIR/IR/ROCDLDialect.cpp
M mlir/test/Dialect/LLVMIR/rocdl.mlir
M mlir/test/Target/LLVMIR/rocdl.mlir
Log Message:
-----------
[MLIR][AMDGPU] Remove support for old llvm.amdgcn.buffer.* intrinsics (#93838)
They have been superseded by llvm.amdgcn.raw.buffer.* and
llvm.amdgcn.struct.buffer.*.
Commit: 3d9d48523977af3590f7dd0edfd258454cb9e9cf
https://github.com/llvm/llvm-project/commit/3d9d48523977af3590f7dd0edfd258454cb9e9cf
Author: Zequan Wu <zequanwu at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.cpp
Log Message:
-----------
[lldb][DWARF] Fix adding children to clang type that hasn't started definition. (#93839)
This fixes
https://github.com/llvm/llvm-project/pull/92328#issuecomment-2139339444
by not differentiating `DW_TAG_class_type` and `DW_TAG_structure_type`
in `UniqueDWARFASTTypeList`, because it's possible that DIE for a type
is `DW_TAG_class_type` in one CU but is `DW_TAG_structure_type` in a
different CU.
---------
Co-authored-by: Michael Buch <michaelbuch12 at gmail.com>
Commit: 435114f9fe2139bec770e5a95799f4eab20639e7
https://github.com/llvm/llvm-project/commit/435114f9fe2139bec770e5a95799f4eab20639e7
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
A mlir/test/Integration/Dialect/Vector/CPU/0-d-vectors.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/mulf-full.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/mulf.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/muli-ext.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/muli-full.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/muli.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-mulf-full.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-mulf.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli-ext.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli-full.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-tilezero-block.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-tilezero.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/tilezero-block.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/tilezero.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/load-vertical.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/multi-tile-transpose.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-f16f16f32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-f32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-f64.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-i8i8i32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/ssve.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-load-vertical.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-multi-tile-transpose.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-f16f16f32.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-f32.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-f64.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-i8i8i32.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-ssve.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-transfer-read-2d.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-transfer-write-2d.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-transpose.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/tile-fill.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/tile_fill.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/transfer-read-2d.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/transfer-write-2d.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/transpose.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/contraction.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/scalable-interleave.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/sve.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-contraction.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-scalable-interleave.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-sve.mlir
A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/dot.mlir
A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/inline-asm-vector-avx512.mlir
A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/mask-compress.mlir
A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/rsqrt.mlir
A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/sparse-dot-product.mlir
R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-dot.mlir
R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-inline-asm-vector-avx512.mlir
R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-mask-compress.mlir
R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-rsqrt.mlir
R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-sparse-dot-product.mlir
R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-vp2intersect-i32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/vp2intersect-i32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/broadcast.mlir
A mlir/test/Integration/Dialect/Vector/CPU/compress.mlir
A mlir/test/Integration/Dialect/Vector/CPU/constant-mask.mlir
A mlir/test/Integration/Dialect/Vector/CPU/contraction.mlir
A mlir/test/Integration/Dialect/Vector/CPU/create-mask-v4i1.mlir
A mlir/test/Integration/Dialect/Vector/CPU/create-mask.mlir
A mlir/test/Integration/Dialect/Vector/CPU/expand.mlir
A mlir/test/Integration/Dialect/Vector/CPU/extract-strided-slice.mlir
A mlir/test/Integration/Dialect/Vector/CPU/flat-transpose-col.mlir
A mlir/test/Integration/Dialect/Vector/CPU/flat-transpose-row.mlir
A mlir/test/Integration/Dialect/Vector/CPU/fma.mlir
A mlir/test/Integration/Dialect/Vector/CPU/gather.mlir
A mlir/test/Integration/Dialect/Vector/CPU/index-vectors.mlir
A mlir/test/Integration/Dialect/Vector/CPU/insert-strided-slice.mlir
A mlir/test/Integration/Dialect/Vector/CPU/interleave.mlir
A mlir/test/Integration/Dialect/Vector/CPU/maskedload.mlir
A mlir/test/Integration/Dialect/Vector/CPU/maskedstore.mlir
A mlir/test/Integration/Dialect/Vector/CPU/matrix-multiply-col.mlir
A mlir/test/Integration/Dialect/Vector/CPU/matrix-multiply-row.mlir
A mlir/test/Integration/Dialect/Vector/CPU/outerproduct-f32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/outerproduct-i64.mlir
A mlir/test/Integration/Dialect/Vector/CPU/print-fp.mlir
A mlir/test/Integration/Dialect/Vector/CPU/print-int.mlir
A mlir/test/Integration/Dialect/Vector/CPU/print-str.mlir
A mlir/test/Integration/Dialect/Vector/CPU/realloc.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-f32-reassoc.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-f32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-f64-reassoc.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-f64.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-i32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-i4.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-i64.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-si4.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-ui4.mlir
A mlir/test/Integration/Dialect/Vector/CPU/rewrite-narrow-types.mlir
A mlir/test/Integration/Dialect/Vector/CPU/scan.mlir
A mlir/test/Integration/Dialect/Vector/CPU/scatter.mlir
A mlir/test/Integration/Dialect/Vector/CPU/shape-cast.mlir
A mlir/test/Integration/Dialect/Vector/CPU/shuffle.mlir
A mlir/test/Integration/Dialect/Vector/CPU/shuffle16x16.mlir
A mlir/test/Integration/Dialect/Vector/CPU/sparse-dot-matvec.mlir
A mlir/test/Integration/Dialect/Vector/CPU/sparse-saxpy-jagged-matvec.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-0-d-vectors.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-broadcast.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-compress.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-constant-mask.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-contraction.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-create-mask-v4i1.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-create-mask.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-expand.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-extract-strided-slice.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-flat-transpose-col.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-flat-transpose-row.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-fma.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-gather.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-index-vectors.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-insert-strided-slice.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-interleave.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-maskedload.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-maskedstore.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-matrix-multiply-col.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-matrix-multiply-row.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-outerproduct-f32.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-outerproduct-i64.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-print-fp.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-print-int.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-print-str.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-realloc.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-f32-reassoc.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-f32.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-f64-reassoc.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-f64.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-i32.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-i4.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-i64.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-si4.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-ui4.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-rewrite-narrow-types.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-scan.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-scatter.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-shape-cast.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-shuffle.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-shuffle16x16.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-sparse-dot-matvec.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-sparse-saxpy-jagged-matvec.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-1d.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-2d.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-3d.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-to-loops.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-write.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transpose.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transfer-read-1d.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transfer-read-2d.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transfer-read-3d.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transfer-read.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transfer-to-loops.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transfer-write.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transpose.mlir
Log Message:
-----------
[mlir][test] Rename Vector integration tests for CPU (nfc) (#93521)
To keep the test filenames consistent, this patch:
* removes "test-" from file names (there used to be a mix of
"test-feature-1.mlir" and "feature-2.mlir"),
* replaces "_" with "-" (there used to be a mix of "feature-3.mlir"
and "feature_4.mlir").
Only files under test/Integration/Dialect/Vector/CPU are updated.
Commit: ce5b371606422ed21cda0e24cdc89cb41cdc5600
https://github.com/llvm/llvm-project/commit/ce5b371606422ed21cda0e24cdc89cb41cdc5600
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M bolt/test/AArch64/Inputs/array_end.lld_script
M bolt/test/Inputs/lsda.ldscript
Log Message:
-----------
[BOLT,test] Make linker scripts less sensitive to lld's orphan placement (#93763)
Then two tests rely on .interp being the first section.
llvm-bolt would crash if lld places .interp after .got
(f639b57f7993cadb82ee9c36f04703ae4430ed85).
For best portability, when a linker scripts specifies a SECTIONS
command, the first section for each PT_LOAD segment should be specified
with a MAXPAGESIZE alignment. Otherwise, linkers have freedom to decide
how to place orphan sections, which might break intention.
Commit: 5f243b3fffca42ed320529a54aefd86087aa85f8
https://github.com/llvm/llvm-project/commit/5f243b3fffca42ed320529a54aefd86087aa85f8
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
Log Message:
-----------
AMDGPU: Generalize instruction shrinking code (#93810)
Try to avoid referring to specific operand names, except in the special
case. The special case for hasNamedOperand(Op32, sdst) seems to have
been dead code.
Commit: 48175a5d9f62f0586c04e5a742dafa5e1943f19c
https://github.com/llvm/llvm-project/commit/48175a5d9f62f0586c04e5a742dafa5e1943f19c
Author: Miro Bucko <mbucko at meta.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/bindings/headers.swig
A lldb/bindings/interface/SBAddressRangeDocstrings.i
A lldb/bindings/interface/SBAddressRangeExtensions.i
A lldb/bindings/interface/SBAddressRangeListDocstrings.i
A lldb/bindings/interface/SBAddressRangeListExtensions.i
M lldb/bindings/interfaces.swig
M lldb/include/lldb/API/LLDB.h
M lldb/include/lldb/API/SBAddress.h
A lldb/include/lldb/API/SBAddressRange.h
A lldb/include/lldb/API/SBAddressRangeList.h
M lldb/include/lldb/API/SBBlock.h
M lldb/include/lldb/API/SBDefines.h
M lldb/include/lldb/API/SBFunction.h
M lldb/include/lldb/API/SBStream.h
M lldb/include/lldb/API/SBTarget.h
M lldb/include/lldb/Core/AddressRange.h
A lldb/include/lldb/Core/AddressRangeListImpl.h
M lldb/include/lldb/Symbol/Block.h
M lldb/include/lldb/lldb-forward.h
M lldb/source/API/CMakeLists.txt
A lldb/source/API/SBAddressRange.cpp
A lldb/source/API/SBAddressRangeList.cpp
M lldb/source/API/SBBlock.cpp
M lldb/source/API/SBFunction.cpp
M lldb/source/Core/AddressRange.cpp
A lldb/source/Core/AddressRangeListImpl.cpp
M lldb/source/Core/CMakeLists.txt
M lldb/source/Symbol/Block.cpp
A lldb/test/API/python_api/address_range/Makefile
A lldb/test/API/python_api/address_range/TestAddressRange.py
A lldb/test/API/python_api/address_range/main.cpp
Log Message:
-----------
[lldb] Add SBAddressRange and SBAddressRangeList to SB API (#93836)
This adds new SB API calls and classes to allow a user of the SB API to obtain an address range from SBFunction and SBBlock. This is a second attempt to land the reverted PR #92014.
Commit: ded04bf5d32a4fd5e0919053a598443f9d773549
https://github.com/llvm/llvm-project/commit/ded04bf5d32a4fd5e0919053a598443f9d773549
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/source/API/BUILD.gn
M llvm/utils/gn/secondary/lldb/source/Core/BUILD.gn
Log Message:
-----------
[gn build] Port 48175a5d9f62
Commit: 270d95bfedc20c28f142ac63b4882dd06c869c90
https://github.com/llvm/llvm-project/commit/270d95bfedc20c28f142ac63b4882dd06c869c90
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
R lld/test/ELF/linkerscript/orphan-align.s
M lld/test/ELF/linkerscript/orphan.s
R lld/test/ELF/linkerscript/orphans.s
Log Message:
-----------
[ELF] Improve orphan placement tests
Merge orphan-align.test (which introduced `shouldSkip`) into orphan.s.
Commit: 692ae5443b1778e138527ef55d799a4b535a36f9
https://github.com/llvm/llvm-project/commit/692ae5443b1778e138527ef55d799a4b535a36f9
Author: Jeremy Kun <jkun at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M mlir/lib/Dialect/Polynomial/IR/PolynomialOps.cpp
M mlir/test/Dialect/Polynomial/ops_errors.mlir
Log Message:
-----------
[mlir][polynomial] verify from_tensor coeff type (#93243)
Rebased over https://github.com/llvm/llvm-project/pull/93227
---------
Co-authored-by: Jeremy Kun <j2kun at users.noreply.github.com>
Commit: 73e07e924470ebab76a634e41fadf425a859e0ea
https://github.com/llvm/llvm-project/commit/73e07e924470ebab76a634e41fadf425a859e0ea
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lld/test/ELF/linkerscript/orphan.s
Log Message:
-----------
[ELF] Add RW then text test
Currently, lld assigns RF_NOT_SPECIAL so that orphan .interp and
SHT_NOTE are always before other sections. GNU ld doesn't do so. The
next change will remove RF_NOT_SPECIAL.
Commit: 747d670baef35f0615b32652e93c97a2ff8dba18
https://github.com/llvm/llvm-project/commit/747d670baef35f0615b32652e93c97a2ff8dba18
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lld/ELF/Writer.cpp
M lld/test/ELF/linkerscript/orphan.s
Log Message:
-----------
[ELF] Make .interp/SHT_NOTE not special
Follow-up to a previous simplification
2473b1af085ad54e89666cedf684fdf10a84f058.
The xor difference between a SHT_NOTE and a read-only SHT_PROGBITS
(previously >=NOT_SPECIAL) should be smaller than RF_EXEC. Otherwise,
for the following section layout, `findOrphanPos` would place .text
before note.
```
// simplified from linkerscript/custom-section-type.s
non orphans:
progbits 0x8060c00 NOT_SPECIAL
note 0x8040003
orphan:
.text 0x8061000 NOT_SPECIAL
```
rw-text.lds in orphan.s (added by
73e07e924470ebab76a634e41fadf425a859e0ea) demonstrates a similar case.
The new behavior is more similar to GNU ld.
#93763 fixed BOLT's brittle reliance on the previous .interp behavior.
Commit: 8fa66c6ca7272268747835a0e86805307b62399c
https://github.com/llvm/llvm-project/commit/8fa66c6ca7272268747835a0e86805307b62399c
Author: Charlie Barto <chbarto at microsoft.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/Driver/SanitizerArgs.cpp
M clang/lib/Driver/ToolChains/MSVC.cpp
M clang/test/Driver/cl-link.c
M compiler-rt/CMakeLists.txt
M compiler-rt/lib/asan/CMakeLists.txt
M compiler-rt/lib/asan/asan_flags.cpp
M compiler-rt/lib/asan/asan_globals_win.cpp
M compiler-rt/lib/asan/asan_malloc_win.cpp
A compiler-rt/lib/asan/asan_malloc_win_thunk.cpp
A compiler-rt/lib/asan/asan_win_common_runtime_thunk.cpp
A compiler-rt/lib/asan/asan_win_common_runtime_thunk.h
R compiler-rt/lib/asan/asan_win_dll_thunk.cpp
M compiler-rt/lib/asan/asan_win_dynamic_runtime_thunk.cpp
A compiler-rt/lib/asan/asan_win_static_runtime_thunk.cpp
M compiler-rt/lib/asan/tests/CMakeLists.txt
M compiler-rt/lib/profile/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/sanitizer_common_interface.inc
R compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_dll_thunk.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_dynamic_runtime_thunk.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_runtime_thunk.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_weak_interception.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_dll_thunk.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_dll_thunk.h
R compiler-rt/lib/sanitizer_common/sanitizer_win_dynamic_runtime_thunk.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_immortalize.h
A compiler-rt/lib/sanitizer_common/sanitizer_win_interception.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_interception.h
A compiler-rt/lib/sanitizer_common/sanitizer_win_thunk_interception.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_thunk_interception.h
R compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.h
M compiler-rt/lib/ubsan/CMakeLists.txt
R compiler-rt/lib/ubsan/ubsan_win_dll_thunk.cpp
R compiler-rt/lib/ubsan/ubsan_win_dynamic_runtime_thunk.cpp
A compiler-rt/lib/ubsan/ubsan_win_runtime_thunk.cpp
R compiler-rt/lib/ubsan/ubsan_win_weak_interception.cpp
M compiler-rt/test/asan/TestCases/Darwin/interface_symbols_darwin.cpp
M compiler-rt/test/asan/TestCases/Linux/interface_symbols_linux.cpp
M compiler-rt/test/asan/TestCases/Windows/double_free.cpp
M compiler-rt/test/asan/TestCases/Windows/free_hook_realloc.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/msvc/dll_and_lib.cpp
M compiler-rt/test/asan/TestCases/Windows/msvc/dll_large_function.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/symbols_path.cpp
M compiler-rt/test/asan/TestCases/Windows/unsymbolized.cpp
M compiler-rt/test/asan/TestCases/Windows/use_after_realloc.cpp
M compiler-rt/test/asan/TestCases/debug_double_free.cpp
M compiler-rt/test/asan/TestCases/debug_report.cpp
M compiler-rt/test/asan/TestCases/default_options.cpp
M compiler-rt/test/asan/TestCases/on_error_callback.cpp
M compiler-rt/test/asan/TestCases/report_error_summary.cpp
M compiler-rt/test/asan/lit.cfg.py
Log Message:
-----------
[asan][windows] Eliminate the static asan runtime on windows (#93770)
Re-Apply: 246234ac70faa1e3281a2bb83dfc4dd206a7d59c
Originally #81677
The static asan runtime on windows had various buggy hacks to ensure loaded dlls got the executable's copy of asan, these never worked all that well, so we have eliminated the static runtime altogether and made the dynamic runtime work for applications linking any flavor of the CRT.
Among other things this allows non-asan-instrumented applications to load asan-instrumented dlls that link against the static CRT.
Co-authored-by: Amy Wishnousky <amyw at microsoft.com>
Commit: 5785048321ab82d18667655681d871f7cdc357e5
https://github.com/llvm/llvm-project/commit/5785048321ab82d18667655681d871f7cdc357e5
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
M llvm/unittests/Transforms/Vectorize/VPlanTestBase.h
Log Message:
-----------
[VPlan] Add VPIRBasicBlock, use to model pre-preheader. (#93398)
This patch adds a new special type of VPBasicBlock that wraps an
existing IR basic block. Recipes of the block get added before the
terminator of the wrapped IR basic block. Making it a subclass of
VPBasicBlock avoids duplicating various APIs to manage recipes in a
block, as well as makes sure the traversals filtering VPBasicBlocks
automatically apply as well.
Initially VPIRBasicBlock are only used for the pre-preheader (wrapping
the original preheader of the scalar loop).
As follow-up, this will be used to move more parts of the skeleton
inside VPlan, starting with the branch and condition in the middle
block.
Separated out of https://github.com/llvm/llvm-project/pull/92651
PR: https://github.com/llvm/llvm-project/pull/93398
Commit: 485f9f589595006a8d10b8d39bde7124b0dc2042
https://github.com/llvm/llvm-project/commit/485f9f589595006a8d10b8d39bde7124b0dc2042
Author: Hendrik Hübner <117831077+HendrikHuebner at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/include/llvm-libc-types/pthread_rwlockattr_t.h
M libc/include/pthread.h.def
M libc/spec/posix.td
M libc/src/pthread/CMakeLists.txt
A libc/src/pthread/pthread_rwlockattr_getkind_np.cpp
A libc/src/pthread/pthread_rwlockattr_getkind_np.h
M libc/src/pthread/pthread_rwlockattr_init.cpp
A libc/src/pthread/pthread_rwlockattr_setkind_np.cpp
A libc/src/pthread/pthread_rwlockattr_setkind_np.h
M libc/test/src/pthread/CMakeLists.txt
M libc/test/src/pthread/pthread_rwlockattr_test.cpp
Log Message:
-----------
Reland: [libc][POSIX][pthreads] implemented missing pthread_rwlockattr functions (#93622)
New pull request for https://github.com/llvm/llvm-project/issues/89443
The previous PR was reverted after breaking fullbuild due to a missing
struct declaration, which I forgot to commit.
Reverts revert and adds the missing pthread_rwlockattr_getkind_np /
pthread_rwlockattr_setkind_np functions and tests respecitvely.
Commit: 3af717d661e9fe8d562181b933a373ca58e41b27
https://github.com/llvm/llvm-project/commit/3af717d661e9fe8d562181b933a373ca58e41b27
Author: khaki3 <47756807+khaki3 at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M flang/examples/FeatureList/FeatureList.cpp
M flang/include/flang/Parser/dump-parse-tree.h
M flang/include/flang/Parser/parse-tree.h
M flang/include/flang/Semantics/symbol.h
M flang/lib/Lower/OpenACC.cpp
M flang/lib/Parser/executable-parsers.cpp
M flang/lib/Parser/openacc-parsers.cpp
M flang/lib/Parser/unparse.cpp
M flang/lib/Semantics/check-acc-structure.cpp
M flang/lib/Semantics/check-cuda.cpp
M flang/lib/Semantics/check-do-forall.cpp
M flang/lib/Semantics/resolve-names.cpp
A flang/test/Semantics/resolve123.f90
A flang/test/Semantics/resolve124.f90
M flang/test/Semantics/resolve55.f90
Log Message:
-----------
[flang] Add parsing of DO CONCURRENT REDUCE clause (#92518)
Derived from #92480. This PR supports parsing of the DO CONCURRENT
REDUCE clause in Fortran 2023. Following the style of the OpenMP parser
in MLIR, the front end accepts both arbitrary operations and procedures
for the REDUCE clause. But later Semantics can notify type errors and
resolve procedure names.
Commit: 0a93e9f2e264472f1c8c3b5d8726aa43a02ecace
https://github.com/llvm/llvm-project/commit/0a93e9f2e264472f1c8c3b5d8726aa43a02ecace
Author: Charlie Barto <chbarto at microsoft.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/Driver/SanitizerArgs.cpp
M clang/lib/Driver/ToolChains/MSVC.cpp
M clang/test/Driver/cl-link.c
M compiler-rt/CMakeLists.txt
M compiler-rt/lib/asan/CMakeLists.txt
M compiler-rt/lib/asan/asan_flags.cpp
M compiler-rt/lib/asan/asan_globals_win.cpp
M compiler-rt/lib/asan/asan_malloc_win.cpp
R compiler-rt/lib/asan/asan_malloc_win_thunk.cpp
R compiler-rt/lib/asan/asan_win_common_runtime_thunk.cpp
R compiler-rt/lib/asan/asan_win_common_runtime_thunk.h
A compiler-rt/lib/asan/asan_win_dll_thunk.cpp
M compiler-rt/lib/asan/asan_win_dynamic_runtime_thunk.cpp
R compiler-rt/lib/asan/asan_win_static_runtime_thunk.cpp
M compiler-rt/lib/asan/tests/CMakeLists.txt
M compiler-rt/lib/profile/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/sanitizer_common_interface.inc
A compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_dll_thunk.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_dynamic_runtime_thunk.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_runtime_thunk.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_weak_interception.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_dll_thunk.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_dll_thunk.h
A compiler-rt/lib/sanitizer_common/sanitizer_win_dynamic_runtime_thunk.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_immortalize.h
R compiler-rt/lib/sanitizer_common/sanitizer_win_interception.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_interception.h
R compiler-rt/lib/sanitizer_common/sanitizer_win_thunk_interception.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_thunk_interception.h
A compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.h
M compiler-rt/lib/ubsan/CMakeLists.txt
A compiler-rt/lib/ubsan/ubsan_win_dll_thunk.cpp
A compiler-rt/lib/ubsan/ubsan_win_dynamic_runtime_thunk.cpp
R compiler-rt/lib/ubsan/ubsan_win_runtime_thunk.cpp
A compiler-rt/lib/ubsan/ubsan_win_weak_interception.cpp
M compiler-rt/test/asan/TestCases/Darwin/interface_symbols_darwin.cpp
M compiler-rt/test/asan/TestCases/Linux/interface_symbols_linux.cpp
M compiler-rt/test/asan/TestCases/Windows/double_free.cpp
M compiler-rt/test/asan/TestCases/Windows/free_hook_realloc.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/msvc/dll_and_lib.cpp
M compiler-rt/test/asan/TestCases/Windows/msvc/dll_large_function.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/symbols_path.cpp
M compiler-rt/test/asan/TestCases/Windows/unsymbolized.cpp
M compiler-rt/test/asan/TestCases/Windows/use_after_realloc.cpp
M compiler-rt/test/asan/TestCases/debug_double_free.cpp
M compiler-rt/test/asan/TestCases/debug_report.cpp
M compiler-rt/test/asan/TestCases/default_options.cpp
M compiler-rt/test/asan/TestCases/on_error_callback.cpp
M compiler-rt/test/asan/TestCases/report_error_summary.cpp
M compiler-rt/test/asan/lit.cfg.py
Log Message:
-----------
Revert "[asan][windows] Eliminate the static asan runtime on windows (#93770)"
This reverts commit 8fa66c6ca7272268747835a0e86805307b62399c.
Commit: f8cc183ea244be6b8ea5e9da7733923e39c9fc38
https://github.com/llvm/llvm-project/commit/f8cc183ea244be6b8ea5e9da7733923e39c9fc38
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/include/llvm/DWARFLinker/Utils.h
M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerCompileUnit.cpp
M llvm/unittests/DWARFLinkerParallel/DWARFLinkerTest.cpp
Log Message:
-----------
Fix the dsymutil heuristic for excluding system interfaces. (#93745)
The function was meant to find the Developer/ dir, but it found a
Developer directory nested deep inside the top-level Developer dir.
The new implementation rejects everything in Xcode.app/Developer in
broad strokes.
rdar://128571037
Commit: 7cfffe74eeb68fbb3fb9706ac7071f8caeeb6520
https://github.com/llvm/llvm-project/commit/7cfffe74eeb68fbb3fb9706ac7071f8caeeb6520
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/include/llvm/Bitcode/BitcodeWriter.h
M llvm/include/llvm/Bitstream/BitstreamWriter.h
M llvm/include/llvm/ProfileData/PGOCtxProfWriter.h
M llvm/include/llvm/Support/raw_ostream.h
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/Support/raw_ostream.cpp
M llvm/unittests/Bitstream/BitstreamWriterTest.cpp
Log Message:
-----------
Unittests and usability for BitstreamWriter incremental flushing (#92983)
- added unittests for the raw_fd_stream output case.
- the `BitstreamWriter` ctor was confusing, the relationship between the buffer and the file stream wasn't clear and in fact there was a potential bug in `BitcodeWriter` in the mach-o case, because that code assumed in-buffer only serialization. The incremental flushing behavior of flushing at end of block boundaries was an implementation detail that meant serializers not using blocks (for example) would need to know to check the buffer and flush. The bug was latent - in the sense that, today, because the stream being passed was not a `raw_fd_stream`, incremental buffering never kicked in.
The new design moves the responsibility of flushing to the `BitstreamWriter`, and makes it work with any `raw_ostream` (but incrementally flush only in the `raw_fd_stream` case). If the `raw_ostream` is over a buffer - i.e. a `raw_svector_stream` - then it's equivalent to today's buffer case. For all other `raw_ostream` cases, buffering is an implementation detail. In all cases, the buffer is flushed (well, in the buffer case, that's a moot statement).
This simplifies the state and state transitions the user has to track: you have a raw_ostream -> BitstreamWrite in it -> destroy the writer => the bitstream is completely written in your raw_ostream. The "buffer" case and the "raw_fd_stream" case become optimizations rather than imposing state transition concerns to the user.
Commit: 0eb9e021b15f477b796a6aaed94c94887f19171c
https://github.com/llvm/llvm-project/commit/0eb9e021b15f477b796a6aaed94c94887f19171c
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M libc/cmake/modules/CheckCompilerFeatures.cmake
A libc/cmake/modules/compiler_features/check_float16.cpp
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/include/CMakeLists.txt
M libc/include/llvm-libc-macros/CMakeLists.txt
A libc/include/llvm-libc-macros/float16-macros.h
M libc/include/math.h.def
M libc/spec/spec.td
M libc/spec/stdc.td
M libc/src/__support/CPP/type_traits/is_floating_point.h
M libc/src/__support/FPUtil/FPBits.h
M libc/src/__support/macros/properties/CMakeLists.txt
M libc/src/__support/macros/properties/types.h
M libc/src/math/CMakeLists.txt
A libc/src/math/fabsf16.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/fabsf16.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/fabsf16_test.cpp
Log Message:
-----------
[libc][math][c23] Add fabsf16 C23 math function (#93567)
cc @lntue
Commit: baabaa4ce9e79aa33e309eed515e67ae8e328c8b
https://github.com/llvm/llvm-project/commit/baabaa4ce9e79aa33e309eed515e67ae8e328c8b
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/include/clang/Sema/Sema.h
M clang/include/clang/Sema/SemaBase.h
M clang/include/clang/Sema/SemaInternal.h
M clang/lib/Sema/SemaBase.cpp
M clang/lib/Sema/SemaDeclObjC.cpp
M clang/lib/Sema/SemaExprObjC.cpp
M clang/lib/Sema/SemaOpenMP.cpp
Log Message:
-----------
[clang][NFC] Move `PDiag` into `SemaBase` (#93849)
This patch moves `PDiag` into `SemaBase`, making it readily available
everywhere across `Sema` without `SemaRef`, like the regular `Diag`.
Commit: 973821cb44cf2826e2aea1cd40ff40e6e975b9d6
https://github.com/llvm/llvm-project/commit/973821cb44cf2826e2aea1cd40ff40e6e975b9d6
Author: Florian Mayer <fmayer at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64StackTagging.cpp
Log Message:
-----------
[MTE] rename RecordStackHistoryMode
We used the same name in the global name space for HWASan, so we got
a collision.
Commit: c803c29039a9716436d338b7c513c75b7bbfa8f3
https://github.com/llvm/llvm-project/commit/c803c29039a9716436d338b7c513c75b7bbfa8f3
Author: Mingming Liu <mingmingl at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/ProfileData/InstrProf.cpp
Log Message:
-----------
[nfc][InstrProf]Remove 'offsetOf' when parsing indexed profiles (#93346)
- In `Header::readFromBuffer`, read the buffer in the forward direction by using `readNext`.
- When compute the header size, spell out the constant.
With the changes above, we can remove `offsetOf` in InstrProf.cpp
---------
Co-authored-by: Kazu Hirata <kazu at google.com>
Commit: 9faa623d96baa39fe109a74ff903c568c7a6782b
https://github.com/llvm/llvm-project/commit/9faa623d96baa39fe109a74ff903c568c7a6782b
Author: Martin Storsjö <martin at martin.st>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M compiler-rt/test/asan/TestCases/debug_double_free.cpp
M compiler-rt/test/asan/TestCases/debug_report.cpp
Log Message:
-----------
[compiler-rt] [test] Work around MS CRT stdio format quirks on mingw too (#93787)
So far, these tests have been disabled in mingw build configurations
(built as asan-dynamic), but these were enabled in
246234ac70faa1e3281a2bb83dfc4dd206a7d59c, exposing the issue.
(That commit is currently reverted, but will probably be relanded in
some form soon.)
Commit: ce7b67091267ffcc67194b0f116a63249a77230f
https://github.com/llvm/llvm-project/commit/ce7b67091267ffcc67194b0f116a63249a77230f
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/Parse/ParseOpenMP.cpp
Log Message:
-----------
[clang][OpenMP] Simplify check for repeated clauses (#93611)
The `FirstClauses` is a vector of pointer-bool pairs, and the pointer
part of the pair is never used. Replace the vector with std::bitset, and
rename it to `SeenClauses` to make the purpose of it a bit clearer.
Commit: 61afebdacc3b980fb82ea606d78d742847a133c3
https://github.com/llvm/llvm-project/commit/61afebdacc3b980fb82ea606d78d742847a133c3
Author: Teresa Johnson <tejohnson at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
Log Message:
-----------
[MemProf][NFC] Switch to DenseMaps (#93868)
Change a couple of maps from std::map to DenseMap, which showed
a modest (3.6%) reduction in peak RSS.
Commit: 7b8048939024841e07f8d89ddfaa4311f9dd7e9c
https://github.com/llvm/llvm-project/commit/7b8048939024841e07f8d89ddfaa4311f9dd7e9c
Author: Artem Yurchenko <44875844+temyurchenko at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/AST/DeclPrinter.cpp
A clang/test/AST/ast-print-language-linkage.cpp
Log Message:
-----------
[clang][AST] fix ast-print of `extern <lang>` with >=2 declarators (#93131)
Problem: the printer used to ignore all but the first declarator for
unbraced language linkage declarators. Furthemore, that one would be
printed without the final semicolon.
Solution: when there is more than one declarator, we print them in a
braced `extern <lang>` block. If the original declaration was unbraced
and there is one or less declarator, we omit the braces, but add the
semicolon.
**N.B.** We are printing braces which were, in some cases, absent from
the original CST. If that's an issue, I'll work on it. See the tests for
the examples.
Commit: 224581cf3c8b734d619e261ec4705106282ae3a8
https://github.com/llvm/llvm-project/commit/224581cf3c8b734d619e261ec4705106282ae3a8
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M flang/lib/Semantics/check-do-forall.cpp
Log Message:
-----------
[flang] Fix a warning
This patch fixes:
flang/lib/Semantics/check-do-forall.cpp:731:9: error: default label
in switch which covers all enumeration values
[-Werror,-Wcovered-switch-default]
Commit: 22ada554d5123717d163fea5a2a8d87020b332fe
https://github.com/llvm/llvm-project/commit/22ada554d5123717d163fea5a2a8d87020b332fe
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/include/llvm/DWARFLinker/Utils.h
M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerCompileUnit.cpp
M llvm/unittests/DWARFLinkerParallel/DWARFLinkerTest.cpp
Log Message:
-----------
[dsymutil] Also detect external downloadable toolchains (#93872)
and reject them when copying Swift interface files, since they can live
outside of DEVELOPER_DIR.
Commit: 6f576d957e7efd2e3b2af90d03e626f0bafbd018
https://github.com/llvm/llvm-project/commit/6f576d957e7efd2e3b2af90d03e626f0bafbd018
Author: Nick Desaulniers (paternity leave) <nickdesaulniers at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M libc/test/UnitTest/LibcTest.cpp
M libc/test/UnitTest/LibcTest.h
M libc/test/UnitTest/LibcTestMain.cpp
M libc/test/utils/UnitTest/testfilter_test.cpp
Log Message:
-----------
[libc] android atest compat (#93852)
These changes slighly modify the output of the unittests so that they better
match GTest, so that utilities that parse the expected output from GTest (such
as Android's unit test harness) can read the output from our unit tests.
This allows our unit tests to be run on Android devices.
Add very primitive command line parsing to:
- support --gtest_color=no to disable printing terminal colors.
- recognize --gtest_print_time and print the test time in milliseconds.
- most of our unit tests run on the order of microseconds, so its useful to
preserve the existing behavior. But upsteram GTest ONLY prints time tests
in milliseconds, and Android's atest expects to be able to parse exactly
that. Atest always passes --gtest_print_time. The word `took` is removed as
that also differs from upstream GTest, tripping up parsers.
- ignore other --gtest_* flags
Do so so that atest can parse the output correctly.
Print the test number count before
each run, so that atest can parse this value correctly.
Link: https://android-review.googlesource.com/c/platform/external/llvm-libc/+/3107252
Link: https://google.github.io/googletest/advanced.html#colored-terminal-output
Link: https://google.github.io/googletest/advanced.html#suppressing-the-elapsed-time
Commit: d471860f2d3bbc7208ebf6e9e3e5350677f9c290
https://github.com/llvm/llvm-project/commit/d471860f2d3bbc7208ebf6e9e3e5350677f9c290
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
Log Message:
-----------
[bazel] Port #92983 (#93874)
Commit: 6e975ecf5c93c40d2f088425548eb6476332629c
https://github.com/llvm/llvm-project/commit/6e975ecf5c93c40d2f088425548eb6476332629c
Author: David Blaikie <dblaikie at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/include/clang/Basic/DebugOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
A clang/test/CodeGenCXX/debug-info-incomplete-types.cpp
M clang/test/Driver/debug-options.c
Log Message:
-----------
Reapply "[DebugInfo] Add flag to only emit referenced member functions" (#93767)
This reverts commit 02c6845c762dfd0a19d4a2f997990e160f392dae,
reapplying bfabc958c7c0d7ddc15f23383d9da836e8c6093f.
The patch was reverted due to the test failing on MacOS and Windows
where type units aren't supported. This is addressed by limiting type
unit flag/test coverage to Linux.
Complete C++ type information can be quite expensive - and there's
limited value in representing every member function, even those that
can't be called (we don't do similarly for every non-member function
anyway). So add a flag to opt out of this behavior for experimenting
with this more terse behavior.
I think Sony already does this by default, so perhaps with a change to
the defaults, Sony can migrate to this rather than a downstream patch.
This breaks current debuggers in some expected ways - but those
breakages are visible without this feature too. Consider member function
template instantiations - they can't be consistently enumerated in every
translation unit:
a.h:
```
struct t1 {
template <int i>
static int f1() {
return i;
}
};
namespace ns {
template <int i>
int f1() {
return i;
}
} // namespace ns
```
a.cpp:
```
void f1() {
t1::f1<0>();
ns::f1<0>();
}
```
b.cpp:
```
void f1();
int main() {
f1();
t1::f1<1>();
ns::f1<1>();
}
```
```
(gdb) p ns::f1<0>()
$1 = 0
(gdb) p ns::f1<1>()
$2 = 1
(gdb) p t1::f1<0>()
Couldn't find method t1::f1<0>
(gdb) p t1::f1<1>()
$3 = 1
(gdb) s
f1 () at a.cpp:3
3 t1::f1<0>();
(gdb) p t1::f1<0>()
$4 = 0
(gdb) p t1::f1<1>()
Couldn't find method t1::f1<1>
(gdb)
```
(other similar non-canonical features are implicit special members
(copy/move ctor/assignment operator, default ctor) and nested types (eg:
pimpl idiom, where the nested type is declared-but-not-defined in one
TU, and defined in another TU))
lldb can't parse the template expressions above, so I'm not sure how to
test it there, but I'd guess it has similar problems. (
https://stackoverflow.com/questions/64602475/how-to-print-value-returned-by-template-member-function-in-gdb-lldb-debugging
so... I guess that's just totally not supported in lldb, how
unfortunate. And implicit special members are instantiated implicitly by
lldb, so missing those doesn't tickle the same issue)
Some very rudimentary numbers for a clang debug build:
.debug_info section size:
-g: 476MiB
-g -fdebug-types-section: 357MiB
-g -gomit-unreferenced-members: 340MiB
Though it also means a major reduction in .debug_str size,
-fdebug-types-section doesn't reduce string usage (so the first two
examples have the same .debug_str size, 247MiB), down to 175MiB.
So for total clang binary size (I don't have a quick "debug section size
reduction" on-hand): 1.45 (no type units) GiB -> 1.34 -> 1.22, so it
saves about 120MiB of binary size.
Original Differential Revision: https://reviews.llvm.org/D152017
Commit: 8247068b70106d188d037b9cc4b8de3548108597
https://github.com/llvm/llvm-project/commit/8247068b70106d188d037b9cc4b8de3548108597
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-trunc-sat-clip.ll
M llvm/test/CodeGen/RISCV/rvv/fpclamptosat_vec.ll
M llvm/test/CodeGen/RISCV/rvv/trunc-sat-clip-sdnode.ll
Log Message:
-----------
[RISCV] Support (truncate (smin (smax X, C1), C2)) for vnclipu in combineTruncToVnclip. (#93756)
If the smax removed all negative numbers, then we can treat the smin
like a umin.
If the smin and smax are in the other order we can swap them and use a
vnclipu as long as the smax constant is smaller than the smin constant.
This is based on similar code from X86's detectUSatPattern.
Commit: 167cad531db897c708610447d2632f137931c4be
https://github.com/llvm/llvm-project/commit/167cad531db897c708610447d2632f137931c4be
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lld/test/ELF/linkerscript/addr.test
R lld/test/ELF/linkerscript/expr-invalid-sec.test
R lld/test/ELF/linkerscript/expr-sections.test
R lld/test/ELF/linkerscript/parse-section-in-addr.test
Log Message:
-----------
[ELF] Improve ADDR tests
Merge some test files.
The "undefined section" error (`checkIfExists`) was previously untested.
Commit: 493eefc93f2901dd987b8ff441004352b317cab9
https://github.com/llvm/llvm-project/commit/493eefc93f2901dd987b8ff441004352b317cab9
Author: Miro Bucko <mbucko at meta.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/test/API/python_api/address_range/TestAddressRange.py
Log Message:
-----------
[lldb][test] Fix failing test TestAddressRange.py (#93871)
Test llvm-project/lldb/test/API/python_api/address_range/TestAddressRange.py is failing on Windows due adding a carriage return character at the end of line. Original PR is #93836.
Commit: 031f08c0a5aa1e9fb6995e26f5e9270a81f077cd
https://github.com/llvm/llvm-project/commit/031f08c0a5aa1e9fb6995e26f5e9270a81f077cd
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[bazel] Port #93567 (#93877)
Commit: f795853d1f77bff69c3805f75e54fa7a32cc23d9
https://github.com/llvm/llvm-project/commit/f795853d1f77bff69c3805f75e54fa7a32cc23d9
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Support/raw_ostream.cpp
Log Message:
-----------
raw_ostream: Fix a comment in llvm::errs
https://reviews.llvm.org/D81156 tied errs() to outs().
030897523d43e3296f69d25a71a140d9e5793c6a removed the tie, but did not
update the comment.
Commit: c4dad9a6b6dd048b4a8d771864ff905cbc2467af
https://github.com/llvm/llvm-project/commit/c4dad9a6b6dd048b4a8d771864ff905cbc2467af
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.h
Log Message:
-----------
[DirectX] Fix BitcodeWriter ctor after #92983
Commit: 215f92b979277a7ea4d331ae25a3ab9b77c9da0e
https://github.com/llvm/llvm-project/commit/215f92b979277a7ea4d331ae25a3ab9b77c9da0e
Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
A llvm/test/CodeGen/AMDGPU/load-store-opt-addc0.mir
Log Message:
-----------
[AMDGPU] Fix crash in the SILoadStoreOptimizer (#93862)
It does not properly handle situation when address calculation uses
V_ADDC_U32 0, 0, carry-in (i.e. with both src0 and src1 immediates).
Commit: d5f077cf52b3e14beb9932ddf7043685a31580b6
https://github.com/llvm/llvm-project/commit/d5f077cf52b3e14beb9932ddf7043685a31580b6
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lld/ELF/LinkerScript.cpp
Log Message:
-----------
[ELF] Simplify assignOffsets. NFC
Commit: 90acfbf90ddcb9c8c3338373bd13cb44f73bbd00
https://github.com/llvm/llvm-project/commit/90acfbf90ddcb9c8c3338373bd13cb44f73bbd00
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProfReader.h
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/lib/ProfileData/InstrProfReader.cpp
M llvm/lib/ProfileData/InstrProfWriter.cpp
M llvm/lib/ProfileData/MemProf.cpp
Log Message:
-----------
[memprof] Use linear IDs for Frames and call stacks (#93740)
With this patch, we stop using on-disk hash tables for Frames and call
stacks. Instead, we'll write out all the Frames as a flat array while
maintaining mappings from FrameIds to the indexes into the array.
Then we serialize call stacks in terms of those indexes.
Likewise, we'll write out all the call stacks as another flat array
while maintaining mappings from CallStackIds to the indexes into the
call stack array. One minor difference from Frames is that the
indexes into the call stack array are not contiguous because call
stacks are variable-length objects.
Then we serialize IndexedMemProfRecords in terms of the indexes
into the call stack array.
Now, we describe each call stack with 32-bit indexes into the Frame
array (as opposed to the 64-bit FrameIds in Version 2). The use of
the smaller type cuts down the profile file size by about 40% relative
to Version 2. The departure from the on-disk hash tables contributes
a little bit to the savings, too.
For now, IndexedMemProfRecords refer to call stacks with 64-bit
indexes into the call stack array. As a follow-up, I'll change that
to uint32_t, including necessary updates to RecordWriterTrait.
Commit: 629b6f4eb129375324486181ac4fda1288ebecbc
https://github.com/llvm/llvm-project/commit/629b6f4eb129375324486181ac4fda1288ebecbc
Author: shaw young <58664393+shawbyoung at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M bolt/include/bolt/Core/FunctionLayout.h
M bolt/lib/Core/FunctionLayout.cpp
Log Message:
-----------
[BOLT][NFC] Extend updateLayoutIndices (#93861)
Make FunctionLayout::updateLayoutIndices const and add an overloaded
function that updates LayoutIndices given an Order parameter.
Commit: fc2b15987b417174ee6d899178af08c47e04575b
https://github.com/llvm/llvm-project/commit/fc2b15987b417174ee6d899178af08c47e04575b
Author: Sterling Augustine <saugustine at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/test/CodeGen/X86/apx/asm-constraint-2-jR.ll
Log Message:
-----------
Send output to a temp file, even in the error case
Prior to this, the test tries to write to the source directory,
which prevents it from working when the source is on a read-only
file systems.
Commit: 419d363385c7fa8bd969a817f95ab025ae94277c
https://github.com/llvm/llvm-project/commit/419d363385c7fa8bd969a817f95ab025ae94277c
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/preload-kernargs.ll
Log Message:
-----------
AMDGPU: Add kernarg input attributes to preloaded kernarg test (#93669)
Explicitly mark the unused implicit arguments in the test, since this
should be sensitive to the number of free user SGPRs.
This is in preparation for #83131.
Commit: d9fbccf9a9b1ee2b76267146b4582415df67e66c
https://github.com/llvm/llvm-project/commit/d9fbccf9a9b1ee2b76267146b4582415df67e66c
Author: David Blaikie <dblaikie at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/test/Driver/debug-options.c
Log Message:
-----------
Fix test on MacOS where -fstandalone-debug is the default
This test is meant to check the behavior when -fno-standalone-debug is
active - it doesn't care whether it's explicit or implicit, so let's
make it explicit so it applies equally to MacOS and other platforms.
Commit: 235ddbd138b14aa1479adda2dc16f5f4055f1053
https://github.com/llvm/llvm-project/commit/235ddbd138b14aa1479adda2dc16f5f4055f1053
Author: S. Bharadwaj Yadavalli <Bharadwaj.Yadavalli at microsoft.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/docs/DirectXUsage.rst
Log Message:
-----------
[DirectX] [Docs] Add DXILOpTableGenDesign.rst to toctree of DirectXUsage. (#93864)
Fix doc build failure.
Commit: d4ff9615a1531f4a466b7d1fb0f175e3ae489289
https://github.com/llvm/llvm-project/commit/d4ff9615a1531f4a466b7d1fb0f175e3ae489289
Author: Jorge Gorbe Moya <jgorbe at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/include/clang/Sema/Attr.h
Log Message:
-----------
Add missing #include for ObjCMethodDecl.
DeclBase.h only contains a forward declaration of ObjCMethodDecl, and
when building clang/Sema/Attr.h with header modules this causes a build
failure because `llvm::isa<ObjCMethodDecl>` requires the full type.
Commit: 852aaf54071ad072335dcac57f544d4da34c875a
https://github.com/llvm/llvm-project/commit/852aaf54071ad072335dcac57f544d4da34c875a
Author: Aaron Siddhartha Mondal <aaron at tracemachina.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/cmake/caches/Fuchsia-stage2.cmake
M clang/cmake/caches/Fuchsia.cmake
M clang/cmake/caches/VectorEngine.cmake
M clang/utils/analyzer/entrypoint.py
M compiler-rt/cmake/config-ix.cmake
M compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
M compiler-rt/lib/xray/tests/CMakeLists.txt
M lldb/docs/resources/build.rst
M lldb/source/Core/CMakeLists.txt
M llvm/CMakeLists.txt
M llvm/cmake/config-ix.cmake
R llvm/cmake/modules/FindTerminfo.cmake
M llvm/cmake/modules/LLVMConfig.cmake.in
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm/Config/config.h.cmake
M llvm/lib/Support/CMakeLists.txt
M llvm/lib/Support/Unix/Process.inc
M llvm/utils/gn/README.rst
R llvm/utils/gn/build/libs/terminfo/BUILD.gn
R llvm/utils/gn/build/libs/terminfo/enable.gni
M llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
M llvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn
M utils/bazel/.bazelrc
M utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h
M utils/bazel/llvm_configs/config.h.cmake
Log Message:
-----------
Reapply "[Support] Remove terminfo dependency (#92865)" (#93889)
This reverts commit fe82a3da36196157c0caa1ef2505186782f750d1.
This broke LLDB on MacOS due to a missing symbol during linking.
The fix has been applied in c6c08eee37bada190bd1aa4593c88a5e2c8cdaac.
Original commit message:
The terminfo dependency introduces a significant nonhermeticity into the
build. It doesn't respect `--no-undefined-version` meaning that it's not
a dependency that can be built with Clang 17+. This forces maintainers
of source-based distributions to implement patches or ignore linker
errors.
Remove it to reduce the closure size and improve portability of
LLVM-based tools. Users can still use command line arguments to toggle
color support expliticly.
Fixes #75490
Closes #53294 #23355
Commit: e1c3e16d24b5cc097ff08e9283f53319acd3f245
https://github.com/llvm/llvm-project/commit/e1c3e16d24b5cc097ff08e9283f53319acd3f245
Author: Akira Hatanaka <ahatanak at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/Decl.cpp
M clang/test/SemaObjCXX/block-capture.mm
Log Message:
-----------
[clang] Fix a crash when a variable is captured by a block nested inside a lambda (#93749)
`Eval->Value.get` returns a null pointer when the variable doesn't have
an initializer. Use `cast_if_present` instead of `cast`.
This fixes https://github.com/llvm/llvm-project/issues/93625.
rdar://128482541
Commit: f38d84ce328c2acdce372680a41d8cf6c1bdf7c4
https://github.com/llvm/llvm-project/commit/f38d84ce328c2acdce372680a41d8cf6c1bdf7c4
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-forced.ll
M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-sink-replicate-region.ll
M llvm/test/Transforms/LoopVectorize/interleave-and-scalarize-only.ll
M llvm/test/Transforms/LoopVectorize/vplan-dot-printing.ll
M llvm/test/Transforms/LoopVectorize/vplan-printing-before-execute.ll
M llvm/test/Transforms/LoopVectorize/vplan-printing.ll
M llvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge.ll
M llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp
Log Message:
-----------
[VPlan] Use ir-bb prefix for VPIRBasicBlock.
Follow-up to adjust the names and tests after
https://github.com/llvm/llvm-project/pull/93398.
Commit: e9954ec087d640809082f46d1c7e5ac1767b798d
https://github.com/llvm/llvm-project/commit/e9954ec087d640809082f46d1c7e5ac1767b798d
Author: Amir Ayupov <aaupov at fb.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M bolt/include/bolt/Rewrite/RewriteInstance.h
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/test/X86/register-fragments-bolt-symbols.s
Log Message:
-----------
[BOLT] Detect .warm split functions as cold fragments (#93759)
CDSplit splits functions up to three ways: main fragment with no suffix,
and fragments with .cold and .warm suffixes.
Add .warm suffix to the regex used to recognize split fragments.
Test Plan: updated register-fragments-bolt-symbols.s
Commit: aa98c75da49515fb399e2682dfe34c563d44bdf6
https://github.com/llvm/llvm-project/commit/aa98c75da49515fb399e2682dfe34c563d44bdf6
Author: gulfemsavrun <gulfem at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/AST/DeclPrinter.cpp
R clang/test/AST/ast-print-language-linkage.cpp
Log Message:
-----------
Revert "[clang][AST] fix ast-print of `extern <lang>` with >=2 declarators" (#93912)
Reverts llvm/llvm-project#93131 because it broke some lldb tests on the
Fuchsia Clang toolchain builders.
https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64/b8746482644341901905/infra
Commit: db6de1a20f75cbfe1024f41e64ad39def91fa70f
https://github.com/llvm/llvm-project/commit/db6de1a20f75cbfe1024f41e64ad39def91fa70f
Author: Jianjian Guan <jacquesguan at me.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vmul-vp.ll
M llvm/test/CodeGen/RISCV/rvv/vmul-vp.ll
Log Message:
-----------
[DAGCombiner][VP] Add DAGCombine for VP_MUL (#80105)
Use visitMUL to combine VP_MUL, share most logic of MUL with VP_MUL.
Migrate from https://reviews.llvm.org/D121187
Commit: 461cc8612f563fadba2d9db157a0e17e2b463e4e
https://github.com/llvm/llvm-project/commit/461cc8612f563fadba2d9db157a0e17e2b463e4e
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/test/Analysis/LoopAccessAnalysis/symbolic-stride.ll
Log Message:
-----------
[LAA] Add test where stride is also used for BTC.
Add missing test coverage for follow-up to
https://github.com/llvm/llvm-project/pull/93499.
Commit: c5fdb5c34e0dc3f5f3c0db19cf704b30a778cd0e
https://github.com/llvm/llvm-project/commit/c5fdb5c34e0dc3f5f3c0db19cf704b30a778cd0e
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/Format/FormatToken.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Insert a space between a keyword and a literal (#93632)
Fixes #93603.
Commit: 1fa073ab896e65c55ff63487be0b41d7cea9aa77
https://github.com/llvm/llvm-project/commit/1fa073ab896e65c55ff63487be0b41d7cea9aa77
Author: Zixu Wang <9819235+zixu-w at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Object/MachOObjectFile.cpp
A llvm/test/Object/Inputs/MachO/rebase-bind-table-trailing-opcode.yaml
A llvm/test/Object/macho-rebase-bind-trailing-opcode-boundary.test
Log Message:
-----------
[MachO] Stop parsing past end of rebase/bind table (#93897)
`MachORebaseEntry::moveNext()` and `MachOBindEntry::moveNext()` assume
that the rebase/bind table ends with `{REBASE|BIND}_OPCODE_DONE` or an
actual rebase/bind. However a valid rebase/bind table might also end
with other effectively no-op opcodes, which caused the parser to move
past the end and go into the next table, resulting in corrupted entries
or infinite loops.
Commit: 089dfeee8a8761c35a3a56e75281275871dd53bc
https://github.com/llvm/llvm-project/commit/089dfeee8a8761c35a3a56e75281275871dd53bc
Author: Malay Sanghi <malay.sanghi at intel.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/lib/Headers/intrin.h
M clang/test/CodeGen/X86/ms-x86-intrinsics.c
Log Message:
-----------
[X86] Add support for MS inp functions. (#93804)
support _inp, _inpw, _inpd.
These functions were removed from the Windows runtime library, but aare
still supported for kernel mode development.
Commit: 71ccd0d8ccf876e32e21514839195f159642fe4c
https://github.com/llvm/llvm-project/commit/71ccd0d8ccf876e32e21514839195f159642fe4c
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lldb/source/Expression/IRInterpreter.cpp
Log Message:
-----------
[IRInterpreter] Return zero address for missing weak function (#93548)
If a weak function is missing, still return it's address (zero) rather
than failing interpretation. Otherwise we have a mismatch between
Interpret() and CanInterpret() resulting in failures that would not
occur with JIT execution.
Alternatively, we could try to look for weak symbols in CanInterpret()
and generally reject them there.
This is the root cause for the issue exposed by
https://github.com/llvm/llvm-project/pull/92885. Previously, the case
affected by that always fell back to JIT because an icmp constant
expression was used, which is not supported by the interpreter. Now a
normal icmp instruction is used, which is supported. However, we fail to
interpret due to incorrect handling of weak function addresses.
Commit: 4985f25ffcc4735c36967fcdbd5d46e009b25827
https://github.com/llvm/llvm-project/commit/4985f25ffcc4735c36967fcdbd5d46e009b25827
Author: Cyndy Ishida <cyndy_ishida at apple.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/include/llvm/IR/GEPNoWrapFlags.h
Log Message:
-----------
[IR] Fix IWYU violation (#93918)
GEPNoWrapFlags.h calls `assert` creating a undeclared identifier error
when running an Apple-stage2 build with LLVM_ENABLE_MODULES enabled.
resolves: rdar://129031201
Commit: f49d26bc7766a6589bdbfc6fd752665ae5643b62
https://github.com/llvm/llvm-project/commit/f49d26bc7766a6589bdbfc6fd752665ae5643b62
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/include/flang/Runtime/support.h
M flang/runtime/support.cpp
M flang/unittests/Runtime/Support.cpp
Log Message:
-----------
[flang][runtime] add IsAssumedSize API (#93857)
Needed for SELECT RANK implementation. I want to stay away from
generating the `rank > 0 && ...` logic in FIR codegen for now.
Commit: 5228c2cbd6d834a76c24ca9f2aaa2c4f7a0b5510
https://github.com/llvm/llvm-project/commit/5228c2cbd6d834a76c24ca9f2aaa2c4f7a0b5510
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/test/Fir/fir-ops.fir
M flang/test/Fir/invalid.fir
Log Message:
-----------
[flang][FIR] add fir.is_assumed_size operation (#93853)
Assumed-rank fir.box/class may describe assumed-size array. This case
needs special handling in SELECT RANK. It is not possible to generate
FIR code to detect that a fir.box is an assumed-size (the way to detect
that is to check that upper dimension extent is -1 in the descriptor).
Instead of emitting a runtime call directly in lowering, add an
operation that can later be lowered to a runtime call or inline code
when the descriptor layout is known.
Commit: 0821b7937c2b7528b1d3a0fa06eb241ae9ce4074
https://github.com/llvm/llvm-project/commit/0821b7937c2b7528b1d3a0fa06eb241ae9ce4074
Author: Fabian Ritter <fabian.ritter at amd.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/DSInstructions.td
M llvm/lib/Target/AMDGPU/FLATInstructions.td
M llvm/lib/Target/AMDGPU/SMInstructions.td
M llvm/lib/Target/AMDGPU/SOPInstructions.td
M llvm/lib/Target/AMDGPU/VOPInstructions.td
Log Message:
-----------
[AMDGPU] Copy Defs and Uses from Pseudo to Real Instructions (#93004)
Currently, the tablegen files that generate the instruction definitions
in lib/Target/AMDGPU/AMDGPUGenInstrInfo.inc often only include implicit
operands for the architecture-independent pseudo instructions, but not
for the corresponding real instructions. The missing implicit operands
(most prominently: the EXEC mask) do not affect code generation, since
that operates on pseudo instructions, but they are problematic when
working with real instructions, e.g., as a decoding result from the MC
layer.
This patch copies the implicit Defs and Uses from pseudo instructions to
the corresponding real instructions, so that implicit operands are also
defined for real instructions.
Addresses issue #89830.
Commit: 63dc31b68b78bc0e5deef21b98cab72de997c471
https://github.com/llvm/llvm-project/commit/63dc31b68b78bc0e5deef21b98cab72de997c471
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/test/Analysis/builtin_signbit.cpp
M clang/test/CodeGen/catch-nullptr-and-nonzero-offset.c
M clang/test/CodeGen/constantexpr-fneg.c
M clang/test/CodeGenCXX/cxx11-thread-local.cpp
M clang/test/CodeGenCXX/ubsan-nullability-arg.cpp
M clang/test/CodeGenCXX/weak-external.cpp
M clang/test/Driver/linker-wrapper-image.c
M clang/test/OpenMP/threadprivate_codegen.cpp
M llvm/include/llvm/Analysis/TargetFolder.h
M llvm/include/llvm/IR/ConstantFolder.h
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/test/Assembler/ConstantExprFold.ll
M llvm/test/Assembler/ConstantExprNoFold.ll
M llvm/test/Assembler/vector-cmp.ll
M llvm/test/CodeGen/AMDGPU/lower-ctor-dtor-constexpr-alias.ll
M llvm/test/CodeGen/AMDGPU/lower-ctor-dtor.ll
M llvm/test/CodeGen/AMDGPU/lower-multiple-ctor-dtor.ll
M llvm/test/Instrumentation/MemorySanitizer/check-constant-shadow.ll
M llvm/test/Instrumentation/SanitizerBinaryMetadata/atomics.ll
M llvm/test/Transforms/Attributor/value-simplify.ll
M llvm/test/Transforms/InstCombine/binop-select-cast-of-select-cond.ll
M llvm/test/Transforms/InstCombine/constant-fold-address-space-pointer.ll
M llvm/test/Transforms/InstCombine/getelementptr.ll
M llvm/test/Transforms/InstCombine/hoist-xor-by-constant-from-xor-by-value.ll
M llvm/test/Transforms/InstCombine/pr33453.ll
M llvm/test/Transforms/InstCombine/pr83947.ll
M llvm/test/Transforms/InstCombine/rem.ll
M llvm/test/Transforms/InstCombine/select-and-or.ll
M llvm/test/Transforms/InstCombine/select-safe-transforms.ll
M llvm/test/Transforms/InstSimplify/ConstProp/bitcast.ll
M llvm/test/Transforms/InstSimplify/ConstProp/icmp-global.ll
M llvm/test/Transforms/InstSimplify/bitcast-vector-fold.ll
M llvm/test/Transforms/InstSimplify/compare.ll
M llvm/test/Transforms/InstSimplify/past-the-end.ll
M llvm/test/Transforms/JumpThreading/constant-fold-status.ll
M llvm/test/Transforms/LowerTypeTests/cfi-direct-call1.ll
M llvm/test/Transforms/LowerTypeTests/function-weak.ll
M llvm/test/Transforms/SCCP/conditions-ranges.ll
M llvm/test/Transforms/SimplifyCFG/phi-to-select-constexpr-icmp.ll
Log Message:
-----------
Reapply [IR] Avoid creating icmp/fcmp constant expressions (#92885)
Reapply after https://github.com/llvm/llvm-project/pull/93548,
which should address the lldb failure on macos.
-----
Do not create icmp/fcmp constant expressions in IRBuilder etc anymore,
i.e. treat them as "undesirable". This is in preparation for removing
them entirely.
Part of:
https://discourse.llvm.org/t/rfc-remove-most-constant-expressions/63179
Commit: e1cc9e4eaddcc295b4e775512e33b947b1514c17
https://github.com/llvm/llvm-project/commit/e1cc9e4eaddcc295b4e775512e33b947b1514c17
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/test/CodeGenCXX/2011-12-19-init-list-ctor.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
M clang/test/OpenMP/threadprivate_codegen.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/test/Other/constant-fold-gep.ll
M llvm/test/Transforms/InstCombine/gepgep.ll
M llvm/test/Transforms/InstCombine/getelementptr.ll
M llvm/test/Transforms/InstCombine/ptrtoint-nullgep.ll
Log Message:
-----------
[ConstantFold] Remove non-trivial gep-of-gep fold (#93823)
This fold is subtly incorrect, because DL-unaware constant folding does
not know the correct index type to use, and just performs the addition
in the type that happens to already be there. This is incorrect, since
sext(X)+sext(Y) is generally not the same as sext(X+Y). See the
`@constexpr_gep_of_gep_with_narrow_type()` for a miscompile with the
current implementation.
One could try to restrict the fold to cases where no overflow occurs,
but I'm not bothering with that here, because the DL-aware constant
folding will take care of this anyway. I've only kept the
straightforward zero-index case, where we just concatenate two GEPs.
Commit: be566d2eacdaed972b90d2eeb1e66d732c9fe7c1
https://github.com/llvm/llvm-project/commit/be566d2eacdaed972b90d2eeb1e66d732c9fe7c1
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/include/clang/AST/RecursiveASTVisitor.h
Log Message:
-----------
[clang] AST Visitor: skip empty qualifiers in QualifiedTemplateName (#93926)
Commit: f484c79e7a5c6502e12d3975734fb4335ab51103
https://github.com/llvm/llvm-project/commit/f484c79e7a5c6502e12d3975734fb4335ab51103
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bit-counting.ll
Log Message:
-----------
[AArch64] Avoid NEON ctpop in Streaming-SVE mode (#93826)
The NEON ctpop instruction is also used for scalars.
Commit: ae8627809076390dbab04e01f3bf9d384c9e124e
https://github.com/llvm/llvm-project/commit/ae8627809076390dbab04e01f3bf9d384c9e124e
Author: Yvan Roux <yvan.roux at foss.st.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/docs/Security.rst
Log Message:
-----------
[Nomination] Add ST representative to Security group (#93176)
I'd like to nominate myself to join the LLVM Security group as a
representative of ST. I work in ST's compiler team contributing to
upstream (LLVM and GNU) and several downstream toolchains. We believe
that it is important for us to be part of this group to address or
report any potential security issues the LLVM project or our toolchains
may encounter.
Commit: b86a9c5bf2fab0408a3d549995d6e2449f71a16d
https://github.com/llvm/llvm-project/commit/b86a9c5bf2fab0408a3d549995d6e2449f71a16d
Author: Théo Degioanni <theo.degioanni.llvm.deluge062 at simplelogin.fr>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
A mlir/include/mlir/Dialect/IRDL/IRDLSymbols.h
M mlir/lib/Dialect/IRDL/CMakeLists.txt
M mlir/lib/Dialect/IRDL/IR/IRDL.cpp
M mlir/lib/Dialect/IRDL/IR/IRDLOps.cpp
M mlir/lib/Dialect/IRDL/IRDLLoading.cpp
A mlir/lib/Dialect/IRDL/IRDLSymbols.cpp
M mlir/test/Dialect/IRDL/cmath.irdl.mlir
M mlir/test/Dialect/IRDL/cyclic-types.irdl.mlir
M mlir/test/Dialect/IRDL/invalid.irdl.mlir
M mlir/test/Dialect/IRDL/testd.irdl.mlir
Log Message:
-----------
[mlir][irdl] Lookup symbols near dialects instead of locally (#92819)
Because symbols cannot refer to operations outside of their symbol
tables, it was impossible to refer to operations outside of the dialect
currently being defined. This PR modifies the lookup logic to happen
relative to the symbol table containing the dialect-defining operations.
This is a bit of hack but should unblock the situation here.
Commit: 51e459a561519c8d51e2b4cadddc0d1f99c8b7ef
https://github.com/llvm/llvm-project/commit/51e459a561519c8d51e2b4cadddc0d1f99c8b7ef
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/test/CodeGenCXX/2011-12-19-init-list-ctor.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
M clang/test/OpenMP/threadprivate_codegen.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/test/Other/constant-fold-gep.ll
M llvm/test/Transforms/InstCombine/gepgep.ll
M llvm/test/Transforms/InstCombine/getelementptr.ll
M llvm/test/Transforms/InstCombine/ptrtoint-nullgep.ll
Log Message:
-----------
Revert "[ConstantFold] Remove non-trivial gep-of-gep fold (#93823)"
This reverts commit e1cc9e4eaddcc295b4e775512e33b947b1514c17.
This causes some non-trivial text size increases in unoptimized
builds for Bullet. Revert while I investigate.
Commit: b1be480b034f75bbc245bffc10d8cdc7193568d1
https://github.com/llvm/llvm-project/commit/b1be480b034f75bbc245bffc10d8cdc7193568d1
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAGCombiner] Move CanReassociate down to first use. NFC.
Commit: 48ba7da9c8e3d03beb27e3a5acf34a3a180d202d
https://github.com/llvm/llvm-project/commit/48ba7da9c8e3d03beb27e3a5acf34a3a180d202d
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M libc/src/string/memory_utils/op_x86.h
M libc/src/string/memory_utils/utils.h
Log Message:
-----------
[libc][NFC] Allow compilation of `memcpy` with `-m32` (#93790)
Needed to support i386 (#93709).
Commit: 2766a66fa777bbb654e08ccbcfdc3e61b70ba015
https://github.com/llvm/llvm-project/commit/2766a66fa777bbb654e08ccbcfdc3e61b70ba015
Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.h
Log Message:
-----------
[AMDGPU] Remove FlatVariant argument from isLegalFlatAddressingMode. NFC. (#93938)
This argument is easily deduced from AS argument.
Commit: de32a3df354f1d01c0a5c81285ac786cea9d8bdf
https://github.com/llvm/llvm-project/commit/de32a3df354f1d01c0a5c81285ac786cea9d8bdf
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/test/OpenMP/for_private_codegen.cpp
M clang/test/OpenMP/for_reduction_codegen.cpp
M clang/test/OpenMP/for_reduction_codegen_UDR.cpp
M clang/test/OpenMP/parallel_copyin_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_firstprivate_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_lastprivate_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/sections_lastprivate_codegen.cpp
M clang/test/OpenMP/sections_private_codegen.cpp
M clang/test/OpenMP/sections_reduction_codegen.cpp
M clang/test/OpenMP/single_private_codegen.cpp
Log Message:
-----------
[Clang] Regenerate test checks (NFC)
To minimize diffs in an upcoming change.
Commit: 60a890d8556c3af3f0f3e6aeb1c29340f9bf27b6
https://github.com/llvm/llvm-project/commit/60a890d8556c3af3f0f3e6aeb1c29340f9bf27b6
Author: Sergey Kachkov <sergey.kachkov at syntacore.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
A llvm/test/Transforms/LoopUnroll/peel-loop-min-max-intrinsics.ll
Log Message:
-----------
[LoopPeel] Add pre-commit test for min/max intrinsics
Commit: c8fad4fb88b3c9cd7c4d0cf872273b44a879526f
https://github.com/llvm/llvm-project/commit/c8fad4fb88b3c9cd7c4d0cf872273b44a879526f
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/include/flang/Optimizer/Transforms/Passes.h
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/lib/Optimizer/Transforms/OMPMarkDeclareTarget.cpp
Log Message:
-----------
[flang][OpenMP][NFC] Reduce OMPMarkDeclareTarget boilerplate (#93797)
The pass constructor can be generated automatically by tablegen.
This pass does not need adapting to work with non-function top level
operations because it operates specifically on call operations inside of
an OpenMP declare target function.
Commit: a65771fce4a2f25f16d4b3918ad6a11370637f7b
https://github.com/llvm/llvm-project/commit/a65771fce4a2f25f16d4b3918ad6a11370637f7b
Author: Henry Linjamäki <henry.linjamaki at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/docs/UsersManual.rst
M clang/lib/Driver/ToolChains/SPIRV.cpp
M clang/test/Driver/hipspv-toolchain.hip
M clang/test/Driver/spirv-toolchain.cl
M clang/test/lit.site.cfg.py.in
Log Message:
-----------
[SPIR-V] Prefer llvm-spirv-<LLVM_VERSION_MAJOR> tool (#77897)
Prefer using `llvm-spirv-<LLVM_VERSION_MAJOR>` tool (i.e.
`llvm-spirv-18`) over plain `llvm-spirv`. If the versioned tool is not
found in PATH, fall back to use the plain `llvm-spirv`.
An issue with the using `llvm-spirv` is that the one found in PATH might
be compiled against older LLVM version which could lead to crashes or
obscure bugs. For example, `llvm-spirv` distributed by Ubuntu links
against different LLVM version depending on the Ubuntu release (LLVM-10
in 20.04LTS, LLVM-13 in 22.04LTS).
Commit: 196dca7561b4c3865ef7d5e45c22d215619d7385
https://github.com/llvm/llvm-project/commit/196dca7561b4c3865ef7d5e45c22d215619d7385
Author: Endre Fülöp <endre.fulop at sigmatechnology.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/docs/analyzer/checkers.rst
Log Message:
-----------
[clang][analyzer][NFC] Improve docs of alpha.unix.BlockInCriticalSection (#93812)
- Enhanced descriptions for blocking and critical section functions
- Added an additional code sample highlighting interleaved C and C++
style mutexes
Commit: 46b3145b7c6bbe7014f9e790236717e4f8a711d8
https://github.com/llvm/llvm-project/commit/46b3145b7c6bbe7014f9e790236717e4f8a711d8
Author: Endre Fülöp <endre.fulop at sigmatechnology.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/docs/analyzer/checkers.rst
M clang/test/Analysis/block-in-critical-section.cpp
Log Message:
-----------
[clang][analyzer][NFC] Add test for a limitation of alpha.unix.BlockInCriticalSection checker (#93799)
Updated the documentation in `checkers.rst` to include an example of how
`trylock` function is handled.
Added a new test for a scenario where `pthread_mutex_trylock` is used,
demonstrating the current limitation.
Commit: f34dedbf44a0578430f81de94f294f4474fee0fb
https://github.com/llvm/llvm-project/commit/f34dedbf44a0578430f81de94f294f4474fee0fb
Author: Sergey Kachkov <109674256+skachkov-sc at users.noreply.github.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Transforms/Utils/LoopPeel.cpp
M llvm/test/Transforms/LoopUnroll/peel-loop-min-max-intrinsics.ll
Log Message:
-----------
[LoopPeel] Support min/max intrinsics in loop peeling (#93162)
This patch adds processing of min/max intrinsics in LoopPeel in the
similar way as it was done for conditional statements: for
min/max(IterVal, BoundVal) we peel iterations where IterVal < BoundVal
for monotonically increasing IterVal; for monotonically decreasing
IterVal we peel iterations where IterVal > BoundVal (strict comparision
predicates are used to minimize number of peeled iterations).
Commit: 189efb0fbb5af31bebcc1eefdf41296e7e72b425
https://github.com/llvm/llvm-project/commit/189efb0fbb5af31bebcc1eefdf41296e7e72b425
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/test/CodeGen/X86/vselect-pcmp.ll
Log Message:
-----------
[X86] vselect-pcmp.ll - add tests showing poor codegen on AVX1 targets where we have to split/concat 128-bit subvectors
We'd be better off consistently using 128-bit instructions
Based off a regression reported after #92794
Commit: 8f4d5a32ace7f858881b6a59663ff6596b162dbc
https://github.com/llvm/llvm-project/commit/8f4d5a32ace7f858881b6a59663ff6596b162dbc
Author: Adam Siemieniuk <adam.siemieniuk at intel.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M mlir/lib/Dialect/Tensor/Transforms/ReshapePatterns.cpp
M mlir/test/Dialect/Tensor/fold-reassociative-reshapes.mlir
Log Message:
-----------
[mlir][tensor] Fold unpadding collapse_shape into extract_slice (#93554)
Commit: f917c396c9855d7e0af0b1b3e6209757c2de0b51
https://github.com/llvm/llvm-project/commit/f917c396c9855d7e0af0b1b3e6209757c2de0b51
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/HLFIRTools.h
M flang/lib/Lower/ConvertExprToHLFIR.cpp
M flang/lib/Optimizer/Builder/HLFIRTools.cpp
M flang/test/HLFIR/maxloc-elemental.fir
M flang/test/HLFIR/minloc-elemental.fir
Log Message:
-----------
[flang] improve and rename Entity::hasNonDefaultLowerBounds (#93848)
Improve hasNonDefaultLowerBounds to follow box fir.convert. This helps
HLFIR helpers to generate less code when it can be easily deduced that
the fir.box lower bounds were set to ones.
It will help me for SELECT RANK lowering to avoid generating
hlfir.declare with lower bounds inside the RANK CASE (Current situation
would not be incorrect, the lower bounds would be SSA value ending-up
being one, I just want simpler IR).
Renamed to mayHaveNonDefaultLowerBounds since it may still answer yes when
the lower bounds are ones.
Commit: 7acd2c0652250994a4d922bda7275d750f7bf1b7
https://github.com/llvm/llvm-project/commit/7acd2c0652250994a4d922bda7275d750f7bf1b7
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lld/ELF/Arch/AArch64.cpp
M lld/test/ELF/aarch64-fpic-got.s
Log Message:
-----------
[lld][ELF][AArch64] Support `R_AARCH64_GOT_LD_PREL19` relocation (#89592)
With tiny code model, the GOT slot contents can be loaded via `ldr x0,
:got:sym` which corresponds to `R_AARCH64_GOT_LD_PREL19` static
GOT-relative relocation.
See
https://github.com/ARM-software/abi-aa/blob/main/aaelf64/aaelf64.rst#static-aarch64-relocations
Commit: 23427b808c84fcbf20315dbbb62f6b48edf36c21
https://github.com/llvm/llvm-project/commit/23427b808c84fcbf20315dbbb62f6b48edf36c21
Author: Elvina Yakubova <eyakubova at nvidia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M bolt/lib/Rewrite/DWARFRewriter.cpp
Log Message:
-----------
[BOLT][NFC] Fix typo in DWARFRewriter.cpp (#93955)
Commit: 37ecd43335f8ff57ea2df8d86f8b5a35c7cee5c2
https://github.com/llvm/llvm-project/commit/37ecd43335f8ff57ea2df8d86f8b5a35c7cee5c2
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
Log Message:
-----------
[ExecutionEngine] Remove handling for removed ConstantExprs (NFCI)
These constant expressions no longer exist, so don't handle them.
Commit: 765ce869916e2d0652e55cacea1cd175c4ad862b
https://github.com/llvm/llvm-project/commit/765ce869916e2d0652e55cacea1cd175c4ad862b
Author: Elvina Yakubova <eyakubova at nvidia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M bolt/docs/CommandLineArgumentReference.md
A bolt/docs/generate_doc.py
Log Message:
-----------
[BOLT][DOC] Add script for automatic user guide generation (#93822)
Commit: f0e8d003e5157c128f8f2375eac487b38e445648
https://github.com/llvm/llvm-project/commit/f0e8d003e5157c128f8f2375eac487b38e445648
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/test/CodeGen/X86/widen_load-3.ll
Log Message:
-----------
[X86] widen_load-3.ll - add missing nounwind attributes
Commit: 6ee845d2401b7f0e5f385fc0e3a8cb44afd667dc
https://github.com/llvm/llvm-project/commit/6ee845d2401b7f0e5f385fc0e3a8cb44afd667dc
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/IR/Constants.cpp
Log Message:
-----------
[IR] Remove handling for removed ConstantExprs (NFC)
Commit: 654cd946296586e00c8d2f203a137b6a6b0d8be7
https://github.com/llvm/llvm-project/commit/654cd946296586e00c8d2f203a137b6a6b0d8be7
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Log Message:
-----------
[VPlan] Unconditionally run optimizeForVFAndUF.
Now that the VPlan for the main vector loop gets cloned in the epilogue
vectorization code path, there optimizeForVFAndUF can be applied
unconditionally.
Commit: b52962d1b89ca9102a89497743b7576d572b437e
https://github.com/llvm/llvm-project/commit/b52962d1b89ca9102a89497743b7576d572b437e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/vselect-pcmp.ll
Log Message:
-----------
[X86] LowerVSELECT - split v16i16/v32i8 pre-AVX2 VSELECT ops if enough of the operands are free to split.
Often on AVX1 we're better off consistently using 128-bit instructions, so recognise when the operands are loads that can be freely/cheaply split - ideally this functionality needs to be moved to isFreeToSplitVector but we're using it in a few places where we don't want to split loads yet.
Based off a regression reported after #92794
Commit: 5c7f7cc4dea3e202b56cebaa303d7fb8b26fc18e
https://github.com/llvm/llvm-project/commit/5c7f7cc4dea3e202b56cebaa303d7fb8b26fc18e
Author: David Truby <david.truby at arm.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/test/Driver/exec.f90
Log Message:
-----------
[flang] Fix exec.f90 test on LIT integrated shell (#93961)
The exec.f90 test sets an environment variable for a specific command
directly
rather than using env, which doesn't work on shells that don't support
this
syntax, most notably the LIT integrated shell. This patch simply adds
env so
that this works on the integrated shell.
Commit: edf4e02906bd0c57087a44e5c4890ffc453667b2
https://github.com/llvm/llvm-project/commit/edf4e02906bd0c57087a44e5c4890ffc453667b2
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-trunc-sat-clip.ll
M llvm/test/CodeGen/RISCV/rvv/trunc-sat-clip-sdnode.ll
Log Message:
-----------
[RISCV] Support multiple levels of truncates in combineTruncToVnclip. (#93752)
We can use multiple vnclips to saturate an i32 value into an i8 value.
Commit: 6163775077236a0e602759912872a06162efd01b
https://github.com/llvm/llvm-project/commit/6163775077236a0e602759912872a06162efd01b
Author: Kirill Podoprigora <kirill.bast9 at mail.ru>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/README.txt
Log Message:
-----------
[clang] ``README.txt``: Replace the link to the old bug tracker with the new one. (#93878)
Commit: fb87e11e7253656ffe99726f45b679e08343bd5f
https://github.com/llvm/llvm-project/commit/fb87e11e7253656ffe99726f45b679e08343bd5f
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/strided-load-store.ll
Log Message:
-----------
[RISCV] Add test case for strided scatter with scalar offset. NFC
Commit: c5e417a812d86226b087346cadb05d3aae9fe1d0
https://github.com/llvm/llvm-project/commit/c5e417a812d86226b087346cadb05d3aae9fe1d0
Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lldb/source/Interpreter/CommandInterpreter.cpp
M lldb/test/API/commands/session/save/TestSessionSave.py
Log Message:
-----------
[lldb] Fix 'session save' command on Windows
1. Use dashes (-) instead of colons (:) as time separator in a session log
file name since Windows doesn't support saving files with names containing
colons.
2. Temporary file creation code is changed in the test:
On Windows, the temporary file should be closed before 'session save'
writes session log to it. NamedTemporaryFile() can preserve the file
after closing it with delete_on_close=False option.
However, this option is only available since Python 3.12. Thus
mkstemp() is used for temporary file creation as the more compatible
option.
Commit: e6bef08e22ac52aca0d6364f972cfb49c483adb3
https://github.com/llvm/llvm-project/commit/e6bef08e22ac52aca0d6364f972cfb49c483adb3
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
M flang/test/HLFIR/bufferize01.fir
Log Message:
-----------
[flang] Avoid double free in bufferize pass (#93922)
In some cases where we have an `hlfir.no_reassoc` operation, the
bufferization pass could not earse the hlfir.destroy op during the
`hlfir.associate` op conversion as show in the example below.
```
func.func @double_free(%arg0: !fir.boxchar<1>) {
%c5 = arith.constant 5 : index
%true = arith.constant true
%0 = hlfir.as_expr %arg0 move %true : (!fir.boxchar<1>, i1) -> !hlfir.expr<!fir.char<1,?>>
%1 = hlfir.no_reassoc %0 : !hlfir.expr<!fir.char<1,?>>
%2:3 = hlfir.associate %1 typeparams %c5 {adapt.valuebyref} : (!hlfir.expr<!fir.char<1,?>>, index) -> (!fir.boxchar<1>, !fir.ref<!fir.char<1,?>>, i1)
fir.call @noop(%2#0) : (!fir.boxchar<1>) -> ()
hlfir.end_associate %2#1, %2#2 : !fir.ref<!fir.char<1,?>>, i1
hlfir.destroy %0 : !hlfir.expr<!fir.char<1,?>>
return
}
func.func private @noop(!fir.boxchar<1>)
```
The bufferization pass is looking at uses of its source `%1` that is the
result of an `hlfir.no_reassoc` operation. In order to avoid double free
generation, also look at the indirection in presence of
`hlfir.no_reassoc`.
Commit: 5e423f1c5119387879c04069f048d6dbfc2c90d6
https://github.com/llvm/llvm-project/commit/5e423f1c5119387879c04069f048d6dbfc2c90d6
Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lldb/packages/Python/lldbsuite/test/dotest.py
M lldb/packages/Python/lldbsuite/test/dotest_args.py
Log Message:
-----------
[lldb][test] Add --sysroot argument to dotest.py
This argument allows to set specific sysroot pass which will be used for
building LLDB API test programs.
It might come in handy for setting up cross-platform remote runs of API
tests on Windows host.
It can be useful for cross-compiling LLDB API tests. The argument can be
set using `LLDB_TEST_USER_ARGS` argument:
```
cmake ...
-DLLDB_TEST_USER_ARGS="...;--sysroot;C:\path\to\sysroot;..."
...
```
Commit: ca0dae0d6be55863d0113d0a7e8e62e3f4763028
https://github.com/llvm/llvm-project/commit/ca0dae0d6be55863d0113d0a7e8e62e3f4763028
Author: Ivan Kosarev <ivan.kosarev at amd.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInstrFormats.td
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/SIInstructions.td
Log Message:
-----------
[AMDGPU][NFC] Eliminate GCNPredicateControl. (#93964)
Removes ~100K instances of SIAssemblerPredicate and VIAssemblerPredicate
fields from instruction records.
Commit: 85ea1aaf15b3721aaea35280ffdedad36128bf6b
https://github.com/llvm/llvm-project/commit/85ea1aaf15b3721aaea35280ffdedad36128bf6b
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/lib/Sema/SemaOpenACC.cpp
M clang/test/SemaOpenACC/compute-construct-device_type-clause.c
Log Message:
-----------
[OpenACC] Fix device_type clause appertainment
Seemingly I forgot to implement the appertainment checks when doing the
original device_type implementation, so we fell through to the 'not
implemented' section of the diagnostics.
This patch corrects the appertainment, so that we disallow it correctly.
Commit: 98d5d3448d9ddc6fb07855eb45a08652bd530c01
https://github.com/llvm/llvm-project/commit/98d5d3448d9ddc6fb07855eb45a08652bd530c01
Author: Victor Perez <victor.perez at codeplay.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
A mlir/include/mlir/Conversion/GPUToLLVMSPV/GPUToLLVMSPVPass.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/GPUToLLVMSPV/CMakeLists.txt
A mlir/lib/Conversion/GPUToLLVMSPV/GPUToLLVMSPV.cpp
A mlir/test/Conversion/GPUToLLVMSPV/gpu-to-llvm-spv.mlir
Log Message:
-----------
[MLIR][GPU-LLVM] Define `-convert-gpu-to-llvm-spv` pass (#90972)
Define pass for GPU to LLVM conversion for SPIR-V backend tool ingest.
Supported operations:
- `gpu.block_id`
- `gpu.global_id`
- `gpu.block_dim`
- `gpu.thread_id`
- `gpu.grid_dim`
- `gpu.barrier`
- `gpu.shuffle`
---------
Signed-off-by: Victor Perez <victor.perez at codeplay.com>
Commit: 7b6a89f346f281e5b7caa593a8c484eaf4264055
https://github.com/llvm/llvm-project/commit/7b6a89f346f281e5b7caa593a8c484eaf4264055
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lld/ELF/LinkerScript.cpp
M lld/ELF/LinkerScript.h
M lld/ELF/Writer.cpp
M lld/test/ELF/linkerscript/memory-err.s
A lld/test/ELF/linkerscript/section-not-converge.test
Log Message:
-----------
[ELF] Detect convergence of output section addresses
Some linker scripts don't converge. https://reviews.llvm.org/D66279
("[ELF] Make LinkerScript::assignAddresses iterative") detected
convergence of symbol assignments.
This patch detects convergence of output section addresses. While input
sections might also have convergence issues, they are less common as
expressions that could cause convergence issues typically involve output
sections and symbol assignments.
GNU ld has an error `non constant or forward reference address expression for section` that
correctly rejects
```
SECTIONS {
.text ADDR(.data)+0x1000 : { *(.text) }
.data : { *(.data) }
}
```
but not the following variant:
```
SECTIONS {
.text foo : { *(.text) }
.data : { *(.data) }
foo = ADDR(.data)+0x1000;
}
```
Our approach consistently rejects both cases.
Link: https://discourse.llvm.org/t/lld-and-layout-convergence/79232
Pull Request: https://github.com/llvm/llvm-project/pull/93888
Commit: 57eb92ea6c1fbc64692221727219078636ed6c86
https://github.com/llvm/llvm-project/commit/57eb92ea6c1fbc64692221727219078636ed6c86
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/test/tools/llvm-objdump/X86/source-interleave-x86_64.test
Log Message:
-----------
[llvm-objdump][test] Relax directory prefix check in source-interleave test (#93789)
This test currently has an explicit regex for characters that are
supposedly valid inside a directory name -- however, it does not
actually cover all necessary characters. For example, this test fails if
the path contains a tilde.
Instead, replace this with a wildcard.
Commit: 775f1cd34daffa3e188bddcd600b6ccad1f72d24
https://github.com/llvm/llvm-project/commit/775f1cd34daffa3e188bddcd600b6ccad1f72d24
Author: Konstantin Zhuravlyov <kzhuravl_dev at outlook.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/test/Driver/amdgpu-macros.cl
M clang/test/Driver/amdgpu-mcpu.cl
M clang/test/Misc/target-invalid-cpu-note.c
M llvm/docs/AMDGPUUsage.rst
M llvm/include/llvm/BinaryFormat/ELF.h
M llvm/include/llvm/TargetParser/TargetParser.h
M llvm/lib/Object/ELFObjectFile.cpp
M llvm/lib/ObjectYAML/ELFYAML.cpp
M llvm/lib/Target/AMDGPU/AMDGPU.td
M llvm/lib/Target/AMDGPU/GCNProcessors.td
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
M llvm/lib/TargetParser/TargetParser.cpp
M llvm/test/CodeGen/AMDGPU/directive-amdgcn-target.ll
M llvm/test/CodeGen/AMDGPU/elf-header-flags-mach.ll
M llvm/test/CodeGen/AMDGPU/generic-targets-require-v6.ll
M llvm/test/CodeGen/AMDGPU/hsa-generic-target-features.ll
M llvm/test/Object/AMDGPU/elf-header-flags-mach.yaml
M llvm/test/tools/llvm-objdump/ELF/AMDGPU/subtarget.ll
M llvm/test/tools/llvm-readobj/ELF/AMDGPU/elf-headers.test
M llvm/tools/llvm-readobj/ELFDumper.cpp
Log Message:
-----------
AMDGPU: Add gfx12-generic target (#93875)
Commit: 97c34eb8df47543299500ee4cd0b877d184ed790
https://github.com/llvm/llvm-project/commit/97c34eb8df47543299500ee4cd0b877d184ed790
Author: Paul T Robinson <paul.robinson at sony.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/test/Driver/offloading-interoperability.c
M clang/test/Driver/openmp-offload-gpu.c
Log Message:
-----------
[CUDA] Fix a couple of driver tests that really weren't being run (#93960)
Commit: 6416958067179c2987af0ef4568cd57f98b7e347
https://github.com/llvm/llvm-project/commit/6416958067179c2987af0ef4568cd57f98b7e347
Author: Paul T Robinson <paul.robinson at sony.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/test/Driver/offloading-interoperability.c
M clang/test/Driver/openmp-offload-gpu.c
Log Message:
-----------
Revert "[CUDA] Fix a couple of driver tests that really weren't being run" (#93988)
Reverts llvm/llvm-project#93960
The change to offloading-interoperability.c broke many bots.
Commit: 07bd43945789e3fc8f57d21484a7f683d17166f3
https://github.com/llvm/llvm-project/commit/07bd43945789e3fc8f57d21484a7f683d17166f3
Author: RoseZhang03 <rosezhang at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/spec/stdc.td
M libc/src/__support/OSUtil/baremetal/CMakeLists.txt
A libc/src/__support/OSUtil/baremetal/exit.cpp
R libc/src/__support/OSUtil/baremetal/quick_exit.cpp
A libc/src/__support/OSUtil/exit.h
M libc/src/__support/OSUtil/gpu/CMakeLists.txt
A libc/src/__support/OSUtil/gpu/exit.cpp
R libc/src/__support/OSUtil/gpu/quick_exit.cpp
M libc/src/__support/OSUtil/linux/CMakeLists.txt
A libc/src/__support/OSUtil/linux/exit.cpp
R libc/src/__support/OSUtil/linux/quick_exit.cpp
R libc/src/__support/OSUtil/quick_exit.h
M libc/src/__support/libc_assert.h
M libc/src/stdlib/CMakeLists.txt
M libc/src/stdlib/_Exit.cpp
M libc/src/stdlib/exit.cpp
A libc/src/stdlib/quick_exit.cpp
A libc/src/stdlib/quick_exit.h
M libc/src/unistd/_exit.cpp
M libc/test/IntegrationTest/test.h
M libc/test/src/stdlib/CMakeLists.txt
A libc/test/src/stdlib/quick_exit_test.cpp
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[libc] added quick_exit function (#93620)
- In /libc/src/__support/ OSUtil, changed quick_exit to just exit, and
put in namespace
LIBC_NAMESPACE::internal.
- In /libc/src/stdlib added quick_exit
- Added test files for quick_exit
Commit: 3b79c823f6a84632dbc40065cf8ec4b2878a9453
https://github.com/llvm/llvm-project/commit/3b79c823f6a84632dbc40065cf8ec4b2878a9453
Author: Nico Weber <thakis at chromium.org>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/test/BUILD.gn
Log Message:
-----------
[gn] port a65771fce4a2
Commit: 41ddf128ea2ecfe0c418d2dfb5bbf99538498750
https://github.com/llvm/llvm-project/commit/41ddf128ea2ecfe0c418d2dfb5bbf99538498750
Author: David Stone <davidfromonline at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/include/clang/Basic/CustomizableOptional.h
Log Message:
-----------
Remove dangling conversion to `optional<T> &` (#93385)
Commit: 37f302348717d1cceb2708b50eb08d98789a3469
https://github.com/llvm/llvm-project/commit/37f302348717d1cceb2708b50eb08d98789a3469
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/lib/ProfileData/MemProf.cpp
Log Message:
-----------
[memprof] Use uint32_t for linear call stack IDs (#93924)
This patch switches to uint32_t for linear call stack IDs as uint32_t
is sufficient to index into the call stack array.
Commit: 13b6284b9321ea684b4df299f430124681a14d90
https://github.com/llvm/llvm-project/commit/13b6284b9321ea684b4df299f430124681a14d90
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Port #92819 (#93992)
Commit: 7caa812f2707fa3649c01000de6550dac226ce87
https://github.com/llvm/llvm-project/commit/7caa812f2707fa3649c01000de6550dac226ce87
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Port #92819 take 2 (#93995)
I missed this since it was still broken because of another patch
https://github.com/llvm/llvm-project/pull/93996
Commit: 1e81b67925fdd77a3d65ba2a7f652d1e840512f4
https://github.com/llvm/llvm-project/commit/1e81b67925fdd77a3d65ba2a7f652d1e840512f4
Author: jimingham <jingham at apple.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lldb/source/DataFormatters/FormatManager.cpp
M lldb/test/API/python_api/run_locker/TestRunLocker.py
Log Message:
-----------
[lldb] FormatManager::GetPossibleMatches assumes all ValueObjects have targets. (#93880)
But one made in a situation where that's impossible might only have an
error, and no symbol context, so that's not necessarily true. Check for
the target's validity before using it.
Fixes issue #93313
Commit: 34599266b27eb9265a4cde8a647059d25479f586
https://github.com/llvm/llvm-project/commit/34599266b27eb9265a4cde8a647059d25479f586
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Port #90972 (#93996)
Commit: 9482af3ddede001aa6a4c36855b0880bd9964bdf
https://github.com/llvm/llvm-project/commit/9482af3ddede001aa6a4c36855b0880bd9964bdf
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/lib/Lower/ConvertCall.cpp
M flang/test/HLFIR/c_ptr_byvalue.f90
M flang/test/Lower/CUDA/cuda-device-proc.cuf
M flang/test/Lower/HLFIR/assumed-rank-iface.f90
M flang/test/Lower/HLFIR/bindc-value-derived.f90
M flang/test/Lower/HLFIR/block_bindc_pocs.f90
M flang/test/Lower/HLFIR/call-sequence-associated-descriptors.f90
M flang/test/Lower/HLFIR/calls-character-singleton-result.f90
M flang/test/Lower/HLFIR/ignore-type-assumed-shape.f90
M flang/test/Lower/block.f90
A flang/test/Lower/call-bindc.f90
Log Message:
-----------
[flang] Carry over BIND(C) information to fir.call (#93981)
The BIND(C) attribute attached to a function can be lost when we do
indirect call. This information might be useful for codegen that have
specific ABI. This patch carry over the BIND(C) information to the
fir.call operation.
Commit: c232137d93425dd87ccf960ca9ad515417325634
https://github.com/llvm/llvm-project/commit/c232137d93425dd87ccf960ca9ad515417325634
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/lib/Lower/ConvertCall.cpp
A flang/test/Lower/HLFIR/elemental-result-length.f90
Log Message:
-----------
[flang][HLFIR] compute elemental function result length parameters (#93983)
Prepare the argument and map them to their corresponding dummy symbol in
order to lower the specification expression of the function result.
Extract the preparation of arguments according to the interface to its
own function to be reused.
It seems there is no need to conditionally compute the length on the
input since all the information comes from the CharBoxValue or the
descriptor for cases where the number of element could be 0.
Commit: 68a64812d7bac28412d43a0b4b19bae6db101c48
https://github.com/llvm/llvm-project/commit/68a64812d7bac28412d43a0b4b19bae6db101c48
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
A clang/test/C/C11/n1464.c
M clang/www/c_status.html
Log Message:
-----------
[C11] Claim conformance to N1464
That's on the CMPLX macros which Clang supports via __builtin_complex.
Commit: 458a31562aee703c15224dd9fcde19f67834a8f9
https://github.com/llvm/llvm-project/commit/458a31562aee703c15224dd9fcde19f67834a8f9
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/strided-load-store.ll
Log Message:
-----------
[RISCV] Add more tests for strided gathers with scalar offsets. NFC
Commit: f46d1463b835560d90ad3ac02b63c771e4ebe566
https://github.com/llvm/llvm-project/commit/f46d1463b835560d90ad3ac02b63c771e4ebe566
Author: Erick Velez <erickvelez7 at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/lib/Parse/ParseExprCXX.cpp
M clang/test/CXX/drs/cwg0xx.cpp
M clang/test/SemaCXX/cxx1y-variable-templates_in_class.cpp
M clang/test/SemaCXX/template-specialization.cpp
M clang/test/SemaTemplate/dependent-names.cpp
M clang/test/SemaTemplate/template-id-expr.cpp
M clang/test/SemaTemplate/template-id-printing.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang] require template arg list after template kw (#80801)
Require a template argument list after an identifier prefixed by the
template keyword. Introduced by [CWG
96](https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#96),
but the current wording of
[[temp.names]p5](https://eel.is/c++draft/temp.names#6) was introduced in
[P1787R6](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1787r6.html),
and became [temp.names]p6 somewhere else.
Fixes #53095
---------
Co-authored-by: Shafik Yaghmour <shafik.yaghmour at intel.com>
Commit: 3b81d9d91b18c2bd06bd36d8512a3a284a8980a9
https://github.com/llvm/llvm-project/commit/3b81d9d91b18c2bd06bd36d8512a3a284a8980a9
Author: Paul T Robinson <paul.robinson at sony.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/test/Driver/offloading-interoperability.c
M clang/test/Driver/openmp-offload-gpu.c
Log Message:
-----------
Reapply "[CUDA] Fix a couple of driver tests that really weren't bein… (#94000)
…g run" (#93988)"
This reverts commit 6416958067179c2987af0ef4568cd57f98b7e347.
Fix bots by using different options.
Commit: b06e736982a3568fe2bcea8688550f9e393b7450
https://github.com/llvm/llvm-project/commit/b06e736982a3568fe2bcea8688550f9e393b7450
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/MC/MCExpr.cpp
Log Message:
-----------
[MC] Speed up AttemptToFoldSymbolOffsetDifference in the absence of MCAsmLayout
The `FA < FB` check added by https://reviews.llvm.org/D153096 is slow.
Compute an informal layout order to speed up computation when
`AttemptToFoldSymbolOffsetDifference` is repeatedly called for the same
section.
Commit 9500a5d02e23f9b43294e5f662ac099f8989c0e4 ("[MC] Make UseAssemblerInfoForParsing mostly true")
exposed this performance pitfall, which was mitigated by
`setUseAssemblerInfoForParsing(false)` workarounds (e.g. commit
245491a9f384e4c53421196533c2a2b693efaf8d). The workaround can be removed
now.
Commit: 5a02a9a2e67444494f086dfe1cd6f15ba2210bc0
https://github.com/llvm/llvm-project/commit/5a02a9a2e67444494f086dfe1cd6f15ba2210bc0
Author: Dave Lee <davelee.com at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lldb/source/Core/Mangled.cpp
A lldb/test/API/lang/c/non-mangled/Makefile
A lldb/test/API/lang/c/non-mangled/TestCNonMangled.py
A lldb/test/API/lang/c/non-mangled/main.c
Log Message:
-----------
[lldb] Improve identification of Dlang mangled names (#93881)
Reduce false positive identification of C names as Dlang mangled names. This happens
when a C function uses the prefix `_D`.
The [Dlang ABI](https://dlang.org/spec/abi.html#name_mangling) shows that mangled names
have a length immediately following the `_D` prefix. This change checks for a digit
after the `_D` prefix, when identifying the mangling scheme of a symbol. This doesn't
prevent false positives entirely, but does make it less likely.
Commit: a9664407d7a9a4210133075e5adb67b365965727
https://github.com/llvm/llvm-project/commit/a9664407d7a9a4210133075e5adb67b365965727
Author: Valentin Clement <clementval at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/test/Lower/OpenMP/threadprivate-default-clause.f90
Log Message:
-----------
[flang][openmp] Fix test after PR #93981
Commit: e19565c5c4679ac7f5414f35137f6df4f70e713a
https://github.com/llvm/llvm-project/commit/e19565c5c4679ac7f5414f35137f6df4f70e713a
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M offload/plugins-nextgen/amdgpu/src/rtl.cpp
Log Message:
-----------
[Offload][AMDGPU] Only allow memory pool access to valid agents (#93969)
Summary:
The logic since the next-gen plugins was added was that every single
agent would get access to a memory pool we allocated. This is necessary
for things like fine-grained memory and to faciliate d2d copied.
However, there are cases where an agent cannot legally access a memory
pool. We have a debug check for this, but it would always be triggered
in these situations because both uses of the function simply passed
every agent. This patch changes the behavior by only enabling memory
pool access for agents that can access the memory pool.
Commit: e79c0806552880aa802c83f1edf59a3ffd39bdcc
https://github.com/llvm/llvm-project/commit/e79c0806552880aa802c83f1edf59a3ffd39bdcc
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/cmake/modules/FindLibEdit.cmake
Log Message:
-----------
[cmake] Allow multiple LibEdit_LIBRARIES (#93896)
If built statically, `libedit` may have a private static library
dependency on a provider of the `terminfo` API (e.g., `ncurses`). This
means that multiple libraries would need to be provided as the value for
`LibEdit_LIBRARIES`, but the current implementation of `FindLibEdit`
precludes this. This PR allows a list to be passed to
`LibEdit_LIBRARIES`.
Commit: 435e5c10b0ea6cf2a9674760ef2f4977412386eb
https://github.com/llvm/llvm-project/commit/435e5c10b0ea6cf2a9674760ef2f4977412386eb
Author: RoseZhang03 <rosezhang at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M libc/src/__support/OSUtil/linux/exit.cpp
Log Message:
-----------
[libc] restored original no_stack_protector syntax (#94005)
forward fix for #93620
-GCC doesn't recognize [[clang:: ']] prefix, so restored the original
__attribute__ syntax
Commit: ed155f3f237a7e3a3e40a84d815225d27e83f0db
https://github.com/llvm/llvm-project/commit/ed155f3f237a7e3a3e40a84d815225d27e83f0db
Author: Petr Hosek <phosek at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M libcxx/CMakeLists.txt
M libcxxabi/CMakeLists.txt
M libunwind/CMakeLists.txt
M llvm-libgcc/CMakeLists.txt
Log Message:
-----------
[runtimes] Correctly apply libdir subdir for multilib (#93354)
We weren't applying the libdir subdir to header directories but this is
necessary for correctness when building e.g. ASan variant. This change
also updates path construction logic accross all runtimes and ensures
they're consistent.
Commit: 4be3083bb39836466680a15f970ecc883d2e362a
https://github.com/llvm/llvm-project/commit/4be3083bb39836466680a15f970ecc883d2e362a
Author: shaw young <58664393+shawbyoung at users.noreply.github.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M bolt/include/bolt/Core/BinaryBasicBlock.h
M bolt/lib/Core/BinaryFunction.cpp
M bolt/lib/Passes/IdenticalCodeFolding.cpp
M bolt/lib/Profile/YAMLProfileWriter.cpp
Log Message:
-----------
[BOLT] Remove mutable from BB::LayoutIndex (#93224)
Removed mutability from BB::LayoutIndex, subsequently removed const from
BB::SetLayout, and changed BF::dfs to track visited blocks with a set as
opposed to tracking and altering LayoutIndexes for more consistent code.
Commit: 95810690287283b3180a4a4f2452b4e4d51e217b
https://github.com/llvm/llvm-project/commit/95810690287283b3180a4a4f2452b4e4d51e217b
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lld/test/ELF/fatlto/fatlto.test
Log Message:
-----------
[lld][test] Precommit test for ld -r links with FatLTO PIC objects (#92817)
Currently, with PIC relocatable links, FatLTO sections are treated as
orphan
sections and incorrectly concatenated together. This test verifies the
current
behavior, but should be fixed to either merge those sections into a
single llvm
module, similar to what `llvm-link` would produce, or to drop them
altogether.
Commit: f2f6569ecabd54cc7d26bf77424c0b8b674bf14d
https://github.com/llvm/llvm-project/commit/f2f6569ecabd54cc7d26bf77424c0b8b674bf14d
Author: Jeremy Kun <jkun at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M mlir/lib/Dialect/Polynomial/IR/PolynomialOps.cpp
M mlir/test/Dialect/Polynomial/ops.mlir
Log Message:
-----------
[mlir][polynomial] ensure primitive root calculation doesn't overflow (#93368)
Rebased over https://github.com/llvm/llvm-project/pull/93243
Co-authored-by: Jeremy Kun <j2kun at users.noreply.github.com>
Commit: 96d19fdc2678d1246bb14fed3ff0fc557893d2c4
https://github.com/llvm/llvm-project/commit/96d19fdc2678d1246bb14fed3ff0fc557893d2c4
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/include/llvm/ADT/STLExtras.h
Log Message:
-----------
[ADT] Remove llvm::erase_value (#94003)
The function has been deprecated since:
commit f9306f6de3bd19a2dcacd64566852a5f92c86e77
Author: Kazu Hirata <kazu at google.com>
Date: Tue Oct 24 23:03:13 2023 -0700
Commit: 99a0cd6f7edcb184a65d2e65842e7d9ece2a5eaf
https://github.com/llvm/llvm-project/commit/99a0cd6f7edcb184a65d2e65842e7d9ece2a5eaf
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/test/CodeGen/RISCV/rvv/rvv-peephole-vmerge-vops.ll
M llvm/test/CodeGen/RISCV/rvv/vfredmax.ll
M llvm/test/CodeGen/RISCV/rvv/vfredmin.ll
M llvm/test/CodeGen/RISCV/rvv/vfredosum.ll
M llvm/test/CodeGen/RISCV/rvv/vfredusum.ll
M llvm/test/CodeGen/RISCV/rvv/vfwredosum.ll
M llvm/test/CodeGen/RISCV/rvv/vfwredusum.ll
M llvm/test/CodeGen/RISCV/rvv/vredand.ll
M llvm/test/CodeGen/RISCV/rvv/vredmax.ll
M llvm/test/CodeGen/RISCV/rvv/vredmaxu.ll
M llvm/test/CodeGen/RISCV/rvv/vredmin.ll
M llvm/test/CodeGen/RISCV/rvv/vredminu.ll
M llvm/test/CodeGen/RISCV/rvv/vredor.ll
M llvm/test/CodeGen/RISCV/rvv/vredsum.ll
M llvm/test/CodeGen/RISCV/rvv/vredxor.ll
M llvm/test/CodeGen/RISCV/rvv/vwredsum.ll
M llvm/test/CodeGen/RISCV/rvv/vwredsumu.ll
Log Message:
-----------
[RISCV] Use TU policy for C reduction intrinsics. (#93970)
The C intrinsics should allow a value to be specified for the upper
elements.
This used to work before https://reviews.llvm.org/D146752 which should
have only changed the behavior for the autovectorizer. It clearly
changed all reductions.
Commit: 3320249688d216a25d5297152e59b58e3fb89915
https://github.com/llvm/llvm-project/commit/3320249688d216a25d5297152e59b58e3fb89915
Author: Adam Paszke <apaszke at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M mlir/lib/Target/LLVM/NVVM/Target.cpp
Log Message:
-----------
[MLIR][NVVM] Make the call to findTool optional for fatbinary (#93968)
Commit: fc21387b6510ee44520f2f17fb671f1265a9055f
https://github.com/llvm/llvm-project/commit/fc21387b6510ee44520f2f17fb671f1265a9055f
Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.h
M llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
M llvm/test/CodeGen/AMDGPU/promote-constOffset-to-imm.mir
Log Message:
-----------
[AMDGPU] Enable constant offset promotion to immediate FLAT (#93884)
Currently it is only supported for FLAT Global.
Commit: 5849cbad0f124fed6773f47b67160d8674c93a9a
https://github.com/llvm/llvm-project/commit/5849cbad0f124fed6773f47b67160d8674c93a9a
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M libc/utils/gpu/loader/Loader.h
M libc/utils/gpu/loader/amdgpu/Loader.cpp
M libc/utils/gpu/loader/nvptx/Loader.cpp
Log Message:
-----------
[libc] Add line numbers to libc utility error messages (#94010)
Summary:
Currently we just print the error as seen, this makes it difficult if
something goes wrong to know where it failed. This patch just adds in
line numbers to all the error handling routines so you can trace it
back.
Commit: 6119340e0bc538fbb884cea405fd6add9ed5798c
https://github.com/llvm/llvm-project/commit/6119340e0bc538fbb884cea405fd6add9ed5798c
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/lib/Sema/SemaOpenACC.cpp
M clang/test/SemaOpenACC/compute-construct-async-clause.c
M clang/test/SemaOpenACC/compute-construct-attach-clause.c
M clang/test/SemaOpenACC/compute-construct-copy-clause.c
M clang/test/SemaOpenACC/compute-construct-copyin-clause.c
M clang/test/SemaOpenACC/compute-construct-copyout-clause.c
M clang/test/SemaOpenACC/compute-construct-create-clause.c
M clang/test/SemaOpenACC/compute-construct-default-clause.c
M clang/test/SemaOpenACC/compute-construct-deviceptr-clause.c
M clang/test/SemaOpenACC/compute-construct-firstprivate-clause.c
M clang/test/SemaOpenACC/compute-construct-if-clause.c
M clang/test/SemaOpenACC/compute-construct-no_create-clause.c
M clang/test/SemaOpenACC/compute-construct-num_gangs-clause.c
M clang/test/SemaOpenACC/compute-construct-num_workers-clause.c
M clang/test/SemaOpenACC/compute-construct-present-clause.c
M clang/test/SemaOpenACC/compute-construct-private-clause.c
M clang/test/SemaOpenACC/compute-construct-reduction-clause.c
M clang/test/SemaOpenACC/compute-construct-self-clause.c
M clang/test/SemaOpenACC/compute-construct-vector_length-clause.c
M clang/test/SemaOpenACC/compute-construct-wait-clause.c
Log Message:
-----------
[OpenACC] Audit/add tests to ensure we enforce appertainment correctly
I apparently missed a few other clauses as well when doing my initial
implementation, so this adds tests for all, and fixes up the few that
had problems.
This is something that I'll do better to keep an eye on, though
shouldn't be necessary once the rest of the clauses are implemented and
we can remove the 'default' case.
Commit: cab81dd03813ac6333ad7fc031d72b84341fe2b9
https://github.com/llvm/llvm-project/commit/cab81dd03813ac6333ad7fc031d72b84341fe2b9
Author: Egor Pasko <pasko at chromium.org>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/lib/CodeGen/BackendUtil.cpp
M clang/test/CodeGen/X86/x86_64-instrument-functions.c
M clang/test/CodeGen/instrument-objc-method.m
M clang/test/CodeGen/lto-newpm-pipeline.c
M clang/test/CodeGen/mcount-aix.c
M clang/test/CodeGen/mcount.c
M clang/test/Frontend/gnu-mcount.c
M llvm/include/llvm/InitializePasses.h
M llvm/include/llvm/LinkAllPasses.h
M llvm/include/llvm/Transforms/Utils.h
M llvm/lib/CodeGen/TargetPassConfig.cpp
M llvm/lib/Passes/PassBuilderPipelines.cpp
M llvm/lib/Transforms/Scalar/Scalar.cpp
M llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
M llvm/test/CodeGen/AArch64/O0-pipeline.ll
M llvm/test/CodeGen/AArch64/O3-pipeline.ll
M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
M llvm/test/CodeGen/ARM/O3-pipeline.ll
M llvm/test/CodeGen/LoongArch/O0-pipeline.ll
M llvm/test/CodeGen/LoongArch/opt-pipeline.ll
M llvm/test/CodeGen/PowerPC/O0-pipeline.ll
M llvm/test/CodeGen/PowerPC/O3-pipeline.ll
M llvm/test/CodeGen/RISCV/O0-pipeline.ll
M llvm/test/CodeGen/RISCV/O3-pipeline.ll
M llvm/test/CodeGen/X86/O0-pipeline.ll
A llvm/test/CodeGen/X86/instrument-function-inlined.ll
M llvm/test/CodeGen/X86/opt-pipeline.ll
M llvm/test/Other/new-pass-manager.ll
M llvm/test/Other/new-pm-O0-defaults.ll
M llvm/test/Other/new-pm-defaults.ll
M llvm/test/Other/new-pm-thinlto-prelink-defaults.ll
M llvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
M llvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
A llvm/test/Transforms/EntryExitInstrumenter/pre-inliner-instrumentation.ll
M llvm/tools/llc/llc.cpp
M llvm/tools/opt/optdriver.cpp
Log Message:
-----------
[EntryExitInstrumenter] Move passes out of clang into LLVM default pipelines (#92171)
Move EntryExitInstrumenter(PostInlining=true) to as late as possible and
EntryExitInstrumenter(PostInlining=false) to an early pre-inlining stage
(but skip for ThinLTO post-link).
This should fix the issues reported in
https://github.com/rust-lang/rust/issues/92109 and
https://github.com/llvm/llvm-project/issues/52853. These are caused
by https://reviews.llvm.org/D97608.
Commit: 8578b60758e6a588ec41a9678829cebec471f8e5
https://github.com/llvm/llvm-project/commit/8578b60758e6a588ec41a9678829cebec471f8e5
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/lib/Headers/ptrauth.h
Log Message:
-----------
[clang] Add ABI-defined key assignments to ptrauth.h. (#93901)
This is the current key assignment defined by the arm64e architecture
on Darwin platforms, and also matches the intended key assignments
in the initial ELF adopters. This can be made more generic if needed,
by e.g., defining these in the preprocessor instead.
Commit: 2db190fda609b4df3aa0bf17336ab64bc15f6115
https://github.com/llvm/llvm-project/commit/2db190fda609b4df3aa0bf17336ab64bc15f6115
Author: Han-Chung Wang <hanhan0912 at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/Tensor/Utils/Utils.h
M mlir/lib/Dialect/Tensor/Utils/Utils.cpp
Log Message:
-----------
[mlir][tensor][NFC] Move function comments to where they are declared. (#94002)
According to LLVM style guide, we prefer putting the documentation
comments for public APIs into the header file.
See
https://llvm.org/docs/CodingStandards.html#doxygen-use-in-documentation-comments
for more details.
Commit: 68fdc1cf87eb04686e079af27eaeec0f1c41f8cc
https://github.com/llvm/llvm-project/commit/68fdc1cf87eb04686e079af27eaeec0f1c41f8cc
Author: Dave Lee <davelee.com at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lldb/source/Core/Mangled.cpp
M lldb/unittests/Core/MangledTest.cpp
Log Message:
-----------
[lldb] Fix Dlang symbol test breakage (#94046)
Follow up to #93881. Updates missed tests and handles `_Dmain`.
Commit: cc548ec47c05971a67ed9ec7086d414aabcf8b05
https://github.com/llvm/llvm-project/commit/cc548ec47c05971a67ed9ec7086d414aabcf8b05
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
M llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.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/AArch64RegisterInfo.td
M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
M llvm/lib/Target/AArch64/GISel/AArch64GlobalISelUtils.cpp
M llvm/lib/Target/AArch64/GISel/AArch64GlobalISelUtils.h
M llvm/test/CodeGen/AArch64/branch-target-enforcement-indirect-calls.ll
A llvm/test/CodeGen/AArch64/ptrauth-bti-call.ll
A llvm/test/CodeGen/AArch64/ptrauth-call-rv-marker.ll
A llvm/test/CodeGen/AArch64/ptrauth-call.ll
A llvm/test/CodeGen/AArch64/ptrauth-invoke.ll
Log Message:
-----------
[AArch64][PAC] Lower authenticated calls with ptrauth bundles. (#85736)
This adds codegen support for the "ptrauth" operand bundles, which can
be used to augment indirect calls with the equivalent of an
`@llvm.ptrauth.auth` intrinsic call on the call target (possibly
preceded by an `@llvm.ptrauth.blend` on the auth discriminator if
applicable.)
This allows the generation of combined authenticating calls
on AArch64 (in the BLRA* PAuth instructions), while avoiding
the raw just-authenticated function pointer from being
exposed to attackers.
This is done by threading a PtrAuthInfo descriptor through
the call lowering infrastructure, eventually selecting a BLRA
pseudo. The pseudo encapsulates the safe discriminator
computation, which together with the real BLRA* call get emitted
in late pseudo expansion in AsmPrinter.
Note that this also applies to the other forms of indirect calls,
notably invokes, rvmarker, and tail calls. Tail-calls in particular
bring some additional complexity, with the intersecting register
constraints of BTI and PAC discriminator computation.
However this doesn't currently support PAuth_LR tail-call variants.
This also adopts an x8+ allocation order for GPR64noip, matching
GPR64.
Commit: 62c61aa2bf23b7d886578708ec56b3ff07c3fcb0
https://github.com/llvm/llvm-project/commit/62c61aa2bf23b7d886578708ec56b3ff07c3fcb0
Author: Thurston Dang <thurston at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M compiler-rt/lib/msan/msan.cpp
Log Message:
-----------
[msan] Change #ifdef SANITIZER_PPC to #if (#94009)
https://github.com/llvm/llvm-project/commit/0e96eebc7f681a7ce41f35909e609c7c61a11455
accidentally turned the prior patch
(https://github.com/llvm/llvm-project/commit/57a507930b50c445140feb68bffe1c21af53319e)
into a no-op because this macro is always defined (as either 1 or 0).
This patch changes it to correctly use #if.
Commit: 9a8b73c7413002b4b4015a5b9ba27ad4482809aa
https://github.com/llvm/llvm-project/commit/9a8b73c7413002b4b4015a5b9ba27ad4482809aa
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/lib/ProfileData/InstrProfWriter.cpp
M llvm/lib/ProfileData/MemProf.cpp
Log Message:
-----------
[memprof] Replace uint32_t with LinearCallStackId where appropriate (NFC) (#94023)
This patch replaces uint32_t with LinearCallStackId where appropriate.
I'm replacing uint64_t with LinearCallStackId in
writeMemProfCallStackArray, but that's OK because it's a value to be
used as LinearCallStackId anyway.
Commit: ad884d97288c752ba9088d01cf7ab80b20e4d2a6
https://github.com/llvm/llvm-project/commit/ad884d97288c752ba9088d01cf7ab80b20e4d2a6
Author: royitaqi <royitaqi at users.noreply.github.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lldb/include/lldb/API/SBCommandInterpreter.h
M lldb/include/lldb/Interpreter/CommandInterpreter.h
M lldb/include/lldb/Target/Statistics.h
M lldb/source/Commands/CommandObjectStats.cpp
M lldb/source/Commands/Options.td
M lldb/source/Interpreter/CommandInterpreter.cpp
M lldb/source/Target/Statistics.cpp
M lldb/test/API/commands/statistics/basic/TestStats.py
M lldb/test/API/python_api/interpreter/TestCommandInterpreterAPI.py
Log Message:
-----------
A few updates around "transcript" (#92843)
# Changes
1. Changes to the structured transcript.
1. Add fields `commandName` and `commandArguments`. They will hold the
name and the arguments string of the expanded/executed command (e.g.
`breakpoint set` and `-f main.cpp -l 4`). This is not to be confused
with the `command` field, which holds the user input (e.g. `br s -f
main.cpp -l 4`).
2. Add field `timestampInEpochSeconds`. It will hold the timestamp when
the command is executed.
3. Rename field `seconds` to `durationInSeconds`, to improve
readability, especially since `timestampInEpochSeconds` is added.
2. When transcript is available and the newly added option
`--transcript` is present, add the transcript to the output of
`statistics dump`, as a JSON array under a new field `transcript`.
3. A few test name and comment changes.
Commit: 11791ae7b0b05b8bd8d806331ff51da618912cf8
https://github.com/llvm/llvm-project/commit/11791ae7b0b05b8bd8d806331ff51da618912cf8
Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M bolt/test/X86/addr32.s
M bolt/test/X86/asm-func-debug.test
M bolt/test/X86/avx512-trap.test
M bolt/test/X86/bb-with-two-tail-calls.s
M bolt/test/X86/block-reordering.test
M bolt/test/X86/bolt-address-translation-internal-call.test
M bolt/test/X86/bolt-address-translation-yaml.test
M bolt/test/X86/bolt-address-translation.test
M bolt/test/X86/branch-data.test
M bolt/test/X86/broken_dynsym.test
M bolt/test/X86/bug-function-layout-execount.s
M bolt/test/X86/bug-reorder-bb-jrcxz.s
M bolt/test/X86/calculate-emitted-block-size.s
M bolt/test/X86/call-zero.s
M bolt/test/X86/cdsplit-call-scale.s
M bolt/test/X86/cdsplit-symbol-names.s
M bolt/test/X86/cfi-expr-rewrite.s
M bolt/test/X86/cfi-instrs-count.s
M bolt/test/X86/cfi-instrs-reordered.s
M bolt/test/X86/checkvma-large-section.test
M bolt/test/X86/ctc-and-unreachable.test
M bolt/test/X86/debug-fission-single-convert.s
M bolt/test/X86/debug-fission-single.s
M bolt/test/X86/double-jump.test
M bolt/test/X86/dwarf-handle-visit-loclist-error.s
M bolt/test/X86/dwarf-test-df-logging.test
M bolt/test/X86/dwarf3-lowpc-highpc-convert.s
M bolt/test/X86/dwarf4-cross-cu-backward-different-abbrev.test
M bolt/test/X86/dwarf4-cross-cu-forward-different-abbrev.test
M bolt/test/X86/dwarf4-cross-cu-loclist-dwarf4-loclist--dwarf5-loclist.test
M bolt/test/X86/dwarf4-df-basic.test
M bolt/test/X86/dwarf4-df-call-site-change-low-pc.test
M bolt/test/X86/dwarf4-df-change-in-dw-op-gnu-addr-index-main.test
M bolt/test/X86/dwarf4-df-do-no-convert-low-pc-high-pc-to-ranges.test
M bolt/test/X86/dwarf4-df-dualcu-loclist.test
M bolt/test/X86/dwarf4-df-dualcu.test
M bolt/test/X86/dwarf4-df-inlined-subroutine-lowpc-0.test
M bolt/test/X86/dwarf4-df-input-lowpc-ranges.test
M bolt/test/X86/dwarf4-df-no-base.test
M bolt/test/X86/dwarf4-do-no-convert-low-pc-high-pc-to-ranges.test
M bolt/test/X86/dwarf4-duplicate-types.test
M bolt/test/X86/dwarf4-ftypes-dwo-input-dwp-output.test
M bolt/test/X86/dwarf4-ftypes-dwo-mono-input-dwp-output.test
M bolt/test/X86/dwarf4-ftypes-dwp-input-dwo-output.test
M bolt/test/X86/dwarf4-ftypes-dwp-input-dwp-output.test
M bolt/test/X86/dwarf4-gdb-index-types-gdb-generated.test
M bolt/test/X86/dwarf4-gdb-index-types-lld-generated.test
M bolt/test/X86/dwarf4-invalid-reference-die-offset-no-internal-dwarf-error.s
M bolt/test/X86/dwarf4-invalid-reference-die-offset-with-internal-dwarf-error-cant-parse-die.s
M bolt/test/X86/dwarf4-invalid-reference-die-offset-with-internal-dwarf-error-invalid-die.s
M bolt/test/X86/dwarf4-sibling.s
M bolt/test/X86/dwarf4-size-0-inlined_subroutine.s
M bolt/test/X86/dwarf4-split-dwarf-no-address.test
M bolt/test/X86/dwarf4-split-gdb-index-types-gdb-generated.test
M bolt/test/X86/dwarf4-subprogram-multiple-ranges.test
M bolt/test/X86/dwarf4-subprogram-single-gc-ranges.test
M bolt/test/X86/dwarf4-subprogram-single-ranges.test
M bolt/test/X86/dwarf4-types-dwarf5-types.test
M bolt/test/X86/dwarf4-types-dwarf5.test
M bolt/test/X86/dwarf4-types-forward-backward-cross-reference.s
M bolt/test/X86/dwarf4-types.test
M bolt/test/X86/dwarf5-addr-section-reuse.s
M bolt/test/X86/dwarf5-call-pc-function-null-check.test
M bolt/test/X86/dwarf5-call-pc.test
M bolt/test/X86/dwarf5-cu-no-debug-addr.test
M bolt/test/X86/dwarf5-debug-info-dwarf4-debug-line.s
M bolt/test/X86/dwarf5-debug-line-not-modified.test
M bolt/test/X86/dwarf5-debug-line.s
M bolt/test/X86/dwarf5-debug-loclists.s
M bolt/test/X86/dwarf5-df-call-site-change-low-pc.test
M bolt/test/X86/dwarf5-df-change-in-dw-op-gnu-addr-index-main.test
M bolt/test/X86/dwarf5-df-cu-function-gc.test
M bolt/test/X86/dwarf5-df-dualcu-loclist.test
M bolt/test/X86/dwarf5-df-dualcu.test
M bolt/test/X86/dwarf5-df-inlined-subroutine-gc-sections-range.test
M bolt/test/X86/dwarf5-df-inlined-subroutine-range-0.test
M bolt/test/X86/dwarf5-df-input-lowpc-ranges.test
M bolt/test/X86/dwarf5-df-mono-dualcu.test
M bolt/test/X86/dwarf5-df-output-dir-same-name.test
M bolt/test/X86/dwarf5-df-types-dup-dwp-input.test
M bolt/test/X86/dwarf5-do-no-convert-low-pc-high-pc-to-ranges.test
M bolt/test/X86/dwarf5-dwarf4-gdb-index-types-gdb-generated-gdb11.test
M bolt/test/X86/dwarf5-dwarf4-gdb-index-types-gdb-generated-gdb9.test
M bolt/test/X86/dwarf5-dwarf4-gdb-index-types-lld-generated.test
M bolt/test/X86/dwarf5-dwarf4-monolithic.test
M bolt/test/X86/dwarf5-dwarf4-types-backward-forward-cross-reference.test
M bolt/test/X86/dwarf5-ftypes-dwo-mono-input-dwp-output.test
M bolt/test/X86/dwarf5-ftypes-dwp-input-dwo-output.test
M bolt/test/X86/dwarf5-gdb-index-types-gdb-generated-gdb11.test
M bolt/test/X86/dwarf5-gdb-index-types-gdb-generated-gdb9.test
M bolt/test/X86/dwarf5-gdb-index-types-lld-generated.test
M bolt/test/X86/dwarf5-locaddrx.test
M bolt/test/X86/dwarf5-locexpr-addrx.s
M bolt/test/X86/dwarf5-locexpr-referrence.test
M bolt/test/X86/dwarf5-loclist-offset-form.test
M bolt/test/X86/dwarf5-lowpc-highpc-convert.s
M bolt/test/X86/dwarf5-multiple-dw-op-addrx-locexpr.s
M bolt/test/X86/dwarf5-one-loclists-two-bases.test
M bolt/test/X86/dwarf5-rangeoffset-to-rangeindex.s
M bolt/test/X86/dwarf5-return-pc-form-addr.test
M bolt/test/X86/dwarf5-return-pc.test
M bolt/test/X86/dwarf5-shared-str-offset-base.s
M bolt/test/X86/dwarf5-split-dwarf4-monolithic.test
M bolt/test/X86/dwarf5-split-gdb-index-types-gdb-generated.test
M bolt/test/X86/dwarf5-subprogram-multiple-ranges.test
M bolt/test/X86/dwarf5-subprogram-single-gc-ranges.test
M bolt/test/X86/dwarf5-subprogram-single-ranges.test
M bolt/test/X86/dwarf5-two-loclists.test
M bolt/test/X86/dwarf5-two-rnglists.test
M bolt/test/X86/dwarf5-types-backward-cross-reference.s
M bolt/test/X86/dwarf5-types-forward-cross-reference.s
M bolt/test/X86/dynrelocs.s
M bolt/test/X86/exceptions-args.test
M bolt/test/X86/fallthrough-to-noop.test
M bolt/test/X86/false-jump-table.s
M bolt/test/X86/fatal-error.s
M bolt/test/X86/fragment-lite-reverse.s
M bolt/test/X86/fragment-lite.s
M bolt/test/X86/fragmented-symbols.s
M bolt/test/X86/frame-opt-lea.s
M bolt/test/X86/function-order-lite.s
M bolt/test/X86/gdbindex.test
M bolt/test/X86/high_pc_udata.s
M bolt/test/X86/icp-inline.s
M bolt/test/X86/ignored-interprocedural-reference.s
M bolt/test/X86/indirect-goto-pie.test
M bolt/test/X86/indirect-goto.test
M bolt/test/X86/inlined-function-mixed.test
M bolt/test/X86/insert-addr-rnglists_base.s
M bolt/test/X86/insert-debug-info-entry.test
M bolt/test/X86/internal-call-instrument-so.s
M bolt/test/X86/internal-call-instrument.s
M bolt/test/X86/interprocedural-ref-entry-point.s
M bolt/test/X86/is-strip.s
M bolt/test/X86/issue20.s
M bolt/test/X86/issue20.test
M bolt/test/X86/issue26.s
M bolt/test/X86/issue26.test
M bolt/test/X86/jmp-optimization.test
M bolt/test/X86/jmpjmp.test
M bolt/test/X86/jt-symbol-disambiguation-3.s
M bolt/test/X86/jump-table-fixed-ref-pic.test
M bolt/test/X86/jump-table-footprint-reduction.test
M bolt/test/X86/jump-table-icp.test
M bolt/test/X86/jump-table-pic-conflict.s
M bolt/test/X86/jump-table-pic-order.test
M bolt/test/X86/jump-table-reference.test
M bolt/test/X86/layout-heuristic.test
M bolt/test/X86/line-number.test
M bolt/test/X86/log.test
M bolt/test/X86/loop-inversion-pass.s
M bolt/test/X86/loop-nest.test
M bolt/test/X86/merge-fdata-bat-mode.test
M bolt/test/X86/merge-fdata-nobat-mode.test
M bolt/test/X86/merge-fdata-output.test
M bolt/test/X86/no-entry-reordering.test
M bolt/test/X86/no-output.test
M bolt/test/X86/nolbr.s
M bolt/test/X86/patch-entries.test
M bolt/test/X86/pre-aggregated-perf.test
M bolt/test/X86/pt_gnu_relro.s
M bolt/test/X86/reader-stale-yaml-std.test
M bolt/test/X86/reader-stale-yaml.test
M bolt/test/X86/reader.test
M bolt/test/X86/register-fragments-bolt-symbols.s
M bolt/test/X86/relaxed-tailcall.test
M bolt/test/X86/remove-unused.test
M bolt/test/X86/rodata-simpl-loads.test
M bolt/test/X86/sctc-bug.test
M bolt/test/X86/sctc-bug2.test
M bolt/test/X86/sctc-bug3.test
M bolt/test/X86/sctc-bug4.test
M bolt/test/X86/shared_object_entry.s
M bolt/test/X86/shorten-mov.test
M bolt/test/X86/shrinkwrapping-and-rsp.s
M bolt/test/X86/shrinkwrapping-critedge.s
M bolt/test/X86/shrinkwrapping-do-not-pessimize.s
M bolt/test/X86/shrinkwrapping-insertcfi.s
M bolt/test/X86/shrinkwrapping-lea.s
M bolt/test/X86/shrinkwrapping-mov.s
M bolt/test/X86/shrinkwrapping-pop-order.s
M bolt/test/X86/shrinkwrapping-popf.s
M bolt/test/X86/shrinkwrapping-restore-position.s
M bolt/test/X86/shrinkwrapping.test
M bolt/test/X86/split-all-lptrampoline.s
M bolt/test/X86/split-all.s
M bolt/test/X86/split-func-icf.s
M bolt/test/X86/split-func-jump-table-fragment-bidirection.s
M bolt/test/X86/split-func-jump-table-fragment-noparent.s
M bolt/test/X86/split-func-jump-table-fragment-reverse.s
M bolt/test/X86/split-func-jump-table-fragment.s
M bolt/test/X86/split-func-jump-table-unknown.s
M bolt/test/X86/split-landing-pad.s
M bolt/test/X86/split-random.s
M bolt/test/X86/static-exe.test
M bolt/test/X86/symtab-secondary-entries.test
M bolt/test/X86/tail-duplication-cache.s
M bolt/test/X86/tail-duplication-cacheline.s
M bolt/test/X86/tail-duplication-complex.s
M bolt/test/X86/tail-duplication-jt.s
M bolt/test/X86/tail-duplication-pass.s
M bolt/test/X86/tail-duplication-prop-bug.s
M bolt/test/X86/tailcall-traps.test
M bolt/test/X86/tailcall.test
M bolt/test/X86/unclaimed-jt-entries.s
M bolt/test/X86/unreachable-jmp.s
M bolt/test/X86/unreachable.test
M bolt/test/X86/vararg.test
M bolt/test/X86/yaml-multiple-profiles.test
M bolt/test/X86/zero-sized-object.s
M bolt/test/bad-exe.test
M bolt/test/bolt-icf.test
M bolt/test/bolt-info.test
M bolt/test/heatmap.test
M bolt/test/invalid-profile.test
M bolt/test/keep-aranges.test
M bolt/test/no-relocs.test
M bolt/test/non-empty-debug-line.test
M bolt/test/pie.test
M bolt/test/re-optimize.test
M bolt/test/runtime/X86/asm-dump.c
M bolt/test/shared-object.test
Log Message:
-----------
[BOLT][DWARF][NFC] Added double escape characters (#93348)
Added double escape characters to lines that describe a test.
Commit: 278b3964655ab06576a27be57ee2378732bc7420
https://github.com/llvm/llvm-project/commit/278b3964655ab06576a27be57ee2378732bc7420
Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
A bolt/test/X86/Inputs/dwarf4-subprogram-multiple-ranges-other.s
A bolt/test/X86/Inputs/dwarf5-subprogram-multiple-ranges-other.s
A bolt/test/X86/dwarf4-subprogram-multiple-ranges-cus.test
A bolt/test/X86/dwarf5-subprogram-multiple-ranges-cus.test
Log Message:
-----------
[BOLT][DWARF][NFC] Add tests with multiple CUs (#93615)
Adds DWARF4 and DWARF5 tests with multiple CUs.
Commit: 8d239d7fdf07dd640be3933fc72a9811ec0bc031
https://github.com/llvm/llvm-project/commit/8d239d7fdf07dd640be3933fc72a9811ec0bc031
Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M bolt/test/X86/dwarf5-df-input-lowpc-ranges.test
Log Message:
-----------
[BOLT][DWARF][NFC] Fix formatting issue in DWARF5 split-dwarf test (#93746)
Remove double escape characters before a RUN in a test.
Commit: a585446110d06ba12ea8151044f3ac97f98faf92
https://github.com/llvm/llvm-project/commit/a585446110d06ba12ea8151044f3ac97f98faf92
Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M bolt/test/X86/dwarf4-df-input-lowpc-ranges.test
Log Message:
-----------
[BOLT][DWARF][NFC] Fix formatting issue in DWARF4 split-dwarf test (#93747)
Remove double escape characters before a RUN in a test.
Commit: bba5ee47e63298d61f6ea441a140144ce370ba92
https://github.com/llvm/llvm-project/commit/bba5ee47e63298d61f6ea441a140144ce370ba92
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/lib/ProfileData/InstrProfWriter.cpp
Log Message:
-----------
[memprof] Introduce memprof::LinearFrameId (NFC) (#94057)
This patch introduces memprof::LinearFrameId, which is a frame version
of memprof::LinearCallStackId.
Commit: 840f9de9b14f40836fb28be77a4b70b41e8e9523
https://github.com/llvm/llvm-project/commit/840f9de9b14f40836fb28be77a4b70b41e8e9523
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProf.h
Log Message:
-----------
[memprof] Use LinearFrameId and LinearCallStackId where appropriate (NFC) (#94076)
Commit: f5bab9678e8c6b2a58abc7867a4a64408247cf13
https://github.com/llvm/llvm-project/commit/f5bab9678e8c6b2a58abc7867a4a64408247cf13
Author: Michael Liao <michael.hliao at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/test/CodeGen/M68k/pipeline.ll
Log Message:
-----------
[M68k] Fix compilation pipeline check
- Fix check after cab81dd03813ac6333ad7fc031d72b84341fe2b9
Commit: 0353f6abdd30c778778604c75e33cbe841a61199
https://github.com/llvm/llvm-project/commit/0353f6abdd30c778778604c75e33cbe841a61199
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M bolt/test/AArch64/lit.local.cfg
M bolt/test/X86/lit.local.cfg
M bolt/test/lit.local.cfg
Log Message:
-----------
[BOLT][test] Use correct normalized triple
bolt/test/lit.local.cfg wants to use the system GCC installation but it
specifies a wrong triple ("linux" instead of "linux-gnu") and relies on
clangDriver's loose GCC installation detection to pick up "*-linux-gnu".
This loose behavior may not work. Use "linux-gnu" instead.
Note: neither "linux" nor "linux-gnu" detects "linux-musl" triples, so
these tests currently fail on musl based systems.
Other files changes are cosmetic.
Commit: 16832eb58563f77d917198ad9f86db1c2ee162c9
https://github.com/llvm/llvm-project/commit/16832eb58563f77d917198ad9f86db1c2ee162c9
Author: Sterling-Augustine <56981066+Sterling-Augustine at users.noreply.github.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M clang/lib/AST/QualTypeNames.cpp
Log Message:
-----------
Guard against nullptr (#94084)
Protect against nullptr after #93926
Commit: 1697030d9d7188473cc4129bd28f848a77d04d3d
https://github.com/llvm/llvm-project/commit/1697030d9d7188473cc4129bd28f848a77d04d3d
Author: Nuri Amari <nuri.amari99 at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lld/MachO/Driver.cpp
M lld/test/MachO/start-lib.s
Log Message:
-----------
[MachO LLD] Respect -all_load with --start-lib --end-lib style archives (#93993)
The -all_load flag is intended to force the linker to load all lazy members, but doesn't do so if the archive is specified with --start-lib, --end-lib flags. The `-all_load` flag is global, that is it can be placed anywhere in the linker invocation, and it affects the load behavior of all conventional archives listed. Unlike ELF's --whole-archive, the user need not necessarily have access to the entire linker invocation to reasonably make use of the flag. The user can supply `-all_load` to a build system without inspecting the rest of the linker invocation.
To make the behavior of `--start-lib` style archives consistent with regular archives, this patch makes it so that -all_load also applies in this case.
Commit: d337c504ef3652e9ccd75b21bbc79d010ee6c637
https://github.com/llvm/llvm-project/commit/d337c504ef3652e9ccd75b21bbc79d010ee6c637
Author: Tyler Lanphear <tylanphear at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP][NFCI] Address issues seen in downstream Coverity scan. (#93757)
- Prevent null dereference: if the Mask given to
`ShuffleInstructionBuilder::adjustExtracts()` is empty or all-poison,
then `VecBase` will be `nullptr` and the call to
`castToScalarTyElem(VecBase)` will dereference it. Add an assert
to guard against this.
- Prevent use of uninitialized scalar: in the unlikely event that
`CandidateVFs` is empty, then `AnyProfitableGraph` will be
uninitialized in `if` condition following the loop. (This seems like a
false-positive, but I submitted this change anyways as initializing
bools costs nothing and is generally good practice)
Commit: 142afde0eba4940f2b331274e9a3535fee960f35
https://github.com/llvm/llvm-project/commit/142afde0eba4940f2b331274e9a3535fee960f35
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M libc/config/config.json
M libc/docs/configure.rst
M libc/hdr/types/CMakeLists.txt
A libc/hdr/types/pid_t.h
M libc/include/llvm-libc-types/CMakeLists.txt
M libc/include/llvm-libc-types/cnd_t.h
M libc/src/__support/File/dir.h
M libc/src/__support/File/file.h
M libc/src/__support/threads/CndVar.h
M libc/src/__support/threads/fork_callbacks.cpp
M libc/src/__support/threads/gpu/mutex.h
M libc/src/__support/threads/linux/CMakeLists.txt
M libc/src/__support/threads/linux/CndVar.cpp
M libc/src/__support/threads/linux/mutex.h
A libc/src/__support/threads/linux/raw_mutex.h
M libc/src/__support/threads/thread.cpp
M libc/src/pthread/pthread_mutex_init.cpp
M libc/src/pthread/pthread_mutexattr.h
M libc/src/stdlib/atexit.cpp
M libc/src/threads/linux/CMakeLists.txt
M libc/src/threads/mtx_init.cpp
M libc/test/integration/src/__support/threads/thread_detach_test.cpp
M libc/test/src/__support/CMakeLists.txt
A libc/test/src/__support/threads/CMakeLists.txt
A libc/test/src/__support/threads/linux/CMakeLists.txt
A libc/test/src/__support/threads/linux/raw_mutex_test.cpp
Log Message:
-----------
[libc] rework mutex (#92168)
Commit: 85fd1688b2bbbbfc73ba97d95e621cfbfe9a3fff
https://github.com/llvm/llvm-project/commit/85fd1688b2bbbbfc73ba97d95e621cfbfe9a3fff
Author: gulfemsavrun <gulfem at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lldb/include/lldb/API/SBCommandInterpreter.h
M lldb/include/lldb/Interpreter/CommandInterpreter.h
M lldb/include/lldb/Target/Statistics.h
M lldb/source/Commands/CommandObjectStats.cpp
M lldb/source/Commands/Options.td
M lldb/source/Interpreter/CommandInterpreter.cpp
M lldb/source/Target/Statistics.cpp
M lldb/test/API/commands/statistics/basic/TestStats.py
M lldb/test/API/python_api/interpreter/TestCommandInterpreterAPI.py
Log Message:
-----------
Revert "A few updates around "transcript"" (#94088)
Reverts llvm/llvm-project#92843 because it broke some lldb tests:
https://luci-milo.appspot.com/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64/b8746385730949743489/overview
Commit: 8057756190afb8a8e5d550788fcc63914e920d0f
https://github.com/llvm/llvm-project/commit/8057756190afb8a8e5d550788fcc63914e920d0f
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M libc/test/src/__support/threads/linux/raw_mutex_test.cpp
Log Message:
-----------
[libc] fix test build on platforms without `SYS_fork` (#94087)
Commit: f3444f650c7bf69456c554befa65cbebe8d41e91
https://github.com/llvm/llvm-project/commit/f3444f650c7bf69456c554befa65cbebe8d41e91
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
Log Message:
-----------
[RISCV] Fix incorrect use of TA in some tablegen class names. NFC
These either have an explicit policy operand or use TU policy.
Commit: 4d4d6eb6e8b519fec7ca5b689762bb964a7ce186
https://github.com/llvm/llvm-project/commit/4d4d6eb6e8b519fec7ca5b689762bb964a7ce186
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lld/ELF/Writer.cpp
Log Message:
-----------
[ELF] findOrphanPos: avoid redundant getRankProximity call. NFC
Commit: 1af0778f9c6e1ac0f6e2dfd0e56063cc21c4eea5
https://github.com/llvm/llvm-project/commit/1af0778f9c6e1ac0f6e2dfd0e56063cc21c4eea5
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/test/CodeGen/RISCV/rvv/vsub.ll
Log Message:
-----------
[RISCV] Use vadd.vi for tail undisturbe vsub intrinsic with small immediate.
Our pattern previously checked for the merge operand being undef.
Commit: 59116e0941c7f406526fc37acf52845bd8380402
https://github.com/llvm/llvm-project/commit/59116e0941c7f406526fc37acf52845bd8380402
Author: Kai Luo <lkail at cn.ibm.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M llvm/test/CodeGen/PowerPC/aix-tls-gd-longlong.ll
Log Message:
-----------
[PowerPC] Update test so that target flags are exposed. NFC.
Commit: 0f3d646cefbe00b4a1037dc68e9d76e5470e805f
https://github.com/llvm/llvm-project/commit/0f3d646cefbe00b4a1037dc68e9d76e5470e805f
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lld/ELF/Writer.cpp
Log Message:
-----------
[ELF] Simplify findOrphanPos. NFC
Simplify the loop that considers sections of the same proximity. The two
involved conditions are due to:
* https://reviews.llvm.org/D111717 ("[ELF] Avoid adding an orphan section to a less suitable segment") and
* https://reviews.llvm.org/D112925 ("[ELF] Better resemble GNU ld when placing orphan sections into memory regions")
Commit: 26814bbd4f65934d4e231ce407ec1b62c9d81df7
https://github.com/llvm/llvm-project/commit/26814bbd4f65934d4e231ce407ec1b62c9d81df7
Author: Pavel Samolysov <samolisov at gmail.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaTemplateDeduction.cpp
Log Message:
-----------
[clang] Fix a typo: ExplicitObje[C]tArgument. NFC (#94094)
Commit: f85904868b282aa56c8bef90f169ca5ecd9957f8
https://github.com/llvm/llvm-project/commit/f85904868b282aa56c8bef90f169ca5ecd9957f8
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lld/ELF/Writer.cpp
Log Message:
-----------
[ELF] Simplify findOrphanPos. NFC
When the orphan section is placed after i, incrementing then
decreamenting is quite difficult to understand. Simplify the code to a
single loop to make the intention clearer.
Commit: 63fc26c72ae5095fc1ab20369d146538d03c4560
https://github.com/llvm/llvm-project/commit/63fc26c72ae5095fc1ab20369d146538d03c4560
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M libc/test/src/__support/threads/linux/CMakeLists.txt
M libc/test/src/__support/threads/linux/raw_mutex_test.cpp
Log Message:
-----------
[libc] fix build failures due to SIGCHLD (#94093)
Commit: 5d31360d710a9aa2a1bee4ea9bcdc4cd0ea0a72f
https://github.com/llvm/llvm-project/commit/5d31360d710a9aa2a1bee4ea9bcdc4cd0ea0a72f
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M libcxx/include/__config
M libcxx/include/__configuration/abi.h
M libcxx/test/libcxx/input.output/filesystems/convert_file_time.pass.cpp
Log Message:
-----------
[libc++] Remove the inline namespace for std::filesystem in ABIv2 (#92971)
Commit: bfa8b6487bb4227e99176c0eb8c0215921c55e57
https://github.com/llvm/llvm-project/commit/bfa8b6487bb4227e99176c0eb8c0215921c55e57
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M libcxx/include/__utility/pair.h
Log Message:
-----------
[libc++][NFC] Format pair.h (#94101)
Commit: 0864501b97a70ce7d6f1741514fae08eef7c237e
https://github.com/llvm/llvm-project/commit/0864501b97a70ce7d6f1741514fae08eef7c237e
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/test/CodeGen/RISCV/GlobalISel/alu-roundtrip-rv64.ll
A llvm/test/CodeGen/RISCV/GlobalISel/combine.mir
Log Message:
-----------
[GISel] Convert zext nneg to sext if it is cheaper (#93856)
This patch converts `zext nneg` to `sext` on RISCV to use free sext.
---------
Co-authored-by: Thorsten Schütt <schuett at gmail.com>
Commit: daaaf4e9009edf38dfc3d01d3c30de0827ffd1b5
https://github.com/llvm/llvm-project/commit/daaaf4e9009edf38dfc3d01d3c30de0827ffd1b5
Author: Eisuke Kawashima <e.kawaschima+github at gmail.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M clang/tools/scan-build/bin/set-xcode-analyzer
M clang/utils/check_cfc/check_cfc.py
Log Message:
-----------
[analyzer][NFC] Fix comparison to True/False (#94038)
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: 16397e8ec7ffbee2907dfec698356f67672086e8
https://github.com/llvm/llvm-project/commit/16397e8ec7ffbee2907dfec698356f67672086e8
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaTemplateDeduction.cpp
M clang/test/SemaTemplate/concepts-lambda.cpp
Log Message:
-----------
[Clang][Sema] Push an evaluation context for type constraints (#93945)
This helps getTemplateInstantiationArgs() to properly recover template
arguments of an enclosing concept Decl.
Fixes https://github.com/llvm/llvm-project/issues/93821
Commit: cd676e5b27cb985697deac052c797057f5a33c06
https://github.com/llvm/llvm-project/commit/cd676e5b27cb985697deac052c797057f5a33c06
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M lldb/cmake/modules/LLDBConfig.cmake
Log Message:
-----------
[lldb] Guard some GCC-style flags from MSVC
A follow up to #92953. Suggested in https://github.com/llvm/llvm-project/pull/92953#issuecomment-2143274065
Commit: 9d4b20a44e5c55499d6fc75663a6c7149a59543f
https://github.com/llvm/llvm-project/commit/9d4b20a44e5c55499d6fc75663a6c7149a59543f
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Bufferization/IR/BufferizationOps.td
M mlir/lib/Dialect/Bufferization/IR/BufferizationOps.cpp
M mlir/test/Dialect/Bufferization/invalid.mlir
M mlir/test/Dialect/Bufferization/ops.mlir
Log Message:
-----------
[mlir][bufferization] Allow mixed static/dynamic shapes in `materialize_in_destination` op (#92681)
This commit relaxes the verifier of
`bufferization.materialize_in_destination` such that mixed
static/dynamic dimensions are allowed for the source and destination
operands. E.g., `tensor<5xf32>` and `tensor<?xf32>` are now compatible,
but it is assumed that the dynamic dimension is `5` at runtime.
This commit fixes #91265.
Commit: cb7a03b41fff563c0cbb5145eed09f9b17edf9e2
https://github.com/llvm/llvm-project/commit/cb7a03b41fff563c0cbb5145eed09f9b17edf9e2
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M libcxx/include/__string/constexpr_c_functions.h
M libcxx/include/__type_traits/remove_pointer.h
M libcxx/include/bitset
M libcxx/test/std/time/time.zone/time.zone.leap/nonmembers/comparison.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/monadic/transform.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/monadic/transform_error.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/monadic/transform_error.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.char_array.pass.cpp
M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR31384.pass.cpp
M libcxx/test/std/utilities/variant/variant.visit.member/visit_return_type.pass.cpp
M libcxxabi/test/catch_member_function_pointer_02.pass.cpp
Log Message:
-----------
[libc++] Fix failures with GCC 14 (#92663)
Fixes #91831
Commit: 47fd32f81c593ae698765e3f3f13998ac9a9abbf
https://github.com/llvm/llvm-project/commit/47fd32f81c593ae698765e3f3f13998ac9a9abbf
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
A llvm/test/CodeGen/PowerPC/pr85066.ll
Log Message:
-----------
[DAGCombine] Fix type mismatch in `(shl X, cttz(Y)) -> (mul (Y & -Y), X)` (#94008)
Proof: https://alive2.llvm.org/ce/z/J7GBMU
Same as https://github.com/llvm/llvm-project/pull/92753, the types of
LHS and RHS in shift nodes may differ.
+ When VT is smaller than ShiftVT, it is safe to use trunc.
+ When VT is larger than ShiftVT, it is safe to use zext iff
`is_zero_poison` is true (i.e., `opcode == ISD::CTTZ_ZERO_UNDEF`). See
also the counterexample `src_shl_cttz2 -> tgt_shl_cttz2` in the alive2
proofs.
Fixes issue
https://github.com/llvm/llvm-project/pull/85066#issuecomment-2142553617.
Commit: 4c6367b3e521f0c18c14db5678748964aeae5215
https://github.com/llvm/llvm-project/commit/4c6367b3e521f0c18c14db5678748964aeae5215
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/X86/strided_load_cost.ll
Log Message:
-----------
[LV] Add test with strided interleave groups and maximizing bandwidth.
Commit: b263033c2be531939dca3a0ed3e5280f9952390d
https://github.com/llvm/llvm-project/commit/b263033c2be531939dca3a0ed3e5280f9952390d
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
A llvm/test/CodeGen/AMDGPU/issue92561-restore-undef-scc-verifier-error.ll
Log Message:
-----------
AMDGPU: Remove arbitrary SCC liveness scan threshold (#94097)
Commit: f7e63e8b46257d6eea35357e8e4ab44e2677a0a8
https://github.com/llvm/llvm-project/commit/f7e63e8b46257d6eea35357e8e4ab44e2677a0a8
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/X86/strided_load_cost.ll
Log Message:
-----------
[LV] Operands feeding pointers of interleave member pointers are free.
For interleave groups we only create a pointer for the start of the
interleave group, not all original loads/stores. Mark single-use ops
feeding interleave group mem ops as free when vectorizing.
Commit: 598f37bb27c3a6e71252bbd15c587c7f11e20520
https://github.com/llvm/llvm-project/commit/598f37bb27c3a6e71252bbd15c587c7f11e20520
Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
A bolt/test/X86/Inputs/dwarf4-df-input-lowpc-ranges-other.s
A bolt/test/X86/dwarf4-df-input-lowpc-ranges-cus.test
Log Message:
-----------
[BOLT][DWARF][NFC] Add split-dwarf4 test with multiple CUs (#93741)
Adds a split-dwarf test for DWARF4 with multiple CUs.
Commit: 2b1dfd2b35b5684c8af85206e199152bd6ac3a8d
https://github.com/llvm/llvm-project/commit/2b1dfd2b35b5684c8af85206e199152bd6ac3a8d
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/PowerPC/pr44183.ll
Log Message:
-----------
[DAG] Replace getValid*ShiftAmountConstant helpers with getValid*ShiftAmount helpers to support KnownBits analysis (#93182)
The getValidShiftAmountConstant/getValidMinimumShiftAmountConstant/getValidMaximumShiftAmountConstant helpers only worked with constant shift amounts, which could be problematic after type legalization (e.g. v2i64 might be partially scalarized or split into v4i32 on some targets such as 32-bit x86, Thumb2 MVE).
This patch proposes we generalize these helpers to work with ConstantRange+KnownBits if a scalar/buildvector constant isn't available.
Most restrictions are the same - the helper fails if any shift amount is out of bounds, getValidShiftConstant must be a specific constant uniform etc.
However, getValidMinimumShiftAmount/getValidMaximumShiftAmount now can return bounds values that aren't values in the actual data, as they are based off the common KnownBits of every vector element.
This addresses feedback on #92096
Commit: 86bb5c8427346aafaafa42fbf96e405ae4ca07bf
https://github.com/llvm/llvm-project/commit/86bb5c8427346aafaafa42fbf96e405ae4ca07bf
Author: Eric Fiselier <eric at efcs.ca>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M .github/workflows/restart-preempted-libcxx-jobs.yaml
Log Message:
-----------
Create annotations to better explain restarter decision
Commit: e9057c30a48cb502864063540a43d755dacd3b1c
https://github.com/llvm/llvm-project/commit/e9057c30a48cb502864063540a43d755dacd3b1c
Author: Eric Fiselier <eric at efcs.ca>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M .github/workflows/restart-preempted-libcxx-jobs.yaml
Log Message:
-----------
Create check run on workflow run to better display result.
In order to make the behavior of the libc++ restarter more visible
to users, this change creates a check run on the considered workflow
to let users know what action, if any, was taken
Commit: 661d64bc20d58c4970b378dd3e87ee594d2b4150
https://github.com/llvm/llvm-project/commit/661d64bc20d58c4970b378dd3e87ee594d2b4150
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M llvm/test/CodeGen/NVPTX/combine-mad.ll
Log Message:
-----------
[NVPTX] disable combine-mad test for newer ptxas (#93919)
Commit: 867c9f67132799d9f422866bc4b8790257118c47
https://github.com/llvm/llvm-project/commit/867c9f67132799d9f422866bc4b8790257118c47
Author: Eric Fiselier <eric at efcs.ca>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M .github/workflows/restart-preempted-libcxx-jobs.yaml
Log Message:
-----------
Fix permissions on restarter workflow
Commit: ee8e0f3365c6b27c8a82fafa1dd4af10e16384f5
https://github.com/llvm/llvm-project/commit/ee8e0f3365c6b27c8a82fafa1dd4af10e16384f5
Author: Eric <eric at efcs.ca>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M libcxx/test/configs/llvm-libc++-android-ndk.cfg.in
M libcxx/test/configs/llvm-libc++-mingw.cfg.in
M libcxx/test/configs/llvm-libc++-shared-clangcl.cfg.in
M libcxx/test/configs/llvm-libc++-shared-gcc.cfg.in
M libcxx/test/configs/llvm-libc++-shared.cfg.in
M libcxx/test/configs/llvm-libc++-static-clangcl.cfg.in
Log Message:
-----------
Fix order of include flags for the target & regular include paths. (#93547)
The target include directory should always come first,
since the regular includes are dependent on it
Commit: 8256c593f67018e8d73dce714bedc3f4e6869db9
https://github.com/llvm/llvm-project/commit/8256c593f67018e8d73dce714bedc3f4e6869db9
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp
Log Message:
-----------
Fix GCC Wparentheses warning. NFC.
Commit: 2a1ea151cccba3de21edb950099a75ca8d3ea604
https://github.com/llvm/llvm-project/commit/2a1ea151cccba3de21edb950099a75ca8d3ea604
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
M lldb/source/Utility/UriParser.cpp
M llvm/lib/MC/MCExpr.cpp
Log Message:
-----------
Use StringRef::starts_with (NFC) (#94112)
Commit: 9e22c7a0ea87228dffcdfd7ab62724f72e0b3e30
https://github.com/llvm/llvm-project/commit/9e22c7a0ea87228dffcdfd7ab62724f72e0b3e30
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Log Message:
-----------
[DAG] canCreateUndefOrPoison - only compute shift amount knownbits when not poison
Since #93182 we can now call computeKnownBits inside getValidMaximumShiftAmount to determine the bounds of the shift amount ensuring that it wasn't poison, meaning if we did freeze the ahift amount, isGuaranteedNotToBeUndefOrPoison would then fail as we can't call computeKnownBits through FREEZE for potentially poison values.
I'm still reducing a decent test case but wanted to get the buildbot fix ASAP.
Commit: 2b2ce50fe843b5b550806a0ab15b06cd5c405d48
https://github.com/llvm/llvm-project/commit/2b2ce50fe843b5b550806a0ab15b06cd5c405d48
Author: Abhishek Varma <abhvarma at amd.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/SCF/Transforms/TileUsingInterface.h
M mlir/include/mlir/Dialect/Tensor/Transforms/Transforms.h
M mlir/include/mlir/Interfaces/TilingInterface.td
M mlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp
M mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
M mlir/lib/Dialect/Tensor/IR/TensorTilingInterfaceImpl.cpp
M mlir/lib/Dialect/Tensor/Transforms/SwapExtractSliceWithProducerPatterns.cpp
A mlir/test/Interfaces/TilingInterface/tile-and-fuse-consumer.mlir
M mlir/test/lib/Interfaces/TilingInterface/TestTilingInterfaceTransformOps.cpp
M mlir/test/lib/Interfaces/TilingInterface/TestTilingInterfaceTransformOps.td
Log Message:
-----------
[MLIR][SCF] Add an API to fuse consumer to a producer within scf loop (#88712)
This commit adds an API (`tileAndFuseConsumerOfSlice`) to fuse consumer to a producer within
scf.for/scf.forall loop.
To support this two new methods are added to the `TilingInterface`
- `getIterationDomainTileFromOperandTile`
- `getTiledImplementationFromOperandTile`.
Consumer operations that implement this method can be used to be fused with tiled producer operands in a manner similar to (but essentially the inverse of) the fusion of an untiled producer with a tiled consumer.
Note that this only does one `tiled producer` -> `consumer` fusion. This could be called repeatedly for fusing multiple consumers. The current implementation also is conservative in when this kicks in (like single use of the value returned by the inter-tile loops that surround the tiled producer, etc.) These can be relaxed over time.
Signed-off-by: Abhishek Varma <abhvarma at amd.com>
---------
Signed-off-by: Abhishek Varma <abhvarma at amd.com>
Signed-off-by: Abhishek Varma <avarma094 at gmail.com>
Co-authored-by: cxy <chenxunyu1993 at gmail.com>
Commit: 6e22b538da4b09efb10a59582a3f43d8128ae7d1
https://github.com/llvm/llvm-project/commit/6e22b538da4b09efb10a59582a3f43d8128ae7d1
Author: Hui <hui.xie1990 at gmail.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M libcxx/src/atomic.cpp
A libcxx/test/libcxx/atomics/atomics.syn/wait.pass.cpp
Log Message:
-----------
[libc++] Fix `std::atomic::wait` ulock wait UL_COMPARE_AND_WAIT64 (#92783)
in `atomic::wait`, when we call the platform wait ulock_wait , we are
using UL_COMPARE_AND_WAIT. But we should use UL_COMPARE_AND_WAIT64
instead as the address we are waiting for is a 64 bit integer.
fixes https://github.com/llvm/llvm-project/issues/85107
It is rather hard to test directly because in `atomic::wait`, before
calling into the platform wait, our c++ code has some poll logic which
checks the value not changing. Thus in this patch, the test is using the
internal function.
Commit: e7e6e1ecadc59677b422044f514c2eb379ee719b
https://github.com/llvm/llvm-project/commit/e7e6e1ecadc59677b422044f514c2eb379ee719b
Author: MaheshRavishankar <1663364+MaheshRavishankar at users.noreply.github.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][bazel] Add bazel build support for https://github.com/llvm/llvm-project/commit/2b2ce50fe843b5b550806a0ab15b06cd5c405d48 (#94126)
Also drop errant header include from `Linalg` dialect into
`Dialect/SCF/Transforms/TileUsingInterface.cpp`
Commit: c877eb3754ad1a61db2717530141eded580c3533
https://github.com/llvm/llvm-project/commit/c877eb3754ad1a61db2717530141eded580c3533
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
A llvm/test/Transforms/InstCombine/fold-ext-eq-c-with-op.ll
Log Message:
-----------
[InstCombine] Add tests for folding `(add X, (sext/zext (icmp eq X, C)))`; NFC
Commit: 0310f7f2d0c56a5697710251cec9803cbf7b4d56
https://github.com/llvm/llvm-project/commit/0310f7f2d0c56a5697710251cec9803cbf7b4d56
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
M llvm/test/Transforms/InstCombine/apint-shift.ll
M llvm/test/Transforms/InstCombine/fold-ext-eq-c-with-op.ll
Log Message:
-----------
[InstCombine] Fold `(add X, (sext/zext (icmp eq X, C)))`
We can convert this to a select based on the `(icmp eq X, C)`, then
constant fold the addition the true arm begin `(add C, (sext/zext 1))`
and the false arm being `(add X, 0)` e.g
- `(select (icmp eq X, C), (add C, (sext/zext 1)), (add X, 0))`.
This is essentially a specialization of the only case that sees to
actually show up from #89020
Closes #93840
Commit: d2cdc8ab45d74f8691f73cb5a2b8c431585cd449
https://github.com/llvm/llvm-project/commit/d2cdc8ab45d74f8691f73cb5a2b8c431585cd449
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/include/llvm/CodeGen/SelectionDAGISel.h
M llvm/include/llvm/CodeGen/StackProtector.h
M llvm/include/llvm/Passes/CodeGenPassBuilder.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
M llvm/lib/Target/AArch64/AArch64.h
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
M llvm/lib/Target/AMDGPU/AMDGPU.h
M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPassBuilder.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
M llvm/lib/Target/AMDGPU/AMDGPUPassRegistry.def
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/R600ISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/ARC/ARC.h
M llvm/lib/Target/ARC/ARCISelDAGToDAG.cpp
M llvm/lib/Target/ARC/ARCTargetMachine.cpp
M llvm/lib/Target/ARM/ARM.h
M llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
M llvm/lib/Target/ARM/ARMTargetMachine.cpp
M llvm/lib/Target/AVR/AVR.h
M llvm/lib/Target/AVR/AVRISelDAGToDAG.cpp
M llvm/lib/Target/AVR/AVRTargetMachine.cpp
M llvm/lib/Target/BPF/BPF.h
M llvm/lib/Target/BPF/BPFISelDAGToDAG.cpp
M llvm/lib/Target/BPF/BPFTargetMachine.cpp
M llvm/lib/Target/CSKY/CSKY.h
M llvm/lib/Target/CSKY/CSKYISelDAGToDAG.cpp
M llvm/lib/Target/CSKY/CSKYTargetMachine.cpp
M llvm/lib/Target/Hexagon/Hexagon.h
M llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
M llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.h
M llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
M llvm/lib/Target/Lanai/Lanai.h
M llvm/lib/Target/Lanai/LanaiISelDAGToDAG.cpp
M llvm/lib/Target/Lanai/LanaiTargetMachine.cpp
M llvm/lib/Target/LoongArch/LoongArch.h
M llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.cpp
M llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.h
M llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
M llvm/lib/Target/M68k/M68k.h
M llvm/lib/Target/M68k/M68kISelDAGToDAG.cpp
M llvm/lib/Target/M68k/M68kTargetMachine.cpp
M llvm/lib/Target/MSP430/MSP430.h
M llvm/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
M llvm/lib/Target/MSP430/MSP430TargetMachine.cpp
M llvm/lib/Target/Mips/Mips.h
M llvm/lib/Target/Mips/Mips16ISelDAGToDAG.cpp
M llvm/lib/Target/Mips/Mips16ISelDAGToDAG.h
M llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp
M llvm/lib/Target/Mips/MipsISelDAGToDAG.h
M llvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
M llvm/lib/Target/Mips/MipsSEISelDAGToDAG.h
M llvm/lib/Target/Mips/MipsTargetMachine.cpp
M llvm/lib/Target/NVPTX/NVPTX.h
M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.h
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
M llvm/lib/Target/PowerPC/PPC.h
M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
M llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
M llvm/lib/Target/RISCV/RISCV.h
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
M llvm/lib/Target/Sparc/Sparc.h
M llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp
M llvm/lib/Target/Sparc/SparcTargetMachine.cpp
M llvm/lib/Target/SystemZ/SystemZ.h
M llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
M llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
M llvm/lib/Target/VE/VE.h
M llvm/lib/Target/VE/VEISelDAGToDAG.cpp
M llvm/lib/Target/VE/VETargetMachine.cpp
M llvm/lib/Target/WebAssembly/WebAssembly.h
M llvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
M llvm/lib/Target/X86/X86.h
M llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
A llvm/lib/Target/X86/X86ISelDAGToDAG.h
A llvm/lib/Target/X86/X86PassRegistry.def
M llvm/lib/Target/X86/X86TargetMachine.cpp
M llvm/lib/Target/X86/X86TargetMachine.h
M llvm/lib/Target/XCore/XCore.h
M llvm/lib/Target/XCore/XCoreISelDAGToDAG.cpp
M llvm/lib/Target/XCore/XCoreTargetMachine.cpp
M llvm/lib/Target/Xtensa/XtensaISelDAGToDAG.cpp
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f32-no-rtn.ll
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f32-rtn.ll
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f64.ll
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.v2f16-no-rtn.ll
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.v2f16-rtn.ll
M llvm/test/CodeGen/AMDGPU/buffer-intrinsics-mmo-offsets.ll
M llvm/test/CodeGen/AMDGPU/bug-v4f64-subvector.ll
M llvm/test/CodeGen/AMDGPU/carryout-selection.ll
M llvm/test/CodeGen/AMDGPU/dagcombine-fma-crash.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-abs.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-bitreverse.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-ctlz-cttz.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-ctpop.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-min-max.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-negsubinlineconst.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-not-isel.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-xnor.ll
M llvm/test/CodeGen/AMDGPU/extract_subvector_vec4_vec3.ll
M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.f32.ll
M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.f64.ll
M llvm/test/CodeGen/AMDGPU/fneg-fabs-divergence-driven-isel.ll
M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.v2f16-no-rtn.ll
M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.v2f16-rtn.ll
M llvm/test/CodeGen/AMDGPU/img-nouse-adjust.ll
M llvm/test/CodeGen/AMDGPU/implicit-def-muse.ll
M llvm/test/CodeGen/AMDGPU/legalize-fp-load-invariant.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.make.buffer.rsrc.ll
M llvm/test/CodeGen/X86/apx/no-rex2-general.ll
M llvm/test/CodeGen/X86/apx/no-rex2-pseudo-amx.ll
M llvm/test/CodeGen/X86/apx/no-rex2-pseudo-x87.ll
M llvm/test/CodeGen/X86/apx/no-rex2-special.ll
M llvm/test/tools/llc/new-pm/start-stop.ll
Log Message:
-----------
[NewPM][CodeGen] Port selection dag isel to new pass manager (#83567)
Port selection dag isel to new pass manager.
Only `AMDGPU` and `X86` support new pass version. `-verify-machineinstrs` in new pass manager belongs to verify instrumentation, it is enabled by default.
Commit: f63b1d282609df0b4b5ae280b04722c6fecb505e
https://github.com/llvm/llvm-project/commit/f63b1d282609df0b4b5ae280b04722c6fecb505e
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAGISel.h
Log Message:
-----------
[SelectionDAG] Mark `SelectionDAGISel` destructor virtual (#94132)
Commit: 3f9ba0004b2a27a721fd4a29364571d91197b82d
https://github.com/llvm/llvm-project/commit/3f9ba0004b2a27a721fd4a29364571d91197b82d
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M llvm/lib/Target/BPF/BPFISelDAGToDAG.cpp
Log Message:
-----------
[BPF] Remove unused ID in `SelectionDAGISel` (#94134)
Commit: de37c06f01772e02465ccc9f538894c76d89a7a1
https://github.com/llvm/llvm-project/commit/de37c06f01772e02465ccc9f538894c76d89a7a1
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M llvm/lib/Target/AVR/AVRISelDAGToDAG.cpp
M llvm/lib/Target/Lanai/LanaiISelDAGToDAG.cpp
M llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.h
Log Message:
-----------
[Targets] Remove unused ID in *DAGToDAGISel (#94135)
Commit: 8917afaf0ec2ebe390284e3727e720eaf97967eb
https://github.com/llvm/llvm-project/commit/8917afaf0ec2ebe390284e3727e720eaf97967eb
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/include/llvm/CodeGen/SelectionDAGISel.h
M llvm/include/llvm/CodeGen/StackProtector.h
M llvm/include/llvm/Passes/CodeGenPassBuilder.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
M llvm/lib/Target/AArch64/AArch64.h
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
M llvm/lib/Target/AMDGPU/AMDGPU.h
M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPassBuilder.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
M llvm/lib/Target/AMDGPU/AMDGPUPassRegistry.def
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/R600ISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/ARC/ARC.h
M llvm/lib/Target/ARC/ARCISelDAGToDAG.cpp
M llvm/lib/Target/ARC/ARCTargetMachine.cpp
M llvm/lib/Target/ARM/ARM.h
M llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
M llvm/lib/Target/ARM/ARMTargetMachine.cpp
M llvm/lib/Target/AVR/AVR.h
M llvm/lib/Target/AVR/AVRISelDAGToDAG.cpp
M llvm/lib/Target/AVR/AVRTargetMachine.cpp
M llvm/lib/Target/BPF/BPF.h
M llvm/lib/Target/BPF/BPFISelDAGToDAG.cpp
M llvm/lib/Target/BPF/BPFTargetMachine.cpp
M llvm/lib/Target/CSKY/CSKY.h
M llvm/lib/Target/CSKY/CSKYISelDAGToDAG.cpp
M llvm/lib/Target/CSKY/CSKYTargetMachine.cpp
M llvm/lib/Target/Hexagon/Hexagon.h
M llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
M llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.h
M llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
M llvm/lib/Target/Lanai/Lanai.h
M llvm/lib/Target/Lanai/LanaiISelDAGToDAG.cpp
M llvm/lib/Target/Lanai/LanaiTargetMachine.cpp
M llvm/lib/Target/LoongArch/LoongArch.h
M llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.cpp
M llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.h
M llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
M llvm/lib/Target/M68k/M68k.h
M llvm/lib/Target/M68k/M68kISelDAGToDAG.cpp
M llvm/lib/Target/M68k/M68kTargetMachine.cpp
M llvm/lib/Target/MSP430/MSP430.h
M llvm/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
M llvm/lib/Target/MSP430/MSP430TargetMachine.cpp
M llvm/lib/Target/Mips/Mips.h
M llvm/lib/Target/Mips/Mips16ISelDAGToDAG.cpp
M llvm/lib/Target/Mips/Mips16ISelDAGToDAG.h
M llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp
M llvm/lib/Target/Mips/MipsISelDAGToDAG.h
M llvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
M llvm/lib/Target/Mips/MipsSEISelDAGToDAG.h
M llvm/lib/Target/Mips/MipsTargetMachine.cpp
M llvm/lib/Target/NVPTX/NVPTX.h
M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.h
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
M llvm/lib/Target/PowerPC/PPC.h
M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
M llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
M llvm/lib/Target/RISCV/RISCV.h
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
M llvm/lib/Target/Sparc/Sparc.h
M llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp
M llvm/lib/Target/Sparc/SparcTargetMachine.cpp
M llvm/lib/Target/SystemZ/SystemZ.h
M llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
M llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
M llvm/lib/Target/VE/VE.h
M llvm/lib/Target/VE/VEISelDAGToDAG.cpp
M llvm/lib/Target/VE/VETargetMachine.cpp
M llvm/lib/Target/WebAssembly/WebAssembly.h
M llvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
M llvm/lib/Target/X86/X86.h
M llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
R llvm/lib/Target/X86/X86ISelDAGToDAG.h
R llvm/lib/Target/X86/X86PassRegistry.def
M llvm/lib/Target/X86/X86TargetMachine.cpp
M llvm/lib/Target/X86/X86TargetMachine.h
M llvm/lib/Target/XCore/XCore.h
M llvm/lib/Target/XCore/XCoreISelDAGToDAG.cpp
M llvm/lib/Target/XCore/XCoreTargetMachine.cpp
M llvm/lib/Target/Xtensa/XtensaISelDAGToDAG.cpp
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f32-no-rtn.ll
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f32-rtn.ll
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f64.ll
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.v2f16-no-rtn.ll
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.v2f16-rtn.ll
M llvm/test/CodeGen/AMDGPU/buffer-intrinsics-mmo-offsets.ll
M llvm/test/CodeGen/AMDGPU/bug-v4f64-subvector.ll
M llvm/test/CodeGen/AMDGPU/carryout-selection.ll
M llvm/test/CodeGen/AMDGPU/dagcombine-fma-crash.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-abs.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-bitreverse.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-ctlz-cttz.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-ctpop.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-min-max.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-negsubinlineconst.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-not-isel.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-xnor.ll
M llvm/test/CodeGen/AMDGPU/extract_subvector_vec4_vec3.ll
M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.f32.ll
M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.f64.ll
M llvm/test/CodeGen/AMDGPU/fneg-fabs-divergence-driven-isel.ll
M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.v2f16-no-rtn.ll
M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.v2f16-rtn.ll
M llvm/test/CodeGen/AMDGPU/img-nouse-adjust.ll
M llvm/test/CodeGen/AMDGPU/implicit-def-muse.ll
M llvm/test/CodeGen/AMDGPU/legalize-fp-load-invariant.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.make.buffer.rsrc.ll
M llvm/test/CodeGen/X86/apx/no-rex2-general.ll
M llvm/test/CodeGen/X86/apx/no-rex2-pseudo-amx.ll
M llvm/test/CodeGen/X86/apx/no-rex2-pseudo-x87.ll
M llvm/test/CodeGen/X86/apx/no-rex2-special.ll
M llvm/test/tools/llc/new-pm/start-stop.ll
Log Message:
-----------
Revert "[NewPM][CodeGen] Port selection dag isel to new pass manager" (#94146)
This reverts commit de37c06f01772e02465ccc9f538894c76d89a7a1 to
de37c06f01772e02465ccc9f538894c76d89a7a1
It still breaks EXPENSIVE_CHECKS build. Sorry.
Commit: c9a86fa9a631eb77f229e457a323caec705600bf
https://github.com/llvm/llvm-project/commit/c9a86fa9a631eb77f229e457a323caec705600bf
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
A llvm/test/CodeGen/RISCV/pr94145.ll
Log Message:
-----------
[DAG] canCreateUndefOrPoison - fix missing argument typo
We were missing the PoisonOnly argument (so Depth + 1 was being used instead and the default Depth = 0 argument then being silently used)
Fixes #94145 and serves as the test case for 9e22c7a0ea87228dffcdfd7ab62724f72e0b3e30
Commit: 45964eb9b88c46045e4e84beb4e2135cdeed6855
https://github.com/llvm/llvm-project/commit/45964eb9b88c46045e4e84beb4e2135cdeed6855
Author: Stephan T. Lavavej <stl at nuwen.net>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered.pass.cpp
M libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered_with.pass.cpp
M libcxx/test/std/thread/thread.condition/thread.condition.condvarany/wait_for_pred.pass.cpp
M libcxx/test/support/test_macros.h
Log Message:
-----------
[libc++] [test] Fix `__has_include` usage, expand condvarany and spaceship coverage (#94120)
Three unrelated, small improvements:
* `test_macros.h` was incorrectly saying `__has_include("<version>")`
instead of `__has_include(<version>)`.
+ This caused `<ciso646>` to always be included (noticed because MSVC's
STL emitted a deprecation warning).
+ I searched all of LLVM and found no other occurrences.
* `thread.condition.condvarany/wait_for_pred.pass.cpp` forgot to test
anything.
+ I followed what `wait_for.pass.cpp` is testing.
* Uncomment spaceship test coverage.
Commit: b6ea134e4162e61c6b448ff48fd1deaa0d523166
https://github.com/llvm/llvm-project/commit/b6ea134e4162e61c6b448ff48fd1deaa0d523166
Author: Eric Fiselier <eric at efcs.ca>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M .github/workflows/restart-preempted-libcxx-jobs.yaml
Log Message:
-----------
Fix pagination issue in libc++ buildbot restarter
Commit: 197c3a3efc703711ac8f14bc4f1765eaadb8e5bc
https://github.com/llvm/llvm-project/commit/197c3a3efc703711ac8f14bc4f1765eaadb8e5bc
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
M llvm/lib/MC/MCPseudoProbe.cpp
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
M mlir/lib/Dialect/SparseTensor/Transforms/SparseReinterpretMap.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/LoopEmitter.cpp
Log Message:
-----------
Use llvm::less_first (NFC) (#94136)
Commit: e044283996f6f2a157c2087cffa6618f32cc5ae8
https://github.com/llvm/llvm-project/commit/e044283996f6f2a157c2087cffa6618f32cc5ae8
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProf.h
Log Message:
-----------
[memprof] Use GlobalValue::GUID instead of uint64_t (NFC) (#94086)
Commit: df9167bfb3040bee492fd6bf64b97175f105da50
https://github.com/llvm/llvm-project/commit/df9167bfb3040bee492fd6bf64b97175f105da50
Author: Stephan T. Lavavej <stl at nuwen.net>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
A libcxx/test/std/atomics/atomics.ref/member_types.compile.pass.cpp
R libcxx/test/std/atomics/atomics.ref/member_types.pass.cpp
A libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered.compile.pass.cpp
R libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered.pass.cpp
A libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered_with.compile.pass.cpp
R libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered_with.pass.cpp
A libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/floating_point.compile.pass.cpp
R libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/floating_point.pass.cpp
A libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/integral.compile.pass.cpp
R libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/integral.pass.cpp
A libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/signed_integral.compile.pass.cpp
R libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/signed_integral.pass.cpp
A libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/unsigned_integral.compile.pass.cpp
R libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/unsigned_integral.pass.cpp
A libcxx/test/std/containers/associative/map/gcc_workaround.compile.pass.cpp
R libcxx/test/std/containers/associative/map/gcc_workaround.pass.cpp
A libcxx/test/std/containers/associative/map/map.cons/default_recursive.compile.pass.cpp
R libcxx/test/std/containers/associative/map/map.cons/default_recursive.pass.cpp
A libcxx/test/std/containers/associative/multimap/multimap.cons/default_recursive.compile.pass.cpp
R libcxx/test/std/containers/associative/multimap/multimap.cons/default_recursive.pass.cpp
A libcxx/test/std/containers/associative/set/gcc_workaround.compile.pass.cpp
R libcxx/test/std/containers/associative/set/gcc_workaround.pass.cpp
A libcxx/test/std/iterators/iterator.requirements/iterator.assoc.types/readable.traits/iter_value_t.compile.pass.cpp
R libcxx/test/std/iterators/iterator.requirements/iterator.assoc.types/readable.traits/iter_value_t.pass.cpp
A libcxx/test/std/numerics/numbers/user_type.compile.pass.cpp
R libcxx/test/std/numerics/numbers/user_type.pass.cpp
A libcxx/test/std/strings/char.traits/char.traits.require/nothing_to_do.compile.pass.cpp
R libcxx/test/std/strings/char.traits/char.traits.require/nothing_to_do.pass.cpp
A libcxx/test/std/strings/char.traits/char.traits.typedefs/nothing_to_do.compile.pass.cpp
R libcxx/test/std/strings/char.traits/char.traits.typedefs/nothing_to_do.pass.cpp
A libcxx/test/std/strings/string.view/string.view.synop/nothing_to_do.compile.pass.cpp
R libcxx/test/std/strings/string.view/string.view.synop/nothing_to_do.pass.cpp
A libcxx/test/std/strings/strings.general/nothing_to_do.compile.pass.cpp
R libcxx/test/std/strings/strings.general/nothing_to_do.pass.cpp
Log Message:
-----------
[libc++] [test] Cleanup compile-only tests (#94121)
I noticed that these tests had empty `main` functions. Dropping them and
renaming the tests to `MEOW.compile.pass.cpp` will slightly improve test
throughput.
Commit: c26a99384bce5719107d26f4617d6e3b1e9253ff
https://github.com/llvm/llvm-project/commit/c26a99384bce5719107d26f4617d6e3b1e9253ff
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang][NFC] Update CWG issues list
Commit: d9293519bce5d2a6a22b73933810306317b51b3b
https://github.com/llvm/llvm-project/commit/d9293519bce5d2a6a22b73933810306317b51b3b
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M llvm/utils/TableGen/AsmMatcherEmitter.cpp
M llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp
M llvm/utils/TableGen/Common/CodeGenRegisters.cpp
M llvm/utils/TableGen/Common/CodeGenSchedule.cpp
M llvm/utils/TableGen/Common/CodeGenTarget.cpp
M llvm/utils/TableGen/Common/GlobalISel/GlobalISelMatchTableExecutorEmitter.cpp
M llvm/utils/TableGen/DFAEmitter.cpp
M llvm/utils/TableGen/FastISelEmitter.cpp
M llvm/utils/TableGen/GlobalISelEmitter.cpp
M llvm/utils/TableGen/InstrInfoEmitter.cpp
M llvm/utils/TableGen/RegisterInfoEmitter.cpp
Log Message:
-----------
[TableGen] Use llvm::unique (NFC) (#94163)
Commit: 5367b2c862a7bfe138ee17994edfdb7938437064
https://github.com/llvm/llvm-project/commit/5367b2c862a7bfe138ee17994edfdb7938437064
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M libcxx/include/__config
M libcxx/include/__locale_dir/locale_base_api/android.h
M libcxx/include/__locale_dir/locale_base_api/ibm.h
M libcxx/include/__locale_dir/locale_base_api/musl.h
M libcxx/include/__locale_dir/locale_base_api/openbsd.h
M libcxx/include/__support/xlocale/__nop_locale_mgmt.h
M libcxx/include/__support/xlocale/__posix_l_fallback.h
M libcxx/include/__support/xlocale/__strtonum_fallback.h
Log Message:
-----------
[libc++] Don't give functions C linkage (#94102)
There is no reason to give any of the functions C linkage. This makes
all of the libc++ functions have C++ linkage, removing the need for
`_LIBCPP_HIDE_FROM_ABI_C`.
Commit: 80303cb287e2c52c7bf4923bc61ebe25b2421bdc
https://github.com/llvm/llvm-project/commit/80303cb287e2c52c7bf4923bc61ebe25b2421bdc
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Handle attributes before lambda return arrow (#94119)
Fixes #92657.
Commit: f06f0164199d4a968d8336937cd5ef2c05946d8d
https://github.com/llvm/llvm-project/commit/f06f0164199d4a968d8336937cd5ef2c05946d8d
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format][NFC] Add missing parens of __attribute in unit tests
Commit: 4ce65423be0ba1d90c11b6a79981d6314e1cf36d
https://github.com/llvm/llvm-project/commit/4ce65423be0ba1d90c11b6a79981d6314e1cf36d
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M llvm/lib/ProfileData/InstrProfReader.cpp
Log Message:
-----------
[memprof] Use const ref for IndexedRecord (#94114)
The type of *Iter here is "const IndexedMemProfRecord &" as defined in
RecordLookupTrait. Assigning *Iter to a variable of type
"const IndexedMemProfRecord &" avoids a copy, reducing the cycle and
instruction counts by 1.8% and 0.2%, respectively, with
"llvm-profdata show" modified to deserialize all MemProfRecords.
Note that RecordLookupTrait has an internal copy of
IndexedMemProfRecord, so we don't have to worry about a dangling
reference to a temporary.
Commit: ab08df2292334d4980b3e81829a20904e59e13c9
https://github.com/llvm/llvm-project/commit/ab08df2292334d4980b3e81829a20904e59e13c9
Author: Joshua Cao <cao.joshua at yahoo.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/Function.h
M llvm/lib/CodeGen/MachineOutliner.cpp
M llvm/lib/IR/Attributes.cpp
M llvm/unittests/IR/FunctionTest.cpp
Log Message:
-----------
[IR] Do not set `none` for function uwtable (#93387)
This avoids the pitfall where we set the uwtable to none:
```
func.setUWTableKind(llvm::UWTableKind::None)
```
`Attribute::getAsString()` would see an unknown attribute and fail an
assertion. In this patch, we assert that we do not see a None uwtable
kind.
This also skips the check of `UWTableKind::Async`. It is dominated by
the check of `UWTableKind::Default`, which has the same enum value
(nfc).
Commit: 2fbc9f217e5fe8db8444a87dbd7138a768b8aa85
https://github.com/llvm/llvm-project/commit/2fbc9f217e5fe8db8444a87dbd7138a768b8aa85
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/include/clang/Format/Format.h
Log Message:
-----------
[clang-format][doc] Clean up quotes, etc.
Commit: d7d2d4f53fc79b4b58e8d8d08151b577c3699d4a
https://github.com/llvm/llvm-project/commit/d7d2d4f53fc79b4b58e8d8d08151b577c3699d4a
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M clang/include/clang/Format/Format.h
Log Message:
-----------
[clang-format] Fix documentation build error
https://github.com/llvm/llvm-project/actions/runs/9342063971/job/25709589592
Commit: f779ec7c13bdfccd29655d13a325f34c60797a76
https://github.com/llvm/llvm-project/commit/f779ec7c13bdfccd29655d13a325f34c60797a76
Author: Enna1 <xumingjie.enna1 at bytedance.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Analysis/BranchProbabilityInfo.cpp
Log Message:
-----------
[BPI] Cache LoopExitBlocks to improve compile time (#93451)
The `LoopBlock` stored in `LoopWorkList` consist of basic block and its
loop data information. When iterate `LoopWorkList`, if estimated weight
of a loop is not stored in `EstimatedLoopWeight`, `getLoopExitBlocks()`
is called to get all exit blocks of the loop. The estimated weight of a
loop is calculated by iterating over edges leading from basic block to
all exit blocks of the loop. If at least one edge has unknown estimated
weight, the estimated weight of loop is unknown and will not be stored
in `EstimatedLoopWeight`. `LoopWorkList` can contain different blocks in
a same loop, so there is wasted work that calls `getLoopExitBlocks()`
for same loop multiple times.
Since computing the exit blocks of loop is expensive and the loop
structure is not mutated in Branch Probability Analysis, we can cache
the result and improve compile time.
With this change, the overall compile time for a file containing a very
large loop is dropped by around 82%.
Commit: e12bf36d237f8ef16c25c266785f6d01fb50dbc1
https://github.com/llvm/llvm-project/commit/e12bf36d237f8ef16c25c266785f6d01fb50dbc1
Author: Dhruv Chawla <dhruvc at nvidia.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
A llvm/test/CodeGen/AArch64/GlobalISel/combine-op-trunc.mir
M llvm/test/CodeGen/AArch64/GlobalISel/combine-select.mir
M llvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-hoist-same-hands.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/fshl.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/fshr.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/uaddsat.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/usubsat.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/xnor.ll
Log Message:
-----------
[GISel][CombinerHelper] Combine op(trunc(x), trunc(y)) -> trunc(op(x, y)) (#89023)
Commit: 718331f55529469586c99a55e4b382a1c7485842
https://github.com/llvm/llvm-project/commit/718331f55529469586c99a55e4b382a1c7485842
Author: hev <wangrui at loongson.cn>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
M llvm/test/CodeGen/LoongArch/alsl.ll
M llvm/test/CodeGen/LoongArch/atomicrmw-uinc-udec-wrap.ll
M llvm/test/CodeGen/LoongArch/ir-instruction/add.ll
M llvm/test/CodeGen/LoongArch/ir-instruction/and.ll
M llvm/test/CodeGen/LoongArch/ir-instruction/call.ll
M llvm/test/CodeGen/LoongArch/ir-instruction/load-store.ll
M llvm/test/CodeGen/LoongArch/ir-instruction/sub.ll
M llvm/test/CodeGen/LoongArch/select-to-shiftand.ll
M llvm/test/CodeGen/LoongArch/sextw-removal.ll
Log Message:
-----------
[LoongArch] Custom legalize i32 operations for LA64 to reduce signed extensions (#93811)
Commit: f367eaa4647404414ab256d2ac3c4d4f6c6d1363
https://github.com/llvm/llvm-project/commit/f367eaa4647404414ab256d2ac3c4d4f6c6d1363
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProf.h
Log Message:
-----------
[memprof] Add accessors to Frame::SymbolName (#94085)
This patch adds accessors to Frame::SymbolName so that we can change
the underlying type of SymbolName without affecting downstream users
once they switch to the new accessors.
Note that SymbolName is only used for debugging. Changing the type of
SymbolName from std::optional<std::string> to
std::unique_ptr<std::string> cuts down sizeof(Frame) by half -- from
64 bytes to 32 bytes. (std::optional<T> sets aside the storage in
case T is instantiated.)
During deserialization, the memory usage is dominated by Frames.
Shrinking the type cuts down the memory usage and deserialization time
nearly by half.
Commit: 10e7671d9adf1da2f08d67fde6585c707ac4c1d2
https://github.com/llvm/llvm-project/commit/10e7671d9adf1da2f08d67fde6585c707ac4c1d2
Author: AtariDreams <gfunni234 at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
M llvm/test/Transforms/InstCombine/lshr.ll
Log Message:
-----------
Reland "[InstCombine] Fold (sub nuw X, (Y << nuw Z)) >>u exact Z --> (X >>u exact Z) sub nuw Y" (#93571)
This is the same fold as ((X << nuw Z) sub nuw Y) >>u exact Z --> X sub
nuw (Y >>u exact Z), but with the sub operands swapped.
Alive2 Proof:
https://alive2.llvm.org/ce/z/pT-RxG
Commit: aaa4ff88d6a2ef69053211e7bbee623f24723b51
https://github.com/llvm/llvm-project/commit/aaa4ff88d6a2ef69053211e7bbee623f24723b51
Author: David Stone <davidfromonline at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang-tools-extra/clangd/unittests/ReplayPeambleTests.cpp
M clang/include/clang/APINotes/APINotesManager.h
M clang/include/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h
M clang/include/clang/Serialization/ASTWriter.h
M clang/include/clang/Serialization/ModuleManager.h
M clang/lib/APINotes/APINotesManager.cpp
M clang/lib/AST/ASTDumper.cpp
M clang/lib/CodeGen/CodeGenModule.h
M clang/lib/ExtractAPI/API.cpp
M libcxx/test/tools/clang_tidy_checks/header_exportable_declarations.cpp
Log Message:
-----------
[clang][Modules] Remove unnecessary includes of `Module.h` (#93417)
Commit: 5161a3f6e5e92c78c33aed5e38e0680a1a9b088e
https://github.com/llvm/llvm-project/commit/5161a3f6e5e92c78c33aed5e38e0680a1a9b088e
Author: martinboehme <mboehme at google.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/include/clang/Analysis/FlowSensitive/ASTOps.h
M clang/lib/Analysis/FlowSensitive/ASTOps.cpp
M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
Log Message:
-----------
[clang][dataflow] Rewrite `getReferencedDecls()` with a `RecursiveASTVisitor`. (#93461)
We previously had a hand-rolled recursive traversal here that was
exactly what
`RecursiveASTVistor` does anyway. Using the visitor not only eliminates
the
explicit traversal logic but also allows us to introduce a common
visitor base
class for `getReferencedDecls()` and `ResultObjectVisitor`, ensuring
that the
two are consistent in terms of the nodes they visit. Inconsistency
between these
two has caused crashes in the past when `ResultObjectVisitor` tried to
propagate
result object locations to entities that weren't modeled becasue
`getReferencedDecls()` didn't visit them.
Commit: a68638bf6a6a5cb60947753ccaf7d1de80f6c89e
https://github.com/llvm/llvm-project/commit/a68638bf6a6a5cb60947753ccaf7d1de80f6c89e
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/lib/Serialization/ASTWriterDecl.cpp
A clang/test/Modules/pr93859.cppm
Log Message:
-----------
[C++20] [Modules] [Reduced BMI] Handling Deduction Guide in reduced BMI
carefully
Close https://github.com/llvm/llvm-project/issues/93859
The direct pattern of the issue is that, in a reduced BMI, we're going
to wrtie a class but we didn't write the deduction guide. Although we
handled deduction guide, but we tried to record the found deduction
guide from `noload_lookup` directly.
It is slightly problematic if the found deduction guide is from AST.
e.g.,
```
module;
export module m;
import xxx; // Also contains the class and the deduction guide
...
```
Then when we writes the class in the current file, we tried to record
the deduction guide, but `noload_lookup` returns the deduction guide
from the AST file then we didn't record the local deduction guide. Then
mismatch happens.
To mitiagte the problem, we tried to record the canonical declaration
for the decution guide.
Commit: ef4c91c44311f96f174609219e126011ec085d1f
https://github.com/llvm/llvm-project/commit/ef4c91c44311f96f174609219e126011ec085d1f
Author: David Green <david.green at arm.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/test/CodeGen/ARM/vdiv_combine.ll
Log Message:
-----------
[ARM] Rewrite vdiv_combine.ll test. NFC
Instcombine will convert the fdiv by constant to fmul. This cleans up the
vdiv_combine.ll test and adds fmul variants of the existing fdiv test.
Commit: 12c85cd31088f64a1afbc5b2133dde2e1d2516d3
https://github.com/llvm/llvm-project/commit/12c85cd31088f64a1afbc5b2133dde2e1d2516d3
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[bazel]: port for the libc change 142afde0eba4940f2b331274e9a3535fee960f35
Commit: a41a20bd47968b16bb84761578628752080e9f24
https://github.com/llvm/llvm-project/commit/a41a20bd47968b16bb84761578628752080e9f24
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/lib/Frontend/FrontendActions.cpp
Log Message:
-----------
[NFC] [C++20] [Modules] [Reduced BMI] Reorder Emitting reduced BMI and normal BMI for named modules
When we generate the reduced BMI on the fly, the order of the emitting
phase is different within `-emit-obj` and `-emit-module-interface`.
Although this is meant to be fine, we observed it in
https://github.com/llvm/llvm-project/issues/93859 (that the different phase order may cause problems).
Also it turns out to be a different fundamental reason to the orders.
But it might be fine to make the order of emitting reducing BMI at first
to avoid such confusions in the future.
Commit: 5b4445e5e5d09b4bdf0e3c1fab52719bfb3f75e2
https://github.com/llvm/llvm-project/commit/5b4445e5e5d09b4bdf0e3c1fab52719bfb3f75e2
Author: David Green <david.green at arm.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
A llvm/test/CodeGen/AArch64/fdiv-const.ll
Log Message:
-----------
[AArch64] Add a test for converting fdiv by constant to fmul. NFC
Commit: f4a7f81a914ca8aceddd9b7a71e36bb0828ae052
https://github.com/llvm/llvm-project/commit/f4a7f81a914ca8aceddd9b7a71e36bb0828ae052
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/include/clang/Format/Format.h
Log Message:
-----------
[clang-format][doc] Minor cleanup
Commit: 84742cd867b0e7e76da6bdc08cc7c56beac86168
https://github.com/llvm/llvm-project/commit/84742cd867b0e7e76da6bdc08cc7c56beac86168
Author: Stephan T. Lavavej <stl at nuwen.net>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M libcxx/test/std/utilities/optional/optional.object/optional.object.assign/emplace.pass.cpp
M libcxx/test/std/utilities/optional/optional.object/optional.object.mod/reset.pass.cpp
Log Message:
-----------
[libc++][test] Mark `optional` test functions as `TEST_CONSTEXPR_CXX20` (#94172)
[P2231R1](https://wg21.link/P2231R1) "Missing `constexpr` in
`std::optional` and `std::variant`" was accepted as a C++20 Defect
Report, not a C++17 Defect Report. Accordingly, `test_empty_emplace()`
and `check_reset()` should be marked as `TEST_CONSTEXPR_CXX20`. Note
that their `static_assert`s are properly guarded:
https://github.com/llvm/llvm-project/blob/4ce65423be0ba1d90c11b6a79981d6314e1cf36d/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/emplace.pass.cpp#L270-L272
https://github.com/llvm/llvm-project/blob/4ce65423be0ba1d90c11b6a79981d6314e1cf36d/libcxx/test/std/utilities/optional/optional.object/optional.object.mod/reset.pass.cpp#L53-L55
Found while running libc++'s tests with MSVC's STL, as we activate our
`constexpr` here for C++20 and above.
Commit: ccb73e882b2d727877cfda42a14a6979cfd31f04
https://github.com/llvm/llvm-project/commit/ccb73e882b2d727877cfda42a14a6979cfd31f04
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/include/clang/AST/DeclBase.h
M clang/include/clang/AST/DeclID.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ModuleFile.h
M clang/include/clang/Serialization/ModuleManager.h
M clang/lib/AST/DeclBase.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/ModuleFile.cpp
A clang/test/Modules/no-transitive-decls-change.cppm
Log Message:
-----------
[serialization] no transitive decl change (#92083)
Following of https://github.com/llvm/llvm-project/pull/86912
#### Motivation Example
The motivation of the patch series is that, for a module interface unit
`X`, when the dependent modules of `X` changes, if the changes is not
relevant with `X`, we hope the BMI of `X` won't change. For the specific
patch, we hope if the changes was about irrelevant declaration changes,
we hope the BMI of `X` won't change. **However**, I found the patch
itself is not very useful in practice, since the adding or removing
declarations, will change the state of identifiers and types in most
cases.
That said, for the most simple example,
```
// partA.cppm
export module m:partA;
// partA.v1.cppm
export module m:partA;
export void a() {}
// partB.cppm
export module m:partB;
export void b() {}
// m.cppm
export module m;
export import :partA;
export import :partB;
// onlyUseB;
export module onlyUseB;
import m;
export inline void onluUseB() {
b();
}
```
the BMI of `onlyUseB` will change after we change the implementation of
`partA.cppm` to `partA.v1.cppm`. Since `partA.v1.cppm` introduces new
identifiers and types (the function prototype).
So in this patch, we have to write the tests as:
```
// partA.cppm
export module m:partA;
export int getA() { ... }
export int getA2(int) { ... }
// partA.v1.cppm
export module m:partA;
export int getA() { ... }
export int getA(int) { ... }
export int getA2(int) { ... }
// partB.cppm
export module m:partB;
export void b() {}
// m.cppm
export module m;
export import :partA;
export import :partB;
// onlyUseB;
export module onlyUseB;
import m;
export inline void onluUseB() {
b();
}
```
so that the new introduced declaration `int getA(int)` doesn't introduce
new identifiers and types, then the BMI of `onlyUseB` can keep
unchanged.
While it looks not so great, the patch should be the base of the patch
to erase the transitive change for identifiers and types since I don't
know how can we introduce new types and identifiers without introducing
new declarations. Given how tightly the relationship between
declarations, types and identifiers, I think we can only reach the ideal
state after we made the series for all of the three entties.
#### Design details
The design of the patch is similar to
https://github.com/llvm/llvm-project/pull/86912, which extends the
32-bit DeclID to 64-bit and use the higher bits to store the module file
index and the lower bits to store the Local Decl ID.
A slight difference is that we only use 48 bits to store the new DeclID
since we try to use the higher 16 bits to store the module ID in the
prefix of Decl class. Previously, we use 32 bits to store the module ID
and 32 bits to store the DeclID. I don't want to allocate additional
space so I tried to make the additional space the same as 64 bits. An
potential interesting thing here is about the relationship between the
module ID and the module file index. I feel we can get the module file
index by the module ID. But I didn't prove it or implement it. Since I
want to make the patch itself as small as possible. We can make it in
the future if we want.
Another change in the patch is the new concept Decl Index, which means
the index of the very big array `DeclsLoaded` in ASTReader. Previously,
the index of a loaded declaration is simply the Decl ID minus
PREDEFINED_DECL_NUMs. So there are some places they got used
ambiguously. But this patch tried to split these two concepts.
#### Overhead
As https://github.com/llvm/llvm-project/pull/86912 did, the change will
increase the on-disk PCM file sizes. As the declaration ID may be the
most IDs in the PCM file, this can have the biggest impact on the size.
In my experiments, this change will bring 6.6% increase of the on-disk
PCM size. No compile-time performance regression observed. Given the
benefits in the motivation example, I think the cost is worthwhile.
Commit: b71434f8b33b6538554a092155c7e8477b2899e1
https://github.com/llvm/llvm-project/commit/b71434f8b33b6538554a092155c7e8477b2899e1
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
M llvm/test/CodeGen/AArch64/arm64-reg-copy-noneon.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-masked-load.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-test-register-mov.ll
Log Message:
-----------
[AArch64] Avoid NEON ORR when NEON and SVE are unavailable (#93940)
For streaming-compatible functions with only +sme, we can't use
a NEON ORR (aliased as 'mov') for copies of Q-registers, so
we need to use a spill/fill instead.
This also fixes the fill, which should use the post-incrementing
addressing mode.
Commit: 264b1b24869eb45463a98d70e9b9e991092acc28
https://github.com/llvm/llvm-project/commit/264b1b24869eb45463a98d70e9b9e991092acc28
Author: David Green <david.green at arm.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/test/CodeGen/ARM/vdiv_combine.ll
Log Message:
-----------
[ARM] Convert vector fdiv+fcvt fixed-point combine to fmul.
Instcombine will convert fdiv by a power-2 to fmul, this converts the
PerformVDIVCombine that converts fdiv+fcvt to fixed-point fcvt to fmul+fcvt.
The fdiv tests will look worse, but won't appear in practice (and should be
improved again by #93882).
Commit: ce73e17e3ab5ccfa33a977843e82a9bbfb6b4ce3
https://github.com/llvm/llvm-project/commit/ce73e17e3ab5ccfa33a977843e82a9bbfb6b4ce3
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVISelLowering.cpp
A llvm/test/CodeGen/SPIRV/event-wait-ptr-type.ll
Log Message:
-----------
[SPIR-V] Validate type of the last parameter of OpGroupWaitEvents (#93661)
This PR fixes invalid OpGroupWaitEvents emission to ensure that SPIR-V
Backend inserts a bitcast before OpGroupWaitEvents if the last argument
is a pointer that doesn't point to OpTypeEvent.
Commit: 763b96c86d81d51d0db430791a61fd1e8a406bce
https://github.com/llvm/llvm-project/commit/763b96c86d81d51d0db430791a61fd1e8a406bce
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M lldb/source/DataFormatters/FormatManager.cpp
M lldb/source/DataFormatters/ValueObjectPrinter.cpp
M lldb/test/API/functionalities/data-formatter/synthcapping/TestSyntheticCapping.py
M lldb/test/API/functionalities/data-formatter/synthcapping/fooSynthProvider.py
Log Message:
-----------
[lldb] Avoid (unlimited) GetNumChildren calls when printing values (#93946)
For some data formatters, even getting the number of children can be an
expensive operations (e.g., needing to walk a linked list to determine
the number of elements). This is then wasted work when we know we will
be printing only small number of them.
This patch replaces the calls to GetNumChildren (at least those on the
"frame var" path) with the calls to the capped version, passing the
value of `max-children-count` setting (plus one)
Commit: 09c0607919c958c1a816acd58cc6c6585aec51a6
https://github.com/llvm/llvm-project/commit/09c0607919c958c1a816acd58cc6c6585aec51a6
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M lldb/test/API/lang/c/non-mangled/TestCNonMangled.py
Log Message:
-----------
[lldb][test] Skip D lang mangling test on Windows
While the fix is reviewed.
Commit: 8918d35dbde126c95350b674a2bb102692d90260
https://github.com/llvm/llvm-project/commit/8918d35dbde126c95350b674a2bb102692d90260
Author: David Stone <davidfromonline at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
A clang/include/clang/Basic/ASTSourceDescriptor.h
M clang/include/clang/Basic/Module.h
M clang/lib/AST/ExternalASTSource.cpp
A clang/lib/Basic/ASTSourceDescriptor.cpp
M clang/lib/Basic/CMakeLists.txt
M clang/lib/Basic/Module.cpp
M clang/lib/CodeGen/CGDebugInfo.h
M clang/lib/Serialization/ASTReader.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ASTUtils.h
M lldb/source/Plugins/ExpressionParser/Clang/ClangExternalASTSourceCallbacks.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangExternalASTSourceCallbacks.h
Log Message:
-----------
[clang][Modules] Move `ASTSourceDescriptor` into its own file (#67930)
Commit: 6a217307641972e27f9eee1adb80e649e10f229f
https://github.com/llvm/llvm-project/commit/6a217307641972e27f9eee1adb80e649e10f229f
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-06-03 (Mon, 03 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/OMPFunctionFiltering.cpp
Log Message:
-----------
[flang][OpenMP][NFC] Reduce FunctionFiltering pass boilerplate (#93951)
The pass constructor can be generated automatically.
This pass doesn't need to be adapted to support other top level
operations because it is specifically supposed to filter functions. We
don't need to filter non-function top level operations because without
use inside of functions they shouldn't lead to any codegen.
Commit: 770b6c792472e1ff87e8598728d37c516861218e
https://github.com/llvm/llvm-project/commit/770b6c792472e1ff87e8598728d37c516861218e
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M lldb/test/API/lang/c/non-mangled/TestCNonMangled.py
Log Message:
-----------
[lldb][test] Add missing import in D lang mangling test
Commit: 6abf361953e9c5d019a72fd83765498d269eb080
https://github.com/llvm/llvm-project/commit/6abf361953e9c5d019a72fd83765498d269eb080
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M lldb/test/API/lang/c/non-mangled/TestCNonMangled.py
Log Message:
-----------
[lldb][test] Fix D lang mangling test on Windows (#94196)
On Windows the function does not have a symbol associated with it:
Function: id = {0x000001c9}, name = "_Dfunction", range =
[0x0000000140001000-0x0000000140001004)
LineEntry: <...>
Whereas it does on Linux:
Function: id = {0x00000023}, name = "_Dfunction", range =
[0x0000000000000734-0x0000000000000738)
LineEntry: <...>
Symbol: id = {0x00000058}, range =
[0x0000000000000734-0x0000000000000738), name="_Dfunction"
This means that frame.symbol is not valid on Windows.
However, frame.function is valid and it also has a "mangled" attribute.
So I've updated the test to check the symbol if we've got it, and the
function always.
In both cases we check that mangled is empty (meaning it has not been
treated as mangled) and that the display name matches the original
symbol name.
Commit: d00731cb7fcc91047531069e029964a39935a5bb
https://github.com/llvm/llvm-project/commit/d00731cb7fcc91047531069e029964a39935a5bb
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M lldb/test/API/tools/lldb-dap/variables/children/TestDAP_variables_children.py
Log Message:
-----------
[lldb] s/assertEquals/assertEqual in TestDAP_variables_children
Commit: 6b7444964a8d028989beee554a1f5c61d16a1cac
https://github.com/llvm/llvm-project/commit/6b7444964a8d028989beee554a1f5c61d16a1cac
Author: AlexGhiti <AlexGhiti at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
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/atomic-cmpxchg-branch-on-result.ll
M llvm/test/CodeGen/RISCV/atomic-cmpxchg.ll
M llvm/test/CodeGen/RISCV/atomic-rmw.ll
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/MC/RISCV/rvzabha-invalid.s
M llvm/test/MC/RISCV/rvzabha-valid.s
M llvm/test/MC/RISCV/rvzabha-zacas-valid.s
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Remove experimental from Zabha (#93831)
The Zabha extension was ratified in April 2024.
Co-authored-by: Alexandre Ghiti <alexghiti at rivosinc.com>
Commit: 5bfc444524d74b714b9efb2dc00c7bc36a3838e2
https://github.com/llvm/llvm-project/commit/5bfc444524d74b714b9efb2dc00c7bc36a3838e2
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIROpsSupport.h
M flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/lib/Optimizer/Transforms/AddDebugInfo.cpp
A flang/test/Lower/OpenMP/debug_info_conflict.f90
Log Message:
-----------
[flang] Emit `argNo` debug info only for `func` block args (#93921)
Fixes a bug uncovered by
[pr43337.f90](https://github.com/llvm/llvm-test-suite/blob/main/Fortran/gfortran/regression/gomp/pr43337.f90)
in the test suite.
In particular, this emits `argNo` debug info only if the parent op of a
block is a `func.func` op. This avoids DI conflicts when a function
contains a nested OpenMP region that itself has block arguments with DI
attached to them; for example, `omp.parallel` with delayed privatization
enabled.
Commit: a5641f106affc3afb899eee42eb40c2ded81f411
https://github.com/llvm/llvm-project/commit/a5641f106affc3afb899eee42eb40c2ded81f411
Author: Nathan Gauër <brioche at google.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/CMakeLists.txt
M llvm/lib/Target/SPIRV/SPIRV.h
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/SPIRV/SPIRVInstrInfo.td
A llvm/lib/Target/SPIRV/SPIRVMergeRegionExitTargets.cpp
M llvm/lib/Target/SPIRV/SPIRVTargetMachine.cpp
A llvm/test/CodeGen/SPIRV/structurizer/merge-exit-break.ll
A llvm/test/CodeGen/SPIRV/structurizer/merge-exit-convergence-in-break.ll
A llvm/test/CodeGen/SPIRV/structurizer/merge-exit-multiple-break.ll
A llvm/test/CodeGen/SPIRV/structurizer/merge-exit-simple-white-identity.ll
Log Message:
-----------
[SPIR-V] Add pass to merge convergence region exit targets (#92531)
The structurizer required regions to be SESE: single entry, single exit.
This new pass transforms multiple-exit regions into single-exit regions.
```
+---+
| A |
+---+
/ \
+---+ +---+
| B | | C | A, B & C belongs to the same convergence region.
+---+ +---+
| |
+---+ +---+
| D | | E | C & D belongs to the parent convergence region.
+---+ +---+ This means B & C are the exit blocks of the region.
\ / And D & E the targets of those exits.
\ /
|
+---+
| F |
+---+
```
This pass would assign one value per exit target:
B = 0
C = 1
Then, create one variable per exit block (B, C), and assign it to the
correct value: in B, the variable will have the value 0, and in C, the
value 1.
Then, we'd create a new block H, with a PHI node to gather those 2
variables, and a switch, to route to the correct target.
Finally, the branches in B and C are updated to exit to this new block.
```
+---+
| A |
+---+
/ \
+---+ +---+
| B | | C |
+---+ +---+
\ /
+---+
| H |
+---+
/ \
+---+ +---+
| D | | E |
+---+ +---+
\ /
\ /
|
+---+
| F |
+---+
```
Note: the variable is set depending on the condition used to branch. If
B's terminator was conditional, the variable would be set using a
SELECT.
All internal edges of a region are left intact, only exiting edges are
updated.
---------
Signed-off-by: Nathan Gauër <brioche at google.com>
Commit: e28b07019b47d3ca820ee9305b4b673f61febfec
https://github.com/llvm/llvm-project/commit/e28b07019b47d3ca820ee9305b4b673f61febfec
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
Log Message:
-----------
[gn build] Port 8918d35dbde1
Commit: 4f2dba3c0b4e5f11b968a840b5f70070f5288cfe
https://github.com/llvm/llvm-project/commit/4f2dba3c0b4e5f11b968a840b5f70070f5288cfe
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/test/CXX/drs/cwg28xx.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang] Add tests for some CWG issues from 2024-05-31 telecon (#94167)
This patch adds tests for some CWG issues that were discussed at
2024-05-31 telecon. While all of them are tentatively ready at the
moment, I'm expecting them to be moved to DRs without changes. CWG
issues that are expected to have follow-ups are not included in this PR.
I also realized that `cwg28xx.cpp` has been testing without
`-pedantic-errors`. I fixed that. Fortunately, no existing tests had
anything hidden by the lack of this flag.
The following CWG issues are covered:
[CWG2877](https://cplusplus.github.io/CWG/issues/2877.html) "Type-only
lookup for _using-enum-declarator_"
[CWG2882](https://cplusplus.github.io/CWG/issues/2882.html) "Unclear
treatment of conversion to `void`"
[CWG2883](https://cplusplus.github.io/CWG/issues/2883.html) "Definition
of "odr-usable" ignores lambda scopes"
[CWG2885](https://cplusplus.github.io/CWG/issues/2885.html)
"Non-eligible trivial default constructors"
[CWG2886](https://cplusplus.github.io/CWG/issues/2886.html) "Temporaries
and trivial potentially-throwing special member functions"
Commit: bf4eaec44054fa3908d50898f572e15d89119c67
https://github.com/llvm/llvm-project/commit/bf4eaec44054fa3908d50898f572e15d89119c67
Author: Marc Auberer <marc.auberer at chillibits.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/FunctionExtras.h
M llvm/lib/Support/PrettyStackTrace.cpp
Log Message:
-----------
[llvm] Replace deprecated aligned_storage with aligned byte array (#94169)
`std::aligned_storage` is deprecated with C++23, see
[here](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1413r3.pdf).
This replaces the usages of `std::aligned_storage` within llvm (only one
in ADT and one in Support) with an aligned `std::byte` array.
I will provide patches for other subcomponents as well.
Commit: 910098e40572f9fe6bfde161eafd1b390a356043
https://github.com/llvm/llvm-project/commit/910098e40572f9fe6bfde161eafd1b390a356043
Author: Luke Lau <luke at igalia.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVGatherScatterLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/strided-load-store.ll
Log Message:
-----------
[RISCV] Match strided vector bases in RISCVGatherScatterLowering (#93972)
Currently we only match GEPs with a scalar base pointer, but a common
pattern that's emitted from the loop vectorizer is a strided vector base
plus some sort of scalar offset:
%base = getelementptr i64, ptr %p, <vscale x 1 x i64> %step
%gep = getelementptr i64, <vscale x 1 x ptr> %base, i64 %offset
This is common for accesses into a struct e.g. f[i].b below:
struct F { int a; char b; };
void foo(struct F *f) {
for (int i = 0; i < 1024; i += 2) {
f[i].a++;
f[i].b++;
}
}
This patch handles this case in RISCVGatherScatterLowering by recursing
on the base pointer if it's a vector.
With this we can convert roughly 80% of the indexed loads and stores
emitted to strided loads and stores on SPEC CPU 2017, -O3
-march=rva22u64_v
Commit: 6b30180b663e1fe4de32046398581a374c8a54f2
https://github.com/llvm/llvm-project/commit/6b30180b663e1fe4de32046398581a374c8a54f2
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/include/clang/AST/DeclBase.h
M clang/include/clang/AST/DeclID.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ModuleFile.h
M clang/include/clang/Serialization/ModuleManager.h
M clang/lib/AST/DeclBase.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/ModuleFile.cpp
R clang/test/Modules/no-transitive-decls-change.cppm
Log Message:
-----------
Revert "[serialization] no transitive decl change (#92083)"
This reverts commit ccb73e882b2d727877cfda42a14a6979cfd31f04.
It looks like there are some bots complaining about the patch.
See the post commit comment in
https://github.com/llvm/llvm-project/pull/92083 to track it.
Commit: 22a7f7c3314328dd1ac20042158f4b68a4ac5c1f
https://github.com/llvm/llvm-project/commit/22a7f7c3314328dd1ac20042158f4b68a4ac5c1f
Author: Serge Pavlov <sepavloff at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/test/tools/llvm-symbolizer/get-input-file.test
M llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
Log Message:
-----------
[symbolizer] Empty string is not an error (#92660)
After commit 1792852f86dc7 ([symbolizer] Change reaction on invalid
input) llvm-symbolizer issues an error on malformed command instead of
echoing it to the standard output, as in previous versions. It turns out
this behavior broke a use case when echoing was used to check if
llvm-symbolizer is working (https://github.com/llvm/llvm-project/commit/1792852f86dc75efa1f44d46b1a0daf386d64afa#commitcomment-142161925).
With this change an empty line as input is not considered as an error
anymore and does not produce any output on stderr. llvm-symbolizer still
respond on empty line with line not found, this is consistent with GNU
addr2line.
---------
Co-authored-by: James Henderson <46713263+jh7370 at users.noreply.github.com>
Commit: 12fcca0afeb08fbe41d79c5387cfacb249992bb4
https://github.com/llvm/llvm-project/commit/12fcca0afeb08fbe41d79c5387cfacb249992bb4
Author: Corentin Ferry <corentin.ferry at amd.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M mlir/lib/Conversion/ArithToEmitC/ArithToEmitC.cpp
M mlir/test/Conversion/ArithToEmitC/arith-to-emitc.mlir
Log Message:
-----------
[mlir][emitc] Lower arith.andi, arith.ori, arith.xori to EmitC
This commit lowers bitwise arith ops to EmitC and also brings in `adaptValueType` and `adaptIntegralTypeSignedness` that other ArithToEmitC functions can benefit from.
Commit: 9a7bd8a60f03595be5d42315790df6d409f81091
https://github.com/llvm/llvm-project/commit/9a7bd8a60f03595be5d42315790df6d409f81091
Author: Takuto Ikuta <tikuta at google.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/lib/Tooling/JSONCompilationDatabase.cpp
M clang/unittests/Tooling/CompilationDatabaseTest.cpp
Log Message:
-----------
remove goma support from clang (#93942)
goma is deprecated and not maintained anymore.
https://chromium.googlesource.com/infra/goma/client/
Commit: 72c901f5e59477e568b1b04dae9de753b9d1f6f3
https://github.com/llvm/llvm-project/commit/72c901f5e59477e568b1b04dae9de753b9d1f6f3
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/utils/TableGen/Basic/CodeGenIntrinsics.cpp
M llvm/utils/TableGen/Basic/CodeGenIntrinsics.h
Log Message:
-----------
[TableGen] CodeGenIntrinsic - pass DefaultProperties as ArrayRef instead of std::vector by value.
Avoid std::vector copies as setDefaultProperties just iterates across the Records
Fixes #89207
Commit: 6ef785c9517e8e44ddda8263e5f319b44f56cff8
https://github.com/llvm/llvm-project/commit/6ef785c9517e8e44ddda8263e5f319b44f56cff8
Author: Endre Fülöp <endre.fulop at sigmatechnology.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/docs/analyzer/checkers.rst
M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
M clang/test/Analysis/analyzer-enabled-checkers.c
M clang/test/Analysis/block-in-critical-section.c
M clang/test/Analysis/block-in-critical-section.cpp
M clang/test/Analysis/block-in-critical-section.m
M clang/test/Analysis/std-c-library-functions-arg-enabled-checkers.c
M clang/www/analyzer/alpha_checks.html
Log Message:
-----------
[clang][analyzer] Move unix.BlockInCriticalSection out of alpha (#93815)
After recent improvements (#80029) and testing on open-source projects,
the checker is ready to move out of the alpha package.
Commit: 4812e9a487735c8e2d86070f335b3364f9847711
https://github.com/llvm/llvm-project/commit/4812e9a487735c8e2d86070f335b3364f9847711
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/test/Analysis/ScalarEvolution/backedge-taken-count-guard-info.ll
M llvm/test/Transforms/IndVarSimplify/trip-count-expansion-loop-guard-preserve-nsw.ll
Log Message:
-----------
[SCEV] Preserve flags in SCEVLoopGuardRewriter for add and mul. (#91472)
SCEVLoopGuardRewriter only replaces operands with equivalent values, so
we should be able to transfer the flags from the original expression.
PR: https://github.com/llvm/llvm-project/pull/91472
Commit: bda8d1ad72fc72f21f6c536692594376d00db8b6
https://github.com/llvm/llvm-project/commit/bda8d1ad72fc72f21f6c536692594376d00db8b6
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/PatternMatch.h
M llvm/test/Transforms/InstCombine/icmp-of-trunc-ext.ll
Log Message:
-----------
[PatternMatch] Do not match constant expression trunc
Similar to the change previously made for binops, make m_Trunc()
only match instructions, not constant expressions. This is more
likely to cause a crash than do something useful.
Fixes crash reported at:
https://github.com/llvm/llvm-project/pull/92885#issuecomment-2145034670
Commit: a58dd0e948040b75266b2ee02292a16ed7b2afd5
https://github.com/llvm/llvm-project/commit/a58dd0e948040b75266b2ee02292a16ed7b2afd5
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/test/CXX/drs/cwg24xx.cpp
M clang/test/CXX/drs/cwg2630.cpp
M clang/test/CXX/drs/cwg26xx.cpp
M clang/test/CXX/drs/cwg27xx.cpp
Log Message:
-----------
[clang] Make sure all C++ DR tests are running with `-pedantic-errors` (#94203)
In #94167 I found out that `cwg28xx.cpp` has been running without
`-pedantic-errors` and fixed that. This patch fixes that for the rest of
the test suite. Only one test was affected with a trivial fix (warning
was escalated to an error).
I'm intentionally leaving out test for CWG2390, because it requires
major surgery. It's addressed in #94206.
Commit: cee6e81dd2a393ebadac8b620679290851ae446b
https://github.com/llvm/llvm-project/commit/cee6e81dd2a393ebadac8b620679290851ae446b
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/windows-extern-weak.ll
Log Message:
-----------
[AArch64] Generate test checks (NFC)
Also mark the test as nounwind. The unwinding information does
not appear to be pertinent to the original intent of the test.
Commit: e8ff03b574fc4279367939acd6a5ddd798286766
https://github.com/llvm/llvm-project/commit/e8ff03b574fc4279367939acd6a5ddd798286766
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
R llvm/test/Assembler/2007-04-25-AssemblerFoldExternWeak.ll
M llvm/test/Transforms/InstSimplify/compare.ll
Log Message:
-----------
[Tests] Move test from Assembler to InstSimplify (NFC)
Make sure this test is preserved when icmp constant expressions
are removed.
Commit: 955c2237629ae252bed44177f0b65a8805051add
https://github.com/llvm/llvm-project/commit/955c2237629ae252bed44177f0b65a8805051add
Author: Christian Kandeler <christian.kandeler at qt.io>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
M clang-tools-extra/clangd/unittests/tweaks/DefineOutlineTests.cpp
Log Message:
-----------
[clangd] Allow "move function body out-of-line" in non-header files (#69704)
Moving the body of member functions out-of-line makes sense for classes
defined in implementation files too.
Commit: 5ff993a1a3fad8d3db149b5612b201b9ff31bfd8
https://github.com/llvm/llvm-project/commit/5ff993a1a3fad8d3db149b5612b201b9ff31bfd8
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVLegalizerInfo.cpp
M llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
A llvm/test/CodeGen/SPIRV/transcoding/OpBitReverse_i2.ll
Log Message:
-----------
[SPIR-V] Fix legalize info for G_BITREVERSE (#93699)
This PR fixes legalize info for G_BITREVERSE.
Commit: 2f1229e40ecc200f76da1864cd0861a4c51bf917
https://github.com/llvm/llvm-project/commit/2f1229e40ecc200f76da1864cd0861a4c51bf917
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/test/Assembler/ConstantExprNoFold.ll
M llvm/test/Transforms/InstSimplify/compare.ll
Log Message:
-----------
[Tests] Move some tests from Assembler to InstSimplify (NFC)
To make sure these are preserved when icmp constant expressions
are removed.
Commit: 0f669154e114357d0af5eccd09f8e031c07a8a3e
https://github.com/llvm/llvm-project/commit/0f669154e114357d0af5eccd09f8e031c07a8a3e
Author: Michael Maitland <michaeltmaitland at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalMerge.h
M llvm/lib/CodeGen/GlobalMerge.cpp
A llvm/test/CodeGen/RISCV/global-merge-minsize-smalldata-nonzero.ll
A llvm/test/CodeGen/RISCV/global-merge-minsize-smalldata-zero.ll
A llvm/test/CodeGen/RISCV/global-merge-minsize.ll
Log Message:
-----------
[GlobalMerge] Add MinSize feature to the GlobalMerge Pass. (#93686)
We add a feature that prevents the GlobalMerge pass from considering
data smaller than a minimum size in bytes for merging.
The MinSize is set in 3 ways:
1. If global-merge-min-data-size is explicitly set, then it uses that
value.
2. If SmallDataLimit is set and non-zero, then SmallDataLimit + 1 is
used.
3. Otherwise, 0 is used, which means all sizes are considered for
merging.
We found that this feature allowed us to see the benefit of the
GlobalMerge pass while eliminating some merging that was not beneficial.
This feature allowed us to enable the GlobalMerge pass on RISC-V in our
downstream by default because it led to improvements on multiple
benchmark suites.
I plan to post a separate patch to propose enabling this by default on
RISC-V. But I do not want that discussion to be part of the discussion
of adding this feature, so I am keeping the patches separate.
Commit: 79527206253797b5ea79e29e1246e217af46b388
https://github.com/llvm/llvm-project/commit/79527206253797b5ea79e29e1246e217af46b388
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/test/Transforms/Attributor/cb_liveness_disabled.ll
M llvm/test/Transforms/Attributor/cb_liveness_enabled.ll
Log Message:
-----------
[Attributor] Remove unused metadata checks from liveness tests
Noticed while triaging the failures on #93673 - the attributor pass doesn't emit any range metadata in these tests
Commit: 27fe52622618a7cac3bf3444349a0c40c9e8328f
https://github.com/llvm/llvm-project/commit/27fe52622618a7cac3bf3444349a0c40c9e8328f
Author: Oleksandr T <oleksandr.tarasiuk at outlook.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Parse/ParseExprCXX.cpp
A clang/test/SemaCXX/incomplete-array-extent.cpp
Log Message:
-----------
[Clang] Fix crash on improper use of `__array_extent` (#94173)
Check whether parsing of the argument failed before attempting
to build the expression.
Fixes #80474.
Commit: 12949c952c4fbad776a860c003ccf176973278a0
https://github.com/llvm/llvm-project/commit/12949c952c4fbad776a860c003ccf176973278a0
Author: Paul T Robinson <paul.robinson at sony.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/test/Driver/aarch64-outliner.c
M clang/test/Driver/amdgcn-gz-options.cl
M clang/test/Driver/amdgpu-hip-system-arch.c
M clang/test/Driver/amdgpu-invalid-target-id.s
M clang/test/Driver/amdgpu-macros.cl
M clang/test/Driver/amdgpu-openmp-system-arch-fail.c
M clang/test/Driver/amdgpu-openmp-toolchain.c
M clang/test/Driver/arm-float-abi-runtime-path.c
M clang/test/Driver/arm-float-abi.c
M clang/test/Driver/arm-machine-outliner.c
M clang/test/Driver/cl-options.cu
M clang/test/Driver/clang-offload-bundler-zlib.c
M clang/test/Driver/clang-offload-bundler-zstd.c
M clang/test/Driver/compress-noias.c
M clang/test/Driver/cuda-arch-translation.cu
M clang/test/Driver/cuda-bad-arch.cu
M clang/test/Driver/cuda-bail-out.cu
M clang/test/Driver/cuda-bindings.cu
M clang/test/Driver/cuda-constructor-alias.cu
M clang/test/Driver/cuda-cross-compiling.c
M clang/test/Driver/cuda-detect-path.cu
M clang/test/Driver/cuda-detect.cu
M clang/test/Driver/cuda-external-tools.cu
M clang/test/Driver/cuda-macosx.cu
M clang/test/Driver/cuda-march.cu
M clang/test/Driver/cuda-omp-unsupported-debug-options.cu
M clang/test/Driver/cuda-openmp-driver.cu
M clang/test/Driver/cuda-options.cu
M clang/test/Driver/cuda-output-asm.cu
M clang/test/Driver/cuda-phases.cu
M clang/test/Driver/cuda-ptxas-path.cu
M clang/test/Driver/cuda-version-check.cu
M clang/test/Driver/cuda-windows.cu
M clang/test/Driver/driverkit-arm64.c
M clang/test/Driver/driverkit-arm64e.c
M clang/test/Driver/driverkit-cplusplus.cpp
M clang/test/Driver/driverkit-exceptions.cpp
M clang/test/Driver/driverkit-path.c
M clang/test/Driver/driverkit-rtti.cpp
M clang/test/Driver/driverkit-target-cpu.c
M clang/test/Driver/dwarf-target-version-clamp.cu
M clang/test/Driver/elfiamcu-header-search.c
M clang/test/Driver/global-isel.c
M clang/test/Driver/gpu-libc-headers.c
M clang/test/Driver/hexagon-toolchain-elf.c
M clang/test/Driver/hip-autolink.hip
M clang/test/Driver/hip-binding.hip
M clang/test/Driver/hip-code-object-version.hip
M clang/test/Driver/hip-cuid-hash.hip
M clang/test/Driver/hip-cuid.hip
M clang/test/Driver/hip-default-gpu-arch.hip
M clang/test/Driver/hip-device-compile.hip
M clang/test/Driver/hip-device-libs.hip
M clang/test/Driver/hip-fpie-option.hip
M clang/test/Driver/hip-gsplit-dwarf-options.hip
M clang/test/Driver/hip-gz-options.hip
M clang/test/Driver/hip-host-cpu-features.hip
M clang/test/Driver/hip-include-path.hip
M clang/test/Driver/hip-inputs.hip
M clang/test/Driver/hip-invalid-target-id.hip
M clang/test/Driver/hip-launch-api.hip
M clang/test/Driver/hip-link-bc-to-bc.hip
M clang/test/Driver/hip-link-bundle-archive.hip
M clang/test/Driver/hip-link-save-temps.hip
M clang/test/Driver/hip-link-static-library.hip
M clang/test/Driver/hip-no-device-libs.hip
M clang/test/Driver/hip-offload-arch.hip
M clang/test/Driver/hip-offload-compress-zlib.hip
M clang/test/Driver/hip-offload-compress-zstd.hip
M clang/test/Driver/hip-options.hip
M clang/test/Driver/hip-output-file-name.hip
M clang/test/Driver/hip-phases.hip
M clang/test/Driver/hip-printf.hip
M clang/test/Driver/hip-rdc-device-only.hip
M clang/test/Driver/hip-sanitize-options.hip
M clang/test/Driver/hip-save-temps.hip
M clang/test/Driver/hip-std.hip
M clang/test/Driver/hip-syntax-only.hip
M clang/test/Driver/hip-target-id.hip
M clang/test/Driver/hip-toolchain-device-only.hip
M clang/test/Driver/hip-toolchain-dwarf.hip
M clang/test/Driver/hip-toolchain-features.hip
M clang/test/Driver/hip-toolchain-mllvm.hip
M clang/test/Driver/hip-toolchain-no-rdc.hip
M clang/test/Driver/hip-toolchain-opt.hip
M clang/test/Driver/hip-toolchain-rdc-separate.hip
M clang/test/Driver/hip-toolchain-rdc-static-lib.hip
M clang/test/Driver/hip-toolchain-rdc.hip
M clang/test/Driver/hip-unbundle-preproc.hipi
M clang/test/Driver/hip-wavefront-size.hip
M clang/test/Driver/hip-windows-filename.hip
M clang/test/Driver/hipspv-device-libs.hip
M clang/test/Driver/hipspv-pass-plugin.hip
M clang/test/Driver/hipspv-toolchain-rdc.hip
M clang/test/Driver/hipspv-toolchain.hip
M clang/test/Driver/indirect-tls-seg-refs.c
M clang/test/Driver/invalid-offload-options.cpp
M clang/test/Driver/invalid-target-id.cl
M clang/test/Driver/lto.cu
M clang/test/Driver/m68k-features.cpp
M clang/test/Driver/mbackchain.c
M clang/test/Driver/mips-abi.c
M clang/test/Driver/mips-abicalls-warning.c
M clang/test/Driver/mips-cs.cpp
M clang/test/Driver/mips-fsf.cpp
M clang/test/Driver/mips-gpopt-warning.c
M clang/test/Driver/mips-img-v2.cpp
M clang/test/Driver/mips-img.cpp
M clang/test/Driver/mips-indirect-branch.c
M clang/test/Driver/mips-mti-linux.c
M clang/test/Driver/msan.c
M clang/test/Driver/nvptx-cuda-system-arch.c
M clang/test/Driver/openmp-offload-headers.c
M clang/test/Driver/openmp-offload-infer.c
M clang/test/Driver/openmp-offload-jit.c
M clang/test/Driver/openmp-offload.c
M clang/test/Driver/openmp-system-arch.c
M clang/test/Driver/ppc-dependent-options.cpp
M clang/test/Driver/ppc-float-abi-warning.cpp
M clang/test/Driver/ppc-unsupported.c
M clang/test/Driver/riscv32-toolchain-extra.c
M clang/test/Driver/riscv64-toolchain-extra.c
M clang/test/Driver/rocm-detect.cl
M clang/test/Driver/rocm-detect.hip
M clang/test/Driver/rocm-device-libs.cl
M clang/test/Driver/save-temps.c
M clang/test/Driver/sysroot.c
M clang/test/Driver/target-id-macros.cl
M clang/test/Driver/target-id.cl
M clang/test/Driver/thinlto.cu
M clang/test/Driver/tsan.c
M clang/test/Driver/ve-toolchain.c
M clang/test/Driver/ve-toolchain.cpp
Log Message:
-----------
[Driver] Remove a bunch of unnecessary REQUIRES constraints (#94055)
Removed foo-registered-target constraints from a bunch of tests, because
mostly the driver doesn't need to have a target availabile. I ran
check-clang-driver using a build with only the XCore target, and these
all passed.
There are ~50 tests that still have foo-registered-target, and it looks
like most of them are either doing codegen when they don't need to, or
don't really belong in the Driver tests. But that's a task for another
day.
Commit: 22b63b97ffd4e2d71c1ec2f8b4757b32587526c9
https://github.com/llvm/llvm-project/commit/22b63b97ffd4e2d71c1ec2f8b4757b32587526c9
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/Reassociate.cpp
M llvm/test/Transforms/Reassociate/reassoc_bool_vec.ll
M llvm/test/Transforms/Reassociate/repeats.ll
Log Message:
-----------
Revert "[Reassociate] Drop weight reduction to fix issue 91417 (#91469)" (#94210)
Reverts
https://github.com/llvm/llvm-project/commit/3bcccb6af685c3132a9ee578b9e11b2503c35a5c
and
https://github.com/llvm/llvm-project/commit/9a282724a29899e84adc91bdeaf639010408a80d
because #91469 causes a miscompilation
https://github.com/llvm/llvm-project/pull/91469#discussion_r1623925158.
Commit: 875e91131847e3133d414c11c8ad721b52a287ee
https://github.com/llvm/llvm-project/commit/875e91131847e3133d414c11c8ad721b52a287ee
Author: Tomas Matheson <Tomas.Matheson at arm.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_add-i64.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_mopa-za64.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_mops-za64.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/aarch64-sme2-attrs.cpp
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_add.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_add_sub_za16.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_bmop.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_clamp.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvt.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvtn.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_fmlas16.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_fp_dots.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_frint.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_int_dots.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti2_lane_zt.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti2_lane_zt_x2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti2_lane_zt_x4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti4_lane_zt.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti4_lane_zt_x2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti4_lane_zt_x4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_max.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_maxnm.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_min.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_minnm.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mla.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mlal.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mlall.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mls.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mlsl.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mop.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mopa_nonwide.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_read.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_reinterpret_svcount_svbool.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_sqdmulh.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_sub.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_unpkx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_unpkx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vdot.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_add.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_qrshr.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_rshl.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_selx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_selx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_uzpx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_uzpx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_zipx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_zipx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_write.c
M clang/test/CodeGen/aarch64-sme2p1-intrinsics/acle_sme2p1_zero.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4-bfloat.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aba.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abalb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abalt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abdlb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abdlt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adalp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addhnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addhnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlbt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addwb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addwt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aese.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesimc.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesmc.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bcax.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bdep.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bext.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bgrp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl1n.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl2n.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cdot.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cmla.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtlt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtx.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtxnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eor3.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eorbt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eortb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_histcnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_histseg.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hsub.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hsubr.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sh.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sw.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1ub.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1uh.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1uw.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_logb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_match.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_maxnmp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_maxp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_minnmp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_minp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mla.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlalb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlalt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mls.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlslb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlslt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_movlb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_movlt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mul.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mullb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mullt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_nbsl.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_nmatch.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmul.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullb_128.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullt_128.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qabs.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qcadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalbt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslbt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmulh.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmullb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmullt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qneg.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdcmlah.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmlah.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmlsh.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmulh.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshl.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrunb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrunt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshl.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshlu.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrunb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrunt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qsub.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qsubr.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtunb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtunt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_raddhnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_raddhnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rax1.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_recpe.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_revd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rhadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshl.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshr.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshrnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshrnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsqrte.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsra.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsubhnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsubhnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shllb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shllt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shrnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shrnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sli.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sm4e.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sm4ekey.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sqadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sra.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sri.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1b.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1h.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1w.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subhnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subhnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublbt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subltb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subwb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subwt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbl2-bfloat.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbl2.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbx-bfloat.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbx.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_uqadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilege.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilegt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilerw-bfloat.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilerw.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilewr-bfloat.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilewr.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_xar.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfadd.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmax.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmaxnm.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmin.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfminnm.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmla.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmla_lane.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmls.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmls_lane.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmlsl.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmul.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmul_lane.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfsub.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_cntp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_create2_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_create4_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_dot.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_dupq.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_extq.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_fclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_fp_reduce.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_get2_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_get4_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_int_reduce.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ld1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ld1_single.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ldnt1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_loads.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pext.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pfalse.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pmov_to_pred.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pmov_to_vector.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_psel.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_psel_svcount.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ptrue.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_qcvtn.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_qrshr.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_sclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set2_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set4_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_st1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_st1_single.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_stnt1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_store.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_tblq.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_tbxq.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_undef_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uzpq1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uzpq2.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_while_pn.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_while_x2.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_zipq1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_zipq2.c
M clang/test/CodeGen/arm-vector_type-params-returns.c
M clang/test/Sema/aarch64-incompat-sm-builtin-calls.c
M clang/test/Sema/aarch64-sme-func-attrs.c
M clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_b16b16.cpp
M clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_imm.cpp
M clang/test/Sema/aarch64-sme2p1-diagnostics.c
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_bfloat.cpp
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_imm_n.cpp
M clang/test/Sema/aarch64-sve2p1-intrinsics/acle_sve2p1_imm.cpp
Log Message:
-----------
[AArch64] Remove SME/SVE uses of FMVDependencies (#93695)
When FMV was added to AArch64, it added a dependency expansion step
after the -cc1 command line was parsed but before Sema, in
AArch64TargetInfo::initFeatureMap. One effect of this is that
-target-features specified on the -cc1 command line had some level
of incomplete and broken dependency expansion. Since then, many tests
have been added which depend on this behaviour.
The dependency expansion can be considered broken at this stage because
dependency expansion is already performed by the driver to generate the
-target-feature flags using an ExtensionSet. This class does
dependency evaluation and then generates a flattened representation of
the dependency graph in the form of -target-features, which are passed
to -cc1 in an arbitrary order (determined by the order of bits in the
bitset). Any dependency expansion done after -cc1 will be inherently
contradictory. It is impossible to accurately treat negative features
once the dependency graph has been flattened and the order randomised.
This patch fixes a large number of those tests, specifically ones where
only a dependent feature (e.g. -target-feature +sme2p1) was added to
the test -cc1 command, and not the necessary dependencies (e.g.
-target-feature +sme).
See PR #93695 further details.
Commit: 8aa33f16e91d8f15037330620c1479555278dafe
https://github.com/llvm/llvm-project/commit/8aa33f16e91d8f15037330620c1479555278dafe
Author: Phoebe Wang <phoebe.wang at intel.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86LowerTileCopy.cpp
M llvm/test/CodeGen/X86/AMX/amx-tile-basic.ll
Log Message:
-----------
[X86][AMX] Check also AMX register live out for copy lowering (#93692)
Another bug fix for #83628.
Commit: b301a98b33d75813d73838c1bd4c47024d044af6
https://github.com/llvm/llvm-project/commit/b301a98b33d75813d73838c1bd4c47024d044af6
Author: Angel Zhang <angel.zhang at amd.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M mlir/lib/Conversion/GPUToSPIRV/CMakeLists.txt
M mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRVPass.cpp
A mlir/test/mlir-vulkan-runner/vector-interleave.mlir
A mlir/test/mlir-vulkan-runner/vector-shuffle.mlir
Log Message:
-----------
[mlir][spirv] Add integration tests for `vector.interleave` and `vector.shuffle` (#93858)
This PR tries to reland #93595 which was reverted in #93732 due to some
issues. The original PR:
- Add integration test for `vector.shuffle` and `vector.interleave`
- Add `VectorToSPIRV` patterns to `GPUToSPIRVPass`
Description of the issue:
-
https://github.com/llvm/llvm-project/pull/93595#issuecomment-2138541700
- Using either `vector.load` or `vector.store` in the kernel function
will cause the validation layer to report an error
- Trying to bypass the issue by using `memref.load` and `memref.store`
to load/store individual elements from/to the vectors, and populate the
vectors using `vector.insertelement` and `vector.extractelement`
instead.
Commit: 7bc7672925f8154be3b8220365d3f269ac43621c
https://github.com/llvm/llvm-project/commit/7bc7672925f8154be3b8220365d3f269ac43621c
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/include/flang/Evaluate/integer.h
M flang/lib/Evaluate/fold-real.cpp
M flang/runtime/reduction-templates.h
Log Message:
-----------
[flang] Fix compilation errors due to new clang template requirements (#94204)
Since https://github.com/llvm/llvm-project/pull/80801 clang requires a
template argument list after the use of the template keyword.
https://lab.llvm.org/buildbot/#/builders/176/builds/10230
error: a template argument list is expected after a name prefixed by the
template keyword [-Wmissing-template-arg-list-after-template-kw]
This fixes the instances found by the AArch64 Linux builds.
Commit: 0e62d5cf55479981da5e05e406bbca4afb3cdc4f
https://github.com/llvm/llvm-project/commit/0e62d5cf55479981da5e05e406bbca4afb3cdc4f
Author: Mike Crowe <mac at mcrowe.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/modernize/UseStdFormatCheck.cpp
M clang-tools-extra/clang-tidy/modernize/UseStdPrintCheck.cpp
M clang-tools-extra/clang-tidy/utils/FormatStringConverter.cpp
M clang-tools-extra/clang-tidy/utils/Matchers.h
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/modernize/use-std-format-custom.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize/use-std-print-custom.cpp
Log Message:
-----------
[clang-tidy] Fix assert in modernize-use-std-format/print (#94104)
Ensure that FormatStringConverter's constructor fails with a sensible
error message rather than asserting if the format string is not a narrow
string literal.
Also, ensure that we don't even get that far in modernize-use-std-print
and modernize-use-std-format by checking that the format string
parameter is a char pointer.
Fixes #92896
Commit: 138856292235e4c805f2616b56ac09be5017f355
https://github.com/llvm/llvm-project/commit/138856292235e4c805f2616b56ac09be5017f355
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/test/Transforms/SimplifyCFG/branch-fold-threshold.ll
Log Message:
-----------
[SimplifyCFG] branch-fold-threshold.ll - fix broken CHECKs
Fix typos in AGGRESIVE-->AGGRESSIVE + WAYAGGRESIVE->WAYAGGRESSIVE
This also exposed an issue that the WAYAGGRESSIVE run removed a block entirely, so the LABEL check was silently failing.
Noticed while triaging the failures on #93673
Commit: 16c925ab5fd3d677792ce6575f81774c64b87cec
https://github.com/llvm/llvm-project/commit/16c925ab5fd3d677792ce6575f81774c64b87cec
Author: Xuan Zhang <144393379+xuanzh-meta at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/MachineOutliner.cpp
M llvm/test/CodeGen/AArch64/machine-outliner-overlap.mir
Log Message:
-----------
[MachineOutliner] Efficient Implementation of MachineOutliner::findCandidates() (#90260)
This reduce the time complexity of the main loop of `findCandidates()`
method from $O(n^2)$ to $O(n \log n)$.
For small $n$, the modification does not regress the build time, but it
helps significantly when $n$ is large.
For one application, this reduces the runtime of the main loop from 120
seconds to 28 seconds.
This is the first commit for an enhanced version of machine outliner --
see
[RFC](https://discourse.llvm.org/t/rfc-enhanced-machine-outliner-part-1-fulllto-part-2-thinlto-nolto-to-come/78732).
Commit: 83de21deb3de6a3b74ede098fefa469cec6bc29e
https://github.com/llvm/llvm-project/commit/83de21deb3de6a3b74ede098fefa469cec6bc29e
Author: Luke Lau <luke at igalia.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Log Message:
-----------
Revert "[RISCV] Store only VNInfo val no in VSETVLIInfo. NFC"
As noted in
https://github.com/llvm/llvm-project/pull/93796#issuecomment-2142752336,
a better way to teach RISCVInsertVSETVLI to work without LiveIntervals
is to set VNInfo to nullptr and teach the various methods to handle it.
We should try that approach first, so we no longer need this pre-commit
patch.
This reverts commit 4b4d36654d8056546b177b3d04c352ba0b16d7ea.
Commit: 987e1b2ae3348a86b3f625119184a0f431c33bc7
https://github.com/llvm/llvm-project/commit/987e1b2ae3348a86b3f625119184a0f431c33bc7
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/lib/Headers/cuda_wrappers/algorithm
A clang/test/Headers/cuda_wrapper_algorithm.cu
Log Message:
-----------
[CUDA][HIP] Fix std::min in wrapper header (#93976)
The std::min behaves like 'a<b?a:b', which does not match
libstdc++/libc++ behavior like 'b<a?b:a' when input is NaN.
Make it consistent with libstdc++/libc++.
Fixes: https://github.com/llvm/llvm-project/issues/93962
Fixes: https://github.com/ROCm/HIP/issues/3502
Commit: b41dbe6092fc6f9bdd4cad5c65644593398ae3ab
https://github.com/llvm/llvm-project/commit/b41dbe6092fc6f9bdd4cad5c65644593398ae3ab
Author: zhijian lin <zhijian at ca.ibm.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCInstrP10.td
Log Message:
-----------
[NFC] reorganize the PPCInstrP10.td based on the Predicates (#93835)
reorganize the PPCInstrP10.td based on comment
https://github.com/llvm/llvm-project/pull/92543#discussion_r1610908205
The instructions or patterns defined by same predicates are currently
placed at several different locations , They will be reorganized into
same group based on these predicates in the patch.
Commit: 3315f0a2227b960265b9ed699e1ad33cdc5d3b65
https://github.com/llvm/llvm-project/commit/3315f0a2227b960265b9ed699e1ad33cdc5d3b65
Author: Ilya Biryukov <ibiryukov at google.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/include/clang/Serialization/ASTReader.h
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
Log Message:
-----------
[Serialization] Check for stack exhaustion when reading declarations (#79875)
Particular example that lead to this is a very long chain of
`UsingShadowDecl`s that we hit in our codebase in generated code.
To avoid that, check for stack exhaustion when deserializing the
declaration. At that point, we can point to source location of a
particular declaration that is being deserialized.
Commit: 4023f4e70dc3cb23871cddc9c047874e4c477a51
https://github.com/llvm/llvm-project/commit/4023f4e70dc3cb23871cddc9c047874e4c477a51
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/docs/LangRef.rst
Log Message:
-----------
[LangRef] Remove mention of argmemonly (NFC)
Replace argmemonly readonly with memory(argmem: read).
Commit: 1c9f4d4b6ffff86a681196d0a7e083e3eaeabaeb
https://github.com/llvm/llvm-project/commit/1c9f4d4b6ffff86a681196d0a7e083e3eaeabaeb
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
Log Message:
-----------
[ARM] Avoid reference into modified vector (#93965)
FirstCand is a reference to RepeatedSequenceLocs[0]. However, that
vector is being modified a lot throughout the function, including one
place that reassigns the whole vector. I'm not sure whether this can
really happen in practice, but it doesn't seem unlikely that this could
lead to a use-after-free.
Avoid this by directly using RepeatedSequenceLocs[0] at the start of the
function (as a lot of other places already do) and only creating
FirstCand at the end where no more modifications take place.
Commit: 26ee42a3cf18b7dc65858ccbbc808ce8814691b3
https://github.com/llvm/llvm-project/commit/26ee42a3cf18b7dc65858ccbbc808ce8814691b3
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/test/tools/llvm-reduce/mir/reduce-register-defs.mir
Log Message:
-----------
[llvm-reduce] reduce-register-defs.mir - fix check prefix typo and incomplete codegen line
Noticed while triaging the failures on #93673
Commit: 539dbfcfcf5705cf100999ad2483318192418e21
https://github.com/llvm/llvm-project/commit/539dbfcfcf5705cf100999ad2483318192418e21
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/Runtime/Support.h
M flang/lib/Optimizer/Builder/Runtime/Support.cpp
M flang/lib/Optimizer/Transforms/AssumedRankOpConversion.cpp
A flang/test/Fir/is_assumed_size-codegen.fir
Log Message:
-----------
[flang][fir] add fir.is_assumed_size codegen (#93953)
Lower to IsAssumedSize runtime call in `--fir-assumed-rank-op` pass.
Commit: b448efb8eafef7df2c8d467bbb9cd0fc1e2ea7d5
https://github.com/llvm/llvm-project/commit/b448efb8eafef7df2c8d467bbb9cd0fc1e2ea7d5
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M offload/DeviceRTL/include/Utils.h
M offload/DeviceRTL/src/Mapping.cpp
M offload/DeviceRTL/src/Utils.cpp
A offload/test/offloading/ompx_bare_shfl_down_sync.cpp
M openmp/runtime/src/include/ompx.h.var
Log Message:
-----------
Reapply "[OpenMP][OMPX] Add shfl_down_sync (#93311)" (#94139)
Commit: 4cd115ca34231f1892b75b0fe12776b964a55ba2
https://github.com/llvm/llvm-project/commit/4cd115ca34231f1892b75b0fe12776b964a55ba2
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M offload/test/offloading/ompx_bare_ballot_sync.c
Log Message:
-----------
[OpenMP][OMPX] Fix ompx_ballot_sync test (#94140)
The current test is not really correct because the mask is set to
0xffffffff
even if it is on an AMDGPU whose wavefront size is 64. Besides,
`__AMDGCN_WAVEFRONT_SIZE` is not set on host compilation so the
verification
happens to work.
Commit: d1aa9bac3c8ecc30fcc5d4d80a1f70c729aec909
https://github.com/llvm/llvm-project/commit/d1aa9bac3c8ecc30fcc5d4d80a1f70c729aec909
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/include/flang/Lower/ConvertExprToHLFIR.h
M flang/lib/Evaluate/check-expression.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Optimizer/Builder/HLFIRTools.cpp
A flang/test/Lower/HLFIR/select-rank.f90
Log Message:
-----------
[flang] lower select rank (#93967)
Lower select rank according to [assumed-rank lowering design
doc](https://github.com/llvm/llvm-project/blob/main/flang/docs/AssumedRank.md).
The construct is lowered using fir.box_rank and fir.select_case
operation and, for the non pointer/allocatable case, a
fir.is_assumed_size + conditional branch before the select_case to deal
with the assumed-size case.
The way the CFG logic is generated, apart from the extra conditional
branch for assumed-size, is similar to what is done for SELECT CASE
lowering, hence the sharing of the construct level visitor.
For the CFG parts. The main difference is that we need to keep track of
the selector to cook it and map it inside the cases (hence the new
members of the ConstructContext).
The only TODOs left are to deal with the RANK(*) case for polymorphic
entities and PDTs. I will do the polymorphic case in a distinct patch,
this patch has enough content.
Fortran::evaluate::IsSimplyContiguous change is needed to avoid generating
copy-in/copy-out runtime calls when passing the RANK(*) associating
entity to some implicit interface.
Commit: 9862080b1cbf685c0d462b29596e3f7206d24aa2
https://github.com/llvm/llvm-project/commit/9862080b1cbf685c0d462b29596e3f7206d24aa2
Author: Nishith Kumar M Shah <nishithshah2211 at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/include/clang/Lex/DependencyDirectivesScanner.h
M clang/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h
M clang/lib/Frontend/FrontendActions.cpp
M clang/lib/Lex/DependencyDirectivesScanner.cpp
M clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
M clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
M clang/unittests/Lex/DependencyDirectivesScannerTest.cpp
M clang/unittests/Lex/PPDependencyDirectivesTest.cpp
Log Message:
-----------
Pass LangOpts from CompilerInstance to DependencyScanningWorker (#93753)
This commit fixes https://github.com/llvm/llvm-project/issues/88896 by
passing LangOpts from the CompilerInstance to
DependencyScanningWorker so that the original LangOpts are
preserved/respected.
This makes for more accurate parsing/lexing when certain language
versions or features specific to versions are to be used.
Commit: ac4cca3cb1186aa1e3e6a94c70cc3d34a91a67c3
https://github.com/llvm/llvm-project/commit/ac4cca3cb1186aa1e3e6a94c70cc3d34a91a67c3
Author: A. Jiang <de34 at live.cn>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M libcxx/include/locale
M libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_double.pass.cpp
M libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_float.pass.cpp
M libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long_double.pass.cpp
Log Message:
-----------
[libc++] Fix regression about parsing leading decimal points (#93989)
PR #77948 mistakenly rejected floating-point representation with a
leading decimal point, e.g. ".5".
This PR fixes the regression mentioned in
https://github.com/llvm/llvm-project/pull/77948#issuecomment-2141740346.
Commit: 6b7b05b55926f1fecae34312a89c4271def7aa3a
https://github.com/llvm/llvm-project/commit/6b7b05b55926f1fecae34312a89c4271def7aa3a
Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M lldb/packages/Python/lldbsuite/test/builders/builder.py
M lldb/packages/Python/lldbsuite/test/configuration.py
M lldb/packages/Python/lldbsuite/test/dotest.py
M lldb/packages/Python/lldbsuite/test/dotest_args.py
Log Message:
-----------
[lldb][test] Add --make argument to dotest.py (#93883)
This argument allows to specify the path to make which is used by
LLDB API tests to compile test programs.
It might come in handy for setting up cross-platform remote runs of API tests on Windows host.
It can be used to override the make path of LLDB API tests using `LLDB_TEST_USER_ARGS` argument:
```
cmake ...
-DLLDB_TEST_USER_ARGS="...;--make;C:\\Path\\to\\make.exe;..."
...
```
Commit: aad7874000faed77836e2bbd5c72af8776636f89
https://github.com/llvm/llvm-project/commit/aad7874000faed77836e2bbd5c72af8776636f89
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M lldb/test/API/functionalities/breakpoint/breakpoint_set_restart/TestBreakpointSetRestart.py
Log Message:
-----------
[lldb][test][NFC] TestBreakpointSetRestart.py: split up assertion to determine which check specifically fails in CI
This test consistently fails on the public macOS ASAN CI (and isn't
reproducible locally):
```
FAIL: test_breakpoint_set_restart_dwarf
(TestBreakpointSetRestart.BreakpointSetRestart)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py",
line 1756, in test_method
return attrvalue(self)
File
"/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py",
line 150, in wrapper
return func(*args, **kwargs)
File
"/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_set_restart/TestBreakpointSetRestart.py",
line 36, in test_breakpoint_set_restart
self.assertTrue(bp.IsValid() and bp.GetNumLocations() == 1,
VALID_BREAKPOINT)
AssertionError: False is not true : Got a valid breakpoint
```
>From this error we're not quite sure what about the breakpoint here is
the problem.
This patch splits up the assertion to narrow down the issue.
Commit: af9a247990b10e2be4f3d691c1a967b46acdf7f8
https://github.com/llvm/llvm-project/commit/af9a247990b10e2be4f3d691c1a967b46acdf7f8
Author: Paul T Robinson <paul.robinson at sony.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/test/Driver/sysroot.c
Log Message:
-----------
[Driver] Mark a test UNSUPPORTED to get the bots green again (#94253)
After #94055 this test failed on ARM/AArch64-hosted Windows, but it's
not clear why.
Commit: ffec63b6a54f719976443cc17b6226030be17c52
https://github.com/llvm/llvm-project/commit/ffec63b6a54f719976443cc17b6226030be17c52
Author: Raul Tambre <raul at tambre.ee>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/cmake/modules/LLVMExternalProjectUtils.cmake
Log Message:
-----------
[cmake] Pass -resource-dir to external projects as CMAKE_<LANG>_FLAGS_INIT instead of as a force override (#87330)
It's useful to use toolchain files for configuring runtimes builds.
Setting `CMAKE_<LANG>_FLAGS` is however forceful and precludes initialization from the _INIT variant meant to be set by toolchains.
The toolchain file still needs to append instead of just setting and be idempotent (`include_guard()`), but this way at least a special toolchain to account for LLVM won't be required.
Commit: f873dd2c8d539378a5118da595ea3fba17ee2e73
https://github.com/llvm/llvm-project/commit/f873dd2c8d539378a5118da595ea3fba17ee2e73
Author: Eisuke Kawashima <e.kawaschima+github at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M utils/bazel/configure.bzl
Log Message:
-----------
fix(utils/**.py): fix comparison to None (#94022)
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: 2f8675a0266263d01d124cb11defdc6c902b651c
https://github.com/llvm/llvm-project/commit/2f8675a0266263d01d124cb11defdc6c902b651c
Author: Paul T Robinson <paul.robinson at sony.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/test/Driver/offloading-interoperability.c
Log Message:
-----------
[Driver] Fix a CUDA test (#94258)
See #94000 for a report of a downstream failure, this fixes it.
Commit: ebd62273782456d2adad29eb5ba8b8fbf609904e
https://github.com/llvm/llvm-project/commit/ebd62273782456d2adad29eb5ba8b8fbf609904e
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/runtimes/CMakeLists.txt
Log Message:
-----------
[LLVM] Fix runtimes builds not triggering without LLVM_ENABLE_RUNTIMES (#94225)
Summary:
The runtimes builds create separate projects. Normally these use
`LLVM_EANBLE_RUNTIMES`. However, we can also use `LLVM_RUNTIME_TARGETS`
and `RUNTIMES_<target>_LLVM_ENABLE_RUNTIMES` to enable them. Currently,
if `LLVM_RUNTIME_TARGETS` isn't specified this is completely ignored.
This patch fixes the behavior so we can only specify the cross-compiling
versions.
Commit: 10ecdee651c47bd5a52b3039722601721372995b
https://github.com/llvm/llvm-project/commit/10ecdee651c47bd5a52b3039722601721372995b
Author: Jordan Rupprecht <rupprecht at google.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M utils/bazel/configure.bzl
Log Message:
-----------
Revert "fix(utils/**.py): fix comparison to None" (#94261)
Reverts llvm/llvm-project#94022
This is not actually valid bazel syntax. Buildbot failure: https://buildkite.com/llvm-project/upstream-bazel/builds/99430#018fdf11-6865-4d5d-be8e-7bfab59e3cd8
Commit: cb7690af09b95bb944baf1b5a9ffb18f86c12130
https://github.com/llvm/llvm-project/commit/cb7690af09b95bb944baf1b5a9ffb18f86c12130
Author: Jeremy Day <jeremy at thebrowser.company>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/Errc.h
M llvm/include/llvm/Support/WindowsError.h
M llvm/lib/Support/CMakeLists.txt
M llvm/lib/Support/ErrorHandling.cpp
M llvm/lib/Support/Windows/Path.inc
Log Message:
-----------
[Support] Handle delete_pending case for Windows fs::status (#90655)
If a delete is pending on the file queried for status, a misleading
`permission_denied` error code will be returned (this is the correct
mapping of the error set by GetFileAttributesW). By querying the
underlying NTSTATUS code via ntdll's RtlGetLastNtStatus, this case can
be disambiguated. If this underlying error code indicates a pending
delete, fs::status will return a new `pending_delete` error code to be
handled by callers
Fixes #89137
Commit: 0232e2b15b8d3b2653f069a5683ccd29a5d29caf
https://github.com/llvm/llvm-project/commit/0232e2b15b8d3b2653f069a5683ccd29a5d29caf
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
A lldb/test/requirements.txt
Log Message:
-----------
[lldb] Add Python requirements.txt for test suite (#94220)
This means that CI won't have to hardcode these.
Commit: 4f326468bdf9f63e562ac446210084a2997adbbd
https://github.com/llvm/llvm-project/commit/4f326468bdf9f63e562ac446210084a2997adbbd
Author: Abinaya Saravanan <quic_asaravan at quicinc.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
A llvm/test/Transforms/InstCombine/StoreToNull-DbgCheck.ll
Log Message:
-----------
[InstCombine] Retain debug information on store to null instruction (#86105)
Call InsertNewInstWith() instead of InsertNewInstBefore() when creating
"store to null" instruction
Commit: 3e228c8eaf03a5a688f2fce29aab4e2003b5d8d4
https://github.com/llvm/llvm-project/commit/3e228c8eaf03a5a688f2fce29aab4e2003b5d8d4
Author: Justin Fargnoli <jfargnoli at nvidia.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M .github/new-prs-labeler.yml
Log Message:
-----------
[GitHub] Add NVPTX backend labeler (#94080)
Add patterns to label NVPTX backend related changes automatically.
Commit: a088c61d5c409ec0b8994340866d5864ba913516
https://github.com/llvm/llvm-project/commit/a088c61d5c409ec0b8994340866d5864ba913516
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVMergeRegionExitTargets.cpp
Log Message:
-----------
[SPIRV] Fix -Wunused-but-set-variable after #92531
Commit: 2bc098b8aba089fe8328b3b8a8b6b6816cd5a908
https://github.com/llvm/llvm-project/commit/2bc098b8aba089fe8328b3b8a8b6b6816cd5a908
Author: Raul Tambre <raul at tambre.ee>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaCast.cpp
M clang/test/Sema/warn-cast-function-type-strict.c
M clang/test/Sema/warn-cast-function-type.c
M clang/test/SemaCXX/warn-cast-function-type-strict.cpp
M clang/test/SemaCXX/warn-cast-function-type.cpp
Log Message:
-----------
[clang][Sema] Don't issue -Wcast-function-type-mismatch for enums with a matching underlying type (#87793)
Enums are passed as their underlying integral type so they're ABI compatible if the size matches.
Useful with C APIs that pass user-controlled values to callbacks that can be made type safe by using enumerations (e.g. GStreamer).
Discovered internally in some code after 999d4f840777bf8de26d45947192aa0728edc0fb.
Commit: 2ee7f49addb60f100929d10ad24ebf1743943b0d
https://github.com/llvm/llvm-project/commit/2ee7f49addb60f100929d10ad24ebf1743943b0d
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M libc/cmake/modules/prepare_libc_gpu_build.cmake
Log Message:
-----------
[libc] Correctly find LLVM binaries when built in projects mode for GPU
Summary:
You can build the GPU libc support in projects mode. There were some
issues with it not finding the correct binaries. This patch fixes that.
Commit: 25b037bdb5f722baa7f292c89770d24132edc082
https://github.com/llvm/llvm-project/commit/25b037bdb5f722baa7f292c89770d24132edc082
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-03 (Mon, 03 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/NearestIntegerOperations.h
M libc/src/math/CMakeLists.txt
A libc/src/math/ceilf16.h
A libc/src/math/floorf16.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/ceilf16.cpp
A libc/src/math/generic/floorf16.cpp
A libc/src/math/generic/roundevenf16.cpp
A libc/src/math/generic/roundf16.cpp
A libc/src/math/generic/truncf16.cpp
A libc/src/math/roundevenf16.h
A libc/src/math/roundf16.h
A libc/src/math/truncf16.h
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/CeilTest.h
M libc/test/src/math/smoke/FloorTest.h
M libc/test/src/math/smoke/RoundEvenTest.h
M libc/test/src/math/smoke/RoundTest.h
M libc/test/src/math/smoke/TruncTest.h
A libc/test/src/math/smoke/ceilf16_test.cpp
A libc/test/src/math/smoke/floorf16_test.cpp
A libc/test/src/math/smoke/roundevenf16_test.cpp
A libc/test/src/math/smoke/roundf16_test.cpp
A libc/test/src/math/smoke/truncf16_test.cpp
Log Message:
-----------
[libc][math][c23] Add {ceil,floor,round,roundeven,trunc}f16 C23 math functions (#94001)
Commit: e44cea597cd835af9cbbd154f812aea3151af18b
https://github.com/llvm/llvm-project/commit/e44cea597cd835af9cbbd154f812aea3151af18b
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M libc/src/__support/CPP/algorithm.h
M libc/test/src/__support/CPP/CMakeLists.txt
A libc/test/src/__support/CPP/algorithm_test.cpp
Log Message:
-----------
[libc][CPP] Add all_of and find_if_not to algorithm.h (#94058)
This is needed for the allocator implementation for malloc.
Commit: 68f4e46c432ea2f1f8d33c6dc9345f6e2afeec4a
https://github.com/llvm/llvm-project/commit/68f4e46c432ea2f1f8d33c6dc9345f6e2afeec4a
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/docs/Extensions.md
M flang/include/flang/Common/Fortran-features.h
M flang/lib/Parser/expr-parsers.cpp
A flang/test/Evaluate/signed-mult-opd.f90
Log Message:
-----------
[flang] Adjust "doubled operator" expression extension (#93353)
Most Fortran compilers accept "doubled operators" as a language
extension. This is the use of a unary '+' or '-' operator that is not
the first unparenthesized operator in an expression, as in 'x*-y'.
This compiler has implemented this extension, but in a way that's
different from other compilers' behavior. I interpreted the unary
'+'/'-' as a unary operator in the sense of C/C++, giving it a higher
priority than any binary (dyadic) operator.
All other compilers with this extension, however, give a unary '+'/'-' a
lower precedence than exponentiation ('**'), a binary operator that
C/C++ lacks. And this interpretation makes more sense for Fortran,
anyway, where the standard conforming '-x**y' must mean '-(x**y)'
already.
This patch makes 'x*-y**z' parse as 'x*-(y**z)', not 'x*(-y)**z)', and
adds a test to ensure that it does.
Commit: 0525c201b657395bfdf27d2a473c4c0adf753a21
https://github.com/llvm/llvm-project/commit/0525c201b657395bfdf27d2a473c4c0adf753a21
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/lib/Parser/preprocessor.cpp
M flang/lib/Parser/prescan.cpp
M flang/lib/Parser/prescan.h
A flang/test/Preprocessing/args.h
A flang/test/Preprocessing/include-args.F90
Log Message:
-----------
[flang][preprocessing] Handle #include after & line continuation (#93382)
Some applications like to use a CPP-style #include directive to pull in
a common list of arguments, dummy arguments, or COMMON block variables
after a free-form & line continuation marker. This works naturally with
compilers that run an actual cpp pass over the input before doing
anything specific to Fortran, but it's a case that I missed with this
integrated preprocessor.
Commit: 07b330132c0b7fd5b3ada1890840d0dbbd8cdb8e
https://github.com/llvm/llvm-project/commit/07b330132c0b7fd5b3ada1890840d0dbbd8cdb8e
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/induction-costs.ll
M llvm/test/Transforms/LoopVectorize/AArch64/loop-vectorization-factors.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-chains.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence.ll
M llvm/test/Transforms/LoopVectorize/scalable-first-order-recurrence.ll
M llvm/test/Transforms/LoopVectorize/vplan-printing.ll
Log Message:
-----------
[VPlan] Model FOR extract of exit value in VPlan. (#93395)
This patch introduces a new ExtractFromEnd VPInstruction opcode to
extract the value of a FOR for users outside the loop (i.e. in the
scalar loop's exits). This moves the first part of fixing first order
recurrences to VPlan, and removes some additional code to patch up
live-outs, which is now handled automatically.
The majority of test changes is due to changes in the order of which the
extracts are generated now. As we are now using VPTransformState to
generate the extracts, we may be able to re-use existing extracts in the
loop body in some cases. For scalable vectors, in some cases we now have
to compute the runtime VF twice, as each extract is now independent, but
those should be trivial to clean up for later passes (and in line with
other places in the code that also liberally re-compute runtime VFs).
PR: https://github.com/llvm/llvm-project/pull/93395
Commit: cf3b37c92ffad21086a0741ac682c87abea9a5d6
https://github.com/llvm/llvm-project/commit/cf3b37c92ffad21086a0741ac682c87abea9a5d6
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M libc/cmake/modules/LLVMLibCLibraryRules.cmake
Log Message:
-----------
[libc] Add GPU utility dependencies if present
Summary:
These tools need to be built before we can do the library creation
stage. If they are generated in the same build then this is not
guaranteed so we should add explicit dependencies.
Commit: c49bc1a3b782e38e4ffb5b274f1e7775af6c2315
https://github.com/llvm/llvm-project/commit/c49bc1a3b782e38e4ffb5b274f1e7775af6c2315
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
Log Message:
-----------
BitcodeWriter: ensure `Buffer` is heap allocated
PR #92983 accidentally changed the buffer allocation in
`llvm::WriteBitcodeToFile` to be allocated on the stack, which is
problematic given it's a large-ish buffer (256K)
Commit: 572b4e70cbfca2c60ac13a9483ddb0e0fbd8ec43
https://github.com/llvm/llvm-project/commit/572b4e70cbfca2c60ac13a9483ddb0e0fbd8ec43
Author: Michael Jones <michaelrj at google.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[libc][bazel] simplify type_traits with glob (#94079)
Previously the `type_traits` target manually listed all of the type
traits files. This patch replaces that with a glob to make the build
simpler.
Commit: 13f6797826faedb910c7e8b1dfc1f134f3cef342
https://github.com/llvm/llvm-project/commit/13f6797826faedb910c7e8b1dfc1f134f3cef342
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Handle AttributeMacros in parseRecord() (#94189)
Fixes #94184.
Commit: c7593344f48e64af29fd9512852f24f9ebe5a4c6
https://github.com/llvm/llvm-project/commit/c7593344f48e64af29fd9512852f24f9ebe5a4c6
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/include/flang/Evaluate/tools.h
M flang/lib/Evaluate/intrinsics.cpp
M flang/lib/Evaluate/tools.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Semantics/data-to-inits.cpp
M flang/lib/Semantics/expression.cpp
M flang/test/Semantics/resolve09.f90
Log Message:
-----------
[flang] Better error message for RANK(NULL()) (#93577)
We currently complain that the argument may not be a procedure, which is
confusing. Distinguish the NULL() case from other error cases (which are
indeed procedures). And clean up the utility predicates used for these
tests -- the current IsProcedure() is really just a test for a procedure
designator.
Commit: e783d5dbb6d61579bf941d310160a0ae259c7bec
https://github.com/llvm/llvm-project/commit/e783d5dbb6d61579bf941d310160a0ae259c7bec
Author: Paul T Robinson <paul.robinson at sony.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/test/Driver/sysroot.c
Log Message:
-----------
[Driver] Fix the sysroot.c test properly (#94276)
A DEFAULT_SYSROOT interfered with the test, apparently. See #94055.
Commit: c93312a63db8e8c87b14e1828c5a4d1eac5aac20
https://github.com/llvm/llvm-project/commit/c93312a63db8e8c87b14e1828c5a4d1eac5aac20
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/lib/Semantics/resolve-names-utils.cpp
M flang/test/Semantics/resolve118.f90
Log Message:
-----------
[flang] Handle USE-associated symbols in module procedure interface b… (#93616)
…lock specification expressions
A subroutine or function interface block is of course allowed to
USE-associate symbols into its scope and use them for specification
expressions. This usage works, but crashes the module file output
generator. Fix.
Fixes https://github.com/llvm/llvm-project/issues/93413.
Commit: 6ef632ad36c522b03cf03c7dd76184a35d3b7f41
https://github.com/llvm/llvm-project/commit/6ef632ad36c522b03cf03c7dd76184a35d3b7f41
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
R bolt/test/Inputs/lsda.ldscript
M bolt/test/lsda-section-name.cpp
Log Message:
-----------
[BOLT,test] Fix lsda.ldscript when MAXPAGESIZE>=0x10000
The intention is to check a section name different from
.gcc_except_table . Rather than using a linker script, use llvm-objcopy
--rename-section instead.
Commit: 037a0528bbb4606388fb0805c34a413abbedea13
https://github.com/llvm/llvm-project/commit/037a0528bbb4606388fb0805c34a413abbedea13
Author: Jake Egan <Jake.egan at ibm.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge.pass.cpp
M libcxx/test/support/count_new.h
Log Message:
-----------
[libc++] Handle 0 size case for testing support operator new (#93834)
The return of malloc is implementation defined when the requested size
is 0. On platforms (such as AIX) that return a null pointer for 0 size,
operator new will throw a bad_alloc exception. operator new should
return a non null pointer for 0 size instead.
Commit: 74f4034f7106ef52a6a597dec14352e127e6fe0f
https://github.com/llvm/llvm-project/commit/74f4034f7106ef52a6a597dec14352e127e6fe0f
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/lib/Semantics/resolve-names.cpp
M flang/test/Semantics/stmt-func01.f90
Log Message:
-----------
[flang] Fix type inheritance for statement function dummy arguments (#93624)
The code that used existing type declarations (if any) for the names
being used as dummy arguments in a statement function definition would
apply those types only if they came from EntityDetails symbols. This
broke a case in which the type was being inherited from a Cray pointee.
Fixes https://github.com/llvm/llvm-project/issues/93484.
Commit: 930c2d911102a264df953024c6ebab48219dcc02
https://github.com/llvm/llvm-project/commit/930c2d911102a264df953024c6ebab48219dcc02
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/include/flang/Parser/parse-tree.h
M flang/lib/Parser/program-parsers.cpp
M flang/lib/Semantics/check-call.cpp
M flang/lib/Semantics/expression.cpp
M flang/test/Semantics/call40.f90
Log Message:
-----------
[flang] Adjust %REF/%VAL semantic checking (#93718)
In accordance with other compilers, don't require that a %REF() actual
argument be a modifiable variable. And move the %REF/%VAL semantic
checks to Semantics/check-call.cpp, where one would expect to find them.
Fixes https://github.com/llvm/llvm-project/issues/93489.
Commit: 5cb00785aa56d4acc97b083df5305d2959f6bd4a
https://github.com/llvm/llvm-project/commit/5cb00785aa56d4acc97b083df5305d2959f6bd4a
Author: William Junda Huang <williamjhuang at google.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/CodeGen/CGDebugInfo.h
M clang/lib/CodeGen/CGExprScalar.cpp
A clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp
Log Message:
-----------
Add option to generate additional debug info for expression dereferencing pointer to pointers. (#94100)
This is another attempt to land #81545, which was reverted.
Fixed test case by adding a target triple so that clang generates the same IR for all platforms
Commit: b61d7ec16bf5c740346e87b8b03315e38fe31725
https://github.com/llvm/llvm-project/commit/b61d7ec16bf5c740346e87b8b03315e38fe31725
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/docs/Extensions.md
M flang/include/flang/Common/Fortran-features.h
M flang/lib/Semantics/check-declarations.cpp
M flang/test/Semantics/call10.f90
M flang/test/Semantics/elemental01.f90
Log Message:
-----------
[flang] Relax constraints on PURE/ELEMENTAL dummy arguments (#93748)
The standard requires that dummy arguments to PURE functions be
INTENT(IN) or VALUE, but PURE subroutines are allowed to have modifiable
dummy arguments. This makes it impossible to declare atomic operations
as PURE functions, which consequently makes such atomic operations
ineligible for use in parallel constructs and DO CONCURRENT.
This patch downgrades this error to a warning by default, which can be
seen with -pedantic & al. and remain an error with -Werror.
Commit: c2d061da7e17e61d4a0efad261e5280793c1b7ce
https://github.com/llvm/llvm-project/commit/c2d061da7e17e61d4a0efad261e5280793c1b7ce
Author: royitaqi <royitaqi at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M lldb/include/lldb/API/SBCommandInterpreter.h
M lldb/include/lldb/Interpreter/CommandInterpreter.h
M lldb/include/lldb/Target/Statistics.h
M lldb/source/Commands/CommandObjectStats.cpp
M lldb/source/Commands/Options.td
M lldb/source/Interpreter/CommandInterpreter.cpp
M lldb/source/Target/Statistics.cpp
M lldb/test/API/commands/statistics/basic/TestStats.py
M lldb/test/API/python_api/interpreter/TestCommandInterpreterAPI.py
Log Message:
-----------
Re-merge `A few updates around "transcript"` (#92843) (#94067)
Problematic PR: https://github.com/llvm/llvm-project/pull/92843
Reverted by: https://github.com/llvm/llvm-project/pull/94088
The first PR added a test which fails in Linux builds (see the last few
comments there).
This PR contains all the changes in the first PR, plus the fix to the
said test.
---------
Co-authored-by: Roy Shi <royshi at meta.com>
Commit: caa0a2695e6caa4da088f6f933ac45839d425656
https://github.com/llvm/llvm-project/commit/caa0a2695e6caa4da088f6f933ac45839d425656
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/docs/Extensions.md
M flang/include/flang/Common/Fortran-features.h
M flang/lib/Semantics/check-call.cpp
M flang/test/Semantics/call03.f90
M flang/test/Semantics/call30.f90
Log Message:
-----------
[flang] Add warnings about undefinable actuals for ASYNCHRONOUS/VOLAT… (#93851)
…ILE dummies
There's language in the standard (F'2023 15.5.2.5 p21) disallowing an
actual argument with a vector subscript from associating with a dummy
argument with either the ASYNCHRONOUS or VOLATILE attributes. This is a
bug in the standard, as (1) these attributes are actually relevant only
over the scope of the called procedure, (2) they can be applied in
nested scopes (internal subprograms and BLOCK) within the called
procedure, and (3) can be implicit within the called procedure and its
nested scopes in the case of ASYNCHRONOUS as a side effect of using a
dummy argument in an asynchronous data transfer statement. So issue a
warning. This new warning about undefinable actual arguments being
associated with ASYNCHRONOUS and VOLATILE dummy arguments subsumes an
existing warning about passing a constant actual to a VOLATILE dummy.
Resolves https://github.com/llvm/llvm-project/issues/93600.
Commit: ea2c88f51297eb0ef8d352d650bb71b0292d9898
https://github.com/llvm/llvm-project/commit/ea2c88f51297eb0ef8d352d650bb71b0292d9898
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/lib/Evaluate/intrinsics.cpp
M flang/test/Semantics/null01.f90
M flang/test/Semantics/resolve09.f90
Log Message:
-----------
[flang] Improve handling of NULL() arguments to intrinsics (#93866)
Some intrinsics (extends_type_of, same_type_as) can accept a NULL actual
argument so long as it has a MOLD=. Some intrinsics that are marked in
the intrinsics table as accepting a NULL actual argument already should
only do so if it has a MOLD=. Distinguish table entries that accept a
NULL() only with a MOLD= from the few others that allow a bare NULL()
and update tests.
Fixes https://github.com/llvm/llvm-project/issues/93845.
Commit: a8f2d185b252e9a4b5676d29194d78eaf14ed219
https://github.com/llvm/llvm-project/commit/a8f2d185b252e9a4b5676d29194d78eaf14ed219
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/runtime/external-unit.cpp
M flang/runtime/file.cpp
M flang/runtime/io-api-common.h
M flang/runtime/pseudo-unit.cpp
M flang/runtime/unit.h
Log Message:
-----------
[flang][runtime] Resilient opening of anonymous unit (#93876)
When an I/O statement references a unit number that has not been
explicitly opened or predefined, the I/O runtime support library opens a
local "fort.N" file. If this fails, the program crashes, even when the
I/O statement has IOSTAT= or IOMSG= or ERR= control list items. Connect
the dots to enable resilience in these cases.
Commit: a4bc44ad675a36c43eec9e08d5360f97ca97c389
https://github.com/llvm/llvm-project/commit/a4bc44ad675a36c43eec9e08d5360f97ca97c389
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/lib/Semantics/resolve-labels.cpp
M flang/test/Semantics/label05.f90
Log Message:
-----------
[flang] Disallow branches into SELECT TYPE/RANK cases (#93893)
Ensure that a branch cannot be made into a case of a SELECT TYPE or
SELECT RANK construct.
Commit: e31bfc040a240c4ba8b24df840290d6f31b83bfc
https://github.com/llvm/llvm-project/commit/e31bfc040a240c4ba8b24df840290d6f31b83bfc
Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/docs/AMDGPUUsage.rst
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
M llvm/test/CodeGen/AMDGPU/lower-kernargs.ll
M llvm/test/CodeGen/AMDGPU/lower-module-lds-indirect-extern-uses-max-reachable-alignment.ll
M llvm/test/CodeGen/AMDGPU/preload-kernargs-IR-lowering.ll
Log Message:
-----------
[AMDGPU] Strengthen preload intrinsics to noundef and nonnull (#92801)
The various preloaded registers (workitem IDs, workgroup IDs, and
various implicit pointers) always have a finite, invariant, well-defined
value throughout a well-defined program.
In cases where the compiler infers or the user declares that some
implicit input will not be used (ex. via amdgcn-no-workitem-id-y), the
behavior of the entire program is undefined, since that misdeclaration
can cause arbitrary other preloaded-register intrinsics to access the
wrong register. This case is not expected to arise in practice, but
could occur when the no implicit argument attributes were not cleared
correctly in the presence of external functions, indrect calls, or other
means of executing un-analyzable code. Failure to detect that case would
be a bug in the attributor.
This commit updates the documentation to reflect this long-standing
reality.
Then, on the basis that all implicit arguments are defined in all
correct programs, the intrinsics that return those values are
annototated with `noundef``. Some implicit pointer arguments gain a
`nonnull`, but the kernel argument segment pointer or implicit argument
pointers don't necessarily have this property.
This will prevent spurious calls to `freeze` in front-end optimizations
that destroy user-provided ranges on built-in IDs.
(While I'm here, this commit adds a test for `noundef` on kernel
arguments which is currently unimplemented)
Commit: bd815a54899d7fa83f6fb49d86c417e1e2e4d2ef
https://github.com/llvm/llvm-project/commit/bd815a54899d7fa83f6fb49d86c417e1e2e4d2ef
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/runtime/pseudo-unit.cpp
Log Message:
-----------
[flang][runtime][CUDA] Fix build error (#94281)
I broke the build, and now I'm fixing it.
Commit: d03cd05f077f92e87f354aca4cdea599b678b64e
https://github.com/llvm/llvm-project/commit/d03cd05f077f92e87f354aca4cdea599b678b64e
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/lib/Semantics/resolve-names.cpp
M flang/test/Semantics/bind-c02.f90
A flang/test/Semantics/bind-c16.f90
Log Message:
-----------
[flang] Propagate the BIND(C) attribute into procedures from their in… (#93994)
…terfaces
In "PROCEDURE(iface) :: proc", if "iface" has the BIND(C) attribute,
then so should proc, as if the declaration had been "PROCEDURE(iface),
BIND(C) :: proc". This had been working in name resolution only in cases
where "iface" had been declared before "proc".
Note that if "iface" is declared with an empty binding name
("BIND(C,NAME='')"), "proc" does not inherit that property. Use an
explicit "BIND(C,NAME='')" on the "PROCEDURE" statement for that.
This behavior is not clearly defined in the standard, but seems to match
what some other Fortran compilers do.
Commit: 0b4af3a5f4de61552000e4a864f63f2002cc525b
https://github.com/llvm/llvm-project/commit/0b4af3a5f4de61552000e4a864f63f2002cc525b
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
A llvm/test/CodeGen/AArch64/lower-ptrmask-arm64_32.ll
Log Message:
-----------
[llvm][SelectionDAG] Relax llvm.ptrmask's size check on arm64_32 (#94125)
Since pointers in memory, as well as the index type are both 32 bits,
but in registers pointers are 64 bits, the mask generated by
llvm.ptrmask needs to be zero-extended.
Fixes: #94075
Fixes: rdar://125263567
Commit: 4ee950e75d40e335adb2d470b532d7375733f665
https://github.com/llvm/llvm-project/commit/4ee950e75d40e335adb2d470b532d7375733f665
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/lower-ptrmask-arm64_32.ll
M llvm/utils/UpdateTestChecks/asm.py
Log Message:
-----------
update_test_checks: support more arm64_32-apple-watchos triples
Having the version in `get_run_handlers` meant that a RUN line without the
version in it would not match, and therefore UTC would generate a useless
catch-all check of the form:
```
;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
; CHECK: {{.*}}
```
This patch also adds `arm64_32` as a base-level run handler, and assumes it
will always apply to a darwin target (which is currently the case for all
arm64_32-* triples I see in tree currently).
Commit: ae1596a31a6fac2f4daafe1e256d4a5cf3742617
https://github.com/llvm/llvm-project/commit/ae1596a31a6fac2f4daafe1e256d4a5cf3742617
Author: antangelo <contact at antangelo.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/lib/Basic/Targets/AArch64.cpp
M clang/test/CodeGen/preserve-call-conv.c
M llvm/docs/LangRef.rst
M llvm/lib/Target/AArch64/AArch64CallingConvention.h
M llvm/lib/Target/AArch64/AArch64CallingConvention.td
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
A llvm/test/CodeGen/AArch64/dynamic-regmask-preserve-none.ll
M llvm/test/CodeGen/AArch64/preserve.ll
A llvm/test/CodeGen/AArch64/preserve_nonecc.ll
A llvm/test/CodeGen/AArch64/preserve_nonecc_call.ll
A llvm/test/CodeGen/AArch64/preserve_nonecc_musttail.ll
A llvm/test/CodeGen/AArch64/preserve_nonecc_swift.ll
Log Message:
-----------
[AArch64] Support preserve_none calling convention (#91046)
Adds AArch64 support for the `preserve_none` calling convention.
Registers X0-X7, X9-X15 and X19-X28 are caller save, and can be used to
pass arguments. Delegates to AAPCS for all other registers.
Closes #87423
Commit: ccaccc3367aa3d892ca31eb11d4bcea4979bead1
https://github.com/llvm/llvm-project/commit/ccaccc3367aa3d892ca31eb11d4bcea4979bead1
Author: smanna12 <soumi.manna at intel.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
Log Message:
-----------
[Clang] Prevent null pointer dereference in target attribute mangling (#94228)
This patch adds assertions in the getMangledNameImpl() function to
ensure that the expected target attributes (TargetAttr,
TargetVersionAttr, and TargetClonesAttr) are not null before they are
passed to appendAttributeMangling() to prevent potential null pointer
dereferences and improve the robustness of the attribute mangling
process.
This assertion will trigger a runtime error with a clear message in
debug build if any of the expected attributes are missing, facilitating
early and easier diagnosis and debugging of such issues related to
attribute mangling.
Commit: 30e983c40c71390c6c9506a8e4f914b85d009c3d
https://github.com/llvm/llvm-project/commit/30e983c40c71390c6c9506a8e4f914b85d009c3d
Author: Michael Kruse <llvm-project at meinersbur.de>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M lld/CMakeLists.txt
M lld/cmake/modules/AddLLD.cmake
M lld/test/CMakeLists.txt
M lld/unittests/CMakeLists.txt
Log Message:
-----------
[lld] Revise IDE folder structure (#89747)
Update the folder titles for targets in the monorepository that have not
seen taken care of for some time. These are the folders that targets are
organized in Visual Studio and XCode
(`set_property(TARGET <target> PROPERTY FOLDER "<title>")`)
when using the respective CMake's IDE generator.
* Ensure that every target is in a folder
* Use a folder hierarchy with each LLVM subproject as a top-level folder
* Use consistent folder names between subprojects
* When using target-creating functions from AddLLVM.cmake, automatically
deduce the folder. This reduces the number of
`set_property`/`set_target_property`, but are still necessary when
`add_custom_target`, `add_executable`, `add_library`, etc. are used. A
LLVM_SUBPROJECT_TITLE definition is used for that in each subproject's
root CMakeLists.txt.
Commit: 43847c1de60ddba26d93c138ad81aa0d3b3c8c31
https://github.com/llvm/llvm-project/commit/43847c1de60ddba26d93c138ad81aa0d3b3c8c31
Author: Namish Kukreja <namikukr at quicinc.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
A llvm/test/MC/AArch64/arm64ec-disallowed-regs.s
Log Message:
-----------
[ARM64EC] Warn on using disallowed registers in assembly src. (#93618)
ARM64EC designates a set of disallowed registers, because a mapping does
not exist from them to x64. The MSVC assembler (armasm64) has a warning
for this.
A test is also included as part of the patch.
See the list of disallowed registers below:
https://learn.microsoft.com/en-us/cpp/build/arm64ec-windows-abi-conventions?view=msvc-170#register-mapping
Commit: 0ea1271ee13c8c3d765904dba16dd27b91584d66
https://github.com/llvm/llvm-project/commit/0ea1271ee13c8c3d765904dba16dd27b91584d66
Author: Han-Chung Wang <hanhan0912 at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Vector/TransformOps/VectorTransformOps.td
M mlir/include/mlir/Dialect/Vector/Transforms/LoweringPatterns.h
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVMPass.cpp
M mlir/lib/Dialect/Vector/TransformOps/VectorTransformOps.cpp
M mlir/lib/Dialect/Vector/Transforms/CMakeLists.txt
A mlir/lib/Dialect/Vector/Transforms/LowerVectorBitCast.cpp
M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
A mlir/test/Dialect/Vector/vector-bitcast-lowering-transforms.mlir
Log Message:
-----------
[mlir][vector] Add support for unrolling vector.bitcast ops. (#94064)
The revision unrolls vector.bitcast like:
```mlir
%0 = vector.bitcast %arg0 : vector<2x4xi32> to vector<2x2xi64>
```
to
```mlir
%cst = arith.constant dense<0> : vector<2x2xi64>
%0 = vector.extract %arg0[0] : vector<4xi32> from vector<2x4xi32>
%1 = vector.bitcast %0 : vector<4xi32> to vector<2xi64>
%2 = vector.insert %1, %cst [0] : vector<2xi64> into vector<2x2xi64>
%3 = vector.extract %arg0[1] : vector<4xi32> from vector<2x4xi32>
%4 = vector.bitcast %3 : vector<4xi32> to vector<2xi64>
%5 = vector.insert %4, %2 [1] : vector<2xi64> into vector<2x2xi64>
```
The scalable vector is not supported because of the limitation of
`vector::createUnrollIterator`. The targetRank could mismatch the final
rank during unrolling; there is no direct way to query what the final
rank is from the object.
Commit: 7652a59407018c057cdc1163c9f64b5b6f0954eb
https://github.com/llvm/llvm-project/commit/7652a59407018c057cdc1163c9f64b5b6f0954eb
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/include/llvm/CodeGen/SelectionDAGISel.h
M llvm/include/llvm/CodeGen/StackProtector.h
M llvm/include/llvm/Passes/CodeGenPassBuilder.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
M llvm/lib/Target/AArch64/AArch64.h
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
M llvm/lib/Target/AMDGPU/AMDGPU.h
M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPassBuilder.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
M llvm/lib/Target/AMDGPU/AMDGPUPassRegistry.def
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/R600ISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/ARC/ARC.h
M llvm/lib/Target/ARC/ARCISelDAGToDAG.cpp
M llvm/lib/Target/ARC/ARCTargetMachine.cpp
M llvm/lib/Target/ARM/ARM.h
M llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
M llvm/lib/Target/ARM/ARMTargetMachine.cpp
M llvm/lib/Target/AVR/AVR.h
M llvm/lib/Target/AVR/AVRISelDAGToDAG.cpp
M llvm/lib/Target/AVR/AVRTargetMachine.cpp
M llvm/lib/Target/BPF/BPF.h
M llvm/lib/Target/BPF/BPFISelDAGToDAG.cpp
M llvm/lib/Target/BPF/BPFTargetMachine.cpp
M llvm/lib/Target/CSKY/CSKY.h
M llvm/lib/Target/CSKY/CSKYISelDAGToDAG.cpp
M llvm/lib/Target/CSKY/CSKYTargetMachine.cpp
M llvm/lib/Target/Hexagon/Hexagon.h
M llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
M llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.h
M llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
M llvm/lib/Target/Lanai/Lanai.h
M llvm/lib/Target/Lanai/LanaiISelDAGToDAG.cpp
M llvm/lib/Target/Lanai/LanaiTargetMachine.cpp
M llvm/lib/Target/LoongArch/LoongArch.h
M llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.cpp
M llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.h
M llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
M llvm/lib/Target/M68k/M68k.h
M llvm/lib/Target/M68k/M68kISelDAGToDAG.cpp
M llvm/lib/Target/M68k/M68kTargetMachine.cpp
M llvm/lib/Target/MSP430/MSP430.h
M llvm/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
M llvm/lib/Target/MSP430/MSP430TargetMachine.cpp
M llvm/lib/Target/Mips/Mips.h
M llvm/lib/Target/Mips/Mips16ISelDAGToDAG.cpp
M llvm/lib/Target/Mips/Mips16ISelDAGToDAG.h
M llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp
M llvm/lib/Target/Mips/MipsISelDAGToDAG.h
M llvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
M llvm/lib/Target/Mips/MipsSEISelDAGToDAG.h
M llvm/lib/Target/Mips/MipsTargetMachine.cpp
M llvm/lib/Target/NVPTX/NVPTX.h
M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.h
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
M llvm/lib/Target/PowerPC/PPC.h
M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
M llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
M llvm/lib/Target/RISCV/RISCV.h
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
M llvm/lib/Target/Sparc/Sparc.h
M llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp
M llvm/lib/Target/Sparc/SparcTargetMachine.cpp
M llvm/lib/Target/SystemZ/SystemZ.h
M llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
M llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
M llvm/lib/Target/VE/VE.h
M llvm/lib/Target/VE/VEISelDAGToDAG.cpp
M llvm/lib/Target/VE/VETargetMachine.cpp
M llvm/lib/Target/WebAssembly/WebAssembly.h
M llvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
M llvm/lib/Target/X86/X86.h
M llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
A llvm/lib/Target/X86/X86ISelDAGToDAG.h
A llvm/lib/Target/X86/X86PassRegistry.def
M llvm/lib/Target/X86/X86TargetMachine.cpp
M llvm/lib/Target/X86/X86TargetMachine.h
M llvm/lib/Target/XCore/XCore.h
M llvm/lib/Target/XCore/XCoreISelDAGToDAG.cpp
M llvm/lib/Target/XCore/XCoreTargetMachine.cpp
M llvm/lib/Target/Xtensa/XtensaISelDAGToDAG.cpp
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f32-no-rtn.ll
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f32-rtn.ll
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f64.ll
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.v2f16-no-rtn.ll
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.v2f16-rtn.ll
M llvm/test/CodeGen/AMDGPU/buffer-intrinsics-mmo-offsets.ll
M llvm/test/CodeGen/AMDGPU/bug-v4f64-subvector.ll
M llvm/test/CodeGen/AMDGPU/carryout-selection.ll
M llvm/test/CodeGen/AMDGPU/dagcombine-fma-crash.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-abs.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-bitreverse.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-ctlz-cttz.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-ctpop.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-min-max.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-negsubinlineconst.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-not-isel.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-xnor.ll
M llvm/test/CodeGen/AMDGPU/extract_subvector_vec4_vec3.ll
M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.f32.ll
M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.f64.ll
M llvm/test/CodeGen/AMDGPU/fneg-fabs-divergence-driven-isel.ll
M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.v2f16-no-rtn.ll
M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.v2f16-rtn.ll
M llvm/test/CodeGen/AMDGPU/img-nouse-adjust.ll
M llvm/test/CodeGen/AMDGPU/implicit-def-muse.ll
M llvm/test/CodeGen/AMDGPU/legalize-fp-load-invariant.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.make.buffer.rsrc.ll
M llvm/test/CodeGen/X86/apx/no-rex2-general.ll
M llvm/test/CodeGen/X86/apx/no-rex2-pseudo-amx.ll
M llvm/test/CodeGen/X86/apx/no-rex2-pseudo-x87.ll
M llvm/test/CodeGen/X86/apx/no-rex2-special.ll
M llvm/test/tools/llc/new-pm/start-stop.ll
Log Message:
-----------
Reland "[NewPM][CodeGen] Port selection dag isel to new pass manager" (#94149)
- Fix build with `EXPENSIVE_CHECKS`
- Remove unused `PassName::ID` to resolve warning
- Mark `~SelectionDAGISel` virtual so AArch64 backend can work properly
Commit: fde6a37113150b49c5d4ba2cc5f342ffadf8e59c
https://github.com/llvm/llvm-project/commit/fde6a37113150b49c5d4ba2cc5f342ffadf8e59c
Author: pcc <peter at pcc.me.uk>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/libcxx/src/BUILD.gn
M llvm/utils/gn/secondary/libcxxabi/src/BUILD.gn
M llvm/utils/gn/secondary/libunwind/src/BUILD.gn
Log Message:
-----------
gn build: Use -fvisibility-global-new-delete=force-hidden to build libcxx/libcxxabi/libunwind.
-fvisibility-global-new-delete-hidden is deprecated and clang was warning
about it on every build command. These libraries are always built using
a stage2 compiler, so we can use the new build flag unconditionally.
Reviewers: aeubanks
Reviewed By: aeubanks
Pull Request: https://github.com/llvm/llvm-project/pull/88459
Commit: 8ec1161fe66def9af8973c8c073be7d043cc411c
https://github.com/llvm/llvm-project/commit/8ec1161fe66def9af8973c8c073be7d043cc411c
Author: Rahman Lavaee <rahmanl at google.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/BasicBlockPathCloning.cpp
M llvm/test/CodeGen/X86/basic-block-sections-cloning-invalid.ll
Log Message:
-----------
[Codegen, BasicBlockSections] Avoid cloning blocks which have their machine block address taken. (#94296)
These blocks usually show up in the form of branches within inline
assembly. Since it's hard to rewire them, we fully omit paths with such
blocks from path cloning.
Commit: fbdd94847814c926f2767e656ba501b4ca7dfaae
https://github.com/llvm/llvm-project/commit/fbdd94847814c926f2767e656ba501b4ca7dfaae
Author: Lu Weining <luweining at loongson.cn>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M lld/test/ELF/loongarch-relax-emit-relocs.s
M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp
M llvm/test/MC/LoongArch/Relocations/relax-addsub.s
M llvm/test/MC/LoongArch/Relocations/relax-align.s
Log Message:
-----------
[LoongArch] Use R_LARCH_ALIGN without symbol as much as possible (#93775)
To support the third parameter of the alignment directive, R_LARCH_ALIGN
relocations need a non-zero symbol index.
In many cases we don't need the third parameter and can set the symbol
index to 0.
This patch will remove a lot of .Lla-relax-align* symbols and mitigate
the size regression due to
https://github.com/llvm/llvm-project/pull/72962.
Co-authored-by: Jinyang He <hejinyang at loongson.cn>
Co-authored-by: Weining Lu <luweining at loongson.cn>
Commit: cac5d0e938da83ef627a6a8e3f39a47d54516626
https://github.com/llvm/llvm-project/commit/cac5d0e938da83ef627a6a8e3f39a47d54516626
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Log Message:
-----------
[CodeGen] Fix compiler conditional combination (#94297)
Previously this assumed that `LLVM_ENABLE_ABI_BREAKING_CHECKS` would
always be enabled in this case, if it's not `TTI` does not exist.
Introduced in 7652a59407018c057cdc1163c9f64b5b6f0954eb
Commit: 9b0e1c2ca25be58ea29b318d3515e6171f25f0ea
https://github.com/llvm/llvm-project/commit/9b0e1c2ca25be58ea29b318d3515e6171f25f0ea
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
A llvm/include/llvm/CodeGen/FinalizeISel.h
M llvm/include/llvm/Passes/CodeGenPassBuilder.h
M llvm/include/llvm/Passes/MachinePassRegistry.def
M llvm/lib/CodeGen/FinalizeISel.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/test/CodeGen/AMDGPU/add_sub_u64_pseudos.mir
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wave.reduce.umax.mir
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wave.reduce.umin.mir
M llvm/test/CodeGen/Mips/call-site-info-output.ll
M llvm/test/CodeGen/RISCV/rvv/tail-agnostic-impdef-copy.mir
M llvm/test/CodeGen/RISCV/select-optimize-multiple.mir
M llvm/test/CodeGen/SystemZ/debuginstr-02.mir
M llvm/test/CodeGen/SystemZ/multiselect-02.mir
M llvm/test/CodeGen/Thumb2/mve-tp-loop.mir
M llvm/test/CodeGen/X86/call-site-info-output.ll
M llvm/test/CodeGen/X86/sjlj-shadow-stack-liveness.mir
Log Message:
-----------
[NewPM][CodeGen] Port `finalize-isel` to new pass manager (#94214)
It should preserve more analysis results, but it happens immediately
after instruction selection.
Commit: c7b7875e1e3e27995f0c8ec53f7ded305dc9d730
https://github.com/llvm/llvm-project/commit/c7b7875e1e3e27995f0c8ec53f7ded305dc9d730
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M bolt/test/lsda-section-name.cpp
Log Message:
-----------
Fix lsda-section-name adding back RUN line incorrectly removed in 6ef632ad36c522b0 (#94301)
Commit: 4d20f495df1968ab51aebe9696923724ee80576d
https://github.com/llvm/llvm-project/commit/4d20f495df1968ab51aebe9696923724ee80576d
Author: Kai Luo <lkail at cn.ibm.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCInstrInfo.td
M llvm/test/CodeGen/PowerPC/aix-tls-gd-longlong.ll
M llvm/test/CodeGen/PowerPC/aix-tls-le-xcoff-reloc-large32.ll
M llvm/test/CodeGen/PowerPC/aix-tls-xcoff-reloc-large.ll
Log Message:
-----------
[PowerPC] Remove DAG matching in ADDIStocHA (#93905)
The MI is generated in `PPCDAGToDAGISel::Select` so the match pattern isn't used and can be removed.
Commit: 85e4e9d2150d62be578065cc22a37c2c7613ce88
https://github.com/llvm/llvm-project/commit/85e4e9d2150d62be578065cc22a37c2c7613ce88
Author: Jakub Kuderski <jakub at nod-labs.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
M mlir/test/Dialect/Arith/invalid.mlir
M mlir/test/IR/invalid-ops.mlir
Log Message:
-----------
[mlir][arith] Further clean up select op definition (#93358)
* Improve the condition type requirement description ('scalar' ->
signless i1), to match what is actually verified.
* Use the `I1` type predicate instead of `AnyBooleanTypeMatch`.
Related discussion:
https://github.com/llvm/llvm-project/pull/93351#issuecomment-2130453233.
Commit: 392ca64893dc77f823cb4734238f1ba1d271b997
https://github.com/llvm/llvm-project/commit/392ca64893dc77f823cb4734238f1ba1d271b997
Author: Jordan Rupprecht <rupprecht at google.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M libc/test/src/fenv/getenv_and_setenv_test.cpp
Log Message:
-----------
[libc][test] Fix TEST->TEST_F typo in getenv_and_setenv_test.cpp (#94304)
This manifests as `AddressSanitizer: stack-use-after-return` w/o this
change. The `~CheckFEnv()` method of checking fenv seems to only work
for test fixtures.
Commit: d0413438ec4d846211094b0652cf6c0f3c9408bb
https://github.com/llvm/llvm-project/commit/d0413438ec4d846211094b0652cf6c0f3c9408bb
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M flang/lib/Optimizer/Builder/FIRBuilder.cpp
M flang/test/Lower/OpenMP/delayed-privatization-allocatable-firstprivate.f90
M mlir/include/mlir/Dialect/OpenACC/CMakeLists.txt
M mlir/include/mlir/Dialect/OpenACC/OpenACC.h
R mlir/include/mlir/Dialect/OpenACC/OpenACCInterfaces.h
M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
R mlir/include/mlir/Dialect/OpenACC/OpenACCOpsInterfaces.td
M mlir/include/mlir/Dialect/OpenACCMPCommon/Interfaces/CMakeLists.txt
A mlir/include/mlir/Dialect/OpenACCMPCommon/Interfaces/OpenACCMPOpsInterfaces.h
A mlir/include/mlir/Dialect/OpenACCMPCommon/Interfaces/OpenACCMPOpsInterfaces.td
M mlir/include/mlir/Dialect/OpenMP/OpenMPDialect.h
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/lib/Dialect/OpenACC/IR/CMakeLists.txt
M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
M mlir/lib/Dialect/OpenACC/Transforms/CMakeLists.txt
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[flang][OpenMP] Handle `omp.private` in `FirOpBuilder::getAllocaBlock()` (#93927)
Fixes a crash uncovered by
[pr89651](https://github.com/llvm/llvm-test-suite/blob/main/Fortran/gfortran/regression/gomp/pr89651.f90)
in the test suite.
Fixes a crash caused by missing handling of `omp.private` ops in
`FirOpBuilder::getAllocaBlock()`.
Commit: f4d705871a073259c220b80026614d46d939cb5b
https://github.com/llvm/llvm-project/commit/f4d705871a073259c220b80026614d46d939cb5b
Author: Teresa Johnson <tejohnson at google.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
Log Message:
-----------
[MemProf] Determine stack id references in BitcodeWriter without sorting (#94285)
A cycle profile of a thin link showed a lot of time spent in sort called
from the BitcodeWriter, which was being used to compute the unique
references to stack ids in the summaries emitted for each backend in a
distributed thinlto build. We were also frequently invoking lower_bound
to locate stack id indices in the resulting vector when writing out the
referencing memprof records.
Change this to use a map to uniquify the references, and to hold the
index of the corresponding stack id in the StackIds vector, which is
now populated at the same time.
This reduced the time of a large thin link by about 10%.
Commit: acfc79db3d2cda8417b8bfac6224ba74d0c2ece4
https://github.com/llvm/llvm-project/commit/acfc79db3d2cda8417b8bfac6224ba74d0c2ece4
Author: Fangcao Wang <wangfangcao1 at huawei.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/sve2-vscale-sinking.ll
Log Message:
-----------
[AArch64] Sink llvm.vscale.i32 into blocks for better isel (#93465)
Sink vscale calls as well when indvars is not widen
(-indvars-widen-indvars=false).
Commit: e9dd6b2a5332a2540849dc8366b00b17ab134c3f
https://github.com/llvm/llvm-project/commit/e9dd6b2a5332a2540849dc8366b00b17ab134c3f
Author: Yeting Kuo <46629943+yetingk at users.noreply.github.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
A llvm/test/Instrumentation/AddressSanitizer/asan-struct-scalable.ll
Log Message:
-----------
[Asan] Teach FunctionStackPoisoner to filter out struct type with scalable vector type. (#93406)
FunctionStackPoisoner does not serve for `AllocaInst` with scalable
vector type, but it does not filter out struct type with scalable vector
introduced by c8eb535aed0368c20b25fe05bca563ab38dd91e9.
Commit: d48d108bc66adb31185ee023e1eb0ccdda2065c1
https://github.com/llvm/llvm-project/commit/d48d108bc66adb31185ee023e1eb0ccdda2065c1
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/include/llvm/Transforms/IPO/Attributor.h
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/test/Transforms/Attributor/nofpclass-arithmetic-fence.ll
M llvm/test/Transforms/Attributor/nofpclass-canonicalize.ll
M llvm/test/Transforms/Attributor/nofpclass-ceil.ll
M llvm/test/Transforms/Attributor/nofpclass-copysign.ll
M llvm/test/Transforms/Attributor/nofpclass-exp.ll
M llvm/test/Transforms/Attributor/nofpclass-fdiv.ll
M llvm/test/Transforms/Attributor/nofpclass-floor.ll
M llvm/test/Transforms/Attributor/nofpclass-fma.ll
M llvm/test/Transforms/Attributor/nofpclass-fpext.ll
M llvm/test/Transforms/Attributor/nofpclass-fptrunc.ll
M llvm/test/Transforms/Attributor/nofpclass-frem.ll
M llvm/test/Transforms/Attributor/nofpclass-frexp.ll
M llvm/test/Transforms/Attributor/nofpclass-implied-by-fcmp.ll
M llvm/test/Transforms/Attributor/nofpclass-ldexp.ll
M llvm/test/Transforms/Attributor/nofpclass-log.ll
M llvm/test/Transforms/Attributor/nofpclass-minimum-maximum.ll
M llvm/test/Transforms/Attributor/nofpclass-minnum-maxnum.ll
M llvm/test/Transforms/Attributor/nofpclass-nan-fmul.ll
M llvm/test/Transforms/Attributor/nofpclass-nearbyint.ll
M llvm/test/Transforms/Attributor/nofpclass-powi.ll
M llvm/test/Transforms/Attributor/nofpclass-rint.ll
M llvm/test/Transforms/Attributor/nofpclass-round.ll
M llvm/test/Transforms/Attributor/nofpclass-roundeven.ll
M llvm/test/Transforms/Attributor/nofpclass-select.ll
M llvm/test/Transforms/Attributor/nofpclass-sin-cos.ll
M llvm/test/Transforms/Attributor/nofpclass-sqrt.ll
M llvm/test/Transforms/Attributor/nofpclass-trunc.ll
M llvm/test/Transforms/Attributor/nofpclass-uses-to-defs.ll
M llvm/test/Transforms/Attributor/nofpclass.ll
M llvm/test/Transforms/Attributor/nofree.ll
M llvm/test/Transforms/Attributor/nosync.ll
M llvm/test/Transforms/Attributor/willreturn.ll
Log Message:
-----------
[Attributor][FIX] Replace AANoFPClass MBEC propagation (#91030)
The old use of must-be-executed-context (MBEC) did propagate
through calls even if that was not allowed. We now only propagate from
call site arguments. If there are calls/intrinsics that allows
propagation, we need to add them explicitly.
Fixes: https://github.com/llvm/llvm-project/issues/78507
---------
Co-authored-by: Matt Arsenault <arsenm2 at gmail.com>
Commit: 2fa059195bb54f422cc996db96ac549888268eae
https://github.com/llvm/llvm-project/commit/2fa059195bb54f422cc996db96ac549888268eae
Author: Teresa Johnson <tejohnson at google.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
Log Message:
-----------
[MemProf] Use remove_if to erase MapVector elements in bulk (#94269)
A cycle profile showed that we were spending a lot of time invoking
MapVector::erase. According to
https://llvm.org/docs/ProgrammersManual.html#llvm-adt-mapvector-h,
erasing elements one at a time is very inefficient for MapVector and it
is better to use remove_if.
This change resulted in around 7% time reduction on a large thin link.
While here remove an unused function that also invokes erase on
MapVectors.
Commit: fa72a0237a688d71647bf001bf9020e6090f6121
https://github.com/llvm/llvm-project/commit/fa72a0237a688d71647bf001bf9020e6090f6121
Author: klensy <klensy at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M polly/test/CodeGen/alias_metadata_too_many_arrays.ll
Log Message:
-----------
[test] Fix filecheck annotation typos (#91854)
Similar to https://github.com/rust-lang/rust/pull/125007
Commit: 4973ad47181710d2a69292018cad7bc6f95a6c1a
https://github.com/llvm/llvm-project/commit/4973ad47181710d2a69292018cad7bc6f95a6c1a
Author: Teresa Johnson <tejohnson at google.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
Log Message:
-----------
[MemProf][NFC] Use range for loop (#94308)
With the change in 2fa059195bb54f422cc996db96ac549888268eae we can now
use a range for loop.
Commit: 8ea59ec6077e85c457b27b406a679ab9d5827387
https://github.com/llvm/llvm-project/commit/8ea59ec6077e85c457b27b406a679ab9d5827387
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M bolt/include/bolt/Core/BinarySection.h
M bolt/include/bolt/Rewrite/MetadataManager.h
M bolt/include/bolt/Rewrite/MetadataRewriter.h
M bolt/include/bolt/Rewrite/MetadataRewriters.h
M bolt/include/bolt/Rewrite/RewriteInstance.h
A bolt/lib/Rewrite/BuildIDRewriter.cpp
M bolt/lib/Rewrite/CMakeLists.txt
M bolt/lib/Rewrite/MetadataManager.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
Log Message:
-----------
[BOLT] Use rewriter interface for updating binary build ID (#94273)
Move functionality for patching build ID into a separate rewriter class
and change the way we do the patching. Support build ID in different
note sections in order to update the build ID in the Linux kernel binary
which puts in into ".notes" section instead of ".note.gnu.build-id".
Commit: 3d361b225fe89ce1d8c93639f27d689082bd8dad
https://github.com/llvm/llvm-project/commit/3d361b225fe89ce1d8c93639f27d689082bd8dad
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/DeclBase.h
M clang/lib/Parse/ParseExprCXX.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaLambda.cpp
M clang/lib/Sema/TreeTransform.h
M clang/test/SemaCXX/lambda-unevaluated.cpp
Log Message:
-----------
[Clang][Sema] Tweak tryCaptureVariable for unevaluated lambdas (#93206)
This patch picks up #78598 with the hope that we can address such
crashes in `tryCaptureVariable()` for unevaluated lambdas.
In addition to `tryCaptureVariable()`, this also contains several other
fixes on e.g. lambda parsing/dependencies.
Fixes #63845
Fixes #67260
Fixes #69307
Fixes #88081
Fixes #89496
Fixes #90669
Fixes #91633
Commit: 4c416a904c5aeb2590ea8336094f593b5cf7e484
https://github.com/llvm/llvm-project/commit/4c416a904c5aeb2590ea8336094f593b5cf7e484
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/bolt/lib/Rewrite/BUILD.gn
Log Message:
-----------
[gn build] Port 8ea59ec6077e
Commit: e3c9c82ce8098bc04f4f8186a462392a50cabdae
https://github.com/llvm/llvm-project/commit/e3c9c82ce8098bc04f4f8186a462392a50cabdae
Author: Han-Chung Wang <hanhan0912 at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M mlir/lib/Dialect/MemRef/Transforms/EmulateNarrowType.cpp
M mlir/lib/Dialect/MemRef/Utils/MemRefUtils.cpp
M mlir/test/Dialect/MemRef/emulate-narrow-type.mlir
Log Message:
-----------
[mlir][MemRef] Extend memref.subview sub-byte type emulation support. (#94045)
In some cases (see https://github.com/iree-org/iree/issues/16285),
`memref.subview` ops can't be folded into transfer ops and sub-byte type
emulation fails. This issue has been blocking a few things, including
the enablement of vector flattening transformations
(https://github.com/iree-org/iree/pull/16456). This PR extends the
existing sub-byte type emulation support of `memref.subview` to handle
multi-dimensional subviews with dynamic offsets and addresses the issues
for some of the `memref.subview` cases that can't be folded.
Co-authored-by: Diego Caballero <diegocaballero at google.com>
Commit: 22dcdcc7e7f6516273e3fc2da01dba138088f8ee
https://github.com/llvm/llvm-project/commit/22dcdcc7e7f6516273e3fc2da01dba138088f8ee
Author: Christian Sigg <csigg at google.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][bazel] Fix BUILD after d0413438ec4d846211094b0652cf6c0f3c9408bb.
Commit: 4ab73549ffc365e9b1965247c2f769705b368c09
https://github.com/llvm/llvm-project/commit/4ab73549ffc365e9b1965247c2f769705b368c09
Author: Christian Sigg <csigg at google.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][bazel] Really fix BUILD after d0413438ec4d846211094b0652cf6c0f3c9408bb.
Commit: 46672c1dc3272adda838caa87bf3fb17411986fb
https://github.com/llvm/llvm-project/commit/46672c1dc3272adda838caa87bf3fb17411986fb
Author: Tina Jung <tinamaria.jung at amd.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M mlir/lib/Conversion/ArithToEmitC/ArithToEmitC.cpp
M mlir/test/Conversion/ArithToEmitC/arith-to-emitc-unsupported.mlir
M mlir/test/Conversion/ArithToEmitC/arith-to-emitc.mlir
Log Message:
-----------
[mlir][emitc] arith.cmpf to EmitC conversion (#93671)
Convert all arith.cmpf on floats (not vectors/tensors thereof) to EmitC.
---------
Co-authored-by: Matthias Gehre <matthias.gehre at amd.com>
Co-authored-by: Jose Lopes <jose.lopes at amd.com>
Commit: deab451e7a7f2dff42097049274637052c87eabd
https://github.com/llvm/llvm-project/commit/deab451e7a7f2dff42097049274637052c87eabd
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M lld/test/COFF/lto-weak-undefined.ll
M llvm/bindings/ocaml/llvm/llvm.ml
M llvm/bindings/ocaml/llvm/llvm.mli
M llvm/bindings/ocaml/llvm/llvm_ocaml.c
M llvm/docs/LangRef.rst
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm-c/Core.h
M llvm/include/llvm/IR/Constants.h
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
M llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
M llvm/lib/IR/AsmWriter.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/lib/IR/Constants.cpp
M llvm/lib/IR/ConstantsContext.h
M llvm/lib/IR/Core.cpp
M llvm/lib/Target/NVPTX/NVPTXGenericToNVVM.cpp
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/lib/Transforms/Utils/FunctionComparator.cpp
M llvm/test/Analysis/Lint/noop-cast-expr-no-pointer.ll
M llvm/test/Assembler/2007-01-05-Cmp-ConstExpr.ll
M llvm/test/Assembler/ConstantExprFold.ll
R llvm/test/Assembler/vector-cmp.ll
M llvm/test/Bindings/OCaml/core.ml
M llvm/test/Bitcode/vscale-round-trip.ll
M llvm/test/CodeGen/AArch64/addsub.ll
M llvm/test/CodeGen/AArch64/arm64-codegen-prepare-extload.ll
M llvm/test/CodeGen/AArch64/dag-combine-concat-vectors.ll
M llvm/test/CodeGen/AArch64/windows-extern-weak.ll
M llvm/test/CodeGen/AMDGPU/force-alwaysinline-lds-global-address.ll
M llvm/test/CodeGen/AMDGPU/loop_break.ll
M llvm/test/CodeGen/ARM/Windows/mov32t-bundling.ll
M llvm/test/CodeGen/Generic/pr33094.ll
M llvm/test/CodeGen/Hexagon/stack-align-reset.ll
M llvm/test/CodeGen/Mips/mirparser/target-flags-pic-mxgot-tls.mir
M llvm/test/CodeGen/Mips/mirparser/target-flags-static-tls.mir
M llvm/test/CodeGen/PowerPC/2008-05-01-ppc_fp128.ll
M llvm/test/CodeGen/PowerPC/ifcvt-forked-bug-2016-08-08.ll
M llvm/test/CodeGen/PowerPC/pr24636.ll
M llvm/test/CodeGen/PowerPC/pr3711_widen_bit.ll
M llvm/test/CodeGen/PowerPC/pr46923.ll
M llvm/test/CodeGen/PowerPC/toc-load-sched-bug.ll
M llvm/test/CodeGen/WebAssembly/add-prototypes.ll
M llvm/test/CodeGen/WebAssembly/fast-isel-noreg.ll
M llvm/test/CodeGen/X86/2008-09-19-RegAllocBug.ll
M llvm/test/CodeGen/X86/address-type-promotion-constantexpr.ll
M llvm/test/CodeGen/X86/codegen-prepare-extload.ll
M llvm/test/CodeGen/X86/codegen-prepare-replacephi2.mir
M llvm/test/CodeGen/X86/extern_weak.ll
M llvm/test/CodeGen/X86/fast-isel-expect.ll
M llvm/test/CodeGen/X86/no-plt.ll
M llvm/test/CodeGen/X86/pr44749.ll
M llvm/test/CodeGen/X86/undef-label.ll
M llvm/test/ExecutionEngine/MCJIT/test-constantexpr.ll
M llvm/test/Feature/const_pv.ll
M llvm/test/Instrumentation/DataFlowSanitizer/extern_weak.ll
M llvm/test/Other/constant-fold-gep.ll
M llvm/test/Transforms/Attributor/value-simplify.ll
M llvm/test/Transforms/CorrelatedValuePropagation/2010-09-26-MergeConstantRange.ll
M llvm/test/Transforms/CorrelatedValuePropagation/select.ll
M llvm/test/Transforms/GVN/PRE/pre-load-dbg.ll
M llvm/test/Transforms/GlobalDCE/complex-constantexpr.ll
M llvm/test/Transforms/GlobalOpt/cleanup-pointer-root-users-other-constexpr.ll
M llvm/test/Transforms/GlobalOpt/constantfold-initializers.ll
M llvm/test/Transforms/GlobalOpt/dead-constant-user.ll
M llvm/test/Transforms/GlobalOpt/pr61674.ll
M llvm/test/Transforms/IndVarSimplify/pr45835.ll
M llvm/test/Transforms/InferAddressSpaces/AMDGPU/infer-address-space.ll
M llvm/test/Transforms/Inline/always-inline.ll
M llvm/test/Transforms/Inline/last-callsite.ll
M llvm/test/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll
M llvm/test/Transforms/InstCombine/2008-05-18-FoldIntToPtr.ll
M llvm/test/Transforms/InstCombine/2010-03-03-ExtElim.ll
M llvm/test/Transforms/InstCombine/2012-3-15-or-xor-constant.ll
M llvm/test/Transforms/InstCombine/binop-select-cast-of-select-cond.ll
M llvm/test/Transforms/InstCombine/cast.ll
M llvm/test/Transforms/InstCombine/constant-fold-compare.ll
M llvm/test/Transforms/InstCombine/constant-fold-iteration.ll
M llvm/test/Transforms/InstCombine/fold-bin-operand.ll
M llvm/test/Transforms/InstCombine/icmp-bitcast-glob.ll
M llvm/test/Transforms/InstCombine/icmp-mul.ll
M llvm/test/Transforms/InstCombine/mul-inseltpoison.ll
M llvm/test/Transforms/InstCombine/mul.ll
M llvm/test/Transforms/InstCombine/not-add.ll
M llvm/test/Transforms/InstCombine/phi-select-constant.ll
M llvm/test/Transforms/InstCombine/pr20678.ll
M llvm/test/Transforms/InstCombine/pr28725.ll
M llvm/test/Transforms/InstCombine/pr32686.ll
M llvm/test/Transforms/InstCombine/pr33453.ll
M llvm/test/Transforms/InstCombine/pr35515.ll
M llvm/test/Transforms/InstCombine/pr38677.ll
M llvm/test/Transforms/InstCombine/pr83947.ll
M llvm/test/Transforms/InstCombine/rem.ll
M llvm/test/Transforms/InstCombine/select-and-or.ll
M llvm/test/Transforms/InstCombine/select-safe-transforms.ll
M llvm/test/Transforms/InstCombine/select.ll
M llvm/test/Transforms/InstCombine/shift-amount-reassociation-in-bittest.ll
M llvm/test/Transforms/InstCombine/vec_demanded_elts-inseltpoison.ll
M llvm/test/Transforms/InstCombine/vec_demanded_elts.ll
M llvm/test/Transforms/InstSimplify/ConstProp/constant-expr.ll
M llvm/test/Transforms/InstSimplify/pr28725.ll
M llvm/test/Transforms/LowerTypeTests/function-weak.ll
M llvm/test/Transforms/MergeFunc/constexpr.ll
M llvm/test/Transforms/OpenMP/value-simplify-openmp-opt.ll
M llvm/test/Transforms/SCCP/ip-ranges-select.ll
M llvm/test/Transforms/SCCP/undef-resolve.ll
M llvm/test/Transforms/SLPVectorizer/X86/phi3.ll
M llvm/test/Transforms/SimplifyCFG/2009-05-12-externweak.ll
R llvm/test/Transforms/SimplifyCFG/phi-to-select-constexpr-icmp.ll
M llvm/test/Transforms/StructurizeCFG/invert-constantexpr.ll
M llvm/tools/llvm-diff/lib/DifferenceEngine.cpp
M llvm/unittests/IR/ConstantsTest.cpp
M polly/test/ScopInfo/constant-non-integer-branch-condition.ll
Log Message:
-----------
[IR] Remove support for icmp and fcmp constant expressions (#93038)
Remove support for the icmp and fcmp constant expressions.
This is part of:
https://discourse.llvm.org/t/rfc-remove-most-constant-expressions/63179
As usual, many of the updated tests will no longer test what they were
originally intended to -- this is hard to preserve when constant
expressions get removed, and in many cases just impossible as the
existence of a specific kind of constant expression was the cause of the
issue in the first place.
Commit: 68761a9e05693bd3986e46628e401c80a27e945d
https://github.com/llvm/llvm-project/commit/68761a9e05693bd3986e46628e401c80a27e945d
Author: martinboehme <mboehme at google.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
[clang][nullability] Propagate storage location / value of `++`/`--` operators. (#94217)
To avoid generating unnecessary values, we don't create a new value but
instead
leave it to the specific analysis to do this if desired.
Commit: f4d60e2a744463bc624cbb1b35de5a36eed6aaae
https://github.com/llvm/llvm-project/commit/f4d60e2a744463bc624cbb1b35de5a36eed6aaae
Author: Vladimir Vereschaka <vvereschaka at accesssoftek.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/cmake/caches/CrossWinToARMLinux.cmake
Log Message:
-----------
[CMake] Remove supporting of DEFAULT_SYSROOT for the ARM/Aarch64 cross builds. NFC. (#94300)
Avoid usage DEFAULT_SYSROOT CMake variable to confgiure the ARM/Aarch64
cross platform toolchain builds. Use the Clang configuration files with
proper `--sysroot=` in it instead.
More details could be found here:
https://github.com/llvm/llvm-project/issues/94284
Commit: b7e472ce56dc61ec20cfb41a9d238bab1bc0f021
https://github.com/llvm/llvm-project/commit/b7e472ce56dc61ec20cfb41a9d238bab1bc0f021
Author: Benjamin Chetioui <3920784+bchetioui at users.noreply.github.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][bazel] Fix build after 46672c1dc3272adda838caa87bf3fb17411986fb.
Commit: d8ec452db016f359feeec28994f6560b30b49824
https://github.com/llvm/llvm-project/commit/d8ec452db016f359feeec28994f6560b30b49824
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/include/clang/AST/DeclBase.h
M clang/include/clang/AST/DeclID.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ModuleFile.h
M clang/include/clang/Serialization/ModuleManager.h
M clang/lib/AST/DeclBase.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/ModuleFile.cpp
A clang/test/Modules/no-transitive-decls-change.cppm
Log Message:
-----------
[serialization] no transitive decl change (#92083)
Following of https://github.com/llvm/llvm-project/pull/86912
The motivation of the patch series is that, for a module interface unit
`X`, when the dependent modules of `X` changes, if the changes is not
relevant with `X`, we hope the BMI of `X` won't change. For the specific
patch, we hope if the changes was about irrelevant declaration changes,
we hope the BMI of `X` won't change. **However**, I found the patch
itself is not very useful in practice, since the adding or removing
declarations, will change the state of identifiers and types in most
cases.
That said, for the most simple example,
```
// partA.cppm
export module m:partA;
// partA.v1.cppm
export module m:partA;
export void a() {}
// partB.cppm
export module m:partB;
export void b() {}
// m.cppm
export module m;
export import :partA;
export import :partB;
// onlyUseB;
export module onlyUseB;
import m;
export inline void onluUseB() {
b();
}
```
the BMI of `onlyUseB` will change after we change the implementation of
`partA.cppm` to `partA.v1.cppm`. Since `partA.v1.cppm` introduces new
identifiers and types (the function prototype).
So in this patch, we have to write the tests as:
```
// partA.cppm
export module m:partA;
export int getA() { ... }
export int getA2(int) { ... }
// partA.v1.cppm
export module m:partA;
export int getA() { ... }
export int getA(int) { ... }
export int getA2(int) { ... }
// partB.cppm
export module m:partB;
export void b() {}
// m.cppm
export module m;
export import :partA;
export import :partB;
// onlyUseB;
export module onlyUseB;
import m;
export inline void onluUseB() {
b();
}
```
so that the new introduced declaration `int getA(int)` doesn't introduce
new identifiers and types, then the BMI of `onlyUseB` can keep
unchanged.
While it looks not so great, the patch should be the base of the patch
to erase the transitive change for identifiers and types since I don't
know how can we introduce new types and identifiers without introducing
new declarations. Given how tightly the relationship between
declarations, types and identifiers, I think we can only reach the ideal
state after we made the series for all of the three entties.
The design of the patch is similar to
https://github.com/llvm/llvm-project/pull/86912, which extends the
32-bit DeclID to 64-bit and use the higher bits to store the module file
index and the lower bits to store the Local Decl ID.
A slight difference is that we only use 48 bits to store the new DeclID
since we try to use the higher 16 bits to store the module ID in the
prefix of Decl class. Previously, we use 32 bits to store the module ID
and 32 bits to store the DeclID. I don't want to allocate additional
space so I tried to make the additional space the same as 64 bits. An
potential interesting thing here is about the relationship between the
module ID and the module file index. I feel we can get the module file
index by the module ID. But I didn't prove it or implement it. Since I
want to make the patch itself as small as possible. We can make it in
the future if we want.
Another change in the patch is the new concept Decl Index, which means
the index of the very big array `DeclsLoaded` in ASTReader. Previously,
the index of a loaded declaration is simply the Decl ID minus
PREDEFINED_DECL_NUMs. So there are some places they got used
ambiguously. But this patch tried to split these two concepts.
As https://github.com/llvm/llvm-project/pull/86912 did, the change will
increase the on-disk PCM file sizes. As the declaration ID may be the
most IDs in the PCM file, this can have the biggest impact on the size.
In my experiments, this change will bring 6.6% increase of the on-disk
PCM size. No compile-time performance regression observed. Given the
benefits in the motivation example, I think the cost is worthwhile.
Commit: 6c36bdb6eab1a3de3bce24ee0285c7745b17e407
https://github.com/llvm/llvm-project/commit/6c36bdb6eab1a3de3bce24ee0285c7745b17e407
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M lldb/docs/use/variable.rst
M lldb/include/lldb/API/SBValue.h
Log Message:
-----------
[lldb] Add documentation for the max_children argument (#94192)
Commit: eb3f2be36df4924c00cbb39846b7a1109b2c81e5
https://github.com/llvm/llvm-project/commit/eb3f2be36df4924c00cbb39846b7a1109b2c81e5
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Analysis/PHITransAddr.cpp
M llvm/test/Transforms/GVN/PRE/pre-load.ll
Log Message:
-----------
[PHITransAddr] Preserve all GEP nowrap flags
Commit: 83fbe56f28d8aa4e4da9eea2a37bdc94141bf409
https://github.com/llvm/llvm-project/commit/83fbe56f28d8aa4e4da9eea2a37bdc94141bf409
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64LoopIdiomTransform.cpp
Log Message:
-----------
[AArch64LoopIdiomTransform] Simplify GEP construction (NFC)
Commit: a35ac42fac88e82748a7e035821a1c6226be9ac0
https://github.com/llvm/llvm-project/commit/a35ac42fac88e82748a7e035821a1c6226be9ac0
Author: Michael Kruse <llvm-project at meinersbur.de>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M compiler-rt/CMakeLists.txt
M compiler-rt/cmake/Modules/AddCompilerRT.cmake
M compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
M compiler-rt/cmake/Modules/CompilerRTUtils.cmake
M compiler-rt/cmake/base-config-ix.cmake
M compiler-rt/include/CMakeLists.txt
M compiler-rt/lib/asan/tests/CMakeLists.txt
M compiler-rt/lib/builtins/CMakeLists.txt
M compiler-rt/lib/fuzzer/tests/CMakeLists.txt
M compiler-rt/lib/gwp_asan/tests/CMakeLists.txt
M compiler-rt/lib/interception/tests/CMakeLists.txt
M compiler-rt/lib/memprof/tests/CMakeLists.txt
M compiler-rt/lib/orc/tests/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt
M compiler-rt/lib/stats/CMakeLists.txt
M compiler-rt/lib/tsan/CMakeLists.txt
M compiler-rt/lib/tsan/dd/CMakeLists.txt
M compiler-rt/lib/tsan/rtl/CMakeLists.txt
M compiler-rt/lib/xray/tests/CMakeLists.txt
M compiler-rt/test/CMakeLists.txt
M compiler-rt/test/asan/CMakeLists.txt
M compiler-rt/test/asan_abi/CMakeLists.txt
M compiler-rt/test/builtins/CMakeLists.txt
M compiler-rt/test/cfi/CMakeLists.txt
M compiler-rt/test/dfsan/CMakeLists.txt
M compiler-rt/test/fuzzer/CMakeLists.txt
M compiler-rt/test/gwp_asan/CMakeLists.txt
M compiler-rt/test/hwasan/CMakeLists.txt
M compiler-rt/test/interception/CMakeLists.txt
M compiler-rt/test/lsan/CMakeLists.txt
M compiler-rt/test/memprof/CMakeLists.txt
M compiler-rt/test/metadata/CMakeLists.txt
M compiler-rt/test/msan/CMakeLists.txt
M compiler-rt/test/orc/CMakeLists.txt
M compiler-rt/test/profile/CMakeLists.txt
M compiler-rt/test/safestack/CMakeLists.txt
M compiler-rt/test/sanitizer_common/CMakeLists.txt
M compiler-rt/test/shadowcallstack/CMakeLists.txt
M compiler-rt/test/tsan/CMakeLists.txt
M compiler-rt/test/ubsan/CMakeLists.txt
M compiler-rt/test/ubsan_minimal/CMakeLists.txt
M compiler-rt/test/xray/CMakeLists.txt
Log Message:
-----------
[compiler-rt] Revise IDE folder structure (#89753)
Update the folder titles for targets in the monorepository that have not
seen taken care of for some time. These are the folders that targets are
organized in Visual Studio and XCode
(`set_property(TARGET <target> PROPERTY FOLDER "<title>")`)
when using the respective CMake's IDE generator.
* Ensure that every target is in a folder
* Use a folder hierarchy with each LLVM subproject as a top-level folder
* Use consistent folder names between subprojects
* When using target-creating functions from AddLLVM.cmake, automatically
deduce the folder. This reduces the number of
`set_property`/`set_target_property`, but are still necessary when
`add_custom_target`, `add_executable`, `add_library`, etc. are used. A
LLVM_SUBPROJECT_TITLE definition is used for that in each subproject's
root CMakeLists.txt.
Commit: 799ae77993fa5d7b0638f10b3895090f8748de92
https://github.com/llvm/llvm-project/commit/799ae77993fa5d7b0638f10b3895090f8748de92
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/lib/Serialization/ASTWriter.cpp
Log Message:
-----------
[NFC] [Serialization] Avoid unnecessary check for if Identifier from AST
Inspired by the review process in
https://github.com/llvm/llvm-project/pull/92085.
The check `ID >= FirstIdentID` can cover the following check
`!II->isFromAST()`.
Commit: 434a8a08a2f26bb30cb30c3f9f6794cf7a190844
https://github.com/llvm/llvm-project/commit/434a8a08a2f26bb30cb30c3f9f6794cf7a190844
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
M llvm/test/Transforms/InstCombine/memcpy-addrspace.ll
Log Message:
-----------
[InstCombine] Preserve all gep nowrap flags in PointerReplacer
Commit: ade4259d75d61d4366538b5ee975cac606d43d3c
https://github.com/llvm/llvm-project/commit/ade4259d75d61d4366538b5ee975cac606d43d3c
Author: c8ef <c8ef at outlook.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/lib/AST/Expr.cpp
M clang/test/SemaCXX/cxx2c-pack-indexing.cpp
Log Message:
-----------
[clang] Fix parsing a typeid containing a pack indexing expression (#94299)
Fixes #93650
Commit: 6bc71bac8728b30b560f7ae210917072b01b8046
https://github.com/llvm/llvm-project/commit/6bc71bac8728b30b560f7ae210917072b01b8046
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/include/clang/Basic/CharInfo.h
M clang/test/Lexer/cxx2c-raw-strings.cpp
Log Message:
-----------
[Clang] \ is not valid in a raw string literal (#93867)
Fix regression introduced by #93216
Commit: 34b4112c909d6d5e177d0e6851af7db18058fb9a
https://github.com/llvm/llvm-project/commit/34b4112c909d6d5e177d0e6851af7db18058fb9a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Log Message:
-----------
[InstCombine] Simplify isMergedGEPInBounds() (NFCI)
Since the switch to opaque pointers, zero-index GEPs will be
optimized away anyway, so there is no need to explicitly handle
them here.
Commit: 59cb55d384a10e370ad5fdb2a8a48209e6bbc2bd
https://github.com/llvm/llvm-project/commit/59cb55d384a10e370ad5fdb2a8a48209e6bbc2bd
Author: Ramkumar Ramachandra <r at artagnon.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp
A llvm/test/Transforms/LoopVectorize/vplan-incomplete-cases.ll
R llvm/test/Transforms/LoopVectorize/vplan-infer-not-or-type.ll
Log Message:
-----------
VPlan: add missing case for LogicalAnd; fix crash (#93553)
VPTypeAnalysis::inferScalarTypeForRecipe is missing the case for
VPInstruction::LogicalAnd, due to which the test
vplan-incomplete-cases.ll crashes. Add this missing case, and move the
test in vplan-infer-not-or-type.ll to vplan-incomplete-cases.ll, showing
correct codegen for trip-counts 2 and 3.
Commit: fe56f19c6705d652183aaa0fcfc7cf67ec88f1fc
https://github.com/llvm/llvm-project/commit/fe56f19c6705d652183aaa0fcfc7cf67ec88f1fc
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Analysis/Local.cpp
M llvm/test/Transforms/InstCombine/icmp-gep.ll
Log Message:
-----------
[Local] Use nusw and nuw flags in emitGEPOffset()
Commit: bc3baa93ce5142fcdc2dc5a7d27e26a32999116d
https://github.com/llvm/llvm-project/commit/bc3baa93ce5142fcdc2dc5a7d27e26a32999116d
Author: Balázs Kéri <balazs.keri at ericsson.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/docs/analyzer/checkers.rst
M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
M clang/test/Analysis/putenv-stack-array.c
Log Message:
-----------
[clang][analyzer] Move PutenvStackArrayChecker out of alpha package (#93980)
Checker alpha.security.PutenvStackArray is moved to
security.PutenvStackArray.
Commit: 842333750288a033cd7c4ca0c132d38a1982c187
https://github.com/llvm/llvm-project/commit/842333750288a033cd7c4ca0c132d38a1982c187
Author: Kai Luo <lkail at cn.ibm.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
A llvm/test/CodeGen/PowerPC/peephole-mma-phi-liveness.ll
Log Message:
-----------
[PowerPC] Add test for ppc-mi-peepholes on MMA register COPYs. NFC.
Commit: cb60667b6e762aa172b6ad06332465d69f0fd803
https://github.com/llvm/llvm-project/commit/cb60667b6e762aa172b6ad06332465d69f0fd803
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/include/clang/AST/DeclBase.h
M clang/include/clang/AST/DeclID.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ModuleFile.h
M clang/include/clang/Serialization/ModuleManager.h
M clang/lib/AST/DeclBase.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/ModuleFile.cpp
R clang/test/Modules/no-transitive-decls-change.cppm
Log Message:
-----------
Revert "[serialization] no transitive decl change (#92083)"
This reverts commit d8ec452db016f359feeec28994f6560b30b49824.
This fails on LLDB macOS CI. See
https://github.com/llvm/llvm-project/pull/92083 for details.
Commit: 3138c590859ffff5d77f878f3b297960c8842180
https://github.com/llvm/llvm-project/commit/3138c590859ffff5d77f878f3b297960c8842180
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/getelementptr.ll
Log Message:
-----------
[InstCombine] Add more gep index canonicalization tests (NFC)
Flags are already fully preserved for the instruction case,
but lost on constant expressions.
Commit: eea05c6b3369736b703e2a5e3ca08ba6ad8a51dc
https://github.com/llvm/llvm-project/commit/eea05c6b3369736b703e2a5e3ca08ba6ad8a51dc
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ConstantFolding.cpp
Log Message:
-----------
[ConstantFolding] Preserve all flags in CastGEPIndices()
This preserves the flags during that transform, but currently they
will still end up getting dropped at a later stage.
Commit: 164597616c0c9cb42536d0d112e87e616751a438
https://github.com/llvm/llvm-project/commit/164597616c0c9cb42536d0d112e87e616751a438
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/runtime-checks-hoist.ll
Log Message:
-----------
[LV] Add test for RT check hoisting where loop guards simplify check.
Add a test case with a missed simplification when hoisting runtime
checks due to not applying loop guards.
Commit: 99873b35da7ecb905143c8a6b8deca4d4416f1a9
https://github.com/llvm/llvm-project/commit/99873b35da7ecb905143c8a6b8deca4d4416f1a9
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/include/clang/AST/DeclBase.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/Decl.cpp
M clang/lib/AST/DeclBase.cpp
M clang/lib/CodeGen/CGVTables.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Serialization/ASTWriter.cpp
Log Message:
-----------
[NFC] [AST] Introduce Decl::isInAnotherModuleUnit and Decl::shouldEmitInExternalSource
Motivated by the review process in
https://github.com/llvm/llvm-project/pull/75912. This can also help to
simplify the code slightly.
Commit: f98be870e4da1c124f476ce441d2a49e248091cf
https://github.com/llvm/llvm-project/commit/f98be870e4da1c124f476ce441d2a49e248091cf
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/InstructionSimplify.h
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/Analysis/PHITransAddr.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/lib/Transforms/Scalar/NewGVN.cpp
M llvm/test/Transforms/InstSimplify/gep.ll
Log Message:
-----------
[InstSimplify] Accept GEPNoWrapFlags instead of only InBounds flag
This preserves the flags if a constexpr GEP is created (at least
as long as they don't get dropped later -- the test cases uses a
constexpr index to avoid that).
Commit: c0e6dd1e7c39be43731bc2036136f3126e029d08
https://github.com/llvm/llvm-project/commit/c0e6dd1e7c39be43731bc2036136f3126e029d08
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/CodeGen/CGPasses.td
M flang/include/flang/Optimizer/CodeGen/CodeGen.h
M flang/lib/Optimizer/CodeGen/BoxedProcedure.cpp
Log Message:
-----------
[flang][CodeGen][NFC] Reduce BoxedProcedurePass boilerplate (#94200)
The pass constructor can be generated automatically by tablegen.
The pass is module-level and iterates over every operation within the
module so it should not need any changes to support alternative top
level operations.
Commit: c631131a1490af9f908a3a3be9aae5295ecff67d
https://github.com/llvm/llvm-project/commit/c631131a1490af9f908a3a3be9aae5295ecff67d
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
R clang/test/CXX/drs/cwg2390.cpp
M clang/test/CXX/drs/cwg23xx.cpp
Log Message:
-----------
[clang] Move CWG2390 test into `cwg23xx.cpp` (#94206)
This patch refactors an existing test for
[CWG2390](https://cplusplus.github.io/CWG/issues/2390.html) "Is the
argument of `__has_cpp_attribute` macro-expanded?" to use `#error`
instead of emitting a variable in IRGen and checking it via FileCheck.
As a bonus, this makes it possible to move the test into `cwg23xx.cpp`.
Commit: 50d837e3019136aa42a73c06dd117fe6ca8cf148
https://github.com/llvm/llvm-project/commit/50d837e3019136aa42a73c06dd117fe6ca8cf148
Author: Abid Qadeer <haqadeer at amd.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
M mlir/lib/Target/LLVMIR/DebugImporter.cpp
M mlir/lib/Target/LLVMIR/DebugTranslation.cpp
M mlir/test/Target/LLVMIR/Import/debug-info.ll
M mlir/test/Target/LLVMIR/llvmir-debug.mlir
Log Message:
-----------
[MLIR] Improve translation of DISubrange. (#93689)
The DISubrange can take integer, dwarf expressions or variables. The
current translation only handled integers. This PR adds handling of
dwarf expressions and variables.
Commit: 93266ecac949efdc6d04620847a1b87bbb4819ce
https://github.com/llvm/llvm-project/commit/93266ecac949efdc6d04620847a1b87bbb4819ce
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M lldb/test/Shell/SymbolFile/DWARF/x86/dwp-separate-debug-file.cpp
Log Message:
-----------
[lldb][test] Require Python for dwp test
This came up when testing the CI build, which is not
being build with scripting yet.
Commit: 9372e1a7f12ab1bce4bf6303657e193fc0283a6e
https://github.com/llvm/llvm-project/commit/9372e1a7f12ab1bce4bf6303657e193fc0283a6e
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/memory-legalizer-fence-mmra-global.ll
M llvm/test/CodeGen/AMDGPU/memory-legalizer-fence-mmra-local.ll
Log Message:
-----------
[AMDGPU] Add gfx12 run lines to fence MMRA tests (#94333)
Commit: fc5254c8ac02d29e7daab4ecce42cb5a82c8b3a2
https://github.com/llvm/llvm-project/commit/fc5254c8ac02d29e7daab4ecce42cb5a82c8b3a2
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/LoopUtils.cpp
Log Message:
-----------
[LoopUtils] Simplify code for runtime check generation a bit (NFCI).
Store getSE result in variable to re-use and use structured bindings
when looping over bounds.
Commit: a934ddcf7edb583e93102e2fa8b3b05ab34547f2
https://github.com/llvm/llvm-project/commit/a934ddcf7edb583e93102e2fa8b3b05ab34547f2
Author: Simon Camphausen <simon.camphausen at iml.fraunhofer.de>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M mlir/lib/Target/Cpp/TranslateToCpp.cpp
M mlir/test/Target/Cpp/expressions.mlir
Log Message:
-----------
[mlir][EmitC] Do not inline expressions used by ops with the CExpression trait (#93691)
Currently an expression is inlined without emitting enclosing
parentheses regardless of the context of the user. This could led to
wrong evaluation order depending on the precedence of both expressions.
If the inlining is intended, the user operation should be merged into
the expression op.
Fixes #93470.
Commit: 924611b0301f751e8c3fef9759b9d2683b0345fc
https://github.com/llvm/llvm-project/commit/924611b0301f751e8c3fef9759b9d2683b0345fc
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/include/clang/AST/TemplateName.h
M clang/lib/AST/TemplateName.cpp
M clang/lib/Sema/SemaTemplateInstantiate.cpp
Log Message:
-----------
[clang] NFCI: remove obsolete workaround for template default arguments (#94311)
Commit: 3b020d51f1c96980b1813e5148dbbd6af91669cf
https://github.com/llvm/llvm-project/commit/3b020d51f1c96980b1813e5148dbbd6af91669cf
Author: Qizhi Hu <836744285 at qq.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/lib/AST/ASTImporter.cpp
M clang/unittests/AST/ASTImporterTest.cpp
Log Message:
-----------
[clang][ASTImport] fix issue on anonymous enum import (#93923)
Don't skip searching in `ToContext` during importing `EnumDecl`. And
`IsStructuralMatch` in `StructralEquivalence` can make sure to determine
whether the found result is match or not.
---------
Co-authored-by: huqizhi <836744285 at qq.com>
Commit: e57308b063bb2399b9524222d757609797d331fc
https://github.com/llvm/llvm-project/commit/e57308b063bb2399b9524222d757609797d331fc
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/InstSimplifyFolder.h
M llvm/include/llvm/Analysis/TargetFolder.h
M llvm/include/llvm/IR/ConstantFolder.h
M llvm/include/llvm/IR/IRBuilder.h
M llvm/include/llvm/IR/IRBuilderFolder.h
M llvm/include/llvm/IR/Instructions.h
M llvm/include/llvm/IR/NoFolder.h
M llvm/lib/IR/Constants.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/getelementptr.ll
Log Message:
-----------
[IR] Accept GEPNoWrapFlags in creation APIs
Add overloads of GetElementPtrInst::Create() that accept
GEPNoWrapFlags, and switch the bool parameters in IRBuilder to
accept it instead as well.
As a sample use, switch GEP i8 canonicalization in InstCombine to
preserve the original flags.
Commit: 794457f6f99aac77f123fa2245e91a3b442c7926
https://github.com/llvm/llvm-project/commit/794457f6f99aac77f123fa2245e91a3b442c7926
Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/lib/CodeGen/Targets/AMDGPU.cpp
A clang/test/CodeGen/amdgpu-variadic-call.c
Log Message:
-----------
[amdgpu] Pass variadic arguments without splitting (#94083)
Pass variadic arguments without changing their type, unlike the fixed
ones.
Fixed arguments are modified to better fit into registers. This patch
leaves those unchanged.
Splitting struct types into individual fields and packing small structs
into integers works well for passing via registers. Variadic arguments
are currently unimplemented in the backend. They're likely to be
implemented as a pointer to stack memory in which case register-themed
optimisations are inapplicable.
Splitting the struct into fields makes it difficult to implement va_arg
robustly. The rules around padding and alignment to inverse the struct
splitting could be constructed, but at high complexity and no particular
advantage.
Passing types as-is means there is a 1:1 correspondence with the type
information va_arg has to work with and the parameter type at the call
site.
This is an ABI change, but as the only functions affected are variadic
ones which are presently a compilation error, not a functional break.
Factored out of the larger #93362 and can land independently.
Commit: f9db0d2c43d2956813fab8309def6b23adc73f35
https://github.com/llvm/llvm-project/commit/f9db0d2c43d2956813fab8309def6b23adc73f35
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/cmake/modules/LLVMExternalProjectUtils.cmake
Log Message:
-----------
[cmake][runtimes] Add missing dependency on LLVMgold.so (#94199)
When doing a runtimes build with LTO using ld.bfd (or ld.gold), the
build starts failing with ninja 1.12, which added a new critical path
scheduler. The reason is that LLVMgold.so is not available yet at the
point where runtimes start being build, leading to configuration
failures in the nested cmake invocation.
Fix this by adding an explicit dependency on LLVMgold.so if it is
available. (It may not always be necessary, e.g. if the used linker is
lld, but it would be hard to detect when exactly it may or may not be
needed, so always adding the dependency is safer.)
Commit: 90049bbbeae3da553e43a015a2e7d7e355c0a0ce
https://github.com/llvm/llvm-project/commit/90049bbbeae3da553e43a015a2e7d7e355c0a0ce
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[bazel] Add missing dep for __support_threads_sleep
Commit: e651ee98cfcdebd799de0d61eca22b7b1493cc96
https://github.com/llvm/llvm-project/commit/e651ee98cfcdebd799de0d61eca22b7b1493cc96
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/test/CXX/drs/cwg18xx.cpp
M clang/test/CXX/drs/cwg19xx.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang] Add tests for Core issues about friend templates (#94288)
This patch covers the following Core issues:
[CWG1862](https://cplusplus.github.io/CWG/issues/1862.html) "Determining
“corresponding members” for friendship"
[CWG1918](https://cplusplus.github.io/CWG/issues/1918.html) "`friend`
templates with dependent scopes"
[CWG1945](https://cplusplus.github.io/CWG/issues/1945.html) "Friend
declarations naming members of class templates in non-templates"
All of them were resolved by CWG1862, where the current wording of
[[temp.friend] p5](https://eel.is/c++draft/temp.friend#5) comes from:
> A template friend declaration may declare a member of a dependent type
to be a friend[.](https://eel.is/c++draft/temp.friend#5.sentence-1) The
friend declaration shall declare a function or specify a type with an
[elaborated-type-specifier](https://eel.is/c++draft/dcl.type.elab#nt:elaborated-type-specifier),
in either case with a
[nested-name-specifier](https://eel.is/c++draft/expr.prim.id.qual#nt:nested-name-specifier)
ending with a
[simple-template-id](https://eel.is/c++draft/temp.names#nt:simple-template-id),
C, whose
[template-name](https://eel.is/c++draft/temp.names#nt:template-name)
names a class
template[.](https://eel.is/c++draft/temp.friend#5.sentence-2) The
template parameters of the template friend declaration shall be
deducible from C
([[temp.deduct.type]](https://eel.is/c++draft/temp.deduct.type))[.](https://eel.is/c++draft/temp.friend#5.sentence-3)
In this case, a member of a specialization S of the class template is a
friend of the class granting friendship if deduction of the template
parameters of C from S succeeds, and substituting the deduced template
arguments into the friend declaration produces a declaration that
corresponds to the member of the
specialization[.](https://eel.is/c++draft/temp.friend#5.sentence-4)
A useful example is provided after the paragraph:
https://eel.is/c++draft/temp.friend#example-4.
Neither of Core issues is implemented, because we don't support
dependent nested friend specifiers.
---------
Co-authored-by: Shafik Yaghmour <shafik.yaghmour at intel.com>
Commit: 11725b5240840e077c944af6a56e75dd00275395
https://github.com/llvm/llvm-project/commit/11725b5240840e077c944af6a56e75dd00275395
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/select-cmp-cttz-ctlz.ll
Log Message:
-----------
[InstCombine] Add tests for incorrect range handling in ctz fold (NFC)
Commit: 3cd67eeca28ab1084d02b7976de1af4c4c8d37d5
https://github.com/llvm/llvm-project/commit/3cd67eeca28ab1084d02b7976de1af4c4c8d37d5
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/test/Transforms/InstCombine/select-cmp-cttz-ctlz.ll
Log Message:
-----------
[InstCombine] Drop range attr in select of ctz fold
The range may no longer be valid after the select has been
optimized away.
This fixes the kernel miscompiles reported at
https://github.com/ClangBuiltLinux/linux/issues/2031.
Commit: d999ce0302f06d250f6d496b56a5a5f2dc331e61
https://github.com/llvm/llvm-project/commit/d999ce0302f06d250f6d496b56a5a5f2dc331e61
Author: Vassil Vassilev <v.g.vassilev at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/lib/Interpreter/IncrementalParser.cpp
M clang/lib/Sema/SemaDecl.cpp
A clang/test/Interpreter/execute.c
Log Message:
-----------
Reland "[clang-repl] Extend the C support. (#89804)"
Original commit message:"
[clang-repl] Extend the C support. (#89804)
The IdResolver chain is the main way for C to implement lookup rules. Every new
partial translation unit caused clang to exit the top-most scope which in turn
cleaned up the IdResolver chain. That was not an issue for C++ because its
lookup is implemented on the level of declaration contexts.
This patch keeps the IdResolver chain across partial translation units
maintaining proper C-style lookup infrastructure.
"
It was reverted in dfdf1c5fe45a82b9c578306f3d7627fd251d63f8 because it broke the
bots of lldb. This failure was subtle to debug but the current model does not
work well with ObjectiveC support in lldb. This patch does cleans up the
partial translation units in ObjectiveC. In future if we want to support
ObjectiveC we need to understand what exactly lldb is doing when recovering from
errors...
Commit: 2635d0419e4800c34c7cfea120a12fec8d4878fe
https://github.com/llvm/llvm-project/commit/2635d0419e4800c34c7cfea120a12fec8d4878fe
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-04 (Tue, 04 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/math/CMakeLists.txt
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/llrintf16.cpp
A libc/src/math/generic/llroundf16.cpp
A libc/src/math/generic/lrintf16.cpp
A libc/src/math/generic/lroundf16.cpp
A libc/src/math/generic/nearbyintf16.cpp
A libc/src/math/generic/rintf16.cpp
A libc/src/math/llrintf16.h
A libc/src/math/llroundf16.h
A libc/src/math/lrintf16.h
A libc/src/math/lroundf16.h
A libc/src/math/nearbyintf16.h
A libc/src/math/rintf16.h
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/RoundToIntegerTest.h
A libc/test/src/math/smoke/llrintf16_test.cpp
A libc/test/src/math/smoke/llroundf16_test.cpp
A libc/test/src/math/smoke/lrintf16_test.cpp
A libc/test/src/math/smoke/lroundf16_test.cpp
A libc/test/src/math/smoke/nearbyintf16_test.cpp
A libc/test/src/math/smoke/rintf16_test.cpp
Log Message:
-----------
[libc][math][c23] Add {nearbyint,rint,lrint,llrint,lround,llround}f16 C23 math functions (#94218)
https://github.com/llvm/llvm-project/issues/93566
Commit: fadd1ec536ce76acfd572364b0e118da54116e94
https://github.com/llvm/llvm-project/commit/fadd1ec536ce76acfd572364b0e118da54116e94
Author: Elvina Yakubova <eyakubova at nvidia.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64Processors.td
A llvm/test/CodeGen/AArch64/misched-fusion-cmp-bcc.ll
Log Message:
-----------
[AArch64] Enable CmpBcc fusion for Neoverse-v2 (#90608)
This adds compare and branch instructions fusion for Neoverse V2.
According to the Software Optimization Guide:
Specific Aarch64 instruction pairs that can be fused are as follows:
CMP/CMN (immediate) + B.cond
CMP/CMN (register) + B.cond
Performance for SPEC2017 is neutral, but another benchmark improves
significantly.
Results for SPEC2017 on a Neoverse V2:
500.perlbench 0%
502.gcc_r 0%
505.mcf_r -0.15%
523.xalancbmk_r -0.43%
525.x264_r 0%
531.deepsjeng_r 0%
541.leela_r -0.16%
557.xz_r -0.47%
Commit: 858a79eb1896b957098746c82c956c74b482866d
https://github.com/llvm/llvm-project/commit/858a79eb1896b957098746c82c956c74b482866d
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M flang/lib/Evaluate/intrinsics.cpp
M flang/lib/Semantics/check-call.cpp
M flang/test/Semantics/associated.f90
Log Message:
-----------
[flang] relax ASSOCIATED checks for assumed-ranks (#94277)
Nothing in the standard actually prevents TARGET from being an
assumed-rank if the POINTER is. The only rank related constraints says:
"POINTER is not assumed-rank, TARGET shall have the same rank as
POINTER.".
Commit: e325e2e5928d4893bedee2d4bbb7d71cc855c67a
https://github.com/llvm/llvm-project/commit/e325e2e5928d4893bedee2d4bbb7d71cc855c67a
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/utils/UpdateTestChecks/asm.py
Log Message:
-----------
update_test_checks: drop the other arm64_32 handlers
Commit: 31850fa97406d60ae8fa5f7bd107141c0fbc2615
https://github.com/llvm/llvm-project/commit/31850fa97406d60ae8fa5f7bd107141c0fbc2615
Author: Takuto Ikuta <tikuta at google.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/utils/gn/build/BUILD.gn
M llvm/utils/gn/build/toolchain/BUILD.gn
M llvm/utils/gn/build/toolchain/compiler.gni
Log Message:
-----------
[gn] remove goma configs (#93941)
goma is deprecated and not maintained anymore.
Commit: 8917739b4cb39e6cd2355672ff6e2c140b19aafd
https://github.com/llvm/llvm-project/commit/8917739b4cb39e6cd2355672ff6e2c140b19aafd
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
Log Message:
-----------
[lldb][test] Disable MD5 test for old versions of Visual Studio (#94325)
In older versions there is this problem:
https://developercommunity.visualstudio.com/t/c-shared-state-futuresstate-default-constructs-the/60897
Which prevents us making a future out of a result type. There's
no good workaround so just don't compile this for older versions.
Commit: 78f5d9cdbad2ad6c9857e0ceed99c7c3a40d16d2
https://github.com/llvm/llvm-project/commit/78f5d9cdbad2ad6c9857e0ceed99c7c3a40d16d2
Author: Andrei Safronov <safronov at espressif.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Target/Xtensa/XtensaFrameLowering.cpp
M llvm/lib/Target/Xtensa/XtensaFrameLowering.h
M llvm/lib/Target/Xtensa/XtensaISelLowering.cpp
M llvm/lib/Target/Xtensa/XtensaISelLowering.h
M llvm/lib/Target/Xtensa/XtensaInstrInfo.cpp
M llvm/lib/Target/Xtensa/XtensaInstrInfo.h
M llvm/lib/Target/Xtensa/XtensaSubtarget.cpp
M llvm/test/CodeGen/Xtensa/call.ll
A llvm/test/CodeGen/Xtensa/dynamic-alloc.ll
A llvm/test/CodeGen/Xtensa/saverestore.ll
Log Message:
-----------
[PATCH] [Xtensa] Implement FrameLowering methods and stack operation lowering. (#92960)
Implement emitPrologue/emitEpilogue methods, determine/spill/restore
callee saved registers functionality with test. Also implement lowering
of the DYNAMIC_STACKALLOC/STACKSAVE/STACKRESTORE stack operations with
tests.
Commit: fb300eb44d2c214c9616cfea9c299916993499dd
https://github.com/llvm/llvm-project/commit/fb300eb44d2c214c9616cfea9c299916993499dd
Author: c8ef <c8ef at outlook.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M libc/src/__support/CPP/expected.h
M libc/src/__support/time/linux/abs_timeout.h
Log Message:
-----------
[libc] add LIBC_INLINE for expected, use CTAD in abs_timeout (#94348)
Commit: 2464f1cef3d28182da42debe6abf9bad8ab5a4d2
https://github.com/llvm/llvm-project/commit/2464f1cef3d28182da42debe6abf9bad8ab5a4d2
Author: Joachim <jenke at itc.rwth-aachen.de>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M openmp/runtime/src/kmp.h
M openmp/runtime/src/kmp_runtime.cpp
M openmp/runtime/src/kmp_taskdeps.cpp
M openmp/runtime/src/kmp_tasking.cpp
M openmp/runtime/src/ompt-internal.h
M openmp/runtime/src/ompt-specific.cpp
Log Message:
-----------
[OpenMP][OMPT] Add missing callbacks for asynchronous target tasks (#93472)
- The first hidden-helper-thread did not trigger thread-begin
- The "detaching" from a target-task when waiting for completion missed
to call task-switch
- Target tasks identified themself as explicit task
Co-authored-by: Kaloyan Ignatov <kaloyan.ignatov at rwth-aachen.de>
Commit: 492417278d986ddd8206b2b9bba626ce690ea244
https://github.com/llvm/llvm-project/commit/492417278d986ddd8206b2b9bba626ce690ea244
Author: martinboehme <mboehme at google.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
[clang][dataflow] Propagate storage location of compound assignment operators. (#94332)
To avoid generating unnecessary values, we don't create a new value but
instead
leave it to the specific analysis to do this if desired.
Commit: 6b91a3be46be1a61b351aea29c769250b509b71e
https://github.com/llvm/llvm-project/commit/6b91a3be46be1a61b351aea29c769250b509b71e
Author: Ivan Kosarev <ivan.kosarev at amd.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/VINTERPInstructions.td
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/AMDGPU/VOP3PInstructions.td
M llvm/lib/Target/AMDGPU/VOPCInstructions.td
Log Message:
-----------
[AMDGPU][NFC] Rename the clamp modifier definition to follow the prevailing convention. (#94353)
Allows to simplify the definition itself.
Part of <https://github.com/llvm/llvm-project/issues/62629>.
Commit: b9f1fdcfd9803689461f0c12e04ab1743ad9a030
https://github.com/llvm/llvm-project/commit/b9f1fdcfd9803689461f0c12e04ab1743ad9a030
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/include/clang/Basic/Attr.td
Log Message:
-----------
Silence a not all control paths return a value diagnostic; NFC
Commit: d881bac6fa3b1d8d622d4fb651060cf7d6223080
https://github.com/llvm/llvm-project/commit/d881bac6fa3b1d8d622d4fb651060cf7d6223080
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Analysis/BasicAliasAnalysis.cpp
A llvm/test/Analysis/BasicAA/zext-nneg.ll
Log Message:
-----------
[BasicAA] Consider 'nneg' flag when comparing CastedValues (#94129)
Any of the `zext` bits in a `zext nneg` can be converted to `sext` but
when checking if casts are compatible `BasicAA` fails to take into
account `nneg`. This change adds tracking of `nneg` to the `CastedValue`
struct and ensures that `sext` and `zext` bits are treated as
interchangeable when either `CastedValue` has a `nneg`. When
distributing casted values in `GetLinearExpression` we conservatively
discard the `nneg` from the `CastedValue`, except in the case of `shl
nsw`, where we know the sign has not changed to negative.
Commit: 6cd86d0fae8cbb752a713860f131b9b759b2cbb8
https://github.com/llvm/llvm-project/commit/6cd86d0fae8cbb752a713860f131b9b759b2cbb8
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Analysis/AliasAnalysis.h
M flang/include/flang/Optimizer/Analysis/TBAAForest.h
M flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
M flang/lib/Optimizer/CodeGen/TBAABuilder.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/lib/Optimizer/Transforms/AddAliasTags.cpp
M flang/lib/Optimizer/Transforms/AddDebugInfo.cpp
A flang/test/Transforms/tbaa-with-dummy-scope.fir
M flang/test/Transforms/tbaa.fir
M flang/test/Transforms/tbaa2.fir
Log Message:
-----------
[flang] Use fir.declare/fir.dummy_scope for TBAA tags attachments. (#92472)
With MLIR inlining (e.g. `flang-new -mmlir -inline-all=true`)
the current TBAA tags attachment is suboptimal, because
we may lose information about the callee's dummy arguments
(by bypassing fir.declare in AliasAnalysis::getSource).
This is a conservative first step to improve the situation.
This patch makes AddAliasTagsPass to account for fir.dummy_scope
hierarchy after MLIR inlining and use it to place the TBAA tags
into TBAA trees corresponding to different function scopes.
The pass uses special mode of AliasAnalysis to find the instantiation
point of a Fortran variable (a [hl]fir.decalre) when searching
for the source of a memory reference. In this mode, AliasAnalysis
will always stop at fir.declare operations that have dummy_scope
operands - there should not be a reason to past throught it
for the purpose of TBAA tags attachment.
Commit: 0a39c88e81dadca9f6ceef8e0b0be0ed692fe4fe
https://github.com/llvm/llvm-project/commit/0a39c88e81dadca9f6ceef8e0b0be0ed692fe4fe
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/test/Transforms/InstCombine/select-cmp.ll
Log Message:
-----------
[InstCombine] Fold `select Cond, not X, X` into `Cond ^ X` (#93591)
See the following example:
```
define i1 @src(i64 %x, i1 %y) {
%1526 = icmp ne i64 %x, 0
%1527 = icmp eq i64 %x, 0
%sel = select i1 %y, i1 %1526, i1 %1527
ret i1 %sel
}
define i1 @tgt(i64 %x, i1 %y) {
%1527 = icmp eq i64 %x, 0
%sel = xor i1 %y, %1527
ret i1 %sel
}
```
I find that this pattern is common in C/C++/Rust code base.
This patch folds `select Cond, Y, X` into `Cond ^ X` iff:
1. X has the same type as Cond
2. X is poison -> Y is poison
3. X == !Y
Alive2: https://alive2.llvm.org/ce/z/hSmkHS
Commit: 335fb9467172683d1b9418ee17120598d0d0a1af
https://github.com/llvm/llvm-project/commit/335fb9467172683d1b9418ee17120598d0d0a1af
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/test/Driver/mips-mti-linux.c
M clang/test/Driver/openmp-offload-gpu.c
M clang/test/Driver/openmp-offload.c
M clang/test/Driver/ve-toolchain.c
Log Message:
-----------
[Driver] Don't use absolute paths for invoking subcommands for driver tests (#94349)
We see some tests are failing internally after 12949c9.
In some CAS systems, we might not see the exact binary name (clang),
this patch adds the `-no-canonical-prefixes` option to the command line to not
realpath-ify the binary name.
Commit: 6ac5047aa6bf12644e38afb188bd8d821a181ba5
https://github.com/llvm/llvm-project/commit/6ac5047aa6bf12644e38afb188bd8d821a181ba5
Author: Leandro Lupori <leandro.lupori at linaro.org>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M flang/lib/Semantics/check-call.cpp
Log Message:
-----------
[flang] Escape '%' in %VAL/%REF messages (#94331)
flang/test/Semantics/call40.f90 was failing on Darwin:
actual at 27: VAL or REF are not allowed for dummy argument 'a='
that must be passed by means of a descriptor
expect at 27: %VAL or %REF are not allowed for dummy argument 'a='
that must be passed by means of a descriptor
When messages.Say() is called with more arguments than just the
fixed text message, the message is treated as a format string,
passed to vsnprintf. Therefore, the '%' chars in it must be
escaped.
Note that no conversion happens when there is only a fixed text
message. Escaping '%' in this case causes "%%" to be outputted.
This can be confusing for someone expecting printf-like behavior.
Processing these text messages with snprintf could solve this,
as a future improvement.
Commit: 7b346357db30d531245104c1c0aa8940a1f41b9a
https://github.com/llvm/llvm-project/commit/7b346357db30d531245104c1c0aa8940a1f41b9a
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M lld/ELF/Writer.cpp
M lld/test/ELF/linkerscript/orphan.s
M lld/test/ELF/linkerscript/sections-nonalloc.s
M lld/test/ELF/linkerscript/sections.s
Log Message:
-----------
[ELF] Orphan placement: prefer the last similar section when its rank <= orphan's rank
`findOrphanPos` finds the most similar output section (that has input
sections). In the event of proximity ties, we select the first section.
However, when an orphan section's rank is equal to or larger than the
most similar sections's, it makes sense to prioritize the last similar
section. This new behavior matches GNU ld better.
```
// orphan placement for .bss (SHF_ALLOC|SHF_WRITE, SHT_NOBITS)
WA SHT_PROGBITS
(old behavior) <= here
A
WA SHT_PROGBITS
AX
WA (.data)
(new behavior) <= here
```
When the orphan section's rank is less, the current behavior
prioritizing the first section still makes sense.
```
// orphan with a smaller rank, e.g. .rodata
<= here
WA
AX
WA
```
Close #92987
Pull Request: https://github.com/llvm/llvm-project/pull/94099
Commit: 68eb3b202f30a1c3f2575f44b9d16365258e66b6
https://github.com/llvm/llvm-project/commit/68eb3b202f30a1c3f2575f44b9d16365258e66b6
Author: Artem Chikin <achikin at apple.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h
M clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
M clang/test/ClangScanDeps/diagnostics.c
M clang/test/ClangScanDeps/header-search-pruning-transitive.c
M clang/test/ClangScanDeps/header-search-pruning.cpp
A clang/test/ClangScanDeps/link-libraries.c
M clang/test/ClangScanDeps/modules-canononical-module-map-case.c
M clang/test/ClangScanDeps/modules-context-hash.c
M clang/test/ClangScanDeps/modules-dep-args.c
M clang/test/ClangScanDeps/modules-excluded-header.m
M clang/test/ClangScanDeps/modules-extern-submodule.c
M clang/test/ClangScanDeps/modules-extern-unrelated.m
M clang/test/ClangScanDeps/modules-file-path-isolation.c
M clang/test/ClangScanDeps/modules-fmodule-name-no-module-built.m
M clang/test/ClangScanDeps/modules-full-by-mod-name.c
M clang/test/ClangScanDeps/modules-full.cpp
M clang/test/ClangScanDeps/modules-implementation-private.m
M clang/test/ClangScanDeps/modules-implicit-dot-private.m
M clang/test/ClangScanDeps/modules-incomplete-umbrella.c
M clang/test/ClangScanDeps/modules-inferred.m
M clang/test/ClangScanDeps/modules-no-undeclared-includes.c
M clang/test/ClangScanDeps/modules-pch-common-submodule.c
M clang/test/ClangScanDeps/modules-pch-common-via-submodule.c
M clang/test/ClangScanDeps/modules-pch.c
M clang/test/ClangScanDeps/modules-priv-fw-from-pub.m
M clang/test/ClangScanDeps/modules-redefinition.m
M clang/test/ClangScanDeps/modules-symlink-dir-vfs.c
M clang/test/ClangScanDeps/modules-transitive.c
M clang/test/ClangScanDeps/optimize-canonicalize-macros.m
M clang/test/ClangScanDeps/optimize-fmodulemap.m
M clang/test/ClangScanDeps/optimize-system-warnings.m
M clang/test/ClangScanDeps/optimize-vfs-leak.m
M clang/test/ClangScanDeps/optimize-vfs.m
M clang/test/ClangScanDeps/removed-args.c
M clang/test/ClangScanDeps/working-dir.m
M clang/tools/clang-scan-deps/ClangScanDeps.cpp
Log Message:
-----------
[clang][deps] Collect discovered module dependencies' Link Libraries (#93588)
This will allow scanner clients to be able to compute e.g. auto-linking
dependencies of the scanned translation unit.
Commit: 8e94f0a0ad8817ba84474620426e28076e1c0024
https://github.com/llvm/llvm-project/commit/8e94f0a0ad8817ba84474620426e28076e1c0024
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/FLATInstructions.td
Log Message:
-----------
[AMDGPU] Do not override PseudoInstr in FLAT Pseudo definitions. NFC. (#94369)
Simplify by setting PseudoInstr to the tablegen name of the Pseudo in
the first place.
Commit: 5ae5774fb0b5cac11af479b0905dfdd5255b4047
https://github.com/llvm/llvm-project/commit/5ae5774fb0b5cac11af479b0905dfdd5255b4047
Author: Eli Friedman <efriedma at quicinc.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaInit.cpp
M clang/test/AST/ast-dump-APValue-anon-union.cpp
M clang/test/SemaCXX/cxx1y-initializer-aggregates.cpp
Log Message:
-----------
[Sema] Fix handling of fields with initializers in nested anonymous unions. (#91692)
Make sure we count the anonymous union as an initialized field, so we
properly construct the AST.
Included bonus testcase Test3, which shows a remaining gap: an anonymous
union can contain a partially initialized anonymous struct, and we
handle that inconsistently.
Fixes #91257
Commit: 188b1a54df9ff6c0b388269c2b95b71a0ae7801b
https://github.com/llvm/llvm-project/commit/188b1a54df9ff6c0b388269c2b95b71a0ae7801b
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SMInstructions.td
Log Message:
-----------
[AMDGPU] Do not override PseudoInstr in SMEM Pseudo definitions. NFC.
Commit: 0cb66a7bd52ee51a6b43c42fec22082b26365e37
https://github.com/llvm/llvm-project/commit/0cb66a7bd52ee51a6b43c42fec22082b26365e37
Author: Miguel A. Arroyo <mayanez at users.noreply.github.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M lld/test/COFF/rsds.test
M llvm/test/tools/llvm-readobj/COFF/debug-directory.test
M llvm/tools/llvm-readobj/COFFDumper.cpp
Log Message:
-----------
[llvm-readobj][COFF] Consistent PDBGUID Formatting (#94256)
## Consistent PDB GUID in `llvm-readobj`
Currently, the PDB GUID is shown as a byte array:
`PDBGUID: (D8 4C 88 D9 26 15 1F 11 4C 4C 44 20 50 44 42 2E)`
This is inconsistent with `llvm-pdbutil` (e.g. `llvm-pdbutil dump
--summary`) which shows it as a hexadecimal string.
Additionally, `yaml2obj` uses the same hexadecimal string format.
In general, the hexadecimal string is the common representation for PDB
GUIDs on Windows.
This PR changes it to be consistent as shown below:
`PDBGUID: {D9884CD8-1526-111F-4C4C-44205044422E}`
Commit: dfd1a2f081bdc9566cdcd03937534ec4897c9056
https://github.com/llvm/llvm-project/commit/dfd1a2f081bdc9566cdcd03937534ec4897c9056
Author: Brendan Dahl <brendan.dahl at gmail.com>
Date: 2024-06-04 (Tue, 04 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 all f16x8 unary instructions. (#94063)
All of 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: 7dc84e225e11e37925db6f4f08269f447d2f2347
https://github.com/llvm/llvm-project/commit/7dc84e225e11e37925db6f4f08269f447d2f2347
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M lldb/include/lldb/Target/Target.h
M lldb/source/Expression/DWARFExpression.cpp
M lldb/unittests/Expression/DWARFExpressionTest.cpp
Log Message:
-----------
[lldb] Support reading DW_OP_piece from file address (#94026)
We received a bug report where someone was trying to print a global
variable without a process. This would succeed in a debug build but fail
in a on optimized build. We traced the issue back to the location being
described by a DW_OP_addr + DW_OP_piece.
The issue is that the DWARF expression evaluator only support reading
pieces from a load address. There's no reason it cannot do the same for
a file address, and indeed, that solves the problem.
I unsuccessfully tried to craft a test case to illustrate the original
example, using a global struct and trying to trick the compiler into
breaking it apart with SROA. Instead I wrote a unit test that uses a
mock target to read memory from.
rdar://127435923
Commit: e5f7123dfef3a80937d088d846ddb3b2bb1869b9
https://github.com/llvm/llvm-project/commit/e5f7123dfef3a80937d088d846ddb3b2bb1869b9
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/LangOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
A clang/test/SemaCXX/constexpr-never-constant.cpp
Log Message:
-----------
Disable constexpr function body checking in more situations (#94347)
Before C++23, we would check a constexpr function body to diagnose if
the function can never be evaluated in a constant expression context.
This was previously required standards behavior, but C++23 relaxed the
restrictions with P2448R2. While this checking is useful, it is also
quite expensive, especially in pathological cases (see #92924 for an
example), because it means the mere presence of a constexpr function
definition will require constant evaluation even if the function is not
used within the TU.
Clang suppresses diagnostics in system headers by default and system
headers (like STL implementations) can be full of constexpr function
bodies. Now we suppress the check for a diagnostic if the function
definition is in a system header or if the `-Winvalid-constexpr`
diagnostic is disabled. This should have some mild compile time
performance improvements.
Also, the previous implementation would disable the diagnostic in C++23
mode entirely. Due to the benefit of the check, this patch now makes it
possible to enable the diagnostic explicitly in C++23 mode.
Commit: 7103e60f65cb920c2b8dc43aaa9f9402dca4b7a5
https://github.com/llvm/llvm-project/commit/7103e60f65cb920c2b8dc43aaa9f9402dca4b7a5
Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
A bolt/test/X86/Inputs/dwarf5-df-input-lowpc-ranges-other.s
A bolt/test/X86/dwarf5-df-input-lowpc-ranges-cus.test
Log Message:
-----------
[BOLT][DWARF][NFC] Add split-dwarf5 test with multiple CUs (#93744)
Adds a split-dwarf test for DWARF5 with multiple CUs.
Commit: c1654c38e8b82a075613fd60f19a179b1c7df2a2
https://github.com/llvm/llvm-project/commit/c1654c38e8b82a075613fd60f19a179b1c7df2a2
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/lib/Lower/ConvertVariable.cpp
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/test/Lower/OpenMP/declare-target-data.f90
M flang/test/Lower/OpenMP/lastprivate-commonblock.f90
M flang/test/Lower/OpenMP/threadprivate-commonblock-use.f90
M flang/test/Lower/OpenMP/threadprivate-commonblock.f90
M flang/test/Lower/OpenMP/threadprivate-use-association.f90
M flang/test/Lower/common-block-2.f90
M flang/test/Lower/common-block.f90
M flang/test/Lower/module_definition.f90
M flang/test/Lower/module_use.f90
M flang/test/Lower/pointer-initial-target-2.f90
Log Message:
-----------
[flang] Carry over alignment computed by frontend for COMMON (#94280)
The frontend computes the necessary alignment for COMMON blocks but this
information is never carried over to the code generation and can lead to
segfault for COMMON block that requires a non default alignment.
This patch add an optional attribute on fir.global and carries over the
information.
Commit: b62b7a42bbee4a3bbf9094808f460fdc9c119bd7
https://github.com/llvm/llvm-project/commit/b62b7a42bbee4a3bbf9094808f460fdc9c119bd7
Author: Logikable <seanluchen at google.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M compiler-rt/lib/builtins/atomic.c
Log Message:
-----------
[compiler-rt][builtins] Switch libatomic locks to pthread_mutex_t (#94374)
When an uninstrumented libatomic is used with a TSan instrumented
memcpy, TSan may report a data race in circumstances where writes are
arguably safe.
This occurs because __atomic_compare_exchange won't be instrumented in
an uninstrumented libatomic, so TSan doesn't know that the subsequent
memcpy is race-free.
On the other hand, pthread_mutex_(un)lock will be intercepted by TSan,
meaning an uninstrumented libatomic will not report this false-positive.
pthread_mutexes also may try a number of different strategies to acquire
the lock, which may bound the amount of time a thread has to wait for a
lock during contention.
While pthread_mutex_lock has a larger overhead (due to the function
call and some dispatching), a dispatch to libatomic already predicates
a lack of performance guarantees.
Commit: b9915ad40c31ee95e6e64c44249c9fd5767f0e34
https://github.com/llvm/llvm-project/commit/b9915ad40c31ee95e6e64c44249c9fd5767f0e34
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M libcxx/utils/libcxx/test/features.py
Log Message:
-----------
[libc++] Properly detect whether C++20 modules are supported by the compiler (#94275)
It is possible for a compiler to support the warning without being able
to compile `export module foo;`, so use that in addition to the warning
to check whether C++20 modules are supported.
Commit: 1d76b94abac033aebd5acaebf644ee173ed6cc71
https://github.com/llvm/llvm-project/commit/1d76b94abac033aebd5acaebf644ee173ed6cc71
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M libcxx/test/std/language.support/support.start.term/quick_exit.pass.cpp
Log Message:
-----------
[libc++] Adjust XFAIL for quick_exit (#94274)
This avoids making the assumption that quick_exit will never be
implemented on macOS.
Commit: 303f1405949ca3ea800a6e326c0365e5fc7168a3
https://github.com/llvm/llvm-project/commit/303f1405949ca3ea800a6e326c0365e5fc7168a3
Author: pcc <peter at pcc.me.uk>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
A llvm/utils/gn/build/libs/zstd/BUILD.gn
A llvm/utils/gn/build/libs/zstd/enable.gni
M llvm/utils/gn/build/toolchain/BUILD.gn
M llvm/utils/gn/secondary/clang/test/BUILD.gn
M llvm/utils/gn/secondary/lld/test/BUILD.gn
M llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
M llvm/utils/gn/secondary/llvm/test/BUILD.gn
Log Message:
-----------
gn build: Support llvm_enable_zstd.
Reviewers: aeubanks
Reviewed By: aeubanks
Pull Request: https://github.com/llvm/llvm-project/pull/88457
Commit: c852475f7ab3d15312b768c134d43668a24ecee1
https://github.com/llvm/llvm-project/commit/c852475f7ab3d15312b768c134d43668a24ecee1
Author: pcc <peter at pcc.me.uk>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/utils/gn/build/BUILD.gn
Log Message:
-----------
gn build: Pass -fno-sanitize=vptr,function with use_ubsan
Matches CMake LLVM_UBSAN_FLAGS.
Reviewers: aeubanks
Reviewed By: aeubanks
Pull Request: https://github.com/llvm/llvm-project/pull/93911
Commit: 7390bff602eb030ab920af6d672c7bf41890194c
https://github.com/llvm/llvm-project/commit/7390bff602eb030ab920af6d672c7bf41890194c
Author: pcc <peter at pcc.me.uk>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/compiler-rt/lib/ubsan_minimal/BUILD.gn
Log Message:
-----------
gn build: Define SANITIZER_COMMON_NO_REDEFINE_BUILTINS for ubsan_minimal.
Matches the cmake build.
Reviewers: aeubanks
Reviewed By: aeubanks
Pull Request: https://github.com/llvm/llvm-project/pull/88458
Commit: 75163d5005316d8a2ee5fd0996d40d9fc1c6434f
https://github.com/llvm/llvm-project/commit/75163d5005316d8a2ee5fd0996d40d9fc1c6434f
Author: pcc <peter at pcc.me.uk>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn
Log Message:
-----------
gn build: Sync GENERIC_TF_SOURCES with CMake.
Reviewers: aeubanks
Reviewed By: aeubanks
Pull Request: https://github.com/llvm/llvm-project/pull/88456
Commit: 9dd66f4ff7d8b0bff2304b6fd366c461b2807e78
https://github.com/llvm/llvm-project/commit/9dd66f4ff7d8b0bff2304b6fd366c461b2807e78
Author: Konstantin Zhuravlyov <kzhuravl_dev at outlook.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/include/llvm/BinaryFormat/ELF.h
Log Message:
-----------
AMDGPU/NFC: Make MACH indentation consistent (#94370)
Commit: 534590144f7c7ec34b8e5e95aba3e4f214b074eb
https://github.com/llvm/llvm-project/commit/534590144f7c7ec34b8e5e95aba3e4f214b074eb
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M libc/src/__support/CPP/new.h
Log Message:
-----------
[libc][new] Add placement new functions (#94290)
Commit: c6e96a260531ab5b013e62f0af1a6d3846f1c409
https://github.com/llvm/llvm-project/commit/c6e96a260531ab5b013e62f0af1a6d3846f1c409
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
Log Message:
-----------
[DirectX] Update for removal of icmp and fcmp constant expressions
The icmp and fcmp constant expressions were removed in deab451e7a7f
"[IR] Remove support for icmp and fcmp constant expressions (#93038)".
Update the DXILBitcodeWriter to stop referencing them.
Commit: fbaec0f46b5853cbdbdfe77fb87e1321a1967956
https://github.com/llvm/llvm-project/commit/fbaec0f46b5853cbdbdfe77fb87e1321a1967956
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M utils/bazel/.bazelrc
Log Message:
-----------
[bazel] Reduce output on CI (#94298)
This makes bazel only show the output for tests that don't pass. This
should reduce a ton of info in the log to make it easier to find
failures. The log is so long now that you can no longer view the whole
thing in 1 buildkite job.
Commit: e775efcec476b3ec4eacfb14dc5bc7e86d9aa8fd
https://github.com/llvm/llvm-project/commit/e775efcec476b3ec4eacfb14dc5bc7e86d9aa8fd
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/LoopUtils.cpp
M llvm/test/Transforms/LoopVectorize/runtime-checks-hoist.ll
Log Message:
-----------
[LV] Apply loop guards when checking recur during hoisting RT checks.
Apply loop guards when checking if the recurrence is non-negative in
cases where runtime checks are hoisted out of an inner loop.
Commit: 0b665c3dd206abb3deab4c3af9dfeb43000ab0c7
https://github.com/llvm/llvm-project/commit/0b665c3dd206abb3deab4c3af9dfeb43000ab0c7
Author: Spenser Bauman <sabauma at fastmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.td
M mlir/include/mlir/Dialect/SCF/Transforms/Passes.h
M mlir/include/mlir/Dialect/SCF/Transforms/Passes.td
M mlir/include/mlir/Dialect/SCF/Transforms/Transforms.h
M mlir/lib/Conversion/SCFToControlFlow/CMakeLists.txt
M mlir/lib/Conversion/SCFToControlFlow/SCFToControlFlow.cpp
M mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp
M mlir/lib/Dialect/SCF/Transforms/CMakeLists.txt
A mlir/lib/Dialect/SCF/Transforms/ForallToParallel.cpp
A mlir/test/Dialect/SCF/forall-to-parallel.mlir
A mlir/test/Dialect/SCF/transform-op-forall-to-parallel.mlir
Log Message:
-----------
[mlir][scf] Implement conversion from scf.forall to scf.parallel (#94109)
There is currently no path to lower scf.forall to scf.parallel with the
goal of targeting the OpenMP dialect.
In the SCF->ControlFlow conversion, scf.forall is briefly converted to
scf.parallel, but the scf.parallel is lowered directly to a sequential
loop. This makes experimenting with scf.forall for CPU execution
difficult.
This change factors out the rewrite in the SCF->ControlFlow pass into a
utility function that can then be used in the SCF->ControlFlow lowering
and via a separate -scf-forall-to-parallel pass.
---------
Co-authored-by: Spenser Bauman <sabauma at fastmail>
Commit: 3b2df5b6ee81cf2685c95728ff1baf795051c926
https://github.com/llvm/llvm-project/commit/3b2df5b6ee81cf2685c95728ff1baf795051c926
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/test/src/math/libc_math_test_rules.bzl
Log Message:
-----------
[bazel] Port #94218 (#94390)
Commit: a5729b71d844c1444f7d348dc2d4ea5b98de5ec5
https://github.com/llvm/llvm-project/commit/a5729b71d844c1444f7d348dc2d4ea5b98de5ec5
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M compiler-rt/lib/builtins/atomic.c
Log Message:
-----------
[atomics] Initialize pthread_mutex_t and avoid false sharing
PTHREAD_MUTEX_INITIALIZER is zeroes for glibc and musl, but it improves
conformance and might work with more libc implementations.
Follow-up to #94374
Pull Request: https://github.com/llvm/llvm-project/pull/94387
Commit: 2e0e163bb53bc4991daa35e62140d2de27b0fe0b
https://github.com/llvm/llvm-project/commit/2e0e163bb53bc4991daa35e62140d2de27b0fe0b
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Port #94109 (#94395)
Commit: eca9caf419d420604ab372ddcab4781e999c1fe4
https://github.com/llvm/llvm-project/commit/eca9caf419d420604ab372ddcab4781e999c1fe4
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Analysis/LazyCallGraph.cpp
Log Message:
-----------
[LazyCallGraph] Assert in removeDeadFunction() that NodeMap contains function
The function should always be known to LazyCallGraph
Commit: cd3255abede5e3687c1538f2d3857deb2c51af1b
https://github.com/llvm/llvm-project/commit/cd3255abede5e3687c1538f2d3857deb2c51af1b
Author: Min-Yih Hsu <min.hsu at sifive.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
A llvm/test/tools/gold/X86/time-trace.ll
M llvm/tools/gold/gold-plugin.cpp
Log Message:
-----------
[gold] Enable time trace profiler in LLVMgold (#94293)
To get the time trace of LTO in the gold plugin, now we can pass the
`time-trace=<time trace file>` as well as
`time-trace-granularity=<granularity>` flags to LLVMgold.
Note that we still have to populate `LTOConfig::TimeTraceEnabled` and
`LTOConfig::TimeTraceGranularity` because ThinLTO backend needs them.
Commit: 679f75e24b81c3ba4a7666ad1f08aa40a6fdddfa
https://github.com/llvm/llvm-project/commit/679f75e24b81c3ba4a7666ad1f08aa40a6fdddfa
Author: Michael Christensen <mchristensen at meta.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M lldb/source/Commands/Options.td
Log Message:
-----------
[easy] Fix spacing in help message of 'process save-core' command (#89445)
Very minor change to help message on `process save-core`. Adds space
between two sentences explaining the `-p` option:
"Specify a plugin name to create the core file.This allows core files to
be saved in different formats."
-->
"Specify a plugin name to create the core file. This allows core files
to be saved in different formats."
Before:
```
(lldb) help process save-core
Save the current process as a core file using an appropriate file type.
Syntax: process save-core [-s corefile-style -p plugin-name] FILE
Command Options Usage:
process save-core [-p[<plugin>]] [-s <corefile-style>] <path>
-p[<plugin>] ( --plugin-name=[<plugin>] )
Specify a plugin name to create the core file.This allows core files to be saved in different formats.
-s <corefile-style> ( --style <corefile-style> )
Request a specific style of corefile to be saved.
Values: full | modified-memory | stack
This command takes options and free-form arguments. If your arguments resemble option specifiers (i.e., they start with a -
or --), you must use ' -- ' between the end of the command options and the beginning of the arguments.
```
After:
```
michristensen at devbig356 build/Debug » $HOME/llvm-sand/build/Debug/bin/lldb -x
(lldb) help process save-core
Save the current process as a core file using an appropriate file type.
Syntax: process save-core [-s corefile-style -p plugin-name] FILE
Command Options Usage:
process save-core [-p[<plugin>]] [-s <corefile-style>] <path>
-p[<plugin>] ( --plugin-name=[<plugin>] )
Specify a plugin name to create the core file. This allows core files to be saved in different formats.
-s <corefile-style> ( --style <corefile-style> )
Request a specific style of corefile to be saved.
Values: full | modified-memory | stack
This command takes options and free-form arguments. If your arguments resemble option specifiers (i.e., they start with a -
or --), you must use ' -- ' between the end of the command options and the beginning of the arguments.
```
Commit: afe6ab7586f7078cc410f6162bd9851e48e2a286
https://github.com/llvm/llvm-project/commit/afe6ab7586f7078cc410f6162bd9851e48e2a286
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
Log Message:
-----------
[lldb][DebugNames] Only skip processing of DW_AT_declarations for class/union types (#94400)
This is a follow-up of
https://github.com/llvm/llvm-project/pull/92328#issuecomment-2145849441
Clang attaches `DW_AT_declaration` to static inline data members and
`dsymutil` indexes these constants. Skipping these caused the expression
evaluator to fail to find such constants when using DWARFv5.
Fixes `TestConstStaticIntegralMember.py` on DWARFv5.
Commit: e949b54a5b7cd7cd0690fa126be3363a21f05a8e
https://github.com/llvm/llvm-project/commit/e949b54a5b7cd7cd0690fa126be3363a21f05a8e
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
M llvm/test/Analysis/LoopAccessAnalysis/early-exit-runtime-checks.ll
A llvm/test/Transforms/LoopDistribute/early-exit.ll
A llvm/test/Transforms/LoopLoadElim/early-exit.ll
M llvm/test/Transforms/LoopVectorize/X86/vectorization-remarks-missed.ll
Log Message:
-----------
[LAA] Use PSE::getSymbolicMaxBackedgeTakenCount. (#93499)
Update LAA to use PSE::getSymbolicMaxBackedgeTakenCount which returns
the minimum of the countable exits.
When analyzing dependences and computing runtime checks, we need the
smallest upper bound on the number of iterations. In terms of memory
safety, it shouldn't matter if any uncomputable exits leave the loop,
as long as we prove that there are no dependences given the minimum of
the countable exits. The same should apply also for generating runtime
checks.
Note that this shifts the responsiblity of checking whether all exit
counts are computable or handling early-exits to the users of LAA.
Depends on https://github.com/llvm/llvm-project/pull/93498
PR: https://github.com/llvm/llvm-project/pull/93499
Commit: cb09b5f3d53e5b7b4452bb3db78dca79fc9b3f17
https://github.com/llvm/llvm-project/commit/cb09b5f3d53e5b7b4452bb3db78dca79fc9b3f17
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/MC/MCDwarf.cpp
Log Message:
-----------
[MC] Disable MCAssembler based constant folding for compact unwind and emitJumpTableEntry
Similar to commit 245491a9f384e4c53421196533c2a2b693efaf8d for DwarfDebug.
This completely disables the expensive MCFragment walk code in
`AttemptToFoldSymbolOffsetDifference` when compiling sqlite3.i for
macOS.
In the future, we should try enabling the MCFragment walk only for
constructs like `.if . -_start == 1` and `.subsection a-b` and
remove these `setUseAssemblerInfoForParsing`.
Commit: ae4f3001338c2a19167abf8dbe69d15f5209e033
https://github.com/llvm/llvm-project/commit/ae4f3001338c2a19167abf8dbe69d15f5209e033
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/lib/Optimizer/Dialect/FIROps.cpp
A flang/test/Fir/array-coor-canonicalization.fir
Log Message:
-----------
[flang] Canonicalize fir.array_coor by pulling in embox/rebox. (#92858)
In a simple case like this:
```
program test
integer :: u(120, 2)
u(1:120,1:2) = u(1:120,1:2) + 2
end program
```
Flang is creating a copy loop with fir.array_coor using
a result of fir.embox inserted before the loop. This results in split
address computations before and inside the loop, which can be seen
as many more arithmetic operations than required after converting
FIR to LLVM dialect. Even though LLVM SROA/mem2reg are able
to optimize the temporary descriptor, and then LICM is able to hoist
the invariant computations, we seem to get better mix of LLVM dialect
operations after FIR-to-LLVM codegen. This may also slightly reduce
the compilation time taken by LLVM to optimize the generate LLVM IR.
This may also slightly reduce the time spent by FIR AliasAnalysis
to reach the memory reference source.
Commit: 6b5ae148e51507c48dc20a2cd0daf1ee018141c2
https://github.com/llvm/llvm-project/commit/6b5ae148e51507c48dc20a2cd0daf1ee018141c2
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/c23.rst
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/__support/FPUtil/NearestIntegerOperations.h
M libc/src/math/CMakeLists.txt
A libc/src/math/fromfpf16.h
A libc/src/math/fromfpxf16.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/fromfpf16.cpp
A libc/src/math/generic/fromfpxf16.cpp
A libc/src/math/generic/ufromfpf16.cpp
A libc/src/math/generic/ufromfpxf16.cpp
A libc/src/math/ufromfpf16.h
A libc/src/math/ufromfpxf16.h
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/FromfpTest.h
M libc/test/src/math/smoke/FromfpxTest.h
M libc/test/src/math/smoke/UfromfpTest.h
M libc/test/src/math/smoke/UfromfpxTest.h
A libc/test/src/math/smoke/fromfpf16_test.cpp
A libc/test/src/math/smoke/fromfpxf16_test.cpp
A libc/test/src/math/smoke/ufromfpf16_test.cpp
A libc/test/src/math/smoke/ufromfpxf16_test.cpp
Log Message:
-----------
[libc][math][c23] Add {fromfp,fromfpx,ufromfp,ufromfpx}f16 C23 math functions (#94254)
https://github.com/llvm/llvm-project/issues/93566
Commit: e42864ecfb35466d38beeaf57c5da009c5bc77c1
https://github.com/llvm/llvm-project/commit/e42864ecfb35466d38beeaf57c5da009c5bc77c1
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M flang/lib/Optimizer/Dialect/FIROps.cpp
Log Message:
-----------
[flang] Fixed buildbots: removed std::move preventing copy elision.
Commit: 0360d03240f59e6b26a16769943f905c9520fe04
https://github.com/llvm/llvm-project/commit/0360d03240f59e6b26a16769943f905c9520fe04
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/test/Analysis/ScalarEvolution/scalable-vector.ll
Log Message:
-----------
[SCEV] Add coverage for howFarToZero with stride=VF*vscale
Commit: 8896f21ca9e59f2de40f78bd7233a90d6cb62a77
https://github.com/llvm/llvm-project/commit/8896f21ca9e59f2de40f78bd7233a90d6cb62a77
Author: Joachim Meyer <5982050+fodinabor at users.noreply.github.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M libc/docs/gpu/using.rst
Log Message:
-----------
[NFC] Fix typo in libc/docs/gpu/using.rst
Commit: 330e8a7619579f23bb02d504852ee958f0afe54d
https://github.com/llvm/llvm-project/commit/330e8a7619579f23bb02d504852ee958f0afe54d
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
A libc/src/stdlib/calloc.h
Log Message:
-----------
[libc][stdlib] Add calloc header (#94403)
Commit: c923d39509204c00d08240f04b96ce731646fb21
https://github.com/llvm/llvm-project/commit/c923d39509204c00d08240f04b96ce731646fb21
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M bolt/lib/Passes/ValidateMemRefs.cpp
A bolt/test/X86/jt-symbol-disambiguation-4.s
Log Message:
-----------
[BOLT] Fix ValidateMemRefs pass (#94406)
In ValidateMemRefs pass, when we validate references in the form of
`Symbol + Addend`, we should check `Symbol` not `Symbol + Addend`
against aliasing a jump table.
Recommitting with a modified test case:
https://github.com/llvm/llvm-project/pull/88838
Co-authored-by: sinan <sinan.lin at linux.alibaba.com>
Commit: 85daa95b18b3e9778d90f1fc72d2c1b4e8282b64
https://github.com/llvm/llvm-project/commit/85daa95b18b3e9778d90f1fc72d2c1b4e8282b64
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/MC/MCDwarf.cpp
Log Message:
-----------
[MC] Ensure UseAssemblerInfoForParsing is true upon return
Fixes: 5ee580bbfb11d781c220c19416c1a97b657e039a
5ee580bbfb11d781c220c19416c1a97b657e039a does not ensure that
UseAssemblerInfoForParsing is re-enabled. This is benign but not good.
Commit: dd82fd4744397e0510c8204f1a6031441e21858e
https://github.com/llvm/llvm-project/commit/dd82fd4744397e0510c8204f1a6031441e21858e
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Target/Xtensa/XtensaFrameLowering.cpp
M llvm/lib/Target/Xtensa/XtensaFrameLowering.h
M llvm/lib/Target/Xtensa/XtensaRegisterInfo.h
Log Message:
-----------
[Xtensa] Fix Clang warnings after #92960
Commit: e34f9567c4fd5c3709a613d8a0ebe9c145c2076e
https://github.com/llvm/llvm-project/commit/e34f9567c4fd5c3709a613d8a0ebe9c145c2076e
Author: Eric Fiselier <eric at efcs.ca>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M libcxx/utils/ci/Dockerfile
Log Message:
-----------
Remove act from builder image. It never turned out to be useful
Commit: 99b2581a4b162b718925b791433faaa108745a90
https://github.com/llvm/llvm-project/commit/99b2581a4b162b718925b791433faaa108745a90
Author: Phoebe Wang <phoebe.wang at intel.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/lib/Driver/ToolChains/MSVC.h
M clang/test/Driver/cl-options.c
M clang/test/Driver/cl-outputs.c
M clang/test/Driver/gcodeview-command-line.c
M clang/test/Driver/gcodeview-ghash.c
A clang/test/Misc/win32-elf.c
Log Message:
-----------
Reland "[Win32][ELF] Make CodeView a DebugInfoFormat only for COFF format", second try (#88245)
This is a second try to reland
https://github.com/llvm/llvm-project/pull/87149.
The previous commit exposed failures on some targets. The reason is only
a few targets support COFF ObjectFormatType on Windows:
https://github.com/llvm/llvm-project/blob/main/llvm/lib/TargetParser/Triple.cpp#L835-L842
With https://github.com/llvm/llvm-project/pull/87149, the targets don't
support COFF will report "warning: argument unused during compilation:
'-gcodeview-command-line' [-Wunused-command-line-argument]" in the test
gcodeview-command-line.c
I was thinking `REQUIRES: *-registered-target` could solve the problem,
but it didn't. We need to check the actual triple instead of just
`*-registered-target`.
Commit: 627463dc39b569527243ce67902048c59521d5e0
https://github.com/llvm/llvm-project/commit/627463dc39b569527243ce67902048c59521d5e0
Author: Feng Zou <feng.zou at intel.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
A llvm/test/CodeGen/X86/fp-round-with-concat-vector-undef-elem.ll
Log Message:
-----------
[X86][FP16] Limit combination of fp_round & concat to concat of 2 operands (#94302)
Add check of number of operands for concat_vectors being equal to 2.
This can
avoid crash if there are more than 2 operands for concat_vectors and
operand 0 & 1 are undef value.
Commit: d1a0605337acf25eeda68a6fc6d5f7891d5bf813
https://github.com/llvm/llvm-project/commit/d1a0605337acf25eeda68a6fc6d5f7891d5bf813
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86FlagsCopyLowering.cpp
A llvm/test/CodeGen/X86/apx/flags-copy-lowering.ll
M llvm/test/CodeGen/X86/apx/flags-copy-lowering.mir
Log Message:
-----------
[X86][CodeGen] Support using NF instructions for flag copy lowering (#93508)
Commit: 7db4e6c1ec18785ad3f622556362d83c11d7efef
https://github.com/llvm/llvm-project/commit/7db4e6c1ec18785ad3f622556362d83c11d7efef
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/test/OpenMP/parallel_codegen.cpp
A flang/test/Lower/OpenMP/delayed-privatization-lower-allocatable-to-llvm.f90
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
Log Message:
-----------
[OpenMP][LLVM] Update alloca IP after `PrivCB` in `OMPIRBUIlder` (#93920)
Fixes a crash uncovered by
[pr77666.f90](https://github.com/llvm/llvm-test-suite/blob/main/Fortran/gfortran/regression/gomp/pr77666.f90)
in the test suite when delayed privatization is enabled by default.
In particular, whenever `PrivCB` (the callback responsible for
generating privatizaiton logic for an OMP variable) generates a
multi-block privatization region, the insertion point diverges: the BB
component of the IP can become a different BB from the parent block of
the instruction iterator component of the IP. This PR updates the IP to
make sure that the BB is the parent block of the instruction iterator.
Commit: c0bb16eaf7a6c16edadfd05ba4168fa536c227e2
https://github.com/llvm/llvm-project/commit/c0bb16eaf7a6c16edadfd05ba4168fa536c227e2
Author: Serge Pavlov <sepavloff at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/test/tools/llvm-symbolizer/get-input-file.test
M llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
Log Message:
-----------
Revert "[symbolizer] Empty string is not an error" (#94424)
Reverts llvm/llvm-project#92660
It needs more discussion.
Commit: 68716573b627b86af50356edf63ba86856edd859
https://github.com/llvm/llvm-project/commit/68716573b627b86af50356edf63ba86856edd859
Author: c8ef <c8ef at outlook.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/unittests/ADT/CMakeLists.txt
A llvm/unittests/ADT/CountCopyAndMove.cpp
A llvm/unittests/ADT/CountCopyAndMove.h
M llvm/unittests/ADT/DenseMapTest.cpp
R llvm/unittests/ADT/MoveOnly.cpp
R llvm/unittests/ADT/MoveOnly.h
M llvm/unittests/ADT/STLForwardCompatTest.cpp
Log Message:
-----------
[ADT] refactor MoveOnly type in ADT unittest (#94421)
context:
https://github.com/llvm/llvm-project/pull/94151#pullrequestreview-2097098530
Commit: c5dd10ba3a650c55f72d1b58ef807aa4ca2bca95
https://github.com/llvm/llvm-project/commit/c5dd10ba3a650c55f72d1b58ef807aa4ca2bca95
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/unittests/ADT/BUILD.gn
Log Message:
-----------
[gn build] Port 68716573b627
Commit: e282118f4715c7d4a08eec3a6bc71784e8b05242
https://github.com/llvm/llvm-project/commit/e282118f4715c7d4a08eec3a6bc71784e8b05242
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
Log Message:
-----------
[X86][TTI] Update the return value of X86TTIImpl::getNumberOfRegisters for EGPR
Commit: 6b755b0cf4ddfdc14b0371fd6e361c9b6d0ff702
https://github.com/llvm/llvm-project/commit/6b755b0cf4ddfdc14b0371fd6e361c9b6d0ff702
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/include/clang/Sema/Attr.h
M clang/include/clang/Sema/Sema.h
M clang/include/clang/Sema/SemaARM.h
A clang/include/clang/Sema/SemaAVR.h
M clang/include/clang/Sema/SemaBPF.h
M clang/include/clang/Sema/SemaHLSL.h
A clang/include/clang/Sema/SemaM68k.h
M clang/include/clang/Sema/SemaMIPS.h
A clang/include/clang/Sema/SemaMSP430.h
M clang/include/clang/Sema/SemaObjC.h
A clang/include/clang/Sema/SemaOpenCL.h
M clang/include/clang/Sema/SemaOpenMP.h
M clang/include/clang/Sema/SemaRISCV.h
M clang/include/clang/Sema/SemaSYCL.h
A clang/include/clang/Sema/SemaSwift.h
M clang/include/clang/Sema/SemaX86.h
M clang/lib/Sema/CMakeLists.txt
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaAPINotes.cpp
M clang/lib/Sema/SemaARM.cpp
A clang/lib/Sema/SemaAVR.cpp
M clang/lib/Sema/SemaBPF.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaHLSL.cpp
A clang/lib/Sema/SemaM68k.cpp
M clang/lib/Sema/SemaMIPS.cpp
A clang/lib/Sema/SemaMSP430.cpp
M clang/lib/Sema/SemaObjC.cpp
A clang/lib/Sema/SemaOpenCL.cpp
M clang/lib/Sema/SemaOpenMP.cpp
M clang/lib/Sema/SemaRISCV.cpp
M clang/lib/Sema/SemaSYCL.cpp
A clang/lib/Sema/SemaSwift.cpp
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
M clang/lib/Sema/SemaType.cpp
M clang/lib/Sema/SemaX86.cpp
Log Message:
-----------
[clang] Split up `SemaDeclAttr.cpp` (#93966)
This patch moves language- and target-specific functions out of
`SemaDeclAttr.cpp`. As a consequence, `SemaAVR`, `SemaM68k`,
`SemaMSP430`, `SemaOpenCL`, `SemaSwift` were created (but they are not
the only languages and targets affected).
Notable things are that `Sema.h` actually grew a bit, because of
templated helpers that rely on `Sema` that I had to make available from
outside of `SemaDeclAttr.cpp`. I also had to left CUDA-related in
`SemaDeclAttr.cpp`, because it looks like HIP is building up on top of
CUDA attributes.
This is a follow-up to #93179 and continuation of efforts to split
`Sema` up. Additional context can be found in #84184 and #92682.
Commit: 9760be027602ea657362a51479d8e065323a077e
https://github.com/llvm/llvm-project/commit/9760be027602ea657362a51479d8e065323a077e
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
Log Message:
-----------
[gn build] Port 6b755b0cf4dd
Commit: 79b1137666da80184ee2459301194d518b40605a
https://github.com/llvm/llvm-project/commit/79b1137666da80184ee2459301194d518b40605a
Author: Leandro Lupori <leandro.lupori at linaro.org>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M flang/runtime/time-intrinsic.cpp
Log Message:
-----------
[flang] Fix build on Darwin after #92571 (#94327)
flang/runtime/time-intrinsic.cpp:403:19: error: comparison of
integers of different signs: 'clock_t' (aka 'unsigned long') and
'int' [-Werror,-Wsign-compare]
if (times(&tms) != -1) {
Commit: a87ff8db2652679f2f3813cc7d62486c590c4e16
https://github.com/llvm/llvm-project/commit/a87ff8db2652679f2f3813cc7d62486c590c4e16
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/SROA.cpp
Log Message:
-----------
[SROA] Remove sroa-strict-inbounds option (NFC) (#94342)
This option was added in 3b79b2ab4e35353e63ba323a3de4b0a70c61a5f1 with
the comment:
> I had SROA implemented this way a long time ago and due to the
> overwhelming bugs that surfaced, moved to a much more relaxed
> variant. Richard Smith would like to understand the magnitude
> of this problem and it seems fairly harmless to keep some
> flag-controlled logic to get the extremely strict behavior here.
> I'll remove it if it doesn't prove useful.
As far as I know, it did not prove useful, so I'm removing it now.
With constant GEPs canonicalized to i8, GEPs that only temporarily go
out of bounds during the offset calculation do not naturally occur
anymore anyway.
Commit: 0977504537b4dd945fd91fe11eb1a3165297e64a
https://github.com/llvm/llvm-project/commit/0977504537b4dd945fd91fe11eb1a3165297e64a
Author: tpenge <tim.penge at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/docs/Security.rst
Log Message:
-----------
Update Security.rst with github username tpenge (#94404)
Add username for LLVM Security Group member
Commit: 6d4fb3d3bbecbdfa1c98da3f7e09322abaec5f97
https://github.com/llvm/llvm-project/commit/6d4fb3d3bbecbdfa1c98da3f7e09322abaec5f97
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
A llvm/test/CodeGen/SPIRV/no-i8-type-duplication.ll
A llvm/test/CodeGen/SPIRV/transcoding/OpBitReverse-subbyte.ll
M llvm/test/CodeGen/SPIRV/transcoding/OpBitReverse_i2.ll
Log Message:
-----------
[SPIR-V] Emit valid SPIR-V code for integer sizes other than 8,16,32,64 (#94219)
Only with SPV_INTEL_arbitrary_precision_integers SPIR-V Backend creates
arbitrary sized integer types (<= 64 bits). Without such extension and
according to the SPIR-V specification
`SPIRVGlobalRegistry::getOpTypeInt()` rounds integer sizes other than
8,16,32,64 up, to one of defined by the specification sizes. For the
`DuplicateTracker` class this means that several original LLVM types
(e.g., i2, i4) map to the same "OpTypeInt 8" instruction. This breaks
`DuplicateTracker`'s logic and leads to generation of invalid SPIR-V
code eventually.
For example,
```
define spir_func void @foo(i2 %a, i4 %b) {
entry:
%res2 = tail call i2 @llvm.bitreverse.i2(i2 %a)
%res4 = tail call i4 @llvm.bitreverse.i4(i4 %b)
ret void
}
declare i2 @llvm.bitreverse.i2(i2)
declare i4 @llvm.bitreverse.i4(i4)
```
after translation to SPIR-V would fail during validation (`spirv-val`)
due to two `OpTypeInt 8 0` instructions.
This PR fixes the issue by changing source LLVM type according to the
SPIR-V type that will be used in the emitted code.
Commit: 37cf0473ada321cc927a40e3118df26d2375e472
https://github.com/llvm/llvm-project/commit/37cf0473ada321cc927a40e3118df26d2375e472
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
A llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_subgroups/builtin-op-wrappers.ll
Log Message:
-----------
[SPIR-V] Introduce support of '__spirv_' wrapper builtins for the SPV_INTEL_subgroups extension (#94235)
This PR Introduces support of '__spirv_' wrapper builtins for the
SPV_INTEL_subgroups extension.
Commit: c8c3b8b2bb508e45698d80dc723463aa778b43a2
https://github.com/llvm/llvm-project/commit/c8c3b8b2bb508e45698d80dc723463aa778b43a2
Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/FLATInstructions.td
Log Message:
-----------
[AMDGPU] Move flat patterns instantiation down. NFC. (#94409)
I want to reuse some of the global patterns for the flat, so move
instantiation past the declarations.
Commit: 419e7b825647779dc3415aa1129627b284baf6ca
https://github.com/llvm/llvm-project/commit/419e7b825647779dc3415aa1129627b284baf6ca
Author: Hsiangkai Wang <hsiangkai.wang at arm.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M mlir/test/lib/Dialect/Linalg/TestLinalgFusionTransforms.cpp
Log Message:
-----------
[NFC] Clean up TestLinalgGreedyFusion (#94430)
Linalg fusion-on-memrefs are removed in dc37dc824aabbbe. There is
nothing being inserted in the erase set. Remove the useless code.
Commit: 04a02c1b88cfb8445ce962ba5ce496401a3e27fe
https://github.com/llvm/llvm-project/commit/04a02c1b88cfb8445ce962ba5ce496401a3e27fe
Author: Marco Borgeaud <marco.borgeaud at sonarsource.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/ASTMatchers/ASTMatchers.h
M clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
Log Message:
-----------
[ASTMatchers] forCallable should not erase binding on success (#89657)
Do not erase Builder when the first check fails because it could succeed
on the second stack frame.
The problem was that `InnerMatcher.matches` erases the bindings when it
returns false. The appropriate solution is to pass a copy of the
bindings, similar to what `matchesFirstInRange` does.
Commit: 775ebc1d710517ddb886ee8aec504e33bed38f52
https://github.com/llvm/llvm-project/commit/775ebc1d710517ddb886ee8aec504e33bed38f52
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/test/Transforms/SimplifyCFG/X86/sink-common-code.ll
Log Message:
-----------
[SimplifyCFG] Regenerate test checks (NFC)
Commit: 8ab578a1269ecfd8583afa6af0796cf941fed52e
https://github.com/llvm/llvm-project/commit/8ab578a1269ecfd8583afa6af0796cf941fed52e
Author: Kai Luo <lkail at cn.ibm.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
A llvm/test/CodeGen/PowerPC/tocdata-non-zero-addend.mir
Log Message:
-----------
[PowerPC] Add test of non-zero addend in tocdata relocation. NFC.
It intends to check if IAS handles non-zero addend correctly.
Commit: d3a9043ec2ee7ea278be4f3c86823512e44d01bf
https://github.com/llvm/llvm-project/commit/d3a9043ec2ee7ea278be4f3c86823512e44d01bf
Author: Alexey Merzlyakov <60094858+AlexeyMerzlyakov at users.noreply.github.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_riscv64.cpp
M lldb/source/Plugins/Process/elf-core/CMakeLists.txt
A lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_riscv64.cpp
A lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_riscv64.h
M lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp
M lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
A lldb/test/API/functionalities/postmortem/elf-core/linux-riscv64.core
A lldb/test/API/functionalities/postmortem/elf-core/linux-riscv64.out
Log Message:
-----------
[lldb][RISCV] Add RegisterContextPOSIXCore for RISC-V 64 (#93297)
The PR adds the support of CoreDump debugging for RISC-V 64. It
implements new `RegisterContextCorePOSIX_riscv64` class.
Also, the contribution fixes `GetRegisterCount()` ->
`GetRegisterSetCount()` misprint in
`RegisterContextPOSIX_riscv64::GetRegisterSetCount()` method, which
leaded to `set && "Register set should be valid."` assertion during
`register info aX` command call.
The patch was tested (on coredumps generated for simple Integer/FP
calculation code) for _cross x86_64 -> RISCV_ and _native RISCV_ LLDB
builds. There were performed basic LLDB functionality tests, such as:
- CoreDump file load
- Backtrace / frames
- GP/FP registers read/info/list
- Basic switch between threads
- Disassembler code
- Memory regions read / display
Commit: b8b2a013dafbacc5479d50574519e07ee2e5855f
https://github.com/llvm/llvm-project/commit/b8b2a013dafbacc5479d50574519e07ee2e5855f
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/source/Plugins/Process/elf-core/BUILD.gn
Log Message:
-----------
[gn build] Port d3a9043ec2ee
Commit: a07f03f116fd8d7a6691fdff7b6fc8ed4255c637
https://github.com/llvm/llvm-project/commit/a07f03f116fd8d7a6691fdff7b6fc8ed4255c637
Author: David Green <david.green at arm.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
A llvm/test/CodeGen/AArch64/sve-lsrchain.ll
Log Message:
-----------
[AArch64] Add a test for LSR chain generation with vscale increments. NFC
Commit: 7eaae4e6afb6a434cc9fd6065dfa347ab6c1c2bb
https://github.com/llvm/llvm-project/commit/7eaae4e6afb6a434cc9fd6065dfa347ab6c1c2bb
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/CodeGen/CGPasses.td
M flang/include/flang/Optimizer/CodeGen/CodeGen.h
M flang/include/flang/Tools/CLOptions.inc
M flang/lib/Optimizer/CodeGen/PreCGRewrite.cpp
Log Message:
-----------
[flang][CodeGen][NFC] Reduce PreCGRewrite pass boilerplate (#94329)
The pass constructor can be generated automatically by tablegen.
This pass is module-level and runs on all instances of target operations
inside of it and so does not need any modification to support
alternative top-level operations.
Commit: 42ebf3eaafc2a5c3c9338020186c0ad44cc4edf7
https://github.com/llvm/llvm-project/commit/42ebf3eaafc2a5c3c9338020186c0ad44cc4edf7
Author: klensy <klensy at users.noreply.github.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/utils/filecheck_lint/filecheck_lint.py
M llvm/utils/filecheck_lint/filecheck_lint_test.py
Log Message:
-----------
[utils][filecheck-lint]: speedup filecheck_lint (#94191)
For example:
clang\test\OpenMP\task_codegen.cpp: 0m29.570s -> 0m0.159s
clang\test\Driver: 4m55.917s -> 1m48.053s
Most win from big files.
---------
Co-authored-by: klensy <nightouser at gmail.com>
Commit: 043cc5a2275d014766dd4ec2ad4fe07d5516ceef
https://github.com/llvm/llvm-project/commit/043cc5a2275d014766dd4ec2ad4fe07d5516ceef
Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M compiler-rt/lib/builtins/CMakeLists.txt
A compiler-rt/lib/builtins/aarch64/sme-abi-vg.c
M compiler-rt/lib/builtins/cpu_model/aarch64.c
A compiler-rt/lib/builtins/cpu_model/aarch64.h
Log Message:
-----------
[AArch64][compiler-rt] Add a function returning the current vector length (#92921)
__arm_get_current_vg emits a cntd instruction if in streaming mode or SVE is
available at runtime, otherwise it will return 0.
Commit: e635520be888335dd59874038d33e60cca3a7143
https://github.com/llvm/llvm-project/commit/e635520be888335dd59874038d33e60cca3a7143
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/test/CodeGen/X86/combine-abs.ll
Log Message:
-----------
[DAG] computeKnownBits - abs(x) will be zero in the upper bits if x is sign-extended (#94382)
As reported on https://github.com/llvm/llvm-project/issues/94344 - if x has more than one signbit, then the upper bits of its absolute value are guaranteed to be zero
Alive2: https://alive2.llvm.org/ce/z/a87fHU
Fixes #94344
Commit: 05e1b5340b0caf19ef2f8323b84082c389850720
https://github.com/llvm/llvm-project/commit/05e1b5340b0caf19ef2f8323b84082c389850720
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/fixed-order-recurrence.ll
M llvm/test/Transforms/LoopVectorize/AArch64/induction-costs.ll
M llvm/test/Transforms/LoopVectorize/AArch64/loop-vectorization-factors.ll
M llvm/test/Transforms/LoopVectorize/AArch64/reduction-recurrence-costs-sve.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-interleaved-accesses.ll
M llvm/test/Transforms/LoopVectorize/X86/fixed-order-recurrence.ll
M llvm/test/Transforms/LoopVectorize/X86/pr72969.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-chains-vplan.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-chains.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-complex.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-sink-replicate-region.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence.ll
M llvm/test/Transforms/LoopVectorize/induction.ll
M llvm/test/Transforms/LoopVectorize/interleave-and-scalarize-only.ll
M llvm/test/Transforms/LoopVectorize/interleaved-accesses.ll
M llvm/test/Transforms/LoopVectorize/vplan-printing.ll
Log Message:
-----------
[VPlan] Model FOR resume value extraction in VPlan. (#93396)
This patch uses the ExtractFromEnd VPInstruction opcode
to extract the value of a FOR to be used as resume value for the ph in
the scalar loop.
It adds a new live-out that temporarily wraps the FOR phi in the scalar
loop. fixFixedOrderRecurrence will process live outs for fixed order
recurrence phis by creating a new phi node in the scalar preheader,
using the generated value for the live-out as incoming value from the
middle block and the original start value as incoming value for the
other edge. Creation of the phi in the preheader, as well as updating
the phi in the scalar loop will also be moved to VPlan in the future,
eventually retiring fixFixedOrderRecurrence
Depends on https://github.com/llvm/llvm-project/pull/93395
PR: https://github.com/llvm/llvm-project/pull/93396
Commit: 2c31bc7c0455e2167dcaef6b284cb0574406fc72
https://github.com/llvm/llvm-project/commit/2c31bc7c0455e2167dcaef6b284cb0574406fc72
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M flang/lib/Semantics/check-omp-structure.cpp
A flang/test/Semantics/OpenMP/reduction13.f90
Log Message:
-----------
[flang][Semantics][OpenMP] Fix ICE for unknown reduction starting with . (#94398)
In this case the union inside of the `parser::DefinedOperator` contains
a string name instead of the expected
`parser::DefinedOperator::IntrinsicOperator`. This led to a
`std::abort`.
This patch adapts the code so that if it contains a string name we emit
a semantic error.
Commit: 29a925abb660104b413b15075b3a19793825f57e
https://github.com/llvm/llvm-project/commit/29a925abb660104b413b15075b3a19793825f57e
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M mlir/include/mlir/Analysis/FlatLinearValueConstraints.h
M mlir/include/mlir/Dialect/Vector/IR/ScalableValueBoundsConstraintSet.h
M mlir/include/mlir/IR/AffineExprVisitor.h
M mlir/include/mlir/Interfaces/ValueBoundsOpInterface.h
M mlir/lib/Analysis/FlatLinearValueConstraints.cpp
M mlir/lib/Dialect/Vector/IR/ScalableValueBoundsConstraintSet.cpp
M mlir/lib/IR/AffineExpr.cpp
M mlir/lib/Interfaces/ValueBoundsOpInterface.cpp
M mlir/test/Dialect/Vector/test-scalable-bounds.mlir
Log Message:
-----------
[mlir][affine][Analysis] Add conservative bounds for semi-affine mods (#93576)
This patch adds support for computing bounds for semi-affine mod
expression to FlatLinearConstraints. This is then enabled within the
ScalableValueBoundsConstraintSet to allow computing the bounds of
scalable remainder loops.
E.g. computing the bound of something like:
```
// `1000 mod s0` is a semi-affine.
#remainder_start_index = affine_map<()[s0] -> (-(1000 mod s0) + 1000)>
#remaining_iterations = affine_map<(d0) -> (-d0 + 1000)>
%0 = affine.apply #remainder_start_index()[%c8_vscale]
scf.for %i = %0 to %c1000 step %c8_vscale {
%remaining_iterations = affine.apply #remaining_iterations(%i)
// The upper bound for the remainder loop iterations should be:
// %c8_vscale - 1 (expressed as an affine map,
// affine_map<()[s0] -> (s0 * 8 - 1)>, where s0 is vscale)
%bound = "test.reify_bound"(%remaining_iterations) <{scalable, ...}>
}
```
There are caveats to this implementation. To be able to add a bound for
a `mod` we need to assume the rhs is positive (> 0). This may not be
known when adding the bounds for the `mod` expression. So to handle this
a constraint is added for `rhs > 0`, this may later be found not to hold
(in which case the constraints set becomes empty/invalid).
This is not a problem for computing scalable bounds where it's safe to
assume `s0` is vscale (or some positive multiple of it). But this may
need to be considered when enabling this feature elsewhere (to ensure
correctness).
Commit: 851710d7910609e176cda36e0d113274d6bd506d
https://github.com/llvm/llvm-project/commit/851710d7910609e176cda36e0d113274d6bd506d
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/test/Transforms/SimplifyCFG/X86/sink-common-code.ll
Log Message:
-----------
[SimplifyCFG] Add additional tests for sinking (NFC)
This covers some interesting edge cases when the sink target is
a loop header.
Commit: 9b2a349991a87b2d9d576b0b1f63f357870449b1
https://github.com/llvm/llvm-project/commit/9b2a349991a87b2d9d576b0b1f63f357870449b1
Author: Christian Ulmann <christianulmann at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M mlir/include/mlir/Target/LLVMIR/Export.h
M mlir/include/mlir/Target/LLVMIR/ModuleTranslation.h
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
Log Message:
-----------
[MLIR][ModuleTranslation] Add disableVerification parameter (NFC) (#94445)
This commit adds a boolean parameter that allows downstream users to
disable the verification when translating an MLIR module to LLVM IR.
This is helpful for debugging broken LLVM IR modules post translation.
Commit: 54b20cbb95fec00ebc0cc83c8d7ca885294c1016
https://github.com/llvm/llvm-project/commit/54b20cbb95fec00ebc0cc83c8d7ca885294c1016
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/test/CodeGen/AArch64/neon-abd.ll
Log Message:
-----------
[DAG] computeKnownBits - abds(x, y) will be zero in the upper bits if x and y are sign-extended (#94448)
As reported on #94442 - if x and y have more than one signbit, then the upper bits of its absolute value are guaranteed to be zero
Sibling PR to #94382
Alive2: https://alive2.llvm.org/ce/z/7_z2Vc
Fixes #94442
Commit: 1ea568895aa106a61e84607edfd52c3ebf4b59bc
https://github.com/llvm/llvm-project/commit/1ea568895aa106a61e84607edfd52c3ebf4b59bc
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
Log Message:
-----------
[clang][Interp][NFC] Mark failed globals as uninitialized
This happens automatically if anything _before_ the Ret op fails,
but in this case we have to un-initialize it again.
Commit: d4d3239d982e15e039d3958b4202b13203df26bd
https://github.com/llvm/llvm-project/commit/d4d3239d982e15e039d3958b4202b13203df26bd
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
A llvm/include/llvm/CodeGen/LocalStackSlotAllocation.h
M llvm/include/llvm/Passes/CodeGenPassBuilder.h
M llvm/include/llvm/Passes/MachinePassRegistry.def
M llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/test/CodeGen/AArch64/aarch64st1.mir
M llvm/test/CodeGen/AArch64/sve-localstackalloc.mir
Log Message:
-----------
[NewPM][CodeGen] Port `localstackalloc` to new pass manager (#94303)
There are two AArch64 tests use `-start-before` and `-print-after`. Rest tests uses `--passes` to test this pass.
Commit: 5f2aa912766e4d48a5b46afa7ad9e99a41a51ee8
https://github.com/llvm/llvm-project/commit/5f2aa912766e4d48a5b46afa7ad9e99a41a51ee8
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Disasm.cpp
Log Message:
-----------
[clang][Interp][NFC] Don't try to dump uninitialized global variables
They don't contain anything useful.
Commit: 145815c180fc82c5a55bf568d01d98d250490a55
https://github.com/llvm/llvm-project/commit/145815c180fc82c5a55bf568d01d98d250490a55
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Disasm.cpp
M clang/lib/AST/Interp/EvaluationResult.cpp
Log Message:
-----------
[clang][Interp][NFC] Move EvaluationResult::dump() to Disasm.cpp
Where all the other dump() functions live.
Commit: a44d7406f45fd3e5af45de116aed03b0bf7a881f
https://github.com/llvm/llvm-project/commit/a44d7406f45fd3e5af45de116aed03b0bf7a881f
Author: Carl Ritson <carl.ritson at amd.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/wqm.ll
Log Message:
-----------
[AMDGPU][NFC] Pre-commit test for PR #94133
Commit: 3388c5aadd8583b5a596576c52be886104d557f2
https://github.com/llvm/llvm-project/commit/3388c5aadd8583b5a596576c52be886104d557f2
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/InterpBlock.h
Log Message:
-----------
[clang][Interp][NFC] Add missing assertion to Block ctor
We have this assertion in all the other constructors.
Commit: a16d33eaebb3fdbc9435c125c206372c8a7374d5
https://github.com/llvm/llvm-project/commit/a16d33eaebb3fdbc9435c125c206372c8a7374d5
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Program.h
Log Message:
-----------
[clang][Interp][NFC] Don't invoke block dtor on uninitialized globals
That can't ever work.
Commit: c70fa55bed45fc0cc0063e9f0bf93f163b5a1962
https://github.com/llvm/llvm-project/commit/c70fa55bed45fc0cc0063e9f0bf93f163b5a1962
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Context.cpp
M clang/lib/AST/Interp/EvalEmitter.cpp
M clang/lib/AST/Interp/EvalEmitter.h
M clang/lib/AST/Interp/InterpState.cpp
M clang/lib/AST/Interp/InterpState.h
Log Message:
-----------
[clang][Interp][NFC] Add cleanup() infrastructure to EvalEmitter
Unused for now.
Commit: 6168e82c1e17c58ebc9c0b6c8f2273fd9a610977
https://github.com/llvm/llvm-project/commit/6168e82c1e17c58ebc9c0b6c8f2273fd9a610977
Author: Christian Ulmann <christianulmann at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M mlir/lib/Dialect/LLVMIR/IR/LLVMInlining.cpp
A mlir/test/Dialect/LLVMIR/inlining-loop-annotation.mlir
Log Message:
-----------
[MLIR][LLVM] Add inlining support for loop annotations (#94447)
This commit extends the LLVM dialect's inliner interface support
updating loop annotation attributes. This is necessary because the loop
annotations can contain debug locations, which are verified by LLVM's
verifier. LLVM requires these locations to have the same scope as the
function this attribute is contained in.
Commit: 3614beede1d22cc7d2492a9742d68b210cb75dd1
https://github.com/llvm/llvm-project/commit/3614beede1d22cc7d2492a9742d68b210cb75dd1
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/c23.rst
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/math/CMakeLists.txt
A libc/src/math/canonicalizef16.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/canonicalizef16.cpp
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/CanonicalizeTest.h
A libc/test/src/math/smoke/canonicalizef16_test.cpp
Log Message:
-----------
[libc][math][c23] Add canonicalizef16 C23 math function (#94341)
#93566
Commit: 163cb1fc2fe4caa8306a18abdb0516870e4d7f3d
https://github.com/llvm/llvm-project/commit/163cb1fc2fe4caa8306a18abdb0516870e4d7f3d
Author: EdJoPaTo <github at edjopato.de>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp
Log Message:
-----------
[llvm-cov] Add HTML dark theme support (#93080)
Personally I use
[cargo-llvm-cov](https://github.com/taiki-e/cargo-llvm-cov) which
creates helpful HTML coverage reports, but they don't support a dynamic
dark themes.
I updated the styling to support both dark and bright color themes based
on the browser preference. The bright theme should look similar to the
current theme.
I also improved some color contrasts (Firefox accessibility tool
reported them) and ensured that line-number links keep their
text-decoration.
Things that both have `.tooltip` and `.red` look kinda odd as the
coloring is now based on tinting with transparency. Given that the
tooltip should always show 0 in such cases (otherwise it wouldn't be
red) the tooltip could be removed there on the HTML generation, but that
seemed out of scope for my style only change.
Commit: 5a201415392bcd0e0b22d13e9aaae03ccf3043e6
https://github.com/llvm/llvm-project/commit/5a201415392bcd0e0b22d13e9aaae03ccf3043e6
Author: Alex Bradbury <asb at igalia.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/TargetTransformInfo.h
M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
M llvm/include/llvm/CodeGen/BasicTTIImpl.h
M llvm/lib/Analysis/TargetTransformInfo.cpp
M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Log Message:
-----------
[LSR] Provide TTI hook to enable dropping solutions deemed to be unprofitable (#89924)
<https://reviews.llvm.org/D126043> introduced a flag to drop solutions
if deemed unprofitable. As noted there, introducing a TTI hook enables
backends to individually opt into this behaviour.
This will be used by #89927.
Commit: af76071ac078834ad0c4085e1c88198d3735fbd5
https://github.com/llvm/llvm-project/commit/af76071ac078834ad0c4085e1c88198d3735fbd5
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/CodeGen/CGPasses.td
M flang/include/flang/Optimizer/CodeGen/CodeGen.h
M flang/include/flang/Tools/CLOptions.inc
M flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
Log Message:
-----------
[flang][CodeGen][NFC] Reduce TargetRewrite pass boilerplate (#94450)
Tablegen can automatically generate the pass constructor. Tablegen will
create a constructor for all of the pass options (not only the subset in
the old constructor), but the pass options seem unused anyway.
This pass does not require any modification to support alternative
top-level ops. It walks all operations in the module. Functions have
special handling (adding attributes, converting signatures) but this
wouldn't make sense for top level operations in general.
Commit: 2d9b83750fea782276ec1f70157122b0b7d1856e
https://github.com/llvm/llvm-project/commit/2d9b83750fea782276ec1f70157122b0b7d1856e
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[bazel] Add missing dep for __support_cpp_expected
Commit: 42f4e505a38480b6a714b503dd946ffff31ae029
https://github.com/llvm/llvm-project/commit/42f4e505a38480b6a714b503dd946ffff31ae029
Author: Erich Keane <ekeane at nvidia.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/include/clang-c/Index.h
M clang/include/clang/AST/RecursiveASTVisitor.h
M clang/include/clang/AST/StmtOpenACC.h
M clang/include/clang/AST/TextNodeDumper.h
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/StmtNodes.td
M clang/include/clang/Sema/SemaOpenACC.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/lib/AST/StmtOpenACC.cpp
M clang/lib/AST/StmtPrinter.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/Parse/ParseOpenACC.cpp
M clang/lib/Sema/SemaExceptionSpec.cpp
M clang/lib/Sema/SemaOpenACC.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTReaderStmt.cpp
M clang/lib/Serialization/ASTWriterStmt.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
A clang/test/AST/ast-print-openacc-loop-construct.cpp
M clang/test/ParserOpenACC/parse-clauses.c
M clang/test/ParserOpenACC/parse-clauses.cpp
M clang/test/ParserOpenACC/parse-constructs.c
M clang/test/SemaOpenACC/compute-construct-async-clause.c
M clang/test/SemaOpenACC/compute-construct-attach-clause.c
M clang/test/SemaOpenACC/compute-construct-copy-clause.c
M clang/test/SemaOpenACC/compute-construct-copyin-clause.c
M clang/test/SemaOpenACC/compute-construct-copyout-clause.c
M clang/test/SemaOpenACC/compute-construct-create-clause.c
M clang/test/SemaOpenACC/compute-construct-default-clause.c
M clang/test/SemaOpenACC/compute-construct-deviceptr-clause.c
M clang/test/SemaOpenACC/compute-construct-firstprivate-clause.c
M clang/test/SemaOpenACC/compute-construct-if-clause.c
M clang/test/SemaOpenACC/compute-construct-no_create-clause.c
M clang/test/SemaOpenACC/compute-construct-num_gangs-clause.c
M clang/test/SemaOpenACC/compute-construct-num_workers-clause.c
M clang/test/SemaOpenACC/compute-construct-present-clause.c
M clang/test/SemaOpenACC/compute-construct-self-clause.c
M clang/test/SemaOpenACC/compute-construct-vector_length-clause.c
M clang/test/SemaOpenACC/compute-construct-wait-clause.c
A clang/test/SemaOpenACC/loop-ast.cpp
A clang/test/SemaOpenACC/loop-loc-and-stmt.c
A clang/test/SemaOpenACC/loop-loc-and-stmt.cpp
M clang/tools/libclang/CIndex.cpp
M clang/tools/libclang/CXCursor.cpp
Log Message:
-----------
[OpenACC] Loop construct basic Sema and AST work (#93742)
This patch implements the 'loop' construct AST, as well as the basic
appertainment rule. Additionally, it sets up the 'parent' compute
construct, which is necessary for codegen/other diagnostics.
A 'loop' can apply to a for or range-for loop, otherwise it has no other
restrictions (though some of its clauses do).
Commit: 3387e558449e1748a7d4b10f2d9049647c9acc56
https://github.com/llvm/llvm-project/commit/3387e558449e1748a7d4b10f2d9049647c9acc56
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
Log Message:
-----------
[InstCombine] Use SimplifyQuery in isKnownSign()
This enabled the use of DomConditionCache. As such, remove the
explicit isImpliedByDomCondition() call. This is probably not
entirely NFC because these APIs don't support exactly the same
cases.
Commit: 79e09b1555a51cc8d02d0225ed6d81a21fa09eca
https://github.com/llvm/llvm-project/commit/79e09b1555a51cc8d02d0225ed6d81a21fa09eca
Author: Hana Dusíková <hanicka at hanicka.net>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/test/tools/llvm-cov/style.test
Log Message:
-----------
[llvm-cov] [NFC] don't test pseudo-selectors in CSS
fixes test for .css file generated by llvm-cov from recent PR
https://github.com/llvm/llvm-project/pull/93080
Commit: b9549261e218cee2ad1305fb7272b831799b7bfe
https://github.com/llvm/llvm-project/commit/b9549261e218cee2ad1305fb7272b831799b7bfe
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Flang.cpp
M flang/include/flang/Frontend/LangOptions.def
M flang/include/flang/Tools/CrossToolHelpers.h
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/test/Driver/omp-driver-offload.f90
A flang/test/Lower/OpenMP/force-usm.f90
A flang/test/Lower/OpenMP/requires-force-usm.f90
M flang/tools/bbc/bbc.cpp
Log Message:
-----------
[Flang][OpenMP] Add -fopenmp-force-usm option to flang (#94359)
This patch enables the `-fopenmp-force-usm` option to be passed to the
flang driver, which forwards it to the compiler frontend. This flag,
when set, results in the introduction of the `unified_shared_memory` bit
to the `omp.requires` attribute of the top-level module operation.
This is later combined with any other target device-related REQUIRES
clauses that may have been explicitly set in the compilation unit.
Commit: 6c973036818f926c65ddc9b40578917e5f2240cb
https://github.com/llvm/llvm-project/commit/6c973036818f926c65ddc9b40578917e5f2240cb
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-05 (Wed, 05 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/math/CMakeLists.txt
A libc/src/math/copysignf16.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/copysignf16.cpp
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/CopySignTest.h
A libc/test/src/math/smoke/copysignf16_test.cpp
Log Message:
-----------
[libc][math][c23] Add copysignf16 C23 math function (#94351)
#93566
Commit: ce8bb9b5acea9f8fb5392ae717e7d7b7683230ea
https://github.com/llvm/llvm-project/commit/ce8bb9b5acea9f8fb5392ae717e7d7b7683230ea
Author: jameshu15869 <55058507+jameshu15869 at users.noreply.github.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M libc/src/__support/fixedvector.h
M libc/test/src/__support/fixedvector_test.cpp
Log Message:
-----------
[libc] Implement forward iterators for libc fixed_vector (#93916)
- Implements forward iterators for `cpp::fixed_vector` to use in
https://github.com/llvm/llvm-project/pull/92009
Commit: 38bf6840e8589ebe22e8157aee79a57d9db9393d
https://github.com/llvm/llvm-project/commit/38bf6840e8589ebe22e8157aee79a57d9db9393d
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M libcxx/include/span
M libcxx/test/std/containers/views/views.span/span.cons/span.pass.cpp
Log Message:
-----------
[libc++] Add missing noexcept to span constructor (#94381)
Thanks to Marshall Clow for noticing.
Fixes #94364
Commit: a0cdd32b79318fc45e07bc0cef7e57308b1166ed
https://github.com/llvm/llvm-project/commit/a0cdd32b79318fc45e07bc0cef7e57308b1166ed
Author: Stephan T. Lavavej <stl at nuwen.net>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M libcxx/test/libcxx/assertions/modes/enabling_assertions_enables_extensive_mode.pass.cpp
M libcxx/test/libcxx/assertions/modes/override_with_debug_mode.pass.cpp
M libcxx/test/libcxx/assertions/modes/override_with_extensive_mode.pass.cpp
M libcxx/test/libcxx/assertions/modes/override_with_fast_mode.pass.cpp
M libcxx/test/libcxx/assertions/modes/override_with_unchecked_mode.pass.cpp
M libcxx/test/libcxx/containers/sequences/deque/asan_caterpillar.pass.cpp
M libcxx/test/std/algorithms/pstl.exception_handling.pass.cpp
Log Message:
-----------
[libc++] [test] Consistently use `REQUIRES: has-unix-headers` (#94122)
There were 7 occurrences of `UNSUPPORTED: !has-unix-headers`, versus 212
occurrences of `REQUIRES: has-unix-headers`.
I don't completely understand how libc++ uses UNSUPPORTED versus
REQUIRES, but it seems better to be consistent, and to avoid the double
negation in "this is unsupported if we don't have unix headers".
(This came to my attention because of the single occurrence in
`libcxx/test/std`. Our MSVC-internal test harness isn't aware of lit
features, so we teach it to skip tests via the incredibly primitive
method of searching for specific comments, so I had to deal with this
comment inconsistency.)
Commit: ae858b5123e8323c4dbee774b86013f7f24a6aac
https://github.com/llvm/llvm-project/commit/ae858b5123e8323c4dbee774b86013f7f24a6aac
Author: AngryLoki <AngryLoki at users.noreply.github.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M libcxx/test/libcxx/transitive_includes.gen.py
M libcxx/utils/generate_escaped_output_table.py
M libcxx/utils/generate_width_estimation_table.py
Log Message:
-----------
[libc++] Fix SyntaxWarning messages from python 3.12 (#93637)
This fixes "SyntaxWarning: invalid escape sequence" and "SyntaxWarning: `is` with int literal".
transitive_includes.gen.py was also reformatted with darker per the style guide.
Signed-off-by: Sv. Lockal <lockalsash at gmail.com>
Commit: 289725f11c579348ec49c8c606de4291314db0d9
https://github.com/llvm/llvm-project/commit/289725f11c579348ec49c8c606de4291314db0d9
Author: Daniel Krupp <daniel.krupp at ericsson.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/docs/analyzer/checkers.rst
M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
M clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
M clang/test/Analysis/malloc.c
M clang/test/Analysis/malloc.cpp
M clang/test/Analysis/taint-diagnostic-visitor.c
Log Message:
-----------
[analyzer] New optin.taint.TaintedAlloc checker for catching unbounded memory allocation calls (#92420)
A new optional checker (optin.taint.TaintedAlloc) will warn if a memory
allocation function (malloc, calloc, realloc, alloca, operator new[]) is
called with a tainted (attacker controlled) size parameter.
A large, maliciously set size value can trigger memory exhaustion. To
get this warning, the alpha.security.taint.TaintPropagation checker also
needs to be switched on.
The warning will only be emitted, if the analyzer cannot prove that the
size is below reasonable bounds (<SIZE_MAX/4).
Commit: 991d2fb3ea1135f0ce12af180fa1d5d899b9ea67
https://github.com/llvm/llvm-project/commit/991d2fb3ea1135f0ce12af180fa1d5d899b9ea67
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/test/Transforms/SimplifyCFG/branch-fold-threshold.ll
Log Message:
-----------
[SimplifyCFG] branch-fold-threshold.ll - regenerate checks
Commit: 07b8990d38ebaf42b0ed1c60d49b484a6e2497e8
https://github.com/llvm/llvm-project/commit/07b8990d38ebaf42b0ed1c60d49b484a6e2497e8
Author: c8ef <c8ef at outlook.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/DenseMap.h
M llvm/unittests/ADT/DenseMapTest.cpp
Log Message:
-----------
[ADT] Add C++17-style insert_or_assign for DenseMap (#94151)
add C++17-style insert_or_assign for DenseMap
close: #94115
Commit: c537f3564684662748f76cccc325287cb0f54cbd
https://github.com/llvm/llvm-project/commit/c537f3564684662748f76cccc325287cb0f54cbd
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-05 (Wed, 05 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/math/CMakeLists.txt
A libc/src/math/fdimf16.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/fdimf16.cpp
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/FDimTest.h
A libc/test/src/math/smoke/fdimf16_test.cpp
Log Message:
-----------
[libc][math][c23] Add fdimf16 C23 math function (#94354)
#93566
Commit: d0223b9ffc40146fb4a948ebfa652dc95499b7ba
https://github.com/llvm/llvm-project/commit/d0223b9ffc40146fb4a948ebfa652dc95499b7ba
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/ExprCXX.h
M clang/include/clang/Sema/Overload.h
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaOverload.cpp
M clang/test/CXX/drs/cwg1xx.cpp
M clang/test/CXX/drs/cwg26xx.cpp
A clang/test/CXX/drs/cwg2771.cpp
M clang/test/CodeGenCXX/cxx2b-deducing-this.cpp
M clang/test/SemaCXX/cxx2b-deducing-this.cpp
M clang/www/cxx_dr_status.html
M clang/www/cxx_status.html
Log Message:
-----------
[Clang] Static and explicit object member functions with the same parameter-type-lists (#93430)
Implement P2797.
Because taking the address of an explicit object member function results
in a function pointer, a call expression where the id-expression is an
explicit object member is made to behave consistently with that model.
This change forces clang to perform overload resolution in the presence
of an id-expression of the form `(&Foo::bar)(args...)`, which we
previously failed to do consistently.
Commit: c656f29b32c26f54b71b2fef5ccdd38427beb2ba
https://github.com/llvm/llvm-project/commit/c656f29b32c26f54b71b2fef5ccdd38427beb2ba
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/test/MC/RISCV/relocations.s
Log Message:
-----------
[MC][RISCV] relocations.s - fix broken checks identified in #93673
Commit: 7578c31823ff1b23f1f15607f8abf57bc173b843
https://github.com/llvm/llvm-project/commit/7578c31823ff1b23f1f15607f8abf57bc173b843
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M libc/test/src/math/smoke/RoundToIntegerTest.h
Log Message:
-----------
[libc] Disable fpexcept testing on the GPU
Summary:
These new tests fails on the GPU due to the exception testing. Disable
it for now because these aren't supported and can't be supported on
NVPTX.
Commit: f10e71f6d80719c47f3eed117120e74d9d3858c1
https://github.com/llvm/llvm-project/commit/f10e71f6d80719c47f3eed117120e74d9d3858c1
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaOpenACC.cpp
M clang/test/AST/ast-print-openacc-loop-construct.cpp
A clang/test/SemaOpenACC/loop-construct-device_type-ast.cpp
A clang/test/SemaOpenACC/loop-construct-device_type-clause.c
A clang/test/SemaOpenACC/loop-construct-device_type-clause.cpp
Log Message:
-----------
[OpenACC] Implement 'device_type' sema for 'loop' construct
This clause is effectively identical to how this works on compute
clauses, however the list of clauses allowed after it are slightly
different. This enables the clause for the 'loop', and ensures we're
permitting the correct list.
Commit: 0a357adc75aa6f9d6b9fe815a5da937128cfee56
https://github.com/llvm/llvm-project/commit/0a357adc75aa6f9d6b9fe815a5da937128cfee56
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/test/Analysis/ScalarEvolution/scalable-vector.ll
Log Message:
-----------
[SCEV] Support non-constant step in howFarToZero (#94411)
VF * vscale is the canonical step for a scalably vectorized loop, and
LFTR canonicalizes to NE loop tests, so having our trip count logic be
unable to compute trip counts for such loops is unfortunate.
The existing code needed minimal generalization to handle non-constant
strides. The tricky cases to be sure we handle correctly are: zero, and
-1 (due to the special case of abs(-1) being non-positive).
This patch does the full generalization in terms of code structure, but
in practice, this seems unlikely to benefit
anything beyond the (C * vscale) case. I did some quick investigation,
and it seems the context free non-zero, and sign checks are basically
never disproved for arbitrary scales. I think we have alternate tactics
available for these, but I'm going to return to that in a separate
patch.
Commit: 07b9d231ff9baa6473b0dd588a3ce5330d3e4871
https://github.com/llvm/llvm-project/commit/07b9d231ff9baa6473b0dd588a3ce5330d3e4871
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/test/Transforms/SimplifyCFG/ARM/speculate-math.ll
M llvm/test/Transforms/SimplifyCFG/ARM/switch-to-lookup-table-constant-expr.ll
M llvm/test/Transforms/SimplifyCFG/EqualPHIEdgeBlockMerge.ll
M llvm/test/Transforms/SimplifyCFG/FoldValueComparisonIntoPredecessors-domtree-preservation-edgecase-2.ll
M llvm/test/Transforms/SimplifyCFG/FoldValueComparisonIntoPredecessors-domtree-preservation-edgecase.ll
M llvm/test/Transforms/SimplifyCFG/ForwardSwitchConditionToPHI.ll
M llvm/test/Transforms/SimplifyCFG/Hexagon/switch-to-lookup-table.ll
M llvm/test/Transforms/SimplifyCFG/RISCV/switch-of-powers-of-two.ll
M llvm/test/Transforms/SimplifyCFG/SimplifyEqualityComparisonWithOnlyPredecessor-domtree-preservation-edgecase.ll
M llvm/test/Transforms/SimplifyCFG/X86/disable-lookup-table.ll
M llvm/test/Transforms/SimplifyCFG/X86/empty-cleanuppad.ll
M llvm/test/Transforms/SimplifyCFG/X86/merge-compatible-invokes-of-landingpad-debuginfo.ll
M llvm/test/Transforms/SimplifyCFG/X86/merge-compatible-invokes-of-landingpad.ll
M llvm/test/Transforms/SimplifyCFG/X86/sink-common-code-into-unreachable.ll
M llvm/test/Transforms/SimplifyCFG/X86/switch-to-lookup-gep.ll
M llvm/test/Transforms/SimplifyCFG/X86/switch-to-lookup-large-types.ll
M llvm/test/Transforms/SimplifyCFG/basictest.ll
M llvm/test/Transforms/SimplifyCFG/branch-fold-dbg.ll
M llvm/test/Transforms/SimplifyCFG/branch-on-undef.ll
M llvm/test/Transforms/SimplifyCFG/callbr-destinations.ll
M llvm/test/Transforms/SimplifyCFG/duplicate-landingpad.ll
M llvm/test/Transforms/SimplifyCFG/empty-catchpad.ll
M llvm/test/Transforms/SimplifyCFG/fold-two-entry-phi-node-with-one-block-profmd.ll
M llvm/test/Transforms/SimplifyCFG/fold-two-entry-phi-node-with-two-blocks-profmd.ll
M llvm/test/Transforms/SimplifyCFG/gepcost.ll
M llvm/test/Transforms/SimplifyCFG/hoist-common-code-with-unreachable.ll
M llvm/test/Transforms/SimplifyCFG/hoist-common-code.ll
M llvm/test/Transforms/SimplifyCFG/hoist-common-skip.ll
M llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue.ll
M llvm/test/Transforms/SimplifyCFG/hoist-with-metadata.ll
M llvm/test/Transforms/SimplifyCFG/invoke.ll
M llvm/test/Transforms/SimplifyCFG/jump-threading-debuginfo.ll
M llvm/test/Transforms/SimplifyCFG/jump-threading.ll
M llvm/test/Transforms/SimplifyCFG/merge-default.ll
M llvm/test/Transforms/SimplifyCFG/merge-deopt-bundle-constants.ll
M llvm/test/Transforms/SimplifyCFG/merge-duplicate-conditional-ret-val.ll
M llvm/test/Transforms/SimplifyCFG/merge-empty-return-blocks.ll
M llvm/test/Transforms/SimplifyCFG/merge-phis-in-switch.ll
M llvm/test/Transforms/SimplifyCFG/multiple-phis.ll
M llvm/test/Transforms/SimplifyCFG/poison-merge.ll
M llvm/test/Transforms/SimplifyCFG/pr35774.ll
M llvm/test/Transforms/SimplifyCFG/pr50060-constantfold-loopid.ll
M llvm/test/Transforms/SimplifyCFG/preserve-branchweights-switch-create.ll
M llvm/test/Transforms/SimplifyCFG/preserve-branchweights.ll
M llvm/test/Transforms/SimplifyCFG/rangereduce.ll
M llvm/test/Transforms/SimplifyCFG/return-merge.ll
M llvm/test/Transforms/SimplifyCFG/select-gep.ll
M llvm/test/Transforms/SimplifyCFG/speculate-math.ll
M llvm/test/Transforms/SimplifyCFG/speculatively-execute-block-profmd.ll
M llvm/test/Transforms/SimplifyCFG/suppress-zero-branch-weights.ll
M llvm/test/Transforms/SimplifyCFG/switch-masked-bits.ll
M llvm/test/Transforms/SimplifyCFG/switch-to-select-two-case.ll
M llvm/test/Transforms/SimplifyCFG/switch_create-custom-dl.ll
M llvm/test/Transforms/SimplifyCFG/switch_create.ll
M llvm/test/Transforms/SimplifyCFG/switch_msan.ll
M llvm/test/Transforms/SimplifyCFG/switch_switch_fold.ll
M llvm/test/Transforms/SimplifyCFG/switch_thread.ll
M llvm/test/Transforms/SimplifyCFG/switch_ub.ll
M llvm/test/Transforms/SimplifyCFG/tail-merge-noreturn.ll
M llvm/test/Transforms/SimplifyCFG/tail-merge-resume.ll
M llvm/test/Transforms/SimplifyCFG/wineh-unreachable.ll
Log Message:
-----------
[SimplifyCFG] Regenerate test checks (NFC)
The output for many of these slightly changed (mainly due to
switch indentation), so mass-regenerate them.
Commit: b5b61cce96580552a796f21fdcbee3080fd04a9e
https://github.com/llvm/llvm-project/commit/b5b61cce96580552a796f21fdcbee3080fd04a9e
Author: Henry Jiang <h243jian at uwaterloo.ca>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll
Log Message:
-----------
[VectorCombine] Preserves the maximal legal FPMathFlags during foldShuffleToIdentity (#94295)
The `VectorCombine::foldShuffleToIdentity` does not preserve fast math
flags when folding the shuffle, leading to unexpected vectorized result
and missed optimizations with FMA instructions.
We can conservatively take the maximal legal set of fast math flags
whenever we fold shuffles to identity to enable further optimizations in
the backend.
---------
Co-authored-by: Henry Jiang <henry.jiang1 at ibm.com>
Commit: 0911f6575fb0f9b487290ba28d1208c6b94716a0
https://github.com/llvm/llvm-project/commit/0911f6575fb0f9b487290ba28d1208c6b94716a0
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/include/llvm/Frontend/OpenMP/ClauseT.h
Log Message:
-----------
[Frontend][OpenMP] Clarify requirements for ObjectT, NFC
Only the "id()" member function is required.
Commit: 2bfa26d30fb96d77e73be7876d12dd23e768f809
https://github.com/llvm/llvm-project/commit/2bfa26d30fb96d77e73be7876d12dd23e768f809
Author: Konstantin Zhuravlyov <kzhuravl_dev at outlook.com>
Date: 2024-06-05 (Wed, 05 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/test/Misc/target-invalid-cpu-note.c
Log Message:
-----------
AMDGPU: Add missing gfx* generic targets handling in clang (NVPTX, OpenMP runtime) (#94483)
Commit: 6150e84cfc87d118f8cd2794e40dd021c8779e9d
https://github.com/llvm/llvm-project/commit/6150e84cfc87d118f8cd2794e40dd021c8779e9d
Author: aengelke <engelke at in.tum.de>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAGNodes.h
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[CodeGen][SDAG] Remove Combiner WorklistMap (#92900)
DenseMap for pointer lookup is expensive, and this is only used for
deduplication and index lookup. Instead, store the worklist index in the
node itself.
This brings a substantial performance improvement.
Commit: 0295c2ada4d9964a2b6289c905e320bd42461f99
https://github.com/llvm/llvm-project/commit/0295c2ada4d9964a2b6289c905e320bd42461f99
Author: Zarko Todorovski <64787215+ZarkoT at users.noreply.github.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/test/CodeGen/PowerPC/aix-cc-byval-limitation3.ll
A llvm/test/CodeGen/PowerPC/aix-vector-byval-callee.ll
A llvm/test/CodeGen/PowerPC/aix-vector-byval.ll
Log Message:
-----------
[PowerPC][AIX] Support ByVals with greater alignment then pointer size (#93341)
Implementation is NOT compatible with IBM XL C 16.1 and earlier but is
compatible with GCC.
It handles all ByVals with greater alignment then pointer width the same
way IBM XL C handles Byvals
that have vector members. For overaligned objects that do not contain
vectors IBM XL C does not align them properly if they are passed in the
GPR
argument registers.
This patch was originally written by Sean Fertile @mandlebug.
Previously on Phabricator https://reviews.llvm.org/D105659
Commit: aa512943f47548beab655a5228c23b5503d480f8
https://github.com/llvm/llvm-project/commit/aa512943f47548beab655a5228c23b5503d480f8
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M .github/workflows/release-binaries.yml
Log Message:
-----------
workflows: Disable stage2 of the release builds (#93056)
We need to skip this step until PGO is re-enabled for the release
builds.
Commit: fda1e4b01f723c31a36ad659564ae4a61365930e
https://github.com/llvm/llvm-project/commit/fda1e4b01f723c31a36ad659564ae4a61365930e
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M libc/test/src/math/CMakeLists.txt
M libc/test/src/math/CeilTest.h
M libc/test/src/math/FloorTest.h
M libc/test/src/math/RoundEvenTest.h
M libc/test/src/math/RoundTest.h
M libc/test/src/math/TruncTest.h
A libc/test/src/math/ceilf16_test.cpp
A libc/test/src/math/floorf16_test.cpp
A libc/test/src/math/roundevenf16_test.cpp
A libc/test/src/math/roundf16_test.cpp
A libc/test/src/math/truncf16_test.cpp
M libc/utils/MPFRWrapper/MPFRUtils.cpp
Log Message:
-----------
[libc][math][c23] Add MPFR unit tests for {ceil,floor,round,roundeven,trunc}f16 (#94383)
Commit: 16aef9ec5231407140f283f3fe12f17410227da4
https://github.com/llvm/llvm-project/commit/16aef9ec5231407140f283f3fe12f17410227da4
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/test/CodeGen/RISCV/rvv/vsub.ll
Log Message:
-----------
Revert "[RISCV] Use vadd.vi for tail undisturbe vsub intrinsic with small immediate."
This reverts commit 1af0778f9c6e1ac0f6e2dfd0e56063cc21c4eea5.
I messed up the tail policy.
Commit: baa6609fad698c9e3727f5aff9e57896889e6d35
https://github.com/llvm/llvm-project/commit/baa6609fad698c9e3727f5aff9e57896889e6d35
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/test/CodeGen/RISCV/rvv/vsub.ll
Log Message:
-----------
Recommit "[RISCV] Use vadd.vi for tail undisturbe vsub intrinsic with small immediate."
Now with the correct tail policy.
Original message:
Our pattern previously checked for the merge operand being undef.
Commit: 61589b859974a3a4055c1065ad43b4899ee7bbcf
https://github.com/llvm/llvm-project/commit/61589b859974a3a4055c1065ad43b4899ee7bbcf
Author: Alexander Yermolovich <43973793+ayermolo at users.noreply.github.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M bolt/include/bolt/Core/DIEBuilder.h
M bolt/include/bolt/Core/DebugNames.h
M bolt/lib/Core/DIEBuilder.cpp
M bolt/lib/Core/DebugNames.cpp
A bolt/test/X86/dwarf5-debug-names-skip-forward-decl.s
Log Message:
-----------
[BOLT][DWARF] Fix parent chain in debug_names entries with forward declaration. (#93865)
Previously when an entry was skipped in parent chain a child will point
to the next valid entry in the chain. After discussion in
https://github.com/llvm/llvm-project/pull/91808 this is not very useful.
Changed implemenation so that all the children of the entry that is
skipped won't have DW_IDX_parent.
Commit: 53061eecdbd9ffc77a43f85b6c4e145a242a27a4
https://github.com/llvm/llvm-project/commit/53061eecdbd9ffc77a43f85b6c4e145a242a27a4
Author: Mingming Liu <mingmingl at google.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/include/llvm/Bitcode/BitcodeWriter.h
M llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
M llvm/include/llvm/Transforms/IPO/FunctionImport.h
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/LTO/LTO.cpp
M llvm/lib/LTO/ThinLTOCodeGenerator.cpp
M llvm/lib/Transforms/IPO/FunctionImport.cpp
M llvm/test/ThinLTO/X86/import_callee_declaration.ll
M llvm/tools/llvm-lto/llvm-lto.cpp
Log Message:
-----------
Revert "[ThinLTO][Bitcode] Generate import type in bitcode (#87600)" (#94502)
This reverts commit 6262763341fcd71a2b0708cf7485f9abd1d26ba8, to prepare
for the revert of https://github.com/llvm/llvm-project/pull/92718.
https://github.com/llvm/llvm-project/pull/92718 causes LTO indexing OOM
in some applications.
Commit: 707f4de4289e48e8a17bd0c9eb429d0c98061ecd
https://github.com/llvm/llvm-project/commit/707f4de4289e48e8a17bd0c9eb429d0c98061ecd
Author: Mingming Liu <mingmingl at google.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/ModuleSummaryIndex.h
M llvm/include/llvm/Transforms/IPO/FunctionImport.h
M llvm/lib/LTO/LTO.cpp
M llvm/lib/LTO/LTOBackend.cpp
M llvm/lib/Transforms/IPO/FunctionImport.cpp
M llvm/test/ThinLTO/X86/funcimport-stats.ll
R llvm/test/ThinLTO/X86/import_callee_declaration.ll
M llvm/test/Transforms/FunctionImport/funcimport.ll
M llvm/tools/llvm-link/llvm-link.cpp
Log Message:
-----------
Revert "Reland "[ThinLTO] Populate declaration import status except for distributed ThinLTO under a default-off new option" (#92718) (#94503)
This reverts commit e33db249b53fb70dce62db3ebd82d42239bd1d9d.
The change from *set to *map increases memory usage, and caused indexing
OOM in some applications. Need to profile offline to bring the memory
usage down.
Commit: 8407779bb7256c320f75913edf07c20c4e4c370a
https://github.com/llvm/llvm-project/commit/8407779bb7256c320f75913edf07c20c4e4c370a
Author: Andrey Portnoy <aportnoy at nvidia.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/BuiltinsNVPTX.def
M clang/include/clang/Basic/Cuda.h
M clang/lib/Basic/Cuda.cpp
M clang/lib/Driver/ToolChains/Cuda.cpp
M llvm/lib/Target/NVPTX/NVPTX.td
Log Message:
-----------
[CUDA] Mark CUDA-12.5 as supported and introduce ptx 8.5. (#94113)
This PR is based on https://github.com/llvm/llvm-project/pull/91516.
Commit: cbe97e959dc67503d7cc44a3810e3124b6d3340e
https://github.com/llvm/llvm-project/commit/cbe97e959dc67503d7cc44a3810e3124b6d3340e
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M libc/test/src/math/CMakeLists.txt
M libc/test/src/math/CeilTest.h
M libc/test/src/math/FloorTest.h
M libc/test/src/math/RoundEvenTest.h
M libc/test/src/math/RoundTest.h
M libc/test/src/math/TruncTest.h
R libc/test/src/math/ceilf16_test.cpp
R libc/test/src/math/floorf16_test.cpp
R libc/test/src/math/roundevenf16_test.cpp
R libc/test/src/math/roundf16_test.cpp
R libc/test/src/math/truncf16_test.cpp
M libc/utils/MPFRWrapper/MPFRUtils.cpp
Log Message:
-----------
Revert "[libc][math][c23] Add MPFR unit tests for {ceil,floor,round,roundeven,trunc}f16 (#94383)" (#94505)
This reverts commit fda1e4b01f723c31a36ad659564ae4a61365930e.
The commit caused Buildbot failures:
- https://lab.llvm.org/buildbot/#/builders/256/builds/14331
- https://lab.llvm.org/buildbot/#/builders/229/builds/27009
Commit: 2b939e182db6251f1d54a990e080df5ac8f05c29
https://github.com/llvm/llvm-project/commit/2b939e182db6251f1d54a990e080df5ac8f05c29
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/include/clang/AST/OpenACCClause.h
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/OpenACCClauses.def
M clang/lib/AST/OpenACCClause.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/Parse/ParseOpenACC.cpp
M clang/lib/Sema/SemaOpenACC.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/test/AST/ast-print-openacc-loop-construct.cpp
M clang/test/ParserOpenACC/parse-clauses.c
M clang/test/SemaOpenACC/compute-construct-default-clause.c
M clang/test/SemaOpenACC/compute-construct-default-clause.cpp
M clang/test/SemaOpenACC/compute-construct-device_type-clause.c
A clang/test/SemaOpenACC/loop-construct-auto_seq_independent-ast.cpp
A clang/test/SemaOpenACC/loop-construct-auto_seq_independent-clauses.c
M clang/test/SemaOpenACC/loop-construct-device_type-clause.c
M clang/tools/libclang/CIndex.cpp
Log Message:
-----------
[OpenACC] Implement auto/seq/independent clause Sema for 'loop'
These three clauses are all quite trivial, as they take no parameters.
They are mutually exclusive, and 'seq' has some other exclusives that
are implemented here.
The ONE thing that isn't implemented is 2.9's restriction (line 2010):
'A loop associated with a 'loop' construct that does not have a 'seq'
clause must be written to meet all the following conditions'.
Future clauses will require similar work, so it'll be done as a
followup.
Commit: 4e0d9370f49f517290f522be2f68901921a6086e
https://github.com/llvm/llvm-project/commit/4e0d9370f49f517290f522be2f68901921a6086e
Author: Jordan Rupprecht <rupprecht at google.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
Log Message:
-----------
[bazel][windows] Add ntdll linkopt for Support (#94501)
Mirror the cmake change in cb7690af09b95bb944baf1b5a9ffb18f86c12130
```
lld-link: error: undefined symbol: __declspec(dllimport) RtlGetLastNtStatus
>>> referenced by Support.lib(ErrorHandling.obj):(class std::error_code __cdecl llvm::mapLastWindowsError(void))
```
Commit: 539b72f2e15f0d8a74a6c05c7085035040a3a831
https://github.com/llvm/llvm-project/commit/539b72f2e15f0d8a74a6c05c7085035040a3a831
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M lldb/include/lldb/Expression/DWARFExpression.h
M lldb/include/lldb/Expression/DWARFExpressionList.h
M lldb/source/Core/ValueObjectVariable.cpp
M lldb/source/Expression/DWARFExpression.cpp
M lldb/source/Expression/DWARFExpressionList.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Symbol/Function.cpp
M lldb/source/Target/RegisterContextUnwind.cpp
M lldb/source/Target/StackFrame.cpp
M lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp
M lldb/unittests/Expression/DWARFExpressionTest.cpp
M llvm/include/llvm/Support/Error.h
Log Message:
-----------
[lldb] Return an llvm::Expected from DWARFExpression::Evaluate (NFCI) (#94420)
Change the signature of `DWARFExpression::Evaluate` and
`DWARFExpressionList::Evaluate` to return an `llvm::Expected` instead of a
boolean. This eliminates the `Status` output parameter and generally improves
error handling.
Commit: 70550cd6aa9f2587e166d6ab9636192af3f3264d
https://github.com/llvm/llvm-project/commit/70550cd6aa9f2587e166d6ab9636192af3f3264d
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.cpp
Log Message:
-----------
[x-project tests] Fix ambiguity in call to createStringError (NFC)
Fixes:
https://lab.llvm.org/buildbot/#/builders/139/builds/66928/
https://lab.llvm.org/buildbot/#/builders/216/builds/40166/
Commit: 59e9160ac8c906c5448c2094cd28cb5bc7678a3f
https://github.com/llvm/llvm-project/commit/59e9160ac8c906c5448c2094cd28cb5bc7678a3f
Author: Augusto Noronha <augusto2112 at me.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M lldb/source/Core/ValueObject.cpp
Log Message:
-----------
[lldb] UpdateFormatsIfNeeded should respect the dynamic value type (#93262)
UpdateFormatsIfNeeded has hardcoded the call to GetFormat with no
dynamic values. GetFormat will try to find the synthetic children of the
ValueObject, and passing the wrong one can fail, which can be bad for
performance but should not be user visible. Fix the performace bug by
passing the dynamic value type of the ValueObject.
rdar://122506593
Commit: 31ba25ec604cff73331526fc9555e07fdd3152fe
https://github.com/llvm/llvm-project/commit/31ba25ec604cff73331526fc9555e07fdd3152fe
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/test/CodeGen/RISCV/rvv/rv32-spill-vector-csr.ll
M llvm/test/CodeGen/RISCV/rvv/rv64-spill-vector-csr.ll
Log Message:
-----------
[RISCV] Remove unnecessary patterns for tail agnostic FP intrinsics with rounding mode. (#94498)
These are patterns that explicitly check for undef. Similar patterns do
not exist without rounding mode. The vsetvli insertion pass should be
able to detect that the passthru is undef.
The test changes seem to be a deficiency in identifying passthru being
undef in the vsetvli inserter for -O0.
Commit: 461dcd4a000fa2b88759a275bc6803b89efc5972
https://github.com/llvm/llvm-project/commit/461dcd4a000fa2b88759a275bc6803b89efc5972
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/readability/RedundantMemberInitCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/readability/redundant-member-init.cpp
Log Message:
-----------
[clang-tidy] Fix handling of members in readability-redundant-member-init (#93217)
Compare class type instead of just assuming
that called constructor belong to same class.
Fixes #91605
Commit: 39e12e0ab2dd3b0ed9741c9796de15a020741727
https://github.com/llvm/llvm-project/commit/39e12e0ab2dd3b0ed9741c9796de15a020741727
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M lldb/test/API/tools/lldb-dap/optimized/TestDAP_optimized.py
Log Message:
-----------
[lldb] Update error message in TestDAP_optimized after #94420
Fixes:
https://lab.llvm.org/buildbot/#/builders/68/builds/75571
Commit: bfc0f856b6b07b05662ffa423eb359e63f13c303
https://github.com/llvm/llvm-project/commit/bfc0f856b6b07b05662ffa423eb359e63f13c303
Author: Vidush Singhal <54336227+vidsinghal at users.noreply.github.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/include/llvm/Transforms/IPO/Attributor.h
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
Log Message:
-----------
[NFC] : Run clang-format on Attributor.h and AttributorAttributes.cpp (#94484)
This PR just runs Clang format on Attributor.h and AttributorAttributes.cpp
Co-authored-by: Vidush Singhal <singhal2 at ruby964.llnl.gov>
Commit: a3d9ca929712ea7c662bb36830cf349271137f2e
https://github.com/llvm/llvm-project/commit/a3d9ca929712ea7c662bb36830cf349271137f2e
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/test/CodeGen/RISCV/rvv/vsll.ll
Log Message:
-----------
[RISCV] Make the vsll->vadd intrinsic pattern support tail undisturbed intrinsics.
We convert a shift left by 1 to vadd. But we only did it for
tail agnostic or masked intrinsics. This extends it to tail undisturbed
unmasked intrinsics.
Commit: 8b18f2fe066b9f895185f1d94c6cf34901590164
https://github.com/llvm/llvm-project/commit/8b18f2fe066b9f895185f1d94c6cf34901590164
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.h
M flang/lib/Lower/OpenMP/Clauses.h
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
M flang/lib/Lower/OpenMP/Utils.cpp
Log Message:
-----------
[flang][OpenMP] Add `sym()` member function to omp::Object (#94493)
The object identity requires more than just `Symbol`. Don't use `id()`
to get the Symbol associated with the object, becase the return value
will need to change. Instead use `sym()` which is added for that reason.
Commit: 7dcff5912a7d2b449d43759f5d87a993fa0b65ff
https://github.com/llvm/llvm-project/commit/7dcff5912a7d2b449d43759f5d87a993fa0b65ff
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaOpenACC.cpp
M clang/test/AST/ast-print-openacc-loop-construct.cpp
M clang/test/SemaOpenACC/loop-construct-auto_seq_independent-clauses.c
A clang/test/SemaOpenACC/loop-construct-private-clause.c
A clang/test/SemaOpenACC/loop-construct-private-clause.cpp
Log Message:
-----------
[OpenACC] Implement 'private' clause sema for loop constructs
This clause works identically as far as Sema is concerned, to the
'private' clause on compute constructs, so this simply adds tests and
unblocks the ASTNode generation and Sema checking when used on loop
clauses.
Commit: 0559eaff5ac4afae14dcbb6396da2a0c3f325cd8
https://github.com/llvm/llvm-project/commit/0559eaff5ac4afae14dcbb6396da2a0c3f325cd8
Author: Nishith Kumar M Shah <nishithshah.2211 at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/include/clang/Lex/DependencyDirectivesScanner.h
M clang/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h
M clang/lib/Frontend/FrontendActions.cpp
M clang/lib/Lex/DependencyDirectivesScanner.cpp
M clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
M clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
M clang/unittests/Lex/DependencyDirectivesScannerTest.cpp
M clang/unittests/Lex/PPDependencyDirectivesTest.cpp
Log Message:
-----------
Revert "Pass LangOpts from CompilerInstance to DependencyScanningWorker (#93753)" (#94488)
This reverts commit 9862080b1cbf685c0d462b29596e3f7206d24aa2.
Commit: 4f40dfc2fdb6109702a4fcddff15d352eb216403
https://github.com/llvm/llvm-project/commit/4f40dfc2fdb6109702a4fcddff15d352eb216403
Author: Joshua Cranmer <joshua.cranmer at intel.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/Operator.h
Log Message:
-----------
[IR] Remove the possibility of ConstantExpr having fast-math flags. (#94507)
This possibility was added in https://reviews.llvm.org/D34303 to resolve
some assertion failures with cases where FP math operations got
constant-folded in constant expressions. However, at no point did the IR
representation allow for expressing fast-math flags on constant
expressions.
With the change of https://github.com/llvm/llvm-project/pull/93038,
there are no longer any constant expressions capable of being FP math
operators, and thus FPMathOperator can go back to being
Instruction-only.
Commit: c8d63516ac9e15831975392dd9f6b9ae6a31b21c
https://github.com/llvm/llvm-project/commit/c8d63516ac9e15831975392dd9f6b9ae6a31b21c
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/test/Analysis/ScalarEvolution/trip-count-unknown-stride.ll
Log Message:
-----------
[SCEV] Add coverage for howFarToZero w/ non-constant strides
Specifically, cases which require context sensative reasoning which
the current code doesn't do.
Commit: 3d44926712389945468a566c9058b2e715f8f2ad
https://github.com/llvm/llvm-project/commit/3d44926712389945468a566c9058b2e715f8f2ad
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/test/src/math/libc_math_test_rules.bzl
M utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel
Log Message:
-----------
[bazel] Sync config with main (#94521)
Commit: 1d8743359360d3d960d599e03e62537dc108aae2
https://github.com/llvm/llvm-project/commit/1d8743359360d3d960d599e03e62537dc108aae2
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/VecFuncs.def
M llvm/include/llvm/CodeGen/BasicTTIImpl.h
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/include/llvm/IR/RuntimeLibcalls.def
M llvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
M llvm/include/llvm/Target/TargetSelectionDAG.td
M llvm/lib/Analysis/VectorUtils.cpp
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/Utils.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/CodeGen/TargetLoweringBase.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
A llvm/test/CodeGen/X86/llvm.tan.ll
M llvm/test/CodeGen/X86/vec-libcalls.ll
M llvm/test/Transforms/LoopVectorize/X86/amdlibm-calls.ll
M llvm/test/Transforms/LoopVectorize/X86/libm-vector-calls-VF2-VF8.ll
M llvm/test/Transforms/LoopVectorize/X86/svml-calls.ll
M llvm/test/Transforms/LoopVectorize/X86/veclib-calls.ll
Log Message:
-----------
[x86] Add tan intrinsic part 4 (#90503)
This change is an implementation of #87367's investigation on supporting
IEEE math operations as intrinsics.
Which was discussed in this RFC:
https://discourse.llvm.org/t/rfc-all-the-math-intrinsics/78294
Much of this change was following how G_FSIN and G_FCOS were used.
Changes:
- `llvm/docs/GlobalISel/GenericOpcode.rst` - Document the `G_FTAN`
opcode
- `llvm/docs/LangRef.rst` - Document the tan intrinsic
- `llvm/include/llvm/Analysis/VecFuncs.def` - Associate the tan
intrinsic as a vector function similar to the tanf libcall.
- `llvm/include/llvm/CodeGen/BasicTTIImpl.h` - Map the tan intrinsic to
`ISD::FTAN`
- `llvm/include/llvm/CodeGen/ISDOpcodes.h` - Define ISD opcodes for
`FTAN` and `STRICT_FTAN`
- `llvm/include/llvm/IR/Intrinsics.td` - Create the tan intrinsic
- `llvm/include/llvm/IR/RuntimeLibcalls.def` - Define tan libcall
mappings
- `llvm/include/llvm/Target/GenericOpcodes.td` - Define the `G_FTAN`
Opcode
- `llvm/include/llvm/Support/TargetOpcodes.def` - Create a `G_FTAN`
Opcode handler
- `llvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td` - Map
`G_FTAN` to `ftan`
- `llvm/include/llvm/Target/TargetSelectionDAG.td` - Define `ftan`,
`strict_ftan`, and `any_ftan` and map them to the ISD opcodes for `FTAN`
and `STRICT_FTAN`
- `llvm/lib/Analysis/VectorUtils.cpp` - Associate the tan intrinsic as a
vector intrinsic
- `llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp` Map the tan intrinsic
to `G_FTAN` Opcode
- `llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp` - Add `G_FTAN` to
the list of floating point math operations also associate `G_FTAN` with
the `TAN_F` runtime lib.
- `llvm/lib/CodeGen/GlobalISel/Utils.cpp` - More floating point math
operation common behaviors.
- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp - List the function
expansion operations for `FTAN` and `STRICT_FTAN`. Also define both
opcodes in `PromoteNode`.
- `llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp` - More `FTAN`
and `STRICT_FTAN` handling in the legalizer
- `llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h` - Define
`SoftenFloatRes_FTAN` and `ExpandFloatRes_FTAN`.
- `llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp` - Define `FTAN`
as a legal vector operation.
- `llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp` - Define
`FTAN` as a legal vector operation.
- `llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp` - define tan as an
intrinsic that doesn't return NaN.
- `llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp` Map
`LibFunc_tan`, `LibFunc_tanf`, and `LibFunc_tanl` to `ISD::FTAN`. Map
`Intrinsic::tan` to `ISD::FTAN` and add selection dag handling for
`Intrinsic::tan`.
- `llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp` - Define `ftan`
and `strict_ftan` names for the equivalent ISD opcodes.
- `llvm/lib/CodeGen/TargetLoweringBase.cpp` -Define a Tan128 libcall and
ISD::FTAN as a target lowering action.
- `llvm/lib/Target/X86/X86ISelLowering.cpp` - Add x86_64 lowering for
tan intrinsic
resolves https://github.com/llvm/llvm-project/issues/70082
Commit: 3ac6a646d40cb16aebb3467007efa2e499383a3d
https://github.com/llvm/llvm-project/commit/3ac6a646d40cb16aebb3467007efa2e499383a3d
Author: Alex Bradbury <asb at igalia.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
A llvm/test/Transforms/LoopStrengthReduce/RISCV/many-geps.ll
Log Message:
-----------
[RISCV][test] Precommit LSR test that partially motivates #89927
Commit: 21711f89b9d85028160611f725bd33d7832d1d46
https://github.com/llvm/llvm-project/commit/21711f89b9d85028160611f725bd33d7832d1d46
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
Log Message:
-----------
[LegalizeVectorOps] Move VP_STORE legalization from LegalizeDAG to LegalizeVectorOps.
705636a1130551ab105aec95b909a35a0305fc9f moved reductions from
LegalizeVectorOps to LegalizeDAG, but the way it was done inadvertently
moved stores from LegalizeVectorOps to LegalizeDAG too. This was
not intended or desired.
Found when this was pulled into my downstream which has other changes
that make the distinction important.
Commit: 73a2fd470c58eb10e2e51466a053dd30b63bbe7a
https://github.com/llvm/llvm-project/commit/73a2fd470c58eb10e2e51466a053dd30b63bbe7a
Author: Artem Kroviakov <71938912+akroviakov at users.noreply.github.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
Log Message:
-----------
[mlir][xegpu] Patch dynamic descriptor creation (#93580)
fixes the bug in XeGPU's `CreateNdDescOp` tensor creation with dynamic offset and strides.
Commit: 3beb232fb4fd1943155174d58a454493828cd719
https://github.com/llvm/llvm-project/commit/3beb232fb4fd1943155174d58a454493828cd719
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/lib/Interpreter/IncrementalParser.cpp
M clang/lib/Sema/SemaDecl.cpp
Log Message:
-----------
Fix clang reject valid C++ code after d999ce0302f06d250f6d496b56a5a5f (#94471)
The incremental processing mode doesn't seem to work well for C++, see
the
https://github.com/llvm/llvm-project/pull/89804#issuecomment-2149840711
for details.
Commit: a4b32c25761e3de55d42a4799a303f36aa198fb7
https://github.com/llvm/llvm-project/commit/a4b32c25761e3de55d42a4799a303f36aa198fb7
Author: Martin Storsjö <martin at martin.st>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M compiler-rt/lib/builtins/atomic.c
Log Message:
-----------
Revert "[compiler-rt][builtins] Switch libatomic locks to pthread_mutex_t (#94374)"
This reverts commit b62b7a42bbee4a3bbf9094808f460fdc9c119bd7 and
a5729b71d844c1444f7d348dc2d4ea5b98de5ec5.
This commit broke compilation for systems that lack pthreads.
Commit: b477d1de6e3a5e5860fe7fdf272e8bbb6a330f48
https://github.com/llvm/llvm-project/commit/b477d1de6e3a5e5860fe7fdf272e8bbb6a330f48
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M libc/src/__support/CPP/CMakeLists.txt
M libc/src/__support/CPP/type_traits.h
A libc/src/__support/CPP/type_traits/aligned_storage.h
M libc/test/src/__support/CPP/type_traits_test.cpp
Log Message:
-----------
[libc][type_traits] Add aligned_storage (#94074)
Commit: f8afa763c6194f5bf485480e1fb94b953942f876
https://github.com/llvm/llvm-project/commit/f8afa763c6194f5bf485480e1fb94b953942f876
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M lldb/examples/python/crashlog.py
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/lit.local.cfg
Log Message:
-----------
[lldb/crashlog] Use environment variable to manually set dsymForUUIDBinary (#94517)
In lldb, users can change the `dsymForUUID` binary using the
`LLDB_APPLE_DSYMFORUUID_EXECUTABLE` environment variable.
This patch changes the crashlog to support the same behaviour as lldb
and uses this environment variable to disable `dsymForUUID` lookups in
crashlog test by having it be empty. Since CI bots shoudn't have access
to images on build records, it doesn't make sense to make use of
`dsymForUUID` in tests.
rdar://128953725
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: e675d0d5cd4047bcf4ec368d2b4c19a57e5347f3
https://github.com/llvm/llvm-project/commit/e675d0d5cd4047bcf4ec368d2b4c19a57e5347f3
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/include/clang/AST/OpenACCClause.h
M clang/include/clang/Basic/OpenACCClauses.def
M clang/lib/AST/OpenACCClause.cpp
M clang/lib/Sema/SemaOpenACC.cpp
Log Message:
-----------
[OpenACC][NFC] Refactor SemaOpenACC to use a visitor
This code was getting unwieldy, so a quick patch to refactor it a bit.
Commit: 2b5cfc8b55e60c953d23c570bb6bfdb5c0af0ad3
https://github.com/llvm/llvm-project/commit/2b5cfc8b55e60c953d23c570bb6bfdb5c0af0ad3
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M .ci/generate-buildkite-pipeline-premerge
M .ci/monolithic-linux.sh
M .ci/monolithic-windows.sh
M .github/CODEOWNERS
M .github/new-prs-labeler.yml
M .github/workflows/issue-release-workflow.yml
M .github/workflows/issue-subscriber.yml
M .github/workflows/libclang-abi-tests.yml
M .github/workflows/llvm-bugs.yml
M .github/workflows/merged-prs.yml
M .github/workflows/new-prs.yml
A .github/workflows/pr-request-release-note.yml
M .github/workflows/pr-subscriber.yml
M .github/workflows/release-binaries.yml
A .github/workflows/restart-preempted-libcxx-jobs.yaml
M .github/workflows/version-check.yml
M bolt/CMakeLists.txt
M bolt/cmake/modules/AddBOLT.cmake
M bolt/docs/BAT.md
M bolt/docs/CMakeLists.txt
A bolt/docs/CommandLineArgumentReference.md
A bolt/docs/generate_doc.py
M bolt/include/bolt/Core/BinaryBasicBlock.h
M bolt/include/bolt/Core/BinaryContext.h
M bolt/include/bolt/Core/BinarySection.h
M bolt/include/bolt/Core/DIEBuilder.h
M bolt/include/bolt/Core/DebugData.h
M bolt/include/bolt/Core/DebugNames.h
M bolt/include/bolt/Core/FunctionLayout.h
M bolt/include/bolt/Core/MCPlusBuilder.h
M bolt/include/bolt/Passes/BinaryPasses.h
M bolt/include/bolt/Passes/MCF.h
M bolt/include/bolt/Passes/StokeInfo.h
M bolt/include/bolt/Profile/BoltAddressTranslation.h
M bolt/include/bolt/Profile/DataAggregator.h
M bolt/include/bolt/Rewrite/DWARFRewriter.h
M bolt/include/bolt/Rewrite/MetadataManager.h
M bolt/include/bolt/Rewrite/MetadataRewriter.h
M bolt/include/bolt/Rewrite/MetadataRewriters.h
M bolt/include/bolt/Rewrite/RewriteInstance.h
M bolt/lib/Core/BinaryBasicBlock.cpp
M bolt/lib/Core/BinaryContext.cpp
M bolt/lib/Core/BinaryEmitter.cpp
M bolt/lib/Core/BinaryFunction.cpp
M bolt/lib/Core/DIEBuilder.cpp
M bolt/lib/Core/DebugData.cpp
M bolt/lib/Core/DebugNames.cpp
M bolt/lib/Core/DynoStats.cpp
M bolt/lib/Core/FunctionLayout.cpp
M bolt/lib/Passes/BinaryFunctionCallGraph.cpp
M bolt/lib/Passes/BinaryPasses.cpp
M bolt/lib/Passes/CacheMetrics.cpp
M bolt/lib/Passes/IdenticalCodeFolding.cpp
M bolt/lib/Passes/Inliner.cpp
M bolt/lib/Passes/Instrumentation.cpp
M bolt/lib/Passes/MCF.cpp
M bolt/lib/Passes/ValidateMemRefs.cpp
M bolt/lib/Profile/BoltAddressTranslation.cpp
M bolt/lib/Profile/CMakeLists.txt
M bolt/lib/Profile/DataAggregator.cpp
M bolt/lib/Profile/DataReader.cpp
M bolt/lib/Profile/StaleProfileMatching.cpp
M bolt/lib/Profile/YAMLProfileReader.cpp
M bolt/lib/Profile/YAMLProfileWriter.cpp
M bolt/lib/Rewrite/BinaryPassManager.cpp
A bolt/lib/Rewrite/BuildIDRewriter.cpp
M bolt/lib/Rewrite/CMakeLists.txt
M bolt/lib/Rewrite/DWARFRewriter.cpp
M bolt/lib/Rewrite/LinuxKernelRewriter.cpp
M bolt/lib/Rewrite/MetadataManager.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
M bolt/lib/Utils/CommandLineOpts.cpp
M bolt/runtime/instr.cpp
M bolt/test/AArch64/Inputs/array_end.lld_script
M bolt/test/AArch64/lit.local.cfg
M bolt/test/CMakeLists.txt
R bolt/test/Inputs/lsda.ldscript
A bolt/test/X86/Inputs/blarge_new_bat_order.preagg.txt
A bolt/test/X86/Inputs/dwarf4-df-input-lowpc-ranges-other.s
A bolt/test/X86/Inputs/dwarf4-subprogram-multiple-ranges-other.s
A bolt/test/X86/Inputs/dwarf5-df-input-lowpc-ranges-other.s
M bolt/test/X86/Inputs/dwarf5-df-types-debug-names-main.s
A bolt/test/X86/Inputs/dwarf5-subprogram-multiple-ranges-other.s
M bolt/test/X86/addr32.s
M bolt/test/X86/asm-func-debug.test
M bolt/test/X86/avx512-trap.test
M bolt/test/X86/bb-with-two-tail-calls.s
M bolt/test/X86/block-reordering.test
M bolt/test/X86/bolt-address-translation-internal-call.test
M bolt/test/X86/bolt-address-translation-yaml.test
M bolt/test/X86/bolt-address-translation.test
M bolt/test/X86/branch-data.test
M bolt/test/X86/broken_dynsym.test
M bolt/test/X86/bug-function-layout-execount.s
M bolt/test/X86/bug-reorder-bb-jrcxz.s
M bolt/test/X86/calculate-emitted-block-size.s
M bolt/test/X86/call-zero.s
M bolt/test/X86/cdsplit-call-scale.s
M bolt/test/X86/cdsplit-symbol-names.s
M bolt/test/X86/cfi-expr-rewrite.s
M bolt/test/X86/cfi-instrs-count.s
M bolt/test/X86/cfi-instrs-reordered.s
M bolt/test/X86/checkvma-large-section.test
M bolt/test/X86/ctc-and-unreachable.test
M bolt/test/X86/debug-fission-single-convert.s
M bolt/test/X86/debug-fission-single.s
M bolt/test/X86/double-jump.test
M bolt/test/X86/dwarf-handle-visit-loclist-error.s
M bolt/test/X86/dwarf-test-df-logging.test
M bolt/test/X86/dwarf3-lowpc-highpc-convert.s
M bolt/test/X86/dwarf4-cross-cu-backward-different-abbrev.test
M bolt/test/X86/dwarf4-cross-cu-forward-different-abbrev.test
M bolt/test/X86/dwarf4-cross-cu-loclist-dwarf4-loclist--dwarf5-loclist.test
M bolt/test/X86/dwarf4-df-basic.test
M bolt/test/X86/dwarf4-df-call-site-change-low-pc.test
M bolt/test/X86/dwarf4-df-change-in-dw-op-gnu-addr-index-main.test
M bolt/test/X86/dwarf4-df-do-no-convert-low-pc-high-pc-to-ranges.test
M bolt/test/X86/dwarf4-df-dualcu-loclist.test
M bolt/test/X86/dwarf4-df-dualcu.test
M bolt/test/X86/dwarf4-df-inlined-subroutine-lowpc-0.test
A bolt/test/X86/dwarf4-df-input-lowpc-ranges-cus.test
M bolt/test/X86/dwarf4-df-input-lowpc-ranges.test
M bolt/test/X86/dwarf4-df-no-base.test
M bolt/test/X86/dwarf4-do-no-convert-low-pc-high-pc-to-ranges.test
M bolt/test/X86/dwarf4-duplicate-types.test
M bolt/test/X86/dwarf4-ftypes-dwo-input-dwp-output.test
M bolt/test/X86/dwarf4-ftypes-dwo-mono-input-dwp-output.test
M bolt/test/X86/dwarf4-ftypes-dwp-input-dwo-output.test
M bolt/test/X86/dwarf4-ftypes-dwp-input-dwp-output.test
M bolt/test/X86/dwarf4-gdb-index-types-gdb-generated.test
M bolt/test/X86/dwarf4-gdb-index-types-lld-generated.test
M bolt/test/X86/dwarf4-invalid-reference-die-offset-no-internal-dwarf-error.s
M bolt/test/X86/dwarf4-invalid-reference-die-offset-with-internal-dwarf-error-cant-parse-die.s
M bolt/test/X86/dwarf4-invalid-reference-die-offset-with-internal-dwarf-error-invalid-die.s
M bolt/test/X86/dwarf4-sibling.s
M bolt/test/X86/dwarf4-size-0-inlined_subroutine.s
M bolt/test/X86/dwarf4-split-dwarf-no-address.test
M bolt/test/X86/dwarf4-split-gdb-index-types-gdb-generated.test
A bolt/test/X86/dwarf4-subprogram-multiple-ranges-cus.test
M bolt/test/X86/dwarf4-subprogram-multiple-ranges.test
M bolt/test/X86/dwarf4-subprogram-single-gc-ranges.test
M bolt/test/X86/dwarf4-subprogram-single-ranges.test
M bolt/test/X86/dwarf4-types-dwarf5-types.test
M bolt/test/X86/dwarf4-types-dwarf5.test
M bolt/test/X86/dwarf4-types-forward-backward-cross-reference.s
M bolt/test/X86/dwarf4-types.test
M bolt/test/X86/dwarf5-addr-section-reuse.s
M bolt/test/X86/dwarf5-call-pc-function-null-check.test
M bolt/test/X86/dwarf5-call-pc.test
M bolt/test/X86/dwarf5-cu-no-debug-addr.test
M bolt/test/X86/dwarf5-debug-info-dwarf4-debug-line.s
M bolt/test/X86/dwarf5-debug-line-not-modified.test
M bolt/test/X86/dwarf5-debug-line.s
M bolt/test/X86/dwarf5-debug-loclists.s
A bolt/test/X86/dwarf5-debug-names-class-type-decl.s
A bolt/test/X86/dwarf5-debug-names-enumeration-type-decl.s
A bolt/test/X86/dwarf5-debug-names-skip-forward-decl.s
A bolt/test/X86/dwarf5-debug-names-structure-type-decl.s
M bolt/test/X86/dwarf5-df-call-site-change-low-pc.test
M bolt/test/X86/dwarf5-df-change-in-dw-op-gnu-addr-index-main.test
M bolt/test/X86/dwarf5-df-cu-function-gc.test
M bolt/test/X86/dwarf5-df-dualcu-loclist.test
M bolt/test/X86/dwarf5-df-dualcu.test
M bolt/test/X86/dwarf5-df-inlined-subroutine-gc-sections-range.test
M bolt/test/X86/dwarf5-df-inlined-subroutine-range-0.test
A bolt/test/X86/dwarf5-df-input-lowpc-ranges-cus.test
M bolt/test/X86/dwarf5-df-input-lowpc-ranges.test
M bolt/test/X86/dwarf5-df-mono-dualcu.test
M bolt/test/X86/dwarf5-df-output-dir-same-name.test
M bolt/test/X86/dwarf5-df-types-dup-dwp-input.test
A bolt/test/X86/dwarf5-df-types-modify-dwo-name-mixed.test
A bolt/test/X86/dwarf5-df-types-modify-dwo-name.test
M bolt/test/X86/dwarf5-do-no-convert-low-pc-high-pc-to-ranges.test
M bolt/test/X86/dwarf5-dwarf4-gdb-index-types-gdb-generated-gdb11.test
M bolt/test/X86/dwarf5-dwarf4-gdb-index-types-gdb-generated-gdb9.test
M bolt/test/X86/dwarf5-dwarf4-gdb-index-types-lld-generated.test
M bolt/test/X86/dwarf5-dwarf4-monolithic.test
M bolt/test/X86/dwarf5-dwarf4-types-backward-forward-cross-reference.test
M bolt/test/X86/dwarf5-ftypes-dwo-mono-input-dwp-output.test
M bolt/test/X86/dwarf5-ftypes-dwp-input-dwo-output.test
M bolt/test/X86/dwarf5-gdb-index-types-gdb-generated-gdb11.test
M bolt/test/X86/dwarf5-gdb-index-types-gdb-generated-gdb9.test
M bolt/test/X86/dwarf5-gdb-index-types-lld-generated.test
M bolt/test/X86/dwarf5-locaddrx.test
M bolt/test/X86/dwarf5-locexpr-addrx.s
M bolt/test/X86/dwarf5-locexpr-referrence.test
M bolt/test/X86/dwarf5-loclist-offset-form.test
M bolt/test/X86/dwarf5-lowpc-highpc-convert.s
M bolt/test/X86/dwarf5-multiple-dw-op-addrx-locexpr.s
M bolt/test/X86/dwarf5-one-loclists-two-bases.test
M bolt/test/X86/dwarf5-rangeoffset-to-rangeindex.s
M bolt/test/X86/dwarf5-return-pc-form-addr.test
M bolt/test/X86/dwarf5-return-pc.test
M bolt/test/X86/dwarf5-shared-str-offset-base.s
M bolt/test/X86/dwarf5-split-dwarf4-monolithic.test
M bolt/test/X86/dwarf5-split-gdb-index-types-gdb-generated.test
A bolt/test/X86/dwarf5-subprogram-multiple-ranges-cus.test
M bolt/test/X86/dwarf5-subprogram-multiple-ranges.test
M bolt/test/X86/dwarf5-subprogram-single-gc-ranges.test
M bolt/test/X86/dwarf5-subprogram-single-ranges.test
M bolt/test/X86/dwarf5-two-loclists.test
M bolt/test/X86/dwarf5-two-rnglists.test
M bolt/test/X86/dwarf5-types-backward-cross-reference.s
M bolt/test/X86/dwarf5-types-forward-cross-reference.s
M bolt/test/X86/dynrelocs.s
M bolt/test/X86/exceptions-args.test
M bolt/test/X86/fallthrough-to-noop.test
M bolt/test/X86/false-jump-table.s
M bolt/test/X86/fatal-error.s
M bolt/test/X86/fragment-lite-reverse.s
M bolt/test/X86/fragment-lite.s
M bolt/test/X86/fragmented-symbols.s
M bolt/test/X86/frame-opt-lea.s
M bolt/test/X86/function-order-lite.s
M bolt/test/X86/gdbindex.test
M bolt/test/X86/high_pc_udata.s
M bolt/test/X86/icp-inline.s
A bolt/test/X86/ignored-interprocedural-reference.s
M bolt/test/X86/indirect-goto-pie.test
M bolt/test/X86/indirect-goto.test
M bolt/test/X86/inlined-function-mixed.test
M bolt/test/X86/insert-addr-rnglists_base.s
M bolt/test/X86/insert-debug-info-entry.test
M bolt/test/X86/internal-call-instrument-so.s
M bolt/test/X86/internal-call-instrument.s
M bolt/test/X86/interprocedural-ref-entry-point.s
M bolt/test/X86/is-strip.s
M bolt/test/X86/issue20.s
M bolt/test/X86/issue20.test
M bolt/test/X86/issue26.s
M bolt/test/X86/issue26.test
M bolt/test/X86/jmp-optimization.test
M bolt/test/X86/jmpjmp.test
M bolt/test/X86/jt-symbol-disambiguation-3.s
A bolt/test/X86/jt-symbol-disambiguation-4.s
M bolt/test/X86/jump-table-fixed-ref-pic.test
M bolt/test/X86/jump-table-footprint-reduction.test
M bolt/test/X86/jump-table-icp.test
M bolt/test/X86/jump-table-pic-conflict.s
M bolt/test/X86/jump-table-pic-order.test
M bolt/test/X86/jump-table-reference.test
M bolt/test/X86/layout-heuristic.test
M bolt/test/X86/line-number.test
M bolt/test/X86/lit.local.cfg
M bolt/test/X86/log.test
M bolt/test/X86/loop-inversion-pass.s
M bolt/test/X86/loop-nest.test
M bolt/test/X86/merge-fdata-bat-mode.test
M bolt/test/X86/merge-fdata-nobat-mode.test
M bolt/test/X86/merge-fdata-output.test
M bolt/test/X86/no-entry-reordering.test
M bolt/test/X86/no-output.test
M bolt/test/X86/nolbr.s
M bolt/test/X86/patch-entries.test
M bolt/test/X86/pre-aggregated-perf.test
A bolt/test/X86/profile-passthrough-block.test
M bolt/test/X86/pt_gnu_relro.s
M bolt/test/X86/reader-stale-yaml-std.test
M bolt/test/X86/reader-stale-yaml.test
M bolt/test/X86/reader.test
M bolt/test/X86/register-fragments-bolt-symbols.s
M bolt/test/X86/relaxed-tailcall.test
M bolt/test/X86/remove-unused.test
M bolt/test/X86/rodata-simpl-loads.test
M bolt/test/X86/sctc-bug.test
M bolt/test/X86/sctc-bug2.test
M bolt/test/X86/sctc-bug3.test
M bolt/test/X86/sctc-bug4.test
M bolt/test/X86/shared_object_entry.s
M bolt/test/X86/shorten-mov.test
M bolt/test/X86/shrinkwrapping-and-rsp.s
M bolt/test/X86/shrinkwrapping-critedge.s
M bolt/test/X86/shrinkwrapping-do-not-pessimize.s
M bolt/test/X86/shrinkwrapping-insertcfi.s
M bolt/test/X86/shrinkwrapping-lea.s
M bolt/test/X86/shrinkwrapping-mov.s
M bolt/test/X86/shrinkwrapping-pop-order.s
M bolt/test/X86/shrinkwrapping-popf.s
M bolt/test/X86/shrinkwrapping-restore-position.s
M bolt/test/X86/shrinkwrapping.test
M bolt/test/X86/split-all-lptrampoline.s
M bolt/test/X86/split-all.s
M bolt/test/X86/split-func-icf.s
M bolt/test/X86/split-func-jump-table-fragment-bidirection.s
M bolt/test/X86/split-func-jump-table-fragment-noparent.s
M bolt/test/X86/split-func-jump-table-fragment-reverse.s
M bolt/test/X86/split-func-jump-table-fragment.s
M bolt/test/X86/split-func-jump-table-unknown.s
M bolt/test/X86/split-landing-pad.s
M bolt/test/X86/split-random.s
M bolt/test/X86/static-exe.test
M bolt/test/X86/symtab-secondary-entries.test
M bolt/test/X86/tail-duplication-cache.s
M bolt/test/X86/tail-duplication-cacheline.s
M bolt/test/X86/tail-duplication-complex.s
M bolt/test/X86/tail-duplication-jt.s
M bolt/test/X86/tail-duplication-pass.s
M bolt/test/X86/tail-duplication-prop-bug.s
M bolt/test/X86/tailcall-traps.test
M bolt/test/X86/tailcall.test
M bolt/test/X86/unclaimed-jt-entries.s
M bolt/test/X86/unreachable-jmp.s
M bolt/test/X86/unreachable.test
M bolt/test/X86/vararg.test
M bolt/test/X86/yaml-multiple-profiles.test
A bolt/test/X86/yaml-non-simple.test
M bolt/test/X86/zero-sized-object.s
M bolt/test/bad-exe.test
M bolt/test/bolt-icf.test
M bolt/test/bolt-info.test
M bolt/test/heatmap.test
M bolt/test/invalid-profile.test
M bolt/test/keep-aranges.test
M bolt/test/link_fdata.py
M bolt/test/lit.local.cfg
M bolt/test/lsda-section-name.cpp
M bolt/test/no-relocs.test
M bolt/test/non-empty-debug-line.test
M bolt/test/pie.test
M bolt/test/re-optimize.test
M bolt/test/runtime/X86/asm-dump.c
M bolt/test/runtime/X86/hot-end-symbol.s
M bolt/test/shared-object.test
M bolt/unittests/CMakeLists.txt
M clang-tools-extra/CMakeLists.txt
M clang-tools-extra/clang-query/CMakeLists.txt
M clang-tools-extra/clang-query/Query.cpp
M clang-tools-extra/clang-query/Query.h
M clang-tools-extra/clang-query/QueryParser.cpp
M clang-tools-extra/clang-query/QuerySession.h
M clang-tools-extra/clang-tidy/CMakeLists.txt
M clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
M clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.h
M clang-tools-extra/clang-tidy/ClangTidyOptions.cpp
M clang-tools-extra/clang-tidy/ClangTidyOptions.h
M clang-tools-extra/clang-tidy/bugprone/ForwardingReferenceOverloadCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/ImplicitWideningOfMultiplicationResultCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/IncorrectEnableIfCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/OptionalValueConversionCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/SuspiciousEnumUsageCheck.cpp
M clang-tools-extra/clang-tidy/cppcoreguidelines/MisleadingCaptureDefaultByValueCheck.cpp
M clang-tools-extra/clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.cpp
M clang-tools-extra/clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.h
M clang-tools-extra/clang-tidy/misc/CMakeLists.txt
M clang-tools-extra/clang-tidy/misc/UnusedParametersCheck.cpp
M clang-tools-extra/clang-tidy/modernize/CMakeLists.txt
M clang-tools-extra/clang-tidy/modernize/MinMaxUseInitializerListCheck.cpp
M clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp
M clang-tools-extra/clang-tidy/modernize/UseConstraintsCheck.cpp
A clang-tools-extra/clang-tidy/modernize/UseStdFormatCheck.cpp
A clang-tools-extra/clang-tidy/modernize/UseStdFormatCheck.h
M clang-tools-extra/clang-tidy/modernize/UseStdPrintCheck.cpp
M clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
M clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp
M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.h
M clang-tools-extra/clang-tidy/readability/ImplicitBoolConversionCheck.cpp
M clang-tools-extra/clang-tidy/readability/RedundantMemberInitCheck.cpp
M clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
M clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
M clang-tools-extra/clang-tidy/utils/FormatStringConverter.cpp
M clang-tools-extra/clang-tidy/utils/FormatStringConverter.h
M clang-tools-extra/clang-tidy/utils/Matchers.h
M clang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.cpp
M clang-tools-extra/clangd/AST.cpp
M clang-tools-extra/clangd/Config.h
M clang-tools-extra/clangd/ConfigCompile.cpp
M clang-tools-extra/clangd/ConfigFragment.h
M clang-tools-extra/clangd/ConfigYAML.cpp
M clang-tools-extra/clangd/Hover.cpp
M clang-tools-extra/clangd/IncludeCleaner.cpp
M clang-tools-extra/clangd/IncludeCleaner.h
M clang-tools-extra/clangd/ParsedAST.cpp
M clang-tools-extra/clangd/SemanticHighlighting.cpp
M clang-tools-extra/clangd/refactor/Rename.cpp
M clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
M clang-tools-extra/clangd/test/infinite-instantiation.test
M clang-tools-extra/clangd/unittests/CMakeLists.txt
M clang-tools-extra/clangd/unittests/ClangdTests.cpp
M clang-tools-extra/clangd/unittests/ConfigCompileTests.cpp
M clang-tools-extra/clangd/unittests/ConfigYAMLTests.cpp
M clang-tools-extra/clangd/unittests/FindTargetTests.cpp
M clang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp
M clang-tools-extra/clangd/unittests/ReplayPeambleTests.cpp
M clang-tools-extra/clangd/unittests/SelectionTests.cpp
M clang-tools-extra/clangd/unittests/tweaks/DefineOutlineTests.cpp
M clang-tools-extra/docs/CMakeLists.txt
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/special-member-functions.rst
M clang-tools-extra/docs/clang-tidy/checks/list.rst
M clang-tools-extra/docs/clang-tidy/checks/modernize/use-constraints.rst
A clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-format.rst
M clang-tools-extra/docs/clang-tidy/checks/readability/identifier-length.rst
M clang-tools-extra/docs/clang-tidy/checks/readability/implicit-bool-conversion.rst
M clang-tools-extra/docs/clang-tidy/index.rst
M clang-tools-extra/include-cleaner/lib/WalkAST.cpp
M clang-tools-extra/include-cleaner/unittests/CMakeLists.txt
M clang-tools-extra/modularize/ModularizeUtilities.cpp
M clang-tools-extra/pseudo/include/CMakeLists.txt
M clang-tools-extra/pseudo/tool/CMakeLists.txt
M clang-tools-extra/pseudo/unittests/CMakeLists.txt
M clang-tools-extra/test/CMakeLists.txt
M clang-tools-extra/test/clang-tidy/check_clang_tidy.py
M clang-tools-extra/test/clang-tidy/checkers/bugprone/optional-value-conversion.cpp
M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/pro-type-member-init-no-crash.cpp
M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/pro-type-member-init.cpp
M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/special-member-functions-relaxed.cpp
M clang-tools-extra/test/clang-tidy/checkers/misc/new-delete-overloads.cpp
A clang-tools-extra/test/clang-tidy/checkers/misc/unused-using-decls.hpp
R clang-tools-extra/test/clang-tidy/checkers/misc/unused-using-decls.hxx
M clang-tools-extra/test/clang-tidy/checkers/modernize/make-unique.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize/min-max-use-initializer-list.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize/use-constraints.cpp
A clang-tools-extra/test/clang-tidy/checkers/modernize/use-std-format-custom.cpp
A clang-tools-extra/test/clang-tidy/checkers/modernize/use-std-format-fmt.cpp
A clang-tools-extra/test/clang-tidy/checkers/modernize/use-std-format.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize/use-std-print-custom.cpp
M clang-tools-extra/test/clang-tidy/checkers/readability/container-size-empty.cpp
A clang-tools-extra/test/clang-tidy/checkers/readability/else-after-return-if-consteval.cpp
A clang-tools-extra/test/clang-tidy/checkers/readability/identifier-naming-outofline.cpp
A clang-tools-extra/test/clang-tidy/checkers/readability/implicit-bool-conversion.c
M clang-tools-extra/test/clang-tidy/checkers/readability/redundant-member-init.cpp
M clang-tools-extra/test/clang-tidy/infrastructure/Inputs/config-files/.clang-tidy
M clang-tools-extra/test/clang-tidy/infrastructure/Inputs/config-files/1/.clang-tidy
M clang-tools-extra/test/clang-tidy/infrastructure/Inputs/config-files/3/.clang-tidy
M clang-tools-extra/test/clang-tidy/infrastructure/config-files.cpp
M clang-tools-extra/test/clang-tidy/infrastructure/file-filter.cpp
M clang-tools-extra/unittests/CMakeLists.txt
M clang-tools-extra/unittests/clang-query/QueryParserTest.cpp
M clang/CMakeLists.txt
M clang/README.txt
M clang/bindings/python/tests/CMakeLists.txt
M clang/cmake/caches/CrossWinToARMLinux.cmake
M clang/cmake/caches/Fuchsia-stage2.cmake
M clang/cmake/caches/Fuchsia.cmake
M clang/cmake/caches/HLSL.cmake
M clang/cmake/caches/VectorEngine.cmake
M clang/cmake/modules/AddClang.cmake
M clang/docs/CMakeLists.txt
M clang/docs/ClangFormatStyleOptions.rst
M clang/docs/ClangLinkerWrapper.rst
A clang/docs/HLSL/AvailabilityDiagnostics.rst
M clang/docs/HLSL/HLSLDocs.rst
M clang/docs/InternalsManual.rst
M clang/docs/LanguageExtensions.rst
M clang/docs/LibASTMatchersReference.html
M clang/docs/ReleaseNotes.rst
M clang/docs/UsersManual.rst
M clang/docs/analyzer/checkers.rst
M clang/docs/tools/clang-formatted-files.txt
M clang/include/clang-c/Index.h
M clang/include/clang/APINotes/APINotesManager.h
M clang/include/clang/AST/ASTContext.h
M clang/include/clang/AST/ASTNodeTraverser.h
M clang/include/clang/AST/Decl.h
M clang/include/clang/AST/DeclBase.h
M clang/include/clang/AST/DeclTemplate.h
M clang/include/clang/AST/ExprCXX.h
M clang/include/clang/AST/OpenACCClause.h
M clang/include/clang/AST/RecursiveASTVisitor.h
M clang/include/clang/AST/StmtOpenACC.h
M clang/include/clang/AST/TemplateName.h
M clang/include/clang/AST/TextNodeDumper.h
M clang/include/clang/AST/Type.h
M clang/include/clang/AST/VTTBuilder.h
M clang/include/clang/ASTMatchers/ASTMatchers.h
M clang/include/clang/ASTMatchers/ASTMatchersInternal.h
M clang/include/clang/Analysis/Analyses/UnsafeBufferUsage.h
M clang/include/clang/Analysis/Analyses/UnsafeBufferUsageGadgets.def
M clang/include/clang/Analysis/FlowSensitive/ASTOps.h
A clang/include/clang/Analysis/FlowSensitive/CNFFormula.h
M clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h
M clang/include/clang/Analysis/FlowSensitive/WatchedLiteralsSolver.h
A clang/include/clang/Basic/ASTSourceDescriptor.h
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Basic/BuiltinsAArch64.def
M clang/include/clang/Basic/BuiltinsAMDGPU.def
M clang/include/clang/Basic/BuiltinsNVPTX.def
M clang/include/clang/Basic/BuiltinsWebAssembly.def
M clang/include/clang/Basic/BuiltinsX86.def
M clang/include/clang/Basic/CharInfo.h
M clang/include/clang/Basic/Cuda.h
M clang/include/clang/Basic/CustomizableOptional.h
M clang/include/clang/Basic/DebugOptions.def
M clang/include/clang/Basic/DiagnosticCommonKinds.td
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Basic/DiagnosticFrontendKinds.td
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticInstallAPIKinds.td
M clang/include/clang/Basic/DiagnosticLexKinds.td
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/FileManager.h
M clang/include/clang/Basic/LangOptions.def
M clang/include/clang/Basic/Module.h
M clang/include/clang/Basic/OpenACCClauses.def
M clang/include/clang/Basic/OpenACCKinds.h
M clang/include/clang/Basic/SourceManager.h
M clang/include/clang/Basic/StmtNodes.td
M clang/include/clang/Basic/TokenKinds.def
M clang/include/clang/Basic/arm_sme.td
M clang/include/clang/Basic/arm_sve.td
M clang/include/clang/Driver/Driver.h
M clang/include/clang/Driver/Options.td
M clang/include/clang/ExtractAPI/ExtractAPIVisitor.h
M clang/include/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h
M clang/include/clang/Format/Format.h
M clang/include/clang/Interpreter/Interpreter.h
M clang/include/clang/Lex/LiteralSupport.h
M clang/include/clang/Lex/Preprocessor.h
M clang/include/clang/Parse/Parser.h
A clang/include/clang/Sema/Attr.h
M clang/include/clang/Sema/Overload.h
M clang/include/clang/Sema/ParsedAttr.h
M clang/include/clang/Sema/Sema.h
A clang/include/clang/Sema/SemaAMDGPU.h
A clang/include/clang/Sema/SemaARM.h
A clang/include/clang/Sema/SemaAVR.h
A clang/include/clang/Sema/SemaBPF.h
M clang/include/clang/Sema/SemaBase.h
A clang/include/clang/Sema/SemaCodeCompletion.h
M clang/include/clang/Sema/SemaHLSL.h
A clang/include/clang/Sema/SemaHexagon.h
M clang/include/clang/Sema/SemaInternal.h
A clang/include/clang/Sema/SemaLoongArch.h
A clang/include/clang/Sema/SemaM68k.h
A clang/include/clang/Sema/SemaMIPS.h
A clang/include/clang/Sema/SemaMSP430.h
A clang/include/clang/Sema/SemaNVPTX.h
A clang/include/clang/Sema/SemaObjC.h
M clang/include/clang/Sema/SemaOpenACC.h
A clang/include/clang/Sema/SemaOpenCL.h
M clang/include/clang/Sema/SemaOpenMP.h
A clang/include/clang/Sema/SemaPPC.h
A clang/include/clang/Sema/SemaPseudoObject.h
A clang/include/clang/Sema/SemaRISCV.h
M clang/include/clang/Sema/SemaSYCL.h
A clang/include/clang/Sema/SemaSwift.h
A clang/include/clang/Sema/SemaSystemZ.h
A clang/include/clang/Sema/SemaWasm.h
A clang/include/clang/Sema/SemaX86.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ASTWriter.h
M clang/include/clang/Serialization/ModuleFile.h
M clang/include/clang/Serialization/ModuleManager.h
M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallDescription.h
M clang/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h
R clang/include/clang/Tooling/NodeIntrospection.h
M clang/lib/APINotes/APINotesManager.cpp
M clang/lib/ARCMigrate/ARCMT.cpp
M clang/lib/ARCMigrate/ObjCMT.cpp
M clang/lib/ARCMigrate/Transforms.cpp
M clang/lib/AST/APValue.cpp
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/ASTDiagnostic.cpp
M clang/lib/AST/ASTDumper.cpp
M clang/lib/AST/ASTImporter.cpp
M clang/lib/AST/ComputeDependence.cpp
M clang/lib/AST/Decl.cpp
M clang/lib/AST/DeclBase.cpp
M clang/lib/AST/DeclPrinter.cpp
M clang/lib/AST/DeclTemplate.cpp
M clang/lib/AST/Expr.cpp
M clang/lib/AST/ExprCXX.cpp
M clang/lib/AST/ExternalASTSource.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/lib/AST/Interp/ByteCodeStmtGen.cpp
M clang/lib/AST/Interp/Context.cpp
M clang/lib/AST/Interp/Descriptor.cpp
M clang/lib/AST/Interp/Disasm.cpp
M clang/lib/AST/Interp/EvalEmitter.cpp
M clang/lib/AST/Interp/EvalEmitter.h
M clang/lib/AST/Interp/EvaluationResult.cpp
M clang/lib/AST/Interp/IntegralAP.h
M clang/lib/AST/Interp/Interp.cpp
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/InterpBlock.h
M clang/lib/AST/Interp/InterpBuiltin.cpp
M clang/lib/AST/Interp/InterpState.cpp
M clang/lib/AST/Interp/InterpState.h
M clang/lib/AST/Interp/Pointer.cpp
M clang/lib/AST/Interp/Pointer.h
M clang/lib/AST/Interp/PrimType.h
M clang/lib/AST/Interp/Program.cpp
M clang/lib/AST/Interp/Program.h
M clang/lib/AST/Interp/Record.cpp
M clang/lib/AST/Interp/Record.h
M clang/lib/AST/JSONNodeDumper.cpp
M clang/lib/AST/ODRDiagsEmitter.cpp
M clang/lib/AST/ODRHash.cpp
M clang/lib/AST/OpenACCClause.cpp
M clang/lib/AST/ParentMap.cpp
M clang/lib/AST/QualTypeNames.cpp
M clang/lib/AST/StmtOpenACC.cpp
M clang/lib/AST/StmtPrinter.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/TemplateBase.cpp
M clang/lib/AST/TemplateName.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/AST/Type.cpp
M clang/lib/AST/TypePrinter.cpp
M clang/lib/AST/VTTBuilder.cpp
M clang/lib/Analysis/CFG.cpp
M clang/lib/Analysis/FlowSensitive/ASTOps.cpp
M clang/lib/Analysis/FlowSensitive/CMakeLists.txt
A clang/lib/Analysis/FlowSensitive/CNFFormula.cpp
M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp
M clang/lib/Analysis/FlowSensitive/WatchedLiteralsSolver.cpp
M clang/lib/Analysis/MacroExpansionContext.cpp
M clang/lib/Analysis/ThreadSafetyCommon.cpp
M clang/lib/Analysis/UnsafeBufferUsage.cpp
A clang/lib/Basic/ASTSourceDescriptor.cpp
M clang/lib/Basic/CMakeLists.txt
M clang/lib/Basic/CharInfo.cpp
M clang/lib/Basic/Cuda.cpp
M clang/lib/Basic/FileManager.cpp
M clang/lib/Basic/Module.cpp
M clang/lib/Basic/SourceManager.cpp
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Basic/Targets/Mips.cpp
M clang/lib/Basic/Targets/Mips.h
M clang/lib/Basic/Targets/NVPTX.cpp
M clang/lib/Basic/Targets/WebAssembly.h
M clang/lib/Basic/Targets/X86.cpp
M clang/lib/Basic/Targets/X86.h
M clang/lib/Basic/TypeTraits.cpp
M clang/lib/CodeGen/BackendUtil.cpp
M clang/lib/CodeGen/CGAtomic.cpp
M clang/lib/CodeGen/CGBlocks.cpp
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGCUDANV.cpp
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CGClass.cpp
M clang/lib/CodeGen/CGCoroutine.cpp
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/CodeGen/CGDebugInfo.h
M clang/lib/CodeGen/CGDecl.cpp
M clang/lib/CodeGen/CGDeclCXX.cpp
M clang/lib/CodeGen/CGException.cpp
M clang/lib/CodeGen/CGExpr.cpp
M clang/lib/CodeGen/CGExprAgg.cpp
M clang/lib/CodeGen/CGExprCXX.cpp
M clang/lib/CodeGen/CGExprComplex.cpp
M clang/lib/CodeGen/CGExprConstant.cpp
M clang/lib/CodeGen/CGExprScalar.cpp
M clang/lib/CodeGen/CGNonTrivialStruct.cpp
M clang/lib/CodeGen/CGObjC.cpp
M clang/lib/CodeGen/CGObjCGNU.cpp
M clang/lib/CodeGen/CGOpenMPRuntime.cpp
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/lib/CodeGen/CGVTT.cpp
M clang/lib/CodeGen/CGVTables.cpp
M clang/lib/CodeGen/CGVTables.h
M clang/lib/CodeGen/CGValue.h
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/CodeGenModule.h
M clang/lib/CodeGen/CodeGenPGO.cpp
M clang/lib/CodeGen/CodeGenTypeCache.h
M clang/lib/CodeGen/CodeGenTypes.cpp
M clang/lib/CodeGen/CoverageMappingGen.cpp
M clang/lib/CodeGen/ItaniumCXXABI.cpp
M clang/lib/CodeGen/Targets/AArch64.cpp
M clang/lib/CodeGen/Targets/AMDGPU.cpp
M clang/lib/CodeGen/Targets/NVPTX.cpp
M clang/lib/CodeGen/Targets/Sparc.cpp
M clang/lib/CodeGen/Targets/X86.cpp
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChains/AIX.cpp
M clang/lib/Driver/ToolChains/Arch/LoongArch.cpp
M clang/lib/Driver/ToolChains/Arch/Mips.cpp
M clang/lib/Driver/ToolChains/Arch/X86.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Driver/ToolChains/Cuda.cpp
M clang/lib/Driver/ToolChains/Darwin.cpp
M clang/lib/Driver/ToolChains/Darwin.h
M clang/lib/Driver/ToolChains/Flang.cpp
M clang/lib/Driver/ToolChains/Gnu.cpp
M clang/lib/Driver/ToolChains/HIPSPV.cpp
M clang/lib/Driver/ToolChains/HIPUtility.cpp
M clang/lib/Driver/ToolChains/MSVC.cpp
M clang/lib/Driver/ToolChains/MSVC.h
M clang/lib/Driver/ToolChains/OpenBSD.cpp
M clang/lib/Driver/ToolChains/PS4CPU.cpp
M clang/lib/Driver/ToolChains/SPIRV.cpp
M clang/lib/Driver/ToolChains/ZOS.cpp
M clang/lib/ExtractAPI/API.cpp
M clang/lib/ExtractAPI/DeclarationFragments.cpp
M clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatToken.cpp
M clang/lib/Format/FormatToken.h
M clang/lib/Format/FormatTokenLexer.cpp
M clang/lib/Format/FormatTokenSource.h
M clang/lib/Format/MacroExpander.cpp
M clang/lib/Format/Macros.h
M clang/lib/Format/QualifierAlignmentFixer.cpp
M clang/lib/Format/QualifierAlignmentFixer.h
M clang/lib/Format/SortJavaScriptImports.cpp
M clang/lib/Format/TokenAnalyzer.cpp
M clang/lib/Format/TokenAnalyzer.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/TokenAnnotator.h
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Format/UnwrappedLineParser.h
M clang/lib/Format/WhitespaceManager.cpp
M clang/lib/Frontend/ASTUnit.cpp
M clang/lib/Frontend/CompilerInstance.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Frontend/FrontendActions.cpp
M clang/lib/Frontend/InitPreprocessor.cpp
M clang/lib/Frontend/SerializedDiagnosticPrinter.cpp
M clang/lib/Headers/CMakeLists.txt
R clang/lib/Headers/avx512erintrin.h
R clang/lib/Headers/avx512pfintrin.h
M clang/lib/Headers/cuda_wrappers/algorithm
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
M clang/lib/Headers/immintrin.h
M clang/lib/Headers/intrin.h
M clang/lib/Headers/module.modulemap
M clang/lib/Headers/opencl-c-base.h
M clang/lib/Headers/opencl-c.h
M clang/lib/Headers/ptrauth.h
M clang/lib/Index/CommentToXML.cpp
M clang/lib/Index/IndexDecl.cpp
M clang/lib/Interpreter/IncrementalParser.cpp
M clang/lib/Interpreter/Interpreter.cpp
M clang/lib/Lex/Lexer.cpp
M clang/lib/Lex/LiteralSupport.cpp
M clang/lib/Lex/PPLexerChange.cpp
M clang/lib/Lex/PPMacroExpansion.cpp
M clang/lib/Parse/ParseCXXInlineMethods.cpp
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Parse/ParseExpr.cpp
M clang/lib/Parse/ParseExprCXX.cpp
M clang/lib/Parse/ParseInit.cpp
M clang/lib/Parse/ParseObjc.cpp
M clang/lib/Parse/ParseOpenACC.cpp
M clang/lib/Parse/ParseOpenMP.cpp
M clang/lib/Parse/ParsePragma.cpp
M clang/lib/Parse/ParseStmt.cpp
M clang/lib/Parse/ParseTemplate.cpp
M clang/lib/Parse/Parser.cpp
M clang/lib/Sema/AnalysisBasedWarnings.cpp
M clang/lib/Sema/CMakeLists.txt
M clang/lib/Sema/HLSLExternalSemaSource.cpp
M clang/lib/Sema/OpenCLBuiltins.td
M clang/lib/Sema/Sema.cpp
A clang/lib/Sema/SemaAMDGPU.cpp
M clang/lib/Sema/SemaAPINotes.cpp
A clang/lib/Sema/SemaARM.cpp
A clang/lib/Sema/SemaAVR.cpp
M clang/lib/Sema/SemaAttr.cpp
M clang/lib/Sema/SemaAvailability.cpp
A clang/lib/Sema/SemaBPF.cpp
M clang/lib/Sema/SemaBase.cpp
M clang/lib/Sema/SemaCXXScopeSpec.cpp
M clang/lib/Sema/SemaCast.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaCodeComplete.cpp
M clang/lib/Sema/SemaConcept.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Sema/SemaDeclObjC.cpp
M clang/lib/Sema/SemaExceptionSpec.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaExprCXX.cpp
M clang/lib/Sema/SemaExprMember.cpp
M clang/lib/Sema/SemaExprObjC.cpp
M clang/lib/Sema/SemaHLSL.cpp
A clang/lib/Sema/SemaHexagon.cpp
M clang/lib/Sema/SemaInit.cpp
M clang/lib/Sema/SemaLambda.cpp
M clang/lib/Sema/SemaLookup.cpp
A clang/lib/Sema/SemaLoongArch.cpp
A clang/lib/Sema/SemaM68k.cpp
A clang/lib/Sema/SemaMIPS.cpp
A clang/lib/Sema/SemaMSP430.cpp
A clang/lib/Sema/SemaNVPTX.cpp
A clang/lib/Sema/SemaObjC.cpp
M clang/lib/Sema/SemaObjCProperty.cpp
M clang/lib/Sema/SemaOpenACC.cpp
A clang/lib/Sema/SemaOpenCL.cpp
M clang/lib/Sema/SemaOpenMP.cpp
M clang/lib/Sema/SemaOverload.cpp
A clang/lib/Sema/SemaPPC.cpp
M clang/lib/Sema/SemaPseudoObject.cpp
A clang/lib/Sema/SemaRISCV.cpp
R clang/lib/Sema/SemaRISCVVectorLookup.cpp
M clang/lib/Sema/SemaSYCL.cpp
M clang/lib/Sema/SemaStmt.cpp
M clang/lib/Sema/SemaStmtAttr.cpp
A clang/lib/Sema/SemaSwift.cpp
A clang/lib/Sema/SemaSystemZ.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaTemplateDeduction.cpp
M clang/lib/Sema/SemaTemplateInstantiate.cpp
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
M clang/lib/Sema/SemaTemplateVariadic.cpp
M clang/lib/Sema/SemaType.cpp
A clang/lib/Sema/SemaWasm.cpp
A clang/lib/Sema/SemaX86.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTCommon.cpp
M clang/lib/Serialization/ASTCommon.h
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/lib/Serialization/ASTReaderStmt.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/ASTWriterDecl.cpp
M clang/lib/Serialization/ASTWriterStmt.cpp
M clang/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
M clang/lib/StaticAnalyzer/Checkers/ErrnoChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp
M clang/lib/StaticAnalyzer/Checkers/ErrnoModeling.h
M clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
A clang/lib/StaticAnalyzer/Checkers/PutenvStackArrayChecker.cpp
A clang/lib/StaticAnalyzer/Checkers/SetgidSetuidOrderChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/RefCntblBaseVirtualDtorChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedLocalVarsChecker.cpp
R clang/lib/StaticAnalyzer/Checkers/cert/PutenvWithAutoChecker.cpp
M clang/lib/StaticAnalyzer/Core/CallDescription.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
M clang/lib/Tooling/CMakeLists.txt
M clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
M clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
R clang/lib/Tooling/DumpTool/APIData.h
R clang/lib/Tooling/DumpTool/ASTSrcLocProcessor.cpp
R clang/lib/Tooling/DumpTool/ASTSrcLocProcessor.h
R clang/lib/Tooling/DumpTool/CMakeLists.txt
R clang/lib/Tooling/DumpTool/ClangSrcLocDump.cpp
R clang/lib/Tooling/DumpTool/generate_cxx_src_locs.py
R clang/lib/Tooling/EmptyNodeIntrospection.inc.in
M clang/lib/Tooling/JSONCompilationDatabase.cpp
R clang/lib/Tooling/NodeIntrospection.cpp
M clang/lib/Tooling/Syntax/BuildTree.cpp
M clang/test/AST/Interp/arrays.cpp
M clang/test/AST/Interp/bitfields.cpp
M clang/test/AST/Interp/builtin-functions.cpp
M clang/test/AST/Interp/c.c
M clang/test/AST/Interp/cxx03.cpp
M clang/test/AST/Interp/cxx11.cpp
M clang/test/AST/Interp/cxx98.cpp
M clang/test/AST/Interp/eval-order.cpp
M clang/test/AST/Interp/functions.cpp
A clang/test/AST/Interp/objc.mm
M clang/test/AST/Interp/records.cpp
A clang/test/AST/Interp/sycl.cpp
A clang/test/AST/Interp/unions.cpp
M clang/test/AST/ast-dump-APValue-anon-union.cpp
A clang/test/AST/ast-dump-anonymous-class.cpp
M clang/test/AST/ast-dump-concepts.cpp
M clang/test/AST/ast-dump-ctad-alias.cpp
M clang/test/AST/ast-dump-decl.cpp
M clang/test/AST/ast-dump-expr-json.cpp
M clang/test/AST/ast-dump-expr.cpp
M clang/test/AST/ast-dump-lambda.cpp
M clang/test/AST/ast-dump-openmp-begin-declare-variant_template_2.cpp
M clang/test/AST/ast-dump-stmt-json.cpp
M clang/test/AST/ast-dump-template-decls.cpp
A clang/test/AST/ast-dump-template-name.cpp
M clang/test/AST/ast-dump-using-template.cpp
M clang/test/AST/ast-print-openacc-compute-construct.cpp
A clang/test/AST/ast-print-openacc-loop-construct.cpp
A clang/test/AST/attr-counted-by-late-parsed-struct-ptrs.c
A clang/test/AST/attr-counted-by-struct-ptrs.c
M clang/test/AST/const-fpfeatures.c
M clang/test/AST/const-fpfeatures.cpp
M clang/test/AST/constraints-explicit-instantiation.cpp
M clang/test/Analysis/Checkers/WebKit/call-args.cpp
M clang/test/Analysis/Checkers/WebKit/ref-cntbl-base-virtual-dtor-ref-deref-on-diff-classes.cpp
M clang/test/Analysis/Checkers/WebKit/ref-cntbl-base-virtual-dtor-templates.cpp
M clang/test/Analysis/Checkers/WebKit/uncounted-local-vars.cpp
M clang/test/Analysis/Checkers/WebKit/uncounted-obj-arg.cpp
M clang/test/Analysis/analyzer-enabled-checkers.c
A clang/test/Analysis/block-in-critical-section.c
M clang/test/Analysis/block-in-critical-section.cpp
M clang/test/Analysis/block-in-critical-section.m
M clang/test/Analysis/builtin_signbit.cpp
R clang/test/Analysis/cert/pos34-c-fp-suppression.cpp
R clang/test/Analysis/cert/pos34-c.cpp
M clang/test/Analysis/cfg-openmp.cpp
M clang/test/Analysis/cxx-uninitialized-object.cpp
M clang/test/Analysis/cxxnewexpr-callback.cpp
M clang/test/Analysis/lifetime-extended-regions.cpp
M clang/test/Analysis/malloc.c
M clang/test/Analysis/malloc.cpp
M clang/test/Analysis/memory-model.cpp
A clang/test/Analysis/putenv-stack-array.c
A clang/test/Analysis/setgid-setuid-order-notes.c
A clang/test/Analysis/setgid-setuid-order.c
M clang/test/Analysis/std-c-library-functions-arg-enabled-checkers.c
M clang/test/Analysis/taint-diagnostic-visitor.c
A clang/test/Analysis/unreachable-code-exceptions.cpp
A clang/test/C/C11/n1464.c
M clang/test/C/C2x/n2900_n3011.c
M clang/test/C/C2x/n2900_n3011_2.c
M clang/test/C/C99/block-scopes.c
M clang/test/CMakeLists.txt
M clang/test/CXX/basic/basic.lookup/basic.lookup.qual/class.qual/p2.cpp
M clang/test/CXX/basic/basic.stc/basic.stc.dynamic/basic.stc.dynamic.deallocation/p2.cpp
A clang/test/CXX/class.derived/class.derived.general/p2.cpp
M clang/test/CXX/class/class.mfct/class.mfct.non-static/p3.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p1.cpp
M clang/test/CXX/drs/cwg0xx.cpp
M clang/test/CXX/drs/cwg11xx.cpp
M clang/test/CXX/drs/cwg13xx.cpp
M clang/test/CXX/drs/cwg14xx.cpp
M clang/test/CXX/drs/cwg18xx.cpp
M clang/test/CXX/drs/cwg19xx.cpp
M clang/test/CXX/drs/cwg1xx.cpp
R clang/test/CXX/drs/cwg2390.cpp
M clang/test/CXX/drs/cwg23xx.cpp
M clang/test/CXX/drs/cwg24xx.cpp
M clang/test/CXX/drs/cwg25xx.cpp
A clang/test/CXX/drs/cwg2630.cpp
M clang/test/CXX/drs/cwg26xx.cpp
A clang/test/CXX/drs/cwg2771.cpp
M clang/test/CXX/drs/cwg27xx.cpp
M clang/test/CXX/drs/cwg28xx.cpp
M clang/test/CXX/drs/cwg292.cpp
M clang/test/CXX/drs/cwg9xx.cpp
M clang/test/CXX/expr/expr.unary/expr.new/p14.cpp
M clang/test/CXX/expr/expr.unary/expr.sizeof/p5-0x.cpp
A clang/test/CXX/expr/expr.unary/expr.unary.general/p1.cpp
M clang/test/CXX/over/over.built/ast.cpp
M clang/test/CXX/over/over.built/p10.cpp
M clang/test/CXX/over/over.built/p11.cpp
M clang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p3-2a.cpp
A clang/test/CXX/over/over.oper/over.oper.general/p1.cpp
A clang/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p2.cpp
A clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/p3.cpp
M clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p9-0x.cpp
M clang/test/CXX/temp/temp.res/temp.dep/temp.dep.type/p4.cpp
A clang/test/CXX/temp/temp.spec/temp.expl.spec/p12.cpp
M clang/test/ClangScanDeps/diagnostics.c
M clang/test/ClangScanDeps/header-search-pruning-transitive.c
M clang/test/ClangScanDeps/header-search-pruning.cpp
A clang/test/ClangScanDeps/link-libraries.c
M clang/test/ClangScanDeps/modules-canononical-module-map-case.c
M clang/test/ClangScanDeps/modules-context-hash.c
M clang/test/ClangScanDeps/modules-dep-args.c
M clang/test/ClangScanDeps/modules-excluded-header.m
M clang/test/ClangScanDeps/modules-extern-submodule.c
M clang/test/ClangScanDeps/modules-extern-unrelated.m
M clang/test/ClangScanDeps/modules-file-path-isolation.c
M clang/test/ClangScanDeps/modules-fmodule-name-no-module-built.m
M clang/test/ClangScanDeps/modules-full-by-mod-name.c
M clang/test/ClangScanDeps/modules-full.cpp
M clang/test/ClangScanDeps/modules-implementation-private.m
M clang/test/ClangScanDeps/modules-implicit-dot-private.m
M clang/test/ClangScanDeps/modules-incomplete-umbrella.c
M clang/test/ClangScanDeps/modules-inferred.m
M clang/test/ClangScanDeps/modules-no-undeclared-includes.c
M clang/test/ClangScanDeps/modules-pch-common-submodule.c
M clang/test/ClangScanDeps/modules-pch-common-via-submodule.c
M clang/test/ClangScanDeps/modules-pch.c
M clang/test/ClangScanDeps/modules-priv-fw-from-pub.m
M clang/test/ClangScanDeps/modules-redefinition.m
M clang/test/ClangScanDeps/modules-symlink-dir-vfs.c
M clang/test/ClangScanDeps/modules-transitive.c
M clang/test/ClangScanDeps/optimize-canonicalize-macros.m
M clang/test/ClangScanDeps/optimize-fmodulemap.m
M clang/test/ClangScanDeps/optimize-system-warnings.m
M clang/test/ClangScanDeps/optimize-vfs-leak.m
M clang/test/ClangScanDeps/optimize-vfs.m
M clang/test/ClangScanDeps/removed-args.c
A clang/test/ClangScanDeps/response-file-clang-cl.c
M clang/test/ClangScanDeps/working-dir.m
M clang/test/CodeCompletion/member-access.cpp
M clang/test/CodeGen/RISCV/riscv-inline-asm.c
M clang/test/CodeGen/SystemZ/sync-builtins-i128-8Al.c
R clang/test/CodeGen/X86/avx512er-builtins.c
R clang/test/CodeGen/X86/avx512pf-builtins.c
M clang/test/CodeGen/X86/ms-x86-intrinsics.c
A clang/test/CodeGen/X86/x86-atomic-double.c
M clang/test/CodeGen/X86/x86-atomic-float.c
M clang/test/CodeGen/X86/x86-atomic-long_double.c
M clang/test/CodeGen/X86/x86_64-instrument-functions.c
M clang/test/CodeGen/aarch64-byval-temp.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_add-i64.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_mopa-za64.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_mops-za64.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/aarch64-sme2-attrs.cpp
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_add.c
A clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_add_sub_za16.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_bmop.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_clamp.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvt.c
A clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvtl.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvtn.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_fmlas16.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_fp_dots.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_frint.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_int_dots.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti2_lane_zt.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti2_lane_zt_x2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti2_lane_zt_x4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti4_lane_zt.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti4_lane_zt_x2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti4_lane_zt_x4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_max.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_maxnm.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_min.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_minnm.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mla.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mlal.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mlall.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mls.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mlsl.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mop.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mopa_nonwide.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_read.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_reinterpret_svcount_svbool.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_sqdmulh.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_sub.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_unpkx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_unpkx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vdot.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_add.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_qrshr.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_rshl.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_selx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_selx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_uzpx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_uzpx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_zipx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_zipx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_write.c
A clang/test/CodeGen/aarch64-sme2p1-intrinsics/acle_sme2p1_zero.c
M clang/test/CodeGen/aarch64-sve-acle-__ARM_FEATURE_SVE_VECTOR_OPERATORS.c
M clang/test/CodeGen/aarch64-sve-acle-__ARM_FEATURE_SVE_VECTOR_OPERATORS.cpp
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret.c
R clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret_from_streaming_mode.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4.c
M clang/test/CodeGen/aarch64-sve-vector-subscript-ops.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aba.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abalb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abalt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abdlb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abdlt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adalp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addhnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addhnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlbt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addwb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addwt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aese.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesimc.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesmc.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bcax.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bdep.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bext.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bgrp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl1n.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl2n.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cdot.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cmla.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtlt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtx.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtxnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eor3.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eorbt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eortb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_histcnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_histseg.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hsub.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hsubr.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sh.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sw.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1ub.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1uh.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1uw.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_logb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_match.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_maxnmp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_maxp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_minnmp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_minp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mla.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlalb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlalt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mls.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlslb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlslt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_movlb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_movlt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mul.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mullb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mullt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_nbsl.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_nmatch.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmul.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullb_128.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullt_128.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qabs.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qcadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalbt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslbt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmulh.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmullb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmullt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qneg.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdcmlah.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmlah.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmlsh.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmulh.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshl.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrunb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrunt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshl.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshlu.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrunb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrunt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qsub.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qsubr.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtunb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtunt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_raddhnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_raddhnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rax1.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_recpe.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_revd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rhadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshl.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshr.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshrnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshrnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsqrte.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsra.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsubhnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsubhnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shllb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shllt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shrnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shrnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sli.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sm4e.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sm4ekey.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sqadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sra.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sri.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1b.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1h.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1w.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subhnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subhnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublbt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subltb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subwb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subwt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbl2-bfloat.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbl2.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbx-bfloat.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbx.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_uqadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilege.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilegt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilerw-bfloat.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilerw.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilewr-bfloat.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilewr.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_xar.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfadd.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmax.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmaxnm.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmin.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfminnm.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmla.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmla_lane.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmls.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmls_lane.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmlsl.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmul.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmul_lane.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfsub.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_cntp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_create2_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_create4_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_dot.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_dupq.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_extq.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_fclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_fp_reduce.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_get2_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_get4_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_int_reduce.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ld1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ld1_single.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ldnt1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_loads.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pext.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pfalse.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pmov_to_pred.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pmov_to_vector.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_psel.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_psel_svcount.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ptrue.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_qcvtn.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_qrshr.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_sclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set2_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set4_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_st1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_st1_single.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_stnt1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_store.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_tblq.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_tbxq.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_undef_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uzpq1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uzpq2.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_while_pn.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_while_x2.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_zipq1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_zipq2.c
M clang/test/CodeGen/aarch64-varargs.c
A clang/test/CodeGen/amdgpu-variadic-call.c
M clang/test/CodeGen/arm-vector_type-params-returns.c
M clang/test/CodeGen/array-init.c
R clang/test/CodeGen/assume_attr.c
M clang/test/CodeGen/attr-counted-by.c
M clang/test/CodeGen/attr-cpuspecific.c
M clang/test/CodeGen/attr-noinline.cpp
M clang/test/CodeGen/attr-target-x86.c
M clang/test/CodeGen/builtins-wasm.c
M clang/test/CodeGen/catch-nullptr-and-nonzero-offset.c
A clang/test/CodeGen/clspv_libclc_builtin.c
M clang/test/CodeGen/constantexpr-fneg.c
M clang/test/CodeGen/darwin-target-variant.c
M clang/test/CodeGen/ext-int-cc.c
M clang/test/CodeGen/fat-lto-objects.c
M clang/test/CodeGen/function-target-features.c
M clang/test/CodeGen/functions.c
M clang/test/CodeGen/instrument-objc-method.m
M clang/test/CodeGen/lto-newpm-pipeline.c
M clang/test/CodeGen/mcount-aix.c
M clang/test/CodeGen/mcount.c
M clang/test/CodeGen/nofpclass.c
M clang/test/CodeGen/object-size.c
M clang/test/CodeGen/preserve-call-conv.c
M clang/test/CodeGen/sparcv9-abi.c
A clang/test/CodeGen/sparcv9-class-return.cpp
M clang/test/CodeGen/target-builtin-noerror.c
M clang/test/CodeGenCXX/assume_attr.cpp
M clang/test/CodeGenCXX/atomicinit.cpp
M clang/test/CodeGenCXX/auto-var-init.cpp
M clang/test/CodeGenCXX/builtin-amdgcn-fence.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
M clang/test/CodeGenCXX/cxx11-thread-local.cpp
M clang/test/CodeGenCXX/cxx1y-sized-deallocation.cpp
M clang/test/CodeGenCXX/cxx1z-aligned-allocation.cpp
M clang/test/CodeGenCXX/cxx2a-destroying-delete.cpp
M clang/test/CodeGenCXX/cxx2b-deducing-this.cpp
A clang/test/CodeGenCXX/debug-info-incomplete-types.cpp
A clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp
M clang/test/CodeGenCXX/delete-two-arg.cpp
M clang/test/CodeGenCXX/delete.cpp
M clang/test/CodeGenCXX/dllimport.cpp
M clang/test/CodeGenCXX/dynamic-cast-address-space.cpp
M clang/test/CodeGenCXX/eh.cpp
A clang/test/CodeGenCXX/fmv-namespace.cpp
M clang/test/CodeGenCXX/new.cpp
M clang/test/CodeGenCXX/no-unique-address.cpp
M clang/test/CodeGenCXX/nrvo.cpp
M clang/test/CodeGenCXX/partitions.cpp
A clang/test/CodeGenCXX/ps-dllstorage-vtable-rtti.cpp
R clang/test/CodeGenCXX/ps4-dllstorage-vtable-rtti.cpp
M clang/test/CodeGenCXX/template-param-objects-address-space.cpp
M clang/test/CodeGenCXX/throw-expression-typeinfo-in-address-space.cpp
M clang/test/CodeGenCXX/try-catch-with-address-space.cpp
M clang/test/CodeGenCXX/typeid-cxx11-with-address-space.cpp
M clang/test/CodeGenCXX/typeid-with-address-space.cpp
M clang/test/CodeGenCXX/typeinfo-with-address-space.cpp
M clang/test/CodeGenCXX/ubsan-nullability-arg.cpp
M clang/test/CodeGenCXX/vtable-assume-load-address-space.cpp
M clang/test/CodeGenCXX/vtable-pointer-initialization-address-space.cpp
M clang/test/CodeGenCXX/vtt-address-space.cpp
M clang/test/CodeGenCXX/wasm-eh.cpp
M clang/test/CodeGenCXX/weak-external.cpp
M clang/test/CodeGenCXX/windows-implicit-dllexport-template-specialization.cpp
M clang/test/CodeGenCXX/windows-itanium-dllexport.cpp
M clang/test/CodeGenCoroutines/coro-aligned-alloc-2.cpp
M clang/test/CodeGenCoroutines/coro-aligned-alloc.cpp
M clang/test/CodeGenCoroutines/coro-alloc.cpp
M clang/test/CodeGenCoroutines/coro-await.cpp
M clang/test/CodeGenCoroutines/coro-cleanup.cpp
M clang/test/CodeGenCoroutines/coro-dealloc.cpp
M clang/test/CodeGenCoroutines/coro-gro.cpp
R clang/test/CodeGenCoroutines/coro-symmetric-transfer-01.cpp
M clang/test/CodeGenCoroutines/coro-symmetric-transfer-02.cpp
M clang/test/CodeGenCoroutines/pr56919.cpp
M clang/test/CodeGenHLSL/builtins/RWBuffer-constructor.hlsl
M clang/test/CodeGenHLSL/builtins/lerp.hlsl
M clang/test/CodeGenHLSL/builtins/mad.hlsl
M clang/test/CodeGenHLSL/cbuf.hlsl
A clang/test/CodeGenHLSL/convergence/do.while.hlsl
A clang/test/CodeGenHLSL/convergence/for.hlsl
A clang/test/CodeGenHLSL/convergence/while.hlsl
A clang/test/CodeGenOpenCL/builtins-amdgcn-gfx940.cl
A clang/test/CodeGenOpenCLCXX/array-type-infinite-loop.clcpp
M clang/test/CoverageMapping/builtinmacro.c
M clang/test/CoverageMapping/coroutine.cpp
A clang/test/CoverageMapping/decomposition.cpp
M clang/test/CoverageMapping/macros.c
A clang/test/CoverageMapping/mcdc-scratch-space.c
A clang/test/CoverageMapping/mcdc-system-headers.cpp
M clang/test/CoverageMapping/templates.cpp
M clang/test/Driver/Ofast.c
M clang/test/Driver/aarch64-outliner.c
M clang/test/Driver/aarch64-v95a.c
M clang/test/Driver/amdgcn-gz-options.cl
M clang/test/Driver/amdgpu-hip-system-arch.c
M clang/test/Driver/amdgpu-invalid-target-id.s
M clang/test/Driver/amdgpu-macros.cl
M clang/test/Driver/amdgpu-mcpu.cl
M clang/test/Driver/amdgpu-openmp-system-arch-fail.c
M clang/test/Driver/amdgpu-openmp-toolchain.c
M clang/test/Driver/android-unversioned-fallback-warning.cpp
M clang/test/Driver/arm-float-abi-runtime-path.c
M clang/test/Driver/arm-float-abi.c
M clang/test/Driver/arm-machine-outliner.c
M clang/test/Driver/cl-options.c
M clang/test/Driver/cl-options.cu
M clang/test/Driver/cl-outputs.c
M clang/test/Driver/cl-x86-flags.c
M clang/test/Driver/clang-offload-bundler-zlib.c
M clang/test/Driver/clang-offload-bundler-zstd.c
M clang/test/Driver/clang_f_opts.c
M clang/test/Driver/compress-noias.c
M clang/test/Driver/cuda-arch-translation.cu
M clang/test/Driver/cuda-bad-arch.cu
M clang/test/Driver/cuda-bail-out.cu
M clang/test/Driver/cuda-bindings.cu
M clang/test/Driver/cuda-constructor-alias.cu
M clang/test/Driver/cuda-cross-compiling.c
M clang/test/Driver/cuda-detect-path.cu
M clang/test/Driver/cuda-detect.cu
M clang/test/Driver/cuda-external-tools.cu
M clang/test/Driver/cuda-macosx.cu
M clang/test/Driver/cuda-march.cu
M clang/test/Driver/cuda-omp-unsupported-debug-options.cu
M clang/test/Driver/cuda-openmp-driver.cu
M clang/test/Driver/cuda-options.cu
M clang/test/Driver/cuda-output-asm.cu
M clang/test/Driver/cuda-phases.cu
M clang/test/Driver/cuda-ptxas-path.cu
M clang/test/Driver/cuda-version-check.cu
M clang/test/Driver/cuda-windows.cu
M clang/test/Driver/debug-options.c
M clang/test/Driver/driverkit-arm64.c
M clang/test/Driver/driverkit-arm64e.c
M clang/test/Driver/driverkit-cplusplus.cpp
M clang/test/Driver/driverkit-exceptions.cpp
M clang/test/Driver/driverkit-path.c
M clang/test/Driver/driverkit-rtti.cpp
M clang/test/Driver/driverkit-target-cpu.c
M clang/test/Driver/dwarf-target-version-clamp.cu
M clang/test/Driver/dxc_dxv_path.hlsl
M clang/test/Driver/elfiamcu-header-search.c
M clang/test/Driver/fast-math.c
M clang/test/Driver/fat-archive-unbundle-ext.c
M clang/test/Driver/fatal-warnings.c
M clang/test/Driver/fbinutils-version.c
M clang/test/Driver/fdirect-access-external-data.c
M clang/test/Driver/fembed-bitcode.c
M clang/test/Driver/fexcess-precision.c
M clang/test/Driver/fextend-args.c
M clang/test/Driver/fforce-dwarf-frame.c
M clang/test/Driver/fgnuc-version.c
M clang/test/Driver/flags.c
A clang/test/Driver/flang/msvc-link.f90
M clang/test/Driver/fmemprof.cpp
M clang/test/Driver/fopenmp.c
M clang/test/Driver/fortran.f95
M clang/test/Driver/fpatchable-function-entry.c
M clang/test/Driver/frame-pointer-elim.c
M clang/test/Driver/freebsd-mips-as.c
M clang/test/Driver/freebsd.cpp
M clang/test/Driver/frelaxed-template-template-args.cpp
M clang/test/Driver/fsanitize-coverage.c
M clang/test/Driver/fsanitize-ignorelist.c
M clang/test/Driver/fsanitize-memory-param-retval.c
M clang/test/Driver/fsanitize-metadata-ignorelist.c
M clang/test/Driver/fsanitize-object-size.c
M clang/test/Driver/fsemantic-interposition.c
M clang/test/Driver/fsjlj-exceptions.c
M clang/test/Driver/fuse-ld-windows.c
M clang/test/Driver/fuse-ld.c
M clang/test/Driver/fuzzer.c
M clang/test/Driver/fveclib.c
M clang/test/Driver/gcodeview-command-line.c
M clang/test/Driver/gcodeview-ghash.c
M clang/test/Driver/global-isel.c
M clang/test/Driver/gpu-libc-headers.c
M clang/test/Driver/hexagon-toolchain-elf.c
M clang/test/Driver/hip-autolink.hip
M clang/test/Driver/hip-binding.hip
M clang/test/Driver/hip-code-object-version.hip
M clang/test/Driver/hip-cuid-hash.hip
M clang/test/Driver/hip-cuid.hip
M clang/test/Driver/hip-default-gpu-arch.hip
M clang/test/Driver/hip-device-compile.hip
M clang/test/Driver/hip-device-libs.hip
M clang/test/Driver/hip-fpie-option.hip
M clang/test/Driver/hip-gsplit-dwarf-options.hip
M clang/test/Driver/hip-gz-options.hip
M clang/test/Driver/hip-host-cpu-features.hip
M clang/test/Driver/hip-include-path.hip
M clang/test/Driver/hip-inputs.hip
M clang/test/Driver/hip-invalid-target-id.hip
M clang/test/Driver/hip-launch-api.hip
M clang/test/Driver/hip-link-bc-to-bc.hip
M clang/test/Driver/hip-link-bundle-archive.hip
M clang/test/Driver/hip-link-save-temps.hip
M clang/test/Driver/hip-link-static-library.hip
M clang/test/Driver/hip-no-device-libs.hip
M clang/test/Driver/hip-offload-arch.hip
M clang/test/Driver/hip-offload-compress-zlib.hip
M clang/test/Driver/hip-offload-compress-zstd.hip
M clang/test/Driver/hip-options.hip
M clang/test/Driver/hip-output-file-name.hip
M clang/test/Driver/hip-phases.hip
M clang/test/Driver/hip-printf.hip
M clang/test/Driver/hip-rdc-device-only.hip
M clang/test/Driver/hip-sanitize-options.hip
M clang/test/Driver/hip-save-temps.hip
M clang/test/Driver/hip-std.hip
M clang/test/Driver/hip-syntax-only.hip
M clang/test/Driver/hip-target-id.hip
M clang/test/Driver/hip-toolchain-device-only.hip
M clang/test/Driver/hip-toolchain-dwarf.hip
M clang/test/Driver/hip-toolchain-features.hip
M clang/test/Driver/hip-toolchain-mllvm.hip
M clang/test/Driver/hip-toolchain-no-rdc.hip
M clang/test/Driver/hip-toolchain-opt.hip
M clang/test/Driver/hip-toolchain-rdc-separate.hip
M clang/test/Driver/hip-toolchain-rdc-static-lib.hip
M clang/test/Driver/hip-toolchain-rdc.hip
M clang/test/Driver/hip-unbundle-preproc.hipi
M clang/test/Driver/hip-wavefront-size.hip
M clang/test/Driver/hip-windows-filename.hip
M clang/test/Driver/hipspv-device-libs.hip
M clang/test/Driver/hipspv-pass-plugin.hip
M clang/test/Driver/hipspv-toolchain-rdc.hip
M clang/test/Driver/hipspv-toolchain.hip
M clang/test/Driver/indirect-tls-seg-refs.c
M clang/test/Driver/invalid-offload-options.cpp
M clang/test/Driver/invalid-target-id.cl
M clang/test/Driver/linker-wrapper-image.c
M clang/test/Driver/linker-wrapper.c
M clang/test/Driver/loongarch-mlasx-error.c
M clang/test/Driver/loongarch-mlsx-error.c
M clang/test/Driver/lto.cu
M clang/test/Driver/m68k-features.cpp
M clang/test/Driver/m68k-macros.cpp
M clang/test/Driver/m68k-sub-archs.cpp
M clang/test/Driver/masm.c
M clang/test/Driver/masm.s
M clang/test/Driver/mbackchain.c
M clang/test/Driver/mcount.c
M clang/test/Driver/mdouble.c
M clang/test/Driver/memtag-stack.c
M clang/test/Driver/mfentry.c
M clang/test/Driver/mglobal-merge.c
M clang/test/Driver/mingw-implicit-extension-windows.c
M clang/test/Driver/mingw-libgcc.c
M clang/test/Driver/mingw-msvcrt.c
M clang/test/Driver/mingw-sanitizers.c
M clang/test/Driver/mingw-sysroot.cpp
M clang/test/Driver/mingw-windowsapp.c
M clang/test/Driver/mingw.cpp
M clang/test/Driver/mips-abi.c
M clang/test/Driver/mips-abicalls-error.c
M clang/test/Driver/mips-abicalls-warning.c
M clang/test/Driver/mips-as.c
M clang/test/Driver/mips-cs.cpp
M clang/test/Driver/mips-features.c
M clang/test/Driver/mips-float.c
M clang/test/Driver/mips-fsf.cpp
M clang/test/Driver/mips-gpopt-warning.c
M clang/test/Driver/mips-ias-Wa.s
M clang/test/Driver/mips-img-v2.cpp
M clang/test/Driver/mips-img.cpp
M clang/test/Driver/mips-indirect-branch.c
M clang/test/Driver/mips-integrated-as.s
M clang/test/Driver/mips-mabs-warning.c
M clang/test/Driver/mips-mti-linux.c
M clang/test/Driver/mlong-double-128.c
M clang/test/Driver/mlong-double-64.c
M clang/test/Driver/module-output.cppm
M clang/test/Driver/ms-bitfields.c
A clang/test/Driver/ms-define-stdc.c
M clang/test/Driver/msan.c
M clang/test/Driver/msc-version.c
M clang/test/Driver/msp430-hwmult.c
M clang/test/Driver/msvc-compiler-rt.c
M clang/test/Driver/msvc-static-rtti.cpp
M clang/test/Driver/msvc-triple.c
M clang/test/Driver/msvc_forward.c
M clang/test/Driver/nvptx-cuda-system-arch.c
M clang/test/Driver/objc-encode-cxx-class-template-spec.m
M clang/test/Driver/offloading-interoperability.c
M clang/test/Driver/openbsd.cpp
M clang/test/Driver/opencl.cl
M clang/test/Driver/openmp-offload-gpu.c
M clang/test/Driver/openmp-offload-headers.c
M clang/test/Driver/openmp-offload-infer.c
M clang/test/Driver/openmp-offload-jit.c
M clang/test/Driver/openmp-offload.c
M clang/test/Driver/openmp-system-arch.c
M clang/test/Driver/ppc-dependent-options.cpp
M clang/test/Driver/ppc-float-abi-warning.cpp
M clang/test/Driver/ppc-unsupported.c
M clang/test/Driver/ps4-ps5-visibility-dllstorageclass.c
A clang/test/Driver/ps4-visibility.cl
A clang/test/Driver/ps5-visibility.cl
M clang/test/Driver/rewrite-legacy-objc.m
M clang/test/Driver/rewrite-objc.m
M clang/test/Driver/riscv-profiles.c
M clang/test/Driver/riscv32-toolchain-extra.c
M clang/test/Driver/riscv64-toolchain-extra.c
M clang/test/Driver/rocm-detect.cl
M clang/test/Driver/rocm-detect.hip
M clang/test/Driver/rocm-device-libs.cl
M clang/test/Driver/save-temps.c
M clang/test/Driver/spirv-toolchain.cl
M clang/test/Driver/sysroot.c
M clang/test/Driver/target-id-macros.cl
M clang/test/Driver/target-id.cl
M clang/test/Driver/thinlto.cu
M clang/test/Driver/tocdata-cc1.c
M clang/test/Driver/tsan.c
M clang/test/Driver/ve-toolchain.c
M clang/test/Driver/ve-toolchain.cpp
M clang/test/Driver/x-args.c
A clang/test/Driver/x86-apx-inline-asm-use-gpr32.cpp
M clang/test/Driver/x86-target-features.c
M clang/test/ExtractAPI/anonymous_record_no_typedef.c
M clang/test/ExtractAPI/class_template.cpp
M clang/test/ExtractAPI/class_template_param_inheritance.cpp
M clang/test/ExtractAPI/class_template_partial_spec.cpp
M clang/test/ExtractAPI/class_template_spec.cpp
M clang/test/ExtractAPI/concept.cpp
M clang/test/ExtractAPI/enum.c
M clang/test/ExtractAPI/field_template.cpp
M clang/test/ExtractAPI/global_func_template.cpp
M clang/test/ExtractAPI/global_func_template_spec.cpp
M clang/test/ExtractAPI/global_var_template.cpp
M clang/test/ExtractAPI/global_var_template_partial_spec.cpp
M clang/test/ExtractAPI/global_var_template_spec.cpp
M clang/test/ExtractAPI/method_template.cpp
M clang/test/ExtractAPI/method_template_spec.cpp
A clang/test/ExtractAPI/non_type_template.cpp
M clang/test/ExtractAPI/objc_external_category.m
M clang/test/Frontend/gnu-mcount.c
M clang/test/Frontend/noderef_templates.cpp
M clang/test/Frontend/optimization-remark-options.c
M clang/test/Frontend/x86-target-cpu.c
M clang/test/Headers/__clang_hip_math.hip
A clang/test/Headers/cuda_wrapper_algorithm.cu
M clang/test/Import/builtin-template/test.cpp
M clang/test/Index/Core/index-source.cpp
M clang/test/Index/index-refs.cpp
M clang/test/Index/print-type.cpp
M clang/test/InstallAPI/alias_list.test
M clang/test/InstallAPI/binary-attributes.test
M clang/test/InstallAPI/exclusive-passes-2.test
A clang/test/InstallAPI/exclusive-passes-3.test
M clang/test/InstallAPI/exclusive-passes.test
M clang/test/InstallAPI/invalid-exclusive-passes.test
A clang/test/Interpreter/execute.c
M clang/test/Interpreter/execute.cpp
M clang/test/Interpreter/incremental-mode.cpp
M clang/test/Interpreter/inline-virtual.cpp
M clang/test/Lexer/cxx-features.cpp
A clang/test/Lexer/cxx2c-raw-strings.cpp
A clang/test/Misc/diag-template-diffing-cxx11.cpp
A clang/test/Misc/diag-template-diffing-cxx26.cpp
R clang/test/Misc/diag-template-diffing.cpp
M clang/test/Misc/pragma-attribute-supported-attributes-list.test
M clang/test/Misc/target-invalid-cpu-note.c
A clang/test/Misc/win32-elf.c
A clang/test/Modules/cxx20-decls.cppm
A clang/test/Modules/implicit-module-remap.cpp
A clang/test/Modules/no-implicit-declarations.cppm
A clang/test/Modules/pr91418.cppm
A clang/test/Modules/pr93497.cppm
A clang/test/Modules/pr93859.cppm
M clang/test/OpenMP/align_clause_ast_print.cpp
M clang/test/OpenMP/assumes_codegen.cpp
M clang/test/OpenMP/assumes_print.cpp
M clang/test/OpenMP/assumes_template_print.cpp
M clang/test/OpenMP/atomic_messages.c
M clang/test/OpenMP/declare_mapper_messages.cpp
M clang/test/OpenMP/distribute_firstprivate_messages.cpp
M clang/test/OpenMP/distribute_parallel_for_firstprivate_messages.cpp
M clang/test/OpenMP/distribute_parallel_for_lastprivate_messages.cpp
M clang/test/OpenMP/distribute_parallel_for_private_messages.cpp
M clang/test/OpenMP/distribute_parallel_for_reduction_messages.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_private_messages.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_shared_messages.cpp
M clang/test/OpenMP/distribute_simd_firstprivate_messages.cpp
M clang/test/OpenMP/distribute_simd_lastprivate_messages.cpp
M clang/test/OpenMP/distribute_simd_loop_messages.cpp
M clang/test/OpenMP/distribute_simd_private_messages.cpp
M clang/test/OpenMP/distribute_simd_reduction_messages.cpp
M clang/test/OpenMP/for_private_codegen.cpp
M clang/test/OpenMP/for_reduction_codegen.cpp
M clang/test/OpenMP/for_reduction_codegen_UDR.cpp
M clang/test/OpenMP/generic_loop_ast_print.cpp
M clang/test/OpenMP/interop_ast_print.cpp
M clang/test/OpenMP/nvptx_lambda_capturing.cpp
M clang/test/OpenMP/nvptx_target_cuda_mode_messages.cpp
M clang/test/OpenMP/parallel_codegen.cpp
M clang/test/OpenMP/parallel_copyin_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_firstprivate_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_lastprivate_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/reduction_implicit_map.cpp
M clang/test/OpenMP/remarks_parallel_in_multiple_target_state_machines.c
M clang/test/OpenMP/remarks_parallel_in_target_state_machine.c
M clang/test/OpenMP/requires_default_atomic_mem_order_messages.cpp
M clang/test/OpenMP/requires_messages.cpp
M clang/test/OpenMP/sections_lastprivate_codegen.cpp
M clang/test/OpenMP/sections_private_codegen.cpp
M clang/test/OpenMP/sections_reduction_codegen.cpp
M clang/test/OpenMP/single_private_codegen.cpp
M clang/test/OpenMP/target_device_ancestor_messages.cpp
M clang/test/OpenMP/target_firstprivate_messages.cpp
A clang/test/OpenMP/target_map_both_pointer_pointee_codegen.cpp
M clang/test/OpenMP/target_map_messages.cpp
M clang/test/OpenMP/target_parallel_for_private_messages.cpp
M clang/test/OpenMP/target_parallel_for_simd_private_messages.cpp
M clang/test/OpenMP/target_private_messages.cpp
R clang/test/OpenMP/target_reduction_codegen.cpp
R clang/test/OpenMP/target_reduction_messages.cpp
M clang/test/OpenMP/target_simd_private_messages.cpp
M clang/test/OpenMP/target_teams_distribute_firstprivate_messages.cpp
M clang/test/OpenMP/target_update_messages.cpp
M clang/test/OpenMP/target_vla_messages.cpp
M clang/test/OpenMP/task_ast_print.cpp
M clang/test/OpenMP/teams_distribute_loop_messages.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_loop_messages.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_loop_messages.cpp
M clang/test/OpenMP/teams_distribute_simd_loop_messages.cpp
M clang/test/OpenMP/threadprivate_codegen.cpp
M clang/test/OpenMP/tile_codegen.cpp
M clang/test/OpenMP/tile_codegen_for_dependent.cpp
M clang/test/OpenMP/tile_codegen_tile_for.cpp
M clang/test/PCH/cxx1z-aligned-alloc.cpp
A clang/test/PCH/optnone.cpp
M clang/test/PCH/pack_indexing.cpp
M clang/test/Parser/MicrosoftExtensions.cpp
M clang/test/Parser/altivec.c
M clang/test/Parser/attr-availability.c
M clang/test/Parser/cxx-altivec.cpp
M clang/test/Parser/cxx-template-template-recovery.cpp
A clang/test/Parser/decls.c
M clang/test/Parser/lax-conv.cpp
M clang/test/Parser/objcbridge-related-attribute.m
M clang/test/Parser/pragma-attribute.cpp
M clang/test/ParserOpenACC/parse-clauses.c
M clang/test/ParserOpenACC/parse-clauses.cpp
M clang/test/ParserOpenACC/parse-constructs.c
M clang/test/Preprocessor/predefined-arch-macros.c
M clang/test/Preprocessor/riscv-target-features.c
A clang/test/Preprocessor/stdc-ms-extension.cpp
M clang/test/Preprocessor/x86_target_features.c
M clang/test/Profile/c-unreachable-after-switch.c
M clang/test/Profile/misexpect-branch.c
M clang/test/Profile/misexpect-switch-default.c
M clang/test/Profile/misexpect-switch.c
M clang/test/Sema/aarch64-incompat-sm-builtin-calls.c
M clang/test/Sema/aarch64-sme-func-attrs.c
A clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_add_sub_za16.c
A clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_b16b16.cpp
M clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_fmlas16.c
M clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_imm.cpp
M clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_mopa_nonwide.c
M clang/test/Sema/aarch64-sme2-sve2p1-diagnostics.c
M clang/test/Sema/aarch64-sme2p1-diagnostics.c
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_bfloat.cpp
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_imm_n.cpp
M clang/test/Sema/aarch64-sve2p1-intrinsics/acle_sve2p1_imm.cpp
M clang/test/Sema/atomic-ops.c
R clang/test/Sema/attr-assume.c
M clang/test/Sema/attr-availability-ios.c
A clang/test/Sema/attr-counted-by-late-parsed-off.c
A clang/test/Sema/attr-counted-by-late-parsed-struct-ptrs.c
A clang/test/Sema/attr-counted-by-struct-ptrs-sizeless-types.c
A clang/test/Sema/attr-counted-by-struct-ptrs.c
A clang/test/Sema/attr-counted-by-vla-sizeless-types.c
A clang/test/Sema/attr-counted-by-vla.c
R clang/test/Sema/attr-counted-by.c
M clang/test/Sema/attr-noinline.cpp
M clang/test/Sema/attr-objc-bridge-related.m
M clang/test/Sema/bool-compare.c
M clang/test/Sema/builtin-assume.c
M clang/test/Sema/builtins-x86.c
M clang/test/Sema/builtins.c
M clang/test/Sema/compound-literal.c
M clang/test/Sema/constant_builtins_vector.cpp
A clang/test/Sema/fmv-namespace.cpp
M clang/test/Sema/parentheses.cpp
M clang/test/Sema/stmtexprs.c
M clang/test/Sema/warn-cast-function-type-strict.c
M clang/test/Sema/warn-cast-function-type.c
M clang/test/Sema/x86-eval-method.c
M clang/test/Sema/x86_64-eval-method.c
M clang/test/SemaCUDA/device-var-init.cu
M clang/test/SemaCUDA/function-overload.cu
M clang/test/SemaCUDA/union-init.cu
M clang/test/SemaCXX/MicrosoftExtensions.cpp
M clang/test/SemaCXX/addr-label-in-coroutines.cpp
A clang/test/SemaCXX/attribute-pack-expansion.cpp
M clang/test/SemaCXX/auto-cxx0x.cpp
M clang/test/SemaCXX/bool-compare.cpp
M clang/test/SemaCXX/builtin-operator-new-delete.cpp
A clang/test/SemaCXX/constexpr-never-constant.cpp
M clang/test/SemaCXX/cxx-deprecated.cpp
M clang/test/SemaCXX/cxx11-default-member-initializers.cpp
M clang/test/SemaCXX/cxx1y-initializer-aggregates.cpp
M clang/test/SemaCXX/cxx1y-sized-deallocation.cpp
M clang/test/SemaCXX/cxx1y-variable-templates_in_class.cpp
M clang/test/SemaCXX/cxx20-ctad-type-alias.cpp
M clang/test/SemaCXX/cxx23-assume-disabled.cpp
M clang/test/SemaCXX/cxx23-assume.cpp
M clang/test/SemaCXX/cxx2a-adl-only-template-id.cpp
M clang/test/SemaCXX/cxx2b-consteval-propagate.cpp
M clang/test/SemaCXX/cxx2b-deducing-this.cpp
A clang/test/SemaCXX/cxx2c-attributes.cpp
M clang/test/SemaCXX/cxx2c-pack-indexing.cpp
A clang/test/SemaCXX/incomplete-array-extent.cpp
M clang/test/SemaCXX/invalid-if-constexpr.cpp
A clang/test/SemaCXX/invalid-this-in-lambda.cpp
M clang/test/SemaCXX/lambda-unevaluated.cpp
M clang/test/SemaCXX/overload-decl.cpp
M clang/test/SemaCXX/overload-template.cpp
M clang/test/SemaCXX/overloaded-operator.cpp
M clang/test/SemaCXX/recovery-expr-type.cpp
M clang/test/SemaCXX/source_location.cpp
M clang/test/SemaCXX/template-specialization.cpp
M clang/test/SemaCXX/type-traits.cpp
A clang/test/SemaCXX/typo-correction-builtin-func.cpp
M clang/test/SemaCXX/unavailable_aligned_allocation.cpp
M clang/test/SemaCXX/warn-cast-function-type-strict.cpp
M clang/test/SemaCXX/warn-cast-function-type.cpp
M clang/test/SemaCXX/warn-thread-safety-analysis.cpp
M clang/test/SemaCXX/warn-unsafe-buffer-usage-function-attr.cpp
M clang/test/SemaCXX/warn-unsafe-buffer-usage-pragma-misuse.cpp
A clang/test/SemaHLSL/Availability/attr-availability-compute.hlsl
A clang/test/SemaHLSL/Availability/attr-availability-errors.hlsl
A clang/test/SemaHLSL/Availability/attr-availability-mesh.hlsl
A clang/test/SemaHLSL/Availability/attr-availability-pixel.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-default-compute.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-default-lib.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-relaxed-compute.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-relaxed-lib.hlsl
A clang/test/SemaHLSL/Availability/avail-lib-multiple-stages.hlsl
R clang/test/SemaHLSL/AvailabilityMarkup.hlsl
M clang/test/SemaHLSL/WaveBuiltinAvailability.hlsl
M clang/test/SemaObjC/unguarded-availability.m
M clang/test/SemaObjCXX/block-capture.mm
M clang/test/SemaOpenACC/compute-construct-async-clause.c
M clang/test/SemaOpenACC/compute-construct-attach-clause.c
M clang/test/SemaOpenACC/compute-construct-clause-ast.cpp
M clang/test/SemaOpenACC/compute-construct-copy-clause.c
M clang/test/SemaOpenACC/compute-construct-copy-clause.cpp
M clang/test/SemaOpenACC/compute-construct-copyin-clause.c
M clang/test/SemaOpenACC/compute-construct-copyin-clause.cpp
M clang/test/SemaOpenACC/compute-construct-copyout-clause.c
M clang/test/SemaOpenACC/compute-construct-copyout-clause.cpp
M clang/test/SemaOpenACC/compute-construct-create-clause.c
M clang/test/SemaOpenACC/compute-construct-create-clause.cpp
M clang/test/SemaOpenACC/compute-construct-default-clause.c
M clang/test/SemaOpenACC/compute-construct-default-clause.cpp
A clang/test/SemaOpenACC/compute-construct-device_type-ast.cpp
A clang/test/SemaOpenACC/compute-construct-device_type-clause.c
A clang/test/SemaOpenACC/compute-construct-device_type-clause.cpp
M clang/test/SemaOpenACC/compute-construct-deviceptr-clause.c
M clang/test/SemaOpenACC/compute-construct-firstprivate-clause.c
M clang/test/SemaOpenACC/compute-construct-firstprivate-clause.cpp
M clang/test/SemaOpenACC/compute-construct-if-clause.c
M clang/test/SemaOpenACC/compute-construct-no_create-clause.c
M clang/test/SemaOpenACC/compute-construct-no_create-clause.cpp
M clang/test/SemaOpenACC/compute-construct-num_gangs-clause.c
M clang/test/SemaOpenACC/compute-construct-num_workers-clause.c
M clang/test/SemaOpenACC/compute-construct-present-clause.c
M clang/test/SemaOpenACC/compute-construct-present-clause.cpp
M clang/test/SemaOpenACC/compute-construct-private-clause.c
M clang/test/SemaOpenACC/compute-construct-private-clause.cpp
A clang/test/SemaOpenACC/compute-construct-reduction-clause.c
A clang/test/SemaOpenACC/compute-construct-reduction-clause.cpp
M clang/test/SemaOpenACC/compute-construct-self-clause.c
M clang/test/SemaOpenACC/compute-construct-vector_length-clause.c
M clang/test/SemaOpenACC/compute-construct-wait-clause.c
A clang/test/SemaOpenACC/loop-ast.cpp
A clang/test/SemaOpenACC/loop-construct-auto_seq_independent-ast.cpp
A clang/test/SemaOpenACC/loop-construct-auto_seq_independent-clauses.c
A clang/test/SemaOpenACC/loop-construct-device_type-ast.cpp
A clang/test/SemaOpenACC/loop-construct-device_type-clause.c
A clang/test/SemaOpenACC/loop-construct-device_type-clause.cpp
A clang/test/SemaOpenACC/loop-construct-private-clause.c
A clang/test/SemaOpenACC/loop-construct-private-clause.cpp
A clang/test/SemaOpenACC/loop-loc-and-stmt.c
A clang/test/SemaOpenACC/loop-loc-and-stmt.cpp
M clang/test/SemaOpenACC/parallel-loc-and-stmt.c
M clang/test/SemaOpenACC/sub-array-ast.cpp
M clang/test/SemaOpenCL/builtins-amdgcn-error.cl
A clang/test/SemaOpenCL/builtins-amdgcn-gfx940-err.cl
M clang/test/SemaOpenCL/vector_swizzle_length.cl
M clang/test/SemaTemplate/aggregate-deduction-candidate.cpp
M clang/test/SemaTemplate/attributes.cpp
M clang/test/SemaTemplate/class-template-spec.cpp
M clang/test/SemaTemplate/concepts-lambda.cpp
M clang/test/SemaTemplate/concepts.cpp
M clang/test/SemaTemplate/cwg2398.cpp
M clang/test/SemaTemplate/deduction-guide.cpp
M clang/test/SemaTemplate/dependent-names.cpp
M clang/test/SemaTemplate/destructor-template.cpp
M clang/test/SemaTemplate/instantiate-requires-expr.cpp
M clang/test/SemaTemplate/make_integer_seq.cpp
M clang/test/SemaTemplate/ms-function-specialization-class-scope.cpp
M clang/test/SemaTemplate/ms-lookup-template-base-classes.cpp
M clang/test/SemaTemplate/nested-implicit-deduction-guides.cpp
M clang/test/SemaTemplate/temp_arg_nontype_cxx2c.cpp
R clang/test/SemaTemplate/temp_arg_template_cxx1z.cpp
A clang/test/SemaTemplate/temp_arg_template_p0522.cpp
M clang/test/SemaTemplate/template-id-expr.cpp
M clang/test/SemaTemplate/template-id-printing.cpp
M clang/test/SemaTemplate/type_pack_element.cpp
M clang/test/SemaTemplate/typo-dependent-name.cpp
M clang/test/SemaTemplate/typo-template-name.cpp
M clang/test/TableGen/deferred-diag.td
M clang/test/TableGen/text-substitution.td
A clang/test/TableGen/wording-errors.td
M clang/test/lit.site.cfg.py.in
M clang/tools/amdgpu-arch/AMDGPUArchByHIP.cpp
M clang/tools/amdgpu-arch/AMDGPUArchByHSA.cpp
M clang/tools/clang-format/ClangFormat.cpp
M clang/tools/clang-fuzzer/dictionary/dictionary.c
M clang/tools/clang-installapi/InstallAPIOpts.td
M clang/tools/clang-installapi/Options.cpp
M clang/tools/clang-installapi/Options.h
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
M clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td
M clang/tools/clang-repl/CMakeLists.txt
M clang/tools/clang-scan-deps/ClangScanDeps.cpp
M clang/tools/driver/cc1as_main.cpp
M clang/tools/libclang/CIndex.cpp
M clang/tools/libclang/CMakeLists.txt
M clang/tools/libclang/CXCursor.cpp
M clang/tools/libclang/CXExtractAPI.cpp
M clang/tools/scan-build-py/tests/functional/exec/CMakeLists.txt
M clang/tools/scan-build/bin/set-xcode-analyzer
M clang/unittests/AST/ASTImporterTest.cpp
M clang/unittests/AST/DeclTest.cpp
M clang/unittests/AST/Interp/Descriptor.cpp
M clang/unittests/AST/TemplateNameTest.cpp
M clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
M clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
M clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
M clang/unittests/Analysis/FlowSensitive/DataflowEnvironmentTest.cpp
M clang/unittests/Analysis/FlowSensitive/TestingSupport.h
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
M clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp
M clang/unittests/CMakeLists.txt
M clang/unittests/Driver/DXCModeTest.cpp
M clang/unittests/Format/CleanupTest.cpp
M clang/unittests/Format/ConfigParseTest.cpp
M clang/unittests/Format/DefinitionBlockSeparatorTest.cpp
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/FormatTestBase.h
M clang/unittests/Format/FormatTestCSharp.cpp
M clang/unittests/Format/FormatTestJS.cpp
M clang/unittests/Format/FormatTestJson.cpp
M clang/unittests/Format/FormatTestProto.cpp
M clang/unittests/Format/FormatTestRawStrings.cpp
M clang/unittests/Format/FormatTestSelective.cpp
M clang/unittests/Format/FormatTestTableGen.cpp
M clang/unittests/Format/FormatTestUtils.h
M clang/unittests/Format/FormatTestVerilog.cpp
M clang/unittests/Format/FormatTokenSourceTest.cpp
M clang/unittests/Format/MacroCallReconstructorTest.cpp
M clang/unittests/Format/MacroExpanderTest.cpp
M clang/unittests/Format/MatchFilePathTest.cpp
M clang/unittests/Format/NamespaceEndCommentsFixerTest.cpp
M clang/unittests/Format/ObjCPropertyAttributeOrderFixerTest.cpp
M clang/unittests/Format/QualifierFixerTest.cpp
M clang/unittests/Format/SortImportsTestJS.cpp
M clang/unittests/Format/SortImportsTestJava.cpp
M clang/unittests/Format/SortIncludesTest.cpp
M clang/unittests/Format/TestLexer.h
M clang/unittests/Format/TokenAnnotatorTest.cpp
M clang/unittests/Format/UsingDeclarationsSorterTest.cpp
M clang/unittests/Interpreter/CMakeLists.txt
M clang/unittests/Interpreter/CodeCompletionTest.cpp
M clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp
M clang/unittests/Interpreter/IncrementalProcessingTest.cpp
M clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
M clang/unittests/Interpreter/InterpreterTest.cpp
A clang/unittests/Interpreter/InterpreterTestFixture.h
R clang/unittests/Introspection/CMakeLists.txt
R clang/unittests/Introspection/IntrospectionTest.cpp
M clang/unittests/StaticAnalyzer/BugReportInterestingnessTest.cpp
M clang/unittests/StaticAnalyzer/CallDescriptionTest.cpp
M clang/unittests/StaticAnalyzer/CallEventTest.cpp
M clang/unittests/StaticAnalyzer/ConflictingEvalCallsTest.cpp
M clang/unittests/StaticAnalyzer/FalsePositiveRefutationBRVisitorTest.cpp
M clang/unittests/StaticAnalyzer/MemRegionDescriptiveNameTest.cpp
M clang/unittests/StaticAnalyzer/NoStateChangeFuncVisitorTest.cpp
M clang/unittests/Tooling/CompilationDatabaseTest.cpp
A clang/unittests/Tooling/RecursiveASTVisitorTests/DeductionGuide.cpp
M clang/utils/ClangVisualizers/CMakeLists.txt
M clang/utils/TableGen/CMakeLists.txt
M clang/utils/TableGen/ClangAttrEmitter.cpp
M clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
M clang/utils/TableGen/MveEmitter.cpp
M clang/utils/TableGen/SveEmitter.cpp
M clang/utils/analyzer/entrypoint.py
M clang/utils/check_cfc/check_cfc.py
R clang/utils/ci/buildkite-pipeline.yml
R clang/utils/ci/run-buildbot
M clang/utils/creduce-clang-crash.py
M clang/utils/hmaptool/CMakeLists.txt
M clang/www/analyzer/alpha_checks.html
M clang/www/c_status.html
M clang/www/cxx_dr_status.html
M clang/www/cxx_status.html
M compiler-rt/CMakeLists.txt
M compiler-rt/cmake/Modules/AddCompilerRT.cmake
M compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
M compiler-rt/cmake/Modules/CompilerRTUtils.cmake
M compiler-rt/cmake/base-config-ix.cmake
M compiler-rt/cmake/config-ix.cmake
M compiler-rt/include/CMakeLists.txt
M compiler-rt/lib/asan/CMakeLists.txt
M compiler-rt/lib/asan/tests/CMakeLists.txt
M compiler-rt/lib/builtins/CMakeLists.txt
A compiler-rt/lib/builtins/aarch64/sme-abi-vg.c
M compiler-rt/lib/builtins/cpu_model/aarch64.c
A compiler-rt/lib/builtins/cpu_model/aarch64.h
M compiler-rt/lib/ctx_profile/CMakeLists.txt
M compiler-rt/lib/ctx_profile/CtxInstrProfiling.cpp
M compiler-rt/lib/dfsan/dfsan_allocator.cpp
M compiler-rt/lib/dfsan/dfsan_custom.cpp
M compiler-rt/lib/fuzzer/tests/CMakeLists.txt
M compiler-rt/lib/gwp_asan/tests/CMakeLists.txt
M compiler-rt/lib/interception/tests/CMakeLists.txt
M compiler-rt/lib/lsan/lsan_allocator.cpp
M compiler-rt/lib/memprof/tests/CMakeLists.txt
M compiler-rt/lib/msan/msan.cpp
M compiler-rt/lib/msan/msan_allocator.cpp
M compiler-rt/lib/orc/CMakeLists.txt
M compiler-rt/lib/orc/tests/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/sanitizer_suppressions.cpp
M compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
M compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt
M compiler-rt/lib/scudo/standalone/combined.h
M compiler-rt/lib/stats/CMakeLists.txt
M compiler-rt/lib/tsan/CMakeLists.txt
M compiler-rt/lib/tsan/dd/CMakeLists.txt
M compiler-rt/lib/tsan/rtl/CMakeLists.txt
M compiler-rt/lib/xray/tests/CMakeLists.txt
M compiler-rt/lib/xray/xray_buffer_queue.h
M compiler-rt/lib/xray/xray_trampoline_x86_64.S
M compiler-rt/test/CMakeLists.txt
M compiler-rt/test/asan/CMakeLists.txt
M compiler-rt/test/asan/TestCases/Windows/bitfield_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/calloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/calloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/calloc_uaf.cpp
M compiler-rt/test/asan/TestCases/debug_double_free.cpp
M compiler-rt/test/asan/TestCases/debug_report.cpp
M compiler-rt/test/asan_abi/CMakeLists.txt
M compiler-rt/test/builtins/CMakeLists.txt
M compiler-rt/test/cfi/CMakeLists.txt
A compiler-rt/test/ctx_profile/TestCases/generate-context.cpp
M compiler-rt/test/ctx_profile/lit.cfg.py
M compiler-rt/test/dfsan/CMakeLists.txt
M compiler-rt/test/dfsan/custom.cpp
M compiler-rt/test/fuzzer/CMakeLists.txt
M compiler-rt/test/gwp_asan/CMakeLists.txt
M compiler-rt/test/hwasan/CMakeLists.txt
M compiler-rt/test/interception/CMakeLists.txt
M compiler-rt/test/lsan/CMakeLists.txt
M compiler-rt/test/memprof/CMakeLists.txt
M compiler-rt/test/metadata/CMakeLists.txt
M compiler-rt/test/msan/CMakeLists.txt
M compiler-rt/test/orc/CMakeLists.txt
M compiler-rt/test/orc/TestCases/Darwin/arm64/objc-imageinfo.S
M compiler-rt/test/orc/TestCases/Darwin/x86-64/objc-imageinfo.S
M compiler-rt/test/profile/CMakeLists.txt
M compiler-rt/test/profile/Linux/counter_promo_for.c
M compiler-rt/test/profile/Linux/counter_promo_while.c
M compiler-rt/test/safestack/CMakeLists.txt
M compiler-rt/test/sanitizer_common/CMakeLists.txt
M compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_allowlist_ignorelist.cpp
M compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cpp
M compiler-rt/test/shadowcallstack/CMakeLists.txt
M compiler-rt/test/tsan/CMakeLists.txt
M compiler-rt/test/tsan/signal_in_mutex_lock.cpp
M compiler-rt/test/ubsan/CMakeLists.txt
M compiler-rt/test/ubsan_minimal/CMakeLists.txt
M compiler-rt/test/xray/CMakeLists.txt
M cross-project-tests/CMakeLists.txt
M cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexExpectStepOrder.py
M cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.cpp
M flang/CMakeLists.txt
M flang/cmake/modules/AddFlang.cmake
M flang/docs/CMakeLists.txt
M flang/docs/Extensions.md
M flang/docs/HighLevelFIR.md
M flang/docs/Intrinsics.md
M flang/examples/FeatureList/FeatureList.cpp
M flang/include/flang/Common/Fortran-features.h
M flang/include/flang/Common/api-attrs.h
M flang/include/flang/Common/visit.h
M flang/include/flang/Evaluate/characteristics.h
M flang/include/flang/Evaluate/constant.h
M flang/include/flang/Evaluate/expression.h
M flang/include/flang/Evaluate/integer.h
M flang/include/flang/Evaluate/tools.h
M flang/include/flang/Evaluate/type.h
M flang/include/flang/Frontend/FrontendActions.h
M flang/include/flang/Frontend/FrontendOptions.h
M flang/include/flang/Frontend/LangOptions.def
M flang/include/flang/Lower/AbstractConverter.h
M flang/include/flang/Lower/ConvertExprToHLFIR.h
M flang/include/flang/Lower/ConvertVariable.h
M flang/include/flang/Lower/LoweringOptions.def
M flang/include/flang/Lower/StatementContext.h
M flang/include/flang/Optimizer/Analysis/AliasAnalysis.h
M flang/include/flang/Optimizer/Analysis/TBAAForest.h
M flang/include/flang/Optimizer/Builder/FIRBuilder.h
M flang/include/flang/Optimizer/Builder/HLFIRTools.h
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/include/flang/Optimizer/Builder/Runtime/Intrinsics.h
M flang/include/flang/Optimizer/Builder/Runtime/Numeric.h
M flang/include/flang/Optimizer/Builder/Runtime/RTBuilder.h
A flang/include/flang/Optimizer/Builder/Runtime/Support.h
A flang/include/flang/Optimizer/CodeGen/CGOps.h
M flang/include/flang/Optimizer/CodeGen/CGOps.td
M flang/include/flang/Optimizer/CodeGen/CGPasses.td
M flang/include/flang/Optimizer/CodeGen/CodeGen.h
M flang/include/flang/Optimizer/CodeGen/FIROpPatterns.h
M flang/include/flang/Optimizer/CodeGen/TypeConverter.h
M flang/include/flang/Optimizer/Dialect/CMakeLists.txt
A flang/include/flang/Optimizer/Dialect/CUF/Attributes/CMakeLists.txt
A flang/include/flang/Optimizer/Dialect/CUF/Attributes/CUFAttr.h
A flang/include/flang/Optimizer/Dialect/CUF/Attributes/CUFAttr.td
A flang/include/flang/Optimizer/Dialect/CUF/CMakeLists.txt
A flang/include/flang/Optimizer/Dialect/CUF/CUFDialect.h
A flang/include/flang/Optimizer/Dialect/CUF/CUFDialect.td
A flang/include/flang/Optimizer/Dialect/CUF/CUFOps.h
A flang/include/flang/Optimizer/Dialect/CUF/CUFOps.td
M flang/include/flang/Optimizer/Dialect/FIRAttr.td
M flang/include/flang/Optimizer/Dialect/FIROps.h
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/include/flang/Optimizer/Dialect/FIROpsSupport.h
M flang/include/flang/Optimizer/Dialect/FIRType.h
M flang/include/flang/Optimizer/HLFIR/HLFIROps.td
M flang/include/flang/Optimizer/HLFIR/Passes.h
M flang/include/flang/Optimizer/HLFIR/Passes.td
M flang/include/flang/Optimizer/Support/InitFIR.h
M flang/include/flang/Optimizer/Support/Utils.h
M flang/include/flang/Optimizer/Transforms/Passes.h
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/include/flang/Parser/dump-parse-tree.h
M flang/include/flang/Parser/parse-tree.h
M flang/include/flang/Runtime/support.h
M flang/include/flang/Runtime/time-intrinsic.h
M flang/include/flang/Semantics/openmp-directive-sets.h
M flang/include/flang/Semantics/scope.h
M flang/include/flang/Semantics/semantics.h
M flang/include/flang/Semantics/symbol.h
M flang/include/flang/Semantics/tools.h
M flang/include/flang/Semantics/unparse-with-symbols.h
M flang/include/flang/Tools/CLOptions.inc
M flang/include/flang/Tools/CrossToolHelpers.h
M flang/lib/Evaluate/characteristics.cpp
M flang/lib/Evaluate/check-expression.cpp
M flang/lib/Evaluate/fold-real.cpp
M flang/lib/Evaluate/fold.cpp
M flang/lib/Evaluate/formatting.cpp
M flang/lib/Evaluate/intrinsics.cpp
M flang/lib/Evaluate/shape.cpp
M flang/lib/Evaluate/tools.cpp
M flang/lib/Frontend/CMakeLists.txt
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Frontend/FrontendActions.cpp
M flang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
M flang/lib/Lower/Allocatable.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/CMakeLists.txt
M flang/lib/Lower/CallInterface.cpp
M flang/lib/Lower/ConvertCall.cpp
M flang/lib/Lower/ConvertExprToHLFIR.cpp
M flang/lib/Lower/ConvertVariable.cpp
M flang/lib/Lower/DirectivesCommon.h
M flang/lib/Lower/IO.cpp
M flang/lib/Lower/OpenACC.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.h
M flang/lib/Lower/OpenMP/Clauses.cpp
M flang/lib/Lower/OpenMP/Clauses.h
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
M flang/lib/Lower/OpenMP/DataSharingProcessor.h
M flang/lib/Lower/OpenMP/Decomposer.cpp
M flang/lib/Lower/OpenMP/Decomposer.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
M flang/lib/Lower/OpenMP/ReductionProcessor.h
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/lib/Lower/OpenMP/Utils.h
M flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
M flang/lib/Optimizer/Builder/CMakeLists.txt
M flang/lib/Optimizer/Builder/FIRBuilder.cpp
M flang/lib/Optimizer/Builder/HLFIRTools.cpp
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/Builder/Runtime/Intrinsics.cpp
M flang/lib/Optimizer/Builder/Runtime/Numeric.cpp
A flang/lib/Optimizer/Builder/Runtime/Support.cpp
M flang/lib/Optimizer/CodeGen/BoxedProcedure.cpp
M flang/lib/Optimizer/CodeGen/CGOps.cpp
R flang/lib/Optimizer/CodeGen/CGOps.h
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/CodeGen/FIROpPatterns.cpp
M flang/lib/Optimizer/CodeGen/PreCGRewrite.cpp
M flang/lib/Optimizer/CodeGen/TBAABuilder.cpp
M flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
M flang/lib/Optimizer/CodeGen/TypeConverter.cpp
M flang/lib/Optimizer/Dialect/CMakeLists.txt
A flang/lib/Optimizer/Dialect/CUF/Attributes/CMakeLists.txt
A flang/lib/Optimizer/Dialect/CUF/Attributes/CUFAttr.cpp
A flang/lib/Optimizer/Dialect/CUF/CMakeLists.txt
A flang/lib/Optimizer/Dialect/CUF/CUFDialect.cpp
A flang/lib/Optimizer/Dialect/CUF/CUFOps.cpp
M flang/lib/Optimizer/Dialect/FIRAttr.cpp
M flang/lib/Optimizer/Dialect/FIRDialect.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/lib/Optimizer/Dialect/FIRType.cpp
M flang/lib/Optimizer/HLFIR/IR/CMakeLists.txt
M flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
M flang/lib/Optimizer/HLFIR/Transforms/CMakeLists.txt
M flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
M flang/lib/Optimizer/HLFIR/Transforms/InlineElementals.cpp
M flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIRIntrinsics.cpp
M flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIROrderedAssignments.cpp
M flang/lib/Optimizer/HLFIR/Transforms/OptimizedBufferization.cpp
M flang/lib/Optimizer/HLFIR/Transforms/SimplifyHLFIRIntrinsics.cpp
M flang/lib/Optimizer/Transforms/AddAliasTags.cpp
M flang/lib/Optimizer/Transforms/AddDebugInfo.cpp
A flang/lib/Optimizer/Transforms/AssumedRankOpConversion.cpp
M flang/lib/Optimizer/Transforms/CMakeLists.txt
M flang/lib/Optimizer/Transforms/ControlFlowConverter.cpp
M flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
M flang/lib/Optimizer/Transforms/DebugTypeGenerator.h
M flang/lib/Optimizer/Transforms/OMPFunctionFiltering.cpp
M flang/lib/Optimizer/Transforms/OMPMapInfoFinalization.cpp
M flang/lib/Optimizer/Transforms/OMPMarkDeclareTarget.cpp
M flang/lib/Parser/executable-parsers.cpp
M flang/lib/Parser/expr-parsers.cpp
M flang/lib/Parser/openacc-parsers.cpp
M flang/lib/Parser/openmp-parsers.cpp
M flang/lib/Parser/preprocessor.cpp
M flang/lib/Parser/prescan.cpp
M flang/lib/Parser/prescan.h
M flang/lib/Parser/program-parsers.cpp
M flang/lib/Parser/unparse.cpp
M flang/lib/Semantics/check-acc-structure.cpp
M flang/lib/Semantics/check-call.cpp
M flang/lib/Semantics/check-cuda.cpp
M flang/lib/Semantics/check-declarations.cpp
M flang/lib/Semantics/check-do-forall.cpp
M flang/lib/Semantics/check-omp-structure.cpp
M flang/lib/Semantics/check-omp-structure.h
M flang/lib/Semantics/check-purity.cpp
M flang/lib/Semantics/data-to-inits.cpp
M flang/lib/Semantics/expression.cpp
M flang/lib/Semantics/mod-file.cpp
M flang/lib/Semantics/mod-file.h
M flang/lib/Semantics/resolve-directives.cpp
M flang/lib/Semantics/resolve-directives.h
M flang/lib/Semantics/resolve-labels.cpp
M flang/lib/Semantics/resolve-names-utils.cpp
M flang/lib/Semantics/resolve-names.cpp
M flang/lib/Semantics/semantics.cpp
M flang/lib/Semantics/symbol.cpp
M flang/lib/Semantics/unparse-with-symbols.cpp
A flang/module/cudadevice.f90
M flang/runtime/CMakeLists.txt
M flang/runtime/descriptor-io.h
M flang/runtime/edit-output.cpp
M flang/runtime/external-unit.cpp
M flang/runtime/file.cpp
A flang/runtime/io-api-common.h
A flang/runtime/io-api-minimal.cpp
M flang/runtime/io-api.cpp
M flang/runtime/numeric.cpp
M flang/runtime/pseudo-unit.cpp
M flang/runtime/reduction-templates.h
M flang/runtime/support.cpp
M flang/runtime/terminator.h
M flang/runtime/time-intrinsic.cpp
M flang/runtime/tools.h
M flang/runtime/unit.cpp
M flang/runtime/unit.h
M flang/test/Analysis/AliasAnalysis/alias-analysis-2.fir
M flang/test/Analysis/AliasAnalysis/alias-analysis-3.fir
A flang/test/Analysis/AliasAnalysis/alias-analysis-9.fir
M flang/test/CMakeLists.txt
M flang/test/Driver/bbc-mlir-pass-pipeline.f90
M flang/test/Driver/exec.f90
M flang/test/Driver/fopenmp.f90
M flang/test/Driver/frontend-forwarding.f90
M flang/test/Driver/include-omp-header.f90
M flang/test/Driver/mlir-debug-pass-pipeline.f90
M flang/test/Driver/mlir-pass-pipeline.f90
M flang/test/Driver/omp-driver-offload.f90
A flang/test/Driver/print-resource-dir.F90
A flang/test/Driver/unparse-with-modules.f90
M flang/test/Driver/w-arg-unsupported.f90
M flang/test/Driver/wextra-ok.f90
A flang/test/Evaluate/signed-mult-opd.f90
A flang/test/Evaluate/triplets01.f90
A flang/test/Fir/array-coor-canonicalization.fir
M flang/test/Fir/basic-program.fir
M flang/test/Fir/convert-to-llvm.fir
M flang/test/Fir/cuf-invalid.fir
M flang/test/Fir/cuf.mlir
M flang/test/Fir/declare-codegen.fir
M flang/test/Fir/dummy-scope-codegen.fir
M flang/test/Fir/fir-ops.fir
M flang/test/Fir/invalid.fir
A flang/test/Fir/is_assumed_size-codegen.fir
M flang/test/Fir/loop01.fir
M flang/test/Fir/omp-reduction-embox-codegen.fir
A flang/test/Fir/rebox_assumed_rank_codegen.fir
M flang/test/Fir/tbaa.fir
M flang/test/HLFIR/bufferize01.fir
M flang/test/HLFIR/c_ptr_byvalue.f90
M flang/test/HLFIR/declare-codegen.fir
M flang/test/HLFIR/maxloc-elemental.fir
M flang/test/HLFIR/minloc-elemental.fir
M flang/test/HLFIR/order_assignments/impure-where.fir
M flang/test/HLFIR/order_assignments/inlined-stack-temp.fir
M flang/test/HLFIR/order_assignments/user-defined-assignment-finalization.fir
A flang/test/HLFIR/order_assignments/where-cleanup.f90
M flang/test/HLFIR/order_assignments/where-codegen-no-conflict.fir
A flang/test/HLFIR/order_assignments/where-hoisting.f90
A flang/test/Integration/debug-complex-1.f90
A flang/test/Integration/debug-fixed-array-type-2.f90
A flang/test/Integration/debug-module-2.f90
M flang/test/Lower/CUDA/cuda-allocatable.cuf
M flang/test/Lower/CUDA/cuda-data-attribute.cuf
M flang/test/Lower/CUDA/cuda-data-transfer.cuf
A flang/test/Lower/CUDA/cuda-device-proc.cuf
M flang/test/Lower/CUDA/cuda-kernel-calls.cuf
M flang/test/Lower/CUDA/cuda-kernel-loop-directive.cuf
M flang/test/Lower/CUDA/cuda-mod.cuf
M flang/test/Lower/CUDA/cuda-module-use.cuf
M flang/test/Lower/CUDA/cuda-proc-attribute.cuf
A flang/test/Lower/CUDA/cuda-program-global.cuf
M flang/test/Lower/HLFIR/assumed-rank-iface.f90
M flang/test/Lower/HLFIR/bindc-value-derived.f90
M flang/test/Lower/HLFIR/block_bindc_pocs.f90
M flang/test/Lower/HLFIR/call-sequence-associated-descriptors.f90
M flang/test/Lower/HLFIR/calls-character-singleton-result.f90
A flang/test/Lower/HLFIR/convert-variable-assumed-rank.f90
A flang/test/Lower/HLFIR/elemental-result-length.f90
M flang/test/Lower/HLFIR/forall.f90
M flang/test/Lower/HLFIR/ignore-type-assumed-shape.f90
A flang/test/Lower/HLFIR/select-rank.f90
A flang/test/Lower/HLFIR/where-nonelemental.f90
M flang/test/Lower/Intrinsics/associated.f90
A flang/test/Lower/Intrinsics/etime-function.f90
A flang/test/Lower/Intrinsics/etime.f90
M flang/test/Lower/Intrinsics/ieee_flag.f90
A flang/test/Lower/Intrinsics/selected_char_kind.f90
A flang/test/Lower/Intrinsics/selected_logical_kind.f90
A flang/test/Lower/OpenMP/Todo/masked-directive.f90
M flang/test/Lower/OpenMP/Todo/omp-default-clause-inner-loop.f90
A flang/test/Lower/OpenMP/allocatable-multiple-vars.f90
M flang/test/Lower/OpenMP/atomic-capture.f90
M flang/test/Lower/OpenMP/atomic-read.f90
M flang/test/Lower/OpenMP/atomic-update.f90
M flang/test/Lower/OpenMP/atomic-write.f90
M flang/test/Lower/OpenMP/copyin.f90
M flang/test/Lower/OpenMP/critical.f90
A flang/test/Lower/OpenMP/debug_info_conflict.f90
M flang/test/Lower/OpenMP/declare-target-data.f90
M flang/test/Lower/OpenMP/default-clause-byref.f90
M flang/test/Lower/OpenMP/default-clause.f90
M flang/test/Lower/OpenMP/delayed-privatization-allocatable-firstprivate.f90
A flang/test/Lower/OpenMP/delayed-privatization-lower-allocatable-to-llvm.f90
M flang/test/Lower/OpenMP/delayed-privatization-reduction-byref.f90
A flang/test/Lower/OpenMP/force-usm.f90
M flang/test/Lower/OpenMP/hlfir-seqloop-parallel.f90
M flang/test/Lower/OpenMP/hlfir-wsloop.f90
A flang/test/Lower/OpenMP/invalid-reduction-modifier.f90
M flang/test/Lower/OpenMP/lastprivate-commonblock.f90
M flang/test/Lower/OpenMP/lastprivate-iv.f90
M flang/test/Lower/OpenMP/omp-lib-num-threads.f90
M flang/test/Lower/OpenMP/parallel-lastprivate-clause-scalar.f90
M flang/test/Lower/OpenMP/parallel-private-clause-fixes.f90
M flang/test/Lower/OpenMP/parallel-private-clause.f90
M flang/test/Lower/OpenMP/parallel-reduction-add-byref.f90
M flang/test/Lower/OpenMP/parallel-reduction-allocatable-array.f90
M flang/test/Lower/OpenMP/parallel-reduction-array-lb.f90
M flang/test/Lower/OpenMP/parallel-reduction-array.f90
M flang/test/Lower/OpenMP/parallel-reduction-array2.f90
M flang/test/Lower/OpenMP/parallel-reduction-byref.f90
M flang/test/Lower/OpenMP/parallel-reduction3.f90
M flang/test/Lower/OpenMP/parallel-sections.f90
M flang/test/Lower/OpenMP/parallel-wsloop-firstpriv.f90
M flang/test/Lower/OpenMP/parallel-wsloop-reduction-byref.f90
M flang/test/Lower/OpenMP/parallel-wsloop.f90
M flang/test/Lower/OpenMP/parallel.f90
A flang/test/Lower/OpenMP/requires-force-usm.f90
M flang/test/Lower/OpenMP/sections.f90
M flang/test/Lower/OpenMP/single.f90
M flang/test/Lower/OpenMP/stop-stmt-in-region.f90
M flang/test/Lower/OpenMP/target.f90
M flang/test/Lower/OpenMP/task.f90
M flang/test/Lower/OpenMP/taskgroup.f90
M flang/test/Lower/OpenMP/teams.f90
M flang/test/Lower/OpenMP/threadprivate-commonblock-use.f90
M flang/test/Lower/OpenMP/threadprivate-commonblock.f90
M flang/test/Lower/OpenMP/threadprivate-default-clause.f90
M flang/test/Lower/OpenMP/threadprivate-use-association.f90
M flang/test/Lower/OpenMP/unstructured.f90
M flang/test/Lower/OpenMP/wsloop-collapse.f90
M flang/test/Lower/OpenMP/wsloop-monotonic.f90
M flang/test/Lower/OpenMP/wsloop-nonmonotonic.f90
M flang/test/Lower/OpenMP/wsloop-reduction-add-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-add-hlfir-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-add-hlfir.f90
M flang/test/Lower/OpenMP/wsloop-reduction-add.f90
M flang/test/Lower/OpenMP/wsloop-reduction-allocatable.f90
M flang/test/Lower/OpenMP/wsloop-reduction-array-assumed-shape.f90
M flang/test/Lower/OpenMP/wsloop-reduction-array.f90
M flang/test/Lower/OpenMP/wsloop-reduction-array2.f90
M flang/test/Lower/OpenMP/wsloop-reduction-iand-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-iand.f90
M flang/test/Lower/OpenMP/wsloop-reduction-ieor-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-ieor.f90
M flang/test/Lower/OpenMP/wsloop-reduction-ior-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-ior.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-and-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-and.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-eqv-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-eqv.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-neqv-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-neqv.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-or-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-or.f90
M flang/test/Lower/OpenMP/wsloop-reduction-max-2-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-max-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-max-hlfir-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-max-hlfir.f90
M flang/test/Lower/OpenMP/wsloop-reduction-max.f90
M flang/test/Lower/OpenMP/wsloop-reduction-min-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-min.f90
M flang/test/Lower/OpenMP/wsloop-reduction-min2.f90
M flang/test/Lower/OpenMP/wsloop-reduction-mul-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-mul.f90
A flang/test/Lower/OpenMP/wsloop-reduction-multiple-clauses.f90
M flang/test/Lower/OpenMP/wsloop-variable.f90
M flang/test/Lower/OpenMP/wsloop.f90
M flang/test/Lower/PowerPC/ppc-vec-load.f90
M flang/test/Lower/PowerPC/ppc-vec-shift-be-le.f90
M flang/test/Lower/array-substring.f90
M flang/test/Lower/block.f90
M flang/test/Lower/branching-directive.f90
A flang/test/Lower/call-bindc.f90
M flang/test/Lower/common-block-2.f90
M flang/test/Lower/common-block.f90
M flang/test/Lower/do_loop.f90
M flang/test/Lower/do_loop_unstructured.f90
M flang/test/Lower/infinite_loop.f90
M flang/test/Lower/io-implied-do-fixes.f90
M flang/test/Lower/module_definition.f90
M flang/test/Lower/module_use.f90
M flang/test/Lower/pointer-initial-target-2.f90
A flang/test/Lower/unstructured-control-flow.f90
M flang/test/Parser/OpenMP/allocate-tree-spec-part.f90
M flang/test/Parser/OpenMP/allocate-tree.f90
A flang/test/Parser/OpenMP/masked-unparse.f90
M flang/test/Parser/OpenMP/target_device_parse.f90
M flang/test/Parser/cuf-sanity-common
M flang/test/Parser/cuf-sanity-unparse.CUF
A flang/test/Preprocessing/args.h
A flang/test/Preprocessing/include-args.F90
M flang/test/Semantics/OpenMP/allocate-clause01.f90
M flang/test/Semantics/OpenMP/allocate-directive.f90
M flang/test/Semantics/OpenMP/allocate01.f90
M flang/test/Semantics/OpenMP/allocate02.f90
M flang/test/Semantics/OpenMP/allocate03.f90
M flang/test/Semantics/OpenMP/allocate04.f90
M flang/test/Semantics/OpenMP/allocate05.f90
M flang/test/Semantics/OpenMP/allocate06.f90
M flang/test/Semantics/OpenMP/allocate07.f90
M flang/test/Semantics/OpenMP/allocate08.f90
M flang/test/Semantics/OpenMP/allocate09.f90
M flang/test/Semantics/OpenMP/allocators01.f90
M flang/test/Semantics/OpenMP/allocators02.f90
M flang/test/Semantics/OpenMP/allocators03.f90
M flang/test/Semantics/OpenMP/allocators04.f90
M flang/test/Semantics/OpenMP/allocators05.f90
M flang/test/Semantics/OpenMP/allocators06.f90
M flang/test/Semantics/OpenMP/atomic-hint-clause.f90
A flang/test/Semantics/OpenMP/atomic-update-overloaded-ops.f90
M flang/test/Semantics/OpenMP/atomic01.f90
M flang/test/Semantics/OpenMP/atomic02.f90
M flang/test/Semantics/OpenMP/atomic03.f90
M flang/test/Semantics/OpenMP/atomic04.f90
M flang/test/Semantics/OpenMP/atomic05.f90
M flang/test/Semantics/OpenMP/clause-validity01.f90
M flang/test/Semantics/OpenMP/critical-hint-clause.f90
M flang/test/Semantics/OpenMP/declare-target01.f90
M flang/test/Semantics/OpenMP/do02.f90
M flang/test/Semantics/OpenMP/flush02.f90
A flang/test/Semantics/OpenMP/masked.f90
M flang/test/Semantics/OpenMP/nested-distribute.f90
M flang/test/Semantics/OpenMP/omp-atomic-assignment-stmt.f90
M flang/test/Semantics/OpenMP/parallel-sections01.f90
A flang/test/Semantics/OpenMP/reduction-modifiers.f90
A flang/test/Semantics/OpenMP/reduction13.f90
M flang/test/Semantics/OpenMP/resolve06.f90
M flang/test/Semantics/OpenMP/sections02.f90
R flang/test/Semantics/OpenMP/sections03.f90
M flang/test/Semantics/OpenMP/simd03.f90
M flang/test/Semantics/OpenMP/sync-critical02.f90
M flang/test/Semantics/OpenMP/taskgroup01.f90
M flang/test/Semantics/OpenMP/taskloop03.f90
M flang/test/Semantics/OpenMP/threadprivate01.f90
M flang/test/Semantics/associated.f90
M flang/test/Semantics/bind-c02.f90
M flang/test/Semantics/bind-c03.f90
M flang/test/Semantics/bind-c09.f90
M flang/test/Semantics/bind-c12.f90
A flang/test/Semantics/bind-c15.f90
A flang/test/Semantics/bind-c16.f90
M flang/test/Semantics/call03.f90
M flang/test/Semantics/call05.f90
M flang/test/Semantics/call10.f90
M flang/test/Semantics/call30.f90
M flang/test/Semantics/call39.f90
M flang/test/Semantics/call40.f90
A flang/test/Semantics/cuf-device-procedures01.cuf
A flang/test/Semantics/cuf-device-procedures02.cuf
M flang/test/Semantics/elemental01.f90
M flang/test/Semantics/entry01.f90
A flang/test/Semantics/etime.f90
M flang/test/Semantics/label05.f90
M flang/test/Semantics/modfile03.f90
M flang/test/Semantics/null01.f90
A flang/test/Semantics/procinterface05.f90
A flang/test/Semantics/pure02.f90
A flang/test/Semantics/reduce.cuf
M flang/test/Semantics/resolve09.f90
M flang/test/Semantics/resolve102.f90
M flang/test/Semantics/resolve118.f90
A flang/test/Semantics/resolve123.f90
A flang/test/Semantics/resolve124.f90
M flang/test/Semantics/resolve55.f90
M flang/test/Semantics/resolve81.f90
M flang/test/Semantics/resolve82.f90
M flang/test/Semantics/shape.f90
M flang/test/Semantics/stmt-func01.f90
A flang/test/Transforms/debug-complex-1.fir
A flang/test/Transforms/debug-fixed-array-type.fir
M flang/test/Transforms/debug-line-table-inc-file.fir
M flang/test/Transforms/debug-line-table.fir
A flang/test/Transforms/debug-local-var-2.f90
A flang/test/Transforms/debug-local-var.f90
A flang/test/Transforms/debug-module-1.fir
A flang/test/Transforms/debug-module-2.fir
A flang/test/Transforms/tbaa-with-dummy-scope.fir
M flang/test/Transforms/tbaa.fir
M flang/test/Transforms/tbaa2.fir
M flang/test/lit.cfg.py
M flang/test/lit.site.cfg.py.in
M flang/tools/bbc/CMakeLists.txt
M flang/tools/bbc/bbc.cpp
M flang/tools/f18/CMakeLists.txt
M flang/tools/fir-opt/CMakeLists.txt
M flang/tools/tco/CMakeLists.txt
M flang/unittests/CMakeLists.txt
M flang/unittests/Evaluate/CMakeLists.txt
M flang/unittests/Optimizer/CMakeLists.txt
M flang/unittests/Optimizer/FortranVariableTest.cpp
M flang/unittests/Runtime/CMakeLists.txt
A flang/unittests/Runtime/Support.cpp
M libc/CMakeLists.txt
M libc/cmake/modules/CheckCompilerFeatures.cmake
M libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
M libc/cmake/modules/LLVMLibCLibraryRules.cmake
M libc/cmake/modules/LLVMLibCObjectRules.cmake
A libc/cmake/modules/compiler_features/check_float16.cpp
M libc/cmake/modules/prepare_libc_gpu_build.cmake
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/riscv/entrypoints.txt
M libc/config/config.json
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/c23.rst
M libc/docs/configure.rst
M libc/docs/ctype.rst
M libc/docs/fenv.rst
M libc/docs/gpu/using.rst
M libc/docs/math/index.rst
M libc/docs/signal.rst
M libc/docs/stdbit.rst
M libc/docs/threads.rst
M libc/hdr/CMakeLists.txt
A libc/hdr/errno_macros.h
A libc/hdr/float_macros.h
M libc/hdr/types/CMakeLists.txt
A libc/hdr/types/pid_t.h
M libc/include/CMakeLists.txt
M libc/include/errno.h.def
M libc/include/llvm-libc-macros/CMakeLists.txt
A libc/include/llvm-libc-macros/error-number-macros.h
M libc/include/llvm-libc-macros/float-macros.h
A libc/include/llvm-libc-macros/float16-macros.h
M libc/include/llvm-libc-macros/generic-error-number-macros.h
M libc/include/llvm-libc-macros/linux/CMakeLists.txt
A libc/include/llvm-libc-macros/linux/error-number-macros.h
M libc/include/llvm-libc-types/CMakeLists.txt
M libc/include/llvm-libc-types/cnd_t.h
M libc/include/llvm-libc-types/pthread_rwlockattr_t.h
M libc/include/math.h.def
M libc/include/pthread.h.def
M libc/spec/posix.td
M libc/spec/spec.td
M libc/spec/stdc.td
M libc/src/__support/CPP/CMakeLists.txt
M libc/src/__support/CPP/algorithm.h
M libc/src/__support/CPP/expected.h
M libc/src/__support/CPP/new.h
M libc/src/__support/CPP/type_traits.h
A libc/src/__support/CPP/type_traits/aligned_storage.h
M libc/src/__support/CPP/type_traits/is_floating_point.h
M libc/src/__support/FPUtil/FPBits.h
M libc/src/__support/FPUtil/NearestIntegerOperations.h
M libc/src/__support/FPUtil/sqrt.h
R libc/src/__support/FPUtil/x86_64/PolyEval.h
M libc/src/__support/FPUtil/x86_64/sqrt.h
M libc/src/__support/File/dir.h
M libc/src/__support/File/file.h
M libc/src/__support/OSUtil/baremetal/CMakeLists.txt
A libc/src/__support/OSUtil/baremetal/exit.cpp
R libc/src/__support/OSUtil/baremetal/quick_exit.cpp
A libc/src/__support/OSUtil/exit.h
M libc/src/__support/OSUtil/gpu/CMakeLists.txt
A libc/src/__support/OSUtil/gpu/exit.cpp
R libc/src/__support/OSUtil/gpu/quick_exit.cpp
M libc/src/__support/OSUtil/linux/CMakeLists.txt
A libc/src/__support/OSUtil/linux/exit.cpp
R libc/src/__support/OSUtil/linux/quick_exit.cpp
R libc/src/__support/OSUtil/quick_exit.h
M libc/src/__support/StringUtil/tables/stdc_errors.h
M libc/src/__support/fixedvector.h
M libc/src/__support/libc_assert.h
M libc/src/__support/macros/properties/CMakeLists.txt
M libc/src/__support/macros/properties/types.h
M libc/src/__support/threads/CMakeLists.txt
A libc/src/__support/threads/CndVar.h
M libc/src/__support/threads/fork_callbacks.cpp
M libc/src/__support/threads/gpu/mutex.h
M libc/src/__support/threads/linux/CMakeLists.txt
A libc/src/__support/threads/linux/CndVar.cpp
M libc/src/__support/threads/linux/futex_utils.h
M libc/src/__support/threads/linux/mutex.h
A libc/src/__support/threads/linux/raw_mutex.h
M libc/src/__support/threads/mutex.h
M libc/src/__support/threads/thread.cpp
M libc/src/__support/time/linux/CMakeLists.txt
A libc/src/__support/time/linux/abs_timeout.h
A libc/src/__support/time/linux/clock_conversion.h
R libc/src/__support/time/linux/clock_gettime.cpp
M libc/src/__support/time/linux/clock_gettime.h
A libc/src/__support/time/linux/monotonicity.h
M libc/src/__support/time/units.h
M libc/src/errno/CMakeLists.txt
M libc/src/errno/libc_errno.cpp
M libc/src/errno/libc_errno.h
M libc/src/math/CMakeLists.txt
A libc/src/math/canonicalizef16.h
A libc/src/math/ceilf16.h
A libc/src/math/copysignf16.h
M libc/src/math/docs/add_math_function.md
A libc/src/math/fabsf16.h
A libc/src/math/fdimf16.h
A libc/src/math/floorf16.h
A libc/src/math/fromfpf16.h
A libc/src/math/fromfpxf16.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/canonicalizef16.cpp
A libc/src/math/generic/ceilf16.cpp
A libc/src/math/generic/copysignf16.cpp
A libc/src/math/generic/fabsf16.cpp
A libc/src/math/generic/fdimf16.cpp
A libc/src/math/generic/floorf16.cpp
A libc/src/math/generic/fromfpf16.cpp
A libc/src/math/generic/fromfpxf16.cpp
A libc/src/math/generic/llrintf16.cpp
A libc/src/math/generic/llroundf16.cpp
A libc/src/math/generic/lrintf16.cpp
A libc/src/math/generic/lroundf16.cpp
A libc/src/math/generic/nearbyintf16.cpp
A libc/src/math/generic/rintf16.cpp
A libc/src/math/generic/roundevenf16.cpp
A libc/src/math/generic/roundf16.cpp
M libc/src/math/generic/scalbn.cpp
M libc/src/math/generic/scalbnf.cpp
M libc/src/math/generic/scalbnf128.cpp
M libc/src/math/generic/scalbnl.cpp
A libc/src/math/generic/truncf16.cpp
A libc/src/math/generic/ufromfpf16.cpp
A libc/src/math/generic/ufromfpxf16.cpp
A libc/src/math/llrintf16.h
A libc/src/math/llroundf16.h
A libc/src/math/lrintf16.h
A libc/src/math/lroundf16.h
A libc/src/math/nearbyintf16.h
A libc/src/math/rintf16.h
A libc/src/math/roundevenf16.h
A libc/src/math/roundf16.h
A libc/src/math/truncf16.h
A libc/src/math/ufromfpf16.h
A libc/src/math/ufromfpxf16.h
M libc/src/pthread/CMakeLists.txt
M libc/src/pthread/pthread_mutex_init.cpp
M libc/src/pthread/pthread_mutexattr.h
A libc/src/pthread/pthread_rwlockattr_getkind_np.cpp
A libc/src/pthread/pthread_rwlockattr_getkind_np.h
M libc/src/pthread/pthread_rwlockattr_init.cpp
A libc/src/pthread/pthread_rwlockattr_setkind_np.cpp
A libc/src/pthread/pthread_rwlockattr_setkind_np.h
M libc/src/setjmp/x86_64/CMakeLists.txt
M libc/src/stdio/printf_core/parser.h
M libc/src/stdlib/CMakeLists.txt
M libc/src/stdlib/_Exit.cpp
M libc/src/stdlib/atexit.cpp
A libc/src/stdlib/calloc.h
M libc/src/stdlib/exit.cpp
A libc/src/stdlib/quick_exit.cpp
A libc/src/stdlib/quick_exit.h
M libc/src/string/memory_utils/op_x86.h
M libc/src/string/memory_utils/utils.h
M libc/src/string/memory_utils/x86_64/inline_memcpy.h
M libc/src/threads/linux/CMakeLists.txt
R libc/src/threads/linux/CndVar.h
M libc/src/threads/linux/cnd_broadcast.cpp
M libc/src/threads/linux/cnd_destroy.cpp
M libc/src/threads/linux/cnd_init.cpp
M libc/src/threads/linux/cnd_signal.cpp
M libc/src/threads/linux/cnd_wait.cpp
M libc/src/threads/mtx_init.cpp
M libc/src/time/gpu/time_utils.cpp
M libc/src/time/gpu/time_utils.h
M libc/src/unistd/_exit.cpp
A libc/startup/baremetal/CMakeLists.txt
A libc/startup/baremetal/fini.cpp
A libc/startup/baremetal/init.cpp
M libc/test/IntegrationTest/test.h
M libc/test/UnitTest/LibcTest.cpp
M libc/test/UnitTest/LibcTest.h
M libc/test/UnitTest/LibcTestMain.cpp
M libc/test/integration/scudo/CMakeLists.txt
M libc/test/integration/src/__support/threads/thread_detach_test.cpp
M libc/test/src/__support/CMakeLists.txt
M libc/test/src/__support/CPP/CMakeLists.txt
A libc/test/src/__support/CPP/algorithm_test.cpp
M libc/test/src/__support/CPP/type_traits_test.cpp
M libc/test/src/__support/fixedvector_test.cpp
A libc/test/src/__support/threads/CMakeLists.txt
A libc/test/src/__support/threads/linux/CMakeLists.txt
A libc/test/src/__support/threads/linux/raw_mutex_test.cpp
A libc/test/src/__support/time/CMakeLists.txt
A libc/test/src/__support/time/linux/CMakeLists.txt
A libc/test/src/__support/time/linux/timeout_test.cpp
M libc/test/src/fenv/getenv_and_setenv_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/CanonicalizeTest.h
M libc/test/src/math/smoke/CeilTest.h
M libc/test/src/math/smoke/CopySignTest.h
M libc/test/src/math/smoke/FDimTest.h
M libc/test/src/math/smoke/FloorTest.h
M libc/test/src/math/smoke/FromfpTest.h
M libc/test/src/math/smoke/FromfpxTest.h
M libc/test/src/math/smoke/RoundEvenTest.h
M libc/test/src/math/smoke/RoundTest.h
M libc/test/src/math/smoke/RoundToIntegerTest.h
M libc/test/src/math/smoke/TruncTest.h
M libc/test/src/math/smoke/UfromfpTest.h
M libc/test/src/math/smoke/UfromfpxTest.h
A libc/test/src/math/smoke/canonicalizef16_test.cpp
A libc/test/src/math/smoke/ceilf16_test.cpp
A libc/test/src/math/smoke/copysignf16_test.cpp
A libc/test/src/math/smoke/fabsf16_test.cpp
A libc/test/src/math/smoke/fdimf16_test.cpp
A libc/test/src/math/smoke/floorf16_test.cpp
A libc/test/src/math/smoke/fromfpf16_test.cpp
A libc/test/src/math/smoke/fromfpxf16_test.cpp
A libc/test/src/math/smoke/llrintf16_test.cpp
A libc/test/src/math/smoke/llroundf16_test.cpp
A libc/test/src/math/smoke/lrintf16_test.cpp
A libc/test/src/math/smoke/lroundf16_test.cpp
A libc/test/src/math/smoke/nearbyintf16_test.cpp
A libc/test/src/math/smoke/rintf16_test.cpp
A libc/test/src/math/smoke/roundevenf16_test.cpp
A libc/test/src/math/smoke/roundf16_test.cpp
A libc/test/src/math/smoke/truncf16_test.cpp
A libc/test/src/math/smoke/ufromfpf16_test.cpp
A libc/test/src/math/smoke/ufromfpxf16_test.cpp
M libc/test/src/pthread/CMakeLists.txt
M libc/test/src/pthread/pthread_rwlockattr_test.cpp
M libc/test/src/stdlib/CMakeLists.txt
A libc/test/src/stdlib/quick_exit_test.cpp
M libc/test/src/string/memcpy_test.cpp
A libc/test/src/string/memory_utils/protected_pages.h
M libc/test/src/string/memset_test.cpp
M libc/test/src/string/strerror_test.cpp
M libc/test/utils/UnitTest/testfilter_test.cpp
M libc/utils/docgen/ctype.json
M libc/utils/docgen/docgen.py
M libc/utils/docgen/fenv.json
A libc/utils/docgen/header.py
M libc/utils/docgen/signal.json
M libc/utils/docgen/stdbit.json
M libc/utils/docgen/threads.json
M libc/utils/gpu/loader/Loader.h
M libc/utils/gpu/loader/amdgpu/Loader.cpp
M libc/utils/gpu/loader/nvptx/Loader.cpp
M libclc/generic/include/clc/clcfunc.h
M libclc/generic/lib/math/log_base.h
M libcxx/CMakeLists.txt
M libcxx/benchmarks/CMakeLists.txt
M libcxx/docs/FeatureTestMacroTable.rst
M libcxx/docs/ReleaseNotes/19.rst
M libcxx/docs/Status/Cxx20Issues.csv
M libcxx/docs/Status/Cxx20Papers.csv
M libcxx/docs/Status/Cxx23Issues.csv
M libcxx/docs/Status/Cxx2cIssues.csv
M libcxx/docs/Status/ParallelismProjects.csv
M libcxx/include/CMakeLists.txt
M libcxx/include/__algorithm/copy_move_common.h
A libcxx/include/__algorithm/pstl.h
R libcxx/include/__algorithm/pstl_any_all_none_of.h
R libcxx/include/__algorithm/pstl_copy.h
R libcxx/include/__algorithm/pstl_count.h
R libcxx/include/__algorithm/pstl_equal.h
R libcxx/include/__algorithm/pstl_fill.h
R libcxx/include/__algorithm/pstl_find.h
R libcxx/include/__algorithm/pstl_for_each.h
R libcxx/include/__algorithm/pstl_generate.h
R libcxx/include/__algorithm/pstl_is_partitioned.h
R libcxx/include/__algorithm/pstl_merge.h
R libcxx/include/__algorithm/pstl_move.h
R libcxx/include/__algorithm/pstl_replace.h
R libcxx/include/__algorithm/pstl_rotate_copy.h
R libcxx/include/__algorithm/pstl_sort.h
R libcxx/include/__algorithm/pstl_stable_sort.h
R libcxx/include/__algorithm/pstl_transform.h
M libcxx/include/__algorithm/simd_utils.h
M libcxx/include/__atomic/atomic_base.h
M libcxx/include/__atomic/atomic_flag.h
A libcxx/include/__atomic/atomic_ref.h
M libcxx/include/__atomic/atomic_sync.h
M libcxx/include/__atomic/check_memory_order.h
M libcxx/include/__atomic/cxx_atomic_impl.h
A libcxx/include/__atomic/to_gcc_order.h
R libcxx/include/__availability
M libcxx/include/__charconv/to_chars_floating_point.h
M libcxx/include/__chrono/file_clock.h
M libcxx/include/__chrono/tzdb_list.h
M libcxx/include/__config
A libcxx/include/__configuration/abi.h
A libcxx/include/__configuration/availability.h
A libcxx/include/__configuration/compiler.h
A libcxx/include/__configuration/language.h
A libcxx/include/__configuration/platform.h
M libcxx/include/__exception/exception_ptr.h
M libcxx/include/__expected/bad_expected_access.h
M libcxx/include/__filesystem/directory_entry.h
M libcxx/include/__filesystem/directory_iterator.h
M libcxx/include/__filesystem/filesystem_error.h
M libcxx/include/__filesystem/operations.h
M libcxx/include/__filesystem/path.h
M libcxx/include/__filesystem/path_iterator.h
M libcxx/include/__filesystem/recursive_directory_iterator.h
M libcxx/include/__filesystem/u8path.h
M libcxx/include/__functional/function.h
M libcxx/include/__fwd/memory_resource.h
M libcxx/include/__fwd/string.h
M libcxx/include/__iterator/common_iterator.h
M libcxx/include/__locale
M libcxx/include/__locale_dir/locale_base_api/android.h
M libcxx/include/__locale_dir/locale_base_api/ibm.h
M libcxx/include/__locale_dir/locale_base_api/musl.h
M libcxx/include/__locale_dir/locale_base_api/openbsd.h
M libcxx/include/__memory/shared_ptr.h
M libcxx/include/__memory_resource/memory_resource.h
M libcxx/include/__memory_resource/monotonic_buffer_resource.h
M libcxx/include/__memory_resource/polymorphic_allocator.h
M libcxx/include/__memory_resource/synchronized_pool_resource.h
M libcxx/include/__memory_resource/unsynchronized_pool_resource.h
A libcxx/include/__numeric/pstl.h
R libcxx/include/__numeric/pstl_reduce.h
R libcxx/include/__numeric/pstl_transform_reduce.h
M libcxx/include/__ostream/print.h
M libcxx/include/__stop_token/stop_callback.h
M libcxx/include/__stop_token/stop_source.h
M libcxx/include/__stop_token/stop_state.h
M libcxx/include/__stop_token/stop_token.h
M libcxx/include/__string/constexpr_c_functions.h
M libcxx/include/__support/xlocale/__nop_locale_mgmt.h
M libcxx/include/__support/xlocale/__posix_l_fallback.h
M libcxx/include/__support/xlocale/__strtonum_fallback.h
M libcxx/include/__thread/jthread.h
M libcxx/include/__thread/poll_with_backoff.h
M libcxx/include/__type_traits/has_unique_object_representation.h
M libcxx/include/__type_traits/remove_pointer.h
M libcxx/include/__utility/pair.h
M libcxx/include/__verbose_abort
M libcxx/include/algorithm
M libcxx/include/atomic
M libcxx/include/barrier
M libcxx/include/bitset
M libcxx/include/condition_variable
M libcxx/include/deque
M libcxx/include/experimental/__simd/scalar.h
M libcxx/include/experimental/__simd/simd.h
M libcxx/include/experimental/__simd/simd_mask.h
M libcxx/include/experimental/__simd/vec_ext.h
M libcxx/include/forward_list
M libcxx/include/fstream
M libcxx/include/latch
M libcxx/include/list
M libcxx/include/locale
M libcxx/include/map
M libcxx/include/module.modulemap
M libcxx/include/numeric
M libcxx/include/optional
M libcxx/include/print
M libcxx/include/regex
M libcxx/include/semaphore
M libcxx/include/set
M libcxx/include/span
M libcxx/include/sstream
M libcxx/include/unordered_map
M libcxx/include/unordered_set
M libcxx/include/variant
M libcxx/include/vector
M libcxx/include/version
M libcxx/modules/CMakeLists.txt
M libcxx/modules/std/atomic.inc
M libcxx/src/CMakeLists.txt
M libcxx/src/atomic.cpp
M libcxx/src/chrono.cpp
M libcxx/src/locale.cpp
M libcxx/src/optional.cpp
M libcxx/src/ostream.cpp
M libcxx/test/CMakeLists.txt
M libcxx/test/configs/cmake-bridge.cfg.in
M libcxx/test/configs/llvm-libc++-android-ndk.cfg.in
M libcxx/test/configs/llvm-libc++-mingw.cfg.in
M libcxx/test/configs/llvm-libc++-shared-clangcl.cfg.in
M libcxx/test/configs/llvm-libc++-shared-gcc.cfg.in
M libcxx/test/configs/llvm-libc++-shared.cfg.in
M libcxx/test/configs/llvm-libc++-static-clangcl.cfg.in
M libcxx/test/libcxx/assertions/modes/enabling_assertions_enables_extensive_mode.pass.cpp
M libcxx/test/libcxx/assertions/modes/override_with_debug_mode.pass.cpp
M libcxx/test/libcxx/assertions/modes/override_with_extensive_mode.pass.cpp
M libcxx/test/libcxx/assertions/modes/override_with_fast_mode.pass.cpp
M libcxx/test/libcxx/assertions/modes/override_with_unchecked_mode.pass.cpp
A libcxx/test/libcxx/atomics/atomics.ref/assert.compare_exchange_strong.pass.cpp
A libcxx/test/libcxx/atomics/atomics.ref/assert.compare_exchange_weak.pass.cpp
A libcxx/test/libcxx/atomics/atomics.ref/assert.ctor.pass.cpp
A libcxx/test/libcxx/atomics/atomics.ref/assert.load.pass.cpp
A libcxx/test/libcxx/atomics/atomics.ref/assert.store.pass.cpp
A libcxx/test/libcxx/atomics/atomics.ref/assert.wait.pass.cpp
A libcxx/test/libcxx/atomics/atomics.syn/wait.pass.cpp
M libcxx/test/libcxx/containers/sequences/deque/asan_caterpillar.pass.cpp
M libcxx/test/libcxx/input.output/filesystems/convert_file_time.pass.cpp
M libcxx/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp
M libcxx/test/libcxx/lit.local.cfg
M libcxx/test/libcxx/time/time.zone/time.zone.db/time.zone.db.tzdb/locate_zone.pass.cpp
M libcxx/test/libcxx/transitive_includes.gen.py
M libcxx/test/libcxx/vendor/apple/availability-with-pedantic-errors.compile.pass.cpp
R libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/pstl.exception_handling.pass.cpp
R libcxx/test/std/algorithms/alg.modifying.operations/alg.move/pstl.exception_handling.pass.cpp
R libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/pstl.exception_handling.pass.cpp
R libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/pstl.exception_handling.pass.cpp
R libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/pstl.exception_handling.pass.cpp
R libcxx/test/std/algorithms/alg.nonmodifying/alg.all_of/pstl.exception_handling.pass.cpp
R libcxx/test/std/algorithms/alg.nonmodifying/alg.any_of/pstl.exception_handling.pass.cpp
M libcxx/test/std/algorithms/alg.nonmodifying/alg.contains/ranges.contains_subrange.pass.cpp
R libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/pstl.exception_handling.pass.cpp
R libcxx/test/std/algorithms/alg.nonmodifying/alg.find/pstl.exception_handling.pass.cpp
R libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/pstl.exception_handling.pass.cpp
R libcxx/test/std/algorithms/alg.nonmodifying/alg.none_of/pstl.exception_handling.pass.cpp
M libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge.pass.cpp
R libcxx/test/std/algorithms/alg.sorting/alg.merge/pstl.exception_handling.pass.cpp
R libcxx/test/std/algorithms/alg.sorting/alg.sort/stable.sort/pstl.exception_handling.pass.cpp
R libcxx/test/std/algorithms/numeric.ops/reduce/pstl.exception_handling.pass.cpp
R libcxx/test/std/algorithms/numeric.ops/transform.reduce/pstl.exception_handling.pass.cpp
A libcxx/test/std/algorithms/pstl.exception_handling.pass.cpp
A libcxx/test/std/atomics/atomics.ref/assign.pass.cpp
A libcxx/test/std/atomics/atomics.ref/bitwise_and_assign.pass.cpp
A libcxx/test/std/atomics/atomics.ref/bitwise_or_assign.pass.cpp
A libcxx/test/std/atomics/atomics.ref/bitwise_xor_assign.pass.cpp
A libcxx/test/std/atomics/atomics.ref/compare_exchange_strong.pass.cpp
A libcxx/test/std/atomics/atomics.ref/compare_exchange_weak.pass.cpp
A libcxx/test/std/atomics/atomics.ref/convert.pass.cpp
A libcxx/test/std/atomics/atomics.ref/ctor.pass.cpp
A libcxx/test/std/atomics/atomics.ref/deduction.pass.cpp
A libcxx/test/std/atomics/atomics.ref/exchange.pass.cpp
A libcxx/test/std/atomics/atomics.ref/fetch_add.pass.cpp
A libcxx/test/std/atomics/atomics.ref/fetch_and.pass.cpp
A libcxx/test/std/atomics/atomics.ref/fetch_or.pass.cpp
A libcxx/test/std/atomics/atomics.ref/fetch_sub.pass.cpp
A libcxx/test/std/atomics/atomics.ref/fetch_xor.pass.cpp
A libcxx/test/std/atomics/atomics.ref/increment_decrement.pass.cpp
A libcxx/test/std/atomics/atomics.ref/is_always_lock_free.pass.cpp
A libcxx/test/std/atomics/atomics.ref/load.pass.cpp
A libcxx/test/std/atomics/atomics.ref/member_types.compile.pass.cpp
A libcxx/test/std/atomics/atomics.ref/notify_all.pass.cpp
A libcxx/test/std/atomics/atomics.ref/notify_one.pass.cpp
A libcxx/test/std/atomics/atomics.ref/operator_minus_equals.pass.cpp
A libcxx/test/std/atomics/atomics.ref/operator_plus_equals.pass.cpp
A libcxx/test/std/atomics/atomics.ref/required_alignment.pass.cpp
A libcxx/test/std/atomics/atomics.ref/requires-trivially-copyable.verify.cpp
R llvm/unittests/ADT/MoveOnly.cpp
Log Message:
-----------
[𝘀𝗽𝗿] changes introduced through rebase
Created using spr 1.3.4
[skip ci]
Compare: https://github.com/llvm/llvm-project/compare/6e344f3995b7...2b5cfc8b55e6
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