[all-commits] [llvm/llvm-project] 7e5bc7: [libc++] Fix UB in filesystem::__copy for non-exis...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Fri Jun 14 09:51:17 PDT 2024
Branch: refs/heads/users/MaskRay/spr/mc-aligned-bundling-remove-special-handling-for-relaxall
Home: https://github.com/llvm/llvm-project
Commit: 7e5bc71514c7428ab791b187d5cbf8215afd5a87
https://github.com/llvm/llvm-project/commit/7e5bc71514c7428ab791b187d5cbf8215afd5a87
Author: Afanasyev Ivan <ivafanas at gmail.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M libcxx/src/filesystem/operations.cpp
Log Message:
-----------
[libc++] Fix UB in filesystem::__copy for non-existent destination. (#87615)
The lstat/stat/fstat functions have no guarantee whether the `struct stat`
buffer is changed or not on failure. The filesystem::__copy function assumes
that the `struct stat` buffer is not updated on failure, which is not
necessarily correct.
It appears that for a non-existing destination `detail::posix_lstat(to,
t_st, &m_ec1)` returns a failure indicator and overwrites the `struct stat`
buffer with a garbage value, which is accidentally equal to the `f_st` from
stack internals from the previous `detail::posix_lstat(from, f_st, &m_ec1)`
call.
file_type::not_found is a known status, so checking against
`if (not status_known(t))` passes spuriously and execution continues.
Then the __copy function returns errc::function_not_supported because stats
are accidentally equivalent, which is incorrect.
Before checking for `detail::stat_equivalent`, we instead need to make sure
that the call to lstat/stat/fstat was successful.
As a result of `f_st` and `t_st` not being accessed anymore without checking
for the lstat/stat/fstat success indicator, it is not needed to zero-initialize
them.
Commit: 4748b494e1aa47a8f9d6ea00a80d3f24f419f18a
https://github.com/llvm/llvm-project/commit/4748b494e1aa47a8f9d6ea00a80d3f24f419f18a
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M libcxx/include/__atomic/atomic_sync.h
M libcxx/include/barrier
M libcxx/src/atomic.cpp
M libcxx/src/barrier.cpp
Log Message:
-----------
[libc++] Mark a few functions in the dylib as noexcept (#94098)
This avoids generating landing pads in some of the `atomic` functions
that will never be used, since these functions never throw exceptions.
Commit: 307d91ee62f27e8f1c6ac27fdf014001ab1f4484
https://github.com/llvm/llvm-project/commit/307d91ee62f27e8f1c6ac27fdf014001ab1f4484
Author: Monad <yanwqmonad at gmail.com>
Date: 2024-06-12 (Wed, 12 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/lib/Target/RISCV/RISCVSystemOperands.td
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/MC/RISCV/attribute-arch.s
M llvm/test/MC/RISCV/supervisor-csr-names.s
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Add smcdeleg and ssccfg extensions (#95163)
Specification:
https://github.com/riscv/riscv-isa-manual/blob/main/src/smcdeleg.adoc
`Ssccfg` introduces one new CSR `scountinhibit`.
Commit: 1b66306c9c1adce20e2f3cfb1df0af2fb6a10318
https://github.com/llvm/llvm-project/commit/1b66306c9c1adce20e2f3cfb1df0af2fb6a10318
Author: NMiehlbradt <nicholas at miehlbradt.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Linux.cpp
M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
A llvm/test/Instrumentation/MemorySanitizer/PowerPC/kernel-ppc64le.ll
Log Message:
-----------
[KMSAN] Enable on PowerPC64 (#73611)
Enable -fsanitize=kernel-memory support in Clang.
Add tests.
---------
Co-authored-by: Nicholas Miehlbradt <nicholas at linux.ibm.com>
Commit: 3bd9d4dedf11bb1d62f72e7602412db335a768d4
https://github.com/llvm/llvm-project/commit/3bd9d4dedf11bb1d62f72e7602412db335a768d4
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
M llvm/test/Instrumentation/MemorySanitizer/X86/avx-intrinsics-x86.ll
M llvm/test/Instrumentation/MemorySanitizer/X86/sse41-intrinsics-x86.ll
Log Message:
-----------
[msan] Implement shadow propagation for _mm_dp_pd, _mm_dp_ps, _mm256_dp_ps (#94875)
Default intrinsic handling was to report any
uninitialized part of argument. However intrinsics
use mask which allow to ignore parts of input, so
it's OK to have vectors partially initialized.
Commit: 9a2c8418695ca302c85ec398cc8ed58653729461
https://github.com/llvm/llvm-project/commit/9a2c8418695ca302c85ec398cc8ed58653729461
Author: aengelke <engelke at in.tum.de>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86FastPreTileConfig.cpp
M llvm/lib/Target/X86/X86FastTileConfig.cpp
M llvm/lib/Target/X86/X86PreTileConfig.cpp
M llvm/lib/Target/X86/X86TileConfig.cpp
Log Message:
-----------
[X86] Early exit MIR AMX passes when AMX is unused (#94989)
Follow-up of #94358. Do the checks even before calling getRegisterInfo
etc., because some of these are virtual function calls.
Commit: 55bc04f67be1c61573acd03c70f6eee2ec764dc0
https://github.com/llvm/llvm-project/commit/55bc04f67be1c61573acd03c70f6eee2ec764dc0
Author: aengelke <engelke at in.tum.de>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86FastTileConfig.cpp
M llvm/lib/Target/X86/X86FrameLowering.cpp
M llvm/lib/Target/X86/X86MachineFunctionInfo.h
M llvm/lib/Target/X86/X86PreTileConfig.cpp
Log Message:
-----------
[X86] Replace hasVirtualTileReg with AMXProgModel (#95105)
Cleanup after AMXProgModel introduction. AMXProgModel is ManagedRA
whenever virtual tile registers exist at some point.
Commit: 93d4fb032ec1e069cfa5b800f3ca1c807f0d87ac
https://github.com/llvm/llvm-project/commit/93d4fb032ec1e069cfa5b800f3ca1c807f0d87ac
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/records.cpp
Log Message:
-----------
[clang][Interp] Support floats in APValues
Commit: c012e487b7246239c31bd378ab074fb110631186
https://github.com/llvm/llvm-project/commit/c012e487b7246239c31bd378ab074fb110631186
Author: Johannes de Fine Licht <johannes at musicmedia.dk>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M mlir/docs/Dialects/LLVM.md
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMInlining.cpp
M mlir/lib/Target/LLVMIR/ModuleImport.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
M mlir/test/Conversion/SPIRVToLLVM/func-ops-to-llvm.mlir
M mlir/test/Dialect/LLVMIR/inlining.mlir
M mlir/test/Dialect/LLVMIR/invalid.mlir
M mlir/test/Target/LLVMIR/Import/function-attributes.ll
M mlir/test/Target/LLVMIR/llvmir-invalid.mlir
M mlir/test/Target/LLVMIR/llvmir.mlir
Log Message:
-----------
[MLIR][LLVM] Promote noinline/alwaysinline/optnone out of passthrough (#95110)
The `noinline`, `alwaysinline`, and `optnone` function attributes are
already being used in MLIR code for the LLVM inlining interface and in
some SPIR-V lowering, despite residing in the passthrough dictionary,
which is intended as exactly that -- a pass through MLIR -- and not to
model any actual semantics being handled in MLIR itself.
Promote the `noinline`, `alwaysinline`, and `optnone` attributes out of
the passthrough dictionary on `llvm.func` into first class unit
attributes, updating the import and export accordingly.
Add a verifier to `llvm.func` that checks that these attributes are not
set in an incompatible way according to the LLVM specification.
Update the LLVM dialect inlining interface to use the first class
attributes to check whether inlining is possible.
Commit: 4b24c2dfb5c02896ec2e9855ac72eb0771d0764d
https://github.com/llvm/llvm-project/commit/4b24c2dfb5c02896ec2e9855ac72eb0771d0764d
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachinePostDominators.h
M llvm/include/llvm/InitializePasses.h
M llvm/lib/CodeGen/CodeGen.cpp
M llvm/lib/CodeGen/MIRSampleProfile.cpp
M llvm/lib/CodeGen/MachineBlockPlacement.cpp
M llvm/lib/CodeGen/MachinePostDominators.cpp
M llvm/lib/CodeGen/MachineRegionInfo.cpp
M llvm/lib/CodeGen/MachineSink.cpp
M llvm/lib/CodeGen/ShrinkWrap.cpp
M llvm/lib/Target/AMDGPU/AMDGPUGlobalISelDivergenceLowering.cpp
M llvm/lib/Target/AMDGPU/R600MachineCFGStructurizer.cpp
M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
M llvm/lib/Target/AMDGPU/SILowerI1Copies.cpp
M llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
M llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
M llvm/lib/Target/PowerPC/PPCBranchCoalescing.cpp
M llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
Log Message:
-----------
[CodeGen][NewPM] Split `MachinePostDominators` into a concrete analysis result (#95113)
`MachinePostDominators` version of #94571.
Commit: 2fe72385a4964f80e7a1c5abcd426455e4127c03
https://github.com/llvm/llvm-project/commit/2fe72385a4964f80e7a1c5abcd426455e4127c03
Author: Monad <yanwqmonad at gmail.com>
Date: 2024-06-12 (Wed, 12 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/lib/Target/RISCV/RISCVSystemOperands.td
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/MC/RISCV/attribute-arch.s
M llvm/test/MC/RISCV/hypervisor-csr-names.s
M llvm/test/MC/RISCV/machine-csr-names.s
M llvm/test/MC/RISCV/supervisor-csr-names.s
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Add Smcsrind and Sscsrind extension (#93952)
Specification link:
https://github.com/riscv/riscv-isa-manual/blob/main/src/indirect-csr.adoc
Some CSRs (`*ireg` and `*iselect`) in Smcsrind/Sscsrind extensions are
originally defined as part of the Smaia/Ssaia extensions and are already
supported in LLVM. The missing CSRs (`*ireg2` to `*ireg6` for `m`, `s`,
and `vs`) are added in this PR.
Commit: db096adba0f5d602587d0c90fb093cd12e706e5b
https://github.com/llvm/llvm-project/commit/db096adba0f5d602587d0c90fb093cd12e706e5b
Author: Carl Ritson <carl.ritson at amd.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/lib/Target/AMDGPU/SIPreAllocateWWMRegs.cpp
M llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
M llvm/test/CodeGen/AMDGPU/wqm.ll
Log Message:
-----------
[AMDGPU] Remove SIWholeQuadMode pseudo wavemode optimization (#94133)
This does not work correctly in divergent control flow. Can be replaced
with a later exec mask manipulation optimizer.
This reverts commit a3646ec1bc662e221c2a1d182987257c50958789.
Commit: b83f8c75e4cccf25abbe4ad76406ba0c382bf336
https://github.com/llvm/llvm-project/commit/b83f8c75e4cccf25abbe4ad76406ba0c382bf336
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir
Log Message:
-----------
[mlir][vector] Update tests for collapse 2/n (nfc) (#94604)
The main goal of this PR (and subsequent PRs), is to add more tests with
scalable vectors to:
* vector-transfer-collapse-inner-most-dims.mlir
Changes in this PR:
1. Renamed `@contiguous_inner_most_dim_bounds` as
`@contiguous_inner_most_dim_with_subview`. This test was introduced
to make sure that the `in_bounds` attribute is correctly preserved,
but that's already verified by some earlier tests. The updated name
highlights the differentiating factor of this test when compared to
the other tests _currently_ present in the file, i.e. the presence of
`memref.subview` in the input IR.
2. Renamed `@contiguous_inner_most_dim_out_of_bounds_2d` as
`@negative_non_unit_inner_vec_dim`. While this test does contain an
out-of-bounds access, the actual reason for the tested pattern to
fail is the fact that the inner dim in the output vector is not "1".
A complimentary test was added to verify that the pattern also fails
when the source memref has non-unit trailing dim
(`@negative_non_unit_inner_memref_dim`).
3. Renamed `@contiguous_inner_most_dim` as
`@contiguous_inner_most_dim_non_zero_idxs` - this test verifies that
the pattern works in the presence of non-zero idxs.
4. Added more tests for scalable vectors - this should cover all cases
for `vector.transfer_read`.
NOTE: This PR is limited to tests for `vector.transfer_read`.
Follow-up for: #94490
Commit: 5989450e0061dce8cff89d8acfdd5225c14cd065
https://github.com/llvm/llvm-project/commit/5989450e0061dce8cff89d8acfdd5225c14cd065
Author: The Phantom Derpstorm <phdofthehouse at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang-tools-extra/test/pp-trace/pp-trace-macro.cpp
M clang/docs/LanguageExtensions.rst
M clang/include/clang/AST/Expr.h
M clang/include/clang/AST/RecursiveASTVisitor.h
M clang/include/clang/AST/TextNodeDumper.h
M clang/include/clang/Basic/DiagnosticCommonKinds.td
M clang/include/clang/Basic/DiagnosticLexKinds.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/FileManager.h
M clang/include/clang/Basic/StmtNodes.td
M clang/include/clang/Basic/TokenKinds.def
M clang/include/clang/Driver/Options.td
M clang/include/clang/Frontend/PreprocessorOutputOptions.h
M clang/include/clang/Lex/PPCallbacks.h
A clang/include/clang/Lex/PPDirectiveParameter.h
A clang/include/clang/Lex/PPEmbedParameters.h
M clang/include/clang/Lex/Preprocessor.h
M clang/include/clang/Lex/PreprocessorOptions.h
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Sema/Sema.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/lib/AST/Expr.cpp
M clang/lib/AST/ExprClassification.cpp
M clang/lib/AST/ExprConstant.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/lib/AST/ItaniumMangle.cpp
M clang/lib/AST/StmtPrinter.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/Basic/FileManager.cpp
M clang/lib/Basic/IdentifierTable.cpp
M clang/lib/CodeGen/CGExprAgg.cpp
M clang/lib/CodeGen/CGExprConstant.cpp
M clang/lib/CodeGen/CGExprScalar.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Frontend/DependencyFile.cpp
M clang/lib/Frontend/DependencyGraph.cpp
M clang/lib/Frontend/InitPreprocessor.cpp
M clang/lib/Frontend/PrintPreprocessedOutput.cpp
M clang/lib/Lex/PPDirectives.cpp
M clang/lib/Lex/PPExpressions.cpp
M clang/lib/Lex/PPMacroExpansion.cpp
M clang/lib/Lex/TokenConcatenation.cpp
M clang/lib/Parse/ParseExpr.cpp
M clang/lib/Parse/ParseInit.cpp
M clang/lib/Parse/ParseTemplate.cpp
M clang/lib/Sema/SemaExceptionSpec.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaInit.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/C/C2x/Inputs/bits.bin
A clang/test/C/C2x/Inputs/boop.h
A clang/test/C/C2x/Inputs/i.dat
A clang/test/C/C2x/Inputs/jump.wav
A clang/test/C/C2x/Inputs/s.dat
A clang/test/C/C2x/n3017.c
A clang/test/Preprocessor/Inputs/jk.txt
A clang/test/Preprocessor/Inputs/media/art.txt
A clang/test/Preprocessor/Inputs/media/empty
A clang/test/Preprocessor/Inputs/null_byte.bin
A clang/test/Preprocessor/Inputs/numbers.txt
A clang/test/Preprocessor/Inputs/single_byte.txt
A clang/test/Preprocessor/embed___has_embed.c
A clang/test/Preprocessor/embed___has_embed_parsing_errors.c
A clang/test/Preprocessor/embed___has_embed_supported.c
A clang/test/Preprocessor/embed_art.c
A clang/test/Preprocessor/embed_codegen.cpp
A clang/test/Preprocessor/embed_constexpr.cpp
A clang/test/Preprocessor/embed_dependencies.c
A clang/test/Preprocessor/embed_ext_compat_diags.c
A clang/test/Preprocessor/embed_feature_test.cpp
A clang/test/Preprocessor/embed_file_not_found_chevron.c
A clang/test/Preprocessor/embed_file_not_found_quote.c
A clang/test/Preprocessor/embed_init.c
A clang/test/Preprocessor/embed_parameter_if_empty.c
A clang/test/Preprocessor/embed_parameter_limit.c
A clang/test/Preprocessor/embed_parameter_offset.c
A clang/test/Preprocessor/embed_parameter_prefix.c
A clang/test/Preprocessor/embed_parameter_suffix.c
A clang/test/Preprocessor/embed_parameter_unrecognized.c
A clang/test/Preprocessor/embed_parsing_errors.c
A clang/test/Preprocessor/embed_path_chevron.c
A clang/test/Preprocessor/embed_path_quote.c
A clang/test/Preprocessor/embed_preprocess_to_file.c
A clang/test/Preprocessor/embed_single_entity.c
A clang/test/Preprocessor/embed_weird.cpp
M clang/test/Preprocessor/init-aarch64.c
M clang/test/Preprocessor/init.c
A clang/test/Preprocessor/single_byte.txt
M clang/tools/libclang/CXCursor.cpp
M clang/www/c_status.html
Log Message:
-----------
[clang][Sema, Lex, Parse] Preprocessor embed in C and C++ (and Obj-C and Obj-C++ by-proxy) (#68620)
This commit implements the entirety of the now-accepted [N3017 -
Preprocessor
Embed](https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3017.htm) and
its sister C++ paper [p1967](https://wg21.link/p1967). It implements
everything in the specification, and includes an implementation that
drastically improves the time it takes to embed data in specific
scenarios (the initialization of character type arrays). The mechanisms
used to do this are used under the "as-if" rule, and in general when the
system cannot detect it is initializing an array object in a variable
declaration, will generate EmbedExpr AST node which will be expanded
by AST consumers (CodeGen or constant expression evaluators) or
expand embed directive as a comma expression.
---------
Co-authored-by: Aaron Ballman <aaron at aaronballman.com>
Co-authored-by: cor3ntin <corentinjabot at gmail.com>
Co-authored-by: H. Vetinari <h.vetinari at gmx.com>
Co-authored-by: Podchishchaeva, Mariya <mariya.podchishchaeva at intel.com>
Commit: 1754651dd150139d64cdae190afe1faabf69a403
https://github.com/llvm/llvm-project/commit/1754651dd150139d64cdae190afe1faabf69a403
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M flang/include/flang/Lower/Support/Utils.h
Log Message:
-----------
[flang] fix evaluate::Expr hashing in lowering (#95079)
Fixes https://github.com/llvm/llvm-project/issues/61610.
Commit: 3b3b839c66dc49674fd6646650525a2173030690
https://github.com/llvm/llvm-project/commit/3b3b839c66dc49674fd6646650525a2173030690
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/test/CodeGenCUDA/managed-var.cu
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/CodeGenCXX/ms-inline-asm-fields.cpp
M clang/test/OpenMP/threadprivate_codegen.cpp
M llvm/include/llvm/IR/ConstantFold.h
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/lib/IR/Constants.cpp
Log Message:
-----------
[ConstantFold] Drop gep of gep fold entirely (#95126)
This is a followup to https://github.com/llvm/llvm-project/pull/93823
and drops the DataLayout-unaware GEP of GEP fold entirely. All cases are
now left to the DataLayout-aware constant folder, which will fold
everything to a single i8 GEP.
We didn't have any test coverage for this fold in LLVM, but some Clang
tests change.
Commit: 6fc63ab77d5b287eb4b7a3f6652360dbe5b50a67
https://github.com/llvm/llvm-project/commit/6fc63ab77d5b287eb4b7a3f6652360dbe5b50a67
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-pointer-ops.ll
M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-unoptimized-debug-data.ll
Log Message:
-----------
[AMDGPULowerBufferFatPointers] Simplify and fix GEP offset emission (#95115)
Use emitGEPOffset() to emit the GEP offset, which already has all the
necessary logic.
This also fixes the nuw flag incorrectly being set on the offset
calculation, while only nsw is implied by inbounds.
Commit: 8ad82b419b88102746735505effe5bc09f26ae54
https://github.com/llvm/llvm-project/commit/8ad82b419b88102746735505effe5bc09f26ae54
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/opencl.cl
Log Message:
-----------
[clang][Interp] Fix re-visiting OpenCL variables of in constant AS
We need to use isConstant() here, isConstQualified() is not enough.
Commit: 82e19318e660afc8277d9a2b1136d2d7836d67f8
https://github.com/llvm/llvm-project/commit/82e19318e660afc8277d9a2b1136d2d7836d67f8
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Fix a bug in annotating lambda l_square (#95084)
Fixes #95072.
Commit: 0170498a7ddf84a404527ec3f0e82a4a3d10869a
https://github.com/llvm/llvm-project/commit/0170498a7ddf84a404527ec3f0e82a4a3d10869a
Author: Hugo Trachino <hugo.trachino at huawei.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/LowerVectorTransfer.cpp
M mlir/test/Dialect/Vector/vector-transfer-permutation-lowering.mlir
Log Message:
-----------
[MLIR][Vector] Implement TransferOpReduceRank as MaskableOpRewritePattern (#92426)
Implements `TransferOpReduceRank` as a `MaskableOpRewritePattern`.
Allowing to exit gracefully when run on a `vector::transfer_read`
located inside a `vector::MaskOp` instead of generating `error: 'vector.mask'
op expects only one operation to mask` because the
pattern generated multiple ops inside the MaskOp.
Split of https://github.com/llvm/llvm-project/pull/90835
Commit: 76030dc157965498f22411aa863cfe8c76138880
https://github.com/llvm/llvm-project/commit/76030dc157965498f22411aa863cfe8c76138880
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
A llvm/include/llvm/ADT/DynamicAPInt.h
A llvm/include/llvm/ADT/SlowDynamicAPInt.h
M llvm/lib/Support/CMakeLists.txt
A llvm/lib/Support/DynamicAPInt.cpp
A llvm/lib/Support/SlowDynamicAPInt.cpp
M llvm/unittests/ADT/CMakeLists.txt
A llvm/unittests/ADT/DynamicAPIntTest.cpp
M mlir/include/mlir/Analysis/Presburger/Barvinok.h
M mlir/include/mlir/Analysis/Presburger/Fraction.h
M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
M mlir/include/mlir/Analysis/Presburger/LinearTransform.h
R mlir/include/mlir/Analysis/Presburger/MPInt.h
M mlir/include/mlir/Analysis/Presburger/Matrix.h
M mlir/include/mlir/Analysis/Presburger/PWMAFunction.h
M mlir/include/mlir/Analysis/Presburger/PresburgerRelation.h
M mlir/include/mlir/Analysis/Presburger/Simplex.h
R mlir/include/mlir/Analysis/Presburger/SlowMPInt.h
M mlir/include/mlir/Analysis/Presburger/Utils.h
M mlir/include/mlir/Support/LLVM.h
M mlir/lib/Analysis/FlatLinearValueConstraints.cpp
M mlir/lib/Analysis/Presburger/Barvinok.cpp
M mlir/lib/Analysis/Presburger/CMakeLists.txt
M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
M mlir/lib/Analysis/Presburger/LinearTransform.cpp
R mlir/lib/Analysis/Presburger/MPInt.cpp
M mlir/lib/Analysis/Presburger/Matrix.cpp
M mlir/lib/Analysis/Presburger/PWMAFunction.cpp
M mlir/lib/Analysis/Presburger/PresburgerRelation.cpp
M mlir/lib/Analysis/Presburger/Simplex.cpp
R mlir/lib/Analysis/Presburger/SlowMPInt.cpp
M mlir/lib/Analysis/Presburger/Utils.cpp
M mlir/unittests/Analysis/Presburger/CMakeLists.txt
M mlir/unittests/Analysis/Presburger/FractionTest.cpp
M mlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp
M mlir/unittests/Analysis/Presburger/LinearTransformTest.cpp
R mlir/unittests/Analysis/Presburger/MPIntTest.cpp
M mlir/unittests/Analysis/Presburger/MatrixTest.cpp
M mlir/unittests/Analysis/Presburger/SimplexTest.cpp
M mlir/unittests/Analysis/Presburger/Utils.h
M mlir/unittests/Analysis/Presburger/UtilsTest.cpp
Log Message:
-----------
mlir/Presburger/MPInt: move into llvm/ADT (#94953)
MPInt is an arbitrary-precision integer library that builds on top of
APInt, and has a fast-path when the number fits within 64 bits. It was
originally written for the Presburger library in MLIR, but seems useful
to the LLVM project in general, independently of the Presburger library
or MLIR. Hence, move it into LLVM/ADT under the name DynamicAPInt.
This patch is part of a project to move the Presburger library into
LLVM.
Commit: 90d1bcac483c608b533f71c63163da0d7ee3b6da
https://github.com/llvm/llvm-project/commit/90d1bcac483c608b533f71c63163da0d7ee3b6da
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/ADT/BUILD.gn
Log Message:
-----------
[gn build] Port 76030dc15796
Commit: dd7540f3da36e0b511449fa289d5e89c046b7521
https://github.com/llvm/llvm-project/commit/dd7540f3da36e0b511449fa289d5e89c046b7521
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.load.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.store.ll
Log Message:
-----------
AMDGPU: Handle buffer load/store for 64-bit element types
Note pointers still don't work correctly.
Commit: cb3a6bded74c8c508943e95e5913b8831ab77067
https://github.com/llvm/llvm-project/commit/cb3a6bded74c8c508943e95e5913b8831ab77067
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-pointer-ops.ll
Log Message:
-----------
[AMDGPULowerBufferFatPointers] Restore zero offset special case
OffAccum will never be nullptr now, instead check for a zero
constant.
Commit: 1efd5c22893e4a186453f6aaf44fee747f1d63bf
https://github.com/llvm/llvm-project/commit/1efd5c22893e4a186453f6aaf44fee747f1d63bf
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
Log Message:
-----------
[lldb][DWARFASTParser][NFC] Factor out CXX/ObjC method specifics out of ParseSubroutine (#95078)
This patch moves some of the `is_cxx_method`/`objc_method` logic out of
`DWARFASTParserClang::ParseSubroutine` into their own functions. Mainly
the purpose of this is to (hopefully) make this function more readable
by turning the deeply nested if-statements into early-returns. This will
be useful in an upcoming change where we remove some of the branches of
said if-statement.
Considerations:
* Would be nice to make them into static helpers in
`DWARFASTParserClang.cpp`. That would require them take few more
arguments which seemed to get unwieldy.
* `HandleCXXMethod` can return three states: (1) found a `TypeSP` we
previously parsed (2) successfully set a link between the DIE and
DeclContext (3) failure. One could express this with
`std::optional<TypeSP>`, but then returning `std::nullopt` vs `nullptr`
becomes hard to reason about. So I opted to return `std::pair<bool,
TypeSP>`, where the `bool` indicates success and the `TypeSP` the cached
type.
* `HandleCXXMethod` takes `ignore_containing_context` as an output
parameter. Haven't found a great way to do this differently
Commit: 860f0b542ae32c507959201146242cd716222041
https://github.com/llvm/llvm-project/commit/860f0b542ae32c507959201146242cd716222041
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M lldb/include/lldb/Utility/ConstString.h
M lldb/unittests/Utility/ConstStringTest.cpp
Log Message:
-----------
[lldb][ConstString] Prevent GetString from constructing a std::string with a nullptr (#95175)
This patch prevents passing a `nullptr` to the `std::string` constructor
in `GetString`. This prevents UB arising from calling `GetString` on a
default-constructed `ConstString`.
Commit: 038725468f15b96bd4a9c9d361bd3eab42bfdb66
https://github.com/llvm/llvm-project/commit/038725468f15b96bd4a9c9d361bd3eab42bfdb66
Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M compiler-rt/lib/builtins/CMakeLists.txt
Log Message:
-----------
[AArch64][compiler-rt] Disable SME ABI routines if function multiversioning is not supported (#94973)
This prevents build failures when building with `DISABLE_AARCH64_FMV`,
see https://github.com/llvm/llvm-project/pull/92921.
Commit: 457bedfe393f0baa88545418390cf96c5bc1c437
https://github.com/llvm/llvm-project/commit/457bedfe393f0baa88545418390cf96c5bc1c437
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
Log Message:
-----------
DAG: Fix not handling atomic fmin/fmax in dumper
Commit: f3afdc4ad980bfba5c196f2248bedf03945cd32a
https://github.com/llvm/llvm-project/commit/f3afdc4ad980bfba5c196f2248bedf03945cd32a
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/AtomicExpandPass.cpp
M llvm/test/CodeGen/AMDGPU/ptrmask.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i16.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i8.ll
Log Message:
-----------
AtomicExpand: Fix creating invalid ptrmask for fat pointers (#94955)
The ptrmask intrinsic requires the integer mask to be the index size,
not the pointer size.
Commit: 83a54e75c1229be99875901139f7722be643ce87
https://github.com/llvm/llvm-project/commit/83a54e75c1229be99875901139f7722be643ce87
Author: Braden Helmer <bradenhelmeraus at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/lib/Driver/Driver.cpp
M clang/test/Driver/warning-options.cpp
Log Message:
-----------
[clang] Implement -Wmissing-include-dirs (#94827)
Implements -Wmissing-include-dirs #92015
This is my first contribution and would love some feedback. Thanks!
Commit: d32afb39fd90a305fc116a7161a2b4c4556117d4
https://github.com/llvm/llvm-project/commit/d32afb39fd90a305fc116a7161a2b4c4556117d4
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Log Message:
-----------
[lldb][Progress] Report progress when parsing forward declarations from DWARF (#91452)
This is an attempt at displaying the work that's being done by LLDB when waiting on type-completion events, e.g., when running an expression. This patch adds a single new progress event for cases where we search for the definition DIE of a forward declaration, which can be an expensive operation in the presence of many object files.
Commit: 864981d72b3b4077053479def6a43b5826aea462
https://github.com/llvm/llvm-project/commit/864981d72b3b4077053479def6a43b5826aea462
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/MachineLICM.cpp
Log Message:
-----------
[NFC][MachineLICM] Use SmallDenseSet instead of SmallSet (#95201)
All values are small so no reason to ever use SmallSet really. In large
programs we'll end up using std::set which is extremely slow compared to
DenseSet. This brings a decent speedup to the pass in large programs.
Commit: ea6577a74baebcc287f8b24d8b098f1d70085911
https://github.com/llvm/llvm-project/commit/ea6577a74baebcc287f8b24d8b098f1d70085911
Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
A llvm/test/CodeGen/AArch64/outlining-with-streaming-mode-changes.ll
Log Message:
-----------
[AArch64][SME] Disable outlining for functions with streaming-mode changes (#95132)
Commit: 7a4fab410124144f0196bdee6645b649799dec15
https://github.com/llvm/llvm-project/commit/7a4fab410124144f0196bdee6645b649799dec15
Author: wanglei <wanglei at loongson.cn>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
A llvm/test/CodeGen/LoongArch/emutls.ll
Log Message:
-----------
[LoongArch] Emit error messages when using emulated TLS
Reviewed By: SixWeining
Pull Request: https://github.com/llvm/llvm-project/pull/92483
Commit: 4a305d40a392e41521b6a427a6acd8d02d428f6c
https://github.com/llvm/llvm-project/commit/4a305d40a392e41521b6a427a6acd8d02d428f6c
Author: Scott Egerton <9487234+ScottEgerton at users.noreply.github.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUInsertSingleUseVDST.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
M llvm/lib/Target/AMDGPU/VOP1Instructions.td
M llvm/lib/Target/AMDGPU/VOP2Instructions.td
M llvm/lib/Target/AMDGPU/VOP3Instructions.td
M llvm/lib/Target/AMDGPU/VOP3PInstructions.td
M llvm/lib/Target/AMDGPU/VOPCInstructions.td
M llvm/lib/Target/AMDGPU/VOPInstructions.td
M llvm/test/CodeGen/AMDGPU/insert-singleuse-vdst.mir
Log Message:
-----------
[AMDGPU] Exclude certain opcodes from being marked as single use (#91802)
The s_singleuse_vdst instruction is used to mark regions of instructions
that produce values that have only one use.
Certain instructions take more than one cycle to execute, resulting in
regions being incorrectly marked.
This patch excludes these multi-cycle instructions from being marked as
either producing single use values or consuming single use values
or both depending on the instruction.
Commit: cece0a105b29dcbb9d88d0aa264c4745c07a8456
https://github.com/llvm/llvm-project/commit/cece0a105b29dcbb9d88d0aa264c4745c07a8456
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/test/CodeGenCUDA/managed-var.cu
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/CodeGenCXX/ms-inline-asm-fields.cpp
M clang/test/OpenMP/threadprivate_codegen.cpp
M llvm/include/llvm/IR/ConstantFold.h
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/lib/IR/Constants.cpp
Log Message:
-----------
Revert "[ConstantFold] Drop gep of gep fold entirely (#95126)"
This reverts commit 3b3b839c66dc49674fd6646650525a2173030690.
This broke the flang+openmp+offload buildbot, as reported in
https://github.com/llvm/llvm-project/pull/95126#issuecomment-2162424019.
Commit: 638d96843893f6981c9af8c501f6999cc7db15e6
https://github.com/llvm/llvm-project/commit/638d96843893f6981c9af8c501f6999cc7db15e6
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M mlir/include/mlir/Analysis/Presburger/Fraction.h
Log Message:
-----------
mlir/Presburger: guard dump function; fix buildbot (#95218)
Follow up on 76030dc (mlir/Presburger/MPInt: move into llvm/ADT) to
guard a function in Fraction.h with !NDEBUG || LLVM_ENABLE_DUMP, since
the call to the corresponding function in DynamicAPInt is guarded
similarly. This patch fixes the build when mlir is built with this
configuration.
Commit: 1a5f9063e5dc8c51c2474ce21cb3667ff25c1f30
https://github.com/llvm/llvm-project/commit/1a5f9063e5dc8c51c2474ce21cb3667ff25c1f30
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
A llvm/test/Transforms/PhaseOrdering/pr95152.ll
Log Message:
-----------
[PhaseOrdering] Add test for #95152 (NFC)
This depends on multiple passes agreeing on the semantics of
writeonly, so add a PhaseOrdering test for it.
Commit: 5f99a7a51a1e2aa66bbe98a905711f4eb0bb7a74
https://github.com/llvm/llvm-project/commit/5f99a7a51a1e2aa66bbe98a905711f4eb0bb7a74
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/test/Transforms/Inline/access-attributes-prop.ll
M llvm/test/Transforms/Inline/noalias-calls-always.ll
M llvm/test/Transforms/Inline/noalias-calls.ll
M llvm/test/Transforms/PhaseOrdering/pr95152.ll
Log Message:
-----------
Revert "[Inliner] Propagate callee argument memory access attributes before inlining"
This exposes a miscompile reported in
https://github.com/llvm/llvm-project/issues/95152.
Whether the new inference or MemCpyOpt is at fault depends on
the precise semantics of writeonly attributes. Revert the patch
while this is being pinned down.
This reverts commit 285dbed147e243f416b003e150d67ffb0922ff16.
This reverts commit cda5790e38af5da3ad455eddab36ef16bf3e8104.
Commit: ccaaa0000f585ac0724452f8a7baee7307dae4eb
https://github.com/llvm/llvm-project/commit/ccaaa0000f585ac0724452f8a7baee7307dae4eb
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachineDominators.h
M llvm/lib/CodeGen/MachineDominators.cpp
M llvm/lib/CodeGen/MachinePostDominators.cpp
M llvm/lib/Target/X86/X86FlagsCopyLowering.cpp
Log Message:
-----------
[CodeGen] Avoid GenericDomTreeConstruction.h include in headers (NFC)
This header is split off from GenericDomTree.h so it can be included
in the source file only. Do this for MachineDominators.h and
MachinePostDominators.h.
Commit: 297b6dea8c7652b62933e78ef79e60ce59fc1ec0
https://github.com/llvm/llvm-project/commit/297b6dea8c7652b62933e78ef79e60ce59fc1ec0
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M flang/lib/Frontend/FrontendActions.cpp
M flang/test/Transforms/debug-local-var-2.f90
Log Message:
-----------
[Flang] Use PrintModulePass to print LLVM IR from the frontend (#95142)
The Flang frontend currently prints LLVM IR modules using
llvm::Module::print(); this works for default cases, but skips some of
the logic that IR printer passes use, specifically the use of the
--write-experimental-debuginfo flag to control debug info format. This
patch replaces the use of print() with the PrintModulePass, bringing the
printing behaviour to parity with clang's frontend.
Commit: 1d4523505e54415a270d7b13b6e203fc25585c5b
https://github.com/llvm/llvm-project/commit/1d4523505e54415a270d7b13b6e203fc25585c5b
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M flang/lib/Frontend/FrontendActions.cpp
M flang/test/Transforms/debug-local-var-2.f90
Log Message:
-----------
Revert "[Flang] Use PrintModulePass to print LLVM IR from the frontend (#95142)"
Reverted due to a link error on the buildbots.
This reverts commit 297b6dea8c7652b62933e78ef79e60ce59fc1ec0.
Commit: fc1c34bbcb7811ebdbb623c5a4473c4f186c434d
https://github.com/llvm/llvm-project/commit/fc1c34bbcb7811ebdbb623c5a4473c4f186c434d
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
A flang/test/Lower/OpenMP/distribute.f90
M flang/test/Lower/OpenMP/if-clause.f90
M flang/test/Lower/OpenMP/loop-combined.f90
Log Message:
-----------
[Flang][OpenMP][Lower] Add lowering support of OpenMP distribute to MLIR (#67798)
This patch adds support for lowering the OpenMP DISTRIBUTE directive
from PFT to MLIR. It only supports standalone DISTRIBUTE, support for
composite constructs will come in follow-up PRs.
Commit: 0e346eeac676d909402abe01fb23248bb3efc5e0
https://github.com/llvm/llvm-project/commit/0e346eeac676d909402abe01fb23248bb3efc5e0
Author: c8ef <c8ef at outlook.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/AArch64/aarch64-known-bits-hadd.ll
A llvm/test/CodeGen/AArch64/avg.ll
Log Message:
-----------
[DAG] fold avgu(zext(x), zext(y)) -> zext(avgu(x, y)) (#95134)
close: #86301
Commit: 575e68e571b4524d613e29d6a4f176cab8224bdd
https://github.com/llvm/llvm-project/commit/575e68e571b4524d613e29d6a4f176cab8224bdd
Author: Hans Wennborg <hans at chromium.org>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
Log Message:
-----------
FunctionSpecialization: Make the ordering of BestSpecs stricter
otherwise it's not guaranteed which of two candidates with the same
score would get specialized first, or at all.
Commit: 66a9e26438cbb5c547fd348a428ef3d1e775360c
https://github.com/llvm/llvm-project/commit/66a9e26438cbb5c547fd348a428ef3d1e775360c
Author: Qizhi Hu <836744285 at qq.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/lib/AST/ASTStructuralEquivalence.cpp
M clang/unittests/AST/StructuralEquivalenceTest.cpp
Log Message:
-----------
[StructuralEquivalence] improve NTTP and CXXDependentScopeMemberExpr comparison (#95190)
improve `ASTStructuralEquivalenceTest`:
1. compare the depth and index of NTTP
2. provide comparison of `CXXDependentScopeMemberExpr` to `StmtCompare`.
Co-authored-by: huqizhi <836744285 at qq.com>
Commit: 058486c9e8820efee748f946fa773b56c4654feb
https://github.com/llvm/llvm-project/commit/058486c9e8820efee748f946fa773b56c4654feb
Author: Egor Zhdan <e_zhdan at apple.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/docs/APINotes.rst
Log Message:
-----------
[APINotes] Update the documentation with new features
This adds the documentation for a few recently added Clang API Notes
features: C++ namespaces, `SwiftImportAs` and `SwiftCopyable`.
---------
Co-authored-by: Saleem Abdulrasool <compnerd at compnerd.org>
Commit: 91175313d46de73ca45f37a6a5fb4f1b3bb16035
https://github.com/llvm/llvm-project/commit/91175313d46de73ca45f37a6a5fb4f1b3bb16035
Author: Maksim Levental <maksim.levental at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M mlir/python/CMakeLists.txt
Log Message:
-----------
[MLIR][python] include Rewrite.h (#95226)
Commit: 3c9a9c736532ea1ed997aae069c516b2564c3235
https://github.com/llvm/llvm-project/commit/3c9a9c736532ea1ed997aae069c516b2564c3235
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/OpenMP/OpenMPOpBase.td
A mlir/test/mlir-tblgen/openmp-ops.td
Log Message:
-----------
[MLIR][OpenMP] Support clause-based representation of operations (#92519)
Currently, OpenMP operations are defined independently of each other.
However, one property of the OpenMP specification is that many clauses
can be applied to multiple constructs.
Keeping the MLIR representation of clauses consistent across all
operations that can accept them is important, but since this information
is scattered into multiple operation definitions, it is currently prone
to divergence as new features and changes are added to the dialect.
Furthermore, centralizing this information allows for a single source of
truth and avoids redundancy in the dialect.
The proposal in this patch is to make OpenMP clauses independent top
level definitions which can then be passed in a template argument list
to OpenMP operation definitions, just as it's done for traits. Clauses
can define these properties, which are joined together in order to make
a default initialization for the fields of the same name of the OpenMP
operation:
- `traits`: Optional. It gets added to the list of traits of the
operation.
- `arguments`: Mandatory. It defines how the clause is represented.
- `assemblyFormat`: Optional (though it should almost always be
defined). This is the declarative definition of the printer/parser for
the `arguments`. How these are combined depends on whether this is an
optional or required clause.
- `description`: Optional. It's used to populate a `clausesDescription`
field, so each operation definition must still define a `description`
itself. That field is intended to be appended to the end of the
`OpenMP_Op`'s `description`.
- `extraClassDeclaration`: Optional. It can define some C++ code to be
added to every OpenMP operation that includes that clause.
In order to give operation definitions fine-grained control over
features of a certain clause might need to be inhibited, the
`OpenMP_Clause` class takes "skipTraits", "skipArguments",
"skipAssemblyFormat", "skipDescription" and "skipExtraClassDeclaration"
bit template arguments. These are intended to be used very sparingly for
cases where some of the clauses might collide in some way otherwise.
Commit: d9a508db55f986518983aaba18c1b7f9ce67536a
https://github.com/llvm/llvm-project/commit/d9a508db55f986518983aaba18c1b7f9ce67536a
Author: Donát Nagy <donat.nagy at ericsson.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/docs/analyzer/checkers.rst
M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
M clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
R clang/lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp
R clang/test/Analysis/sizeofpointer.c
M clang/www/analyzer/alpha_checks.html
Log Message:
-----------
[analyzer] Finish moving alpha.core.SizeofPtr to clang-tidy (#95118)
The checker `alpha.core.SizeofPtr` was a very simple checker that did
not rely on path sensitive analysis and was very similar to the (more
complex and refined) clang-tidy check `bugprone-sizeof-expression`.
As there is no reason to maintain two separate implementations for the
same goal (and clang-tidy is more lightweight and accessible than the
Analyzer) I decided to move this functionality from the Static Analyzer
to clang-tidy.
Recently my commit 546c816a529835a4cf89deecff957ea336a94fa2
reimplemented the advantageous parts of `alpha.core.SizeofPtr` within
clang-tidy; now this commit finishes the transfer by deleting
`alpha.core.SizeofPtr`.
Commit: 74f200baedfed496880ca86ce9409788b0d0eaca
https://github.com/llvm/llvm-project/commit/74f200baedfed496880ca86ce9409788b0d0eaca
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Checkers/BUILD.gn
Log Message:
-----------
[gn build] Port d9a508db55f9
Commit: ad9fe3b2a949fb3379e0a1bafbcd2ca81f5fa414
https://github.com/llvm/llvm-project/commit/ad9fe3b2a949fb3379e0a1bafbcd2ca81f5fa414
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/R600InstPrinter.cpp
Log Message:
-----------
[NFC][AMDGPU] Do not flush after printing every instruction (#95237)
It's very expensive and doesn't achieve anything.
I one test I did, it saves almost 10s on a 2m23s build, bringing it down
to 2m15s using a downstream branch.
Commit: ec16f44d0899e1b9c26b27d942f6e2928d3da7e4
https://github.com/llvm/llvm-project/commit/ec16f44d0899e1b9c26b27d942f6e2928d3da7e4
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
Log Message:
-----------
[InstCombine] Use named values in comment (NFC)
Also use opaque pointers.
Commit: ea2ee5dc2f14a17ff4486b41c9475c0b261412a4
https://github.com/llvm/llvm-project/commit/ea2ee5dc2f14a17ff4486b41c9475c0b261412a4
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.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/TargetLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/AArch64/arm64-vhadd.ll
M llvm/test/CodeGen/AArch64/avg.ll
M llvm/test/CodeGen/AArch64/sve-hadd.ll
M llvm/test/CodeGen/Thumb2/mve-laneinterleaving.ll
M llvm/test/CodeGen/X86/avg.ll
M llvm/test/CodeGen/X86/avgceils.ll
M llvm/test/CodeGen/X86/avgceilu.ll
M llvm/test/CodeGen/X86/avgfloors.ll
M llvm/test/CodeGen/X86/avgflooru.ll
M llvm/test/CodeGen/X86/min-legal-vector-width.ll
Log Message:
-----------
[DAG] Add legalization handling for AVGCEIL/AVGFLOOR nodes (#92096)
Always match AVG patterns pre-legalization, and use TargetLowering::expandAVG to expand again during legalization.
I've removed the X86 custom AVGCEILU pattern detection and replaced with combines to try and convert other AVG nodes to AVGCEILU.
Commit: d3342e5b922209e471b610ca1e254d9481b65319
https://github.com/llvm/llvm-project/commit/d3342e5b922209e471b610ca1e254d9481b65319
Author: Abhina Sree <69635948+abhina-sree at users.noreply.github.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
M llvm/lib/LTO/LTOBackend.cpp
M llvm/lib/Passes/StandardInstrumentations.cpp
M llvm/lib/Transforms/IPO/FunctionImport.cpp
Log Message:
-----------
[SystemZ][z/OS] Continue marking text files with OF_Text (#95111)
Text files should be opened with OF_Text to have the correct encoding.
Commit: 04c4cf45faea421a20ca7a3a01c1cdbca4f45910
https://github.com/llvm/llvm-project/commit/04c4cf45faea421a20ca7a3a01c1cdbca4f45910
Author: pvanhout <pierre.vanhoutryve at amd.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/R600InstPrinter.cpp
Log Message:
-----------
Revert "[NFC][AMDGPU] Do not flush after printing every instruction (#95237)"
This reverts commit ad9fe3b2a949fb3379e0a1bafbcd2ca81f5fa414.
Commit: 47afa10bbaa89351afa9bcc53dd959e6181ebf3d
https://github.com/llvm/llvm-project/commit/47afa10bbaa89351afa9bcc53dd959e6181ebf3d
Author: Zibi Sarbinowski <zibi at ca.ibm.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.char.funsigned-char.pass.cpp
Log Message:
-----------
[libc++][z/OS] Disable portion of formatter.char.funsigned-char.pass.cpp for no unicode (#94044)
This PR carves out small portion of the test in subject to avoid the
following failure when unicode is not available.
```
# | Assertion failure: result == expected .../formatter.char.funsigned-char.pass.cpp 56
# |
# | Format string ?}
# | Expected output '\x{80}'
# | Actual output '�'
```
This was traced down to different definition of
`__code_point_view::__consume()` under macro_LIBCXX_HAS_NO_UNICODE which
is called inside `__formatter::__escape()`. The `__consume()` returns
`__ok` and code assumes that escaped sequence was already written but it
is not., thus the failure. Here is the snippen code we fall into:
```
typename __unicode::__consume_result __result = __view.__consume();
if (__result.__status == __unicode::__consume_result::__ok) {
__escape = __formatter::__is_escaped_sequence_written(__str, __result.__code_point, __escape, __mark);
```
Commit: 87374a8cffb6b6f589e8810a4d8502623e9d0268
https://github.com/llvm/llvm-project/commit/87374a8cffb6b6f589e8810a4d8502623e9d0268
Author: vdonaldson <37090318+vdonaldson at users.noreply.github.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M flang/include/flang/Lower/PFTBuilder.h
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/PFTBuilder.cpp
A flang/test/Lower/pre-fir-tree09.f90
Log Message:
-----------
[flang] Add support for lowering directives at the CONTAINS level (#95123)
There is currently support for lowering directives that appear outside
of a module or procedure, or inside the body of a module or procedure.
Extend this to support directives at the CONTAINS level of a module or
procedure, such as directives 3, 5, 7 9, and 10 in:
!dir$ some directive 1
module m
!dir$ some directive 2
contains
!dir$ some directive 3
subroutine p
!dir$ some directive 4
contains
!dir$ some directive 5
subroutine s1
!dir$ some directive 6
end subroutine s1
!dir$ some directive 7
subroutine s2
!dir$ some directive 8
end subroutine s2
!dir$ some directive 9
end subroutine p
!dir$ some directive 10
end module m
!dir$ some directive 11
This is done by looking for CONTAINS statements at the module or
procedure level, while ignoring CONTAINS statements at the derived type
level.
Commit: c46a6e6c929e4b365d1cb03233bdabbcb9ba222d
https://github.com/llvm/llvm-project/commit/c46a6e6c929e4b365d1cb03233bdabbcb9ba222d
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-12 (Wed, 12 Jun 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/AArch64/conditional-branches-cost.ll
M llvm/test/Transforms/LoopVectorize/AArch64/induction-costs-sve.ll
M llvm/test/Transforms/LoopVectorize/AArch64/masked-call.ll
M llvm/test/Transforms/LoopVectorize/AArch64/reduction-recurrence-costs-sve.ll
M llvm/test/Transforms/LoopVectorize/AArch64/scalable-strict-fadd.ll
M llvm/test/Transforms/LoopVectorize/AArch64/store-costs-sve.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-low-trip-count.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-forced.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-optsize.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-reductions.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-unroll.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding.ll
M llvm/test/Transforms/LoopVectorize/AArch64/tail-folding-styles.ll
M llvm/test/Transforms/LoopVectorize/RISCV/inloop-reduction.ll
M llvm/test/Transforms/LoopVectorize/RISCV/low-trip-count.ll
M llvm/test/Transforms/LoopVectorize/RISCV/scalable-tailfold.ll
M llvm/test/Transforms/LoopVectorize/RISCV/short-trip-count.ll
M llvm/test/Transforms/LoopVectorize/RISCV/uniform-load-store.ll
M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-interleave.ll
M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-iv32.ll
M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-masked-loadstore.ll
M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-reverse-load-store.ll
M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-vp-intrinsics.ll
Log Message:
-----------
[LV] Remove unnecessary getRuntimeVF call when computing vector TC.
As Step is VF * UF, there is no need to compute it again, which may
require multiple instructions for scalable VFs.
Commit: f2120cda7d3ee8a4ae49c530d8401428b1ed77ed
https://github.com/llvm/llvm-project/commit/f2120cda7d3ee8a4ae49c530d8401428b1ed77ed
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M offload/plugins-nextgen/amdgpu/src/rtl.cpp
Log Message:
-----------
[Offload][AMDGPU] Impose more restrictions for implicit kernel arguments (#95211)
COV3 is not supported anymore, thus we can just use ArgsSize we read
from the kernel to determine how many argument bytes we need and if
implicit kernel arguments are used.
Commit: cb5d1b52ad2b34698a5023c50da4f59c70e05539
https://github.com/llvm/llvm-project/commit/cb5d1b52ad2b34698a5023c50da4f59c70e05539
Author: Maksim Levental <maksim.levental at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
R llvm/include/llvm/ADT/DynamicAPInt.h
R llvm/include/llvm/ADT/SlowDynamicAPInt.h
M llvm/lib/Support/CMakeLists.txt
R llvm/lib/Support/DynamicAPInt.cpp
R llvm/lib/Support/SlowDynamicAPInt.cpp
M llvm/unittests/ADT/CMakeLists.txt
R llvm/unittests/ADT/DynamicAPIntTest.cpp
M mlir/include/mlir/Analysis/Presburger/Barvinok.h
M mlir/include/mlir/Analysis/Presburger/Fraction.h
M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
M mlir/include/mlir/Analysis/Presburger/LinearTransform.h
A mlir/include/mlir/Analysis/Presburger/MPInt.h
M mlir/include/mlir/Analysis/Presburger/Matrix.h
M mlir/include/mlir/Analysis/Presburger/PWMAFunction.h
M mlir/include/mlir/Analysis/Presburger/PresburgerRelation.h
M mlir/include/mlir/Analysis/Presburger/Simplex.h
A mlir/include/mlir/Analysis/Presburger/SlowMPInt.h
M mlir/include/mlir/Analysis/Presburger/Utils.h
M mlir/include/mlir/Support/LLVM.h
M mlir/lib/Analysis/FlatLinearValueConstraints.cpp
M mlir/lib/Analysis/Presburger/Barvinok.cpp
M mlir/lib/Analysis/Presburger/CMakeLists.txt
M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
M mlir/lib/Analysis/Presburger/LinearTransform.cpp
A mlir/lib/Analysis/Presburger/MPInt.cpp
M mlir/lib/Analysis/Presburger/Matrix.cpp
M mlir/lib/Analysis/Presburger/PWMAFunction.cpp
M mlir/lib/Analysis/Presburger/PresburgerRelation.cpp
M mlir/lib/Analysis/Presburger/Simplex.cpp
A mlir/lib/Analysis/Presburger/SlowMPInt.cpp
M mlir/lib/Analysis/Presburger/Utils.cpp
M mlir/unittests/Analysis/Presburger/CMakeLists.txt
M mlir/unittests/Analysis/Presburger/FractionTest.cpp
M mlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp
M mlir/unittests/Analysis/Presburger/LinearTransformTest.cpp
A mlir/unittests/Analysis/Presburger/MPIntTest.cpp
M mlir/unittests/Analysis/Presburger/MatrixTest.cpp
M mlir/unittests/Analysis/Presburger/SimplexTest.cpp
M mlir/unittests/Analysis/Presburger/Utils.h
M mlir/unittests/Analysis/Presburger/UtilsTest.cpp
Log Message:
-----------
Revert #95218 and #94953 (#95244)
Commit: 2b6c23461d85b59b4abb8d738b1d4ab574bbe437
https://github.com/llvm/llvm-project/commit/2b6c23461d85b59b4abb8d738b1d4ab574bbe437
Author: hev <wangrui at loongson.cn>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.cpp
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.h
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
M llvm/test/CodeGen/LoongArch/calling-conv-lp64d.ll
M llvm/test/CodeGen/LoongArch/calling-conv-lp64s.ll
M llvm/test/CodeGen/LoongArch/can-not-realign-stack.ll
M llvm/test/CodeGen/LoongArch/ir-instruction/atomicrmw-fp.ll
M llvm/test/CodeGen/LoongArch/jump-table.ll
M llvm/test/CodeGen/LoongArch/register-coalescer-crash-pr79718.mir
M llvm/test/CodeGen/LoongArch/sextw-removal.ll
M llvm/test/CodeGen/LoongArch/vararg.ll
Log Message:
-----------
[LoongArch] Set isAsCheapAsAMove on ADDI.D and {X}ORI instructions (#94733)
Commit: f59d9d538c7b580a93bee4afba0f098f7ddf09d9
https://github.com/llvm/llvm-project/commit/f59d9d538c7b580a93bee4afba0f098f7ddf09d9
Author: Alexander Yermolovich <43973793+ayermolo at users.noreply.github.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/AccelTable.h
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.cpp
A llvm/test/DebugInfo/X86/debug-names-types-die-offset-collision.ll
Log Message:
-----------
[CLANG][DWARF] Handle DIE offset collision in DW_IDX_parent (#95039)
This fixes https://github.com/llvm/llvm-project/issues/93886. The UnitID
is not
unique between CUs and TUs. This led to DW_IDX_parent to point ot an
entry for a
DIE in a CU if it had the same relative offset as a TU die.
Added a IsTU to the hash for parent chain.
Commit: 1216cde81afa263b972171116f8d3ca94c941107
https://github.com/llvm/llvm-project/commit/1216cde81afa263b972171116f8d3ca94c941107
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstrInfo.cpp
A llvm/test/CodeGen/X86/memfold-mov32r0.ll
Log Message:
-----------
[X86][mem-fold] Support memory folding from MOV32r0 to MOV64mi32
Commit: 3e3b7c70f52fa020557a42a4276b9105d75044a0
https://github.com/llvm/llvm-project/commit/3e3b7c70f52fa020557a42a4276b9105d75044a0
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/ADT/BUILD.gn
Log Message:
-----------
[gn build] Port cb5d1b52ad2b
Commit: 57e4360836f421a2c6131de51e3845620c6aea76
https://github.com/llvm/llvm-project/commit/57e4360836f421a2c6131de51e3845620c6aea76
Author: Kunwar Grover <groverkss at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M mlir/lib/Dialect/MemRef/Transforms/FoldMemRefAliasOps.cpp
M mlir/test/Dialect/MemRef/fold-memref-alias-ops.mlir
Log Message:
-----------
[mlir][memref] Add memref alias folders for expand/collapse_shape for vector load/store (#95223)
This patch adds adds patterns to fold memref alias for
expand_shape/collapse_shape feeding into vector.load/vector.store and
vector.maskedload/vector.maskedstore
Commit: 133197a0041f82990c5fa9709301a84832a27507
https://github.com/llvm/llvm-project/commit/133197a0041f82990c5fa9709301a84832a27507
Author: Andreas Jonson <andjo403 at hotmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M mlir/lib/Target/LLVMIR/Dialect/ROCDL/ROCDLToLLVMIRTranslation.cpp
M mlir/test/Target/LLVMIR/rocdl.mlir
Log Message:
-----------
[mlir][ROCDL] Swap range metadata to range attribute (#94853)
Swap out range metadata to range attribute for calls to be able to
deprecate range metadata on calls in the future.
Commit: 98174fb6ec9784d9eb7be313ee1317ca6e703d90
https://github.com/llvm/llvm-project/commit/98174fb6ec9784d9eb7be313ee1317ca6e703d90
Author: Hau Hsu <95277871+hau-hsu at users.noreply.github.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M compiler-rt/test/asan/TestCases/Linux/stack-trace-dlclose.cpp
M compiler-rt/test/asan/TestCases/Posix/strndup_oob_test.cpp
M compiler-rt/test/asan/TestCases/calloc-overflow.cpp
M compiler-rt/test/asan/TestCases/debug_stacks.cpp
M compiler-rt/test/asan/TestCases/double-free.cpp
M compiler-rt/test/asan/TestCases/malloc-size-too-big.cpp
M compiler-rt/test/asan/TestCases/strcpy-overlap.cpp
M compiler-rt/test/asan/TestCases/strdup_oob_test.cpp
M compiler-rt/test/asan/TestCases/strncpy-overflow.cpp
M compiler-rt/test/asan/TestCases/use-after-free-right.cpp
M compiler-rt/test/asan/TestCases/use-after-free.cpp
Log Message:
-----------
[asan] Make frame number checks more flexable (#94307)
Use more flexable regex ([0-9]+) for frame number checks. Since the
frame numbers might change if some functions are not inlined.
Similar to
*
https://github.com/llvm/llvm-project/commit/0360f3218a13666123849f6699216bdbebe64833
*
https://github.com/llvm/llvm-project/commit/404bc5ca2ae5fffa45d5240dcf52b7f134988867
Commit: 70510733af33c70ff7877eaf30d7718b9358a725
https://github.com/llvm/llvm-project/commit/70510733af33c70ff7877eaf30d7718b9358a725
Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/include/clang/AST/ASTContext.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/CMakeLists.txt
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Basic/Targets/AArch64.h
M clang/test/CodeGen/aarch64-cpu-supports-target.c
M clang/test/CodeGen/aarch64-sme-intrinsics/aarch64-sme-attrs.cpp
M clang/test/CodeGen/aarch64-targetattr.c
M clang/test/CodeGen/attr-target-version.c
M clang/test/Sema/aarch64-neon-target.c
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/TargetParser/AArch64TargetParser.cpp
Log Message:
-----------
Reland "[AArch64] Decouple feature dependency expansion. (#94279)" (#95231)
My reverted attempt to decouple feature dependency expansion (see
#95056) made it evident that some features are still using the FMV
dependencies in the target attribute.
The original commit broke the llvm test suite. This was addressed here:
https://github.com/llvm/llvm-test-suite/pull/133. I am now relanding it.
Commit: f6a2ca4f22e3d737a7aa488a4edde88d53dc8b26
https://github.com/llvm/llvm-project/commit/f6a2ca4f22e3d737a7aa488a4edde88d53dc8b26
Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M lldb/test/API/commands/target/basic/Makefile
M lldb/test/API/lang/c/global_variables/Makefile
M lldb/test/API/lang/cpp/char8_t/Makefile
Log Message:
-----------
[lldb][test] Disable PIE for some API tests (#93808)
When PIE is enabled on a platform by default, these tests fail since the
`target variable` command can't read a global string variable value
before running an inferior process.
It fixes the following tests when built with clang on Ubuntu aarch64:
```
commands/target/basic/TestTargetCommand.py
lang/c/global_variables/TestGlobalVariables.py
lang/cpp/char8_t/TestCxxChar8_t.py
```
Commit: 90d166aded71fceb9029f4e6c5a90036787890e6
https://github.com/llvm/llvm-project/commit/90d166aded71fceb9029f4e6c5a90036787890e6
Author: Emilio Cota <ecg at google.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/test/mlir-tblgen/BUILD.bazel
Log Message:
-----------
[mlir][bazel] fixes for 3c9a9c7365
Commit: 77db8b08c8b186c2625f8dfb26bb976561b43c4c
https://github.com/llvm/llvm-project/commit/77db8b08c8b186c2625f8dfb26bb976561b43c4c
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
M mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir
Log Message:
-----------
[mlir][vector] Restrict DropInnerMostUnitDimsTransferRead (#94904)
Restrict `DropInnerMostUnitDimsTransferRead` so that it fails when one
of the indices to be dropped could be != 0, e.g.
```mlir
func.func @negative_example(%A: memref<16x1xf32>, %i:index, %j:index) -> (vector<8x1xf32>) {
%f0 = arith.constant 0.0 : f32
%1 = vector.transfer_read %A[%i, %j], %f0 : memref<16x1xf32>, vector<8x1xf32>
return %1 : vector<8x1xf32>
}
```
This is an edge case that could represent an out-of-bounds access,
though that will depend on the actual value of `%j`. Importantly,
_without this change_ it would be transformed as follows:
```mlir
func.func @negative_example(%arg0: memref<16x1xf32>, %arg1: index, %arg2: index) -> vector<8x1xf32> {
%cst = arith.constant 0.000000e+00 : f32
%subview = memref.subview %arg0[0, 0] [16, 1] [1, 1] : memref<16x1xf32> to memref<16xf32, strided<[1]>>
%0 = vector.transfer_read %subview[%arg1], %cst : memref<16xf32, strided<[1]>>, vector<8xf32>
%1 = vector.shape_cast %0 : vector<8xf32> to vector<8x1xf32>
return %1 : vector<8x1xf32>
}
```
This is incorrect - `%arg2` is ignored. Hence the extra restriction to
avoid such cases.
NOTE: This PR is limited to tests for `vector.transfer_read`.
Commit: 27ac46e6bea2c25c18650b607754dcc73b42e3d6
https://github.com/llvm/llvm-project/commit/27ac46e6bea2c25c18650b607754dcc73b42e3d6
Author: Martin Storsjö <martin at martin.st>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M .github/workflows/libcxx-build-and-test.yaml
Log Message:
-----------
[libc++][ci] Don't install wget in the Windows jobs (#95215)
Nothing uses wget - only curl is used, and that's available out of the
box.
Commit: b1484f7de0c634c891947c56218d02a84148d356
https://github.com/llvm/llvm-project/commit/b1484f7de0c634c891947c56218d02a84148d356
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAG] visitAVG - use X/Y SDValue args to match the fold comment. NFC.
Commit: 346f16d504ab66f09e748a3ca041fa3a4deeeb1e
https://github.com/llvm/llvm-project/commit/346f16d504ab66f09e748a3ca041fa3a4deeeb1e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAGNodes.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
Log Message:
-----------
[DAG] Move isNullConstantOrUndef helper to SelectionDAGNodes.h to allow other future uses. NFC.
Commit: ad7a9d6af3523ae6e75658562ec510368f5f8df4
https://github.com/llvm/llvm-project/commit/ad7a9d6af3523ae6e75658562ec510368f5f8df4
Author: Akira Hatanaka <ahatanak at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGCleanup.cpp
M clang/lib/CodeGen/CodeGenFunction.h
Log Message:
-----------
[CodeGen] Remove IsVolatile from DominatingValue<RValue>::save_type (#95165)
Prior to 84780af4b02cb3b86e4cb724f996bf8e02f2f2e7, the class didn't have
any information about whether the saved value was volatile.
This is NFC as far as I can tell.
Commit: 35f9e5f51d52ed4a5653405345c18e07673a6b73
https://github.com/llvm/llvm-project/commit/35f9e5f51d52ed4a5653405345c18e07673a6b73
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/test/DebugInfo/symbolize-gnu-debuglink-no-realpath.test
M llvm/test/Other/lit-unicode.txt
M llvm/test/tools/llvm-rc/windres-prefix.test
Log Message:
-----------
[test] Skip some tests on Windows only (#95205)
These tests do not require bash. Skip them because they use features not
available on Windows. This is a follow up to #94595.
Commit: 1216e7045f78b8b2eae02ba5c729696177cdce3e
https://github.com/llvm/llvm-project/commit/1216e7045f78b8b2eae02ba5c729696177cdce3e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Log Message:
-----------
[DAG] getNode - add value type assertions for AVG nodes.
Commit: bce2498767d15724c1fbba8606f684f621a0a897
https://github.com/llvm/llvm-project/commit/bce2498767d15724c1fbba8606f684f621a0a897
Author: Martin Storsjö <martin at martin.st>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M .github/workflows/libcxx-build-and-test.yaml
Log Message:
-----------
[libcxx] [ci] Update Clang for Windows jobs to 18.1.x (#95228)
Pick the latest version available in Chocolatey (18.1.6) and llvm-mingw
(20240606, which includes LLVM 18.1.7).
Also add the flag "--allow-downgrade" when installing a specific version
of LLVM. If the preinstalled version is higher than the requested one,
Chocolatey would otherwise error out when requesting installing a lower
version. This will avoid errors in the future, if the runner image comes
preinstalled with a newer version of LLVM.
(This currently seems to happen with a recent version of the GitHub
Actions runner image, version 20240610.1.0 has LLVM 18.1.6 already
preinstalled, and will error out when trying to install the 17.0.6
version that we previously requested.)
Commit: 11399028ba2d74de770f46e7044ee0f008b01778
https://github.com/llvm/llvm-project/commit/11399028ba2d74de770f46e7044ee0f008b01778
Author: Rodrigo Salazar <4rodrigosalazar at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libcxx/src/filesystem/operations.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/weakly_canonical.pass.cpp
Log Message:
-----------
[libcxx] Correct and clean-up filesystem operations error_code paths (#88341)
3 error_code related cleanups/corrections in the std::filesystem
operations functions.
1. In `__copy`, the `ec->clear()` is unnecessary as `ErrorHandler` at
the start of each function clears the error_code as part of its
initialization.
2. In `__copy`, in the recursive codepath we are not checking the
error_code result of `it.increment(m_ec2)` immediately after use in the
for loop condition (and we aren't checking it after the final increment
when we don't enter the loop).
3. In `__weakly_canonical`, it makes calls to `__canonical` (which
internally uses OS APIs implementing POSIX `realpath`) and we are not
checking the error code result from the `__canonical` call. Both
`weakly_canonical` and `canonical` are supposed to set the error_code
when underlying OS APIs result in an error
(https://eel.is/c++draft/fs.err.report#3.1). With this change we
propagate up the error_code from `__canonical` caused by any underlying
OS API failure up to the `__weakly_canonical`. Essentially, if
`__canonical` thinks an error code should be set, then
`__weakly_canonical` must as well. Before this change it would be
throwing an exception in the non-error_code form of the function when
`__canonical` fails, while not setting the error code in the error_code
form of the function (an inconsistency).
Added a little coverage in weakly_canonical.pass.cpp for the error_code
forms of the API that was missing. Though I am lacking utilities in
libcxx testing to add granular testing of the failure scenarios (like
forcing realpath to fail for a given path, as it could if you had
something like a flaky remote filesystem).
Commit: 9540950a45eee79a3ae4e9e0fa92d72b703d14dd
https://github.com/llvm/llvm-project/commit/9540950a45eee79a3ae4e9e0fa92d72b703d14dd
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libcxx/benchmarks/algorithms/pstl.stable_sort.bench.cpp
M libcxx/include/CMakeLists.txt
M libcxx/include/__algorithm/pstl.h
R libcxx/include/__algorithm/pstl_frontend_dispatch.h
M libcxx/include/__numeric/pstl.h
A libcxx/include/__pstl/backend.h
A libcxx/include/__pstl/backend_fwd.h
A libcxx/include/__pstl/backends/default.h
M libcxx/include/__pstl/backends/libdispatch.h
M libcxx/include/__pstl/backends/serial.h
M libcxx/include/__pstl/backends/std_thread.h
R libcxx/include/__pstl/configuration.h
R libcxx/include/__pstl/configuration_fwd.h
M libcxx/include/__pstl/cpu_algos/any_of.h
M libcxx/include/__pstl/cpu_algos/fill.h
M libcxx/include/__pstl/cpu_algos/find_if.h
M libcxx/include/__pstl/cpu_algos/for_each.h
M libcxx/include/__pstl/cpu_algos/merge.h
M libcxx/include/__pstl/cpu_algos/stable_sort.h
M libcxx/include/__pstl/cpu_algos/transform.h
M libcxx/include/__pstl/cpu_algos/transform_reduce.h
A libcxx/include/__pstl/dispatch.h
A libcxx/include/__pstl/handle_exception.h
M libcxx/include/module.modulemap
M libcxx/test/libcxx/algorithms/pstl.iterator-requirements.verify.cpp
R libcxx/test/libcxx/algorithms/pstl.robust_against_customization_points_not_working.pass.cpp
M libcxx/test/libcxx/transitive_includes/cxx17.csv
M libcxx/test/libcxx/transitive_includes/cxx20.csv
M libcxx/test/libcxx/transitive_includes/cxx23.csv
M libcxx/test/libcxx/transitive_includes/cxx26.csv
Log Message:
-----------
[libc++] Overhaul the PSTL dispatching mechanism (#88131)
The experimental PSTL's current dispatching mechanism was designed with
flexibility in mind. However, while reviewing the in-progress OpenMP
backend, I realized that the dispatching mechanism based on ADL and
default definitions in the frontend had several downsides. To name a
few:
1. The dispatching of an algorithm to the back-end and its default
implementation is bundled together via `_LIBCPP_PSTL_CUSTOMIZATION_POINT`.
This makes the dispatching really confusing and leads to annoyances
such as variable shadowing and weird lambda captures in the front-end.
2. The distinction between back-end functions and front-end algorithms
is not as clear as it could be, which led us to call one where we meant
the other in a few cases. This is bad due to the exception requirements
of the PSTL: calling a front-end algorithm inside the implementation of
a back-end is incorrect for exception-safety.
3. There are two levels of back-end dispatching in the PSTL, which treat
CPU backends as a special case. This was confusing and not as flexible
as we'd like. For example, there was no straightforward way to dispatch
all uses of `unseq` to a specific back-end from the OpenMP backend,
or for CPU backends to fall back on each other.
This patch rewrites the backend dispatching mechanism to solve these
problems, but doesn't touch any of the actual implementation of
algorithms. Specifically, this rewrite has the following
characteristics:
- There is a single level of backend dispatching, however partial backends can
be stacked to provide a full implementation of the PSTL. The two-level dispatching
that was used for CPU-based backends is handled by providing CPU-based basis
operations as simple helpers that can easily be reused when defining any PSTL
backend.
- The default definitions for algorithms are separated from their dispatching logic.
- The front-end is thus simplified a whole lot and made very consistent
for all algorithms, which makes it easier to audit the front-end for
things like exception-correctness, appropriate forwarding, etc.
Fixes #70718
Commit: 3f42fee6010ccd5ef3a3c2c2b3822133f8d29dfd
https://github.com/llvm/llvm-project/commit/3f42fee6010ccd5ef3a3c2c2b3822133f8d29dfd
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libcxx/include/__pstl/cpu_algos/for_each.h
M libcxx/include/__pstl/cpu_algos/transform.h
Log Message:
-----------
[libc++][NFC] Rename __simd_walk functions to give more descriptive names
Commit: fe4cd104a8dbac4f09ff1f930909381dfa789bc7
https://github.com/llvm/llvm-project/commit/fe4cd104a8dbac4f09ff1f930909381dfa789bc7
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libcxx/include/__algorithm/pstl.h
Log Message:
-----------
[libc++][NFC] Fix typo in concept PSTL concept check
Commit: c5790206f719c8fac168ae488420f31800d55cf0
https://github.com/llvm/llvm-project/commit/c5790206f719c8fac168ae488420f31800d55cf0
Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M lldb/test/API/commands/target/basic/Makefile
M lldb/test/API/lang/c/global_variables/Makefile
M lldb/test/API/lang/cpp/char8_t/Makefile
Log Message:
-----------
[lldb] Fix linker flags in lldb tests
This is a fixup to https://github.com/llvm/llvm-project/pull/93808,
which used LDFLAGS instead of the correct LD_EXTRAS
Commit: 90a154e07db67a1e5e84890f1baf61c2cdc916d9
https://github.com/llvm/llvm-project/commit/90a154e07db67a1e5e84890f1baf61c2cdc916d9
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
Log Message:
-----------
[gn build] Port 9540950a45ee
Commit: 9a1611f938ab4c1a0b32e0e7f6a61333dfdd4e79
https://github.com/llvm/llvm-project/commit/9a1611f938ab4c1a0b32e0e7f6a61333dfdd4e79
Author: Michael Jones <michaelrj at google.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libc/src/stdio/baremetal/CMakeLists.txt
M libc/src/stdio/baremetal/printf.cpp
A libc/src/stdio/baremetal/putchar.cpp
Log Message:
-----------
[libc] Add baremetal putchar (#95182)
In #94685 I discussed my ideas for cleaner baremetal output writing.
This patch is not that. This patch just uses `write_to_stderr` for
outputting from putchar and printf on baremetal. I'm still planning to
create a proper design for writing to stdout and stderr on various
platforms, but that will be a followup patch.
Commit: c36961bd96583f0d63b78030bd5587b84b1d6cee
https://github.com/llvm/llvm-project/commit/c36961bd96583f0d63b78030bd5587b84b1d6cee
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libcxx/docs/FeatureTestMacroTable.rst
M libcxx/docs/Status/Cxx20Papers.csv
M libcxx/include/version
M libcxx/test/std/language.support/support.limits/support.limits.general/compare.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++] Adds __cpp_lib_three_way_comparison FTM. (#91515)
The paper
P0768R1 Library Support for the Spaceship (Comparison) Operator
did not add a feature-test macro. This omission has been corrected in
P1353R0 Missing Feature Test Macros
This enables the FTM for P0768R1
Fixes: https://github.com/llvm/llvm-project/issues/73953
---------
Co-authored-by: S. B. Tam <cpplearner at outlook.com>
Commit: 759fb590da445e1bf572ac295d0d76b950cf3b8e
https://github.com/llvm/llvm-project/commit/759fb590da445e1bf572ac295d0d76b950cf3b8e
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libcxx/docs/FeatureTestMacroTable.rst
M libcxx/docs/Status/Cxx23Papers.csv
M libcxx/include/version
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++][modules] Mark as implemented. (#90091)
The feature has been implemented in LLVM 18 as an experimental feature.
This marks the paper as complete and sets the feature-test macro.
Implements
- P2465R3 Standard Library Modules std and std.compat
Fixes: https://github.com/llvm/llvm-project/issues/89579
Commit: 1a0e67d73023e7ad9e7e79f66afb43a6f2561d04
https://github.com/llvm/llvm-project/commit/1a0e67d73023e7ad9e7e79f66afb43a6f2561d04
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
A llvm/include/llvm/ADT/DynamicAPInt.h
A llvm/include/llvm/ADT/SlowDynamicAPInt.h
M llvm/lib/Support/CMakeLists.txt
A llvm/lib/Support/DynamicAPInt.cpp
A llvm/lib/Support/SlowDynamicAPInt.cpp
M llvm/unittests/ADT/CMakeLists.txt
A llvm/unittests/ADT/DynamicAPIntTest.cpp
M mlir/include/mlir/Analysis/Presburger/Barvinok.h
M mlir/include/mlir/Analysis/Presburger/Fraction.h
M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
M mlir/include/mlir/Analysis/Presburger/LinearTransform.h
R mlir/include/mlir/Analysis/Presburger/MPInt.h
M mlir/include/mlir/Analysis/Presburger/Matrix.h
M mlir/include/mlir/Analysis/Presburger/PWMAFunction.h
M mlir/include/mlir/Analysis/Presburger/PresburgerRelation.h
M mlir/include/mlir/Analysis/Presburger/Simplex.h
R mlir/include/mlir/Analysis/Presburger/SlowMPInt.h
M mlir/include/mlir/Analysis/Presburger/Utils.h
M mlir/include/mlir/Support/LLVM.h
M mlir/lib/Analysis/FlatLinearValueConstraints.cpp
M mlir/lib/Analysis/Presburger/Barvinok.cpp
M mlir/lib/Analysis/Presburger/CMakeLists.txt
M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
M mlir/lib/Analysis/Presburger/LinearTransform.cpp
R mlir/lib/Analysis/Presburger/MPInt.cpp
M mlir/lib/Analysis/Presburger/Matrix.cpp
M mlir/lib/Analysis/Presburger/PWMAFunction.cpp
M mlir/lib/Analysis/Presburger/PresburgerRelation.cpp
M mlir/lib/Analysis/Presburger/Simplex.cpp
R mlir/lib/Analysis/Presburger/SlowMPInt.cpp
M mlir/lib/Analysis/Presburger/Utils.cpp
M mlir/unittests/Analysis/Presburger/CMakeLists.txt
M mlir/unittests/Analysis/Presburger/FractionTest.cpp
M mlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp
M mlir/unittests/Analysis/Presburger/LinearTransformTest.cpp
R mlir/unittests/Analysis/Presburger/MPIntTest.cpp
M mlir/unittests/Analysis/Presburger/MatrixTest.cpp
M mlir/unittests/Analysis/Presburger/SimplexTest.cpp
M mlir/unittests/Analysis/Presburger/Utils.h
M mlir/unittests/Analysis/Presburger/UtilsTest.cpp
Log Message:
-----------
Reland "mlir/Presburger/MPInt: move into llvm/ADT" (#95254)
Change: remove guards on debug-printing, to allow Release builds without
LLVM_ENABLE_DUMP to pass.
MPInt is an arbitrary-precision integer library that builds on top of
APInt, and has a fast-path when the number fits within 64 bits. It was
originally written for the Presburger library in MLIR, but seems useful
to the LLVM project in general, independently of the Presburger library
or MLIR. Hence, move it into LLVM/ADT under the name DynamicAPInt.
This patch is part of a project to move the Presburger library into
LLVM.
Commit: e286ecfecf50fd8eff2e7003131d2c845cb6045f
https://github.com/llvm/llvm-project/commit/e286ecfecf50fd8eff2e7003131d2c845cb6045f
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M flang/include/flang/Parser/token-sequence.h
M flang/lib/Parser/prescan.cpp
M flang/lib/Parser/prescan.h
M flang/lib/Parser/token-sequence.cpp
M flang/test/Preprocessing/directive-contin-with-pp.F90
Log Message:
-----------
[flang] Disable Fortran free form line continuation in non-source lin… (#94663)
…e produced by keyword macro replacement
When later initial keyword macro replacement will yield a line that is
not Fortran source, don't interpret "&" as a Fortran source line
continuation marker during tokenization of the line.
Fixes https://github.com/llvm/llvm-project/issues/82579.
Commit: 04a09b9b0c6da9adc8662ec46c8d2487b73cb5e4
https://github.com/llvm/llvm-project/commit/04a09b9b0c6da9adc8662ec46c8d2487b73cb5e4
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] Use isNullConstantOrUndef helper. NFC.
Commit: 760ad23e4811b81f8727d0a12b2d13149a45c72f
https://github.com/llvm/llvm-project/commit/760ad23e4811b81f8727d0a12b2d13149a45c72f
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/test/CodeGen/AArch64/arm64-vhadd.ll
Log Message:
-----------
[DAG] combineShiftToAVG - ensure the reduced demanded value type is smaller than the original.
Now we have promotion support we should be able to remove the next-power-of-2 code entirely, but this is good enough for now.
Commit: 00fa3fbfb846756a902527cdd793f1ad7ad9369b
https://github.com/llvm/llvm-project/commit/00fa3fbfb846756a902527cdd793f1ad7ad9369b
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/lib/ProfileData/InstrProf.cpp
M llvm/unittests/ProfileData/InstrProfTest.cpp
Log Message:
-----------
[ProfileData] Compute sum in annotateValueSite (NFC) (#95199)
getValueForSite computes the total count -- the total number of times
a given value site is visited. The problem is that, excluding tests,
annotateValueSite is the only place that needs the total count.
This patch moves the total count computation to annotateValueSite.
Commit: 15a699f98ebc9d7d2dad31ef4b8bd31d1c371e38
https://github.com/llvm/llvm-project/commit/15a699f98ebc9d7d2dad31ef4b8bd31d1c371e38
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/ADT/BUILD.gn
Log Message:
-----------
[gn build] Port 1a0e67d73023
Commit: bf7c505847aa58af23f14ee986ee4bb7acf22e62
https://github.com/llvm/llvm-project/commit/bf7c505847aa58af23f14ee986ee4bb7acf22e62
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVFeatures.td
Log Message:
-----------
[RISCV] Rename FeaturesSsqosid->FeaturesStdExtSsqosid. NFC
Commit: c42bbda42542cbf811f42a288f63b10e72e204de
https://github.com/llvm/llvm-project/commit/c42bbda42542cbf811f42a288f63b10e72e204de
Author: Peiming Liu <peiming at google.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/SparseTensor/IR/Enums.h
M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.h
M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
M mlir/lib/Dialect/SparseTensor/Transforms/CMakeLists.txt
A mlir/lib/Dialect/SparseTensor/Transforms/SparseIterationToScf.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorPasses.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.h
A mlir/test/Dialect/SparseTensor/sparse_iteration_to_scf.mlir
M mlir/test/Dialect/SparseTensor/sparse_space_collapse.mlir
Log Message:
-----------
[mlir][sparse] implement lowering rules for ExtractIterSpaceOp. (#89143)
**DO NOT MERGE** until https://github.com/llvm/llvm-project/pull/89003
Commit: ca33796d54ce6d2c711032b269caf32851c5915a
https://github.com/llvm/llvm-project/commit/ca33796d54ce6d2c711032b269caf32851c5915a
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
A llvm/test/CodeGen/RISCV/pr95271.ll
Log Message:
-----------
[DAG] combineShiftToAVG - only create new types before LegalTypes
Fixes #95271
Commit: 7665d3d90da7f32e56cb57eb192dc8f189730686
https://github.com/llvm/llvm-project/commit/7665d3d90da7f32e56cb57eb192dc8f189730686
Author: Iman Hosseini <hosseini.iman at yahoo.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/CUF/CUFOps.td
M flang/lib/Lower/Bridge.cpp
M flang/lib/Optimizer/Dialect/CUF/CUFOps.cpp
A flang/test/Lower/CUDA/cuda-kernel-do-reduction.cuf
Log Message:
-----------
[flang] Add reductions for CUF Kernels: Lowering (#95184)
* Add reductionOperands and reductionAttrs to cuf's KernelOp.
* Parsing is already working and the tree has the info: here I make the
Bridge emit the updated KernelOp with reduction information added.
* Check |reductionAttrs| = |reductionOperands| in verifier
* Add a test
@clementval @vzakhari
---------
Co-authored-by: Iman Hosseini <imanh at nvidia.com>
Co-authored-by: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Commit: af0d7128c8fd053d3de8af208d7d1682bc7a525a
https://github.com/llvm/llvm-project/commit/af0d7128c8fd053d3de8af208d7d1682bc7a525a
Author: Pierre d'Herbemont <pdherbemont at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/docs/ThreadSafetyAnalysis.rst
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Sema/Sema.h
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/test/AST/ast-dump-color.cpp
M clang/test/Sema/warn-thread-safety-analysis.c
M clang/test/SemaCXX/warn-thread-safety-parsing.cpp
Log Message:
-----------
Support `guarded_by` attribute and related attributes inside C structs and support late parsing them (#94216)
This fixes #20777.
Previously the `guarded_by`, `pt_guarded_by`, `acquired_after`, and `acquired_before` attributes were only supported inside C++ classes or top level C/C++ declaration.
This patch allows these attributes to be added to struct members in C. These attributes have also now support experimental late parsing. This is off by default but can be enabled by passing `-fexperimental-late-parse-attributes`. This is useful for referring to a struct member after the annotated member. E.g.
```
struct Example {
int a_value_defined_before __attribute__ ((guarded_by(a_mutex)));
struct Mutex *a_mutex;
};
```
Patch by Pierre d'Herbemont (@pdherbemont)
Commit: 31440738bd6b1345ea978914fe01d2e19f4aa373
https://github.com/llvm/llvm-project/commit/31440738bd6b1345ea978914fe01d2e19f4aa373
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/lib/ProfileData/InstrProf.cpp
Log Message:
-----------
[ProfileData] Use std::vector for ValueData (NFC) (#95194)
This patch changes the type of ValueData to
std::vector<InstrProfValueData> so that, in a follow-up patch, we can
teach getValueForSite to return ArrayRef<InstrProfValueData>.
Currently, a typical traversal over the value data looks like:
uint32_t NV = Func.getNumValueDataForSite(VK, I);
std::unique_ptr<InstrProfValueData[]> VD = Func.getValueForSite(VK, I);
for (uint32_t V = 0; V < NV; V++)
Do something with VD[V].Value and/or VD[V].Count;
Note that we need to call getNumValueDataForSite and getValueForSite
separately. If getValueForSite returns ArrayRef<InstrProfValueData>
in the future, then we'll be able to do something like:
for (const auto &V : Func.getValueForSite(VK, I))
Do something with V.Value and/or V.Count;
If ArrayRef<InstrProfValueData> directly points to ValueData, then
getValueForSite won't need to allocate memory with std::make_unique.
Now, switching to std::vector requires us to update several places:
- sortByTargetValues switches to llvm::sort because we don't need to
worry about sort stability.
- sortByCount retains sort stability because std::list::sort also
performs stable sort.
- merge builds another array and move it back to ValueData to avoid a
potential quadratic behavior with std::vector::insert into the
middle of a vector.
Commit: 25af23f52a62e9f0d835ae167567ceb9831546a7
https://github.com/llvm/llvm-project/commit/25af23f52a62e9f0d835ae167567ceb9831546a7
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
A llvm/test/CodeGen/RISCV/pr95284.ll
Log Message:
-----------
[RISCV] Add test coverage for #95284
Commit: 987b59abd0f7353cabf2f620a61ec903a885522a
https://github.com/llvm/llvm-project/commit/987b59abd0f7353cabf2f620a61ec903a885522a
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
A llvm/test/CodeGen/X86/pr95278.ll
Log Message:
-----------
[X86] SimplifyDemandedVectorEltsForTargetNode - use EVT for F16C nodes
As we allow these nodes to be created pre-legalization, we can't rely on them having a simple VT
Fixes #95278
Commit: abedb3b8356d5d56f1c575c4f7682fba2cb19787
https://github.com/llvm/llvm-project/commit/abedb3b8356d5d56f1c575c4f7682fba2cb19787
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGenTypes/MachineValueType.h
M llvm/utils/TableGen/Common/CodeGenTarget.cpp
M llvm/utils/TableGen/VTEmitter.cpp
Log Message:
-----------
[CodeGenTypes] Speed up getVectorElementType and getVectorMinNumElements (#95282)
Implement MVT::getVectorElementType and MVT::getVectorMinNumElements
with table lookup instead of switch.
This speeds up "check-llvm-codegen-amdgpu" by about 7% in my Release
build.
Commit: 7b8038426c52d5fee9c2f4cfe3e747e3a2b8efec
https://github.com/llvm/llvm-project/commit/7b8038426c52d5fee9c2f4cfe3e747e3a2b8efec
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libcxx/include/__pstl/cpu_algos/any_of.h
M libcxx/include/__pstl/cpu_algos/fill.h
M libcxx/include/__pstl/cpu_algos/find_if.h
M libcxx/include/__pstl/cpu_algos/for_each.h
M libcxx/include/__pstl/cpu_algos/merge.h
M libcxx/include/__pstl/cpu_algos/stable_sort.h
M libcxx/include/__pstl/cpu_algos/transform.h
M libcxx/include/__pstl/cpu_algos/transform_reduce.h
Log Message:
-----------
[libc++] Move the implementation of CPU-based basis operations to namespace __pstl (#95267)
They were always intended to be in that namespace but I was trying to
keep changes orthogonal.
Commit: 294f3ce5dde916c358d8f672b4a1c706c0387154
https://github.com/llvm/llvm-project/commit/294f3ce5dde916c358d8f672b4a1c706c0387154
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/test/CodeGenCXX/attr-likelihood-if-vs-builtin-expect.cpp
M llvm/docs/BranchWeightMetadata.rst
M llvm/include/llvm/IR/MDBuilder.h
M llvm/include/llvm/IR/ProfDataUtils.h
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/IR/Instruction.cpp
M llvm/lib/IR/Instructions.cpp
M llvm/lib/IR/MDBuilder.cpp
M llvm/lib/IR/Metadata.cpp
M llvm/lib/IR/ProfDataUtils.cpp
M llvm/lib/IR/Verifier.cpp
M llvm/lib/Transforms/IPO/SampleProfile.cpp
M llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
M llvm/lib/Transforms/Scalar/JumpThreading.cpp
M llvm/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
M llvm/lib/Transforms/Utils/Local.cpp
M llvm/lib/Transforms/Utils/LoopPeel.cpp
M llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LowerExpectIntrinsic/basic.ll
M llvm/test/Transforms/LowerExpectIntrinsic/expect-with-probability.ll
M llvm/test/Transforms/LowerExpectIntrinsic/expect_nonboolean.ll
M llvm/test/Transforms/LowerExpectIntrinsic/phi_merge.ll
M llvm/test/Transforms/LowerExpectIntrinsic/phi_or.ll
M llvm/test/Transforms/LowerExpectIntrinsic/phi_tern.ll
M llvm/test/Transforms/LowerExpectIntrinsic/phi_unexpect.ll
M llvm/test/Transforms/PhaseOrdering/AArch64/hoist-runtime-checks.ll
Log Message:
-----------
Reapply "[llvm][IR] Extend BranchWeightMetadata to track provenance o… (#95281)
…f weights" #95136
Reverts #95060, and relands #86609, with the unintended code generation
changes addressed.
This patch implements the changes to LLVM IR discussed in
https://discourse.llvm.org/t/rfc-update-branch-weights-metadata-to-allow-tracking-branch-weight-origins/75032
In this patch, we add an optional field to MD_prof meatdata nodes for
branch weights, which can be used to distinguish weights added from
llvm.expect* intrinsics from those added via other methods, e.g. from
profiles or inserted by the compiler.
One of the major motivations, is for use with MisExpect diagnostics,
which need to know if branch_weight metadata originates from an
llvm.expect intrinsic. Without that information, we end up checking
branch weights multiple times in the case if ThinLTO + SampleProfiling,
leading to some inaccuracy in how we report MisExpect related
diagnostics to users.
Since we change the format of MD_prof metadata in a fundamental way, we
need to update code handling branch weights in a number of places.
We also update the lang ref for branch weights to reflect the change.
Commit: 682d461d5a231cee54d65910e6341769419a67d7
https://github.com/llvm/llvm-project/commit/682d461d5a231cee54d65910e6341769419a67d7
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang-tools-extra/test/pp-trace/pp-trace-macro.cpp
M clang/docs/LanguageExtensions.rst
M clang/include/clang/AST/Expr.h
M clang/include/clang/AST/RecursiveASTVisitor.h
M clang/include/clang/AST/TextNodeDumper.h
M clang/include/clang/Basic/DiagnosticCommonKinds.td
M clang/include/clang/Basic/DiagnosticLexKinds.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/FileManager.h
M clang/include/clang/Basic/StmtNodes.td
M clang/include/clang/Basic/TokenKinds.def
M clang/include/clang/Driver/Options.td
M clang/include/clang/Frontend/PreprocessorOutputOptions.h
M clang/include/clang/Lex/PPCallbacks.h
R clang/include/clang/Lex/PPDirectiveParameter.h
R clang/include/clang/Lex/PPEmbedParameters.h
M clang/include/clang/Lex/Preprocessor.h
M clang/include/clang/Lex/PreprocessorOptions.h
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Sema/Sema.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/lib/AST/Expr.cpp
M clang/lib/AST/ExprClassification.cpp
M clang/lib/AST/ExprConstant.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/lib/AST/ItaniumMangle.cpp
M clang/lib/AST/StmtPrinter.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/Basic/FileManager.cpp
M clang/lib/Basic/IdentifierTable.cpp
M clang/lib/CodeGen/CGExprAgg.cpp
M clang/lib/CodeGen/CGExprConstant.cpp
M clang/lib/CodeGen/CGExprScalar.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Frontend/DependencyFile.cpp
M clang/lib/Frontend/DependencyGraph.cpp
M clang/lib/Frontend/InitPreprocessor.cpp
M clang/lib/Frontend/PrintPreprocessedOutput.cpp
M clang/lib/Lex/PPDirectives.cpp
M clang/lib/Lex/PPExpressions.cpp
M clang/lib/Lex/PPMacroExpansion.cpp
M clang/lib/Lex/TokenConcatenation.cpp
M clang/lib/Parse/ParseExpr.cpp
M clang/lib/Parse/ParseInit.cpp
M clang/lib/Parse/ParseTemplate.cpp
M clang/lib/Sema/SemaExceptionSpec.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaInit.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
R clang/test/C/C2x/Inputs/bits.bin
R clang/test/C/C2x/Inputs/boop.h
R clang/test/C/C2x/Inputs/i.dat
R clang/test/C/C2x/Inputs/jump.wav
R clang/test/C/C2x/Inputs/s.dat
R clang/test/C/C2x/n3017.c
R clang/test/Preprocessor/Inputs/jk.txt
R clang/test/Preprocessor/Inputs/media/art.txt
R clang/test/Preprocessor/Inputs/media/empty
R clang/test/Preprocessor/Inputs/null_byte.bin
R clang/test/Preprocessor/Inputs/numbers.txt
R clang/test/Preprocessor/Inputs/single_byte.txt
R clang/test/Preprocessor/embed___has_embed.c
R clang/test/Preprocessor/embed___has_embed_parsing_errors.c
R clang/test/Preprocessor/embed___has_embed_supported.c
R clang/test/Preprocessor/embed_art.c
R clang/test/Preprocessor/embed_codegen.cpp
R clang/test/Preprocessor/embed_constexpr.cpp
R clang/test/Preprocessor/embed_dependencies.c
R clang/test/Preprocessor/embed_ext_compat_diags.c
R clang/test/Preprocessor/embed_feature_test.cpp
R clang/test/Preprocessor/embed_file_not_found_chevron.c
R clang/test/Preprocessor/embed_file_not_found_quote.c
R clang/test/Preprocessor/embed_init.c
R clang/test/Preprocessor/embed_parameter_if_empty.c
R clang/test/Preprocessor/embed_parameter_limit.c
R clang/test/Preprocessor/embed_parameter_offset.c
R clang/test/Preprocessor/embed_parameter_prefix.c
R clang/test/Preprocessor/embed_parameter_suffix.c
R clang/test/Preprocessor/embed_parameter_unrecognized.c
R clang/test/Preprocessor/embed_parsing_errors.c
R clang/test/Preprocessor/embed_path_chevron.c
R clang/test/Preprocessor/embed_path_quote.c
R clang/test/Preprocessor/embed_preprocess_to_file.c
R clang/test/Preprocessor/embed_single_entity.c
R clang/test/Preprocessor/embed_weird.cpp
M clang/test/Preprocessor/init-aarch64.c
M clang/test/Preprocessor/init.c
R clang/test/Preprocessor/single_byte.txt
M clang/tools/libclang/CXCursor.cpp
M clang/www/c_status.html
Log Message:
-----------
Revert "✨ [Sema, Lex, Parse] Preprocessor embed in C and C++ (and Obj-C and Obj-C++ by-proxy)" (#95299)
Reverts llvm/llvm-project#68620
Introduce or expose a memory leak and UB, see llvm/llvm-project#68620
Commit: 0cb2ae33cd51484fa724f380bfbe9c5d896d3c6f
https://github.com/llvm/llvm-project/commit/0cb2ae33cd51484fa724f380bfbe9c5d896d3c6f
Author: Florian Mayer <fmayer at google.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/AccelTable.h
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.cpp
R llvm/test/DebugInfo/X86/debug-names-types-die-offset-collision.ll
Log Message:
-----------
Revert "[CLANG][DWARF] Handle DIE offset collision in DW_IDX_parent" (#95302)
Reverts llvm/llvm-project#95039
This looks like it caused the ASan bot to fail:
https://lab.llvm.org/buildbot/#/builders/168/builds/20912
Offending line was changed in this PR
Commit: d6bbe2e20ff21cc2d31106742dfe1711ae5c641e
https://github.com/llvm/llvm-project/commit/d6bbe2e20ff21cc2d31106742dfe1711ae5c641e
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libc/include/llvm-libc-macros/limits-macros.h
Log Message:
-----------
[libc] Fix definition of `UINT_MAX` in limits.h (#95279)
Summary:
Currently we use `(~0U)` for this definition, however the ~ operator
returns a different sign, meaning that preprocessor checks against this
value will fail. See https://godbolt.org/z/TrjaY1d8q where the
preprocessor thinks that it's not `0xffffffff` while the static
assertion thinks it is. This is because the latter does implicit
conversion but the preprocessor does not. This is now consistent with
other headers.
Commit: 2c6f4864d14402ab815c050caefb23196796694d
https://github.com/llvm/llvm-project/commit/2c6f4864d14402ab815c050caefb23196796694d
Author: Eric Fiselier <eric at efcs.ca>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libcxx/utils/ci/docker-compose.yml
Log Message:
-----------
Update actions-runner version for libc++ builder images
Commit: 2cc4bc132cbcc76c5552cbc128830943ea596b3e
https://github.com/llvm/llvm-project/commit/2cc4bc132cbcc76c5552cbc128830943ea596b3e
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCFragment.h
M llvm/lib/MC/MCFragment.cpp
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/test/MC/ELF/layout-interdependency.s
Log Message:
-----------
MCFragment: Initialize Offset to 0
After 9d0754ada5dbbc0c009bcc2f7824488419cc5530 ("[MC] Relax fragments
eagerly") removes the assert of Offset, it is no longer useful to
initialize the member to -1.
Now the symbol value estimate is more precise, which leads to slight
behavior change to layout-interdependency.s.
Commit: 148417bfaadf3c4c36074f3232ba6938dd6cbc61
https://github.com/llvm/llvm-project/commit/148417bfaadf3c4c36074f3232ba6938dd6cbc61
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libcxx/cmake/caches/Generic-msan.cmake
M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.local_time.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/sys_info.zdump.pass.cpp
Log Message:
-----------
[libc++] Mark local_time test as a long test (#95170)
It can otherwise timeout under some slow configurations.
Commit: acb896a344caf5a49cc07ba9c6bc4e8d1db0da6d
https://github.com/llvm/llvm-project/commit/acb896a344caf5a49cc07ba9c6bc4e8d1db0da6d
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libcxx/include/__algorithm/pstl.h
M libcxx/include/__numeric/pstl.h
M libcxx/include/__pstl/backends/default.h
M libcxx/include/__pstl/backends/libdispatch.h
M libcxx/include/__pstl/backends/serial.h
M libcxx/include/__pstl/backends/std_thread.h
M libcxx/include/__pstl/cpu_algos/any_of.h
M libcxx/include/__pstl/cpu_algos/fill.h
M libcxx/include/__pstl/cpu_algos/find_if.h
M libcxx/include/__pstl/cpu_algos/for_each.h
M libcxx/include/__pstl/cpu_algos/merge.h
M libcxx/include/__pstl/cpu_algos/stable_sort.h
M libcxx/include/__pstl/cpu_algos/transform.h
M libcxx/include/__pstl/cpu_algos/transform_reduce.h
Log Message:
-----------
[libc++] Remove unnecessary #ifdef guards around PSTL implementation details (#95268)
We want the PSTL implementation details to be available regardless of
the Standard mode or whether the experimental PSTL is enabled. This
patch guards the inclusion of the PSTL to the top-level headers that
define the public API in `__numeric` and `__algorithm`.
Commit: 8f6acd973a38da6dce45faa676cbb51da37f72e5
https://github.com/llvm/llvm-project/commit/8f6acd973a38da6dce45faa676cbb51da37f72e5
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Darwin.cpp
M clang/test/Driver/debug-options.c
Log Message:
-----------
Bump the DWARF version number to 5 on Darwin. (#95164)
The default debug info format for newer versions of Darwin is DWARF 5.
https://developer.apple.com/documentation/xcode-release-notes/xcode-16-release-notes
rdar://110925733
Commit: 39f78464d5f8794bc836b5e15c92fd1e162a3d0b
https://github.com/llvm/llvm-project/commit/39f78464d5f8794bc836b5e15c92fd1e162a3d0b
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libc/src/__support/fixedvector.h
Log Message:
-----------
[libc][__support] Add constexpr to FixedVector members (#95315)
Commit: f074500b229837b482c4b88d4bdd0e53d1e24ed5
https://github.com/llvm/llvm-project/commit/f074500b229837b482c4b88d4bdd0e53d1e24ed5
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libc/src/__support/macros/attributes.h
Log Message:
-----------
[libc][macros] Define LIBC_CONSTINIT (#95316)
Commit: c9d580033f29196223cd56a0fa238c3ba51d23e4
https://github.com/llvm/llvm-project/commit/c9d580033f29196223cd56a0fa238c3ba51d23e4
Author: Dan Liew <dan at su-root.co.uk>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/docs/ThreadSafetyAnalysis.rst
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Sema/Sema.h
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/test/AST/ast-dump-color.cpp
M clang/test/Sema/warn-thread-safety-analysis.c
M clang/test/SemaCXX/warn-thread-safety-parsing.cpp
Log Message:
-----------
Revert "Support `guarded_by` attribute and related attributes inside C structs and support late parsing them (#94216)"
This reverts commit af0d7128c8fd053d3de8af208d7d1682bc7a525a.
Reverting due to likely regression:
https://github.com/llvm/llvm-project/pull/94216#issuecomment-2164013300
Commit: fcc4935560720556defff25a9bd4fc44ffa3135b
https://github.com/llvm/llvm-project/commit/fcc4935560720556defff25a9bd4fc44ffa3135b
Author: Florian Mayer <fmayer at google.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Darwin.cpp
M clang/test/Driver/debug-options.c
Log Message:
-----------
Revert "Bump the DWARF version number to 5 on Darwin." (#95325)
Reverts llvm/llvm-project#95164
This broke a buildbot:
https://lab.llvm.org/buildbot/#/builders/37/builds/35987
Commit: 45927d730bcd2aa3380834ca8db96e32a8b2f2b1
https://github.com/llvm/llvm-project/commit/45927d730bcd2aa3380834ca8db96e32a8b2f2b1
Author: Jason Molenda <jason at molenda.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M lldb/test/API/macosx/delay-init-dependency/TestDelayInitDependency.py
Log Message:
-----------
[lldb] Skip delay-init test when run on pre-macOS 15
The test has a check that the static linker supports the new option,
but it assumed the Xcode 16 linker also meant it was running on
macOS 15 and the dynamic linker would honor dependencies flagged
this way. But Xcode 16 can be run on macOS 14.5, so we need to
skip the test in that combination.
Commit: e80c59556d2d71cc2d0dcb2bd712c36cc4043025
https://github.com/llvm/llvm-project/commit/e80c59556d2d71cc2d0dcb2bd712c36cc4043025
Author: Jonathan Thackray <jonathan.thackray at arm.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/test/Driver/aarch64-mcpu.c
M clang/test/Misc/target-invalid-cpu-note.c
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/Target/AArch64/AArch64Processors.td
M llvm/lib/Target/AArch64/AArch64Subtarget.cpp
M llvm/lib/TargetParser/Host.cpp
M llvm/unittests/TargetParser/TargetParserTest.cpp
Log Message:
-----------
[AArch64] Add support for Cortex-A725 and Cortex-X925 (#95214)
Cortex-A725 and Cortex-X925 are Armv9.2 AArch64 CPUs.
Technical Reference Manual for Cortex-A725:
https://developer.arm.com/documentation/107652/latest
Technical Reference Manual for Cortex-X925:
https://developer.arm.com/documentation/102807/latest
Commit: ca91538c9c6f5328f398ac849dcc4230824b007e
https://github.com/llvm/llvm-project/commit/ca91538c9c6f5328f398ac849dcc4230824b007e
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/tools/driver/cc1as_main.cpp
M llvm/lib/CodeGen/LLVMTargetMachine.cpp
M llvm/lib/MC/MCContext.cpp
M llvm/tools/llvm-ml/llvm-ml.cpp
Log Message:
-----------
[MC] Move AllowTemporaryLabels setting to MCContext::MCContext
Also delete `AllowTemporaryLabels = true` from MCContext::reset: when
llc supports -save-temp-labels in the next change, this assignment
should be removed to support -compile-twice.
Commit: a91c8398f22c28618d681497e9856c3a4b8753c3
https://github.com/llvm/llvm-project/commit/a91c8398f22c28618d681497e9856c3a4b8753c3
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h
M llvm/lib/MC/MCTargetOptionsCommandFlags.cpp
M llvm/test/CodeGen/X86/asm-label.ll
R llvm/test/MC/ELF/empty-twice.ll
A llvm/test/MC/ELF/twice.ll
M llvm/tools/llvm-mc/llvm-mc.cpp
Log Message:
-----------
[MC] Move -save-temp-labels from llvm-mc to MCTargetOptionsCommandFlags
so that tools like llc can use the option as well.
ca91538c9c6f5328f398ac849dcc4230824b007e is a prerequisite.
Commit: d125e717df24b2d310d934cca5daf6589566a0d6
https://github.com/llvm/llvm-project/commit/d125e717df24b2d310d934cca5daf6589566a0d6
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCContext.h
M llvm/lib/MC/MCContext.cpp
Log Message:
-----------
[MC] Remove setAllowTemporaryLabels and rename AllowTemporaryLabels
Follow-up to a91c8398f22c28618d681497e9856c3a4b8753c3.
Commit: 86d8aec97fd9e009e9b360ffeee744d3acce730d
https://github.com/llvm/llvm-project/commit/86d8aec97fd9e009e9b360ffeee744d3acce730d
Author: dyung <douglas.yung at sony.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M compiler-rt/test/asan/TestCases/strcpy-overlap.cpp
M compiler-rt/test/asan/TestCases/strdup_oob_test.cpp
M compiler-rt/test/asan/TestCases/use-after-free-right.cpp
Log Message:
-----------
[asan] Attempt to fix tests broken by #94307. (#95340)
Commit: 6784bf764207d267b781b4f515a2fafdcb345509
https://github.com/llvm/llvm-project/commit/6784bf764207d267b781b4f515a2fafdcb345509
Author: Ivy Zhang <yan3.zhang at intel.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
M mlir/lib/Dialect/Arith/Transforms/EmulateUnsupportedFloats.cpp
M mlir/lib/Dialect/Math/Transforms/LegalizeToF32.cpp
M mlir/test/Conversion/ArithToLLVM/arith-to-llvm.mlir
M mlir/test/Dialect/Arith/canonicalize.mlir
M mlir/test/Dialect/Arith/emulate-unsupported-floats.mlir
Log Message:
-----------
[MLIR][Arith] add fastMathAttr on arith::extf and arith::truncf (#93443)
Add an `fastMathAttr` on `arith::extf` and `arith::truncf`. If these two
ops are inserted by some promotion passes (like legalize-to-f32 /
emulate-unsupported-floats), they will be labeled as
`FastMathFlags::contract`, denoting that they can be then `eliminated by
canonicalizer`.
The `elimination` can help improve performance, while may introduce some
numerical differences.
Commit: b06da39cae0f7e2c6b8bc0bb03b734f9715c0bf3
https://github.com/llvm/llvm-project/commit/b06da39cae0f7e2c6b8bc0bb03b734f9715c0bf3
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/cppcoreguidelines/MacroUsageCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/macro-usage.rst
M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/macro-usage.cpp
Log Message:
-----------
[clang-tidy] ignoring macro with hash preprocessing token in cppcoreguidelines-macro-usage (#95265)
`#` and `##` preprocessing tokens cannot be replaced by constexpr
function. It should be ignored in check.
Commit: 2e1ad93961a3f444659c5d02d800e3144acccdb4
https://github.com/llvm/llvm-project/commit/2e1ad93961a3f444659c5d02d800e3144acccdb4
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/include/clang/AST/ASTContext.h
M clang/include/clang/AST/TemplateName.h
M clang/include/clang/AST/Type.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/TemplateName.cpp
M clang/unittests/AST/CMakeLists.txt
A clang/unittests/AST/ProfilingTest.cpp
Log Message:
-----------
[clang] fix broken canonicalization of DeducedTemplateSpecializationType (#95202)
This reverts the functional elements of commit
3e78fa860235431323aaf08c8fa922d75a7cfffa and redoes it, by fixing the
true root cause of #61317.
A TemplateName can be non-canonical; profiling it based on the canonical
name would result in inconsistent preservation of as-written information
in the AST.
The true problem in #61317 is that we would not consider the methods
with requirements expression which contain DTSTs as the same in relation
to merging of declarations when importing modules.
The expressions would never match because they contained DTSTs pointing
to different redeclarations of the same class template, but since
canonicalization for them was broken, their canonical types would not
match either.
---
No changelog entry because #61317 was already claimed as fixed in
previous release.
Commit: 78ee473784e5ef6f0b19ce4cb111fb6e4d23c6b2
https://github.com/llvm/llvm-project/commit/78ee473784e5ef6f0b19ce4cb111fb6e4d23c6b2
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/unittests/AST/BUILD.gn
Log Message:
-----------
[gn build] Port 2e1ad93961a3
Commit: 34aa6c5d9a1df7767d9758836c88ff26f72d0b05
https://github.com/llvm/llvm-project/commit/34aa6c5d9a1df7767d9758836c88ff26f72d0b05
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
M llvm/test/Instrumentation/MemorySanitizer/X86/avx-intrinsics-x86.ll
M llvm/test/Instrumentation/MemorySanitizer/X86/avx2-intrinsics-x86.ll
M llvm/test/Instrumentation/MemorySanitizer/X86/sse41-intrinsics-x86.ll
Log Message:
-----------
[msan] Handle blendv intrinsics (#94882)
blendvs are very similar to select, so we adjust
arguments and forward them into select handler.
Commit: 90a23d3a5a843086124c4b9315ee6a7617965623
https://github.com/llvm/llvm-project/commit/90a23d3a5a843086124c4b9315ee6a7617965623
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/MC/MCObjectStreamer.cpp
Log Message:
-----------
[MC] Restore setOffset(0) in emitLabel
For bolt/test/runtime/X86/exceptions-pic.test, llvm-bolt seems to call
emitLabel twice and the assert will fail. Work around it after
2cc4bc132cbcc76c5552cbc128830943ea596b3e
Commit: f941908d77e0a009351e5d5d3f01c704b5ff2ff7
https://github.com/llvm/llvm-project/commit/f941908d77e0a009351e5d5d3f01c704b5ff2ff7
Author: Ivy Zhang <yan3.zhang at intel.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
M mlir/lib/Dialect/Arith/Transforms/EmulateUnsupportedFloats.cpp
M mlir/lib/Dialect/Math/Transforms/LegalizeToF32.cpp
M mlir/test/Conversion/ArithToLLVM/arith-to-llvm.mlir
M mlir/test/Dialect/Arith/canonicalize.mlir
M mlir/test/Dialect/Arith/emulate-unsupported-floats.mlir
Log Message:
-----------
Revert "[MLIR][Arith] add fastMathAttr on arith::extf and arith::truncf" (#95344)
Reverts llvm/llvm-project#93443
Commit: 64c9a1e1266ec7bc4c4896b2df116fa12dbacf15
https://github.com/llvm/llvm-project/commit/64c9a1e1266ec7bc4c4896b2df116fa12dbacf15
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/cxx11.cpp
Log Message:
-----------
[clang][Interp] Also revisit references to const types
Neither isConstant() not isConstQualified() return true for these.
Commit: 58df6467140d022c70213215c3617080ba7a7934
https://github.com/llvm/llvm-project/commit/58df6467140d022c70213215c3617080ba7a7934
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Support/BLAKE3/blake3.c
Log Message:
-----------
[Support/BLAKE3] Remove some dead stores (#95120)
These were caught by the clang static analyzer.
Commit: f33310e4508bd532778691ed68714bec8615357d
https://github.com/llvm/llvm-project/commit/f33310e4508bd532778691ed68714bec8615357d
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/test/Transforms/Attributor/nonnull.ll
Log Message:
-----------
[Attributor][FIX] Ensure nonnull IR deduction is not optimistic (#93322)
We cannot use assumed dead information for nonnull IR-implied deduction
as we will never go back and re-check. This was reported in
https://github.com/llvm/llvm-project/pull/85810
Commit: 3bcd80acbac19b3066ffd09da98bf225fae93ef3
https://github.com/llvm/llvm-project/commit/3bcd80acbac19b3066ffd09da98bf225fae93ef3
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libc/src/stdlib/CMakeLists.txt
A libc/src/stdlib/freelist_heap.h
M libc/test/src/stdlib/CMakeLists.txt
A libc/test/src/stdlib/freelist_heap_test.cpp
Log Message:
-----------
[libc][stdlib] Add the FreelistHeap (#95066)
This is the actual freelist allocator which utilizes the generic
FreeList and the Block classes. We will eventually wrap the malloc
interface around this.
This is a part of #94270 to land in smaller patches.
Commit: 22ff7c5dc96828aba967fb3bcb3f929ea4509783
https://github.com/llvm/llvm-project/commit/22ff7c5dc96828aba967fb3bcb3f929ea4509783
Author: Zain Jaffal <zain at jjaffal.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/ValueTracking.h
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
Log Message:
-----------
[ValueTracking][NFC] move isKnownInversion to ValueTracking (#95321)
I am using `isKnownInversion` in the following pr
https://github.com/llvm/llvm-project/pull/94915
it is useful to have the method in a shared class so I can reuse it. I am not sure if `ValueTracking` is the correct place but it looks like most of the methods with the pattern `isKnownX` belong there.
Commit: 092dbfaad257885692fa64559e9eb43a5c466798
https://github.com/llvm/llvm-project/commit/092dbfaad257885692fa64559e9eb43a5c466798
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h
Log Message:
-----------
[Orc] Fix error handling (#95253)
I believe we should return after the SDR for the error case, instead of
invoking it a second time with Error::success().
Commit: 1dbd7bedc37fca1e7744dca202d0af427f399d68
https://github.com/llvm/llvm-project/commit/1dbd7bedc37fca1e7744dca202d0af427f399d68
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
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-using-template.cpp
M clang/test/SemaTemplate/deduction-guide.cpp
Log Message:
-----------
[clang] Don't print extra space when dumping template names (#95213)
Commit: fc19d6238af7d215b13c2af63cbce03b5c04069b
https://github.com/llvm/llvm-project/commit/fc19d6238af7d215b13c2af63cbce03b5c04069b
Author: pvanhout <pierre.vanhoutryve at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/test/MC/AMDGPU/hsa-sym-expr-failure.s
Log Message:
-----------
[AMDGPU][MC] Don't rely on output ordering in hsa-sym-expr-failure.s
Commit: 9ab601fa53587bc238193e2e211f57fe4b871133
https://github.com/llvm/llvm-project/commit/9ab601fa53587bc238193e2e211f57fe4b871133
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/R600InstPrinter.cpp
Log Message:
-----------
Reland "[NFC][AMDGPU] Do not flush after printing every instruction (#95237)"
It's very expensive and doesn't achieve anything.
I one test I did, it saves almost 10s on a 2m23s build, bringing it down
to 2m15s using a downstream branch.
Commit: 54b5c76d3b98c864daf39c24cda35d4a03d60747
https://github.com/llvm/llvm-project/commit/54b5c76d3b98c864daf39c24cda35d4a03d60747
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M offload/include/Shared/APITypes.h
M offload/plugins-nextgen/amdgpu/src/rtl.cpp
M offload/plugins-nextgen/common/include/PluginInterface.h
M offload/plugins-nextgen/common/src/PluginInterface.cpp
M offload/plugins-nextgen/cuda/dynamic_cuda/cuda.h
M offload/plugins-nextgen/cuda/src/rtl.cpp
M offload/plugins-nextgen/host/src/rtl.cpp
Log Message:
-----------
[Offload] Use flat array for cuLaunchKernel (#95116)
We already used a flat array of kernel launch parameters for the AMD GPU
launch but now we also use this scheme for the NVIDIA GPU launch. The
only remaining/required use of the indirection is the host plugin (due
ot ffi). This allows to us simplify the use for non-OpenMP kernel
launch.
Commit: 9d7299fb84bcaafc6b7368dbe5ee6de29e71e655
https://github.com/llvm/llvm-project/commit/9d7299fb84bcaafc6b7368dbe5ee6de29e71e655
Author: Rajveer Singh Bharadwaj <rajveer.developer at icloud.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaExpr.cpp
M clang/test/C/drs/dr1xx.c
A clang/test/Sema/debug-93066.cpp
M clang/test/Sema/exprs.c
M clang/test/Sema/va_arg_x86_32.c
M clang/test/SemaObjCXX/sel-address.mm
Log Message:
-----------
[Clang] Add fix-it hint to insert `*` when a modifiable lvalue is required (#94159)
This adds a fix-it hint in situations where a modifiable lvalue is expected, but a prvalue
or non-modifiable lvalue of pointer type was found, so long as dereferencing the pointer
would result in a modifiable lvalue.
Resolves #93066
Commit: a6c115291ca2973109ed7b1ff021c8c9faf044c0
https://github.com/llvm/llvm-project/commit/a6c115291ca2973109ed7b1ff021c8c9faf044c0
Author: Kristof Beyls <kristof.beyls at arm.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/docs/Security.rst
Log Message:
-----------
[docs] Document move from chromium to github to report security issues. (#95262)
I'm not aware of any other documentation changes that are needed to
complete the migration from chromium to github to report security
issues. The top-level security.md file refers to
https://llvm.org/docs/Security.html#how-to-report-a-security-issue for
documentation on reporting a security issue, which is being updated as
part of this PR.
Commit: 9890f94343053029000e3ca6ca2b9889755f415a
https://github.com/llvm/llvm-project/commit/9890f94343053029000e3ca6ca2b9889755f415a
Author: Ivan Kosarev <ivan.kosarev at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vbuffer_mubuf.txt
Log Message:
-----------
[AMDGPU][GFX12] Support disassembling MUBUF instructions with arbitrary FORMAT values. (#95243)
Some tools generate such instructions with the FORMAT field set to 0,
which corresponds to buf_fmt_invalid, but that should not prevent them
from being recognised on decoding.
Commit: 4baea8b3156a2b0ddfb6649636c2b398647d2127
https://github.com/llvm/llvm-project/commit/4baea8b3156a2b0ddfb6649636c2b398647d2127
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
M llvm/test/CodeGen/SPIRV/transcoding/OpGroupAllAny.ll
M llvm/test/CodeGen/SPIRV/transcoding/group_ops.ll
Log Message:
-----------
[SPIR-V] Implement insertion of 'Group and Subgroup Instructions' using builtin functions (#95176)
This PR adds builtin functions to insert instructions from 'Group and
Subgroup' section of the SPIR-V Specification. Corresponding tests are
updated, `spirv-val` run is added where it was missed.
Commit: 9c29217a170566890d76b56ccfbbf9ceaa1193ab
https://github.com/llvm/llvm-project/commit/9c29217a170566890d76b56ccfbbf9ceaa1193ab
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
A llvm/test/CodeGen/SPIRV/keep-tracked-const.ll
Log Message:
-----------
[SPIR-V] Ensure that cleaning of temporary constants doesn't purge tracked constants (#95303)
This PR fixes a problem in logics of cleaning unused constants, ensuring
that cleaning of temporary constants doesn't purge tracked constants. On
a rare occasion when this happens SPIR-V Backend emits a code that
refers to a non-existent register, earlier related with a constant.
Attached to the PR test case is a minimal reproducer where names of
variables and instructions lead to such a rare coincidence.
Commit: f5a93c5f2a4d0916c975bbf028768d58a29b6b73
https://github.com/llvm/llvm-project/commit/f5a93c5f2a4d0916c975bbf028768d58a29b6b73
Author: Martin Storsjö <martin at martin.st>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/test/Driver/spirv-toolchain.cl
Log Message:
-----------
[clang] [test] Skip a test that sets PATH on Windows (#95096)
The same has been done in a couple other existing tests, that also are
skipped on Windows (e.g. ld-path.c). Some tests that really do want to
test setting the path on Windows does it differently, see e.g.
ps4-ps5-linker-win.c.
Since a65771fce4a2f25f16d4b3918ad6a11370637f7b, the spirv-toolchain.cl
test does one test where PATH is set. Setting PATH does work in some
build configurations - however, if built with e.g. llvm-mingw, the built
Clang executable depends on libc++.dll (and libunwind.dll) which are
found in PATH. If the PATH is overridden, the newly built Clang
executable no longer can run.
Commit: b446f9079bdc1123e1aafe5a535d8dbea835d8e8
https://github.com/llvm/llvm-project/commit/b446f9079bdc1123e1aafe5a535d8dbea835d8e8
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
M llvm/test/Transforms/InstCombine/pow-to-ldexp.ll
Log Message:
-----------
SimplifyLibCalls: Don't require ldexp to emit intrinsic in pow combine (#95277)
Do not require a libm ldexp libcall to emit the ldexp intrinsic when
transforming pow(2, x) -> ldexp(1, x)
This enables the half intrinsic case to fold.
Commit: 7adb7aa494247f2492f6207289ad90cb48807517
https://github.com/llvm/llvm-project/commit/7adb7aa494247f2492f6207289ad90cb48807517
Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M compiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
M compiler-rt/lib/gwp_asan/optional/segv_handler_posix.cpp
M compiler-rt/lib/gwp_asan/tests/harness.cpp
M compiler-rt/lib/gwp_asan/tests/harness.h
M compiler-rt/lib/gwp_asan/tests/late_init.cpp
Log Message:
-----------
[GWP-ASan] Various test fixes. (#94938)
When running some tests with --gtest_repeat=100 --gtest_shuffle, I
encountered some problems because the allocator wasn't torn down
completely, and the singleton pointer ended up pointing to a
use-after-scope'd object.
This patch has a couple of fixes and niceties:
1. Removing the once-init stuff from tests, now that it's implicitly
done in GuardedPoolAllocator::installAtFork() anyway.
2. Calling uninitTestOnly() in the late_init test.
3. Resetting the HasReportedBadPoolAccess when the signal handlers are
installed (allowing for --gtest_repeat w/ recoverable mode).
4. Adding a check and resetting the singleton pointer in
uninitTestOnly().
Commit: 8b435c18314e62530367a8721883a28c532e02ad
https://github.com/llvm/llvm-project/commit/8b435c18314e62530367a8721883a28c532e02ad
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/unittests/AST/ProfilingTest.cpp
Log Message:
-----------
ASTTests: Suppress a warning in -Asserts for #95202 [-Wunused-variable]
Commit: 2b66d283bc881fd4e84f2d3fef5d83c7cdf48422
https://github.com/llvm/llvm-project/commit/2b66d283bc881fd4e84f2d3fef5d83c7cdf48422
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M flang/lib/Optimizer/Transforms/AssumedRankOpConversion.cpp
M flang/test/Fir/rebox_assumed_rank_codegen.fir
Log Message:
-----------
[flang][fir] handle poly to non poly case in rebox_assumed_rank (#95240)
Dynamic type and element size of the descriptor dummy must match the
dummy static type when the dummy is not polymorphic, otherwise
IS_CONTIGUOUS, C_SIZEOF.... won't work properly inside the callee.
When the actual argument is polymorphic the descriptor of the actual may
have a different dynamic type/element size. Hence, the dummy argument
cannot simply take or copy the descriptor of the actual argument.
Commit: 65f746e76c97b6f8aece139199aed44ce632255c
https://github.com/llvm/llvm-project/commit/65f746e76c97b6f8aece139199aed44ce632255c
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M flang/include/flang/Runtime/inquiry.h
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/runtime/inquiry.cpp
M flang/test/Lower/HLFIR/assumed-rank-inquiries-3.f90
M flang/test/Lower/Intrinsics/ubound01.f90
M flang/unittests/Runtime/Inquiry.cpp
Log Message:
-----------
[flang] Update UBOUND runtime API and lowering (#95085)
LBOUND and SHAPE runtime were added with an API that avoids making a
dynamic allocation for the small result storage. Update the UBOUND API
that was already there and used in lowering outside of the assumed-rank
case.
Add tests for the assumed-rank case.
Commit: b37f9e0bdfe160ebf90c213936323edff949233a
https://github.com/llvm/llvm-project/commit/b37f9e0bdfe160ebf90c213936323edff949233a
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
M lldb/unittests/SymbolFile/DWARF/DWARFDIETest.cpp
Log Message:
-----------
[lldb] Move DWARFDeclContext functions from DWARFDebugInfoEntry to DW… (#95227)
…ARFDIE
This puts them closer to the other two functions doing something very
similar. I've tried to stick to the original logic of the functions as
much as possible, though I did apply some easy simplifications.
The changes in DWARFDeclContext.h are there to make the unit tests
produce more useful error messages.
Commit: 453a0e4cb5d9a7e766933c8c8a862c1acae951f4
https://github.com/llvm/llvm-project/commit/453a0e4cb5d9a7e766933c8c8a862c1acae951f4
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M flang/lib/Lower/ConvertCall.cpp
A flang/test/Lower/HLFIR/assumed-rank-calls.f90
Log Message:
-----------
[flang] handle assume-rank descriptor updates in calls (#95229)
Deal with the cases where lower bounds, or attribute, or dynamic type
must be updated when passing an assumed-rank actual argument to an
assumed-rank dummy argument.
copy-in/copy-out and passing target assumed-rank to intent(in) pointers
will be handled in separate patch.
Commit: 53c06c5644f9529057c97620efd8e8f85d0ed605
https://github.com/llvm/llvm-project/commit/53c06c5644f9529057c97620efd8e8f85d0ed605
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
Log Message:
-----------
SimplifyLibCalls: Simplify fp immediate checking code (NFC)
Re-use already queried call arguments and matched APFloat, instead
of re-matching the original argument.
Commit: 705f858157305865d9c14594a6c4c9fd6e46d835
https://github.com/llvm/llvm-project/commit/705f858157305865d9c14594a6c4c9fd6e46d835
Author: Tai Ly <tai.ly at arm.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.h
M mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
M mlir/test/Dialect/Tosa/canonicalize.mlir
Log Message:
-----------
[Tosa] Disable tosa folder for non-int/float/index types (#71757)
In order to fold, we need to create DenseElementsAttr, which does not
support quantized element types. This patch adds tests for folding
quntized element types and disable tosa folders where appropriate.
refactored canonicalize.mlir test to use --split-input-file
also fixed verifier for trait MulOperandsAndResultElementType for
quantized element types
Signed-off-by: Tai Ly <tai.ly at arm.com>
Commit: 71a5b37cc08b25e0e207296181c2c15e8927595e
https://github.com/llvm/llvm-project/commit/71a5b37cc08b25e0e207296181c2c15e8927595e
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGenTypes/MachineValueType.h
M llvm/utils/TableGen/VTEmitter.cpp
Log Message:
-----------
[CodeGenTypes] Remove unused ElSz argument from generated GET_VT_VECATTR (#95258)
Commit: f44023980de08c7554c4b735ca8e467c32b2f4f7
https://github.com/llvm/llvm-project/commit/f44023980de08c7554c4b735ca8e467c32b2f4f7
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M flang/lib/Semantics/check-omp-structure.cpp
M flang/test/Lower/OpenMP/Todo/reduction-derived-type-field.f90
M flang/test/Semantics/OpenMP/reduction09.f90
A flang/test/Semantics/OpenMP/reduction14.f90
Log Message:
-----------
[flang][Semantics][OpenMP] Check type of reduction variables (#94596)
Fixes #92440
I had to delete part of reduction09.f90 because I don't think that
should have ever worked.
Commit: 445973caceea9154b7f05a0b574ced346955be87
https://github.com/llvm/llvm-project/commit/445973caceea9154b7f05a0b574ced346955be87
Author: Björn Pettersson <bjorn.a.pettersson at ericsson.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/test/CodeGen/AMDGPU/extract-load-i1.ll
M llvm/test/CodeGen/AMDGPU/extract_vector_dynelt.ll
A llvm/test/CodeGen/X86/legalize-ins-ext-vec-elt.ll
Log Message:
-----------
[LegalizeTypes] Handle non byte-sized elt types when splitting INSERT/EXTRACT_VECTOR_ELT (#93357)
DAGTypeLegalizer::SplitVecRes_INSERT_VECTOR_ELT and
DAGTypeLegalizer::SplitVecRes_EXTRACT_VECTOR_ELT did not handle
non byte-sized elements properly. In fact, it only dealt with
elements smaller than 8 bits (as well as byte-sized elements).
This patch generalizes the support for non byte-sized element by
always widening the the vector elements to next "round integer type"
(a power of 2 bit size). This should make sure that we can access a
single element via a simple byte-addressed scalar load/store.
Also removing a suspicious CustomLowerNode call from
SplitVecRes_INSERT_VECTOR_ELT. Considering that it did not reset
the Lo/Hi out arguments before the return I think that
DAGTypeLegalizer::SplitVectorResult could be fooled into registering
the input vector as being the result. This should however not have
caused any problems since DAGTypeLegalizer::SplitVectorResult is
doing the same CustomLowerNode call, making the code removed by
this patch redundant.
Commit: 935d3773507f87a5a920a3e19fe71a75d69bc395
https://github.com/llvm/llvm-project/commit/935d3773507f87a5a920a3e19fe71a75d69bc395
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
A llvm/test/CodeGen/AMDGPU/buffer-intrinsic-mmo-type.ll
Log Message:
-----------
AMDGPU: Fix using wrong memory type for non-image resource intrinsics (#94911)
An 8 x i16 raw load was incorrectly using a 64-bit memory type, which
would assert in the MachineMemOperand constructor.
This is preparation for a cleanup which will make the buffer intrinsics
work for all legal types.
Commit: fa9301f35b41396bdf829cfd633fa2f983798723
https://github.com/llvm/llvm-project/commit/fa9301f35b41396bdf829cfd633fa2f983798723
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Support/KnownBits.cpp
Log Message:
-----------
[KnownBits] avgCompute - don't create on-the-fly Carry. NFC.
Use the internal computeForAddCarry directly since we know the exact values of the carry bit.
Commit: 00bb18a77c6c25fa7d6150ae724ffb8a37334ecb
https://github.com/llvm/llvm-project/commit/00bb18a77c6c25fa7d6150ae724ffb8a37334ecb
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/tools/llvm-dwp/llvm-dwp.cpp
Log Message:
-----------
[llvm-dwp] Remove incorrect std::move()
DWOName is still used afterwards. The only reason this works out
right now is that SmallString does not actually have a constructor
that can take advantage of the move.
Commit: 3475116e2c37a2c8a69658b36c02871c322da008
https://github.com/llvm/llvm-project/commit/3475116e2c37a2c8a69658b36c02871c322da008
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/test/CXX/drs/cwg26xx.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang][NFC] Add a test for CWG2685 (#95206)
I believe it has been implemented since D139837 "Implements CTAD for
aggregates P1816R0 and P2082R1", so this just claims we have already
supported it.
Plus an update on the dr status page.
Commit: a144bf2b2511b47fc165755817eda17f79ef5476
https://github.com/llvm/llvm-project/commit/a144bf2b2511b47fc165755817eda17f79ef5476
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaInit.cpp
M clang/test/SemaTemplate/deduction-guide.cpp
Log Message:
-----------
[Clang] Fix handling of brace ellison when building deduction guides (#94889)
Fixes two issues in two ways:
1) The `braced-init-list` consisted of `initializer-list` and
`designated-initializer-list`, and thus the designated initializer is
subject to [over.match.class.deduct]p1.8, which means the brace elision
is also applicable on it for CTAD deduction guides.
2) When forming a deduction guide where the brace elision is applicable,
we should also consider the presence of braces within the initializer.
For example, given
template <class T, class U> struct X {
T t[2];
U u[3];
};
X x = {{1, 2}, 3, 4, 5};
we should establish such deduction guide AFAIU: `X(T (&&)[2], U, U, U) -> X<T, U>`.
Fixes https://github.com/llvm/llvm-project/issues/64625
Fixes https://github.com/llvm/llvm-project/issues/83368
Commit: b6bf4024a031a5e7b58aff1425d94841a88002d6
https://github.com/llvm/llvm-project/commit/b6bf4024a031a5e7b58aff1425d94841a88002d6
Author: Hua Tian <akiratian at tencent.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachinePipeliner.h
M llvm/include/llvm/CodeGen/TargetSubtargetInfo.h
A llvm/include/llvm/CodeGen/WindowScheduler.h
M llvm/lib/CodeGen/CMakeLists.txt
M llvm/lib/CodeGen/MachinePipeliner.cpp
A llvm/lib/CodeGen/WindowScheduler.cpp
A llvm/test/CodeGen/Hexagon/swp-ws-dead-def.mir
A llvm/test/CodeGen/Hexagon/swp-ws-exp-dbg.mir
A llvm/test/CodeGen/Hexagon/swp-ws-exp.mir
A llvm/test/CodeGen/Hexagon/swp-ws-fail-0.mir
A llvm/test/CodeGen/Hexagon/swp-ws-fail-1.mir
A llvm/test/CodeGen/Hexagon/swp-ws-fail-2.mir
A llvm/test/CodeGen/Hexagon/swp-ws-meta-instr.mir
A llvm/test/CodeGen/Hexagon/swp-ws-sqrt.mir
Log Message:
-----------
[llvm][CodeGen] Add a new software pipeliner 'Window Scheduler' (#84443)
This commit implements the Window Scheduler as described in the RFC:
https://discourse.llvm.org/t/rfc-window-scheduling-algorithm-for-machinepipeliner-in-llvm/74718
This Window Scheduler implements the window algorithm designed by
Steven Muchnick in the book "Advanced Compiler Design And
Implementation",
with some improvements:
1. Copy 3 times of the loop kernel and construct the corresponding DAG
to identify dependencies between MIs;
2. Use heuristic algorithm to obtain a set of window offsets.
The window algorithm is equivalent to modulo scheduling algorithm with a
stage of 2. It is mainly applied in targets where hardware resource
conflicts are severe, and the SMS algorithm often fails in such cases.
On our own DSA, this window algorithm typically can achieve a
performance
improvement of over 10%.
Co-authored-by: Kai Yan <aklkaiyan at tencent.com>
Co-authored-by: Ran Xiao <lennyxiao at tencent.com>
---------
Co-authored-by: Kai Yan <aklkaiyan at tencent.com>
Co-authored-by: Ran Xiao <lennyxiao at tencent.com>
Commit: 5c9352eb0258d506fb96f4a69e44f1d2fa284f1d
https://github.com/llvm/llvm-project/commit/5c9352eb0258d506fb96f4a69e44f1d2fa284f1d
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/include/llvm/Target/TargetSelectionDAG.td
M llvm/lib/Target/AArch64/AArch64InstrFormats.td
M llvm/lib/Target/AArch64/AArch64InstrGISel.td
M llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/DSInstructions.td
M llvm/lib/Target/AMDGPU/EvergreenInstructions.td
M llvm/lib/Target/AMDGPU/FLATInstructions.td
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AVR/AVRInstrInfo.td
M llvm/lib/Target/BPF/BPFInstrInfo.td
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
M llvm/lib/Target/Mips/Mips64InstrInfo.td
M llvm/lib/Target/Mips/MipsInstrInfo.td
M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
M llvm/lib/Target/PowerPC/PPCInstr64Bit.td
M llvm/lib/Target/PowerPC/PPCInstrInfo.td
M llvm/lib/Target/RISCV/RISCVInstrInfoA.td
M llvm/lib/Target/RISCV/RISCVInstrInfoZa.td
M llvm/lib/Target/Sparc/SparcInstr64Bit.td
M llvm/lib/Target/Sparc/SparcInstrInfo.td
M llvm/lib/Target/SystemZ/SystemZInstrInfo.td
M llvm/lib/Target/VE/VEInstrInfo.td
M llvm/lib/Target/WebAssembly/WebAssemblyInstrAtomics.td
M llvm/lib/Target/X86/X86InstrCompiler.td
M llvm/lib/Target/X86/X86InstrMisc.td
M llvm/test/TableGen/HasNoUse.td
Log Message:
-----------
DAG: Replace bitwidth with type in suffix in atomic tablegen ops (#94845)
Commit: 846e47e7b880bcf6b8f5773fe0fe236d486f3239
https://github.com/llvm/llvm-project/commit/846e47e7b880bcf6b8f5773fe0fe236d486f3239
Author: aengelke <engelke at in.tum.de>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCFragment.h
M llvm/lib/MC/MCFragment.cpp
Log Message:
-----------
[MC] Reduce size of MCDataFragment by 8 bytes (#95293)
Due to alignment, the first two fields of MCEncodedFragment are
currently at bytes 40 and 41, so 1 byte over the 8 byte boundary,
causing 7 bytes padding to be inserted for the following pointer.
Fold two bools of MCFragment into bitfields to reduce move the two
fields of MCEncodedFragment one byte earlier to remove the padding
bytes. This works, as in the Itanium ABI, there is no padding after
base classes.
This gives a space reduction of MCDataFragment from 224 to 216 bytes.
Commit: d70d3260a8633bd872de8ca9136beeccda897c80
https://github.com/llvm/llvm-project/commit/d70d3260a8633bd872de8ca9136beeccda897c80
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
Log Message:
-----------
[gn build] Port b6bf4024a031
Commit: 3f9e2e179a52eb50a2bcff148a5f351a4eddcb37
https://github.com/llvm/llvm-project/commit/3f9e2e179a52eb50a2bcff148a5f351a4eddcb37
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp
Log Message:
-----------
[NFC][clang-tidy] fix typo in readability-else-after-return
Commit: f991a16735c6a032f6b3ae0817a421ef94d705ca
https://github.com/llvm/llvm-project/commit/f991a16735c6a032f6b3ae0817a421ef94d705ca
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/ExpandLargeFpConvert.cpp
Log Message:
-----------
[CodeGen] ExpandLargeFpConvert - don't dereference a dyn_cast result
dyn_cast is allowed to return NULL - use cast<> to assert that the cast type is valid
Fixes static analysis warning.
Commit: 1cbafb3c3f8344570b39484ad1056596eb15c9b9
https://github.com/llvm/llvm-project/commit/1cbafb3c3f8344570b39484ad1056596eb15c9b9
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/avg.ll
Log Message:
-----------
[X86] avg.ll - add common CHECK prefix
Commit: 33a24b7654b7bab229ac8140148cb9a1b1d00d1d
https://github.com/llvm/llvm-project/commit/33a24b7654b7bab229ac8140148cb9a1b1d00d1d
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/avg.ll
Log Message:
-----------
[X86] Add test coverage for #95284
Commit: c0ff36ea2357aa47bbf58cefbf579b08a08fb173
https://github.com/llvm/llvm-project/commit/c0ff36ea2357aa47bbf58cefbf579b08a08fb173
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.load.bf16.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.load.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.store.bf16.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.store.ll
Log Message:
-----------
AMDGPU: Fix buffer intrinsic handling for various 16-bit elements. (#95376)
Mostly fixes handling of bfloat vectors, but also some missing
i16 cases.
Commit: e439d22c7a981dfac3089cf8b6a83d2a51c0be78
https://github.com/llvm/llvm-project/commit/e439d22c7a981dfac3089cf8b6a83d2a51c0be78
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/lib/AST/ExprConstant.cpp
Log Message:
-----------
[clang][ExprConst][NFC] Replace typecheck+castAs with getAs
Commit: 5563d914a776e11c22fa6f9617e8cb6c46e977cf
https://github.com/llvm/llvm-project/commit/5563d914a776e11c22fa6f9617e8cb6c46e977cf
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/references.cpp
Log Message:
-----------
[clang][Interp] Prepare return value for composite InitListExprs
Commit: 933d6be8e8c4a81f6409f4daaf704e7f363c6508
https://github.com/llvm/llvm-project/commit/933d6be8e8c4a81f6409f4daaf704e7f363c6508
Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M compiler-rt/lib/builtins/aarch64/sme-abi-vg.c
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/android.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/freebsd.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/fuchsia.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/mrs.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/sysauxv.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/hwcap.inc
Log Message:
-----------
[FMV][compiler-rt] Fix cpu features initialization. (#95149)
To detect features we either use HWCAPs or directly extract system
register bitfields and compare with a value. In many cases equality
comparisons give wrong results for example FEAT_SVE is not set if SVE2
is available (see the issue #93651). I am also making the access to
__aarch64_cpu_features atomic.
The corresponding PR for the ACLE specification is
https://github.com/ARM-software/acle/pull/322.
Commit: 7ead2d8c7e9114b3f23666209a1654939987cb30
https://github.com/llvm/llvm-project/commit/7ead2d8c7e9114b3f23666209a1654939987cb30
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/docs/SourceBasedCodeCoverage.rst
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/CodeGen/CodeGenPGO.cpp
M clang/lib/CodeGen/CoverageMappingGen.cpp
M clang/lib/CodeGen/MCDCState.h
M clang/test/CoverageMapping/branch-constfolded.cpp
M clang/test/CoverageMapping/logical.cpp
M clang/test/CoverageMapping/mcdc-class.cpp
M clang/test/CoverageMapping/mcdc-error-conditions.cpp
M clang/test/CoverageMapping/mcdc-logical-scalar-ids.cpp
M clang/test/CoverageMapping/mcdc-logical-stmt-ids-all.cpp
M clang/test/CoverageMapping/mcdc-logical-stmt-ids.cpp
M clang/test/CoverageMapping/mcdc-scratch-space.c
M clang/test/CoverageMapping/mcdc-system-headers.cpp
M clang/test/Profile/c-mcdc-class.cpp
M clang/test/Profile/c-mcdc-logicalop-ternary.c
M clang/test/Profile/c-mcdc-nested-ternary.c
M clang/test/Profile/c-mcdc-not.c
M clang/test/Profile/c-mcdc.c
M llvm/docs/CoverageMappingFormat.rst
M llvm/docs/LangRef.rst
M llvm/include/llvm/IR/IntrinsicInst.h
M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
M llvm/test/Instrumentation/InstrProfiling/inline-data-var-create.ll
M llvm/test/Instrumentation/InstrProfiling/mcdc.ll
M llvm/test/tools/llvm-cov/Inputs/mcdc-const-folding.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-const-folding.proftext
M llvm/test/tools/llvm-cov/Inputs/mcdc-const.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-const.proftext
A llvm/test/tools/llvm-cov/Inputs/mcdc-general-18.o
A llvm/test/tools/llvm-cov/Inputs/mcdc-general-18.profdata
M llvm/test/tools/llvm-cov/Inputs/mcdc-general.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-general.proftext
M llvm/test/tools/llvm-cov/Inputs/mcdc-macro.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-macro.proftext
M llvm/test/tools/llvm-cov/Inputs/mcdc-maxbs.o
A llvm/test/tools/llvm-cov/mcdc-general-18.test
M llvm/unittests/ProfileData/CoverageMappingTest.cpp
Log Message:
-----------
[MC/DC][Coverage] Loosen the limit of NumConds from 6 (#82448)
By storing possible test vectors instead of combinations of conditions,
the restriction is dramatically relaxed.
This introduces two options to `cc1`:
* `-fmcdc-max-conditions=32767`
* `-fmcdc-max-test-vectors=2147483646`
This change makes coverage mapping, profraw, and profdata incompatible
with Clang-18.
- Bitmap semantics changed. It is incompatible with previous format.
- `BitmapIdx` in `Decision` points to the end of the bitmap.
- Bitmap is packed per function.
- `llvm-cov` can understand `profdata` generated by `llvm-profdata-18`.
RFC:
https://discourse.llvm.org/t/rfc-coverage-new-algorithm-and-file-format-for-mc-dc/76798
Commit: 5e8cf0bf1182fc29469495e1e1377ad117b27172
https://github.com/llvm/llvm-project/commit/5e8cf0bf1182fc29469495e1e1377ad117b27172
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.store.bf16.ll
Log Message:
-----------
AMDGPU: Fix buffer intrinsic store of bfloat (#95377)
Commit: b53e0854a10fa440c955a9fd48a869619f6e0521
https://github.com/llvm/llvm-project/commit/b53e0854a10fa440c955a9fd48a869619f6e0521
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/test/CXX/drs/cwg26xx.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
Revert "[clang][NFC] Add a test for CWG2685" (#95389)
I was wrong: The purpose of CWG2685 is to avoid brace elision on string
literals and we should be rejecting the case.
Reverts llvm/llvm-project#95206
Commit: 04a4254def9643bf044c69f0aae65e4f2f278e0a
https://github.com/llvm/llvm-project/commit/04a4254def9643bf044c69f0aae65e4f2f278e0a
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/M68k/M68kInstrAtomics.td
Log Message:
-----------
[M68k] Fix atomic_cmp_swap patterns after #94845
Commit: 7ca52cde750c980c048cde2199c720431ec2acee
https://github.com/llvm/llvm-project/commit/7ca52cde750c980c048cde2199c720431ec2acee
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaOverload.cpp
Log Message:
-----------
[Sema] IsVectorConversion - merge isExtVectorType() and getAs<VectorType> calls. NFC.
Use getAs<ExtVectorType> directly to avoid duplicate getAs<> calls and static analyser warnings about dereferencing potentially null pointers.
Commit: 71e4d70f0bb04bae6c8521c711c770293fd228a5
https://github.com/llvm/llvm-project/commit/71e4d70f0bb04bae6c8521c711c770293fd228a5
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang][NFC] Update CWG issues list
Commit: 76c5158aed52bbf21980752e38262e925cd8db8e
https://github.com/llvm/llvm-project/commit/76c5158aed52bbf21980752e38262e925cd8db8e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/test/CodeGen/RISCV/pr95284.ll
M llvm/test/CodeGen/X86/avg.ll
Log Message:
-----------
[DAG] combineShiftToAVG - don't create avgfloor with scalar constant operands unless legal.
Converting to avgfloor and then expanding it back to shift+add later is likely to prevent other folds (re-association and value-tracking in particular) in the meantime.
Fixes #95284
Commit: 9b46838836a093d6732d47261b820f3b7bbf8a5f
https://github.com/llvm/llvm-project/commit/9b46838836a093d6732d47261b820f3b7bbf8a5f
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M flang/lib/Frontend/CMakeLists.txt
M flang/lib/Frontend/FrontendActions.cpp
M flang/test/Transforms/debug-local-var-2.f90
Log Message:
-----------
Reapply "[Flang] Use PrintModulePass to print LLVM IR from the frontend (#95142)" (#95306)
Fixed the link error that previously occurred on buildbots by adding
IRPrinter to the linked components of the Flang frontend.
This reverts commit 1d4523505e54415a270d7b13b6e203fc25585c5b.
Commit: 4f09ac7705b3b24492d521a97571404c2e9a1f8e
https://github.com/llvm/llvm-project/commit/4f09ac7705b3b24492d521a97571404c2e9a1f8e
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/lib/Lex/Lexer.cpp
M clang/test/Lexer/cxx2c-raw-strings.cpp
Log Message:
-----------
Fix off-by-one issue found by post-commit review
Commit: ffab938f50fa999f2218976f7de78cf8e4f70d4e
https://github.com/llvm/llvm-project/commit/ffab938f50fa999f2218976f7de78cf8e4f70d4e
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/vectors.cpp
Log Message:
-----------
[clang][Interp] Handle BooleanToSignedIntegral casts
Commit: 3d1705d00c5f183b73d69aa0ceca481845e82fe8
https://github.com/llvm/llvm-project/commit/3d1705d00c5f183b73d69aa0ceca481845e82fe8
Author: Janek van Oirschot <janek.vanoirschot at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
A llvm/lib/Target/AMDGPU/Utils/AMDGPUDelayedMCExpr.cpp
A llvm/lib/Target/AMDGPU/Utils/AMDGPUDelayedMCExpr.h
M llvm/lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.h
M llvm/lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.cpp
M llvm/lib/Target/AMDGPU/Utils/CMakeLists.txt
A llvm/lib/Target/AMDGPU/Utils/SIDefinesUtils.h
M llvm/test/CodeGen/AMDGPU/amdpal-es.ll
M llvm/test/CodeGen/AMDGPU/amdpal-gs.ll
M llvm/test/CodeGen/AMDGPU/amdpal-hs.ll
M llvm/test/CodeGen/AMDGPU/amdpal-ls.ll
M llvm/test/CodeGen/AMDGPU/amdpal-vs.ll
M llvm/unittests/Target/AMDGPU/CMakeLists.txt
A llvm/unittests/Target/AMDGPU/PALMetadata.cpp
Log Message:
-----------
MCExpr-ify AMDGPU PALMetadata (#93236)
Allows MCExprs as passed values to PALMetadata. Also adds related
`DelayedMCExpr` classes which serve as a pseudo-fixup to resolve MCExprs
as late as possible (i.e., right before emit through string or blob,
where they should be resolvable).
Commit: 24c6579ed0cb05b4e54520d118ab3a0b70693f8d
https://github.com/llvm/llvm-project/commit/24c6579ed0cb05b4e54520d118ab3a0b70693f8d
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/Utils/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/Target/AMDGPU/BUILD.gn
Log Message:
-----------
[gn build] Port 3d1705d00c5f
Commit: 846103c7e3899a654c470fa360b22d35df888427
https://github.com/llvm/llvm-project/commit/846103c7e3899a654c470fa360b22d35df888427
Author: Spenser Bauman <sbauman at mathworks.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
M mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
M mlir/test/Conversion/MemRefToLLVM/memref-to-llvm.mlir
M mlir/test/Dialect/MemRef/expand-strided-metadata.mlir
Log Message:
-----------
[mlir][memref] Unranked support for extract_aligned_pointer_as_index (#93908)
memref.extract_aligned_pointer_as_index currently does not support
unranked inputs. This lack of support interferes with the folding
operations in the expand-strided-metadata pass.
%r = memref.reinterpret_cast %arg0 to
offset: [0],
sizes: [],
strides: [] : memref<*xf32> to memref<f32>
%i = memref.extract_aligned_pointer_as_index %r : memref<f32> -> index
Patterns like this occur when bufferizing operations on unranked
tensors.
This change modifies the extract_aligned_pointer_as_index operation to
support unranked inputs with corresponding support in the MemRef->LLVM
conversion.
Co-authored-by: Spenser Bauman <sabauma at fastmail>
Commit: b5c850f718e1bc4d1aa0588f65ae53086f978e1a
https://github.com/llvm/llvm-project/commit/b5c850f718e1bc4d1aa0588f65ae53086f978e1a
Author: Daniel Bertalan <dani at danielbertalan.dev>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M lld/MachO/SyntheticSections.cpp
M lld/test/MachO/arm64-reloc-pointer-to-got.s
M lld/test/MachO/compact-unwind-both-local-and-dylib-personality.s
M lld/test/MachO/compact-unwind.s
M lld/test/MachO/dead-strip.s
M lld/test/MachO/invalid/compact-unwind-personalities.s
Log Message:
-----------
[lld-macho] Mark local personality functions as `INDIRECT_SYMBOL_LOCAL` (#95171)
This expands on the fix in 4e572db. The issue is pretty similar: we
might put symbols in the GOT which don't need run-time binding, locally
defined personality symbols in this case. We should set their indirect
symbol table entries to `INDIRECT_SYMBOL_LOCAL` to help `strip` remove
these local names from the symbol table.
Checking if the symbol is private-extern doesn't cover all cases; it can
also be a non-weak extern function too, for instance; use the
`needsBinding()` helper to determine it. This was the case for the
personality function in statically linked Rust executables.
The extra non-`LOCAL` symbols triggered a bug in Apple's `strip`
implementation. As the indirect value for the personality function was
not set to the flag, but the symbol didn't require binding, it tried to
make the symbol local, overwriting the GOT entry with the function's
address in the process. This normally wouldn't be a problem, but if
chained fixups are used, the fixup also encodes the offset to the next
fixup, and it effectively zeroed this offset out, causing the remaining
relocations on the page to not be performed by dyld.
This caused the crash in https://issues.chromium.org/issues/325410295
The change in tests is a bit ugly, as a lot of symbol information is now
removed by turning more symbols `LOCAL`.
Commit: 00798354c553d48d27006a2b06a904bd6013e31b
https://github.com/llvm/llvm-project/commit/00798354c553d48d27006a2b06a904bd6013e31b
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
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/VPlanRecipes.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/lib/Transforms/Vectorize/VPlanValue.h
M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
Log Message:
-----------
[VPlan] First step towards VPlan cost modeling. (#92555)
This adds a new interface to compute the cost of recipes, VPBasicBlocks,
VPRegionBlocks and VPlan, initially falling back to the legacy cost model
for all recipes. Follow-up patches will gradually migrate recipes to
compute their own costs step-by-step.
It also adds getBestPlan function to LVP which computes the cost of all
VPlans and picks the most profitable one together with the most
profitable VF.
The VPlan selected by the VPlan cost model is executed and there is an
assert to catch cases where the VPlan cost model and the legacy cost
model disagree. Even though I checked a number of different build
configurations on AArch64 and X86, there may be some differences
that have been missed.
Additional discussions and context can be found in @arcbbb's
https://github.com/llvm/llvm-project/pull/67647 and
https://github.com/llvm/llvm-project/pull/67934 which is an earlier
version of the current PR.
PR: https://github.com/llvm/llvm-project/pull/92555
Commit: a959ad155343095fc8f73aa397a72e3ced1df354
https://github.com/llvm/llvm-project/commit/a959ad155343095fc8f73aa397a72e3ced1df354
Author: Him188 <tguan at nvidia.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.h
M llvm/test/CodeGen/AArch64/GlobalISel/regbank-fp-use-def.mir
M llvm/test/CodeGen/AArch64/GlobalISel/regbankselect-fp-loads.mir
Log Message:
-----------
[AArch64][GISel] Assign G_LOAD defs into FPR if they feed FP instructions indirectly via PHI (#94618)
If G_LOAD def is used by a PHI, recursively check if the def of PHI is
used by any instruction that only uses FP oprand. If so, assign the def
of G_LOAD to FPR.
In other words, this change helps RBS to assign G_LOAD defs into FPR if
they are later on used in an FP instruction **indirectly via PHI**, to
avoid unnecessary copies. Before this patch, we only considered direct
usages.
It helps to fix GISel regression in TSVC kernel s3110.
GISel was 50% slower than SDAG before this change. Now GISel and SDAG
have the same runtime.
Commit: ae73706075bb2ea4bbc87c4b33f3b681555f8dfb
https://github.com/llvm/llvm-project/commit/ae73706075bb2ea4bbc87c4b33f3b681555f8dfb
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/SemaCXX/cxx0x-initializer-references.cpp
Log Message:
-----------
[clang][Interp] Fix references to objects
The previous commit tried to handle this in a way that's too general.
Move the !Initializing case down to the array type.
Commit: 0aeaa2d93dc24da427645395b9b228b15409f551
https://github.com/llvm/llvm-project/commit/0aeaa2d93dc24da427645395b9b228b15409f551
Author: agozillon <Andrew.Gozillon at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/ReplaceConstant.h
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/IR/ReplaceConstant.cpp
A offload/test/offloading/fortran/dtype-array-constant-index-map.f90
Log Message:
-----------
[OMPIRBuilder][OpenMP][LLVM] Modify and use ReplaceConstant utility in convertTarget (#94541)
This PR seeks to expand/replace the Constant -> Instruction conversion
that needs to occur inside of the OpenMP Target kernel generation to
allow kernel argument replacement of uses within the kernel (cannot
replace constant uses within constant expressions with non-constants).
It does so by making use of the new-ish utility
convertUsersOfConstantsToInstructions which is a much more expansive
version of what the smaller "version" of the function I wrote does,
effectively expanding uses of the input argument that are constant
expressions into instructions so that we can replace with the
appropriate kernel argument.
Also alters convertUsersOfConstantsToInstructions to optionally
restrict the replacement to a function and optionally leave
dead constants alone, the latter is necessary when lowering from
MLIR as we cannot be sure we can remove the constants at this
stage, even if rewritten to instructions the ModuleTranslation may
maintain links to the original constants and utilise them in further
lowering steps (as when we're lowering the kernel, the module is
still in the process of being lowered). This can result in unusual
ICEs later. These dead constants can be tidied up later (and
appear to be in subsequent lowering from checking with
emit-llvm).
Commit: 28d6aa90b085469e5b6355f8d739df733ebc4400
https://github.com/llvm/llvm-project/commit/28d6aa90b085469e5b6355f8d739df733ebc4400
Author: ryankima <ryankima at umich.edu>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M mlir/lib/Conversion/BufferizationToMemRef/BufferizationToMemRef.cpp
M mlir/test/Conversion/BufferizationToMemRef/bufferization-to-memref.mlir
Log Message:
-----------
[mlir][bufferization] Unranked memref support for clone (#94757)
bufferization.clone does not currently support lowering to memref for
unranked memrefs. This interferes with bufferizing unranked tensors at
boundaries where a clone operation is needed.
```
func.func @foo(%input: memref<*xf32>, %shape: memref<?xindex>) -> memref<*xf32>
{
%reshape = memref.reshape %input(%shape) : (memref<*xf32>, memref<?xindex>) -> memref<*xf32>
%copy = bufferization.clone %reshape : memref<*xf32> to memref<*xf32>
return %copy : memref<*xf32>
}
```
Patterns such as that are possibly when bufferizing functions with input
and output unranked tensors. The clone operation currently fails to
legalize during the bufferization-to-memref conversion with unranked
memrefs.
This change modifies the conversion of bufferization.clone to memref to
generate the runtime calculations and allocation to allow for cloning an
unranked memref.
Commit: d2528c08bb6e58540672d19ac28293251b53386a
https://github.com/llvm/llvm-project/commit/d2528c08bb6e58540672d19ac28293251b53386a
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/TargetLowering.h
A llvm/test/CodeGen/X86/pr95274.ll
Log Message:
-----------
[DAG] getOperationAction - always return Custom action for target opcodes (#95401)
The target must be responsible for any expansion that needs to be performed for extended types etc.
Fixes #95274
Commit: 4afd2860222ee0413213dda05e089d5aa2773c42
https://github.com/llvm/llvm-project/commit/4afd2860222ee0413213dda05e089d5aa2773c42
Author: Hans Wennborg <hans at chromium.org>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M compiler-rt/test/asan/TestCases/Linux/stack-trace-dlclose.cpp
M compiler-rt/test/asan/TestCases/Posix/strndup_oob_test.cpp
M compiler-rt/test/asan/TestCases/calloc-overflow.cpp
M compiler-rt/test/asan/TestCases/debug_stacks.cpp
M compiler-rt/test/asan/TestCases/double-free.cpp
M compiler-rt/test/asan/TestCases/malloc-size-too-big.cpp
M compiler-rt/test/asan/TestCases/strcpy-overlap.cpp
M compiler-rt/test/asan/TestCases/strdup_oob_test.cpp
M compiler-rt/test/asan/TestCases/strncpy-overflow.cpp
M compiler-rt/test/asan/TestCases/use-after-free-right.cpp
M compiler-rt/test/asan/TestCases/use-after-free.cpp
Log Message:
-----------
Revert "[asan] Make frame number checks more flexable (#94307)"
It broke tests on Mac, see comment on the PR.
> Use more flexable regex ([0-9]+) for frame number checks. Since the
> frame numbers might change if some functions are not inlined.
>
> Similar to
> *
> https://github.com/llvm/llvm-project/commit/0360f3218a13666123849f6699216bdbebe64833
> *
> https://github.com/llvm/llvm-project/commit/404bc5ca2ae5fffa45d5240dcf52b7f134988867
This reverts commit 98174fb6ec9784d9eb7be313ee1317ca6e703d90
and the follow-up commit 86d8aec97fd9e009e9b360ffeee744d3acce730d.
Commit: 69bc159142c6e4ed168e32a6168392d396f891de
https://github.com/llvm/llvm-project/commit/69bc159142c6e4ed168e32a6168392d396f891de
Author: Balazs Benics <benicsbalazs at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
M clang/lib/StaticAnalyzer/Core/MemRegion.cpp
M clang/test/Analysis/Inputs/system-header-simulator-for-simple-stream.h
A clang/test/Analysis/fread.c
Log Message:
-----------
[analyzer] Refine invalidation caused by `fread` (#93408)
This change enables more accurate modeling of the write effects of
`fread`. In particular, instead of invalidating the whole buffer, in a
best-effort basis, we would try to invalidate the actually accesses
elements of the buffer. This preserves the previous value of the buffer
of the unaffected slots. As a result, diagnose more uninitialized buffer
uses for example.
Currently, this refined invalidation only triggers for `fread` if and
only if the `count` parameter and the buffer pointer's index component
are concrete or perfectly-constrained symbols.
Additionally, if the `fread` would read more than 64 elements, the whole
buffer is invalidated as before. This is to have safeguards against
performance issues.
Refer to the comments of the assertions in the following example to see
the changes in the diagnostics:
```c++
void demo() {
FILE *fp = fopen("/home/test", "rb+");
if (!fp) return;
int buffer[10]; // uninitialized
int read_items = fread(buffer+1, sizeof(int), 5, fp);
if (5 == read_items) {
int v1 = buffer[1]; // Unknown value but not garbage.
clang_analyzer_isTainted(v1); // expected-warning {{YES}} <-- Would be "NO" without this patch.
clang_analyzer_dump(v1); // expected-warning {{conj_}} <-- Not a "derived" symbol, so it's directly invalidated now.
int v0 = buffer[0]; // expected-warning {{Assigned value is garbage or undefined}} <-- Had no report here before.
(void)(v1 + v0);
} else {
// If 'fread' had an error.
int v0 = buffer[0]; // expected-warning {{Assigned value is garbage or undefined}} <-- Had no report here before.
(void)v0;
}
fclose(fp);
}
```
CPP-3247, CPP-3802
Co-authored by Marco Borgeaud (marco-antognini-sonarsource)
Commit: a9883739571f0adbe33219a74a934be7f8bd4f62
https://github.com/llvm/llvm-project/commit/a9883739571f0adbe33219a74a934be7f8bd4f62
Author: Dmitry Chernenkov <dmitryc at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/lib/CodeGen/MCDCState.h
Log Message:
-----------
[clang] Fix include for 7ead2d8c7e
clang/lib/CodeGen/MCDCState.h:33:11: error: no template named 'SmallVector' in namespace 'llvm'
33 | llvm::SmallVector<std::array<int, 2>> Indices;
| ~~~~~~^
Commit: ca05204f9aa258c5324d5675c7987c7e570168a0
https://github.com/llvm/llvm-project/commit/ca05204f9aa258c5324d5675c7987c7e570168a0
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/src/__support/threads/linux/CMakeLists.txt
M libc/test/IntegrationTest/test.cpp
Log Message:
-----------
[libc] fix aarch64 linux full build (#95358)
Commit: 8f795fc798f18d8e269a4a995210ec26803e6c97
https://github.com/llvm/llvm-project/commit/8f795fc798f18d8e269a4a995210ec26803e6c97
Author: Jannick Kremer <51118500+DeinAlptraum at users.noreply.github.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M .github/workflows/libclang-python-tests.yml
Log Message:
-----------
[libclang/python] Change minimum Python test version to 3.8 (#95210)
This fixes #95209
Commit: 3d35b94e3a9abcf5f703267c7653fd6ef39870b6
https://github.com/llvm/llvm-project/commit/3d35b94e3a9abcf5f703267c7653fd6ef39870b6
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/test/MC/Disassembler/X86/apx/rex2-format.txt
M llvm/test/MC/X86/apx/rex2-format-att.s
M llvm/test/MC/X86/apx/rex2-format-intel.s
Log Message:
-----------
[X86][test] Pre-commit tests for https://github.com/llvm/llvm-project/issues/95412
Commit: cc2dc0916ad6a00ebc9373a58854d77cf73af122
https://github.com/llvm/llvm-project/commit/cc2dc0916ad6a00ebc9373a58854d77cf73af122
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/test/CodeGenCUDA/managed-var.cu
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/CodeGenCXX/ms-inline-asm-fields.cpp
M clang/test/OpenMP/threadprivate_codegen.cpp
M llvm/include/llvm/IR/ConstantFold.h
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/lib/IR/Constants.cpp
Log Message:
-----------
Reapply [ConstantFold] Drop gep of gep fold entirely (#95126)
Reapplying without changes. The flang+openmp buildbot failure
should be addressed by https://github.com/llvm/llvm-project/pull/94541.
-----
This is a followup to https://github.com/llvm/llvm-project/pull/93823
and drops the DataLayout-unaware GEP of GEP fold entirely. All cases are
now left to the DataLayout-aware constant folder, which will fold
everything to a single i8 GEP.
We didn't have any test coverage for this fold in LLVM, but some Clang
tests change.
Commit: 93318a8b7369dde8762dcba0e8789b95b180e5ed
https://github.com/llvm/llvm-project/commit/93318a8b7369dde8762dcba0e8789b95b180e5ed
Author: alx32 <103613512+alx32 at users.noreply.github.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M lld/MachO/ObjC.cpp
M lld/MachO/ObjC.h
M lld/test/MachO/objc-category-merging-minimal.s
Log Message:
-----------
[lld-macho] Add swift support to ObjC category merger (#95124)
Currently ObjC category merger only supports categories defined in ObjC.
But swift supports generating ObjC categories also. This change adds
supports for the later categories.
Commit: 444dd9b093914a07467513760792aa2690312997
https://github.com/llvm/llvm-project/commit/444dd9b093914a07467513760792aa2690312997
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
A llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
A llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmax.ll
A llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmin.ll
M llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fadd.ll
A llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmax.ll
A llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmin.ll
A llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fsub.ll
A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd-wrong-subtarget.ll
A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmax.ll
A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmin.ll
A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fsub.ll
R llvm/test/CodeGen/AMDGPU/global-atomics-fp.ll
A llvm/test/CodeGen/AMDGPU/local-atomicrmw-fadd.ll
A llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmax.ll
A llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll
A llvm/test/CodeGen/AMDGPU/local-atomicrmw-fsub.ll
R llvm/test/CodeGen/AMDGPU/local-atomics-fp.ll
Log Message:
-----------
AMDGPU: Cleanup FP atomicrmw tests and cover fmin/fmax (#95131)
We apparently are missing codegen support for atomicrmw fmin/fmax. Also
clean up FP atomicrmw tests
to be more consistent and comprehensively test the relevant cases
Commit: 5dc99af4879e84660e27968aaf6e36c00fbe23f4
https://github.com/llvm/llvm-project/commit/5dc99af4879e84660e27968aaf6e36c00fbe23f4
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
Log Message:
-----------
[llvm] Use llvm::is_contained (NFC) (#95362)
Commit: 525c25acd364f018b4fa55e941bd702587478b1c
https://github.com/llvm/llvm-project/commit/525c25acd364f018b4fa55e941bd702587478b1c
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVMergeRegionExitTargets.cpp
Log Message:
-----------
[SPIRV] Fix warning in SPIRVMergeRegionExitTargets.cpp (#95283)
Fix warning in SPIRVMergeRegionExitTargets.cpp about "non-void function
does not return a value in all control paths" by changing assert to
llvm_unreachable.
Commit: 91a55cf5adbe37d33dc7b3b90de4bbb0b90761a1
https://github.com/llvm/llvm-project/commit/91a55cf5adbe37d33dc7b3b90de4bbb0b90761a1
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
M llvm/test/MC/Disassembler/X86/apx/rex2-format.txt
Log Message:
-----------
[X86][MC] Not decode 0xf3 as rep prefix if it's right before REX2
This fixes https://github.com/llvm/llvm-project/issues/95412
Commit: 48f8d95f337a9c97c5d00eb15eb43fdaa9b23235
https://github.com/llvm/llvm-project/commit/48f8d95f337a9c97c5d00eb15eb43fdaa9b23235
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M mlir/lib/Target/LLVMIR/ConvertToLLVMIR.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
M mlir/test/Target/LLVMIR/llvmir-debug.mlir
M mlir/test/lib/Dialect/Test/TestToLLVMIRTranslation.cpp
Log Message:
-----------
[MLIR][DebugInfo] Set debug info format in MLIR->IR translation (#95329)
MLIR's LLVM dialect does not internally support debug records, only
converting to/from debug intrinsics. To smooth the transition from
intrinsics to records, there is a step prior to IR->MLIR translation
that switches the IR module to intrinsic-form; this patch adds the
equivalent conversion to record-form at MLIR->IR translation.
This is a partial reapply of
https://github.com/llvm/llvm-project/pull/95098 which can be landed once
the flang frontend has been updated by
https://github.com/llvm/llvm-project/pull/95306. This is the counterpart
to the earlier patch https://github.com/llvm/llvm-project/pull/89735
which handled the IR->MLIR conversion.
Commit: ae4677c81aacbef17a5ecd3e693c4bad9f267c21
https://github.com/llvm/llvm-project/commit/ae4677c81aacbef17a5ecd3e693c4bad9f267c21
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
M llvm/test/CodeGen/RISCV/rvv/vfmv.v.f.ll
Log Message:
-----------
[RISCV] Remove support for vfmv.v.f with bf16 type. (#95352)
This isn't used by clang and isn't in the rvv-intrinsic-doc.
The instruction requires Zvfh.
If the F register passed to the instruction isn't nan-boxed correctly,
the instruction will generate the wrong nan. So the instruction isn't a
generic move FPR16 to vector register instruction.
Commit: 9e5428e6b02c77fb18c4bdf688a216c957fd7a53
https://github.com/llvm/llvm-project/commit/9e5428e6b02c77fb18c4bdf688a216c957fd7a53
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/src/__support/threads/linux/CMakeLists.txt
M libc/test/IntegrationTest/test.cpp
Log Message:
-----------
Revert "[libc] fix aarch64 linux full build (#95358)" (#95419)
Commit: dc8e078a59a65a8e2b4dd13954bfa497b30ef0e8
https://github.com/llvm/llvm-project/commit/dc8e078a59a65a8e2b4dd13954bfa497b30ef0e8
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-select-bf16.ll
A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vpmerge-bf16.ll
A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vselect-vp-bf16.ll
A llvm/test/CodeGen/RISCV/rvv/select-bf16.ll
A llvm/test/CodeGen/RISCV/rvv/vpmerge-sdnode-bf16.ll
A llvm/test/CodeGen/RISCV/rvv/vselect-bf16.ll
A llvm/test/CodeGen/RISCV/rvv/vselect-vp-bf16.ll
Log Message:
-----------
[RISCV] SPLAT_VECTOR of bf16 should not require Zvfhmin. (#95357)
The custom lowering converts to f32, splats as f32, then narrows the
vector to bf16. None of that requires Zvfhmin.
Add new bf16 test files without Zvfh/Zvfmin in their RUN lines. I will
remove the bf16 tests from other files in a follow up patch.
Commit: a8f80707b4bd3e87f64ce679e2d46de84937968b
https://github.com/llvm/llvm-project/commit/a8f80707b4bd3e87f64ce679e2d46de84937968b
Author: Renaud Kauffmann <rkauffmann at nvidia.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M flang/test/Analysis/AliasAnalysis/alias-analysis-9.fir
Log Message:
-----------
Adding a couple of pointer components tests (#95287)
Ahead of https://github.com/llvm/llvm-project/pull/94242 and as
requested in the technical call, I am adding a couple of tests for
pointer components that I would like to make sure are covered.
Commit: 1fb1fcf34396808e5e88d9d6a3fe6b207188f671
https://github.com/llvm/llvm-project/commit/1fb1fcf34396808e5e88d9d6a3fe6b207188f671
Author: David Stuttard <david.stuttard at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/VOP3PInstructions.td
M llvm/test/CodeGen/AMDGPU/integer-mad-patterns.ll
M llvm/test/CodeGen/AMDGPU/reassoc-mul-add-1-to-mad.ll
Log Message:
-----------
Add mad support for v_pk_* 16 bit integer (#95104)
Commit: 19b43e1757b4fd3d0f188cf8a08e9febb0dbec2f
https://github.com/llvm/llvm-project/commit/19b43e1757b4fd3d0f188cf8a08e9febb0dbec2f
Author: Amy Kwan <amy.kwan1 at ibm.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
A llvm/test/CodeGen/PowerPC/merge-private.ll
Log Message:
-----------
[PowerPC][NFC] Pre-commit test case to prepare for patch to merge internal and private global data
Commit: abcbbe711410da051126ca5b11a1ea227cb238f8
https://github.com/llvm/llvm-project/commit/abcbbe711410da051126ca5b11a1ea227cb238f8
Author: Zhaoshi Zheng <zhaoshiz at quicinc.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
M mlir/test/Conversion/VectorToLLVM/vector-reduction-to-llvm.mlir
Log Message:
-----------
[MLIR][VectorToLLVM] Handle scalable dim in createVectorLengthValue() (#93361)
LLVM's Vector Predication Intrinsics require an explicit vector length
parameter:
https://llvm.org/docs/LangRef.html#vector-predication-intrinsics.
For a scalable vector type, this should be caculated as VectorScaleOp
multiplied by base vector length, e.g.: for <[4]xf32> we should return:
vscale * 4.
Commit: 9f70cd83897b36e5628057dfef2855a0b9045766
https://github.com/llvm/llvm-project/commit/9f70cd83897b36e5628057dfef2855a0b9045766
Author: cmtice <cmtice at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M lldb/include/lldb/Core/ValueObject.h
M lldb/include/lldb/Utility/Scalar.h
M lldb/source/API/SBValue.cpp
M lldb/source/Core/ValueObject.cpp
Log Message:
-----------
[LLDB] Add more helper functions to ValueObject class. (#87197)
Create additional helper functions for the ValueObject class, for:
- returning the value as an APSInt or APFloat
- additional type casting options
- additional ways to create ValueObjects from various types of data
- dereferencing a ValueObject
These helper functions are needed for implementing the Data Inspection
Language, described in
https://discourse.llvm.org/t/rfc-data-inspection-language/69893
Commit: 451f3fcffdeb95db8a42b1403bdf9d95dda0e6d0
https://github.com/llvm/llvm-project/commit/451f3fcffdeb95db8a42b1403bdf9d95dda0e6d0
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/test/tools/llvm-dwarfdump/X86/locstats.ll
M llvm/tools/llvm-dwarfdump/Statistics.cpp
Log Message:
-----------
[DwarfDump] Add new set of line-table-related statistics to llvm-dwarfdump (#93289)
This patch adds a new set of statistics to llvm-dwarfdump that provide
additional information about .debug_line regarding the number of bytes
covered by the line table (and how many of those are covered by line 0
entries), and the number of entries within the table and how many of
those are is_stmt, unique, or unique and non-line-0 (where "uniqueness"
is based on file, line, and column only).
Collectively these give a little more insight into the state of debug
line information, rather than variables (as most of the dwarfdump
statistics are currently oriented towards). I've added all of the stats
that were useful to some degree, but I think the most generally useful
stat is "unique line entries", since it gives the most straightforward
indication of regressions, i.e. when the number goes down it means that
fewer source lines are reachable in the program.
Commit: 890ab282781c3f78e98b5fc73a9f42d53b2220eb
https://github.com/llvm/llvm-project/commit/890ab282781c3f78e98b5fc73a9f42d53b2220eb
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/KnownBits.h
Log Message:
-----------
[KnownBits] Remove commonBits (#95430)
commonBits has been deprecated since:
commit d8229e2f1424504f7ea81a0dcc7326d122be2872
Author: Jay Foad <jay.foad at amd.com>
Date: Wed May 10 16:50:33 2023 +0100
Commit: 8f2a4e83554abb2fb67f11d95428c3ff3147e88b
https://github.com/llvm/llvm-project/commit/8f2a4e83554abb2fb67f11d95428c3ff3147e88b
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M lldb/include/lldb/Utility/RegularExpression.h
M lldb/include/lldb/lldb-enumerations.h
M lldb/source/API/SBTarget.cpp
M lldb/source/Utility/RegularExpression.cpp
M lldb/test/API/lang/cpp/class_static/TestStaticVariables.py
Log Message:
-----------
[lldb] Support case-insensitive regex matches (#95350)
Support case-insensitive regex matches for
`SBTarget::FindGlobalFunctions` and `SBTarget::FindGlobalVariables`.
Commit: 46080abe9b136821eda2a1a27d8a13ceac349f8c
https://github.com/llvm/llvm-project/commit/46080abe9b136821eda2a1a27d8a13ceac349f8c
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
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/VPlanRecipes.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/lib/Transforms/Vectorize/VPlanValue.h
M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
Log Message:
-----------
Revert "[VPlan] First step towards VPlan cost modeling. (#92555)"
This reverts commit 00798354c553d48d27006a2b06a904bd6013e31b.
Causes crashes, see comments on https://github.com/llvm/llvm-project/pull/92555.
Commit: 93c8e0f2eb347e219077ddd4428faf9a89fff480
https://github.com/llvm/llvm-project/commit/93c8e0f2eb347e219077ddd4428faf9a89fff480
Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.cpp
M llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
M llvm/test/CodeGen/AArch64/outlining-with-streaming-mode-changes.ll
M llvm/test/CodeGen/AArch64/sme-call-streaming-compatible-to-normal-fn-wihout-sme-attr.ll
M llvm/test/CodeGen/AArch64/sme-disable-gisel-fisel.ll
M llvm/test/CodeGen/AArch64/sme-lazy-save-call.ll
M llvm/test/CodeGen/AArch64/sme-pstate-sm-changing-call-disable-coalescing.ll
M llvm/test/CodeGen/AArch64/sme-streaming-body-streaming-compatible-interface.ll
M llvm/test/CodeGen/AArch64/sme-streaming-body.ll
M llvm/test/CodeGen/AArch64/sme-streaming-compatible-interface.ll
M llvm/test/CodeGen/AArch64/sme-streaming-interface.ll
M llvm/test/CodeGen/AArch64/sme-streaming-mode-changing-call-disable-stackslot-scavenging.ll
A llvm/test/CodeGen/AArch64/sme-vg-to-stack.ll
M llvm/test/CodeGen/AArch64/streaming-compatible-memory-ops.ll
Log Message:
-----------
[AArch64][SME] Save VG for unwind info when changing streaming-mode (#83301)
If a function requires any streaming-mode change, the vector granule
value must be stored to the stack and unwind info must also describe the
save of VG to this location.
This patch adds VG to the list of callee-saved registers and increases
the
callee-saved stack size if the function requires streaming-mode changes.
A new type is added to RegPairInfo, which is also used to skip restoring
the register used to spill the VG value in the epilogue.
See
https://github.com/ARM-software/abi-aa/blob/main/aadwarf64/aadwarf64.rst
Commit: 8f57f6895724f858c9db924200524fad86cc4f11
https://github.com/llvm/llvm-project/commit/8f57f6895724f858c9db924200524fad86cc4f11
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Darwin.cpp
M clang/test/Driver/debug-options.c
Log Message:
-----------
Bump the DWARF version number to 5 on Darwin. (#95164)
The default debug info format for newer versions of Darwin is DWARF 5.
https://developer.apple.com/documentation/xcode-release-notes/xcode-16-release-notes
rdar://110925733
(relanding 8f6acd973a38da6dce45faa676cbb51da37f72e5 with the bridgeOS platform check removed)
Commit: 0f53a59fa6b4a7828cf6dbabb0056a379cdc4d0a
https://github.com/llvm/llvm-project/commit/0f53a59fa6b4a7828cf6dbabb0056a379cdc4d0a
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Darwin.cpp
Log Message:
-----------
Fix typos in comment
Commit: 389142efa0976436aa9210af014a5c92bcb53cdd
https://github.com/llvm/llvm-project/commit/389142efa0976436aa9210af014a5c92bcb53cdd
Author: Florian Mayer <fmayer at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
A compiler-rt/test/hwasan/TestCases/hwasan_symbolize_stack_uas.cpp
Log Message:
-----------
[HWASan] add test for hwasan_symbolize of stack uas (#95186)
Commit: a2393435217a0c8832b6b34e13977bb29d722d39
https://github.com/llvm/llvm-project/commit/a2393435217a0c8832b6b34e13977bb29d722d39
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-13 (Thu, 13 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/generic/CMakeLists.txt
M libc/src/__support/FPUtil/generic/sqrt.h
M libc/src/math/CMakeLists.txt
A libc/src/math/f16sqrtf.h
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/acosf.cpp
M libc/src/math/generic/acoshf.cpp
M libc/src/math/generic/asinf.cpp
M libc/src/math/generic/asinhf.cpp
A libc/src/math/generic/f16sqrtf.cpp
M libc/src/math/generic/hypotf.cpp
M libc/src/math/generic/powf.cpp
M libc/src/math/generic/sqrt.cpp
M libc/src/math/generic/sqrtf.cpp
M libc/src/math/generic/sqrtf128.cpp
M libc/src/math/generic/sqrtl.cpp
M libc/test/src/math/exhaustive/CMakeLists.txt
M libc/test/src/math/exhaustive/exhaustive_test.h
A libc/test/src/math/exhaustive/f16sqrtf_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/SqrtTest.h
A libc/test/src/math/smoke/f16sqrtf_test.cpp
M libc/utils/MPFRWrapper/CMakeLists.txt
M libc/utils/MPFRWrapper/MPFRUtils.cpp
M libc/utils/MPFRWrapper/MPFRUtils.h
Log Message:
-----------
[libc][math][c23] Add f16sqrtf C23 math function (#95251)
Part of #95250.
Commit: 6499c5d70c2514ff0997bac3b442bd0381591d77
https://github.com/llvm/llvm-project/commit/6499c5d70c2514ff0997bac3b442bd0381591d77
Author: Logikable <seanluchen at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M compiler-rt/lib/builtins/CMakeLists.txt
M compiler-rt/lib/builtins/atomic.c
Log Message:
-----------
[compiler-rt][builtins] Add opt-in pthread_mutex_t locks to libatomic (#95326)
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: 12f77e811b49b48df2c37f5036b05b5801a0535f
https://github.com/llvm/llvm-project/commit/12f77e811b49b48df2c37f5036b05b5801a0535f
Author: Florian Mayer <fmayer at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M compiler-rt/lib/hwasan/hwasan_flags.inc
M compiler-rt/lib/hwasan/hwasan_linux.cpp
R compiler-rt/test/hwasan/TestCases/Linux/fixed-shadow.c
Log Message:
-----------
Revert "[hwasan] Add fixed_shadow_base flag" (#95435)
Reverts llvm/llvm-project#73980
This broke static hwasan binaries in Android, for some reason the
fixed_shadow_base branch gets taken
Commit: e38729968bfa677b4c3a877df5fd042c25d802af
https://github.com/llvm/llvm-project/commit/e38729968bfa677b4c3a877df5fd042c25d802af
Author: Jannick Kremer <51118500+DeinAlptraum at users.noreply.github.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M .github/workflows/docs.yml
M .github/workflows/llvm-project-tests.yml
M .github/workflows/pr-code-format.yml
M .github/workflows/release-documentation.yml
M .github/workflows/release-doxygen.yml
Log Message:
-----------
[CI] Update setup-python action to v5 for GHA (#95414)
We currently receive a warning on all Github Actions workflows that use
`setup-python`, since they all use v4 of the action, which uses the
deprecated Node.js 16. This PR upgrades the action in all places to v5,
which uses Node.js 20 (see [setup-python release
page](https://github.com/actions/setup-python/releases/tag/v5.0.0))
Commit: 2fa6eaf93bfe5b638b6824f25ad1ebde686bd7d4
https://github.com/llvm/llvm-project/commit/2fa6eaf93bfe5b638b6824f25ad1ebde686bd7d4
Author: xur-llvm <59886942+xur-llvm at users.noreply.github.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/tools/llvm-profgen/PerfReader.cpp
M llvm/tools/llvm-profgen/PerfReader.h
M llvm/tools/llvm-profgen/ProfiledBinary.cpp
M llvm/tools/llvm-profgen/ProfiledBinary.h
Log Message:
-----------
[llvm-profgen] Add support for Linux kenrel profile (#92831)
Add the support to handle Linux kernel perf files. The functionality is
under option -kernel. Note that currently only main kernel (in vmlinux)
is handled: kernel modules are not handled.
---------
Co-authored-by: Han Shen <shenhan at google.com>
Commit: 3dd73dc1996940645620fd191110b57c49183531
https://github.com/llvm/llvm-project/commit/3dd73dc1996940645620fd191110b57c49183531
Author: Haowei <haowei at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/cmake/caches/Fuchsia-stage2.cmake
Log Message:
-----------
[Fuchsia] Add armv7m and armv8m runtimes to Fuchsia Clang toolchain (#95337)
This patch adds armv7m and armv8m runtimes to Fuchsia Clang toolchain
configuration.
Commit: 010c55bf44144f6370a0c4995c30ec51b06e1efe
https://github.com/llvm/llvm-project/commit/010c55bf44144f6370a0c4995c30ec51b06e1efe
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M flang/lib/Parser/expr-parsers.cpp
M flang/lib/Parser/program-parsers.cpp
M flang/lib/Parser/token-parsers.h
A flang/test/Parser/recovery01.f90
A flang/test/Parser/recovery02.f90
Log Message:
-----------
[flang] Improve error recovery in tricky situation (#95168)
When the very first statement of the executable part has syntax errors,
it's not at all obvious whether the error messages that are reported to
the user should be those from its failure to be the last statement of
the specification part or its failure to be the first executable
statement when both failures are at the same character in the cooked
character stream. Fortran makes this problem more exciting by allowing
statement function definitions look a lot like several executable
statements.
The current error recovery scheme for declaration constructs depends on
a look-ahead test to see whether the failed construct is actually the
first executable statement. This works fine when the first executable
statement is not in error, but should also allow for some error cases
that begin with the tokens of an executable statement.
This can obviously still go wrong for declaration constructs that are
unparseable and also have ambiguity in their leading tokens with
executable statements, but that seems to be a less likely case.
Also improves error recovery for parenthesized items.
Commit: 2414a90730d87c20d9ff8d7951ed24e3328124ed
https://github.com/llvm/llvm-project/commit/2414a90730d87c20d9ff8d7951ed24e3328124ed
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M flang/lib/Evaluate/intrinsics.cpp
M flang/test/Semantics/null01.f90
Log Message:
-----------
[flang] Catch NULL(MOLD=assumed-rank) (#95270)
An assumed-rank dummy argument is not an acceptable MOLD argument to
NULL(), whose result must have a known rank at compilation time.
Commit: 4b493e31b2c5d72d993f0e914adb711f3ce4ba05
https://github.com/llvm/llvm-project/commit/4b493e31b2c5d72d993f0e914adb711f3ce4ba05
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/unittests/ProfileData/InstrProfTest.cpp
Log Message:
-----------
[ProfileData] Add getValueArrayForSite (#95335)
Without this patch, a typical traversal over the value data looks
like:
uint32_t NV = Func.getNumValueDataForSite(VK, S);
std::unique_ptr<InstrProfValueData[]> VD = Func.getValueForSite(VK, S);
for (uint32_t V = 0; V < NV; V++)
Do something with VD[V].Value and/or VD[V].Count;
This patch adds getValueArrayForSite, which returns
ArrayRef<InstrProfValueData>, so we can do:
for (const auto &V : Func.getValueArrayForSite(VK, S))
Do something with V.Value and/or V.Count;
I'm planning to migrate the existing uses of getValueForSite to
getValueArrayForSite in follow-up patches and remove getValueForSite
and getNumValueDataForSite.
Commit: f8fc883da951064a310e365680b4b567fad58ebc
https://github.com/llvm/llvm-project/commit/f8fc883da951064a310e365680b4b567fad58ebc
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/Runtime/RTBuilder.h
M flang/include/flang/Runtime/reduce.h
M flang/lib/Optimizer/Builder/Runtime/Reduction.cpp
M flang/runtime/reduce.cpp
M flang/test/Lower/Intrinsics/reduce.f90
M flang/unittests/Runtime/Reduction.cpp
Log Message:
-----------
[flang][runtime] Distinguish VALUE from non-VALUE operations in REDUCE (#95297)
Accommodate operations with VALUE dummy arguments in the runtime support
for the REDUCE intrinsic function by splitting most entry points into
Reduce...Ref and Reduce...Value variants.
Further work will be needed in lowering to call the ...Value entry
points.
Commit: 86bee819120b5ba4b7262c7800a88fbf904d4932
https://github.com/llvm/llvm-project/commit/86bee819120b5ba4b7262c7800a88fbf904d4932
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M flang/include/flang/Parser/provenance.h
M flang/include/flang/Parser/token-sequence.h
M flang/lib/Parser/prescan.cpp
M flang/lib/Parser/prescan.h
M flang/lib/Parser/provenance.cpp
M flang/lib/Parser/token-sequence.cpp
A flang/test/Preprocessing/ff-args.h
A flang/test/Preprocessing/ff-include-args.F
Log Message:
-----------
[flang][preprocessor] Fixed-form continuation across preprocessing di… (#95332)
…rective
Implement fixed-form line continuation when the continuation line is the
result of text produced by an #include or other preprocessing directive.
This accommodates the somewhat common practice of putting dummy or
actual arguments into a header file and #including it into several code
sites.
Fixes https://github.com/llvm/llvm-project/issues/78928.
Commit: 2146fd0d8d0ede4657354594c012e7543534cd87
https://github.com/llvm/llvm-project/commit/2146fd0d8d0ede4657354594c012e7543534cd87
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/include/clang/AST/ASTContext.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/CMakeLists.txt
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Basic/Targets/AArch64.h
M clang/test/CodeGen/aarch64-cpu-supports-target.c
M clang/test/CodeGen/aarch64-sme-intrinsics/aarch64-sme-attrs.cpp
M clang/test/CodeGen/aarch64-targetattr.c
M clang/test/CodeGen/attr-target-version.c
M clang/test/Sema/aarch64-neon-target.c
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/TargetParser/AArch64TargetParser.cpp
Log Message:
-----------
Revert "Reland "[AArch64] Decouple feature dependency expansion. (#94279)" (#95231)"
This reverts commit 70510733af33c70ff7877eaf30d7718b9358a725.
The following code is now incorrectly rejected.
```
% cat neon.c
#include <arm_neon.h>
__attribute__((target("arch=armv8-a")))
uint64x2_t foo(uint64x2_t a, uint64x2_t b) {
return veorq_u64(a, b);
}
% newclang --target=aarch64-linux-gnu -c neon.c
neon.c:5:10: error: always_inline function 'veorq_u64' requires target feature 'outline-atomics', but would be inlined into function 'foo' that is compiled without support for 'outline-atomics'
5 | return veorq_u64(a, b);
| ^
1 error generated.
```
"+outline-atomics" seems misleading here.
Commit: cd94fa7e7595cbd0c22e898170d8ee9648b47285
https://github.com/llvm/llvm-project/commit/cd94fa7e7595cbd0c22e898170d8ee9648b47285
Author: Andrew Browne <browneee at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M compiler-rt/lib/dfsan/dfsan_custom.cpp
M compiler-rt/test/dfsan/sscanf.c
Log Message:
-----------
[DFSan] Fix sscanf checking that ordinary characters match. (#95333)
Fixes: #94769
Commit: d4a0154902fb9b0611ed857134b26a64a1d5ad1e
https://github.com/llvm/llvm-project/commit/d4a0154902fb9b0611ed857134b26a64a1d5ad1e
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang-tools-extra/clangd/TidyProvider.cpp
M clang/include/clang/Frontend/FrontendOptions.h
M clang/include/clang/InstallAPI/DylibVerifier.h
M clang/lib/InstallAPI/Visitor.cpp
M clang/lib/Serialization/ASTWriterStmt.cpp
M compiler-rt/test/dfsan/custom.cpp
M compiler-rt/test/orc/TestCases/Linux/ppc64/trivial-tls-pwr10.test
M flang/examples/FlangOmpReport/yaml_summarizer.py
M flang/lib/Semantics/check-omp-structure.cpp
M flang/test/Driver/mllvm_vs_mmlir.f90
M libc/src/__support/FPUtil/x86_64/FEnvImpl.h
M libc/src/stdio/printf_core/float_hex_converter.h
M libc/test/src/__support/str_to_float_comparison_test.cpp
M lld/test/wasm/data-segments.ll
M lldb/include/lldb/Expression/DWARFExpressionList.h
M lldb/include/lldb/Target/MemoryTagManager.h
M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp
M lldb/test/API/CMakeLists.txt
M lldb/test/API/tools/lldb-server/memory-tagging/TestGdbRemoteMemoryTagging.py
M lldb/test/Shell/SymbolFile/DWARF/x86/DW_AT_data_bit_offset-DW_OP_stack_value.s
M llvm/include/llvm/CodeGen/LiveRegUnits.h
M llvm/include/llvm/CodeGen/MIRFormatter.h
M llvm/include/llvm/MC/MCAsmInfo.h
M llvm/include/llvm/Support/raw_socket_stream.h
M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/FileCheck/FileCheck.cpp
M llvm/lib/IR/DebugInfo.cpp
M llvm/lib/MC/MCPseudoProbe.cpp
M llvm/lib/Support/VirtualFileSystem.cpp
M llvm/lib/Support/raw_socket_stream.cpp
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVMachineFunctionInfo.h
M llvm/lib/TargetParser/RISCVISAInfo.cpp
M llvm/lib/TextAPI/Utils.cpp
M llvm/lib/Transforms/IPO/Attributor.cpp
M llvm/lib/Transforms/IPO/SampleProfileProbe.cpp
M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
M llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
M llvm/test/CodeGen/X86/AMX/amx-greedy-ra.ll
M llvm/test/CodeGen/X86/apx/shift-eflags.ll
M llvm/test/CodeGen/X86/merge-consecutive-stores-nt.ll
M llvm/test/CodeGen/X86/shift-eflags.ll
M llvm/test/Transforms/InstSimplify/constant-fold-fp-denormal.ll
M llvm/test/Transforms/LoopVectorize/LoongArch/defaults.ll
M llvm/test/Transforms/LoopVectorize/RISCV/defaults.ll
M llvm/test/Transforms/SeparateConstOffsetFromGEP/split-gep-or-as-add.ll
M llvm/test/Verifier/alloc-size-failedparse.ll
M llvm/test/tools/llvm-ar/windows-path.test
M llvm/test/tools/llvm-objcopy/ELF/mirror-permissions-win.test
M llvm/tools/llvm-cov/CodeCoverage.cpp
M llvm/tools/llvm-profgen/PerfReader.cpp
M llvm/unittests/Support/Path.cpp
M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
M mlir/include/mlir/Analysis/Presburger/PresburgerSpace.h
M mlir/include/mlir/Dialect/OpenMP/OpenMPInterfaces.h
M mlir/lib/Analysis/Presburger/PresburgerSpace.cpp
M mlir/lib/Conversion/GPUCommon/GPUOpsLowering.h
M mlir/lib/Dialect/LLVMIR/IR/BasicPtxBuilderInterface.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_reduce_custom_prod.mlir
M mlir/test/Target/LLVMIR/omptarget-constant-alloca-raise.mlir
M openmp/tools/Modules/FindOpenMPTarget.cmake
Log Message:
-----------
[llvm-project] Fix typo "seperate" (#95373)
Commit: c7b5be86f00beac6d806318888c4198986b2c84c
https://github.com/llvm/llvm-project/commit/c7b5be86f00beac6d806318888c4198986b2c84c
Author: MaheshRavishankar <1663364+MaheshRavishankar at users.noreply.github.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M mlir/include/mlir/Interfaces/TilingInterface.td
Log Message:
-----------
[mlir][TilingInterface] Update documentation for `TilingInterface.td`. (#95178)
Commit: 52d29eb2874580f0fe96e5cbb96faffbbdc432a7
https://github.com/llvm/llvm-project/commit/52d29eb2874580f0fe96e5cbb96faffbbdc432a7
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/X86/induction-costs.ll
Log Message:
-----------
[LV] Add extra cost model tests with truncated inductions.
Extra test cases that caused revert of
https://github.com/llvm/llvm-project/pull/92555
Commit: ba7d5ebe4bb2dc9b6885adf8346529e763cd6fce
https://github.com/llvm/llvm-project/commit/ba7d5ebe4bb2dc9b6885adf8346529e763cd6fce
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/stdfix/ISqrtTest.h
M libc/test/src/stdfix/SqrtTest.h
Log Message:
-----------
[libc] Fix build breaks caused by f16sqrtf changes (#95459)
See Buildbot failures:
- https://lab.llvm.org/buildbot/#/builders/78/builds/13
- https://lab.llvm.org/buildbot/#/builders/182/builds/7
Commit: 41587739a63f7622c36715421d215f07d79f9a7d
https://github.com/llvm/llvm-project/commit/41587739a63f7622c36715421d215f07d79f9a7d
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/unittests/ProfileData/InstrProfTest.cpp
Log Message:
-----------
[ProfileData] Migrate to getValueArrayForSite (#95457)
This patch is a collection of one-liner migrations to
getValueArrayForSite.
Commit: 93181db7fb6cd738bc807e510f87e3a61fb5b3e6
https://github.com/llvm/llvm-project/commit/93181db7fb6cd738bc807e510f87e3a61fb5b3e6
Author: Jacques Pienaar <jpienaar at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][bzl] Add missing dep
The file was added to MLIRBindingsPythonCoreNoCAPI but objects weren't.
Signed-off-by: Jacques Pienaar <jpienaar at google.com>
Commit: 1365ce22e9a419c992cb81824f5176390de83ee6
https://github.com/llvm/llvm-project/commit/1365ce22e9a419c992cb81824f5176390de83ee6
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/tools/llvm-profdata/llvm-profdata.cpp
Log Message:
-----------
[llvm-profdata] Clean up traverseAllValueSites (NFC) (#95467)
If NV == 0, nothing interesting happens after the "if" statement. We
should just "continue" to the next value site.
While I am at it, this patch migrates a use of getValueForSite to
getValueArrayForSite.
Commit: b6688a0b17361e1f4164f52e8d3b17defd7d432d
https://github.com/llvm/llvm-project/commit/b6688a0b17361e1f4164f52e8d3b17defd7d432d
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/MC/MCSection.cpp
Log Message:
-----------
[MC] flushPendingLabels: revert setAtom change
The setAtom call introduced by e17bc023f4e5b79f08bfc7f624f8ff0f0cf17ce4
was due to my misunderstanding of flushPendingLabels
(see https://discourse.llvm.org/t/mc-removing-aligned-bundling-support/79518).
When evaluating `.quad x-y`,
MCExpr.cpp:AttemptToFoldSymbolOffsetDifference gives different results
at parse time and layout time because the `if (FA->getAtom() ==
FB.getAtom())` condition in isSymbolRefDifferenceFullyResolvedImpl only
works when `setAtom` with a non-null pointer has been called. Calling
setAtom in flushPendingLabels does not help anything.
Commit: 597cde155a008364c83870b24306fbae93e80cf8
https://github.com/llvm/llvm-project/commit/597cde155a008364c83870b24306fbae93e80cf8
Author: Angel Zhang <anzhouzhang913 at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp
M mlir/test/Conversion/VectorToSPIRV/vector-to-spirv.mlir
Log Message:
-----------
[mlir][spirv] Implement SPIR-V lowering for `vector.deinterleave` (#95313)
1. Added a conversion for `vector.deinterleave` to the `VectorToSPIRV`
pass.
2. Added LIT tests for the new conversion.
---------
Co-authored-by: Jakub Kuderski <kubakuderski at gmail.com>
Commit: 27588fe2057a3e6b69c1d6e4885a7a539b3123ff
https://github.com/llvm/llvm-project/commit/27588fe2057a3e6b69c1d6e4885a7a539b3123ff
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCFragment.h
M llvm/include/llvm/MC/MCSectionMachO.h
M llvm/lib/MC/MCFragment.cpp
M llvm/lib/MC/MCMachOStreamer.cpp
M llvm/lib/MC/MCSectionMachO.cpp
Log Message:
-----------
[MC] Move MCFragment::Atom to MCSectionMachO::Atoms
Mach-O's `.subsections_via_symbols` mechanism associates a fragment with
an atom (a non-temporary defined symbol). The current approach
(`MCFragment::Atom`) wastes space for other object file formats.
After #95077, `MCFragment::LayoutOrder` is only used by
`AttemptToFoldSymbolOffsetDifference`. While it could be removed, we
might explore future uses for `LayoutOrder`.
@aengelke suggests one use case: move `Atom` into MCSection. This works
because Mach-O doesn't support `.subsection`, and `LayoutOrder`, as the
index into the fragment list, is unchanged.
This patch moves MCFragment::Atom to MCSectionMachO::Atoms. `getAtom`
may be called at parse time before `Atoms` is initialized, so a bound
checking is needed to keep the hack working.
Pull Request: https://github.com/llvm/llvm-project/pull/95341
Commit: 00ed887454f7d7522f3eac8549661e51f864a9a7
https://github.com/llvm/llvm-project/commit/00ed887454f7d7522f3eac8549661e51f864a9a7
Author: Aleksandr Korepanov <korepanov.sasha at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
Log Message:
-----------
[LLDB][Windows] Fix watchpoints for Windows (#95446)
Hello!
Currently, watchpoints don't work on Windows (this can be reproduced
with the existing tests). This patch fixes the related issues so that
the tests and watchpoints start working.
Here is the list of tests that are fixed by this patch (on Windows,
checked in **release/18.x** branch):
- commands/watchpoints/hello_watchpoint/TestMyFirstWatchpoint.py
- commands/watchpoints/multiple_hits/TestMultipleHits.py
- commands/watchpoints/multiple_threads/TestWatchpointMultipleThreads.py
- commands/watchpoints/step_over_watchpoint/TestStepOverWatchpoint.py
- commands/watchpoints/unaligned-watchpoint/TestUnalignedWatchpoint.py
- commands/watchpoints/watchpoint_commands/TestWatchpointCommands.py
-
commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandLLDB.py
-
commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandPython.py
-
commands/watchpoints/watchpoint_commands/condition/TestWatchpointConditionCmd.py
- commands/watchpoints/watchpoint_count/TestWatchpointCount.py
- commands/watchpoints/watchpoint_disable/TestWatchpointDisable.py
- commands/watchpoints/watchpoint_size/TestWatchpointSizes.py
- python_api/watchpoint/TestSetWatchpoint.py
- python_api/watchpoint/TestWatchpointIgnoreCount.py
- python_api/watchpoint/TestWatchpointIter.py
- python_api/watchpoint/condition/TestWatchpointConditionAPI.py
- python_api/watchpoint/watchlocation/TestTargetWatchAddress.py
---------
Co-authored-by: Jason Molenda <jmolenda at apple.com>
Commit: 8fa7cf000aa17ca14f576dc3f5669ba7b84a05d1
https://github.com/llvm/llvm-project/commit/8fa7cf000aa17ca14f576dc3f5669ba7b84a05d1
Author: Florian Mayer <fmayer at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M compiler-rt/test/hwasan/TestCases/hwasan_symbolize_stack_uas.cpp
Log Message:
-----------
[HWASan] disable hwasan_symbolize_stack_uas on x86
Commit: 3106a23155b905ea86100798d277278f5be47ebd
https://github.com/llvm/llvm-project/commit/3106a23155b905ea86100798d277278f5be47ebd
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M libc/src/stdlib/CMakeLists.txt
M libc/src/stdlib/freelist.h
Log Message:
-----------
[libc][stdlib] Fix UB in freelist (#95330)
Some of the freelist code uses type punning which is UB in C++, namely
because we read from a union member that is not the active union member.
Commit: 1ebda1173186c4c0ab776d1f140f903a49ace2a3
https://github.com/llvm/llvm-project/commit/1ebda1173186c4c0ab776d1f140f903a49ace2a3
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M bolt/lib/Rewrite/LinuxKernelRewriter.cpp
Log Message:
-----------
[BOLT] Fix duplicate diagnostic message (#95167)
Print .altinstructions parsing stats only once.
Commit: 01a429c432620cad6deac99d48cf6ef96c7f86e8
https://github.com/llvm/llvm-project/commit/01a429c432620cad6deac99d48cf6ef96c7f86e8
Author: Arda Unal <ardau at d-matrix.ai>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Mesh/Transforms/Spmdization.cpp
M mlir/test/Dialect/Linalg/mesh-spmdization.mlir
M mlir/test/Dialect/Mesh/resharding-spmdization.mlir
Log Message:
-----------
[mlir][mesh] Fix wrong argument passed to targetShardingInUnsplitLastAxis (#95059)
In unsplitLastAxisInResharding, wrong argument was passed when calling
targetShardingInUnsplitLastAxis.There weren't any tests to uncover this.
I added one in mesh-spmdization.mlir for Linalg and one in
resharding-spmdization.mlir for Mesh dialects.
Commit: c54f5f67b80a41abfb1848aba480fee43b5d8245
https://github.com/llvm/llvm-project/commit/c54f5f67b80a41abfb1848aba480fee43b5d8245
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M flang/runtime/complex-reduction.c
M flang/runtime/complex-reduction.h
Log Message:
-----------
[flang] Address missed cases for REDUCE change, fixes shared lib build (#95481)
My recent change that distinguishes pass-by-reference from pass-by-value
reduction operation functions missed the "CppReduceComplex" cases, and
also broke the shared library build-bots. Fix.
Commit: 22ea97d7bfd65abf68a68b13bf96ad69be23df54
https://github.com/llvm/llvm-project/commit/22ea97d7bfd65abf68a68b13bf96ad69be23df54
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M lldb/packages/Python/lldbsuite/test/decorators.py
M lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
M lldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py
M lldb/test/Shell/helper/build.py
Log Message:
-----------
[lldb] Use packaging module instead of pkg_resources (#93712)
Use the packaging [1] module for parsing version numbers, instead of
pkg_resources which is distributed with setuptools. I recently switched
over to using the latter, knowing it was deprecated (in favor of the
packaging module) because it comes with Python out of the box. Newer
versions of setuptools have removed `pkg_resources` so we have to use
packaging.
[1] https://pypi.org/project/packaging/
Commit: 602634d70cba2c51f6177740c4a98a377d10ab6a
https://github.com/llvm/llvm-project/commit/602634d70cba2c51f6177740c4a98a377d10ab6a
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/CGProfile.cpp
Log Message:
-----------
[Transforms] Migrate to a new version of getValueProfDataFromInst (#95477)
Note that the version of getValueProfDataFromInst that returns bool
has been "deprecated" since:
commit 1e15371dd8843dfc52b9435afaa133997c1773d8
Author: Mingming Liu <mingmingl at google.com>
Date: Mon Apr 1 15:14:49 2024 -0700
Commit: 0ca05e8221d20c7bb06f59dd4eb3d486228b962a
https://github.com/llvm/llvm-project/commit/0ca05e8221d20c7bb06f59dd4eb3d486228b962a
Author: Thurston Dang <thurston at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M compiler-rt/lib/hwasan/hwasan_flags.inc
M compiler-rt/lib/hwasan/hwasan_linux.cpp
A compiler-rt/test/hwasan/TestCases/Linux/fixed-shadow.c
Log Message:
-----------
Reland '[hwasan] Add fixed_shadow_base flag (#73980)' (#95445)
This was reverted in https://github.com/llvm/llvm-project/pull/95435
because it broke Android static hwasan binaries. This reland limits the
change to !SANITIZER_ANDROID.
Original commit message:
When set to non-zero, the HWASan runtime will map the shadow base at the
specified constant address.
This is particularly useful in conjunction with the existing compiler
option 'hwasan-mapping-offset', which bakes a hardcoded constant address
into the instrumentation.
---------
Co-authored-by: Vitaly Buka <vitalybuka at gmail.com>
Commit: 41c50f0836439f4d53e7209cd9e9ce54341ed9a3
https://github.com/llvm/llvm-project/commit/41c50f0836439f4d53e7209cd9e9ce54341ed9a3
Author: Florian Mayer <fmayer at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M compiler-rt/test/hwasan/TestCases/hwasan_symbolize_stack_uas.cpp
Log Message:
-----------
[HWASan] comment why hwasan_symbolize_stack_uas is arm64 only
Commit: 785dc76c6667d0ea81c8b877dbff9c1e843918d6
https://github.com/llvm/llvm-project/commit/785dc76c6667d0ea81c8b877dbff9c1e843918d6
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
A llvm/test/CodeGen/X86/issue64826-switferror-eh.ll
M llvm/test/CodeGen/X86/statepoint-invoke.ll
M llvm/test/CodeGen/X86/statepoint-spill-lowering.ll
Log Message:
-----------
[llvm][SelectionDAG] Fix up chains in lowerInvokeable. rdar://113994760 (#94004)
lowerInvokeable wasn't updating the returned chain after emitting the
lowerEndEH, which caused SwiftErrorVal-handling code to re-set the DAG
root, and thus accidentally skip the EH_LABEL node it was supposed to
have addeed. After fixing that, a few places needed to be adjusted that
assume the specific shape of the returned DAG.
Fixes: #64826
Fixes: rdar://113994760
Commit: 4f8c961924c2e15eed54e5207111ceedc1da6568
https://github.com/llvm/llvm-project/commit/4f8c961924c2e15eed54e5207111ceedc1da6568
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/apple.inc
Log Message:
-----------
[compiler-rt][AArch64][FMV] Use the hw.optional.arm.caps fast path (#95275)
MacOS 15.0 and iOS 18.0 added a new sysctl to fetch a bitvector of all
the hw.optional.arm.FEAT_*'s in one go. Using this has a perf advantage
over doing multiple round-trips to the kernel and back, but since it's
not present in older oses, we still need the slow fallback.
Commit: 50ead2ee93bf1b59f35d7afda553a026b87855bb
https://github.com/llvm/llvm-project/commit/50ead2ee93bf1b59f35d7afda553a026b87855bb
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
Log Message:
-----------
[X86][AsmParser] Avoid duplicated code in MatchAndEmit(ATT/Intel)Instruction, NFC
And VEXEncoding_* are renamed to OpcodePrefix_*.
This is in preparation for the coming pseudo rex/rex2 prefixes support.
Commit: cb021f5e46d259876ccf0aa24db48c10369f3d61
https://github.com/llvm/llvm-project/commit/cb021f5e46d259876ccf0aa24db48c10369f3d61
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vpmerge.ll
M llvm/test/CodeGen/RISCV/rvv/vpmerge-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/vselect-fp.ll
Log Message:
-----------
[RISCV] Don't use SEW=16 .vf instructions to move scalar bf16 into a vector.
The instructions are only defined to operator f16 data. If the
scalar FPR register isn't properly nan-boxed, these instructions
will create a fp16 nan not a bf16 nan in the vector register.
Commit: 836ca5bbf7d6366df7c35ec9d1f235b1ebc9744e
https://github.com/llvm/llvm-project/commit/836ca5bbf7d6366df7c35ec9d1f235b1ebc9744e
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/SampleProfile.cpp
Log Message:
-----------
[Transforms] Migrate to a new version of getValueProfDataFromInst (#95485)
Note that the version of getValueProfDataFromInst that returns bool
has been "deprecated" since:
commit 1e15371dd8843dfc52b9435afaa133997c1773d8
Author: Mingming Liu <mingmingl at google.com>
Date: Mon Apr 1 15:14:49 2024 -0700
Commit: 75882ed4c7126b33b1dabb08775af5ee0b2c6e12
https://github.com/llvm/llvm-project/commit/75882ed4c7126b33b1dabb08775af5ee0b2c6e12
Author: William Junda Huang <williamjhuang at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/MachineBlockPlacement.cpp
Log Message:
-----------
[Codegen] (NFC) Faster algorithm for MachineBlockPlacement (#91843)
In MachineBlockPlacement, the function getFirstUnplacedBlock is
inefficient because in most cases (for usual loop CFG), this function
fails to find a candidate, and its complexity becomes O(#(loops in
function) * #(blocks in function)). This makes the compilation of very
long functions slow. This update reduces it to O(k * #(blocks in
function)) where k is the maximum loop nesting depth, by iterating
through the BlockFilter instead.
Commit: eb1248f20a86eb1bc8a7cc61d4ce71293a6caa75
https://github.com/llvm/llvm-project/commit/eb1248f20a86eb1bc8a7cc61d4ce71293a6caa75
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
M llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
A llvm/test/MC/X86/apx/pseudo-rex2.s
A llvm/test/MC/X86/pseudo-rex.s
M llvm/test/MC/X86/x86_errors.s
Log Message:
-----------
[X86][MC] Add missing support for pseudo rex/rex2 prefix in assembler
This fixes https://github.com/llvm/llvm-project/issues/95417
Commit: 57458513a94812860f1c40faddcfc3c8f71223a4
https://github.com/llvm/llvm-project/commit/57458513a94812860f1c40faddcfc3c8f71223a4
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/vselect-bf16.ll
Log Message:
-----------
[RISCV] Remove unused check prefixes. NFC
Commit: a7a1195f01037e5019f671c96ef4bca9af9bb9a7
https://github.com/llvm/llvm-project/commit/a7a1195f01037e5019f671c96ef4bca9af9bb9a7
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-select-fp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vpmerge-bf16.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vpmerge.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vselect-vp.ll
M llvm/test/CodeGen/RISCV/rvv/select-fp.ll
M llvm/test/CodeGen/RISCV/rvv/vpmerge-sdnode-bf16.ll
M llvm/test/CodeGen/RISCV/rvv/vpmerge-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/vselect-bf16.ll
M llvm/test/CodeGen/RISCV/rvv/vselect-fp.ll
M llvm/test/CodeGen/RISCV/rvv/vselect-vp.ll
Log Message:
-----------
[RISCV] Remove duplicate bf16 testing. NFC
The bf16 test cases were copied to other files without the Zvfh/Zfvhmin
options. Remove the duplication by adding a few Zvfh command lines to
the bf16 files and deleting the bf16 tests from the test files for f16/f32/f64.
Commit: 43bd7ae65af40ff3378d5a0395a058ba834ad8dd
https://github.com/llvm/llvm-project/commit/43bd7ae65af40ff3378d5a0395a058ba834ad8dd
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
Log Message:
-----------
StreamChecker.cpp: Use isa<> (for #93408) [-Wunused-but-set-variable]
Commit: 2efe3d7fc0e7f9594d91e73bef11d33e0796aa65
https://github.com/llvm/llvm-project/commit/2efe3d7fc0e7f9594d91e73bef11d33e0796aa65
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M libc/cmake/modules/LLVMLibCTestRules.cmake
M libc/config/linux/aarch64/entrypoints.txt
M libc/src/__support/threads/linux/CMakeLists.txt
M libc/test/IntegrationTest/CMakeLists.txt
M libc/test/IntegrationTest/test.cpp
M libc/test/UnitTest/CMakeLists.txt
M libc/test/UnitTest/HermeticTestUtils.cpp
Log Message:
-----------
Reland "[libc] fix aarch64 linux full build (#95358)" (#95423)
Reverts llvm/llvm-project#95419 and Reland #95358.
This PR is full of temporal fixes. After a discussion with @lntue, it is
better to avoid further changes to the cmake infrastructure for now as a
rework to the cmake utilities will be landed in the future.
Commit: 85e8d6275839df5b7a939c0c34c69ed39702ef7f
https://github.com/llvm/llvm-project/commit/85e8d6275839df5b7a939c0c34c69ed39702ef7f
Author: Aviad Cohen <aviadcohen7 at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Arith/Utils/Utils.h
M mlir/include/mlir/Dialect/SCF/Utils/Utils.h
M mlir/lib/Dialect/Arith/Utils/Utils.cpp
M mlir/lib/Dialect/SCF/Utils/Utils.cpp
M mlir/test/Dialect/Affine/loop-coalescing.mlir
M mlir/test/Dialect/SCF/transform-ops.mlir
Log Message:
-----------
[mlir][scf]: Expose emitNormalizedLoopBounds/denormalizeInductionVariable util functions (#94429)
Also adjusted `LoopParams` to use OpFoldResult instead of Value.
Commit: 7ffeaf0e187b41994f63ae82e73e123b942cd16b
https://github.com/llvm/llvm-project/commit/7ffeaf0e187b41994f63ae82e73e123b942cd16b
Author: harishch4 <harishcse44 at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/test/Lower/OpenMP/simd.f90
A flang/test/Lower/OpenMP/simd_aarch64.f90
A flang/test/Lower/OpenMP/simd_x86_64.f90
Log Message:
-----------
[MLIR][Flang][OpenMP] Implement lowering simd aligned to MLIR (#95198)
Rebased @DominikAdamski patch: https://reviews.llvm.org/D142722
---------
Co-authored-by: Dominik Adamski <dominik.adamski at amd.com>
Co-authored-by: Tom Eccles <t at freedommail.info>
Commit: d66084b9b8c924adacac4e5d32de02492c4478a6
https://github.com/llvm/llvm-project/commit/d66084b9b8c924adacac4e5d32de02492c4478a6
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/vfmv.v.f.ll
Log Message:
-----------
[RISCV] Remove unnecessary bf16 -mattr from vfmv.v.f.ll. NFC
Commit: bd6568c98a50a180eabc41e9df5b896b7518c587
https://github.com/llvm/llvm-project/commit/bd6568c98a50a180eabc41e9df5b896b7518c587
Author: Pradeep Kumar <pradeepisro49 at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/GPU/IR/GPUOps.td
M mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
M mlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
M mlir/lib/Dialect/GPU/IR/InferIntRangeInterfaceImpls.cpp
M mlir/test/Integration/GPU/CUDA/sm90/cga_cluster.mlir
Log Message:
-----------
[MLIR][GPU] Add gpu.cluster_dim_blocks and gpu.cluster_block_id Ops (#95245)
This commit adds support for `gpu.cluster_dim_blocks` and
`gpu.cluster_block_id` Ops to represent number of blocks per cluster and
block id inside a cluster respectively. Also, fixed the description of
`gpu.cluster_dim` Op and updated the `cga_cluster.mlir` test file to use
`gpu.cluster_dim_blocks`
Co-authored-by: pradeepku <pradeepku at nvidia.com>
Co-authored-by: Guray Ozen <guray.ozen at gmail.com>
Commit: b95446286bddc521fa92012fdb60fe0d24c63346
https://github.com/llvm/llvm-project/commit/b95446286bddc521fa92012fdb60fe0d24c63346
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
Log Message:
-----------
[RISCV] Remove partially duplicate riscv_vfmv_v_f_vl patterns.
We had specific patterns for riscv_vfmv_v_f_vl in both RISCVInstrInfoVVLPatterns.td
and RISCVInstrInfoVSDPatterns.td.
The RISCVInstrInfoVSDPatterns.td patterns could only match if the
RISCVInstrInfoVVLPatterns.td failed. As far as I can tell this
would only happen if the predicate didn't match. Tweak the predicate
so the RISCVInstrInfoVVLPatterns.td can match in more cases.
Commit: f83d5d293dced17de175ad69de6b81503716d3ce
https://github.com/llvm/llvm-project/commit/f83d5d293dced17de175ad69de6b81503716d3ce
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
Log Message:
-----------
[RISCV] Remove vfmerge.vf patterns with bf16 types.
These patterns are no longer used because we don't generate bf16
to vector splats except for constants that can be handled with
vmerge.vi.
Commit: 53dbc1f9f142c635e34b7fed3018f1954d0b573a
https://github.com/llvm/llvm-project/commit/53dbc1f9f142c635e34b7fed3018f1954d0b573a
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
M llvm/test/CodeGen/RISCV/rvv/vselect-fp.ll
Log Message:
-----------
[RISCV] Add vselect pattern with SelectFPImm.
Commit: 2e7b95e4c080426e5085c38cec01176b56798534
https://github.com/llvm/llvm-project/commit/2e7b95e4c080426e5085c38cec01176b56798534
Author: Ziqing Luo <ziqing at udel.edu>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/include/clang/Basic/SourceManager.h
M clang/include/clang/Lex/Preprocessor.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/lib/Basic/SourceManager.cpp
M clang/lib/Lex/Preprocessor.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
A clang/test/Modules/safe_buffers_optout.cpp
A clang/test/PCH/unsafe-buffer-usage-pragma-pch-complex.cpp
A clang/test/PCH/unsafe-buffer-usage-pragma-pch-cross-files-2.cpp
A clang/test/PCH/unsafe-buffer-usage-pragma-pch-cross-files.cpp
A clang/test/SemaCXX/warn-unsafe-buffer-usage-pragma-pch.cpp
Log Message:
-----------
[Safe Buffers] Serialize unsafe_buffer_usage pragmas (#92031)
The commit adds serialization and de-serialization implementations for
the stored regions. Basically, the serialized representation of the
regions of a PP is a (ordered) sequence of source location encodings.
For de-serialization, regions from loaded files are stored by their ASTs.
When later one queries if a loaded location L is in an opt-out
region, PP looks up the regions of the loaded AST where L is at.
(Background if helps: a pair of `#pragma clang unsafe_buffer_usage begin/end` pragmas marks a
warning-opt-out region. The begin and end locations (opt-out regions)
are stored in preprocessor instances (PP) and will be queried by the
`-Wunsafe-buffer-usage` analyzer.)
The reported issue at upstream: https://github.com/llvm/llvm-project/issues/90501
rdar://124035402
Commit: ebdea52930678a2f2e7fb94415121654100b8be6
https://github.com/llvm/llvm-project/commit/ebdea52930678a2f2e7fb94415121654100b8be6
Author: Petr Hosek <phosek at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M libc/src/stdio/CMakeLists.txt
M libc/src/stdio/baremetal/CMakeLists.txt
A libc/src/stdio/baremetal/vprintf.cpp
Log Message:
-----------
[libc] Provide vprintf for baremetal (#95363)
This is similar to baremetal printf that was implemented in #94078.
Commit: b1de42a81d838bb0c6dea7d2436820a2456c730b
https://github.com/llvm/llvm-project/commit/b1de42a81d838bb0c6dea7d2436820a2456c730b
Author: Petr Hosek <phosek at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/riscv/entrypoints.txt
Log Message:
-----------
[libc] printf, putchar and vprintf in bareemetal entrypoints (#95436)
We now have baremetal implementations of these entrypoints.
Commit: f2d215f572affc9ad73da07763ce1831de7f2d4d
https://github.com/llvm/llvm-project/commit/f2d215f572affc9ad73da07763ce1831de7f2d4d
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
Log Message:
-----------
[lldb][TypeSystemClang][NFCI] Factor completion logic for individual types out of GetCompleteQualType (#95402)
This patch factors out the completion logic for individual clang::Type's
into their own helper functions.
During the process I cleaned up a few assumptions (e.g., unnecessary
if-guards that could be asserts because these conditions are guaranteed
by the `clang::Type::TypeClass` switch in `GetCompleteQualType`).
This is mainly motivated by the type-completion rework proposed in
https://github.com/llvm/llvm-project/pull/95100.
Commit: d890dda16bf65bc36b783194afbe2ebc3e709afb
https://github.com/llvm/llvm-project/commit/d890dda16bf65bc36b783194afbe2ebc3e709afb
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
M llvm/lib/Target/AMDGPU/GCNSchedStrategy.h
Log Message:
-----------
[NFCI][AMDGPU] Try to use PressureDiff to Calculate RegPressure. (#94221)
PressureDiff is reliable most of the time, and it's pretty much free
compared to RPTracker. We can use it whenever there is no subregister
definitions, or physregs invovled. No subregs because PDiff doesn't take
into account lane liveness, and no Physreg because it seems to get
PhysReg liveness completely wrong. Sometimes it adds a diff, sometimes
itt doesn't - I didn't look at that one for long so maybe there is
something we can eventually do to make it better.
This allows us to save a ton of calls to RPTracker and LIS too. On a
huge IR module (100+MB), it went from about 20M calls to RPTracker in this
function down to 3.4, with the rest being PressureDiffs.
I also added an expensive check to verify correctness of PressureDiff.
Commit: 4ab37e430d960b975bfdaf95516a39ea3468f7a1
https://github.com/llvm/llvm-project/commit/4ab37e430d960b975bfdaf95516a39ea3468f7a1
Author: Roland McGrath <mcgrathr at google.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/lib/Basic/Targets/OSTargets.h
M clang/test/Preprocessor/init-x86.c
M clang/test/Preprocessor/init.c
Log Message:
-----------
[clang][Fuchsia] Use unsigned int for wint_t on *-fuchsia targets (#95499)
This aligns Fuchsia targets with other similar OS targets such as
Linux. Fuchsia's libc already uses unsigned rather than the
compiler-provided __WINT_TYPE__ macro for its wint_t typedef, so
this just makes the compiler consistent with the OS's actual ABI.
The only known manifestation of the mismatch is -Wformat warnings
for %lc no matching wint_t arguments.
The closest thing I could see to existing tests for each target's
wint_t type setting was the predefine tests that check various
macros including __WINT_TYPE__ on a per-machine and/or per-OS
basis. While the setting is done per-OS in most of the target
implementations rather than actually varying by machine, the only
existing tests for __WINT_TYPE__ are in per-machine checks that
are also wholly or partly tagged as per-OS. x86_64 and riscv64
tests for respective *-linux-gnu targets now check for the same
definitions in the respective *-fuchsia targets. __WINT_TYPE__
is not among the type checked in the aarch64 tests and those lack
a section that's specifically tested for aarch64-linux-gnu; if
such is added then it can similarly be made to check for most or
all of the same value on aarch64-fuchsia as aarch64-linux-gnu.
But since the actual implementation of choosing the type is done
per-OS and not per-machine for the three machines with Fuchsia
target support, the x86 and riscv64 tests are already redundantly
testing that same code and seem sufficient.
Commit: c4a1440c149d3ea03f14fd6858b6be3a2faf9af6
https://github.com/llvm/llvm-project/commit/c4a1440c149d3ea03f14fd6858b6be3a2faf9af6
Author: wanglei <wanglei at loongson.cn>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M lld/ELF/Arch/LoongArch.cpp
M lld/ELF/InputSection.cpp
M lld/ELF/Relocations.cpp
M lld/ELF/Relocations.h
A lld/test/ELF/loongarch-tlsdesc-gd-mixed.s
A lld/test/ELF/loongarch-tlsdesc.s
Log Message:
-----------
[lld][ELF] Add basic TLSDESC support for LoongArch
LoongArch does not yet implement transition from TLSDESC to LE/IE,
so TLSDESC dynamic relocation needs to be generated for each desc,
which is ultimately handled by the dynamic linker.
The test cases reference RISC-V: #79239
Reviewed By: MaskRay, SixWeining
Pull Request: https://github.com/llvm/llvm-project/pull/94451
Commit: db08b0999d1b42391e34ac0c469b92de98e9f550
https://github.com/llvm/llvm-project/commit/db08b0999d1b42391e34ac0c469b92de98e9f550
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
A llvm/test/CodeGen/ARM/machine-outliner-no-candidates-without-stack-fixup.ll
Log Message:
-----------
[ARM][AArch64] Bail out if CandidatesWithoutStackFixups is empty (#95410)
The following code assumes that RepeatedSequenceLocs is non-empty. Bail
out if there are less than 2 candidates left, as no outlining is
possible in that case. The same check is already present in all the
other places where elements from RepeatedSequenceLocs may be dropped.
This fixes the issue reported at:
https://github.com/llvm/llvm-project/pull/93965#issuecomment-2151989716
Commit: c947709df7859bb7285873593adab70349a5ab3e
https://github.com/llvm/llvm-project/commit/c947709df7859bb7285873593adab70349a5ab3e
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Driver/defsym.s
Log Message:
-----------
[Driver] Support -Wa,--defsym similar to -Wa,-defsym
When the integrated assembler is enabled, clangDriver implements a small
set of popular -Wa, options. "-defsym" is implemented
(https://reviews.llvm.org/D26213), but the more common "--defsym" is
not. Support "--defsym".
Close #95386
Commit: 4942e78271e73d45e971196dc5a9769f94b30060
https://github.com/llvm/llvm-project/commit/4942e78271e73d45e971196dc5a9769f94b30060
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/tools/llvm-exegesis/CMakeLists.txt
M llvm/tools/llvm-exegesis/llvm-exegesis.cpp
Log Message:
-----------
[llvm-exegesis] Only link/initialize supported targets (NFC) (#95421)
llvm-exegesis currently links and initializes all targets, even though
most of them are not supported by llvm-exegesis. This is particularly
unfortunate because llvm-exegesis does not support the LLVM dylib, so
llvm-exegesis essentially ends up doing a complete relink of all of
LLVM, which is not fun if you use LTO.
Instead, only link and initialize the targets that are part of
LLVM_EXEGESIS_TARGETS.
Commit: d712ae4a21822a51817941e7007e0dd41343cde3
https://github.com/llvm/llvm-project/commit/d712ae4a21822a51817941e7007e0dd41343cde3
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Driver/defsym.s
A clang/test/Misc/cc1as-defsym.s
Log Message:
-----------
[Driver] Support -Wa,--defsym similar to -Wa,-defsym
Missing part in c947709df7859bb7285873593adab70349a5ab3e
Commit: 706e1975400b3f30bd406b694bb711a7c7dbe1c4
https://github.com/llvm/llvm-project/commit/706e1975400b3f30bd406b694bb711a7c7dbe1c4
Author: David Green <david.green at arm.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/InitUndef.cpp
M llvm/lib/CodeGen/MachineRegisterInfo.cpp
M llvm/lib/Target/ARM/ARMSubtarget.cpp
M llvm/lib/Target/Hexagon/HexagonSubtarget.cpp
M llvm/lib/Target/PowerPC/PPCSubtarget.cpp
M llvm/lib/Target/RISCV/RISCVSubtarget.cpp
M llvm/test/CodeGen/ARM/regcoal-invalid-subrange-update.mir
M llvm/test/CodeGen/Hexagon/bit-gen-rseq.ll
M llvm/test/CodeGen/Hexagon/regalloc-bad-undef.mir
M llvm/test/CodeGen/Hexagon/verify-liveness-at-def.mir
M llvm/test/CodeGen/PowerPC/atomics-i128-ldst.ll
M llvm/test/CodeGen/PowerPC/atomics-i128.ll
M llvm/test/CodeGen/PowerPC/mma-outer-product.ll
M llvm/test/CodeGen/PowerPC/ppc64-acc-regalloc.ll
M llvm/test/CodeGen/PowerPC/subreg-killed.mir
M llvm/test/CodeGen/RISCV/early-clobber-tied-def-subreg-liveness.ll
M llvm/test/CodeGen/RISCV/regalloc-last-chance-recoloring-failure.ll
M llvm/test/CodeGen/RISCV/rvv/subregister-undef-early-clobber.mir
M llvm/test/CodeGen/RISCV/rvv/undef-earlyclobber-chain.ll
M llvm/test/CodeGen/RISCV/rvv/undef-earlyclobber-chain.mir
M llvm/test/CodeGen/RISCV/rvv/vrgatherei16-subreg-liveness.ll
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/spillingmove.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/subreg-liveness.mir
Log Message:
-----------
[CodeGen] Remove target SubRegLiveness flags (#95437)
This removes the uses of target flags to disable subreg liveness,
relying on the `-enable-subreg-liveness` flag instead. The
`-enable-subreg-liveness` flag has been changed to take precedence over
the subtarget if set, and one use of `Subtarget->enableSubRegLiveness()`
has been changed to `MRI->subRegLivenessEnabled()` to make sure the
option properly applies.
Commit: ae71609e91ec9f38df7e92ba3c50a1f9cebb772e
https://github.com/llvm/llvm-project/commit/ae71609e91ec9f38df7e92ba3c50a1f9cebb772e
Author: Andreas Jonson <andjo403 at hotmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/test/CodeGen/AArch64/lower-range-metadata-func-call.ll
M llvm/test/CodeGen/X86/legalize-vec-assertzext.ll
Log Message:
-----------
[SDAG] Lower range attribute to AssertZext (#95450)
Add support for range attributes on calls, in addition to range metadata.
Commit: ebb5385c6ed7d6610f36b92090209c114568d796
https://github.com/llvm/llvm-project/commit/ebb5385c6ed7d6610f36b92090209c114568d796
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/unittests/Support/MathExtrasTest.cpp
Log Message:
-----------
MathExtras/test: increase coverage (#95425)
Increase test coverage, and cover possible overflow cases in preparation
for another patch optimizing for bitwidth.
Commit: da249cad8d398939e0c608d38d0c038954941316
https://github.com/llvm/llvm-project/commit/da249cad8d398939e0c608d38d0c038954941316
Author: Hans <hans at hanshq.net>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/docs/UsersManual.rst
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/MSVC.cpp
M clang/test/Driver/cl-options.c
Log Message:
-----------
[clang-cl] Map /Ot to -O3 instead of -O2 (#95406)
/Ot (which is also implied by /O2) is supposed to optimize for maximum
speed, so -O3 seems like a better match.
Commit: dfde0773fdee9301e5f2181e1dbcbb0dc3602e08
https://github.com/llvm/llvm-project/commit/dfde0773fdee9301e5f2181e1dbcbb0dc3602e08
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/test/Transforms/SimplifyCFG/X86/sink-common-code.ll
Log Message:
-----------
[SimplifyCFG] More accurate use legality check for sinking (#94462)
When sinking instructions, we have to make sure that the uses of that
instruction are consistent: If used in a phi node in the sink target,
then the phi operands have to match the sink candidates. This allows the
phi to be removed when the instruction is sunk. This case is already
handled accurately.
However, what the current code doesn't handle are uses in the same
block. These are just unconditionally accepted, even though this needs
the same consistency check for the phi node that sinking the using
instruction would introduce.
Instead, the code has another check when actually performing the
sinking, which repeats the phi check (just at a later time, where all
the later instructions have already been sunk and any new phis
introduced).
This is problematic, because it messes up the profitability heuristic.
The code will think that certain instructions will get sunk, but they
actually won't. This may result in more phi nodes being created than is
considered profitable. See the changed test for a case where we no
longer do this after this patch.
The new approach makes sure that the uses are consistent during the
initial legality check. This is based on PhiOperands, which we already
collect.
The primary motivation for this is to generalize sinking to support more
than one use, and doing that generalization is hard with the current
split checking approach.
Commit: e83adfe59632d2e2f8ff26db33087ba7fb754485
https://github.com/llvm/llvm-project/commit/e83adfe59632d2e2f8ff26db33087ba7fb754485
Author: Chris B <chris.bieneman at me.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/Analysis/SPIRVConvergenceRegionAnalysis.cpp
M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
Log Message:
-----------
[SPIRV] Silence unused variable warnings (#95492)
This change marks a few variable declarations as [[maybe_unused]] to
silence unused variable warnings.
Commit: 880d37038c7bbff53ef02c9d6b01cbbc87875243
https://github.com/llvm/llvm-project/commit/880d37038c7bbff53ef02c9d6b01cbbc87875243
Author: Durgadoss R <durgadossr at nvidia.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/lib/AST/MicrosoftMangle.cpp
M llvm/include/llvm/ADT/APFloat.h
M llvm/lib/Support/APFloat.cpp
M llvm/unittests/ADT/APFloatTest.cpp
Log Message:
-----------
[APFloat] Add APFloat support for FP4 data type (#95392)
This patch adds APFloat type support for the E2M1
FP4 datatype. The definitions for this format are
detailed in section 5.3.3 of the OCP specification,
which can be accessed here:
https://www.opencompute.org/documents/ocp-microscaling-formats-mx-v1-0-spec-final-pdf
Signed-off-by: Durgadoss R <durgadossr at nvidia.com>
Commit: b422fa6b62160f5eeb038d816d05e039182dde56
https://github.com/llvm/llvm-project/commit/b422fa6b62160f5eeb038d816d05e039182dde56
Author: Hans Wennborg <hans at chromium.org>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/docs/SourceBasedCodeCoverage.rst
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/CodeGen/CodeGenPGO.cpp
M clang/lib/CodeGen/CoverageMappingGen.cpp
M clang/lib/CodeGen/MCDCState.h
M clang/test/CoverageMapping/branch-constfolded.cpp
M clang/test/CoverageMapping/logical.cpp
M clang/test/CoverageMapping/mcdc-class.cpp
M clang/test/CoverageMapping/mcdc-error-conditions.cpp
M clang/test/CoverageMapping/mcdc-logical-scalar-ids.cpp
M clang/test/CoverageMapping/mcdc-logical-stmt-ids-all.cpp
M clang/test/CoverageMapping/mcdc-logical-stmt-ids.cpp
M clang/test/CoverageMapping/mcdc-scratch-space.c
M clang/test/CoverageMapping/mcdc-system-headers.cpp
M clang/test/Profile/c-mcdc-class.cpp
M clang/test/Profile/c-mcdc-logicalop-ternary.c
M clang/test/Profile/c-mcdc-nested-ternary.c
M clang/test/Profile/c-mcdc-not.c
M clang/test/Profile/c-mcdc.c
M llvm/docs/CoverageMappingFormat.rst
M llvm/docs/LangRef.rst
M llvm/include/llvm/IR/IntrinsicInst.h
M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
M llvm/test/Instrumentation/InstrProfiling/inline-data-var-create.ll
M llvm/test/Instrumentation/InstrProfiling/mcdc.ll
M llvm/test/tools/llvm-cov/Inputs/mcdc-const-folding.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-const-folding.proftext
M llvm/test/tools/llvm-cov/Inputs/mcdc-const.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-const.proftext
R llvm/test/tools/llvm-cov/Inputs/mcdc-general-18.o
R llvm/test/tools/llvm-cov/Inputs/mcdc-general-18.profdata
M llvm/test/tools/llvm-cov/Inputs/mcdc-general.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-general.proftext
M llvm/test/tools/llvm-cov/Inputs/mcdc-macro.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-macro.proftext
M llvm/test/tools/llvm-cov/Inputs/mcdc-maxbs.o
R llvm/test/tools/llvm-cov/mcdc-general-18.test
M llvm/unittests/ProfileData/CoverageMappingTest.cpp
Log Message:
-----------
Revert "[MC/DC][Coverage] Loosen the limit of NumConds from 6 (#82448)"
This broke the lit tests on Mac:
https://green.lab.llvm.org/job/llvm.org/job/clang-stage1-RA/1096/
> By storing possible test vectors instead of combinations of conditions,
> the restriction is dramatically relaxed.
>
> This introduces two options to `cc1`:
>
> * `-fmcdc-max-conditions=32767`
> * `-fmcdc-max-test-vectors=2147483646`
>
> This change makes coverage mapping, profraw, and profdata incompatible
> with Clang-18.
>
> - Bitmap semantics changed. It is incompatible with previous format.
> - `BitmapIdx` in `Decision` points to the end of the bitmap.
> - Bitmap is packed per function.
> - `llvm-cov` can understand `profdata` generated by `llvm-profdata-18`.
>
> RFC:
> https://discourse.llvm.org/t/rfc-coverage-new-algorithm-and-file-format-for-mc-dc/76798
This reverts commit 7ead2d8c7e9114b3f23666209a1654939987cb30.
Commit: dc726c340392d4a0f3af9dde5f34c58d98198667
https://github.com/llvm/llvm-project/commit/dc726c340392d4a0f3af9dde5f34c58d98198667
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/test/CodeGen/instrument-objc-method.m
M flang/test/Transforms/debug-local-var-2.f90
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm/AsmParser/LLParser.h
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/IR/DebugProgramInstruction.cpp
M llvm/lib/IR/Function.cpp
M llvm/lib/IR/Module.cpp
M llvm/tools/llvm-as/llvm-as.cpp
M llvm/tools/llvm-dis/llvm-dis.cpp
M llvm/tools/llvm-link/llvm-link.cpp
M llvm/unittests/Analysis/IRSimilarityIdentifierTest.cpp
M llvm/unittests/IR/BasicBlockDbgInfoTest.cpp
M llvm/unittests/IR/DebugInfoTest.cpp
M llvm/unittests/IR/IRBuilderTest.cpp
M llvm/unittests/IR/InstructionsTest.cpp
M llvm/unittests/IR/ValueTest.cpp
M llvm/unittests/Transforms/Utils/CloningTest.cpp
M llvm/unittests/Transforms/Utils/LocalTest.cpp
Log Message:
-----------
Reapply#4 "[RemoveDIs] Load into new debug info format by default in LLVM (#89799)"
Reapplies commit c5aeca73 (and its followup commit 21396be8), which were
reverted due to missing functionality in MLIR and Flang regarding printing
debug records. This has now been added in commit 08aa511, along with support
for printing debug records in flang.
This reverts commit 2dc2290860355dd2bac3b655eea895fe30fde257.
Commit: bd5fbab38f200c09eb5bc727b56812e53a3e9f00
https://github.com/llvm/llvm-project/commit/bd5fbab38f200c09eb5bc727b56812e53a3e9f00
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/test/Transforms/SimplifyCFG/X86/sink-common-code.ll
Log Message:
-----------
[SimplifyCFG] Add tests for sinking with multiple uses (NFC)
Commit: d62ff7195ef880bba6d2522bf5e882e7ef28cb7f
https://github.com/llvm/llvm-project/commit/d62ff7195ef880bba6d2522bf5e882e7ef28cb7f
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M flang/test/Lower/OpenMP/if-clause.f90
R flang/test/Lower/OpenMP/loop-combined.f90
A flang/test/Lower/OpenMP/loop-compound.f90
Log Message:
-----------
[Flang][OpenMP] NFC: Check omp.loop_nest in compound construct lowering (#95404)
This patch updates tests containing compound loop constructs to also
check for the `omp.loop_nest` operation. The "loop-combined.f90" test
file is renamed to "loop-compound.f90" as well, to better indicate the
types of constructs that are checked in it.
Commit: b6b0f975a6005de530262ed1c5643d1060c86d63
https://github.com/llvm/llvm-project/commit/b6b0f975a6005de530262ed1c5643d1060c86d63
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
A flang/test/Lower/OpenMP/parallel-reduction-pointer-array.f90
A flang/test/Lower/OpenMP/wsloop-reduction-pointer.f90
Log Message:
-----------
[flang][OpenMP] Support reduction of POINTER variables (#95148)
Just treat them the same as ALLOCATABLE. gfortran doesn't allow POINTER
objects in a REDUCTION clause, but so far as I can tell the standard
explicitly allows it (openmp5.2 section 5.5.5).
Commit: 32cd703da578e769787a921d76b768164a4256b6
https://github.com/llvm/llvm-project/commit/32cd703da578e769787a921d76b768164a4256b6
Author: Hans Wennborg <hans at chromium.org>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/docs/UsersManual.rst
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/MSVC.cpp
M clang/test/Driver/cl-options.c
Log Message:
-----------
[clang-cl] Support the /Ob3 flag
According to the docs, this was added in VS2019 and specifies more
aggressive inlining than /Ob2. Let's treat it the same as /Ob2 for now.
Commit: 88e42c6779067c4b65624939be74db2d56ee017b
https://github.com/llvm/llvm-project/commit/88e42c6779067c4b65624939be74db2d56ee017b
Author: Jannick Kremer <51118500+DeinAlptraum at users.noreply.github.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/bindings/python/clang/cindex.py
A clang/bindings/python/tests/cindex/test_enums.py
M clang/docs/ReleaseNotes.rst
Log Message:
-----------
[libclang/python] Fix bugs in custom enum implementation and add tests (#95381)
Do not allow initialization of enum from negative IDs (e.g. from_id(-1)
currently produces the last known variant)
Rename duplicate enums: CursorKind.OMP_TEAMS_DISTRIBUTE_DIRECTIVE and
TypeKind.OBJCCLASS
Add tests to cover these cases
Commit: ab0d01a5f0f17f20b106b0f6cc6d1b7d13cf4d65
https://github.com/llvm/llvm-project/commit/ab0d01a5f0f17f20b106b0f6cc6d1b7d13cf4d65
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCRegisterInfo.h
M llvm/lib/MC/MCRegisterInfo.cpp
M llvm/test/CodeGen/ARM/constant-island-movwt.mir
Log Message:
-----------
[MC] Cache MCRegAliasIterator (#93510)
AMDGPU has a lot of registers, almost 9000. Many of those registers have
aliases. For instance, SGPR0 has a ton of aliases due to the presence of
register tuples. It's even worse if you query the aliases of a register
tuple itself. A large register tuple can have hundreds of aliases
because it may include 16 registers, and each of those registers have
their own tuples as well.
The current implementation of MCRegAliasIterator is not good at this. In
some extreme cases it can iterate, 7000 more times than
necessary, just giving duplicates over and over again and using a lot of
expensive iterators.
This patch implements a cache system for MCRegAliasIterator. It does the
expensive part only once and then saves it for us so the next iterations
on that register's aliases are just a map lookup.
Furthermore, the cached data is uniqued (and sorted). Thus, this speeds
up code by both speeding up the iterator itself, but also by minimizing
the number of loop iterations users of the iterator do.
Commit: 4bccd25467ce591869dad41c8b7c550093c20f1b
https://github.com/llvm/llvm-project/commit/4bccd25467ce591869dad41c8b7c550093c20f1b
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/sve-hadd.ll
Log Message:
-----------
[AArch64] LowerAVG - fallback to default expansion (#95416)
The TargetLowering::expandAVG implementations now match or are better than the AArch64 override.
Commit: 44df1167f88cabbb4cfde816f279337379ea30b3
https://github.com/llvm/llvm-project/commit/44df1167f88cabbb4cfde816f279337379ea30b3
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/Error.h
M llvm/lib/Support/Error.cpp
M llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
M llvm/tools/llvm-pdbutil/DumpOutputStyle.cpp
M llvm/unittests/Support/ErrorTest.cpp
Log Message:
-----------
[Error] Add non-consuming toString (#95375)
There are some places that want to convert an Error to string, but still
retain the original Error object, for example to emit a non-fatal
warning.
This currently isn't possible, because the entire Error infra is
move-based. And what people end up doing in this case is to move the
Error... twice.
This patch introduces a toStringWithoutConsuming() function to
accommodate this use case. This also requires some infrastructure that
allows visiting Errors without consuming them.
Commit: 4f54b91842ea2ab9546459869df442f7e7fe59d6
https://github.com/llvm/llvm-project/commit/4f54b91842ea2ab9546459869df442f7e7fe59d6
Author: c8ef <c8ef at outlook.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SDPatternMatch.h
M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp
Log Message:
-----------
[SDPatternMatch] Only match ISD::SIGN_EXTEND in m_SExt (#95415)
Context: https://github.com/llvm/llvm-project/pull/95365#discussion_r1638236603
The current implementation of `m_SExt` matches both `ISD::SIGN_EXTEND` and `ISD::SIGN_EXTEND_INREG`. However, in cases where we specifically need to match _only_ `ISD::SIGN_EXTEND`, such as in the SelectionDAG graph below, this can lead to issues and unintended combinations.
```
SelectionDAG has 13 nodes:
t0: ch,glue = EntryToken
t2: v2i32,ch = CopyFromReg t0, Register:v2i32 %0
t21: v2i32 = sign_extend_inreg t2, ValueType:ch:v2i8
t4: v2i32,ch = CopyFromReg t0, Register:v2i32 %1
t22: v2i32 = sign_extend_inreg t4, ValueType:ch:v2i8
t23: v2i32 = avgfloors t21, t22
t24: v2i32 = sign_extend_inreg t23, ValueType:ch:v2i8
t15: ch,glue = CopyToReg t0, Register:v2i32 $d0, t24
t16: ch = AArch64ISD::RET_GLUE t15, Register:v2i32 $d0, t15:1
```
Commit: 738fcbee687a50bfa83ba30daf65bab41307211a
https://github.com/llvm/llvm-project/commit/738fcbee687a50bfa83ba30daf65bab41307211a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/SROA.cpp
M llvm/test/Transforms/SROA/phi-gep.ll
Log Message:
-----------
[SROA] Preserve all GEP flags during speculation
Unlikely to matter in practice, as these GEPs are typically
promoted away.
Commit: f1a29ec082ead82c6a4d61e515222d6bcf046a5b
https://github.com/llvm/llvm-project/commit/f1a29ec082ead82c6a4d61e515222d6bcf046a5b
Author: David Green <david.green at arm.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/fptoi.ll
Log Message:
-----------
[AArch64] Add i128 and fp128 tests to fptoi. NFC
Commit: 1ceede3318c29af83b219cca137f5e2c563fc871
https://github.com/llvm/llvm-project/commit/1ceede3318c29af83b219cca137f5e2c563fc871
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
Log Message:
-----------
[AMDGPULowerBufferFatPointers] Don't try to preserve flags for constant expressions
We expect all of these ConstantExpr ctors to fold away, don't try
to preserve flags, especially as the flags are not correct.
Commit: 71f8b441ed6a944ceb4530b49e8588dcbb1e0066
https://github.com/llvm/llvm-project/commit/71f8b441ed6a944ceb4530b49e8588dcbb1e0066
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/docs/SourceBasedCodeCoverage.rst
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/CodeGen/CodeGenPGO.cpp
M clang/lib/CodeGen/CoverageMappingGen.cpp
M clang/lib/CodeGen/MCDCState.h
M clang/test/CoverageMapping/branch-constfolded.cpp
M clang/test/CoverageMapping/logical.cpp
M clang/test/CoverageMapping/mcdc-class.cpp
M clang/test/CoverageMapping/mcdc-error-conditions.cpp
M clang/test/CoverageMapping/mcdc-logical-scalar-ids.cpp
M clang/test/CoverageMapping/mcdc-logical-stmt-ids-all.cpp
M clang/test/CoverageMapping/mcdc-logical-stmt-ids.cpp
M clang/test/CoverageMapping/mcdc-scratch-space.c
M clang/test/CoverageMapping/mcdc-system-headers.cpp
M clang/test/Profile/c-mcdc-class.cpp
M clang/test/Profile/c-mcdc-logicalop-ternary.c
M clang/test/Profile/c-mcdc-nested-ternary.c
M clang/test/Profile/c-mcdc-not.c
M clang/test/Profile/c-mcdc.c
M compiler-rt/test/profile/ContinuousSyncMode/image-with-mcdc.c
M llvm/docs/CoverageMappingFormat.rst
M llvm/docs/LangRef.rst
M llvm/include/llvm/IR/IntrinsicInst.h
M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
M llvm/test/Instrumentation/InstrProfiling/inline-data-var-create.ll
M llvm/test/Instrumentation/InstrProfiling/mcdc.ll
M llvm/test/tools/llvm-cov/Inputs/mcdc-const-folding.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-const-folding.proftext
M llvm/test/tools/llvm-cov/Inputs/mcdc-const.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-const.proftext
A llvm/test/tools/llvm-cov/Inputs/mcdc-general-18.o
A llvm/test/tools/llvm-cov/Inputs/mcdc-general-18.profdata
M llvm/test/tools/llvm-cov/Inputs/mcdc-general.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-general.proftext
M llvm/test/tools/llvm-cov/Inputs/mcdc-macro.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-macro.proftext
M llvm/test/tools/llvm-cov/Inputs/mcdc-maxbs.o
A llvm/test/tools/llvm-cov/mcdc-general-18.test
M llvm/unittests/ProfileData/CoverageMappingTest.cpp
Log Message:
-----------
Reapply: [MC/DC][Coverage] Loosen the limit of NumConds from 6 (#82448)
By storing possible test vectors instead of combinations of conditions,
the restriction is dramatically relaxed.
This introduces two options to `cc1`:
* `-fmcdc-max-conditions=32767`
* `-fmcdc-max-test-vectors=2147483646`
This change makes coverage mapping, profraw, and profdata incompatible
with Clang-18.
- Bitmap semantics changed. It is incompatible with previous format.
- `BitmapIdx` in `Decision` points to the end of the bitmap.
- Bitmap is packed per function.
- `llvm-cov` can understand `profdata` generated by `llvm-profdata-18`.
RFC:
https://discourse.llvm.org/t/rfc-coverage-new-algorithm-and-file-format-for-mc-dc/76798
--
Change(s) since llvmorg-19-init-14288-g7ead2d8c7e91
- Update compiler-rt/test/profile/ContinuousSyncMode/image-with-mcdc.c
Commit: b650764b16b5c8790325775ac5f87f0b1c0beca7
https://github.com/llvm/llvm-project/commit/b650764b16b5c8790325775ac5f87f0b1c0beca7
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
A lldb/test/Shell/Expr/Inputs/objc-cast.cpp
A lldb/test/Shell/Expr/TestObjCIDCast.test
Log Message:
-----------
[lldb][test] Add test for completing ObjCObjectType (#95405)
This is a minimal reproducer for a crash where we would try to call
`DumpTypeDescription` on an incomplete type. This crash surfaced as part
of an NFC refactor of some of the logic in `GetCompleteQualType`:
```
(lldb) expr -l objc -- *(id)0x1234
Stack dump:
0. Program arguments: ./bin/lldb a.out -o "b main" -o run -o "expr -l objc -- *(id)0x1234"
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var LLVM_SYMBOLIZER_PATH to point to it):
0 lldb 0x0000000102ec768c llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1 lldb 0x0000000102ec6010 llvm::sys::RunSignalHandlers() + 112
2 lldb 0x0000000102ec7fa8 SignalHandler(int) + 292
3 libsystem_platform.dylib 0x000000018c7a8c44 _sigtramp + 56
4 LLDB 0x0000000116b2030c lldb_private::TypeSystemClang::DumpTypeDescription(void*, lldb_private::Stream&, lldb::DescriptionLevel, lldb_private::ExecutionContextScope*) + 588
5 LLDB 0x00000001166b5124 lldb_private::CompilerType::DumpTypeDescription(lldb_private::Stream*, lldb::DescriptionLevel, lldb_private::ExecutionContextScope*) const + 228
6 LLDB 0x0000000116d4f08c IRForTarget::CreateResultVariable(llvm::Function&) + 2076
```
rdar://129633122
Commit: 90fd99c0795711e1cf762a02b29b0a702f86a264
https://github.com/llvm/llvm-project/commit/90fd99c0795711e1cf762a02b29b0a702f86a264
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
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/VPlanRecipes.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/lib/Transforms/Vectorize/VPlanValue.h
M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
Log Message:
-----------
Recommit "[VPlan] First step towards VPlan cost modeling. (#92555)"
This reverts commit 46080abe9b136821eda2a1a27d8a13ceac349f8c.
Extra tests have been added in 52d29eb287.
Original message:
This adds a new interface to compute the cost of recipes, VPBasicBlocks,
VPRegionBlocks and VPlan, initially falling back to the legacy cost model
for all recipes. Follow-up patches will gradually migrate recipes to
compute their own costs step-by-step.
It also adds getBestPlan function to LVP which computes the cost of all
VPlans and picks the most profitable one together with the most
profitable VF.
The VPlan selected by the VPlan cost model is executed and there is an
assert to catch cases where the VPlan cost model and the legacy cost
model disagree. Even though I checked a number of different build
configurations on AArch64 and X86, there may be some differences
that have been missed.
Additional discussions and context can be found in @arcbbb's
https://github.com/llvm/llvm-project/pull/67647 and
https://github.com/llvm/llvm-project/pull/67934 which is an earlier
version of the current PR.
PR: https://github.com/llvm/llvm-project/pull/92555
Commit: ad702e057cf7fc1ffdc0f78f563b416170ea7d57
https://github.com/llvm/llvm-project/commit/ad702e057cf7fc1ffdc0f78f563b416170ea7d57
Author: Harald van Dijk <harald.vandijk at codeplay.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/lib/Sema/Sema.cpp
M clang/test/CodeGen/aarch64-targetattr-arch.c
M clang/test/CodeGen/aarch64_neon_sve_bridge_intrinsics/target.c
M clang/test/CodeGenCXX/aarch64-mangle-sve-vectors.cpp
M clang/test/Sema/aarch64-sme2-sve2p1-diagnostics.c
M clang/test/Sema/arm-sve-target.cpp
Log Message:
-----------
[AArch64] Extend SVE diagnostics. (#94976)
The SVE diagnostics were guarded by a FD->hasBody() check that prevented
the diagnostic from being emitted for code that still triggered the
backend crashes that the errors were meant to avoid, because
FD->hasBody() returns false for a function that Clang is currently
processing. This is not done for the equivalent RISC-V code, and is not
needed for AArch64 either, so remove it.
Errors were also emitted in the wrong location, errors were emitted at
the called function's location, rather than at the caller's, which meant
that just removing the FD->hasBody() check resulted in incomprehensible
errors. Change this as well.
The aarch64-mangle-sve-vectors.cpp test was using -target-feature wrong
which was exposed as a result of these changes. Different target
features need to be passed in as different -target-feature options.
aarch64-targetattr-arch.c has a test_errors() function that needs to be
split in two. Now that svundef_s8() is diagnosed for its use of
svint8_t, the "needs target feature sve" diagnostic is no longer
emitted, but this affects all calls in the same function. To ensure we
still check this for its __crc32cd call, move that into a separate
function.
Fixes #94766.
Commit: 0113f26fad00e4798883b02eb7a049ea545a13de
https://github.com/llvm/llvm-project/commit/0113f26fad00e4798883b02eb7a049ea545a13de
Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64Subtarget.h
M llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-lse2_lse128.ll
M llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-v8_1a.ll
M llvm/test/CodeGen/AArch64/Atomics/aarch64_be-atomicrmw-lse2_lse128.ll
M llvm/test/CodeGen/AArch64/Atomics/aarch64_be-atomicrmw-v8_1a.ll
M llvm/test/CodeGen/AArch64/GlobalISel/arm64-atomic-128.ll
M llvm/test/CodeGen/AArch64/aarch64-interleaved-access-w-undef.ll
M llvm/test/CodeGen/AArch64/aarch64-neon-vector-insert-uaddlv.ll
M llvm/test/CodeGen/AArch64/aarch64-sysreg128.ll
M llvm/test/CodeGen/AArch64/arm64-atomic-128.ll
M llvm/test/CodeGen/AArch64/arm64-dup.ll
M llvm/test/CodeGen/AArch64/arm64-indexed-vector-ldst.ll
M llvm/test/CodeGen/AArch64/arm64-ld1.ll
M llvm/test/CodeGen/AArch64/arm64-neon-copy.ll
M llvm/test/CodeGen/AArch64/arm64-neon-copyPhysReg-tuple.ll
M llvm/test/CodeGen/AArch64/arm64-tbl.ll
M llvm/test/CodeGen/AArch64/arm64-zip.ll
M llvm/test/CodeGen/AArch64/atomicrmw-xchg-fp.ll
M llvm/test/CodeGen/AArch64/bf16-shuffle.ll
M llvm/test/CodeGen/AArch64/build-vector-two-dup.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-multiuses.ll
M llvm/test/CodeGen/AArch64/extract-vector-elt.ll
M llvm/test/CodeGen/AArch64/fp-conversion-to-tbl.ll
M llvm/test/CodeGen/AArch64/fptoi.ll
M llvm/test/CodeGen/AArch64/fptosi-sat-vector.ll
M llvm/test/CodeGen/AArch64/fptoui-sat-vector.ll
M llvm/test/CodeGen/AArch64/insert-subvector.ll
M llvm/test/CodeGen/AArch64/neon-bitwise-instructions.ll
M llvm/test/CodeGen/AArch64/neon-extracttruncate.ll
M llvm/test/CodeGen/AArch64/neon-reverseshuffle.ll
M llvm/test/CodeGen/AArch64/neon-widen-shuffle.ll
M llvm/test/CodeGen/AArch64/seqpairspill.mir
M llvm/test/CodeGen/AArch64/shuffle-tbl34.ll
M llvm/test/CodeGen/AArch64/shuffles.ll
M llvm/test/CodeGen/AArch64/shufflevector.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-add-sub-za16.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-add.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-cvtn.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-fmlas.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-fp-dots.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-insert-mova.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-int-dots.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-max.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-min.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-mlall.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-mlals.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-rshl.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-select-sme-tileslice.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-sqdmulh.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-sub.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-vdot.ll
M llvm/test/CodeGen/AArch64/sve-fixed-length-shuffles.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-stN-reg-imm-addr-mode.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-stN-reg-reg-addr-mode.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-stores.ll
M llvm/test/CodeGen/AArch64/sve-merging-stores.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ld2-alloca.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-shuffle.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-perm-tb.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-bfclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-fclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-multivec-stores.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-sclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-selx4.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-stores.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-uclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-uzpx4.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-while-pp.ll
M llvm/test/CodeGen/AArch64/swift-error-unreachable-use.ll
M llvm/test/CodeGen/AArch64/tbl-loops.ll
M llvm/test/CodeGen/AArch64/trunc-to-tbl.ll
M llvm/test/CodeGen/AArch64/vldn_shuffle.ll
Log Message:
-----------
[AArch64][SME] Enable subreg liveness tracking for AArch64 (#92142)
The SME dot instructions in these tests operate on contiguous register
tuples which use one subregister from each of the loads. When using the
strided register form for all loads, enabling subreg liveness tracking
will allow us to recognise that there is no overlap between the register
tuples used by each of the dot instructions.
This is the first in a series of patches to improve the allocation of
strided and contiguous registers for SME.
Commit: cf4c3d98430de7e2a19ba42714db78810d04d4e8
https://github.com/llvm/llvm-project/commit/cf4c3d98430de7e2a19ba42714db78810d04d4e8
Author: Vikram Hegde <115221833+vikramRH at users.noreply.github.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/lib/Target/AMDGPU/SIRegisterInfo.td
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.set.inactive.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.set.inactive.ll
Log Message:
-----------
[AMDGPU] Extend llvm.amdgcn.set.inactive intrinsic to support Reg32/Reg64 types (#94457)
Missed this while handling other patches. Any comments/concerns ?
Commit: 86dc75862398ec48ad411103770613fba9add9f5
https://github.com/llvm/llvm-project/commit/86dc75862398ec48ad411103770613fba9add9f5
Author: Amaury Séchet <deadalnix at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/include/llvm-c/Core.h
Log Message:
-----------
[llvm-c] Move LLVMAttributeIndex to a more apropriate place. NFC.
Commit: e910f61fb1810020ab68fdf6479bde03e702e013
https://github.com/llvm/llvm-project/commit/e910f61fb1810020ab68fdf6479bde03e702e013
Author: agozillon <Andrew.Gozillon at amd.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M flang/lib/Lower/OpenMP/Clauses.cpp
Log Message:
-----------
[Flang][OpenMP] Fix type in getBaseObject causing crashes in certain scenarios (#95472)
This typo would unfortunately cause code like the following to ICE,
where common block symbols/names are used in a map clause:
subroutine sb()
implicit none
integer:: b, c
common /var/ b, c
!$omp target map(tofrom: /var/)
b = 1
c = 2
!$omp end target
end subroutine
Commit: 8ab3f8ae0d39048e4bc1198514049813c6765fb6
https://github.com/llvm/llvm-project/commit/8ab3f8ae0d39048e4bc1198514049813c6765fb6
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/tools/llvm-exegesis/CMakeLists.txt
Log Message:
-----------
[llvm-exegesis] Fix typos in cmake file
Fix typos introduced in #95421.
Commit: c6b6e18c4d25305ab98b6eab752de99ea4e15344
https://github.com/llvm/llvm-project/commit/c6b6e18c4d25305ab98b6eab752de99ea4e15344
Author: David Truby <david.truby at arm.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M flang/docs/Directives.md
M flang/include/flang/Lower/PFTBuilder.h
M flang/include/flang/Optimizer/Dialect/FIROps.h
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/include/flang/Parser/dump-parse-tree.h
M flang/include/flang/Parser/parse-tree.h
M flang/lib/Lower/Bridge.cpp
M flang/lib/Optimizer/Transforms/ControlFlowConverter.cpp
M flang/lib/Parser/Fortran-parsers.cpp
M flang/lib/Parser/unparse.cpp
M flang/lib/Semantics/CMakeLists.txt
A flang/lib/Semantics/canonicalize-directives.cpp
A flang/lib/Semantics/canonicalize-directives.h
M flang/lib/Semantics/resolve-names.cpp
M flang/lib/Semantics/semantics.cpp
A flang/test/Fir/vector-always-cfg.fir
A flang/test/Fir/vector-always.fir
A flang/test/Integration/vector-always.f90
A flang/test/Lower/vector-always.f90
M flang/test/Parser/compiler-directives.f90
A flang/test/Semantics/loop-directives.f90
Log Message:
-----------
[flang] Implement !DIR$ VECTOR ALWAYS (#93830)
This patch implements support for the VECTOR ALWAYS directive, which
forces
vectorization to occurr when possible regardless of a decision by the
cost
model. This is done by adding an attribute to the branch into the loop
in LLVM
to indicate that the loop should always be vectorized.
This patch only implements this directive on plan structured do loops
without labels. Support for unstructured loops and array
expressions is planned for future patches.
Commit: c81d5b11cf7caf82749638752d819a061fdf4d9e
https://github.com/llvm/llvm-project/commit/c81d5b11cf7caf82749638752d819a061fdf4d9e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
A llvm/test/CodeGen/X86/avgceils-scalar.ll
A llvm/test/CodeGen/X86/avgceilu-scalar.ll
A llvm/test/CodeGen/X86/avgfloors-scalar.ll
A llvm/test/CodeGen/X86/avgflooru-scalar.ll
Log Message:
-----------
[X86] Add scalar test coverage for ISD::AVG nodes on 32 and 64-bit targets
Commit: 7e3e9d43086d21f9996a52f0d4f24e0edeb34991
https://github.com/llvm/llvm-project/commit/7e3e9d43086d21f9996a52f0d4f24e0edeb34991
Author: Joe Nash <joseph.nash at amd.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
Log Message:
-----------
[AMDGPU] Change getLdStRegisterOperand to !cond for better diagnostic (#95475)
If you would hit the unexpected case in these !if trees, you'd get an
error message like "error: Not a known RegisterClass! def VReg_1..."
This can happen when changing code quite indirectly related to these
class definitions. We can use !cond here, which has a builtin facility
to throw an error if no case in the !cond statement is hit.
NFC.
Commit: 9ad102f03b350c79256011cd272f27808cb61a39
https://github.com/llvm/llvm-project/commit/9ad102f03b350c79256011cd272f27808cb61a39
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/ProfileData/InstrProf.cpp
M llvm/lib/ProfileData/InstrProfWriter.cpp
M llvm/unittests/ProfileData/InstrProfTest.cpp
Log Message:
-----------
[ProfileData] Migrate to getValueArrayForSite (#95493)
This patch migrates uses of getValueForSite to getValueArrayForSite.
Each hunk is self-contained, meaning that each one can be applied
independently of the others.
In the unit test, there are cases where the array length check is
performed a lot earlier than the array content check. For now, I'm
leaving the length checks where they are. I'll consider moving them
when I migrate uses of getNumValueDataForSite to getValueArrayForSite
in a follow-up patch.
Commit: d5297b72aa32ad3a69563a1fcc61294282f0b379
https://github.com/llvm/llvm-project/commit/d5297b72aa32ad3a69563a1fcc61294282f0b379
Author: kadir çetinkaya <kadircet at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang-tools-extra/include-cleaner/lib/IncludeSpeller.cpp
M clang-tools-extra/include-cleaner/unittests/IncludeSpellerTest.cpp
M clang/include/clang/Testing/TestAST.h
M clang/lib/Testing/TestAST.cpp
Log Message:
-----------
[include-cleaner] Pass WorkingDir to suggestPathToFileForDiagnostics (#95114)
Addresses https://github.com/llvm/llvm-project/issues/81215.
Commit: 08fae467e4c742e91c8fdff8519718cf2c7c9b0e
https://github.com/llvm/llvm-project/commit/08fae467e4c742e91c8fdff8519718cf2c7c9b0e
Author: c8ef <c8ef at outlook.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/AArch64/aarch64-known-bits-hadd.ll
M llvm/test/CodeGen/AArch64/avg.ll
Log Message:
-----------
[DAG] fold `avgs(sext(x), sext(y))` -> `sext(avgs(x, y))` (#95365)
Follow up of #95134.
Context:
https://github.com/llvm/llvm-project/pull/95134#issuecomment-2162825594.
Commit: db3a47c810639388c80ed173dda3623dac00ce0a
https://github.com/llvm/llvm-project/commit/db3a47c810639388c80ed173dda3623dac00ce0a
Author: beetrees <b at beetr.ee>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGCall.cpp
M clang/test/CodeGen/attr-error.c
M clang/test/CodeGen/attr-warning.c
M llvm/docs/LangRef.rst
M llvm/include/llvm/IR/DiagnosticInfo.h
M llvm/lib/CodeGen/MachineModuleInfo.cpp
M llvm/lib/IR/DiagnosticInfo.cpp
Log Message:
-----------
Fix silent truncation of inline ASM `srcloc` cookie when going through a `DiagnosticInfoSrcMgr` (#84559)
The size of the inline ASM `srcloc` cookie was changed from 32 bits to
64 bits in [D105491](https://reviews.llvm.org/D105491). However, that
commit only updated the size of the cookie in `DiagnosticInfoInlineAsm`,
meaning that inline ASM diagnostics that are instead represented with a
`DiagnosticInfoSrcMgr` have their cookies truncated to 32 bits. This PR
replaces the remaining uses of `unsigned` to represent the cookie with
`uint64_t`, allowing the cookie to make it all the way to the diagnostic
handler without being truncated.
Commit: 6b4760acc73394f841fb66bfd04c501826f5c7f7
https://github.com/llvm/llvm-project/commit/6b4760acc73394f841fb66bfd04c501826f5c7f7
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
Log Message:
-----------
[AMDGPU] Make use of composeSubRegIndices. NFCI. (#95548)
Simplify SIInstrInfo::buildExtractSubReg by building one COPY with a
composed subreg index instead of two COPYs.
Commit: 094572701dce4aaf36f4521d6cf750420d39f206
https://github.com/llvm/llvm-project/commit/094572701dce4aaf36f4521d6cf750420d39f206
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/test/CodeGen/2010-07-08-DeclDebugLineNo.c
M clang/test/CodeGen/assignment-tracking/assignment-tracking.cpp
M clang/test/CodeGen/assignment-tracking/memcpy-fragment.cpp
M clang/test/CodeGen/assignment-tracking/nested-scope.cpp
M clang/test/CodeGen/attr-nodebug.c
M clang/test/CodeGen/debug-info-block-decl.c
M clang/test/CodeGen/debug-info-block-expr.c
M clang/test/CodeGen/debug-info-block-vars.c
M clang/test/CodeGen/debug-info-matrix-types.c
M clang/test/CodeGen/debug-info-vla.c
M clang/test/CodeGen/debug-label-inline.c
M clang/test/CodeGen/debug-label.c
M clang/test/CodeGen/instrument-objc-method.m
M clang/test/CodeGenCUDA/debug-info-address-class.cu
M clang/test/CodeGenCXX/debug-info-inheriting-constructor.cpp
M clang/test/CodeGenCXX/debug-info-nrvo.cpp
M clang/test/CodeGenCXX/debug-info-range-for-var-names.cpp
M clang/test/CodeGenCXX/debug-info-structured-binding-bitfield.cpp
M clang/test/CodeGenCXX/debug-info-structured-binding.cpp
M clang/test/CodeGenCXX/debug-info.cpp
M clang/test/CodeGenCXX/linetable-eh.cpp
M clang/test/CodeGenCXX/trivial_abi_debuginfo.cpp
M clang/test/CodeGenObjC/2010-02-09-DbgSelf.m
M clang/test/CodeGenObjC/debug-info-blocks.m
M clang/test/CodeGenObjC/debug-info-nested-blocks.m
M clang/test/CodeGenObjC/objc-fixed-enum.m
M clang/test/CodeGenObjCXX/property-objects.mm
M clang/test/CodeGenOpenCL/amdgpu-debug-info-variable-expression.cl
M clang/test/CodeGenSYCL/debug-info-kernel-variables.cpp
M clang/test/OpenMP/debug-info-complex-byval.cpp
M clang/test/OpenMP/debug-info-openmp-array.cpp
M clang/test/OpenMP/debug_private.c
M clang/test/OpenMP/debug_task_shared.c
M clang/test/OpenMP/debug_threadprivate_copyin.c
M clang/test/OpenMP/irbuilder_nested_parallel_for.c
M clang/test/OpenMP/nested_loop_codegen.cpp
M clang/test/OpenMP/parallel_codegen.cpp
M clang/test/OpenMP/target_parallel_debug_codegen.cpp
M clang/test/OpenMP/target_parallel_for_debug_codegen.cpp
M clang/test/OpenMP/target_parallel_generic_loop_codegen-3.cpp
M clang/test/OpenMP/taskgroup_task_reduction_codegen.cpp
M clang/test/OpenMP/threadprivate_codegen.cpp
M llvm/lib/IR/IRPrintingPasses.cpp
M llvm/test/Assembler/2010-02-05-FunctionLocalMetadataBecomesNull.ll
M llvm/test/Assembler/debug-label-bitcode.ll
M llvm/test/Bitcode/DIExpression-aggresult.ll
M llvm/test/Bitcode/constexpr-to-instr-metadata-2.ll
M llvm/test/Bitcode/constexpr-to-instr-metadata.ll
M llvm/test/Bitcode/dbg-label-record-bc.ll
M llvm/test/Bitcode/upgrade-dbg-addr.ll
M llvm/test/Bitcode/upgrade-dbg-value.ll
M llvm/test/CodeGen/AArch64/dbg-declare-swift-async.ll
M llvm/test/CodeGen/AArch64/stack-tagging-dbg-assign-tag-offset.ll
M llvm/test/CodeGen/AArch64/stack-tagging-dbg-declare-tag-offset.ll
M llvm/test/CodeGen/AArch64/stack-tagging-dbg-value-tag-offset-nopad.ll
M llvm/test/CodeGen/AArch64/stack-tagging-dbg-value-tag-offset.ll
M llvm/test/CodeGen/AArch64/stack-tagging-dbg.ll
M llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-sincos.ll
M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-unoptimized-debug-data.ll
M llvm/test/CodeGen/AMDGPU/si-annotate-dbg-info.ll
M llvm/test/CodeGen/BPF/preserve-static-offset/load-arr-pai.ll
M llvm/test/CodeGen/BPF/preserve-static-offset/load-ptr-pai.ll
M llvm/test/CodeGen/BPF/preserve-static-offset/load-struct-pai.ll
M llvm/test/CodeGen/BPF/preserve-static-offset/load-union-pai.ll
M llvm/test/CodeGen/BPF/preserve-static-offset/store-pai.ll
M llvm/test/CodeGen/Generic/MIRDebugify/locations-and-values.mir
M llvm/test/CodeGen/Generic/MIRStripDebug/dont-strip-real-debug-info.mir
M llvm/test/CodeGen/X86/fast-isel-dbg-value-alloca.ll
M llvm/test/CodeGen/X86/pr38763.ll
M llvm/test/CodeGen/X86/select-optimize.ll
M llvm/test/DebugInfo/AArch64/ir-outliner.ll
M llvm/test/DebugInfo/AArch64/select-optimize-trailing-dbg-records.ll
M llvm/test/DebugInfo/ARM/hardware-loop-phi-insertion.ll
M llvm/test/DebugInfo/ARM/lowerbdgdeclare_vla.ll
M llvm/test/DebugInfo/ARM/salvage-debug-info.ll
M llvm/test/DebugInfo/ARM/sroa-complex.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/adce/no-delete.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/codegenprepare/sunk-addr.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/hwasan.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/long-double-x87.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/nullptr-declare.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/scalable-vector.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/structured-bindings.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/var-not-alloca-sized.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/vla.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/dse/dse-after-memcpyopt-merge.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/dse/shorten-offset.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/dse/shorten.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/inline/id.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/inline/inline-stores.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/inline/shared-alloca.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/inline/use-before-def.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/do-not-remove-redundant-dbg.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/memset.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/remove-redundant-dbg.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/sink-store.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/sink.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/store-new-type.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/storemerge.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/licm/merge.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/licm/multi-exit.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/loop-deletion/dead-loop.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/loop-vectorize/remove-redundant-dbg.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/phi.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/single-block-alloca.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/single-store-alloca.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/store-to-part-of-alloca.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/memcpyopt/merge-stores.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/mldst-motion/diamond.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/optnone.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/roundtrip.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/remove-redundant-fwd-scan-linked.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/remove-redundant.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/salvage-value.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/simplifycfg/empty-block.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/simplifycfg/speculated-store.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/slp-vectorizer/merge-scalars.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/after-inlining.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/alloca-single-slice.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/arglist.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/complex.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/fail-fragment.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/frag-2.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/frag.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/id.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/memcpy.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/memmove-to-from-same-alloca.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/remove-redundant-dbg.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/rewrite.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/split-pre-fragmented-store-2.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/split-pre-fragmented-store.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/store.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/unspecified-var-size.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/user-memcpy.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/var-sized-fragment.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-1.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-2.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/track-assignments.ll
M llvm/test/DebugInfo/Generic/dbg-value-lower-linenos.ll
M llvm/test/DebugInfo/Generic/debug_value_list.ll
M llvm/test/DebugInfo/Generic/empty-metadata.ll
M llvm/test/DebugInfo/Generic/inline-alloca-ordering.ll
M llvm/test/DebugInfo/Generic/inline-dbg-values.ll
M llvm/test/DebugInfo/Generic/instcombine-replaced-select-with-operand.ll
M llvm/test/DebugInfo/Generic/ipsccp-remap-assign-id.ll
M llvm/test/DebugInfo/Generic/loop-deletion-inline-var.ll
M llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-1.ll
M llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-2.ll
M llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-3.ll
M llvm/test/DebugInfo/Generic/pr40628.ll
M llvm/test/DebugInfo/Generic/sroa-larger.ll
M llvm/test/DebugInfo/Generic/sroa-samesize.ll
M llvm/test/DebugInfo/Generic/volatile-alloca.ll
M llvm/test/DebugInfo/X86/LLVM_implicit_pointer.ll
M llvm/test/DebugInfo/X86/array2.ll
M llvm/test/DebugInfo/X86/codegenprep-addrsink.ll
M llvm/test/DebugInfo/X86/codegenprep-value.ll
M llvm/test/DebugInfo/X86/codegenprepare-rollback.ll
M llvm/test/DebugInfo/X86/dbg-value-dropped-instcombine.ll
M llvm/test/DebugInfo/X86/dead-store-elimination-marks-undef.ll
M llvm/test/DebugInfo/X86/formal_parameter.ll
M llvm/test/DebugInfo/X86/instcombine-demanded-bits-salvage.ll
M llvm/test/DebugInfo/X86/instcombine-fold-cast-into-phi.ll
M llvm/test/DebugInfo/X86/instcombine-instrinsics.ll
M llvm/test/DebugInfo/X86/licm-undef-dbg-value.ll
M llvm/test/DebugInfo/X86/mem2reg_fp80.ll
M llvm/test/DebugInfo/X86/sroa-after-inlining.ll
M llvm/test/DebugInfo/X86/sroasplit-1.ll
M llvm/test/DebugInfo/X86/sroasplit-2.ll
M llvm/test/DebugInfo/X86/sroasplit-3.ll
M llvm/test/DebugInfo/X86/sroasplit-4.ll
M llvm/test/DebugInfo/X86/sroasplit-dbg-declare.ll
M llvm/test/DebugInfo/assignment-tracking/X86/hotcoldsplit.ll
M llvm/test/DebugInfo/duplicate_dbgvalue.ll
M llvm/test/DebugInfo/instcombine-sink-latest-assignment.ll
M llvm/test/DebugInfo/salvage-cast-debug-info.ll
M llvm/test/DebugInfo/salvage-duplicate-values.ll
M llvm/test/DebugInfo/salvage-gep.ll
M llvm/test/DebugInfo/salvage-icmp.ll
M llvm/test/DebugInfo/salvage-limit-expr-size.ll
M llvm/test/DebugInfo/salvage-nonconst-binop.ll
M llvm/test/Instrumentation/AddressSanitizer/debug_info.ll
M llvm/test/Instrumentation/AddressSanitizer/local_stack_base.ll
M llvm/test/Instrumentation/HWAddressSanitizer/RISCV/alloca.ll
M llvm/test/Instrumentation/HWAddressSanitizer/alloca-uninteresting.ll
M llvm/test/Instrumentation/HWAddressSanitizer/alloca.ll
M llvm/test/Instrumentation/HWAddressSanitizer/dbg-assign-tag-offset.ll
M llvm/test/Instrumentation/HWAddressSanitizer/dbg-declare-tag-offset.ll
M llvm/test/Instrumentation/HWAddressSanitizer/dbg-value-tag-offset-nopad.ll
M llvm/test/Instrumentation/HWAddressSanitizer/dbg-value-tag-offset.ll
M llvm/test/Linker/DbgDeclare.ll
M llvm/test/Linker/debug-info-use-before-def.ll
M llvm/test/Transforms/ADCE/adce-salvage-dbg-value.ll
M llvm/test/Transforms/ADCE/debug-info-intrinsic.ll
M llvm/test/Transforms/AggressiveInstCombine/AArch64/combine_ignore_debug.ll
M llvm/test/Transforms/ArgumentPromotion/pr33641_remove_arg_dbgvalue.ll
M llvm/test/Transforms/Attributor/ArgumentPromotion/pr33641_remove_arg_dbgvalue.ll
M llvm/test/Transforms/BDCE/basic.ll
M llvm/test/Transforms/BDCE/dbg-multipleuses.ll
M llvm/test/Transforms/BDCE/pr26587.ll
M llvm/test/Transforms/BDCE/pr41925.ll
M llvm/test/Transforms/CallSiteSplitting/callsite-split-debug.ll
M llvm/test/Transforms/CallSiteSplitting/callsite-split-preserve-debug.ll
M llvm/test/Transforms/CodeExtractor/LoopExtractor_alloca.ll
M llvm/test/Transforms/CodeGenPrepare/X86/catchpad-phi-cast.ll
M llvm/test/Transforms/CodeGenPrepare/X86/cttz-ctlz.ll
M llvm/test/Transforms/CodeGenPrepare/X86/select.ll
M llvm/test/Transforms/CodeGenPrepare/debug-info-on-skipped-selects.ll
M llvm/test/Transforms/CodeGenPrepare/sink-shift-and-trunc.ll
M llvm/test/Transforms/Coroutines/coro-debug-O2.ll
M llvm/test/Transforms/Coroutines/coro-debug-coro-frame.ll
M llvm/test/Transforms/Coroutines/coro-debug-dbg.values-not_used_in_frame.ll
M llvm/test/Transforms/Coroutines/coro-debug-dbg.values.ll
M llvm/test/Transforms/Coroutines/coro-debug-frame-variable.ll
M llvm/test/Transforms/Coroutines/coro-debug-spill-dbg.declare.ll
M llvm/test/Transforms/Coroutines/coro-debug.ll
M llvm/test/Transforms/Coroutines/swift-async-dbg.ll
M llvm/test/Transforms/DCE/basic.ll
M llvm/test/Transforms/DCE/dbg-value-removal.ll
M llvm/test/Transforms/DeadArgElim/2010-04-30-DbgInfo.ll
M llvm/test/Transforms/DeadArgElim/dbginfo-preserve-dbgloc.ll
M llvm/test/Transforms/DeadArgElim/dbginfo-update-dbgval-local.ll
M llvm/test/Transforms/DeadArgElim/dbginfo-update-dbgval.ll
M llvm/test/Transforms/DeadStoreElimination/debuginfo.ll
M llvm/test/Transforms/EarlyCSE/debug-info-undef.ll
M llvm/test/Transforms/EarlyCSE/debuginfo-dce.ll
M llvm/test/Transforms/GVN/load-through-select-dbg.ll
M llvm/test/Transforms/GlobalOpt/deadglobal-diarglist-use.ll
M llvm/test/Transforms/GlobalOpt/localize-constexpr-debuginfo.ll
M llvm/test/Transforms/GlobalOpt/shrink-global-to-bool-check-debug.ll
M llvm/test/Transforms/HotColdSplit/split-out-dbg-label.ll
M llvm/test/Transforms/HotColdSplit/transfer-debug-info.ll
M llvm/test/Transforms/IROutliner/legal-debug.ll
M llvm/test/Transforms/IndVarSimplify/X86/indvar-debug-value.ll
M llvm/test/Transforms/IndVarSimplify/X86/indvar-debug-value2.ll
M llvm/test/Transforms/IndVarSimplify/X86/scev-phi-debug-info.ll
M llvm/test/Transforms/Inline/alloca-dbgdeclare.ll
M llvm/test/Transforms/Inline/inline_dbg_declare.ll
M llvm/test/Transforms/Inline/local-as-metadata-undominated-use.ll
M llvm/test/Transforms/InstCombine/alloca-cast-debuginfo.ll
M llvm/test/Transforms/InstCombine/assume.ll
M llvm/test/Transforms/InstCombine/cast-mul-select.ll
M llvm/test/Transforms/InstCombine/cast-set-preserve-signed-dbg-val.ll
M llvm/test/Transforms/InstCombine/consecutive-fences.ll
M llvm/test/Transforms/InstCombine/dbg-scalable-store-fixed-frag.ll
M llvm/test/Transforms/InstCombine/dbg-simplify-alloca-size.ll
M llvm/test/Transforms/InstCombine/debuginfo-dce.ll
M llvm/test/Transforms/InstCombine/debuginfo-dce2.ll
M llvm/test/Transforms/InstCombine/debuginfo-sink.ll
M llvm/test/Transforms/InstCombine/debuginfo-skip.ll
M llvm/test/Transforms/InstCombine/debuginfo-variables.ll
M llvm/test/Transforms/InstCombine/debuginfo.ll
M llvm/test/Transforms/InstCombine/debuginfo_add.ll
M llvm/test/Transforms/InstCombine/erase-dbg-values-at-dead-alloc-site.ll
M llvm/test/Transforms/InstCombine/lifetime-no-null-opt.ll
M llvm/test/Transforms/InstCombine/lifetime.ll
M llvm/test/Transforms/InstCombine/lower-dbg-declare.ll
M llvm/test/Transforms/InstCombine/pr43893.ll
M llvm/test/Transforms/InstCombine/salvage-dbg-declare.ll
M llvm/test/Transforms/InstCombine/sink-instruction-introduces-unnecessary-poison-value.ll
M llvm/test/Transforms/InstCombine/stacksave-debuginfo.ll
M llvm/test/Transforms/InstCombine/unavailable-debug.ll
M llvm/test/Transforms/JumpThreading/guard-split-debuginfo.ll
M llvm/test/Transforms/JumpThreading/redundant-dbg-info.ll
M llvm/test/Transforms/JumpThreading/thread-debug-info.ll
M llvm/test/Transforms/LCSSA/rewrite-existing-dbg-values.ll
M llvm/test/Transforms/LICM/dbg-value-sink.ll
M llvm/test/Transforms/LICM/debug-value.ll
M llvm/test/Transforms/LICM/sinking-debugify.ll
M llvm/test/Transforms/LoopDeletion/diundef.ll
M llvm/test/Transforms/LoopDeletion/over-defensive-undefing-dbg-values.ll
M llvm/test/Transforms/LoopIdiom/X86/arithmetic-right-shift-until-zero.ll
M llvm/test/Transforms/LoopIdiom/X86/left-shift-until-bittest.ll
M llvm/test/Transforms/LoopIdiom/X86/logical-right-shift-until-zero-debuginfo.ll
M llvm/test/Transforms/LoopIdiom/debug-line.ll
M llvm/test/Transforms/LoopIdiom/memcpy-debugify-remarks.ll
M llvm/test/Transforms/LoopIdiom/memset-debugify-remarks.ll
M llvm/test/Transforms/LoopRotate/call-prepare-for-lto.ll
M llvm/test/Transforms/LoopRotate/dbg-value-duplicates-2.ll
M llvm/test/Transforms/LoopRotate/dbg-value-duplicates.ll
M llvm/test/Transforms/LoopRotate/dbgvalue.ll
M llvm/test/Transforms/LoopRotate/delete-dbg-values.ll
M llvm/test/Transforms/LoopRotate/phi-dbgvalue.ll
M llvm/test/Transforms/LoopStrengthReduce/X86/lsr-cond-dbg.ll
M llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-0.ll
M llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-1.ll
M llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-2.ll
M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-0.ll
M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-1.ll
M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-2.ll
M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-3.ll
M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-4.ll
M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-5.ll
M llvm/test/Transforms/LoopStrengthReduce/pr51329.ll
M llvm/test/Transforms/LoopStrengthReduce/pr51656.ll
M llvm/test/Transforms/LoopStrengthReduce/pr52161.ll
M llvm/test/Transforms/LoopUnroll/debug-info.ll
M llvm/test/Transforms/LoopUnroll/runtime-epilog-debuginfo.ll
M llvm/test/Transforms/LoopUnroll/unroll-remove-redundant-dbg.ll
M llvm/test/Transforms/LoopVectorize/dbg-outer-loop-vect.ll
M llvm/test/Transforms/LoopVectorize/discriminator.ll
M llvm/test/Transforms/Mem2Reg/ConvertDebugInfo.ll
M llvm/test/Transforms/Mem2Reg/ConvertDebugInfo2.ll
M llvm/test/Transforms/Mem2Reg/dbg_declare_to_value_conversions.ll
M llvm/test/Transforms/Mem2Reg/debug-alloca-phi-2.ll
M llvm/test/Transforms/Mem2Reg/debug-alloca-phi.ll
M llvm/test/Transforms/Mem2Reg/debug-alloca-vla-1.ll
M llvm/test/Transforms/Mem2Reg/debug-alloca-vla-2.ll
M llvm/test/Transforms/MemCpyOpt/pr37967.ll
M llvm/test/Transforms/MergeFunc/mergefunc-preserve-debug-info.ll
M llvm/test/Transforms/MergeFunc/no-merge-debug-thunks.ll
M llvm/test/Transforms/ObjCARC/basic.ll
M llvm/test/Transforms/ObjCARC/ensure-that-exception-unwind-path-is-visited.ll
M llvm/test/Transforms/Reassociate/matching-binops.ll
M llvm/test/Transforms/Reassociate/reassociate_dbgvalue_discard.ll
M llvm/test/Transforms/Reassociate/reassociate_salvages_debug_info.ll
M llvm/test/Transforms/Reassociate/undef_intrinsics_when_deleting_instructions.ll
M llvm/test/Transforms/SCCP/loadtest.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/spillcost-di.ll
M llvm/test/Transforms/SLPVectorizer/X86/debug_info.ll
M llvm/test/Transforms/SLPVectorizer/X86/schedule_budget_debug_info.ll
M llvm/test/Transforms/SROA/alignment.ll
M llvm/test/Transforms/SROA/dbg-inline.ll
M llvm/test/Transforms/SROA/dbg-single-piece.ll
M llvm/test/Transforms/SROA/vector-promotion.ll
M llvm/test/Transforms/SafeStack/X86/debug-loc-dynamic.ll
M llvm/test/Transforms/SafeStack/X86/debug-loc.ll
M llvm/test/Transforms/SafeStack/X86/debug-loc2.ll
M llvm/test/Transforms/Scalarizer/dbginfo.ll
M llvm/test/Transforms/SimpleLoopUnswitch/debuginfo.ll
M llvm/test/Transforms/SimplifyCFG/X86/merge-compatible-invokes-of-landingpad-debuginfo.ll
M llvm/test/Transforms/SimplifyCFG/X86/pr39187-g.ll
M llvm/test/Transforms/SimplifyCFG/branch-fold-dbg.ll
M llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue-inlined.ll
M llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue.ll
M llvm/test/Transforms/SimplifyCFG/jump-threading-debuginfo.ll
M llvm/test/Transforms/SimplifyCFG/return-merge.ll
M llvm/test/Transforms/SimplifyCFG/speculate-dbgvalue.ll
M llvm/test/Transforms/SimplifyCFG/tail-merge-noreturn.ll
M llvm/test/Transforms/SpeculativeExecution/PR46267.ll
M llvm/test/Transforms/Util/Debugify/loc-only.ll
M llvm/test/Transforms/Util/dbg-call-bitcast.ll
M llvm/test/Transforms/Util/dbg-user-of-aext.ll
M llvm/test/Transforms/Util/salvage-debuginfo.ll
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll.funcsig.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll.funcsig.globals.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll.funcsig.noglobals.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll.funcsig.transitiveglobals.expected
M mlir/test/Dialect/LLVMIR/di-expression-legalization.mlir
M polly/test/CodeGen/debug-intrinsics.ll
Log Message:
-----------
[RemoveDIs] Print IR with debug records by default (#91724)
This patch makes the final major change of the RemoveDIs project, changing the
default IR output from debug intrinsics to debug records. This is expected to
break a large number of tests: every single one that tests for uses or
declarations of debug intrinsics and does not explicitly disable writing
records.
If this patch has broken your downstream tests (or upstream tests on a
configuration I wasn't able to run):
1. If you need to immediately unblock a build, pass
`--write-experimental-debuginfo=false` to LLVM's option processing for all
failing tests (remember to use `-mllvm` for clang/flang to forward arguments to
LLVM).
2. For most test failures, the changes are trivial and mechanical, enough that
they can be done by script; see the migration guide for a guide on how to do
this: https://llvm.org/docs/RemoveDIsDebugInfo.html#test-updates
3. If any tests fail for reasons other than FileCheck check lines that need
updating, such as assertion failures, that is most likely a real bug with this
patch and should be reported as such.
For more information, see the recent PSA:
https://discourse.llvm.org/t/psa-ir-output-changing-from-debug-intrinsics-to-debug-records/79578
Commit: 8e0ba08448d5935281e5afd007664d528dd672c4
https://github.com/llvm/llvm-project/commit/8e0ba08448d5935281e5afd007664d528dd672c4
Author: kadir çetinkaya <kadircet at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/lib/Lex/HeaderSearch.cpp
M clang/unittests/Lex/HeaderSearchTest.cpp
Log Message:
-----------
[clang][HeaderSearch] Fix handling of relative file-paths in suggestPathToFileForDiagnostics (#95121)
Normalize header-to-be-spelled using WorkingDir, similar to search paths
themselves.
Addresses https://github.com/llvm/llvm-project/issues/81215.
Commit: b1b7643f5e9da2f64f78e024da2db208f78e0c42
https://github.com/llvm/llvm-project/commit/b1b7643f5e9da2f64f78e024da2db208f78e0c42
Author: Angel Zhang <angel.zhang at amd.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
A mlir/test/mlir-vulkan-runner/vector-deinterleave.mlir
Log Message:
-----------
[mlir][spirv] Add integration test for `vector.deinterleave` (#95469)
This commit is dependent on #95313.
Commit: 43e6f46936e177e47de6627a74b047ba27561b44
https://github.com/llvm/llvm-project/commit/43e6f46936e177e47de6627a74b047ba27561b44
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Log Message:
-----------
[VPlan] Pre-compute cost for all instrs only feeding exit conditions.
This fixes the following buildbot failures after 90fd99c07957:
https://lab.llvm.org/buildbot/#/builders/17/builds/47
https://lab.llvm.org/buildbot/#/builders/168/builds/37
Commit: 597d2f7662c31cae4c8a54cc27e2ea12833380ea
https://github.com/llvm/llvm-project/commit/597d2f7662c31cae4c8a54cc27e2ea12833380ea
Author: Tim Gymnich <tim at gymni.ch>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M offload/plugins-nextgen/common/include/PluginInterface.h
M offload/plugins-nextgen/common/src/PluginInterface.cpp
A offload/test/offloading/high_trip_count_block_limit.cpp
M openmp/docs/design/Runtimes.rst
Log Message:
-----------
[OpenMP] Add Environment Variable to disable Reuse of Blocks for High Loop Trip Counts (#89239)
Sometimes it might be beneficial to spawn more thread blocks instead of
reusing existing for multiple loop iterations.
**Alternatives considered:**
Make `DefaultNumBlocks` settable via an environment variable.
---------
Co-authored-by: Joseph Huber <huberjn at outlook.com>
Commit: 7ad12a7c047a421400803eebae4cacc82b27be1d
https://github.com/llvm/llvm-project/commit/7ad12a7c047a421400803eebae4cacc82b27be1d
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/test/CodeGen/ARM/2011-11-29-128bitArithmetics.ll
M llvm/test/CodeGen/ARM/fp16-fullfp16.ll
M llvm/test/CodeGen/ARM/fp16-promote.ll
M llvm/test/CodeGen/ARM/vfloatintrinsics.ll
M llvm/test/CodeGen/Thumb2/float-intrinsics-double.ll
M llvm/test/CodeGen/Thumb2/float-intrinsics-float.ll
M llvm/test/CodeGen/Thumb2/mve-fmath.ll
Log Message:
-----------
[ARM] Add tan intrinsic lowering (#95439)
- `ARMISelLowering.cpp` - Add f16 type and neon and mve vector support
for tan
Commit: 0774000e3294849206aac4e18adf27286b17e217
https://github.com/llvm/llvm-project/commit/0774000e3294849206aac4e18adf27286b17e217
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmax.ll
M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmin.ll
M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-pointer-ops.ll
Log Message:
-----------
[AMDGPULowerBufferFatPointers] Fix offset-only ptrtoint (#95543)
For ptrtoint that truncates to the offset only, the expansion generated
a shift by the bit width, which is poison. Instead, we should return the
offset directly.
(The same problem exists for the constant expression case, but I plan to
address that separately, and more comprehensively.)
Commit: 153fca5d6a96686917f2046b01758920fcc2b714
https://github.com/llvm/llvm-project/commit/153fca5d6a96686917f2046b01758920fcc2b714
Author: Benjamin Chetioui <3920784+bchetioui at users.noreply.github.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][bzl] Fix broken BUILD due to typo in `CAPITransformsObjects` in BUILD.bazel.
Commit: 74fe1da01eb149a2234fc0f9570c84a08692e782
https://github.com/llvm/llvm-project/commit/74fe1da01eb149a2234fc0f9570c84a08692e782
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86MCInstLower.cpp
M llvm/test/CodeGen/X86/combine-mul.ll
M llvm/test/CodeGen/X86/combine-sdiv.ll
M llvm/test/CodeGen/X86/combine-udiv.ll
M llvm/test/CodeGen/X86/dagcombine-shifts.ll
M llvm/test/CodeGen/X86/dpbusd_const.ll
M llvm/test/CodeGen/X86/fold-int-pow2-with-fmul-or-fdiv.ll
M llvm/test/CodeGen/X86/freeze-binary.ll
M llvm/test/CodeGen/X86/gfni-funnel-shifts.ll
M llvm/test/CodeGen/X86/gfni-rotates.ll
M llvm/test/CodeGen/X86/gfni-shifts.ll
M llvm/test/CodeGen/X86/known-never-zero.ll
M llvm/test/CodeGen/X86/lower-vec-shift.ll
M llvm/test/CodeGen/X86/madd.ll
M llvm/test/CodeGen/X86/omit-urem-of-power-of-two-or-zero-when-comparing-with-zero.ll
M llvm/test/CodeGen/X86/pmul.ll
M llvm/test/CodeGen/X86/prefer-avx256-wide-mul.ll
M llvm/test/CodeGen/X86/rotate-extract-vector.ll
M llvm/test/CodeGen/X86/shrink_vmul.ll
M llvm/test/CodeGen/X86/slow-pmulld.ll
M llvm/test/CodeGen/X86/srem-seteq-vec-nonsplat.ll
M llvm/test/CodeGen/X86/srem-vector-lkk.ll
M llvm/test/CodeGen/X86/urem-seteq-vec-tautological.ll
M llvm/test/CodeGen/X86/urem-seteq.ll
M llvm/test/CodeGen/X86/urem-vector-lkk.ll
M llvm/test/CodeGen/X86/var-permute-128.ll
M llvm/test/CodeGen/X86/var-permute-256.ll
M llvm/test/CodeGen/X86/vec_shift6.ll
M llvm/test/CodeGen/X86/vector-fshl-128.ll
M llvm/test/CodeGen/X86/vector-fshl-256.ll
M llvm/test/CodeGen/X86/vector-fshl-rot-128.ll
M llvm/test/CodeGen/X86/vector-fshl-rot-256.ll
M llvm/test/CodeGen/X86/vector-fshr-128.ll
M llvm/test/CodeGen/X86/vector-fshr-256.ll
M llvm/test/CodeGen/X86/vector-fshr-rot-128.ll
M llvm/test/CodeGen/X86/vector-fshr-rot-256.ll
M llvm/test/CodeGen/X86/vector-idiv-sdiv-128.ll
M llvm/test/CodeGen/X86/vector-idiv-sdiv-256.ll
M llvm/test/CodeGen/X86/vector-idiv-sdiv-512.ll
M llvm/test/CodeGen/X86/vector-idiv-udiv-128.ll
M llvm/test/CodeGen/X86/vector-idiv-udiv-256.ll
M llvm/test/CodeGen/X86/vector-idiv-udiv-512.ll
M llvm/test/CodeGen/X86/vector-mul.ll
M llvm/test/CodeGen/X86/vector-rotate-128.ll
M llvm/test/CodeGen/X86/vector-rotate-256.ll
M llvm/test/CodeGen/X86/vector-shift-ashr-128.ll
M llvm/test/CodeGen/X86/vector-shift-ashr-256.ll
M llvm/test/CodeGen/X86/vector-shift-ashr-sub128.ll
M llvm/test/CodeGen/X86/vector-shift-lshr-128.ll
M llvm/test/CodeGen/X86/vector-shift-lshr-256.ll
M llvm/test/CodeGen/X86/vector-shift-lshr-sub128.ll
M llvm/test/CodeGen/X86/vector-shift-shl-128.ll
M llvm/test/CodeGen/X86/vector-shift-shl-256.ll
M llvm/test/CodeGen/X86/vector-shift-shl-sub128.ll
M llvm/test/CodeGen/X86/vector-trunc-math.ll
M llvm/test/CodeGen/X86/x86-shifts.ll
Log Message:
-----------
[MC][X86] addConstantComments - add mul vXi16 comments
Based on feedback from #95403 - we use multiply by constant for various lowerings (shifts, division etc.), so its very useful to printout the constants to help understand the transform involved.
vXi16 multiplies are the easiest to add for this initial commit, but we can add other arithmetic instructions as follow ups when the need arises (I intend to add PMADDUBSW handling for #95403 next).
I've done my best to update all test checks but there are bound to be ones that got missed that will only appear when the file is regenerated.
Commit: 9b7b1bee07ea583af7a90ed29634e3f9af22a284
https://github.com/llvm/llvm-project/commit/9b7b1bee07ea583af7a90ed29634e3f9af22a284
Author: Alexander Yermolovich <43973793+ayermolo at users.noreply.github.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/AccelTable.h
M llvm/include/llvm/DWARFLinker/Classic/DWARFLinkerCompileUnit.h
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerUnit.h
A llvm/test/DebugInfo/X86/debug-names-types-die-offset-collision.ll
Log Message:
-----------
[CLANG][DWARF] Handle DIE offset collision in DW_IDX_parent (#95339)
This fixes https://github.com/llvm/llvm-project/issues/93886. The UnitID
is not
unique between CUs and TUs. This led to DW_IDX_parent to point ot an
entry for a
DIE in CU if it had the same relative offset as TU die.
Added a IsTU to the hash for parent chain.
Commit: 0a57a20aa506c5a5a8b0a8eb45446d0747493d7c
https://github.com/llvm/llvm-project/commit/0a57a20aa506c5a5a8b0a8eb45446d0747493d7c
Author: Scott Egerton <9487234+ScottEgerton at users.noreply.github.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/VOPInstructions.td
Log Message:
-----------
[AMDGPU] NFC: Remove duplicate VOP_DPP_Pseudo TableGen definitions (#95370)
After recent changes, VOP_DPP_Pseudo now inherits from VOP_Pseudo.
This commit removes some on the duplicate definitions in
VOP_DPP_Pseudo that are exactly the same as definitions inherited from
VOP_Pseudo.
Commit: d462bf687548a5630f60a8afaa66120df8319e88
https://github.com/llvm/llvm-project/commit/d462bf687548a5630f60a8afaa66120df8319e88
Author: Rolf Morel <rolf.morel at huawei.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
M mlir/lib/Dialect/Transform/IR/TransformOps.cpp
M mlir/test/Dialect/Linalg/multisize-tiling-full.mlir
M mlir/test/Dialect/SCF/transform-loop-fuse-sibling.mlir
M mlir/test/Dialect/Transform/ops-invalid.mlir
M mlir/test/Dialect/Transform/ops.mlir
M mlir/test/Dialect/Transform/test-interpreter.mlir
Log Message:
-----------
[mlir][Transform] Extend transform.foreach to take multiple arguments (#93705)
Changes transform.foreach's interface to take multiple arguments, e.g.
transform.foreach %ops1, %ops2, %params : ... { ^bb0(%op1, %op2,
%param): BODY } The semantics are that the payloads for these handles
get iterated over as if the payloads have been zipped-up together - BODY
gets executed once for each such tuple. The documentation explains that
this implementation requires that the payloads have the same length.
This change also enables the target argument(s) to be any op/value/param
handle.
The added test cases demonstrate some use cases for this change.
Commit: 9afb09e674d6195faf09431dda8a3a08886ab27d
https://github.com/llvm/llvm-project/commit/9afb09e674d6195faf09431dda8a3a08886ab27d
Author: David Tenty <daltenty at ibm.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_fr_FR.pass.cpp
M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_zh_CN.pass.cpp
M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_fr_FR.pass.cpp
M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_zh_CN.pass.cpp
Log Message:
-----------
[libcxx][test][AIX] address more platform differences in locale tests (#94826)
This is a follow on to https://github.com/llvm/llvm-project/pull/92312,
where we address some more locale platform differences. These are:
- for locale fr_FR AIX libc expects `U202F` as `LC_MONETARY`
`thousands_sep`
- for locale zh_CN AIX libc `LC_MONETARY` has `n_sign_posn == 1`,
indicating the `negative_sign` should come before the `currency_symbol`
string
Commit: a5985ca51dd7e0759d65fac9cb2b6a4448ebc404
https://github.com/llvm/llvm-project/commit/a5985ca51dd7e0759d65fac9cb2b6a4448ebc404
Author: klensy <klensy at users.noreply.github.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M mlir/test/Analysis/test-liveness.mlir
M mlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir
M mlir/test/Conversion/MemRefToLLVM/convert-dynamic-memref-ops.mlir
M mlir/test/Conversion/NVGPUToNVVM/nvgpu-to-nvvm.mlir
M mlir/test/Dialect/AMX/roundtrip.mlir
M mlir/test/Dialect/Affine/loop-fusion-3.mlir
M mlir/test/Dialect/Affine/unroll.mlir
M mlir/test/Dialect/ArmSME/tile-allocation-liveness.mlir
M mlir/test/Dialect/Linalg/drop-unit-extent-dims.mlir
M mlir/test/Dialect/Linalg/fusion-elementwise-ops.mlir
M mlir/test/Dialect/Linalg/transform-ops.mlir
M mlir/test/Dialect/OpenMP/ops.mlir
M mlir/test/Dialect/SparseTensor/sparse_reshape.mlir
M mlir/test/Dialect/Tensor/canonicalize.mlir
M mlir/test/Dialect/Tosa/canonicalize.mlir
M mlir/test/Dialect/Tosa/tosa-infer-shapes.mlir
M mlir/test/Dialect/Vector/vector-dropleadunitdim-transforms.mlir
M mlir/test/IR/parser.mlir
M mlir/test/Target/LLVMIR/llvmir.mlir
M mlir/test/Target/LLVMIR/openmp-llvm.mlir
M mlir/test/Transforms/canonicalize.mlir
M mlir/test/mlir-cpu-runner/copy.mlir
M mlir/test/mlir-tblgen/bytecode-reserved.td
M mlir/test/python/ir/attributes.py
Log Message:
-----------
[mlir][test] Fix filecheck annotation typos [2/n] (#93476)
Few more fixes
previous: https://github.com/llvm/llvm-project/pull/92897 pr
Issues from https://github.com/llvm/llvm-project/issues/93154 unfixed.
---------
Co-authored-by: klensy <nightouser at gmail.com>
Commit: 2d9b6a01c7a77ee76a5c279901bca1659a550499
https://github.com/llvm/llvm-project/commit/2d9b6a01c7a77ee76a5c279901bca1659a550499
Author: Tobias Stadler <mail at stadler-tobias.de>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/CombinerInfo.h
M llvm/lib/CodeGen/GlobalISel/Combiner.cpp
M llvm/lib/Target/AArch64/GISel/AArch64O0PreLegalizerCombiner.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/localizer-arm64-tti.ll
Log Message:
-----------
[GlobalISel][AArch64] AArch64O0PreLegalizerCombiner: Disable fixed-point iteration (#94291)
This adds an option to CombinerInfo to limit the number of iterations in the
Combiner. This option is then used to disable fixed-point iteration for the
AArch64O0PreLegalizerCombiner. The combines there are simple enough that
code quality impact should be minimal with the current heuristics
(instructions are processed from top to bottom of the basic block,
new/changed instructions are added back to the worklist). Test changes
are due to some instructions not being DCE'd, which has no actual impact
because InstructionSelect performs DCE as well.
AArch64 CTMark O0:
-0.9% geomean compile-time (instruction count)
no change in size..text for any of the benchmarks
Commit: 180a536665127bded6c7ef1755e9dd0edfa8802f
https://github.com/llvm/llvm-project/commit/180a536665127bded6c7ef1755e9dd0edfa8802f
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/unittests/ProfileData/InstrProfTest.cpp
Log Message:
-----------
[ProfileData] Fix the order of tests (#95549)
Without this patch, we call getValueForSite before veryfing that we
have an expected number of value sites with getNumValueSites.
This patch fixes the order by "sinking" the call to getValueForSite.
While I am at it, this patch migrates the use of getValueForSite to
getValueArrayForSite.
Commit: bbe9119d9cb37662faafe7fe273e792b1b70145e
https://github.com/llvm/llvm-project/commit/bbe9119d9cb37662faafe7fe273e792b1b70145e
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/unittests/ProfileData/InstrProfTest.cpp
Log Message:
-----------
[ProfileData] Sink the length checks (#95559)
The new API getValueArrayForSite returns ArrayRef<InstrProfValueData>,
packaging the array length and contents together.
This patch sinks the array length checks just before we check the
contents. This way, we check both the array length and contents
immediately after calling getValueArrayForSite.
Commit: f3aceeee8a8c5fef107657dc6c4d558f3de99773
https://github.com/llvm/llvm-project/commit/f3aceeee8a8c5fef107657dc6c4d558f3de99773
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-14 (Fri, 14 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/FMA.h
M libc/src/__support/FPUtil/generic/CMakeLists.txt
M libc/src/__support/FPUtil/generic/FMA.h
M libc/src/__support/FPUtil/multiply_add.h
M libc/src/__support/big_int.h
M libc/src/math/CMakeLists.txt
A libc/src/math/f16fmaf.h
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/expm1f.cpp
A libc/src/math/generic/f16fmaf.cpp
M libc/src/math/generic/fma.cpp
M libc/src/math/generic/fmaf.cpp
M libc/src/math/generic/range_reduction_fma.h
M libc/test/src/math/CMakeLists.txt
M libc/test/src/math/FmaTest.h
A libc/test/src/math/f16fmaf_test.cpp
M libc/test/src/math/fma_test.cpp
M libc/test/src/math/fmaf_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/FmaTest.h
A libc/test/src/math/smoke/f16fmaf_test.cpp
M libc/test/src/math/smoke/fma_test.cpp
M libc/test/src/math/smoke/fmaf_test.cpp
M libc/utils/MPFRWrapper/MPFRUtils.cpp
M libc/utils/MPFRWrapper/MPFRUtils.h
Log Message:
-----------
[libc][math][c23] Add f16fmaf C23 math function (#95483)
Part of #93566.
Commit: 2ed2975e8bd9e9e1a0f376bded1dad627d5eab4e
https://github.com/llvm/llvm-project/commit/2ed2975e8bd9e9e1a0f376bded1dad627d5eab4e
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
A llvm/test/CodeGen/RISCV/rvv/vsplats-bf16.ll
Log Message:
-----------
[RISCV] Add isel patterns for bf16 riscv_vfmv_v_f_vl of FP constant.
We try not let bf16 splats through to isel, but constant folding
allows FP constants to get through. Thankfully we can handle those
using vmv.v.i or vmv.v.x.
Commit: a4f6b7dfa42bb3e129073704a5d9544f6618d222
https://github.com/llvm/llvm-project/commit/a4f6b7dfa42bb3e129073704a5d9544f6618d222
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M .ci/generate-buildkite-pipeline-premerge
Log Message:
-----------
[lldb] Stop testing LLDB on Clang changes in pre-commit CI (#95537)
This is a temporary measure to alleviate Linux pre-commit CI waiting
times that started snowballing
[recently](https://discourse.llvm.org/t/long-wait-for-linux-presubmit-testing/79547/5).
My [initial
estimate](https://github.com/llvm/llvm-project/pull/94208#issuecomment-2155972973)
of 4 additional minutes spent per built seems to be in the right
ballpark, but looks like that was the last straw to break camel's back.
It seems that CI load got past the tipping point, and now it's not able
to burn through the queue over the night on workdays.
I don't intend to overthrow the consensus we reached in #94208, but it
shouldn't come at the expense of the whole LLVM community. I'll enable
this back as soon as we have news that we got more capacity for Linux
pre-commit CI.
Commit: 2f5ec13761fa672cb39ff147d876c2604c08bcae
https://github.com/llvm/llvm-project/commit/2f5ec13761fa672cb39ff147d876c2604c08bcae
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
Log Message:
-----------
[Transforms] Migrate to a new version of getValueProfDataFromInst (#95442)
Note that the version of getValueProfDataFromInst that returns bool
has been "deprecated" since:
commit 1e15371dd8843dfc52b9435afaa133997c1773d8
Author: Mingming Liu <mingmingl at google.com>
Date: Mon Apr 1 15:14:49 2024 -0700
---------
Co-authored-by: Mingming Liu <minglotus6 at gmail.com>
Commit: c0cba5198155dba246ddd5764f57595d9bbbddef
https://github.com/llvm/llvm-project/commit/c0cba5198155dba246ddd5764f57595d9bbbddef
Author: Vijay Kandiah <vkandiah at nvidia.com>
Date: 2024-06-14 (Fri, 14 Jun 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/alloc.fir
M flang/test/Fir/boxproc.fir
M flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
M flang/test/Fir/convert-to-llvm.fir
M flang/test/Integration/OpenMP/copyprivate.f90
M flang/test/Transforms/debug-local-var-2.f90
Log Message:
-----------
[Flang] Hoisting constant-sized allocas at flang codegen. (#95310)
This change modifies the `AllocaOpConversion` in flang codegen to insert
constant-sized LLVM allocas at the entry block of `LLVMFuncOp` or
OpenACC/OpenMP Op, rather than in-place at the `fir.alloca`. This
effectively hoists constant-sized FIR allocas to the proper block.
When compiling the example subroutine below with `flang-new`, we get a
llvm.stacksave/stackrestore pair around a constant-sized `fir.alloca
i32`.
```
subroutine test(n)
block
integer :: n
print *, n
end block
end subroutine test
```
Without the proposed change, downstream LLVM compilation cannot hoist
this constant-sized alloca out of the stacksave/stackrestore region
which may lead to missed downstream optimizations:
```
*** IR Dump After Safe Stack instrumentation pass (safe-stack) ***
define void @test_(ptr %0) !dbg !3 {
%2 = call ptr @llvm.stacksave.p0(), !dbg !7
%3 = alloca i32, i64 1, align 4, !dbg !8
%4 = call ptr @_FortranAioBeginExternalListOutput(i32 6, ptr @_QQclX62c91d05f046c7a656e7978eb13f2821, i32 4), !dbg !9
%5 = load i32, ptr %3, align 4, !dbg !10, !tbaa !11
%6 = call i1 @_FortranAioOutputInteger32(ptr %4, i32 %5), !dbg !10
%7 = call i32 @_FortranAioEndIoStatement(ptr %4), !dbg !9
call void @llvm.stackrestore.p0(ptr %2), !dbg !15
ret void, !dbg !16
}
```
With this change, the `llvm.alloca` is already hoisted out of the
stacksave/stackrestore region during flang codegen:
```
// -----// IR Dump After FIRToLLVMLowering (fir-to-llvm-ir) //----- //
llvm.func @test_(%arg0: !llvm.ptr {fir.bindc_name = "n"}) attributes {fir.internal_name = "_QPtest"} {
%0 = llvm.mlir.constant(4 : i32) : i32
%1 = llvm.mlir.constant(1 : i64) : i64
%2 = llvm.alloca %1 x i32 {bindc_name = "n"} : (i64) -> !llvm.ptr
%3 = llvm.mlir.constant(6 : i32) : i32
%4 = llvm.mlir.undef : i1
%5 = llvm.call @llvm.stacksave.p0() {fastmathFlags = #llvm.fastmath<contract>} : () -> !llvm.ptr
%6 = llvm.mlir.addressof @_QQclX62c91d05f046c7a656e7978eb13f2821 : !llvm.ptr
%7 = llvm.call @_FortranAioBeginExternalListOutput(%3, %6, %0) {fastmathFlags = #llvm.fastmath<contract>} : (i32, !llvm.ptr, i32) -> !llvm.ptr
%8 = llvm.load %2 {tbaa = [#tbaa_tag]} : !llvm.ptr -> i32
%9 = llvm.call @_FortranAioOutputInteger32(%7, %8) {fastmathFlags = #llvm.fastmath<contract>} : (!llvm.ptr, i32) -> i1
%10 = llvm.call @_FortranAioEndIoStatement(%7) {fastmathFlags = #llvm.fastmath<contract>} : (!llvm.ptr) -> i32
llvm.call @llvm.stackrestore.p0(%5) {fastmathFlags = #llvm.fastmath<contract>} : (!llvm.ptr) -> ()
llvm.return
}
```
---------
Co-authored-by: Vijay Kandiah <vkandiah at sky6.pgi.net>
Commit: 8b9dce333f71bc21b3534e89a41e1ea8672aa063
https://github.com/llvm/llvm-project/commit/8b9dce333f71bc21b3534e89a41e1ea8672aa063
Author: Haowei <haowei at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M libcxx/include/__chrono/exception.h
Log Message:
-----------
[libc++] Add default copy ctor to "__chrono/exception.h" (#95338)
After PR#90394, "__chrono/exception.h" will trigger
"deprecated-copy-with-user-provided-dtor" warning on Windows x64 runtime
testing with ToT Clang. This patch addresses this issue by explicitly
adding those default copy ctors.
It is a bit weird that the same warning will not happen when testing on
Linux x64 under the same condition, despite the warning flag was enabled
(with `-Wdeprecated-copy -Wdeprecated-copy-dtor`). It might be a bug.
Commit: f808abf508a6b890b40fc2594ea36ce896bb1f37
https://github.com/llvm/llvm-project/commit/f808abf508a6b890b40fc2594ea36ce896bb1f37
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCCodeView.h
M llvm/include/llvm/MC/MCContext.h
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCCodeView.cpp
M llvm/lib/MC/MCContext.cpp
M llvm/lib/MC/MCELFStreamer.cpp
M llvm/lib/MC/MCMachOStreamer.cpp
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/MC/MCPseudoProbe.cpp
M llvm/lib/MC/MCWinCOFFStreamer.cpp
M llvm/lib/MC/WinCOFFObjectWriter.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
Log Message:
-----------
[MC] Add MCFragment allocation helpers
`allocFragment` might be changed to a placement new when the allocation
strategy changes.
`allocInitialFragment` is to deduplicate the following pattern
```
auto *F = new MCDataFragment();
Result->addFragment(*F);
F->setParent(Result);
```
Pull Request: https://github.com/llvm/llvm-project/pull/95197
Commit: c7b32341e9f885cc7e6ba4b2ff017f748a6f76ee
https://github.com/llvm/llvm-project/commit/c7b32341e9f885cc7e6ba4b2ff017f748a6f76ee
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
A .github/workflows/libcxx-restart-preempted-jobs.yaml
R .github/workflows/restart-preempted-libcxx-jobs.yaml
Log Message:
-----------
[libc++] Rename workflow that restarts preempted jobs
All the libc++ workflows start with `libcxx-`, so use that prefix for
this job as well. Also, remove trailing whitespace from the yaml file.
Commit: f0c7be26645719e8daff995c1524ec5aa4fceef7
https://github.com/llvm/llvm-project/commit/f0c7be26645719e8daff995c1524ec5aa4fceef7
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M .ci/generate-buildkite-pipeline-premerge
M .github/workflows/docs.yml
M .github/workflows/libclang-python-tests.yml
M .github/workflows/libcxx-build-and-test.yaml
A .github/workflows/libcxx-restart-preempted-jobs.yaml
M .github/workflows/llvm-project-tests.yml
M .github/workflows/pr-code-format.yml
M .github/workflows/release-documentation.yml
M .github/workflows/release-doxygen.yml
R .github/workflows/restart-preempted-libcxx-jobs.yaml
M bolt/lib/Rewrite/LinuxKernelRewriter.cpp
M clang-tools-extra/clang-tidy/cppcoreguidelines/MacroUsageCheck.cpp
M clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp
M clang-tools-extra/clangd/TidyProvider.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/macro-usage.rst
M clang-tools-extra/include-cleaner/lib/IncludeSpeller.cpp
M clang-tools-extra/include-cleaner/unittests/IncludeSpellerTest.cpp
M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/macro-usage.cpp
M clang/bindings/python/clang/cindex.py
A clang/bindings/python/tests/cindex/test_enums.py
M clang/cmake/caches/Fuchsia-stage2.cmake
M clang/docs/APINotes.rst
M clang/docs/ReleaseNotes.rst
M clang/docs/SourceBasedCodeCoverage.rst
M clang/docs/UsersManual.rst
M clang/docs/analyzer/checkers.rst
M clang/include/clang/AST/ASTContext.h
M clang/include/clang/AST/TemplateName.h
M clang/include/clang/AST/Type.h
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/SourceManager.h
M clang/include/clang/Driver/Options.td
M clang/include/clang/Frontend/FrontendOptions.h
M clang/include/clang/InstallAPI/DylibVerifier.h
M clang/include/clang/Lex/Preprocessor.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
M clang/include/clang/Testing/TestAST.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/ASTStructuralEquivalence.cpp
M clang/lib/AST/ExprConstant.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/MicrosoftMangle.cpp
M clang/lib/AST/TemplateName.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/Basic/SourceManager.cpp
M clang/lib/Basic/Targets/OSTargets.h
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CGCleanup.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/CodeGen/CodeGenPGO.cpp
M clang/lib/CodeGen/CoverageMappingGen.cpp
M clang/lib/CodeGen/MCDCState.h
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Driver/ToolChains/Darwin.cpp
M clang/lib/Driver/ToolChains/Linux.cpp
M clang/lib/Driver/ToolChains/MSVC.cpp
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/InstallAPI/Visitor.cpp
M clang/lib/Lex/HeaderSearch.cpp
M clang/lib/Lex/Lexer.cpp
M clang/lib/Lex/Preprocessor.cpp
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaInit.cpp
M clang/lib/Sema/SemaOverload.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/ASTWriterStmt.cpp
M clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
R clang/lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp
M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
M clang/lib/StaticAnalyzer/Core/MemRegion.cpp
M clang/lib/Testing/TestAST.cpp
M clang/test/AST/Interp/cxx11.cpp
M clang/test/AST/Interp/opencl.cl
M clang/test/AST/Interp/records.cpp
M clang/test/AST/Interp/references.cpp
M clang/test/AST/Interp/vectors.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-using-template.cpp
M clang/test/Analysis/Inputs/system-header-simulator-for-simple-stream.h
A clang/test/Analysis/fread.c
R clang/test/Analysis/sizeofpointer.c
M clang/test/C/drs/dr1xx.c
M clang/test/CodeGen/2010-07-08-DeclDebugLineNo.c
M clang/test/CodeGen/aarch64-targetattr-arch.c
M clang/test/CodeGen/aarch64_neon_sve_bridge_intrinsics/target.c
M clang/test/CodeGen/assignment-tracking/assignment-tracking.cpp
M clang/test/CodeGen/assignment-tracking/memcpy-fragment.cpp
M clang/test/CodeGen/assignment-tracking/nested-scope.cpp
M clang/test/CodeGen/attr-error.c
M clang/test/CodeGen/attr-nodebug.c
M clang/test/CodeGen/attr-warning.c
M clang/test/CodeGen/debug-info-block-decl.c
M clang/test/CodeGen/debug-info-block-expr.c
M clang/test/CodeGen/debug-info-block-vars.c
M clang/test/CodeGen/debug-info-matrix-types.c
M clang/test/CodeGen/debug-info-vla.c
M clang/test/CodeGen/debug-label-inline.c
M clang/test/CodeGen/debug-label.c
M clang/test/CodeGen/instrument-objc-method.m
M clang/test/CodeGenCUDA/debug-info-address-class.cu
M clang/test/CodeGenCUDA/managed-var.cu
M clang/test/CodeGenCXX/2011-12-19-init-list-ctor.cpp
M clang/test/CodeGenCXX/aarch64-mangle-sve-vectors.cpp
M clang/test/CodeGenCXX/attr-likelihood-if-vs-builtin-expect.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
M clang/test/CodeGenCXX/debug-info-inheriting-constructor.cpp
M clang/test/CodeGenCXX/debug-info-nrvo.cpp
M clang/test/CodeGenCXX/debug-info-range-for-var-names.cpp
M clang/test/CodeGenCXX/debug-info-structured-binding-bitfield.cpp
M clang/test/CodeGenCXX/debug-info-structured-binding.cpp
M clang/test/CodeGenCXX/debug-info.cpp
M clang/test/CodeGenCXX/linetable-eh.cpp
M clang/test/CodeGenCXX/ms-inline-asm-fields.cpp
M clang/test/CodeGenCXX/trivial_abi_debuginfo.cpp
M clang/test/CodeGenObjC/2010-02-09-DbgSelf.m
M clang/test/CodeGenObjC/debug-info-blocks.m
M clang/test/CodeGenObjC/debug-info-nested-blocks.m
M clang/test/CodeGenObjC/objc-fixed-enum.m
M clang/test/CodeGenObjCXX/property-objects.mm
M clang/test/CodeGenOpenCL/amdgpu-debug-info-variable-expression.cl
M clang/test/CodeGenSYCL/debug-info-kernel-variables.cpp
M clang/test/CoverageMapping/branch-constfolded.cpp
M clang/test/CoverageMapping/logical.cpp
M clang/test/CoverageMapping/mcdc-class.cpp
M clang/test/CoverageMapping/mcdc-error-conditions.cpp
M clang/test/CoverageMapping/mcdc-logical-scalar-ids.cpp
M clang/test/CoverageMapping/mcdc-logical-stmt-ids-all.cpp
M clang/test/CoverageMapping/mcdc-logical-stmt-ids.cpp
M clang/test/CoverageMapping/mcdc-scratch-space.c
M clang/test/CoverageMapping/mcdc-system-headers.cpp
M clang/test/Driver/aarch64-mcpu.c
M clang/test/Driver/cl-options.c
M clang/test/Driver/debug-options.c
M clang/test/Driver/defsym.s
M clang/test/Driver/spirv-toolchain.cl
M clang/test/Driver/warning-options.cpp
M clang/test/Lexer/cxx2c-raw-strings.cpp
A clang/test/Misc/cc1as-defsym.s
M clang/test/Misc/target-invalid-cpu-note.c
A clang/test/Modules/safe_buffers_optout.cpp
M clang/test/OpenMP/debug-info-complex-byval.cpp
M clang/test/OpenMP/debug-info-openmp-array.cpp
M clang/test/OpenMP/debug_private.c
M clang/test/OpenMP/debug_task_shared.c
M clang/test/OpenMP/debug_threadprivate_copyin.c
M clang/test/OpenMP/irbuilder_nested_parallel_for.c
M clang/test/OpenMP/nested_loop_codegen.cpp
M clang/test/OpenMP/parallel_codegen.cpp
M clang/test/OpenMP/target_parallel_debug_codegen.cpp
M clang/test/OpenMP/target_parallel_for_debug_codegen.cpp
M clang/test/OpenMP/target_parallel_generic_loop_codegen-3.cpp
M clang/test/OpenMP/taskgroup_task_reduction_codegen.cpp
M clang/test/OpenMP/threadprivate_codegen.cpp
A clang/test/PCH/unsafe-buffer-usage-pragma-pch-complex.cpp
A clang/test/PCH/unsafe-buffer-usage-pragma-pch-cross-files-2.cpp
A clang/test/PCH/unsafe-buffer-usage-pragma-pch-cross-files.cpp
M clang/test/Preprocessor/init-x86.c
M clang/test/Preprocessor/init.c
M clang/test/Preprocessor/riscv-target-features.c
M clang/test/Profile/c-mcdc-class.cpp
M clang/test/Profile/c-mcdc-logicalop-ternary.c
M clang/test/Profile/c-mcdc-nested-ternary.c
M clang/test/Profile/c-mcdc-not.c
M clang/test/Profile/c-mcdc.c
M clang/test/Sema/aarch64-sme2-sve2p1-diagnostics.c
M clang/test/Sema/arm-sve-target.cpp
A clang/test/Sema/debug-93066.cpp
M clang/test/Sema/exprs.c
M clang/test/Sema/va_arg_x86_32.c
M clang/test/SemaCXX/cxx0x-initializer-references.cpp
A clang/test/SemaCXX/warn-unsafe-buffer-usage-pragma-pch.cpp
M clang/test/SemaObjCXX/sel-address.mm
M clang/test/SemaTemplate/deduction-guide.cpp
M clang/tools/driver/cc1as_main.cpp
M clang/unittests/AST/CMakeLists.txt
A clang/unittests/AST/ProfilingTest.cpp
M clang/unittests/AST/StructuralEquivalenceTest.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
M clang/unittests/Lex/HeaderSearchTest.cpp
M clang/www/analyzer/alpha_checks.html
M clang/www/cxx_dr_status.html
M compiler-rt/lib/builtins/CMakeLists.txt
M compiler-rt/lib/builtins/aarch64/sme-abi-vg.c
M compiler-rt/lib/builtins/atomic.c
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/android.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/apple.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/freebsd.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/fuchsia.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/mrs.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/sysauxv.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/hwcap.inc
M compiler-rt/lib/dfsan/dfsan_custom.cpp
M compiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
M compiler-rt/lib/gwp_asan/optional/segv_handler_posix.cpp
M compiler-rt/lib/gwp_asan/tests/harness.cpp
M compiler-rt/lib/gwp_asan/tests/harness.h
M compiler-rt/lib/gwp_asan/tests/late_init.cpp
M compiler-rt/lib/hwasan/hwasan_linux.cpp
M compiler-rt/test/dfsan/custom.cpp
M compiler-rt/test/dfsan/sscanf.c
A compiler-rt/test/hwasan/TestCases/hwasan_symbolize_stack_uas.cpp
M compiler-rt/test/orc/TestCases/Linux/ppc64/trivial-tls-pwr10.test
M compiler-rt/test/profile/ContinuousSyncMode/image-with-mcdc.c
M flang/docs/Directives.md
M flang/examples/FlangOmpReport/yaml_summarizer.py
M flang/include/flang/Lower/PFTBuilder.h
M flang/include/flang/Lower/Support/Utils.h
M flang/include/flang/Optimizer/Builder/Runtime/RTBuilder.h
M flang/include/flang/Optimizer/CodeGen/FIROpPatterns.h
M flang/include/flang/Optimizer/Dialect/CUF/CUFOps.td
M flang/include/flang/Optimizer/Dialect/FIROps.h
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/include/flang/Parser/dump-parse-tree.h
M flang/include/flang/Parser/parse-tree.h
M flang/include/flang/Parser/provenance.h
M flang/include/flang/Parser/token-sequence.h
M flang/include/flang/Runtime/inquiry.h
M flang/include/flang/Runtime/reduce.h
M flang/lib/Evaluate/intrinsics.cpp
M flang/lib/Frontend/CMakeLists.txt
M flang/lib/Frontend/FrontendActions.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/ConvertCall.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/OpenMP.cpp
M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
M flang/lib/Lower/PFTBuilder.cpp
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/Builder/Runtime/Reduction.cpp
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/CodeGen/FIROpPatterns.cpp
M flang/lib/Optimizer/Dialect/CUF/CUFOps.cpp
M flang/lib/Optimizer/Transforms/AssumedRankOpConversion.cpp
M flang/lib/Optimizer/Transforms/ControlFlowConverter.cpp
M flang/lib/Parser/Fortran-parsers.cpp
M flang/lib/Parser/expr-parsers.cpp
M flang/lib/Parser/prescan.cpp
M flang/lib/Parser/prescan.h
M flang/lib/Parser/program-parsers.cpp
M flang/lib/Parser/provenance.cpp
M flang/lib/Parser/token-parsers.h
M flang/lib/Parser/token-sequence.cpp
M flang/lib/Parser/unparse.cpp
M flang/lib/Semantics/CMakeLists.txt
A flang/lib/Semantics/canonicalize-directives.cpp
A flang/lib/Semantics/canonicalize-directives.h
M flang/lib/Semantics/check-omp-structure.cpp
M flang/lib/Semantics/resolve-names.cpp
M flang/lib/Semantics/semantics.cpp
M flang/runtime/complex-reduction.c
M flang/runtime/complex-reduction.h
M flang/runtime/inquiry.cpp
M flang/runtime/reduce.cpp
M flang/test/Analysis/AliasAnalysis/alias-analysis-9.fir
M flang/test/Driver/mllvm_vs_mmlir.f90
M flang/test/Fir/alloc.fir
M flang/test/Fir/boxproc.fir
M flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
M flang/test/Fir/convert-to-llvm.fir
M flang/test/Fir/rebox_assumed_rank_codegen.fir
A flang/test/Fir/vector-always-cfg.fir
A flang/test/Fir/vector-always.fir
M flang/test/Integration/OpenMP/copyprivate.f90
A flang/test/Integration/vector-always.f90
A flang/test/Lower/CUDA/cuda-kernel-do-reduction.cuf
A flang/test/Lower/HLFIR/assumed-rank-calls.f90
M flang/test/Lower/HLFIR/assumed-rank-inquiries-3.f90
M flang/test/Lower/Intrinsics/reduce.f90
M flang/test/Lower/Intrinsics/ubound01.f90
M flang/test/Lower/OpenMP/Todo/reduction-derived-type-field.f90
A flang/test/Lower/OpenMP/distribute.f90
M flang/test/Lower/OpenMP/if-clause.f90
R flang/test/Lower/OpenMP/loop-combined.f90
A flang/test/Lower/OpenMP/loop-compound.f90
A flang/test/Lower/OpenMP/parallel-reduction-pointer-array.f90
M flang/test/Lower/OpenMP/simd.f90
A flang/test/Lower/OpenMP/simd_aarch64.f90
A flang/test/Lower/OpenMP/simd_x86_64.f90
A flang/test/Lower/OpenMP/wsloop-reduction-pointer.f90
A flang/test/Lower/pre-fir-tree09.f90
A flang/test/Lower/vector-always.f90
M flang/test/Parser/compiler-directives.f90
A flang/test/Parser/recovery01.f90
A flang/test/Parser/recovery02.f90
M flang/test/Preprocessing/directive-contin-with-pp.F90
A flang/test/Preprocessing/ff-args.h
A flang/test/Preprocessing/ff-include-args.F
M flang/test/Semantics/OpenMP/reduction09.f90
A flang/test/Semantics/OpenMP/reduction14.f90
A flang/test/Semantics/loop-directives.f90
M flang/test/Semantics/null01.f90
M flang/test/Transforms/debug-local-var-2.f90
M flang/unittests/Runtime/Inquiry.cpp
M flang/unittests/Runtime/Reduction.cpp
M libc/cmake/modules/LLVMLibCTestRules.cmake
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/riscv/entrypoints.txt
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/include/llvm-libc-macros/limits-macros.h
M libc/spec/stdc.td
M libc/src/__support/FPUtil/FMA.h
M libc/src/__support/FPUtil/generic/CMakeLists.txt
M libc/src/__support/FPUtil/generic/FMA.h
M libc/src/__support/FPUtil/generic/sqrt.h
M libc/src/__support/FPUtil/multiply_add.h
M libc/src/__support/FPUtil/x86_64/FEnvImpl.h
M libc/src/__support/big_int.h
M libc/src/__support/fixedvector.h
M libc/src/__support/macros/attributes.h
M libc/src/__support/threads/linux/CMakeLists.txt
M libc/src/math/CMakeLists.txt
A libc/src/math/f16fmaf.h
A libc/src/math/f16sqrtf.h
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/acosf.cpp
M libc/src/math/generic/acoshf.cpp
M libc/src/math/generic/asinf.cpp
M libc/src/math/generic/asinhf.cpp
M libc/src/math/generic/expm1f.cpp
A libc/src/math/generic/f16fmaf.cpp
A libc/src/math/generic/f16sqrtf.cpp
M libc/src/math/generic/fma.cpp
M libc/src/math/generic/fmaf.cpp
M libc/src/math/generic/hypotf.cpp
M libc/src/math/generic/powf.cpp
M libc/src/math/generic/range_reduction_fma.h
M libc/src/math/generic/sqrt.cpp
M libc/src/math/generic/sqrtf.cpp
M libc/src/math/generic/sqrtf128.cpp
M libc/src/math/generic/sqrtl.cpp
M libc/src/stdio/CMakeLists.txt
M libc/src/stdio/baremetal/CMakeLists.txt
M libc/src/stdio/baremetal/printf.cpp
A libc/src/stdio/baremetal/putchar.cpp
A libc/src/stdio/baremetal/vprintf.cpp
M libc/src/stdio/printf_core/float_hex_converter.h
M libc/src/stdlib/CMakeLists.txt
M libc/src/stdlib/freelist.h
A libc/src/stdlib/freelist_heap.h
M libc/test/IntegrationTest/CMakeLists.txt
M libc/test/IntegrationTest/test.cpp
M libc/test/UnitTest/CMakeLists.txt
M libc/test/UnitTest/HermeticTestUtils.cpp
M libc/test/src/__support/str_to_float_comparison_test.cpp
M libc/test/src/math/CMakeLists.txt
M libc/test/src/math/FmaTest.h
M libc/test/src/math/exhaustive/CMakeLists.txt
M libc/test/src/math/exhaustive/exhaustive_test.h
A libc/test/src/math/exhaustive/f16sqrtf_test.cpp
A libc/test/src/math/f16fmaf_test.cpp
M libc/test/src/math/fma_test.cpp
M libc/test/src/math/fmaf_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/FmaTest.h
M libc/test/src/math/smoke/SqrtTest.h
A libc/test/src/math/smoke/f16fmaf_test.cpp
A libc/test/src/math/smoke/f16sqrtf_test.cpp
M libc/test/src/math/smoke/fma_test.cpp
M libc/test/src/math/smoke/fmaf_test.cpp
M libc/test/src/stdfix/ISqrtTest.h
M libc/test/src/stdfix/SqrtTest.h
M libc/test/src/stdlib/CMakeLists.txt
A libc/test/src/stdlib/freelist_heap_test.cpp
M libc/utils/MPFRWrapper/CMakeLists.txt
M libc/utils/MPFRWrapper/MPFRUtils.cpp
M libc/utils/MPFRWrapper/MPFRUtils.h
M libcxx/benchmarks/algorithms/pstl.stable_sort.bench.cpp
M libcxx/cmake/caches/Generic-msan.cmake
M libcxx/docs/FeatureTestMacroTable.rst
M libcxx/docs/Status/Cxx20Papers.csv
M libcxx/docs/Status/Cxx23Papers.csv
M libcxx/include/CMakeLists.txt
M libcxx/include/__algorithm/pstl.h
R libcxx/include/__algorithm/pstl_frontend_dispatch.h
M libcxx/include/__atomic/atomic_sync.h
M libcxx/include/__chrono/exception.h
M libcxx/include/__numeric/pstl.h
A libcxx/include/__pstl/backend.h
A libcxx/include/__pstl/backend_fwd.h
A libcxx/include/__pstl/backends/default.h
M libcxx/include/__pstl/backends/libdispatch.h
M libcxx/include/__pstl/backends/serial.h
M libcxx/include/__pstl/backends/std_thread.h
R libcxx/include/__pstl/configuration.h
R libcxx/include/__pstl/configuration_fwd.h
M libcxx/include/__pstl/cpu_algos/any_of.h
M libcxx/include/__pstl/cpu_algos/fill.h
M libcxx/include/__pstl/cpu_algos/find_if.h
M libcxx/include/__pstl/cpu_algos/for_each.h
M libcxx/include/__pstl/cpu_algos/merge.h
M libcxx/include/__pstl/cpu_algos/stable_sort.h
M libcxx/include/__pstl/cpu_algos/transform.h
M libcxx/include/__pstl/cpu_algos/transform_reduce.h
A libcxx/include/__pstl/dispatch.h
A libcxx/include/__pstl/handle_exception.h
M libcxx/include/barrier
M libcxx/include/module.modulemap
M libcxx/include/version
M libcxx/src/atomic.cpp
M libcxx/src/barrier.cpp
M libcxx/src/filesystem/operations.cpp
M libcxx/test/libcxx/algorithms/pstl.iterator-requirements.verify.cpp
R libcxx/test/libcxx/algorithms/pstl.robust_against_customization_points_not_working.pass.cpp
M libcxx/test/libcxx/transitive_includes/cxx17.csv
M libcxx/test/libcxx/transitive_includes/cxx20.csv
M libcxx/test/libcxx/transitive_includes/cxx23.csv
M libcxx/test/libcxx/transitive_includes/cxx26.csv
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/weakly_canonical.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/compare.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_fr_FR.pass.cpp
M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_zh_CN.pass.cpp
M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_fr_FR.pass.cpp
M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_zh_CN.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.local_time.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/sys_info.zdump.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.char.funsigned-char.pass.cpp
M libcxx/utils/ci/docker-compose.yml
M libcxx/utils/generate_feature_test_macro_components.py
M lld/ELF/Arch/LoongArch.cpp
M lld/ELF/InputSection.cpp
M lld/ELF/Relocations.cpp
M lld/ELF/Relocations.h
M lld/MachO/ObjC.cpp
M lld/MachO/ObjC.h
M lld/MachO/SyntheticSections.cpp
A lld/test/ELF/loongarch-tlsdesc-gd-mixed.s
A lld/test/ELF/loongarch-tlsdesc.s
M lld/test/MachO/arm64-reloc-pointer-to-got.s
M lld/test/MachO/compact-unwind-both-local-and-dylib-personality.s
M lld/test/MachO/compact-unwind.s
M lld/test/MachO/dead-strip.s
M lld/test/MachO/invalid/compact-unwind-personalities.s
M lld/test/MachO/objc-category-merging-minimal.s
M lld/test/wasm/data-segments.ll
M lldb/include/lldb/Core/ValueObject.h
M lldb/include/lldb/Expression/DWARFExpressionList.h
M lldb/include/lldb/Target/MemoryTagManager.h
M lldb/include/lldb/Utility/ConstString.h
M lldb/include/lldb/Utility/RegularExpression.h
M lldb/include/lldb/Utility/Scalar.h
M lldb/include/lldb/lldb-enumerations.h
M lldb/packages/Python/lldbsuite/test/decorators.py
M lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
M lldb/source/API/SBTarget.cpp
M lldb/source/API/SBValue.cpp
M lldb/source/Core/ValueObject.cpp
M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp
M lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
M lldb/source/Utility/RegularExpression.cpp
M lldb/test/API/CMakeLists.txt
M lldb/test/API/commands/target/basic/Makefile
M lldb/test/API/lang/c/global_variables/Makefile
M lldb/test/API/lang/cpp/char8_t/Makefile
M lldb/test/API/lang/cpp/class_static/TestStaticVariables.py
M lldb/test/API/macosx/delay-init-dependency/TestDelayInitDependency.py
M lldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py
M lldb/test/API/tools/lldb-server/memory-tagging/TestGdbRemoteMemoryTagging.py
A lldb/test/Shell/Expr/Inputs/objc-cast.cpp
A lldb/test/Shell/Expr/TestObjCIDCast.test
M lldb/test/Shell/SymbolFile/DWARF/x86/DW_AT_data_bit_offset-DW_OP_stack_value.s
M lldb/test/Shell/helper/build.py
M lldb/unittests/SymbolFile/DWARF/DWARFDIETest.cpp
M lldb/unittests/Utility/ConstStringTest.cpp
M llvm/docs/BranchWeightMetadata.rst
M llvm/docs/CoverageMappingFormat.rst
M llvm/docs/LangRef.rst
M llvm/docs/RISCVUsage.rst
M llvm/docs/ReleaseNotes.rst
M llvm/docs/Security.rst
M llvm/include/llvm-c/Core.h
M llvm/include/llvm/ADT/APFloat.h
A llvm/include/llvm/ADT/DynamicAPInt.h
A llvm/include/llvm/ADT/SlowDynamicAPInt.h
M llvm/include/llvm/Analysis/ValueTracking.h
M llvm/include/llvm/AsmParser/LLParser.h
M llvm/include/llvm/CodeGen/AccelTable.h
M llvm/include/llvm/CodeGen/GlobalISel/CombinerInfo.h
M llvm/include/llvm/CodeGen/LiveRegUnits.h
M llvm/include/llvm/CodeGen/MIRFormatter.h
M llvm/include/llvm/CodeGen/MachineDominators.h
M llvm/include/llvm/CodeGen/MachinePipeliner.h
M llvm/include/llvm/CodeGen/MachinePostDominators.h
M llvm/include/llvm/CodeGen/SDPatternMatch.h
M llvm/include/llvm/CodeGen/SelectionDAGNodes.h
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/include/llvm/CodeGen/TargetSubtargetInfo.h
A llvm/include/llvm/CodeGen/WindowScheduler.h
M llvm/include/llvm/CodeGenTypes/MachineValueType.h
M llvm/include/llvm/DWARFLinker/Classic/DWARFLinkerCompileUnit.h
M llvm/include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h
M llvm/include/llvm/IR/ConstantFold.h
M llvm/include/llvm/IR/DiagnosticInfo.h
M llvm/include/llvm/IR/IntrinsicInst.h
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/include/llvm/IR/MDBuilder.h
M llvm/include/llvm/IR/ProfDataUtils.h
M llvm/include/llvm/IR/ReplaceConstant.h
M llvm/include/llvm/InitializePasses.h
M llvm/include/llvm/MC/MCAsmInfo.h
M llvm/include/llvm/MC/MCCodeView.h
M llvm/include/llvm/MC/MCContext.h
M llvm/include/llvm/MC/MCFragment.h
M llvm/include/llvm/MC/MCRegisterInfo.h
M llvm/include/llvm/MC/MCSection.h
M llvm/include/llvm/MC/MCSectionMachO.h
M llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h
M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/include/llvm/Support/Error.h
M llvm/include/llvm/Support/KnownBits.h
M llvm/include/llvm/Support/raw_socket_stream.h
M llvm/include/llvm/Target/TargetSelectionDAG.td
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
M llvm/lib/CodeGen/AtomicExpandPass.cpp
M llvm/lib/CodeGen/CMakeLists.txt
M llvm/lib/CodeGen/CodeGen.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/ExpandLargeFpConvert.cpp
M llvm/lib/CodeGen/GlobalISel/Combiner.cpp
M llvm/lib/CodeGen/InitUndef.cpp
M llvm/lib/CodeGen/LLVMTargetMachine.cpp
M llvm/lib/CodeGen/MIRSampleProfile.cpp
M llvm/lib/CodeGen/MachineBlockPlacement.cpp
M llvm/lib/CodeGen/MachineDominators.cpp
M llvm/lib/CodeGen/MachineLICM.cpp
M llvm/lib/CodeGen/MachineModuleInfo.cpp
M llvm/lib/CodeGen/MachinePipeliner.cpp
M llvm/lib/CodeGen/MachinePostDominators.cpp
M llvm/lib/CodeGen/MachineRegionInfo.cpp
M llvm/lib/CodeGen/MachineRegisterInfo.cpp
M llvm/lib/CodeGen/MachineSink.cpp
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.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/SelectionDAG/StatepointLowering.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/CodeGen/ShrinkWrap.cpp
A llvm/lib/CodeGen/WindowScheduler.cpp
M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerUnit.h
M llvm/lib/FileCheck/FileCheck.cpp
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/lib/IR/Constants.cpp
M llvm/lib/IR/DebugInfo.cpp
M llvm/lib/IR/DebugProgramInstruction.cpp
M llvm/lib/IR/DiagnosticInfo.cpp
M llvm/lib/IR/Function.cpp
M llvm/lib/IR/IRPrintingPasses.cpp
M llvm/lib/IR/Instruction.cpp
M llvm/lib/IR/Instructions.cpp
M llvm/lib/IR/MDBuilder.cpp
M llvm/lib/IR/Metadata.cpp
M llvm/lib/IR/Module.cpp
M llvm/lib/IR/ProfDataUtils.cpp
M llvm/lib/IR/ReplaceConstant.cpp
M llvm/lib/IR/Verifier.cpp
M llvm/lib/LTO/LTOBackend.cpp
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCCodeView.cpp
M llvm/lib/MC/MCContext.cpp
M llvm/lib/MC/MCELFStreamer.cpp
M llvm/lib/MC/MCFragment.cpp
M llvm/lib/MC/MCMachOStreamer.cpp
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/MC/MCPseudoProbe.cpp
M llvm/lib/MC/MCRegisterInfo.cpp
M llvm/lib/MC/MCSection.cpp
M llvm/lib/MC/MCSectionMachO.cpp
M llvm/lib/MC/MCTargetOptionsCommandFlags.cpp
M llvm/lib/MC/MCWinCOFFStreamer.cpp
M llvm/lib/MC/WinCOFFObjectWriter.cpp
M llvm/lib/Passes/StandardInstrumentations.cpp
M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
M llvm/lib/ProfileData/InstrProf.cpp
M llvm/lib/ProfileData/InstrProfWriter.cpp
M llvm/lib/Support/APFloat.cpp
M llvm/lib/Support/BLAKE3/blake3.c
M llvm/lib/Support/CMakeLists.txt
A llvm/lib/Support/DynamicAPInt.cpp
M llvm/lib/Support/Error.cpp
M llvm/lib/Support/KnownBits.cpp
A llvm/lib/Support/SlowDynamicAPInt.cpp
M llvm/lib/Support/VirtualFileSystem.cpp
M llvm/lib/Support/raw_socket_stream.cpp
M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/lib/Target/AArch64/AArch64InstrFormats.td
M llvm/lib/Target/AArch64/AArch64InstrGISel.td
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
M llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.cpp
M llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
M llvm/lib/Target/AArch64/AArch64Processors.td
M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
M llvm/lib/Target/AArch64/AArch64Subtarget.cpp
M llvm/lib/Target/AArch64/AArch64Subtarget.h
M llvm/lib/Target/AArch64/GISel/AArch64O0PreLegalizerCombiner.cpp
M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.h
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
M llvm/lib/Target/AMDGPU/AMDGPUGlobalISelDivergenceLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
M llvm/lib/Target/AMDGPU/AMDGPUInsertSingleUseVDST.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/DSInstructions.td
M llvm/lib/Target/AMDGPU/EvergreenInstructions.td
M llvm/lib/Target/AMDGPU/FLATInstructions.td
M llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
M llvm/lib/Target/AMDGPU/GCNSchedStrategy.h
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/R600InstPrinter.cpp
M llvm/lib/Target/AMDGPU/R600MachineCFGStructurizer.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/lib/Target/AMDGPU/SILowerI1Copies.cpp
M llvm/lib/Target/AMDGPU/SIPreAllocateWWMRegs.cpp
M llvm/lib/Target/AMDGPU/SIRegisterInfo.td
M llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
A llvm/lib/Target/AMDGPU/Utils/AMDGPUDelayedMCExpr.cpp
A llvm/lib/Target/AMDGPU/Utils/AMDGPUDelayedMCExpr.h
M llvm/lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.h
M llvm/lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.cpp
M llvm/lib/Target/AMDGPU/Utils/CMakeLists.txt
A llvm/lib/Target/AMDGPU/Utils/SIDefinesUtils.h
M llvm/lib/Target/AMDGPU/VOP1Instructions.td
M llvm/lib/Target/AMDGPU/VOP2Instructions.td
M llvm/lib/Target/AMDGPU/VOP3Instructions.td
M llvm/lib/Target/AMDGPU/VOP3PInstructions.td
M llvm/lib/Target/AMDGPU/VOPCInstructions.td
M llvm/lib/Target/AMDGPU/VOPInstructions.td
M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/ARM/ARMSubtarget.cpp
M llvm/lib/Target/AVR/AVRInstrInfo.td
M llvm/lib/Target/BPF/BPFInstrInfo.td
M llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
M llvm/lib/Target/Hexagon/HexagonSubtarget.cpp
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.cpp
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.h
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
M llvm/lib/Target/M68k/M68kInstrAtomics.td
M llvm/lib/Target/Mips/Mips64InstrInfo.td
M llvm/lib/Target/Mips/MipsInstrInfo.td
M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
M llvm/lib/Target/PowerPC/PPCBranchCoalescing.cpp
M llvm/lib/Target/PowerPC/PPCInstr64Bit.td
M llvm/lib/Target/PowerPC/PPCInstrInfo.td
M llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
M llvm/lib/Target/PowerPC/PPCSubtarget.cpp
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoA.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
M llvm/lib/Target/RISCV/RISCVInstrInfoZa.td
M llvm/lib/Target/RISCV/RISCVMachineFunctionInfo.h
M llvm/lib/Target/RISCV/RISCVSubtarget.cpp
M llvm/lib/Target/RISCV/RISCVSystemOperands.td
M llvm/lib/Target/SPIRV/Analysis/SPIRVConvergenceRegionAnalysis.cpp
M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
M llvm/lib/Target/SPIRV/SPIRVMergeRegionExitTargets.cpp
M llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
M llvm/lib/Target/Sparc/SparcInstr64Bit.td
M llvm/lib/Target/Sparc/SparcInstrInfo.td
M llvm/lib/Target/SystemZ/SystemZInstrInfo.td
M llvm/lib/Target/VE/VEInstrInfo.td
M llvm/lib/Target/WebAssembly/WebAssemblyInstrAtomics.td
M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
M llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
M llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
M llvm/lib/Target/X86/X86FastPreTileConfig.cpp
M llvm/lib/Target/X86/X86FastTileConfig.cpp
M llvm/lib/Target/X86/X86FlagsCopyLowering.cpp
M llvm/lib/Target/X86/X86FrameLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86InstrCompiler.td
M llvm/lib/Target/X86/X86InstrInfo.cpp
M llvm/lib/Target/X86/X86InstrMisc.td
M llvm/lib/Target/X86/X86MCInstLower.cpp
M llvm/lib/Target/X86/X86MachineFunctionInfo.h
M llvm/lib/Target/X86/X86PreTileConfig.cpp
M llvm/lib/Target/X86/X86TileConfig.cpp
M llvm/lib/TargetParser/Host.cpp
M llvm/lib/TargetParser/RISCVISAInfo.cpp
M llvm/lib/TextAPI/Utils.cpp
M llvm/lib/Transforms/IPO/Attributor.cpp
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/lib/Transforms/IPO/FunctionImport.cpp
M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
M llvm/lib/Transforms/IPO/SampleProfile.cpp
M llvm/lib/Transforms/IPO/SampleProfileProbe.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/lib/Transforms/Instrumentation/CGProfile.cpp
M llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
M llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
M llvm/lib/Transforms/Scalar/JumpThreading.cpp
M llvm/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
M llvm/lib/Transforms/Scalar/SROA.cpp
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/lib/Transforms/Utils/Local.cpp
M llvm/lib/Transforms/Utils/LoopPeel.cpp
M llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
M llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
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/VPlanRecipes.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/lib/Transforms/Vectorize/VPlanValue.h
M llvm/test/Assembler/2010-02-05-FunctionLocalMetadataBecomesNull.ll
M llvm/test/Assembler/debug-label-bitcode.ll
M llvm/test/Bitcode/DIExpression-aggresult.ll
M llvm/test/Bitcode/constexpr-to-instr-metadata-2.ll
M llvm/test/Bitcode/constexpr-to-instr-metadata.ll
M llvm/test/Bitcode/dbg-label-record-bc.ll
M llvm/test/Bitcode/upgrade-dbg-addr.ll
M llvm/test/Bitcode/upgrade-dbg-value.ll
M llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-lse2_lse128.ll
M llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-v8_1a.ll
M llvm/test/CodeGen/AArch64/Atomics/aarch64_be-atomicrmw-lse2_lse128.ll
M llvm/test/CodeGen/AArch64/Atomics/aarch64_be-atomicrmw-v8_1a.ll
M llvm/test/CodeGen/AArch64/GlobalISel/arm64-atomic-128.ll
M llvm/test/CodeGen/AArch64/GlobalISel/localizer-arm64-tti.ll
M llvm/test/CodeGen/AArch64/GlobalISel/regbank-fp-use-def.mir
M llvm/test/CodeGen/AArch64/GlobalISel/regbankselect-fp-loads.mir
M llvm/test/CodeGen/AArch64/aarch64-interleaved-access-w-undef.ll
M llvm/test/CodeGen/AArch64/aarch64-known-bits-hadd.ll
M llvm/test/CodeGen/AArch64/aarch64-neon-vector-insert-uaddlv.ll
M llvm/test/CodeGen/AArch64/aarch64-sysreg128.ll
M llvm/test/CodeGen/AArch64/arm64-atomic-128.ll
M llvm/test/CodeGen/AArch64/arm64-dup.ll
M llvm/test/CodeGen/AArch64/arm64-indexed-vector-ldst.ll
M llvm/test/CodeGen/AArch64/arm64-ld1.ll
M llvm/test/CodeGen/AArch64/arm64-neon-copy.ll
M llvm/test/CodeGen/AArch64/arm64-neon-copyPhysReg-tuple.ll
M llvm/test/CodeGen/AArch64/arm64-tbl.ll
M llvm/test/CodeGen/AArch64/arm64-vhadd.ll
M llvm/test/CodeGen/AArch64/arm64-zip.ll
M llvm/test/CodeGen/AArch64/atomicrmw-xchg-fp.ll
A llvm/test/CodeGen/AArch64/avg.ll
M llvm/test/CodeGen/AArch64/bf16-shuffle.ll
M llvm/test/CodeGen/AArch64/build-vector-two-dup.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-multiuses.ll
M llvm/test/CodeGen/AArch64/dbg-declare-swift-async.ll
M llvm/test/CodeGen/AArch64/extract-vector-elt.ll
M llvm/test/CodeGen/AArch64/fp-conversion-to-tbl.ll
M llvm/test/CodeGen/AArch64/fptoi.ll
M llvm/test/CodeGen/AArch64/fptosi-sat-vector.ll
M llvm/test/CodeGen/AArch64/fptoui-sat-vector.ll
M llvm/test/CodeGen/AArch64/insert-subvector.ll
M llvm/test/CodeGen/AArch64/lower-range-metadata-func-call.ll
M llvm/test/CodeGen/AArch64/neon-bitwise-instructions.ll
M llvm/test/CodeGen/AArch64/neon-extracttruncate.ll
M llvm/test/CodeGen/AArch64/neon-reverseshuffle.ll
M llvm/test/CodeGen/AArch64/neon-widen-shuffle.ll
A llvm/test/CodeGen/AArch64/outlining-with-streaming-mode-changes.ll
M llvm/test/CodeGen/AArch64/seqpairspill.mir
M llvm/test/CodeGen/AArch64/shuffle-tbl34.ll
M llvm/test/CodeGen/AArch64/shuffles.ll
M llvm/test/CodeGen/AArch64/shufflevector.ll
M llvm/test/CodeGen/AArch64/sme-call-streaming-compatible-to-normal-fn-wihout-sme-attr.ll
M llvm/test/CodeGen/AArch64/sme-disable-gisel-fisel.ll
M llvm/test/CodeGen/AArch64/sme-lazy-save-call.ll
M llvm/test/CodeGen/AArch64/sme-pstate-sm-changing-call-disable-coalescing.ll
M llvm/test/CodeGen/AArch64/sme-streaming-body-streaming-compatible-interface.ll
M llvm/test/CodeGen/AArch64/sme-streaming-body.ll
M llvm/test/CodeGen/AArch64/sme-streaming-compatible-interface.ll
M llvm/test/CodeGen/AArch64/sme-streaming-interface.ll
M llvm/test/CodeGen/AArch64/sme-streaming-mode-changing-call-disable-stackslot-scavenging.ll
A llvm/test/CodeGen/AArch64/sme-vg-to-stack.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-add-sub-za16.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-add.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-cvtn.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-fmlas.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-fp-dots.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-insert-mova.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-int-dots.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-max.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-min.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-mlall.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-mlals.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-rshl.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-select-sme-tileslice.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-sqdmulh.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-sub.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-vdot.ll
M llvm/test/CodeGen/AArch64/stack-tagging-dbg-assign-tag-offset.ll
M llvm/test/CodeGen/AArch64/stack-tagging-dbg-declare-tag-offset.ll
M llvm/test/CodeGen/AArch64/stack-tagging-dbg-value-tag-offset-nopad.ll
M llvm/test/CodeGen/AArch64/stack-tagging-dbg-value-tag-offset.ll
M llvm/test/CodeGen/AArch64/stack-tagging-dbg.ll
M llvm/test/CodeGen/AArch64/streaming-compatible-memory-ops.ll
M llvm/test/CodeGen/AArch64/sve-fixed-length-shuffles.ll
M llvm/test/CodeGen/AArch64/sve-hadd.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-stN-reg-imm-addr-mode.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-stN-reg-reg-addr-mode.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-stores.ll
M llvm/test/CodeGen/AArch64/sve-merging-stores.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ld2-alloca.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-shuffle.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-perm-tb.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-bfclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-fclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-multivec-stores.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-sclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-selx4.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-stores.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-uclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-uzpx4.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-while-pp.ll
M llvm/test/CodeGen/AArch64/swift-error-unreachable-use.ll
M llvm/test/CodeGen/AArch64/tbl-loops.ll
M llvm/test/CodeGen/AArch64/trunc-to-tbl.ll
M llvm/test/CodeGen/AArch64/vldn_shuffle.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.set.inactive.ll
M llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-sincos.ll
M llvm/test/CodeGen/AMDGPU/amdpal-es.ll
M llvm/test/CodeGen/AMDGPU/amdpal-gs.ll
M llvm/test/CodeGen/AMDGPU/amdpal-hs.ll
M llvm/test/CodeGen/AMDGPU/amdpal-ls.ll
M llvm/test/CodeGen/AMDGPU/amdpal-vs.ll
A llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
A llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmax.ll
A llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmin.ll
A llvm/test/CodeGen/AMDGPU/buffer-intrinsic-mmo-type.ll
M llvm/test/CodeGen/AMDGPU/extract-load-i1.ll
M llvm/test/CodeGen/AMDGPU/extract_vector_dynelt.ll
M llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fadd.ll
A llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmax.ll
A llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmin.ll
A llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fsub.ll
A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd-wrong-subtarget.ll
A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmax.ll
A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmin.ll
A llvm/test/CodeGen/AMDGPU/global-atomicrmw-fsub.ll
R llvm/test/CodeGen/AMDGPU/global-atomics-fp.ll
M llvm/test/CodeGen/AMDGPU/insert-singleuse-vdst.mir
M llvm/test/CodeGen/AMDGPU/integer-mad-patterns.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.load.bf16.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.load.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.store.bf16.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.store.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.set.inactive.ll
A llvm/test/CodeGen/AMDGPU/local-atomicrmw-fadd.ll
A llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmax.ll
A llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll
A llvm/test/CodeGen/AMDGPU/local-atomicrmw-fsub.ll
R llvm/test/CodeGen/AMDGPU/local-atomics-fp.ll
M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-pointer-ops.ll
M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-unoptimized-debug-data.ll
M llvm/test/CodeGen/AMDGPU/ptrmask.ll
M llvm/test/CodeGen/AMDGPU/reassoc-mul-add-1-to-mad.ll
M llvm/test/CodeGen/AMDGPU/si-annotate-dbg-info.ll
M llvm/test/CodeGen/AMDGPU/wqm.ll
M llvm/test/CodeGen/ARM/2011-11-29-128bitArithmetics.ll
M llvm/test/CodeGen/ARM/constant-island-movwt.mir
M llvm/test/CodeGen/ARM/fp16-fullfp16.ll
M llvm/test/CodeGen/ARM/fp16-promote.ll
A llvm/test/CodeGen/ARM/machine-outliner-no-candidates-without-stack-fixup.ll
M llvm/test/CodeGen/ARM/regcoal-invalid-subrange-update.mir
M llvm/test/CodeGen/ARM/vfloatintrinsics.ll
M llvm/test/CodeGen/BPF/preserve-static-offset/load-arr-pai.ll
M llvm/test/CodeGen/BPF/preserve-static-offset/load-ptr-pai.ll
M llvm/test/CodeGen/BPF/preserve-static-offset/load-struct-pai.ll
M llvm/test/CodeGen/BPF/preserve-static-offset/load-union-pai.ll
M llvm/test/CodeGen/BPF/preserve-static-offset/store-pai.ll
M llvm/test/CodeGen/Generic/MIRDebugify/locations-and-values.mir
M llvm/test/CodeGen/Generic/MIRStripDebug/dont-strip-real-debug-info.mir
M llvm/test/CodeGen/Hexagon/bit-gen-rseq.ll
M llvm/test/CodeGen/Hexagon/regalloc-bad-undef.mir
A llvm/test/CodeGen/Hexagon/swp-ws-dead-def.mir
A llvm/test/CodeGen/Hexagon/swp-ws-exp-dbg.mir
A llvm/test/CodeGen/Hexagon/swp-ws-exp.mir
A llvm/test/CodeGen/Hexagon/swp-ws-fail-0.mir
A llvm/test/CodeGen/Hexagon/swp-ws-fail-1.mir
A llvm/test/CodeGen/Hexagon/swp-ws-fail-2.mir
A llvm/test/CodeGen/Hexagon/swp-ws-meta-instr.mir
A llvm/test/CodeGen/Hexagon/swp-ws-sqrt.mir
M llvm/test/CodeGen/Hexagon/verify-liveness-at-def.mir
M llvm/test/CodeGen/LoongArch/calling-conv-lp64d.ll
M llvm/test/CodeGen/LoongArch/calling-conv-lp64s.ll
M llvm/test/CodeGen/LoongArch/can-not-realign-stack.ll
A llvm/test/CodeGen/LoongArch/emutls.ll
M llvm/test/CodeGen/LoongArch/ir-instruction/atomicrmw-fp.ll
M llvm/test/CodeGen/LoongArch/jump-table.ll
M llvm/test/CodeGen/LoongArch/register-coalescer-crash-pr79718.mir
M llvm/test/CodeGen/LoongArch/sextw-removal.ll
M llvm/test/CodeGen/LoongArch/vararg.ll
M llvm/test/CodeGen/PowerPC/atomics-i128-ldst.ll
M llvm/test/CodeGen/PowerPC/atomics-i128.ll
A llvm/test/CodeGen/PowerPC/merge-private.ll
M llvm/test/CodeGen/PowerPC/mma-outer-product.ll
M llvm/test/CodeGen/PowerPC/ppc64-acc-regalloc.ll
M llvm/test/CodeGen/PowerPC/subreg-killed.mir
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/CodeGen/RISCV/early-clobber-tied-def-subreg-liveness.ll
A llvm/test/CodeGen/RISCV/pr95271.ll
A llvm/test/CodeGen/RISCV/pr95284.ll
M llvm/test/CodeGen/RISCV/regalloc-last-chance-recoloring-failure.ll
A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-select-bf16.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-select-fp.ll
A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vpmerge-bf16.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vpmerge.ll
A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vselect-vp-bf16.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vselect-vp.ll
A llvm/test/CodeGen/RISCV/rvv/select-bf16.ll
M llvm/test/CodeGen/RISCV/rvv/select-fp.ll
M llvm/test/CodeGen/RISCV/rvv/subregister-undef-early-clobber.mir
M llvm/test/CodeGen/RISCV/rvv/undef-earlyclobber-chain.ll
M llvm/test/CodeGen/RISCV/rvv/undef-earlyclobber-chain.mir
M llvm/test/CodeGen/RISCV/rvv/vfmv.v.f.ll
A llvm/test/CodeGen/RISCV/rvv/vpmerge-sdnode-bf16.ll
M llvm/test/CodeGen/RISCV/rvv/vpmerge-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/vrgatherei16-subreg-liveness.ll
A llvm/test/CodeGen/RISCV/rvv/vselect-bf16.ll
M llvm/test/CodeGen/RISCV/rvv/vselect-fp.ll
A llvm/test/CodeGen/RISCV/rvv/vselect-vp-bf16.ll
M llvm/test/CodeGen/RISCV/rvv/vselect-vp.ll
A llvm/test/CodeGen/RISCV/rvv/vsplats-bf16.ll
A llvm/test/CodeGen/SPIRV/keep-tracked-const.ll
M llvm/test/CodeGen/SPIRV/transcoding/OpGroupAllAny.ll
M llvm/test/CodeGen/SPIRV/transcoding/group_ops.ll
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/spillingmove.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/subreg-liveness.mir
M llvm/test/CodeGen/Thumb2/float-intrinsics-double.ll
M llvm/test/CodeGen/Thumb2/float-intrinsics-float.ll
M llvm/test/CodeGen/Thumb2/mve-fmath.ll
M llvm/test/CodeGen/Thumb2/mve-laneinterleaving.ll
M llvm/test/CodeGen/X86/AMX/amx-greedy-ra.ll
M llvm/test/CodeGen/X86/apx/shift-eflags.ll
M llvm/test/CodeGen/X86/asm-label.ll
M llvm/test/CodeGen/X86/avg.ll
A llvm/test/CodeGen/X86/avgceils-scalar.ll
M llvm/test/CodeGen/X86/avgceils.ll
A llvm/test/CodeGen/X86/avgceilu-scalar.ll
M llvm/test/CodeGen/X86/avgceilu.ll
A llvm/test/CodeGen/X86/avgfloors-scalar.ll
M llvm/test/CodeGen/X86/avgfloors.ll
A llvm/test/CodeGen/X86/avgflooru-scalar.ll
M llvm/test/CodeGen/X86/avgflooru.ll
M llvm/test/CodeGen/X86/combine-mul.ll
M llvm/test/CodeGen/X86/combine-sdiv.ll
M llvm/test/CodeGen/X86/combine-udiv.ll
M llvm/test/CodeGen/X86/dagcombine-shifts.ll
M llvm/test/CodeGen/X86/dpbusd_const.ll
M llvm/test/CodeGen/X86/fast-isel-dbg-value-alloca.ll
M llvm/test/CodeGen/X86/fold-int-pow2-with-fmul-or-fdiv.ll
M llvm/test/CodeGen/X86/freeze-binary.ll
M llvm/test/CodeGen/X86/gfni-funnel-shifts.ll
M llvm/test/CodeGen/X86/gfni-rotates.ll
M llvm/test/CodeGen/X86/gfni-shifts.ll
A llvm/test/CodeGen/X86/issue64826-switferror-eh.ll
M llvm/test/CodeGen/X86/known-never-zero.ll
A llvm/test/CodeGen/X86/legalize-ins-ext-vec-elt.ll
M llvm/test/CodeGen/X86/legalize-vec-assertzext.ll
M llvm/test/CodeGen/X86/lower-vec-shift.ll
M llvm/test/CodeGen/X86/madd.ll
A llvm/test/CodeGen/X86/memfold-mov32r0.ll
M llvm/test/CodeGen/X86/merge-consecutive-stores-nt.ll
M llvm/test/CodeGen/X86/min-legal-vector-width.ll
M llvm/test/CodeGen/X86/omit-urem-of-power-of-two-or-zero-when-comparing-with-zero.ll
M llvm/test/CodeGen/X86/pmul.ll
M llvm/test/CodeGen/X86/pr38763.ll
A llvm/test/CodeGen/X86/pr95274.ll
A llvm/test/CodeGen/X86/pr95278.ll
M llvm/test/CodeGen/X86/prefer-avx256-wide-mul.ll
M llvm/test/CodeGen/X86/rotate-extract-vector.ll
M llvm/test/CodeGen/X86/select-optimize.ll
M llvm/test/CodeGen/X86/shift-eflags.ll
M llvm/test/CodeGen/X86/shrink_vmul.ll
M llvm/test/CodeGen/X86/slow-pmulld.ll
M llvm/test/CodeGen/X86/srem-seteq-vec-nonsplat.ll
M llvm/test/CodeGen/X86/srem-vector-lkk.ll
M llvm/test/CodeGen/X86/statepoint-invoke.ll
M llvm/test/CodeGen/X86/statepoint-spill-lowering.ll
M llvm/test/CodeGen/X86/urem-seteq-vec-tautological.ll
M llvm/test/CodeGen/X86/urem-seteq.ll
M llvm/test/CodeGen/X86/urem-vector-lkk.ll
M llvm/test/CodeGen/X86/var-permute-128.ll
M llvm/test/CodeGen/X86/var-permute-256.ll
M llvm/test/CodeGen/X86/vec_shift6.ll
M llvm/test/CodeGen/X86/vector-fshl-128.ll
M llvm/test/CodeGen/X86/vector-fshl-256.ll
M llvm/test/CodeGen/X86/vector-fshl-rot-128.ll
M llvm/test/CodeGen/X86/vector-fshl-rot-256.ll
M llvm/test/CodeGen/X86/vector-fshr-128.ll
M llvm/test/CodeGen/X86/vector-fshr-256.ll
M llvm/test/CodeGen/X86/vector-fshr-rot-128.ll
M llvm/test/CodeGen/X86/vector-fshr-rot-256.ll
M llvm/test/CodeGen/X86/vector-idiv-sdiv-128.ll
M llvm/test/CodeGen/X86/vector-idiv-sdiv-256.ll
M llvm/test/CodeGen/X86/vector-idiv-sdiv-512.ll
M llvm/test/CodeGen/X86/vector-idiv-udiv-128.ll
M llvm/test/CodeGen/X86/vector-idiv-udiv-256.ll
M llvm/test/CodeGen/X86/vector-idiv-udiv-512.ll
M llvm/test/CodeGen/X86/vector-mul.ll
M llvm/test/CodeGen/X86/vector-rotate-128.ll
M llvm/test/CodeGen/X86/vector-rotate-256.ll
M llvm/test/CodeGen/X86/vector-shift-ashr-128.ll
M llvm/test/CodeGen/X86/vector-shift-ashr-256.ll
M llvm/test/CodeGen/X86/vector-shift-ashr-sub128.ll
M llvm/test/CodeGen/X86/vector-shift-lshr-128.ll
M llvm/test/CodeGen/X86/vector-shift-lshr-256.ll
M llvm/test/CodeGen/X86/vector-shift-lshr-sub128.ll
M llvm/test/CodeGen/X86/vector-shift-shl-128.ll
M llvm/test/CodeGen/X86/vector-shift-shl-256.ll
M llvm/test/CodeGen/X86/vector-shift-shl-sub128.ll
M llvm/test/CodeGen/X86/vector-trunc-math.ll
M llvm/test/CodeGen/X86/x86-shifts.ll
M llvm/test/DebugInfo/AArch64/ir-outliner.ll
M llvm/test/DebugInfo/AArch64/select-optimize-trailing-dbg-records.ll
M llvm/test/DebugInfo/ARM/hardware-loop-phi-insertion.ll
M llvm/test/DebugInfo/ARM/lowerbdgdeclare_vla.ll
M llvm/test/DebugInfo/ARM/salvage-debug-info.ll
M llvm/test/DebugInfo/ARM/sroa-complex.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/adce/no-delete.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/codegenprepare/sunk-addr.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/hwasan.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/long-double-x87.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/nullptr-declare.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/scalable-vector.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/structured-bindings.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/var-not-alloca-sized.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/vla.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/dse/dse-after-memcpyopt-merge.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/dse/shorten-offset.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/dse/shorten.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/inline/id.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/inline/inline-stores.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/inline/shared-alloca.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/inline/use-before-def.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/do-not-remove-redundant-dbg.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/memset.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/remove-redundant-dbg.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/sink-store.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/sink.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/store-new-type.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/storemerge.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/licm/merge.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/licm/multi-exit.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/loop-deletion/dead-loop.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/loop-vectorize/remove-redundant-dbg.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/phi.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/single-block-alloca.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/single-store-alloca.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/store-to-part-of-alloca.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/memcpyopt/merge-stores.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/mldst-motion/diamond.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/optnone.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/roundtrip.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/remove-redundant-fwd-scan-linked.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/remove-redundant.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/salvage-value.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/simplifycfg/empty-block.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/simplifycfg/speculated-store.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/slp-vectorizer/merge-scalars.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/after-inlining.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/alloca-single-slice.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/arglist.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/complex.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/fail-fragment.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/frag-2.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/frag.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/id.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/memcpy.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/memmove-to-from-same-alloca.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/remove-redundant-dbg.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/rewrite.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/split-pre-fragmented-store-2.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/split-pre-fragmented-store.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/store.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/unspecified-var-size.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/user-memcpy.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/var-sized-fragment.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-1.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-2.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/track-assignments.ll
M llvm/test/DebugInfo/Generic/dbg-value-lower-linenos.ll
M llvm/test/DebugInfo/Generic/debug_value_list.ll
M llvm/test/DebugInfo/Generic/empty-metadata.ll
M llvm/test/DebugInfo/Generic/inline-alloca-ordering.ll
M llvm/test/DebugInfo/Generic/inline-dbg-values.ll
M llvm/test/DebugInfo/Generic/instcombine-replaced-select-with-operand.ll
M llvm/test/DebugInfo/Generic/ipsccp-remap-assign-id.ll
M llvm/test/DebugInfo/Generic/loop-deletion-inline-var.ll
M llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-1.ll
M llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-2.ll
M llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-3.ll
M llvm/test/DebugInfo/Generic/pr40628.ll
M llvm/test/DebugInfo/Generic/sroa-larger.ll
M llvm/test/DebugInfo/Generic/sroa-samesize.ll
M llvm/test/DebugInfo/Generic/volatile-alloca.ll
M llvm/test/DebugInfo/X86/LLVM_implicit_pointer.ll
M llvm/test/DebugInfo/X86/array2.ll
M llvm/test/DebugInfo/X86/codegenprep-addrsink.ll
M llvm/test/DebugInfo/X86/codegenprep-value.ll
M llvm/test/DebugInfo/X86/codegenprepare-rollback.ll
M llvm/test/DebugInfo/X86/dbg-value-dropped-instcombine.ll
M llvm/test/DebugInfo/X86/dead-store-elimination-marks-undef.ll
A llvm/test/DebugInfo/X86/debug-names-types-die-offset-collision.ll
M llvm/test/DebugInfo/X86/formal_parameter.ll
M llvm/test/DebugInfo/X86/instcombine-demanded-bits-salvage.ll
M llvm/test/DebugInfo/X86/instcombine-fold-cast-into-phi.ll
M llvm/test/DebugInfo/X86/instcombine-instrinsics.ll
M llvm/test/DebugInfo/X86/licm-undef-dbg-value.ll
M llvm/test/DebugInfo/X86/mem2reg_fp80.ll
M llvm/test/DebugInfo/X86/sroa-after-inlining.ll
M llvm/test/DebugInfo/X86/sroasplit-1.ll
M llvm/test/DebugInfo/X86/sroasplit-2.ll
M llvm/test/DebugInfo/X86/sroasplit-3.ll
M llvm/test/DebugInfo/X86/sroasplit-4.ll
M llvm/test/DebugInfo/X86/sroasplit-dbg-declare.ll
M llvm/test/DebugInfo/assignment-tracking/X86/hotcoldsplit.ll
M llvm/test/DebugInfo/duplicate_dbgvalue.ll
M llvm/test/DebugInfo/instcombine-sink-latest-assignment.ll
M llvm/test/DebugInfo/salvage-cast-debug-info.ll
M llvm/test/DebugInfo/salvage-duplicate-values.ll
M llvm/test/DebugInfo/salvage-gep.ll
M llvm/test/DebugInfo/salvage-icmp.ll
M llvm/test/DebugInfo/salvage-limit-expr-size.ll
M llvm/test/DebugInfo/salvage-nonconst-binop.ll
M llvm/test/DebugInfo/symbolize-gnu-debuglink-no-realpath.test
M llvm/test/Instrumentation/AddressSanitizer/debug_info.ll
M llvm/test/Instrumentation/AddressSanitizer/local_stack_base.ll
M llvm/test/Instrumentation/HWAddressSanitizer/RISCV/alloca.ll
M llvm/test/Instrumentation/HWAddressSanitizer/alloca-uninteresting.ll
M llvm/test/Instrumentation/HWAddressSanitizer/alloca.ll
M llvm/test/Instrumentation/HWAddressSanitizer/dbg-assign-tag-offset.ll
M llvm/test/Instrumentation/HWAddressSanitizer/dbg-declare-tag-offset.ll
M llvm/test/Instrumentation/HWAddressSanitizer/dbg-value-tag-offset-nopad.ll
M llvm/test/Instrumentation/HWAddressSanitizer/dbg-value-tag-offset.ll
M llvm/test/Instrumentation/InstrProfiling/inline-data-var-create.ll
M llvm/test/Instrumentation/InstrProfiling/mcdc.ll
A llvm/test/Instrumentation/MemorySanitizer/PowerPC/kernel-ppc64le.ll
M llvm/test/Instrumentation/MemorySanitizer/X86/avx-intrinsics-x86.ll
M llvm/test/Instrumentation/MemorySanitizer/X86/avx2-intrinsics-x86.ll
M llvm/test/Instrumentation/MemorySanitizer/X86/sse41-intrinsics-x86.ll
M llvm/test/Linker/DbgDeclare.ll
M llvm/test/Linker/debug-info-use-before-def.ll
M llvm/test/MC/AMDGPU/hsa-sym-expr-failure.s
M llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vbuffer_mubuf.txt
M llvm/test/MC/Disassembler/X86/apx/rex2-format.txt
R llvm/test/MC/ELF/empty-twice.ll
M llvm/test/MC/ELF/layout-interdependency.s
A llvm/test/MC/ELF/twice.ll
M llvm/test/MC/RISCV/attribute-arch.s
M llvm/test/MC/RISCV/hypervisor-csr-names.s
M llvm/test/MC/RISCV/machine-csr-names.s
M llvm/test/MC/RISCV/supervisor-csr-names.s
A llvm/test/MC/X86/apx/pseudo-rex2.s
M llvm/test/MC/X86/apx/rex2-format-att.s
M llvm/test/MC/X86/apx/rex2-format-intel.s
A llvm/test/MC/X86/pseudo-rex.s
M llvm/test/MC/X86/x86_errors.s
M llvm/test/Other/lit-unicode.txt
M llvm/test/TableGen/HasNoUse.td
M llvm/test/Transforms/ADCE/adce-salvage-dbg-value.ll
M llvm/test/Transforms/ADCE/debug-info-intrinsic.ll
M llvm/test/Transforms/AggressiveInstCombine/AArch64/combine_ignore_debug.ll
M llvm/test/Transforms/ArgumentPromotion/pr33641_remove_arg_dbgvalue.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i16.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i8.ll
M llvm/test/Transforms/Attributor/ArgumentPromotion/pr33641_remove_arg_dbgvalue.ll
M llvm/test/Transforms/Attributor/nonnull.ll
M llvm/test/Transforms/BDCE/basic.ll
M llvm/test/Transforms/BDCE/dbg-multipleuses.ll
M llvm/test/Transforms/BDCE/pr26587.ll
M llvm/test/Transforms/BDCE/pr41925.ll
M llvm/test/Transforms/CallSiteSplitting/callsite-split-debug.ll
M llvm/test/Transforms/CallSiteSplitting/callsite-split-preserve-debug.ll
M llvm/test/Transforms/CodeExtractor/LoopExtractor_alloca.ll
M llvm/test/Transforms/CodeGenPrepare/X86/catchpad-phi-cast.ll
M llvm/test/Transforms/CodeGenPrepare/X86/cttz-ctlz.ll
M llvm/test/Transforms/CodeGenPrepare/X86/select.ll
M llvm/test/Transforms/CodeGenPrepare/debug-info-on-skipped-selects.ll
M llvm/test/Transforms/CodeGenPrepare/sink-shift-and-trunc.ll
M llvm/test/Transforms/Coroutines/coro-debug-O2.ll
M llvm/test/Transforms/Coroutines/coro-debug-coro-frame.ll
M llvm/test/Transforms/Coroutines/coro-debug-dbg.values-not_used_in_frame.ll
M llvm/test/Transforms/Coroutines/coro-debug-dbg.values.ll
M llvm/test/Transforms/Coroutines/coro-debug-frame-variable.ll
M llvm/test/Transforms/Coroutines/coro-debug-spill-dbg.declare.ll
M llvm/test/Transforms/Coroutines/coro-debug.ll
M llvm/test/Transforms/Coroutines/swift-async-dbg.ll
M llvm/test/Transforms/DCE/basic.ll
M llvm/test/Transforms/DCE/dbg-value-removal.ll
M llvm/test/Transforms/DeadArgElim/2010-04-30-DbgInfo.ll
M llvm/test/Transforms/DeadArgElim/dbginfo-preserve-dbgloc.ll
M llvm/test/Transforms/DeadArgElim/dbginfo-update-dbgval-local.ll
M llvm/test/Transforms/DeadArgElim/dbginfo-update-dbgval.ll
M llvm/test/Transforms/DeadStoreElimination/debuginfo.ll
M llvm/test/Transforms/EarlyCSE/debug-info-undef.ll
M llvm/test/Transforms/EarlyCSE/debuginfo-dce.ll
M llvm/test/Transforms/GVN/load-through-select-dbg.ll
M llvm/test/Transforms/GlobalOpt/deadglobal-diarglist-use.ll
M llvm/test/Transforms/GlobalOpt/localize-constexpr-debuginfo.ll
M llvm/test/Transforms/GlobalOpt/shrink-global-to-bool-check-debug.ll
M llvm/test/Transforms/HotColdSplit/split-out-dbg-label.ll
M llvm/test/Transforms/HotColdSplit/transfer-debug-info.ll
M llvm/test/Transforms/IROutliner/legal-debug.ll
M llvm/test/Transforms/IndVarSimplify/X86/indvar-debug-value.ll
M llvm/test/Transforms/IndVarSimplify/X86/indvar-debug-value2.ll
M llvm/test/Transforms/IndVarSimplify/X86/scev-phi-debug-info.ll
M llvm/test/Transforms/Inline/access-attributes-prop.ll
M llvm/test/Transforms/Inline/alloca-dbgdeclare.ll
M llvm/test/Transforms/Inline/inline_dbg_declare.ll
M llvm/test/Transforms/Inline/local-as-metadata-undominated-use.ll
M llvm/test/Transforms/Inline/noalias-calls-always.ll
M llvm/test/Transforms/Inline/noalias-calls.ll
M llvm/test/Transforms/InstCombine/alloca-cast-debuginfo.ll
M llvm/test/Transforms/InstCombine/assume.ll
M llvm/test/Transforms/InstCombine/cast-mul-select.ll
M llvm/test/Transforms/InstCombine/cast-set-preserve-signed-dbg-val.ll
M llvm/test/Transforms/InstCombine/consecutive-fences.ll
M llvm/test/Transforms/InstCombine/dbg-scalable-store-fixed-frag.ll
M llvm/test/Transforms/InstCombine/dbg-simplify-alloca-size.ll
M llvm/test/Transforms/InstCombine/debuginfo-dce.ll
M llvm/test/Transforms/InstCombine/debuginfo-dce2.ll
M llvm/test/Transforms/InstCombine/debuginfo-sink.ll
M llvm/test/Transforms/InstCombine/debuginfo-skip.ll
M llvm/test/Transforms/InstCombine/debuginfo-variables.ll
M llvm/test/Transforms/InstCombine/debuginfo.ll
M llvm/test/Transforms/InstCombine/debuginfo_add.ll
M llvm/test/Transforms/InstCombine/erase-dbg-values-at-dead-alloc-site.ll
M llvm/test/Transforms/InstCombine/lifetime-no-null-opt.ll
M llvm/test/Transforms/InstCombine/lifetime.ll
M llvm/test/Transforms/InstCombine/lower-dbg-declare.ll
M llvm/test/Transforms/InstCombine/pow-to-ldexp.ll
M llvm/test/Transforms/InstCombine/pr43893.ll
M llvm/test/Transforms/InstCombine/salvage-dbg-declare.ll
M llvm/test/Transforms/InstCombine/sink-instruction-introduces-unnecessary-poison-value.ll
M llvm/test/Transforms/InstCombine/stacksave-debuginfo.ll
M llvm/test/Transforms/InstCombine/unavailable-debug.ll
M llvm/test/Transforms/InstSimplify/constant-fold-fp-denormal.ll
M llvm/test/Transforms/JumpThreading/guard-split-debuginfo.ll
M llvm/test/Transforms/JumpThreading/redundant-dbg-info.ll
M llvm/test/Transforms/JumpThreading/thread-debug-info.ll
M llvm/test/Transforms/LCSSA/rewrite-existing-dbg-values.ll
M llvm/test/Transforms/LICM/dbg-value-sink.ll
M llvm/test/Transforms/LICM/debug-value.ll
M llvm/test/Transforms/LICM/sinking-debugify.ll
M llvm/test/Transforms/LoopDeletion/diundef.ll
M llvm/test/Transforms/LoopDeletion/over-defensive-undefing-dbg-values.ll
M llvm/test/Transforms/LoopIdiom/X86/arithmetic-right-shift-until-zero.ll
M llvm/test/Transforms/LoopIdiom/X86/left-shift-until-bittest.ll
M llvm/test/Transforms/LoopIdiom/X86/logical-right-shift-until-zero-debuginfo.ll
M llvm/test/Transforms/LoopIdiom/debug-line.ll
M llvm/test/Transforms/LoopIdiom/memcpy-debugify-remarks.ll
M llvm/test/Transforms/LoopIdiom/memset-debugify-remarks.ll
M llvm/test/Transforms/LoopRotate/call-prepare-for-lto.ll
M llvm/test/Transforms/LoopRotate/dbg-value-duplicates-2.ll
M llvm/test/Transforms/LoopRotate/dbg-value-duplicates.ll
M llvm/test/Transforms/LoopRotate/dbgvalue.ll
M llvm/test/Transforms/LoopRotate/delete-dbg-values.ll
M llvm/test/Transforms/LoopRotate/phi-dbgvalue.ll
M llvm/test/Transforms/LoopStrengthReduce/X86/lsr-cond-dbg.ll
M llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-0.ll
M llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-1.ll
M llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-2.ll
M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-0.ll
M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-1.ll
M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-2.ll
M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-3.ll
M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-4.ll
M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-5.ll
M llvm/test/Transforms/LoopStrengthReduce/pr51329.ll
M llvm/test/Transforms/LoopStrengthReduce/pr51656.ll
M llvm/test/Transforms/LoopStrengthReduce/pr52161.ll
M llvm/test/Transforms/LoopUnroll/debug-info.ll
M llvm/test/Transforms/LoopUnroll/runtime-epilog-debuginfo.ll
M llvm/test/Transforms/LoopUnroll/unroll-remove-redundant-dbg.ll
M llvm/test/Transforms/LoopVectorize/AArch64/clamped-trip-count.ll
M llvm/test/Transforms/LoopVectorize/AArch64/conditional-branches-cost.ll
M llvm/test/Transforms/LoopVectorize/AArch64/induction-costs-sve.ll
M llvm/test/Transforms/LoopVectorize/AArch64/masked-call.ll
M llvm/test/Transforms/LoopVectorize/AArch64/reduction-recurrence-costs-sve.ll
M llvm/test/Transforms/LoopVectorize/AArch64/scalable-strict-fadd.ll
M llvm/test/Transforms/LoopVectorize/AArch64/store-costs-sve.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-low-trip-count.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-forced.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-optsize.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-reductions.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-unroll.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding.ll
M llvm/test/Transforms/LoopVectorize/AArch64/tail-folding-styles.ll
M llvm/test/Transforms/LoopVectorize/LoongArch/defaults.ll
M llvm/test/Transforms/LoopVectorize/RISCV/defaults.ll
M llvm/test/Transforms/LoopVectorize/RISCV/inloop-reduction.ll
M llvm/test/Transforms/LoopVectorize/RISCV/low-trip-count.ll
M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
M llvm/test/Transforms/LoopVectorize/RISCV/scalable-tailfold.ll
M llvm/test/Transforms/LoopVectorize/RISCV/short-trip-count.ll
M llvm/test/Transforms/LoopVectorize/RISCV/uniform-load-store.ll
M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-interleave.ll
M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-iv32.ll
M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-masked-loadstore.ll
M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-reverse-load-store.ll
M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-vp-intrinsics.ll
M llvm/test/Transforms/LoopVectorize/X86/induction-costs.ll
M llvm/test/Transforms/LoopVectorize/dbg-outer-loop-vect.ll
M llvm/test/Transforms/LoopVectorize/discriminator.ll
M llvm/test/Transforms/LowerExpectIntrinsic/basic.ll
M llvm/test/Transforms/LowerExpectIntrinsic/expect-with-probability.ll
M llvm/test/Transforms/LowerExpectIntrinsic/expect_nonboolean.ll
M llvm/test/Transforms/LowerExpectIntrinsic/phi_merge.ll
M llvm/test/Transforms/LowerExpectIntrinsic/phi_or.ll
M llvm/test/Transforms/LowerExpectIntrinsic/phi_tern.ll
M llvm/test/Transforms/LowerExpectIntrinsic/phi_unexpect.ll
M llvm/test/Transforms/Mem2Reg/ConvertDebugInfo.ll
M llvm/test/Transforms/Mem2Reg/ConvertDebugInfo2.ll
M llvm/test/Transforms/Mem2Reg/dbg_declare_to_value_conversions.ll
M llvm/test/Transforms/Mem2Reg/debug-alloca-phi-2.ll
M llvm/test/Transforms/Mem2Reg/debug-alloca-phi.ll
M llvm/test/Transforms/Mem2Reg/debug-alloca-vla-1.ll
M llvm/test/Transforms/Mem2Reg/debug-alloca-vla-2.ll
M llvm/test/Transforms/MemCpyOpt/pr37967.ll
M llvm/test/Transforms/MergeFunc/mergefunc-preserve-debug-info.ll
M llvm/test/Transforms/MergeFunc/no-merge-debug-thunks.ll
M llvm/test/Transforms/ObjCARC/basic.ll
M llvm/test/Transforms/ObjCARC/ensure-that-exception-unwind-path-is-visited.ll
M llvm/test/Transforms/PhaseOrdering/AArch64/hoist-runtime-checks.ll
A llvm/test/Transforms/PhaseOrdering/pr95152.ll
M llvm/test/Transforms/Reassociate/matching-binops.ll
M llvm/test/Transforms/Reassociate/reassociate_dbgvalue_discard.ll
M llvm/test/Transforms/Reassociate/reassociate_salvages_debug_info.ll
M llvm/test/Transforms/Reassociate/undef_intrinsics_when_deleting_instructions.ll
M llvm/test/Transforms/SCCP/loadtest.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/spillcost-di.ll
M llvm/test/Transforms/SLPVectorizer/X86/debug_info.ll
M llvm/test/Transforms/SLPVectorizer/X86/schedule_budget_debug_info.ll
M llvm/test/Transforms/SROA/alignment.ll
M llvm/test/Transforms/SROA/dbg-inline.ll
M llvm/test/Transforms/SROA/dbg-single-piece.ll
M llvm/test/Transforms/SROA/phi-gep.ll
M llvm/test/Transforms/SROA/vector-promotion.ll
M llvm/test/Transforms/SafeStack/X86/debug-loc-dynamic.ll
M llvm/test/Transforms/SafeStack/X86/debug-loc.ll
M llvm/test/Transforms/SafeStack/X86/debug-loc2.ll
M llvm/test/Transforms/Scalarizer/dbginfo.ll
M llvm/test/Transforms/SeparateConstOffsetFromGEP/split-gep-or-as-add.ll
M llvm/test/Transforms/SimpleLoopUnswitch/debuginfo.ll
M llvm/test/Transforms/SimplifyCFG/X86/merge-compatible-invokes-of-landingpad-debuginfo.ll
M llvm/test/Transforms/SimplifyCFG/X86/pr39187-g.ll
M llvm/test/Transforms/SimplifyCFG/X86/sink-common-code.ll
M llvm/test/Transforms/SimplifyCFG/branch-fold-dbg.ll
M llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue-inlined.ll
M llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue.ll
M llvm/test/Transforms/SimplifyCFG/jump-threading-debuginfo.ll
M llvm/test/Transforms/SimplifyCFG/return-merge.ll
M llvm/test/Transforms/SimplifyCFG/speculate-dbgvalue.ll
M llvm/test/Transforms/SimplifyCFG/tail-merge-noreturn.ll
M llvm/test/Transforms/SpeculativeExecution/PR46267.ll
M llvm/test/Transforms/Util/Debugify/loc-only.ll
M llvm/test/Transforms/Util/dbg-call-bitcast.ll
M llvm/test/Transforms/Util/dbg-user-of-aext.ll
M llvm/test/Transforms/Util/salvage-debuginfo.ll
M llvm/test/Verifier/alloc-size-failedparse.ll
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll.funcsig.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll.funcsig.globals.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll.funcsig.noglobals.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll.funcsig.transitiveglobals.expected
M llvm/test/tools/llvm-ar/windows-path.test
M llvm/test/tools/llvm-cov/Inputs/mcdc-const-folding.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-const-folding.proftext
M llvm/test/tools/llvm-cov/Inputs/mcdc-const.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-const.proftext
A llvm/test/tools/llvm-cov/Inputs/mcdc-general-18.o
A llvm/test/tools/llvm-cov/Inputs/mcdc-general-18.profdata
M llvm/test/tools/llvm-cov/Inputs/mcdc-general.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-general.proftext
M llvm/test/tools/llvm-cov/Inputs/mcdc-macro.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-macro.proftext
M llvm/test/tools/llvm-cov/Inputs/mcdc-maxbs.o
A llvm/test/tools/llvm-cov/mcdc-general-18.test
M llvm/test/tools/llvm-dwarfdump/X86/locstats.ll
M llvm/test/tools/llvm-objcopy/ELF/mirror-permissions-win.test
M llvm/test/tools/llvm-rc/windres-prefix.test
M llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
M llvm/tools/llvm-as/llvm-as.cpp
M llvm/tools/llvm-cov/CodeCoverage.cpp
M llvm/tools/llvm-dis/llvm-dis.cpp
M llvm/tools/llvm-dwarfdump/Statistics.cpp
M llvm/tools/llvm-dwp/llvm-dwp.cpp
M llvm/tools/llvm-exegesis/CMakeLists.txt
M llvm/tools/llvm-exegesis/llvm-exegesis.cpp
M llvm/tools/llvm-link/llvm-link.cpp
M llvm/tools/llvm-mc/llvm-mc.cpp
M llvm/tools/llvm-ml/llvm-ml.cpp
M llvm/tools/llvm-pdbutil/DumpOutputStyle.cpp
M llvm/tools/llvm-profdata/llvm-profdata.cpp
M llvm/tools/llvm-profgen/PerfReader.cpp
M llvm/tools/llvm-profgen/PerfReader.h
M llvm/tools/llvm-profgen/ProfiledBinary.cpp
M llvm/tools/llvm-profgen/ProfiledBinary.h
M llvm/unittests/ADT/APFloatTest.cpp
M llvm/unittests/ADT/CMakeLists.txt
A llvm/unittests/ADT/DynamicAPIntTest.cpp
M llvm/unittests/Analysis/IRSimilarityIdentifierTest.cpp
M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp
M llvm/unittests/IR/BasicBlockDbgInfoTest.cpp
M llvm/unittests/IR/DebugInfoTest.cpp
M llvm/unittests/IR/IRBuilderTest.cpp
M llvm/unittests/IR/InstructionsTest.cpp
M llvm/unittests/IR/ValueTest.cpp
M llvm/unittests/ProfileData/CoverageMappingTest.cpp
M llvm/unittests/ProfileData/InstrProfTest.cpp
M llvm/unittests/Support/ErrorTest.cpp
M llvm/unittests/Support/MathExtrasTest.cpp
M llvm/unittests/Support/Path.cpp
M llvm/unittests/Target/AMDGPU/CMakeLists.txt
A llvm/unittests/Target/AMDGPU/PALMetadata.cpp
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
M llvm/unittests/TargetParser/TargetParserTest.cpp
M llvm/unittests/Transforms/Utils/CloningTest.cpp
M llvm/unittests/Transforms/Utils/LocalTest.cpp
M llvm/utils/TableGen/Common/CodeGenTarget.cpp
M llvm/utils/TableGen/VTEmitter.cpp
M llvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Checkers/BUILD.gn
M llvm/utils/gn/secondary/clang/unittests/AST/BUILD.gn
M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/Utils/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/ADT/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/Target/AMDGPU/BUILD.gn
M mlir/docs/Dialects/LLVM.md
M mlir/include/mlir/Analysis/Presburger/Barvinok.h
M mlir/include/mlir/Analysis/Presburger/Fraction.h
M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
M mlir/include/mlir/Analysis/Presburger/LinearTransform.h
R mlir/include/mlir/Analysis/Presburger/MPInt.h
M mlir/include/mlir/Analysis/Presburger/Matrix.h
M mlir/include/mlir/Analysis/Presburger/PWMAFunction.h
M mlir/include/mlir/Analysis/Presburger/PresburgerRelation.h
M mlir/include/mlir/Analysis/Presburger/PresburgerSpace.h
M mlir/include/mlir/Analysis/Presburger/Simplex.h
R mlir/include/mlir/Analysis/Presburger/SlowMPInt.h
M mlir/include/mlir/Analysis/Presburger/Utils.h
M mlir/include/mlir/Dialect/Arith/Utils/Utils.h
M mlir/include/mlir/Dialect/GPU/IR/GPUOps.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
M mlir/include/mlir/Dialect/OpenMP/OpenMPInterfaces.h
M mlir/include/mlir/Dialect/OpenMP/OpenMPOpBase.td
M mlir/include/mlir/Dialect/SCF/Utils/Utils.h
M mlir/include/mlir/Dialect/SparseTensor/IR/Enums.h
M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.h
M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.h
M mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
M mlir/include/mlir/Interfaces/TilingInterface.td
M mlir/include/mlir/Support/LLVM.h
M mlir/lib/Analysis/FlatLinearValueConstraints.cpp
M mlir/lib/Analysis/Presburger/Barvinok.cpp
M mlir/lib/Analysis/Presburger/CMakeLists.txt
M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
M mlir/lib/Analysis/Presburger/LinearTransform.cpp
R mlir/lib/Analysis/Presburger/MPInt.cpp
M mlir/lib/Analysis/Presburger/Matrix.cpp
M mlir/lib/Analysis/Presburger/PWMAFunction.cpp
M mlir/lib/Analysis/Presburger/PresburgerRelation.cpp
M mlir/lib/Analysis/Presburger/PresburgerSpace.cpp
M mlir/lib/Analysis/Presburger/Simplex.cpp
R mlir/lib/Analysis/Presburger/SlowMPInt.cpp
M mlir/lib/Analysis/Presburger/Utils.cpp
M mlir/lib/Conversion/BufferizationToMemRef/BufferizationToMemRef.cpp
M mlir/lib/Conversion/GPUCommon/GPUOpsLowering.h
M mlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
M mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
M mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
M mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp
M mlir/lib/Dialect/Arith/Utils/Utils.cpp
M mlir/lib/Dialect/GPU/IR/InferIntRangeInterfaceImpls.cpp
M mlir/lib/Dialect/LLVMIR/IR/BasicPtxBuilderInterface.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMInlining.cpp
M mlir/lib/Dialect/MemRef/Transforms/FoldMemRefAliasOps.cpp
M mlir/lib/Dialect/Mesh/Transforms/Spmdization.cpp
M mlir/lib/Dialect/SCF/Utils/Utils.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/CMakeLists.txt
A mlir/lib/Dialect/SparseTensor/Transforms/SparseIterationToScf.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorPasses.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.h
M mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
M mlir/lib/Dialect/Transform/IR/TransformOps.cpp
M mlir/lib/Dialect/Vector/Transforms/LowerVectorTransfer.cpp
M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
M mlir/lib/Target/LLVMIR/ConvertToLLVMIR.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/lib/Target/LLVMIR/Dialect/ROCDL/ROCDLToLLVMIRTranslation.cpp
M mlir/lib/Target/LLVMIR/ModuleImport.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
M mlir/python/CMakeLists.txt
M mlir/test/Analysis/test-liveness.mlir
M mlir/test/Conversion/BufferizationToMemRef/bufferization-to-memref.mlir
M mlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir
M mlir/test/Conversion/MemRefToLLVM/convert-dynamic-memref-ops.mlir
M mlir/test/Conversion/MemRefToLLVM/memref-to-llvm.mlir
M mlir/test/Conversion/NVGPUToNVVM/nvgpu-to-nvvm.mlir
M mlir/test/Conversion/SPIRVToLLVM/func-ops-to-llvm.mlir
M mlir/test/Conversion/VectorToLLVM/vector-reduction-to-llvm.mlir
M mlir/test/Conversion/VectorToSPIRV/vector-to-spirv.mlir
M mlir/test/Dialect/AMX/roundtrip.mlir
M mlir/test/Dialect/Affine/loop-coalescing.mlir
M mlir/test/Dialect/Affine/loop-fusion-3.mlir
M mlir/test/Dialect/Affine/unroll.mlir
M mlir/test/Dialect/ArmSME/tile-allocation-liveness.mlir
M mlir/test/Dialect/LLVMIR/di-expression-legalization.mlir
M mlir/test/Dialect/LLVMIR/inlining.mlir
M mlir/test/Dialect/LLVMIR/invalid.mlir
M mlir/test/Dialect/Linalg/drop-unit-extent-dims.mlir
M mlir/test/Dialect/Linalg/fusion-elementwise-ops.mlir
M mlir/test/Dialect/Linalg/mesh-spmdization.mlir
M mlir/test/Dialect/Linalg/multisize-tiling-full.mlir
M mlir/test/Dialect/Linalg/transform-ops.mlir
M mlir/test/Dialect/MemRef/expand-strided-metadata.mlir
M mlir/test/Dialect/MemRef/fold-memref-alias-ops.mlir
M mlir/test/Dialect/Mesh/resharding-spmdization.mlir
M mlir/test/Dialect/OpenMP/ops.mlir
M mlir/test/Dialect/SCF/transform-loop-fuse-sibling.mlir
M mlir/test/Dialect/SCF/transform-ops.mlir
A mlir/test/Dialect/SparseTensor/sparse_iteration_to_scf.mlir
M mlir/test/Dialect/SparseTensor/sparse_reshape.mlir
M mlir/test/Dialect/SparseTensor/sparse_space_collapse.mlir
M mlir/test/Dialect/Tensor/canonicalize.mlir
M mlir/test/Dialect/Tosa/canonicalize.mlir
M mlir/test/Dialect/Tosa/tosa-infer-shapes.mlir
M mlir/test/Dialect/Transform/ops-invalid.mlir
M mlir/test/Dialect/Transform/ops.mlir
M mlir/test/Dialect/Transform/test-interpreter.mlir
M mlir/test/Dialect/Vector/vector-dropleadunitdim-transforms.mlir
M mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir
M mlir/test/Dialect/Vector/vector-transfer-permutation-lowering.mlir
M mlir/test/IR/parser.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_reduce_custom_prod.mlir
M mlir/test/Integration/GPU/CUDA/sm90/cga_cluster.mlir
M mlir/test/Target/LLVMIR/Import/function-attributes.ll
M mlir/test/Target/LLVMIR/llvmir-debug.mlir
M mlir/test/Target/LLVMIR/llvmir-invalid.mlir
M mlir/test/Target/LLVMIR/llvmir.mlir
M mlir/test/Target/LLVMIR/omptarget-constant-alloca-raise.mlir
M mlir/test/Target/LLVMIR/openmp-llvm.mlir
M mlir/test/Target/LLVMIR/rocdl.mlir
M mlir/test/Transforms/canonicalize.mlir
M mlir/test/lib/Dialect/Test/TestToLLVMIRTranslation.cpp
M mlir/test/mlir-cpu-runner/copy.mlir
M mlir/test/mlir-tblgen/bytecode-reserved.td
A mlir/test/mlir-tblgen/openmp-ops.td
A mlir/test/mlir-vulkan-runner/vector-deinterleave.mlir
M mlir/test/python/ir/attributes.py
M mlir/unittests/Analysis/Presburger/CMakeLists.txt
M mlir/unittests/Analysis/Presburger/FractionTest.cpp
M mlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp
M mlir/unittests/Analysis/Presburger/LinearTransformTest.cpp
R mlir/unittests/Analysis/Presburger/MPIntTest.cpp
M mlir/unittests/Analysis/Presburger/MatrixTest.cpp
M mlir/unittests/Analysis/Presburger/SimplexTest.cpp
M mlir/unittests/Analysis/Presburger/Utils.h
M mlir/unittests/Analysis/Presburger/UtilsTest.cpp
M offload/include/Shared/APITypes.h
M offload/plugins-nextgen/amdgpu/src/rtl.cpp
M offload/plugins-nextgen/common/include/PluginInterface.h
M offload/plugins-nextgen/common/src/PluginInterface.cpp
M offload/plugins-nextgen/cuda/dynamic_cuda/cuda.h
M offload/plugins-nextgen/cuda/src/rtl.cpp
M offload/plugins-nextgen/host/src/rtl.cpp
A offload/test/offloading/fortran/dtype-array-constant-index-map.f90
A offload/test/offloading/high_trip_count_block_limit.cpp
M openmp/docs/design/Runtimes.rst
M openmp/tools/Modules/FindOpenMPTarget.cmake
M polly/test/CodeGen/debug-intrinsics.ll
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/test/mlir-tblgen/BUILD.bazel
Log Message:
-----------
rebase
Created using spr 1.3.5-bogner
Compare: https://github.com/llvm/llvm-project/compare/3590a05d5a60...f0c7be266457
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