[all-commits] [llvm/llvm-project] c7acca: [lldb] Fix collisions between two breakpad tests
Koakuma via All-commits
all-commits at lists.llvm.org
Sun Jun 9 08:09:35 PDT 2024
Branch: refs/heads/users/koachan/spr/sparcias-add-named-prefetch-tag-constants
Home: https://github.com/llvm/llvm-project
Commit: c7acca1cb06f3850590363fb729a3c03a43170dd
https://github.com/llvm/llvm-project/commit/c7acca1cb06f3850590363fb729a3c03a43170dd
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/test/Shell/SymbolFile/Breakpad/symtab-sorted-by-size.test
Log Message:
-----------
[lldb] Fix collisions between two breakpad tests
symtab-sorted-by-size.test was using the same output file name as
symtab.test.
Commit: 6f2794afeb3c76293cc91cb9f8ae8c90a2ba8b3e
https://github.com/llvm/llvm-project/commit/6f2794afeb3c76293cc91cb9f8ae8c90a2ba8b3e
Author: Freddy Ye <freddy.ye at intel.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/Basic/Targets/X86.cpp
Log Message:
-----------
Fix build warning for '[X86] Support EGPR for inline assembly. (#92338)' (#93777)
Commit: e398383f9a05ec6f3766e5ab49dd862a72325ba6
https://github.com/llvm/llvm-project/commit/e398383f9a05ec6f3766e5ab49dd862a72325ba6
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M flang/include/flang/Optimizer/CodeGen/FIROpPatterns.h
M flang/include/flang/Optimizer/CodeGen/TypeConverter.h
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/CodeGen/FIROpPatterns.cpp
M flang/lib/Optimizer/CodeGen/TypeConverter.cpp
M flang/test/Fir/convert-to-llvm.fir
M flang/test/Fir/tbaa.fir
Log Message:
-----------
[flang][fir] add codegen for fir.load of assumed-rank fir.box (#93569)
- Update LLVM type conversion of assumed-rank fir.box/class to generate
the type of the maximum ranked descriptor. That way, alloca for assumed
rank descriptor copies are always big enough. This is needed in the
fir.load case that generates a new storage for the value
- Add a "computeBoxSize" helper to compute the dynamic size of a
descriptor.
- Use that size to generate an llvm.memcpy intrinsic to copy the input
descriptor into the new storage.
Looking at https://reviews.llvm.org/D108221?id=404635, it seems valid to
add the TBAA node on the memcpy, which I did.
In a further patch, I think we should likely always use a memcpy since
LLVM seems to have a better time optimizing it than fir.load/fir.store
patterns.
Commit: 74faa402ccf118ca9ee1434ce385c9a018014a6a
https://github.com/llvm/llvm-project/commit/74faa402ccf118ca9ee1434ce385c9a018014a6a
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M flang/lib/Lower/Allocatable.cpp
M flang/lib/Lower/ConvertVariable.cpp
M flang/test/Lower/HLFIR/convert-variable-assumed-rank.f90
Log Message:
-----------
[flang] lower allocatable assumed-rank specification parts (#93682)
Lower allocatable and pointers specification parts. Nothing special is
required to allocate the descriptor given they are required to be dummy
arguments, however, care must be taken with INTENT(OUT) to use the
runtime to deallocate them (inlined fir.embox + store is not possible).
Commit: 0eb4bf2faf4125d4d279463390a753c8c36a6937
https://github.com/llvm/llvm-project/commit/0eb4bf2faf4125d4d279463390a753c8c36a6937
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/test/CXX/drs/cwg1xx.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang] CWG150: add tests and change to unreleased (#93758)
Commit: 1034b4d38dd2df542204d55b3e14e985452e4fe4
https://github.com/llvm/llvm-project/commit/1034b4d38dd2df542204d55b3e14e985452e4fe4
Author: AtariDreams <gfunni234 at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
M llvm/test/Transforms/InstCombine/lshr.ll
Log Message:
-----------
[InstCombine] lshr (mul (X, 2^N + 1)), N -> X when X is half-width (#93677)
Alive2 Proof:
https://alive2.llvm.org/ce/z/Yd2CKF
Commit: 3cabbf60393cc8d55fe635e35e89e5973162de33
https://github.com/llvm/llvm-project/commit/3cabbf60393cc8d55fe635e35e89e5973162de33
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/include/clang/AST/TemplateName.h
M clang/include/clang/AST/TextNodeDumper.h
M clang/lib/AST/TextNodeDumper.cpp
M clang/test/AST/ast-dump-ctad-alias.cpp
M clang/test/AST/ast-dump-template-decls.cpp
M clang/test/AST/ast-dump-template-name.cpp
M clang/test/AST/ast-dump-using-template.cpp
M clang/test/Import/builtin-template/test.cpp
M clang/test/SemaTemplate/aggregate-deduction-candidate.cpp
M clang/test/SemaTemplate/deduction-guide.cpp
M clang/test/SemaTemplate/make_integer_seq.cpp
M clang/test/SemaTemplate/type_pack_element.cpp
Log Message:
-----------
[clang] text ast-dumper: dump TemplateName for TST and DTST (#93766)
Implement AST text dumping of the TemplateName for
TemplateSpecializationType and DeducedTemplateSpecializationType.
Commit: f38ebec7106fd541046d502be0f79a4dda1a89b0
https://github.com/llvm/llvm-project/commit/f38ebec7106fd541046d502be0f79a4dda1a89b0
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
A lldb/test/API/tools/lldb-dap/variables/children/Makefile
A lldb/test/API/tools/lldb-dap/variables/children/TestDAP_variables_children.py
A lldb/test/API/tools/lldb-dap/variables/children/formatter.py
A lldb/test/API/tools/lldb-dap/variables/children/main.cpp
M lldb/tools/lldb-dap/JSONUtils.cpp
Log Message:
-----------
[lldb-dap] Don't call GetNumChildren on non-indexed synthetic variables (#93534)
A synthetic child provider might need to do considerable amount of work
to compute the number of children. lldb-dap is currently calling that
for all synthethic variables, but it's only actually using the value for
values which it deems to be "indexed" (which is determined by looking at
the name of the first child). This patch reverses the logic so that
GetNumChildren is only called for variables with a suitable first child.
Commit: d554f2379b427505907ba52b8b9270c0b436224f
https://github.com/llvm/llvm-project/commit/d554f2379b427505907ba52b8b9270c0b436224f
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/source/Commands/CommandCompletions.cpp
M lldb/test/API/functionalities/completion/TestCompletion.py
Log Message:
-----------
[lldb] Fix module name tab completion (#93458)
Module names can be matched either by a full path or just their
basename. The completion machinery tried to do both, but had several
bugs:
- it always inserted the basename as a completion candidate, even if the
string being completed was a full path
- due to FileSpec canonicalization, it lost information about trailing
slashes (it treated "lib/<TAB>" as "lib<TAB>", even though it's clear
the former was trying to complete a directory name)
- due to both of the previous issues, the completion candidates could
end up being shorter than the string being completed, which caused
crashes (string out of range errors) when attempting to substitute the
results.
This patch rewrites to logic to remove these kinds of issues:
- basename and full path completion are handled separately
- full path completion is attempted always, basename only if the input
string does not contain a slash
- the code remembers both the canonical and original spelling or the
completed argument. The canonical arg is used for matching, while the
original spelling is used for completion. This way "/foo///.//b<TAB>"
can still match "/foo/bar", but it will complete to "/foo///.//bar".
Commit: 540a36ad7e31bfeb11e795047a42bb6e30bf9985
https://github.com/llvm/llvm-project/commit/540a36ad7e31bfeb11e795047a42bb6e30bf9985
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
M lldb/test/Shell/SymbolFile/DWARF/x86/Inputs/debug-types-basic.cpp
M lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-basic.test
Log Message:
-----------
[lldb/DWARF] Follow DW_AT_signature when computing type contexts (#93675)
This is necessary to correctly resolve the context within types, as the
name of the type is only present in the type unit.
Commit: 67897d77eda4c312cfe81b19a20abed43227ecb8
https://github.com/llvm/llvm-project/commit/67897d77eda4c312cfe81b19a20abed43227ecb8
Author: Oleksandr "Alex" Zinenko <git at ozinenko.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M mlir/lib/Bindings/Python/IRCore.cpp
M mlir/lib/Bindings/Python/IRModule.h
A mlir/test/python/live_operations.py
Log Message:
-----------
[mlir][py] invalidate nested operations when parent is deleted (#93339)
When an operation is erased in Python, its children may still be in the
"live" list inside Python bindings. After this, if some of the newly
allocated operations happen to reuse the same pointer address, this will
trigger an assertion in the bindings. This assertion would be incorrect
because the operations aren't actually live. Make sure we remove the
children operations from the "live" list when erasing the parent.
This also concentrates responsibility over the removal from the "live"
list and invalidation in a single place.
Note that this requires the IR to be sufficiently structurally valid so
a walk through it can succeed. If this invariant was broken by, e.g, C++
pass called from Python, there isn't much we can do.
Commit: 8bce40b1eb3eb00358bbc3b7a05ea987a183265f
https://github.com/llvm/llvm-project/commit/8bce40b1eb3eb00358bbc3b7a05ea987a183265f
Author: Him188 <tguan at nvidia.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/GIMatchTableExecutorImpl.h
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64RegisterBanks.td
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp
M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
A llvm/test/CodeGen/AArch64/GlobalISel/sve-load-store.ll
Log Message:
-----------
[AArch64][GISel] Support SVE with 128-bit min-size for G_LOAD and G_STORE (#92130)
This patch adds basic support for scalable vector types in load & store
instructions for AArch64 with GISel.
Only scalable vector types with a 128-bit base size are supported, e.g.
`<vscale x 4 x i32>`, `<vscale x 16 x i8>`.
This patch adapted some ideas from a similar abandoned patch
[https://github.com/llvm/llvm-project/pull/72976](https://github.com/llvm/llvm-project/pull/72976).
Commit: cd9a02e2c76ec2f37409c6f7becd61e605c117d8
https://github.com/llvm/llvm-project/commit/cd9a02e2c76ec2f37409c6f7becd61e605c117d8
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGCUDANV.cpp
M clang/lib/CodeGen/CGObjCGNU.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
Log Message:
-----------
[CodeGen] Remove useless zero-index constant GEPs (NFCI)
Remove zero-index constant expression GEPs, which are not needed
with opaque pointers and will get folded away.
Commit: bc946f52870a51b49a0c7c3c508cef1905a11bc0
https://github.com/llvm/llvm-project/commit/bc946f52870a51b49a0c7c3c508cef1905a11bc0
Author: Mubashar Ahmad <mubashar.ahmad at arm.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/Emulated/test-scalable-deinterleave.mlir
A mlir/test/Integration/Dialect/Vector/CPU/test-deinterleave.mlir
Log Message:
-----------
[mlir][vector] Add 1D vector.deinterleave lowering (#93042)
This patch implements the lowering of vector.deinterleave
for 1D vectors.
For fixed vector types, the operation is lowered to two
llvm shufflevector operations. One for even indexed
elements and the other for odd indexed elements. A poison
operation is used to satisfy the parameters of the
shufflevector parameters.
For scalable vectors, the llvm vector.deinterleave2
intrinsic is used for lowering. As such the results
found by extraction and used to form the result
struct for the intrinsic.
Commit: 32b91ec395529ef7ad8b5520fe692464f7512b41
https://github.com/llvm/llvm-project/commit/32b91ec395529ef7ad8b5520fe692464f7512b41
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/cmake/modules/HandleLLVMOptions.cmake
Log Message:
-----------
[cmake] Fix `-fno-lifetime-dse` not being passed to GCC
A follow-up to #92953. This should fix unexpected performance gains when Clang is built with GCC, and fix downstream LTO crashes reported in https://github.com/llvm/llvm-project/commit/4feae05c6abda364a9295aecfa600d7d4e7dfeb6#r142466703
Commit: fd8b2d2046508c027ccf0fffb50d665c8355997a
https://github.com/llvm/llvm-project/commit/fd8b2d2046508c027ccf0fffb50d665c8355997a
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/HLFIRTools.h
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/lib/Lower/ConvertExprToHLFIR.cpp
M flang/lib/Optimizer/Builder/HLFIRTools.cpp
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/test/Fir/convert-to-llvm.fir
Log Message:
-----------
[flang] lower RANK intrinsic (#93694)
First commit is reviewed in
https://github.com/llvm/llvm-project/pull/93682.
Lower RANK using fir.box_rank. This patches updates fir.box_rank to
accept box reference, this avoids the need of generating an assumed-rank
fir.load just for the sake of reading ALLOCATABLE/POINTER rank. The
fir.load would generate a "dynamic" memcpy that is hard to optimize
without further knowledge. A read effect is conditionally given to the
operation.
Commit: 7e9b949a8dfc885ec12b281e194d0530da7403eb
https://github.com/llvm/llvm-project/commit/7e9b949a8dfc885ec12b281e194d0530da7403eb
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M flang/include/flang/Optimizer/Transforms/Passes.h
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/include/flang/Tools/CLOptions.inc
M flang/lib/Optimizer/Transforms/OMPMapInfoFinalization.cpp
Log Message:
-----------
[flang][OpenMP] Adapt OMPMapInfoFinalization to run on all top level ops (#93545)
This is generally just for consistency with the rest of the pipeline.
The assertion for the insertion point is because I am not sure if
omp::PrivateClauseOp is supported by FirOpBuilder::getAllocaBlock. I
didn't try to fix it because I don't see why we would generate IR like
that.
See RFC:
https://discourse.llvm.org/t/rfc-add-an-interface-for-top-level-container-operations
Commit: 3fee8b346928a24975ebbd6984b583c01ec82955
https://github.com/llvm/llvm-project/commit/3fee8b346928a24975ebbd6984b583c01ec82955
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-min-max.mir
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-select.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-saddo.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ssubo.mir
M llvm/test/CodeGen/ARM/GlobalISel/arm-legalize-exts.mir
M llvm/test/CodeGen/Mips/GlobalISel/legalizer/constants.mir
M llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/rem_and_div.ll
M llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/sitofp_and_uitofp.ll
M llvm/test/CodeGen/RISCV/GlobalISel/jumptable.ll
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-abs-rv32.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-abs-rv64.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-jump-table-brjt-rv64.mir
Log Message:
-----------
[GISel] LegalizationArtifactCombiner: Elide redundant G_SEXT_INREG (#93687)
This is similar to 373c343a, but for targets with zero-or-negative-one
booleans.
The difference in tests is mostly due to G_SEXT_INREG being illegal for
some targets, in which case it gets expanded into G_SHL/G_ASHR pair,
which is not currently optimized by the combiner.
Commit: b2bd024384b484647da9fd9863bf6f77b5731949
https://github.com/llvm/llvm-project/commit/b2bd024384b484647da9fd9863bf6f77b5731949
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/CodeGen/CGExprAgg.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
Log Message:
-----------
[CGExprAgg] Don't create zero index GEP
With opaque pointers, we no longer need a zero-index GEP to get
the first element.
Commit: 4310988991b46c9a35f60abc27a08ee10309a50c
https://github.com/llvm/llvm-project/commit/4310988991b46c9a35f60abc27a08ee10309a50c
Author: Stefan Gränitz <stefan.graenitz at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/test/Interpreter/incremental-mode.cpp
M clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp
M clang/unittests/Interpreter/InterpreterTest.cpp
Log Message:
-----------
[clang-repl] Even more tests create the Interpreter and must check host JIT support 2 (#84758)
Commit: 43100766f287185642a3ccbf1a629915f85575e2
https://github.com/llvm/llvm-project/commit/43100766f287185642a3ccbf1a629915f85575e2
Author: Ramkumar Ramachandra <r at artagnon.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/clamped-trip-count.ll
M llvm/test/Transforms/LoopVectorize/RISCV/low-trip-count.ll
M llvm/test/Transforms/LoopVectorize/RISCV/short-trip-count.ll
Log Message:
-----------
LV: generalize profitability criterion over TC (#93300)
Generalize LoopVectorizationPlanner::isMoreProfitable smoothly across
the fixed-vector and scalable-vector cases, taking the trip-count into
account, and fixing logical pitfalls that arise from a lack of
generality.
Commit: fecf5c74920705bf9d15ce0db4b04fdcfa05f104
https://github.com/llvm/llvm-project/commit/fecf5c74920705bf9d15ce0db4b04fdcfa05f104
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
A llvm/test/CodeGen/X86/apx/asm-constraint-1-jr.ll
A llvm/test/CodeGen/X86/apx/asm-constraint-2-jR.ll
R llvm/test/CodeGen/X86/apx/asm-constraint-jR.ll
R llvm/test/CodeGen/X86/apx/asm-constraint-jr.ll
Log Message:
-----------
[llvm][nfc] Rename tests (#93794)
Renames asm-constraint-jR.ll and asm-constraint-jR.ll - on
case-insensitive files systems those are treated as one file. Originally
introduced in #92338.
Commit: 1d57594d3dce3c7605a414dfecf8b06b3b62c40f
https://github.com/llvm/llvm-project/commit/1d57594d3dce3c7605a414dfecf8b06b3b62c40f
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmlsl.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_cntp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_create4_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_dot.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_fclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_get2_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ld1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ldnt1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pext.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pfalse.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_psel.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_psel_svcount.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ptrue.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_qcvtn.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_sclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set2_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set4_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_st1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_stnt1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_while_pn.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_while_x2.c
Log Message:
-----------
[Clang][AArch64] NFC: Remove -DTEST_SME from RUN lines
We can do this in favour of checking the feature macro that is set
when compiling for '+sme', like we do in other tests.
Commit: 8eb0945373173213e7454a475f6e227da12d6d3a
https://github.com/llvm/llvm-project/commit/8eb0945373173213e7454a475f6e227da12d6d3a
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/Sema/SemaChecking.cpp
Log Message:
-----------
[Clang][AArch64] NFC: Simplify checkArmStreamingBuiltin.
Changing this into if -> else if -> else if > else is NFC, because
the values of FnType are mutually exclusive.
Commit: 22c572eae0f3a73b9154718a3f46c08531e52e91
https://github.com/llvm/llvm-project/commit/22c572eae0f3a73b9154718a3f46c08531e52e91
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstrInfo.cpp
A llvm/test/CodeGen/X86/apx/memfold-nd2rmw.mir
M llvm/utils/TableGen/X86InstrMappingEmitter.cpp
Log Message:
-----------
[X86][CodeGen] Support memory folding for NDD -> RMW
Commit: 2705c605da2854a6b044fdf5978dea0472fd0ab1
https://github.com/llvm/llvm-project/commit/2705c605da2854a6b044fdf5978dea0472fd0ab1
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/utils/emacs/llvm-mode.el
M llvm/utils/vim/syntax/llvm.vim
M llvm/utils/vscode/llvm/syntaxes/ll.tmLanguage.yaml
Log Message:
-----------
[RemoveDIs] Update syntax highlighting to include debug records (#93660)
This patch updates the emacs, vim, and vscode syntax highlighters to
recognize debug records.
Commit: 01921bd4f155dbbddd49b818341190a8cb2f20c4
https://github.com/llvm/llvm-project/commit/01921bd4f155dbbddd49b818341190a8cb2f20c4
Author: Jerry Zhang Jian <11689182+jerryzj at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/TargetParser/RISCVISAInfo.cpp
Log Message:
-----------
[RISCV] Fix typo zamo -> zaamo (#93792)
Signed-off-by: Jerry Zhang Jian <jerry.zhangjian at sifive.com>
Commit: 4d65887aac98acd6ed749377f4ea296c5a003d7e
https://github.com/llvm/llvm-project/commit/4d65887aac98acd6ed749377f4ea296c5a003d7e
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/docs/convergence-both-diverged-nested.png
M llvm/docs/convergence-closed-path.png
M llvm/docs/convergence-divergent-inside.png
M llvm/docs/convergence-divergent-outside.png
M llvm/docs/convergence-natural-loop.png
M llvm/test/CodeGen/AArch64/large-offset-ldr-merge.mir
M llvm/test/DebugInfo/dpvalue-print-nocrash.ll
M llvm/unittests/DebugInfo/CodeView/GUIDFormatTest.cpp
M llvm/unittests/Target/AMDGPU/ExecMayBeModifiedBeforeAnyUse.cpp
Log Message:
-----------
[LLVM] Remove executable permission from some non-executable files (#93803)
Commit: 8b600a37325bd68c370b00838c9f0a0fda1af6ce
https://github.com/llvm/llvm-project/commit/8b600a37325bd68c370b00838c9f0a0fda1af6ce
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/bindings/headers.swig
R lldb/bindings/interface/SBAddressRangeDocstrings.i
R lldb/bindings/interface/SBAddressRangeExtensions.i
R lldb/bindings/interface/SBAddressRangeListDocstrings.i
R lldb/bindings/interface/SBAddressRangeListExtensions.i
M lldb/bindings/interfaces.swig
M lldb/include/lldb/API/LLDB.h
M lldb/include/lldb/API/SBAddress.h
R lldb/include/lldb/API/SBAddressRange.h
R lldb/include/lldb/API/SBAddressRangeList.h
M lldb/include/lldb/API/SBBlock.h
M lldb/include/lldb/API/SBDefines.h
M lldb/include/lldb/API/SBFunction.h
M lldb/include/lldb/API/SBStream.h
M lldb/include/lldb/API/SBTarget.h
M lldb/include/lldb/Core/AddressRange.h
R lldb/include/lldb/Core/AddressRangeListImpl.h
M lldb/include/lldb/Symbol/Block.h
M lldb/include/lldb/lldb-forward.h
M lldb/source/API/CMakeLists.txt
R lldb/source/API/SBAddressRange.cpp
R lldb/source/API/SBAddressRangeList.cpp
M lldb/source/API/SBBlock.cpp
M lldb/source/API/SBFunction.cpp
M lldb/source/Core/AddressRange.cpp
R lldb/source/Core/AddressRangeListImpl.cpp
M lldb/source/Core/CMakeLists.txt
M lldb/source/Symbol/Block.cpp
R lldb/test/API/python_api/address_range/Makefile
R lldb/test/API/python_api/address_range/TestAddressRange.py
R lldb/test/API/python_api/address_range/main.cpp
Log Message:
-----------
Revert "Add SBAddressRange and SBAddressRangeList to SB API (#92014)"
This reverts commit 42944e4600827738fae868f0df831fb2678be8b4.
Commit: b49c0b8abc460f8fec707a6ffccf2129fd6e1772
https://github.com/llvm/llvm-project/commit/b49c0b8abc460f8fec707a6ffccf2129fd6e1772
Author: Cullen Rhodes <cullen.rhodes at arm.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M mlir/lib/Conversion/VectorToArmSME/VectorToArmSME.cpp
Log Message:
-----------
[mlir][ArmSME] Simplify permutation map handling (#93515)
In -convert-vector-to-arm-sme the permutation_map is explicitly checked
for transpose when converting xfer ops, but for 2-D vector types the
only non-identity permutation map is transpose so this can be
simplified.
Commit: 662b1305292d69507a09164c911cfc782e0e4e73
https://github.com/llvm/llvm-project/commit/662b1305292d69507a09164c911cfc782e0e4e73
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M libc/src/__support/FPUtil/sqrt.h
R libc/src/__support/FPUtil/x86_64/PolyEval.h
M libc/src/__support/FPUtil/x86_64/sqrt.h
Log Message:
-----------
[libc][NFC] Tighten up guard conditions for sqrt and polyeval (#93791)
Found while investigating #93709
Commit: 08d168c56d303c4e6a2e85e56953c3cb98c6092c
https://github.com/llvm/llvm-project/commit/08d168c56d303c4e6a2e85e56953c3cb98c6092c
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUCombinerHelper.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
Log Message:
-----------
AMDGPU/GlobalISel: Use correct type for intrinsic ID
Commit: 0d0851b9604c4878951f5595b538a0763e9e5e73
https://github.com/llvm/llvm-project/commit/0d0851b9604c4878951f5595b538a0763e9e5e73
Author: Nico Weber <thakis at chromium.org>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
A llvm/utils/gn/secondary/llvm/unittests/Transforms/Instrumentation/BUILD.gn
Log Message:
-----------
[gn] port 8c33b3380b80 (InstrumentationTests)
Commit: 806ed2625e9569bdb55a13a2b1f9c3e71293fda6
https://github.com/llvm/llvm-project/commit/806ed2625e9569bdb55a13a2b1f9c3e71293fda6
Author: Kristof Beyls <kristof.beyls at arm.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/docs/Security.rst
Log Message:
-----------
[docs] Update security group nomination to use gh pr (#93679)
Commit: 191e64ffa9061e9c0d5387b38bd2d5a9ffebb0fb
https://github.com/llvm/llvm-project/commit/191e64ffa9061e9c0d5387b38bd2d5a9ffebb0fb
Author: Christian Sigg <csigg at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
Log Message:
-----------
[lldb][bazel] Fix BUILD after 540a36ad7e31bfeb11e795047a42bb6e30bf9985.
Commit: 05e6bb40ebfd285cc87f7ce326b7ba76c3c7f870
https://github.com/llvm/llvm-project/commit/05e6bb40ebfd285cc87f7ce326b7ba76c3c7f870
Author: Roger Ferrer Ibáñez <rofirrim at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/include/llvm/IR/RuntimeLibcalls.def
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/CodeGen/TargetLoweringBase.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.h
Log Message:
-----------
[SelectionDAG] Add an ISD::CLEAR_CACHE node to lower llvm.clear_cache (#93795)
The current way of lowering `llvm.clear_cache` is a bit unusual. As
suggested by Matt Arsenault we are better off using an ISD node.
This change introduces a new `ISD::CLEAR_CACHE`, registers a new libcall
by default named `__clear_cache` and the default legalisation is a
libcall.
This is preparatory work for a custom lowering of `ISD::CLEAR_CACHE`
needed by RISC-V on some platforms.
Commit: eb88e7c1d95452b1a7a51564b7feac030ac883ad
https://github.com/llvm/llvm-project/commit/eb88e7c1d95452b1a7a51564b7feac030ac883ad
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/test/Analysis/cfg-openmp.cpp
M clang/test/OpenMP/nvptx_target_cuda_mode_messages.cpp
R clang/test/OpenMP/target_reduction_codegen.cpp
R clang/test/OpenMP/target_reduction_messages.cpp
M clang/test/OpenMP/target_vla_messages.cpp
M llvm/include/llvm/Frontend/OpenMP/OMP.td
M llvm/unittests/Frontend/OpenMPDecompositionTest.cpp
Log Message:
-----------
[Frontend][OpenMP] Remove `reduction` from allowed clauses for `target` (#90754)
The "reduction" clause is not allowed on the "target" construct.
Commit: 7b77301c22f5d4f25c5e96834bf7d6117c608228
https://github.com/llvm/llvm-project/commit/7b77301c22f5d4f25c5e96834bf7d6117c608228
Author: Oleksandr T <oleksandr.tarasiuk at outlook.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/Sema/SemaOpenMP.cpp
Log Message:
-----------
[clang] fix(93002): clang/lib/Sema/SemaOpenMP.cpp:7405: Possible & / && mixup ? (#93093)
Fixes #93002
Commit: ed25d1a82e51595b6fdfc3d187352ed823f80491
https://github.com/llvm/llvm-project/commit/ed25d1a82e51595b6fdfc3d187352ed823f80491
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-global.s96.mir
Log Message:
-----------
[AMDGPU] Regenerate checks in inst-select-load-global.s96.mir
Commit: c28566cb892dc5ea778edee507278d7c4a90c876
https://github.com/llvm/llvm-project/commit/c28566cb892dc5ea778edee507278d7c4a90c876
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/source/API/BUILD.gn
M llvm/utils/gn/secondary/lldb/source/Core/BUILD.gn
Log Message:
-----------
[gn build] Port 8b600a37325b
Commit: 2b9c158efa33a225af38407adde6319fb26858e4
https://github.com/llvm/llvm-project/commit/2b9c158efa33a225af38407adde6319fb26858e4
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/getelementptr.ll
Log Message:
-----------
[InstCombine] Add test for miscompile in gep-of-gep fold (NFC)
Commit: 61790360381fa4526298d5121e8e0adf3456943a
https://github.com/llvm/llvm-project/commit/61790360381fa4526298d5121e8e0adf3456943a
Author: vdonaldson <37090318+vdonaldson at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/test/Lower/Intrinsics/ieee_flag.f90
Log Message:
-----------
[flang] Support calling ieee_support_flag with an array argument (#93772)
If present, the optional second argument of the ieee_exceptions
intrinsic module procedure ieee_support_flag may be either a scalar or
an array. Change the signature of the routine that implements this
function so that it is processed as a transformational function, not an
elemental function, which accounts for this argument variant.
Commit: 1bf1f93d94cb395e04329b17a4fcff65b4ff8122
https://github.com/llvm/llvm-project/commit/1bf1f93d94cb395e04329b17a4fcff65b4ff8122
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M offload/test/api/omp_device_memory.c
Log Message:
-----------
[Offload] Temporarily disable failing test after eb88e7c1
The `target reduction` combination is no longer accepted.
Disable the test to avoid build failures, until a better fix is ready.
Commit: 57da0407c44b187feed40b02cdfd24d71df755cc
https://github.com/llvm/llvm-project/commit/57da0407c44b187feed40b02cdfd24d71df755cc
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/readability/container-size-empty.cpp
Log Message:
-----------
[clang-tidy] Check number of arguments to size/length in readability-container-size-empty (#93724)
Verify that size/length methods are called with no arguments.
Closes #88203
Commit: b5db2e196928bfbaf5b4e3af50dc60caae498f30
https://github.com/llvm/llvm-project/commit/b5db2e196928bfbaf5b4e3af50dc60caae498f30
Author: David Green <david.green at arm.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/CodeGen/MachineCopyPropagation.cpp
Log Message:
-----------
[MCP] Remove unused TII argument. NFC
Last used in e35fbf5c04f4719db8ff7c7a993cbf96bb706903.
Commit: 1f46729a18ef13c3ba4184ead1da4ab3037cb7ae
https://github.com/llvm/llvm-project/commit/1f46729a18ef13c3ba4184ead1da4ab3037cb7ae
Author: Jeremy Kun <jkun at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/Polynomial/IR/Polynomial.td
M mlir/include/mlir/Dialect/Polynomial/IR/PolynomialAttributes.td
M mlir/lib/Dialect/Polynomial/IR/PolynomialCanonicalization.td
M mlir/lib/Dialect/Polynomial/IR/PolynomialOps.cpp
M mlir/test/Dialect/Polynomial/canonicalization.mlir
M mlir/test/Dialect/Polynomial/ops.mlir
M mlir/test/Dialect/Polynomial/ops_errors.mlir
Log Message:
-----------
[polynomial] Move primitive root attribute to ntt/intt ops. (#93227)
Better design to put semantics on the ops, and in this case the ntt/intt
op can lower in multiple ways depending on the polynomial ring modulus
(it can need an nth root of unity for cyclic polymul -> ntt, or a 2nth
root for negacyclic polymul -> ntt)
---------
Co-authored-by: Jeremy Kun <j2kun at users.noreply.github.com>
Commit: a871470a0d0c828718409c7a6dfb067a3231d013
https://github.com/llvm/llvm-project/commit/a871470a0d0c828718409c7a6dfb067a3231d013
Author: Stefan Gränitz <stefan.graenitz at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/unittests/Interpreter/CodeCompletionTest.cpp
M clang/unittests/Interpreter/IncrementalProcessingTest.cpp
M clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
M clang/unittests/Interpreter/InterpreterTest.cpp
A clang/unittests/Interpreter/InterpreterTestFixture.h
Log Message:
-----------
[clang-repl] Introduce common fixture class in unittests (NFC) (#93816)
Reduce code bloat by checking test requirements in a common test fixture
Commit: adc4e45f2ecce13cf4ed9b4ab119492342b86faf
https://github.com/llvm/llvm-project/commit/adc4e45f2ecce13cf4ed9b4ab119492342b86faf
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M offload/test/api/omp_device_memory.c
Log Message:
-----------
[Offload] Update test to use `target parallel for reduction`
Re-enable test disabled in 1bf1f93d with a fix.
Commit: 1159e7645b7f345e662759d763b3e6fcde62d005
https://github.com/llvm/llvm-project/commit/1159e7645b7f345e662759d763b3e6fcde62d005
Author: Ryan Holt <ryanholt at mathworks.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
M mlir/test/Dialect/Linalg/canonicalize.mlir
Log Message:
-----------
[mlir][linalg] Add folder for transpose(transpose) -> transpose (#93606)
Back to back `linalg.transpose` can be rewritten to a single transpose
Commit: f55622f0ffa4e388cb4da47b655d2a4721f8a405
https://github.com/llvm/llvm-project/commit/f55622f0ffa4e388cb4da47b655d2a4721f8a405
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M flang/lib/Lower/ConvertCall.cpp
M flang/test/Lower/Intrinsics/associated.f90
Log Message:
-----------
[flang] Lower non optional inquired argument in custom intrinsic lowering (#93592)
Handle lowering of non optional inquired argument in custom lowering.
Also fix an issue in the lowering of associated optional argument where
a box was emboxed again which led to weird result.
Commit: e8de977716e45f815edf98b0c7f53b87a1558e73
https://github.com/llvm/llvm-project/commit/e8de977716e45f815edf98b0c7f53b87a1558e73
Author: Christudasan Devadasan <christudasan.devadasan at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/GlobalISel/lds-zero-initializer.ll
M llvm/test/CodeGen/AMDGPU/lds-zero-initializer.ll
Log Message:
-----------
[AMDGPU] Fixed subtarget name in the lit test check-prefix string (NFC). (#93780)
Commit: 647d2728c4dbc387521ce3984ebfda78ff2b031f
https://github.com/llvm/llvm-project/commit/647d2728c4dbc387521ce3984ebfda78ff2b031f
Author: Stefan Gränitz <stefan.graenitz at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/unittests/Interpreter/CodeCompletionTest.cpp
M clang/unittests/Interpreter/IncrementalProcessingTest.cpp
M clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
M clang/unittests/Interpreter/InterpreterTest.cpp
M clang/unittests/Interpreter/InterpreterTestFixture.h
Log Message:
-----------
[clang-repl] Fix SetUp in CodeCompletionTest fixture (#93816)
And sort out some unused headers
Commit: 1ee02f9b6053617b741de542ee127c17c5a548be
https://github.com/llvm/llvm-project/commit/1ee02f9b6053617b741de542ee127c17c5a548be
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaOverload.cpp
M clang/test/SemaTemplate/concepts.cpp
Log Message:
-----------
[Clang] Fix overloading for constrained variadic functions (#93817)
Found by #93667
Commit: a2bcb932f3130c3c18ceb06872da9002f6845c4b
https://github.com/llvm/llvm-project/commit/a2bcb932f3130c3c18ceb06872da9002f6845c4b
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/test/API/functionalities/completion/TestCompletion.py
Log Message:
-----------
[lldb] Attempt to fix TestCompletion on macos
Macos will automatically load dependent modules when creating a target,
resulting in more modules than the test expects.
Commit: 6147a7b5f9479a4163c07064a9c78c2d5fe40d27
https://github.com/llvm/llvm-project/commit/6147a7b5f9479a4163c07064a9c78c2d5fe40d27
Author: Min-Yih Hsu <min.hsu at sifive.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVSchedSiFiveP400.td
M llvm/lib/Target/RISCV/RISCVSchedSiFiveP600.td
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/load.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP600/load.s
Log Message:
-----------
[RISCV] Adjust FP load latencies from 6 to 5 in SiFiveP400/P600 scheduling models (#93735)
According to our performance measurements, FLH/W/D have load latencies
closer to 5 rather than 6 in these two models.
Commit: facb767e5b78a024d70585b24254c769473b6b54
https://github.com/llvm/llvm-project/commit/facb767e5b78a024d70585b24254c769473b6b54
Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/test/API/tools/lldb-server/libraries-svr4/TestGdbRemoteLibrariesSvr4Support.py
Log Message:
-----------
[lldb] Fixed the TestGdbRemoteLibrariesSvr4Support test running on a remote target (#93825)
The TestGdbRemoteLibrariesSvr4Support test failed in case of Linux
x86_64 host and Linux Aarch64 target. Installing libraries to the remote
target is not enough. This test actively uses self.getBuildDir() and
os.path.realpath() which does not work in case of the remote target. So,
disable this test for remote target now.
Commit: 59e2a6b08f3e40afea87da3838ba69e1e15b6672
https://github.com/llvm/llvm-project/commit/59e2a6b08f3e40afea87da3838ba69e1e15b6672
Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/test/API/python_api/debugger/TestDebuggerAPI.py
Log Message:
-----------
[lldb] Fixed the TestDebuggerAPI test running on a remote target (#93829)
Recently we have disabled this test for Windows host and Linux target.
Now we faced the same issue #92419 in case of Linux x86_64 host and
Linux Aarch64 target.
Commit: b62ba7f5b1caf99a3cbbe06d0e1c788c2dc85416
https://github.com/llvm/llvm-project/commit/b62ba7f5b1caf99a3cbbe06d0e1c788c2dc85416
Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/test/API/tools/lldb-server/TestGdbRemotePlatformFile.py
Log Message:
-----------
[lldb] Fixed the TestGdbRemotePlatformFile test running on a remote target (#93832)
Skip checking of few stat fields like st_dev (ID of device containing
file) in case of a remote target.
Commit: ed35a92c404650b15a79ff38bcaff41de176cb78
https://github.com/llvm/llvm-project/commit/ed35a92c404650b15a79ff38bcaff41de176cb78
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M .github/new-prs-labeler.yml
A clang/include/clang/Sema/Attr.h
M clang/include/clang/Sema/Sema.h
A clang/include/clang/Sema/SemaAMDGPU.h
A clang/include/clang/Sema/SemaARM.h
A clang/include/clang/Sema/SemaBPF.h
A clang/include/clang/Sema/SemaHexagon.h
A clang/include/clang/Sema/SemaLoongArch.h
A clang/include/clang/Sema/SemaMIPS.h
A clang/include/clang/Sema/SemaNVPTX.h
A clang/include/clang/Sema/SemaPPC.h
A clang/include/clang/Sema/SemaSystemZ.h
A clang/include/clang/Sema/SemaWasm.h
M clang/lib/Parse/ParseOpenMP.cpp
M clang/lib/Sema/CMakeLists.txt
M clang/lib/Sema/Sema.cpp
A clang/lib/Sema/SemaAMDGPU.cpp
A clang/lib/Sema/SemaARM.cpp
A clang/lib/Sema/SemaBPF.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaExprCXX.cpp
A clang/lib/Sema/SemaHexagon.cpp
A clang/lib/Sema/SemaLoongArch.cpp
A clang/lib/Sema/SemaMIPS.cpp
A clang/lib/Sema/SemaNVPTX.cpp
A clang/lib/Sema/SemaPPC.cpp
A clang/lib/Sema/SemaSystemZ.cpp
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
A clang/lib/Sema/SemaWasm.cpp
M clang/utils/TableGen/MveEmitter.cpp
Log Message:
-----------
[clang] Introduce target-specific `Sema` components (#93179)
This patch introduces `SemaAMDGPU`, `SemaARM`, `SemaBPF`, `SemaHexagon`,
`SemaLoongArch`, `SemaMIPS`, `SemaNVPTX`, `SemaPPC`, `SemaSystemZ`,
`SemaWasm`. This continues previous efforts to split Sema up. Additional
context can be found in #84184 and #92682.
I decided to bundle target-specific components together because of their
low impact on `Sema`. That said, their impact on `SemaChecking.cpp` is
far from low, and I consider it a success.
Somewhat accidentally, I also moved Wasm- and AMDGPU-specific function
from `SemaDeclAttr.cpp`, because they were exposed in `Sema`. That went
well, and I consider it a success, too. I'd like to move the rest of
static target-specific functions out of `SemaDeclAttr.cpp` like we're
doing with built-ins in `SemaChecking.cpp` .
Commit: 8aa80199751b0cd6631d057b0bfb21584acb206f
https://github.com/llvm/llvm-project/commit/8aa80199751b0cd6631d057b0bfb21584acb206f
Author: Brendan Dahl <brendan.dahl at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
M llvm/test/CodeGen/WebAssembly/half-precision.ll
M llvm/test/MC/WebAssembly/simd-encodings.s
Log Message:
-----------
[WebAssembly] Implement all f16x8 relation instructions. (#93751)
All of these instructions can be generated using regular LL
instructions.
Specified at:
https://github.com/WebAssembly/half-precision/blob/29a9b9462c9285d4ccc1a5dc39214ddfd1892658/proposals/half-precision/Overview.md
Commit: 32546bd2ff822df2419589a03747c6d83415a59e
https://github.com/llvm/llvm-project/commit/32546bd2ff822df2419589a03747c6d83415a59e
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
Log Message:
-----------
[gn build] Port ed35a92c4046
Commit: a8e03aed6ab2675b8d19f93657edc48c82e93625
https://github.com/llvm/llvm-project/commit/a8e03aed6ab2675b8d19f93657edc48c82e93625
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/docs/RemoveDIsDebugInfo.md
Log Message:
-----------
[DebugInfo][RemoveDIs] Add documentation for updating code to handle debug records (#93562)
Although the patch that enables debug records by default has been
temporarily reverted, it will (eventually) be reverted and everyone's
code will be subjected to the new debug info format. Although this is
broadly a good thing, it is important that the documentation has enough
information to guide users through the update; this patch adds what
should hopefully be enough detail for most users to either find the
answers, or find out how to find those answers.
Commit: cc2fafa1788908f69366821a04407083f770483e
https://github.com/llvm/llvm-project/commit/cc2fafa1788908f69366821a04407083f770483e
Author: Poseydon42 <vvmposeydon at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Analysis/ConstantFolding.cpp
A llvm/test/Transforms/InstSimplify/uscmp.ll
Log Message:
-----------
[InstSimplify] Add constant folding support for `ucmp`/`scmp` intrinsics (#93730)
This PR adds support for folding calls to `ucmp`/`scmp` intrinsics with
constant arguments.
Commit: f6c8e7dc3e1cbcecc2f01d898b895b96bb5723be
https://github.com/llvm/llvm-project/commit/f6c8e7dc3e1cbcecc2f01d898b895b96bb5723be
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
M mlir/lib/Dialect/LLVMIR/IR/ROCDLDialect.cpp
M mlir/test/Dialect/LLVMIR/rocdl.mlir
M mlir/test/Target/LLVMIR/rocdl.mlir
Log Message:
-----------
[MLIR][AMDGPU] Remove support for old llvm.amdgcn.buffer.* intrinsics (#93838)
They have been superseded by llvm.amdgcn.raw.buffer.* and
llvm.amdgcn.struct.buffer.*.
Commit: 3d9d48523977af3590f7dd0edfd258454cb9e9cf
https://github.com/llvm/llvm-project/commit/3d9d48523977af3590f7dd0edfd258454cb9e9cf
Author: Zequan Wu <zequanwu at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.cpp
Log Message:
-----------
[lldb][DWARF] Fix adding children to clang type that hasn't started definition. (#93839)
This fixes
https://github.com/llvm/llvm-project/pull/92328#issuecomment-2139339444
by not differentiating `DW_TAG_class_type` and `DW_TAG_structure_type`
in `UniqueDWARFASTTypeList`, because it's possible that DIE for a type
is `DW_TAG_class_type` in one CU but is `DW_TAG_structure_type` in a
different CU.
---------
Co-authored-by: Michael Buch <michaelbuch12 at gmail.com>
Commit: 435114f9fe2139bec770e5a95799f4eab20639e7
https://github.com/llvm/llvm-project/commit/435114f9fe2139bec770e5a95799f4eab20639e7
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
A mlir/test/Integration/Dialect/Vector/CPU/0-d-vectors.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/mulf-full.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/mulf.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/muli-ext.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/muli-full.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/muli.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-mulf-full.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-mulf.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli-ext.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli-full.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-tilezero-block.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-tilezero.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/tilezero-block.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/tilezero.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/load-vertical.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/multi-tile-transpose.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-f16f16f32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-f32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-f64.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-i8i8i32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/ssve.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-load-vertical.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-multi-tile-transpose.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-f16f16f32.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-f32.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-f64.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-i8i8i32.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-ssve.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-transfer-read-2d.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-transfer-write-2d.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-transpose.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/tile-fill.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/tile_fill.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/transfer-read-2d.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/transfer-write-2d.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/transpose.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/contraction.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/scalable-interleave.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/sve.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-contraction.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-scalable-interleave.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-sve.mlir
A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/dot.mlir
A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/inline-asm-vector-avx512.mlir
A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/mask-compress.mlir
A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/rsqrt.mlir
A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/sparse-dot-product.mlir
R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-dot.mlir
R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-inline-asm-vector-avx512.mlir
R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-mask-compress.mlir
R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-rsqrt.mlir
R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-sparse-dot-product.mlir
R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-vp2intersect-i32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/vp2intersect-i32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/broadcast.mlir
A mlir/test/Integration/Dialect/Vector/CPU/compress.mlir
A mlir/test/Integration/Dialect/Vector/CPU/constant-mask.mlir
A mlir/test/Integration/Dialect/Vector/CPU/contraction.mlir
A mlir/test/Integration/Dialect/Vector/CPU/create-mask-v4i1.mlir
A mlir/test/Integration/Dialect/Vector/CPU/create-mask.mlir
A mlir/test/Integration/Dialect/Vector/CPU/expand.mlir
A mlir/test/Integration/Dialect/Vector/CPU/extract-strided-slice.mlir
A mlir/test/Integration/Dialect/Vector/CPU/flat-transpose-col.mlir
A mlir/test/Integration/Dialect/Vector/CPU/flat-transpose-row.mlir
A mlir/test/Integration/Dialect/Vector/CPU/fma.mlir
A mlir/test/Integration/Dialect/Vector/CPU/gather.mlir
A mlir/test/Integration/Dialect/Vector/CPU/index-vectors.mlir
A mlir/test/Integration/Dialect/Vector/CPU/insert-strided-slice.mlir
A mlir/test/Integration/Dialect/Vector/CPU/interleave.mlir
A mlir/test/Integration/Dialect/Vector/CPU/maskedload.mlir
A mlir/test/Integration/Dialect/Vector/CPU/maskedstore.mlir
A mlir/test/Integration/Dialect/Vector/CPU/matrix-multiply-col.mlir
A mlir/test/Integration/Dialect/Vector/CPU/matrix-multiply-row.mlir
A mlir/test/Integration/Dialect/Vector/CPU/outerproduct-f32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/outerproduct-i64.mlir
A mlir/test/Integration/Dialect/Vector/CPU/print-fp.mlir
A mlir/test/Integration/Dialect/Vector/CPU/print-int.mlir
A mlir/test/Integration/Dialect/Vector/CPU/print-str.mlir
A mlir/test/Integration/Dialect/Vector/CPU/realloc.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-f32-reassoc.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-f32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-f64-reassoc.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-f64.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-i32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-i4.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-i64.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-si4.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-ui4.mlir
A mlir/test/Integration/Dialect/Vector/CPU/rewrite-narrow-types.mlir
A mlir/test/Integration/Dialect/Vector/CPU/scan.mlir
A mlir/test/Integration/Dialect/Vector/CPU/scatter.mlir
A mlir/test/Integration/Dialect/Vector/CPU/shape-cast.mlir
A mlir/test/Integration/Dialect/Vector/CPU/shuffle.mlir
A mlir/test/Integration/Dialect/Vector/CPU/shuffle16x16.mlir
A mlir/test/Integration/Dialect/Vector/CPU/sparse-dot-matvec.mlir
A mlir/test/Integration/Dialect/Vector/CPU/sparse-saxpy-jagged-matvec.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-0-d-vectors.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-broadcast.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-compress.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-constant-mask.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-contraction.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-create-mask-v4i1.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-create-mask.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-expand.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-extract-strided-slice.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-flat-transpose-col.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-flat-transpose-row.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-fma.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-gather.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-index-vectors.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-insert-strided-slice.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-interleave.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-maskedload.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-maskedstore.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-matrix-multiply-col.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-matrix-multiply-row.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-outerproduct-f32.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-outerproduct-i64.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-print-fp.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-print-int.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-print-str.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-realloc.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-f32-reassoc.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-f32.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-f64-reassoc.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-f64.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-i32.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-i4.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-i64.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-si4.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-ui4.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-rewrite-narrow-types.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-scan.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-scatter.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-shape-cast.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-shuffle.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-shuffle16x16.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-sparse-dot-matvec.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-sparse-saxpy-jagged-matvec.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-1d.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-2d.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-3d.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-to-loops.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-write.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transpose.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transfer-read-1d.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transfer-read-2d.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transfer-read-3d.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transfer-read.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transfer-to-loops.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transfer-write.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transpose.mlir
Log Message:
-----------
[mlir][test] Rename Vector integration tests for CPU (nfc) (#93521)
To keep the test filenames consistent, this patch:
* removes "test-" from file names (there used to be a mix of
"test-feature-1.mlir" and "feature-2.mlir"),
* replaces "_" with "-" (there used to be a mix of "feature-3.mlir"
and "feature_4.mlir").
Only files under test/Integration/Dialect/Vector/CPU are updated.
Commit: ce5b371606422ed21cda0e24cdc89cb41cdc5600
https://github.com/llvm/llvm-project/commit/ce5b371606422ed21cda0e24cdc89cb41cdc5600
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M bolt/test/AArch64/Inputs/array_end.lld_script
M bolt/test/Inputs/lsda.ldscript
Log Message:
-----------
[BOLT,test] Make linker scripts less sensitive to lld's orphan placement (#93763)
Then two tests rely on .interp being the first section.
llvm-bolt would crash if lld places .interp after .got
(f639b57f7993cadb82ee9c36f04703ae4430ed85).
For best portability, when a linker scripts specifies a SECTIONS
command, the first section for each PT_LOAD segment should be specified
with a MAXPAGESIZE alignment. Otherwise, linkers have freedom to decide
how to place orphan sections, which might break intention.
Commit: 5f243b3fffca42ed320529a54aefd86087aa85f8
https://github.com/llvm/llvm-project/commit/5f243b3fffca42ed320529a54aefd86087aa85f8
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
Log Message:
-----------
AMDGPU: Generalize instruction shrinking code (#93810)
Try to avoid referring to specific operand names, except in the special
case. The special case for hasNamedOperand(Op32, sdst) seems to have
been dead code.
Commit: 48175a5d9f62f0586c04e5a742dafa5e1943f19c
https://github.com/llvm/llvm-project/commit/48175a5d9f62f0586c04e5a742dafa5e1943f19c
Author: Miro Bucko <mbucko at meta.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/bindings/headers.swig
A lldb/bindings/interface/SBAddressRangeDocstrings.i
A lldb/bindings/interface/SBAddressRangeExtensions.i
A lldb/bindings/interface/SBAddressRangeListDocstrings.i
A lldb/bindings/interface/SBAddressRangeListExtensions.i
M lldb/bindings/interfaces.swig
M lldb/include/lldb/API/LLDB.h
M lldb/include/lldb/API/SBAddress.h
A lldb/include/lldb/API/SBAddressRange.h
A lldb/include/lldb/API/SBAddressRangeList.h
M lldb/include/lldb/API/SBBlock.h
M lldb/include/lldb/API/SBDefines.h
M lldb/include/lldb/API/SBFunction.h
M lldb/include/lldb/API/SBStream.h
M lldb/include/lldb/API/SBTarget.h
M lldb/include/lldb/Core/AddressRange.h
A lldb/include/lldb/Core/AddressRangeListImpl.h
M lldb/include/lldb/Symbol/Block.h
M lldb/include/lldb/lldb-forward.h
M lldb/source/API/CMakeLists.txt
A lldb/source/API/SBAddressRange.cpp
A lldb/source/API/SBAddressRangeList.cpp
M lldb/source/API/SBBlock.cpp
M lldb/source/API/SBFunction.cpp
M lldb/source/Core/AddressRange.cpp
A lldb/source/Core/AddressRangeListImpl.cpp
M lldb/source/Core/CMakeLists.txt
M lldb/source/Symbol/Block.cpp
A lldb/test/API/python_api/address_range/Makefile
A lldb/test/API/python_api/address_range/TestAddressRange.py
A lldb/test/API/python_api/address_range/main.cpp
Log Message:
-----------
[lldb] Add SBAddressRange and SBAddressRangeList to SB API (#93836)
This adds new SB API calls and classes to allow a user of the SB API to obtain an address range from SBFunction and SBBlock. This is a second attempt to land the reverted PR #92014.
Commit: ded04bf5d32a4fd5e0919053a598443f9d773549
https://github.com/llvm/llvm-project/commit/ded04bf5d32a4fd5e0919053a598443f9d773549
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/source/API/BUILD.gn
M llvm/utils/gn/secondary/lldb/source/Core/BUILD.gn
Log Message:
-----------
[gn build] Port 48175a5d9f62
Commit: 270d95bfedc20c28f142ac63b4882dd06c869c90
https://github.com/llvm/llvm-project/commit/270d95bfedc20c28f142ac63b4882dd06c869c90
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
R lld/test/ELF/linkerscript/orphan-align.s
M lld/test/ELF/linkerscript/orphan.s
R lld/test/ELF/linkerscript/orphans.s
Log Message:
-----------
[ELF] Improve orphan placement tests
Merge orphan-align.test (which introduced `shouldSkip`) into orphan.s.
Commit: 692ae5443b1778e138527ef55d799a4b535a36f9
https://github.com/llvm/llvm-project/commit/692ae5443b1778e138527ef55d799a4b535a36f9
Author: Jeremy Kun <jkun at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M mlir/lib/Dialect/Polynomial/IR/PolynomialOps.cpp
M mlir/test/Dialect/Polynomial/ops_errors.mlir
Log Message:
-----------
[mlir][polynomial] verify from_tensor coeff type (#93243)
Rebased over https://github.com/llvm/llvm-project/pull/93227
---------
Co-authored-by: Jeremy Kun <j2kun at users.noreply.github.com>
Commit: 73e07e924470ebab76a634e41fadf425a859e0ea
https://github.com/llvm/llvm-project/commit/73e07e924470ebab76a634e41fadf425a859e0ea
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lld/test/ELF/linkerscript/orphan.s
Log Message:
-----------
[ELF] Add RW then text test
Currently, lld assigns RF_NOT_SPECIAL so that orphan .interp and
SHT_NOTE are always before other sections. GNU ld doesn't do so. The
next change will remove RF_NOT_SPECIAL.
Commit: 747d670baef35f0615b32652e93c97a2ff8dba18
https://github.com/llvm/llvm-project/commit/747d670baef35f0615b32652e93c97a2ff8dba18
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lld/ELF/Writer.cpp
M lld/test/ELF/linkerscript/orphan.s
Log Message:
-----------
[ELF] Make .interp/SHT_NOTE not special
Follow-up to a previous simplification
2473b1af085ad54e89666cedf684fdf10a84f058.
The xor difference between a SHT_NOTE and a read-only SHT_PROGBITS
(previously >=NOT_SPECIAL) should be smaller than RF_EXEC. Otherwise,
for the following section layout, `findOrphanPos` would place .text
before note.
```
// simplified from linkerscript/custom-section-type.s
non orphans:
progbits 0x8060c00 NOT_SPECIAL
note 0x8040003
orphan:
.text 0x8061000 NOT_SPECIAL
```
rw-text.lds in orphan.s (added by
73e07e924470ebab76a634e41fadf425a859e0ea) demonstrates a similar case.
The new behavior is more similar to GNU ld.
#93763 fixed BOLT's brittle reliance on the previous .interp behavior.
Commit: 8fa66c6ca7272268747835a0e86805307b62399c
https://github.com/llvm/llvm-project/commit/8fa66c6ca7272268747835a0e86805307b62399c
Author: Charlie Barto <chbarto at microsoft.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/Driver/SanitizerArgs.cpp
M clang/lib/Driver/ToolChains/MSVC.cpp
M clang/test/Driver/cl-link.c
M compiler-rt/CMakeLists.txt
M compiler-rt/lib/asan/CMakeLists.txt
M compiler-rt/lib/asan/asan_flags.cpp
M compiler-rt/lib/asan/asan_globals_win.cpp
M compiler-rt/lib/asan/asan_malloc_win.cpp
A compiler-rt/lib/asan/asan_malloc_win_thunk.cpp
A compiler-rt/lib/asan/asan_win_common_runtime_thunk.cpp
A compiler-rt/lib/asan/asan_win_common_runtime_thunk.h
R compiler-rt/lib/asan/asan_win_dll_thunk.cpp
M compiler-rt/lib/asan/asan_win_dynamic_runtime_thunk.cpp
A compiler-rt/lib/asan/asan_win_static_runtime_thunk.cpp
M compiler-rt/lib/asan/tests/CMakeLists.txt
M compiler-rt/lib/profile/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/sanitizer_common_interface.inc
R compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_dll_thunk.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_dynamic_runtime_thunk.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_runtime_thunk.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_weak_interception.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_dll_thunk.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_dll_thunk.h
R compiler-rt/lib/sanitizer_common/sanitizer_win_dynamic_runtime_thunk.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_immortalize.h
A compiler-rt/lib/sanitizer_common/sanitizer_win_interception.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_interception.h
A compiler-rt/lib/sanitizer_common/sanitizer_win_thunk_interception.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_thunk_interception.h
R compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.h
M compiler-rt/lib/ubsan/CMakeLists.txt
R compiler-rt/lib/ubsan/ubsan_win_dll_thunk.cpp
R compiler-rt/lib/ubsan/ubsan_win_dynamic_runtime_thunk.cpp
A compiler-rt/lib/ubsan/ubsan_win_runtime_thunk.cpp
R compiler-rt/lib/ubsan/ubsan_win_weak_interception.cpp
M compiler-rt/test/asan/TestCases/Darwin/interface_symbols_darwin.cpp
M compiler-rt/test/asan/TestCases/Linux/interface_symbols_linux.cpp
M compiler-rt/test/asan/TestCases/Windows/double_free.cpp
M compiler-rt/test/asan/TestCases/Windows/free_hook_realloc.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/msvc/dll_and_lib.cpp
M compiler-rt/test/asan/TestCases/Windows/msvc/dll_large_function.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/symbols_path.cpp
M compiler-rt/test/asan/TestCases/Windows/unsymbolized.cpp
M compiler-rt/test/asan/TestCases/Windows/use_after_realloc.cpp
M compiler-rt/test/asan/TestCases/debug_double_free.cpp
M compiler-rt/test/asan/TestCases/debug_report.cpp
M compiler-rt/test/asan/TestCases/default_options.cpp
M compiler-rt/test/asan/TestCases/on_error_callback.cpp
M compiler-rt/test/asan/TestCases/report_error_summary.cpp
M compiler-rt/test/asan/lit.cfg.py
Log Message:
-----------
[asan][windows] Eliminate the static asan runtime on windows (#93770)
Re-Apply: 246234ac70faa1e3281a2bb83dfc4dd206a7d59c
Originally #81677
The static asan runtime on windows had various buggy hacks to ensure loaded dlls got the executable's copy of asan, these never worked all that well, so we have eliminated the static runtime altogether and made the dynamic runtime work for applications linking any flavor of the CRT.
Among other things this allows non-asan-instrumented applications to load asan-instrumented dlls that link against the static CRT.
Co-authored-by: Amy Wishnousky <amyw at microsoft.com>
Commit: 5785048321ab82d18667655681d871f7cdc357e5
https://github.com/llvm/llvm-project/commit/5785048321ab82d18667655681d871f7cdc357e5
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
M llvm/unittests/Transforms/Vectorize/VPlanTestBase.h
Log Message:
-----------
[VPlan] Add VPIRBasicBlock, use to model pre-preheader. (#93398)
This patch adds a new special type of VPBasicBlock that wraps an
existing IR basic block. Recipes of the block get added before the
terminator of the wrapped IR basic block. Making it a subclass of
VPBasicBlock avoids duplicating various APIs to manage recipes in a
block, as well as makes sure the traversals filtering VPBasicBlocks
automatically apply as well.
Initially VPIRBasicBlock are only used for the pre-preheader (wrapping
the original preheader of the scalar loop).
As follow-up, this will be used to move more parts of the skeleton
inside VPlan, starting with the branch and condition in the middle
block.
Separated out of https://github.com/llvm/llvm-project/pull/92651
PR: https://github.com/llvm/llvm-project/pull/93398
Commit: 485f9f589595006a8d10b8d39bde7124b0dc2042
https://github.com/llvm/llvm-project/commit/485f9f589595006a8d10b8d39bde7124b0dc2042
Author: Hendrik Hübner <117831077+HendrikHuebner at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/include/llvm-libc-types/pthread_rwlockattr_t.h
M libc/include/pthread.h.def
M libc/spec/posix.td
M libc/src/pthread/CMakeLists.txt
A libc/src/pthread/pthread_rwlockattr_getkind_np.cpp
A libc/src/pthread/pthread_rwlockattr_getkind_np.h
M libc/src/pthread/pthread_rwlockattr_init.cpp
A libc/src/pthread/pthread_rwlockattr_setkind_np.cpp
A libc/src/pthread/pthread_rwlockattr_setkind_np.h
M libc/test/src/pthread/CMakeLists.txt
M libc/test/src/pthread/pthread_rwlockattr_test.cpp
Log Message:
-----------
Reland: [libc][POSIX][pthreads] implemented missing pthread_rwlockattr functions (#93622)
New pull request for https://github.com/llvm/llvm-project/issues/89443
The previous PR was reverted after breaking fullbuild due to a missing
struct declaration, which I forgot to commit.
Reverts revert and adds the missing pthread_rwlockattr_getkind_np /
pthread_rwlockattr_setkind_np functions and tests respecitvely.
Commit: 3af717d661e9fe8d562181b933a373ca58e41b27
https://github.com/llvm/llvm-project/commit/3af717d661e9fe8d562181b933a373ca58e41b27
Author: khaki3 <47756807+khaki3 at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M flang/examples/FeatureList/FeatureList.cpp
M flang/include/flang/Parser/dump-parse-tree.h
M flang/include/flang/Parser/parse-tree.h
M flang/include/flang/Semantics/symbol.h
M flang/lib/Lower/OpenACC.cpp
M flang/lib/Parser/executable-parsers.cpp
M flang/lib/Parser/openacc-parsers.cpp
M flang/lib/Parser/unparse.cpp
M flang/lib/Semantics/check-acc-structure.cpp
M flang/lib/Semantics/check-cuda.cpp
M flang/lib/Semantics/check-do-forall.cpp
M flang/lib/Semantics/resolve-names.cpp
A flang/test/Semantics/resolve123.f90
A flang/test/Semantics/resolve124.f90
M flang/test/Semantics/resolve55.f90
Log Message:
-----------
[flang] Add parsing of DO CONCURRENT REDUCE clause (#92518)
Derived from #92480. This PR supports parsing of the DO CONCURRENT
REDUCE clause in Fortran 2023. Following the style of the OpenMP parser
in MLIR, the front end accepts both arbitrary operations and procedures
for the REDUCE clause. But later Semantics can notify type errors and
resolve procedure names.
Commit: 0a93e9f2e264472f1c8c3b5d8726aa43a02ecace
https://github.com/llvm/llvm-project/commit/0a93e9f2e264472f1c8c3b5d8726aa43a02ecace
Author: Charlie Barto <chbarto at microsoft.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/Driver/SanitizerArgs.cpp
M clang/lib/Driver/ToolChains/MSVC.cpp
M clang/test/Driver/cl-link.c
M compiler-rt/CMakeLists.txt
M compiler-rt/lib/asan/CMakeLists.txt
M compiler-rt/lib/asan/asan_flags.cpp
M compiler-rt/lib/asan/asan_globals_win.cpp
M compiler-rt/lib/asan/asan_malloc_win.cpp
R compiler-rt/lib/asan/asan_malloc_win_thunk.cpp
R compiler-rt/lib/asan/asan_win_common_runtime_thunk.cpp
R compiler-rt/lib/asan/asan_win_common_runtime_thunk.h
A compiler-rt/lib/asan/asan_win_dll_thunk.cpp
M compiler-rt/lib/asan/asan_win_dynamic_runtime_thunk.cpp
R compiler-rt/lib/asan/asan_win_static_runtime_thunk.cpp
M compiler-rt/lib/asan/tests/CMakeLists.txt
M compiler-rt/lib/profile/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/sanitizer_common_interface.inc
A compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_dll_thunk.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_dynamic_runtime_thunk.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_runtime_thunk.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_weak_interception.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_dll_thunk.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_dll_thunk.h
A compiler-rt/lib/sanitizer_common/sanitizer_win_dynamic_runtime_thunk.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_immortalize.h
R compiler-rt/lib/sanitizer_common/sanitizer_win_interception.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_interception.h
R compiler-rt/lib/sanitizer_common/sanitizer_win_thunk_interception.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_thunk_interception.h
A compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.h
M compiler-rt/lib/ubsan/CMakeLists.txt
A compiler-rt/lib/ubsan/ubsan_win_dll_thunk.cpp
A compiler-rt/lib/ubsan/ubsan_win_dynamic_runtime_thunk.cpp
R compiler-rt/lib/ubsan/ubsan_win_runtime_thunk.cpp
A compiler-rt/lib/ubsan/ubsan_win_weak_interception.cpp
M compiler-rt/test/asan/TestCases/Darwin/interface_symbols_darwin.cpp
M compiler-rt/test/asan/TestCases/Linux/interface_symbols_linux.cpp
M compiler-rt/test/asan/TestCases/Windows/double_free.cpp
M compiler-rt/test/asan/TestCases/Windows/free_hook_realloc.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/msvc/dll_and_lib.cpp
M compiler-rt/test/asan/TestCases/Windows/msvc/dll_large_function.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/symbols_path.cpp
M compiler-rt/test/asan/TestCases/Windows/unsymbolized.cpp
M compiler-rt/test/asan/TestCases/Windows/use_after_realloc.cpp
M compiler-rt/test/asan/TestCases/debug_double_free.cpp
M compiler-rt/test/asan/TestCases/debug_report.cpp
M compiler-rt/test/asan/TestCases/default_options.cpp
M compiler-rt/test/asan/TestCases/on_error_callback.cpp
M compiler-rt/test/asan/TestCases/report_error_summary.cpp
M compiler-rt/test/asan/lit.cfg.py
Log Message:
-----------
Revert "[asan][windows] Eliminate the static asan runtime on windows (#93770)"
This reverts commit 8fa66c6ca7272268747835a0e86805307b62399c.
Commit: f8cc183ea244be6b8ea5e9da7733923e39c9fc38
https://github.com/llvm/llvm-project/commit/f8cc183ea244be6b8ea5e9da7733923e39c9fc38
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/include/llvm/DWARFLinker/Utils.h
M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerCompileUnit.cpp
M llvm/unittests/DWARFLinkerParallel/DWARFLinkerTest.cpp
Log Message:
-----------
Fix the dsymutil heuristic for excluding system interfaces. (#93745)
The function was meant to find the Developer/ dir, but it found a
Developer directory nested deep inside the top-level Developer dir.
The new implementation rejects everything in Xcode.app/Developer in
broad strokes.
rdar://128571037
Commit: 7cfffe74eeb68fbb3fb9706ac7071f8caeeb6520
https://github.com/llvm/llvm-project/commit/7cfffe74eeb68fbb3fb9706ac7071f8caeeb6520
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/include/llvm/Bitcode/BitcodeWriter.h
M llvm/include/llvm/Bitstream/BitstreamWriter.h
M llvm/include/llvm/ProfileData/PGOCtxProfWriter.h
M llvm/include/llvm/Support/raw_ostream.h
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/Support/raw_ostream.cpp
M llvm/unittests/Bitstream/BitstreamWriterTest.cpp
Log Message:
-----------
Unittests and usability for BitstreamWriter incremental flushing (#92983)
- added unittests for the raw_fd_stream output case.
- the `BitstreamWriter` ctor was confusing, the relationship between the buffer and the file stream wasn't clear and in fact there was a potential bug in `BitcodeWriter` in the mach-o case, because that code assumed in-buffer only serialization. The incremental flushing behavior of flushing at end of block boundaries was an implementation detail that meant serializers not using blocks (for example) would need to know to check the buffer and flush. The bug was latent - in the sense that, today, because the stream being passed was not a `raw_fd_stream`, incremental buffering never kicked in.
The new design moves the responsibility of flushing to the `BitstreamWriter`, and makes it work with any `raw_ostream` (but incrementally flush only in the `raw_fd_stream` case). If the `raw_ostream` is over a buffer - i.e. a `raw_svector_stream` - then it's equivalent to today's buffer case. For all other `raw_ostream` cases, buffering is an implementation detail. In all cases, the buffer is flushed (well, in the buffer case, that's a moot statement).
This simplifies the state and state transitions the user has to track: you have a raw_ostream -> BitstreamWrite in it -> destroy the writer => the bitstream is completely written in your raw_ostream. The "buffer" case and the "raw_fd_stream" case become optimizations rather than imposing state transition concerns to the user.
Commit: 0eb9e021b15f477b796a6aaed94c94887f19171c
https://github.com/llvm/llvm-project/commit/0eb9e021b15f477b796a6aaed94c94887f19171c
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M libc/cmake/modules/CheckCompilerFeatures.cmake
A libc/cmake/modules/compiler_features/check_float16.cpp
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/include/CMakeLists.txt
M libc/include/llvm-libc-macros/CMakeLists.txt
A libc/include/llvm-libc-macros/float16-macros.h
M libc/include/math.h.def
M libc/spec/spec.td
M libc/spec/stdc.td
M libc/src/__support/CPP/type_traits/is_floating_point.h
M libc/src/__support/FPUtil/FPBits.h
M libc/src/__support/macros/properties/CMakeLists.txt
M libc/src/__support/macros/properties/types.h
M libc/src/math/CMakeLists.txt
A libc/src/math/fabsf16.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/fabsf16.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/fabsf16_test.cpp
Log Message:
-----------
[libc][math][c23] Add fabsf16 C23 math function (#93567)
cc @lntue
Commit: baabaa4ce9e79aa33e309eed515e67ae8e328c8b
https://github.com/llvm/llvm-project/commit/baabaa4ce9e79aa33e309eed515e67ae8e328c8b
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/include/clang/Sema/Sema.h
M clang/include/clang/Sema/SemaBase.h
M clang/include/clang/Sema/SemaInternal.h
M clang/lib/Sema/SemaBase.cpp
M clang/lib/Sema/SemaDeclObjC.cpp
M clang/lib/Sema/SemaExprObjC.cpp
M clang/lib/Sema/SemaOpenMP.cpp
Log Message:
-----------
[clang][NFC] Move `PDiag` into `SemaBase` (#93849)
This patch moves `PDiag` into `SemaBase`, making it readily available
everywhere across `Sema` without `SemaRef`, like the regular `Diag`.
Commit: 973821cb44cf2826e2aea1cd40ff40e6e975b9d6
https://github.com/llvm/llvm-project/commit/973821cb44cf2826e2aea1cd40ff40e6e975b9d6
Author: Florian Mayer <fmayer at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64StackTagging.cpp
Log Message:
-----------
[MTE] rename RecordStackHistoryMode
We used the same name in the global name space for HWASan, so we got
a collision.
Commit: c803c29039a9716436d338b7c513c75b7bbfa8f3
https://github.com/llvm/llvm-project/commit/c803c29039a9716436d338b7c513c75b7bbfa8f3
Author: Mingming Liu <mingmingl at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/ProfileData/InstrProf.cpp
Log Message:
-----------
[nfc][InstrProf]Remove 'offsetOf' when parsing indexed profiles (#93346)
- In `Header::readFromBuffer`, read the buffer in the forward direction by using `readNext`.
- When compute the header size, spell out the constant.
With the changes above, we can remove `offsetOf` in InstrProf.cpp
---------
Co-authored-by: Kazu Hirata <kazu at google.com>
Commit: 9faa623d96baa39fe109a74ff903c568c7a6782b
https://github.com/llvm/llvm-project/commit/9faa623d96baa39fe109a74ff903c568c7a6782b
Author: Martin Storsjö <martin at martin.st>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M compiler-rt/test/asan/TestCases/debug_double_free.cpp
M compiler-rt/test/asan/TestCases/debug_report.cpp
Log Message:
-----------
[compiler-rt] [test] Work around MS CRT stdio format quirks on mingw too (#93787)
So far, these tests have been disabled in mingw build configurations
(built as asan-dynamic), but these were enabled in
246234ac70faa1e3281a2bb83dfc4dd206a7d59c, exposing the issue.
(That commit is currently reverted, but will probably be relanded in
some form soon.)
Commit: ce7b67091267ffcc67194b0f116a63249a77230f
https://github.com/llvm/llvm-project/commit/ce7b67091267ffcc67194b0f116a63249a77230f
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/Parse/ParseOpenMP.cpp
Log Message:
-----------
[clang][OpenMP] Simplify check for repeated clauses (#93611)
The `FirstClauses` is a vector of pointer-bool pairs, and the pointer
part of the pair is never used. Replace the vector with std::bitset, and
rename it to `SeenClauses` to make the purpose of it a bit clearer.
Commit: 61afebdacc3b980fb82ea606d78d742847a133c3
https://github.com/llvm/llvm-project/commit/61afebdacc3b980fb82ea606d78d742847a133c3
Author: Teresa Johnson <tejohnson at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
Log Message:
-----------
[MemProf][NFC] Switch to DenseMaps (#93868)
Change a couple of maps from std::map to DenseMap, which showed
a modest (3.6%) reduction in peak RSS.
Commit: 7b8048939024841e07f8d89ddfaa4311f9dd7e9c
https://github.com/llvm/llvm-project/commit/7b8048939024841e07f8d89ddfaa4311f9dd7e9c
Author: Artem Yurchenko <44875844+temyurchenko at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/AST/DeclPrinter.cpp
A clang/test/AST/ast-print-language-linkage.cpp
Log Message:
-----------
[clang][AST] fix ast-print of `extern <lang>` with >=2 declarators (#93131)
Problem: the printer used to ignore all but the first declarator for
unbraced language linkage declarators. Furthemore, that one would be
printed without the final semicolon.
Solution: when there is more than one declarator, we print them in a
braced `extern <lang>` block. If the original declaration was unbraced
and there is one or less declarator, we omit the braces, but add the
semicolon.
**N.B.** We are printing braces which were, in some cases, absent from
the original CST. If that's an issue, I'll work on it. See the tests for
the examples.
Commit: 224581cf3c8b734d619e261ec4705106282ae3a8
https://github.com/llvm/llvm-project/commit/224581cf3c8b734d619e261ec4705106282ae3a8
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M flang/lib/Semantics/check-do-forall.cpp
Log Message:
-----------
[flang] Fix a warning
This patch fixes:
flang/lib/Semantics/check-do-forall.cpp:731:9: error: default label
in switch which covers all enumeration values
[-Werror,-Wcovered-switch-default]
Commit: 22ada554d5123717d163fea5a2a8d87020b332fe
https://github.com/llvm/llvm-project/commit/22ada554d5123717d163fea5a2a8d87020b332fe
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/include/llvm/DWARFLinker/Utils.h
M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerCompileUnit.cpp
M llvm/unittests/DWARFLinkerParallel/DWARFLinkerTest.cpp
Log Message:
-----------
[dsymutil] Also detect external downloadable toolchains (#93872)
and reject them when copying Swift interface files, since they can live
outside of DEVELOPER_DIR.
Commit: 6f576d957e7efd2e3b2af90d03e626f0bafbd018
https://github.com/llvm/llvm-project/commit/6f576d957e7efd2e3b2af90d03e626f0bafbd018
Author: Nick Desaulniers (paternity leave) <nickdesaulniers at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M libc/test/UnitTest/LibcTest.cpp
M libc/test/UnitTest/LibcTest.h
M libc/test/UnitTest/LibcTestMain.cpp
M libc/test/utils/UnitTest/testfilter_test.cpp
Log Message:
-----------
[libc] android atest compat (#93852)
These changes slighly modify the output of the unittests so that they better
match GTest, so that utilities that parse the expected output from GTest (such
as Android's unit test harness) can read the output from our unit tests.
This allows our unit tests to be run on Android devices.
Add very primitive command line parsing to:
- support --gtest_color=no to disable printing terminal colors.
- recognize --gtest_print_time and print the test time in milliseconds.
- most of our unit tests run on the order of microseconds, so its useful to
preserve the existing behavior. But upsteram GTest ONLY prints time tests
in milliseconds, and Android's atest expects to be able to parse exactly
that. Atest always passes --gtest_print_time. The word `took` is removed as
that also differs from upstream GTest, tripping up parsers.
- ignore other --gtest_* flags
Do so so that atest can parse the output correctly.
Print the test number count before
each run, so that atest can parse this value correctly.
Link: https://android-review.googlesource.com/c/platform/external/llvm-libc/+/3107252
Link: https://google.github.io/googletest/advanced.html#colored-terminal-output
Link: https://google.github.io/googletest/advanced.html#suppressing-the-elapsed-time
Commit: d471860f2d3bbc7208ebf6e9e3e5350677f9c290
https://github.com/llvm/llvm-project/commit/d471860f2d3bbc7208ebf6e9e3e5350677f9c290
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
Log Message:
-----------
[bazel] Port #92983 (#93874)
Commit: 6e975ecf5c93c40d2f088425548eb6476332629c
https://github.com/llvm/llvm-project/commit/6e975ecf5c93c40d2f088425548eb6476332629c
Author: David Blaikie <dblaikie at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/include/clang/Basic/DebugOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
A clang/test/CodeGenCXX/debug-info-incomplete-types.cpp
M clang/test/Driver/debug-options.c
Log Message:
-----------
Reapply "[DebugInfo] Add flag to only emit referenced member functions" (#93767)
This reverts commit 02c6845c762dfd0a19d4a2f997990e160f392dae,
reapplying bfabc958c7c0d7ddc15f23383d9da836e8c6093f.
The patch was reverted due to the test failing on MacOS and Windows
where type units aren't supported. This is addressed by limiting type
unit flag/test coverage to Linux.
Complete C++ type information can be quite expensive - and there's
limited value in representing every member function, even those that
can't be called (we don't do similarly for every non-member function
anyway). So add a flag to opt out of this behavior for experimenting
with this more terse behavior.
I think Sony already does this by default, so perhaps with a change to
the defaults, Sony can migrate to this rather than a downstream patch.
This breaks current debuggers in some expected ways - but those
breakages are visible without this feature too. Consider member function
template instantiations - they can't be consistently enumerated in every
translation unit:
a.h:
```
struct t1 {
template <int i>
static int f1() {
return i;
}
};
namespace ns {
template <int i>
int f1() {
return i;
}
} // namespace ns
```
a.cpp:
```
void f1() {
t1::f1<0>();
ns::f1<0>();
}
```
b.cpp:
```
void f1();
int main() {
f1();
t1::f1<1>();
ns::f1<1>();
}
```
```
(gdb) p ns::f1<0>()
$1 = 0
(gdb) p ns::f1<1>()
$2 = 1
(gdb) p t1::f1<0>()
Couldn't find method t1::f1<0>
(gdb) p t1::f1<1>()
$3 = 1
(gdb) s
f1 () at a.cpp:3
3 t1::f1<0>();
(gdb) p t1::f1<0>()
$4 = 0
(gdb) p t1::f1<1>()
Couldn't find method t1::f1<1>
(gdb)
```
(other similar non-canonical features are implicit special members
(copy/move ctor/assignment operator, default ctor) and nested types (eg:
pimpl idiom, where the nested type is declared-but-not-defined in one
TU, and defined in another TU))
lldb can't parse the template expressions above, so I'm not sure how to
test it there, but I'd guess it has similar problems. (
https://stackoverflow.com/questions/64602475/how-to-print-value-returned-by-template-member-function-in-gdb-lldb-debugging
so... I guess that's just totally not supported in lldb, how
unfortunate. And implicit special members are instantiated implicitly by
lldb, so missing those doesn't tickle the same issue)
Some very rudimentary numbers for a clang debug build:
.debug_info section size:
-g: 476MiB
-g -fdebug-types-section: 357MiB
-g -gomit-unreferenced-members: 340MiB
Though it also means a major reduction in .debug_str size,
-fdebug-types-section doesn't reduce string usage (so the first two
examples have the same .debug_str size, 247MiB), down to 175MiB.
So for total clang binary size (I don't have a quick "debug section size
reduction" on-hand): 1.45 (no type units) GiB -> 1.34 -> 1.22, so it
saves about 120MiB of binary size.
Original Differential Revision: https://reviews.llvm.org/D152017
Commit: 8247068b70106d188d037b9cc4b8de3548108597
https://github.com/llvm/llvm-project/commit/8247068b70106d188d037b9cc4b8de3548108597
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-trunc-sat-clip.ll
M llvm/test/CodeGen/RISCV/rvv/fpclamptosat_vec.ll
M llvm/test/CodeGen/RISCV/rvv/trunc-sat-clip-sdnode.ll
Log Message:
-----------
[RISCV] Support (truncate (smin (smax X, C1), C2)) for vnclipu in combineTruncToVnclip. (#93756)
If the smax removed all negative numbers, then we can treat the smin
like a umin.
If the smin and smax are in the other order we can swap them and use a
vnclipu as long as the smax constant is smaller than the smin constant.
This is based on similar code from X86's detectUSatPattern.
Commit: 167cad531db897c708610447d2632f137931c4be
https://github.com/llvm/llvm-project/commit/167cad531db897c708610447d2632f137931c4be
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lld/test/ELF/linkerscript/addr.test
R lld/test/ELF/linkerscript/expr-invalid-sec.test
R lld/test/ELF/linkerscript/expr-sections.test
R lld/test/ELF/linkerscript/parse-section-in-addr.test
Log Message:
-----------
[ELF] Improve ADDR tests
Merge some test files.
The "undefined section" error (`checkIfExists`) was previously untested.
Commit: 493eefc93f2901dd987b8ff441004352b317cab9
https://github.com/llvm/llvm-project/commit/493eefc93f2901dd987b8ff441004352b317cab9
Author: Miro Bucko <mbucko at meta.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/test/API/python_api/address_range/TestAddressRange.py
Log Message:
-----------
[lldb][test] Fix failing test TestAddressRange.py (#93871)
Test llvm-project/lldb/test/API/python_api/address_range/TestAddressRange.py is failing on Windows due adding a carriage return character at the end of line. Original PR is #93836.
Commit: 031f08c0a5aa1e9fb6995e26f5e9270a81f077cd
https://github.com/llvm/llvm-project/commit/031f08c0a5aa1e9fb6995e26f5e9270a81f077cd
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[bazel] Port #93567 (#93877)
Commit: f795853d1f77bff69c3805f75e54fa7a32cc23d9
https://github.com/llvm/llvm-project/commit/f795853d1f77bff69c3805f75e54fa7a32cc23d9
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Support/raw_ostream.cpp
Log Message:
-----------
raw_ostream: Fix a comment in llvm::errs
https://reviews.llvm.org/D81156 tied errs() to outs().
030897523d43e3296f69d25a71a140d9e5793c6a removed the tie, but did not
update the comment.
Commit: c4dad9a6b6dd048b4a8d771864ff905cbc2467af
https://github.com/llvm/llvm-project/commit/c4dad9a6b6dd048b4a8d771864ff905cbc2467af
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.h
Log Message:
-----------
[DirectX] Fix BitcodeWriter ctor after #92983
Commit: 215f92b979277a7ea4d331ae25a3ab9b77c9da0e
https://github.com/llvm/llvm-project/commit/215f92b979277a7ea4d331ae25a3ab9b77c9da0e
Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
A llvm/test/CodeGen/AMDGPU/load-store-opt-addc0.mir
Log Message:
-----------
[AMDGPU] Fix crash in the SILoadStoreOptimizer (#93862)
It does not properly handle situation when address calculation uses
V_ADDC_U32 0, 0, carry-in (i.e. with both src0 and src1 immediates).
Commit: d5f077cf52b3e14beb9932ddf7043685a31580b6
https://github.com/llvm/llvm-project/commit/d5f077cf52b3e14beb9932ddf7043685a31580b6
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lld/ELF/LinkerScript.cpp
Log Message:
-----------
[ELF] Simplify assignOffsets. NFC
Commit: 90acfbf90ddcb9c8c3338373bd13cb44f73bbd00
https://github.com/llvm/llvm-project/commit/90acfbf90ddcb9c8c3338373bd13cb44f73bbd00
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProfReader.h
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/lib/ProfileData/InstrProfReader.cpp
M llvm/lib/ProfileData/InstrProfWriter.cpp
M llvm/lib/ProfileData/MemProf.cpp
Log Message:
-----------
[memprof] Use linear IDs for Frames and call stacks (#93740)
With this patch, we stop using on-disk hash tables for Frames and call
stacks. Instead, we'll write out all the Frames as a flat array while
maintaining mappings from FrameIds to the indexes into the array.
Then we serialize call stacks in terms of those indexes.
Likewise, we'll write out all the call stacks as another flat array
while maintaining mappings from CallStackIds to the indexes into the
call stack array. One minor difference from Frames is that the
indexes into the call stack array are not contiguous because call
stacks are variable-length objects.
Then we serialize IndexedMemProfRecords in terms of the indexes
into the call stack array.
Now, we describe each call stack with 32-bit indexes into the Frame
array (as opposed to the 64-bit FrameIds in Version 2). The use of
the smaller type cuts down the profile file size by about 40% relative
to Version 2. The departure from the on-disk hash tables contributes
a little bit to the savings, too.
For now, IndexedMemProfRecords refer to call stacks with 64-bit
indexes into the call stack array. As a follow-up, I'll change that
to uint32_t, including necessary updates to RecordWriterTrait.
Commit: 629b6f4eb129375324486181ac4fda1288ebecbc
https://github.com/llvm/llvm-project/commit/629b6f4eb129375324486181ac4fda1288ebecbc
Author: shaw young <58664393+shawbyoung at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M bolt/include/bolt/Core/FunctionLayout.h
M bolt/lib/Core/FunctionLayout.cpp
Log Message:
-----------
[BOLT][NFC] Extend updateLayoutIndices (#93861)
Make FunctionLayout::updateLayoutIndices const and add an overloaded
function that updates LayoutIndices given an Order parameter.
Commit: fc2b15987b417174ee6d899178af08c47e04575b
https://github.com/llvm/llvm-project/commit/fc2b15987b417174ee6d899178af08c47e04575b
Author: Sterling Augustine <saugustine at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/test/CodeGen/X86/apx/asm-constraint-2-jR.ll
Log Message:
-----------
Send output to a temp file, even in the error case
Prior to this, the test tries to write to the source directory,
which prevents it from working when the source is on a read-only
file systems.
Commit: 419d363385c7fa8bd969a817f95ab025ae94277c
https://github.com/llvm/llvm-project/commit/419d363385c7fa8bd969a817f95ab025ae94277c
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/preload-kernargs.ll
Log Message:
-----------
AMDGPU: Add kernarg input attributes to preloaded kernarg test (#93669)
Explicitly mark the unused implicit arguments in the test, since this
should be sensitive to the number of free user SGPRs.
This is in preparation for #83131.
Commit: d9fbccf9a9b1ee2b76267146b4582415df67e66c
https://github.com/llvm/llvm-project/commit/d9fbccf9a9b1ee2b76267146b4582415df67e66c
Author: David Blaikie <dblaikie at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/test/Driver/debug-options.c
Log Message:
-----------
Fix test on MacOS where -fstandalone-debug is the default
This test is meant to check the behavior when -fno-standalone-debug is
active - it doesn't care whether it's explicit or implicit, so let's
make it explicit so it applies equally to MacOS and other platforms.
Commit: 235ddbd138b14aa1479adda2dc16f5f4055f1053
https://github.com/llvm/llvm-project/commit/235ddbd138b14aa1479adda2dc16f5f4055f1053
Author: S. Bharadwaj Yadavalli <Bharadwaj.Yadavalli at microsoft.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/docs/DirectXUsage.rst
Log Message:
-----------
[DirectX] [Docs] Add DXILOpTableGenDesign.rst to toctree of DirectXUsage. (#93864)
Fix doc build failure.
Commit: d4ff9615a1531f4a466b7d1fb0f175e3ae489289
https://github.com/llvm/llvm-project/commit/d4ff9615a1531f4a466b7d1fb0f175e3ae489289
Author: Jorge Gorbe Moya <jgorbe at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/include/clang/Sema/Attr.h
Log Message:
-----------
Add missing #include for ObjCMethodDecl.
DeclBase.h only contains a forward declaration of ObjCMethodDecl, and
when building clang/Sema/Attr.h with header modules this causes a build
failure because `llvm::isa<ObjCMethodDecl>` requires the full type.
Commit: 852aaf54071ad072335dcac57f544d4da34c875a
https://github.com/llvm/llvm-project/commit/852aaf54071ad072335dcac57f544d4da34c875a
Author: Aaron Siddhartha Mondal <aaron at tracemachina.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/cmake/caches/Fuchsia-stage2.cmake
M clang/cmake/caches/Fuchsia.cmake
M clang/cmake/caches/VectorEngine.cmake
M clang/utils/analyzer/entrypoint.py
M compiler-rt/cmake/config-ix.cmake
M compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
M compiler-rt/lib/xray/tests/CMakeLists.txt
M lldb/docs/resources/build.rst
M lldb/source/Core/CMakeLists.txt
M llvm/CMakeLists.txt
M llvm/cmake/config-ix.cmake
R llvm/cmake/modules/FindTerminfo.cmake
M llvm/cmake/modules/LLVMConfig.cmake.in
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm/Config/config.h.cmake
M llvm/lib/Support/CMakeLists.txt
M llvm/lib/Support/Unix/Process.inc
M llvm/utils/gn/README.rst
R llvm/utils/gn/build/libs/terminfo/BUILD.gn
R llvm/utils/gn/build/libs/terminfo/enable.gni
M llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
M llvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn
M utils/bazel/.bazelrc
M utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h
M utils/bazel/llvm_configs/config.h.cmake
Log Message:
-----------
Reapply "[Support] Remove terminfo dependency (#92865)" (#93889)
This reverts commit fe82a3da36196157c0caa1ef2505186782f750d1.
This broke LLDB on MacOS due to a missing symbol during linking.
The fix has been applied in c6c08eee37bada190bd1aa4593c88a5e2c8cdaac.
Original commit message:
The terminfo dependency introduces a significant nonhermeticity into the
build. It doesn't respect `--no-undefined-version` meaning that it's not
a dependency that can be built with Clang 17+. This forces maintainers
of source-based distributions to implement patches or ignore linker
errors.
Remove it to reduce the closure size and improve portability of
LLVM-based tools. Users can still use command line arguments to toggle
color support expliticly.
Fixes #75490
Closes #53294 #23355
Commit: e1c3e16d24b5cc097ff08e9283f53319acd3f245
https://github.com/llvm/llvm-project/commit/e1c3e16d24b5cc097ff08e9283f53319acd3f245
Author: Akira Hatanaka <ahatanak at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/Decl.cpp
M clang/test/SemaObjCXX/block-capture.mm
Log Message:
-----------
[clang] Fix a crash when a variable is captured by a block nested inside a lambda (#93749)
`Eval->Value.get` returns a null pointer when the variable doesn't have
an initializer. Use `cast_if_present` instead of `cast`.
This fixes https://github.com/llvm/llvm-project/issues/93625.
rdar://128482541
Commit: f38d84ce328c2acdce372680a41d8cf6c1bdf7c4
https://github.com/llvm/llvm-project/commit/f38d84ce328c2acdce372680a41d8cf6c1bdf7c4
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-forced.ll
M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-sink-replicate-region.ll
M llvm/test/Transforms/LoopVectorize/interleave-and-scalarize-only.ll
M llvm/test/Transforms/LoopVectorize/vplan-dot-printing.ll
M llvm/test/Transforms/LoopVectorize/vplan-printing-before-execute.ll
M llvm/test/Transforms/LoopVectorize/vplan-printing.ll
M llvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge.ll
M llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp
Log Message:
-----------
[VPlan] Use ir-bb prefix for VPIRBasicBlock.
Follow-up to adjust the names and tests after
https://github.com/llvm/llvm-project/pull/93398.
Commit: e9954ec087d640809082f46d1c7e5ac1767b798d
https://github.com/llvm/llvm-project/commit/e9954ec087d640809082f46d1c7e5ac1767b798d
Author: Amir Ayupov <aaupov at fb.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M bolt/include/bolt/Rewrite/RewriteInstance.h
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/test/X86/register-fragments-bolt-symbols.s
Log Message:
-----------
[BOLT] Detect .warm split functions as cold fragments (#93759)
CDSplit splits functions up to three ways: main fragment with no suffix,
and fragments with .cold and .warm suffixes.
Add .warm suffix to the regex used to recognize split fragments.
Test Plan: updated register-fragments-bolt-symbols.s
Commit: aa98c75da49515fb399e2682dfe34c563d44bdf6
https://github.com/llvm/llvm-project/commit/aa98c75da49515fb399e2682dfe34c563d44bdf6
Author: gulfemsavrun <gulfem at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/AST/DeclPrinter.cpp
R clang/test/AST/ast-print-language-linkage.cpp
Log Message:
-----------
Revert "[clang][AST] fix ast-print of `extern <lang>` with >=2 declarators" (#93912)
Reverts llvm/llvm-project#93131 because it broke some lldb tests on the
Fuchsia Clang toolchain builders.
https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64/b8746482644341901905/infra
Commit: db6de1a20f75cbfe1024f41e64ad39def91fa70f
https://github.com/llvm/llvm-project/commit/db6de1a20f75cbfe1024f41e64ad39def91fa70f
Author: Jianjian Guan <jacquesguan at me.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vmul-vp.ll
M llvm/test/CodeGen/RISCV/rvv/vmul-vp.ll
Log Message:
-----------
[DAGCombiner][VP] Add DAGCombine for VP_MUL (#80105)
Use visitMUL to combine VP_MUL, share most logic of MUL with VP_MUL.
Migrate from https://reviews.llvm.org/D121187
Commit: 461cc8612f563fadba2d9db157a0e17e2b463e4e
https://github.com/llvm/llvm-project/commit/461cc8612f563fadba2d9db157a0e17e2b463e4e
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/test/Analysis/LoopAccessAnalysis/symbolic-stride.ll
Log Message:
-----------
[LAA] Add test where stride is also used for BTC.
Add missing test coverage for follow-up to
https://github.com/llvm/llvm-project/pull/93499.
Commit: c5fdb5c34e0dc3f5f3c0db19cf704b30a778cd0e
https://github.com/llvm/llvm-project/commit/c5fdb5c34e0dc3f5f3c0db19cf704b30a778cd0e
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/Format/FormatToken.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Insert a space between a keyword and a literal (#93632)
Fixes #93603.
Commit: 1fa073ab896e65c55ff63487be0b41d7cea9aa77
https://github.com/llvm/llvm-project/commit/1fa073ab896e65c55ff63487be0b41d7cea9aa77
Author: Zixu Wang <9819235+zixu-w at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Object/MachOObjectFile.cpp
A llvm/test/Object/Inputs/MachO/rebase-bind-table-trailing-opcode.yaml
A llvm/test/Object/macho-rebase-bind-trailing-opcode-boundary.test
Log Message:
-----------
[MachO] Stop parsing past end of rebase/bind table (#93897)
`MachORebaseEntry::moveNext()` and `MachOBindEntry::moveNext()` assume
that the rebase/bind table ends with `{REBASE|BIND}_OPCODE_DONE` or an
actual rebase/bind. However a valid rebase/bind table might also end
with other effectively no-op opcodes, which caused the parser to move
past the end and go into the next table, resulting in corrupted entries
or infinite loops.
Commit: 089dfeee8a8761c35a3a56e75281275871dd53bc
https://github.com/llvm/llvm-project/commit/089dfeee8a8761c35a3a56e75281275871dd53bc
Author: Malay Sanghi <malay.sanghi at intel.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/lib/Headers/intrin.h
M clang/test/CodeGen/X86/ms-x86-intrinsics.c
Log Message:
-----------
[X86] Add support for MS inp functions. (#93804)
support _inp, _inpw, _inpd.
These functions were removed from the Windows runtime library, but aare
still supported for kernel mode development.
Commit: 71ccd0d8ccf876e32e21514839195f159642fe4c
https://github.com/llvm/llvm-project/commit/71ccd0d8ccf876e32e21514839195f159642fe4c
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lldb/source/Expression/IRInterpreter.cpp
Log Message:
-----------
[IRInterpreter] Return zero address for missing weak function (#93548)
If a weak function is missing, still return it's address (zero) rather
than failing interpretation. Otherwise we have a mismatch between
Interpret() and CanInterpret() resulting in failures that would not
occur with JIT execution.
Alternatively, we could try to look for weak symbols in CanInterpret()
and generally reject them there.
This is the root cause for the issue exposed by
https://github.com/llvm/llvm-project/pull/92885. Previously, the case
affected by that always fell back to JIT because an icmp constant
expression was used, which is not supported by the interpreter. Now a
normal icmp instruction is used, which is supported. However, we fail to
interpret due to incorrect handling of weak function addresses.
Commit: 4985f25ffcc4735c36967fcdbd5d46e009b25827
https://github.com/llvm/llvm-project/commit/4985f25ffcc4735c36967fcdbd5d46e009b25827
Author: Cyndy Ishida <cyndy_ishida at apple.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/include/llvm/IR/GEPNoWrapFlags.h
Log Message:
-----------
[IR] Fix IWYU violation (#93918)
GEPNoWrapFlags.h calls `assert` creating a undeclared identifier error
when running an Apple-stage2 build with LLVM_ENABLE_MODULES enabled.
resolves: rdar://129031201
Commit: f49d26bc7766a6589bdbfc6fd752665ae5643b62
https://github.com/llvm/llvm-project/commit/f49d26bc7766a6589bdbfc6fd752665ae5643b62
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/include/flang/Runtime/support.h
M flang/runtime/support.cpp
M flang/unittests/Runtime/Support.cpp
Log Message:
-----------
[flang][runtime] add IsAssumedSize API (#93857)
Needed for SELECT RANK implementation. I want to stay away from
generating the `rank > 0 && ...` logic in FIR codegen for now.
Commit: 5228c2cbd6d834a76c24ca9f2aaa2c4f7a0b5510
https://github.com/llvm/llvm-project/commit/5228c2cbd6d834a76c24ca9f2aaa2c4f7a0b5510
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/test/Fir/fir-ops.fir
M flang/test/Fir/invalid.fir
Log Message:
-----------
[flang][FIR] add fir.is_assumed_size operation (#93853)
Assumed-rank fir.box/class may describe assumed-size array. This case
needs special handling in SELECT RANK. It is not possible to generate
FIR code to detect that a fir.box is an assumed-size (the way to detect
that is to check that upper dimension extent is -1 in the descriptor).
Instead of emitting a runtime call directly in lowering, add an
operation that can later be lowered to a runtime call or inline code
when the descriptor layout is known.
Commit: 0821b7937c2b7528b1d3a0fa06eb241ae9ce4074
https://github.com/llvm/llvm-project/commit/0821b7937c2b7528b1d3a0fa06eb241ae9ce4074
Author: Fabian Ritter <fabian.ritter at amd.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/DSInstructions.td
M llvm/lib/Target/AMDGPU/FLATInstructions.td
M llvm/lib/Target/AMDGPU/SMInstructions.td
M llvm/lib/Target/AMDGPU/SOPInstructions.td
M llvm/lib/Target/AMDGPU/VOPInstructions.td
Log Message:
-----------
[AMDGPU] Copy Defs and Uses from Pseudo to Real Instructions (#93004)
Currently, the tablegen files that generate the instruction definitions
in lib/Target/AMDGPU/AMDGPUGenInstrInfo.inc often only include implicit
operands for the architecture-independent pseudo instructions, but not
for the corresponding real instructions. The missing implicit operands
(most prominently: the EXEC mask) do not affect code generation, since
that operates on pseudo instructions, but they are problematic when
working with real instructions, e.g., as a decoding result from the MC
layer.
This patch copies the implicit Defs and Uses from pseudo instructions to
the corresponding real instructions, so that implicit operands are also
defined for real instructions.
Addresses issue #89830.
Commit: 63dc31b68b78bc0e5deef21b98cab72de997c471
https://github.com/llvm/llvm-project/commit/63dc31b68b78bc0e5deef21b98cab72de997c471
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/test/Analysis/builtin_signbit.cpp
M clang/test/CodeGen/catch-nullptr-and-nonzero-offset.c
M clang/test/CodeGen/constantexpr-fneg.c
M clang/test/CodeGenCXX/cxx11-thread-local.cpp
M clang/test/CodeGenCXX/ubsan-nullability-arg.cpp
M clang/test/CodeGenCXX/weak-external.cpp
M clang/test/Driver/linker-wrapper-image.c
M clang/test/OpenMP/threadprivate_codegen.cpp
M llvm/include/llvm/Analysis/TargetFolder.h
M llvm/include/llvm/IR/ConstantFolder.h
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/test/Assembler/ConstantExprFold.ll
M llvm/test/Assembler/ConstantExprNoFold.ll
M llvm/test/Assembler/vector-cmp.ll
M llvm/test/CodeGen/AMDGPU/lower-ctor-dtor-constexpr-alias.ll
M llvm/test/CodeGen/AMDGPU/lower-ctor-dtor.ll
M llvm/test/CodeGen/AMDGPU/lower-multiple-ctor-dtor.ll
M llvm/test/Instrumentation/MemorySanitizer/check-constant-shadow.ll
M llvm/test/Instrumentation/SanitizerBinaryMetadata/atomics.ll
M llvm/test/Transforms/Attributor/value-simplify.ll
M llvm/test/Transforms/InstCombine/binop-select-cast-of-select-cond.ll
M llvm/test/Transforms/InstCombine/constant-fold-address-space-pointer.ll
M llvm/test/Transforms/InstCombine/getelementptr.ll
M llvm/test/Transforms/InstCombine/hoist-xor-by-constant-from-xor-by-value.ll
M llvm/test/Transforms/InstCombine/pr33453.ll
M llvm/test/Transforms/InstCombine/pr83947.ll
M llvm/test/Transforms/InstCombine/rem.ll
M llvm/test/Transforms/InstCombine/select-and-or.ll
M llvm/test/Transforms/InstCombine/select-safe-transforms.ll
M llvm/test/Transforms/InstSimplify/ConstProp/bitcast.ll
M llvm/test/Transforms/InstSimplify/ConstProp/icmp-global.ll
M llvm/test/Transforms/InstSimplify/bitcast-vector-fold.ll
M llvm/test/Transforms/InstSimplify/compare.ll
M llvm/test/Transforms/InstSimplify/past-the-end.ll
M llvm/test/Transforms/JumpThreading/constant-fold-status.ll
M llvm/test/Transforms/LowerTypeTests/cfi-direct-call1.ll
M llvm/test/Transforms/LowerTypeTests/function-weak.ll
M llvm/test/Transforms/SCCP/conditions-ranges.ll
M llvm/test/Transforms/SimplifyCFG/phi-to-select-constexpr-icmp.ll
Log Message:
-----------
Reapply [IR] Avoid creating icmp/fcmp constant expressions (#92885)
Reapply after https://github.com/llvm/llvm-project/pull/93548,
which should address the lldb failure on macos.
-----
Do not create icmp/fcmp constant expressions in IRBuilder etc anymore,
i.e. treat them as "undesirable". This is in preparation for removing
them entirely.
Part of:
https://discourse.llvm.org/t/rfc-remove-most-constant-expressions/63179
Commit: e1cc9e4eaddcc295b4e775512e33b947b1514c17
https://github.com/llvm/llvm-project/commit/e1cc9e4eaddcc295b4e775512e33b947b1514c17
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/test/CodeGenCXX/2011-12-19-init-list-ctor.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
M clang/test/OpenMP/threadprivate_codegen.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/test/Other/constant-fold-gep.ll
M llvm/test/Transforms/InstCombine/gepgep.ll
M llvm/test/Transforms/InstCombine/getelementptr.ll
M llvm/test/Transforms/InstCombine/ptrtoint-nullgep.ll
Log Message:
-----------
[ConstantFold] Remove non-trivial gep-of-gep fold (#93823)
This fold is subtly incorrect, because DL-unaware constant folding does
not know the correct index type to use, and just performs the addition
in the type that happens to already be there. This is incorrect, since
sext(X)+sext(Y) is generally not the same as sext(X+Y). See the
`@constexpr_gep_of_gep_with_narrow_type()` for a miscompile with the
current implementation.
One could try to restrict the fold to cases where no overflow occurs,
but I'm not bothering with that here, because the DL-aware constant
folding will take care of this anyway. I've only kept the
straightforward zero-index case, where we just concatenate two GEPs.
Commit: be566d2eacdaed972b90d2eeb1e66d732c9fe7c1
https://github.com/llvm/llvm-project/commit/be566d2eacdaed972b90d2eeb1e66d732c9fe7c1
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/include/clang/AST/RecursiveASTVisitor.h
Log Message:
-----------
[clang] AST Visitor: skip empty qualifiers in QualifiedTemplateName (#93926)
Commit: f484c79e7a5c6502e12d3975734fb4335ab51103
https://github.com/llvm/llvm-project/commit/f484c79e7a5c6502e12d3975734fb4335ab51103
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bit-counting.ll
Log Message:
-----------
[AArch64] Avoid NEON ctpop in Streaming-SVE mode (#93826)
The NEON ctpop instruction is also used for scalars.
Commit: ae8627809076390dbab04e01f3bf9d384c9e124e
https://github.com/llvm/llvm-project/commit/ae8627809076390dbab04e01f3bf9d384c9e124e
Author: Yvan Roux <yvan.roux at foss.st.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/docs/Security.rst
Log Message:
-----------
[Nomination] Add ST representative to Security group (#93176)
I'd like to nominate myself to join the LLVM Security group as a
representative of ST. I work in ST's compiler team contributing to
upstream (LLVM and GNU) and several downstream toolchains. We believe
that it is important for us to be part of this group to address or
report any potential security issues the LLVM project or our toolchains
may encounter.
Commit: b86a9c5bf2fab0408a3d549995d6e2449f71a16d
https://github.com/llvm/llvm-project/commit/b86a9c5bf2fab0408a3d549995d6e2449f71a16d
Author: Théo Degioanni <theo.degioanni.llvm.deluge062 at simplelogin.fr>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
A mlir/include/mlir/Dialect/IRDL/IRDLSymbols.h
M mlir/lib/Dialect/IRDL/CMakeLists.txt
M mlir/lib/Dialect/IRDL/IR/IRDL.cpp
M mlir/lib/Dialect/IRDL/IR/IRDLOps.cpp
M mlir/lib/Dialect/IRDL/IRDLLoading.cpp
A mlir/lib/Dialect/IRDL/IRDLSymbols.cpp
M mlir/test/Dialect/IRDL/cmath.irdl.mlir
M mlir/test/Dialect/IRDL/cyclic-types.irdl.mlir
M mlir/test/Dialect/IRDL/invalid.irdl.mlir
M mlir/test/Dialect/IRDL/testd.irdl.mlir
Log Message:
-----------
[mlir][irdl] Lookup symbols near dialects instead of locally (#92819)
Because symbols cannot refer to operations outside of their symbol
tables, it was impossible to refer to operations outside of the dialect
currently being defined. This PR modifies the lookup logic to happen
relative to the symbol table containing the dialect-defining operations.
This is a bit of hack but should unblock the situation here.
Commit: 51e459a561519c8d51e2b4cadddc0d1f99c8b7ef
https://github.com/llvm/llvm-project/commit/51e459a561519c8d51e2b4cadddc0d1f99c8b7ef
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/test/CodeGenCXX/2011-12-19-init-list-ctor.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
M clang/test/OpenMP/threadprivate_codegen.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/test/Other/constant-fold-gep.ll
M llvm/test/Transforms/InstCombine/gepgep.ll
M llvm/test/Transforms/InstCombine/getelementptr.ll
M llvm/test/Transforms/InstCombine/ptrtoint-nullgep.ll
Log Message:
-----------
Revert "[ConstantFold] Remove non-trivial gep-of-gep fold (#93823)"
This reverts commit e1cc9e4eaddcc295b4e775512e33b947b1514c17.
This causes some non-trivial text size increases in unoptimized
builds for Bullet. Revert while I investigate.
Commit: b1be480b034f75bbc245bffc10d8cdc7193568d1
https://github.com/llvm/llvm-project/commit/b1be480b034f75bbc245bffc10d8cdc7193568d1
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAGCombiner] Move CanReassociate down to first use. NFC.
Commit: 48ba7da9c8e3d03beb27e3a5acf34a3a180d202d
https://github.com/llvm/llvm-project/commit/48ba7da9c8e3d03beb27e3a5acf34a3a180d202d
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M libc/src/string/memory_utils/op_x86.h
M libc/src/string/memory_utils/utils.h
Log Message:
-----------
[libc][NFC] Allow compilation of `memcpy` with `-m32` (#93790)
Needed to support i386 (#93709).
Commit: 2766a66fa777bbb654e08ccbcfdc3e61b70ba015
https://github.com/llvm/llvm-project/commit/2766a66fa777bbb654e08ccbcfdc3e61b70ba015
Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.h
Log Message:
-----------
[AMDGPU] Remove FlatVariant argument from isLegalFlatAddressingMode. NFC. (#93938)
This argument is easily deduced from AS argument.
Commit: de32a3df354f1d01c0a5c81285ac786cea9d8bdf
https://github.com/llvm/llvm-project/commit/de32a3df354f1d01c0a5c81285ac786cea9d8bdf
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/test/OpenMP/for_private_codegen.cpp
M clang/test/OpenMP/for_reduction_codegen.cpp
M clang/test/OpenMP/for_reduction_codegen_UDR.cpp
M clang/test/OpenMP/parallel_copyin_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_firstprivate_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_lastprivate_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/sections_lastprivate_codegen.cpp
M clang/test/OpenMP/sections_private_codegen.cpp
M clang/test/OpenMP/sections_reduction_codegen.cpp
M clang/test/OpenMP/single_private_codegen.cpp
Log Message:
-----------
[Clang] Regenerate test checks (NFC)
To minimize diffs in an upcoming change.
Commit: 60a890d8556c3af3f0f3e6aeb1c29340f9bf27b6
https://github.com/llvm/llvm-project/commit/60a890d8556c3af3f0f3e6aeb1c29340f9bf27b6
Author: Sergey Kachkov <sergey.kachkov at syntacore.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
A llvm/test/Transforms/LoopUnroll/peel-loop-min-max-intrinsics.ll
Log Message:
-----------
[LoopPeel] Add pre-commit test for min/max intrinsics
Commit: c8fad4fb88b3c9cd7c4d0cf872273b44a879526f
https://github.com/llvm/llvm-project/commit/c8fad4fb88b3c9cd7c4d0cf872273b44a879526f
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/include/flang/Optimizer/Transforms/Passes.h
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/lib/Optimizer/Transforms/OMPMarkDeclareTarget.cpp
Log Message:
-----------
[flang][OpenMP][NFC] Reduce OMPMarkDeclareTarget boilerplate (#93797)
The pass constructor can be generated automatically by tablegen.
This pass does not need adapting to work with non-function top level
operations because it operates specifically on call operations inside of
an OpenMP declare target function.
Commit: a65771fce4a2f25f16d4b3918ad6a11370637f7b
https://github.com/llvm/llvm-project/commit/a65771fce4a2f25f16d4b3918ad6a11370637f7b
Author: Henry Linjamäki <henry.linjamaki at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/docs/UsersManual.rst
M clang/lib/Driver/ToolChains/SPIRV.cpp
M clang/test/Driver/hipspv-toolchain.hip
M clang/test/Driver/spirv-toolchain.cl
M clang/test/lit.site.cfg.py.in
Log Message:
-----------
[SPIR-V] Prefer llvm-spirv-<LLVM_VERSION_MAJOR> tool (#77897)
Prefer using `llvm-spirv-<LLVM_VERSION_MAJOR>` tool (i.e.
`llvm-spirv-18`) over plain `llvm-spirv`. If the versioned tool is not
found in PATH, fall back to use the plain `llvm-spirv`.
An issue with the using `llvm-spirv` is that the one found in PATH might
be compiled against older LLVM version which could lead to crashes or
obscure bugs. For example, `llvm-spirv` distributed by Ubuntu links
against different LLVM version depending on the Ubuntu release (LLVM-10
in 20.04LTS, LLVM-13 in 22.04LTS).
Commit: 196dca7561b4c3865ef7d5e45c22d215619d7385
https://github.com/llvm/llvm-project/commit/196dca7561b4c3865ef7d5e45c22d215619d7385
Author: Endre Fülöp <endre.fulop at sigmatechnology.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/docs/analyzer/checkers.rst
Log Message:
-----------
[clang][analyzer][NFC] Improve docs of alpha.unix.BlockInCriticalSection (#93812)
- Enhanced descriptions for blocking and critical section functions
- Added an additional code sample highlighting interleaved C and C++
style mutexes
Commit: 46b3145b7c6bbe7014f9e790236717e4f8a711d8
https://github.com/llvm/llvm-project/commit/46b3145b7c6bbe7014f9e790236717e4f8a711d8
Author: Endre Fülöp <endre.fulop at sigmatechnology.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/docs/analyzer/checkers.rst
M clang/test/Analysis/block-in-critical-section.cpp
Log Message:
-----------
[clang][analyzer][NFC] Add test for a limitation of alpha.unix.BlockInCriticalSection checker (#93799)
Updated the documentation in `checkers.rst` to include an example of how
`trylock` function is handled.
Added a new test for a scenario where `pthread_mutex_trylock` is used,
demonstrating the current limitation.
Commit: f34dedbf44a0578430f81de94f294f4474fee0fb
https://github.com/llvm/llvm-project/commit/f34dedbf44a0578430f81de94f294f4474fee0fb
Author: Sergey Kachkov <109674256+skachkov-sc at users.noreply.github.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Transforms/Utils/LoopPeel.cpp
M llvm/test/Transforms/LoopUnroll/peel-loop-min-max-intrinsics.ll
Log Message:
-----------
[LoopPeel] Support min/max intrinsics in loop peeling (#93162)
This patch adds processing of min/max intrinsics in LoopPeel in the
similar way as it was done for conditional statements: for
min/max(IterVal, BoundVal) we peel iterations where IterVal < BoundVal
for monotonically increasing IterVal; for monotonically decreasing
IterVal we peel iterations where IterVal > BoundVal (strict comparision
predicates are used to minimize number of peeled iterations).
Commit: 189efb0fbb5af31bebcc1eefdf41296e7e72b425
https://github.com/llvm/llvm-project/commit/189efb0fbb5af31bebcc1eefdf41296e7e72b425
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/test/CodeGen/X86/vselect-pcmp.ll
Log Message:
-----------
[X86] vselect-pcmp.ll - add tests showing poor codegen on AVX1 targets where we have to split/concat 128-bit subvectors
We'd be better off consistently using 128-bit instructions
Based off a regression reported after #92794
Commit: 8f4d5a32ace7f858881b6a59663ff6596b162dbc
https://github.com/llvm/llvm-project/commit/8f4d5a32ace7f858881b6a59663ff6596b162dbc
Author: Adam Siemieniuk <adam.siemieniuk at intel.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M mlir/lib/Dialect/Tensor/Transforms/ReshapePatterns.cpp
M mlir/test/Dialect/Tensor/fold-reassociative-reshapes.mlir
Log Message:
-----------
[mlir][tensor] Fold unpadding collapse_shape into extract_slice (#93554)
Commit: f917c396c9855d7e0af0b1b3e6209757c2de0b51
https://github.com/llvm/llvm-project/commit/f917c396c9855d7e0af0b1b3e6209757c2de0b51
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/HLFIRTools.h
M flang/lib/Lower/ConvertExprToHLFIR.cpp
M flang/lib/Optimizer/Builder/HLFIRTools.cpp
M flang/test/HLFIR/maxloc-elemental.fir
M flang/test/HLFIR/minloc-elemental.fir
Log Message:
-----------
[flang] improve and rename Entity::hasNonDefaultLowerBounds (#93848)
Improve hasNonDefaultLowerBounds to follow box fir.convert. This helps
HLFIR helpers to generate less code when it can be easily deduced that
the fir.box lower bounds were set to ones.
It will help me for SELECT RANK lowering to avoid generating
hlfir.declare with lower bounds inside the RANK CASE (Current situation
would not be incorrect, the lower bounds would be SSA value ending-up
being one, I just want simpler IR).
Renamed to mayHaveNonDefaultLowerBounds since it may still answer yes when
the lower bounds are ones.
Commit: 7acd2c0652250994a4d922bda7275d750f7bf1b7
https://github.com/llvm/llvm-project/commit/7acd2c0652250994a4d922bda7275d750f7bf1b7
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lld/ELF/Arch/AArch64.cpp
M lld/test/ELF/aarch64-fpic-got.s
Log Message:
-----------
[lld][ELF][AArch64] Support `R_AARCH64_GOT_LD_PREL19` relocation (#89592)
With tiny code model, the GOT slot contents can be loaded via `ldr x0,
:got:sym` which corresponds to `R_AARCH64_GOT_LD_PREL19` static
GOT-relative relocation.
See
https://github.com/ARM-software/abi-aa/blob/main/aaelf64/aaelf64.rst#static-aarch64-relocations
Commit: 23427b808c84fcbf20315dbbb62f6b48edf36c21
https://github.com/llvm/llvm-project/commit/23427b808c84fcbf20315dbbb62f6b48edf36c21
Author: Elvina Yakubova <eyakubova at nvidia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M bolt/lib/Rewrite/DWARFRewriter.cpp
Log Message:
-----------
[BOLT][NFC] Fix typo in DWARFRewriter.cpp (#93955)
Commit: 37ecd43335f8ff57ea2df8d86f8b5a35c7cee5c2
https://github.com/llvm/llvm-project/commit/37ecd43335f8ff57ea2df8d86f8b5a35c7cee5c2
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
Log Message:
-----------
[ExecutionEngine] Remove handling for removed ConstantExprs (NFCI)
These constant expressions no longer exist, so don't handle them.
Commit: 765ce869916e2d0652e55cacea1cd175c4ad862b
https://github.com/llvm/llvm-project/commit/765ce869916e2d0652e55cacea1cd175c4ad862b
Author: Elvina Yakubova <eyakubova at nvidia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M bolt/docs/CommandLineArgumentReference.md
A bolt/docs/generate_doc.py
Log Message:
-----------
[BOLT][DOC] Add script for automatic user guide generation (#93822)
Commit: f0e8d003e5157c128f8f2375eac487b38e445648
https://github.com/llvm/llvm-project/commit/f0e8d003e5157c128f8f2375eac487b38e445648
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/test/CodeGen/X86/widen_load-3.ll
Log Message:
-----------
[X86] widen_load-3.ll - add missing nounwind attributes
Commit: 6ee845d2401b7f0e5f385fc0e3a8cb44afd667dc
https://github.com/llvm/llvm-project/commit/6ee845d2401b7f0e5f385fc0e3a8cb44afd667dc
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/IR/Constants.cpp
Log Message:
-----------
[IR] Remove handling for removed ConstantExprs (NFC)
Commit: 654cd946296586e00c8d2f203a137b6a6b0d8be7
https://github.com/llvm/llvm-project/commit/654cd946296586e00c8d2f203a137b6a6b0d8be7
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Log Message:
-----------
[VPlan] Unconditionally run optimizeForVFAndUF.
Now that the VPlan for the main vector loop gets cloned in the epilogue
vectorization code path, there optimizeForVFAndUF can be applied
unconditionally.
Commit: b52962d1b89ca9102a89497743b7576d572b437e
https://github.com/llvm/llvm-project/commit/b52962d1b89ca9102a89497743b7576d572b437e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/vselect-pcmp.ll
Log Message:
-----------
[X86] LowerVSELECT - split v16i16/v32i8 pre-AVX2 VSELECT ops if enough of the operands are free to split.
Often on AVX1 we're better off consistently using 128-bit instructions, so recognise when the operands are loads that can be freely/cheaply split - ideally this functionality needs to be moved to isFreeToSplitVector but we're using it in a few places where we don't want to split loads yet.
Based off a regression reported after #92794
Commit: 5c7f7cc4dea3e202b56cebaa303d7fb8b26fc18e
https://github.com/llvm/llvm-project/commit/5c7f7cc4dea3e202b56cebaa303d7fb8b26fc18e
Author: David Truby <david.truby at arm.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/test/Driver/exec.f90
Log Message:
-----------
[flang] Fix exec.f90 test on LIT integrated shell (#93961)
The exec.f90 test sets an environment variable for a specific command
directly
rather than using env, which doesn't work on shells that don't support
this
syntax, most notably the LIT integrated shell. This patch simply adds
env so
that this works on the integrated shell.
Commit: edf4e02906bd0c57087a44e5c4890ffc453667b2
https://github.com/llvm/llvm-project/commit/edf4e02906bd0c57087a44e5c4890ffc453667b2
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-trunc-sat-clip.ll
M llvm/test/CodeGen/RISCV/rvv/trunc-sat-clip-sdnode.ll
Log Message:
-----------
[RISCV] Support multiple levels of truncates in combineTruncToVnclip. (#93752)
We can use multiple vnclips to saturate an i32 value into an i8 value.
Commit: 6163775077236a0e602759912872a06162efd01b
https://github.com/llvm/llvm-project/commit/6163775077236a0e602759912872a06162efd01b
Author: Kirill Podoprigora <kirill.bast9 at mail.ru>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/README.txt
Log Message:
-----------
[clang] ``README.txt``: Replace the link to the old bug tracker with the new one. (#93878)
Commit: fb87e11e7253656ffe99726f45b679e08343bd5f
https://github.com/llvm/llvm-project/commit/fb87e11e7253656ffe99726f45b679e08343bd5f
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/strided-load-store.ll
Log Message:
-----------
[RISCV] Add test case for strided scatter with scalar offset. NFC
Commit: c5e417a812d86226b087346cadb05d3aae9fe1d0
https://github.com/llvm/llvm-project/commit/c5e417a812d86226b087346cadb05d3aae9fe1d0
Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lldb/source/Interpreter/CommandInterpreter.cpp
M lldb/test/API/commands/session/save/TestSessionSave.py
Log Message:
-----------
[lldb] Fix 'session save' command on Windows
1. Use dashes (-) instead of colons (:) as time separator in a session log
file name since Windows doesn't support saving files with names containing
colons.
2. Temporary file creation code is changed in the test:
On Windows, the temporary file should be closed before 'session save'
writes session log to it. NamedTemporaryFile() can preserve the file
after closing it with delete_on_close=False option.
However, this option is only available since Python 3.12. Thus
mkstemp() is used for temporary file creation as the more compatible
option.
Commit: e6bef08e22ac52aca0d6364f972cfb49c483adb3
https://github.com/llvm/llvm-project/commit/e6bef08e22ac52aca0d6364f972cfb49c483adb3
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
M flang/test/HLFIR/bufferize01.fir
Log Message:
-----------
[flang] Avoid double free in bufferize pass (#93922)
In some cases where we have an `hlfir.no_reassoc` operation, the
bufferization pass could not earse the hlfir.destroy op during the
`hlfir.associate` op conversion as show in the example below.
```
func.func @double_free(%arg0: !fir.boxchar<1>) {
%c5 = arith.constant 5 : index
%true = arith.constant true
%0 = hlfir.as_expr %arg0 move %true : (!fir.boxchar<1>, i1) -> !hlfir.expr<!fir.char<1,?>>
%1 = hlfir.no_reassoc %0 : !hlfir.expr<!fir.char<1,?>>
%2:3 = hlfir.associate %1 typeparams %c5 {adapt.valuebyref} : (!hlfir.expr<!fir.char<1,?>>, index) -> (!fir.boxchar<1>, !fir.ref<!fir.char<1,?>>, i1)
fir.call @noop(%2#0) : (!fir.boxchar<1>) -> ()
hlfir.end_associate %2#1, %2#2 : !fir.ref<!fir.char<1,?>>, i1
hlfir.destroy %0 : !hlfir.expr<!fir.char<1,?>>
return
}
func.func private @noop(!fir.boxchar<1>)
```
The bufferization pass is looking at uses of its source `%1` that is the
result of an `hlfir.no_reassoc` operation. In order to avoid double free
generation, also look at the indirection in presence of
`hlfir.no_reassoc`.
Commit: 5e423f1c5119387879c04069f048d6dbfc2c90d6
https://github.com/llvm/llvm-project/commit/5e423f1c5119387879c04069f048d6dbfc2c90d6
Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lldb/packages/Python/lldbsuite/test/dotest.py
M lldb/packages/Python/lldbsuite/test/dotest_args.py
Log Message:
-----------
[lldb][test] Add --sysroot argument to dotest.py
This argument allows to set specific sysroot pass which will be used for
building LLDB API test programs.
It might come in handy for setting up cross-platform remote runs of API
tests on Windows host.
It can be useful for cross-compiling LLDB API tests. The argument can be
set using `LLDB_TEST_USER_ARGS` argument:
```
cmake ...
-DLLDB_TEST_USER_ARGS="...;--sysroot;C:\path\to\sysroot;..."
...
```
Commit: ca0dae0d6be55863d0113d0a7e8e62e3f4763028
https://github.com/llvm/llvm-project/commit/ca0dae0d6be55863d0113d0a7e8e62e3f4763028
Author: Ivan Kosarev <ivan.kosarev at amd.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInstrFormats.td
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/SIInstructions.td
Log Message:
-----------
[AMDGPU][NFC] Eliminate GCNPredicateControl. (#93964)
Removes ~100K instances of SIAssemblerPredicate and VIAssemblerPredicate
fields from instruction records.
Commit: 85ea1aaf15b3721aaea35280ffdedad36128bf6b
https://github.com/llvm/llvm-project/commit/85ea1aaf15b3721aaea35280ffdedad36128bf6b
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/lib/Sema/SemaOpenACC.cpp
M clang/test/SemaOpenACC/compute-construct-device_type-clause.c
Log Message:
-----------
[OpenACC] Fix device_type clause appertainment
Seemingly I forgot to implement the appertainment checks when doing the
original device_type implementation, so we fell through to the 'not
implemented' section of the diagnostics.
This patch corrects the appertainment, so that we disallow it correctly.
Commit: 98d5d3448d9ddc6fb07855eb45a08652bd530c01
https://github.com/llvm/llvm-project/commit/98d5d3448d9ddc6fb07855eb45a08652bd530c01
Author: Victor Perez <victor.perez at codeplay.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
A mlir/include/mlir/Conversion/GPUToLLVMSPV/GPUToLLVMSPVPass.h
M mlir/include/mlir/Conversion/Passes.h
M mlir/include/mlir/Conversion/Passes.td
M mlir/lib/Conversion/CMakeLists.txt
A mlir/lib/Conversion/GPUToLLVMSPV/CMakeLists.txt
A mlir/lib/Conversion/GPUToLLVMSPV/GPUToLLVMSPV.cpp
A mlir/test/Conversion/GPUToLLVMSPV/gpu-to-llvm-spv.mlir
Log Message:
-----------
[MLIR][GPU-LLVM] Define `-convert-gpu-to-llvm-spv` pass (#90972)
Define pass for GPU to LLVM conversion for SPIR-V backend tool ingest.
Supported operations:
- `gpu.block_id`
- `gpu.global_id`
- `gpu.block_dim`
- `gpu.thread_id`
- `gpu.grid_dim`
- `gpu.barrier`
- `gpu.shuffle`
---------
Signed-off-by: Victor Perez <victor.perez at codeplay.com>
Commit: 7b6a89f346f281e5b7caa593a8c484eaf4264055
https://github.com/llvm/llvm-project/commit/7b6a89f346f281e5b7caa593a8c484eaf4264055
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lld/ELF/LinkerScript.cpp
M lld/ELF/LinkerScript.h
M lld/ELF/Writer.cpp
M lld/test/ELF/linkerscript/memory-err.s
A lld/test/ELF/linkerscript/section-not-converge.test
Log Message:
-----------
[ELF] Detect convergence of output section addresses
Some linker scripts don't converge. https://reviews.llvm.org/D66279
("[ELF] Make LinkerScript::assignAddresses iterative") detected
convergence of symbol assignments.
This patch detects convergence of output section addresses. While input
sections might also have convergence issues, they are less common as
expressions that could cause convergence issues typically involve output
sections and symbol assignments.
GNU ld has an error `non constant or forward reference address expression for section` that
correctly rejects
```
SECTIONS {
.text ADDR(.data)+0x1000 : { *(.text) }
.data : { *(.data) }
}
```
but not the following variant:
```
SECTIONS {
.text foo : { *(.text) }
.data : { *(.data) }
foo = ADDR(.data)+0x1000;
}
```
Our approach consistently rejects both cases.
Link: https://discourse.llvm.org/t/lld-and-layout-convergence/79232
Pull Request: https://github.com/llvm/llvm-project/pull/93888
Commit: 57eb92ea6c1fbc64692221727219078636ed6c86
https://github.com/llvm/llvm-project/commit/57eb92ea6c1fbc64692221727219078636ed6c86
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/test/tools/llvm-objdump/X86/source-interleave-x86_64.test
Log Message:
-----------
[llvm-objdump][test] Relax directory prefix check in source-interleave test (#93789)
This test currently has an explicit regex for characters that are
supposedly valid inside a directory name -- however, it does not
actually cover all necessary characters. For example, this test fails if
the path contains a tilde.
Instead, replace this with a wildcard.
Commit: 775f1cd34daffa3e188bddcd600b6ccad1f72d24
https://github.com/llvm/llvm-project/commit/775f1cd34daffa3e188bddcd600b6ccad1f72d24
Author: Konstantin Zhuravlyov <kzhuravl_dev at outlook.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/test/Driver/amdgpu-macros.cl
M clang/test/Driver/amdgpu-mcpu.cl
M clang/test/Misc/target-invalid-cpu-note.c
M llvm/docs/AMDGPUUsage.rst
M llvm/include/llvm/BinaryFormat/ELF.h
M llvm/include/llvm/TargetParser/TargetParser.h
M llvm/lib/Object/ELFObjectFile.cpp
M llvm/lib/ObjectYAML/ELFYAML.cpp
M llvm/lib/Target/AMDGPU/AMDGPU.td
M llvm/lib/Target/AMDGPU/GCNProcessors.td
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
M llvm/lib/TargetParser/TargetParser.cpp
M llvm/test/CodeGen/AMDGPU/directive-amdgcn-target.ll
M llvm/test/CodeGen/AMDGPU/elf-header-flags-mach.ll
M llvm/test/CodeGen/AMDGPU/generic-targets-require-v6.ll
M llvm/test/CodeGen/AMDGPU/hsa-generic-target-features.ll
M llvm/test/Object/AMDGPU/elf-header-flags-mach.yaml
M llvm/test/tools/llvm-objdump/ELF/AMDGPU/subtarget.ll
M llvm/test/tools/llvm-readobj/ELF/AMDGPU/elf-headers.test
M llvm/tools/llvm-readobj/ELFDumper.cpp
Log Message:
-----------
AMDGPU: Add gfx12-generic target (#93875)
Commit: 97c34eb8df47543299500ee4cd0b877d184ed790
https://github.com/llvm/llvm-project/commit/97c34eb8df47543299500ee4cd0b877d184ed790
Author: Paul T Robinson <paul.robinson at sony.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/test/Driver/offloading-interoperability.c
M clang/test/Driver/openmp-offload-gpu.c
Log Message:
-----------
[CUDA] Fix a couple of driver tests that really weren't being run (#93960)
Commit: 6416958067179c2987af0ef4568cd57f98b7e347
https://github.com/llvm/llvm-project/commit/6416958067179c2987af0ef4568cd57f98b7e347
Author: Paul T Robinson <paul.robinson at sony.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/test/Driver/offloading-interoperability.c
M clang/test/Driver/openmp-offload-gpu.c
Log Message:
-----------
Revert "[CUDA] Fix a couple of driver tests that really weren't being run" (#93988)
Reverts llvm/llvm-project#93960
The change to offloading-interoperability.c broke many bots.
Commit: 07bd43945789e3fc8f57d21484a7f683d17166f3
https://github.com/llvm/llvm-project/commit/07bd43945789e3fc8f57d21484a7f683d17166f3
Author: RoseZhang03 <rosezhang at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/spec/stdc.td
M libc/src/__support/OSUtil/baremetal/CMakeLists.txt
A libc/src/__support/OSUtil/baremetal/exit.cpp
R libc/src/__support/OSUtil/baremetal/quick_exit.cpp
A libc/src/__support/OSUtil/exit.h
M libc/src/__support/OSUtil/gpu/CMakeLists.txt
A libc/src/__support/OSUtil/gpu/exit.cpp
R libc/src/__support/OSUtil/gpu/quick_exit.cpp
M libc/src/__support/OSUtil/linux/CMakeLists.txt
A libc/src/__support/OSUtil/linux/exit.cpp
R libc/src/__support/OSUtil/linux/quick_exit.cpp
R libc/src/__support/OSUtil/quick_exit.h
M libc/src/__support/libc_assert.h
M libc/src/stdlib/CMakeLists.txt
M libc/src/stdlib/_Exit.cpp
M libc/src/stdlib/exit.cpp
A libc/src/stdlib/quick_exit.cpp
A libc/src/stdlib/quick_exit.h
M libc/src/unistd/_exit.cpp
M libc/test/IntegrationTest/test.h
M libc/test/src/stdlib/CMakeLists.txt
A libc/test/src/stdlib/quick_exit_test.cpp
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[libc] added quick_exit function (#93620)
- In /libc/src/__support/ OSUtil, changed quick_exit to just exit, and
put in namespace
LIBC_NAMESPACE::internal.
- In /libc/src/stdlib added quick_exit
- Added test files for quick_exit
Commit: 3b79c823f6a84632dbc40065cf8ec4b2878a9453
https://github.com/llvm/llvm-project/commit/3b79c823f6a84632dbc40065cf8ec4b2878a9453
Author: Nico Weber <thakis at chromium.org>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/test/BUILD.gn
Log Message:
-----------
[gn] port a65771fce4a2
Commit: 41ddf128ea2ecfe0c418d2dfb5bbf99538498750
https://github.com/llvm/llvm-project/commit/41ddf128ea2ecfe0c418d2dfb5bbf99538498750
Author: David Stone <davidfromonline at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/include/clang/Basic/CustomizableOptional.h
Log Message:
-----------
Remove dangling conversion to `optional<T> &` (#93385)
Commit: 37f302348717d1cceb2708b50eb08d98789a3469
https://github.com/llvm/llvm-project/commit/37f302348717d1cceb2708b50eb08d98789a3469
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/lib/ProfileData/MemProf.cpp
Log Message:
-----------
[memprof] Use uint32_t for linear call stack IDs (#93924)
This patch switches to uint32_t for linear call stack IDs as uint32_t
is sufficient to index into the call stack array.
Commit: 13b6284b9321ea684b4df299f430124681a14d90
https://github.com/llvm/llvm-project/commit/13b6284b9321ea684b4df299f430124681a14d90
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Port #92819 (#93992)
Commit: 7caa812f2707fa3649c01000de6550dac226ce87
https://github.com/llvm/llvm-project/commit/7caa812f2707fa3649c01000de6550dac226ce87
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Port #92819 take 2 (#93995)
I missed this since it was still broken because of another patch
https://github.com/llvm/llvm-project/pull/93996
Commit: 1e81b67925fdd77a3d65ba2a7f652d1e840512f4
https://github.com/llvm/llvm-project/commit/1e81b67925fdd77a3d65ba2a7f652d1e840512f4
Author: jimingham <jingham at apple.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lldb/source/DataFormatters/FormatManager.cpp
M lldb/test/API/python_api/run_locker/TestRunLocker.py
Log Message:
-----------
[lldb] FormatManager::GetPossibleMatches assumes all ValueObjects have targets. (#93880)
But one made in a situation where that's impossible might only have an
error, and no symbol context, so that's not necessarily true. Check for
the target's validity before using it.
Fixes issue #93313
Commit: 34599266b27eb9265a4cde8a647059d25479f586
https://github.com/llvm/llvm-project/commit/34599266b27eb9265a4cde8a647059d25479f586
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Port #90972 (#93996)
Commit: 9482af3ddede001aa6a4c36855b0880bd9964bdf
https://github.com/llvm/llvm-project/commit/9482af3ddede001aa6a4c36855b0880bd9964bdf
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/lib/Lower/ConvertCall.cpp
M flang/test/HLFIR/c_ptr_byvalue.f90
M flang/test/Lower/CUDA/cuda-device-proc.cuf
M flang/test/Lower/HLFIR/assumed-rank-iface.f90
M flang/test/Lower/HLFIR/bindc-value-derived.f90
M flang/test/Lower/HLFIR/block_bindc_pocs.f90
M flang/test/Lower/HLFIR/call-sequence-associated-descriptors.f90
M flang/test/Lower/HLFIR/calls-character-singleton-result.f90
M flang/test/Lower/HLFIR/ignore-type-assumed-shape.f90
M flang/test/Lower/block.f90
A flang/test/Lower/call-bindc.f90
Log Message:
-----------
[flang] Carry over BIND(C) information to fir.call (#93981)
The BIND(C) attribute attached to a function can be lost when we do
indirect call. This information might be useful for codegen that have
specific ABI. This patch carry over the BIND(C) information to the
fir.call operation.
Commit: c232137d93425dd87ccf960ca9ad515417325634
https://github.com/llvm/llvm-project/commit/c232137d93425dd87ccf960ca9ad515417325634
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/lib/Lower/ConvertCall.cpp
A flang/test/Lower/HLFIR/elemental-result-length.f90
Log Message:
-----------
[flang][HLFIR] compute elemental function result length parameters (#93983)
Prepare the argument and map them to their corresponding dummy symbol in
order to lower the specification expression of the function result.
Extract the preparation of arguments according to the interface to its
own function to be reused.
It seems there is no need to conditionally compute the length on the
input since all the information comes from the CharBoxValue or the
descriptor for cases where the number of element could be 0.
Commit: 68a64812d7bac28412d43a0b4b19bae6db101c48
https://github.com/llvm/llvm-project/commit/68a64812d7bac28412d43a0b4b19bae6db101c48
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
A clang/test/C/C11/n1464.c
M clang/www/c_status.html
Log Message:
-----------
[C11] Claim conformance to N1464
That's on the CMPLX macros which Clang supports via __builtin_complex.
Commit: 458a31562aee703c15224dd9fcde19f67834a8f9
https://github.com/llvm/llvm-project/commit/458a31562aee703c15224dd9fcde19f67834a8f9
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/strided-load-store.ll
Log Message:
-----------
[RISCV] Add more tests for strided gathers with scalar offsets. NFC
Commit: f46d1463b835560d90ad3ac02b63c771e4ebe566
https://github.com/llvm/llvm-project/commit/f46d1463b835560d90ad3ac02b63c771e4ebe566
Author: Erick Velez <erickvelez7 at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/lib/Parse/ParseExprCXX.cpp
M clang/test/CXX/drs/cwg0xx.cpp
M clang/test/SemaCXX/cxx1y-variable-templates_in_class.cpp
M clang/test/SemaCXX/template-specialization.cpp
M clang/test/SemaTemplate/dependent-names.cpp
M clang/test/SemaTemplate/template-id-expr.cpp
M clang/test/SemaTemplate/template-id-printing.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang] require template arg list after template kw (#80801)
Require a template argument list after an identifier prefixed by the
template keyword. Introduced by [CWG
96](https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#96),
but the current wording of
[[temp.names]p5](https://eel.is/c++draft/temp.names#6) was introduced in
[P1787R6](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1787r6.html),
and became [temp.names]p6 somewhere else.
Fixes #53095
---------
Co-authored-by: Shafik Yaghmour <shafik.yaghmour at intel.com>
Commit: 3b81d9d91b18c2bd06bd36d8512a3a284a8980a9
https://github.com/llvm/llvm-project/commit/3b81d9d91b18c2bd06bd36d8512a3a284a8980a9
Author: Paul T Robinson <paul.robinson at sony.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/test/Driver/offloading-interoperability.c
M clang/test/Driver/openmp-offload-gpu.c
Log Message:
-----------
Reapply "[CUDA] Fix a couple of driver tests that really weren't bein… (#94000)
…g run" (#93988)"
This reverts commit 6416958067179c2987af0ef4568cd57f98b7e347.
Fix bots by using different options.
Commit: b06e736982a3568fe2bcea8688550f9e393b7450
https://github.com/llvm/llvm-project/commit/b06e736982a3568fe2bcea8688550f9e393b7450
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/MC/MCExpr.cpp
Log Message:
-----------
[MC] Speed up AttemptToFoldSymbolOffsetDifference in the absence of MCAsmLayout
The `FA < FB` check added by https://reviews.llvm.org/D153096 is slow.
Compute an informal layout order to speed up computation when
`AttemptToFoldSymbolOffsetDifference` is repeatedly called for the same
section.
Commit 9500a5d02e23f9b43294e5f662ac099f8989c0e4 ("[MC] Make UseAssemblerInfoForParsing mostly true")
exposed this performance pitfall, which was mitigated by
`setUseAssemblerInfoForParsing(false)` workarounds (e.g. commit
245491a9f384e4c53421196533c2a2b693efaf8d). The workaround can be removed
now.
Commit: 5a02a9a2e67444494f086dfe1cd6f15ba2210bc0
https://github.com/llvm/llvm-project/commit/5a02a9a2e67444494f086dfe1cd6f15ba2210bc0
Author: Dave Lee <davelee.com at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lldb/source/Core/Mangled.cpp
A lldb/test/API/lang/c/non-mangled/Makefile
A lldb/test/API/lang/c/non-mangled/TestCNonMangled.py
A lldb/test/API/lang/c/non-mangled/main.c
Log Message:
-----------
[lldb] Improve identification of Dlang mangled names (#93881)
Reduce false positive identification of C names as Dlang mangled names. This happens
when a C function uses the prefix `_D`.
The [Dlang ABI](https://dlang.org/spec/abi.html#name_mangling) shows that mangled names
have a length immediately following the `_D` prefix. This change checks for a digit
after the `_D` prefix, when identifying the mangling scheme of a symbol. This doesn't
prevent false positives entirely, but does make it less likely.
Commit: a9664407d7a9a4210133075e5adb67b365965727
https://github.com/llvm/llvm-project/commit/a9664407d7a9a4210133075e5adb67b365965727
Author: Valentin Clement <clementval at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/test/Lower/OpenMP/threadprivate-default-clause.f90
Log Message:
-----------
[flang][openmp] Fix test after PR #93981
Commit: e19565c5c4679ac7f5414f35137f6df4f70e713a
https://github.com/llvm/llvm-project/commit/e19565c5c4679ac7f5414f35137f6df4f70e713a
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M offload/plugins-nextgen/amdgpu/src/rtl.cpp
Log Message:
-----------
[Offload][AMDGPU] Only allow memory pool access to valid agents (#93969)
Summary:
The logic since the next-gen plugins was added was that every single
agent would get access to a memory pool we allocated. This is necessary
for things like fine-grained memory and to faciliate d2d copied.
However, there are cases where an agent cannot legally access a memory
pool. We have a debug check for this, but it would always be triggered
in these situations because both uses of the function simply passed
every agent. This patch changes the behavior by only enabling memory
pool access for agents that can access the memory pool.
Commit: e79c0806552880aa802c83f1edf59a3ffd39bdcc
https://github.com/llvm/llvm-project/commit/e79c0806552880aa802c83f1edf59a3ffd39bdcc
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/cmake/modules/FindLibEdit.cmake
Log Message:
-----------
[cmake] Allow multiple LibEdit_LIBRARIES (#93896)
If built statically, `libedit` may have a private static library
dependency on a provider of the `terminfo` API (e.g., `ncurses`). This
means that multiple libraries would need to be provided as the value for
`LibEdit_LIBRARIES`, but the current implementation of `FindLibEdit`
precludes this. This PR allows a list to be passed to
`LibEdit_LIBRARIES`.
Commit: 435e5c10b0ea6cf2a9674760ef2f4977412386eb
https://github.com/llvm/llvm-project/commit/435e5c10b0ea6cf2a9674760ef2f4977412386eb
Author: RoseZhang03 <rosezhang at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M libc/src/__support/OSUtil/linux/exit.cpp
Log Message:
-----------
[libc] restored original no_stack_protector syntax (#94005)
forward fix for #93620
-GCC doesn't recognize [[clang:: ']] prefix, so restored the original
__attribute__ syntax
Commit: ed155f3f237a7e3a3e40a84d815225d27e83f0db
https://github.com/llvm/llvm-project/commit/ed155f3f237a7e3a3e40a84d815225d27e83f0db
Author: Petr Hosek <phosek at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M libcxx/CMakeLists.txt
M libcxxabi/CMakeLists.txt
M libunwind/CMakeLists.txt
M llvm-libgcc/CMakeLists.txt
Log Message:
-----------
[runtimes] Correctly apply libdir subdir for multilib (#93354)
We weren't applying the libdir subdir to header directories but this is
necessary for correctness when building e.g. ASan variant. This change
also updates path construction logic accross all runtimes and ensures
they're consistent.
Commit: 4be3083bb39836466680a15f970ecc883d2e362a
https://github.com/llvm/llvm-project/commit/4be3083bb39836466680a15f970ecc883d2e362a
Author: shaw young <58664393+shawbyoung at users.noreply.github.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M bolt/include/bolt/Core/BinaryBasicBlock.h
M bolt/lib/Core/BinaryFunction.cpp
M bolt/lib/Passes/IdenticalCodeFolding.cpp
M bolt/lib/Profile/YAMLProfileWriter.cpp
Log Message:
-----------
[BOLT] Remove mutable from BB::LayoutIndex (#93224)
Removed mutability from BB::LayoutIndex, subsequently removed const from
BB::SetLayout, and changed BF::dfs to track visited blocks with a set as
opposed to tracking and altering LayoutIndexes for more consistent code.
Commit: 95810690287283b3180a4a4f2452b4e4d51e217b
https://github.com/llvm/llvm-project/commit/95810690287283b3180a4a4f2452b4e4d51e217b
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lld/test/ELF/fatlto/fatlto.test
Log Message:
-----------
[lld][test] Precommit test for ld -r links with FatLTO PIC objects (#92817)
Currently, with PIC relocatable links, FatLTO sections are treated as
orphan
sections and incorrectly concatenated together. This test verifies the
current
behavior, but should be fixed to either merge those sections into a
single llvm
module, similar to what `llvm-link` would produce, or to drop them
altogether.
Commit: f2f6569ecabd54cc7d26bf77424c0b8b674bf14d
https://github.com/llvm/llvm-project/commit/f2f6569ecabd54cc7d26bf77424c0b8b674bf14d
Author: Jeremy Kun <jkun at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M mlir/lib/Dialect/Polynomial/IR/PolynomialOps.cpp
M mlir/test/Dialect/Polynomial/ops.mlir
Log Message:
-----------
[mlir][polynomial] ensure primitive root calculation doesn't overflow (#93368)
Rebased over https://github.com/llvm/llvm-project/pull/93243
Co-authored-by: Jeremy Kun <j2kun at users.noreply.github.com>
Commit: 96d19fdc2678d1246bb14fed3ff0fc557893d2c4
https://github.com/llvm/llvm-project/commit/96d19fdc2678d1246bb14fed3ff0fc557893d2c4
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/include/llvm/ADT/STLExtras.h
Log Message:
-----------
[ADT] Remove llvm::erase_value (#94003)
The function has been deprecated since:
commit f9306f6de3bd19a2dcacd64566852a5f92c86e77
Author: Kazu Hirata <kazu at google.com>
Date: Tue Oct 24 23:03:13 2023 -0700
Commit: 99a0cd6f7edcb184a65d2e65842e7d9ece2a5eaf
https://github.com/llvm/llvm-project/commit/99a0cd6f7edcb184a65d2e65842e7d9ece2a5eaf
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/test/CodeGen/RISCV/rvv/rvv-peephole-vmerge-vops.ll
M llvm/test/CodeGen/RISCV/rvv/vfredmax.ll
M llvm/test/CodeGen/RISCV/rvv/vfredmin.ll
M llvm/test/CodeGen/RISCV/rvv/vfredosum.ll
M llvm/test/CodeGen/RISCV/rvv/vfredusum.ll
M llvm/test/CodeGen/RISCV/rvv/vfwredosum.ll
M llvm/test/CodeGen/RISCV/rvv/vfwredusum.ll
M llvm/test/CodeGen/RISCV/rvv/vredand.ll
M llvm/test/CodeGen/RISCV/rvv/vredmax.ll
M llvm/test/CodeGen/RISCV/rvv/vredmaxu.ll
M llvm/test/CodeGen/RISCV/rvv/vredmin.ll
M llvm/test/CodeGen/RISCV/rvv/vredminu.ll
M llvm/test/CodeGen/RISCV/rvv/vredor.ll
M llvm/test/CodeGen/RISCV/rvv/vredsum.ll
M llvm/test/CodeGen/RISCV/rvv/vredxor.ll
M llvm/test/CodeGen/RISCV/rvv/vwredsum.ll
M llvm/test/CodeGen/RISCV/rvv/vwredsumu.ll
Log Message:
-----------
[RISCV] Use TU policy for C reduction intrinsics. (#93970)
The C intrinsics should allow a value to be specified for the upper
elements.
This used to work before https://reviews.llvm.org/D146752 which should
have only changed the behavior for the autovectorizer. It clearly
changed all reductions.
Commit: 3320249688d216a25d5297152e59b58e3fb89915
https://github.com/llvm/llvm-project/commit/3320249688d216a25d5297152e59b58e3fb89915
Author: Adam Paszke <apaszke at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M mlir/lib/Target/LLVM/NVVM/Target.cpp
Log Message:
-----------
[MLIR][NVVM] Make the call to findTool optional for fatbinary (#93968)
Commit: fc21387b6510ee44520f2f17fb671f1265a9055f
https://github.com/llvm/llvm-project/commit/fc21387b6510ee44520f2f17fb671f1265a9055f
Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.h
M llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
M llvm/test/CodeGen/AMDGPU/promote-constOffset-to-imm.mir
Log Message:
-----------
[AMDGPU] Enable constant offset promotion to immediate FLAT (#93884)
Currently it is only supported for FLAT Global.
Commit: 5849cbad0f124fed6773f47b67160d8674c93a9a
https://github.com/llvm/llvm-project/commit/5849cbad0f124fed6773f47b67160d8674c93a9a
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M libc/utils/gpu/loader/Loader.h
M libc/utils/gpu/loader/amdgpu/Loader.cpp
M libc/utils/gpu/loader/nvptx/Loader.cpp
Log Message:
-----------
[libc] Add line numbers to libc utility error messages (#94010)
Summary:
Currently we just print the error as seen, this makes it difficult if
something goes wrong to know where it failed. This patch just adds in
line numbers to all the error handling routines so you can trace it
back.
Commit: 6119340e0bc538fbb884cea405fd6add9ed5798c
https://github.com/llvm/llvm-project/commit/6119340e0bc538fbb884cea405fd6add9ed5798c
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/lib/Sema/SemaOpenACC.cpp
M clang/test/SemaOpenACC/compute-construct-async-clause.c
M clang/test/SemaOpenACC/compute-construct-attach-clause.c
M clang/test/SemaOpenACC/compute-construct-copy-clause.c
M clang/test/SemaOpenACC/compute-construct-copyin-clause.c
M clang/test/SemaOpenACC/compute-construct-copyout-clause.c
M clang/test/SemaOpenACC/compute-construct-create-clause.c
M clang/test/SemaOpenACC/compute-construct-default-clause.c
M clang/test/SemaOpenACC/compute-construct-deviceptr-clause.c
M clang/test/SemaOpenACC/compute-construct-firstprivate-clause.c
M clang/test/SemaOpenACC/compute-construct-if-clause.c
M clang/test/SemaOpenACC/compute-construct-no_create-clause.c
M clang/test/SemaOpenACC/compute-construct-num_gangs-clause.c
M clang/test/SemaOpenACC/compute-construct-num_workers-clause.c
M clang/test/SemaOpenACC/compute-construct-present-clause.c
M clang/test/SemaOpenACC/compute-construct-private-clause.c
M clang/test/SemaOpenACC/compute-construct-reduction-clause.c
M clang/test/SemaOpenACC/compute-construct-self-clause.c
M clang/test/SemaOpenACC/compute-construct-vector_length-clause.c
M clang/test/SemaOpenACC/compute-construct-wait-clause.c
Log Message:
-----------
[OpenACC] Audit/add tests to ensure we enforce appertainment correctly
I apparently missed a few other clauses as well when doing my initial
implementation, so this adds tests for all, and fixes up the few that
had problems.
This is something that I'll do better to keep an eye on, though
shouldn't be necessary once the rest of the clauses are implemented and
we can remove the 'default' case.
Commit: cab81dd03813ac6333ad7fc031d72b84341fe2b9
https://github.com/llvm/llvm-project/commit/cab81dd03813ac6333ad7fc031d72b84341fe2b9
Author: Egor Pasko <pasko at chromium.org>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/lib/CodeGen/BackendUtil.cpp
M clang/test/CodeGen/X86/x86_64-instrument-functions.c
M clang/test/CodeGen/instrument-objc-method.m
M clang/test/CodeGen/lto-newpm-pipeline.c
M clang/test/CodeGen/mcount-aix.c
M clang/test/CodeGen/mcount.c
M clang/test/Frontend/gnu-mcount.c
M llvm/include/llvm/InitializePasses.h
M llvm/include/llvm/LinkAllPasses.h
M llvm/include/llvm/Transforms/Utils.h
M llvm/lib/CodeGen/TargetPassConfig.cpp
M llvm/lib/Passes/PassBuilderPipelines.cpp
M llvm/lib/Transforms/Scalar/Scalar.cpp
M llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
M llvm/test/CodeGen/AArch64/O0-pipeline.ll
M llvm/test/CodeGen/AArch64/O3-pipeline.ll
M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
M llvm/test/CodeGen/ARM/O3-pipeline.ll
M llvm/test/CodeGen/LoongArch/O0-pipeline.ll
M llvm/test/CodeGen/LoongArch/opt-pipeline.ll
M llvm/test/CodeGen/PowerPC/O0-pipeline.ll
M llvm/test/CodeGen/PowerPC/O3-pipeline.ll
M llvm/test/CodeGen/RISCV/O0-pipeline.ll
M llvm/test/CodeGen/RISCV/O3-pipeline.ll
M llvm/test/CodeGen/X86/O0-pipeline.ll
A llvm/test/CodeGen/X86/instrument-function-inlined.ll
M llvm/test/CodeGen/X86/opt-pipeline.ll
M llvm/test/Other/new-pass-manager.ll
M llvm/test/Other/new-pm-O0-defaults.ll
M llvm/test/Other/new-pm-defaults.ll
M llvm/test/Other/new-pm-thinlto-prelink-defaults.ll
M llvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
M llvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
A llvm/test/Transforms/EntryExitInstrumenter/pre-inliner-instrumentation.ll
M llvm/tools/llc/llc.cpp
M llvm/tools/opt/optdriver.cpp
Log Message:
-----------
[EntryExitInstrumenter] Move passes out of clang into LLVM default pipelines (#92171)
Move EntryExitInstrumenter(PostInlining=true) to as late as possible and
EntryExitInstrumenter(PostInlining=false) to an early pre-inlining stage
(but skip for ThinLTO post-link).
This should fix the issues reported in
https://github.com/rust-lang/rust/issues/92109 and
https://github.com/llvm/llvm-project/issues/52853. These are caused
by https://reviews.llvm.org/D97608.
Commit: 8578b60758e6a588ec41a9678829cebec471f8e5
https://github.com/llvm/llvm-project/commit/8578b60758e6a588ec41a9678829cebec471f8e5
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/lib/Headers/ptrauth.h
Log Message:
-----------
[clang] Add ABI-defined key assignments to ptrauth.h. (#93901)
This is the current key assignment defined by the arm64e architecture
on Darwin platforms, and also matches the intended key assignments
in the initial ELF adopters. This can be made more generic if needed,
by e.g., defining these in the preprocessor instead.
Commit: 2db190fda609b4df3aa0bf17336ab64bc15f6115
https://github.com/llvm/llvm-project/commit/2db190fda609b4df3aa0bf17336ab64bc15f6115
Author: Han-Chung Wang <hanhan0912 at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/Tensor/Utils/Utils.h
M mlir/lib/Dialect/Tensor/Utils/Utils.cpp
Log Message:
-----------
[mlir][tensor][NFC] Move function comments to where they are declared. (#94002)
According to LLVM style guide, we prefer putting the documentation
comments for public APIs into the header file.
See
https://llvm.org/docs/CodingStandards.html#doxygen-use-in-documentation-comments
for more details.
Commit: 68fdc1cf87eb04686e079af27eaeec0f1c41f8cc
https://github.com/llvm/llvm-project/commit/68fdc1cf87eb04686e079af27eaeec0f1c41f8cc
Author: Dave Lee <davelee.com at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lldb/source/Core/Mangled.cpp
M lldb/unittests/Core/MangledTest.cpp
Log Message:
-----------
[lldb] Fix Dlang symbol test breakage (#94046)
Follow up to #93881. Updates missed tests and handles `_Dmain`.
Commit: cc548ec47c05971a67ed9ec7086d414aabcf8b05
https://github.com/llvm/llvm-project/commit/cc548ec47c05971a67ed9ec7086d414aabcf8b05
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
M llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/lib/Target/AArch64/AArch64RegisterInfo.td
M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
M llvm/lib/Target/AArch64/GISel/AArch64GlobalISelUtils.cpp
M llvm/lib/Target/AArch64/GISel/AArch64GlobalISelUtils.h
M llvm/test/CodeGen/AArch64/branch-target-enforcement-indirect-calls.ll
A llvm/test/CodeGen/AArch64/ptrauth-bti-call.ll
A llvm/test/CodeGen/AArch64/ptrauth-call-rv-marker.ll
A llvm/test/CodeGen/AArch64/ptrauth-call.ll
A llvm/test/CodeGen/AArch64/ptrauth-invoke.ll
Log Message:
-----------
[AArch64][PAC] Lower authenticated calls with ptrauth bundles. (#85736)
This adds codegen support for the "ptrauth" operand bundles, which can
be used to augment indirect calls with the equivalent of an
`@llvm.ptrauth.auth` intrinsic call on the call target (possibly
preceded by an `@llvm.ptrauth.blend` on the auth discriminator if
applicable.)
This allows the generation of combined authenticating calls
on AArch64 (in the BLRA* PAuth instructions), while avoiding
the raw just-authenticated function pointer from being
exposed to attackers.
This is done by threading a PtrAuthInfo descriptor through
the call lowering infrastructure, eventually selecting a BLRA
pseudo. The pseudo encapsulates the safe discriminator
computation, which together with the real BLRA* call get emitted
in late pseudo expansion in AsmPrinter.
Note that this also applies to the other forms of indirect calls,
notably invokes, rvmarker, and tail calls. Tail-calls in particular
bring some additional complexity, with the intersecting register
constraints of BTI and PAC discriminator computation.
However this doesn't currently support PAuth_LR tail-call variants.
This also adopts an x8+ allocation order for GPR64noip, matching
GPR64.
Commit: 62c61aa2bf23b7d886578708ec56b3ff07c3fcb0
https://github.com/llvm/llvm-project/commit/62c61aa2bf23b7d886578708ec56b3ff07c3fcb0
Author: Thurston Dang <thurston at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M compiler-rt/lib/msan/msan.cpp
Log Message:
-----------
[msan] Change #ifdef SANITIZER_PPC to #if (#94009)
https://github.com/llvm/llvm-project/commit/0e96eebc7f681a7ce41f35909e609c7c61a11455
accidentally turned the prior patch
(https://github.com/llvm/llvm-project/commit/57a507930b50c445140feb68bffe1c21af53319e)
into a no-op because this macro is always defined (as either 1 or 0).
This patch changes it to correctly use #if.
Commit: 9a8b73c7413002b4b4015a5b9ba27ad4482809aa
https://github.com/llvm/llvm-project/commit/9a8b73c7413002b4b4015a5b9ba27ad4482809aa
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/lib/ProfileData/InstrProfWriter.cpp
M llvm/lib/ProfileData/MemProf.cpp
Log Message:
-----------
[memprof] Replace uint32_t with LinearCallStackId where appropriate (NFC) (#94023)
This patch replaces uint32_t with LinearCallStackId where appropriate.
I'm replacing uint64_t with LinearCallStackId in
writeMemProfCallStackArray, but that's OK because it's a value to be
used as LinearCallStackId anyway.
Commit: ad884d97288c752ba9088d01cf7ab80b20e4d2a6
https://github.com/llvm/llvm-project/commit/ad884d97288c752ba9088d01cf7ab80b20e4d2a6
Author: royitaqi <royitaqi at users.noreply.github.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lldb/include/lldb/API/SBCommandInterpreter.h
M lldb/include/lldb/Interpreter/CommandInterpreter.h
M lldb/include/lldb/Target/Statistics.h
M lldb/source/Commands/CommandObjectStats.cpp
M lldb/source/Commands/Options.td
M lldb/source/Interpreter/CommandInterpreter.cpp
M lldb/source/Target/Statistics.cpp
M lldb/test/API/commands/statistics/basic/TestStats.py
M lldb/test/API/python_api/interpreter/TestCommandInterpreterAPI.py
Log Message:
-----------
A few updates around "transcript" (#92843)
# Changes
1. Changes to the structured transcript.
1. Add fields `commandName` and `commandArguments`. They will hold the
name and the arguments string of the expanded/executed command (e.g.
`breakpoint set` and `-f main.cpp -l 4`). This is not to be confused
with the `command` field, which holds the user input (e.g. `br s -f
main.cpp -l 4`).
2. Add field `timestampInEpochSeconds`. It will hold the timestamp when
the command is executed.
3. Rename field `seconds` to `durationInSeconds`, to improve
readability, especially since `timestampInEpochSeconds` is added.
2. When transcript is available and the newly added option
`--transcript` is present, add the transcript to the output of
`statistics dump`, as a JSON array under a new field `transcript`.
3. A few test name and comment changes.
Commit: 11791ae7b0b05b8bd8d806331ff51da618912cf8
https://github.com/llvm/llvm-project/commit/11791ae7b0b05b8bd8d806331ff51da618912cf8
Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M bolt/test/X86/addr32.s
M bolt/test/X86/asm-func-debug.test
M bolt/test/X86/avx512-trap.test
M bolt/test/X86/bb-with-two-tail-calls.s
M bolt/test/X86/block-reordering.test
M bolt/test/X86/bolt-address-translation-internal-call.test
M bolt/test/X86/bolt-address-translation-yaml.test
M bolt/test/X86/bolt-address-translation.test
M bolt/test/X86/branch-data.test
M bolt/test/X86/broken_dynsym.test
M bolt/test/X86/bug-function-layout-execount.s
M bolt/test/X86/bug-reorder-bb-jrcxz.s
M bolt/test/X86/calculate-emitted-block-size.s
M bolt/test/X86/call-zero.s
M bolt/test/X86/cdsplit-call-scale.s
M bolt/test/X86/cdsplit-symbol-names.s
M bolt/test/X86/cfi-expr-rewrite.s
M bolt/test/X86/cfi-instrs-count.s
M bolt/test/X86/cfi-instrs-reordered.s
M bolt/test/X86/checkvma-large-section.test
M bolt/test/X86/ctc-and-unreachable.test
M bolt/test/X86/debug-fission-single-convert.s
M bolt/test/X86/debug-fission-single.s
M bolt/test/X86/double-jump.test
M bolt/test/X86/dwarf-handle-visit-loclist-error.s
M bolt/test/X86/dwarf-test-df-logging.test
M bolt/test/X86/dwarf3-lowpc-highpc-convert.s
M bolt/test/X86/dwarf4-cross-cu-backward-different-abbrev.test
M bolt/test/X86/dwarf4-cross-cu-forward-different-abbrev.test
M bolt/test/X86/dwarf4-cross-cu-loclist-dwarf4-loclist--dwarf5-loclist.test
M bolt/test/X86/dwarf4-df-basic.test
M bolt/test/X86/dwarf4-df-call-site-change-low-pc.test
M bolt/test/X86/dwarf4-df-change-in-dw-op-gnu-addr-index-main.test
M bolt/test/X86/dwarf4-df-do-no-convert-low-pc-high-pc-to-ranges.test
M bolt/test/X86/dwarf4-df-dualcu-loclist.test
M bolt/test/X86/dwarf4-df-dualcu.test
M bolt/test/X86/dwarf4-df-inlined-subroutine-lowpc-0.test
M bolt/test/X86/dwarf4-df-input-lowpc-ranges.test
M bolt/test/X86/dwarf4-df-no-base.test
M bolt/test/X86/dwarf4-do-no-convert-low-pc-high-pc-to-ranges.test
M bolt/test/X86/dwarf4-duplicate-types.test
M bolt/test/X86/dwarf4-ftypes-dwo-input-dwp-output.test
M bolt/test/X86/dwarf4-ftypes-dwo-mono-input-dwp-output.test
M bolt/test/X86/dwarf4-ftypes-dwp-input-dwo-output.test
M bolt/test/X86/dwarf4-ftypes-dwp-input-dwp-output.test
M bolt/test/X86/dwarf4-gdb-index-types-gdb-generated.test
M bolt/test/X86/dwarf4-gdb-index-types-lld-generated.test
M bolt/test/X86/dwarf4-invalid-reference-die-offset-no-internal-dwarf-error.s
M bolt/test/X86/dwarf4-invalid-reference-die-offset-with-internal-dwarf-error-cant-parse-die.s
M bolt/test/X86/dwarf4-invalid-reference-die-offset-with-internal-dwarf-error-invalid-die.s
M bolt/test/X86/dwarf4-sibling.s
M bolt/test/X86/dwarf4-size-0-inlined_subroutine.s
M bolt/test/X86/dwarf4-split-dwarf-no-address.test
M bolt/test/X86/dwarf4-split-gdb-index-types-gdb-generated.test
M bolt/test/X86/dwarf4-subprogram-multiple-ranges.test
M bolt/test/X86/dwarf4-subprogram-single-gc-ranges.test
M bolt/test/X86/dwarf4-subprogram-single-ranges.test
M bolt/test/X86/dwarf4-types-dwarf5-types.test
M bolt/test/X86/dwarf4-types-dwarf5.test
M bolt/test/X86/dwarf4-types-forward-backward-cross-reference.s
M bolt/test/X86/dwarf4-types.test
M bolt/test/X86/dwarf5-addr-section-reuse.s
M bolt/test/X86/dwarf5-call-pc-function-null-check.test
M bolt/test/X86/dwarf5-call-pc.test
M bolt/test/X86/dwarf5-cu-no-debug-addr.test
M bolt/test/X86/dwarf5-debug-info-dwarf4-debug-line.s
M bolt/test/X86/dwarf5-debug-line-not-modified.test
M bolt/test/X86/dwarf5-debug-line.s
M bolt/test/X86/dwarf5-debug-loclists.s
M bolt/test/X86/dwarf5-df-call-site-change-low-pc.test
M bolt/test/X86/dwarf5-df-change-in-dw-op-gnu-addr-index-main.test
M bolt/test/X86/dwarf5-df-cu-function-gc.test
M bolt/test/X86/dwarf5-df-dualcu-loclist.test
M bolt/test/X86/dwarf5-df-dualcu.test
M bolt/test/X86/dwarf5-df-inlined-subroutine-gc-sections-range.test
M bolt/test/X86/dwarf5-df-inlined-subroutine-range-0.test
M bolt/test/X86/dwarf5-df-input-lowpc-ranges.test
M bolt/test/X86/dwarf5-df-mono-dualcu.test
M bolt/test/X86/dwarf5-df-output-dir-same-name.test
M bolt/test/X86/dwarf5-df-types-dup-dwp-input.test
M bolt/test/X86/dwarf5-do-no-convert-low-pc-high-pc-to-ranges.test
M bolt/test/X86/dwarf5-dwarf4-gdb-index-types-gdb-generated-gdb11.test
M bolt/test/X86/dwarf5-dwarf4-gdb-index-types-gdb-generated-gdb9.test
M bolt/test/X86/dwarf5-dwarf4-gdb-index-types-lld-generated.test
M bolt/test/X86/dwarf5-dwarf4-monolithic.test
M bolt/test/X86/dwarf5-dwarf4-types-backward-forward-cross-reference.test
M bolt/test/X86/dwarf5-ftypes-dwo-mono-input-dwp-output.test
M bolt/test/X86/dwarf5-ftypes-dwp-input-dwo-output.test
M bolt/test/X86/dwarf5-gdb-index-types-gdb-generated-gdb11.test
M bolt/test/X86/dwarf5-gdb-index-types-gdb-generated-gdb9.test
M bolt/test/X86/dwarf5-gdb-index-types-lld-generated.test
M bolt/test/X86/dwarf5-locaddrx.test
M bolt/test/X86/dwarf5-locexpr-addrx.s
M bolt/test/X86/dwarf5-locexpr-referrence.test
M bolt/test/X86/dwarf5-loclist-offset-form.test
M bolt/test/X86/dwarf5-lowpc-highpc-convert.s
M bolt/test/X86/dwarf5-multiple-dw-op-addrx-locexpr.s
M bolt/test/X86/dwarf5-one-loclists-two-bases.test
M bolt/test/X86/dwarf5-rangeoffset-to-rangeindex.s
M bolt/test/X86/dwarf5-return-pc-form-addr.test
M bolt/test/X86/dwarf5-return-pc.test
M bolt/test/X86/dwarf5-shared-str-offset-base.s
M bolt/test/X86/dwarf5-split-dwarf4-monolithic.test
M bolt/test/X86/dwarf5-split-gdb-index-types-gdb-generated.test
M bolt/test/X86/dwarf5-subprogram-multiple-ranges.test
M bolt/test/X86/dwarf5-subprogram-single-gc-ranges.test
M bolt/test/X86/dwarf5-subprogram-single-ranges.test
M bolt/test/X86/dwarf5-two-loclists.test
M bolt/test/X86/dwarf5-two-rnglists.test
M bolt/test/X86/dwarf5-types-backward-cross-reference.s
M bolt/test/X86/dwarf5-types-forward-cross-reference.s
M bolt/test/X86/dynrelocs.s
M bolt/test/X86/exceptions-args.test
M bolt/test/X86/fallthrough-to-noop.test
M bolt/test/X86/false-jump-table.s
M bolt/test/X86/fatal-error.s
M bolt/test/X86/fragment-lite-reverse.s
M bolt/test/X86/fragment-lite.s
M bolt/test/X86/fragmented-symbols.s
M bolt/test/X86/frame-opt-lea.s
M bolt/test/X86/function-order-lite.s
M bolt/test/X86/gdbindex.test
M bolt/test/X86/high_pc_udata.s
M bolt/test/X86/icp-inline.s
M bolt/test/X86/ignored-interprocedural-reference.s
M bolt/test/X86/indirect-goto-pie.test
M bolt/test/X86/indirect-goto.test
M bolt/test/X86/inlined-function-mixed.test
M bolt/test/X86/insert-addr-rnglists_base.s
M bolt/test/X86/insert-debug-info-entry.test
M bolt/test/X86/internal-call-instrument-so.s
M bolt/test/X86/internal-call-instrument.s
M bolt/test/X86/interprocedural-ref-entry-point.s
M bolt/test/X86/is-strip.s
M bolt/test/X86/issue20.s
M bolt/test/X86/issue20.test
M bolt/test/X86/issue26.s
M bolt/test/X86/issue26.test
M bolt/test/X86/jmp-optimization.test
M bolt/test/X86/jmpjmp.test
M bolt/test/X86/jt-symbol-disambiguation-3.s
M bolt/test/X86/jump-table-fixed-ref-pic.test
M bolt/test/X86/jump-table-footprint-reduction.test
M bolt/test/X86/jump-table-icp.test
M bolt/test/X86/jump-table-pic-conflict.s
M bolt/test/X86/jump-table-pic-order.test
M bolt/test/X86/jump-table-reference.test
M bolt/test/X86/layout-heuristic.test
M bolt/test/X86/line-number.test
M bolt/test/X86/log.test
M bolt/test/X86/loop-inversion-pass.s
M bolt/test/X86/loop-nest.test
M bolt/test/X86/merge-fdata-bat-mode.test
M bolt/test/X86/merge-fdata-nobat-mode.test
M bolt/test/X86/merge-fdata-output.test
M bolt/test/X86/no-entry-reordering.test
M bolt/test/X86/no-output.test
M bolt/test/X86/nolbr.s
M bolt/test/X86/patch-entries.test
M bolt/test/X86/pre-aggregated-perf.test
M bolt/test/X86/pt_gnu_relro.s
M bolt/test/X86/reader-stale-yaml-std.test
M bolt/test/X86/reader-stale-yaml.test
M bolt/test/X86/reader.test
M bolt/test/X86/register-fragments-bolt-symbols.s
M bolt/test/X86/relaxed-tailcall.test
M bolt/test/X86/remove-unused.test
M bolt/test/X86/rodata-simpl-loads.test
M bolt/test/X86/sctc-bug.test
M bolt/test/X86/sctc-bug2.test
M bolt/test/X86/sctc-bug3.test
M bolt/test/X86/sctc-bug4.test
M bolt/test/X86/shared_object_entry.s
M bolt/test/X86/shorten-mov.test
M bolt/test/X86/shrinkwrapping-and-rsp.s
M bolt/test/X86/shrinkwrapping-critedge.s
M bolt/test/X86/shrinkwrapping-do-not-pessimize.s
M bolt/test/X86/shrinkwrapping-insertcfi.s
M bolt/test/X86/shrinkwrapping-lea.s
M bolt/test/X86/shrinkwrapping-mov.s
M bolt/test/X86/shrinkwrapping-pop-order.s
M bolt/test/X86/shrinkwrapping-popf.s
M bolt/test/X86/shrinkwrapping-restore-position.s
M bolt/test/X86/shrinkwrapping.test
M bolt/test/X86/split-all-lptrampoline.s
M bolt/test/X86/split-all.s
M bolt/test/X86/split-func-icf.s
M bolt/test/X86/split-func-jump-table-fragment-bidirection.s
M bolt/test/X86/split-func-jump-table-fragment-noparent.s
M bolt/test/X86/split-func-jump-table-fragment-reverse.s
M bolt/test/X86/split-func-jump-table-fragment.s
M bolt/test/X86/split-func-jump-table-unknown.s
M bolt/test/X86/split-landing-pad.s
M bolt/test/X86/split-random.s
M bolt/test/X86/static-exe.test
M bolt/test/X86/symtab-secondary-entries.test
M bolt/test/X86/tail-duplication-cache.s
M bolt/test/X86/tail-duplication-cacheline.s
M bolt/test/X86/tail-duplication-complex.s
M bolt/test/X86/tail-duplication-jt.s
M bolt/test/X86/tail-duplication-pass.s
M bolt/test/X86/tail-duplication-prop-bug.s
M bolt/test/X86/tailcall-traps.test
M bolt/test/X86/tailcall.test
M bolt/test/X86/unclaimed-jt-entries.s
M bolt/test/X86/unreachable-jmp.s
M bolt/test/X86/unreachable.test
M bolt/test/X86/vararg.test
M bolt/test/X86/yaml-multiple-profiles.test
M bolt/test/X86/zero-sized-object.s
M bolt/test/bad-exe.test
M bolt/test/bolt-icf.test
M bolt/test/bolt-info.test
M bolt/test/heatmap.test
M bolt/test/invalid-profile.test
M bolt/test/keep-aranges.test
M bolt/test/no-relocs.test
M bolt/test/non-empty-debug-line.test
M bolt/test/pie.test
M bolt/test/re-optimize.test
M bolt/test/runtime/X86/asm-dump.c
M bolt/test/shared-object.test
Log Message:
-----------
[BOLT][DWARF][NFC] Added double escape characters (#93348)
Added double escape characters to lines that describe a test.
Commit: 278b3964655ab06576a27be57ee2378732bc7420
https://github.com/llvm/llvm-project/commit/278b3964655ab06576a27be57ee2378732bc7420
Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
A bolt/test/X86/Inputs/dwarf4-subprogram-multiple-ranges-other.s
A bolt/test/X86/Inputs/dwarf5-subprogram-multiple-ranges-other.s
A bolt/test/X86/dwarf4-subprogram-multiple-ranges-cus.test
A bolt/test/X86/dwarf5-subprogram-multiple-ranges-cus.test
Log Message:
-----------
[BOLT][DWARF][NFC] Add tests with multiple CUs (#93615)
Adds DWARF4 and DWARF5 tests with multiple CUs.
Commit: 8d239d7fdf07dd640be3933fc72a9811ec0bc031
https://github.com/llvm/llvm-project/commit/8d239d7fdf07dd640be3933fc72a9811ec0bc031
Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M bolt/test/X86/dwarf5-df-input-lowpc-ranges.test
Log Message:
-----------
[BOLT][DWARF][NFC] Fix formatting issue in DWARF5 split-dwarf test (#93746)
Remove double escape characters before a RUN in a test.
Commit: a585446110d06ba12ea8151044f3ac97f98faf92
https://github.com/llvm/llvm-project/commit/a585446110d06ba12ea8151044f3ac97f98faf92
Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M bolt/test/X86/dwarf4-df-input-lowpc-ranges.test
Log Message:
-----------
[BOLT][DWARF][NFC] Fix formatting issue in DWARF4 split-dwarf test (#93747)
Remove double escape characters before a RUN in a test.
Commit: bba5ee47e63298d61f6ea441a140144ce370ba92
https://github.com/llvm/llvm-project/commit/bba5ee47e63298d61f6ea441a140144ce370ba92
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/lib/ProfileData/InstrProfWriter.cpp
Log Message:
-----------
[memprof] Introduce memprof::LinearFrameId (NFC) (#94057)
This patch introduces memprof::LinearFrameId, which is a frame version
of memprof::LinearCallStackId.
Commit: 840f9de9b14f40836fb28be77a4b70b41e8e9523
https://github.com/llvm/llvm-project/commit/840f9de9b14f40836fb28be77a4b70b41e8e9523
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProf.h
Log Message:
-----------
[memprof] Use LinearFrameId and LinearCallStackId where appropriate (NFC) (#94076)
Commit: f5bab9678e8c6b2a58abc7867a4a64408247cf13
https://github.com/llvm/llvm-project/commit/f5bab9678e8c6b2a58abc7867a4a64408247cf13
Author: Michael Liao <michael.hliao at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/test/CodeGen/M68k/pipeline.ll
Log Message:
-----------
[M68k] Fix compilation pipeline check
- Fix check after cab81dd03813ac6333ad7fc031d72b84341fe2b9
Commit: 0353f6abdd30c778778604c75e33cbe841a61199
https://github.com/llvm/llvm-project/commit/0353f6abdd30c778778604c75e33cbe841a61199
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M bolt/test/AArch64/lit.local.cfg
M bolt/test/X86/lit.local.cfg
M bolt/test/lit.local.cfg
Log Message:
-----------
[BOLT][test] Use correct normalized triple
bolt/test/lit.local.cfg wants to use the system GCC installation but it
specifies a wrong triple ("linux" instead of "linux-gnu") and relies on
clangDriver's loose GCC installation detection to pick up "*-linux-gnu".
This loose behavior may not work. Use "linux-gnu" instead.
Note: neither "linux" nor "linux-gnu" detects "linux-musl" triples, so
these tests currently fail on musl based systems.
Other files changes are cosmetic.
Commit: 16832eb58563f77d917198ad9f86db1c2ee162c9
https://github.com/llvm/llvm-project/commit/16832eb58563f77d917198ad9f86db1c2ee162c9
Author: Sterling-Augustine <56981066+Sterling-Augustine at users.noreply.github.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M clang/lib/AST/QualTypeNames.cpp
Log Message:
-----------
Guard against nullptr (#94084)
Protect against nullptr after #93926
Commit: 1697030d9d7188473cc4129bd28f848a77d04d3d
https://github.com/llvm/llvm-project/commit/1697030d9d7188473cc4129bd28f848a77d04d3d
Author: Nuri Amari <nuri.amari99 at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lld/MachO/Driver.cpp
M lld/test/MachO/start-lib.s
Log Message:
-----------
[MachO LLD] Respect -all_load with --start-lib --end-lib style archives (#93993)
The -all_load flag is intended to force the linker to load all lazy members, but doesn't do so if the archive is specified with --start-lib, --end-lib flags. The `-all_load` flag is global, that is it can be placed anywhere in the linker invocation, and it affects the load behavior of all conventional archives listed. Unlike ELF's --whole-archive, the user need not necessarily have access to the entire linker invocation to reasonably make use of the flag. The user can supply `-all_load` to a build system without inspecting the rest of the linker invocation.
To make the behavior of `--start-lib` style archives consistent with regular archives, this patch makes it so that -all_load also applies in this case.
Commit: d337c504ef3652e9ccd75b21bbc79d010ee6c637
https://github.com/llvm/llvm-project/commit/d337c504ef3652e9ccd75b21bbc79d010ee6c637
Author: Tyler Lanphear <tylanphear at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP][NFCI] Address issues seen in downstream Coverity scan. (#93757)
- Prevent null dereference: if the Mask given to
`ShuffleInstructionBuilder::adjustExtracts()` is empty or all-poison,
then `VecBase` will be `nullptr` and the call to
`castToScalarTyElem(VecBase)` will dereference it. Add an assert
to guard against this.
- Prevent use of uninitialized scalar: in the unlikely event that
`CandidateVFs` is empty, then `AnyProfitableGraph` will be
uninitialized in `if` condition following the loop. (This seems like a
false-positive, but I submitted this change anyways as initializing
bools costs nothing and is generally good practice)
Commit: 142afde0eba4940f2b331274e9a3535fee960f35
https://github.com/llvm/llvm-project/commit/142afde0eba4940f2b331274e9a3535fee960f35
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M libc/config/config.json
M libc/docs/configure.rst
M libc/hdr/types/CMakeLists.txt
A libc/hdr/types/pid_t.h
M libc/include/llvm-libc-types/CMakeLists.txt
M libc/include/llvm-libc-types/cnd_t.h
M libc/src/__support/File/dir.h
M libc/src/__support/File/file.h
M libc/src/__support/threads/CndVar.h
M libc/src/__support/threads/fork_callbacks.cpp
M libc/src/__support/threads/gpu/mutex.h
M libc/src/__support/threads/linux/CMakeLists.txt
M libc/src/__support/threads/linux/CndVar.cpp
M libc/src/__support/threads/linux/mutex.h
A libc/src/__support/threads/linux/raw_mutex.h
M libc/src/__support/threads/thread.cpp
M libc/src/pthread/pthread_mutex_init.cpp
M libc/src/pthread/pthread_mutexattr.h
M libc/src/stdlib/atexit.cpp
M libc/src/threads/linux/CMakeLists.txt
M libc/src/threads/mtx_init.cpp
M libc/test/integration/src/__support/threads/thread_detach_test.cpp
M libc/test/src/__support/CMakeLists.txt
A libc/test/src/__support/threads/CMakeLists.txt
A libc/test/src/__support/threads/linux/CMakeLists.txt
A libc/test/src/__support/threads/linux/raw_mutex_test.cpp
Log Message:
-----------
[libc] rework mutex (#92168)
Commit: 85fd1688b2bbbbfc73ba97d95e621cfbfe9a3fff
https://github.com/llvm/llvm-project/commit/85fd1688b2bbbbfc73ba97d95e621cfbfe9a3fff
Author: gulfemsavrun <gulfem at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lldb/include/lldb/API/SBCommandInterpreter.h
M lldb/include/lldb/Interpreter/CommandInterpreter.h
M lldb/include/lldb/Target/Statistics.h
M lldb/source/Commands/CommandObjectStats.cpp
M lldb/source/Commands/Options.td
M lldb/source/Interpreter/CommandInterpreter.cpp
M lldb/source/Target/Statistics.cpp
M lldb/test/API/commands/statistics/basic/TestStats.py
M lldb/test/API/python_api/interpreter/TestCommandInterpreterAPI.py
Log Message:
-----------
Revert "A few updates around "transcript"" (#94088)
Reverts llvm/llvm-project#92843 because it broke some lldb tests:
https://luci-milo.appspot.com/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64/b8746385730949743489/overview
Commit: 8057756190afb8a8e5d550788fcc63914e920d0f
https://github.com/llvm/llvm-project/commit/8057756190afb8a8e5d550788fcc63914e920d0f
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M libc/test/src/__support/threads/linux/raw_mutex_test.cpp
Log Message:
-----------
[libc] fix test build on platforms without `SYS_fork` (#94087)
Commit: f3444f650c7bf69456c554befa65cbebe8d41e91
https://github.com/llvm/llvm-project/commit/f3444f650c7bf69456c554befa65cbebe8d41e91
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
Log Message:
-----------
[RISCV] Fix incorrect use of TA in some tablegen class names. NFC
These either have an explicit policy operand or use TU policy.
Commit: 4d4d6eb6e8b519fec7ca5b689762bb964a7ce186
https://github.com/llvm/llvm-project/commit/4d4d6eb6e8b519fec7ca5b689762bb964a7ce186
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lld/ELF/Writer.cpp
Log Message:
-----------
[ELF] findOrphanPos: avoid redundant getRankProximity call. NFC
Commit: 1af0778f9c6e1ac0f6e2dfd0e56063cc21c4eea5
https://github.com/llvm/llvm-project/commit/1af0778f9c6e1ac0f6e2dfd0e56063cc21c4eea5
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/test/CodeGen/RISCV/rvv/vsub.ll
Log Message:
-----------
[RISCV] Use vadd.vi for tail undisturbe vsub intrinsic with small immediate.
Our pattern previously checked for the merge operand being undef.
Commit: 59116e0941c7f406526fc37acf52845bd8380402
https://github.com/llvm/llvm-project/commit/59116e0941c7f406526fc37acf52845bd8380402
Author: Kai Luo <lkail at cn.ibm.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M llvm/test/CodeGen/PowerPC/aix-tls-gd-longlong.ll
Log Message:
-----------
[PowerPC] Update test so that target flags are exposed. NFC.
Commit: 0f3d646cefbe00b4a1037dc68e9d76e5470e805f
https://github.com/llvm/llvm-project/commit/0f3d646cefbe00b4a1037dc68e9d76e5470e805f
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lld/ELF/Writer.cpp
Log Message:
-----------
[ELF] Simplify findOrphanPos. NFC
Simplify the loop that considers sections of the same proximity. The two
involved conditions are due to:
* https://reviews.llvm.org/D111717 ("[ELF] Avoid adding an orphan section to a less suitable segment") and
* https://reviews.llvm.org/D112925 ("[ELF] Better resemble GNU ld when placing orphan sections into memory regions")
Commit: 26814bbd4f65934d4e231ce407ec1b62c9d81df7
https://github.com/llvm/llvm-project/commit/26814bbd4f65934d4e231ce407ec1b62c9d81df7
Author: Pavel Samolysov <samolisov at gmail.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaTemplateDeduction.cpp
Log Message:
-----------
[clang] Fix a typo: ExplicitObje[C]tArgument. NFC (#94094)
Commit: f85904868b282aa56c8bef90f169ca5ecd9957f8
https://github.com/llvm/llvm-project/commit/f85904868b282aa56c8bef90f169ca5ecd9957f8
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lld/ELF/Writer.cpp
Log Message:
-----------
[ELF] Simplify findOrphanPos. NFC
When the orphan section is placed after i, incrementing then
decreamenting is quite difficult to understand. Simplify the code to a
single loop to make the intention clearer.
Commit: 63fc26c72ae5095fc1ab20369d146538d03c4560
https://github.com/llvm/llvm-project/commit/63fc26c72ae5095fc1ab20369d146538d03c4560
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M libc/test/src/__support/threads/linux/CMakeLists.txt
M libc/test/src/__support/threads/linux/raw_mutex_test.cpp
Log Message:
-----------
[libc] fix build failures due to SIGCHLD (#94093)
Commit: 5d31360d710a9aa2a1bee4ea9bcdc4cd0ea0a72f
https://github.com/llvm/llvm-project/commit/5d31360d710a9aa2a1bee4ea9bcdc4cd0ea0a72f
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M libcxx/include/__config
M libcxx/include/__configuration/abi.h
M libcxx/test/libcxx/input.output/filesystems/convert_file_time.pass.cpp
Log Message:
-----------
[libc++] Remove the inline namespace for std::filesystem in ABIv2 (#92971)
Commit: bfa8b6487bb4227e99176c0eb8c0215921c55e57
https://github.com/llvm/llvm-project/commit/bfa8b6487bb4227e99176c0eb8c0215921c55e57
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M libcxx/include/__utility/pair.h
Log Message:
-----------
[libc++][NFC] Format pair.h (#94101)
Commit: 0864501b97a70ce7d6f1741514fae08eef7c237e
https://github.com/llvm/llvm-project/commit/0864501b97a70ce7d6f1741514fae08eef7c237e
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/test/CodeGen/RISCV/GlobalISel/alu-roundtrip-rv64.ll
A llvm/test/CodeGen/RISCV/GlobalISel/combine.mir
Log Message:
-----------
[GISel] Convert zext nneg to sext if it is cheaper (#93856)
This patch converts `zext nneg` to `sext` on RISCV to use free sext.
---------
Co-authored-by: Thorsten Schütt <schuett at gmail.com>
Commit: daaaf4e9009edf38dfc3d01d3c30de0827ffd1b5
https://github.com/llvm/llvm-project/commit/daaaf4e9009edf38dfc3d01d3c30de0827ffd1b5
Author: Eisuke Kawashima <e.kawaschima+github at gmail.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M clang/tools/scan-build/bin/set-xcode-analyzer
M clang/utils/check_cfc/check_cfc.py
Log Message:
-----------
[analyzer][NFC] Fix comparison to True/False (#94038)
from PEP8
(https://peps.python.org/pep-0008/#programming-recommendations):
> Comparisons to singletons like None should always be done with is or
is not, never the equality operators.
Co-authored-by: Eisuke Kawashima <e-kwsm at users.noreply.github.com>
Commit: 16397e8ec7ffbee2907dfec698356f67672086e8
https://github.com/llvm/llvm-project/commit/16397e8ec7ffbee2907dfec698356f67672086e8
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaTemplateDeduction.cpp
M clang/test/SemaTemplate/concepts-lambda.cpp
Log Message:
-----------
[Clang][Sema] Push an evaluation context for type constraints (#93945)
This helps getTemplateInstantiationArgs() to properly recover template
arguments of an enclosing concept Decl.
Fixes https://github.com/llvm/llvm-project/issues/93821
Commit: cd676e5b27cb985697deac052c797057f5a33c06
https://github.com/llvm/llvm-project/commit/cd676e5b27cb985697deac052c797057f5a33c06
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M lldb/cmake/modules/LLDBConfig.cmake
Log Message:
-----------
[lldb] Guard some GCC-style flags from MSVC
A follow up to #92953. Suggested in https://github.com/llvm/llvm-project/pull/92953#issuecomment-2143274065
Commit: 9d4b20a44e5c55499d6fc75663a6c7149a59543f
https://github.com/llvm/llvm-project/commit/9d4b20a44e5c55499d6fc75663a6c7149a59543f
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Bufferization/IR/BufferizationOps.td
M mlir/lib/Dialect/Bufferization/IR/BufferizationOps.cpp
M mlir/test/Dialect/Bufferization/invalid.mlir
M mlir/test/Dialect/Bufferization/ops.mlir
Log Message:
-----------
[mlir][bufferization] Allow mixed static/dynamic shapes in `materialize_in_destination` op (#92681)
This commit relaxes the verifier of
`bufferization.materialize_in_destination` such that mixed
static/dynamic dimensions are allowed for the source and destination
operands. E.g., `tensor<5xf32>` and `tensor<?xf32>` are now compatible,
but it is assumed that the dynamic dimension is `5` at runtime.
This commit fixes #91265.
Commit: cb7a03b41fff563c0cbb5145eed09f9b17edf9e2
https://github.com/llvm/llvm-project/commit/cb7a03b41fff563c0cbb5145eed09f9b17edf9e2
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M libcxx/include/__string/constexpr_c_functions.h
M libcxx/include/__type_traits/remove_pointer.h
M libcxx/include/bitset
M libcxx/test/std/time/time.zone/time.zone.leap/nonmembers/comparison.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/monadic/transform.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/monadic/transform_error.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/monadic/transform_error.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.char_array.pass.cpp
M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR31384.pass.cpp
M libcxx/test/std/utilities/variant/variant.visit.member/visit_return_type.pass.cpp
M libcxxabi/test/catch_member_function_pointer_02.pass.cpp
Log Message:
-----------
[libc++] Fix failures with GCC 14 (#92663)
Fixes #91831
Commit: 47fd32f81c593ae698765e3f3f13998ac9a9abbf
https://github.com/llvm/llvm-project/commit/47fd32f81c593ae698765e3f3f13998ac9a9abbf
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
A llvm/test/CodeGen/PowerPC/pr85066.ll
Log Message:
-----------
[DAGCombine] Fix type mismatch in `(shl X, cttz(Y)) -> (mul (Y & -Y), X)` (#94008)
Proof: https://alive2.llvm.org/ce/z/J7GBMU
Same as https://github.com/llvm/llvm-project/pull/92753, the types of
LHS and RHS in shift nodes may differ.
+ When VT is smaller than ShiftVT, it is safe to use trunc.
+ When VT is larger than ShiftVT, it is safe to use zext iff
`is_zero_poison` is true (i.e., `opcode == ISD::CTTZ_ZERO_UNDEF`). See
also the counterexample `src_shl_cttz2 -> tgt_shl_cttz2` in the alive2
proofs.
Fixes issue
https://github.com/llvm/llvm-project/pull/85066#issuecomment-2142553617.
Commit: 4c6367b3e521f0c18c14db5678748964aeae5215
https://github.com/llvm/llvm-project/commit/4c6367b3e521f0c18c14db5678748964aeae5215
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/X86/strided_load_cost.ll
Log Message:
-----------
[LV] Add test with strided interleave groups and maximizing bandwidth.
Commit: b263033c2be531939dca3a0ed3e5280f9952390d
https://github.com/llvm/llvm-project/commit/b263033c2be531939dca3a0ed3e5280f9952390d
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
A llvm/test/CodeGen/AMDGPU/issue92561-restore-undef-scc-verifier-error.ll
Log Message:
-----------
AMDGPU: Remove arbitrary SCC liveness scan threshold (#94097)
Commit: f7e63e8b46257d6eea35357e8e4ab44e2677a0a8
https://github.com/llvm/llvm-project/commit/f7e63e8b46257d6eea35357e8e4ab44e2677a0a8
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/X86/strided_load_cost.ll
Log Message:
-----------
[LV] Operands feeding pointers of interleave member pointers are free.
For interleave groups we only create a pointer for the start of the
interleave group, not all original loads/stores. Mark single-use ops
feeding interleave group mem ops as free when vectorizing.
Commit: 598f37bb27c3a6e71252bbd15c587c7f11e20520
https://github.com/llvm/llvm-project/commit/598f37bb27c3a6e71252bbd15c587c7f11e20520
Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
A bolt/test/X86/Inputs/dwarf4-df-input-lowpc-ranges-other.s
A bolt/test/X86/dwarf4-df-input-lowpc-ranges-cus.test
Log Message:
-----------
[BOLT][DWARF][NFC] Add split-dwarf4 test with multiple CUs (#93741)
Adds a split-dwarf test for DWARF4 with multiple CUs.
Commit: 2b1dfd2b35b5684c8af85206e199152bd6ac3a8d
https://github.com/llvm/llvm-project/commit/2b1dfd2b35b5684c8af85206e199152bd6ac3a8d
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/PowerPC/pr44183.ll
Log Message:
-----------
[DAG] Replace getValid*ShiftAmountConstant helpers with getValid*ShiftAmount helpers to support KnownBits analysis (#93182)
The getValidShiftAmountConstant/getValidMinimumShiftAmountConstant/getValidMaximumShiftAmountConstant helpers only worked with constant shift amounts, which could be problematic after type legalization (e.g. v2i64 might be partially scalarized or split into v4i32 on some targets such as 32-bit x86, Thumb2 MVE).
This patch proposes we generalize these helpers to work with ConstantRange+KnownBits if a scalar/buildvector constant isn't available.
Most restrictions are the same - the helper fails if any shift amount is out of bounds, getValidShiftConstant must be a specific constant uniform etc.
However, getValidMinimumShiftAmount/getValidMaximumShiftAmount now can return bounds values that aren't values in the actual data, as they are based off the common KnownBits of every vector element.
This addresses feedback on #92096
Commit: 86bb5c8427346aafaafa42fbf96e405ae4ca07bf
https://github.com/llvm/llvm-project/commit/86bb5c8427346aafaafa42fbf96e405ae4ca07bf
Author: Eric Fiselier <eric at efcs.ca>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M .github/workflows/restart-preempted-libcxx-jobs.yaml
Log Message:
-----------
Create annotations to better explain restarter decision
Commit: e9057c30a48cb502864063540a43d755dacd3b1c
https://github.com/llvm/llvm-project/commit/e9057c30a48cb502864063540a43d755dacd3b1c
Author: Eric Fiselier <eric at efcs.ca>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M .github/workflows/restart-preempted-libcxx-jobs.yaml
Log Message:
-----------
Create check run on workflow run to better display result.
In order to make the behavior of the libc++ restarter more visible
to users, this change creates a check run on the considered workflow
to let users know what action, if any, was taken
Commit: 661d64bc20d58c4970b378dd3e87ee594d2b4150
https://github.com/llvm/llvm-project/commit/661d64bc20d58c4970b378dd3e87ee594d2b4150
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M llvm/test/CodeGen/NVPTX/combine-mad.ll
Log Message:
-----------
[NVPTX] disable combine-mad test for newer ptxas (#93919)
Commit: 867c9f67132799d9f422866bc4b8790257118c47
https://github.com/llvm/llvm-project/commit/867c9f67132799d9f422866bc4b8790257118c47
Author: Eric Fiselier <eric at efcs.ca>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M .github/workflows/restart-preempted-libcxx-jobs.yaml
Log Message:
-----------
Fix permissions on restarter workflow
Commit: ee8e0f3365c6b27c8a82fafa1dd4af10e16384f5
https://github.com/llvm/llvm-project/commit/ee8e0f3365c6b27c8a82fafa1dd4af10e16384f5
Author: Eric <eric at efcs.ca>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M libcxx/test/configs/llvm-libc++-android-ndk.cfg.in
M libcxx/test/configs/llvm-libc++-mingw.cfg.in
M libcxx/test/configs/llvm-libc++-shared-clangcl.cfg.in
M libcxx/test/configs/llvm-libc++-shared-gcc.cfg.in
M libcxx/test/configs/llvm-libc++-shared.cfg.in
M libcxx/test/configs/llvm-libc++-static-clangcl.cfg.in
Log Message:
-----------
Fix order of include flags for the target & regular include paths. (#93547)
The target include directory should always come first,
since the regular includes are dependent on it
Commit: 8256c593f67018e8d73dce714bedc3f4e6869db9
https://github.com/llvm/llvm-project/commit/8256c593f67018e8d73dce714bedc3f4e6869db9
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp
Log Message:
-----------
Fix GCC Wparentheses warning. NFC.
Commit: 2a1ea151cccba3de21edb950099a75ca8d3ea604
https://github.com/llvm/llvm-project/commit/2a1ea151cccba3de21edb950099a75ca8d3ea604
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
M lldb/source/Utility/UriParser.cpp
M llvm/lib/MC/MCExpr.cpp
Log Message:
-----------
Use StringRef::starts_with (NFC) (#94112)
Commit: 9e22c7a0ea87228dffcdfd7ab62724f72e0b3e30
https://github.com/llvm/llvm-project/commit/9e22c7a0ea87228dffcdfd7ab62724f72e0b3e30
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Log Message:
-----------
[DAG] canCreateUndefOrPoison - only compute shift amount knownbits when not poison
Since #93182 we can now call computeKnownBits inside getValidMaximumShiftAmount to determine the bounds of the shift amount ensuring that it wasn't poison, meaning if we did freeze the ahift amount, isGuaranteedNotToBeUndefOrPoison would then fail as we can't call computeKnownBits through FREEZE for potentially poison values.
I'm still reducing a decent test case but wanted to get the buildbot fix ASAP.
Commit: 2b2ce50fe843b5b550806a0ab15b06cd5c405d48
https://github.com/llvm/llvm-project/commit/2b2ce50fe843b5b550806a0ab15b06cd5c405d48
Author: Abhishek Varma <abhvarma at amd.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/SCF/Transforms/TileUsingInterface.h
M mlir/include/mlir/Dialect/Tensor/Transforms/Transforms.h
M mlir/include/mlir/Interfaces/TilingInterface.td
M mlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp
M mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
M mlir/lib/Dialect/Tensor/IR/TensorTilingInterfaceImpl.cpp
M mlir/lib/Dialect/Tensor/Transforms/SwapExtractSliceWithProducerPatterns.cpp
A mlir/test/Interfaces/TilingInterface/tile-and-fuse-consumer.mlir
M mlir/test/lib/Interfaces/TilingInterface/TestTilingInterfaceTransformOps.cpp
M mlir/test/lib/Interfaces/TilingInterface/TestTilingInterfaceTransformOps.td
Log Message:
-----------
[MLIR][SCF] Add an API to fuse consumer to a producer within scf loop (#88712)
This commit adds an API (`tileAndFuseConsumerOfSlice`) to fuse consumer to a producer within
scf.for/scf.forall loop.
To support this two new methods are added to the `TilingInterface`
- `getIterationDomainTileFromOperandTile`
- `getTiledImplementationFromOperandTile`.
Consumer operations that implement this method can be used to be fused with tiled producer operands in a manner similar to (but essentially the inverse of) the fusion of an untiled producer with a tiled consumer.
Note that this only does one `tiled producer` -> `consumer` fusion. This could be called repeatedly for fusing multiple consumers. The current implementation also is conservative in when this kicks in (like single use of the value returned by the inter-tile loops that surround the tiled producer, etc.) These can be relaxed over time.
Signed-off-by: Abhishek Varma <abhvarma at amd.com>
---------
Signed-off-by: Abhishek Varma <abhvarma at amd.com>
Signed-off-by: Abhishek Varma <avarma094 at gmail.com>
Co-authored-by: cxy <chenxunyu1993 at gmail.com>
Commit: 6e22b538da4b09efb10a59582a3f43d8128ae7d1
https://github.com/llvm/llvm-project/commit/6e22b538da4b09efb10a59582a3f43d8128ae7d1
Author: Hui <hui.xie1990 at gmail.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M libcxx/src/atomic.cpp
A libcxx/test/libcxx/atomics/atomics.syn/wait.pass.cpp
Log Message:
-----------
[libc++] Fix `std::atomic::wait` ulock wait UL_COMPARE_AND_WAIT64 (#92783)
in `atomic::wait`, when we call the platform wait ulock_wait , we are
using UL_COMPARE_AND_WAIT. But we should use UL_COMPARE_AND_WAIT64
instead as the address we are waiting for is a 64 bit integer.
fixes https://github.com/llvm/llvm-project/issues/85107
It is rather hard to test directly because in `atomic::wait`, before
calling into the platform wait, our c++ code has some poll logic which
checks the value not changing. Thus in this patch, the test is using the
internal function.
Commit: e7e6e1ecadc59677b422044f514c2eb379ee719b
https://github.com/llvm/llvm-project/commit/e7e6e1ecadc59677b422044f514c2eb379ee719b
Author: MaheshRavishankar <1663364+MaheshRavishankar at users.noreply.github.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][bazel] Add bazel build support for https://github.com/llvm/llvm-project/commit/2b2ce50fe843b5b550806a0ab15b06cd5c405d48 (#94126)
Also drop errant header include from `Linalg` dialect into
`Dialect/SCF/Transforms/TileUsingInterface.cpp`
Commit: c877eb3754ad1a61db2717530141eded580c3533
https://github.com/llvm/llvm-project/commit/c877eb3754ad1a61db2717530141eded580c3533
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
A llvm/test/Transforms/InstCombine/fold-ext-eq-c-with-op.ll
Log Message:
-----------
[InstCombine] Add tests for folding `(add X, (sext/zext (icmp eq X, C)))`; NFC
Commit: 0310f7f2d0c56a5697710251cec9803cbf7b4d56
https://github.com/llvm/llvm-project/commit/0310f7f2d0c56a5697710251cec9803cbf7b4d56
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-01 (Sat, 01 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
M llvm/test/Transforms/InstCombine/apint-shift.ll
M llvm/test/Transforms/InstCombine/fold-ext-eq-c-with-op.ll
Log Message:
-----------
[InstCombine] Fold `(add X, (sext/zext (icmp eq X, C)))`
We can convert this to a select based on the `(icmp eq X, C)`, then
constant fold the addition the true arm begin `(add C, (sext/zext 1))`
and the false arm being `(add X, 0)` e.g
- `(select (icmp eq X, C), (add C, (sext/zext 1)), (add X, 0))`.
This is essentially a specialization of the only case that sees to
actually show up from #89020
Closes #93840
Commit: d2cdc8ab45d74f8691f73cb5a2b8c431585cd449
https://github.com/llvm/llvm-project/commit/d2cdc8ab45d74f8691f73cb5a2b8c431585cd449
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/include/llvm/CodeGen/SelectionDAGISel.h
M llvm/include/llvm/CodeGen/StackProtector.h
M llvm/include/llvm/Passes/CodeGenPassBuilder.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
M llvm/lib/Target/AArch64/AArch64.h
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
M llvm/lib/Target/AMDGPU/AMDGPU.h
M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPassBuilder.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
M llvm/lib/Target/AMDGPU/AMDGPUPassRegistry.def
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/R600ISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/ARC/ARC.h
M llvm/lib/Target/ARC/ARCISelDAGToDAG.cpp
M llvm/lib/Target/ARC/ARCTargetMachine.cpp
M llvm/lib/Target/ARM/ARM.h
M llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
M llvm/lib/Target/ARM/ARMTargetMachine.cpp
M llvm/lib/Target/AVR/AVR.h
M llvm/lib/Target/AVR/AVRISelDAGToDAG.cpp
M llvm/lib/Target/AVR/AVRTargetMachine.cpp
M llvm/lib/Target/BPF/BPF.h
M llvm/lib/Target/BPF/BPFISelDAGToDAG.cpp
M llvm/lib/Target/BPF/BPFTargetMachine.cpp
M llvm/lib/Target/CSKY/CSKY.h
M llvm/lib/Target/CSKY/CSKYISelDAGToDAG.cpp
M llvm/lib/Target/CSKY/CSKYTargetMachine.cpp
M llvm/lib/Target/Hexagon/Hexagon.h
M llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
M llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.h
M llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
M llvm/lib/Target/Lanai/Lanai.h
M llvm/lib/Target/Lanai/LanaiISelDAGToDAG.cpp
M llvm/lib/Target/Lanai/LanaiTargetMachine.cpp
M llvm/lib/Target/LoongArch/LoongArch.h
M llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.cpp
M llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.h
M llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
M llvm/lib/Target/M68k/M68k.h
M llvm/lib/Target/M68k/M68kISelDAGToDAG.cpp
M llvm/lib/Target/M68k/M68kTargetMachine.cpp
M llvm/lib/Target/MSP430/MSP430.h
M llvm/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
M llvm/lib/Target/MSP430/MSP430TargetMachine.cpp
M llvm/lib/Target/Mips/Mips.h
M llvm/lib/Target/Mips/Mips16ISelDAGToDAG.cpp
M llvm/lib/Target/Mips/Mips16ISelDAGToDAG.h
M llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp
M llvm/lib/Target/Mips/MipsISelDAGToDAG.h
M llvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
M llvm/lib/Target/Mips/MipsSEISelDAGToDAG.h
M llvm/lib/Target/Mips/MipsTargetMachine.cpp
M llvm/lib/Target/NVPTX/NVPTX.h
M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.h
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
M llvm/lib/Target/PowerPC/PPC.h
M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
M llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
M llvm/lib/Target/RISCV/RISCV.h
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
M llvm/lib/Target/Sparc/Sparc.h
M llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp
M llvm/lib/Target/Sparc/SparcTargetMachine.cpp
M llvm/lib/Target/SystemZ/SystemZ.h
M llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
M llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
M llvm/lib/Target/VE/VE.h
M llvm/lib/Target/VE/VEISelDAGToDAG.cpp
M llvm/lib/Target/VE/VETargetMachine.cpp
M llvm/lib/Target/WebAssembly/WebAssembly.h
M llvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
M llvm/lib/Target/X86/X86.h
M llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
A llvm/lib/Target/X86/X86ISelDAGToDAG.h
A llvm/lib/Target/X86/X86PassRegistry.def
M llvm/lib/Target/X86/X86TargetMachine.cpp
M llvm/lib/Target/X86/X86TargetMachine.h
M llvm/lib/Target/XCore/XCore.h
M llvm/lib/Target/XCore/XCoreISelDAGToDAG.cpp
M llvm/lib/Target/XCore/XCoreTargetMachine.cpp
M llvm/lib/Target/Xtensa/XtensaISelDAGToDAG.cpp
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f32-no-rtn.ll
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f32-rtn.ll
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f64.ll
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.v2f16-no-rtn.ll
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.v2f16-rtn.ll
M llvm/test/CodeGen/AMDGPU/buffer-intrinsics-mmo-offsets.ll
M llvm/test/CodeGen/AMDGPU/bug-v4f64-subvector.ll
M llvm/test/CodeGen/AMDGPU/carryout-selection.ll
M llvm/test/CodeGen/AMDGPU/dagcombine-fma-crash.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-abs.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-bitreverse.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-ctlz-cttz.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-ctpop.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-min-max.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-negsubinlineconst.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-not-isel.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-xnor.ll
M llvm/test/CodeGen/AMDGPU/extract_subvector_vec4_vec3.ll
M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.f32.ll
M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.f64.ll
M llvm/test/CodeGen/AMDGPU/fneg-fabs-divergence-driven-isel.ll
M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.v2f16-no-rtn.ll
M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.v2f16-rtn.ll
M llvm/test/CodeGen/AMDGPU/img-nouse-adjust.ll
M llvm/test/CodeGen/AMDGPU/implicit-def-muse.ll
M llvm/test/CodeGen/AMDGPU/legalize-fp-load-invariant.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.make.buffer.rsrc.ll
M llvm/test/CodeGen/X86/apx/no-rex2-general.ll
M llvm/test/CodeGen/X86/apx/no-rex2-pseudo-amx.ll
M llvm/test/CodeGen/X86/apx/no-rex2-pseudo-x87.ll
M llvm/test/CodeGen/X86/apx/no-rex2-special.ll
M llvm/test/tools/llc/new-pm/start-stop.ll
Log Message:
-----------
[NewPM][CodeGen] Port selection dag isel to new pass manager (#83567)
Port selection dag isel to new pass manager.
Only `AMDGPU` and `X86` support new pass version. `-verify-machineinstrs` in new pass manager belongs to verify instrumentation, it is enabled by default.
Commit: f63b1d282609df0b4b5ae280b04722c6fecb505e
https://github.com/llvm/llvm-project/commit/f63b1d282609df0b4b5ae280b04722c6fecb505e
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAGISel.h
Log Message:
-----------
[SelectionDAG] Mark `SelectionDAGISel` destructor virtual (#94132)
Commit: 3f9ba0004b2a27a721fd4a29364571d91197b82d
https://github.com/llvm/llvm-project/commit/3f9ba0004b2a27a721fd4a29364571d91197b82d
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M llvm/lib/Target/BPF/BPFISelDAGToDAG.cpp
Log Message:
-----------
[BPF] Remove unused ID in `SelectionDAGISel` (#94134)
Commit: de37c06f01772e02465ccc9f538894c76d89a7a1
https://github.com/llvm/llvm-project/commit/de37c06f01772e02465ccc9f538894c76d89a7a1
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M llvm/lib/Target/AVR/AVRISelDAGToDAG.cpp
M llvm/lib/Target/Lanai/LanaiISelDAGToDAG.cpp
M llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.h
Log Message:
-----------
[Targets] Remove unused ID in *DAGToDAGISel (#94135)
Commit: 8917afaf0ec2ebe390284e3727e720eaf97967eb
https://github.com/llvm/llvm-project/commit/8917afaf0ec2ebe390284e3727e720eaf97967eb
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/include/llvm/CodeGen/SelectionDAGISel.h
M llvm/include/llvm/CodeGen/StackProtector.h
M llvm/include/llvm/Passes/CodeGenPassBuilder.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
M llvm/lib/Target/AArch64/AArch64.h
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
M llvm/lib/Target/AMDGPU/AMDGPU.h
M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPassBuilder.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
M llvm/lib/Target/AMDGPU/AMDGPUPassRegistry.def
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/R600ISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/ARC/ARC.h
M llvm/lib/Target/ARC/ARCISelDAGToDAG.cpp
M llvm/lib/Target/ARC/ARCTargetMachine.cpp
M llvm/lib/Target/ARM/ARM.h
M llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
M llvm/lib/Target/ARM/ARMTargetMachine.cpp
M llvm/lib/Target/AVR/AVR.h
M llvm/lib/Target/AVR/AVRISelDAGToDAG.cpp
M llvm/lib/Target/AVR/AVRTargetMachine.cpp
M llvm/lib/Target/BPF/BPF.h
M llvm/lib/Target/BPF/BPFISelDAGToDAG.cpp
M llvm/lib/Target/BPF/BPFTargetMachine.cpp
M llvm/lib/Target/CSKY/CSKY.h
M llvm/lib/Target/CSKY/CSKYISelDAGToDAG.cpp
M llvm/lib/Target/CSKY/CSKYTargetMachine.cpp
M llvm/lib/Target/Hexagon/Hexagon.h
M llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
M llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.h
M llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
M llvm/lib/Target/Lanai/Lanai.h
M llvm/lib/Target/Lanai/LanaiISelDAGToDAG.cpp
M llvm/lib/Target/Lanai/LanaiTargetMachine.cpp
M llvm/lib/Target/LoongArch/LoongArch.h
M llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.cpp
M llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.h
M llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
M llvm/lib/Target/M68k/M68k.h
M llvm/lib/Target/M68k/M68kISelDAGToDAG.cpp
M llvm/lib/Target/M68k/M68kTargetMachine.cpp
M llvm/lib/Target/MSP430/MSP430.h
M llvm/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
M llvm/lib/Target/MSP430/MSP430TargetMachine.cpp
M llvm/lib/Target/Mips/Mips.h
M llvm/lib/Target/Mips/Mips16ISelDAGToDAG.cpp
M llvm/lib/Target/Mips/Mips16ISelDAGToDAG.h
M llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp
M llvm/lib/Target/Mips/MipsISelDAGToDAG.h
M llvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
M llvm/lib/Target/Mips/MipsSEISelDAGToDAG.h
M llvm/lib/Target/Mips/MipsTargetMachine.cpp
M llvm/lib/Target/NVPTX/NVPTX.h
M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.h
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
M llvm/lib/Target/PowerPC/PPC.h
M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
M llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
M llvm/lib/Target/RISCV/RISCV.h
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
M llvm/lib/Target/Sparc/Sparc.h
M llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp
M llvm/lib/Target/Sparc/SparcTargetMachine.cpp
M llvm/lib/Target/SystemZ/SystemZ.h
M llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
M llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
M llvm/lib/Target/VE/VE.h
M llvm/lib/Target/VE/VEISelDAGToDAG.cpp
M llvm/lib/Target/VE/VETargetMachine.cpp
M llvm/lib/Target/WebAssembly/WebAssembly.h
M llvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
M llvm/lib/Target/X86/X86.h
M llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
R llvm/lib/Target/X86/X86ISelDAGToDAG.h
R llvm/lib/Target/X86/X86PassRegistry.def
M llvm/lib/Target/X86/X86TargetMachine.cpp
M llvm/lib/Target/X86/X86TargetMachine.h
M llvm/lib/Target/XCore/XCore.h
M llvm/lib/Target/XCore/XCoreISelDAGToDAG.cpp
M llvm/lib/Target/XCore/XCoreTargetMachine.cpp
M llvm/lib/Target/Xtensa/XtensaISelDAGToDAG.cpp
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f32-no-rtn.ll
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f32-rtn.ll
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f64.ll
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.v2f16-no-rtn.ll
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.v2f16-rtn.ll
M llvm/test/CodeGen/AMDGPU/buffer-intrinsics-mmo-offsets.ll
M llvm/test/CodeGen/AMDGPU/bug-v4f64-subvector.ll
M llvm/test/CodeGen/AMDGPU/carryout-selection.ll
M llvm/test/CodeGen/AMDGPU/dagcombine-fma-crash.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-abs.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-bitreverse.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-ctlz-cttz.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-ctpop.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-min-max.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-negsubinlineconst.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-not-isel.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-xnor.ll
M llvm/test/CodeGen/AMDGPU/extract_subvector_vec4_vec3.ll
M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.f32.ll
M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.f64.ll
M llvm/test/CodeGen/AMDGPU/fneg-fabs-divergence-driven-isel.ll
M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.v2f16-no-rtn.ll
M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.v2f16-rtn.ll
M llvm/test/CodeGen/AMDGPU/img-nouse-adjust.ll
M llvm/test/CodeGen/AMDGPU/implicit-def-muse.ll
M llvm/test/CodeGen/AMDGPU/legalize-fp-load-invariant.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.make.buffer.rsrc.ll
M llvm/test/CodeGen/X86/apx/no-rex2-general.ll
M llvm/test/CodeGen/X86/apx/no-rex2-pseudo-amx.ll
M llvm/test/CodeGen/X86/apx/no-rex2-pseudo-x87.ll
M llvm/test/CodeGen/X86/apx/no-rex2-special.ll
M llvm/test/tools/llc/new-pm/start-stop.ll
Log Message:
-----------
Revert "[NewPM][CodeGen] Port selection dag isel to new pass manager" (#94146)
This reverts commit de37c06f01772e02465ccc9f538894c76d89a7a1 to
de37c06f01772e02465ccc9f538894c76d89a7a1
It still breaks EXPENSIVE_CHECKS build. Sorry.
Commit: c9a86fa9a631eb77f229e457a323caec705600bf
https://github.com/llvm/llvm-project/commit/c9a86fa9a631eb77f229e457a323caec705600bf
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
A llvm/test/CodeGen/RISCV/pr94145.ll
Log Message:
-----------
[DAG] canCreateUndefOrPoison - fix missing argument typo
We were missing the PoisonOnly argument (so Depth + 1 was being used instead and the default Depth = 0 argument then being silently used)
Fixes #94145 and serves as the test case for 9e22c7a0ea87228dffcdfd7ab62724f72e0b3e30
Commit: 45964eb9b88c46045e4e84beb4e2135cdeed6855
https://github.com/llvm/llvm-project/commit/45964eb9b88c46045e4e84beb4e2135cdeed6855
Author: Stephan T. Lavavej <stl at nuwen.net>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered.pass.cpp
M libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered_with.pass.cpp
M libcxx/test/std/thread/thread.condition/thread.condition.condvarany/wait_for_pred.pass.cpp
M libcxx/test/support/test_macros.h
Log Message:
-----------
[libc++] [test] Fix `__has_include` usage, expand condvarany and spaceship coverage (#94120)
Three unrelated, small improvements:
* `test_macros.h` was incorrectly saying `__has_include("<version>")`
instead of `__has_include(<version>)`.
+ This caused `<ciso646>` to always be included (noticed because MSVC's
STL emitted a deprecation warning).
+ I searched all of LLVM and found no other occurrences.
* `thread.condition.condvarany/wait_for_pred.pass.cpp` forgot to test
anything.
+ I followed what `wait_for.pass.cpp` is testing.
* Uncomment spaceship test coverage.
Commit: b6ea134e4162e61c6b448ff48fd1deaa0d523166
https://github.com/llvm/llvm-project/commit/b6ea134e4162e61c6b448ff48fd1deaa0d523166
Author: Eric Fiselier <eric at efcs.ca>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M .github/workflows/restart-preempted-libcxx-jobs.yaml
Log Message:
-----------
Fix pagination issue in libc++ buildbot restarter
Commit: 197c3a3efc703711ac8f14bc4f1765eaadb8e5bc
https://github.com/llvm/llvm-project/commit/197c3a3efc703711ac8f14bc4f1765eaadb8e5bc
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
M llvm/lib/MC/MCPseudoProbe.cpp
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
M mlir/lib/Dialect/SparseTensor/Transforms/SparseReinterpretMap.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/LoopEmitter.cpp
Log Message:
-----------
Use llvm::less_first (NFC) (#94136)
Commit: e044283996f6f2a157c2087cffa6618f32cc5ae8
https://github.com/llvm/llvm-project/commit/e044283996f6f2a157c2087cffa6618f32cc5ae8
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProf.h
Log Message:
-----------
[memprof] Use GlobalValue::GUID instead of uint64_t (NFC) (#94086)
Commit: df9167bfb3040bee492fd6bf64b97175f105da50
https://github.com/llvm/llvm-project/commit/df9167bfb3040bee492fd6bf64b97175f105da50
Author: Stephan T. Lavavej <stl at nuwen.net>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
A libcxx/test/std/atomics/atomics.ref/member_types.compile.pass.cpp
R libcxx/test/std/atomics/atomics.ref/member_types.pass.cpp
A libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered.compile.pass.cpp
R libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered.pass.cpp
A libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered_with.compile.pass.cpp
R libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered_with.pass.cpp
A libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/floating_point.compile.pass.cpp
R libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/floating_point.pass.cpp
A libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/integral.compile.pass.cpp
R libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/integral.pass.cpp
A libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/signed_integral.compile.pass.cpp
R libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/signed_integral.pass.cpp
A libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/unsigned_integral.compile.pass.cpp
R libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/unsigned_integral.pass.cpp
A libcxx/test/std/containers/associative/map/gcc_workaround.compile.pass.cpp
R libcxx/test/std/containers/associative/map/gcc_workaround.pass.cpp
A libcxx/test/std/containers/associative/map/map.cons/default_recursive.compile.pass.cpp
R libcxx/test/std/containers/associative/map/map.cons/default_recursive.pass.cpp
A libcxx/test/std/containers/associative/multimap/multimap.cons/default_recursive.compile.pass.cpp
R libcxx/test/std/containers/associative/multimap/multimap.cons/default_recursive.pass.cpp
A libcxx/test/std/containers/associative/set/gcc_workaround.compile.pass.cpp
R libcxx/test/std/containers/associative/set/gcc_workaround.pass.cpp
A libcxx/test/std/iterators/iterator.requirements/iterator.assoc.types/readable.traits/iter_value_t.compile.pass.cpp
R libcxx/test/std/iterators/iterator.requirements/iterator.assoc.types/readable.traits/iter_value_t.pass.cpp
A libcxx/test/std/numerics/numbers/user_type.compile.pass.cpp
R libcxx/test/std/numerics/numbers/user_type.pass.cpp
A libcxx/test/std/strings/char.traits/char.traits.require/nothing_to_do.compile.pass.cpp
R libcxx/test/std/strings/char.traits/char.traits.require/nothing_to_do.pass.cpp
A libcxx/test/std/strings/char.traits/char.traits.typedefs/nothing_to_do.compile.pass.cpp
R libcxx/test/std/strings/char.traits/char.traits.typedefs/nothing_to_do.pass.cpp
A libcxx/test/std/strings/string.view/string.view.synop/nothing_to_do.compile.pass.cpp
R libcxx/test/std/strings/string.view/string.view.synop/nothing_to_do.pass.cpp
A libcxx/test/std/strings/strings.general/nothing_to_do.compile.pass.cpp
R libcxx/test/std/strings/strings.general/nothing_to_do.pass.cpp
Log Message:
-----------
[libc++] [test] Cleanup compile-only tests (#94121)
I noticed that these tests had empty `main` functions. Dropping them and
renaming the tests to `MEOW.compile.pass.cpp` will slightly improve test
throughput.
Commit: c26a99384bce5719107d26f4617d6e3b1e9253ff
https://github.com/llvm/llvm-project/commit/c26a99384bce5719107d26f4617d6e3b1e9253ff
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang][NFC] Update CWG issues list
Commit: d9293519bce5d2a6a22b73933810306317b51b3b
https://github.com/llvm/llvm-project/commit/d9293519bce5d2a6a22b73933810306317b51b3b
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M llvm/utils/TableGen/AsmMatcherEmitter.cpp
M llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp
M llvm/utils/TableGen/Common/CodeGenRegisters.cpp
M llvm/utils/TableGen/Common/CodeGenSchedule.cpp
M llvm/utils/TableGen/Common/CodeGenTarget.cpp
M llvm/utils/TableGen/Common/GlobalISel/GlobalISelMatchTableExecutorEmitter.cpp
M llvm/utils/TableGen/DFAEmitter.cpp
M llvm/utils/TableGen/FastISelEmitter.cpp
M llvm/utils/TableGen/GlobalISelEmitter.cpp
M llvm/utils/TableGen/InstrInfoEmitter.cpp
M llvm/utils/TableGen/RegisterInfoEmitter.cpp
Log Message:
-----------
[TableGen] Use llvm::unique (NFC) (#94163)
Commit: 5367b2c862a7bfe138ee17994edfdb7938437064
https://github.com/llvm/llvm-project/commit/5367b2c862a7bfe138ee17994edfdb7938437064
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M libcxx/include/__config
M libcxx/include/__locale_dir/locale_base_api/android.h
M libcxx/include/__locale_dir/locale_base_api/ibm.h
M libcxx/include/__locale_dir/locale_base_api/musl.h
M libcxx/include/__locale_dir/locale_base_api/openbsd.h
M libcxx/include/__support/xlocale/__nop_locale_mgmt.h
M libcxx/include/__support/xlocale/__posix_l_fallback.h
M libcxx/include/__support/xlocale/__strtonum_fallback.h
Log Message:
-----------
[libc++] Don't give functions C linkage (#94102)
There is no reason to give any of the functions C linkage. This makes
all of the libc++ functions have C++ linkage, removing the need for
`_LIBCPP_HIDE_FROM_ABI_C`.
Commit: 80303cb287e2c52c7bf4923bc61ebe25b2421bdc
https://github.com/llvm/llvm-project/commit/80303cb287e2c52c7bf4923bc61ebe25b2421bdc
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Handle attributes before lambda return arrow (#94119)
Fixes #92657.
Commit: f06f0164199d4a968d8336937cd5ef2c05946d8d
https://github.com/llvm/llvm-project/commit/f06f0164199d4a968d8336937cd5ef2c05946d8d
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format][NFC] Add missing parens of __attribute in unit tests
Commit: 4ce65423be0ba1d90c11b6a79981d6314e1cf36d
https://github.com/llvm/llvm-project/commit/4ce65423be0ba1d90c11b6a79981d6314e1cf36d
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M llvm/lib/ProfileData/InstrProfReader.cpp
Log Message:
-----------
[memprof] Use const ref for IndexedRecord (#94114)
The type of *Iter here is "const IndexedMemProfRecord &" as defined in
RecordLookupTrait. Assigning *Iter to a variable of type
"const IndexedMemProfRecord &" avoids a copy, reducing the cycle and
instruction counts by 1.8% and 0.2%, respectively, with
"llvm-profdata show" modified to deserialize all MemProfRecords.
Note that RecordLookupTrait has an internal copy of
IndexedMemProfRecord, so we don't have to worry about a dangling
reference to a temporary.
Commit: ab08df2292334d4980b3e81829a20904e59e13c9
https://github.com/llvm/llvm-project/commit/ab08df2292334d4980b3e81829a20904e59e13c9
Author: Joshua Cao <cao.joshua at yahoo.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/Function.h
M llvm/lib/CodeGen/MachineOutliner.cpp
M llvm/lib/IR/Attributes.cpp
M llvm/unittests/IR/FunctionTest.cpp
Log Message:
-----------
[IR] Do not set `none` for function uwtable (#93387)
This avoids the pitfall where we set the uwtable to none:
```
func.setUWTableKind(llvm::UWTableKind::None)
```
`Attribute::getAsString()` would see an unknown attribute and fail an
assertion. In this patch, we assert that we do not see a None uwtable
kind.
This also skips the check of `UWTableKind::Async`. It is dominated by
the check of `UWTableKind::Default`, which has the same enum value
(nfc).
Commit: 2fbc9f217e5fe8db8444a87dbd7138a768b8aa85
https://github.com/llvm/llvm-project/commit/2fbc9f217e5fe8db8444a87dbd7138a768b8aa85
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/include/clang/Format/Format.h
Log Message:
-----------
[clang-format][doc] Clean up quotes, etc.
Commit: d7d2d4f53fc79b4b58e8d8d08151b577c3699d4a
https://github.com/llvm/llvm-project/commit/d7d2d4f53fc79b4b58e8d8d08151b577c3699d4a
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M clang/include/clang/Format/Format.h
Log Message:
-----------
[clang-format] Fix documentation build error
https://github.com/llvm/llvm-project/actions/runs/9342063971/job/25709589592
Commit: f779ec7c13bdfccd29655d13a325f34c60797a76
https://github.com/llvm/llvm-project/commit/f779ec7c13bdfccd29655d13a325f34c60797a76
Author: Enna1 <xumingjie.enna1 at bytedance.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Analysis/BranchProbabilityInfo.cpp
Log Message:
-----------
[BPI] Cache LoopExitBlocks to improve compile time (#93451)
The `LoopBlock` stored in `LoopWorkList` consist of basic block and its
loop data information. When iterate `LoopWorkList`, if estimated weight
of a loop is not stored in `EstimatedLoopWeight`, `getLoopExitBlocks()`
is called to get all exit blocks of the loop. The estimated weight of a
loop is calculated by iterating over edges leading from basic block to
all exit blocks of the loop. If at least one edge has unknown estimated
weight, the estimated weight of loop is unknown and will not be stored
in `EstimatedLoopWeight`. `LoopWorkList` can contain different blocks in
a same loop, so there is wasted work that calls `getLoopExitBlocks()`
for same loop multiple times.
Since computing the exit blocks of loop is expensive and the loop
structure is not mutated in Branch Probability Analysis, we can cache
the result and improve compile time.
With this change, the overall compile time for a file containing a very
large loop is dropped by around 82%.
Commit: e12bf36d237f8ef16c25c266785f6d01fb50dbc1
https://github.com/llvm/llvm-project/commit/e12bf36d237f8ef16c25c266785f6d01fb50dbc1
Author: Dhruv Chawla <dhruvc at nvidia.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
A llvm/test/CodeGen/AArch64/GlobalISel/combine-op-trunc.mir
M llvm/test/CodeGen/AArch64/GlobalISel/combine-select.mir
M llvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-hoist-same-hands.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/fshl.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/fshr.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/uaddsat.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/usubsat.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/xnor.ll
Log Message:
-----------
[GISel][CombinerHelper] Combine op(trunc(x), trunc(y)) -> trunc(op(x, y)) (#89023)
Commit: 718331f55529469586c99a55e4b382a1c7485842
https://github.com/llvm/llvm-project/commit/718331f55529469586c99a55e4b382a1c7485842
Author: hev <wangrui at loongson.cn>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
M llvm/test/CodeGen/LoongArch/alsl.ll
M llvm/test/CodeGen/LoongArch/atomicrmw-uinc-udec-wrap.ll
M llvm/test/CodeGen/LoongArch/ir-instruction/add.ll
M llvm/test/CodeGen/LoongArch/ir-instruction/and.ll
M llvm/test/CodeGen/LoongArch/ir-instruction/call.ll
M llvm/test/CodeGen/LoongArch/ir-instruction/load-store.ll
M llvm/test/CodeGen/LoongArch/ir-instruction/sub.ll
M llvm/test/CodeGen/LoongArch/select-to-shiftand.ll
M llvm/test/CodeGen/LoongArch/sextw-removal.ll
Log Message:
-----------
[LoongArch] Custom legalize i32 operations for LA64 to reduce signed extensions (#93811)
Commit: f367eaa4647404414ab256d2ac3c4d4f6c6d1363
https://github.com/llvm/llvm-project/commit/f367eaa4647404414ab256d2ac3c4d4f6c6d1363
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-02 (Sun, 02 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProf.h
Log Message:
-----------
[memprof] Add accessors to Frame::SymbolName (#94085)
This patch adds accessors to Frame::SymbolName so that we can change
the underlying type of SymbolName without affecting downstream users
once they switch to the new accessors.
Note that SymbolName is only used for debugging. Changing the type of
SymbolName from std::optional<std::string> to
std::unique_ptr<std::string> cuts down sizeof(Frame) by half -- from
64 bytes to 32 bytes. (std::optional<T> sets aside the storage in
case T is instantiated.)
During deserialization, the memory usage is dominated by Frames.
Shrinking the type cuts down the memory usage and deserialization time
nearly by half.
Commit: 10e7671d9adf1da2f08d67fde6585c707ac4c1d2
https://github.com/llvm/llvm-project/commit/10e7671d9adf1da2f08d67fde6585c707ac4c1d2
Author: AtariDreams <gfunni234 at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
M llvm/test/Transforms/InstCombine/lshr.ll
Log Message:
-----------
Reland "[InstCombine] Fold (sub nuw X, (Y << nuw Z)) >>u exact Z --> (X >>u exact Z) sub nuw Y" (#93571)
This is the same fold as ((X << nuw Z) sub nuw Y) >>u exact Z --> X sub
nuw (Y >>u exact Z), but with the sub operands swapped.
Alive2 Proof:
https://alive2.llvm.org/ce/z/pT-RxG
Commit: aaa4ff88d6a2ef69053211e7bbee623f24723b51
https://github.com/llvm/llvm-project/commit/aaa4ff88d6a2ef69053211e7bbee623f24723b51
Author: David Stone <davidfromonline at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang-tools-extra/clangd/unittests/ReplayPeambleTests.cpp
M clang/include/clang/APINotes/APINotesManager.h
M clang/include/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h
M clang/include/clang/Serialization/ASTWriter.h
M clang/include/clang/Serialization/ModuleManager.h
M clang/lib/APINotes/APINotesManager.cpp
M clang/lib/AST/ASTDumper.cpp
M clang/lib/CodeGen/CodeGenModule.h
M clang/lib/ExtractAPI/API.cpp
M libcxx/test/tools/clang_tidy_checks/header_exportable_declarations.cpp
Log Message:
-----------
[clang][Modules] Remove unnecessary includes of `Module.h` (#93417)
Commit: 5161a3f6e5e92c78c33aed5e38e0680a1a9b088e
https://github.com/llvm/llvm-project/commit/5161a3f6e5e92c78c33aed5e38e0680a1a9b088e
Author: martinboehme <mboehme at google.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/include/clang/Analysis/FlowSensitive/ASTOps.h
M clang/lib/Analysis/FlowSensitive/ASTOps.cpp
M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
Log Message:
-----------
[clang][dataflow] Rewrite `getReferencedDecls()` with a `RecursiveASTVisitor`. (#93461)
We previously had a hand-rolled recursive traversal here that was
exactly what
`RecursiveASTVistor` does anyway. Using the visitor not only eliminates
the
explicit traversal logic but also allows us to introduce a common
visitor base
class for `getReferencedDecls()` and `ResultObjectVisitor`, ensuring
that the
two are consistent in terms of the nodes they visit. Inconsistency
between these
two has caused crashes in the past when `ResultObjectVisitor` tried to
propagate
result object locations to entities that weren't modeled becasue
`getReferencedDecls()` didn't visit them.
Commit: a68638bf6a6a5cb60947753ccaf7d1de80f6c89e
https://github.com/llvm/llvm-project/commit/a68638bf6a6a5cb60947753ccaf7d1de80f6c89e
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/lib/Serialization/ASTWriterDecl.cpp
A clang/test/Modules/pr93859.cppm
Log Message:
-----------
[C++20] [Modules] [Reduced BMI] Handling Deduction Guide in reduced BMI
carefully
Close https://github.com/llvm/llvm-project/issues/93859
The direct pattern of the issue is that, in a reduced BMI, we're going
to wrtie a class but we didn't write the deduction guide. Although we
handled deduction guide, but we tried to record the found deduction
guide from `noload_lookup` directly.
It is slightly problematic if the found deduction guide is from AST.
e.g.,
```
module;
export module m;
import xxx; // Also contains the class and the deduction guide
...
```
Then when we writes the class in the current file, we tried to record
the deduction guide, but `noload_lookup` returns the deduction guide
from the AST file then we didn't record the local deduction guide. Then
mismatch happens.
To mitiagte the problem, we tried to record the canonical declaration
for the decution guide.
Commit: ef4c91c44311f96f174609219e126011ec085d1f
https://github.com/llvm/llvm-project/commit/ef4c91c44311f96f174609219e126011ec085d1f
Author: David Green <david.green at arm.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/test/CodeGen/ARM/vdiv_combine.ll
Log Message:
-----------
[ARM] Rewrite vdiv_combine.ll test. NFC
Instcombine will convert the fdiv by constant to fmul. This cleans up the
vdiv_combine.ll test and adds fmul variants of the existing fdiv test.
Commit: 12c85cd31088f64a1afbc5b2133dde2e1d2516d3
https://github.com/llvm/llvm-project/commit/12c85cd31088f64a1afbc5b2133dde2e1d2516d3
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[bazel]: port for the libc change 142afde0eba4940f2b331274e9a3535fee960f35
Commit: a41a20bd47968b16bb84761578628752080e9f24
https://github.com/llvm/llvm-project/commit/a41a20bd47968b16bb84761578628752080e9f24
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/lib/Frontend/FrontendActions.cpp
Log Message:
-----------
[NFC] [C++20] [Modules] [Reduced BMI] Reorder Emitting reduced BMI and normal BMI for named modules
When we generate the reduced BMI on the fly, the order of the emitting
phase is different within `-emit-obj` and `-emit-module-interface`.
Although this is meant to be fine, we observed it in
https://github.com/llvm/llvm-project/issues/93859 (that the different phase order may cause problems).
Also it turns out to be a different fundamental reason to the orders.
But it might be fine to make the order of emitting reducing BMI at first
to avoid such confusions in the future.
Commit: 5b4445e5e5d09b4bdf0e3c1fab52719bfb3f75e2
https://github.com/llvm/llvm-project/commit/5b4445e5e5d09b4bdf0e3c1fab52719bfb3f75e2
Author: David Green <david.green at arm.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
A llvm/test/CodeGen/AArch64/fdiv-const.ll
Log Message:
-----------
[AArch64] Add a test for converting fdiv by constant to fmul. NFC
Commit: f4a7f81a914ca8aceddd9b7a71e36bb0828ae052
https://github.com/llvm/llvm-project/commit/f4a7f81a914ca8aceddd9b7a71e36bb0828ae052
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/include/clang/Format/Format.h
Log Message:
-----------
[clang-format][doc] Minor cleanup
Commit: 84742cd867b0e7e76da6bdc08cc7c56beac86168
https://github.com/llvm/llvm-project/commit/84742cd867b0e7e76da6bdc08cc7c56beac86168
Author: Stephan T. Lavavej <stl at nuwen.net>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M libcxx/test/std/utilities/optional/optional.object/optional.object.assign/emplace.pass.cpp
M libcxx/test/std/utilities/optional/optional.object/optional.object.mod/reset.pass.cpp
Log Message:
-----------
[libc++][test] Mark `optional` test functions as `TEST_CONSTEXPR_CXX20` (#94172)
[P2231R1](https://wg21.link/P2231R1) "Missing `constexpr` in
`std::optional` and `std::variant`" was accepted as a C++20 Defect
Report, not a C++17 Defect Report. Accordingly, `test_empty_emplace()`
and `check_reset()` should be marked as `TEST_CONSTEXPR_CXX20`. Note
that their `static_assert`s are properly guarded:
https://github.com/llvm/llvm-project/blob/4ce65423be0ba1d90c11b6a79981d6314e1cf36d/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/emplace.pass.cpp#L270-L272
https://github.com/llvm/llvm-project/blob/4ce65423be0ba1d90c11b6a79981d6314e1cf36d/libcxx/test/std/utilities/optional/optional.object/optional.object.mod/reset.pass.cpp#L53-L55
Found while running libc++'s tests with MSVC's STL, as we activate our
`constexpr` here for C++20 and above.
Commit: ccb73e882b2d727877cfda42a14a6979cfd31f04
https://github.com/llvm/llvm-project/commit/ccb73e882b2d727877cfda42a14a6979cfd31f04
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/include/clang/AST/DeclBase.h
M clang/include/clang/AST/DeclID.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ModuleFile.h
M clang/include/clang/Serialization/ModuleManager.h
M clang/lib/AST/DeclBase.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/ModuleFile.cpp
A clang/test/Modules/no-transitive-decls-change.cppm
Log Message:
-----------
[serialization] no transitive decl change (#92083)
Following of https://github.com/llvm/llvm-project/pull/86912
#### Motivation Example
The motivation of the patch series is that, for a module interface unit
`X`, when the dependent modules of `X` changes, if the changes is not
relevant with `X`, we hope the BMI of `X` won't change. For the specific
patch, we hope if the changes was about irrelevant declaration changes,
we hope the BMI of `X` won't change. **However**, I found the patch
itself is not very useful in practice, since the adding or removing
declarations, will change the state of identifiers and types in most
cases.
That said, for the most simple example,
```
// partA.cppm
export module m:partA;
// partA.v1.cppm
export module m:partA;
export void a() {}
// partB.cppm
export module m:partB;
export void b() {}
// m.cppm
export module m;
export import :partA;
export import :partB;
// onlyUseB;
export module onlyUseB;
import m;
export inline void onluUseB() {
b();
}
```
the BMI of `onlyUseB` will change after we change the implementation of
`partA.cppm` to `partA.v1.cppm`. Since `partA.v1.cppm` introduces new
identifiers and types (the function prototype).
So in this patch, we have to write the tests as:
```
// partA.cppm
export module m:partA;
export int getA() { ... }
export int getA2(int) { ... }
// partA.v1.cppm
export module m:partA;
export int getA() { ... }
export int getA(int) { ... }
export int getA2(int) { ... }
// partB.cppm
export module m:partB;
export void b() {}
// m.cppm
export module m;
export import :partA;
export import :partB;
// onlyUseB;
export module onlyUseB;
import m;
export inline void onluUseB() {
b();
}
```
so that the new introduced declaration `int getA(int)` doesn't introduce
new identifiers and types, then the BMI of `onlyUseB` can keep
unchanged.
While it looks not so great, the patch should be the base of the patch
to erase the transitive change for identifiers and types since I don't
know how can we introduce new types and identifiers without introducing
new declarations. Given how tightly the relationship between
declarations, types and identifiers, I think we can only reach the ideal
state after we made the series for all of the three entties.
#### Design details
The design of the patch is similar to
https://github.com/llvm/llvm-project/pull/86912, which extends the
32-bit DeclID to 64-bit and use the higher bits to store the module file
index and the lower bits to store the Local Decl ID.
A slight difference is that we only use 48 bits to store the new DeclID
since we try to use the higher 16 bits to store the module ID in the
prefix of Decl class. Previously, we use 32 bits to store the module ID
and 32 bits to store the DeclID. I don't want to allocate additional
space so I tried to make the additional space the same as 64 bits. An
potential interesting thing here is about the relationship between the
module ID and the module file index. I feel we can get the module file
index by the module ID. But I didn't prove it or implement it. Since I
want to make the patch itself as small as possible. We can make it in
the future if we want.
Another change in the patch is the new concept Decl Index, which means
the index of the very big array `DeclsLoaded` in ASTReader. Previously,
the index of a loaded declaration is simply the Decl ID minus
PREDEFINED_DECL_NUMs. So there are some places they got used
ambiguously. But this patch tried to split these two concepts.
#### Overhead
As https://github.com/llvm/llvm-project/pull/86912 did, the change will
increase the on-disk PCM file sizes. As the declaration ID may be the
most IDs in the PCM file, this can have the biggest impact on the size.
In my experiments, this change will bring 6.6% increase of the on-disk
PCM size. No compile-time performance regression observed. Given the
benefits in the motivation example, I think the cost is worthwhile.
Commit: b71434f8b33b6538554a092155c7e8477b2899e1
https://github.com/llvm/llvm-project/commit/b71434f8b33b6538554a092155c7e8477b2899e1
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
M llvm/test/CodeGen/AArch64/arm64-reg-copy-noneon.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-masked-load.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-test-register-mov.ll
Log Message:
-----------
[AArch64] Avoid NEON ORR when NEON and SVE are unavailable (#93940)
For streaming-compatible functions with only +sme, we can't use
a NEON ORR (aliased as 'mov') for copies of Q-registers, so
we need to use a spill/fill instead.
This also fixes the fill, which should use the post-incrementing
addressing mode.
Commit: 264b1b24869eb45463a98d70e9b9e991092acc28
https://github.com/llvm/llvm-project/commit/264b1b24869eb45463a98d70e9b9e991092acc28
Author: David Green <david.green at arm.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/test/CodeGen/ARM/vdiv_combine.ll
Log Message:
-----------
[ARM] Convert vector fdiv+fcvt fixed-point combine to fmul.
Instcombine will convert fdiv by a power-2 to fmul, this converts the
PerformVDIVCombine that converts fdiv+fcvt to fixed-point fcvt to fmul+fcvt.
The fdiv tests will look worse, but won't appear in practice (and should be
improved again by #93882).
Commit: ce73e17e3ab5ccfa33a977843e82a9bbfb6b4ce3
https://github.com/llvm/llvm-project/commit/ce73e17e3ab5ccfa33a977843e82a9bbfb6b4ce3
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVISelLowering.cpp
A llvm/test/CodeGen/SPIRV/event-wait-ptr-type.ll
Log Message:
-----------
[SPIR-V] Validate type of the last parameter of OpGroupWaitEvents (#93661)
This PR fixes invalid OpGroupWaitEvents emission to ensure that SPIR-V
Backend inserts a bitcast before OpGroupWaitEvents if the last argument
is a pointer that doesn't point to OpTypeEvent.
Commit: 763b96c86d81d51d0db430791a61fd1e8a406bce
https://github.com/llvm/llvm-project/commit/763b96c86d81d51d0db430791a61fd1e8a406bce
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M lldb/source/DataFormatters/FormatManager.cpp
M lldb/source/DataFormatters/ValueObjectPrinter.cpp
M lldb/test/API/functionalities/data-formatter/synthcapping/TestSyntheticCapping.py
M lldb/test/API/functionalities/data-formatter/synthcapping/fooSynthProvider.py
Log Message:
-----------
[lldb] Avoid (unlimited) GetNumChildren calls when printing values (#93946)
For some data formatters, even getting the number of children can be an
expensive operations (e.g., needing to walk a linked list to determine
the number of elements). This is then wasted work when we know we will
be printing only small number of them.
This patch replaces the calls to GetNumChildren (at least those on the
"frame var" path) with the calls to the capped version, passing the
value of `max-children-count` setting (plus one)
Commit: 09c0607919c958c1a816acd58cc6c6585aec51a6
https://github.com/llvm/llvm-project/commit/09c0607919c958c1a816acd58cc6c6585aec51a6
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M lldb/test/API/lang/c/non-mangled/TestCNonMangled.py
Log Message:
-----------
[lldb][test] Skip D lang mangling test on Windows
While the fix is reviewed.
Commit: 8918d35dbde126c95350b674a2bb102692d90260
https://github.com/llvm/llvm-project/commit/8918d35dbde126c95350b674a2bb102692d90260
Author: David Stone <davidfromonline at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
A clang/include/clang/Basic/ASTSourceDescriptor.h
M clang/include/clang/Basic/Module.h
M clang/lib/AST/ExternalASTSource.cpp
A clang/lib/Basic/ASTSourceDescriptor.cpp
M clang/lib/Basic/CMakeLists.txt
M clang/lib/Basic/Module.cpp
M clang/lib/CodeGen/CGDebugInfo.h
M clang/lib/Serialization/ASTReader.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ASTUtils.h
M lldb/source/Plugins/ExpressionParser/Clang/ClangExternalASTSourceCallbacks.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangExternalASTSourceCallbacks.h
Log Message:
-----------
[clang][Modules] Move `ASTSourceDescriptor` into its own file (#67930)
Commit: 6a217307641972e27f9eee1adb80e649e10f229f
https://github.com/llvm/llvm-project/commit/6a217307641972e27f9eee1adb80e649e10f229f
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Transforms/Passes.h
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/include/flang/Tools/CLOptions.inc
M flang/lib/Optimizer/Transforms/OMPFunctionFiltering.cpp
Log Message:
-----------
[flang][OpenMP][NFC] Reduce FunctionFiltering pass boilerplate (#93951)
The pass constructor can be generated automatically.
This pass doesn't need to be adapted to support other top level
operations because it is specifically supposed to filter functions. We
don't need to filter non-function top level operations because without
use inside of functions they shouldn't lead to any codegen.
Commit: 770b6c792472e1ff87e8598728d37c516861218e
https://github.com/llvm/llvm-project/commit/770b6c792472e1ff87e8598728d37c516861218e
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M lldb/test/API/lang/c/non-mangled/TestCNonMangled.py
Log Message:
-----------
[lldb][test] Add missing import in D lang mangling test
Commit: 6abf361953e9c5d019a72fd83765498d269eb080
https://github.com/llvm/llvm-project/commit/6abf361953e9c5d019a72fd83765498d269eb080
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M lldb/test/API/lang/c/non-mangled/TestCNonMangled.py
Log Message:
-----------
[lldb][test] Fix D lang mangling test on Windows (#94196)
On Windows the function does not have a symbol associated with it:
Function: id = {0x000001c9}, name = "_Dfunction", range =
[0x0000000140001000-0x0000000140001004)
LineEntry: <...>
Whereas it does on Linux:
Function: id = {0x00000023}, name = "_Dfunction", range =
[0x0000000000000734-0x0000000000000738)
LineEntry: <...>
Symbol: id = {0x00000058}, range =
[0x0000000000000734-0x0000000000000738), name="_Dfunction"
This means that frame.symbol is not valid on Windows.
However, frame.function is valid and it also has a "mangled" attribute.
So I've updated the test to check the symbol if we've got it, and the
function always.
In both cases we check that mangled is empty (meaning it has not been
treated as mangled) and that the display name matches the original
symbol name.
Commit: d00731cb7fcc91047531069e029964a39935a5bb
https://github.com/llvm/llvm-project/commit/d00731cb7fcc91047531069e029964a39935a5bb
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M lldb/test/API/tools/lldb-dap/variables/children/TestDAP_variables_children.py
Log Message:
-----------
[lldb] s/assertEquals/assertEqual in TestDAP_variables_children
Commit: 6b7444964a8d028989beee554a1f5c61d16a1cac
https://github.com/llvm/llvm-project/commit/6b7444964a8d028989beee554a1f5c61d16a1cac
Author: AlexGhiti <AlexGhiti at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/test/Preprocessor/riscv-target-features.c
M llvm/docs/RISCVUsage.rst
M llvm/docs/ReleaseNotes.rst
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/test/CodeGen/RISCV/atomic-cmpxchg-branch-on-result.ll
M llvm/test/CodeGen/RISCV/atomic-cmpxchg.ll
M llvm/test/CodeGen/RISCV/atomic-rmw.ll
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/MC/RISCV/rvzabha-invalid.s
M llvm/test/MC/RISCV/rvzabha-valid.s
M llvm/test/MC/RISCV/rvzabha-zacas-valid.s
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Remove experimental from Zabha (#93831)
The Zabha extension was ratified in April 2024.
Co-authored-by: Alexandre Ghiti <alexghiti at rivosinc.com>
Commit: 5bfc444524d74b714b9efb2dc00c7bc36a3838e2
https://github.com/llvm/llvm-project/commit/5bfc444524d74b714b9efb2dc00c7bc36a3838e2
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIROpsSupport.h
M flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/lib/Optimizer/Transforms/AddDebugInfo.cpp
A flang/test/Lower/OpenMP/debug_info_conflict.f90
Log Message:
-----------
[flang] Emit `argNo` debug info only for `func` block args (#93921)
Fixes a bug uncovered by
[pr43337.f90](https://github.com/llvm/llvm-test-suite/blob/main/Fortran/gfortran/regression/gomp/pr43337.f90)
in the test suite.
In particular, this emits `argNo` debug info only if the parent op of a
block is a `func.func` op. This avoids DI conflicts when a function
contains a nested OpenMP region that itself has block arguments with DI
attached to them; for example, `omp.parallel` with delayed privatization
enabled.
Commit: a5641f106affc3afb899eee42eb40c2ded81f411
https://github.com/llvm/llvm-project/commit/a5641f106affc3afb899eee42eb40c2ded81f411
Author: Nathan Gauër <brioche at google.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/CMakeLists.txt
M llvm/lib/Target/SPIRV/SPIRV.h
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/SPIRV/SPIRVInstrInfo.td
A llvm/lib/Target/SPIRV/SPIRVMergeRegionExitTargets.cpp
M llvm/lib/Target/SPIRV/SPIRVTargetMachine.cpp
A llvm/test/CodeGen/SPIRV/structurizer/merge-exit-break.ll
A llvm/test/CodeGen/SPIRV/structurizer/merge-exit-convergence-in-break.ll
A llvm/test/CodeGen/SPIRV/structurizer/merge-exit-multiple-break.ll
A llvm/test/CodeGen/SPIRV/structurizer/merge-exit-simple-white-identity.ll
Log Message:
-----------
[SPIR-V] Add pass to merge convergence region exit targets (#92531)
The structurizer required regions to be SESE: single entry, single exit.
This new pass transforms multiple-exit regions into single-exit regions.
```
+---+
| A |
+---+
/ \
+---+ +---+
| B | | C | A, B & C belongs to the same convergence region.
+---+ +---+
| |
+---+ +---+
| D | | E | C & D belongs to the parent convergence region.
+---+ +---+ This means B & C are the exit blocks of the region.
\ / And D & E the targets of those exits.
\ /
|
+---+
| F |
+---+
```
This pass would assign one value per exit target:
B = 0
C = 1
Then, create one variable per exit block (B, C), and assign it to the
correct value: in B, the variable will have the value 0, and in C, the
value 1.
Then, we'd create a new block H, with a PHI node to gather those 2
variables, and a switch, to route to the correct target.
Finally, the branches in B and C are updated to exit to this new block.
```
+---+
| A |
+---+
/ \
+---+ +---+
| B | | C |
+---+ +---+
\ /
+---+
| H |
+---+
/ \
+---+ +---+
| D | | E |
+---+ +---+
\ /
\ /
|
+---+
| F |
+---+
```
Note: the variable is set depending on the condition used to branch. If
B's terminator was conditional, the variable would be set using a
SELECT.
All internal edges of a region are left intact, only exiting edges are
updated.
---------
Signed-off-by: Nathan Gauër <brioche at google.com>
Commit: e28b07019b47d3ca820ee9305b4b673f61febfec
https://github.com/llvm/llvm-project/commit/e28b07019b47d3ca820ee9305b4b673f61febfec
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
Log Message:
-----------
[gn build] Port 8918d35dbde1
Commit: 4f2dba3c0b4e5f11b968a840b5f70070f5288cfe
https://github.com/llvm/llvm-project/commit/4f2dba3c0b4e5f11b968a840b5f70070f5288cfe
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/test/CXX/drs/cwg28xx.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang] Add tests for some CWG issues from 2024-05-31 telecon (#94167)
This patch adds tests for some CWG issues that were discussed at
2024-05-31 telecon. While all of them are tentatively ready at the
moment, I'm expecting them to be moved to DRs without changes. CWG
issues that are expected to have follow-ups are not included in this PR.
I also realized that `cwg28xx.cpp` has been testing without
`-pedantic-errors`. I fixed that. Fortunately, no existing tests had
anything hidden by the lack of this flag.
The following CWG issues are covered:
[CWG2877](https://cplusplus.github.io/CWG/issues/2877.html) "Type-only
lookup for _using-enum-declarator_"
[CWG2882](https://cplusplus.github.io/CWG/issues/2882.html) "Unclear
treatment of conversion to `void`"
[CWG2883](https://cplusplus.github.io/CWG/issues/2883.html) "Definition
of "odr-usable" ignores lambda scopes"
[CWG2885](https://cplusplus.github.io/CWG/issues/2885.html)
"Non-eligible trivial default constructors"
[CWG2886](https://cplusplus.github.io/CWG/issues/2886.html) "Temporaries
and trivial potentially-throwing special member functions"
Commit: bf4eaec44054fa3908d50898f572e15d89119c67
https://github.com/llvm/llvm-project/commit/bf4eaec44054fa3908d50898f572e15d89119c67
Author: Marc Auberer <marc.auberer at chillibits.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/FunctionExtras.h
M llvm/lib/Support/PrettyStackTrace.cpp
Log Message:
-----------
[llvm] Replace deprecated aligned_storage with aligned byte array (#94169)
`std::aligned_storage` is deprecated with C++23, see
[here](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1413r3.pdf).
This replaces the usages of `std::aligned_storage` within llvm (only one
in ADT and one in Support) with an aligned `std::byte` array.
I will provide patches for other subcomponents as well.
Commit: 910098e40572f9fe6bfde161eafd1b390a356043
https://github.com/llvm/llvm-project/commit/910098e40572f9fe6bfde161eafd1b390a356043
Author: Luke Lau <luke at igalia.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVGatherScatterLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/strided-load-store.ll
Log Message:
-----------
[RISCV] Match strided vector bases in RISCVGatherScatterLowering (#93972)
Currently we only match GEPs with a scalar base pointer, but a common
pattern that's emitted from the loop vectorizer is a strided vector base
plus some sort of scalar offset:
%base = getelementptr i64, ptr %p, <vscale x 1 x i64> %step
%gep = getelementptr i64, <vscale x 1 x ptr> %base, i64 %offset
This is common for accesses into a struct e.g. f[i].b below:
struct F { int a; char b; };
void foo(struct F *f) {
for (int i = 0; i < 1024; i += 2) {
f[i].a++;
f[i].b++;
}
}
This patch handles this case in RISCVGatherScatterLowering by recursing
on the base pointer if it's a vector.
With this we can convert roughly 80% of the indexed loads and stores
emitted to strided loads and stores on SPEC CPU 2017, -O3
-march=rva22u64_v
Commit: 6b30180b663e1fe4de32046398581a374c8a54f2
https://github.com/llvm/llvm-project/commit/6b30180b663e1fe4de32046398581a374c8a54f2
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/include/clang/AST/DeclBase.h
M clang/include/clang/AST/DeclID.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ModuleFile.h
M clang/include/clang/Serialization/ModuleManager.h
M clang/lib/AST/DeclBase.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/ModuleFile.cpp
R clang/test/Modules/no-transitive-decls-change.cppm
Log Message:
-----------
Revert "[serialization] no transitive decl change (#92083)"
This reverts commit ccb73e882b2d727877cfda42a14a6979cfd31f04.
It looks like there are some bots complaining about the patch.
See the post commit comment in
https://github.com/llvm/llvm-project/pull/92083 to track it.
Commit: 22a7f7c3314328dd1ac20042158f4b68a4ac5c1f
https://github.com/llvm/llvm-project/commit/22a7f7c3314328dd1ac20042158f4b68a4ac5c1f
Author: Serge Pavlov <sepavloff at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/test/tools/llvm-symbolizer/get-input-file.test
M llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
Log Message:
-----------
[symbolizer] Empty string is not an error (#92660)
After commit 1792852f86dc7 ([symbolizer] Change reaction on invalid
input) llvm-symbolizer issues an error on malformed command instead of
echoing it to the standard output, as in previous versions. It turns out
this behavior broke a use case when echoing was used to check if
llvm-symbolizer is working (https://github.com/llvm/llvm-project/commit/1792852f86dc75efa1f44d46b1a0daf386d64afa#commitcomment-142161925).
With this change an empty line as input is not considered as an error
anymore and does not produce any output on stderr. llvm-symbolizer still
respond on empty line with line not found, this is consistent with GNU
addr2line.
---------
Co-authored-by: James Henderson <46713263+jh7370 at users.noreply.github.com>
Commit: 12fcca0afeb08fbe41d79c5387cfacb249992bb4
https://github.com/llvm/llvm-project/commit/12fcca0afeb08fbe41d79c5387cfacb249992bb4
Author: Corentin Ferry <corentin.ferry at amd.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M mlir/lib/Conversion/ArithToEmitC/ArithToEmitC.cpp
M mlir/test/Conversion/ArithToEmitC/arith-to-emitc.mlir
Log Message:
-----------
[mlir][emitc] Lower arith.andi, arith.ori, arith.xori to EmitC
This commit lowers bitwise arith ops to EmitC and also brings in `adaptValueType` and `adaptIntegralTypeSignedness` that other ArithToEmitC functions can benefit from.
Commit: 9a7bd8a60f03595be5d42315790df6d409f81091
https://github.com/llvm/llvm-project/commit/9a7bd8a60f03595be5d42315790df6d409f81091
Author: Takuto Ikuta <tikuta at google.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/lib/Tooling/JSONCompilationDatabase.cpp
M clang/unittests/Tooling/CompilationDatabaseTest.cpp
Log Message:
-----------
remove goma support from clang (#93942)
goma is deprecated and not maintained anymore.
https://chromium.googlesource.com/infra/goma/client/
Commit: 72c901f5e59477e568b1b04dae9de753b9d1f6f3
https://github.com/llvm/llvm-project/commit/72c901f5e59477e568b1b04dae9de753b9d1f6f3
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/utils/TableGen/Basic/CodeGenIntrinsics.cpp
M llvm/utils/TableGen/Basic/CodeGenIntrinsics.h
Log Message:
-----------
[TableGen] CodeGenIntrinsic - pass DefaultProperties as ArrayRef instead of std::vector by value.
Avoid std::vector copies as setDefaultProperties just iterates across the Records
Fixes #89207
Commit: 6ef785c9517e8e44ddda8263e5f319b44f56cff8
https://github.com/llvm/llvm-project/commit/6ef785c9517e8e44ddda8263e5f319b44f56cff8
Author: Endre Fülöp <endre.fulop at sigmatechnology.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/docs/analyzer/checkers.rst
M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
M clang/test/Analysis/analyzer-enabled-checkers.c
M clang/test/Analysis/block-in-critical-section.c
M clang/test/Analysis/block-in-critical-section.cpp
M clang/test/Analysis/block-in-critical-section.m
M clang/test/Analysis/std-c-library-functions-arg-enabled-checkers.c
M clang/www/analyzer/alpha_checks.html
Log Message:
-----------
[clang][analyzer] Move unix.BlockInCriticalSection out of alpha (#93815)
After recent improvements (#80029) and testing on open-source projects,
the checker is ready to move out of the alpha package.
Commit: 4812e9a487735c8e2d86070f335b3364f9847711
https://github.com/llvm/llvm-project/commit/4812e9a487735c8e2d86070f335b3364f9847711
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/test/Analysis/ScalarEvolution/backedge-taken-count-guard-info.ll
M llvm/test/Transforms/IndVarSimplify/trip-count-expansion-loop-guard-preserve-nsw.ll
Log Message:
-----------
[SCEV] Preserve flags in SCEVLoopGuardRewriter for add and mul. (#91472)
SCEVLoopGuardRewriter only replaces operands with equivalent values, so
we should be able to transfer the flags from the original expression.
PR: https://github.com/llvm/llvm-project/pull/91472
Commit: bda8d1ad72fc72f21f6c536692594376d00db8b6
https://github.com/llvm/llvm-project/commit/bda8d1ad72fc72f21f6c536692594376d00db8b6
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/PatternMatch.h
M llvm/test/Transforms/InstCombine/icmp-of-trunc-ext.ll
Log Message:
-----------
[PatternMatch] Do not match constant expression trunc
Similar to the change previously made for binops, make m_Trunc()
only match instructions, not constant expressions. This is more
likely to cause a crash than do something useful.
Fixes crash reported at:
https://github.com/llvm/llvm-project/pull/92885#issuecomment-2145034670
Commit: a58dd0e948040b75266b2ee02292a16ed7b2afd5
https://github.com/llvm/llvm-project/commit/a58dd0e948040b75266b2ee02292a16ed7b2afd5
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/test/CXX/drs/cwg24xx.cpp
M clang/test/CXX/drs/cwg2630.cpp
M clang/test/CXX/drs/cwg26xx.cpp
M clang/test/CXX/drs/cwg27xx.cpp
Log Message:
-----------
[clang] Make sure all C++ DR tests are running with `-pedantic-errors` (#94203)
In #94167 I found out that `cwg28xx.cpp` has been running without
`-pedantic-errors` and fixed that. This patch fixes that for the rest of
the test suite. Only one test was affected with a trivial fix (warning
was escalated to an error).
I'm intentionally leaving out test for CWG2390, because it requires
major surgery. It's addressed in #94206.
Commit: cee6e81dd2a393ebadac8b620679290851ae446b
https://github.com/llvm/llvm-project/commit/cee6e81dd2a393ebadac8b620679290851ae446b
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/windows-extern-weak.ll
Log Message:
-----------
[AArch64] Generate test checks (NFC)
Also mark the test as nounwind. The unwinding information does
not appear to be pertinent to the original intent of the test.
Commit: e8ff03b574fc4279367939acd6a5ddd798286766
https://github.com/llvm/llvm-project/commit/e8ff03b574fc4279367939acd6a5ddd798286766
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
R llvm/test/Assembler/2007-04-25-AssemblerFoldExternWeak.ll
M llvm/test/Transforms/InstSimplify/compare.ll
Log Message:
-----------
[Tests] Move test from Assembler to InstSimplify (NFC)
Make sure this test is preserved when icmp constant expressions
are removed.
Commit: 955c2237629ae252bed44177f0b65a8805051add
https://github.com/llvm/llvm-project/commit/955c2237629ae252bed44177f0b65a8805051add
Author: Christian Kandeler <christian.kandeler at qt.io>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
M clang-tools-extra/clangd/unittests/tweaks/DefineOutlineTests.cpp
Log Message:
-----------
[clangd] Allow "move function body out-of-line" in non-header files (#69704)
Moving the body of member functions out-of-line makes sense for classes
defined in implementation files too.
Commit: 5ff993a1a3fad8d3db149b5612b201b9ff31bfd8
https://github.com/llvm/llvm-project/commit/5ff993a1a3fad8d3db149b5612b201b9ff31bfd8
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVLegalizerInfo.cpp
M llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
A llvm/test/CodeGen/SPIRV/transcoding/OpBitReverse_i2.ll
Log Message:
-----------
[SPIR-V] Fix legalize info for G_BITREVERSE (#93699)
This PR fixes legalize info for G_BITREVERSE.
Commit: 2f1229e40ecc200f76da1864cd0861a4c51bf917
https://github.com/llvm/llvm-project/commit/2f1229e40ecc200f76da1864cd0861a4c51bf917
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/test/Assembler/ConstantExprNoFold.ll
M llvm/test/Transforms/InstSimplify/compare.ll
Log Message:
-----------
[Tests] Move some tests from Assembler to InstSimplify (NFC)
To make sure these are preserved when icmp constant expressions
are removed.
Commit: 0f669154e114357d0af5eccd09f8e031c07a8a3e
https://github.com/llvm/llvm-project/commit/0f669154e114357d0af5eccd09f8e031c07a8a3e
Author: Michael Maitland <michaeltmaitland at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalMerge.h
M llvm/lib/CodeGen/GlobalMerge.cpp
A llvm/test/CodeGen/RISCV/global-merge-minsize-smalldata-nonzero.ll
A llvm/test/CodeGen/RISCV/global-merge-minsize-smalldata-zero.ll
A llvm/test/CodeGen/RISCV/global-merge-minsize.ll
Log Message:
-----------
[GlobalMerge] Add MinSize feature to the GlobalMerge Pass. (#93686)
We add a feature that prevents the GlobalMerge pass from considering
data smaller than a minimum size in bytes for merging.
The MinSize is set in 3 ways:
1. If global-merge-min-data-size is explicitly set, then it uses that
value.
2. If SmallDataLimit is set and non-zero, then SmallDataLimit + 1 is
used.
3. Otherwise, 0 is used, which means all sizes are considered for
merging.
We found that this feature allowed us to see the benefit of the
GlobalMerge pass while eliminating some merging that was not beneficial.
This feature allowed us to enable the GlobalMerge pass on RISC-V in our
downstream by default because it led to improvements on multiple
benchmark suites.
I plan to post a separate patch to propose enabling this by default on
RISC-V. But I do not want that discussion to be part of the discussion
of adding this feature, so I am keeping the patches separate.
Commit: 79527206253797b5ea79e29e1246e217af46b388
https://github.com/llvm/llvm-project/commit/79527206253797b5ea79e29e1246e217af46b388
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/test/Transforms/Attributor/cb_liveness_disabled.ll
M llvm/test/Transforms/Attributor/cb_liveness_enabled.ll
Log Message:
-----------
[Attributor] Remove unused metadata checks from liveness tests
Noticed while triaging the failures on #93673 - the attributor pass doesn't emit any range metadata in these tests
Commit: 27fe52622618a7cac3bf3444349a0c40c9e8328f
https://github.com/llvm/llvm-project/commit/27fe52622618a7cac3bf3444349a0c40c9e8328f
Author: Oleksandr T <oleksandr.tarasiuk at outlook.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Parse/ParseExprCXX.cpp
A clang/test/SemaCXX/incomplete-array-extent.cpp
Log Message:
-----------
[Clang] Fix crash on improper use of `__array_extent` (#94173)
Check whether parsing of the argument failed before attempting
to build the expression.
Fixes #80474.
Commit: 12949c952c4fbad776a860c003ccf176973278a0
https://github.com/llvm/llvm-project/commit/12949c952c4fbad776a860c003ccf176973278a0
Author: Paul T Robinson <paul.robinson at sony.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/test/Driver/aarch64-outliner.c
M clang/test/Driver/amdgcn-gz-options.cl
M clang/test/Driver/amdgpu-hip-system-arch.c
M clang/test/Driver/amdgpu-invalid-target-id.s
M clang/test/Driver/amdgpu-macros.cl
M clang/test/Driver/amdgpu-openmp-system-arch-fail.c
M clang/test/Driver/amdgpu-openmp-toolchain.c
M clang/test/Driver/arm-float-abi-runtime-path.c
M clang/test/Driver/arm-float-abi.c
M clang/test/Driver/arm-machine-outliner.c
M clang/test/Driver/cl-options.cu
M clang/test/Driver/clang-offload-bundler-zlib.c
M clang/test/Driver/clang-offload-bundler-zstd.c
M clang/test/Driver/compress-noias.c
M clang/test/Driver/cuda-arch-translation.cu
M clang/test/Driver/cuda-bad-arch.cu
M clang/test/Driver/cuda-bail-out.cu
M clang/test/Driver/cuda-bindings.cu
M clang/test/Driver/cuda-constructor-alias.cu
M clang/test/Driver/cuda-cross-compiling.c
M clang/test/Driver/cuda-detect-path.cu
M clang/test/Driver/cuda-detect.cu
M clang/test/Driver/cuda-external-tools.cu
M clang/test/Driver/cuda-macosx.cu
M clang/test/Driver/cuda-march.cu
M clang/test/Driver/cuda-omp-unsupported-debug-options.cu
M clang/test/Driver/cuda-openmp-driver.cu
M clang/test/Driver/cuda-options.cu
M clang/test/Driver/cuda-output-asm.cu
M clang/test/Driver/cuda-phases.cu
M clang/test/Driver/cuda-ptxas-path.cu
M clang/test/Driver/cuda-version-check.cu
M clang/test/Driver/cuda-windows.cu
M clang/test/Driver/driverkit-arm64.c
M clang/test/Driver/driverkit-arm64e.c
M clang/test/Driver/driverkit-cplusplus.cpp
M clang/test/Driver/driverkit-exceptions.cpp
M clang/test/Driver/driverkit-path.c
M clang/test/Driver/driverkit-rtti.cpp
M clang/test/Driver/driverkit-target-cpu.c
M clang/test/Driver/dwarf-target-version-clamp.cu
M clang/test/Driver/elfiamcu-header-search.c
M clang/test/Driver/global-isel.c
M clang/test/Driver/gpu-libc-headers.c
M clang/test/Driver/hexagon-toolchain-elf.c
M clang/test/Driver/hip-autolink.hip
M clang/test/Driver/hip-binding.hip
M clang/test/Driver/hip-code-object-version.hip
M clang/test/Driver/hip-cuid-hash.hip
M clang/test/Driver/hip-cuid.hip
M clang/test/Driver/hip-default-gpu-arch.hip
M clang/test/Driver/hip-device-compile.hip
M clang/test/Driver/hip-device-libs.hip
M clang/test/Driver/hip-fpie-option.hip
M clang/test/Driver/hip-gsplit-dwarf-options.hip
M clang/test/Driver/hip-gz-options.hip
M clang/test/Driver/hip-host-cpu-features.hip
M clang/test/Driver/hip-include-path.hip
M clang/test/Driver/hip-inputs.hip
M clang/test/Driver/hip-invalid-target-id.hip
M clang/test/Driver/hip-launch-api.hip
M clang/test/Driver/hip-link-bc-to-bc.hip
M clang/test/Driver/hip-link-bundle-archive.hip
M clang/test/Driver/hip-link-save-temps.hip
M clang/test/Driver/hip-link-static-library.hip
M clang/test/Driver/hip-no-device-libs.hip
M clang/test/Driver/hip-offload-arch.hip
M clang/test/Driver/hip-offload-compress-zlib.hip
M clang/test/Driver/hip-offload-compress-zstd.hip
M clang/test/Driver/hip-options.hip
M clang/test/Driver/hip-output-file-name.hip
M clang/test/Driver/hip-phases.hip
M clang/test/Driver/hip-printf.hip
M clang/test/Driver/hip-rdc-device-only.hip
M clang/test/Driver/hip-sanitize-options.hip
M clang/test/Driver/hip-save-temps.hip
M clang/test/Driver/hip-std.hip
M clang/test/Driver/hip-syntax-only.hip
M clang/test/Driver/hip-target-id.hip
M clang/test/Driver/hip-toolchain-device-only.hip
M clang/test/Driver/hip-toolchain-dwarf.hip
M clang/test/Driver/hip-toolchain-features.hip
M clang/test/Driver/hip-toolchain-mllvm.hip
M clang/test/Driver/hip-toolchain-no-rdc.hip
M clang/test/Driver/hip-toolchain-opt.hip
M clang/test/Driver/hip-toolchain-rdc-separate.hip
M clang/test/Driver/hip-toolchain-rdc-static-lib.hip
M clang/test/Driver/hip-toolchain-rdc.hip
M clang/test/Driver/hip-unbundle-preproc.hipi
M clang/test/Driver/hip-wavefront-size.hip
M clang/test/Driver/hip-windows-filename.hip
M clang/test/Driver/hipspv-device-libs.hip
M clang/test/Driver/hipspv-pass-plugin.hip
M clang/test/Driver/hipspv-toolchain-rdc.hip
M clang/test/Driver/hipspv-toolchain.hip
M clang/test/Driver/indirect-tls-seg-refs.c
M clang/test/Driver/invalid-offload-options.cpp
M clang/test/Driver/invalid-target-id.cl
M clang/test/Driver/lto.cu
M clang/test/Driver/m68k-features.cpp
M clang/test/Driver/mbackchain.c
M clang/test/Driver/mips-abi.c
M clang/test/Driver/mips-abicalls-warning.c
M clang/test/Driver/mips-cs.cpp
M clang/test/Driver/mips-fsf.cpp
M clang/test/Driver/mips-gpopt-warning.c
M clang/test/Driver/mips-img-v2.cpp
M clang/test/Driver/mips-img.cpp
M clang/test/Driver/mips-indirect-branch.c
M clang/test/Driver/mips-mti-linux.c
M clang/test/Driver/msan.c
M clang/test/Driver/nvptx-cuda-system-arch.c
M clang/test/Driver/openmp-offload-headers.c
M clang/test/Driver/openmp-offload-infer.c
M clang/test/Driver/openmp-offload-jit.c
M clang/test/Driver/openmp-offload.c
M clang/test/Driver/openmp-system-arch.c
M clang/test/Driver/ppc-dependent-options.cpp
M clang/test/Driver/ppc-float-abi-warning.cpp
M clang/test/Driver/ppc-unsupported.c
M clang/test/Driver/riscv32-toolchain-extra.c
M clang/test/Driver/riscv64-toolchain-extra.c
M clang/test/Driver/rocm-detect.cl
M clang/test/Driver/rocm-detect.hip
M clang/test/Driver/rocm-device-libs.cl
M clang/test/Driver/save-temps.c
M clang/test/Driver/sysroot.c
M clang/test/Driver/target-id-macros.cl
M clang/test/Driver/target-id.cl
M clang/test/Driver/thinlto.cu
M clang/test/Driver/tsan.c
M clang/test/Driver/ve-toolchain.c
M clang/test/Driver/ve-toolchain.cpp
Log Message:
-----------
[Driver] Remove a bunch of unnecessary REQUIRES constraints (#94055)
Removed foo-registered-target constraints from a bunch of tests, because
mostly the driver doesn't need to have a target availabile. I ran
check-clang-driver using a build with only the XCore target, and these
all passed.
There are ~50 tests that still have foo-registered-target, and it looks
like most of them are either doing codegen when they don't need to, or
don't really belong in the Driver tests. But that's a task for another
day.
Commit: 22b63b97ffd4e2d71c1ec2f8b4757b32587526c9
https://github.com/llvm/llvm-project/commit/22b63b97ffd4e2d71c1ec2f8b4757b32587526c9
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/Reassociate.cpp
M llvm/test/Transforms/Reassociate/reassoc_bool_vec.ll
M llvm/test/Transforms/Reassociate/repeats.ll
Log Message:
-----------
Revert "[Reassociate] Drop weight reduction to fix issue 91417 (#91469)" (#94210)
Reverts
https://github.com/llvm/llvm-project/commit/3bcccb6af685c3132a9ee578b9e11b2503c35a5c
and
https://github.com/llvm/llvm-project/commit/9a282724a29899e84adc91bdeaf639010408a80d
because #91469 causes a miscompilation
https://github.com/llvm/llvm-project/pull/91469#discussion_r1623925158.
Commit: 875e91131847e3133d414c11c8ad721b52a287ee
https://github.com/llvm/llvm-project/commit/875e91131847e3133d414c11c8ad721b52a287ee
Author: Tomas Matheson <Tomas.Matheson at arm.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_add-i64.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_mopa-za64.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_mops-za64.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/aarch64-sme2-attrs.cpp
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_add.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_add_sub_za16.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_bmop.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_clamp.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvt.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvtn.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_fmlas16.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_fp_dots.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_frint.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_int_dots.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti2_lane_zt.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti2_lane_zt_x2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti2_lane_zt_x4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti4_lane_zt.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti4_lane_zt_x2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti4_lane_zt_x4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_max.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_maxnm.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_min.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_minnm.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mla.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mlal.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mlall.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mls.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mlsl.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mop.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mopa_nonwide.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_read.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_reinterpret_svcount_svbool.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_sqdmulh.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_sub.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_unpkx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_unpkx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vdot.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_add.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_qrshr.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_rshl.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_selx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_selx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_uzpx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_uzpx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_zipx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_zipx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_write.c
M clang/test/CodeGen/aarch64-sme2p1-intrinsics/acle_sme2p1_zero.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4-bfloat.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aba.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abalb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abalt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abdlb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abdlt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adalp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addhnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addhnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlbt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addwb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addwt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aese.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesimc.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesmc.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bcax.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bdep.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bext.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bgrp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl1n.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl2n.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cdot.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cmla.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtlt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtx.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtxnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eor3.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eorbt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eortb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_histcnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_histseg.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hsub.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hsubr.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sh.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sw.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1ub.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1uh.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1uw.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_logb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_match.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_maxnmp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_maxp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_minnmp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_minp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mla.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlalb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlalt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mls.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlslb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlslt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_movlb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_movlt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mul.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mullb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mullt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_nbsl.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_nmatch.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmul.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullb_128.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullt_128.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qabs.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qcadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalbt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslbt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmulh.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmullb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmullt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qneg.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdcmlah.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmlah.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmlsh.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmulh.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshl.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrunb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrunt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshl.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshlu.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrunb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrunt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qsub.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qsubr.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtunb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtunt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_raddhnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_raddhnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rax1.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_recpe.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_revd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rhadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshl.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshr.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshrnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshrnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsqrte.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsra.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsubhnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsubhnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shllb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shllt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shrnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shrnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sli.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sm4e.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sm4ekey.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sqadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sra.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sri.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1b.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1h.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1w.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subhnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subhnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublbt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subltb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subwb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subwt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbl2-bfloat.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbl2.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbx-bfloat.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbx.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_uqadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilege.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilegt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilerw-bfloat.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilerw.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilewr-bfloat.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilewr.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_xar.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfadd.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmax.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmaxnm.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmin.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfminnm.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmla.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmla_lane.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmls.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmls_lane.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmlsl.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmul.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmul_lane.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfsub.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_cntp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_create2_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_create4_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_dot.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_dupq.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_extq.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_fclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_fp_reduce.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_get2_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_get4_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_int_reduce.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ld1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ld1_single.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ldnt1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_loads.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pext.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pfalse.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pmov_to_pred.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pmov_to_vector.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_psel.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_psel_svcount.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ptrue.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_qcvtn.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_qrshr.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_sclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set2_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set4_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_st1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_st1_single.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_stnt1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_store.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_tblq.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_tbxq.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_undef_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uzpq1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uzpq2.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_while_pn.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_while_x2.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_zipq1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_zipq2.c
M clang/test/CodeGen/arm-vector_type-params-returns.c
M clang/test/Sema/aarch64-incompat-sm-builtin-calls.c
M clang/test/Sema/aarch64-sme-func-attrs.c
M clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_b16b16.cpp
M clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_imm.cpp
M clang/test/Sema/aarch64-sme2p1-diagnostics.c
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_bfloat.cpp
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_imm_n.cpp
M clang/test/Sema/aarch64-sve2p1-intrinsics/acle_sve2p1_imm.cpp
Log Message:
-----------
[AArch64] Remove SME/SVE uses of FMVDependencies (#93695)
When FMV was added to AArch64, it added a dependency expansion step
after the -cc1 command line was parsed but before Sema, in
AArch64TargetInfo::initFeatureMap. One effect of this is that
-target-features specified on the -cc1 command line had some level
of incomplete and broken dependency expansion. Since then, many tests
have been added which depend on this behaviour.
The dependency expansion can be considered broken at this stage because
dependency expansion is already performed by the driver to generate the
-target-feature flags using an ExtensionSet. This class does
dependency evaluation and then generates a flattened representation of
the dependency graph in the form of -target-features, which are passed
to -cc1 in an arbitrary order (determined by the order of bits in the
bitset). Any dependency expansion done after -cc1 will be inherently
contradictory. It is impossible to accurately treat negative features
once the dependency graph has been flattened and the order randomised.
This patch fixes a large number of those tests, specifically ones where
only a dependent feature (e.g. -target-feature +sme2p1) was added to
the test -cc1 command, and not the necessary dependencies (e.g.
-target-feature +sme).
See PR #93695 further details.
Commit: 8aa33f16e91d8f15037330620c1479555278dafe
https://github.com/llvm/llvm-project/commit/8aa33f16e91d8f15037330620c1479555278dafe
Author: Phoebe Wang <phoebe.wang at intel.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86LowerTileCopy.cpp
M llvm/test/CodeGen/X86/AMX/amx-tile-basic.ll
Log Message:
-----------
[X86][AMX] Check also AMX register live out for copy lowering (#93692)
Another bug fix for #83628.
Commit: b301a98b33d75813d73838c1bd4c47024d044af6
https://github.com/llvm/llvm-project/commit/b301a98b33d75813d73838c1bd4c47024d044af6
Author: Angel Zhang <angel.zhang at amd.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M mlir/lib/Conversion/GPUToSPIRV/CMakeLists.txt
M mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRVPass.cpp
A mlir/test/mlir-vulkan-runner/vector-interleave.mlir
A mlir/test/mlir-vulkan-runner/vector-shuffle.mlir
Log Message:
-----------
[mlir][spirv] Add integration tests for `vector.interleave` and `vector.shuffle` (#93858)
This PR tries to reland #93595 which was reverted in #93732 due to some
issues. The original PR:
- Add integration test for `vector.shuffle` and `vector.interleave`
- Add `VectorToSPIRV` patterns to `GPUToSPIRVPass`
Description of the issue:
-
https://github.com/llvm/llvm-project/pull/93595#issuecomment-2138541700
- Using either `vector.load` or `vector.store` in the kernel function
will cause the validation layer to report an error
- Trying to bypass the issue by using `memref.load` and `memref.store`
to load/store individual elements from/to the vectors, and populate the
vectors using `vector.insertelement` and `vector.extractelement`
instead.
Commit: 7bc7672925f8154be3b8220365d3f269ac43621c
https://github.com/llvm/llvm-project/commit/7bc7672925f8154be3b8220365d3f269ac43621c
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/include/flang/Evaluate/integer.h
M flang/lib/Evaluate/fold-real.cpp
M flang/runtime/reduction-templates.h
Log Message:
-----------
[flang] Fix compilation errors due to new clang template requirements (#94204)
Since https://github.com/llvm/llvm-project/pull/80801 clang requires a
template argument list after the use of the template keyword.
https://lab.llvm.org/buildbot/#/builders/176/builds/10230
error: a template argument list is expected after a name prefixed by the
template keyword [-Wmissing-template-arg-list-after-template-kw]
This fixes the instances found by the AArch64 Linux builds.
Commit: 0e62d5cf55479981da5e05e406bbca4afb3cdc4f
https://github.com/llvm/llvm-project/commit/0e62d5cf55479981da5e05e406bbca4afb3cdc4f
Author: Mike Crowe <mac at mcrowe.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/modernize/UseStdFormatCheck.cpp
M clang-tools-extra/clang-tidy/modernize/UseStdPrintCheck.cpp
M clang-tools-extra/clang-tidy/utils/FormatStringConverter.cpp
M clang-tools-extra/clang-tidy/utils/Matchers.h
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/modernize/use-std-format-custom.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize/use-std-print-custom.cpp
Log Message:
-----------
[clang-tidy] Fix assert in modernize-use-std-format/print (#94104)
Ensure that FormatStringConverter's constructor fails with a sensible
error message rather than asserting if the format string is not a narrow
string literal.
Also, ensure that we don't even get that far in modernize-use-std-print
and modernize-use-std-format by checking that the format string
parameter is a char pointer.
Fixes #92896
Commit: 138856292235e4c805f2616b56ac09be5017f355
https://github.com/llvm/llvm-project/commit/138856292235e4c805f2616b56ac09be5017f355
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/test/Transforms/SimplifyCFG/branch-fold-threshold.ll
Log Message:
-----------
[SimplifyCFG] branch-fold-threshold.ll - fix broken CHECKs
Fix typos in AGGRESIVE-->AGGRESSIVE + WAYAGGRESIVE->WAYAGGRESSIVE
This also exposed an issue that the WAYAGGRESSIVE run removed a block entirely, so the LABEL check was silently failing.
Noticed while triaging the failures on #93673
Commit: 16c925ab5fd3d677792ce6575f81774c64b87cec
https://github.com/llvm/llvm-project/commit/16c925ab5fd3d677792ce6575f81774c64b87cec
Author: Xuan Zhang <144393379+xuanzh-meta at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/MachineOutliner.cpp
M llvm/test/CodeGen/AArch64/machine-outliner-overlap.mir
Log Message:
-----------
[MachineOutliner] Efficient Implementation of MachineOutliner::findCandidates() (#90260)
This reduce the time complexity of the main loop of `findCandidates()`
method from $O(n^2)$ to $O(n \log n)$.
For small $n$, the modification does not regress the build time, but it
helps significantly when $n$ is large.
For one application, this reduces the runtime of the main loop from 120
seconds to 28 seconds.
This is the first commit for an enhanced version of machine outliner --
see
[RFC](https://discourse.llvm.org/t/rfc-enhanced-machine-outliner-part-1-fulllto-part-2-thinlto-nolto-to-come/78732).
Commit: 83de21deb3de6a3b74ede098fefa469cec6bc29e
https://github.com/llvm/llvm-project/commit/83de21deb3de6a3b74ede098fefa469cec6bc29e
Author: Luke Lau <luke at igalia.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Log Message:
-----------
Revert "[RISCV] Store only VNInfo val no in VSETVLIInfo. NFC"
As noted in
https://github.com/llvm/llvm-project/pull/93796#issuecomment-2142752336,
a better way to teach RISCVInsertVSETVLI to work without LiveIntervals
is to set VNInfo to nullptr and teach the various methods to handle it.
We should try that approach first, so we no longer need this pre-commit
patch.
This reverts commit 4b4d36654d8056546b177b3d04c352ba0b16d7ea.
Commit: 987e1b2ae3348a86b3f625119184a0f431c33bc7
https://github.com/llvm/llvm-project/commit/987e1b2ae3348a86b3f625119184a0f431c33bc7
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/lib/Headers/cuda_wrappers/algorithm
A clang/test/Headers/cuda_wrapper_algorithm.cu
Log Message:
-----------
[CUDA][HIP] Fix std::min in wrapper header (#93976)
The std::min behaves like 'a<b?a:b', which does not match
libstdc++/libc++ behavior like 'b<a?b:a' when input is NaN.
Make it consistent with libstdc++/libc++.
Fixes: https://github.com/llvm/llvm-project/issues/93962
Fixes: https://github.com/ROCm/HIP/issues/3502
Commit: b41dbe6092fc6f9bdd4cad5c65644593398ae3ab
https://github.com/llvm/llvm-project/commit/b41dbe6092fc6f9bdd4cad5c65644593398ae3ab
Author: zhijian lin <zhijian at ca.ibm.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCInstrP10.td
Log Message:
-----------
[NFC] reorganize the PPCInstrP10.td based on the Predicates (#93835)
reorganize the PPCInstrP10.td based on comment
https://github.com/llvm/llvm-project/pull/92543#discussion_r1610908205
The instructions or patterns defined by same predicates are currently
placed at several different locations , They will be reorganized into
same group based on these predicates in the patch.
Commit: 3315f0a2227b960265b9ed699e1ad33cdc5d3b65
https://github.com/llvm/llvm-project/commit/3315f0a2227b960265b9ed699e1ad33cdc5d3b65
Author: Ilya Biryukov <ibiryukov at google.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/include/clang/Serialization/ASTReader.h
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
Log Message:
-----------
[Serialization] Check for stack exhaustion when reading declarations (#79875)
Particular example that lead to this is a very long chain of
`UsingShadowDecl`s that we hit in our codebase in generated code.
To avoid that, check for stack exhaustion when deserializing the
declaration. At that point, we can point to source location of a
particular declaration that is being deserialized.
Commit: 4023f4e70dc3cb23871cddc9c047874e4c477a51
https://github.com/llvm/llvm-project/commit/4023f4e70dc3cb23871cddc9c047874e4c477a51
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/docs/LangRef.rst
Log Message:
-----------
[LangRef] Remove mention of argmemonly (NFC)
Replace argmemonly readonly with memory(argmem: read).
Commit: 1c9f4d4b6ffff86a681196d0a7e083e3eaeabaeb
https://github.com/llvm/llvm-project/commit/1c9f4d4b6ffff86a681196d0a7e083e3eaeabaeb
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
Log Message:
-----------
[ARM] Avoid reference into modified vector (#93965)
FirstCand is a reference to RepeatedSequenceLocs[0]. However, that
vector is being modified a lot throughout the function, including one
place that reassigns the whole vector. I'm not sure whether this can
really happen in practice, but it doesn't seem unlikely that this could
lead to a use-after-free.
Avoid this by directly using RepeatedSequenceLocs[0] at the start of the
function (as a lot of other places already do) and only creating
FirstCand at the end where no more modifications take place.
Commit: 26ee42a3cf18b7dc65858ccbbc808ce8814691b3
https://github.com/llvm/llvm-project/commit/26ee42a3cf18b7dc65858ccbbc808ce8814691b3
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/test/tools/llvm-reduce/mir/reduce-register-defs.mir
Log Message:
-----------
[llvm-reduce] reduce-register-defs.mir - fix check prefix typo and incomplete codegen line
Noticed while triaging the failures on #93673
Commit: 539dbfcfcf5705cf100999ad2483318192418e21
https://github.com/llvm/llvm-project/commit/539dbfcfcf5705cf100999ad2483318192418e21
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/Runtime/Support.h
M flang/lib/Optimizer/Builder/Runtime/Support.cpp
M flang/lib/Optimizer/Transforms/AssumedRankOpConversion.cpp
A flang/test/Fir/is_assumed_size-codegen.fir
Log Message:
-----------
[flang][fir] add fir.is_assumed_size codegen (#93953)
Lower to IsAssumedSize runtime call in `--fir-assumed-rank-op` pass.
Commit: b448efb8eafef7df2c8d467bbb9cd0fc1e2ea7d5
https://github.com/llvm/llvm-project/commit/b448efb8eafef7df2c8d467bbb9cd0fc1e2ea7d5
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M offload/DeviceRTL/include/Utils.h
M offload/DeviceRTL/src/Mapping.cpp
M offload/DeviceRTL/src/Utils.cpp
A offload/test/offloading/ompx_bare_shfl_down_sync.cpp
M openmp/runtime/src/include/ompx.h.var
Log Message:
-----------
Reapply "[OpenMP][OMPX] Add shfl_down_sync (#93311)" (#94139)
Commit: 4cd115ca34231f1892b75b0fe12776b964a55ba2
https://github.com/llvm/llvm-project/commit/4cd115ca34231f1892b75b0fe12776b964a55ba2
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M offload/test/offloading/ompx_bare_ballot_sync.c
Log Message:
-----------
[OpenMP][OMPX] Fix ompx_ballot_sync test (#94140)
The current test is not really correct because the mask is set to
0xffffffff
even if it is on an AMDGPU whose wavefront size is 64. Besides,
`__AMDGCN_WAVEFRONT_SIZE` is not set on host compilation so the
verification
happens to work.
Commit: d1aa9bac3c8ecc30fcc5d4d80a1f70c729aec909
https://github.com/llvm/llvm-project/commit/d1aa9bac3c8ecc30fcc5d4d80a1f70c729aec909
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/include/flang/Lower/ConvertExprToHLFIR.h
M flang/lib/Evaluate/check-expression.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Optimizer/Builder/HLFIRTools.cpp
A flang/test/Lower/HLFIR/select-rank.f90
Log Message:
-----------
[flang] lower select rank (#93967)
Lower select rank according to [assumed-rank lowering design
doc](https://github.com/llvm/llvm-project/blob/main/flang/docs/AssumedRank.md).
The construct is lowered using fir.box_rank and fir.select_case
operation and, for the non pointer/allocatable case, a
fir.is_assumed_size + conditional branch before the select_case to deal
with the assumed-size case.
The way the CFG logic is generated, apart from the extra conditional
branch for assumed-size, is similar to what is done for SELECT CASE
lowering, hence the sharing of the construct level visitor.
For the CFG parts. The main difference is that we need to keep track of
the selector to cook it and map it inside the cases (hence the new
members of the ConstructContext).
The only TODOs left are to deal with the RANK(*) case for polymorphic
entities and PDTs. I will do the polymorphic case in a distinct patch,
this patch has enough content.
Fortran::evaluate::IsSimplyContiguous change is needed to avoid generating
copy-in/copy-out runtime calls when passing the RANK(*) associating
entity to some implicit interface.
Commit: 9862080b1cbf685c0d462b29596e3f7206d24aa2
https://github.com/llvm/llvm-project/commit/9862080b1cbf685c0d462b29596e3f7206d24aa2
Author: Nishith Kumar M Shah <nishithshah2211 at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/include/clang/Lex/DependencyDirectivesScanner.h
M clang/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h
M clang/lib/Frontend/FrontendActions.cpp
M clang/lib/Lex/DependencyDirectivesScanner.cpp
M clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
M clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
M clang/unittests/Lex/DependencyDirectivesScannerTest.cpp
M clang/unittests/Lex/PPDependencyDirectivesTest.cpp
Log Message:
-----------
Pass LangOpts from CompilerInstance to DependencyScanningWorker (#93753)
This commit fixes https://github.com/llvm/llvm-project/issues/88896 by
passing LangOpts from the CompilerInstance to
DependencyScanningWorker so that the original LangOpts are
preserved/respected.
This makes for more accurate parsing/lexing when certain language
versions or features specific to versions are to be used.
Commit: ac4cca3cb1186aa1e3e6a94c70cc3d34a91a67c3
https://github.com/llvm/llvm-project/commit/ac4cca3cb1186aa1e3e6a94c70cc3d34a91a67c3
Author: A. Jiang <de34 at live.cn>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M libcxx/include/locale
M libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_double.pass.cpp
M libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_float.pass.cpp
M libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long_double.pass.cpp
Log Message:
-----------
[libc++] Fix regression about parsing leading decimal points (#93989)
PR #77948 mistakenly rejected floating-point representation with a
leading decimal point, e.g. ".5".
This PR fixes the regression mentioned in
https://github.com/llvm/llvm-project/pull/77948#issuecomment-2141740346.
Commit: 6b7b05b55926f1fecae34312a89c4271def7aa3a
https://github.com/llvm/llvm-project/commit/6b7b05b55926f1fecae34312a89c4271def7aa3a
Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M lldb/packages/Python/lldbsuite/test/builders/builder.py
M lldb/packages/Python/lldbsuite/test/configuration.py
M lldb/packages/Python/lldbsuite/test/dotest.py
M lldb/packages/Python/lldbsuite/test/dotest_args.py
Log Message:
-----------
[lldb][test] Add --make argument to dotest.py (#93883)
This argument allows to specify the path to make which is used by
LLDB API tests to compile test programs.
It might come in handy for setting up cross-platform remote runs of API tests on Windows host.
It can be used to override the make path of LLDB API tests using `LLDB_TEST_USER_ARGS` argument:
```
cmake ...
-DLLDB_TEST_USER_ARGS="...;--make;C:\\Path\\to\\make.exe;..."
...
```
Commit: aad7874000faed77836e2bbd5c72af8776636f89
https://github.com/llvm/llvm-project/commit/aad7874000faed77836e2bbd5c72af8776636f89
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M lldb/test/API/functionalities/breakpoint/breakpoint_set_restart/TestBreakpointSetRestart.py
Log Message:
-----------
[lldb][test][NFC] TestBreakpointSetRestart.py: split up assertion to determine which check specifically fails in CI
This test consistently fails on the public macOS ASAN CI (and isn't
reproducible locally):
```
FAIL: test_breakpoint_set_restart_dwarf
(TestBreakpointSetRestart.BreakpointSetRestart)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py",
line 1756, in test_method
return attrvalue(self)
File
"/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py",
line 150, in wrapper
return func(*args, **kwargs)
File
"/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_set_restart/TestBreakpointSetRestart.py",
line 36, in test_breakpoint_set_restart
self.assertTrue(bp.IsValid() and bp.GetNumLocations() == 1,
VALID_BREAKPOINT)
AssertionError: False is not true : Got a valid breakpoint
```
>From this error we're not quite sure what about the breakpoint here is
the problem.
This patch splits up the assertion to narrow down the issue.
Commit: af9a247990b10e2be4f3d691c1a967b46acdf7f8
https://github.com/llvm/llvm-project/commit/af9a247990b10e2be4f3d691c1a967b46acdf7f8
Author: Paul T Robinson <paul.robinson at sony.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/test/Driver/sysroot.c
Log Message:
-----------
[Driver] Mark a test UNSUPPORTED to get the bots green again (#94253)
After #94055 this test failed on ARM/AArch64-hosted Windows, but it's
not clear why.
Commit: ffec63b6a54f719976443cc17b6226030be17c52
https://github.com/llvm/llvm-project/commit/ffec63b6a54f719976443cc17b6226030be17c52
Author: Raul Tambre <raul at tambre.ee>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/cmake/modules/LLVMExternalProjectUtils.cmake
Log Message:
-----------
[cmake] Pass -resource-dir to external projects as CMAKE_<LANG>_FLAGS_INIT instead of as a force override (#87330)
It's useful to use toolchain files for configuring runtimes builds.
Setting `CMAKE_<LANG>_FLAGS` is however forceful and precludes initialization from the _INIT variant meant to be set by toolchains.
The toolchain file still needs to append instead of just setting and be idempotent (`include_guard()`), but this way at least a special toolchain to account for LLVM won't be required.
Commit: f873dd2c8d539378a5118da595ea3fba17ee2e73
https://github.com/llvm/llvm-project/commit/f873dd2c8d539378a5118da595ea3fba17ee2e73
Author: Eisuke Kawashima <e.kawaschima+github at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M utils/bazel/configure.bzl
Log Message:
-----------
fix(utils/**.py): fix comparison to None (#94022)
from PEP8
(https://peps.python.org/pep-0008/#programming-recommendations):
> Comparisons to singletons like None should always be done with is or
is not, never the equality operators.
Co-authored-by: Eisuke Kawashima <e-kwsm at users.noreply.github.com>
Commit: 2f8675a0266263d01d124cb11defdc6c902b651c
https://github.com/llvm/llvm-project/commit/2f8675a0266263d01d124cb11defdc6c902b651c
Author: Paul T Robinson <paul.robinson at sony.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/test/Driver/offloading-interoperability.c
Log Message:
-----------
[Driver] Fix a CUDA test (#94258)
See #94000 for a report of a downstream failure, this fixes it.
Commit: ebd62273782456d2adad29eb5ba8b8fbf609904e
https://github.com/llvm/llvm-project/commit/ebd62273782456d2adad29eb5ba8b8fbf609904e
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/runtimes/CMakeLists.txt
Log Message:
-----------
[LLVM] Fix runtimes builds not triggering without LLVM_ENABLE_RUNTIMES (#94225)
Summary:
The runtimes builds create separate projects. Normally these use
`LLVM_EANBLE_RUNTIMES`. However, we can also use `LLVM_RUNTIME_TARGETS`
and `RUNTIMES_<target>_LLVM_ENABLE_RUNTIMES` to enable them. Currently,
if `LLVM_RUNTIME_TARGETS` isn't specified this is completely ignored.
This patch fixes the behavior so we can only specify the cross-compiling
versions.
Commit: 10ecdee651c47bd5a52b3039722601721372995b
https://github.com/llvm/llvm-project/commit/10ecdee651c47bd5a52b3039722601721372995b
Author: Jordan Rupprecht <rupprecht at google.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M utils/bazel/configure.bzl
Log Message:
-----------
Revert "fix(utils/**.py): fix comparison to None" (#94261)
Reverts llvm/llvm-project#94022
This is not actually valid bazel syntax. Buildbot failure: https://buildkite.com/llvm-project/upstream-bazel/builds/99430#018fdf11-6865-4d5d-be8e-7bfab59e3cd8
Commit: cb7690af09b95bb944baf1b5a9ffb18f86c12130
https://github.com/llvm/llvm-project/commit/cb7690af09b95bb944baf1b5a9ffb18f86c12130
Author: Jeremy Day <jeremy at thebrowser.company>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/Errc.h
M llvm/include/llvm/Support/WindowsError.h
M llvm/lib/Support/CMakeLists.txt
M llvm/lib/Support/ErrorHandling.cpp
M llvm/lib/Support/Windows/Path.inc
Log Message:
-----------
[Support] Handle delete_pending case for Windows fs::status (#90655)
If a delete is pending on the file queried for status, a misleading
`permission_denied` error code will be returned (this is the correct
mapping of the error set by GetFileAttributesW). By querying the
underlying NTSTATUS code via ntdll's RtlGetLastNtStatus, this case can
be disambiguated. If this underlying error code indicates a pending
delete, fs::status will return a new `pending_delete` error code to be
handled by callers
Fixes #89137
Commit: 0232e2b15b8d3b2653f069a5683ccd29a5d29caf
https://github.com/llvm/llvm-project/commit/0232e2b15b8d3b2653f069a5683ccd29a5d29caf
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
A lldb/test/requirements.txt
Log Message:
-----------
[lldb] Add Python requirements.txt for test suite (#94220)
This means that CI won't have to hardcode these.
Commit: 4f326468bdf9f63e562ac446210084a2997adbbd
https://github.com/llvm/llvm-project/commit/4f326468bdf9f63e562ac446210084a2997adbbd
Author: Abinaya Saravanan <quic_asaravan at quicinc.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
A llvm/test/Transforms/InstCombine/StoreToNull-DbgCheck.ll
Log Message:
-----------
[InstCombine] Retain debug information on store to null instruction (#86105)
Call InsertNewInstWith() instead of InsertNewInstBefore() when creating
"store to null" instruction
Commit: 3e228c8eaf03a5a688f2fce29aab4e2003b5d8d4
https://github.com/llvm/llvm-project/commit/3e228c8eaf03a5a688f2fce29aab4e2003b5d8d4
Author: Justin Fargnoli <jfargnoli at nvidia.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M .github/new-prs-labeler.yml
Log Message:
-----------
[GitHub] Add NVPTX backend labeler (#94080)
Add patterns to label NVPTX backend related changes automatically.
Commit: a088c61d5c409ec0b8994340866d5864ba913516
https://github.com/llvm/llvm-project/commit/a088c61d5c409ec0b8994340866d5864ba913516
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVMergeRegionExitTargets.cpp
Log Message:
-----------
[SPIRV] Fix -Wunused-but-set-variable after #92531
Commit: 2bc098b8aba089fe8328b3b8a8b6b6816cd5a908
https://github.com/llvm/llvm-project/commit/2bc098b8aba089fe8328b3b8a8b6b6816cd5a908
Author: Raul Tambre <raul at tambre.ee>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaCast.cpp
M clang/test/Sema/warn-cast-function-type-strict.c
M clang/test/Sema/warn-cast-function-type.c
M clang/test/SemaCXX/warn-cast-function-type-strict.cpp
M clang/test/SemaCXX/warn-cast-function-type.cpp
Log Message:
-----------
[clang][Sema] Don't issue -Wcast-function-type-mismatch for enums with a matching underlying type (#87793)
Enums are passed as their underlying integral type so they're ABI compatible if the size matches.
Useful with C APIs that pass user-controlled values to callbacks that can be made type safe by using enumerations (e.g. GStreamer).
Discovered internally in some code after 999d4f840777bf8de26d45947192aa0728edc0fb.
Commit: 2ee7f49addb60f100929d10ad24ebf1743943b0d
https://github.com/llvm/llvm-project/commit/2ee7f49addb60f100929d10ad24ebf1743943b0d
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M libc/cmake/modules/prepare_libc_gpu_build.cmake
Log Message:
-----------
[libc] Correctly find LLVM binaries when built in projects mode for GPU
Summary:
You can build the GPU libc support in projects mode. There were some
issues with it not finding the correct binaries. This patch fixes that.
Commit: 25b037bdb5f722baa7f292c89770d24132edc082
https://github.com/llvm/llvm-project/commit/25b037bdb5f722baa7f292c89770d24132edc082
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/__support/FPUtil/NearestIntegerOperations.h
M libc/src/math/CMakeLists.txt
A libc/src/math/ceilf16.h
A libc/src/math/floorf16.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/ceilf16.cpp
A libc/src/math/generic/floorf16.cpp
A libc/src/math/generic/roundevenf16.cpp
A libc/src/math/generic/roundf16.cpp
A libc/src/math/generic/truncf16.cpp
A libc/src/math/roundevenf16.h
A libc/src/math/roundf16.h
A libc/src/math/truncf16.h
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/CeilTest.h
M libc/test/src/math/smoke/FloorTest.h
M libc/test/src/math/smoke/RoundEvenTest.h
M libc/test/src/math/smoke/RoundTest.h
M libc/test/src/math/smoke/TruncTest.h
A libc/test/src/math/smoke/ceilf16_test.cpp
A libc/test/src/math/smoke/floorf16_test.cpp
A libc/test/src/math/smoke/roundevenf16_test.cpp
A libc/test/src/math/smoke/roundf16_test.cpp
A libc/test/src/math/smoke/truncf16_test.cpp
Log Message:
-----------
[libc][math][c23] Add {ceil,floor,round,roundeven,trunc}f16 C23 math functions (#94001)
Commit: e44cea597cd835af9cbbd154f812aea3151af18b
https://github.com/llvm/llvm-project/commit/e44cea597cd835af9cbbd154f812aea3151af18b
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M libc/src/__support/CPP/algorithm.h
M libc/test/src/__support/CPP/CMakeLists.txt
A libc/test/src/__support/CPP/algorithm_test.cpp
Log Message:
-----------
[libc][CPP] Add all_of and find_if_not to algorithm.h (#94058)
This is needed for the allocator implementation for malloc.
Commit: 68f4e46c432ea2f1f8d33c6dc9345f6e2afeec4a
https://github.com/llvm/llvm-project/commit/68f4e46c432ea2f1f8d33c6dc9345f6e2afeec4a
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/docs/Extensions.md
M flang/include/flang/Common/Fortran-features.h
M flang/lib/Parser/expr-parsers.cpp
A flang/test/Evaluate/signed-mult-opd.f90
Log Message:
-----------
[flang] Adjust "doubled operator" expression extension (#93353)
Most Fortran compilers accept "doubled operators" as a language
extension. This is the use of a unary '+' or '-' operator that is not
the first unparenthesized operator in an expression, as in 'x*-y'.
This compiler has implemented this extension, but in a way that's
different from other compilers' behavior. I interpreted the unary
'+'/'-' as a unary operator in the sense of C/C++, giving it a higher
priority than any binary (dyadic) operator.
All other compilers with this extension, however, give a unary '+'/'-' a
lower precedence than exponentiation ('**'), a binary operator that
C/C++ lacks. And this interpretation makes more sense for Fortran,
anyway, where the standard conforming '-x**y' must mean '-(x**y)'
already.
This patch makes 'x*-y**z' parse as 'x*-(y**z)', not 'x*(-y)**z)', and
adds a test to ensure that it does.
Commit: 0525c201b657395bfdf27d2a473c4c0adf753a21
https://github.com/llvm/llvm-project/commit/0525c201b657395bfdf27d2a473c4c0adf753a21
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/lib/Parser/preprocessor.cpp
M flang/lib/Parser/prescan.cpp
M flang/lib/Parser/prescan.h
A flang/test/Preprocessing/args.h
A flang/test/Preprocessing/include-args.F90
Log Message:
-----------
[flang][preprocessing] Handle #include after & line continuation (#93382)
Some applications like to use a CPP-style #include directive to pull in
a common list of arguments, dummy arguments, or COMMON block variables
after a free-form & line continuation marker. This works naturally with
compilers that run an actual cpp pass over the input before doing
anything specific to Fortran, but it's a case that I missed with this
integrated preprocessor.
Commit: 07b330132c0b7fd5b3ada1890840d0dbbd8cdb8e
https://github.com/llvm/llvm-project/commit/07b330132c0b7fd5b3ada1890840d0dbbd8cdb8e
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/induction-costs.ll
M llvm/test/Transforms/LoopVectorize/AArch64/loop-vectorization-factors.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-chains.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence.ll
M llvm/test/Transforms/LoopVectorize/scalable-first-order-recurrence.ll
M llvm/test/Transforms/LoopVectorize/vplan-printing.ll
Log Message:
-----------
[VPlan] Model FOR extract of exit value in VPlan. (#93395)
This patch introduces a new ExtractFromEnd VPInstruction opcode to
extract the value of a FOR for users outside the loop (i.e. in the
scalar loop's exits). This moves the first part of fixing first order
recurrences to VPlan, and removes some additional code to patch up
live-outs, which is now handled automatically.
The majority of test changes is due to changes in the order of which the
extracts are generated now. As we are now using VPTransformState to
generate the extracts, we may be able to re-use existing extracts in the
loop body in some cases. For scalable vectors, in some cases we now have
to compute the runtime VF twice, as each extract is now independent, but
those should be trivial to clean up for later passes (and in line with
other places in the code that also liberally re-compute runtime VFs).
PR: https://github.com/llvm/llvm-project/pull/93395
Commit: cf3b37c92ffad21086a0741ac682c87abea9a5d6
https://github.com/llvm/llvm-project/commit/cf3b37c92ffad21086a0741ac682c87abea9a5d6
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M libc/cmake/modules/LLVMLibCLibraryRules.cmake
Log Message:
-----------
[libc] Add GPU utility dependencies if present
Summary:
These tools need to be built before we can do the library creation
stage. If they are generated in the same build then this is not
guaranteed so we should add explicit dependencies.
Commit: c49bc1a3b782e38e4ffb5b274f1e7775af6c2315
https://github.com/llvm/llvm-project/commit/c49bc1a3b782e38e4ffb5b274f1e7775af6c2315
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
Log Message:
-----------
BitcodeWriter: ensure `Buffer` is heap allocated
PR #92983 accidentally changed the buffer allocation in
`llvm::WriteBitcodeToFile` to be allocated on the stack, which is
problematic given it's a large-ish buffer (256K)
Commit: 572b4e70cbfca2c60ac13a9483ddb0e0fbd8ec43
https://github.com/llvm/llvm-project/commit/572b4e70cbfca2c60ac13a9483ddb0e0fbd8ec43
Author: Michael Jones <michaelrj at google.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[libc][bazel] simplify type_traits with glob (#94079)
Previously the `type_traits` target manually listed all of the type
traits files. This patch replaces that with a glob to make the build
simpler.
Commit: 13f6797826faedb910c7e8b1dfc1f134f3cef342
https://github.com/llvm/llvm-project/commit/13f6797826faedb910c7e8b1dfc1f134f3cef342
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Handle AttributeMacros in parseRecord() (#94189)
Fixes #94184.
Commit: c7593344f48e64af29fd9512852f24f9ebe5a4c6
https://github.com/llvm/llvm-project/commit/c7593344f48e64af29fd9512852f24f9ebe5a4c6
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/include/flang/Evaluate/tools.h
M flang/lib/Evaluate/intrinsics.cpp
M flang/lib/Evaluate/tools.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Semantics/data-to-inits.cpp
M flang/lib/Semantics/expression.cpp
M flang/test/Semantics/resolve09.f90
Log Message:
-----------
[flang] Better error message for RANK(NULL()) (#93577)
We currently complain that the argument may not be a procedure, which is
confusing. Distinguish the NULL() case from other error cases (which are
indeed procedures). And clean up the utility predicates used for these
tests -- the current IsProcedure() is really just a test for a procedure
designator.
Commit: e783d5dbb6d61579bf941d310160a0ae259c7bec
https://github.com/llvm/llvm-project/commit/e783d5dbb6d61579bf941d310160a0ae259c7bec
Author: Paul T Robinson <paul.robinson at sony.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/test/Driver/sysroot.c
Log Message:
-----------
[Driver] Fix the sysroot.c test properly (#94276)
A DEFAULT_SYSROOT interfered with the test, apparently. See #94055.
Commit: c93312a63db8e8c87b14e1828c5a4d1eac5aac20
https://github.com/llvm/llvm-project/commit/c93312a63db8e8c87b14e1828c5a4d1eac5aac20
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/lib/Semantics/resolve-names-utils.cpp
M flang/test/Semantics/resolve118.f90
Log Message:
-----------
[flang] Handle USE-associated symbols in module procedure interface b… (#93616)
…lock specification expressions
A subroutine or function interface block is of course allowed to
USE-associate symbols into its scope and use them for specification
expressions. This usage works, but crashes the module file output
generator. Fix.
Fixes https://github.com/llvm/llvm-project/issues/93413.
Commit: 6ef632ad36c522b03cf03c7dd76184a35d3b7f41
https://github.com/llvm/llvm-project/commit/6ef632ad36c522b03cf03c7dd76184a35d3b7f41
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
R bolt/test/Inputs/lsda.ldscript
M bolt/test/lsda-section-name.cpp
Log Message:
-----------
[BOLT,test] Fix lsda.ldscript when MAXPAGESIZE>=0x10000
The intention is to check a section name different from
.gcc_except_table . Rather than using a linker script, use llvm-objcopy
--rename-section instead.
Commit: 037a0528bbb4606388fb0805c34a413abbedea13
https://github.com/llvm/llvm-project/commit/037a0528bbb4606388fb0805c34a413abbedea13
Author: Jake Egan <Jake.egan at ibm.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge.pass.cpp
M libcxx/test/support/count_new.h
Log Message:
-----------
[libc++] Handle 0 size case for testing support operator new (#93834)
The return of malloc is implementation defined when the requested size
is 0. On platforms (such as AIX) that return a null pointer for 0 size,
operator new will throw a bad_alloc exception. operator new should
return a non null pointer for 0 size instead.
Commit: 74f4034f7106ef52a6a597dec14352e127e6fe0f
https://github.com/llvm/llvm-project/commit/74f4034f7106ef52a6a597dec14352e127e6fe0f
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/lib/Semantics/resolve-names.cpp
M flang/test/Semantics/stmt-func01.f90
Log Message:
-----------
[flang] Fix type inheritance for statement function dummy arguments (#93624)
The code that used existing type declarations (if any) for the names
being used as dummy arguments in a statement function definition would
apply those types only if they came from EntityDetails symbols. This
broke a case in which the type was being inherited from a Cray pointee.
Fixes https://github.com/llvm/llvm-project/issues/93484.
Commit: 930c2d911102a264df953024c6ebab48219dcc02
https://github.com/llvm/llvm-project/commit/930c2d911102a264df953024c6ebab48219dcc02
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/include/flang/Parser/parse-tree.h
M flang/lib/Parser/program-parsers.cpp
M flang/lib/Semantics/check-call.cpp
M flang/lib/Semantics/expression.cpp
M flang/test/Semantics/call40.f90
Log Message:
-----------
[flang] Adjust %REF/%VAL semantic checking (#93718)
In accordance with other compilers, don't require that a %REF() actual
argument be a modifiable variable. And move the %REF/%VAL semantic
checks to Semantics/check-call.cpp, where one would expect to find them.
Fixes https://github.com/llvm/llvm-project/issues/93489.
Commit: 5cb00785aa56d4acc97b083df5305d2959f6bd4a
https://github.com/llvm/llvm-project/commit/5cb00785aa56d4acc97b083df5305d2959f6bd4a
Author: William Junda Huang <williamjhuang at google.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/CodeGen/CGDebugInfo.h
M clang/lib/CodeGen/CGExprScalar.cpp
A clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp
Log Message:
-----------
Add option to generate additional debug info for expression dereferencing pointer to pointers. (#94100)
This is another attempt to land #81545, which was reverted.
Fixed test case by adding a target triple so that clang generates the same IR for all platforms
Commit: b61d7ec16bf5c740346e87b8b03315e38fe31725
https://github.com/llvm/llvm-project/commit/b61d7ec16bf5c740346e87b8b03315e38fe31725
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/docs/Extensions.md
M flang/include/flang/Common/Fortran-features.h
M flang/lib/Semantics/check-declarations.cpp
M flang/test/Semantics/call10.f90
M flang/test/Semantics/elemental01.f90
Log Message:
-----------
[flang] Relax constraints on PURE/ELEMENTAL dummy arguments (#93748)
The standard requires that dummy arguments to PURE functions be
INTENT(IN) or VALUE, but PURE subroutines are allowed to have modifiable
dummy arguments. This makes it impossible to declare atomic operations
as PURE functions, which consequently makes such atomic operations
ineligible for use in parallel constructs and DO CONCURRENT.
This patch downgrades this error to a warning by default, which can be
seen with -pedantic & al. and remain an error with -Werror.
Commit: c2d061da7e17e61d4a0efad261e5280793c1b7ce
https://github.com/llvm/llvm-project/commit/c2d061da7e17e61d4a0efad261e5280793c1b7ce
Author: royitaqi <royitaqi at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M lldb/include/lldb/API/SBCommandInterpreter.h
M lldb/include/lldb/Interpreter/CommandInterpreter.h
M lldb/include/lldb/Target/Statistics.h
M lldb/source/Commands/CommandObjectStats.cpp
M lldb/source/Commands/Options.td
M lldb/source/Interpreter/CommandInterpreter.cpp
M lldb/source/Target/Statistics.cpp
M lldb/test/API/commands/statistics/basic/TestStats.py
M lldb/test/API/python_api/interpreter/TestCommandInterpreterAPI.py
Log Message:
-----------
Re-merge `A few updates around "transcript"` (#92843) (#94067)
Problematic PR: https://github.com/llvm/llvm-project/pull/92843
Reverted by: https://github.com/llvm/llvm-project/pull/94088
The first PR added a test which fails in Linux builds (see the last few
comments there).
This PR contains all the changes in the first PR, plus the fix to the
said test.
---------
Co-authored-by: Roy Shi <royshi at meta.com>
Commit: caa0a2695e6caa4da088f6f933ac45839d425656
https://github.com/llvm/llvm-project/commit/caa0a2695e6caa4da088f6f933ac45839d425656
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/docs/Extensions.md
M flang/include/flang/Common/Fortran-features.h
M flang/lib/Semantics/check-call.cpp
M flang/test/Semantics/call03.f90
M flang/test/Semantics/call30.f90
Log Message:
-----------
[flang] Add warnings about undefinable actuals for ASYNCHRONOUS/VOLAT… (#93851)
…ILE dummies
There's language in the standard (F'2023 15.5.2.5 p21) disallowing an
actual argument with a vector subscript from associating with a dummy
argument with either the ASYNCHRONOUS or VOLATILE attributes. This is a
bug in the standard, as (1) these attributes are actually relevant only
over the scope of the called procedure, (2) they can be applied in
nested scopes (internal subprograms and BLOCK) within the called
procedure, and (3) can be implicit within the called procedure and its
nested scopes in the case of ASYNCHRONOUS as a side effect of using a
dummy argument in an asynchronous data transfer statement. So issue a
warning. This new warning about undefinable actual arguments being
associated with ASYNCHRONOUS and VOLATILE dummy arguments subsumes an
existing warning about passing a constant actual to a VOLATILE dummy.
Resolves https://github.com/llvm/llvm-project/issues/93600.
Commit: ea2c88f51297eb0ef8d352d650bb71b0292d9898
https://github.com/llvm/llvm-project/commit/ea2c88f51297eb0ef8d352d650bb71b0292d9898
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/lib/Evaluate/intrinsics.cpp
M flang/test/Semantics/null01.f90
M flang/test/Semantics/resolve09.f90
Log Message:
-----------
[flang] Improve handling of NULL() arguments to intrinsics (#93866)
Some intrinsics (extends_type_of, same_type_as) can accept a NULL actual
argument so long as it has a MOLD=. Some intrinsics that are marked in
the intrinsics table as accepting a NULL actual argument already should
only do so if it has a MOLD=. Distinguish table entries that accept a
NULL() only with a MOLD= from the few others that allow a bare NULL()
and update tests.
Fixes https://github.com/llvm/llvm-project/issues/93845.
Commit: a8f2d185b252e9a4b5676d29194d78eaf14ed219
https://github.com/llvm/llvm-project/commit/a8f2d185b252e9a4b5676d29194d78eaf14ed219
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/runtime/external-unit.cpp
M flang/runtime/file.cpp
M flang/runtime/io-api-common.h
M flang/runtime/pseudo-unit.cpp
M flang/runtime/unit.h
Log Message:
-----------
[flang][runtime] Resilient opening of anonymous unit (#93876)
When an I/O statement references a unit number that has not been
explicitly opened or predefined, the I/O runtime support library opens a
local "fort.N" file. If this fails, the program crashes, even when the
I/O statement has IOSTAT= or IOMSG= or ERR= control list items. Connect
the dots to enable resilience in these cases.
Commit: a4bc44ad675a36c43eec9e08d5360f97ca97c389
https://github.com/llvm/llvm-project/commit/a4bc44ad675a36c43eec9e08d5360f97ca97c389
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/lib/Semantics/resolve-labels.cpp
M flang/test/Semantics/label05.f90
Log Message:
-----------
[flang] Disallow branches into SELECT TYPE/RANK cases (#93893)
Ensure that a branch cannot be made into a case of a SELECT TYPE or
SELECT RANK construct.
Commit: e31bfc040a240c4ba8b24df840290d6f31b83bfc
https://github.com/llvm/llvm-project/commit/e31bfc040a240c4ba8b24df840290d6f31b83bfc
Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/docs/AMDGPUUsage.rst
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
M llvm/test/CodeGen/AMDGPU/lower-kernargs.ll
M llvm/test/CodeGen/AMDGPU/lower-module-lds-indirect-extern-uses-max-reachable-alignment.ll
M llvm/test/CodeGen/AMDGPU/preload-kernargs-IR-lowering.ll
Log Message:
-----------
[AMDGPU] Strengthen preload intrinsics to noundef and nonnull (#92801)
The various preloaded registers (workitem IDs, workgroup IDs, and
various implicit pointers) always have a finite, invariant, well-defined
value throughout a well-defined program.
In cases where the compiler infers or the user declares that some
implicit input will not be used (ex. via amdgcn-no-workitem-id-y), the
behavior of the entire program is undefined, since that misdeclaration
can cause arbitrary other preloaded-register intrinsics to access the
wrong register. This case is not expected to arise in practice, but
could occur when the no implicit argument attributes were not cleared
correctly in the presence of external functions, indrect calls, or other
means of executing un-analyzable code. Failure to detect that case would
be a bug in the attributor.
This commit updates the documentation to reflect this long-standing
reality.
Then, on the basis that all implicit arguments are defined in all
correct programs, the intrinsics that return those values are
annototated with `noundef``. Some implicit pointer arguments gain a
`nonnull`, but the kernel argument segment pointer or implicit argument
pointers don't necessarily have this property.
This will prevent spurious calls to `freeze` in front-end optimizations
that destroy user-provided ranges on built-in IDs.
(While I'm here, this commit adds a test for `noundef` on kernel
arguments which is currently unimplemented)
Commit: bd815a54899d7fa83f6fb49d86c417e1e2e4d2ef
https://github.com/llvm/llvm-project/commit/bd815a54899d7fa83f6fb49d86c417e1e2e4d2ef
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/runtime/pseudo-unit.cpp
Log Message:
-----------
[flang][runtime][CUDA] Fix build error (#94281)
I broke the build, and now I'm fixing it.
Commit: d03cd05f077f92e87f354aca4cdea599b678b64e
https://github.com/llvm/llvm-project/commit/d03cd05f077f92e87f354aca4cdea599b678b64e
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/lib/Semantics/resolve-names.cpp
M flang/test/Semantics/bind-c02.f90
A flang/test/Semantics/bind-c16.f90
Log Message:
-----------
[flang] Propagate the BIND(C) attribute into procedures from their in… (#93994)
…terfaces
In "PROCEDURE(iface) :: proc", if "iface" has the BIND(C) attribute,
then so should proc, as if the declaration had been "PROCEDURE(iface),
BIND(C) :: proc". This had been working in name resolution only in cases
where "iface" had been declared before "proc".
Note that if "iface" is declared with an empty binding name
("BIND(C,NAME='')"), "proc" does not inherit that property. Use an
explicit "BIND(C,NAME='')" on the "PROCEDURE" statement for that.
This behavior is not clearly defined in the standard, but seems to match
what some other Fortran compilers do.
Commit: 0b4af3a5f4de61552000e4a864f63f2002cc525b
https://github.com/llvm/llvm-project/commit/0b4af3a5f4de61552000e4a864f63f2002cc525b
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
A llvm/test/CodeGen/AArch64/lower-ptrmask-arm64_32.ll
Log Message:
-----------
[llvm][SelectionDAG] Relax llvm.ptrmask's size check on arm64_32 (#94125)
Since pointers in memory, as well as the index type are both 32 bits,
but in registers pointers are 64 bits, the mask generated by
llvm.ptrmask needs to be zero-extended.
Fixes: #94075
Fixes: rdar://125263567
Commit: 4ee950e75d40e335adb2d470b532d7375733f665
https://github.com/llvm/llvm-project/commit/4ee950e75d40e335adb2d470b532d7375733f665
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/lower-ptrmask-arm64_32.ll
M llvm/utils/UpdateTestChecks/asm.py
Log Message:
-----------
update_test_checks: support more arm64_32-apple-watchos triples
Having the version in `get_run_handlers` meant that a RUN line without the
version in it would not match, and therefore UTC would generate a useless
catch-all check of the form:
```
;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
; CHECK: {{.*}}
```
This patch also adds `arm64_32` as a base-level run handler, and assumes it
will always apply to a darwin target (which is currently the case for all
arm64_32-* triples I see in tree currently).
Commit: ae1596a31a6fac2f4daafe1e256d4a5cf3742617
https://github.com/llvm/llvm-project/commit/ae1596a31a6fac2f4daafe1e256d4a5cf3742617
Author: antangelo <contact at antangelo.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/lib/Basic/Targets/AArch64.cpp
M clang/test/CodeGen/preserve-call-conv.c
M llvm/docs/LangRef.rst
M llvm/lib/Target/AArch64/AArch64CallingConvention.h
M llvm/lib/Target/AArch64/AArch64CallingConvention.td
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
A llvm/test/CodeGen/AArch64/dynamic-regmask-preserve-none.ll
M llvm/test/CodeGen/AArch64/preserve.ll
A llvm/test/CodeGen/AArch64/preserve_nonecc.ll
A llvm/test/CodeGen/AArch64/preserve_nonecc_call.ll
A llvm/test/CodeGen/AArch64/preserve_nonecc_musttail.ll
A llvm/test/CodeGen/AArch64/preserve_nonecc_swift.ll
Log Message:
-----------
[AArch64] Support preserve_none calling convention (#91046)
Adds AArch64 support for the `preserve_none` calling convention.
Registers X0-X7, X9-X15 and X19-X28 are caller save, and can be used to
pass arguments. Delegates to AAPCS for all other registers.
Closes #87423
Commit: ccaccc3367aa3d892ca31eb11d4bcea4979bead1
https://github.com/llvm/llvm-project/commit/ccaccc3367aa3d892ca31eb11d4bcea4979bead1
Author: smanna12 <soumi.manna at intel.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
Log Message:
-----------
[Clang] Prevent null pointer dereference in target attribute mangling (#94228)
This patch adds assertions in the getMangledNameImpl() function to
ensure that the expected target attributes (TargetAttr,
TargetVersionAttr, and TargetClonesAttr) are not null before they are
passed to appendAttributeMangling() to prevent potential null pointer
dereferences and improve the robustness of the attribute mangling
process.
This assertion will trigger a runtime error with a clear message in
debug build if any of the expected attributes are missing, facilitating
early and easier diagnosis and debugging of such issues related to
attribute mangling.
Commit: 30e983c40c71390c6c9506a8e4f914b85d009c3d
https://github.com/llvm/llvm-project/commit/30e983c40c71390c6c9506a8e4f914b85d009c3d
Author: Michael Kruse <llvm-project at meinersbur.de>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M lld/CMakeLists.txt
M lld/cmake/modules/AddLLD.cmake
M lld/test/CMakeLists.txt
M lld/unittests/CMakeLists.txt
Log Message:
-----------
[lld] Revise IDE folder structure (#89747)
Update the folder titles for targets in the monorepository that have not
seen taken care of for some time. These are the folders that targets are
organized in Visual Studio and XCode
(`set_property(TARGET <target> PROPERTY FOLDER "<title>")`)
when using the respective CMake's IDE generator.
* Ensure that every target is in a folder
* Use a folder hierarchy with each LLVM subproject as a top-level folder
* Use consistent folder names between subprojects
* When using target-creating functions from AddLLVM.cmake, automatically
deduce the folder. This reduces the number of
`set_property`/`set_target_property`, but are still necessary when
`add_custom_target`, `add_executable`, `add_library`, etc. are used. A
LLVM_SUBPROJECT_TITLE definition is used for that in each subproject's
root CMakeLists.txt.
Commit: 43847c1de60ddba26d93c138ad81aa0d3b3c8c31
https://github.com/llvm/llvm-project/commit/43847c1de60ddba26d93c138ad81aa0d3b3c8c31
Author: Namish Kukreja <namikukr at quicinc.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
A llvm/test/MC/AArch64/arm64ec-disallowed-regs.s
Log Message:
-----------
[ARM64EC] Warn on using disallowed registers in assembly src. (#93618)
ARM64EC designates a set of disallowed registers, because a mapping does
not exist from them to x64. The MSVC assembler (armasm64) has a warning
for this.
A test is also included as part of the patch.
See the list of disallowed registers below:
https://learn.microsoft.com/en-us/cpp/build/arm64ec-windows-abi-conventions?view=msvc-170#register-mapping
Commit: 0ea1271ee13c8c3d765904dba16dd27b91584d66
https://github.com/llvm/llvm-project/commit/0ea1271ee13c8c3d765904dba16dd27b91584d66
Author: Han-Chung Wang <hanhan0912 at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Vector/TransformOps/VectorTransformOps.td
M mlir/include/mlir/Dialect/Vector/Transforms/LoweringPatterns.h
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVMPass.cpp
M mlir/lib/Dialect/Vector/TransformOps/VectorTransformOps.cpp
M mlir/lib/Dialect/Vector/Transforms/CMakeLists.txt
A mlir/lib/Dialect/Vector/Transforms/LowerVectorBitCast.cpp
M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
A mlir/test/Dialect/Vector/vector-bitcast-lowering-transforms.mlir
Log Message:
-----------
[mlir][vector] Add support for unrolling vector.bitcast ops. (#94064)
The revision unrolls vector.bitcast like:
```mlir
%0 = vector.bitcast %arg0 : vector<2x4xi32> to vector<2x2xi64>
```
to
```mlir
%cst = arith.constant dense<0> : vector<2x2xi64>
%0 = vector.extract %arg0[0] : vector<4xi32> from vector<2x4xi32>
%1 = vector.bitcast %0 : vector<4xi32> to vector<2xi64>
%2 = vector.insert %1, %cst [0] : vector<2xi64> into vector<2x2xi64>
%3 = vector.extract %arg0[1] : vector<4xi32> from vector<2x4xi32>
%4 = vector.bitcast %3 : vector<4xi32> to vector<2xi64>
%5 = vector.insert %4, %2 [1] : vector<2xi64> into vector<2x2xi64>
```
The scalable vector is not supported because of the limitation of
`vector::createUnrollIterator`. The targetRank could mismatch the final
rank during unrolling; there is no direct way to query what the final
rank is from the object.
Commit: 7652a59407018c057cdc1163c9f64b5b6f0954eb
https://github.com/llvm/llvm-project/commit/7652a59407018c057cdc1163c9f64b5b6f0954eb
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/include/llvm/CodeGen/SelectionDAGISel.h
M llvm/include/llvm/CodeGen/StackProtector.h
M llvm/include/llvm/Passes/CodeGenPassBuilder.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
M llvm/lib/Target/AArch64/AArch64.h
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
M llvm/lib/Target/AMDGPU/AMDGPU.h
M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPassBuilder.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
M llvm/lib/Target/AMDGPU/AMDGPUPassRegistry.def
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/R600ISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/ARC/ARC.h
M llvm/lib/Target/ARC/ARCISelDAGToDAG.cpp
M llvm/lib/Target/ARC/ARCTargetMachine.cpp
M llvm/lib/Target/ARM/ARM.h
M llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
M llvm/lib/Target/ARM/ARMTargetMachine.cpp
M llvm/lib/Target/AVR/AVR.h
M llvm/lib/Target/AVR/AVRISelDAGToDAG.cpp
M llvm/lib/Target/AVR/AVRTargetMachine.cpp
M llvm/lib/Target/BPF/BPF.h
M llvm/lib/Target/BPF/BPFISelDAGToDAG.cpp
M llvm/lib/Target/BPF/BPFTargetMachine.cpp
M llvm/lib/Target/CSKY/CSKY.h
M llvm/lib/Target/CSKY/CSKYISelDAGToDAG.cpp
M llvm/lib/Target/CSKY/CSKYTargetMachine.cpp
M llvm/lib/Target/Hexagon/Hexagon.h
M llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
M llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.h
M llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
M llvm/lib/Target/Lanai/Lanai.h
M llvm/lib/Target/Lanai/LanaiISelDAGToDAG.cpp
M llvm/lib/Target/Lanai/LanaiTargetMachine.cpp
M llvm/lib/Target/LoongArch/LoongArch.h
M llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.cpp
M llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.h
M llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
M llvm/lib/Target/M68k/M68k.h
M llvm/lib/Target/M68k/M68kISelDAGToDAG.cpp
M llvm/lib/Target/M68k/M68kTargetMachine.cpp
M llvm/lib/Target/MSP430/MSP430.h
M llvm/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
M llvm/lib/Target/MSP430/MSP430TargetMachine.cpp
M llvm/lib/Target/Mips/Mips.h
M llvm/lib/Target/Mips/Mips16ISelDAGToDAG.cpp
M llvm/lib/Target/Mips/Mips16ISelDAGToDAG.h
M llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp
M llvm/lib/Target/Mips/MipsISelDAGToDAG.h
M llvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
M llvm/lib/Target/Mips/MipsSEISelDAGToDAG.h
M llvm/lib/Target/Mips/MipsTargetMachine.cpp
M llvm/lib/Target/NVPTX/NVPTX.h
M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.h
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
M llvm/lib/Target/PowerPC/PPC.h
M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
M llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
M llvm/lib/Target/RISCV/RISCV.h
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
M llvm/lib/Target/Sparc/Sparc.h
M llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp
M llvm/lib/Target/Sparc/SparcTargetMachine.cpp
M llvm/lib/Target/SystemZ/SystemZ.h
M llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
M llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
M llvm/lib/Target/VE/VE.h
M llvm/lib/Target/VE/VEISelDAGToDAG.cpp
M llvm/lib/Target/VE/VETargetMachine.cpp
M llvm/lib/Target/WebAssembly/WebAssembly.h
M llvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
M llvm/lib/Target/X86/X86.h
M llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
A llvm/lib/Target/X86/X86ISelDAGToDAG.h
A llvm/lib/Target/X86/X86PassRegistry.def
M llvm/lib/Target/X86/X86TargetMachine.cpp
M llvm/lib/Target/X86/X86TargetMachine.h
M llvm/lib/Target/XCore/XCore.h
M llvm/lib/Target/XCore/XCoreISelDAGToDAG.cpp
M llvm/lib/Target/XCore/XCoreTargetMachine.cpp
M llvm/lib/Target/Xtensa/XtensaISelDAGToDAG.cpp
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f32-no-rtn.ll
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f32-rtn.ll
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.f64.ll
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.v2f16-no-rtn.ll
M llvm/test/CodeGen/AMDGPU/buffer-atomic-fadd.v2f16-rtn.ll
M llvm/test/CodeGen/AMDGPU/buffer-intrinsics-mmo-offsets.ll
M llvm/test/CodeGen/AMDGPU/bug-v4f64-subvector.ll
M llvm/test/CodeGen/AMDGPU/carryout-selection.ll
M llvm/test/CodeGen/AMDGPU/dagcombine-fma-crash.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-abs.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-bitreverse.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-ctlz-cttz.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-ctpop.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-min-max.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-negsubinlineconst.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-not-isel.ll
M llvm/test/CodeGen/AMDGPU/divergence-driven-xnor.ll
M llvm/test/CodeGen/AMDGPU/extract_subvector_vec4_vec3.ll
M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.f32.ll
M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.f64.ll
M llvm/test/CodeGen/AMDGPU/fneg-fabs-divergence-driven-isel.ll
M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.v2f16-no-rtn.ll
M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.v2f16-rtn.ll
M llvm/test/CodeGen/AMDGPU/img-nouse-adjust.ll
M llvm/test/CodeGen/AMDGPU/implicit-def-muse.ll
M llvm/test/CodeGen/AMDGPU/legalize-fp-load-invariant.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.make.buffer.rsrc.ll
M llvm/test/CodeGen/X86/apx/no-rex2-general.ll
M llvm/test/CodeGen/X86/apx/no-rex2-pseudo-amx.ll
M llvm/test/CodeGen/X86/apx/no-rex2-pseudo-x87.ll
M llvm/test/CodeGen/X86/apx/no-rex2-special.ll
M llvm/test/tools/llc/new-pm/start-stop.ll
Log Message:
-----------
Reland "[NewPM][CodeGen] Port selection dag isel to new pass manager" (#94149)
- Fix build with `EXPENSIVE_CHECKS`
- Remove unused `PassName::ID` to resolve warning
- Mark `~SelectionDAGISel` virtual so AArch64 backend can work properly
Commit: fde6a37113150b49c5d4ba2cc5f342ffadf8e59c
https://github.com/llvm/llvm-project/commit/fde6a37113150b49c5d4ba2cc5f342ffadf8e59c
Author: pcc <peter at pcc.me.uk>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/libcxx/src/BUILD.gn
M llvm/utils/gn/secondary/libcxxabi/src/BUILD.gn
M llvm/utils/gn/secondary/libunwind/src/BUILD.gn
Log Message:
-----------
gn build: Use -fvisibility-global-new-delete=force-hidden to build libcxx/libcxxabi/libunwind.
-fvisibility-global-new-delete-hidden is deprecated and clang was warning
about it on every build command. These libraries are always built using
a stage2 compiler, so we can use the new build flag unconditionally.
Reviewers: aeubanks
Reviewed By: aeubanks
Pull Request: https://github.com/llvm/llvm-project/pull/88459
Commit: 8ec1161fe66def9af8973c8c073be7d043cc411c
https://github.com/llvm/llvm-project/commit/8ec1161fe66def9af8973c8c073be7d043cc411c
Author: Rahman Lavaee <rahmanl at google.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/BasicBlockPathCloning.cpp
M llvm/test/CodeGen/X86/basic-block-sections-cloning-invalid.ll
Log Message:
-----------
[Codegen, BasicBlockSections] Avoid cloning blocks which have their machine block address taken. (#94296)
These blocks usually show up in the form of branches within inline
assembly. Since it's hard to rewire them, we fully omit paths with such
blocks from path cloning.
Commit: fbdd94847814c926f2767e656ba501b4ca7dfaae
https://github.com/llvm/llvm-project/commit/fbdd94847814c926f2767e656ba501b4ca7dfaae
Author: Lu Weining <luweining at loongson.cn>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M lld/test/ELF/loongarch-relax-emit-relocs.s
M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp
M llvm/test/MC/LoongArch/Relocations/relax-addsub.s
M llvm/test/MC/LoongArch/Relocations/relax-align.s
Log Message:
-----------
[LoongArch] Use R_LARCH_ALIGN without symbol as much as possible (#93775)
To support the third parameter of the alignment directive, R_LARCH_ALIGN
relocations need a non-zero symbol index.
In many cases we don't need the third parameter and can set the symbol
index to 0.
This patch will remove a lot of .Lla-relax-align* symbols and mitigate
the size regression due to
https://github.com/llvm/llvm-project/pull/72962.
Co-authored-by: Jinyang He <hejinyang at loongson.cn>
Co-authored-by: Weining Lu <luweining at loongson.cn>
Commit: cac5d0e938da83ef627a6a8e3f39a47d54516626
https://github.com/llvm/llvm-project/commit/cac5d0e938da83ef627a6a8e3f39a47d54516626
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Log Message:
-----------
[CodeGen] Fix compiler conditional combination (#94297)
Previously this assumed that `LLVM_ENABLE_ABI_BREAKING_CHECKS` would
always be enabled in this case, if it's not `TTI` does not exist.
Introduced in 7652a59407018c057cdc1163c9f64b5b6f0954eb
Commit: 9b0e1c2ca25be58ea29b318d3515e6171f25f0ea
https://github.com/llvm/llvm-project/commit/9b0e1c2ca25be58ea29b318d3515e6171f25f0ea
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
A llvm/include/llvm/CodeGen/FinalizeISel.h
M llvm/include/llvm/Passes/CodeGenPassBuilder.h
M llvm/include/llvm/Passes/MachinePassRegistry.def
M llvm/lib/CodeGen/FinalizeISel.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/test/CodeGen/AMDGPU/add_sub_u64_pseudos.mir
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wave.reduce.umax.mir
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wave.reduce.umin.mir
M llvm/test/CodeGen/Mips/call-site-info-output.ll
M llvm/test/CodeGen/RISCV/rvv/tail-agnostic-impdef-copy.mir
M llvm/test/CodeGen/RISCV/select-optimize-multiple.mir
M llvm/test/CodeGen/SystemZ/debuginstr-02.mir
M llvm/test/CodeGen/SystemZ/multiselect-02.mir
M llvm/test/CodeGen/Thumb2/mve-tp-loop.mir
M llvm/test/CodeGen/X86/call-site-info-output.ll
M llvm/test/CodeGen/X86/sjlj-shadow-stack-liveness.mir
Log Message:
-----------
[NewPM][CodeGen] Port `finalize-isel` to new pass manager (#94214)
It should preserve more analysis results, but it happens immediately
after instruction selection.
Commit: c7b7875e1e3e27995f0c8ec53f7ded305dc9d730
https://github.com/llvm/llvm-project/commit/c7b7875e1e3e27995f0c8ec53f7ded305dc9d730
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M bolt/test/lsda-section-name.cpp
Log Message:
-----------
Fix lsda-section-name adding back RUN line incorrectly removed in 6ef632ad36c522b0 (#94301)
Commit: 4d20f495df1968ab51aebe9696923724ee80576d
https://github.com/llvm/llvm-project/commit/4d20f495df1968ab51aebe9696923724ee80576d
Author: Kai Luo <lkail at cn.ibm.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCInstrInfo.td
M llvm/test/CodeGen/PowerPC/aix-tls-gd-longlong.ll
M llvm/test/CodeGen/PowerPC/aix-tls-le-xcoff-reloc-large32.ll
M llvm/test/CodeGen/PowerPC/aix-tls-xcoff-reloc-large.ll
Log Message:
-----------
[PowerPC] Remove DAG matching in ADDIStocHA (#93905)
The MI is generated in `PPCDAGToDAGISel::Select` so the match pattern isn't used and can be removed.
Commit: 85e4e9d2150d62be578065cc22a37c2c7613ce88
https://github.com/llvm/llvm-project/commit/85e4e9d2150d62be578065cc22a37c2c7613ce88
Author: Jakub Kuderski <jakub at nod-labs.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
M mlir/test/Dialect/Arith/invalid.mlir
M mlir/test/IR/invalid-ops.mlir
Log Message:
-----------
[mlir][arith] Further clean up select op definition (#93358)
* Improve the condition type requirement description ('scalar' ->
signless i1), to match what is actually verified.
* Use the `I1` type predicate instead of `AnyBooleanTypeMatch`.
Related discussion:
https://github.com/llvm/llvm-project/pull/93351#issuecomment-2130453233.
Commit: 392ca64893dc77f823cb4734238f1ba1d271b997
https://github.com/llvm/llvm-project/commit/392ca64893dc77f823cb4734238f1ba1d271b997
Author: Jordan Rupprecht <rupprecht at google.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M libc/test/src/fenv/getenv_and_setenv_test.cpp
Log Message:
-----------
[libc][test] Fix TEST->TEST_F typo in getenv_and_setenv_test.cpp (#94304)
This manifests as `AddressSanitizer: stack-use-after-return` w/o this
change. The `~CheckFEnv()` method of checking fenv seems to only work
for test fixtures.
Commit: d0413438ec4d846211094b0652cf6c0f3c9408bb
https://github.com/llvm/llvm-project/commit/d0413438ec4d846211094b0652cf6c0f3c9408bb
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M flang/lib/Optimizer/Builder/FIRBuilder.cpp
M flang/test/Lower/OpenMP/delayed-privatization-allocatable-firstprivate.f90
M mlir/include/mlir/Dialect/OpenACC/CMakeLists.txt
M mlir/include/mlir/Dialect/OpenACC/OpenACC.h
R mlir/include/mlir/Dialect/OpenACC/OpenACCInterfaces.h
M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
R mlir/include/mlir/Dialect/OpenACC/OpenACCOpsInterfaces.td
M mlir/include/mlir/Dialect/OpenACCMPCommon/Interfaces/CMakeLists.txt
A mlir/include/mlir/Dialect/OpenACCMPCommon/Interfaces/OpenACCMPOpsInterfaces.h
A mlir/include/mlir/Dialect/OpenACCMPCommon/Interfaces/OpenACCMPOpsInterfaces.td
M mlir/include/mlir/Dialect/OpenMP/OpenMPDialect.h
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/lib/Dialect/OpenACC/IR/CMakeLists.txt
M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
M mlir/lib/Dialect/OpenACC/Transforms/CMakeLists.txt
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[flang][OpenMP] Handle `omp.private` in `FirOpBuilder::getAllocaBlock()` (#93927)
Fixes a crash uncovered by
[pr89651](https://github.com/llvm/llvm-test-suite/blob/main/Fortran/gfortran/regression/gomp/pr89651.f90)
in the test suite.
Fixes a crash caused by missing handling of `omp.private` ops in
`FirOpBuilder::getAllocaBlock()`.
Commit: f4d705871a073259c220b80026614d46d939cb5b
https://github.com/llvm/llvm-project/commit/f4d705871a073259c220b80026614d46d939cb5b
Author: Teresa Johnson <tejohnson at google.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
Log Message:
-----------
[MemProf] Determine stack id references in BitcodeWriter without sorting (#94285)
A cycle profile of a thin link showed a lot of time spent in sort called
from the BitcodeWriter, which was being used to compute the unique
references to stack ids in the summaries emitted for each backend in a
distributed thinlto build. We were also frequently invoking lower_bound
to locate stack id indices in the resulting vector when writing out the
referencing memprof records.
Change this to use a map to uniquify the references, and to hold the
index of the corresponding stack id in the StackIds vector, which is
now populated at the same time.
This reduced the time of a large thin link by about 10%.
Commit: acfc79db3d2cda8417b8bfac6224ba74d0c2ece4
https://github.com/llvm/llvm-project/commit/acfc79db3d2cda8417b8bfac6224ba74d0c2ece4
Author: Fangcao Wang <wangfangcao1 at huawei.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/sve2-vscale-sinking.ll
Log Message:
-----------
[AArch64] Sink llvm.vscale.i32 into blocks for better isel (#93465)
Sink vscale calls as well when indvars is not widen
(-indvars-widen-indvars=false).
Commit: e9dd6b2a5332a2540849dc8366b00b17ab134c3f
https://github.com/llvm/llvm-project/commit/e9dd6b2a5332a2540849dc8366b00b17ab134c3f
Author: Yeting Kuo <46629943+yetingk at users.noreply.github.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
A llvm/test/Instrumentation/AddressSanitizer/asan-struct-scalable.ll
Log Message:
-----------
[Asan] Teach FunctionStackPoisoner to filter out struct type with scalable vector type. (#93406)
FunctionStackPoisoner does not serve for `AllocaInst` with scalable
vector type, but it does not filter out struct type with scalable vector
introduced by c8eb535aed0368c20b25fe05bca563ab38dd91e9.
Commit: d48d108bc66adb31185ee023e1eb0ccdda2065c1
https://github.com/llvm/llvm-project/commit/d48d108bc66adb31185ee023e1eb0ccdda2065c1
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/include/llvm/Transforms/IPO/Attributor.h
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/test/Transforms/Attributor/nofpclass-arithmetic-fence.ll
M llvm/test/Transforms/Attributor/nofpclass-canonicalize.ll
M llvm/test/Transforms/Attributor/nofpclass-ceil.ll
M llvm/test/Transforms/Attributor/nofpclass-copysign.ll
M llvm/test/Transforms/Attributor/nofpclass-exp.ll
M llvm/test/Transforms/Attributor/nofpclass-fdiv.ll
M llvm/test/Transforms/Attributor/nofpclass-floor.ll
M llvm/test/Transforms/Attributor/nofpclass-fma.ll
M llvm/test/Transforms/Attributor/nofpclass-fpext.ll
M llvm/test/Transforms/Attributor/nofpclass-fptrunc.ll
M llvm/test/Transforms/Attributor/nofpclass-frem.ll
M llvm/test/Transforms/Attributor/nofpclass-frexp.ll
M llvm/test/Transforms/Attributor/nofpclass-implied-by-fcmp.ll
M llvm/test/Transforms/Attributor/nofpclass-ldexp.ll
M llvm/test/Transforms/Attributor/nofpclass-log.ll
M llvm/test/Transforms/Attributor/nofpclass-minimum-maximum.ll
M llvm/test/Transforms/Attributor/nofpclass-minnum-maxnum.ll
M llvm/test/Transforms/Attributor/nofpclass-nan-fmul.ll
M llvm/test/Transforms/Attributor/nofpclass-nearbyint.ll
M llvm/test/Transforms/Attributor/nofpclass-powi.ll
M llvm/test/Transforms/Attributor/nofpclass-rint.ll
M llvm/test/Transforms/Attributor/nofpclass-round.ll
M llvm/test/Transforms/Attributor/nofpclass-roundeven.ll
M llvm/test/Transforms/Attributor/nofpclass-select.ll
M llvm/test/Transforms/Attributor/nofpclass-sin-cos.ll
M llvm/test/Transforms/Attributor/nofpclass-sqrt.ll
M llvm/test/Transforms/Attributor/nofpclass-trunc.ll
M llvm/test/Transforms/Attributor/nofpclass-uses-to-defs.ll
M llvm/test/Transforms/Attributor/nofpclass.ll
M llvm/test/Transforms/Attributor/nofree.ll
M llvm/test/Transforms/Attributor/nosync.ll
M llvm/test/Transforms/Attributor/willreturn.ll
Log Message:
-----------
[Attributor][FIX] Replace AANoFPClass MBEC propagation (#91030)
The old use of must-be-executed-context (MBEC) did propagate
through calls even if that was not allowed. We now only propagate from
call site arguments. If there are calls/intrinsics that allows
propagation, we need to add them explicitly.
Fixes: https://github.com/llvm/llvm-project/issues/78507
---------
Co-authored-by: Matt Arsenault <arsenm2 at gmail.com>
Commit: 2fa059195bb54f422cc996db96ac549888268eae
https://github.com/llvm/llvm-project/commit/2fa059195bb54f422cc996db96ac549888268eae
Author: Teresa Johnson <tejohnson at google.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
Log Message:
-----------
[MemProf] Use remove_if to erase MapVector elements in bulk (#94269)
A cycle profile showed that we were spending a lot of time invoking
MapVector::erase. According to
https://llvm.org/docs/ProgrammersManual.html#llvm-adt-mapvector-h,
erasing elements one at a time is very inefficient for MapVector and it
is better to use remove_if.
This change resulted in around 7% time reduction on a large thin link.
While here remove an unused function that also invokes erase on
MapVectors.
Commit: fa72a0237a688d71647bf001bf9020e6090f6121
https://github.com/llvm/llvm-project/commit/fa72a0237a688d71647bf001bf9020e6090f6121
Author: klensy <klensy at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M polly/test/CodeGen/alias_metadata_too_many_arrays.ll
Log Message:
-----------
[test] Fix filecheck annotation typos (#91854)
Similar to https://github.com/rust-lang/rust/pull/125007
Commit: 4973ad47181710d2a69292018cad7bc6f95a6c1a
https://github.com/llvm/llvm-project/commit/4973ad47181710d2a69292018cad7bc6f95a6c1a
Author: Teresa Johnson <tejohnson at google.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
Log Message:
-----------
[MemProf][NFC] Use range for loop (#94308)
With the change in 2fa059195bb54f422cc996db96ac549888268eae we can now
use a range for loop.
Commit: 8ea59ec6077e85c457b27b406a679ab9d5827387
https://github.com/llvm/llvm-project/commit/8ea59ec6077e85c457b27b406a679ab9d5827387
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M bolt/include/bolt/Core/BinarySection.h
M bolt/include/bolt/Rewrite/MetadataManager.h
M bolt/include/bolt/Rewrite/MetadataRewriter.h
M bolt/include/bolt/Rewrite/MetadataRewriters.h
M bolt/include/bolt/Rewrite/RewriteInstance.h
A bolt/lib/Rewrite/BuildIDRewriter.cpp
M bolt/lib/Rewrite/CMakeLists.txt
M bolt/lib/Rewrite/MetadataManager.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
Log Message:
-----------
[BOLT] Use rewriter interface for updating binary build ID (#94273)
Move functionality for patching build ID into a separate rewriter class
and change the way we do the patching. Support build ID in different
note sections in order to update the build ID in the Linux kernel binary
which puts in into ".notes" section instead of ".note.gnu.build-id".
Commit: 3d361b225fe89ce1d8c93639f27d689082bd8dad
https://github.com/llvm/llvm-project/commit/3d361b225fe89ce1d8c93639f27d689082bd8dad
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/DeclBase.h
M clang/lib/Parse/ParseExprCXX.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaLambda.cpp
M clang/lib/Sema/TreeTransform.h
M clang/test/SemaCXX/lambda-unevaluated.cpp
Log Message:
-----------
[Clang][Sema] Tweak tryCaptureVariable for unevaluated lambdas (#93206)
This patch picks up #78598 with the hope that we can address such
crashes in `tryCaptureVariable()` for unevaluated lambdas.
In addition to `tryCaptureVariable()`, this also contains several other
fixes on e.g. lambda parsing/dependencies.
Fixes #63845
Fixes #67260
Fixes #69307
Fixes #88081
Fixes #89496
Fixes #90669
Fixes #91633
Commit: 4c416a904c5aeb2590ea8336094f593b5cf7e484
https://github.com/llvm/llvm-project/commit/4c416a904c5aeb2590ea8336094f593b5cf7e484
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/bolt/lib/Rewrite/BUILD.gn
Log Message:
-----------
[gn build] Port 8ea59ec6077e
Commit: e3c9c82ce8098bc04f4f8186a462392a50cabdae
https://github.com/llvm/llvm-project/commit/e3c9c82ce8098bc04f4f8186a462392a50cabdae
Author: Han-Chung Wang <hanhan0912 at gmail.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M mlir/lib/Dialect/MemRef/Transforms/EmulateNarrowType.cpp
M mlir/lib/Dialect/MemRef/Utils/MemRefUtils.cpp
M mlir/test/Dialect/MemRef/emulate-narrow-type.mlir
Log Message:
-----------
[mlir][MemRef] Extend memref.subview sub-byte type emulation support. (#94045)
In some cases (see https://github.com/iree-org/iree/issues/16285),
`memref.subview` ops can't be folded into transfer ops and sub-byte type
emulation fails. This issue has been blocking a few things, including
the enablement of vector flattening transformations
(https://github.com/iree-org/iree/pull/16456). This PR extends the
existing sub-byte type emulation support of `memref.subview` to handle
multi-dimensional subviews with dynamic offsets and addresses the issues
for some of the `memref.subview` cases that can't be folded.
Co-authored-by: Diego Caballero <diegocaballero at google.com>
Commit: 22dcdcc7e7f6516273e3fc2da01dba138088f8ee
https://github.com/llvm/llvm-project/commit/22dcdcc7e7f6516273e3fc2da01dba138088f8ee
Author: Christian Sigg <csigg at google.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][bazel] Fix BUILD after d0413438ec4d846211094b0652cf6c0f3c9408bb.
Commit: 4ab73549ffc365e9b1965247c2f769705b368c09
https://github.com/llvm/llvm-project/commit/4ab73549ffc365e9b1965247c2f769705b368c09
Author: Christian Sigg <csigg at google.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][bazel] Really fix BUILD after d0413438ec4d846211094b0652cf6c0f3c9408bb.
Commit: 46672c1dc3272adda838caa87bf3fb17411986fb
https://github.com/llvm/llvm-project/commit/46672c1dc3272adda838caa87bf3fb17411986fb
Author: Tina Jung <tinamaria.jung at amd.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M mlir/lib/Conversion/ArithToEmitC/ArithToEmitC.cpp
M mlir/test/Conversion/ArithToEmitC/arith-to-emitc-unsupported.mlir
M mlir/test/Conversion/ArithToEmitC/arith-to-emitc.mlir
Log Message:
-----------
[mlir][emitc] arith.cmpf to EmitC conversion (#93671)
Convert all arith.cmpf on floats (not vectors/tensors thereof) to EmitC.
---------
Co-authored-by: Matthias Gehre <matthias.gehre at amd.com>
Co-authored-by: Jose Lopes <jose.lopes at amd.com>
Commit: deab451e7a7f2dff42097049274637052c87eabd
https://github.com/llvm/llvm-project/commit/deab451e7a7f2dff42097049274637052c87eabd
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M lld/test/COFF/lto-weak-undefined.ll
M llvm/bindings/ocaml/llvm/llvm.ml
M llvm/bindings/ocaml/llvm/llvm.mli
M llvm/bindings/ocaml/llvm/llvm_ocaml.c
M llvm/docs/LangRef.rst
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm-c/Core.h
M llvm/include/llvm/IR/Constants.h
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
M llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
M llvm/lib/IR/AsmWriter.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/lib/IR/Constants.cpp
M llvm/lib/IR/ConstantsContext.h
M llvm/lib/IR/Core.cpp
M llvm/lib/Target/NVPTX/NVPTXGenericToNVVM.cpp
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/lib/Transforms/Utils/FunctionComparator.cpp
M llvm/test/Analysis/Lint/noop-cast-expr-no-pointer.ll
M llvm/test/Assembler/2007-01-05-Cmp-ConstExpr.ll
M llvm/test/Assembler/ConstantExprFold.ll
R llvm/test/Assembler/vector-cmp.ll
M llvm/test/Bindings/OCaml/core.ml
M llvm/test/Bitcode/vscale-round-trip.ll
M llvm/test/CodeGen/AArch64/addsub.ll
M llvm/test/CodeGen/AArch64/arm64-codegen-prepare-extload.ll
M llvm/test/CodeGen/AArch64/dag-combine-concat-vectors.ll
M llvm/test/CodeGen/AArch64/windows-extern-weak.ll
M llvm/test/CodeGen/AMDGPU/force-alwaysinline-lds-global-address.ll
M llvm/test/CodeGen/AMDGPU/loop_break.ll
M llvm/test/CodeGen/ARM/Windows/mov32t-bundling.ll
M llvm/test/CodeGen/Generic/pr33094.ll
M llvm/test/CodeGen/Hexagon/stack-align-reset.ll
M llvm/test/CodeGen/Mips/mirparser/target-flags-pic-mxgot-tls.mir
M llvm/test/CodeGen/Mips/mirparser/target-flags-static-tls.mir
M llvm/test/CodeGen/PowerPC/2008-05-01-ppc_fp128.ll
M llvm/test/CodeGen/PowerPC/ifcvt-forked-bug-2016-08-08.ll
M llvm/test/CodeGen/PowerPC/pr24636.ll
M llvm/test/CodeGen/PowerPC/pr3711_widen_bit.ll
M llvm/test/CodeGen/PowerPC/pr46923.ll
M llvm/test/CodeGen/PowerPC/toc-load-sched-bug.ll
M llvm/test/CodeGen/WebAssembly/add-prototypes.ll
M llvm/test/CodeGen/WebAssembly/fast-isel-noreg.ll
M llvm/test/CodeGen/X86/2008-09-19-RegAllocBug.ll
M llvm/test/CodeGen/X86/address-type-promotion-constantexpr.ll
M llvm/test/CodeGen/X86/codegen-prepare-extload.ll
M llvm/test/CodeGen/X86/codegen-prepare-replacephi2.mir
M llvm/test/CodeGen/X86/extern_weak.ll
M llvm/test/CodeGen/X86/fast-isel-expect.ll
M llvm/test/CodeGen/X86/no-plt.ll
M llvm/test/CodeGen/X86/pr44749.ll
M llvm/test/CodeGen/X86/undef-label.ll
M llvm/test/ExecutionEngine/MCJIT/test-constantexpr.ll
M llvm/test/Feature/const_pv.ll
M llvm/test/Instrumentation/DataFlowSanitizer/extern_weak.ll
M llvm/test/Other/constant-fold-gep.ll
M llvm/test/Transforms/Attributor/value-simplify.ll
M llvm/test/Transforms/CorrelatedValuePropagation/2010-09-26-MergeConstantRange.ll
M llvm/test/Transforms/CorrelatedValuePropagation/select.ll
M llvm/test/Transforms/GVN/PRE/pre-load-dbg.ll
M llvm/test/Transforms/GlobalDCE/complex-constantexpr.ll
M llvm/test/Transforms/GlobalOpt/cleanup-pointer-root-users-other-constexpr.ll
M llvm/test/Transforms/GlobalOpt/constantfold-initializers.ll
M llvm/test/Transforms/GlobalOpt/dead-constant-user.ll
M llvm/test/Transforms/GlobalOpt/pr61674.ll
M llvm/test/Transforms/IndVarSimplify/pr45835.ll
M llvm/test/Transforms/InferAddressSpaces/AMDGPU/infer-address-space.ll
M llvm/test/Transforms/Inline/always-inline.ll
M llvm/test/Transforms/Inline/last-callsite.ll
M llvm/test/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll
M llvm/test/Transforms/InstCombine/2008-05-18-FoldIntToPtr.ll
M llvm/test/Transforms/InstCombine/2010-03-03-ExtElim.ll
M llvm/test/Transforms/InstCombine/2012-3-15-or-xor-constant.ll
M llvm/test/Transforms/InstCombine/binop-select-cast-of-select-cond.ll
M llvm/test/Transforms/InstCombine/cast.ll
M llvm/test/Transforms/InstCombine/constant-fold-compare.ll
M llvm/test/Transforms/InstCombine/constant-fold-iteration.ll
M llvm/test/Transforms/InstCombine/fold-bin-operand.ll
M llvm/test/Transforms/InstCombine/icmp-bitcast-glob.ll
M llvm/test/Transforms/InstCombine/icmp-mul.ll
M llvm/test/Transforms/InstCombine/mul-inseltpoison.ll
M llvm/test/Transforms/InstCombine/mul.ll
M llvm/test/Transforms/InstCombine/not-add.ll
M llvm/test/Transforms/InstCombine/phi-select-constant.ll
M llvm/test/Transforms/InstCombine/pr20678.ll
M llvm/test/Transforms/InstCombine/pr28725.ll
M llvm/test/Transforms/InstCombine/pr32686.ll
M llvm/test/Transforms/InstCombine/pr33453.ll
M llvm/test/Transforms/InstCombine/pr35515.ll
M llvm/test/Transforms/InstCombine/pr38677.ll
M llvm/test/Transforms/InstCombine/pr83947.ll
M llvm/test/Transforms/InstCombine/rem.ll
M llvm/test/Transforms/InstCombine/select-and-or.ll
M llvm/test/Transforms/InstCombine/select-safe-transforms.ll
M llvm/test/Transforms/InstCombine/select.ll
M llvm/test/Transforms/InstCombine/shift-amount-reassociation-in-bittest.ll
M llvm/test/Transforms/InstCombine/vec_demanded_elts-inseltpoison.ll
M llvm/test/Transforms/InstCombine/vec_demanded_elts.ll
M llvm/test/Transforms/InstSimplify/ConstProp/constant-expr.ll
M llvm/test/Transforms/InstSimplify/pr28725.ll
M llvm/test/Transforms/LowerTypeTests/function-weak.ll
M llvm/test/Transforms/MergeFunc/constexpr.ll
M llvm/test/Transforms/OpenMP/value-simplify-openmp-opt.ll
M llvm/test/Transforms/SCCP/ip-ranges-select.ll
M llvm/test/Transforms/SCCP/undef-resolve.ll
M llvm/test/Transforms/SLPVectorizer/X86/phi3.ll
M llvm/test/Transforms/SimplifyCFG/2009-05-12-externweak.ll
R llvm/test/Transforms/SimplifyCFG/phi-to-select-constexpr-icmp.ll
M llvm/test/Transforms/StructurizeCFG/invert-constantexpr.ll
M llvm/tools/llvm-diff/lib/DifferenceEngine.cpp
M llvm/unittests/IR/ConstantsTest.cpp
M polly/test/ScopInfo/constant-non-integer-branch-condition.ll
Log Message:
-----------
[IR] Remove support for icmp and fcmp constant expressions (#93038)
Remove support for the icmp and fcmp constant expressions.
This is part of:
https://discourse.llvm.org/t/rfc-remove-most-constant-expressions/63179
As usual, many of the updated tests will no longer test what they were
originally intended to -- this is hard to preserve when constant
expressions get removed, and in many cases just impossible as the
existence of a specific kind of constant expression was the cause of the
issue in the first place.
Commit: 68761a9e05693bd3986e46628e401c80a27e945d
https://github.com/llvm/llvm-project/commit/68761a9e05693bd3986e46628e401c80a27e945d
Author: martinboehme <mboehme at google.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
[clang][nullability] Propagate storage location / value of `++`/`--` operators. (#94217)
To avoid generating unnecessary values, we don't create a new value but
instead
leave it to the specific analysis to do this if desired.
Commit: f4d60e2a744463bc624cbb1b35de5a36eed6aaae
https://github.com/llvm/llvm-project/commit/f4d60e2a744463bc624cbb1b35de5a36eed6aaae
Author: Vladimir Vereschaka <vvereschaka at accesssoftek.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M clang/cmake/caches/CrossWinToARMLinux.cmake
Log Message:
-----------
[CMake] Remove supporting of DEFAULT_SYSROOT for the ARM/Aarch64 cross builds. NFC. (#94300)
Avoid usage DEFAULT_SYSROOT CMake variable to confgiure the ARM/Aarch64
cross platform toolchain builds. Use the Clang configuration files with
proper `--sysroot=` in it instead.
More details could be found here:
https://github.com/llvm/llvm-project/issues/94284
Commit: b7e472ce56dc61ec20cfb41a9d238bab1bc0f021
https://github.com/llvm/llvm-project/commit/b7e472ce56dc61ec20cfb41a9d238bab1bc0f021
Author: Benjamin Chetioui <3920784+bchetioui at users.noreply.github.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][bazel] Fix build after 46672c1dc3272adda838caa87bf3fb17411986fb.
Commit: d8ec452db016f359feeec28994f6560b30b49824
https://github.com/llvm/llvm-project/commit/d8ec452db016f359feeec28994f6560b30b49824
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/include/clang/AST/DeclBase.h
M clang/include/clang/AST/DeclID.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ModuleFile.h
M clang/include/clang/Serialization/ModuleManager.h
M clang/lib/AST/DeclBase.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/ModuleFile.cpp
A clang/test/Modules/no-transitive-decls-change.cppm
Log Message:
-----------
[serialization] no transitive decl change (#92083)
Following of https://github.com/llvm/llvm-project/pull/86912
The motivation of the patch series is that, for a module interface unit
`X`, when the dependent modules of `X` changes, if the changes is not
relevant with `X`, we hope the BMI of `X` won't change. For the specific
patch, we hope if the changes was about irrelevant declaration changes,
we hope the BMI of `X` won't change. **However**, I found the patch
itself is not very useful in practice, since the adding or removing
declarations, will change the state of identifiers and types in most
cases.
That said, for the most simple example,
```
// partA.cppm
export module m:partA;
// partA.v1.cppm
export module m:partA;
export void a() {}
// partB.cppm
export module m:partB;
export void b() {}
// m.cppm
export module m;
export import :partA;
export import :partB;
// onlyUseB;
export module onlyUseB;
import m;
export inline void onluUseB() {
b();
}
```
the BMI of `onlyUseB` will change after we change the implementation of
`partA.cppm` to `partA.v1.cppm`. Since `partA.v1.cppm` introduces new
identifiers and types (the function prototype).
So in this patch, we have to write the tests as:
```
// partA.cppm
export module m:partA;
export int getA() { ... }
export int getA2(int) { ... }
// partA.v1.cppm
export module m:partA;
export int getA() { ... }
export int getA(int) { ... }
export int getA2(int) { ... }
// partB.cppm
export module m:partB;
export void b() {}
// m.cppm
export module m;
export import :partA;
export import :partB;
// onlyUseB;
export module onlyUseB;
import m;
export inline void onluUseB() {
b();
}
```
so that the new introduced declaration `int getA(int)` doesn't introduce
new identifiers and types, then the BMI of `onlyUseB` can keep
unchanged.
While it looks not so great, the patch should be the base of the patch
to erase the transitive change for identifiers and types since I don't
know how can we introduce new types and identifiers without introducing
new declarations. Given how tightly the relationship between
declarations, types and identifiers, I think we can only reach the ideal
state after we made the series for all of the three entties.
The design of the patch is similar to
https://github.com/llvm/llvm-project/pull/86912, which extends the
32-bit DeclID to 64-bit and use the higher bits to store the module file
index and the lower bits to store the Local Decl ID.
A slight difference is that we only use 48 bits to store the new DeclID
since we try to use the higher 16 bits to store the module ID in the
prefix of Decl class. Previously, we use 32 bits to store the module ID
and 32 bits to store the DeclID. I don't want to allocate additional
space so I tried to make the additional space the same as 64 bits. An
potential interesting thing here is about the relationship between the
module ID and the module file index. I feel we can get the module file
index by the module ID. But I didn't prove it or implement it. Since I
want to make the patch itself as small as possible. We can make it in
the future if we want.
Another change in the patch is the new concept Decl Index, which means
the index of the very big array `DeclsLoaded` in ASTReader. Previously,
the index of a loaded declaration is simply the Decl ID minus
PREDEFINED_DECL_NUMs. So there are some places they got used
ambiguously. But this patch tried to split these two concepts.
As https://github.com/llvm/llvm-project/pull/86912 did, the change will
increase the on-disk PCM file sizes. As the declaration ID may be the
most IDs in the PCM file, this can have the biggest impact on the size.
In my experiments, this change will bring 6.6% increase of the on-disk
PCM size. No compile-time performance regression observed. Given the
benefits in the motivation example, I think the cost is worthwhile.
Commit: 6c36bdb6eab1a3de3bce24ee0285c7745b17e407
https://github.com/llvm/llvm-project/commit/6c36bdb6eab1a3de3bce24ee0285c7745b17e407
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M lldb/docs/use/variable.rst
M lldb/include/lldb/API/SBValue.h
Log Message:
-----------
[lldb] Add documentation for the max_children argument (#94192)
Commit: eb3f2be36df4924c00cbb39846b7a1109b2c81e5
https://github.com/llvm/llvm-project/commit/eb3f2be36df4924c00cbb39846b7a1109b2c81e5
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Analysis/PHITransAddr.cpp
M llvm/test/Transforms/GVN/PRE/pre-load.ll
Log Message:
-----------
[PHITransAddr] Preserve all GEP nowrap flags
Commit: 83fbe56f28d8aa4e4da9eea2a37bdc94141bf409
https://github.com/llvm/llvm-project/commit/83fbe56f28d8aa4e4da9eea2a37bdc94141bf409
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64LoopIdiomTransform.cpp
Log Message:
-----------
[AArch64LoopIdiomTransform] Simplify GEP construction (NFC)
Commit: a35ac42fac88e82748a7e035821a1c6226be9ac0
https://github.com/llvm/llvm-project/commit/a35ac42fac88e82748a7e035821a1c6226be9ac0
Author: Michael Kruse <llvm-project at meinersbur.de>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M compiler-rt/CMakeLists.txt
M compiler-rt/cmake/Modules/AddCompilerRT.cmake
M compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
M compiler-rt/cmake/Modules/CompilerRTUtils.cmake
M compiler-rt/cmake/base-config-ix.cmake
M compiler-rt/include/CMakeLists.txt
M compiler-rt/lib/asan/tests/CMakeLists.txt
M compiler-rt/lib/builtins/CMakeLists.txt
M compiler-rt/lib/fuzzer/tests/CMakeLists.txt
M compiler-rt/lib/gwp_asan/tests/CMakeLists.txt
M compiler-rt/lib/interception/tests/CMakeLists.txt
M compiler-rt/lib/memprof/tests/CMakeLists.txt
M compiler-rt/lib/orc/tests/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt
M compiler-rt/lib/stats/CMakeLists.txt
M compiler-rt/lib/tsan/CMakeLists.txt
M compiler-rt/lib/tsan/dd/CMakeLists.txt
M compiler-rt/lib/tsan/rtl/CMakeLists.txt
M compiler-rt/lib/xray/tests/CMakeLists.txt
M compiler-rt/test/CMakeLists.txt
M compiler-rt/test/asan/CMakeLists.txt
M compiler-rt/test/asan_abi/CMakeLists.txt
M compiler-rt/test/builtins/CMakeLists.txt
M compiler-rt/test/cfi/CMakeLists.txt
M compiler-rt/test/dfsan/CMakeLists.txt
M compiler-rt/test/fuzzer/CMakeLists.txt
M compiler-rt/test/gwp_asan/CMakeLists.txt
M compiler-rt/test/hwasan/CMakeLists.txt
M compiler-rt/test/interception/CMakeLists.txt
M compiler-rt/test/lsan/CMakeLists.txt
M compiler-rt/test/memprof/CMakeLists.txt
M compiler-rt/test/metadata/CMakeLists.txt
M compiler-rt/test/msan/CMakeLists.txt
M compiler-rt/test/orc/CMakeLists.txt
M compiler-rt/test/profile/CMakeLists.txt
M compiler-rt/test/safestack/CMakeLists.txt
M compiler-rt/test/sanitizer_common/CMakeLists.txt
M compiler-rt/test/shadowcallstack/CMakeLists.txt
M compiler-rt/test/tsan/CMakeLists.txt
M compiler-rt/test/ubsan/CMakeLists.txt
M compiler-rt/test/ubsan_minimal/CMakeLists.txt
M compiler-rt/test/xray/CMakeLists.txt
Log Message:
-----------
[compiler-rt] Revise IDE folder structure (#89753)
Update the folder titles for targets in the monorepository that have not
seen taken care of for some time. These are the folders that targets are
organized in Visual Studio and XCode
(`set_property(TARGET <target> PROPERTY FOLDER "<title>")`)
when using the respective CMake's IDE generator.
* Ensure that every target is in a folder
* Use a folder hierarchy with each LLVM subproject as a top-level folder
* Use consistent folder names between subprojects
* When using target-creating functions from AddLLVM.cmake, automatically
deduce the folder. This reduces the number of
`set_property`/`set_target_property`, but are still necessary when
`add_custom_target`, `add_executable`, `add_library`, etc. are used. A
LLVM_SUBPROJECT_TITLE definition is used for that in each subproject's
root CMakeLists.txt.
Commit: 799ae77993fa5d7b0638f10b3895090f8748de92
https://github.com/llvm/llvm-project/commit/799ae77993fa5d7b0638f10b3895090f8748de92
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/lib/Serialization/ASTWriter.cpp
Log Message:
-----------
[NFC] [Serialization] Avoid unnecessary check for if Identifier from AST
Inspired by the review process in
https://github.com/llvm/llvm-project/pull/92085.
The check `ID >= FirstIdentID` can cover the following check
`!II->isFromAST()`.
Commit: 434a8a08a2f26bb30cb30c3f9f6794cf7a190844
https://github.com/llvm/llvm-project/commit/434a8a08a2f26bb30cb30c3f9f6794cf7a190844
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
M llvm/test/Transforms/InstCombine/memcpy-addrspace.ll
Log Message:
-----------
[InstCombine] Preserve all gep nowrap flags in PointerReplacer
Commit: ade4259d75d61d4366538b5ee975cac606d43d3c
https://github.com/llvm/llvm-project/commit/ade4259d75d61d4366538b5ee975cac606d43d3c
Author: c8ef <c8ef at outlook.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/lib/AST/Expr.cpp
M clang/test/SemaCXX/cxx2c-pack-indexing.cpp
Log Message:
-----------
[clang] Fix parsing a typeid containing a pack indexing expression (#94299)
Fixes #93650
Commit: 6bc71bac8728b30b560f7ae210917072b01b8046
https://github.com/llvm/llvm-project/commit/6bc71bac8728b30b560f7ae210917072b01b8046
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/include/clang/Basic/CharInfo.h
M clang/test/Lexer/cxx2c-raw-strings.cpp
Log Message:
-----------
[Clang] \ is not valid in a raw string literal (#93867)
Fix regression introduced by #93216
Commit: 34b4112c909d6d5e177d0e6851af7db18058fb9a
https://github.com/llvm/llvm-project/commit/34b4112c909d6d5e177d0e6851af7db18058fb9a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Log Message:
-----------
[InstCombine] Simplify isMergedGEPInBounds() (NFCI)
Since the switch to opaque pointers, zero-index GEPs will be
optimized away anyway, so there is no need to explicitly handle
them here.
Commit: 59cb55d384a10e370ad5fdb2a8a48209e6bbc2bd
https://github.com/llvm/llvm-project/commit/59cb55d384a10e370ad5fdb2a8a48209e6bbc2bd
Author: Ramkumar Ramachandra <r at artagnon.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp
A llvm/test/Transforms/LoopVectorize/vplan-incomplete-cases.ll
R llvm/test/Transforms/LoopVectorize/vplan-infer-not-or-type.ll
Log Message:
-----------
VPlan: add missing case for LogicalAnd; fix crash (#93553)
VPTypeAnalysis::inferScalarTypeForRecipe is missing the case for
VPInstruction::LogicalAnd, due to which the test
vplan-incomplete-cases.ll crashes. Add this missing case, and move the
test in vplan-infer-not-or-type.ll to vplan-incomplete-cases.ll, showing
correct codegen for trip-counts 2 and 3.
Commit: fe56f19c6705d652183aaa0fcfc7cf67ec88f1fc
https://github.com/llvm/llvm-project/commit/fe56f19c6705d652183aaa0fcfc7cf67ec88f1fc
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Analysis/Local.cpp
M llvm/test/Transforms/InstCombine/icmp-gep.ll
Log Message:
-----------
[Local] Use nusw and nuw flags in emitGEPOffset()
Commit: bc3baa93ce5142fcdc2dc5a7d27e26a32999116d
https://github.com/llvm/llvm-project/commit/bc3baa93ce5142fcdc2dc5a7d27e26a32999116d
Author: Balázs Kéri <balazs.keri at ericsson.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/docs/analyzer/checkers.rst
M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
M clang/test/Analysis/putenv-stack-array.c
Log Message:
-----------
[clang][analyzer] Move PutenvStackArrayChecker out of alpha package (#93980)
Checker alpha.security.PutenvStackArray is moved to
security.PutenvStackArray.
Commit: 842333750288a033cd7c4ca0c132d38a1982c187
https://github.com/llvm/llvm-project/commit/842333750288a033cd7c4ca0c132d38a1982c187
Author: Kai Luo <lkail at cn.ibm.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
A llvm/test/CodeGen/PowerPC/peephole-mma-phi-liveness.ll
Log Message:
-----------
[PowerPC] Add test for ppc-mi-peepholes on MMA register COPYs. NFC.
Commit: cb60667b6e762aa172b6ad06332465d69f0fd803
https://github.com/llvm/llvm-project/commit/cb60667b6e762aa172b6ad06332465d69f0fd803
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/include/clang/AST/DeclBase.h
M clang/include/clang/AST/DeclID.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ModuleFile.h
M clang/include/clang/Serialization/ModuleManager.h
M clang/lib/AST/DeclBase.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/ModuleFile.cpp
R clang/test/Modules/no-transitive-decls-change.cppm
Log Message:
-----------
Revert "[serialization] no transitive decl change (#92083)"
This reverts commit d8ec452db016f359feeec28994f6560b30b49824.
This fails on LLDB macOS CI. See
https://github.com/llvm/llvm-project/pull/92083 for details.
Commit: 3138c590859ffff5d77f878f3b297960c8842180
https://github.com/llvm/llvm-project/commit/3138c590859ffff5d77f878f3b297960c8842180
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/getelementptr.ll
Log Message:
-----------
[InstCombine] Add more gep index canonicalization tests (NFC)
Flags are already fully preserved for the instruction case,
but lost on constant expressions.
Commit: eea05c6b3369736b703e2a5e3ca08ba6ad8a51dc
https://github.com/llvm/llvm-project/commit/eea05c6b3369736b703e2a5e3ca08ba6ad8a51dc
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ConstantFolding.cpp
Log Message:
-----------
[ConstantFolding] Preserve all flags in CastGEPIndices()
This preserves the flags during that transform, but currently they
will still end up getting dropped at a later stage.
Commit: 164597616c0c9cb42536d0d112e87e616751a438
https://github.com/llvm/llvm-project/commit/164597616c0c9cb42536d0d112e87e616751a438
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/runtime-checks-hoist.ll
Log Message:
-----------
[LV] Add test for RT check hoisting where loop guards simplify check.
Add a test case with a missed simplification when hoisting runtime
checks due to not applying loop guards.
Commit: 99873b35da7ecb905143c8a6b8deca4d4416f1a9
https://github.com/llvm/llvm-project/commit/99873b35da7ecb905143c8a6b8deca4d4416f1a9
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/include/clang/AST/DeclBase.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/Decl.cpp
M clang/lib/AST/DeclBase.cpp
M clang/lib/CodeGen/CGVTables.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Serialization/ASTWriter.cpp
Log Message:
-----------
[NFC] [AST] Introduce Decl::isInAnotherModuleUnit and Decl::shouldEmitInExternalSource
Motivated by the review process in
https://github.com/llvm/llvm-project/pull/75912. This can also help to
simplify the code slightly.
Commit: f98be870e4da1c124f476ce441d2a49e248091cf
https://github.com/llvm/llvm-project/commit/f98be870e4da1c124f476ce441d2a49e248091cf
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/InstructionSimplify.h
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/Analysis/PHITransAddr.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/lib/Transforms/Scalar/NewGVN.cpp
M llvm/test/Transforms/InstSimplify/gep.ll
Log Message:
-----------
[InstSimplify] Accept GEPNoWrapFlags instead of only InBounds flag
This preserves the flags if a constexpr GEP is created (at least
as long as they don't get dropped later -- the test cases uses a
constexpr index to avoid that).
Commit: c0e6dd1e7c39be43731bc2036136f3126e029d08
https://github.com/llvm/llvm-project/commit/c0e6dd1e7c39be43731bc2036136f3126e029d08
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/CodeGen/CGPasses.td
M flang/include/flang/Optimizer/CodeGen/CodeGen.h
M flang/lib/Optimizer/CodeGen/BoxedProcedure.cpp
Log Message:
-----------
[flang][CodeGen][NFC] Reduce BoxedProcedurePass boilerplate (#94200)
The pass constructor can be generated automatically by tablegen.
The pass is module-level and iterates over every operation within the
module so it should not need any changes to support alternative top
level operations.
Commit: c631131a1490af9f908a3a3be9aae5295ecff67d
https://github.com/llvm/llvm-project/commit/c631131a1490af9f908a3a3be9aae5295ecff67d
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
R clang/test/CXX/drs/cwg2390.cpp
M clang/test/CXX/drs/cwg23xx.cpp
Log Message:
-----------
[clang] Move CWG2390 test into `cwg23xx.cpp` (#94206)
This patch refactors an existing test for
[CWG2390](https://cplusplus.github.io/CWG/issues/2390.html) "Is the
argument of `__has_cpp_attribute` macro-expanded?" to use `#error`
instead of emitting a variable in IRGen and checking it via FileCheck.
As a bonus, this makes it possible to move the test into `cwg23xx.cpp`.
Commit: 50d837e3019136aa42a73c06dd117fe6ca8cf148
https://github.com/llvm/llvm-project/commit/50d837e3019136aa42a73c06dd117fe6ca8cf148
Author: Abid Qadeer <haqadeer at amd.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
M mlir/lib/Target/LLVMIR/DebugImporter.cpp
M mlir/lib/Target/LLVMIR/DebugTranslation.cpp
M mlir/test/Target/LLVMIR/Import/debug-info.ll
M mlir/test/Target/LLVMIR/llvmir-debug.mlir
Log Message:
-----------
[MLIR] Improve translation of DISubrange. (#93689)
The DISubrange can take integer, dwarf expressions or variables. The
current translation only handled integers. This PR adds handling of
dwarf expressions and variables.
Commit: 93266ecac949efdc6d04620847a1b87bbb4819ce
https://github.com/llvm/llvm-project/commit/93266ecac949efdc6d04620847a1b87bbb4819ce
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M lldb/test/Shell/SymbolFile/DWARF/x86/dwp-separate-debug-file.cpp
Log Message:
-----------
[lldb][test] Require Python for dwp test
This came up when testing the CI build, which is not
being build with scripting yet.
Commit: 9372e1a7f12ab1bce4bf6303657e193fc0283a6e
https://github.com/llvm/llvm-project/commit/9372e1a7f12ab1bce4bf6303657e193fc0283a6e
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/memory-legalizer-fence-mmra-global.ll
M llvm/test/CodeGen/AMDGPU/memory-legalizer-fence-mmra-local.ll
Log Message:
-----------
[AMDGPU] Add gfx12 run lines to fence MMRA tests (#94333)
Commit: fc5254c8ac02d29e7daab4ecce42cb5a82c8b3a2
https://github.com/llvm/llvm-project/commit/fc5254c8ac02d29e7daab4ecce42cb5a82c8b3a2
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/LoopUtils.cpp
Log Message:
-----------
[LoopUtils] Simplify code for runtime check generation a bit (NFCI).
Store getSE result in variable to re-use and use structured bindings
when looping over bounds.
Commit: a934ddcf7edb583e93102e2fa8b3b05ab34547f2
https://github.com/llvm/llvm-project/commit/a934ddcf7edb583e93102e2fa8b3b05ab34547f2
Author: Simon Camphausen <simon.camphausen at iml.fraunhofer.de>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M mlir/lib/Target/Cpp/TranslateToCpp.cpp
M mlir/test/Target/Cpp/expressions.mlir
Log Message:
-----------
[mlir][EmitC] Do not inline expressions used by ops with the CExpression trait (#93691)
Currently an expression is inlined without emitting enclosing
parentheses regardless of the context of the user. This could led to
wrong evaluation order depending on the precedence of both expressions.
If the inlining is intended, the user operation should be merged into
the expression op.
Fixes #93470.
Commit: 924611b0301f751e8c3fef9759b9d2683b0345fc
https://github.com/llvm/llvm-project/commit/924611b0301f751e8c3fef9759b9d2683b0345fc
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/include/clang/AST/TemplateName.h
M clang/lib/AST/TemplateName.cpp
M clang/lib/Sema/SemaTemplateInstantiate.cpp
Log Message:
-----------
[clang] NFCI: remove obsolete workaround for template default arguments (#94311)
Commit: 3b020d51f1c96980b1813e5148dbbd6af91669cf
https://github.com/llvm/llvm-project/commit/3b020d51f1c96980b1813e5148dbbd6af91669cf
Author: Qizhi Hu <836744285 at qq.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/lib/AST/ASTImporter.cpp
M clang/unittests/AST/ASTImporterTest.cpp
Log Message:
-----------
[clang][ASTImport] fix issue on anonymous enum import (#93923)
Don't skip searching in `ToContext` during importing `EnumDecl`. And
`IsStructuralMatch` in `StructralEquivalence` can make sure to determine
whether the found result is match or not.
---------
Co-authored-by: huqizhi <836744285 at qq.com>
Commit: e57308b063bb2399b9524222d757609797d331fc
https://github.com/llvm/llvm-project/commit/e57308b063bb2399b9524222d757609797d331fc
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/InstSimplifyFolder.h
M llvm/include/llvm/Analysis/TargetFolder.h
M llvm/include/llvm/IR/ConstantFolder.h
M llvm/include/llvm/IR/IRBuilder.h
M llvm/include/llvm/IR/IRBuilderFolder.h
M llvm/include/llvm/IR/Instructions.h
M llvm/include/llvm/IR/NoFolder.h
M llvm/lib/IR/Constants.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/getelementptr.ll
Log Message:
-----------
[IR] Accept GEPNoWrapFlags in creation APIs
Add overloads of GetElementPtrInst::Create() that accept
GEPNoWrapFlags, and switch the bool parameters in IRBuilder to
accept it instead as well.
As a sample use, switch GEP i8 canonicalization in InstCombine to
preserve the original flags.
Commit: 794457f6f99aac77f123fa2245e91a3b442c7926
https://github.com/llvm/llvm-project/commit/794457f6f99aac77f123fa2245e91a3b442c7926
Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/lib/CodeGen/Targets/AMDGPU.cpp
A clang/test/CodeGen/amdgpu-variadic-call.c
Log Message:
-----------
[amdgpu] Pass variadic arguments without splitting (#94083)
Pass variadic arguments without changing their type, unlike the fixed
ones.
Fixed arguments are modified to better fit into registers. This patch
leaves those unchanged.
Splitting struct types into individual fields and packing small structs
into integers works well for passing via registers. Variadic arguments
are currently unimplemented in the backend. They're likely to be
implemented as a pointer to stack memory in which case register-themed
optimisations are inapplicable.
Splitting the struct into fields makes it difficult to implement va_arg
robustly. The rules around padding and alignment to inverse the struct
splitting could be constructed, but at high complexity and no particular
advantage.
Passing types as-is means there is a 1:1 correspondence with the type
information va_arg has to work with and the parameter type at the call
site.
This is an ABI change, but as the only functions affected are variadic
ones which are presently a compilation error, not a functional break.
Factored out of the larger #93362 and can land independently.
Commit: f9db0d2c43d2956813fab8309def6b23adc73f35
https://github.com/llvm/llvm-project/commit/f9db0d2c43d2956813fab8309def6b23adc73f35
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/cmake/modules/LLVMExternalProjectUtils.cmake
Log Message:
-----------
[cmake][runtimes] Add missing dependency on LLVMgold.so (#94199)
When doing a runtimes build with LTO using ld.bfd (or ld.gold), the
build starts failing with ninja 1.12, which added a new critical path
scheduler. The reason is that LLVMgold.so is not available yet at the
point where runtimes start being build, leading to configuration
failures in the nested cmake invocation.
Fix this by adding an explicit dependency on LLVMgold.so if it is
available. (It may not always be necessary, e.g. if the used linker is
lld, but it would be hard to detect when exactly it may or may not be
needed, so always adding the dependency is safer.)
Commit: 90049bbbeae3da553e43a015a2e7d7e355c0a0ce
https://github.com/llvm/llvm-project/commit/90049bbbeae3da553e43a015a2e7d7e355c0a0ce
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[bazel] Add missing dep for __support_threads_sleep
Commit: e651ee98cfcdebd799de0d61eca22b7b1493cc96
https://github.com/llvm/llvm-project/commit/e651ee98cfcdebd799de0d61eca22b7b1493cc96
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/test/CXX/drs/cwg18xx.cpp
M clang/test/CXX/drs/cwg19xx.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang] Add tests for Core issues about friend templates (#94288)
This patch covers the following Core issues:
[CWG1862](https://cplusplus.github.io/CWG/issues/1862.html) "Determining
“corresponding members” for friendship"
[CWG1918](https://cplusplus.github.io/CWG/issues/1918.html) "`friend`
templates with dependent scopes"
[CWG1945](https://cplusplus.github.io/CWG/issues/1945.html) "Friend
declarations naming members of class templates in non-templates"
All of them were resolved by CWG1862, where the current wording of
[[temp.friend] p5](https://eel.is/c++draft/temp.friend#5) comes from:
> A template friend declaration may declare a member of a dependent type
to be a friend[.](https://eel.is/c++draft/temp.friend#5.sentence-1) The
friend declaration shall declare a function or specify a type with an
[elaborated-type-specifier](https://eel.is/c++draft/dcl.type.elab#nt:elaborated-type-specifier),
in either case with a
[nested-name-specifier](https://eel.is/c++draft/expr.prim.id.qual#nt:nested-name-specifier)
ending with a
[simple-template-id](https://eel.is/c++draft/temp.names#nt:simple-template-id),
C, whose
[template-name](https://eel.is/c++draft/temp.names#nt:template-name)
names a class
template[.](https://eel.is/c++draft/temp.friend#5.sentence-2) The
template parameters of the template friend declaration shall be
deducible from C
([[temp.deduct.type]](https://eel.is/c++draft/temp.deduct.type))[.](https://eel.is/c++draft/temp.friend#5.sentence-3)
In this case, a member of a specialization S of the class template is a
friend of the class granting friendship if deduction of the template
parameters of C from S succeeds, and substituting the deduced template
arguments into the friend declaration produces a declaration that
corresponds to the member of the
specialization[.](https://eel.is/c++draft/temp.friend#5.sentence-4)
A useful example is provided after the paragraph:
https://eel.is/c++draft/temp.friend#example-4.
Neither of Core issues is implemented, because we don't support
dependent nested friend specifiers.
---------
Co-authored-by: Shafik Yaghmour <shafik.yaghmour at intel.com>
Commit: 11725b5240840e077c944af6a56e75dd00275395
https://github.com/llvm/llvm-project/commit/11725b5240840e077c944af6a56e75dd00275395
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/select-cmp-cttz-ctlz.ll
Log Message:
-----------
[InstCombine] Add tests for incorrect range handling in ctz fold (NFC)
Commit: 3cd67eeca28ab1084d02b7976de1af4c4c8d37d5
https://github.com/llvm/llvm-project/commit/3cd67eeca28ab1084d02b7976de1af4c4c8d37d5
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/test/Transforms/InstCombine/select-cmp-cttz-ctlz.ll
Log Message:
-----------
[InstCombine] Drop range attr in select of ctz fold
The range may no longer be valid after the select has been
optimized away.
This fixes the kernel miscompiles reported at
https://github.com/ClangBuiltLinux/linux/issues/2031.
Commit: d999ce0302f06d250f6d496b56a5a5f2dc331e61
https://github.com/llvm/llvm-project/commit/d999ce0302f06d250f6d496b56a5a5f2dc331e61
Author: Vassil Vassilev <v.g.vassilev at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/lib/Interpreter/IncrementalParser.cpp
M clang/lib/Sema/SemaDecl.cpp
A clang/test/Interpreter/execute.c
Log Message:
-----------
Reland "[clang-repl] Extend the C support. (#89804)"
Original commit message:"
[clang-repl] Extend the C support. (#89804)
The IdResolver chain is the main way for C to implement lookup rules. Every new
partial translation unit caused clang to exit the top-most scope which in turn
cleaned up the IdResolver chain. That was not an issue for C++ because its
lookup is implemented on the level of declaration contexts.
This patch keeps the IdResolver chain across partial translation units
maintaining proper C-style lookup infrastructure.
"
It was reverted in dfdf1c5fe45a82b9c578306f3d7627fd251d63f8 because it broke the
bots of lldb. This failure was subtle to debug but the current model does not
work well with ObjectiveC support in lldb. This patch does cleans up the
partial translation units in ObjectiveC. In future if we want to support
ObjectiveC we need to understand what exactly lldb is doing when recovering from
errors...
Commit: 2635d0419e4800c34c7cfea120a12fec8d4878fe
https://github.com/llvm/llvm-project/commit/2635d0419e4800c34c7cfea120a12fec8d4878fe
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/math/CMakeLists.txt
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/llrintf16.cpp
A libc/src/math/generic/llroundf16.cpp
A libc/src/math/generic/lrintf16.cpp
A libc/src/math/generic/lroundf16.cpp
A libc/src/math/generic/nearbyintf16.cpp
A libc/src/math/generic/rintf16.cpp
A libc/src/math/llrintf16.h
A libc/src/math/llroundf16.h
A libc/src/math/lrintf16.h
A libc/src/math/lroundf16.h
A libc/src/math/nearbyintf16.h
A libc/src/math/rintf16.h
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/RoundToIntegerTest.h
A libc/test/src/math/smoke/llrintf16_test.cpp
A libc/test/src/math/smoke/llroundf16_test.cpp
A libc/test/src/math/smoke/lrintf16_test.cpp
A libc/test/src/math/smoke/lroundf16_test.cpp
A libc/test/src/math/smoke/nearbyintf16_test.cpp
A libc/test/src/math/smoke/rintf16_test.cpp
Log Message:
-----------
[libc][math][c23] Add {nearbyint,rint,lrint,llrint,lround,llround}f16 C23 math functions (#94218)
https://github.com/llvm/llvm-project/issues/93566
Commit: fadd1ec536ce76acfd572364b0e118da54116e94
https://github.com/llvm/llvm-project/commit/fadd1ec536ce76acfd572364b0e118da54116e94
Author: Elvina Yakubova <eyakubova at nvidia.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64Processors.td
A llvm/test/CodeGen/AArch64/misched-fusion-cmp-bcc.ll
Log Message:
-----------
[AArch64] Enable CmpBcc fusion for Neoverse-v2 (#90608)
This adds compare and branch instructions fusion for Neoverse V2.
According to the Software Optimization Guide:
Specific Aarch64 instruction pairs that can be fused are as follows:
CMP/CMN (immediate) + B.cond
CMP/CMN (register) + B.cond
Performance for SPEC2017 is neutral, but another benchmark improves
significantly.
Results for SPEC2017 on a Neoverse V2:
500.perlbench 0%
502.gcc_r 0%
505.mcf_r -0.15%
523.xalancbmk_r -0.43%
525.x264_r 0%
531.deepsjeng_r 0%
541.leela_r -0.16%
557.xz_r -0.47%
Commit: 858a79eb1896b957098746c82c956c74b482866d
https://github.com/llvm/llvm-project/commit/858a79eb1896b957098746c82c956c74b482866d
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M flang/lib/Evaluate/intrinsics.cpp
M flang/lib/Semantics/check-call.cpp
M flang/test/Semantics/associated.f90
Log Message:
-----------
[flang] relax ASSOCIATED checks for assumed-ranks (#94277)
Nothing in the standard actually prevents TARGET from being an
assumed-rank if the POINTER is. The only rank related constraints says:
"POINTER is not assumed-rank, TARGET shall have the same rank as
POINTER.".
Commit: e325e2e5928d4893bedee2d4bbb7d71cc855c67a
https://github.com/llvm/llvm-project/commit/e325e2e5928d4893bedee2d4bbb7d71cc855c67a
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/utils/UpdateTestChecks/asm.py
Log Message:
-----------
update_test_checks: drop the other arm64_32 handlers
Commit: 31850fa97406d60ae8fa5f7bd107141c0fbc2615
https://github.com/llvm/llvm-project/commit/31850fa97406d60ae8fa5f7bd107141c0fbc2615
Author: Takuto Ikuta <tikuta at google.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/utils/gn/build/BUILD.gn
M llvm/utils/gn/build/toolchain/BUILD.gn
M llvm/utils/gn/build/toolchain/compiler.gni
Log Message:
-----------
[gn] remove goma configs (#93941)
goma is deprecated and not maintained anymore.
Commit: 8917739b4cb39e6cd2355672ff6e2c140b19aafd
https://github.com/llvm/llvm-project/commit/8917739b4cb39e6cd2355672ff6e2c140b19aafd
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
Log Message:
-----------
[lldb][test] Disable MD5 test for old versions of Visual Studio (#94325)
In older versions there is this problem:
https://developercommunity.visualstudio.com/t/c-shared-state-futuresstate-default-constructs-the/60897
Which prevents us making a future out of a result type. There's
no good workaround so just don't compile this for older versions.
Commit: 78f5d9cdbad2ad6c9857e0ceed99c7c3a40d16d2
https://github.com/llvm/llvm-project/commit/78f5d9cdbad2ad6c9857e0ceed99c7c3a40d16d2
Author: Andrei Safronov <safronov at espressif.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Target/Xtensa/XtensaFrameLowering.cpp
M llvm/lib/Target/Xtensa/XtensaFrameLowering.h
M llvm/lib/Target/Xtensa/XtensaISelLowering.cpp
M llvm/lib/Target/Xtensa/XtensaISelLowering.h
M llvm/lib/Target/Xtensa/XtensaInstrInfo.cpp
M llvm/lib/Target/Xtensa/XtensaInstrInfo.h
M llvm/lib/Target/Xtensa/XtensaSubtarget.cpp
M llvm/test/CodeGen/Xtensa/call.ll
A llvm/test/CodeGen/Xtensa/dynamic-alloc.ll
A llvm/test/CodeGen/Xtensa/saverestore.ll
Log Message:
-----------
[PATCH] [Xtensa] Implement FrameLowering methods and stack operation lowering. (#92960)
Implement emitPrologue/emitEpilogue methods, determine/spill/restore
callee saved registers functionality with test. Also implement lowering
of the DYNAMIC_STACKALLOC/STACKSAVE/STACKRESTORE stack operations with
tests.
Commit: fb300eb44d2c214c9616cfea9c299916993499dd
https://github.com/llvm/llvm-project/commit/fb300eb44d2c214c9616cfea9c299916993499dd
Author: c8ef <c8ef at outlook.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M libc/src/__support/CPP/expected.h
M libc/src/__support/time/linux/abs_timeout.h
Log Message:
-----------
[libc] add LIBC_INLINE for expected, use CTAD in abs_timeout (#94348)
Commit: 2464f1cef3d28182da42debe6abf9bad8ab5a4d2
https://github.com/llvm/llvm-project/commit/2464f1cef3d28182da42debe6abf9bad8ab5a4d2
Author: Joachim <jenke at itc.rwth-aachen.de>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M openmp/runtime/src/kmp.h
M openmp/runtime/src/kmp_runtime.cpp
M openmp/runtime/src/kmp_taskdeps.cpp
M openmp/runtime/src/kmp_tasking.cpp
M openmp/runtime/src/ompt-internal.h
M openmp/runtime/src/ompt-specific.cpp
Log Message:
-----------
[OpenMP][OMPT] Add missing callbacks for asynchronous target tasks (#93472)
- The first hidden-helper-thread did not trigger thread-begin
- The "detaching" from a target-task when waiting for completion missed
to call task-switch
- Target tasks identified themself as explicit task
Co-authored-by: Kaloyan Ignatov <kaloyan.ignatov at rwth-aachen.de>
Commit: 492417278d986ddd8206b2b9bba626ce690ea244
https://github.com/llvm/llvm-project/commit/492417278d986ddd8206b2b9bba626ce690ea244
Author: martinboehme <mboehme at google.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
[clang][dataflow] Propagate storage location of compound assignment operators. (#94332)
To avoid generating unnecessary values, we don't create a new value but
instead
leave it to the specific analysis to do this if desired.
Commit: 6b91a3be46be1a61b351aea29c769250b509b71e
https://github.com/llvm/llvm-project/commit/6b91a3be46be1a61b351aea29c769250b509b71e
Author: Ivan Kosarev <ivan.kosarev at amd.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/VINTERPInstructions.td
M llvm/lib/Target/AMDGPU/VOP1Instructions.td
M llvm/lib/Target/AMDGPU/VOP2Instructions.td
M llvm/lib/Target/AMDGPU/VOP3Instructions.td
M llvm/lib/Target/AMDGPU/VOP3PInstructions.td
M llvm/lib/Target/AMDGPU/VOPCInstructions.td
Log Message:
-----------
[AMDGPU][NFC] Rename the clamp modifier definition to follow the prevailing convention. (#94353)
Allows to simplify the definition itself.
Part of <https://github.com/llvm/llvm-project/issues/62629>.
Commit: b9f1fdcfd9803689461f0c12e04ab1743ad9a030
https://github.com/llvm/llvm-project/commit/b9f1fdcfd9803689461f0c12e04ab1743ad9a030
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/include/clang/Basic/Attr.td
Log Message:
-----------
Silence a not all control paths return a value diagnostic; NFC
Commit: d881bac6fa3b1d8d622d4fb651060cf7d6223080
https://github.com/llvm/llvm-project/commit/d881bac6fa3b1d8d622d4fb651060cf7d6223080
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Analysis/BasicAliasAnalysis.cpp
A llvm/test/Analysis/BasicAA/zext-nneg.ll
Log Message:
-----------
[BasicAA] Consider 'nneg' flag when comparing CastedValues (#94129)
Any of the `zext` bits in a `zext nneg` can be converted to `sext` but
when checking if casts are compatible `BasicAA` fails to take into
account `nneg`. This change adds tracking of `nneg` to the `CastedValue`
struct and ensures that `sext` and `zext` bits are treated as
interchangeable when either `CastedValue` has a `nneg`. When
distributing casted values in `GetLinearExpression` we conservatively
discard the `nneg` from the `CastedValue`, except in the case of `shl
nsw`, where we know the sign has not changed to negative.
Commit: 6cd86d0fae8cbb752a713860f131b9b759b2cbb8
https://github.com/llvm/llvm-project/commit/6cd86d0fae8cbb752a713860f131b9b759b2cbb8
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Analysis/AliasAnalysis.h
M flang/include/flang/Optimizer/Analysis/TBAAForest.h
M flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
M flang/lib/Optimizer/CodeGen/TBAABuilder.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/lib/Optimizer/Transforms/AddAliasTags.cpp
M flang/lib/Optimizer/Transforms/AddDebugInfo.cpp
A flang/test/Transforms/tbaa-with-dummy-scope.fir
M flang/test/Transforms/tbaa.fir
M flang/test/Transforms/tbaa2.fir
Log Message:
-----------
[flang] Use fir.declare/fir.dummy_scope for TBAA tags attachments. (#92472)
With MLIR inlining (e.g. `flang-new -mmlir -inline-all=true`)
the current TBAA tags attachment is suboptimal, because
we may lose information about the callee's dummy arguments
(by bypassing fir.declare in AliasAnalysis::getSource).
This is a conservative first step to improve the situation.
This patch makes AddAliasTagsPass to account for fir.dummy_scope
hierarchy after MLIR inlining and use it to place the TBAA tags
into TBAA trees corresponding to different function scopes.
The pass uses special mode of AliasAnalysis to find the instantiation
point of a Fortran variable (a [hl]fir.decalre) when searching
for the source of a memory reference. In this mode, AliasAnalysis
will always stop at fir.declare operations that have dummy_scope
operands - there should not be a reason to past throught it
for the purpose of TBAA tags attachment.
Commit: 0a39c88e81dadca9f6ceef8e0b0be0ed692fe4fe
https://github.com/llvm/llvm-project/commit/0a39c88e81dadca9f6ceef8e0b0be0ed692fe4fe
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/test/Transforms/InstCombine/select-cmp.ll
Log Message:
-----------
[InstCombine] Fold `select Cond, not X, X` into `Cond ^ X` (#93591)
See the following example:
```
define i1 @src(i64 %x, i1 %y) {
%1526 = icmp ne i64 %x, 0
%1527 = icmp eq i64 %x, 0
%sel = select i1 %y, i1 %1526, i1 %1527
ret i1 %sel
}
define i1 @tgt(i64 %x, i1 %y) {
%1527 = icmp eq i64 %x, 0
%sel = xor i1 %y, %1527
ret i1 %sel
}
```
I find that this pattern is common in C/C++/Rust code base.
This patch folds `select Cond, Y, X` into `Cond ^ X` iff:
1. X has the same type as Cond
2. X is poison -> Y is poison
3. X == !Y
Alive2: https://alive2.llvm.org/ce/z/hSmkHS
Commit: 335fb9467172683d1b9418ee17120598d0d0a1af
https://github.com/llvm/llvm-project/commit/335fb9467172683d1b9418ee17120598d0d0a1af
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/test/Driver/mips-mti-linux.c
M clang/test/Driver/openmp-offload-gpu.c
M clang/test/Driver/openmp-offload.c
M clang/test/Driver/ve-toolchain.c
Log Message:
-----------
[Driver] Don't use absolute paths for invoking subcommands for driver tests (#94349)
We see some tests are failing internally after 12949c9.
In some CAS systems, we might not see the exact binary name (clang),
this patch adds the `-no-canonical-prefixes` option to the command line to not
realpath-ify the binary name.
Commit: 6ac5047aa6bf12644e38afb188bd8d821a181ba5
https://github.com/llvm/llvm-project/commit/6ac5047aa6bf12644e38afb188bd8d821a181ba5
Author: Leandro Lupori <leandro.lupori at linaro.org>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M flang/lib/Semantics/check-call.cpp
Log Message:
-----------
[flang] Escape '%' in %VAL/%REF messages (#94331)
flang/test/Semantics/call40.f90 was failing on Darwin:
actual at 27: VAL or REF are not allowed for dummy argument 'a='
that must be passed by means of a descriptor
expect at 27: %VAL or %REF are not allowed for dummy argument 'a='
that must be passed by means of a descriptor
When messages.Say() is called with more arguments than just the
fixed text message, the message is treated as a format string,
passed to vsnprintf. Therefore, the '%' chars in it must be
escaped.
Note that no conversion happens when there is only a fixed text
message. Escaping '%' in this case causes "%%" to be outputted.
This can be confusing for someone expecting printf-like behavior.
Processing these text messages with snprintf could solve this,
as a future improvement.
Commit: 7b346357db30d531245104c1c0aa8940a1f41b9a
https://github.com/llvm/llvm-project/commit/7b346357db30d531245104c1c0aa8940a1f41b9a
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M lld/ELF/Writer.cpp
M lld/test/ELF/linkerscript/orphan.s
M lld/test/ELF/linkerscript/sections-nonalloc.s
M lld/test/ELF/linkerscript/sections.s
Log Message:
-----------
[ELF] Orphan placement: prefer the last similar section when its rank <= orphan's rank
`findOrphanPos` finds the most similar output section (that has input
sections). In the event of proximity ties, we select the first section.
However, when an orphan section's rank is equal to or larger than the
most similar sections's, it makes sense to prioritize the last similar
section. This new behavior matches GNU ld better.
```
// orphan placement for .bss (SHF_ALLOC|SHF_WRITE, SHT_NOBITS)
WA SHT_PROGBITS
(old behavior) <= here
A
WA SHT_PROGBITS
AX
WA (.data)
(new behavior) <= here
```
When the orphan section's rank is less, the current behavior
prioritizing the first section still makes sense.
```
// orphan with a smaller rank, e.g. .rodata
<= here
WA
AX
WA
```
Close #92987
Pull Request: https://github.com/llvm/llvm-project/pull/94099
Commit: 68eb3b202f30a1c3f2575f44b9d16365258e66b6
https://github.com/llvm/llvm-project/commit/68eb3b202f30a1c3f2575f44b9d16365258e66b6
Author: Artem Chikin <achikin at apple.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h
M clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
M clang/test/ClangScanDeps/diagnostics.c
M clang/test/ClangScanDeps/header-search-pruning-transitive.c
M clang/test/ClangScanDeps/header-search-pruning.cpp
A clang/test/ClangScanDeps/link-libraries.c
M clang/test/ClangScanDeps/modules-canononical-module-map-case.c
M clang/test/ClangScanDeps/modules-context-hash.c
M clang/test/ClangScanDeps/modules-dep-args.c
M clang/test/ClangScanDeps/modules-excluded-header.m
M clang/test/ClangScanDeps/modules-extern-submodule.c
M clang/test/ClangScanDeps/modules-extern-unrelated.m
M clang/test/ClangScanDeps/modules-file-path-isolation.c
M clang/test/ClangScanDeps/modules-fmodule-name-no-module-built.m
M clang/test/ClangScanDeps/modules-full-by-mod-name.c
M clang/test/ClangScanDeps/modules-full.cpp
M clang/test/ClangScanDeps/modules-implementation-private.m
M clang/test/ClangScanDeps/modules-implicit-dot-private.m
M clang/test/ClangScanDeps/modules-incomplete-umbrella.c
M clang/test/ClangScanDeps/modules-inferred.m
M clang/test/ClangScanDeps/modules-no-undeclared-includes.c
M clang/test/ClangScanDeps/modules-pch-common-submodule.c
M clang/test/ClangScanDeps/modules-pch-common-via-submodule.c
M clang/test/ClangScanDeps/modules-pch.c
M clang/test/ClangScanDeps/modules-priv-fw-from-pub.m
M clang/test/ClangScanDeps/modules-redefinition.m
M clang/test/ClangScanDeps/modules-symlink-dir-vfs.c
M clang/test/ClangScanDeps/modules-transitive.c
M clang/test/ClangScanDeps/optimize-canonicalize-macros.m
M clang/test/ClangScanDeps/optimize-fmodulemap.m
M clang/test/ClangScanDeps/optimize-system-warnings.m
M clang/test/ClangScanDeps/optimize-vfs-leak.m
M clang/test/ClangScanDeps/optimize-vfs.m
M clang/test/ClangScanDeps/removed-args.c
M clang/test/ClangScanDeps/working-dir.m
M clang/tools/clang-scan-deps/ClangScanDeps.cpp
Log Message:
-----------
[clang][deps] Collect discovered module dependencies' Link Libraries (#93588)
This will allow scanner clients to be able to compute e.g. auto-linking
dependencies of the scanned translation unit.
Commit: 8e94f0a0ad8817ba84474620426e28076e1c0024
https://github.com/llvm/llvm-project/commit/8e94f0a0ad8817ba84474620426e28076e1c0024
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/FLATInstructions.td
Log Message:
-----------
[AMDGPU] Do not override PseudoInstr in FLAT Pseudo definitions. NFC. (#94369)
Simplify by setting PseudoInstr to the tablegen name of the Pseudo in
the first place.
Commit: 5ae5774fb0b5cac11af479b0905dfdd5255b4047
https://github.com/llvm/llvm-project/commit/5ae5774fb0b5cac11af479b0905dfdd5255b4047
Author: Eli Friedman <efriedma at quicinc.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaInit.cpp
M clang/test/AST/ast-dump-APValue-anon-union.cpp
M clang/test/SemaCXX/cxx1y-initializer-aggregates.cpp
Log Message:
-----------
[Sema] Fix handling of fields with initializers in nested anonymous unions. (#91692)
Make sure we count the anonymous union as an initialized field, so we
properly construct the AST.
Included bonus testcase Test3, which shows a remaining gap: an anonymous
union can contain a partially initialized anonymous struct, and we
handle that inconsistently.
Fixes #91257
Commit: 188b1a54df9ff6c0b388269c2b95b71a0ae7801b
https://github.com/llvm/llvm-project/commit/188b1a54df9ff6c0b388269c2b95b71a0ae7801b
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SMInstructions.td
Log Message:
-----------
[AMDGPU] Do not override PseudoInstr in SMEM Pseudo definitions. NFC.
Commit: 0cb66a7bd52ee51a6b43c42fec22082b26365e37
https://github.com/llvm/llvm-project/commit/0cb66a7bd52ee51a6b43c42fec22082b26365e37
Author: Miguel A. Arroyo <mayanez at users.noreply.github.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M lld/test/COFF/rsds.test
M llvm/test/tools/llvm-readobj/COFF/debug-directory.test
M llvm/tools/llvm-readobj/COFFDumper.cpp
Log Message:
-----------
[llvm-readobj][COFF] Consistent PDBGUID Formatting (#94256)
## Consistent PDB GUID in `llvm-readobj`
Currently, the PDB GUID is shown as a byte array:
`PDBGUID: (D8 4C 88 D9 26 15 1F 11 4C 4C 44 20 50 44 42 2E)`
This is inconsistent with `llvm-pdbutil` (e.g. `llvm-pdbutil dump
--summary`) which shows it as a hexadecimal string.
Additionally, `yaml2obj` uses the same hexadecimal string format.
In general, the hexadecimal string is the common representation for PDB
GUIDs on Windows.
This PR changes it to be consistent as shown below:
`PDBGUID: {D9884CD8-1526-111F-4C4C-44205044422E}`
Commit: dfd1a2f081bdc9566cdcd03937534ec4897c9056
https://github.com/llvm/llvm-project/commit/dfd1a2f081bdc9566cdcd03937534ec4897c9056
Author: Brendan Dahl <brendan.dahl at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
M llvm/test/CodeGen/WebAssembly/half-precision.ll
M llvm/test/MC/WebAssembly/simd-encodings.s
Log Message:
-----------
[WebAssembly] Implement all f16x8 unary instructions. (#94063)
All of these instructions can be generated using regular LL intrinsics.
Specified at:
https://github.com/WebAssembly/half-precision/blob/29a9b9462c9285d4ccc1a5dc39214ddfd1892658/proposals/half-precision/Overview.md
Commit: 7dc84e225e11e37925db6f4f08269f447d2f2347
https://github.com/llvm/llvm-project/commit/7dc84e225e11e37925db6f4f08269f447d2f2347
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M lldb/include/lldb/Target/Target.h
M lldb/source/Expression/DWARFExpression.cpp
M lldb/unittests/Expression/DWARFExpressionTest.cpp
Log Message:
-----------
[lldb] Support reading DW_OP_piece from file address (#94026)
We received a bug report where someone was trying to print a global
variable without a process. This would succeed in a debug build but fail
in a on optimized build. We traced the issue back to the location being
described by a DW_OP_addr + DW_OP_piece.
The issue is that the DWARF expression evaluator only support reading
pieces from a load address. There's no reason it cannot do the same for
a file address, and indeed, that solves the problem.
I unsuccessfully tried to craft a test case to illustrate the original
example, using a global struct and trying to trick the compiler into
breaking it apart with SROA. Instead I wrote a unit test that uses a
mock target to read memory from.
rdar://127435923
Commit: e5f7123dfef3a80937d088d846ddb3b2bb1869b9
https://github.com/llvm/llvm-project/commit/e5f7123dfef3a80937d088d846ddb3b2bb1869b9
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/LangOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
A clang/test/SemaCXX/constexpr-never-constant.cpp
Log Message:
-----------
Disable constexpr function body checking in more situations (#94347)
Before C++23, we would check a constexpr function body to diagnose if
the function can never be evaluated in a constant expression context.
This was previously required standards behavior, but C++23 relaxed the
restrictions with P2448R2. While this checking is useful, it is also
quite expensive, especially in pathological cases (see #92924 for an
example), because it means the mere presence of a constexpr function
definition will require constant evaluation even if the function is not
used within the TU.
Clang suppresses diagnostics in system headers by default and system
headers (like STL implementations) can be full of constexpr function
bodies. Now we suppress the check for a diagnostic if the function
definition is in a system header or if the `-Winvalid-constexpr`
diagnostic is disabled. This should have some mild compile time
performance improvements.
Also, the previous implementation would disable the diagnostic in C++23
mode entirely. Due to the benefit of the check, this patch now makes it
possible to enable the diagnostic explicitly in C++23 mode.
Commit: 7103e60f65cb920c2b8dc43aaa9f9402dca4b7a5
https://github.com/llvm/llvm-project/commit/7103e60f65cb920c2b8dc43aaa9f9402dca4b7a5
Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
A bolt/test/X86/Inputs/dwarf5-df-input-lowpc-ranges-other.s
A bolt/test/X86/dwarf5-df-input-lowpc-ranges-cus.test
Log Message:
-----------
[BOLT][DWARF][NFC] Add split-dwarf5 test with multiple CUs (#93744)
Adds a split-dwarf test for DWARF5 with multiple CUs.
Commit: c1654c38e8b82a075613fd60f19a179b1c7df2a2
https://github.com/llvm/llvm-project/commit/c1654c38e8b82a075613fd60f19a179b1c7df2a2
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/lib/Lower/ConvertVariable.cpp
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/test/Lower/OpenMP/declare-target-data.f90
M flang/test/Lower/OpenMP/lastprivate-commonblock.f90
M flang/test/Lower/OpenMP/threadprivate-commonblock-use.f90
M flang/test/Lower/OpenMP/threadprivate-commonblock.f90
M flang/test/Lower/OpenMP/threadprivate-use-association.f90
M flang/test/Lower/common-block-2.f90
M flang/test/Lower/common-block.f90
M flang/test/Lower/module_definition.f90
M flang/test/Lower/module_use.f90
M flang/test/Lower/pointer-initial-target-2.f90
Log Message:
-----------
[flang] Carry over alignment computed by frontend for COMMON (#94280)
The frontend computes the necessary alignment for COMMON blocks but this
information is never carried over to the code generation and can lead to
segfault for COMMON block that requires a non default alignment.
This patch add an optional attribute on fir.global and carries over the
information.
Commit: b62b7a42bbee4a3bbf9094808f460fdc9c119bd7
https://github.com/llvm/llvm-project/commit/b62b7a42bbee4a3bbf9094808f460fdc9c119bd7
Author: Logikable <seanluchen at google.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M compiler-rt/lib/builtins/atomic.c
Log Message:
-----------
[compiler-rt][builtins] Switch libatomic locks to pthread_mutex_t (#94374)
When an uninstrumented libatomic is used with a TSan instrumented
memcpy, TSan may report a data race in circumstances where writes are
arguably safe.
This occurs because __atomic_compare_exchange won't be instrumented in
an uninstrumented libatomic, so TSan doesn't know that the subsequent
memcpy is race-free.
On the other hand, pthread_mutex_(un)lock will be intercepted by TSan,
meaning an uninstrumented libatomic will not report this false-positive.
pthread_mutexes also may try a number of different strategies to acquire
the lock, which may bound the amount of time a thread has to wait for a
lock during contention.
While pthread_mutex_lock has a larger overhead (due to the function
call and some dispatching), a dispatch to libatomic already predicates
a lack of performance guarantees.
Commit: b9915ad40c31ee95e6e64c44249c9fd5767f0e34
https://github.com/llvm/llvm-project/commit/b9915ad40c31ee95e6e64c44249c9fd5767f0e34
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M libcxx/utils/libcxx/test/features.py
Log Message:
-----------
[libc++] Properly detect whether C++20 modules are supported by the compiler (#94275)
It is possible for a compiler to support the warning without being able
to compile `export module foo;`, so use that in addition to the warning
to check whether C++20 modules are supported.
Commit: 1d76b94abac033aebd5acaebf644ee173ed6cc71
https://github.com/llvm/llvm-project/commit/1d76b94abac033aebd5acaebf644ee173ed6cc71
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M libcxx/test/std/language.support/support.start.term/quick_exit.pass.cpp
Log Message:
-----------
[libc++] Adjust XFAIL for quick_exit (#94274)
This avoids making the assumption that quick_exit will never be
implemented on macOS.
Commit: 303f1405949ca3ea800a6e326c0365e5fc7168a3
https://github.com/llvm/llvm-project/commit/303f1405949ca3ea800a6e326c0365e5fc7168a3
Author: pcc <peter at pcc.me.uk>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
A llvm/utils/gn/build/libs/zstd/BUILD.gn
A llvm/utils/gn/build/libs/zstd/enable.gni
M llvm/utils/gn/build/toolchain/BUILD.gn
M llvm/utils/gn/secondary/clang/test/BUILD.gn
M llvm/utils/gn/secondary/lld/test/BUILD.gn
M llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
M llvm/utils/gn/secondary/llvm/test/BUILD.gn
Log Message:
-----------
gn build: Support llvm_enable_zstd.
Reviewers: aeubanks
Reviewed By: aeubanks
Pull Request: https://github.com/llvm/llvm-project/pull/88457
Commit: c852475f7ab3d15312b768c134d43668a24ecee1
https://github.com/llvm/llvm-project/commit/c852475f7ab3d15312b768c134d43668a24ecee1
Author: pcc <peter at pcc.me.uk>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/utils/gn/build/BUILD.gn
Log Message:
-----------
gn build: Pass -fno-sanitize=vptr,function with use_ubsan
Matches CMake LLVM_UBSAN_FLAGS.
Reviewers: aeubanks
Reviewed By: aeubanks
Pull Request: https://github.com/llvm/llvm-project/pull/93911
Commit: 7390bff602eb030ab920af6d672c7bf41890194c
https://github.com/llvm/llvm-project/commit/7390bff602eb030ab920af6d672c7bf41890194c
Author: pcc <peter at pcc.me.uk>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/compiler-rt/lib/ubsan_minimal/BUILD.gn
Log Message:
-----------
gn build: Define SANITIZER_COMMON_NO_REDEFINE_BUILTINS for ubsan_minimal.
Matches the cmake build.
Reviewers: aeubanks
Reviewed By: aeubanks
Pull Request: https://github.com/llvm/llvm-project/pull/88458
Commit: 75163d5005316d8a2ee5fd0996d40d9fc1c6434f
https://github.com/llvm/llvm-project/commit/75163d5005316d8a2ee5fd0996d40d9fc1c6434f
Author: pcc <peter at pcc.me.uk>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn
Log Message:
-----------
gn build: Sync GENERIC_TF_SOURCES with CMake.
Reviewers: aeubanks
Reviewed By: aeubanks
Pull Request: https://github.com/llvm/llvm-project/pull/88456
Commit: 9dd66f4ff7d8b0bff2304b6fd366c461b2807e78
https://github.com/llvm/llvm-project/commit/9dd66f4ff7d8b0bff2304b6fd366c461b2807e78
Author: Konstantin Zhuravlyov <kzhuravl_dev at outlook.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/include/llvm/BinaryFormat/ELF.h
Log Message:
-----------
AMDGPU/NFC: Make MACH indentation consistent (#94370)
Commit: 534590144f7c7ec34b8e5e95aba3e4f214b074eb
https://github.com/llvm/llvm-project/commit/534590144f7c7ec34b8e5e95aba3e4f214b074eb
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M libc/src/__support/CPP/new.h
Log Message:
-----------
[libc][new] Add placement new functions (#94290)
Commit: c6e96a260531ab5b013e62f0af1a6d3846f1c409
https://github.com/llvm/llvm-project/commit/c6e96a260531ab5b013e62f0af1a6d3846f1c409
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
Log Message:
-----------
[DirectX] Update for removal of icmp and fcmp constant expressions
The icmp and fcmp constant expressions were removed in deab451e7a7f
"[IR] Remove support for icmp and fcmp constant expressions (#93038)".
Update the DXILBitcodeWriter to stop referencing them.
Commit: fbaec0f46b5853cbdbdfe77fb87e1321a1967956
https://github.com/llvm/llvm-project/commit/fbaec0f46b5853cbdbdfe77fb87e1321a1967956
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M utils/bazel/.bazelrc
Log Message:
-----------
[bazel] Reduce output on CI (#94298)
This makes bazel only show the output for tests that don't pass. This
should reduce a ton of info in the log to make it easier to find
failures. The log is so long now that you can no longer view the whole
thing in 1 buildkite job.
Commit: e775efcec476b3ec4eacfb14dc5bc7e86d9aa8fd
https://github.com/llvm/llvm-project/commit/e775efcec476b3ec4eacfb14dc5bc7e86d9aa8fd
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/LoopUtils.cpp
M llvm/test/Transforms/LoopVectorize/runtime-checks-hoist.ll
Log Message:
-----------
[LV] Apply loop guards when checking recur during hoisting RT checks.
Apply loop guards when checking if the recurrence is non-negative in
cases where runtime checks are hoisted out of an inner loop.
Commit: 0b665c3dd206abb3deab4c3af9dfeb43000ab0c7
https://github.com/llvm/llvm-project/commit/0b665c3dd206abb3deab4c3af9dfeb43000ab0c7
Author: Spenser Bauman <sabauma at fastmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.td
M mlir/include/mlir/Dialect/SCF/Transforms/Passes.h
M mlir/include/mlir/Dialect/SCF/Transforms/Passes.td
M mlir/include/mlir/Dialect/SCF/Transforms/Transforms.h
M mlir/lib/Conversion/SCFToControlFlow/CMakeLists.txt
M mlir/lib/Conversion/SCFToControlFlow/SCFToControlFlow.cpp
M mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp
M mlir/lib/Dialect/SCF/Transforms/CMakeLists.txt
A mlir/lib/Dialect/SCF/Transforms/ForallToParallel.cpp
A mlir/test/Dialect/SCF/forall-to-parallel.mlir
A mlir/test/Dialect/SCF/transform-op-forall-to-parallel.mlir
Log Message:
-----------
[mlir][scf] Implement conversion from scf.forall to scf.parallel (#94109)
There is currently no path to lower scf.forall to scf.parallel with the
goal of targeting the OpenMP dialect.
In the SCF->ControlFlow conversion, scf.forall is briefly converted to
scf.parallel, but the scf.parallel is lowered directly to a sequential
loop. This makes experimenting with scf.forall for CPU execution
difficult.
This change factors out the rewrite in the SCF->ControlFlow pass into a
utility function that can then be used in the SCF->ControlFlow lowering
and via a separate -scf-forall-to-parallel pass.
---------
Co-authored-by: Spenser Bauman <sabauma at fastmail>
Commit: 3b2df5b6ee81cf2685c95728ff1baf795051c926
https://github.com/llvm/llvm-project/commit/3b2df5b6ee81cf2685c95728ff1baf795051c926
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/test/src/math/libc_math_test_rules.bzl
Log Message:
-----------
[bazel] Port #94218 (#94390)
Commit: a5729b71d844c1444f7d348dc2d4ea5b98de5ec5
https://github.com/llvm/llvm-project/commit/a5729b71d844c1444f7d348dc2d4ea5b98de5ec5
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M compiler-rt/lib/builtins/atomic.c
Log Message:
-----------
[atomics] Initialize pthread_mutex_t and avoid false sharing
PTHREAD_MUTEX_INITIALIZER is zeroes for glibc and musl, but it improves
conformance and might work with more libc implementations.
Follow-up to #94374
Pull Request: https://github.com/llvm/llvm-project/pull/94387
Commit: 2e0e163bb53bc4991daa35e62140d2de27b0fe0b
https://github.com/llvm/llvm-project/commit/2e0e163bb53bc4991daa35e62140d2de27b0fe0b
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Port #94109 (#94395)
Commit: eca9caf419d420604ab372ddcab4781e999c1fe4
https://github.com/llvm/llvm-project/commit/eca9caf419d420604ab372ddcab4781e999c1fe4
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Analysis/LazyCallGraph.cpp
Log Message:
-----------
[LazyCallGraph] Assert in removeDeadFunction() that NodeMap contains function
The function should always be known to LazyCallGraph
Commit: cd3255abede5e3687c1538f2d3857deb2c51af1b
https://github.com/llvm/llvm-project/commit/cd3255abede5e3687c1538f2d3857deb2c51af1b
Author: Min-Yih Hsu <min.hsu at sifive.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
A llvm/test/tools/gold/X86/time-trace.ll
M llvm/tools/gold/gold-plugin.cpp
Log Message:
-----------
[gold] Enable time trace profiler in LLVMgold (#94293)
To get the time trace of LTO in the gold plugin, now we can pass the
`time-trace=<time trace file>` as well as
`time-trace-granularity=<granularity>` flags to LLVMgold.
Note that we still have to populate `LTOConfig::TimeTraceEnabled` and
`LTOConfig::TimeTraceGranularity` because ThinLTO backend needs them.
Commit: 679f75e24b81c3ba4a7666ad1f08aa40a6fdddfa
https://github.com/llvm/llvm-project/commit/679f75e24b81c3ba4a7666ad1f08aa40a6fdddfa
Author: Michael Christensen <mchristensen at meta.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M lldb/source/Commands/Options.td
Log Message:
-----------
[easy] Fix spacing in help message of 'process save-core' command (#89445)
Very minor change to help message on `process save-core`. Adds space
between two sentences explaining the `-p` option:
"Specify a plugin name to create the core file.This allows core files to
be saved in different formats."
-->
"Specify a plugin name to create the core file. This allows core files
to be saved in different formats."
Before:
```
(lldb) help process save-core
Save the current process as a core file using an appropriate file type.
Syntax: process save-core [-s corefile-style -p plugin-name] FILE
Command Options Usage:
process save-core [-p[<plugin>]] [-s <corefile-style>] <path>
-p[<plugin>] ( --plugin-name=[<plugin>] )
Specify a plugin name to create the core file.This allows core files to be saved in different formats.
-s <corefile-style> ( --style <corefile-style> )
Request a specific style of corefile to be saved.
Values: full | modified-memory | stack
This command takes options and free-form arguments. If your arguments resemble option specifiers (i.e., they start with a -
or --), you must use ' -- ' between the end of the command options and the beginning of the arguments.
```
After:
```
michristensen at devbig356 build/Debug » $HOME/llvm-sand/build/Debug/bin/lldb -x
(lldb) help process save-core
Save the current process as a core file using an appropriate file type.
Syntax: process save-core [-s corefile-style -p plugin-name] FILE
Command Options Usage:
process save-core [-p[<plugin>]] [-s <corefile-style>] <path>
-p[<plugin>] ( --plugin-name=[<plugin>] )
Specify a plugin name to create the core file. This allows core files to be saved in different formats.
-s <corefile-style> ( --style <corefile-style> )
Request a specific style of corefile to be saved.
Values: full | modified-memory | stack
This command takes options and free-form arguments. If your arguments resemble option specifiers (i.e., they start with a -
or --), you must use ' -- ' between the end of the command options and the beginning of the arguments.
```
Commit: afe6ab7586f7078cc410f6162bd9851e48e2a286
https://github.com/llvm/llvm-project/commit/afe6ab7586f7078cc410f6162bd9851e48e2a286
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
Log Message:
-----------
[lldb][DebugNames] Only skip processing of DW_AT_declarations for class/union types (#94400)
This is a follow-up of
https://github.com/llvm/llvm-project/pull/92328#issuecomment-2145849441
Clang attaches `DW_AT_declaration` to static inline data members and
`dsymutil` indexes these constants. Skipping these caused the expression
evaluator to fail to find such constants when using DWARFv5.
Fixes `TestConstStaticIntegralMember.py` on DWARFv5.
Commit: e949b54a5b7cd7cd0690fa126be3363a21f05a8e
https://github.com/llvm/llvm-project/commit/e949b54a5b7cd7cd0690fa126be3363a21f05a8e
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
M llvm/test/Analysis/LoopAccessAnalysis/early-exit-runtime-checks.ll
A llvm/test/Transforms/LoopDistribute/early-exit.ll
A llvm/test/Transforms/LoopLoadElim/early-exit.ll
M llvm/test/Transforms/LoopVectorize/X86/vectorization-remarks-missed.ll
Log Message:
-----------
[LAA] Use PSE::getSymbolicMaxBackedgeTakenCount. (#93499)
Update LAA to use PSE::getSymbolicMaxBackedgeTakenCount which returns
the minimum of the countable exits.
When analyzing dependences and computing runtime checks, we need the
smallest upper bound on the number of iterations. In terms of memory
safety, it shouldn't matter if any uncomputable exits leave the loop,
as long as we prove that there are no dependences given the minimum of
the countable exits. The same should apply also for generating runtime
checks.
Note that this shifts the responsiblity of checking whether all exit
counts are computable or handling early-exits to the users of LAA.
Depends on https://github.com/llvm/llvm-project/pull/93498
PR: https://github.com/llvm/llvm-project/pull/93499
Commit: cb09b5f3d53e5b7b4452bb3db78dca79fc9b3f17
https://github.com/llvm/llvm-project/commit/cb09b5f3d53e5b7b4452bb3db78dca79fc9b3f17
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/MC/MCDwarf.cpp
Log Message:
-----------
[MC] Disable MCAssembler based constant folding for compact unwind and emitJumpTableEntry
Similar to commit 245491a9f384e4c53421196533c2a2b693efaf8d for DwarfDebug.
This completely disables the expensive MCFragment walk code in
`AttemptToFoldSymbolOffsetDifference` when compiling sqlite3.i for
macOS.
In the future, we should try enabling the MCFragment walk only for
constructs like `.if . -_start == 1` and `.subsection a-b` and
remove these `setUseAssemblerInfoForParsing`.
Commit: ae4f3001338c2a19167abf8dbe69d15f5209e033
https://github.com/llvm/llvm-project/commit/ae4f3001338c2a19167abf8dbe69d15f5209e033
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/lib/Optimizer/Dialect/FIROps.cpp
A flang/test/Fir/array-coor-canonicalization.fir
Log Message:
-----------
[flang] Canonicalize fir.array_coor by pulling in embox/rebox. (#92858)
In a simple case like this:
```
program test
integer :: u(120, 2)
u(1:120,1:2) = u(1:120,1:2) + 2
end program
```
Flang is creating a copy loop with fir.array_coor using
a result of fir.embox inserted before the loop. This results in split
address computations before and inside the loop, which can be seen
as many more arithmetic operations than required after converting
FIR to LLVM dialect. Even though LLVM SROA/mem2reg are able
to optimize the temporary descriptor, and then LICM is able to hoist
the invariant computations, we seem to get better mix of LLVM dialect
operations after FIR-to-LLVM codegen. This may also slightly reduce
the compilation time taken by LLVM to optimize the generate LLVM IR.
This may also slightly reduce the time spent by FIR AliasAnalysis
to reach the memory reference source.
Commit: 6b5ae148e51507c48dc20a2cd0daf1ee018141c2
https://github.com/llvm/llvm-project/commit/6b5ae148e51507c48dc20a2cd0daf1ee018141c2
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/c23.rst
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/__support/FPUtil/NearestIntegerOperations.h
M libc/src/math/CMakeLists.txt
A libc/src/math/fromfpf16.h
A libc/src/math/fromfpxf16.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/fromfpf16.cpp
A libc/src/math/generic/fromfpxf16.cpp
A libc/src/math/generic/ufromfpf16.cpp
A libc/src/math/generic/ufromfpxf16.cpp
A libc/src/math/ufromfpf16.h
A libc/src/math/ufromfpxf16.h
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/FromfpTest.h
M libc/test/src/math/smoke/FromfpxTest.h
M libc/test/src/math/smoke/UfromfpTest.h
M libc/test/src/math/smoke/UfromfpxTest.h
A libc/test/src/math/smoke/fromfpf16_test.cpp
A libc/test/src/math/smoke/fromfpxf16_test.cpp
A libc/test/src/math/smoke/ufromfpf16_test.cpp
A libc/test/src/math/smoke/ufromfpxf16_test.cpp
Log Message:
-----------
[libc][math][c23] Add {fromfp,fromfpx,ufromfp,ufromfpx}f16 C23 math functions (#94254)
https://github.com/llvm/llvm-project/issues/93566
Commit: e42864ecfb35466d38beeaf57c5da009c5bc77c1
https://github.com/llvm/llvm-project/commit/e42864ecfb35466d38beeaf57c5da009c5bc77c1
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M flang/lib/Optimizer/Dialect/FIROps.cpp
Log Message:
-----------
[flang] Fixed buildbots: removed std::move preventing copy elision.
Commit: 0360d03240f59e6b26a16769943f905c9520fe04
https://github.com/llvm/llvm-project/commit/0360d03240f59e6b26a16769943f905c9520fe04
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/test/Analysis/ScalarEvolution/scalable-vector.ll
Log Message:
-----------
[SCEV] Add coverage for howFarToZero with stride=VF*vscale
Commit: 8896f21ca9e59f2de40f78bd7233a90d6cb62a77
https://github.com/llvm/llvm-project/commit/8896f21ca9e59f2de40f78bd7233a90d6cb62a77
Author: Joachim Meyer <5982050+fodinabor at users.noreply.github.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M libc/docs/gpu/using.rst
Log Message:
-----------
[NFC] Fix typo in libc/docs/gpu/using.rst
Commit: 330e8a7619579f23bb02d504852ee958f0afe54d
https://github.com/llvm/llvm-project/commit/330e8a7619579f23bb02d504852ee958f0afe54d
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
A libc/src/stdlib/calloc.h
Log Message:
-----------
[libc][stdlib] Add calloc header (#94403)
Commit: c923d39509204c00d08240f04b96ce731646fb21
https://github.com/llvm/llvm-project/commit/c923d39509204c00d08240f04b96ce731646fb21
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M bolt/lib/Passes/ValidateMemRefs.cpp
A bolt/test/X86/jt-symbol-disambiguation-4.s
Log Message:
-----------
[BOLT] Fix ValidateMemRefs pass (#94406)
In ValidateMemRefs pass, when we validate references in the form of
`Symbol + Addend`, we should check `Symbol` not `Symbol + Addend`
against aliasing a jump table.
Recommitting with a modified test case:
https://github.com/llvm/llvm-project/pull/88838
Co-authored-by: sinan <sinan.lin at linux.alibaba.com>
Commit: 85daa95b18b3e9778d90f1fc72d2c1b4e8282b64
https://github.com/llvm/llvm-project/commit/85daa95b18b3e9778d90f1fc72d2c1b4e8282b64
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/MC/MCDwarf.cpp
Log Message:
-----------
[MC] Ensure UseAssemblerInfoForParsing is true upon return
Fixes: 5ee580bbfb11d781c220c19416c1a97b657e039a
5ee580bbfb11d781c220c19416c1a97b657e039a does not ensure that
UseAssemblerInfoForParsing is re-enabled. This is benign but not good.
Commit: dd82fd4744397e0510c8204f1a6031441e21858e
https://github.com/llvm/llvm-project/commit/dd82fd4744397e0510c8204f1a6031441e21858e
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Target/Xtensa/XtensaFrameLowering.cpp
M llvm/lib/Target/Xtensa/XtensaFrameLowering.h
M llvm/lib/Target/Xtensa/XtensaRegisterInfo.h
Log Message:
-----------
[Xtensa] Fix Clang warnings after #92960
Commit: e34f9567c4fd5c3709a613d8a0ebe9c145c2076e
https://github.com/llvm/llvm-project/commit/e34f9567c4fd5c3709a613d8a0ebe9c145c2076e
Author: Eric Fiselier <eric at efcs.ca>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M libcxx/utils/ci/Dockerfile
Log Message:
-----------
Remove act from builder image. It never turned out to be useful
Commit: 99b2581a4b162b718925b791433faaa108745a90
https://github.com/llvm/llvm-project/commit/99b2581a4b162b718925b791433faaa108745a90
Author: Phoebe Wang <phoebe.wang at intel.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/lib/Driver/ToolChains/MSVC.h
M clang/test/Driver/cl-options.c
M clang/test/Driver/cl-outputs.c
M clang/test/Driver/gcodeview-command-line.c
M clang/test/Driver/gcodeview-ghash.c
A clang/test/Misc/win32-elf.c
Log Message:
-----------
Reland "[Win32][ELF] Make CodeView a DebugInfoFormat only for COFF format", second try (#88245)
This is a second try to reland
https://github.com/llvm/llvm-project/pull/87149.
The previous commit exposed failures on some targets. The reason is only
a few targets support COFF ObjectFormatType on Windows:
https://github.com/llvm/llvm-project/blob/main/llvm/lib/TargetParser/Triple.cpp#L835-L842
With https://github.com/llvm/llvm-project/pull/87149, the targets don't
support COFF will report "warning: argument unused during compilation:
'-gcodeview-command-line' [-Wunused-command-line-argument]" in the test
gcodeview-command-line.c
I was thinking `REQUIRES: *-registered-target` could solve the problem,
but it didn't. We need to check the actual triple instead of just
`*-registered-target`.
Commit: 627463dc39b569527243ce67902048c59521d5e0
https://github.com/llvm/llvm-project/commit/627463dc39b569527243ce67902048c59521d5e0
Author: Feng Zou <feng.zou at intel.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
A llvm/test/CodeGen/X86/fp-round-with-concat-vector-undef-elem.ll
Log Message:
-----------
[X86][FP16] Limit combination of fp_round & concat to concat of 2 operands (#94302)
Add check of number of operands for concat_vectors being equal to 2.
This can
avoid crash if there are more than 2 operands for concat_vectors and
operand 0 & 1 are undef value.
Commit: d1a0605337acf25eeda68a6fc6d5f7891d5bf813
https://github.com/llvm/llvm-project/commit/d1a0605337acf25eeda68a6fc6d5f7891d5bf813
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86FlagsCopyLowering.cpp
A llvm/test/CodeGen/X86/apx/flags-copy-lowering.ll
M llvm/test/CodeGen/X86/apx/flags-copy-lowering.mir
Log Message:
-----------
[X86][CodeGen] Support using NF instructions for flag copy lowering (#93508)
Commit: 7db4e6c1ec18785ad3f622556362d83c11d7efef
https://github.com/llvm/llvm-project/commit/7db4e6c1ec18785ad3f622556362d83c11d7efef
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/test/OpenMP/parallel_codegen.cpp
A flang/test/Lower/OpenMP/delayed-privatization-lower-allocatable-to-llvm.f90
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
Log Message:
-----------
[OpenMP][LLVM] Update alloca IP after `PrivCB` in `OMPIRBUIlder` (#93920)
Fixes a crash uncovered by
[pr77666.f90](https://github.com/llvm/llvm-test-suite/blob/main/Fortran/gfortran/regression/gomp/pr77666.f90)
in the test suite when delayed privatization is enabled by default.
In particular, whenever `PrivCB` (the callback responsible for
generating privatizaiton logic for an OMP variable) generates a
multi-block privatization region, the insertion point diverges: the BB
component of the IP can become a different BB from the parent block of
the instruction iterator component of the IP. This PR updates the IP to
make sure that the BB is the parent block of the instruction iterator.
Commit: c0bb16eaf7a6c16edadfd05ba4168fa536c227e2
https://github.com/llvm/llvm-project/commit/c0bb16eaf7a6c16edadfd05ba4168fa536c227e2
Author: Serge Pavlov <sepavloff at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/test/tools/llvm-symbolizer/get-input-file.test
M llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
Log Message:
-----------
Revert "[symbolizer] Empty string is not an error" (#94424)
Reverts llvm/llvm-project#92660
It needs more discussion.
Commit: 68716573b627b86af50356edf63ba86856edd859
https://github.com/llvm/llvm-project/commit/68716573b627b86af50356edf63ba86856edd859
Author: c8ef <c8ef at outlook.com>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/unittests/ADT/CMakeLists.txt
A llvm/unittests/ADT/CountCopyAndMove.cpp
A llvm/unittests/ADT/CountCopyAndMove.h
M llvm/unittests/ADT/DenseMapTest.cpp
R llvm/unittests/ADT/MoveOnly.cpp
R llvm/unittests/ADT/MoveOnly.h
M llvm/unittests/ADT/STLForwardCompatTest.cpp
Log Message:
-----------
[ADT] refactor MoveOnly type in ADT unittest (#94421)
context:
https://github.com/llvm/llvm-project/pull/94151#pullrequestreview-2097098530
Commit: c5dd10ba3a650c55f72d1b58ef807aa4ca2bca95
https://github.com/llvm/llvm-project/commit/c5dd10ba3a650c55f72d1b58ef807aa4ca2bca95
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/unittests/ADT/BUILD.gn
Log Message:
-----------
[gn build] Port 68716573b627
Commit: e282118f4715c7d4a08eec3a6bc71784e8b05242
https://github.com/llvm/llvm-project/commit/e282118f4715c7d4a08eec3a6bc71784e8b05242
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
Log Message:
-----------
[X86][TTI] Update the return value of X86TTIImpl::getNumberOfRegisters for EGPR
Commit: 6b755b0cf4ddfdc14b0371fd6e361c9b6d0ff702
https://github.com/llvm/llvm-project/commit/6b755b0cf4ddfdc14b0371fd6e361c9b6d0ff702
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/include/clang/Sema/Attr.h
M clang/include/clang/Sema/Sema.h
M clang/include/clang/Sema/SemaARM.h
A clang/include/clang/Sema/SemaAVR.h
M clang/include/clang/Sema/SemaBPF.h
M clang/include/clang/Sema/SemaHLSL.h
A clang/include/clang/Sema/SemaM68k.h
M clang/include/clang/Sema/SemaMIPS.h
A clang/include/clang/Sema/SemaMSP430.h
M clang/include/clang/Sema/SemaObjC.h
A clang/include/clang/Sema/SemaOpenCL.h
M clang/include/clang/Sema/SemaOpenMP.h
M clang/include/clang/Sema/SemaRISCV.h
M clang/include/clang/Sema/SemaSYCL.h
A clang/include/clang/Sema/SemaSwift.h
M clang/include/clang/Sema/SemaX86.h
M clang/lib/Sema/CMakeLists.txt
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaAPINotes.cpp
M clang/lib/Sema/SemaARM.cpp
A clang/lib/Sema/SemaAVR.cpp
M clang/lib/Sema/SemaBPF.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaHLSL.cpp
A clang/lib/Sema/SemaM68k.cpp
M clang/lib/Sema/SemaMIPS.cpp
A clang/lib/Sema/SemaMSP430.cpp
M clang/lib/Sema/SemaObjC.cpp
A clang/lib/Sema/SemaOpenCL.cpp
M clang/lib/Sema/SemaOpenMP.cpp
M clang/lib/Sema/SemaRISCV.cpp
M clang/lib/Sema/SemaSYCL.cpp
A clang/lib/Sema/SemaSwift.cpp
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
M clang/lib/Sema/SemaType.cpp
M clang/lib/Sema/SemaX86.cpp
Log Message:
-----------
[clang] Split up `SemaDeclAttr.cpp` (#93966)
This patch moves language- and target-specific functions out of
`SemaDeclAttr.cpp`. As a consequence, `SemaAVR`, `SemaM68k`,
`SemaMSP430`, `SemaOpenCL`, `SemaSwift` were created (but they are not
the only languages and targets affected).
Notable things are that `Sema.h` actually grew a bit, because of
templated helpers that rely on `Sema` that I had to make available from
outside of `SemaDeclAttr.cpp`. I also had to left CUDA-related in
`SemaDeclAttr.cpp`, because it looks like HIP is building up on top of
CUDA attributes.
This is a follow-up to #93179 and continuation of efforts to split
`Sema` up. Additional context can be found in #84184 and #92682.
Commit: 9760be027602ea657362a51479d8e065323a077e
https://github.com/llvm/llvm-project/commit/9760be027602ea657362a51479d8e065323a077e
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
Log Message:
-----------
[gn build] Port 6b755b0cf4dd
Commit: 79b1137666da80184ee2459301194d518b40605a
https://github.com/llvm/llvm-project/commit/79b1137666da80184ee2459301194d518b40605a
Author: Leandro Lupori <leandro.lupori at linaro.org>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M flang/runtime/time-intrinsic.cpp
Log Message:
-----------
[flang] Fix build on Darwin after #92571 (#94327)
flang/runtime/time-intrinsic.cpp:403:19: error: comparison of
integers of different signs: 'clock_t' (aka 'unsigned long') and
'int' [-Werror,-Wsign-compare]
if (times(&tms) != -1) {
Commit: a87ff8db2652679f2f3813cc7d62486c590c4e16
https://github.com/llvm/llvm-project/commit/a87ff8db2652679f2f3813cc7d62486c590c4e16
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/SROA.cpp
Log Message:
-----------
[SROA] Remove sroa-strict-inbounds option (NFC) (#94342)
This option was added in 3b79b2ab4e35353e63ba323a3de4b0a70c61a5f1 with
the comment:
> I had SROA implemented this way a long time ago and due to the
> overwhelming bugs that surfaced, moved to a much more relaxed
> variant. Richard Smith would like to understand the magnitude
> of this problem and it seems fairly harmless to keep some
> flag-controlled logic to get the extremely strict behavior here.
> I'll remove it if it doesn't prove useful.
As far as I know, it did not prove useful, so I'm removing it now.
With constant GEPs canonicalized to i8, GEPs that only temporarily go
out of bounds during the offset calculation do not naturally occur
anymore anyway.
Commit: 0977504537b4dd945fd91fe11eb1a3165297e64a
https://github.com/llvm/llvm-project/commit/0977504537b4dd945fd91fe11eb1a3165297e64a
Author: tpenge <tim.penge at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/docs/Security.rst
Log Message:
-----------
Update Security.rst with github username tpenge (#94404)
Add username for LLVM Security Group member
Commit: 6d4fb3d3bbecbdfa1c98da3f7e09322abaec5f97
https://github.com/llvm/llvm-project/commit/6d4fb3d3bbecbdfa1c98da3f7e09322abaec5f97
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
A llvm/test/CodeGen/SPIRV/no-i8-type-duplication.ll
A llvm/test/CodeGen/SPIRV/transcoding/OpBitReverse-subbyte.ll
M llvm/test/CodeGen/SPIRV/transcoding/OpBitReverse_i2.ll
Log Message:
-----------
[SPIR-V] Emit valid SPIR-V code for integer sizes other than 8,16,32,64 (#94219)
Only with SPV_INTEL_arbitrary_precision_integers SPIR-V Backend creates
arbitrary sized integer types (<= 64 bits). Without such extension and
according to the SPIR-V specification
`SPIRVGlobalRegistry::getOpTypeInt()` rounds integer sizes other than
8,16,32,64 up, to one of defined by the specification sizes. For the
`DuplicateTracker` class this means that several original LLVM types
(e.g., i2, i4) map to the same "OpTypeInt 8" instruction. This breaks
`DuplicateTracker`'s logic and leads to generation of invalid SPIR-V
code eventually.
For example,
```
define spir_func void @foo(i2 %a, i4 %b) {
entry:
%res2 = tail call i2 @llvm.bitreverse.i2(i2 %a)
%res4 = tail call i4 @llvm.bitreverse.i4(i4 %b)
ret void
}
declare i2 @llvm.bitreverse.i2(i2)
declare i4 @llvm.bitreverse.i4(i4)
```
after translation to SPIR-V would fail during validation (`spirv-val`)
due to two `OpTypeInt 8 0` instructions.
This PR fixes the issue by changing source LLVM type according to the
SPIR-V type that will be used in the emitted code.
Commit: 37cf0473ada321cc927a40e3118df26d2375e472
https://github.com/llvm/llvm-project/commit/37cf0473ada321cc927a40e3118df26d2375e472
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
A llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_subgroups/builtin-op-wrappers.ll
Log Message:
-----------
[SPIR-V] Introduce support of '__spirv_' wrapper builtins for the SPV_INTEL_subgroups extension (#94235)
This PR Introduces support of '__spirv_' wrapper builtins for the
SPV_INTEL_subgroups extension.
Commit: c8c3b8b2bb508e45698d80dc723463aa778b43a2
https://github.com/llvm/llvm-project/commit/c8c3b8b2bb508e45698d80dc723463aa778b43a2
Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/FLATInstructions.td
Log Message:
-----------
[AMDGPU] Move flat patterns instantiation down. NFC. (#94409)
I want to reuse some of the global patterns for the flat, so move
instantiation past the declarations.
Commit: 419e7b825647779dc3415aa1129627b284baf6ca
https://github.com/llvm/llvm-project/commit/419e7b825647779dc3415aa1129627b284baf6ca
Author: Hsiangkai Wang <hsiangkai.wang at arm.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M mlir/test/lib/Dialect/Linalg/TestLinalgFusionTransforms.cpp
Log Message:
-----------
[NFC] Clean up TestLinalgGreedyFusion (#94430)
Linalg fusion-on-memrefs are removed in dc37dc824aabbbe. There is
nothing being inserted in the erase set. Remove the useless code.
Commit: 04a02c1b88cfb8445ce962ba5ce496401a3e27fe
https://github.com/llvm/llvm-project/commit/04a02c1b88cfb8445ce962ba5ce496401a3e27fe
Author: Marco Borgeaud <marco.borgeaud at sonarsource.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/ASTMatchers/ASTMatchers.h
M clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
Log Message:
-----------
[ASTMatchers] forCallable should not erase binding on success (#89657)
Do not erase Builder when the first check fails because it could succeed
on the second stack frame.
The problem was that `InnerMatcher.matches` erases the bindings when it
returns false. The appropriate solution is to pass a copy of the
bindings, similar to what `matchesFirstInRange` does.
Commit: 775ebc1d710517ddb886ee8aec504e33bed38f52
https://github.com/llvm/llvm-project/commit/775ebc1d710517ddb886ee8aec504e33bed38f52
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/test/Transforms/SimplifyCFG/X86/sink-common-code.ll
Log Message:
-----------
[SimplifyCFG] Regenerate test checks (NFC)
Commit: 8ab578a1269ecfd8583afa6af0796cf941fed52e
https://github.com/llvm/llvm-project/commit/8ab578a1269ecfd8583afa6af0796cf941fed52e
Author: Kai Luo <lkail at cn.ibm.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
A llvm/test/CodeGen/PowerPC/tocdata-non-zero-addend.mir
Log Message:
-----------
[PowerPC] Add test of non-zero addend in tocdata relocation. NFC.
It intends to check if IAS handles non-zero addend correctly.
Commit: d3a9043ec2ee7ea278be4f3c86823512e44d01bf
https://github.com/llvm/llvm-project/commit/d3a9043ec2ee7ea278be4f3c86823512e44d01bf
Author: Alexey Merzlyakov <60094858+AlexeyMerzlyakov at users.noreply.github.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_riscv64.cpp
M lldb/source/Plugins/Process/elf-core/CMakeLists.txt
A lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_riscv64.cpp
A lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_riscv64.h
M lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp
M lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
A lldb/test/API/functionalities/postmortem/elf-core/linux-riscv64.core
A lldb/test/API/functionalities/postmortem/elf-core/linux-riscv64.out
Log Message:
-----------
[lldb][RISCV] Add RegisterContextPOSIXCore for RISC-V 64 (#93297)
The PR adds the support of CoreDump debugging for RISC-V 64. It
implements new `RegisterContextCorePOSIX_riscv64` class.
Also, the contribution fixes `GetRegisterCount()` ->
`GetRegisterSetCount()` misprint in
`RegisterContextPOSIX_riscv64::GetRegisterSetCount()` method, which
leaded to `set && "Register set should be valid."` assertion during
`register info aX` command call.
The patch was tested (on coredumps generated for simple Integer/FP
calculation code) for _cross x86_64 -> RISCV_ and _native RISCV_ LLDB
builds. There were performed basic LLDB functionality tests, such as:
- CoreDump file load
- Backtrace / frames
- GP/FP registers read/info/list
- Basic switch between threads
- Disassembler code
- Memory regions read / display
Commit: b8b2a013dafbacc5479d50574519e07ee2e5855f
https://github.com/llvm/llvm-project/commit/b8b2a013dafbacc5479d50574519e07ee2e5855f
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/source/Plugins/Process/elf-core/BUILD.gn
Log Message:
-----------
[gn build] Port d3a9043ec2ee
Commit: a07f03f116fd8d7a6691fdff7b6fc8ed4255c637
https://github.com/llvm/llvm-project/commit/a07f03f116fd8d7a6691fdff7b6fc8ed4255c637
Author: David Green <david.green at arm.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
A llvm/test/CodeGen/AArch64/sve-lsrchain.ll
Log Message:
-----------
[AArch64] Add a test for LSR chain generation with vscale increments. NFC
Commit: 7eaae4e6afb6a434cc9fd6065dfa347ab6c1c2bb
https://github.com/llvm/llvm-project/commit/7eaae4e6afb6a434cc9fd6065dfa347ab6c1c2bb
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/CodeGen/CGPasses.td
M flang/include/flang/Optimizer/CodeGen/CodeGen.h
M flang/include/flang/Tools/CLOptions.inc
M flang/lib/Optimizer/CodeGen/PreCGRewrite.cpp
Log Message:
-----------
[flang][CodeGen][NFC] Reduce PreCGRewrite pass boilerplate (#94329)
The pass constructor can be generated automatically by tablegen.
This pass is module-level and runs on all instances of target operations
inside of it and so does not need any modification to support
alternative top-level operations.
Commit: 42ebf3eaafc2a5c3c9338020186c0ad44cc4edf7
https://github.com/llvm/llvm-project/commit/42ebf3eaafc2a5c3c9338020186c0ad44cc4edf7
Author: klensy <klensy at users.noreply.github.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/utils/filecheck_lint/filecheck_lint.py
M llvm/utils/filecheck_lint/filecheck_lint_test.py
Log Message:
-----------
[utils][filecheck-lint]: speedup filecheck_lint (#94191)
For example:
clang\test\OpenMP\task_codegen.cpp: 0m29.570s -> 0m0.159s
clang\test\Driver: 4m55.917s -> 1m48.053s
Most win from big files.
---------
Co-authored-by: klensy <nightouser at gmail.com>
Commit: 043cc5a2275d014766dd4ec2ad4fe07d5516ceef
https://github.com/llvm/llvm-project/commit/043cc5a2275d014766dd4ec2ad4fe07d5516ceef
Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M compiler-rt/lib/builtins/CMakeLists.txt
A compiler-rt/lib/builtins/aarch64/sme-abi-vg.c
M compiler-rt/lib/builtins/cpu_model/aarch64.c
A compiler-rt/lib/builtins/cpu_model/aarch64.h
Log Message:
-----------
[AArch64][compiler-rt] Add a function returning the current vector length (#92921)
__arm_get_current_vg emits a cntd instruction if in streaming mode or SVE is
available at runtime, otherwise it will return 0.
Commit: e635520be888335dd59874038d33e60cca3a7143
https://github.com/llvm/llvm-project/commit/e635520be888335dd59874038d33e60cca3a7143
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/test/CodeGen/X86/combine-abs.ll
Log Message:
-----------
[DAG] computeKnownBits - abs(x) will be zero in the upper bits if x is sign-extended (#94382)
As reported on https://github.com/llvm/llvm-project/issues/94344 - if x has more than one signbit, then the upper bits of its absolute value are guaranteed to be zero
Alive2: https://alive2.llvm.org/ce/z/a87fHU
Fixes #94344
Commit: 05e1b5340b0caf19ef2f8323b84082c389850720
https://github.com/llvm/llvm-project/commit/05e1b5340b0caf19ef2f8323b84082c389850720
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/fixed-order-recurrence.ll
M llvm/test/Transforms/LoopVectorize/AArch64/induction-costs.ll
M llvm/test/Transforms/LoopVectorize/AArch64/loop-vectorization-factors.ll
M llvm/test/Transforms/LoopVectorize/AArch64/reduction-recurrence-costs-sve.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-interleaved-accesses.ll
M llvm/test/Transforms/LoopVectorize/X86/fixed-order-recurrence.ll
M llvm/test/Transforms/LoopVectorize/X86/pr72969.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-chains-vplan.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-chains.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-complex.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-sink-replicate-region.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence.ll
M llvm/test/Transforms/LoopVectorize/induction.ll
M llvm/test/Transforms/LoopVectorize/interleave-and-scalarize-only.ll
M llvm/test/Transforms/LoopVectorize/interleaved-accesses.ll
M llvm/test/Transforms/LoopVectorize/vplan-printing.ll
Log Message:
-----------
[VPlan] Model FOR resume value extraction in VPlan. (#93396)
This patch uses the ExtractFromEnd VPInstruction opcode
to extract the value of a FOR to be used as resume value for the ph in
the scalar loop.
It adds a new live-out that temporarily wraps the FOR phi in the scalar
loop. fixFixedOrderRecurrence will process live outs for fixed order
recurrence phis by creating a new phi node in the scalar preheader,
using the generated value for the live-out as incoming value from the
middle block and the original start value as incoming value for the
other edge. Creation of the phi in the preheader, as well as updating
the phi in the scalar loop will also be moved to VPlan in the future,
eventually retiring fixFixedOrderRecurrence
Depends on https://github.com/llvm/llvm-project/pull/93395
PR: https://github.com/llvm/llvm-project/pull/93396
Commit: 2c31bc7c0455e2167dcaef6b284cb0574406fc72
https://github.com/llvm/llvm-project/commit/2c31bc7c0455e2167dcaef6b284cb0574406fc72
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M flang/lib/Semantics/check-omp-structure.cpp
A flang/test/Semantics/OpenMP/reduction13.f90
Log Message:
-----------
[flang][Semantics][OpenMP] Fix ICE for unknown reduction starting with . (#94398)
In this case the union inside of the `parser::DefinedOperator` contains
a string name instead of the expected
`parser::DefinedOperator::IntrinsicOperator`. This led to a
`std::abort`.
This patch adapts the code so that if it contains a string name we emit
a semantic error.
Commit: 29a925abb660104b413b15075b3a19793825f57e
https://github.com/llvm/llvm-project/commit/29a925abb660104b413b15075b3a19793825f57e
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M mlir/include/mlir/Analysis/FlatLinearValueConstraints.h
M mlir/include/mlir/Dialect/Vector/IR/ScalableValueBoundsConstraintSet.h
M mlir/include/mlir/IR/AffineExprVisitor.h
M mlir/include/mlir/Interfaces/ValueBoundsOpInterface.h
M mlir/lib/Analysis/FlatLinearValueConstraints.cpp
M mlir/lib/Dialect/Vector/IR/ScalableValueBoundsConstraintSet.cpp
M mlir/lib/IR/AffineExpr.cpp
M mlir/lib/Interfaces/ValueBoundsOpInterface.cpp
M mlir/test/Dialect/Vector/test-scalable-bounds.mlir
Log Message:
-----------
[mlir][affine][Analysis] Add conservative bounds for semi-affine mods (#93576)
This patch adds support for computing bounds for semi-affine mod
expression to FlatLinearConstraints. This is then enabled within the
ScalableValueBoundsConstraintSet to allow computing the bounds of
scalable remainder loops.
E.g. computing the bound of something like:
```
// `1000 mod s0` is a semi-affine.
#remainder_start_index = affine_map<()[s0] -> (-(1000 mod s0) + 1000)>
#remaining_iterations = affine_map<(d0) -> (-d0 + 1000)>
%0 = affine.apply #remainder_start_index()[%c8_vscale]
scf.for %i = %0 to %c1000 step %c8_vscale {
%remaining_iterations = affine.apply #remaining_iterations(%i)
// The upper bound for the remainder loop iterations should be:
// %c8_vscale - 1 (expressed as an affine map,
// affine_map<()[s0] -> (s0 * 8 - 1)>, where s0 is vscale)
%bound = "test.reify_bound"(%remaining_iterations) <{scalable, ...}>
}
```
There are caveats to this implementation. To be able to add a bound for
a `mod` we need to assume the rhs is positive (> 0). This may not be
known when adding the bounds for the `mod` expression. So to handle this
a constraint is added for `rhs > 0`, this may later be found not to hold
(in which case the constraints set becomes empty/invalid).
This is not a problem for computing scalable bounds where it's safe to
assume `s0` is vscale (or some positive multiple of it). But this may
need to be considered when enabling this feature elsewhere (to ensure
correctness).
Commit: 851710d7910609e176cda36e0d113274d6bd506d
https://github.com/llvm/llvm-project/commit/851710d7910609e176cda36e0d113274d6bd506d
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/test/Transforms/SimplifyCFG/X86/sink-common-code.ll
Log Message:
-----------
[SimplifyCFG] Add additional tests for sinking (NFC)
This covers some interesting edge cases when the sink target is
a loop header.
Commit: 9b2a349991a87b2d9d576b0b1f63f357870449b1
https://github.com/llvm/llvm-project/commit/9b2a349991a87b2d9d576b0b1f63f357870449b1
Author: Christian Ulmann <christianulmann at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M mlir/include/mlir/Target/LLVMIR/Export.h
M mlir/include/mlir/Target/LLVMIR/ModuleTranslation.h
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
Log Message:
-----------
[MLIR][ModuleTranslation] Add disableVerification parameter (NFC) (#94445)
This commit adds a boolean parameter that allows downstream users to
disable the verification when translating an MLIR module to LLVM IR.
This is helpful for debugging broken LLVM IR modules post translation.
Commit: 54b20cbb95fec00ebc0cc83c8d7ca885294c1016
https://github.com/llvm/llvm-project/commit/54b20cbb95fec00ebc0cc83c8d7ca885294c1016
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/test/CodeGen/AArch64/neon-abd.ll
Log Message:
-----------
[DAG] computeKnownBits - abds(x, y) will be zero in the upper bits if x and y are sign-extended (#94448)
As reported on #94442 - if x and y have more than one signbit, then the upper bits of its absolute value are guaranteed to be zero
Sibling PR to #94382
Alive2: https://alive2.llvm.org/ce/z/7_z2Vc
Fixes #94442
Commit: 1ea568895aa106a61e84607edfd52c3ebf4b59bc
https://github.com/llvm/llvm-project/commit/1ea568895aa106a61e84607edfd52c3ebf4b59bc
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
Log Message:
-----------
[clang][Interp][NFC] Mark failed globals as uninitialized
This happens automatically if anything _before_ the Ret op fails,
but in this case we have to un-initialize it again.
Commit: d4d3239d982e15e039d3958b4202b13203df26bd
https://github.com/llvm/llvm-project/commit/d4d3239d982e15e039d3958b4202b13203df26bd
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
A llvm/include/llvm/CodeGen/LocalStackSlotAllocation.h
M llvm/include/llvm/Passes/CodeGenPassBuilder.h
M llvm/include/llvm/Passes/MachinePassRegistry.def
M llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/test/CodeGen/AArch64/aarch64st1.mir
M llvm/test/CodeGen/AArch64/sve-localstackalloc.mir
Log Message:
-----------
[NewPM][CodeGen] Port `localstackalloc` to new pass manager (#94303)
There are two AArch64 tests use `-start-before` and `-print-after`. Rest tests uses `--passes` to test this pass.
Commit: 5f2aa912766e4d48a5b46afa7ad9e99a41a51ee8
https://github.com/llvm/llvm-project/commit/5f2aa912766e4d48a5b46afa7ad9e99a41a51ee8
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Disasm.cpp
Log Message:
-----------
[clang][Interp][NFC] Don't try to dump uninitialized global variables
They don't contain anything useful.
Commit: 145815c180fc82c5a55bf568d01d98d250490a55
https://github.com/llvm/llvm-project/commit/145815c180fc82c5a55bf568d01d98d250490a55
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Disasm.cpp
M clang/lib/AST/Interp/EvaluationResult.cpp
Log Message:
-----------
[clang][Interp][NFC] Move EvaluationResult::dump() to Disasm.cpp
Where all the other dump() functions live.
Commit: a44d7406f45fd3e5af45de116aed03b0bf7a881f
https://github.com/llvm/llvm-project/commit/a44d7406f45fd3e5af45de116aed03b0bf7a881f
Author: Carl Ritson <carl.ritson at amd.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/wqm.ll
Log Message:
-----------
[AMDGPU][NFC] Pre-commit test for PR #94133
Commit: 3388c5aadd8583b5a596576c52be886104d557f2
https://github.com/llvm/llvm-project/commit/3388c5aadd8583b5a596576c52be886104d557f2
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/InterpBlock.h
Log Message:
-----------
[clang][Interp][NFC] Add missing assertion to Block ctor
We have this assertion in all the other constructors.
Commit: a16d33eaebb3fdbc9435c125c206372c8a7374d5
https://github.com/llvm/llvm-project/commit/a16d33eaebb3fdbc9435c125c206372c8a7374d5
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Program.h
Log Message:
-----------
[clang][Interp][NFC] Don't invoke block dtor on uninitialized globals
That can't ever work.
Commit: c70fa55bed45fc0cc0063e9f0bf93f163b5a1962
https://github.com/llvm/llvm-project/commit/c70fa55bed45fc0cc0063e9f0bf93f163b5a1962
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Context.cpp
M clang/lib/AST/Interp/EvalEmitter.cpp
M clang/lib/AST/Interp/EvalEmitter.h
M clang/lib/AST/Interp/InterpState.cpp
M clang/lib/AST/Interp/InterpState.h
Log Message:
-----------
[clang][Interp][NFC] Add cleanup() infrastructure to EvalEmitter
Unused for now.
Commit: 6168e82c1e17c58ebc9c0b6c8f2273fd9a610977
https://github.com/llvm/llvm-project/commit/6168e82c1e17c58ebc9c0b6c8f2273fd9a610977
Author: Christian Ulmann <christianulmann at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M mlir/lib/Dialect/LLVMIR/IR/LLVMInlining.cpp
A mlir/test/Dialect/LLVMIR/inlining-loop-annotation.mlir
Log Message:
-----------
[MLIR][LLVM] Add inlining support for loop annotations (#94447)
This commit extends the LLVM dialect's inliner interface support
updating loop annotation attributes. This is necessary because the loop
annotations can contain debug locations, which are verified by LLVM's
verifier. LLVM requires these locations to have the same scope as the
function this attribute is contained in.
Commit: 3614beede1d22cc7d2492a9742d68b210cb75dd1
https://github.com/llvm/llvm-project/commit/3614beede1d22cc7d2492a9742d68b210cb75dd1
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/c23.rst
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/math/CMakeLists.txt
A libc/src/math/canonicalizef16.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/canonicalizef16.cpp
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/CanonicalizeTest.h
A libc/test/src/math/smoke/canonicalizef16_test.cpp
Log Message:
-----------
[libc][math][c23] Add canonicalizef16 C23 math function (#94341)
#93566
Commit: 163cb1fc2fe4caa8306a18abdb0516870e4d7f3d
https://github.com/llvm/llvm-project/commit/163cb1fc2fe4caa8306a18abdb0516870e4d7f3d
Author: EdJoPaTo <github at edjopato.de>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp
Log Message:
-----------
[llvm-cov] Add HTML dark theme support (#93080)
Personally I use
[cargo-llvm-cov](https://github.com/taiki-e/cargo-llvm-cov) which
creates helpful HTML coverage reports, but they don't support a dynamic
dark themes.
I updated the styling to support both dark and bright color themes based
on the browser preference. The bright theme should look similar to the
current theme.
I also improved some color contrasts (Firefox accessibility tool
reported them) and ensured that line-number links keep their
text-decoration.
Things that both have `.tooltip` and `.red` look kinda odd as the
coloring is now based on tinting with transparency. Given that the
tooltip should always show 0 in such cases (otherwise it wouldn't be
red) the tooltip could be removed there on the HTML generation, but that
seemed out of scope for my style only change.
Commit: 5a201415392bcd0e0b22d13e9aaae03ccf3043e6
https://github.com/llvm/llvm-project/commit/5a201415392bcd0e0b22d13e9aaae03ccf3043e6
Author: Alex Bradbury <asb at igalia.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/TargetTransformInfo.h
M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
M llvm/include/llvm/CodeGen/BasicTTIImpl.h
M llvm/lib/Analysis/TargetTransformInfo.cpp
M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Log Message:
-----------
[LSR] Provide TTI hook to enable dropping solutions deemed to be unprofitable (#89924)
<https://reviews.llvm.org/D126043> introduced a flag to drop solutions
if deemed unprofitable. As noted there, introducing a TTI hook enables
backends to individually opt into this behaviour.
This will be used by #89927.
Commit: af76071ac078834ad0c4085e1c88198d3735fbd5
https://github.com/llvm/llvm-project/commit/af76071ac078834ad0c4085e1c88198d3735fbd5
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/CodeGen/CGPasses.td
M flang/include/flang/Optimizer/CodeGen/CodeGen.h
M flang/include/flang/Tools/CLOptions.inc
M flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
Log Message:
-----------
[flang][CodeGen][NFC] Reduce TargetRewrite pass boilerplate (#94450)
Tablegen can automatically generate the pass constructor. Tablegen will
create a constructor for all of the pass options (not only the subset in
the old constructor), but the pass options seem unused anyway.
This pass does not require any modification to support alternative
top-level ops. It walks all operations in the module. Functions have
special handling (adding attributes, converting signatures) but this
wouldn't make sense for top level operations in general.
Commit: 2d9b83750fea782276ec1f70157122b0b7d1856e
https://github.com/llvm/llvm-project/commit/2d9b83750fea782276ec1f70157122b0b7d1856e
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[bazel] Add missing dep for __support_cpp_expected
Commit: 42f4e505a38480b6a714b503dd946ffff31ae029
https://github.com/llvm/llvm-project/commit/42f4e505a38480b6a714b503dd946ffff31ae029
Author: Erich Keane <ekeane at nvidia.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/include/clang-c/Index.h
M clang/include/clang/AST/RecursiveASTVisitor.h
M clang/include/clang/AST/StmtOpenACC.h
M clang/include/clang/AST/TextNodeDumper.h
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/StmtNodes.td
M clang/include/clang/Sema/SemaOpenACC.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/lib/AST/StmtOpenACC.cpp
M clang/lib/AST/StmtPrinter.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/Parse/ParseOpenACC.cpp
M clang/lib/Sema/SemaExceptionSpec.cpp
M clang/lib/Sema/SemaOpenACC.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTReaderStmt.cpp
M clang/lib/Serialization/ASTWriterStmt.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
A clang/test/AST/ast-print-openacc-loop-construct.cpp
M clang/test/ParserOpenACC/parse-clauses.c
M clang/test/ParserOpenACC/parse-clauses.cpp
M clang/test/ParserOpenACC/parse-constructs.c
M clang/test/SemaOpenACC/compute-construct-async-clause.c
M clang/test/SemaOpenACC/compute-construct-attach-clause.c
M clang/test/SemaOpenACC/compute-construct-copy-clause.c
M clang/test/SemaOpenACC/compute-construct-copyin-clause.c
M clang/test/SemaOpenACC/compute-construct-copyout-clause.c
M clang/test/SemaOpenACC/compute-construct-create-clause.c
M clang/test/SemaOpenACC/compute-construct-default-clause.c
M clang/test/SemaOpenACC/compute-construct-deviceptr-clause.c
M clang/test/SemaOpenACC/compute-construct-firstprivate-clause.c
M clang/test/SemaOpenACC/compute-construct-if-clause.c
M clang/test/SemaOpenACC/compute-construct-no_create-clause.c
M clang/test/SemaOpenACC/compute-construct-num_gangs-clause.c
M clang/test/SemaOpenACC/compute-construct-num_workers-clause.c
M clang/test/SemaOpenACC/compute-construct-present-clause.c
M clang/test/SemaOpenACC/compute-construct-self-clause.c
M clang/test/SemaOpenACC/compute-construct-vector_length-clause.c
M clang/test/SemaOpenACC/compute-construct-wait-clause.c
A clang/test/SemaOpenACC/loop-ast.cpp
A clang/test/SemaOpenACC/loop-loc-and-stmt.c
A clang/test/SemaOpenACC/loop-loc-and-stmt.cpp
M clang/tools/libclang/CIndex.cpp
M clang/tools/libclang/CXCursor.cpp
Log Message:
-----------
[OpenACC] Loop construct basic Sema and AST work (#93742)
This patch implements the 'loop' construct AST, as well as the basic
appertainment rule. Additionally, it sets up the 'parent' compute
construct, which is necessary for codegen/other diagnostics.
A 'loop' can apply to a for or range-for loop, otherwise it has no other
restrictions (though some of its clauses do).
Commit: 3387e558449e1748a7d4b10f2d9049647c9acc56
https://github.com/llvm/llvm-project/commit/3387e558449e1748a7d4b10f2d9049647c9acc56
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
Log Message:
-----------
[InstCombine] Use SimplifyQuery in isKnownSign()
This enabled the use of DomConditionCache. As such, remove the
explicit isImpliedByDomCondition() call. This is probably not
entirely NFC because these APIs don't support exactly the same
cases.
Commit: 79e09b1555a51cc8d02d0225ed6d81a21fa09eca
https://github.com/llvm/llvm-project/commit/79e09b1555a51cc8d02d0225ed6d81a21fa09eca
Author: Hana Dusíková <hanicka at hanicka.net>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/test/tools/llvm-cov/style.test
Log Message:
-----------
[llvm-cov] [NFC] don't test pseudo-selectors in CSS
fixes test for .css file generated by llvm-cov from recent PR
https://github.com/llvm/llvm-project/pull/93080
Commit: b9549261e218cee2ad1305fb7272b831799b7bfe
https://github.com/llvm/llvm-project/commit/b9549261e218cee2ad1305fb7272b831799b7bfe
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Flang.cpp
M flang/include/flang/Frontend/LangOptions.def
M flang/include/flang/Tools/CrossToolHelpers.h
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/test/Driver/omp-driver-offload.f90
A flang/test/Lower/OpenMP/force-usm.f90
A flang/test/Lower/OpenMP/requires-force-usm.f90
M flang/tools/bbc/bbc.cpp
Log Message:
-----------
[Flang][OpenMP] Add -fopenmp-force-usm option to flang (#94359)
This patch enables the `-fopenmp-force-usm` option to be passed to the
flang driver, which forwards it to the compiler frontend. This flag,
when set, results in the introduction of the `unified_shared_memory` bit
to the `omp.requires` attribute of the top-level module operation.
This is later combined with any other target device-related REQUIRES
clauses that may have been explicitly set in the compilation unit.
Commit: 6c973036818f926c65ddc9b40578917e5f2240cb
https://github.com/llvm/llvm-project/commit/6c973036818f926c65ddc9b40578917e5f2240cb
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/math/CMakeLists.txt
A libc/src/math/copysignf16.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/copysignf16.cpp
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/CopySignTest.h
A libc/test/src/math/smoke/copysignf16_test.cpp
Log Message:
-----------
[libc][math][c23] Add copysignf16 C23 math function (#94351)
#93566
Commit: ce8bb9b5acea9f8fb5392ae717e7d7b7683230ea
https://github.com/llvm/llvm-project/commit/ce8bb9b5acea9f8fb5392ae717e7d7b7683230ea
Author: jameshu15869 <55058507+jameshu15869 at users.noreply.github.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M libc/src/__support/fixedvector.h
M libc/test/src/__support/fixedvector_test.cpp
Log Message:
-----------
[libc] Implement forward iterators for libc fixed_vector (#93916)
- Implements forward iterators for `cpp::fixed_vector` to use in
https://github.com/llvm/llvm-project/pull/92009
Commit: 38bf6840e8589ebe22e8157aee79a57d9db9393d
https://github.com/llvm/llvm-project/commit/38bf6840e8589ebe22e8157aee79a57d9db9393d
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M libcxx/include/span
M libcxx/test/std/containers/views/views.span/span.cons/span.pass.cpp
Log Message:
-----------
[libc++] Add missing noexcept to span constructor (#94381)
Thanks to Marshall Clow for noticing.
Fixes #94364
Commit: a0cdd32b79318fc45e07bc0cef7e57308b1166ed
https://github.com/llvm/llvm-project/commit/a0cdd32b79318fc45e07bc0cef7e57308b1166ed
Author: Stephan T. Lavavej <stl at nuwen.net>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M libcxx/test/libcxx/assertions/modes/enabling_assertions_enables_extensive_mode.pass.cpp
M libcxx/test/libcxx/assertions/modes/override_with_debug_mode.pass.cpp
M libcxx/test/libcxx/assertions/modes/override_with_extensive_mode.pass.cpp
M libcxx/test/libcxx/assertions/modes/override_with_fast_mode.pass.cpp
M libcxx/test/libcxx/assertions/modes/override_with_unchecked_mode.pass.cpp
M libcxx/test/libcxx/containers/sequences/deque/asan_caterpillar.pass.cpp
M libcxx/test/std/algorithms/pstl.exception_handling.pass.cpp
Log Message:
-----------
[libc++] [test] Consistently use `REQUIRES: has-unix-headers` (#94122)
There were 7 occurrences of `UNSUPPORTED: !has-unix-headers`, versus 212
occurrences of `REQUIRES: has-unix-headers`.
I don't completely understand how libc++ uses UNSUPPORTED versus
REQUIRES, but it seems better to be consistent, and to avoid the double
negation in "this is unsupported if we don't have unix headers".
(This came to my attention because of the single occurrence in
`libcxx/test/std`. Our MSVC-internal test harness isn't aware of lit
features, so we teach it to skip tests via the incredibly primitive
method of searching for specific comments, so I had to deal with this
comment inconsistency.)
Commit: ae858b5123e8323c4dbee774b86013f7f24a6aac
https://github.com/llvm/llvm-project/commit/ae858b5123e8323c4dbee774b86013f7f24a6aac
Author: AngryLoki <AngryLoki at users.noreply.github.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M libcxx/test/libcxx/transitive_includes.gen.py
M libcxx/utils/generate_escaped_output_table.py
M libcxx/utils/generate_width_estimation_table.py
Log Message:
-----------
[libc++] Fix SyntaxWarning messages from python 3.12 (#93637)
This fixes "SyntaxWarning: invalid escape sequence" and "SyntaxWarning: `is` with int literal".
transitive_includes.gen.py was also reformatted with darker per the style guide.
Signed-off-by: Sv. Lockal <lockalsash at gmail.com>
Commit: 289725f11c579348ec49c8c606de4291314db0d9
https://github.com/llvm/llvm-project/commit/289725f11c579348ec49c8c606de4291314db0d9
Author: Daniel Krupp <daniel.krupp at ericsson.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/docs/analyzer/checkers.rst
M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
M clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
M clang/test/Analysis/malloc.c
M clang/test/Analysis/malloc.cpp
M clang/test/Analysis/taint-diagnostic-visitor.c
Log Message:
-----------
[analyzer] New optin.taint.TaintedAlloc checker for catching unbounded memory allocation calls (#92420)
A new optional checker (optin.taint.TaintedAlloc) will warn if a memory
allocation function (malloc, calloc, realloc, alloca, operator new[]) is
called with a tainted (attacker controlled) size parameter.
A large, maliciously set size value can trigger memory exhaustion. To
get this warning, the alpha.security.taint.TaintPropagation checker also
needs to be switched on.
The warning will only be emitted, if the analyzer cannot prove that the
size is below reasonable bounds (<SIZE_MAX/4).
Commit: 991d2fb3ea1135f0ce12af180fa1d5d899b9ea67
https://github.com/llvm/llvm-project/commit/991d2fb3ea1135f0ce12af180fa1d5d899b9ea67
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/test/Transforms/SimplifyCFG/branch-fold-threshold.ll
Log Message:
-----------
[SimplifyCFG] branch-fold-threshold.ll - regenerate checks
Commit: 07b8990d38ebaf42b0ed1c60d49b484a6e2497e8
https://github.com/llvm/llvm-project/commit/07b8990d38ebaf42b0ed1c60d49b484a6e2497e8
Author: c8ef <c8ef at outlook.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/DenseMap.h
M llvm/unittests/ADT/DenseMapTest.cpp
Log Message:
-----------
[ADT] Add C++17-style insert_or_assign for DenseMap (#94151)
add C++17-style insert_or_assign for DenseMap
close: #94115
Commit: c537f3564684662748f76cccc325287cb0f54cbd
https://github.com/llvm/llvm-project/commit/c537f3564684662748f76cccc325287cb0f54cbd
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/math/CMakeLists.txt
A libc/src/math/fdimf16.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/fdimf16.cpp
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/FDimTest.h
A libc/test/src/math/smoke/fdimf16_test.cpp
Log Message:
-----------
[libc][math][c23] Add fdimf16 C23 math function (#94354)
#93566
Commit: d0223b9ffc40146fb4a948ebfa652dc95499b7ba
https://github.com/llvm/llvm-project/commit/d0223b9ffc40146fb4a948ebfa652dc95499b7ba
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/ExprCXX.h
M clang/include/clang/Sema/Overload.h
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaOverload.cpp
M clang/test/CXX/drs/cwg1xx.cpp
M clang/test/CXX/drs/cwg26xx.cpp
A clang/test/CXX/drs/cwg2771.cpp
M clang/test/CodeGenCXX/cxx2b-deducing-this.cpp
M clang/test/SemaCXX/cxx2b-deducing-this.cpp
M clang/www/cxx_dr_status.html
M clang/www/cxx_status.html
Log Message:
-----------
[Clang] Static and explicit object member functions with the same parameter-type-lists (#93430)
Implement P2797.
Because taking the address of an explicit object member function results
in a function pointer, a call expression where the id-expression is an
explicit object member is made to behave consistently with that model.
This change forces clang to perform overload resolution in the presence
of an id-expression of the form `(&Foo::bar)(args...)`, which we
previously failed to do consistently.
Commit: c656f29b32c26f54b71b2fef5ccdd38427beb2ba
https://github.com/llvm/llvm-project/commit/c656f29b32c26f54b71b2fef5ccdd38427beb2ba
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/test/MC/RISCV/relocations.s
Log Message:
-----------
[MC][RISCV] relocations.s - fix broken checks identified in #93673
Commit: 7578c31823ff1b23f1f15607f8abf57bc173b843
https://github.com/llvm/llvm-project/commit/7578c31823ff1b23f1f15607f8abf57bc173b843
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M libc/test/src/math/smoke/RoundToIntegerTest.h
Log Message:
-----------
[libc] Disable fpexcept testing on the GPU
Summary:
These new tests fails on the GPU due to the exception testing. Disable
it for now because these aren't supported and can't be supported on
NVPTX.
Commit: f10e71f6d80719c47f3eed117120e74d9d3858c1
https://github.com/llvm/llvm-project/commit/f10e71f6d80719c47f3eed117120e74d9d3858c1
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaOpenACC.cpp
M clang/test/AST/ast-print-openacc-loop-construct.cpp
A clang/test/SemaOpenACC/loop-construct-device_type-ast.cpp
A clang/test/SemaOpenACC/loop-construct-device_type-clause.c
A clang/test/SemaOpenACC/loop-construct-device_type-clause.cpp
Log Message:
-----------
[OpenACC] Implement 'device_type' sema for 'loop' construct
This clause is effectively identical to how this works on compute
clauses, however the list of clauses allowed after it are slightly
different. This enables the clause for the 'loop', and ensures we're
permitting the correct list.
Commit: 0a357adc75aa6f9d6b9fe815a5da937128cfee56
https://github.com/llvm/llvm-project/commit/0a357adc75aa6f9d6b9fe815a5da937128cfee56
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/test/Analysis/ScalarEvolution/scalable-vector.ll
Log Message:
-----------
[SCEV] Support non-constant step in howFarToZero (#94411)
VF * vscale is the canonical step for a scalably vectorized loop, and
LFTR canonicalizes to NE loop tests, so having our trip count logic be
unable to compute trip counts for such loops is unfortunate.
The existing code needed minimal generalization to handle non-constant
strides. The tricky cases to be sure we handle correctly are: zero, and
-1 (due to the special case of abs(-1) being non-positive).
This patch does the full generalization in terms of code structure, but
in practice, this seems unlikely to benefit
anything beyond the (C * vscale) case. I did some quick investigation,
and it seems the context free non-zero, and sign checks are basically
never disproved for arbitrary scales. I think we have alternate tactics
available for these, but I'm going to return to that in a separate
patch.
Commit: 07b9d231ff9baa6473b0dd588a3ce5330d3e4871
https://github.com/llvm/llvm-project/commit/07b9d231ff9baa6473b0dd588a3ce5330d3e4871
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/test/Transforms/SimplifyCFG/ARM/speculate-math.ll
M llvm/test/Transforms/SimplifyCFG/ARM/switch-to-lookup-table-constant-expr.ll
M llvm/test/Transforms/SimplifyCFG/EqualPHIEdgeBlockMerge.ll
M llvm/test/Transforms/SimplifyCFG/FoldValueComparisonIntoPredecessors-domtree-preservation-edgecase-2.ll
M llvm/test/Transforms/SimplifyCFG/FoldValueComparisonIntoPredecessors-domtree-preservation-edgecase.ll
M llvm/test/Transforms/SimplifyCFG/ForwardSwitchConditionToPHI.ll
M llvm/test/Transforms/SimplifyCFG/Hexagon/switch-to-lookup-table.ll
M llvm/test/Transforms/SimplifyCFG/RISCV/switch-of-powers-of-two.ll
M llvm/test/Transforms/SimplifyCFG/SimplifyEqualityComparisonWithOnlyPredecessor-domtree-preservation-edgecase.ll
M llvm/test/Transforms/SimplifyCFG/X86/disable-lookup-table.ll
M llvm/test/Transforms/SimplifyCFG/X86/empty-cleanuppad.ll
M llvm/test/Transforms/SimplifyCFG/X86/merge-compatible-invokes-of-landingpad-debuginfo.ll
M llvm/test/Transforms/SimplifyCFG/X86/merge-compatible-invokes-of-landingpad.ll
M llvm/test/Transforms/SimplifyCFG/X86/sink-common-code-into-unreachable.ll
M llvm/test/Transforms/SimplifyCFG/X86/switch-to-lookup-gep.ll
M llvm/test/Transforms/SimplifyCFG/X86/switch-to-lookup-large-types.ll
M llvm/test/Transforms/SimplifyCFG/basictest.ll
M llvm/test/Transforms/SimplifyCFG/branch-fold-dbg.ll
M llvm/test/Transforms/SimplifyCFG/branch-on-undef.ll
M llvm/test/Transforms/SimplifyCFG/callbr-destinations.ll
M llvm/test/Transforms/SimplifyCFG/duplicate-landingpad.ll
M llvm/test/Transforms/SimplifyCFG/empty-catchpad.ll
M llvm/test/Transforms/SimplifyCFG/fold-two-entry-phi-node-with-one-block-profmd.ll
M llvm/test/Transforms/SimplifyCFG/fold-two-entry-phi-node-with-two-blocks-profmd.ll
M llvm/test/Transforms/SimplifyCFG/gepcost.ll
M llvm/test/Transforms/SimplifyCFG/hoist-common-code-with-unreachable.ll
M llvm/test/Transforms/SimplifyCFG/hoist-common-code.ll
M llvm/test/Transforms/SimplifyCFG/hoist-common-skip.ll
M llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue.ll
M llvm/test/Transforms/SimplifyCFG/hoist-with-metadata.ll
M llvm/test/Transforms/SimplifyCFG/invoke.ll
M llvm/test/Transforms/SimplifyCFG/jump-threading-debuginfo.ll
M llvm/test/Transforms/SimplifyCFG/jump-threading.ll
M llvm/test/Transforms/SimplifyCFG/merge-default.ll
M llvm/test/Transforms/SimplifyCFG/merge-deopt-bundle-constants.ll
M llvm/test/Transforms/SimplifyCFG/merge-duplicate-conditional-ret-val.ll
M llvm/test/Transforms/SimplifyCFG/merge-empty-return-blocks.ll
M llvm/test/Transforms/SimplifyCFG/merge-phis-in-switch.ll
M llvm/test/Transforms/SimplifyCFG/multiple-phis.ll
M llvm/test/Transforms/SimplifyCFG/poison-merge.ll
M llvm/test/Transforms/SimplifyCFG/pr35774.ll
M llvm/test/Transforms/SimplifyCFG/pr50060-constantfold-loopid.ll
M llvm/test/Transforms/SimplifyCFG/preserve-branchweights-switch-create.ll
M llvm/test/Transforms/SimplifyCFG/preserve-branchweights.ll
M llvm/test/Transforms/SimplifyCFG/rangereduce.ll
M llvm/test/Transforms/SimplifyCFG/return-merge.ll
M llvm/test/Transforms/SimplifyCFG/select-gep.ll
M llvm/test/Transforms/SimplifyCFG/speculate-math.ll
M llvm/test/Transforms/SimplifyCFG/speculatively-execute-block-profmd.ll
M llvm/test/Transforms/SimplifyCFG/suppress-zero-branch-weights.ll
M llvm/test/Transforms/SimplifyCFG/switch-masked-bits.ll
M llvm/test/Transforms/SimplifyCFG/switch-to-select-two-case.ll
M llvm/test/Transforms/SimplifyCFG/switch_create-custom-dl.ll
M llvm/test/Transforms/SimplifyCFG/switch_create.ll
M llvm/test/Transforms/SimplifyCFG/switch_msan.ll
M llvm/test/Transforms/SimplifyCFG/switch_switch_fold.ll
M llvm/test/Transforms/SimplifyCFG/switch_thread.ll
M llvm/test/Transforms/SimplifyCFG/switch_ub.ll
M llvm/test/Transforms/SimplifyCFG/tail-merge-noreturn.ll
M llvm/test/Transforms/SimplifyCFG/tail-merge-resume.ll
M llvm/test/Transforms/SimplifyCFG/wineh-unreachable.ll
Log Message:
-----------
[SimplifyCFG] Regenerate test checks (NFC)
The output for many of these slightly changed (mainly due to
switch indentation), so mass-regenerate them.
Commit: b5b61cce96580552a796f21fdcbee3080fd04a9e
https://github.com/llvm/llvm-project/commit/b5b61cce96580552a796f21fdcbee3080fd04a9e
Author: Henry Jiang <h243jian at uwaterloo.ca>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll
Log Message:
-----------
[VectorCombine] Preserves the maximal legal FPMathFlags during foldShuffleToIdentity (#94295)
The `VectorCombine::foldShuffleToIdentity` does not preserve fast math
flags when folding the shuffle, leading to unexpected vectorized result
and missed optimizations with FMA instructions.
We can conservatively take the maximal legal set of fast math flags
whenever we fold shuffles to identity to enable further optimizations in
the backend.
---------
Co-authored-by: Henry Jiang <henry.jiang1 at ibm.com>
Commit: 0911f6575fb0f9b487290ba28d1208c6b94716a0
https://github.com/llvm/llvm-project/commit/0911f6575fb0f9b487290ba28d1208c6b94716a0
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/include/llvm/Frontend/OpenMP/ClauseT.h
Log Message:
-----------
[Frontend][OpenMP] Clarify requirements for ObjectT, NFC
Only the "id()" member function is required.
Commit: 2bfa26d30fb96d77e73be7876d12dd23e768f809
https://github.com/llvm/llvm-project/commit/2bfa26d30fb96d77e73be7876d12dd23e768f809
Author: Konstantin Zhuravlyov <kzhuravl_dev at outlook.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/include/clang/Basic/Cuda.h
M clang/lib/Basic/Cuda.cpp
M clang/lib/Basic/Targets/NVPTX.cpp
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
M clang/test/Misc/target-invalid-cpu-note.c
Log Message:
-----------
AMDGPU: Add missing gfx* generic targets handling in clang (NVPTX, OpenMP runtime) (#94483)
Commit: 6150e84cfc87d118f8cd2794e40dd021c8779e9d
https://github.com/llvm/llvm-project/commit/6150e84cfc87d118f8cd2794e40dd021c8779e9d
Author: aengelke <engelke at in.tum.de>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAGNodes.h
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[CodeGen][SDAG] Remove Combiner WorklistMap (#92900)
DenseMap for pointer lookup is expensive, and this is only used for
deduplication and index lookup. Instead, store the worklist index in the
node itself.
This brings a substantial performance improvement.
Commit: 0295c2ada4d9964a2b6289c905e320bd42461f99
https://github.com/llvm/llvm-project/commit/0295c2ada4d9964a2b6289c905e320bd42461f99
Author: Zarko Todorovski <64787215+ZarkoT at users.noreply.github.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/test/CodeGen/PowerPC/aix-cc-byval-limitation3.ll
A llvm/test/CodeGen/PowerPC/aix-vector-byval-callee.ll
A llvm/test/CodeGen/PowerPC/aix-vector-byval.ll
Log Message:
-----------
[PowerPC][AIX] Support ByVals with greater alignment then pointer size (#93341)
Implementation is NOT compatible with IBM XL C 16.1 and earlier but is
compatible with GCC.
It handles all ByVals with greater alignment then pointer width the same
way IBM XL C handles Byvals
that have vector members. For overaligned objects that do not contain
vectors IBM XL C does not align them properly if they are passed in the
GPR
argument registers.
This patch was originally written by Sean Fertile @mandlebug.
Previously on Phabricator https://reviews.llvm.org/D105659
Commit: aa512943f47548beab655a5228c23b5503d480f8
https://github.com/llvm/llvm-project/commit/aa512943f47548beab655a5228c23b5503d480f8
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M .github/workflows/release-binaries.yml
Log Message:
-----------
workflows: Disable stage2 of the release builds (#93056)
We need to skip this step until PGO is re-enabled for the release
builds.
Commit: fda1e4b01f723c31a36ad659564ae4a61365930e
https://github.com/llvm/llvm-project/commit/fda1e4b01f723c31a36ad659564ae4a61365930e
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M libc/test/src/math/CMakeLists.txt
M libc/test/src/math/CeilTest.h
M libc/test/src/math/FloorTest.h
M libc/test/src/math/RoundEvenTest.h
M libc/test/src/math/RoundTest.h
M libc/test/src/math/TruncTest.h
A libc/test/src/math/ceilf16_test.cpp
A libc/test/src/math/floorf16_test.cpp
A libc/test/src/math/roundevenf16_test.cpp
A libc/test/src/math/roundf16_test.cpp
A libc/test/src/math/truncf16_test.cpp
M libc/utils/MPFRWrapper/MPFRUtils.cpp
Log Message:
-----------
[libc][math][c23] Add MPFR unit tests for {ceil,floor,round,roundeven,trunc}f16 (#94383)
Commit: 16aef9ec5231407140f283f3fe12f17410227da4
https://github.com/llvm/llvm-project/commit/16aef9ec5231407140f283f3fe12f17410227da4
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/test/CodeGen/RISCV/rvv/vsub.ll
Log Message:
-----------
Revert "[RISCV] Use vadd.vi for tail undisturbe vsub intrinsic with small immediate."
This reverts commit 1af0778f9c6e1ac0f6e2dfd0e56063cc21c4eea5.
I messed up the tail policy.
Commit: baa6609fad698c9e3727f5aff9e57896889e6d35
https://github.com/llvm/llvm-project/commit/baa6609fad698c9e3727f5aff9e57896889e6d35
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/test/CodeGen/RISCV/rvv/vsub.ll
Log Message:
-----------
Recommit "[RISCV] Use vadd.vi for tail undisturbe vsub intrinsic with small immediate."
Now with the correct tail policy.
Original message:
Our pattern previously checked for the merge operand being undef.
Commit: 61589b859974a3a4055c1065ad43b4899ee7bbcf
https://github.com/llvm/llvm-project/commit/61589b859974a3a4055c1065ad43b4899ee7bbcf
Author: Alexander Yermolovich <43973793+ayermolo at users.noreply.github.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M bolt/include/bolt/Core/DIEBuilder.h
M bolt/include/bolt/Core/DebugNames.h
M bolt/lib/Core/DIEBuilder.cpp
M bolt/lib/Core/DebugNames.cpp
A bolt/test/X86/dwarf5-debug-names-skip-forward-decl.s
Log Message:
-----------
[BOLT][DWARF] Fix parent chain in debug_names entries with forward declaration. (#93865)
Previously when an entry was skipped in parent chain a child will point
to the next valid entry in the chain. After discussion in
https://github.com/llvm/llvm-project/pull/91808 this is not very useful.
Changed implemenation so that all the children of the entry that is
skipped won't have DW_IDX_parent.
Commit: 53061eecdbd9ffc77a43f85b6c4e145a242a27a4
https://github.com/llvm/llvm-project/commit/53061eecdbd9ffc77a43f85b6c4e145a242a27a4
Author: Mingming Liu <mingmingl at google.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/include/llvm/Bitcode/BitcodeWriter.h
M llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
M llvm/include/llvm/Transforms/IPO/FunctionImport.h
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/LTO/LTO.cpp
M llvm/lib/LTO/ThinLTOCodeGenerator.cpp
M llvm/lib/Transforms/IPO/FunctionImport.cpp
M llvm/test/ThinLTO/X86/import_callee_declaration.ll
M llvm/tools/llvm-lto/llvm-lto.cpp
Log Message:
-----------
Revert "[ThinLTO][Bitcode] Generate import type in bitcode (#87600)" (#94502)
This reverts commit 6262763341fcd71a2b0708cf7485f9abd1d26ba8, to prepare
for the revert of https://github.com/llvm/llvm-project/pull/92718.
https://github.com/llvm/llvm-project/pull/92718 causes LTO indexing OOM
in some applications.
Commit: 707f4de4289e48e8a17bd0c9eb429d0c98061ecd
https://github.com/llvm/llvm-project/commit/707f4de4289e48e8a17bd0c9eb429d0c98061ecd
Author: Mingming Liu <mingmingl at google.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/ModuleSummaryIndex.h
M llvm/include/llvm/Transforms/IPO/FunctionImport.h
M llvm/lib/LTO/LTO.cpp
M llvm/lib/LTO/LTOBackend.cpp
M llvm/lib/Transforms/IPO/FunctionImport.cpp
M llvm/test/ThinLTO/X86/funcimport-stats.ll
R llvm/test/ThinLTO/X86/import_callee_declaration.ll
M llvm/test/Transforms/FunctionImport/funcimport.ll
M llvm/tools/llvm-link/llvm-link.cpp
Log Message:
-----------
Revert "Reland "[ThinLTO] Populate declaration import status except for distributed ThinLTO under a default-off new option" (#92718) (#94503)
This reverts commit e33db249b53fb70dce62db3ebd82d42239bd1d9d.
The change from *set to *map increases memory usage, and caused indexing
OOM in some applications. Need to profile offline to bring the memory
usage down.
Commit: 8407779bb7256c320f75913edf07c20c4e4c370a
https://github.com/llvm/llvm-project/commit/8407779bb7256c320f75913edf07c20c4e4c370a
Author: Andrey Portnoy <aportnoy at nvidia.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/BuiltinsNVPTX.def
M clang/include/clang/Basic/Cuda.h
M clang/lib/Basic/Cuda.cpp
M clang/lib/Driver/ToolChains/Cuda.cpp
M llvm/lib/Target/NVPTX/NVPTX.td
Log Message:
-----------
[CUDA] Mark CUDA-12.5 as supported and introduce ptx 8.5. (#94113)
This PR is based on https://github.com/llvm/llvm-project/pull/91516.
Commit: cbe97e959dc67503d7cc44a3810e3124b6d3340e
https://github.com/llvm/llvm-project/commit/cbe97e959dc67503d7cc44a3810e3124b6d3340e
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M libc/test/src/math/CMakeLists.txt
M libc/test/src/math/CeilTest.h
M libc/test/src/math/FloorTest.h
M libc/test/src/math/RoundEvenTest.h
M libc/test/src/math/RoundTest.h
M libc/test/src/math/TruncTest.h
R libc/test/src/math/ceilf16_test.cpp
R libc/test/src/math/floorf16_test.cpp
R libc/test/src/math/roundevenf16_test.cpp
R libc/test/src/math/roundf16_test.cpp
R libc/test/src/math/truncf16_test.cpp
M libc/utils/MPFRWrapper/MPFRUtils.cpp
Log Message:
-----------
Revert "[libc][math][c23] Add MPFR unit tests for {ceil,floor,round,roundeven,trunc}f16 (#94383)" (#94505)
This reverts commit fda1e4b01f723c31a36ad659564ae4a61365930e.
The commit caused Buildbot failures:
- https://lab.llvm.org/buildbot/#/builders/256/builds/14331
- https://lab.llvm.org/buildbot/#/builders/229/builds/27009
Commit: 2b939e182db6251f1d54a990e080df5ac8f05c29
https://github.com/llvm/llvm-project/commit/2b939e182db6251f1d54a990e080df5ac8f05c29
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/include/clang/AST/OpenACCClause.h
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/OpenACCClauses.def
M clang/lib/AST/OpenACCClause.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/Parse/ParseOpenACC.cpp
M clang/lib/Sema/SemaOpenACC.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/test/AST/ast-print-openacc-loop-construct.cpp
M clang/test/ParserOpenACC/parse-clauses.c
M clang/test/SemaOpenACC/compute-construct-default-clause.c
M clang/test/SemaOpenACC/compute-construct-default-clause.cpp
M clang/test/SemaOpenACC/compute-construct-device_type-clause.c
A clang/test/SemaOpenACC/loop-construct-auto_seq_independent-ast.cpp
A clang/test/SemaOpenACC/loop-construct-auto_seq_independent-clauses.c
M clang/test/SemaOpenACC/loop-construct-device_type-clause.c
M clang/tools/libclang/CIndex.cpp
Log Message:
-----------
[OpenACC] Implement auto/seq/independent clause Sema for 'loop'
These three clauses are all quite trivial, as they take no parameters.
They are mutually exclusive, and 'seq' has some other exclusives that
are implemented here.
The ONE thing that isn't implemented is 2.9's restriction (line 2010):
'A loop associated with a 'loop' construct that does not have a 'seq'
clause must be written to meet all the following conditions'.
Future clauses will require similar work, so it'll be done as a
followup.
Commit: 4e0d9370f49f517290f522be2f68901921a6086e
https://github.com/llvm/llvm-project/commit/4e0d9370f49f517290f522be2f68901921a6086e
Author: Jordan Rupprecht <rupprecht at google.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
Log Message:
-----------
[bazel][windows] Add ntdll linkopt for Support (#94501)
Mirror the cmake change in cb7690af09b95bb944baf1b5a9ffb18f86c12130
```
lld-link: error: undefined symbol: __declspec(dllimport) RtlGetLastNtStatus
>>> referenced by Support.lib(ErrorHandling.obj):(class std::error_code __cdecl llvm::mapLastWindowsError(void))
```
Commit: 539b72f2e15f0d8a74a6c05c7085035040a3a831
https://github.com/llvm/llvm-project/commit/539b72f2e15f0d8a74a6c05c7085035040a3a831
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M lldb/include/lldb/Expression/DWARFExpression.h
M lldb/include/lldb/Expression/DWARFExpressionList.h
M lldb/source/Core/ValueObjectVariable.cpp
M lldb/source/Expression/DWARFExpression.cpp
M lldb/source/Expression/DWARFExpressionList.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Symbol/Function.cpp
M lldb/source/Target/RegisterContextUnwind.cpp
M lldb/source/Target/StackFrame.cpp
M lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp
M lldb/unittests/Expression/DWARFExpressionTest.cpp
M llvm/include/llvm/Support/Error.h
Log Message:
-----------
[lldb] Return an llvm::Expected from DWARFExpression::Evaluate (NFCI) (#94420)
Change the signature of `DWARFExpression::Evaluate` and
`DWARFExpressionList::Evaluate` to return an `llvm::Expected` instead of a
boolean. This eliminates the `Status` output parameter and generally improves
error handling.
Commit: 70550cd6aa9f2587e166d6ab9636192af3f3264d
https://github.com/llvm/llvm-project/commit/70550cd6aa9f2587e166d6ab9636192af3f3264d
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.cpp
Log Message:
-----------
[x-project tests] Fix ambiguity in call to createStringError (NFC)
Fixes:
https://lab.llvm.org/buildbot/#/builders/139/builds/66928/
https://lab.llvm.org/buildbot/#/builders/216/builds/40166/
Commit: 59e9160ac8c906c5448c2094cd28cb5bc7678a3f
https://github.com/llvm/llvm-project/commit/59e9160ac8c906c5448c2094cd28cb5bc7678a3f
Author: Augusto Noronha <augusto2112 at me.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M lldb/source/Core/ValueObject.cpp
Log Message:
-----------
[lldb] UpdateFormatsIfNeeded should respect the dynamic value type (#93262)
UpdateFormatsIfNeeded has hardcoded the call to GetFormat with no
dynamic values. GetFormat will try to find the synthetic children of the
ValueObject, and passing the wrong one can fail, which can be bad for
performance but should not be user visible. Fix the performace bug by
passing the dynamic value type of the ValueObject.
rdar://122506593
Commit: 31ba25ec604cff73331526fc9555e07fdd3152fe
https://github.com/llvm/llvm-project/commit/31ba25ec604cff73331526fc9555e07fdd3152fe
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/test/CodeGen/RISCV/rvv/rv32-spill-vector-csr.ll
M llvm/test/CodeGen/RISCV/rvv/rv64-spill-vector-csr.ll
Log Message:
-----------
[RISCV] Remove unnecessary patterns for tail agnostic FP intrinsics with rounding mode. (#94498)
These are patterns that explicitly check for undef. Similar patterns do
not exist without rounding mode. The vsetvli insertion pass should be
able to detect that the passthru is undef.
The test changes seem to be a deficiency in identifying passthru being
undef in the vsetvli inserter for -O0.
Commit: 461dcd4a000fa2b88759a275bc6803b89efc5972
https://github.com/llvm/llvm-project/commit/461dcd4a000fa2b88759a275bc6803b89efc5972
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/readability/RedundantMemberInitCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/readability/redundant-member-init.cpp
Log Message:
-----------
[clang-tidy] Fix handling of members in readability-redundant-member-init (#93217)
Compare class type instead of just assuming
that called constructor belong to same class.
Fixes #91605
Commit: 39e12e0ab2dd3b0ed9741c9796de15a020741727
https://github.com/llvm/llvm-project/commit/39e12e0ab2dd3b0ed9741c9796de15a020741727
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M lldb/test/API/tools/lldb-dap/optimized/TestDAP_optimized.py
Log Message:
-----------
[lldb] Update error message in TestDAP_optimized after #94420
Fixes:
https://lab.llvm.org/buildbot/#/builders/68/builds/75571
Commit: bfc0f856b6b07b05662ffa423eb359e63f13c303
https://github.com/llvm/llvm-project/commit/bfc0f856b6b07b05662ffa423eb359e63f13c303
Author: Vidush Singhal <54336227+vidsinghal at users.noreply.github.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/include/llvm/Transforms/IPO/Attributor.h
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
Log Message:
-----------
[NFC] : Run clang-format on Attributor.h and AttributorAttributes.cpp (#94484)
This PR just runs Clang format on Attributor.h and AttributorAttributes.cpp
Co-authored-by: Vidush Singhal <singhal2 at ruby964.llnl.gov>
Commit: a3d9ca929712ea7c662bb36830cf349271137f2e
https://github.com/llvm/llvm-project/commit/a3d9ca929712ea7c662bb36830cf349271137f2e
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/test/CodeGen/RISCV/rvv/vsll.ll
Log Message:
-----------
[RISCV] Make the vsll->vadd intrinsic pattern support tail undisturbed intrinsics.
We convert a shift left by 1 to vadd. But we only did it for
tail agnostic or masked intrinsics. This extends it to tail undisturbed
unmasked intrinsics.
Commit: 8b18f2fe066b9f895185f1d94c6cf34901590164
https://github.com/llvm/llvm-project/commit/8b18f2fe066b9f895185f1d94c6cf34901590164
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.h
M flang/lib/Lower/OpenMP/Clauses.h
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
M flang/lib/Lower/OpenMP/Utils.cpp
Log Message:
-----------
[flang][OpenMP] Add `sym()` member function to omp::Object (#94493)
The object identity requires more than just `Symbol`. Don't use `id()`
to get the Symbol associated with the object, becase the return value
will need to change. Instead use `sym()` which is added for that reason.
Commit: 7dcff5912a7d2b449d43759f5d87a993fa0b65ff
https://github.com/llvm/llvm-project/commit/7dcff5912a7d2b449d43759f5d87a993fa0b65ff
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaOpenACC.cpp
M clang/test/AST/ast-print-openacc-loop-construct.cpp
M clang/test/SemaOpenACC/loop-construct-auto_seq_independent-clauses.c
A clang/test/SemaOpenACC/loop-construct-private-clause.c
A clang/test/SemaOpenACC/loop-construct-private-clause.cpp
Log Message:
-----------
[OpenACC] Implement 'private' clause sema for loop constructs
This clause works identically as far as Sema is concerned, to the
'private' clause on compute constructs, so this simply adds tests and
unblocks the ASTNode generation and Sema checking when used on loop
clauses.
Commit: 0559eaff5ac4afae14dcbb6396da2a0c3f325cd8
https://github.com/llvm/llvm-project/commit/0559eaff5ac4afae14dcbb6396da2a0c3f325cd8
Author: Nishith Kumar M Shah <nishithshah.2211 at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/include/clang/Lex/DependencyDirectivesScanner.h
M clang/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h
M clang/lib/Frontend/FrontendActions.cpp
M clang/lib/Lex/DependencyDirectivesScanner.cpp
M clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
M clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
M clang/unittests/Lex/DependencyDirectivesScannerTest.cpp
M clang/unittests/Lex/PPDependencyDirectivesTest.cpp
Log Message:
-----------
Revert "Pass LangOpts from CompilerInstance to DependencyScanningWorker (#93753)" (#94488)
This reverts commit 9862080b1cbf685c0d462b29596e3f7206d24aa2.
Commit: 4f40dfc2fdb6109702a4fcddff15d352eb216403
https://github.com/llvm/llvm-project/commit/4f40dfc2fdb6109702a4fcddff15d352eb216403
Author: Joshua Cranmer <joshua.cranmer at intel.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/Operator.h
Log Message:
-----------
[IR] Remove the possibility of ConstantExpr having fast-math flags. (#94507)
This possibility was added in https://reviews.llvm.org/D34303 to resolve
some assertion failures with cases where FP math operations got
constant-folded in constant expressions. However, at no point did the IR
representation allow for expressing fast-math flags on constant
expressions.
With the change of https://github.com/llvm/llvm-project/pull/93038,
there are no longer any constant expressions capable of being FP math
operators, and thus FPMathOperator can go back to being
Instruction-only.
Commit: c8d63516ac9e15831975392dd9f6b9ae6a31b21c
https://github.com/llvm/llvm-project/commit/c8d63516ac9e15831975392dd9f6b9ae6a31b21c
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/test/Analysis/ScalarEvolution/trip-count-unknown-stride.ll
Log Message:
-----------
[SCEV] Add coverage for howFarToZero w/ non-constant strides
Specifically, cases which require context sensative reasoning which
the current code doesn't do.
Commit: 3d44926712389945468a566c9058b2e715f8f2ad
https://github.com/llvm/llvm-project/commit/3d44926712389945468a566c9058b2e715f8f2ad
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/test/src/math/libc_math_test_rules.bzl
M utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel
Log Message:
-----------
[bazel] Sync config with main (#94521)
Commit: 1d8743359360d3d960d599e03e62537dc108aae2
https://github.com/llvm/llvm-project/commit/1d8743359360d3d960d599e03e62537dc108aae2
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/VecFuncs.def
M llvm/include/llvm/CodeGen/BasicTTIImpl.h
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/include/llvm/IR/RuntimeLibcalls.def
M llvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
M llvm/include/llvm/Target/TargetSelectionDAG.td
M llvm/lib/Analysis/VectorUtils.cpp
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/Utils.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/CodeGen/TargetLoweringBase.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
A llvm/test/CodeGen/X86/llvm.tan.ll
M llvm/test/CodeGen/X86/vec-libcalls.ll
M llvm/test/Transforms/LoopVectorize/X86/amdlibm-calls.ll
M llvm/test/Transforms/LoopVectorize/X86/libm-vector-calls-VF2-VF8.ll
M llvm/test/Transforms/LoopVectorize/X86/svml-calls.ll
M llvm/test/Transforms/LoopVectorize/X86/veclib-calls.ll
Log Message:
-----------
[x86] Add tan intrinsic part 4 (#90503)
This change is an implementation of #87367's investigation on supporting
IEEE math operations as intrinsics.
Which was discussed in this RFC:
https://discourse.llvm.org/t/rfc-all-the-math-intrinsics/78294
Much of this change was following how G_FSIN and G_FCOS were used.
Changes:
- `llvm/docs/GlobalISel/GenericOpcode.rst` - Document the `G_FTAN`
opcode
- `llvm/docs/LangRef.rst` - Document the tan intrinsic
- `llvm/include/llvm/Analysis/VecFuncs.def` - Associate the tan
intrinsic as a vector function similar to the tanf libcall.
- `llvm/include/llvm/CodeGen/BasicTTIImpl.h` - Map the tan intrinsic to
`ISD::FTAN`
- `llvm/include/llvm/CodeGen/ISDOpcodes.h` - Define ISD opcodes for
`FTAN` and `STRICT_FTAN`
- `llvm/include/llvm/IR/Intrinsics.td` - Create the tan intrinsic
- `llvm/include/llvm/IR/RuntimeLibcalls.def` - Define tan libcall
mappings
- `llvm/include/llvm/Target/GenericOpcodes.td` - Define the `G_FTAN`
Opcode
- `llvm/include/llvm/Support/TargetOpcodes.def` - Create a `G_FTAN`
Opcode handler
- `llvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td` - Map
`G_FTAN` to `ftan`
- `llvm/include/llvm/Target/TargetSelectionDAG.td` - Define `ftan`,
`strict_ftan`, and `any_ftan` and map them to the ISD opcodes for `FTAN`
and `STRICT_FTAN`
- `llvm/lib/Analysis/VectorUtils.cpp` - Associate the tan intrinsic as a
vector intrinsic
- `llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp` Map the tan intrinsic
to `G_FTAN` Opcode
- `llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp` - Add `G_FTAN` to
the list of floating point math operations also associate `G_FTAN` with
the `TAN_F` runtime lib.
- `llvm/lib/CodeGen/GlobalISel/Utils.cpp` - More floating point math
operation common behaviors.
- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp - List the function
expansion operations for `FTAN` and `STRICT_FTAN`. Also define both
opcodes in `PromoteNode`.
- `llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp` - More `FTAN`
and `STRICT_FTAN` handling in the legalizer
- `llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h` - Define
`SoftenFloatRes_FTAN` and `ExpandFloatRes_FTAN`.
- `llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp` - Define `FTAN`
as a legal vector operation.
- `llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp` - Define
`FTAN` as a legal vector operation.
- `llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp` - define tan as an
intrinsic that doesn't return NaN.
- `llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp` Map
`LibFunc_tan`, `LibFunc_tanf`, and `LibFunc_tanl` to `ISD::FTAN`. Map
`Intrinsic::tan` to `ISD::FTAN` and add selection dag handling for
`Intrinsic::tan`.
- `llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp` - Define `ftan`
and `strict_ftan` names for the equivalent ISD opcodes.
- `llvm/lib/CodeGen/TargetLoweringBase.cpp` -Define a Tan128 libcall and
ISD::FTAN as a target lowering action.
- `llvm/lib/Target/X86/X86ISelLowering.cpp` - Add x86_64 lowering for
tan intrinsic
resolves https://github.com/llvm/llvm-project/issues/70082
Commit: 3ac6a646d40cb16aebb3467007efa2e499383a3d
https://github.com/llvm/llvm-project/commit/3ac6a646d40cb16aebb3467007efa2e499383a3d
Author: Alex Bradbury <asb at igalia.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
A llvm/test/Transforms/LoopStrengthReduce/RISCV/many-geps.ll
Log Message:
-----------
[RISCV][test] Precommit LSR test that partially motivates #89927
Commit: 21711f89b9d85028160611f725bd33d7832d1d46
https://github.com/llvm/llvm-project/commit/21711f89b9d85028160611f725bd33d7832d1d46
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
Log Message:
-----------
[LegalizeVectorOps] Move VP_STORE legalization from LegalizeDAG to LegalizeVectorOps.
705636a1130551ab105aec95b909a35a0305fc9f moved reductions from
LegalizeVectorOps to LegalizeDAG, but the way it was done inadvertently
moved stores from LegalizeVectorOps to LegalizeDAG too. This was
not intended or desired.
Found when this was pulled into my downstream which has other changes
that make the distinction important.
Commit: 73a2fd470c58eb10e2e51466a053dd30b63bbe7a
https://github.com/llvm/llvm-project/commit/73a2fd470c58eb10e2e51466a053dd30b63bbe7a
Author: Artem Kroviakov <71938912+akroviakov at users.noreply.github.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
Log Message:
-----------
[mlir][xegpu] Patch dynamic descriptor creation (#93580)
fixes the bug in XeGPU's `CreateNdDescOp` tensor creation with dynamic offset and strides.
Commit: 3beb232fb4fd1943155174d58a454493828cd719
https://github.com/llvm/llvm-project/commit/3beb232fb4fd1943155174d58a454493828cd719
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/lib/Interpreter/IncrementalParser.cpp
M clang/lib/Sema/SemaDecl.cpp
Log Message:
-----------
Fix clang reject valid C++ code after d999ce0302f06d250f6d496b56a5a5f (#94471)
The incremental processing mode doesn't seem to work well for C++, see
the
https://github.com/llvm/llvm-project/pull/89804#issuecomment-2149840711
for details.
Commit: a4b32c25761e3de55d42a4799a303f36aa198fb7
https://github.com/llvm/llvm-project/commit/a4b32c25761e3de55d42a4799a303f36aa198fb7
Author: Martin Storsjö <martin at martin.st>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M compiler-rt/lib/builtins/atomic.c
Log Message:
-----------
Revert "[compiler-rt][builtins] Switch libatomic locks to pthread_mutex_t (#94374)"
This reverts commit b62b7a42bbee4a3bbf9094808f460fdc9c119bd7 and
a5729b71d844c1444f7d348dc2d4ea5b98de5ec5.
This commit broke compilation for systems that lack pthreads.
Commit: b477d1de6e3a5e5860fe7fdf272e8bbb6a330f48
https://github.com/llvm/llvm-project/commit/b477d1de6e3a5e5860fe7fdf272e8bbb6a330f48
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M libc/src/__support/CPP/CMakeLists.txt
M libc/src/__support/CPP/type_traits.h
A libc/src/__support/CPP/type_traits/aligned_storage.h
M libc/test/src/__support/CPP/type_traits_test.cpp
Log Message:
-----------
[libc][type_traits] Add aligned_storage (#94074)
Commit: f8afa763c6194f5bf485480e1fb94b953942f876
https://github.com/llvm/llvm-project/commit/f8afa763c6194f5bf485480e1fb94b953942f876
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M lldb/examples/python/crashlog.py
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/lit.local.cfg
Log Message:
-----------
[lldb/crashlog] Use environment variable to manually set dsymForUUIDBinary (#94517)
In lldb, users can change the `dsymForUUID` binary using the
`LLDB_APPLE_DSYMFORUUID_EXECUTABLE` environment variable.
This patch changes the crashlog to support the same behaviour as lldb
and uses this environment variable to disable `dsymForUUID` lookups in
crashlog test by having it be empty. Since CI bots shoudn't have access
to images on build records, it doesn't make sense to make use of
`dsymForUUID` in tests.
rdar://128953725
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: e675d0d5cd4047bcf4ec368d2b4c19a57e5347f3
https://github.com/llvm/llvm-project/commit/e675d0d5cd4047bcf4ec368d2b4c19a57e5347f3
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/include/clang/AST/OpenACCClause.h
M clang/include/clang/Basic/OpenACCClauses.def
M clang/lib/AST/OpenACCClause.cpp
M clang/lib/Sema/SemaOpenACC.cpp
Log Message:
-----------
[OpenACC][NFC] Refactor SemaOpenACC to use a visitor
This code was getting unwieldy, so a quick patch to refactor it a bit.
Commit: d99cf1b916ddcfad60c706840ddfd5d2f1409f2a
https://github.com/llvm/llvm-project/commit/d99cf1b916ddcfad60c706840ddfd5d2f1409f2a
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/Builder/MutableBox.cpp
A flang/test/Lower/HLFIR/assumed-rank-inquiries.f90
Log Message:
-----------
[flang] lower assumed-rank inquiries - part 1 (#94475)
Lower assumed-rank inquiries, except SIZE/SHAPE/UBOUND/LBOUND. This is
mainly about adding tests, and removing a couple TODOs in helpers.
Commit: c599894aa63747f338544eaa3038eb9f132a5bbd
https://github.com/llvm/llvm-project/commit/c599894aa63747f338544eaa3038eb9f132a5bbd
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
Log Message:
-----------
[RISCV] Remove policy and merge operand from unmasked vmsbf/vmsif/vmsof.m. (#94530)
These instructions always update the destination under a tail agnostic
policy.
Commit: a74348ca66d599d3fbc7e28bf55445de53bb9838
https://github.com/llvm/llvm-project/commit/a74348ca66d599d3fbc7e28bf55445de53bb9838
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/test/CodeGen/RISCV/rvv/vmsbf.ll
M llvm/test/CodeGen/RISCV/rvv/vmsif.ll
M llvm/test/CodeGen/RISCV/rvv/vmsof.ll
Log Message:
-----------
[RISCV] Use ForceTailAgnostic for masked vmsbf/vmsif/vmsof.m. (#94532)
These instructions use the mask policy, but always update the
destination under tail agnostic policy.
Commit: 20483edd27bd3221e72c101de08d40782a5d2c2c
https://github.com/llvm/llvm-project/commit/20483edd27bd3221e72c101de08d40782a5d2c2c
Author: Michael Jones <michaelrj at google.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M libc/src/sys/epoll/linux/CMakeLists.txt
M libc/src/sys/epoll/linux/epoll_pwait.cpp
M libc/src/sys/epoll/linux/epoll_pwait2.cpp
M libc/src/sys/epoll/linux/epoll_wait.cpp
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[libc] Unpoison epoll structs (#94536)
The epoll wait functions return structs via pointer, but those structs
need to be unpoisoned before return. This patch adds that unpoisoning.
Commit: 0e743ecca018e9fa7482dc8bec62eae8cd0c929b
https://github.com/llvm/llvm-project/commit/0e743ecca018e9fa7482dc8bec62eae8cd0c929b
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
Log Message:
-----------
VPlan/PatternMatch: introduce m_c_Mul (NFC) (#93950)
Introduce a commutative version of m_Mul, and simplify a usage based on
it.
Commit: 53ddc87454669c0d595c0e3d3174e35cdc4b0a61
https://github.com/llvm/llvm-project/commit/53ddc87454669c0d595c0e3d3174e35cdc4b0a61
Author: Han-Chung Wang <hanhan0912 at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/VectorTransferOpTransforms.cpp
M mlir/test/Dialect/Vector/vector-transfer-flatten.mlir
Log Message:
-----------
[mlir][vector] Improve flattening vector.transfer_write ops. (#94051)
We can flatten the transfer ops even when the collapsed indices are not
zeros. We can compute it. It is already supported in
vector.transfer_read cases. The revision refactors the logic and reuse
it in transfer_write cases.
Commit: 55d2fffdae5531759569e4ea8985c3de2e96bcc1
https://github.com/llvm/llvm-project/commit/55d2fffdae5531759569e4ea8985c3de2e96bcc1
Author: Sandeep Dasgupta <sdasgup at google.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M mlir/include/mlir-c/IR.h
M mlir/lib/Bindings/Python/IRCore.cpp
M mlir/lib/CAPI/IR/IR.cpp
M mlir/test/python/ir/blocks.py
Log Message:
-----------
[mlir][python]Python Bindings for select edit operations on Block arguments (#94305)
The PR implements MLIR Python Bindings for a few simple edit operations
on Block arguments, namely, `add_argument`, `erase_argument`, and
`erase_arguments`.
Commit: 1d75c59ace2c9fc4e9a94907748d9555cd4a7d14
https://github.com/llvm/llvm-project/commit/1d75c59ace2c9fc4e9a94907748d9555cd4a7d14
Author: Eric <eric at efcs.ca>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M libcxx/include/__type_traits/datasizeof.h
Log Message:
-----------
Fix detection of __datasizeof with Clang. (#94174)
The `__has_extension` builtin macro is the same as __has_feature when
-pedantic-errors is specified, which means we don't get the right
information about __datasizeof being available.
Using __has_keyword (really !__is_identifier) will tell the truth
even when -pedantic-errors is specified.
This means we always have __datasizeof under Clang
Commit: 19bce1702bd1e399bea76d0de2a649a14551b000
https://github.com/llvm/llvm-project/commit/19bce1702bd1e399bea76d0de2a649a14551b000
Author: Jason Molenda <jmolenda at apple.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
A lldb/test/API/lang/c/inlines/Makefile
M lldb/test/API/lang/c/inlines/TestRedefinitionsInInlines.py
M lldb/test/API/lang/c/inlines/main.c
Log Message:
-----------
[lldb] [NFC] Rewrite TestRedefinitionsInInlines.py as an API test (#94539)
Rewrite an inline test as an API test, to be a little easier to debug,
and add some additional checks that we're in the inlined test1, then
step and we are now in the inlined test2 functions.
Commit: 68a9cb799511506045ca26c04e7933f0e0ed46ec
https://github.com/llvm/llvm-project/commit/68a9cb799511506045ca26c04e7933f0e0ed46ec
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M lldb/examples/python/crashlog.py
M lldb/examples/python/crashlog_scripted_process.py
Log Message:
-----------
[lldb/crashlog] Add `--no-parallel-image-loading` hidden flag (#94513)
This patch adds the `--no-parallel-image-loading` to the crashlog
command. By default, image loading will happen in parallel in the
crashlog script however, sometimes, when running tests or debugging the
crashlog script itself, it's better to load the images sequentially.
As its name suggests, this flag will disable the default image loading
behaviour to load all the images sequencially in the main thread.
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: a9342f2eab7993a3be1d1156070c0d2de21ed973
https://github.com/llvm/llvm-project/commit/a9342f2eab7993a3be1d1156070c0d2de21ed973
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
Log Message:
-----------
[RISCV] Remove VPseudoBinaryMOutNoMask. NFC (#94531)
It appears to be identical to VPseudoBinaryNoMask. The comment above it
doesn't make sense since VPseudoBinaryNoMask doesn't restrict the
destination register to not include V0. Looks like a copy/paste from
VPseudoBinaryMOutMask.
Commit: dbc3e26c25587e5460ae12caed84cb09197c4ed7
https://github.com/llvm/llvm-project/commit/dbc3e26c25587e5460ae12caed84cb09197c4ed7
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M libc/test/CMakeLists.txt
Log Message:
-----------
[libc][NFC] More verbose warning message on missing utilities
Summary:
The GPU needs both the loader utility and the architecture to be present
to run tests. This simply makes it easier to detect which is missing in
case of problems.
Commit: 2ec122d9662e8e7f034e822fcfb3fc3c372971ba
https://github.com/llvm/llvm-project/commit/2ec122d9662e8e7f034e822fcfb3fc3c372971ba
Author: Daniel Sanders <daniel_l_sanders at apple.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp
Log Message:
-----------
Test commit
Commit: 62c0eaeec9a65c73f3bee0b8b05461f1c628d27c
https://github.com/llvm/llvm-project/commit/62c0eaeec9a65c73f3bee0b8b05461f1c628d27c
Author: Daniel Sanders <daniel_l_sanders at apple.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp
Log Message:
-----------
Revert "Test commit"
This reverts commit 2ec122d9662e8e7f034e822fcfb3fc3c372971ba.
Commit: 798f2019a2fb608450c5ad5dc261d6496cf1eb15
https://github.com/llvm/llvm-project/commit/798f2019a2fb608450c5ad5dc261d6496cf1eb15
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Don't format comments in SkipMacroDefinitionBody (#94425)
Fixes #94326.
Commit: fb8ea85987470ad82b365fb1a78bb66754f927c6
https://github.com/llvm/llvm-project/commit/fb8ea85987470ad82b365fb1a78bb66754f927c6
Author: Alastair Houghton <ahoughton at apple.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
Log Message:
-----------
[RuntimeDyld][ELF] Fix unwanted sign extension. (#94482)
Casting the result of `Section.getAddressWithOffset()` goes wrong if we
are on a 32-bit platform whose addresses are regarded as signed; in that
case, just doing
```
(uint64_t)Section.getAddressWithOffset(...)
```
or
```
reinterpret_cast<uint64_t>(Section.getAddressWithOffset(...))
```
will result in sign-extension.
We use these expressions when constructing branch stubs, which is before
we know the final load address, so we can just switch to the
`Section.getLoadAddressWithOffset(...)` method instead.
Doing that is also more consistent, since when calculating relative
offsets for relocations, we use the load address anyway, so the code
currently only works because `Section.Address` is equal to
`Section.LoadAddress` at this point.
Fixes #94478.
Commit: 4b702946006cfa9be9ab646ce5fc5b25248edd81
https://github.com/llvm/llvm-project/commit/4b702946006cfa9be9ab646ce5fc5b25248edd81
Author: hev <wangrui at loongson.cn>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
M llvm/test/CodeGen/LoongArch/sextw-removal.ll
Log Message:
-----------
[LoongArch] Add a hook to sign extend i32 ConstantInt operands of phis on LA64 (#93813)
Materializing constants on LoongArch is simpler if the constant is sign
extended from i32. By default i32 constant operands of phis are zero
extended.
This patch adds a hook to allow LoongArch to override this for i32. We
have an existing isSExtCheaperThanZExt, but it operates on EVT which we
don't have at these places in the code.
Commit: d5ab38f69c1a5c1456bc1a8cc936489d31599f33
https://github.com/llvm/llvm-project/commit/d5ab38f69c1a5c1456bc1a8cc936489d31599f33
Author: Jianjian Guan <jacquesguan at me.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-select-fp.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.ll
M llvm/test/CodeGen/RISCV/rvv/vselect-fp.ll
M llvm/test/CodeGen/RISCV/rvv/vselect-vp.ll
Log Message:
-----------
[RISCV] Support select/merge like ops for bf16 vectors when have Zvfbfmin (#91936)
Commit: 8e674953264e1545397d9a19a2661e157e8d6525
https://github.com/llvm/llvm-project/commit/8e674953264e1545397d9a19a2661e157e8d6525
Author: Hendrik Hübner <117831077+HendrikHuebner at users.noreply.github.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/math/CMakeLists.txt
A libc/src/math/fmaxf16.h
A libc/src/math/fminf16.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/fmaxf16.cpp
A libc/src/math/generic/fminf16.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/fmaxf16_test.cpp
A libc/test/src/math/smoke/fminf16_test.cpp
Log Message:
-----------
[libc][math][c23] Implement fmaxf16 and fminf16 function (#94131)
Implements fmaxf16 and fminf16, which are two missing functions listed
here: #93566
Commit: 6ca0f44cd89aa802c306c303764eabf83a7f5029
https://github.com/llvm/llvm-project/commit/6ca0f44cd89aa802c306c303764eabf83a7f5029
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M lldb/source/Expression/DWARFExpression.cpp
Log Message:
-----------
[lldb] Fix inconsistencies in DWARFExpression errors (#94554)
This patch make all errors start with a lowercase letter and removes
trailing periods and newlines. This fixes inconsistencies between error
messages and facilitate concatenating them.
Commit: 63cda2d19c310826722e8724649ceae7307389d7
https://github.com/llvm/llvm-project/commit/63cda2d19c310826722e8724649ceae7307389d7
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/c23.rst
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/math/CMakeLists.txt
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/nextafterf16.cpp
A libc/src/math/generic/nextdownf16.cpp
A libc/src/math/generic/nexttowardf16.cpp
A libc/src/math/generic/nextupf16.cpp
A libc/src/math/nextafterf16.h
A libc/src/math/nextdownf16.h
A libc/src/math/nexttowardf16.h
A libc/src/math/nextupf16.h
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/NextAfterTest.h
M libc/test/src/math/smoke/NextTowardTest.h
A libc/test/src/math/smoke/nextafterf16_test.cpp
A libc/test/src/math/smoke/nextdownf16_test.cpp
A libc/test/src/math/smoke/nexttowardf16_test.cpp
A libc/test/src/math/smoke/nextupf16_test.cpp
Log Message:
-----------
[libc][math][c23] Add {nextafter,nexttoward,nextup,nextdown}f16 C23 math functions (#94535)
#93566
Commit: 8c9bb9c506a08b06607c7bf931a384095f0553ee
https://github.com/llvm/llvm-project/commit/8c9bb9c506a08b06607c7bf931a384095f0553ee
Author: Jianjian Guan <jacquesguan at me.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/InlineFunction.cpp
Log Message:
-----------
[NFC] Remove unused value (#94439)
Commit: 86dddbe3b54eae22db6e208e6bc1c3cda9b7e149
https://github.com/llvm/llvm-project/commit/86dddbe3b54eae22db6e208e6bc1c3cda9b7e149
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M lldb/examples/python/crashlog.py
M lldb/examples/python/crashlog_scripted_process.py
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/app_specific_backtrace_crashlog.test
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/last_exception_backtrace_crashlog.test
Log Message:
-----------
[lldb/crashlog] Always load Application Specific Backtrace Thread images (#94259)
This patch changes the crashlog image loading default behaviour to not
only load images from the crashed thread but also for the application
specific backtrace thread.
This patch also move the Application Specific Backtrace / Last Exception
Backtrace tag from the thread queue field to the thread name.
rdar://128276576
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: c2244f8284f45471aba911f08b33cb72a6e8de9c
https://github.com/llvm/llvm-project/commit/c2244f8284f45471aba911f08b33cb72a6e8de9c
Author: Sam Clegg <sbc at chromium.org>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCSymbolWasm.h
M llvm/lib/MC/WasmObjectWriter.cpp
M llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyUtilities.cpp
M llvm/test/MC/WebAssembly/reloc-pic64.s
Log Message:
-----------
[WebAssembly] Set IS_64 flag correctly on __indirect_function_table in object files (#94487)
Follow up to #92042
Commit: 97c866f6c86456b3316006e6beff47e68a81c00a
https://github.com/llvm/llvm-project/commit/97c866f6c86456b3316006e6beff47e68a81c00a
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/include/clang/AST/DeclBase.h
M clang/include/clang/AST/DeclID.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ModuleFile.h
M clang/include/clang/Serialization/ModuleManager.h
M clang/lib/AST/DeclBase.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/ModuleFile.cpp
A clang/test/Modules/no-transitive-decls-change.cppm
Log Message:
-----------
[serialization] no transitive decl change (#92083)
Following of https://github.com/llvm/llvm-project/pull/86912
The motivation of the patch series is that, for a module interface unit
`X`, when the dependent modules of `X` changes, if the changes is not
relevant with `X`, we hope the BMI of `X` won't change. For the specific
patch, we hope if the changes was about irrelevant declaration changes,
we hope the BMI of `X` won't change. **However**, I found the patch
itself is not very useful in practice, since the adding or removing
declarations, will change the state of identifiers and types in most
cases.
That said, for the most simple example,
```
// partA.cppm
export module m:partA;
// partA.v1.cppm
export module m:partA;
export void a() {}
// partB.cppm
export module m:partB;
export void b() {}
// m.cppm
export module m;
export import :partA;
export import :partB;
// onlyUseB;
export module onlyUseB;
import m;
export inline void onluUseB() {
b();
}
```
the BMI of `onlyUseB` will change after we change the implementation of
`partA.cppm` to `partA.v1.cppm`. Since `partA.v1.cppm` introduces new
identifiers and types (the function prototype).
So in this patch, we have to write the tests as:
```
// partA.cppm
export module m:partA;
export int getA() { ... }
export int getA2(int) { ... }
// partA.v1.cppm
export module m:partA;
export int getA() { ... }
export int getA(int) { ... }
export int getA2(int) { ... }
// partB.cppm
export module m:partB;
export void b() {}
// m.cppm
export module m;
export import :partA;
export import :partB;
// onlyUseB;
export module onlyUseB;
import m;
export inline void onluUseB() {
b();
}
```
so that the new introduced declaration `int getA(int)` doesn't introduce
new identifiers and types, then the BMI of `onlyUseB` can keep
unchanged.
While it looks not so great, the patch should be the base of the patch
to erase the transitive change for identifiers and types since I don't
know how can we introduce new types and identifiers without introducing
new declarations. Given how tightly the relationship between
declarations, types and identifiers, I think we can only reach the ideal
state after we made the series for all of the three entties.
The design of the patch is similar to
https://github.com/llvm/llvm-project/pull/86912, which extends the
32-bit DeclID to 64-bit and use the higher bits to store the module file
index and the lower bits to store the Local Decl ID.
A slight difference is that we only use 48 bits to store the new DeclID
since we try to use the higher 16 bits to store the module ID in the
prefix of Decl class. Previously, we use 32 bits to store the module ID
and 32 bits to store the DeclID. I don't want to allocate additional
space so I tried to make the additional space the same as 64 bits. An
potential interesting thing here is about the relationship between the
module ID and the module file index. I feel we can get the module file
index by the module ID. But I didn't prove it or implement it. Since I
want to make the patch itself as small as possible. We can make it in
the future if we want.
Another change in the patch is the new concept Decl Index, which means
the index of the very big array `DeclsLoaded` in ASTReader. Previously,
the index of a loaded declaration is simply the Decl ID minus
PREDEFINED_DECL_NUMs. So there are some places they got used
ambiguously. But this patch tried to split these two concepts.
As https://github.com/llvm/llvm-project/pull/86912 did, the change will
increase the on-disk PCM file sizes. As the declaration ID may be the
most IDs in the PCM file, this can have the biggest impact on the size.
In my experiments, this change will bring 6.6% increase of the on-disk
PCM size. No compile-time performance regression observed. Given the
benefits in the motivation example, I think the cost is worthwhile.
Commit: 8c452d0cc5004d32bcce7a33e6652c19debf7f6d
https://github.com/llvm/llvm-project/commit/8c452d0cc5004d32bcce7a33e6652c19debf7f6d
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-select-fp.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.ll
M llvm/test/CodeGen/RISCV/rvv/vselect-fp.ll
M llvm/test/CodeGen/RISCV/rvv/vselect-vp.ll
Log Message:
-----------
Revert "[RISCV] Support select/merge like ops for bf16 vectors when have Zvfbfmin" (#94565)
Reverts llvm/llvm-project#91936
Premerge bots are broken.
Commit: 68413219dba47104fef388364a9973b584126f42
https://github.com/llvm/llvm-project/commit/68413219dba47104fef388364a9973b584126f42
Author: jiajie zhang <56027356+JumpMasterJJ at users.noreply.github.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M flang/docs/Intrinsics.md
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/include/flang/Optimizer/Builder/Runtime/Command.h
M flang/include/flang/Runtime/command.h
M flang/include/flang/Runtime/magic-numbers.h
M flang/lib/Evaluate/intrinsics.cpp
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/Builder/Runtime/Command.cpp
M flang/runtime/command.cpp
M flang/runtime/stat.h
A flang/test/Lower/Intrinsics/getcwd-function.f90
A flang/test/Lower/Intrinsics/getcwd-optional.f90
A flang/test/Lower/Intrinsics/getcwd.f90
A flang/test/Semantics/getcwd.f90
Log Message:
-----------
[flang] Add GETCWD runtime and lowering intrinsics implementation (#92746)
This patch add support of intrinsics GNU extension GETCWD
https://github.com/llvm/llvm-project/issues/84203. Some usage info and
example has been added to `flang/docs/Intrinsics.md`. The patch contains
both the lowering and the runtime code and works on both Windows and
Linux.
| System | Implmentation |
|-----------|--------------------|
| Windows | _getcwd |
| Linux |getcwd |
Commit: f6c1e65ddfa9e1a07919104be543a1f9eccbb519
https://github.com/llvm/llvm-project/commit/f6c1e65ddfa9e1a07919104be543a1f9eccbb519
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/docs/LanguageExtensions.rst
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/Type.h
M clang/include/clang/Basic/TokenKinds.def
M clang/lib/AST/Type.cpp
M clang/lib/Sema/SemaExprCXX.cpp
A clang/test/SemaCXX/builtin-is-bitwise-cloneable-fsanitize.cpp
A clang/test/SemaCXX/builtin-is-bitwise-cloneable.cpp
M clang/test/SemaObjCXX/arc-type-traits.mm
Log Message:
-----------
[clang] Implement a __is_bitwise_cloneable builtin type trait. (#86512)
This patch implements a `__is_bitwise_cloneable` builtin in clang.
The builtin is used as a guard to check a type can be safely bitwise
copied by memcpy. It's functionally similar to
`__is_trivially_copyable`, but covers a wider range of types (e.g.
classes with virtual functions). The compiler guarantees that after
copy, the destination object has the same object representations as the
source object. And it is up to user to guarantee that program semantic
constraints are satisfied.
Context:
https://discourse.llvm.org/t/extension-for-creating-objects-via-memcpy
Commit: 46edc02eaac81bfdace3e1f906751cad114790da
https://github.com/llvm/llvm-project/commit/46edc02eaac81bfdace3e1f906751cad114790da
Author: hev <wangrui at loongson.cn>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/lib/Basic/Targets/LoongArch.h
M llvm/docs/ReleaseNotes.rst
M llvm/lib/IR/AutoUpgrade.cpp
M llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
M llvm/unittests/Bitcode/DataLayoutUpgradeTest.cpp
Log Message:
-----------
[LoongArch] Adjust LA64 data layout by using n32:64 in layout string (#93814)
Although i32 type is illegal in the backend, LA64 has pretty good
support for i32 types by using W instructions.
By adding n32 to the DataLayout string, middle end optimizations will
consider i32 to be a native type. One known effect of this is enabling
LoopStrengthReduce on loops with i32 induction variables. This can be
beneficial because C/C++ code often has loops with i32 induction
variables due to the use of `int` or `unsigned int`.
If this patch exposes performance issues, those are better addressed by
tuning LSR or other passes.
Commit: 11c08327dab425b67d80e99850e654e4c6c17864
https://github.com/llvm/llvm-project/commit/11c08327dab425b67d80e99850e654e4c6c17864
Author: Christian Ulmann <christianulmann at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M mlir/include/mlir/Target/LLVMIR/Export.h
Log Message:
-----------
[MLIR][LLVM] Improve module translation comment (NFC) (#94577)
This commit enhances the docsting of `translateModuleToLLVMIR` as a
followup to https://github.com/llvm/llvm-project/pull/94445
Commit: fb0c705dbf27e3ab84d726ad30e172806a530c21
https://github.com/llvm/llvm-project/commit/fb0c705dbf27e3ab84d726ad30e172806a530c21
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/AST/Type.cpp
Log Message:
-----------
[clang] NFCI: Make ASTContext optional in the AST text dumper again (#94522)
Commit: 60429fbf88607dc3081e9faafb767bfbe996cfaa
https://github.com/llvm/llvm-project/commit/60429fbf88607dc3081e9faafb767bfbe996cfaa
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/select.ll
Log Message:
-----------
[InstCombine] Add more tests for select equivalence fold (NFC)
Commit: 9bea770b63861250c8bbec46f68df73da4f09508
https://github.com/llvm/llvm-project/commit/9bea770b63861250c8bbec46f68df73da4f09508
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/test/Transforms/InstCombine/select.ll
Log Message:
-----------
[InstCombine] Only requite not-undef in select equiv fold
As the comment already indicates, only replacement with undef
is problematic, as it introduces an additional use of undef.
Use the correct ValueTracking helper.
Commit: 16e2ec82ac45701f9c55ab917e30f38dbae6f79a
https://github.com/llvm/llvm-project/commit/16e2ec82ac45701f9c55ab917e30f38dbae6f79a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/test/Transforms/InstCombine/select.ll
Log Message:
-----------
[ValueTracking] Make undef element check more precise
If we're only checking for undef, then also only look for undef
elements in the vector (rather than undef and poison).
Commit: e0ac087ff004f7a63ba64b9685f4f098d6ee54c5
https://github.com/llvm/llvm-project/commit/e0ac087ff004f7a63ba64b9685f4f098d6ee54c5
Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/CodeMetrics.h
M llvm/include/llvm/Analysis/LoopInfo.h
M llvm/include/llvm/IR/InstrTypes.h
M llvm/include/llvm/IR/IntrinsicInst.h
M llvm/include/llvm/Transforms/Utils/UnrollLoop.h
M llvm/lib/Analysis/CodeMetrics.cpp
M llvm/lib/Analysis/LoopInfo.cpp
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp
M llvm/lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp
M llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
M llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
M llvm/lib/Transforms/Utils/LoopUnroll.cpp
M llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
A llvm/test/Transforms/LoopUnroll/convergent.controlled.ll
Log Message:
-----------
[LoopUnroll] Consider convergence control tokens when unrolling (#91715)
- There is no restriction on a loop with controlled convergent
operations when
the relevant tokens are defined and used within the loop.
- When a token defined outside a loop is used inside (also called a loop
convergence heart), unrolling is allowed only in the absence of
remainder or
runtime checks.
- When a token defined inside a loop is used outside, such a loop is
said to be
"extended". This loop can only be unrolled by also duplicating the
extended part
lying outside the loop. Such unrolling is disabled for now.
- Clean up loop hearts: When unrolling a loop with a heart, duplicating
the
heart will introduce multiple static uses of a convergence control token
in a
cycle that does not contain its definition. This violates the static
rules for
tokens, and needs to be cleaned up into a single occurrence of the
intrinsic.
- Spell out the initializer for UnrollLoopOptions to improve
readability.
Original implementation [D85605] by Nicolai Haehnle
<nicolai.haehnle at amd.com>.
Commit: afc7292626e193a2b09b81d227eac90428f0abe3
https://github.com/llvm/llvm-project/commit/afc7292626e193a2b09b81d227eac90428f0abe3
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SDPatternMatch.h
Log Message:
-----------
[SDPatternMatch] Do not use std::forward and rvalue references (NFC) (#93806)
The m_ZExtOrSelf() family of matchers currently incorrectly calls
std::forward twice on the same value. However, just removing those causes
other complications, because then template arguments get incorrectly
inferred to const references instead of the underlying value types.
Things become a mess.
Instead, just completely remove the use of std::forward and rvalue
references from SDPatternMatch. I don't think they really provide value
in this context, especially as they're not used consistently in the
first place.
Commit: c3c443bb41ab5eab6d954bcc051549104ff6c235
https://github.com/llvm/llvm-project/commit/c3c443bb41ab5eab6d954bcc051549104ff6c235
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-sge-to-icmp-sle.ll
M llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-sgt-to-icmp-sgt.ll
M llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-sle-to-icmp-sle.ll
M llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-slt-to-icmp-sgt.ll
M llvm/test/Transforms/InstCombine/icmp-and-lowbit-mask.ll
M llvm/test/Transforms/InstCombine/icmp-of-and-x.ll
Log Message:
-----------
[InstCombine] Add transforms `(icmp spred (and X, Y), X)` if `X` or `Y` are known signed/unsigned
Several transforms:
1) If known `Y < 0`:
- slt -> ult: https://alive2.llvm.org/ce/z/9zt2iK
- sle -> ule: https://alive2.llvm.org/ce/z/SPoPNF
- sgt -> ugt: https://alive2.llvm.org/ce/z/IGNxAk
- sge -> uge: https://alive2.llvm.org/ce/z/joqTvR
2) If known `Y >= 0`:
- `(X & PosY) s> X --> X s< 0`
- https://alive2.llvm.org/ce/z/7e-5BQ
- `(X & PosY) s> X --> X s< 0`
- https://alive2.llvm.org/ce/z/jvT4Gb
3) If known `X < 0`:
- `(NegX & Y) s> NegX --> Y s>= 0`
- https://alive2.llvm.org/ce/z/ApkaEh
- `(NegX & Y) s<= NegX --> Y s< 0`
- https://alive2.llvm.org/ce/z/oRnfHp
Closes #94417
Commit: 91825512d1eed67d90a000bec2a5a46f0d417c04
https://github.com/llvm/llvm-project/commit/91825512d1eed67d90a000bec2a5a46f0d417c04
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/test/CodeGen/ARM/vabd.ll
Log Message:
-----------
[ARM] vabd.ll - regenerate test checks
Cleanup for #94504
Commit: fb8421a04525a1e73c26d69a7ab5356f3ac1450d
https://github.com/llvm/llvm-project/commit/fb8421a04525a1e73c26d69a7ab5356f3ac1450d
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/test/CodeGen/ARM/vaba.ll
Log Message:
-----------
[ARM] vaba.ll - regenerate test checks
Cleanup for #94504
Commit: a53ed2170aad4022ff6b730de3f7c63cc35c485d
https://github.com/llvm/llvm-project/commit/a53ed2170aad4022ff6b730de3f7c63cc35c485d
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/test/MC/RISCV/relocations.s
Log Message:
-----------
[MC][RISCV] relocations.s - add missing opcode to test check
Commit: ea32197daa8517ff67c0691ad24d25eb5cf905f4
https://github.com/llvm/llvm-project/commit/ea32197daa8517ff67c0691ad24d25eb5cf905f4
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
A llvm/test/DebugInfo/X86/sdag-order.ll
Log Message:
-----------
[DebugInfo][SelectionDAG] Fix position of salvaged 'dangling' DBG_VALUEs (#94458)
`SelectionDAGBuilder::handleDebugValue` has a parameter `Order` which
represents the insert-at position for the new DBG_VALUE. Prior to this patch
`SelectionDAGBuilder::SDNodeOrder` is used instead of the `Order` parameter.
The only code-paths where `Order != SDNodeOrder` are the two calls calls to
`handleDebugValue` from `salvageUnresolvedDbgValue`.
`salvageUnresolvedDbgValue` is called from `resolveOrClearDbgInfo` and
`dropDanglingDebugInfo`. The former is called after SelectionDAG completes one
block.
Some dbg.values can't be lowered to DBG_VALUEs right away. These get recorded
as 'dangling' - their order-number is saved - and get salvaged later through
`dropDanglingDebugInfo`, or if we've still got dangling debug info once the
whole block has been emitted, through `resolveOrClearDbgInfo`. Their saved
order-number is passed to `handleDebugValue`.
Prior to this patch, DBG_VALUEs inserted using these functions are inserted at
the "current" `SDNodeOrder` rather than the intended position that is passed to
the function.
Fix and add test.
Commit: f1e78f776908f2bc1759eae25381f576f62728a2
https://github.com/llvm/llvm-project/commit/f1e78f776908f2bc1759eae25381f576f62728a2
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/CodeGenCXX/template-param-objects-linkage.cpp
Log Message:
-----------
[clang][Interp] Handle lvalue APValues in visitAPValueInitializer()
Commit: c2e62c745996cbd4e19ac1ffcafc849960377b57
https://github.com/llvm/llvm-project/commit/c2e62c745996cbd4e19ac1ffcafc849960377b57
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/test/tools/llvm-reduce/remove-debug-info-nodes.ll
M llvm/tools/llvm-reduce/deltas/ReduceDIMetadata.cpp
Log Message:
-----------
[llvm-reduce] Remove DIGlobalVariableExpressions from DICompileUnit's globals (#94497)
The 'metadata' delta pass will remove !dbg attachments from globals (which are
DIGlobalVariableExpression nodes). The DIGlobalVariableExpressions don't get
eliminated from the IR however if they are still referenced by the globals
field in DICompileUnit.
Teach the 'di-metadata' pass to try removing global variable operands from
metadata tuples as well as DINodes.
Commit: 6c9bce88a876f48eb8ab4df172bb86375b29a87f
https://github.com/llvm/llvm-project/commit/6c9bce88a876f48eb8ab4df172bb86375b29a87f
Author: Leandro Lupori <leandro.lupori at linaro.org>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M flang/lib/Lower/OpenMP/DataSharingProcessor.h
M flang/test/Lower/OpenMP/critical.f90
Log Message:
-----------
[flang][OpenMP] Fix privatization when critical is present (#94441)
When a critical construct is present inside another construct where
privatizations may occur, such as a parallel construct, some
privatizations are skipped if the corresponding symbols are defined
inside the critical section only (see the example below).
This happens because, while critical constructs have a "body", they
don't have a separate scope (which makes sense, since no
privatizations can occur in them). Because of this, in semantics
phase, it's not possible to insert a new host association symbol,
but instead the symbol from the enclosing context is used directly.
This makes symbol collection in DataSharingProcessor consider the
new symbol to be defined by the critical construct, instead of by
the enclosing one, which causes the privatization to be skipped.
Example:
```
!$omp parallel default(firstprivate)
!$omp critical
i = 200
!$omp end critical
!$omp end parallel
```
This patch fixes this by identifying constructs where
privatizations may not happen and skipping them during the
collection of nested symbols. Currently, this seems to happen only
with critical constructs, but others can be easily added to the
skip list, if needed.
Fixes https://github.com/llvm/llvm-project/issues/75767
Commit: 7091dfc0e49b8c79f9e1daf6ab0ca0e65f30f347
https://github.com/llvm/llvm-project/commit/7091dfc0e49b8c79f9e1daf6ab0ca0e65f30f347
Author: Vassil Vassilev <v.g.vassilev at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/lib/Interpreter/Interpreter.cpp
M clang/lib/Parse/ParseStmt.cpp
A clang/test/Interpreter/pretty-print.c
Log Message:
-----------
[clang-repl] Lay the foundation of pretty printing for C. (#89811)
Commit: d3f8eab0accfdddc897aea61763ef57dbc83ee30
https://github.com/llvm/llvm-project/commit/d3f8eab0accfdddc897aea61763ef57dbc83ee30
Author: Kai Luo <lkail at cn.ibm.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
A llvm/test/CodeGen/PowerPC/tocdata-firm-alignment.ll
Log Message:
-----------
[PowerPC] Add test to show alignment of toc-data symbol is changed. NFC.
After O3 opt pipeline, the alignment of toc-data symbol is changed which is
unexpected.
Commit: a6cc363b2743a264eb06e46cac05c3c9c92e3ef7
https://github.com/llvm/llvm-project/commit/a6cc363b2743a264eb06e46cac05c3c9c92e3ef7
Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M lldb/test/API/tools/lldb-server/TestPtyServer.py
Log Message:
-----------
[lldb] Disable TestPtyServer API test when remote testing (#94587)
The local PTY is not available for the remotely executed lldb-server to
pass the test. Also, in general, we cannot execute the local lldb-server
instance because it could be compiled for the different system/cpu
target.
Commit: 0f38b4d1ca026f1c28e5a75adab00173852234dd
https://github.com/llvm/llvm-project/commit/0f38b4d1ca026f1c28e5a75adab00173852234dd
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
A llvm/test/CodeGen/ARM/neon_vabd.ll
Log Message:
-----------
[ARM] Add neon_vabd.ll based off aarch64 tests
Test coverage for #94504
Commit: 03a2fe9a7574c0cff724666e713dead7009a9621
https://github.com/llvm/llvm-project/commit/03a2fe9a7574c0cff724666e713dead7009a9621
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAG] visitSUB - update the ABS matching code to use SDPatternMatch and hasOperation.
Avoids the need to explicitly test both commuted variants and doesn't match custom lowering after legalization.
Cleanup for #94504
Commit: fdcdc3d759224f0ec0a3e472f7940d4b0f3a1b79
https://github.com/llvm/llvm-project/commit/fdcdc3d759224f0ec0a3e472f7940d4b0f3a1b79
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Transforms/Passes.h
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/include/flang/Tools/CLOptions.inc
M flang/lib/Optimizer/Transforms/ExternalNameConversion.cpp
Log Message:
-----------
[flang][CodeGen][NFC] Reduce boilerplatre for ExternalNameConversion (#94474)
Use tablegen to generate the pass constructor.
I removed the duplicated pass option handling. I don't understand why
the manual instantiation of the pass needs its own duplicate of the pass
options in the (automatically generated) base class (even with the
option to ignore the pass options in the base class).
This pass doesn't need changes to support other top level operations.
Commit: bf02f81da743e60a5c51fc8f5ff43d57cf6db407
https://github.com/llvm/llvm-project/commit/bf02f81da743e60a5c51fc8f5ff43d57cf6db407
Author: Kai Luo <lkail at cn.ibm.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
M llvm/lib/Target/PowerPC/PPCFastISel.cpp
M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
M llvm/lib/Target/PowerPC/PPCInstr64Bit.td
M llvm/lib/Target/PowerPC/PPCInstrInfo.td
M llvm/test/CodeGen/PowerPC/toc-data-common.ll
M llvm/test/CodeGen/PowerPC/toc-data.ll
Log Message:
-----------
[PowerPC] Adjust operand order of ADDItoc to be consistent with other ADDI* nodes (#93642)
Simultaneously, the `ADDItoc` machineinstr is generated in
`PPCISelDAGToDAG::Select` so the pattern is not used and can be removed.
Commit: a86c1e7175d4acd8357326184bf4f88c8192676f
https://github.com/llvm/llvm-project/commit/a86c1e7175d4acd8357326184bf4f88c8192676f
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/lib/AST/CMakeLists.txt
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/Context.cpp
M clang/lib/AST/Interp/Context.h
M clang/lib/AST/Interp/Descriptor.cpp
M clang/lib/AST/Interp/Disasm.cpp
M clang/lib/AST/Interp/Interp.cpp
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/InterpFrame.cpp
M clang/lib/AST/Interp/InterpStack.cpp
M clang/lib/AST/Interp/InterpStack.h
A clang/lib/AST/Interp/MemberPointer.cpp
A clang/lib/AST/Interp/MemberPointer.h
M clang/lib/AST/Interp/Opcodes.td
M clang/lib/AST/Interp/Pointer.cpp
M clang/lib/AST/Interp/Pointer.h
M clang/lib/AST/Interp/PrimType.cpp
M clang/lib/AST/Interp/PrimType.h
M clang/test/AST/Interp/eval-order.cpp
M clang/test/AST/Interp/literals.cpp
A clang/test/AST/Interp/memberpointers.cpp
M clang/test/CodeGenCXX/pointers-to-data-members.cpp
M clang/test/SemaCXX/attr-weak.cpp
M clang/test/SemaCXX/nullptr_in_arithmetic_ops.cpp
M clang/unittests/AST/Interp/toAPValue.cpp
Log Message:
-----------
[clang][Interp] Member Pointers (#91303)
This adds a `MemberPointer` class along with a `PT_MemberPtr` primitive
type.
A `MemberPointer` has a `Pointer` Base as well as a `Decl*` (could be
`ValueDecl*`?) decl it points to.
For the actual logic, this mainly changes the way we handle `PtrMemOp`s
in `VisitBinaryOperator`.
Commit: f5d8c0ebfe9f382f404607db404353af5467cec1
https://github.com/llvm/llvm-project/commit/f5d8c0ebfe9f382f404607db404353af5467cec1
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn
Log Message:
-----------
[gn build] Port a86c1e7175d4
Commit: 4c6dd70ec4fb7491eb59e3efa6d3080499a15d4d
https://github.com/llvm/llvm-project/commit/4c6dd70ec4fb7491eb59e3efa6d3080499a15d4d
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
M llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
Log Message:
-----------
[AMDGPU] Move INIT_EXEC lowering from SILowerControlFlow to SIWholeQuadMode (#94452)
NFCI; this just preserves SI_INIT_EXEC and SI_INIT_EXEC_FROM_INPUT
instructions a little longer so that we can reliably identify them in
SIWholeQuadMode.
Commit: 8516f54e6a984a79d1a988ec66a414b5cfbd7ec7
https://github.com/llvm/llvm-project/commit/8516f54e6a984a79d1a988ec66a414b5cfbd7ec7
Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/lib/CodeGen/Targets/AMDGPU.cpp
A clang/test/CodeGen/voidptr-vaarg.c
A clang/test/CodeGenCXX/inline-then-fold-variadics.cpp
M libc/config/gpu/entrypoints.txt
M libc/test/src/__support/CMakeLists.txt
M llvm/include/llvm/IR/InstrTypes.h
M llvm/include/llvm/InitializePasses.h
A llvm/include/llvm/Transforms/IPO/ExpandVariadics.h
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Passes/PassRegistry.def
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Transforms/IPO/CMakeLists.txt
A llvm/lib/Transforms/IPO/ExpandVariadics.cpp
A llvm/test/CodeGen/AMDGPU/expand-variadic-call.ll
M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
M llvm/test/CodeGen/AMDGPU/unsupported-calls.ll
A llvm/test/CodeGen/WebAssembly/expand-variadic-call.ll
A llvm/test/CodeGen/WebAssembly/vararg-frame.ll
A llvm/test/Transforms/ExpandVariadics/expand-va-intrinsic-split-linkage.ll
A llvm/test/Transforms/ExpandVariadics/expand-va-intrinsic-split-simple.ll
A llvm/test/Transforms/ExpandVariadics/indirect-calls.ll
A llvm/test/Transforms/ExpandVariadics/intrinsics.ll
A llvm/test/Transforms/ExpandVariadics/invoke.ll
A llvm/test/Transforms/ExpandVariadics/pass-byval-byref.ll
A llvm/test/Transforms/ExpandVariadics/pass-indirect.ll
A llvm/test/Transforms/ExpandVariadics/pass-integers.ll
Log Message:
-----------
[AMDGPU] Implement variadic functions by IR lowering (#93362)
This is a mostly-target-independent variadic function optimisation and
lowering pass. It is only enabled for AMDGPU in this initial commit.
The purpose is to make C style variadic functions a zero cost
abstraction. They are lowered to equivalent IR which is then amenable to
other optimisations. This is inherently slightly target specific but
much less so than one might expect - the C varargs interface heavily
constrains the ABI design divergence.
The pass is primarily tested from webassembly. This is because wasm has
a straightforward variadic lowering strategy which coincides exactly
with what this pass transforms code into and a struct passing convention
with few cases to check. Adding further targets conventions is
straightforward and elided from this patch primarily to simplify the
review. Implemented in other branches are Linux X86, AMD64, AArch64 and
NVPTX.
Testing for targets that have existing lowering for va_arg from clang is
most efficiently done by checking that clang | opt completely elides the
variadic syntax from test cases. The lowering produces a struct for each
call site which can be inspected to check the various alignment and
indirections are correct.
AMDGPU presently has no variadic support other than some ad hoc printf
handling. Combined with the pass being inactive on all other targets
landing this represents strict increase in capability with zero risk.
Testing and refining will continue post commit.
In addition to the compiler tests included here, a self contained x64
clang/musl toolchain was constructed using the "lowering" instead of the
systemv ABI and used to build various C programs like lua and libxml2.
Commit: 86295dc197db2f08f4eb582ed1026a8f74ac3338
https://github.com/llvm/llvm-project/commit/86295dc197db2f08f4eb582ed1026a8f74ac3338
Author: bgra8 <32298056+bgra8 at users.noreply.github.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/lib/AST/ParentMap.cpp
M clang/lib/Analysis/CFG.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
M clang/test/Analysis/cxx-uninitialized-object.cpp
M clang/test/Analysis/lifetime-extended-regions.cpp
Log Message:
-----------
Revert "[Analyzer][CFG] Correctly handle rebuilt default arg and default init expression (#91879)" (#94597)
This depends on https://github.com/llvm/llvm-project/pull/92527 which
needs to be reverted due to
https://github.com/llvm/llvm-project/pull/92527#issuecomment-2149120420.
This reverts commit 905b402a5d8f1490d668f40942390ebd6e87aa8f.
Co-authored-by: Bogdan Graur <bgraur at google.com>
Commit: 026fbdf934d4adc8b6abe544ba1bcfa3b64293ac
https://github.com/llvm/llvm-project/commit/026fbdf934d4adc8b6abe544ba1bcfa3b64293ac
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Interp.h
M clang/test/AST/Interp/arrays.cpp
Log Message:
-----------
[clang][Interp] Handle one-past-the-end pointers in SubPtr
Commit: e2858189bd99e6914dc2f63ab55b053a74b4e58b
https://github.com/llvm/llvm-project/commit/e2858189bd99e6914dc2f63ab55b053a74b4e58b
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/include/clang/AST/DeclBase.h
M clang/include/clang/AST/DeclID.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ModuleFile.h
M clang/include/clang/Serialization/ModuleManager.h
M clang/lib/AST/DeclBase.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/ModuleFile.cpp
R clang/test/Modules/no-transitive-decls-change.cppm
Log Message:
-----------
Revert "[serialization] no transitive decl change (#92083)"
This reverts commit 97c866f6c86456b3316006e6beff47e68a81c00a.
This fails on 32bit machines. See
https://github.com/llvm/llvm-project/pull/92083
Commit: 7f52e4c755fcd02232964f19bb0226878255f274
https://github.com/llvm/llvm-project/commit/7f52e4c755fcd02232964f19bb0226878255f274
Author: bgra8 <32298056+bgra8 at users.noreply.github.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaExprCXX.cpp
M clang/lib/Sema/SemaInit.cpp
M clang/lib/Sema/TreeTransform.h
M clang/test/AST/ast-dump-default-init-json.cpp
M clang/test/AST/ast-dump-default-init.cpp
M clang/test/Analysis/lifetime-extended-regions.cpp
M clang/test/CXX/drs/cwg16xx.cpp
M clang/test/CXX/drs/cwg18xx.cpp
M clang/test/CXX/special/class.temporary/p6.cpp
M clang/test/SemaCXX/constexpr-default-arg.cpp
M clang/test/SemaCXX/cxx11-default-member-initializers.cpp
M clang/test/SemaCXX/eval-crashes.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
Revert "Reapply "[Clang][CWG1815] Support lifetime extension of temporary created by aggregate initialization using a default member initializer" (#92527)" (#94600)
Reverting due to
https://github.com/llvm/llvm-project/pull/92527#issuecomment-2149120420.
This reverts commit f049d72ac2bcc40fd91d4e95148658021fb24bf1.
Co-authored-by: Bogdan Graur <bgraur at google.com>
Commit: 64c8b66cc9972123c5f4aefe692c275898221aeb
https://github.com/llvm/llvm-project/commit/64c8b66cc9972123c5f4aefe692c275898221aeb
Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/include/llvm/AsmParser/LLToken.h
M llvm/include/llvm/IR/CallingConv.h
M llvm/lib/AsmParser/LLLexer.cpp
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/IR/AsmWriter.cpp
M llvm/lib/Target/AArch64/AArch64CallingConvention.td
M llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
M llvm/test/CodeGen/AArch64/sme-support-routines-calling-convention.ll
Log Message:
-----------
[AArch64][SME] Add calling convention for __arm_get_current_vg (#93963)
Adds a calling convention for calls to the `__arm_get_current_vg`
support
routine, which preserves X1-X15, X19-X29, SP, Z0-Z31 & P0-P15.
See https://github.com/ARM-software/abi-aa/pull/263
Commit: 3cdb1df39d1be54c219ef083a4d1bfe3c9ed4e19
https://github.com/llvm/llvm-project/commit/3cdb1df39d1be54c219ef083a4d1bfe3c9ed4e19
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Transforms/IPO/BUILD.gn
Log Message:
-----------
[gn build] Port 8516f54e6a98
Commit: 9b692e562dbe6a5c9cac3b438f755d83ab8e947b
https://github.com/llvm/llvm-project/commit/9b692e562dbe6a5c9cac3b438f755d83ab8e947b
Author: Thorsten Schütt <schuett at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
M llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/lib/CodeGen/GlobalISel/CombinerHelperVectorOps.cpp
A llvm/test/CodeGen/AArch64/GlobalISel/combine-vscale.mir
Log Message:
-----------
[GlobalIsel] Combine G_VSCALE (#94096)
We need them for scalable address calculation and
legal scalable addressing modes.
Commit: 4559d83b24a839e9309378e070c64623f04f1e49
https://github.com/llvm/llvm-project/commit/4559d83b24a839e9309378e070c64623f04f1e49
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/ExpandVariadics.cpp
M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
Log Message:
-----------
[bazel] Port for 8516f54e6a984a79d1a988ec66a414b5cfbd7ec7
Remove some #includes in ExpandVariadics.cpp as it will cause layering
violations.
Commit: 574ab7e7b759a400ecf54c1141b1433bb2415e93
https://github.com/llvm/llvm-project/commit/574ab7e7b759a400ecf54c1141b1433bb2415e93
Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M libc/config/gpu/entrypoints.txt
M libc/test/src/__support/CMakeLists.txt
Log Message:
-----------
[libc] Disable varargs tests on gpu, nvptx can't build them yet
Commit: b3b9f8dd4cad55cf4106570af518c5075c2cdcee
https://github.com/llvm/llvm-project/commit/b3b9f8dd4cad55cf4106570af518c5075c2cdcee
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/ExpandVariadics.cpp
Log Message:
-----------
[Transforms] Fix -Wunused-variable in ExpandVariadics.cpp (NFC)
/llvm-project/llvm/lib/Transforms/IPO/ExpandVariadics.cpp:426:14:
error: unused variable 'OriginalFunctionIsDeclaration' [-Werror,-Wunused-variable]
const bool OriginalFunctionIsDeclaration = OriginalFunction->isDeclaration();
^
/llvm-project/llvm/lib/Transforms/IPO/ExpandVariadics.cpp:445:13:
error: unused variable 'VariadicWrapperDefine' [-Werror,-Wunused-variable]
Function *VariadicWrapperDefine =
^
2 errors generated.
Commit: 5fe7307146004c8e841b2340f075519be4a215ed
https://github.com/llvm/llvm-project/commit/5fe7307146004c8e841b2340f075519be4a215ed
Author: David Green <david.green at arm.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
M llvm/test/CodeGen/Thumb2/mve-tailpred-vptblock.ll
Log Message:
-----------
[ARM] Don't block tail-predication from unrelated VPT blocks. (#94239)
VPT blocks that do not produce an interesting 'output' (like a stored
value or reduction result), do not need to be predicated on vctp for the
whole loop to be tail-predicated. Just producing results for the valid
tail predication lanes should be enough.
Commit: 10dcba76545b8b8c58456ba99a572d53183c9d76
https://github.com/llvm/llvm-project/commit/10dcba76545b8b8c58456ba99a572d53183c9d76
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/misc/CMakeLists.txt
Log Message:
-----------
[clang-tidy] Remove redundant LINK_LIBS (#94588)
clangAnalysis is already being pulled in via
clang_target_link_libraries(). Also listing it in LINK_LIBS means that
we'll link both against the static libraries and the shared
libclang-cpp.so library if CLANG_LINK_CLANG_DYLIB is enabled, and waste
time on unnecessary LTO.
Commit: e040474f493d3392af3fbd4284bb1448a7eb4341
https://github.com/llvm/llvm-project/commit/e040474f493d3392af3fbd4284bb1448a7eb4341
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
Log Message:
-----------
[libc][math] Temporarily disable nexttowardf16 on aarch64 due to clang-11 bug. (#94569)
The conversion between _Float16 and long double will crash clang-11 on
aarch64. This is fixed in clang-12: https://godbolt.org/z/8ceT9454c
Commit: 8725b672071f24721bee11caa767eed6e773fce7
https://github.com/llvm/llvm-project/commit/8725b672071f24721bee11caa767eed6e773fce7
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Log Message:
-----------
[DAG] expandABS - add missing FREEZE in abs(x) -> smax(x,sub(0,x)) expansion
Noticed while working on #94601
Commit: b025d6913ef7160699e96f0d00820873807310c8
https://github.com/llvm/llvm-project/commit/b025d6913ef7160699e96f0d00820873807310c8
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M flang/lib/Lower/OpenMP/Clauses.h
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/test/Lower/OpenMP/map-component-ref.f90
Log Message:
-----------
[flang][OpenMP] Make object identity more precise (#94495)
Derived type components may use a given `Symbol` regardless of what
parent objects they are a part of. Because of that, simply using a
symbol address is not sufficient to determine object identity.
Make the designator a part of the IdTy. To compare identities, when
symbols are equal (and non-null), compare the designators.
Commit: c5c530f4f900b5abfbea5c0f9c934161454773e7
https://github.com/llvm/llvm-project/commit/c5c530f4f900b5abfbea5c0f9c934161454773e7
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/lib/Sema/Scope.cpp
Log Message:
-----------
[clang][Sema] Add missing scope flags to Scope::dumpImpl (#94529)
There were a handlful of scope flags that were not handled in the dump
function, which would then lead to an assert.
Commit: 41d73504c95342410ac954774b9583be73c97bf9
https://github.com/llvm/llvm-project/commit/41d73504c95342410ac954774b9583be73c97bf9
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
A llvm/test/Transforms/ConstraintElimination/induction-condition-in-loop-exit.ll
Log Message:
-----------
[ConstraintElim] Add set of tests where a loop iv is used in exit.
Test cases inspired by
https://github.com/llvm/llvm-project/issues/90417.
Commit: d075b7bbace8c0ef983ea6f9aad175bec3ede729
https://github.com/llvm/llvm-project/commit/d075b7bbace8c0ef983ea6f9aad175bec3ede729
Author: WÁNG Xuěruì <git at xen0n.name>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
A llvm/test/CodeGen/LoongArch/fp16-promote.ll
Log Message:
-----------
[LoongArch] Allow f16 codegen with expansion to libcalls (#94456)
The test case is adapted from llvm/test/CodeGen/RISCV/fp16-promote.ll,
because it covers some more IR patterns that ought to be common.
Fixes #93894
Commit: e49f902358ca03b1f11bc43b2eb5306078191622
https://github.com/llvm/llvm-project/commit/e49f902358ca03b1f11bc43b2eb5306078191622
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M .github/workflows/containers/github-action-ci/stage1.Dockerfile
Log Message:
-----------
[workflows] Add scan-build to ci-ubuntu-22.04 container (#94543)
This will be used for a new CI job that runs the static analyzer.
Commit: e5c93ed3482d483bb5d2876a296cbe603d23d0e8
https://github.com/llvm/llvm-project/commit/e5c93ed3482d483bb5d2876a296cbe603d23d0e8
Author: Phoebe Wang <phoebe.wang at intel.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86InstrAMX.td
M llvm/lib/Target/X86/X86LowerTileCopy.cpp
M llvm/lib/Target/X86/X86MachineFunctionInfo.h
Log Message:
-----------
[X86][AMX] Checking AMXProgModel in X86LowerTileCopy (#94358)
This fixes compile time regression after #93692.
Commit: 435aa7663d56e7216ad148ede3a422675b5f2be1
https://github.com/llvm/llvm-project/commit/435aa7663d56e7216ad148ede3a422675b5f2be1
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M offload/include/PluginManager.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/src/rtl.cpp
M offload/plugins-nextgen/host/src/rtl.cpp
M offload/src/PluginManager.cpp
M offload/src/omptarget.cpp
Log Message:
-----------
[Libomptarget] Rework device initialization and image registration (#93844)
Summary:
Currently, we register images into a linear table according to the
logical OpenMP device identifier. We then initialize all of these images
as one block. This logic requires that images are compatible with *all*
devices instead of just the one that it can run on. This prevents us
from running on systems with heterogeneous devices (i.e. image 1 runs on
device 0 image 0 runs on device 1).
This patch reworks the logic by instead making the compatibility check a
per-device query. We then scan every device to see if it's compatible
and do it as they come.
Commit: 24a39f364dbef7e18d36be3919eacde32125df5e
https://github.com/llvm/llvm-project/commit/24a39f364dbef7e18d36be3919eacde32125df5e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86SchedIceLake.td
M llvm/test/tools/llvm-mca/X86/IceLakeServer/resources-avx1.s
M llvm/test/tools/llvm-mca/X86/IceLakeServer/resources-avx2.s
M llvm/test/tools/llvm-mca/X86/IceLakeServer/resources-ssse3.s
Log Message:
-----------
[X86] Fix pipe resources for HADD/SUB instructions
IceLakeServer was copying these from SkylakeServer, but integer HADD/SUB can now run on an extra port
Commit: 62e2eb2154cac79db20012287823abbf35de8cb4
https://github.com/llvm/llvm-project/commit/62e2eb2154cac79db20012287823abbf35de8cb4
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86SchedIceLake.td
M llvm/lib/Target/X86/X86SchedSkylakeServer.td
M llvm/test/tools/llvm-mca/X86/IceLakeServer/resources-avx1.s
M llvm/test/tools/llvm-mca/X86/IceLakeServer/resources-sse3.s
M llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-avx1.s
M llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-sse3.s
Log Message:
-----------
[X86] Fix pipe resources for FP HADD/SUB instructions
IceLakeServer/SkylakeServer can only use Port01 for the FADD/FSUB stage
Confirmed with uops.info + Agner
Commit: 170d45c0eb018744ab94e3baa96af6ab74c92bfc
https://github.com/llvm/llvm-project/commit/170d45c0eb018744ab94e3baa96af6ab74c92bfc
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/include/clang/Basic/BuiltinsAMDGPU.def
M clang/lib/Sema/SemaAMDGPU.cpp
M clang/test/SemaOpenCL/builtins-amdgcn-gfx940-err.cl
Log Message:
-----------
[Clang][AMDGPU] Use `I` to decorate imm argument for `__builtin_amdgcn_global_load_lds` (#94376)
Commit: 31442c9669ca234ab71294125f484882b1cef9d4
https://github.com/llvm/llvm-project/commit/31442c9669ca234ab71294125f484882b1cef9d4
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M libc/config/gpu/entrypoints.txt
M libc/test/src/__support/CMakeLists.txt
Log Message:
-----------
[libc] Enable varargs tests for AMDGPU targets
Summary:
This reverts commit 574ab7e7b759a400ecf54c1141b1433bb2415e93.
Commit: 435addbf5088be14b1b7e0398ecd16501dbf4498
https://github.com/llvm/llvm-project/commit/435addbf5088be14b1b7e0398ecd16501dbf4498
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/test/CodeGenCUDA/cuda-builtin-vars.cu
M llvm/lib/Target/NVPTX/NVPTX.h
M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
M llvm/lib/Target/NVPTX/NVPTXUtilities.cpp
M llvm/lib/Target/NVPTX/NVPTXUtilities.h
M llvm/lib/Target/NVPTX/NVVMIntrRange.cpp
A llvm/test/CodeGen/NVPTX/intr-range.ll
M llvm/test/CodeGen/NVPTX/intrinsic-old.ll
Log Message:
-----------
[NVPTX] Revamp NVVMIntrRange pass (#94422)
Revamp the NVVMIntrRange pass making the following updates:
- Use range attributes over range metadata. This is what instcombine has
move to for ranges on intrinsics in
https://github.com/llvm/llvm-project/pull/88776 and it seems a bit
cleaner.
- Consider the `!"maxntid{x,y,z}"` and `!"reqntid{x,y,z}"` function
metadata when adding ranges for `tid` srge instrinsics. This can allow
for smaller ranges and more optimization.
- When range attributes are already present, use the intersection of the
old and new range. This complements the metadata change by allowing
ranges to be shrunk when an intrinsic is in a function which is inlined
into a kernel with metadata. While we don't call this more then once
yet, we should consider adding a second call after inlining, once this
has had a chance to soak for a while and no issues have arisen.
I've also re-enabled this pass in the TM, it was disabled years ago due
to "numerical discrepancies" https://reviews.llvm.org/D96166. In our
testing we haven't seen any issues with adding ranges to intrinsics, and
I cannot find any further info about what issues were encountered.
Commit: a97871e07dd62510dea1bb71b0f74261f52e4479
https://github.com/llvm/llvm-project/commit/a97871e07dd62510dea1bb71b0f74261f52e4479
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel
Log Message:
-----------
[bazel] Fix layering check violation for nextafter_test_template target for 63cda2d
Commit: e16f2f5d2491fde19afb63d5cec83625d391be30
https://github.com/llvm/llvm-project/commit/e16f2f5d2491fde19afb63d5cec83625d391be30
Author: Graham Hunter <graham.hunter at arm.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
M llvm/test/CodeGen/AArch64/arm64-2011-10-18-LdStOptBug.ll
M llvm/test/CodeGen/AArch64/arm64-ldp-cluster.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-reductions-predicated-scalable.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-reductions-scalable.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-reductions.ll
M llvm/test/CodeGen/AArch64/zext-to-tbl.ll
M llvm/test/Transforms/LoopStrengthReduce/AArch64/lsr-reuse.ll
Log Message:
-----------
[AArch64] Override isLSRCostLess, take number of instructions into account (#84189)
Adds an AArch64-specific version of isLSRCostLess, changing the relative
importance of the various terms from the formulae being evaluated.
This has been split out from my vscale-aware LSR work, see the RFC for
reference:
https://discourse.llvm.org/t/rfc-vscale-aware-loopstrengthreduce/77131
Commit: 79393124ff74aaaf6a43f7c88e67fd76a6e44239
https://github.com/llvm/llvm-project/commit/79393124ff74aaaf6a43f7c88e67fd76a6e44239
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaAMDGPU.cpp
Log Message:
-----------
Fix -Wunused-variable in SemaAMDGPU.cpp in release build, NFC
Commit: 00089f963fa333932126dd289aa2fabbb1c19f78
https://github.com/llvm/llvm-project/commit/00089f963fa333932126dd289aa2fabbb1c19f78
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVVMIntrRange.cpp
Log Message:
-----------
[NVPTX] Remove unused private field in NVVMIntrRange.cpp (NFC)
/llvm-project/llvm/lib/Target/NVPTX/NVVMIntrRange.cpp:33:12:
error: private field 'SmVersion' is not used [-Werror,-Wunused-private-field]
unsigned SmVersion;
^
1 error generated.
Commit: d9e6a563206cea4e682d4c52eccf24178d7d8343
https://github.com/llvm/llvm-project/commit/d9e6a563206cea4e682d4c52eccf24178d7d8343
Author: Marianne Mailhot-Sarrasin <32456002+mariannems at users.noreply.github.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M lldb/source/Target/ThreadPlanStepOverRange.cpp
Log Message:
-----------
[lldb] Fix ThreadPlanStepOverRange name in log message (#94611)
Co-authored-by: Marianne Mailhot-Sarrasin <marianne.mailhot-sarrasin at octasic.com>
Commit: ff77f67c47b7f06334110b5d7d4b9350288832ba
https://github.com/llvm/llvm-project/commit/ff77f67c47b7f06334110b5d7d4b9350288832ba
Author: Joachim <jenke at itc.rwth-aachen.de>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M openmp/CMakeLists.txt
Log Message:
-----------
[OpenMP][NFC] Fix warning for OpenMP standalone build (#93463)
PR #75125 introduced upward propagation of some OMPT-related CMake
variables.
For stand-alone builds this results in a warning that `SCOPE_PARENT` has
no meaning in a top-level directory.
Commit: 2ec47e5e85f9c0e68eaeb7041bb9aa783bfb97d3
https://github.com/llvm/llvm-project/commit/2ec47e5e85f9c0e68eaeb7041bb9aa783bfb97d3
Author: Gábor Spaits <gaborspaits1 at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/merge-unmerge-rv32.mir
Log Message:
-----------
[RISCV] Fix duplicate test cases for G_UNMERGE_VALUES (#94622)
`unmerge_i64` and `unmerge_i32` were exactly the same test cases. This
PR would fix that, so `unmerge_i32` would actually unmerge a 32 bit
value into two 16 bit values.
Commit: a9205c5c9d5aeadbb97ed7283a35515df4ba49da
https://github.com/llvm/llvm-project/commit/a9205c5c9d5aeadbb97ed7283a35515df4ba49da
Author: Spenser Bauman <sbauman at mathworks.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Tensor/TransformOps/TensorTransformOps.td
M mlir/include/mlir/Dialect/Tensor/Transforms/Transforms.h
M mlir/lib/Dialect/Tensor/TransformOps/TensorTransformOps.cpp
M mlir/lib/Dialect/Tensor/Transforms/RewriteAsConstant.cpp
M mlir/lib/Dialect/Utils/IndexingUtils.cpp
M mlir/test/Dialect/Tensor/rewrite-as-constant.mlir
Log Message:
-----------
[mlir][tensor] Implement constant folder for tensor.pad (#92691)
Extend the folding ability of the RewriteAsConstant patterns to include
tensor.pad operations on constants. The new pattern with constant fold
tensor.pad operations which operate on tensor constants and have
statically resolvable padding sizes/values.
%init = arith.constant dense<[[6, 7], [8, 9]]> : tensor<2x2xi32>
%pad_value = arith.constant 0 : i32
%0 = tensor.pad %init low[1, 1] high[1, 1] {
^bb0(%arg1: index, %arg2: index):
tensor.yield %pad_value : i32
} : tensor<2x2xi32> to tensor<4x4xi32>
becomes
%cst = arith.constant dense<[[0, 0, 0, 0],
[0, 6, 7, 0],
[0, 8, 9, 0],
[0, 0, 0, 0]]> : tensor<4x4xi32>
Co-authored-by: Spenser Bauman <sabauma at fastmail>
Commit: 2a6efe6a49e00a1953d537816a39e5c9883dc3c0
https://github.com/llvm/llvm-project/commit/2a6efe6a49e00a1953d537816a39e5c9883dc3c0
Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
A bolt/include/bolt/Core/GDBIndex.h
M bolt/lib/Core/CMakeLists.txt
A bolt/lib/Core/GDBIndex.cpp
Log Message:
-----------
[BOLT][DWARF][NFC] Refactor GDB Index into a new file (#94405)
Create a new class and file for functions that update GDB index.
Commit: 6b9753a0ecf7fdea203c6faf23c3ad4bf432273c
https://github.com/llvm/llvm-project/commit/6b9753a0ecf7fdea203c6faf23c3ad4bf432273c
Author: Wei Zhao <60720283+wxz2020 at users.noreply.github.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
A clang/test/Driver/aarch64-oryon-1.c
M clang/test/Misc/target-invalid-cpu-note.c
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/Target/AArch64/AArch64.td
M llvm/lib/Target/AArch64/AArch64Processors.td
A llvm/lib/Target/AArch64/AArch64SchedOryon.td
M llvm/lib/Target/AArch64/AArch64Subtarget.cpp
M llvm/lib/TargetParser/Host.cpp
M llvm/unittests/TargetParser/Host.cpp
M llvm/unittests/TargetParser/TargetParserTest.cpp
Log Message:
-----------
[AArch64] Add support for Qualcomm Oryon processor (#91022)
Oryon is an ARM V8 AArch64 CPU from Qualcomm.
---------
Co-authored-by: Wei Zhao <wezhao at qti.qualcomm.com>
Commit: 505cd125a1edad4e59776e03e9a755aa598ed6f2
https://github.com/llvm/llvm-project/commit/505cd125a1edad4e59776e03e9a755aa598ed6f2
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
M llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
M llvm/test/CodeGen/SPIRV/event-wait-ptr-type.ll
M llvm/test/CodeGen/SPIRV/passes/SPIRVEmitIntrinsics-no-duplicate-spv_assign_type.ll
A llvm/test/CodeGen/SPIRV/transcoding/OpGroupAsyncCopy-strided.ll
M llvm/test/CodeGen/SPIRV/transcoding/check_ro_qualifier.ll
Log Message:
-----------
[SPIR-V] Add validation to the test case with get_image_array_size/get_image_dim calls (#94467)
This PR is to add validation to the test case with
get_image_array_size/get_image_dim calls
(transcoding/check_ro_qualifier.ll). This test case didn't pass
validation because of invalid emission of OpCompositeExtract instruction
(Result Type must be the same type as Composite.).
In order to fix the problem this PR improves type inference in general
and partially addresses issues:
* https://github.com/llvm/llvm-project/issues/91998
* https://github.com/llvm/llvm-project/issues/91997
A reproducer from the description of the latter issue is added as a new
test case as a part of this PR.
Commit: b7b8d028962e7a7280e3d65019345f2446785e7e
https://github.com/llvm/llvm-project/commit/b7b8d028962e7a7280e3d65019345f2446785e7e
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/test/Transforms/ConstraintElimination/induction-condition-in-loop-exit.ll
Log Message:
-----------
[ConstraintElim] Add induction tests with different start values.
Extra tests for https://github.com/llvm/llvm-project/pull/94610.
Commit: 083a26682d1c4d2d6efb051cb2f658564eaa32ff
https://github.com/llvm/llvm-project/commit/083a26682d1c4d2d6efb051cb2f658564eaa32ff
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Function.cpp
Log Message:
-----------
[clang][Interp][NFC] Return a valid SourceInfo for Function PCs
We already assert that the given PC is in range and that the
function has a body, so the SrcMap should generally never be empty.
However, when generating destructors, we create quite a few instructions
for which we have no source information, which may cause the previous
assertion to fail. Return the end of the source map in this case.
Commit: 84b026690ded7f7728b6d1ba48b233b6ca8317eb
https://github.com/llvm/llvm-project/commit/84b026690ded7f7728b6d1ba48b233b6ca8317eb
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/test/CodeGen/AArch64/vecreduce-fmax-legalization.ll
M llvm/test/CodeGen/AArch64/vecreduce-fmin-legalization.ll
M llvm/test/CodeGen/AMDGPU/llvm.maximum.f16.ll
M llvm/test/CodeGen/WebAssembly/simd-arith.ll
Log Message:
-----------
DAG: Pass flags to FoldConstantArithmetic (#93663)
There is simply way too much going on inside getNode. The complicated
constant folding of vector handling works by looking for build_vector
operands, and then tries to getNode the scalar element and then checks
if
constants were the result. As a side effect, this produces unused scalar
operation nodes (previously, without flags). If the vector operation
were later scalarized, it would find the flagless constant folding
temporary and lose the flag. I don't think this is a reasonable way for
constant folding to operate, but for now fix this by ensuring flags
on the original operation are preserved in the temporary.
This yields a clear code improvement for AMDGPU when f16 isn't legal.
The Wasm cases switch from using a libcall to compare and select. We are
evidently
missing the fcmp+select to fminimum/fmaximum handling, but this would be
further
improved when that's handled. AArch64 also avoids the libcall, but looks
worse and
has a different call for some reason.
Commit: 554a2fa4b2b18c81dc7f47599c4704577eb3a129
https://github.com/llvm/llvm-project/commit/554a2fa4b2b18c81dc7f47599c4704577eb3a129
Author: Sam Clegg <sbc at chromium.org>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/MC/WasmObjectWriter.cpp
M llvm/test/MC/WebAssembly/reloc-pic64.s
Log Message:
-----------
[WebAssembly] Fix element segments in wasm64 object files (#94617)
Followup to #94487
Commit: 2df68e0503d1cc8cc5e16f4370f2262ff05f2d2d
https://github.com/llvm/llvm-project/commit/2df68e0503d1cc8cc5e16f4370f2262ff05f2d2d
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M mlir/lib/IR/AsmPrinter.cpp
M mlir/test/IR/array-of-attr.mlir
Log Message:
-----------
[MLIR] Fix generic assembly syntax for ArrayAttr containing hex float (#94583)
When a float attribute is printed with Hex, we should not elide the type
because it is parsed back as i64 otherwise.
Commit: 7ef83f5561b34ca07fdef23ca2b3c01c583dbbf5
https://github.com/llvm/llvm-project/commit/7ef83f5561b34ca07fdef23ca2b3c01c583dbbf5
Author: Max191 <44243577+Max191 at users.noreply.github.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Tensor/Transforms/PackAndUnpackPatterns.cpp
M mlir/test/Dialect/Tensor/fold-into-pack-and-unpack.mlir
Log Message:
-----------
[mlir] Add pack/unpack transpose foldings for linalg.generic ops, fix bugs (#93055)
This PR adds transpose + pack/unpack folding support for transpose ops
in the form of `linalg.generic` ops. There were also some bugs with the
permutation composing in the previous patterns, so this PR fixes these
bugs and adds tests for them as well.
Commit: 61ef9fdd14f0e7aec2e7dcc10fddd30eec52ee16
https://github.com/llvm/llvm-project/commit/61ef9fdd14f0e7aec2e7dcc10fddd30eec52ee16
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/bolt/lib/Core/BUILD.gn
Log Message:
-----------
[gn build] Port 2a6efe6a49e0
Commit: 23d86165aabe351aae967301a4ba7d3781f5fb61
https://github.com/llvm/llvm-project/commit/23d86165aabe351aae967301a4ba7d3781f5fb61
Author: Adam Paszke <adam.paszke at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
Log Message:
-----------
[Bazel] Generate LLVM_HAS_XYZ_TARGET macros in llvm config (#94476)
Otherwise code that depends on those targets being enabled might not get
compiled correctly even if the targets are explicitly included in the
configuration (in my case NVVM target for MLIR).
Commit: c0a8fb2120c6cf1e3006d6cc45eccef6fb5069f5
https://github.com/llvm/llvm-project/commit/c0a8fb2120c6cf1e3006d6cc45eccef6fb5069f5
Author: aengelke <engelke at in.tum.de>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachineFunction.h
Log Message:
-----------
[CodeGen] Use std::bitset for MachineFunctionProperties (#94627)
The size of the properties is fixed, so no need for a BitVector.
Assigning small, fixed-size bitsets is faster.
It's a minor performance improvement.
Commit: ac5e278067033636d51bbee41a6ddb9869d0455b
https://github.com/llvm/llvm-project/commit/ac5e278067033636d51bbee41a6ddb9869d0455b
Author: aengelke <engelke at in.tum.de>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86LowerAMXType.cpp
Log Message:
-----------
[X86] Skip AMX type lowering when AMX is not used (#92910)
The pass iterates over the IR multiple times, but most code doesn't use
AMX. Therefore, do a single iteration in advance to check whether a
function uses AMX at all, and exit early if it doesn't. This makes the
function-has-AMX path slightly more expensive, but AMX users probably
care a lot less about compile time than JIT users (which tend to not use
AMX).
For us, it reduces the time spent in this pass from 0.62% to 0.12%.
Ideally, we wouldn't even need to iterate over the function to determine
that it doesn't use AMX.
Commit: 5be0d00daa5737b6d2165d0c3ec29ce8af068053
https://github.com/llvm/llvm-project/commit/5be0d00daa5737b6d2165d0c3ec29ce8af068053
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/RegisterCoalescer.cpp
Log Message:
-----------
RegisterCoalescer: Remove unnecessary maybe_unused
2214026e957397cc6385f778b28d570485a31856 didn't fix an unused variable
warning correctly.
Commit: 3c6d004068a8b7ff036edab6dbbba7ccc2786dae
https://github.com/llvm/llvm-project/commit/3c6d004068a8b7ff036edab6dbbba7ccc2786dae
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/FMaxTest.h
M libc/test/src/math/smoke/FMinTest.h
Log Message:
-----------
[libc][math][c23] Fix implicit conversion in smoke tests for {fmax,fmin}f16 (#94624)
Commit: dd1cd02a438dc372e1f8457096d01fabb93c9ced
https://github.com/llvm/llvm-project/commit/dd1cd02a438dc372e1f8457096d01fabb93c9ced
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/c23.rst
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/math/CMakeLists.txt
A libc/src/math/fmaximum_mag_numf16.h
A libc/src/math/fmaximum_magf16.h
A libc/src/math/fmaximum_numf16.h
A libc/src/math/fmaximumf16.h
A libc/src/math/fminimum_mag_numf16.h
A libc/src/math/fminimum_magf16.h
A libc/src/math/fminimum_numf16.h
A libc/src/math/fminimumf16.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/fmaximum_mag_numf16.cpp
A libc/src/math/generic/fmaximum_magf16.cpp
A libc/src/math/generic/fmaximum_numf16.cpp
A libc/src/math/generic/fmaximumf16.cpp
A libc/src/math/generic/fminimum_mag_numf16.cpp
A libc/src/math/generic/fminimum_magf16.cpp
A libc/src/math/generic/fminimum_numf16.cpp
A libc/src/math/generic/fminimumf16.cpp
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/FMaximumMagNumTest.h
M libc/test/src/math/smoke/FMaximumMagTest.h
M libc/test/src/math/smoke/FMaximumNumTest.h
M libc/test/src/math/smoke/FMaximumTest.h
M libc/test/src/math/smoke/FMinimumMagNumTest.h
M libc/test/src/math/smoke/FMinimumMagTest.h
M libc/test/src/math/smoke/FMinimumNumTest.h
M libc/test/src/math/smoke/FMinimumTest.h
A libc/test/src/math/smoke/fmaximum_mag_numf16_test.cpp
A libc/test/src/math/smoke/fmaximum_magf16_test.cpp
A libc/test/src/math/smoke/fmaximum_numf16_test.cpp
A libc/test/src/math/smoke/fmaximumf16_test.cpp
A libc/test/src/math/smoke/fminimum_mag_numf16_test.cpp
A libc/test/src/math/smoke/fminimum_magf16_test.cpp
A libc/test/src/math/smoke/fminimum_numf16_test.cpp
A libc/test/src/math/smoke/fminimumf16_test.cpp
Log Message:
-----------
[libc][math][c23] Add {fmaximum,fminimum}{,_mag,_mag_num,_num} C23 math functions (#94510)
#93566
Commit: a71aecb05fb8021edb9a12d865ae07a20532347e
https://github.com/llvm/llvm-project/commit/a71aecb05fb8021edb9a12d865ae07a20532347e
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/TargetLowering.h
Log Message:
-----------
[llvm][ScheduleDAG] Set a fixed size for Sched::Preference (#94523)
This trims off 8 bytes from llvm::SUnit:
```
--- before 2024-06-05 12:13:00
+++ after 2024-06-05 12:12:58
@@ -1,65 +1,65 @@
*** Dumping AST Record Layout
0 | class llvm::SUnit
0 | SDNode * Node
8 | MachineInstr * Instr
16 | SUnit * OrigNode
24 | const MCSchedClassDesc * SchedClass
32 | class llvm::SmallVector<class llvm::SDep, 4> Preds
32 | class llvm::SmallVectorImpl<class llvm::SDep> (base)
32 | class llvm::SmallVectorTemplateBase<class llvm::SDep> (base)
32 | class llvm::SmallVectorTemplateCommon<class llvm::SDep> (base)
32 | class llvm::SmallVectorBase<uint32_t> (base)
32 | void * BeginX
40 | unsigned int Size
44 | unsigned int Capacity
48 | struct llvm::SmallVectorStorage<class llvm::SDep, 4> (base)
48 | char[64] InlineElts
112 | class llvm::SmallVector<class llvm::SDep, 4> Succs
112 | class llvm::SmallVectorImpl<class llvm::SDep> (base)
112 | class llvm::SmallVectorTemplateBase<class llvm::SDep> (base)
112 | class llvm::SmallVectorTemplateCommon<class llvm::SDep> (base)
112 | class llvm::SmallVectorBase<uint32_t> (base)
112 | void * BeginX
120 | unsigned int Size
124 | unsigned int Capacity
128 | struct llvm::SmallVectorStorage<class llvm::SDep, 4> (base)
128 | char[64] InlineElts
192 | unsigned int NodeNum
196 | unsigned int NodeQueueId
200 | unsigned int NumPreds
204 | unsigned int NumSuccs
208 | unsigned int NumPredsLeft
212 | unsigned int NumSuccsLeft
216 | unsigned int WeakPredsLeft
220 | unsigned int WeakSuccsLeft
224 | unsigned short NumRegDefsLeft
226 | unsigned short Latency
228:0-0 | _Bool isVRegCycle
228:1-1 | _Bool isCall
228:2-2 | _Bool isCallOp
228:3-3 | _Bool isTwoAddress
228:4-4 | _Bool isCommutable
228:5-5 | _Bool hasPhysRegUses
228:6-6 | _Bool hasPhysRegDefs
228:7-7 | _Bool hasPhysRegClobbers
229:0-0 | _Bool isPending
229:1-1 | _Bool isAvailable
229:2-2 | _Bool isScheduled
229:3-3 | _Bool isScheduleHigh
229:4-4 | _Bool isScheduleLow
229:5-5 | _Bool isCloned
229:6-6 | _Bool isUnbuffered
229:7-7 | _Bool hasReservedResource
- 232 | Sched::Preference SchedulingPref
- 236:0-0 | _Bool isDepthCurrent
- 236:1-1 | _Bool isHeightCurrent
- 240 | unsigned int Depth
- 244 | unsigned int Height
- 248 | unsigned int TopReadyCycle
- 252 | unsigned int BotReadyCycle
- 256 | const TargetRegisterClass * CopyDstRC
- 264 | const TargetRegisterClass * CopySrcRC
- | [sizeof=272, dsize=272, align=8,
- | nvsize=272, nvalign=8]
+ 230 | Sched::Preference SchedulingPref
+ 231:0-0 | _Bool isDepthCurrent
+ 231:1-1 | _Bool isHeightCurrent
+ 232 | unsigned int Depth
+ 236 | unsigned int Height
+ 240 | unsigned int TopReadyCycle
+ 244 | unsigned int BotReadyCycle
+ 248 | const TargetRegisterClass * CopyDstRC
+ 256 | const TargetRegisterClass * CopySrcRC
+ | [sizeof=264, dsize=264, align=8,
+ | nvsize=264, nvalign=8]
```
Commit: df168427b314f057c739eaccb21f361d3628f03b
https://github.com/llvm/llvm-project/commit/df168427b314f057c739eaccb21f361d3628f03b
Author: David Tenty <daltenty at ibm.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M libcxx/test/std/experimental/simd/simd.class/simd_copy.pass.cpp
Log Message:
-----------
[NFC][libc++][test][AIX] fix SIMD test XFAIL for clang before 19 (#94509)
058e4454 added an XFAIL for this test on AIX because of a backend
limitation. That backend limitation
has been resolved by 0295c2ad and will be available for clang 19, so we
should update the test to
limit the XFAIL to clang versions before that.
Commit: 09f19c7396ecf26623d08c4288b35a60e950fcd8
https://github.com/llvm/llvm-project/commit/09f19c7396ecf26623d08c4288b35a60e950fcd8
Author: jensmassberg <87519353+jensmassberg at users.noreply.github.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Support/VirtualFileSystem.cpp
M llvm/unittests/Support/VirtualFileSystemTest.cpp
Log Message:
-----------
[clang] Fix handling of adding a file with the same name as an existing dir to VFS (#94461)
When trying to add a file to clang's VFS via `addFile` and a directory
of the same name already exists, we run into a [out-of-bound
access](https://github.com/llvm/llvm-project/blob/145815c180fc82c5a55bf568d01d98d250490a55/llvm/lib/Support/Path.cpp#L244).
The problem is that the file name is [recognised as existing path](
https://github.com/llvm/llvm-project/blob/145815c180fc82c5a55bf568d01d98d250490a55/llvm/lib/Support/VirtualFileSystem.cpp#L896)
and thus continues to process the next part of the path which doesn't
exist.
This patch adds a check if we have reached the last part of the filename
and return false in that case.
This we reject to add a file if a directory of the same name already
exists.
This is in sync with [this
check](https://github.com/llvm/llvm-project/blob/145815c180fc82c5a55bf568d01d98d250490a55/llvm/lib/Support/VirtualFileSystem.cpp#L903)
that rejects adding a path if a file of the same name already exists.
Commit: e9174ba789531b26709764b4f404ec368b77db44
https://github.com/llvm/llvm-project/commit/e9174ba789531b26709764b4f404ec368b77db44
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Interp.h
M clang/test/AST/Interp/arrays.cpp
M clang/test/AST/Interp/literals.cpp
Log Message:
-----------
[clang][Interp] Always decay root array pointers to the first element
This is similar to what the current interpreter does.
Commit: f882f8c293d2064619f7eb3dc716dcaf3e2da875
https://github.com/llvm/llvm-project/commit/f882f8c293d2064619f7eb3dc716dcaf3e2da875
Author: Chen Zheng <czhengsz at cn.ibm.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/utils/lit/lit/llvm/config.py
Log Message:
-----------
[AIX] use LIBPATH on AIX instead of LD_LIBRARY_PATH (#94602)
LD_LIBRARY_PATH will become invalid when LIBPATH is also set on AIX.
See below example on AIX:
```
$ldd a.out
a.out needs:
/usr/lib/libc.a(shr.o)
Cannot find libtest.a
/unix
/usr/lib/libcrypt.a(shr.o)
$./a.out
Could not load program ./a.out:
Dependent module libtest.a could not be loaded.
Could not load module libtest.a.
System error: No such file or directory
$export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/tmp
$./a.out ; echo $?
10
$export LIBPATH=./
$./a.out ; echo $? >>>>>> Now LD_LIBRARY_PATH is not used by system loader
Could not load program ./a.out:
Dependent module libtest.a could not be loaded.
Could not load module libtest.a.
System error: No such file or directory
```
This breaks many AIX LIT cases on our downstream buildbots which sets
LIBPATH.
---------
Co-authored-by: Anh Tuyen Tran <34661776+anhtuyenibm at users.noreply.github.com>
Co-authored-by: David Tenty <daltenty.dev at gmail.com>
Commit: 7573d5e4b10cc7befc54d29edd7ec94d9bf11b93
https://github.com/llvm/llvm-project/commit/7573d5e4b10cc7befc54d29edd7ec94d9bf11b93
Author: Chaitanya <Krishna.Sankisa at amd.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.h
Log Message:
-----------
[AMDGPU] Update removeFnAttrFromReachable to accept array of Fn Attrs. (#94188)
This PR updates removeFnAttrFromReachable in AMDGPUMemoryUtils to accept
array of function attributes as argument.
Helps to remove multiple attributes in one CallGraph walk.
Commit: a76290d6acedb4dcdd431cdd21f057255117f8d3
https://github.com/llvm/llvm-project/commit/a76290d6acedb4dcdd431cdd21f057255117f8d3
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M lldb/source/Expression/DWARFExpression.cpp
Log Message:
-----------
[lldb] Refactor ReadRegisterValueAsScalar to return an llvm::Error (NFC) (#94556)
Commit: 67aaa9f9974993f360cc0dabffd73b51c030d775
https://github.com/llvm/llvm-project/commit/67aaa9f9974993f360cc0dabffd73b51c030d775
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M lldb/source/Expression/DWARFExpression.cpp
Log Message:
-----------
[lldb] Refactor ResolveLoadAddress to return an llvm::Expected (NFC) (#94558)
Commit: 7fdbc30b445286f03203e16d0be067c25c6f0df0
https://github.com/llvm/llvm-project/commit/7fdbc30b445286f03203e16d0be067c25c6f0df0
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParser.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.h
M lldb/source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.cpp
M lldb/source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.h
R lldb/test/Shell/SymbolFile/DWARF/delayed-definition-die-searching.test
Log Message:
-----------
Revert "[lldb][DebugNames] Only skip processing of DW_AT_declarations for class/union types"
and two follow-up commits. The reason is the crash we've discovered when
processing -gsimple-template-names binaries. I'm committing a minimal
reproducer as a separate patch.
This reverts the following commits:
- 51dd4eaaa29683c16151f5168e7f8645acbd6e6c (#92328)
- 3d9d48523977af3590f7dd0edfd258454cb9e9cf (#93839)
- afe6ab7586f7078cc410f6162bd9851e48e2a286 (#94400)
Commit: de3f1b6d68ab8a0e827db84b328803857a4f60df
https://github.com/llvm/llvm-project/commit/de3f1b6d68ab8a0e827db84b328803857a4f60df
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
A lldb/test/Shell/SymbolFile/DWARF/x86/simple-template-names-context.cpp
Log Message:
-----------
[lldb] Test case for the bug in #92328
Commit: 1ca0055f45abe7e4d484a0af457fc20be318c8e2
https://github.com/llvm/llvm-project/commit/1ca0055f45abe7e4d484a0af457fc20be318c8e2
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/include/clang/Basic/Cuda.h
M clang/lib/Basic/Cuda.cpp
M clang/lib/Basic/Targets/NVPTX.cpp
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
M clang/test/CodeGenOpenCL/amdgpu-features.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx11.cl
M clang/test/Driver/amdgpu-macros.cl
M clang/test/Driver/amdgpu-mcpu.cl
M clang/test/Misc/target-invalid-cpu-note.c
M flang/cmake/modules/AddFlangOffloadRuntime.cmake
M libclc/CMakeLists.txt
M llvm/docs/AMDGPUUsage.rst
M llvm/include/llvm/BinaryFormat/ELF.h
M llvm/include/llvm/TargetParser/TargetParser.h
M llvm/lib/Object/ELFObjectFile.cpp
M llvm/lib/ObjectYAML/ELFYAML.cpp
M llvm/lib/Target/AMDGPU/AMDGPU.td
M llvm/lib/Target/AMDGPU/GCNProcessors.td
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
M llvm/lib/TargetParser/TargetParser.cpp
M llvm/test/CodeGen/AMDGPU/directive-amdgcn-target.ll
M llvm/test/CodeGen/AMDGPU/elf-header-flags-mach.ll
M llvm/test/CodeGen/AMDGPU/occupancy-levels.ll
M llvm/test/MC/AMDGPU/gfx1150_asm_features.s
M llvm/test/Object/AMDGPU/elf-header-flags-mach.yaml
M llvm/test/tools/llvm-objdump/ELF/AMDGPU/subtarget.ll
M llvm/test/tools/llvm-readobj/ELF/AMDGPU/elf-headers.test
M llvm/tools/llvm-readobj/ELFDumper.cpp
M offload/DeviceRTL/CMakeLists.txt
Log Message:
-----------
[AMDGPU] Add a new target gfx1152 (#94534)
Commit: ab33fa59a2a5ae688426be8307584f78363326d0
https://github.com/llvm/llvm-project/commit/ab33fa59a2a5ae688426be8307584f78363326d0
Author: Jordan Rupprecht <rupprecht at google.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel
Log Message:
-----------
[bazel] Fix smoke/BUILD.bazel layering in nextafter_test_template (#94641)
After 63cda2d19c310826722e8724649ceae7307389d7.
See also a97871e07dd62510dea1bb71b0f74261f52e4479.
Commit: 212b78aad41b35df3af33bfffac678b460d467e9
https://github.com/llvm/llvm-project/commit/212b78aad41b35df3af33bfffac678b460d467e9
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/test/CodeGen/AMDGPU/fmaximum3.ll
M llvm/test/CodeGen/AMDGPU/fminimum3.ll
M llvm/test/CodeGen/AMDGPU/llvm.maximum.f16.ll
M llvm/test/CodeGen/AMDGPU/llvm.maximum.f32.ll
M llvm/test/CodeGen/AMDGPU/llvm.maximum.f64.ll
M llvm/test/CodeGen/AMDGPU/llvm.minimum.f16.ll
M llvm/test/CodeGen/AMDGPU/llvm.minimum.f32.ll
M llvm/test/CodeGen/AMDGPU/llvm.minimum.f64.ll
M llvm/test/CodeGen/X86/avx512fp16-fminimum-fmaximum.ll
Log Message:
-----------
DAG: Improve fminimum/fmaximum vector expansion logic (#93579)
First, expandFMINIMUM_FMAXIMUM should be a never-fail API. The client
wanted it expanded, and it can always be expanded. This logic was tied
up with what the VectorLegalizer wanted.
Prefer using the min/max opcodes, and unrolling if we don't have a
vselect.
This seems to produce better code in all the changed tests.
Commit: 429e5be768c21d208ab688f8dfa1399c04ec5626
https://github.com/llvm/llvm-project/commit/429e5be768c21d208ab688f8dfa1399c04ec5626
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/readability/container-size-empty.cpp
Log Message:
-----------
[clang-tidy] Fix crash in readability-container-size-empty (#94527)
Fixed crash caused by call to getCookedLiteral on
template user defined literal. Fix base on assert in getCookedLiteral
method.
Closes #94454
Commit: e8500a70540a04adfb8e102d3cfa6b9d95bc3ba6
https://github.com/llvm/llvm-project/commit/e8500a70540a04adfb8e102d3cfa6b9d95bc3ba6
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/test/CodeGenCUDA/cuda-builtin-vars.cu
Log Message:
-----------
fixup cuda-builtin-vars.cu broken in IntrRange change (#94639)
Commit: 39d38d66ec1cde07cfb959d1cf94b0adc6eb16ef
https://github.com/llvm/llvm-project/commit/39d38d66ec1cde07cfb959d1cf94b0adc6eb16ef
Author: aaryanshukla <53713108+aaryanshukla at users.noreply.github.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/hdr/types/CMakeLists.txt
A libc/hdr/types/atexithandler_t.h
M libc/spec/stdc.td
M libc/src/stdlib/CMakeLists.txt
A libc/src/stdlib/at_quick_exit.cpp
A libc/src/stdlib/at_quick_exit.h
M libc/src/stdlib/atexit.cpp
M libc/src/stdlib/atexit.h
A libc/src/stdlib/exit_handler.cpp
A libc/src/stdlib/exit_handler.h
M libc/src/stdlib/quick_exit.cpp
M libc/test/src/stdlib/CMakeLists.txt
A libc/test/src/stdlib/at_quick_exit_test.cpp
Log Message:
-----------
[libc] at_quick_exit function implemented (#94317)
- added at_quick_exit function
- used helper file exit_handler which reuses code from atexit
- atexit now calls helper functions from exit_handler
- test cases and dependencies are added
---------
Co-authored-by: Aaryan Shukla <aaryanshukla at google.com>
Commit: 7eab68026d931860e9c750e8b8b29a2076370d38
https://github.com/llvm/llvm-project/commit/7eab68026d931860e9c750e8b8b29a2076370d38
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/include/llvm/BinaryFormat/ELF.h
Log Message:
-----------
[AMDGPU] Fix GFX1152 ELF arch
Commit: 088b98a458b449a633e15d98ae3cead65807534e
https://github.com/llvm/llvm-project/commit/088b98a458b449a633e15d98ae3cead65807534e
Author: Florian Mayer <fmayer at google.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
M llvm/test/Instrumentation/HWAddressSanitizer/stack-safety-analysis.ll
Log Message:
-----------
[HWASan] add optimization remarks for ignoreAccess (#94551)
Commit: 04acf1177ebd75b91f60edf6da67304a339cb886
https://github.com/llvm/llvm-project/commit/04acf1177ebd75b91f60edf6da67304a339cb886
Author: Abhina Sree <69635948+abhina-sree at users.noreply.github.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M third-party/unittest/googletest/include/gtest/internal/gtest-port.h
Log Message:
-----------
[gtest] Enable zos for death test support (#94623)
This patch implements the following change to enable zos for death test
support. https://github.com/google/googletest/pull/4527
Commit: ce938fcbde547315af18a47a609c2e09ebfb4cec
https://github.com/llvm/llvm-project/commit/ce938fcbde547315af18a47a609c2e09ebfb4cec
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Interp.cpp
M clang/test/AST/Interp/cxx23.cpp
Log Message:
-----------
[clang][Interp] Diagnose functions without body like undefined ones
We only get a "reached end of constexpr function" diagnostic
otherwise.
Commit: 7cfad77a5e3e9145213b024b9151ff812b54de51
https://github.com/llvm/llvm-project/commit/7cfad77a5e3e9145213b024b9151ff812b54de51
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/icmp-of-or-x.ll
Log Message:
-----------
[InstCombine] Add tests for folding multiuse `(icmp eq/ne (or X, Y), Y)`; NFC
Commit: 3716a3c1bce4af81db6a95eee30e35b5b923e319
https://github.com/llvm/llvm-project/commit/3716a3c1bce4af81db6a95eee30e35b5b923e319
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/icmp-of-or-x.ll
Log Message:
-----------
[InstCombine] Folding multiuse `(icmp eq/ne (or X, Y), Y)` for 2 uses of `Y`
The fold will replace 2 uses of `Y` we should also do fold if `Y` has
2 uses (not only oneuse).
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D159062
Commit: 3a95c688cc427b2971cb69abb9bd322b5a449fb4
https://github.com/llvm/llvm-project/commit/3a95c688cc427b2971cb69abb9bd322b5a449fb4
Author: Brandon Wu <brandon.wu at sifive.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/include/clang/Basic/riscv_vector.td
M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/vcpopv.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/vcpopv.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/vcpopv.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/vcpopv.c
Log Message:
-----------
[clang][RISCV] Update vcpop.v C interface to follow the nameing convention (#94318)
We named the intrinsics by replacing "." by "_" in the instruction
conventionally, so the `vcpopv_v` where the corresponding instruction is
`vcpop.v` should be named `vcpop_v`.
Commit: 9eac38a000d510e9b162d6996816ef298019b553
https://github.com/llvm/llvm-project/commit/9eac38a000d510e9b162d6996816ef298019b553
Author: Teresa Johnson <tejohnson at google.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
Log Message:
-----------
[MemProf] Remove context id set from nodes and recompute on demand (#94415)
The ContextIds set on the ContextNode struct is not technically needed
as we can compute it from either the callee or caller edge context ids.
Remove it and add a helper to recompute from the edges on demand. Also
add helpers to compute the node allocation type and whether the context
ids are empty from the edges without needing to first compute the node's
context id set, to minimize the runtime cost increase.
This yielded a 20% reduction in peak memory for a large thin link, for
about a 2% time increase (which is more than offset by some other recent
time efficiency improvements).
Commit: 88cdd9905597ace5b1ac7d080df5326d3399b3f8
https://github.com/llvm/llvm-project/commit/88cdd9905597ace5b1ac7d080df5326d3399b3f8
Author: khaki3 <47756807+khaki3 at users.noreply.github.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIRAttr.td
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/lib/Optimizer/Dialect/FIRAttr.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
A flang/test/Fir/loop03.fir
Log Message:
-----------
[flang] Add reduction semantics to fir.do_loop (#93934)
Derived from #92480. This PR introduces reduction semantics into loops
for DO CONCURRENT REDUCE. The `fir.do_loop` operation now invisibly has
the `operandSegmentsizes` attribute and takes variable-length reduction
operands with their operations given as `fir.reduce_attr`. For the sake
of compatibility, `fir.do_loop`'s builder has additional arguments at
the end. The `iter_args` operand should be placed in front of the
declaration of result types, so the new operand for reduction variables
(`reduce`) is put in the middle of arguments.
Commit: 649edb8eb25e82e3ac6fce4788f51759636229ec
https://github.com/llvm/llvm-project/commit/649edb8eb25e82e3ac6fce4788f51759636229ec
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M libc/src/__support/fixedvector.h
M libc/test/src/__support/CMakeLists.txt
M libc/test/src/__support/fixedvector_test.cpp
Log Message:
-----------
[libc][FixedVector] Add more helper methods (#94278)
This adds:
- A ctor accepting a start and end iterator
- A ctor accepting a count and const T&
- size()
- subscript operators
- begin() and end() iterators
Commit: f0785484c8ebf42ae0284cd608ad5f78eae20e95
https://github.com/llvm/llvm-project/commit/f0785484c8ebf42ae0284cd608ad5f78eae20e95
Author: Yuxuan Chen <ych at fb.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
Log Message:
-----------
[clang][NFC] fix name lookup for llvm::json::Value in SymbolGraphSerializer (#94511)
This code uses namespaces `llvm` and `llvm::json`. However, we have both
`llvm::Value` and `llvm::json::Value`. Whenever any of the headers
declare or include `llvm::Value`, the lookup becomes ambiguous.
Fixing this by qualifying the `Value` type.
Commit: d55e235b2384281a5d1d982094fb2f819999885b
https://github.com/llvm/llvm-project/commit/d55e235b2384281a5d1d982094fb2f819999885b
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/lib/ProfileData/MemProfReader.cpp
Log Message:
-----------
[memprof] Use std::unique_ptr instead of std::optional (#94655)
Changing the type of Frame::SymbolName from std::optional<std::string>
to std::unique<std::string> reduces sizeof(Frame) from 64 to 32.
The smaller type reduces the cycle and instruction counts by 23% and
4.4%, respectively, with "llvm-profdata show" modified to deserialize
all MemProfRecords in a MemProf V2 profile. The peak memory usage is
cut down nearly by half.
Commit: c771b670eabbd38867d43475dacd35a1b572e9b5
https://github.com/llvm/llvm-project/commit/c771b670eabbd38867d43475dacd35a1b572e9b5
Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
M llvm/test/CodeGen/AMDGPU/promote-constOffset-to-imm.mir
Log Message:
-----------
[AMDGPU] Promote immediate offset to atomics (#94043)
Commit: 9ad0175ea0099351050e1dfb0074d9938f469404
https://github.com/llvm/llvm-project/commit/9ad0175ea0099351050e1dfb0074d9938f469404
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M lld/ELF/Writer.cpp
M lld/test/ELF/linkerscript/memory-nonalloc-no-warn.test
M lld/test/ELF/linkerscript/sections-nonalloc.s
M lld/test/ELF/linkerscript/sections.s
Log Message:
-----------
[ELF] Keep non-alloc orphan sections at the end
https://reviews.llvm.org/D85867 changed the way we assign file offsets
(alloc sections first, then non-alloc sections).
It also removed a non-alloc special case from `findOrphanPos`.
Looking at the memory-nonalloc-no-warn.test change, which would be
needed by #93761, it makes sense to restore the previous behavior: when
placing non-alloc orphan sections, keep these sections at the end so
that the section index order matches the file offset order.
This change is cosmetic. In sections-nonalloc.s, GNU ld places the
orphan `other3` in the middle and the orphan .symtab/.shstrtab/.strtab
at the end.
Pull Request: https://github.com/llvm/llvm-project/pull/94519
Commit: 5d0308f3930887a1610b6965b6c8cec10733cdb2
https://github.com/llvm/llvm-project/commit/5d0308f3930887a1610b6965b6c8cec10733cdb2
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel
Log Message:
-----------
[bazel] Port for 649edb8eb25e82e3ac6fce4788f51759636229ec
Commit: d09231a422f052d6f6f44913fad610728a7c266b
https://github.com/llvm/llvm-project/commit/d09231a422f052d6f6f44913fad610728a7c266b
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M lldb/examples/python/crashlog.py
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/app_specific_backtrace_crashlog.test
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/interactive_crashlog_invalid_target.test
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/interactive_crashlog_json.test
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/interactive_crashlog_legacy.test
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/last_exception_backtrace_crashlog.test
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/lit.local.cfg
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/skipped_status_interactive_crashlog.test
Log Message:
-----------
[lldb/crashlog] Remove aarch64 requirement on crashlog tests (#94553)
This PR removes the `target-aarch64` requirement on the crashlog tests
to exercice them on Intel bots and make image loading single-threaded
temporarily while implementing a fix for a deadlock issue when loading
the images in parallel.
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: 2cc16442998786f7716ee7093c4f29f1b9b07cd5
https://github.com/llvm/llvm-project/commit/2cc16442998786f7716ee7093c4f29f1b9b07cd5
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M offload/test/offloading/ompx_bare_shfl_down_sync.cpp
Log Message:
-----------
[Offload] Fix missing `abs` function for test
Summary:
We don't have the abs function to link against, just use the builtin.
Commit: 878deaeeadb940c892908cb51356b60000626db8
https://github.com/llvm/llvm-project/commit/878deaeeadb940c892908cb51356b60000626db8
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/test/DebugInfo/symbolize-gnu-debuglink-no-realpath.test
M llvm/test/Other/can-execute.txt
M llvm/test/Other/lit-unicode.txt
M llvm/test/tools/llvm-cov/gcov/intermediate-format.test
M llvm/test/tools/llvm-rc/windres-prefix.test
M llvm/test/tools/split-file/output-is-special.test
Log Message:
-----------
[LLVM] Do not require shell for some tests (#94595)
Remove `REQUIRES: shell` from some tests that seem fine without it.
Tested on Windows and with LIT_USE_INTERNAL_SHELL=1 on Linux.
Commit: f543dfd1d70d2e5d9a746dd77450304c47cd7c15
https://github.com/llvm/llvm-project/commit/f543dfd1d70d2e5d9a746dd77450304c47cd7c15
Author: Christopher Bate <cbate at nvidia.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/FunctionCallUtils.h
M mlir/lib/Conversion/MemRefToLLVM/AllocLikeConversion.cpp
M mlir/lib/Dialect/LLVMIR/IR/FunctionCallUtils.cpp
Log Message:
-----------
NFC: resolve TODO in LLVM dialect conversions (#91497)
Relaxes restriction that certain public utility functions only apply
to the builtin ModuleOp.
Commit: 9293fc7981526eaca0a28012f2e5963fff1b830b
https://github.com/llvm/llvm-project/commit/9293fc7981526eaca0a28012f2e5963fff1b830b
Author: Alex Langford <alangford at apple.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M lldb/source/Target/Statistics.cpp
Log Message:
-----------
[lldb] Include memory stats in statistics summary (#94671)
The summary already includes other size information, e.g. total debug
info size in bytes. The only other way I can get this information is by
dumping all statistics which can be quite large. Adding it to the
summary seems fair.
Commit: 9e209a4a3728a599c434bfed4fa37fd8b5907e89
https://github.com/llvm/llvm-project/commit/9e209a4a3728a599c434bfed4fa37fd8b5907e89
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M offload/plugins-nextgen/amdgpu/src/rtl.cpp
Log Message:
-----------
[Offload] Use the kernel argument size directly in AMDGPU offloading (#94667)
Summary:
The old COV3 implementation of HSA used to omit the implicit arguments
from the kernel argument size. For COV4 and COV5 this is no longer the
case so we can simply use the size reported from the symbol information.
See
https://github.com/ROCm/ROCR-Runtime/issues/117#issuecomment-812758161
Commit: 06f03b806a347619f0251220baff56209abe9711
https://github.com/llvm/llvm-project/commit/06f03b806a347619f0251220baff56209abe9711
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Log Message:
-----------
[RISCV][InsertVSETVLI] Check for undef register operand directly [nfc]
getVNInfoFromReg is expected to return a nullptr if-and-only-if the
operand is undef. (This was asserted for.) Reverse the order of the
checks to simplify an upcoming set of patches.
Commit: fbcb92ca017ee7fbf84be808701133fbdf3b1c59
https://github.com/llvm/llvm-project/commit/fbcb92ca017ee7fbf84be808701133fbdf3b1c59
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M lld/test/ELF/linkerscript/sections-nonalloc.s
Log Message:
-----------
[ELF] Test non-alloc orphan that does not the RF_NOT_ADDR_SET rank flag
Commit: 7476c20c481cbccbdb89139fb94620e083015932
https://github.com/llvm/llvm-project/commit/7476c20c481cbccbdb89139fb94620e083015932
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/Endian.h
M llvm/lib/ProfileData/InstrProf.cpp
Log Message:
-----------
[ProfileData] Remove swapToHostOrder (#94665)
This patch removes swapToHostOrder in favor of
llvm::support::endian::readNext as swapToHostOrder is too thin a
wrapper around readNext.
Note that there are two variants of readNext:
- readNext<type, endian, align>(ptr)
- readNext<type, align>(ptr, endian)
swapToHostOrder uses the former, but this patch switches to the latter.
While we are at it, this patch teaches readNext to default to
unaligned just as I did in:
commit 568368a43e5b4adb3c5d105a0eff3e0c13c0af8c
Author: Kazu Hirata <kazu at google.com>
Date: Mon Apr 15 19:05:30 2024 -0700
Commit: 12ccc245f195695c8bac9156c75e5b70044882fa
https://github.com/llvm/llvm-project/commit/12ccc245f195695c8bac9156c75e5b70044882fa
Author: Dave Lee <davelee.com at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticOptions.h
Log Message:
-----------
[clang] Fix flag typo in comment
Fixed for more accurate searches of the flag `-Wsystem-headers-in-module=`.
Commit: 4a918f071005a2d7aba82e031f3f745270bf67da
https://github.com/llvm/llvm-project/commit/4a918f071005a2d7aba82e031f3f745270bf67da
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/lib/ProfileData/MemProf.cpp
M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
Log Message:
-----------
[memprof] Use std::vector<Frame> instead of llvm::SmallVector<Frame> (NFC) (#94432)
This patch replaces llvm::SmallVector<Frame> with std::vector<Frame>.
llvm::SmallVector<Frame> sets aside one inline element. Meanwhile,
when I sort all call stacks by their lengths, the length at the first
percentile is already 2. That is, 99 percent of call stacks do not
take advantage of the inline element.
Using std::vector<Frame> reduces the cycle and instruction counts by
11% and 22%, respectively, with "llvm-profdata show" modified to
deserialize all MemProfRecords.
Commit: ba7f52ccf42fd481a1b309fe76863729fdd18c1c
https://github.com/llvm/llvm-project/commit/ba7f52ccf42fd481a1b309fe76863729fdd18c1c
Author: Alex Langford <alangford at apple.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M lldb/test/API/functionalities/stats_api/TestStatisticsAPI.py
Log Message:
-----------
[lldb] Fix TestStatisticsAPI after 9293fc798152 (#94683)
Commit: 81e9a3c3fc9552ef0e1191da70aa0d44d918bcc0
https://github.com/llvm/llvm-project/commit/81e9a3c3fc9552ef0e1191da70aa0d44d918bcc0
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/test/Interpreter/pretty-print.c
Log Message:
-----------
[clang-repl] Disable new test after #89811
Commit: 855af13e8a1ded22fde3898c4e321cc5830eebf1
https://github.com/llvm/llvm-project/commit/855af13e8a1ded22fde3898c4e321cc5830eebf1
Author: aaryanshukla <53713108+aaryanshukla at users.noreply.github.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M libc/src/stdlib/CMakeLists.txt
Log Message:
-----------
[libc] fixed target issue with exit_handler (#94678)
- addressed
https://github.com/llvm/llvm-project/pull/94317#issuecomment-2153103129
- added conditional in cmake file for exit_handler object library
Co-authored-by: Aaryan Shukla <aaryanshukla at google.com>
Commit: b1861429cb1843c3a3da56b1411fdb131fc33519
https://github.com/llvm/llvm-project/commit/b1861429cb1843c3a3da56b1411fdb131fc33519
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_bitvector.h
Log Message:
-----------
[sanitizer] Make CHECKs in bitvector more precise (NFC) (#94630)
These CHECKs are all checking indices, which must be strictly smaller
than the size (otherwise they would go out of bounds).
Commit: 19bbbcbedcbddcfc39202d7d801508a20baf83b6
https://github.com/llvm/llvm-project/commit/19bbbcbedcbddcfc39202d7d801508a20baf83b6
Author: Thurston Dang <thurston at google.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cpp
Log Message:
-----------
[sanitizer_common] Change allocator base in test case for compatibili… (#93234)
…ty with high-entropy ASLR
With high-entropy ASLR (e.g., 32-bits == 16TB), the allocator base of
0x700000000000 (112TB) may collide with the placement of the libraries
(e.g., on Linux, the mmap base could be 128TB - 16TB == 112TB). This
results in a segfault in the test case.
This patch moves the allocator base below the PIE program segment,
inspired by fb77ca05ffb4f8e666878f2f6718a9fb4d686839. As per that patch:
1) we are leaving the old behavior for Apple 2) since ASLR cannot be set
above 32-bits for x86-64 Linux, we expect this new layout to be durable.
Note that this is only changing a test case, not the behavior of
sanitizers. Sanitizers have their own settings for initializing the
allocator base.
Reproducer:
1. ninja check-sanitizer # Just to build the test binary needed below;
no need to actually run the tests here
2. sudo sysctl vm.mmap_rnd_bits=32 # Increase ASLR entropy
3. for f in `seq 1 10000`; do echo $f;
GTEST_FILTER=*SizeClassAllocator64Dense
./projects/compiler-rt/lib/sanitizer_common/tests/Sanitizer-x86_64-Test
> /tmp/x; if [ $? -ne 0 ]; then cat /tmp/x; fi; done
Commit: 92a870888c2d19f0004d2d0bc90730559c6bf0f4
https://github.com/llvm/llvm-project/commit/92a870888c2d19f0004d2d0bc90730559c6bf0f4
Author: Alexander Richardson <alexrichardson at google.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
Log Message:
-----------
[compiler-rt] Map internal_sigaction to __sys_sigaction on FreeBSD (#84441)
This function is called during very early startup and which can result
in a crash on FreeBSD. The sigaction() function in libc is indirected
via a table so that it can be interposed by the threading library
rather than calling the syscall directly. In the crash I was observing
this table had not yet been relocated, so we ended up jumping to an
invalid address. To avoid this problem we can call __sys_sigaction,
which calls the syscall directly and in FreeBSD 15 is part of libsys
rather than libc, so does not depend on libc being fully initialized.
Commit: 210692bcd6588ac4ae518436f55895a4520deb18
https://github.com/llvm/llvm-project/commit/210692bcd6588ac4ae518436f55895a4520deb18
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/IRBuilderFolder.h
Log Message:
-----------
[llvm/IR] Fix module build issue following e57308b063bb (NFC) (#94580)
This patch fixes a build issue following e57308b063bb when enabling
module build.
With that change, we failed to build the LLVM_IR module since
GEPNoWrapFlags wasn't defined prior to using it.
This patch addressed that issue by including the missing header in
`llvm/IR/IRBuilderFolder.h` which uses the `GEPNoWrapFlags` type.
This should ensure that we can always build the `LLVM_IR` module.
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: 5c0df5fe2207562d99149bad65c04e3054181f75
https://github.com/llvm/llvm-project/commit/5c0df5fe2207562d99149bad65c04e3054181f75
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/lib/ProfileData/MemProf.cpp
M llvm/unittests/ProfileData/MemProfTest.cpp
Log Message:
-----------
[memprof] Add CallStackRadixTreeBuilder (#93784)
Call stacks are a huge portion of the MemProf profile, taking up 70+%
of the profile file size.
This patch implements a radix tree to compress call stacks, which are
known to have long common prefixes. Specifically,
CallStackRadixTreeBuilder, introduced in this patch, takes call stacks
in the MemProf profile, sorts them in the dictionary order to maximize
the common prefix between adjacent call stacks, and then encodes a
radix tree into a single array that is ready for serialization.
The resulting radix array is essentially a concatenation of call stack
arrays, each encoded with its length followed by the payload, except
that these arrays contain "instructions" like "skip 7 elements
forward" to borrow common prefixes from other call stacks.
This patch does not integrate with the MemProf
serialization/deserialization infrastructure yet. Once integrated,
the radix tree is expected to roughly halve the file size of the
MemProf profile.
Commit: 21f5ee014db5df4fcf3dfe4350fe9c6627f799ad
https://github.com/llvm/llvm-project/commit/21f5ee014db5df4fcf3dfe4350fe9c6627f799ad
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/misc/HeaderIncludeCycleCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
A clang-tools-extra/test/clang-tidy/checkers/misc/header-include-cycle.self.cpp
Log Message:
-----------
[clang-tidy]fix crashing when self include cycles for misc-header-include-cycle (#94636)
Fixes: #94634
Commit: 86070a84c454614275d0904f285f4bd20b6b7849
https://github.com/llvm/llvm-project/commit/86070a84c454614275d0904f285f4bd20b6b7849
Author: Konstantin Varlamov <varconsteq at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M libcxx/docs/Hardening.rst
M libcxx/docs/ReleaseNotes/18.rst
M libcxx/docs/TestingLibcxx.rst
M libcxx/include/__configuration/abi.h
Log Message:
-----------
[libc++][hardening] Finish documenting hardening. (#92021)
Commit: aae025a01b423ce43e554bc93da15016fa647beb
https://github.com/llvm/llvm-project/commit/aae025a01b423ce43e554bc93da15016fa647beb
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M lld/test/ELF/relocatable-comdat.s
Log Message:
-----------
[ELF] Improve -r section group tests
Commit: 5e0fc93d01c216544c12b60c30fe8ac6c9931eb9
https://github.com/llvm/llvm-project/commit/5e0fc93d01c216544c12b60c30fe8ac6c9931eb9
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/lib/Format/ContinuationIndenter.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Fix a bug in `AlignAfterOpenBracket: DontAlign` (#94561)
Fixes #94555.
Commit: 79cd6c3d01c6c69ca870418a3c602dbd1bef29e4
https://github.com/llvm/llvm-project/commit/79cd6c3d01c6c69ca870418a3c602dbd1bef29e4
Author: Thurston Dang <thurston at google.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
A compiler-rt/test/dfsan/sscanf.c
Log Message:
-----------
[dfsan] Add test case for sscanf (#94700)
This test case shows a limitation of DFSan's sscanf implementation
(introduced in https://reviews.llvm.org/D153775): it simply ignores
ordinary characters in the format string, instead of actually comparing
them against the input. This may change the semantics of instrumented
programs.
Importantly, this also means that DFSan's release_shadow_space.c test,
which relies on sscanf to scrape the RSS from /proc/maps output, will
incorrectly match lines that don't contain RSS information. As a result,
it adding together numbers from irrelevant output (e.g., base
addresses), resulting in test flakiness
(https://github.com/llvm/llvm-project/issues/91287).
Commit: a1fa43d030168d1ecd04031b4790b101e651770a
https://github.com/llvm/llvm-project/commit/a1fa43d030168d1ecd04031b4790b101e651770a
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M lld/ELF/Writer.cpp
Log Message:
-----------
[ELF] Simplify code. NFC
Make it easier to add CREL support.
Commit: f42025c2178b30894df657af6aa92e45c7cc0dbc
https://github.com/llvm/llvm-project/commit/f42025c2178b30894df657af6aa92e45c7cc0dbc
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVMergeRegionExitTargets.cpp
Log Message:
-----------
[SPIRV] Fix -Wunused-but-set-variable. NFC
Commit: 59003d714a9447bf03e0ce25ad4492290e80b110
https://github.com/llvm/llvm-project/commit/59003d714a9447bf03e0ce25ad4492290e80b110
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/select.ll
Log Message:
-----------
[InstCombine] Add tests for expanding `foldSelectValueEquivalence`; NFC
Commit: 7e7c29ba087e38056b91f1d783db0883dcc33ef7
https://github.com/llvm/llvm-project/commit/7e7c29ba087e38056b91f1d783db0883dcc33ef7
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/test/Transforms/InstCombine/abs-1.ll
M llvm/test/Transforms/InstCombine/select.ll
Log Message:
-----------
[InstCombine] Improve coverage of `foldSelectValueEquivalence` for constants
We don't need the `noundef` check if the new simplification is a
constant.
This cleans up regressions from folding multiuse:
`(icmp eq/ne (sub/xor x, y), 0)` -> `(icmp eq/ne x, y)`.
Closes #88298
Commit: 2d65097b4ff18f99e4baf18e2e0b155ecf478b0a
https://github.com/llvm/llvm-project/commit/2d65097b4ff18f99e4baf18e2e0b155ecf478b0a
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Arch/RISCV.cpp
Log Message:
-----------
[RISCV] Unify all the code that adds unaligned-scalar/vector-mem to Features vector. (#94660)
Instead of having multiple places insert into the Features vector
independently, check all the conditions in one place.
This avoids a subtle ordering requirement that -mstrict-align processing
had to be done after the others.
Commit: c967c7e0223845b54a5220e2d4211fee50c5fb30
https://github.com/llvm/llvm-project/commit/c967c7e0223845b54a5220e2d4211fee50c5fb30
Author: Nour <nourr313 at proton.me>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/tools/clang-format/ClangFormat.cpp
Log Message:
-----------
[clang-format][NFC] Remove an else after a return statement (#94548)
Commit: a10135f4922624f92c3a108d23ab64adc09dd285
https://github.com/llvm/llvm-project/commit/a10135f4922624f92c3a108d23ab64adc09dd285
Author: Gedare Bloom <gedare at rtems.org>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format]: Annotate colons found in inline assembly (#92617)
Short-circuit the parsing of tok::colon to label colons found within
lines starting with asm as InlineASMColon.
Fixes #92616.
---------
Co-authored-by: Owen Pan <owenpiano at gmail.com>
Commit: f2441b0297501610b59527f93e3174c814d63941
https://github.com/llvm/llvm-project/commit/f2441b0297501610b59527f93e3174c814d63941
Author: Weining Lu <luweining at loongson.cn>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
R clang/test/Driver/loongarch-default-features.c
A clang/test/Driver/loongarch-features.c
Log Message:
-----------
[Driver][test] Rename loongarch-{default-,}features.c
Commit: 5c104879c1a98eeb845c03e7c45206bd48e88f0c
https://github.com/llvm/llvm-project/commit/5c104879c1a98eeb845c03e7c45206bd48e88f0c
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/include/clang/AST/ASTUnresolvedSet.h
M clang/include/clang/AST/DeclAccessPair.h
M clang/include/clang/AST/DeclBase.h
M clang/include/clang/AST/DeclID.h
M clang/include/clang/AST/UnresolvedSet.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ModuleFile.h
M clang/include/clang/Serialization/ModuleManager.h
M clang/lib/AST/DeclBase.cpp
M clang/lib/AST/DeclCXX.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/ModuleFile.cpp
A clang/test/Modules/no-transitive-decls-change.cppm
Log Message:
-----------
[serialization] no transitive decl change (#92083)
Following of https://github.com/llvm/llvm-project/pull/86912
The motivation of the patch series is that, for a module interface unit
`X`, when the dependent modules of `X` changes, if the changes is not
relevant with `X`, we hope the BMI of `X` won't change. For the specific
patch, we hope if the changes was about irrelevant declaration changes,
we hope the BMI of `X` won't change. **However**, I found the patch
itself is not very useful in practice, since the adding or removing
declarations, will change the state of identifiers and types in most
cases.
That said, for the most simple example,
```
// partA.cppm
export module m:partA;
// partA.v1.cppm
export module m:partA;
export void a() {}
// partB.cppm
export module m:partB;
export void b() {}
// m.cppm
export module m;
export import :partA;
export import :partB;
// onlyUseB;
export module onlyUseB;
import m;
export inline void onluUseB() {
b();
}
```
the BMI of `onlyUseB` will change after we change the implementation of
`partA.cppm` to `partA.v1.cppm`. Since `partA.v1.cppm` introduces new
identifiers and types (the function prototype).
So in this patch, we have to write the tests as:
```
// partA.cppm
export module m:partA;
export int getA() { ... }
export int getA2(int) { ... }
// partA.v1.cppm
export module m:partA;
export int getA() { ... }
export int getA(int) { ... }
export int getA2(int) { ... }
// partB.cppm
export module m:partB;
export void b() {}
// m.cppm
export module m;
export import :partA;
export import :partB;
// onlyUseB;
export module onlyUseB;
import m;
export inline void onluUseB() {
b();
}
```
so that the new introduced declaration `int getA(int)` doesn't introduce
new identifiers and types, then the BMI of `onlyUseB` can keep
unchanged.
While it looks not so great, the patch should be the base of the patch
to erase the transitive change for identifiers and types since I don't
know how can we introduce new types and identifiers without introducing
new declarations. Given how tightly the relationship between
declarations, types and identifiers, I think we can only reach the ideal
state after we made the series for all of the three entties.
The design of the patch is similar to
https://github.com/llvm/llvm-project/pull/86912, which extends the
32-bit DeclID to 64-bit and use the higher bits to store the module file
index and the lower bits to store the Local Decl ID.
A slight difference is that we only use 48 bits to store the new DeclID
since we try to use the higher 16 bits to store the module ID in the
prefix of Decl class. Previously, we use 32 bits to store the module ID
and 32 bits to store the DeclID. I don't want to allocate additional
space so I tried to make the additional space the same as 64 bits. An
potential interesting thing here is about the relationship between the
module ID and the module file index. I feel we can get the module file
index by the module ID. But I didn't prove it or implement it. Since I
want to make the patch itself as small as possible. We can make it in
the future if we want.
Another change in the patch is the new concept Decl Index, which means
the index of the very big array `DeclsLoaded` in ASTReader. Previously,
the index of a loaded declaration is simply the Decl ID minus
PREDEFINED_DECL_NUMs. So there are some places they got used
ambiguously. But this patch tried to split these two concepts.
As https://github.com/llvm/llvm-project/pull/86912 did, the change will
increase the on-disk PCM file sizes. As the declaration ID may be the
most IDs in the PCM file, this can have the biggest impact on the size.
In my experiments, this change will bring 6.6% increase of the on-disk
PCM size. No compile-time performance regression observed. Given the
benefits in the motivation example, I think the cost is worthwhile.
Commit: 222e0a042c1c7c3b1aec7557bcb60d1543c1737a
https://github.com/llvm/llvm-project/commit/222e0a042c1c7c3b1aec7557bcb60d1543c1737a
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/ScheduleDAG.h
M llvm/include/llvm/CodeGen/TargetLowering.h
Log Message:
-----------
[llvm][ScheduleDAG] Re-arrange SUnit's members to make it smaller (#94547)
before:
```
*** Dumping AST Record Layout
0 | class llvm::SUnit
0 | SDNode * Node
8 | MachineInstr * Instr
16 | SUnit * OrigNode
24 | const MCSchedClassDesc * SchedClass
32 | class llvm::SmallVector<class llvm::SDep, 4> Preds
32 | class llvm::SmallVectorImpl<class llvm::SDep> (base)
32 | class llvm::SmallVectorTemplateBase<class llvm::SDep> (base)
32 | class llvm::SmallVectorTemplateCommon<class llvm::SDep> (base)
32 | class llvm::SmallVectorBase<uint32_t> (base)
32 | void * BeginX
40 | unsigned int Size
44 | unsigned int Capacity
48 | struct llvm::SmallVectorStorage<class llvm::SDep, 4> (base)
48 | char[64] InlineElts
112 | class llvm::SmallVector<class llvm::SDep, 4> Succs
112 | class llvm::SmallVectorImpl<class llvm::SDep> (base)
112 | class llvm::SmallVectorTemplateBase<class llvm::SDep> (base)
112 | class llvm::SmallVectorTemplateCommon<class llvm::SDep> (base)
112 | class llvm::SmallVectorBase<uint32_t> (base)
112 | void * BeginX
120 | unsigned int Size
124 | unsigned int Capacity
128 | struct llvm::SmallVectorStorage<class llvm::SDep, 4> (base)
128 | char[64] InlineElts
192 | unsigned int NodeNum
196 | unsigned int NodeQueueId
200 | unsigned int NumPreds
204 | unsigned int NumSuccs
208 | unsigned int NumPredsLeft
212 | unsigned int NumSuccsLeft
216 | unsigned int WeakPredsLeft
220 | unsigned int WeakSuccsLeft
224 | unsigned short NumRegDefsLeft
226 | unsigned short Latency
228:0-0 | _Bool isVRegCycle
228:1-1 | _Bool isCall
228:2-2 | _Bool isCallOp
228:3-3 | _Bool isTwoAddress
228:4-4 | _Bool isCommutable
228:5-5 | _Bool hasPhysRegUses
228:6-6 | _Bool hasPhysRegDefs
228:7-7 | _Bool hasPhysRegClobbers
229:0-0 | _Bool isPending
229:1-1 | _Bool isAvailable
229:2-2 | _Bool isScheduled
229:3-3 | _Bool isScheduleHigh
229:4-4 | _Bool isScheduleLow
229:5-5 | _Bool isCloned
229:6-6 | _Bool isUnbuffered
229:7-7 | _Bool hasReservedResource
232 | Sched::Preference SchedulingPref
236:0-0 | _Bool isDepthCurrent
236:1-1 | _Bool isHeightCurrent
240 | unsigned int Depth
244 | unsigned int Height
248 | unsigned int TopReadyCycle
252 | unsigned int BotReadyCycle
256 | const TargetRegisterClass * CopyDstRC
264 | const TargetRegisterClass * CopySrcRC
| [sizeof=272, dsize=272, align=8,
| nvsize=272, nvalign=8]
```
after:
```
*** Dumping AST Record Layout
0 | class llvm::SUnit
0 | union llvm::SUnit::(anonymous at /Users/jonathan_roelofs/llvm-upstream/llvm/include/llvm/CodeGen/ScheduleDAG.h:246:5)
0 | SDNode * Node
0 | MachineInstr * Instr
8 | SUnit * OrigNode
16 | const MCSchedClassDesc * SchedClass
24 | const TargetRegisterClass * CopyDstRC
32 | const TargetRegisterClass * CopySrcRC
40 | class llvm::SmallVector<class llvm::SDep, 4> Preds
40 | class llvm::SmallVectorImpl<class llvm::SDep> (base)
40 | class llvm::SmallVectorTemplateBase<class llvm::SDep> (base)
40 | class llvm::SmallVectorTemplateCommon<class llvm::SDep> (base)
40 | class llvm::SmallVectorBase<uint32_t> (base)
40 | void * BeginX
48 | unsigned int Size
52 | unsigned int Capacity
56 | struct llvm::SmallVectorStorage<class llvm::SDep, 4> (base)
56 | char[64] InlineElts
120 | class llvm::SmallVector<class llvm::SDep, 4> Succs
120 | class llvm::SmallVectorImpl<class llvm::SDep> (base)
120 | class llvm::SmallVectorTemplateBase<class llvm::SDep> (base)
120 | class llvm::SmallVectorTemplateCommon<class llvm::SDep> (base)
120 | class llvm::SmallVectorBase<uint32_t> (base)
120 | void * BeginX
128 | unsigned int Size
132 | unsigned int Capacity
136 | struct llvm::SmallVectorStorage<class llvm::SDep, 4> (base)
136 | char[64] InlineElts
200 | unsigned int NodeNum
204 | unsigned int NodeQueueId
208 | unsigned int NumPreds
212 | unsigned int NumSuccs
216 | unsigned int NumPredsLeft
220 | unsigned int NumSuccsLeft
224 | unsigned int WeakPredsLeft
228 | unsigned int WeakSuccsLeft
232 | unsigned int TopReadyCycle
236 | unsigned int BotReadyCycle
240 | unsigned int Depth
244 | unsigned int Height
248:0-0 | _Bool isVRegCycle
248:1-1 | _Bool isCall
248:2-2 | _Bool isCallOp
248:3-3 | _Bool isTwoAddress
248:4-4 | _Bool isCommutable
248:5-5 | _Bool hasPhysRegUses
248:6-6 | _Bool hasPhysRegDefs
248:7-7 | _Bool hasPhysRegClobbers
249:0-0 | _Bool isPending
249:1-1 | _Bool isAvailable
249:2-2 | _Bool isScheduled
249:3-3 | _Bool isScheduleHigh
249:4-4 | _Bool isScheduleLow
249:5-5 | _Bool isCloned
249:6-6 | _Bool isUnbuffered
249:7-7 | _Bool hasReservedResource
250 | unsigned short NumRegDefsLeft
252 | unsigned short Latency
254:0-0 | _Bool isDepthCurrent
254:1-1 | _Bool isHeightCurrent
254:2-2 | _Bool isNode
254:3-3 | _Bool isInst
254:4-7 | Sched::Preference SchedulingPref
| [sizeof=256, dsize=255, align=8,
| nvsize=255, nvalign=8]
```
Commit: 4f70c5ec4a57e84642fa0772536f120cd9c75edb
https://github.com/llvm/llvm-project/commit/4f70c5ec4a57e84642fa0772536f120cd9c75edb
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/include/clang/AST/ASTUnresolvedSet.h
M clang/include/clang/AST/DeclAccessPair.h
M clang/include/clang/AST/DeclBase.h
M clang/include/clang/AST/DeclID.h
M clang/include/clang/AST/UnresolvedSet.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ModuleFile.h
M clang/include/clang/Serialization/ModuleManager.h
M clang/lib/AST/DeclBase.cpp
M clang/lib/AST/DeclCXX.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/ModuleFile.cpp
R clang/test/Modules/no-transitive-decls-change.cppm
Log Message:
-----------
Revert "[serialization] no transitive decl change (#92083)"
This reverts commit 5c104879c1a98eeb845c03e7c45206bd48e88f0c.
The ArmV7 bot is complaining the change breaks the alignment.
Commit: 0e1d6e2fc48accbfdbb349dc460a4e91edf1d884
https://github.com/llvm/llvm-project/commit/0e1d6e2fc48accbfdbb349dc460a4e91edf1d884
Author: Christudasan Devadasan <christudasan.devadasan at amd.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
A llvm/test/CodeGen/AMDGPU/build_vector-r600.ll
M llvm/test/CodeGen/AMDGPU/build_vector.ll
Log Message:
-----------
[AMDGPU] Auto-generating lit test patterns (NFC) (#93837)
Test CodeGen/AMDGPU/build_vector.ll has the lit patterns partially
hand-written and the rest auto-generated. It doesn't look good when
changes are required with future patches. Auto-generating the entire
pattern. Moved out the R600 test into build_vector-r600.ll.
Commit: e96e7f1f33637ba5080c82e874622948c0a0c25b
https://github.com/llvm/llvm-project/commit/e96e7f1f33637ba5080c82e874622948c0a0c25b
Author: Christudasan Devadasan <christudasan.devadasan at amd.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
A llvm/test/CodeGen/AMDGPU/fabs-r600.ll
M llvm/test/CodeGen/AMDGPU/fabs.ll
A llvm/test/CodeGen/AMDGPU/fneg-fabs-r600.ll
M llvm/test/CodeGen/AMDGPU/fneg-fabs.f64.ll
M llvm/test/CodeGen/AMDGPU/fneg-fabs.ll
M llvm/test/CodeGen/AMDGPU/fneg.ll
M llvm/test/CodeGen/AMDGPU/llvm.r600.read.local.size.ll
M llvm/test/CodeGen/AMDGPU/packed-op-sel.ll
A llvm/test/CodeGen/AMDGPU/xor-r600.ll
M llvm/test/CodeGen/AMDGPU/xor.ll
Log Message:
-----------
[AMDGPU] Auto-generated some lit test patterns (NFC). (#94310)
Also, converted the R600 RUN lines from some tests into standalone tests.
Commit: 1bc8b3258e6d42f702fb11eb60d84d0e23935e3e
https://github.com/llvm/llvm-project/commit/1bc8b3258e6d42f702fb11eb60d84d0e23935e3e
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachinePassManager.h
A llvm/include/llvm/CodeGen/RegAllocFast.h
M llvm/include/llvm/Passes/CodeGenPassBuilder.h
M llvm/include/llvm/Passes/MachinePassRegistry.def
M llvm/include/llvm/Passes/PassBuilder.h
M llvm/lib/CodeGen/RegAllocFast.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/test/CodeGen/AArch64/fast-regalloc-empty-bb-with-liveins.mir
M llvm/test/CodeGen/AMDGPU/fast-ra-kills-vcc.mir
M llvm/test/CodeGen/AMDGPU/fast-regalloc-bundles.mir
M llvm/test/CodeGen/AMDGPU/fastregalloc-illegal-subreg-physreg.mir
M llvm/test/CodeGen/AMDGPU/fastregalloc-self-loop-heuristic.mir
M llvm/test/CodeGen/AMDGPU/spill-agpr.mir
M llvm/test/CodeGen/AMDGPU/spill192.mir
M llvm/test/CodeGen/AMDGPU/spill224.mir
M llvm/test/CodeGen/AMDGPU/spill288.mir
M llvm/test/CodeGen/AMDGPU/spill320.mir
M llvm/test/CodeGen/AMDGPU/spill352.mir
M llvm/test/CodeGen/AMDGPU/spill384.mir
M llvm/test/CodeGen/AMDGPU/unexpected-reg-unit-state.mir
M llvm/test/CodeGen/ARM/regalloc-fast-rewrite-implicits.mir
M llvm/test/CodeGen/MIR/Generic/runPass.mir
M llvm/test/CodeGen/PowerPC/spill-nor0.mir
M llvm/test/CodeGen/SystemZ/regalloc-fast-invalid-kill-flag.mir
M llvm/test/CodeGen/Thumb/high-reg-clobber.mir
M llvm/test/CodeGen/Thumb2/high-reg-spill.mir
M llvm/test/CodeGen/X86/bug47278-eflags-error.mir
M llvm/test/CodeGen/X86/bug47278.mir
M llvm/test/CodeGen/X86/callbr-asm-outputs-regallocfast.mir
M llvm/test/CodeGen/X86/fastregalloc-selfloop.mir
M llvm/test/CodeGen/X86/fastregalloc-tied-undef.mir
M llvm/test/CodeGen/X86/regalloc-fast-missing-live-out-spill.mir
M llvm/test/CodeGen/X86/statepoint-fastregalloc.mir
M llvm/test/CodeGen/X86/virtreg-physreg-def-regallocfast.mir
A llvm/test/tools/llc/new-pm/regalloc-amdgpu.mir
Log Message:
-----------
[NewPM][CodeGen] Port `regallocfast` to new pass manager (#94426)
This pull request port `regallocfast` to new pass manager. It exposes
the parameter `filter` to handle different register classes for AMDGPU.
IIUC AMDGPU need to allocate different register classes separately so it
need implement its own `--<reg-class>-regalloc`. Now users can use e.g.
`-passe=regallocfast<filter=sgpr>` to allocate specific register class.
The command line option `--regalloc-npm` is still in work progress, plan
to reuse the syntax of passes, e.g. use
`--regalloc-npm=regallocfast<filter=sgpr>,greedy<filter=vgpr>` to
replace `--sgpr-regalloc` and `--vgpr-regalloc`.
Commit: 566befca28f5df9490ad4fcce31042d92526ba1e
https://github.com/llvm/llvm-project/commit/566befca28f5df9490ad4fcce31042d92526ba1e
Author: WANG Rui <wangrui at loongson.cn>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
A llvm/test/CodeGen/LoongArch/machinelicm-address-pseudos.ll
Log Message:
-----------
[NFC][LoongArch] Pre-commit tests for hoisting of PseudoLA*
Commit: a6350d63af63fb11d87d508965559bbb2833927d
https://github.com/llvm/llvm-project/commit/a6350d63af63fb11d87d508965559bbb2833927d
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/test/tools/llc/new-pm/regalloc-amdgpu.mir
Log Message:
-----------
[test] Don't generate `regalloc-amdgpu.s` in #94426 (#94722)
The test will generate an empty `regalloc-amdgpu.s` file in test, which
causes an unresolved test.
Commit: c5ff983fe4a3180e13c7244a6ce9f5994b4379b4
https://github.com/llvm/llvm-project/commit/c5ff983fe4a3180e13c7244a6ce9f5994b4379b4
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/misc/HeaderIncludeCycleCheck.cpp
Log Message:
-----------
[clang-tidy] refactor misc-header-include-cycle (#94697)
1. merge valid check
2. use range base loop
Commit: d231b50dba6cf1b3ab095d381ae622e9498bbb3c
https://github.com/llvm/llvm-project/commit/d231b50dba6cf1b3ab095d381ae622e9498bbb3c
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M libcxx/.clang-tidy
M libcxx/include/__functional/bind.h
M libcxx/include/__mdspan/extents.h
Log Message:
-----------
[libc++] Fix naming of value template parameters (#76888)
Commit: 670fa2bd7a4d50c33bc24d4e3e1fa4079592b730
https://github.com/llvm/llvm-project/commit/670fa2bd7a4d50c33bc24d4e3e1fa4079592b730
Author: Gábor Horváth <xazax.hun at gmail.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/include/clang/Sema/Initialization.h
M clang/lib/Sema/SemaAvailability.cpp
A clang/test/Sema/attr-availability-macosx.cpp
Log Message:
-----------
Fix spurious non-strict availability warning (#94377)
The availability attributes are stored on the function declarations. The
code was looking for them in the function template declarations. This
resulted in spuriously diagnosing (non-strict) availablity issues in
contexts that are not available.
Co-authored-by: Gabor Horvath <gaborh at apple.com>
Commit: 1752740f4b4b752bbe2987a0de398c6f671ceb71
https://github.com/llvm/llvm-project/commit/1752740f4b4b752bbe2987a0de398c6f671ceb71
Author: Prashant Kumar <pk5561 at gmail.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
M mlir/test/Dialect/Tensor/canonicalize.mlir
Log Message:
-----------
[mlir][tensor] Fix FoldTensorCastProducerOp for multiple result operations (#93374)
For patterns where there are multiple results apart from dpsInits, this
fails.
E.g.:
```
%13:2 = iree_codegen.ukernel.generic "iree_uk_unpack"
ins(%extracted_slice : tensor<?x1x16x16xf32>) outs(%11 :
tensor<?x?xf32>) ... -> tensor<?x?xf32>, i32
```
The above op has results apart from dpsInit and hence fails. The PR
assumes that the result has dpsInits followed by nonDpsInits.
Commit: ec94e7a93031549b1f4e21e560ff4d3db265973a
https://github.com/llvm/llvm-project/commit/ec94e7a93031549b1f4e21e560ff4d3db265973a
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/MC/MCSection.cpp
Log Message:
-----------
[MC] MCSection::dump: print section name
Commit: 0b8acc06c42df9d444f669fff312fffffcacdfb9
https://github.com/llvm/llvm-project/commit/0b8acc06c42df9d444f669fff312fffffcacdfb9
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/test/AST/Interp/cxx20.cpp
Log Message:
-----------
[clang][Interp] Improve APValue machinery
Handle lvalues pointing to declarations, unions and member pointers.
Commit: d843c02aba5d253891ea0e599c4b6e25247c1af7
https://github.com/llvm/llvm-project/commit/d843c02aba5d253891ea0e599c4b6e25247c1af7
Author: Freddy Ye <freddy.ye at intel.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/include/llvm/TargetParser/X86TargetParser.def
Log Message:
-----------
[X86] Assign AVX10_1 feature priority to align with gcc. (#94557)
gcc patch:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=1f2ca510065a2033bac408eb5a960ef0126f25cc
Commit: 90b9922df2d8fb65a33eb9abd002fa9262863b5b
https://github.com/llvm/llvm-project/commit/90b9922df2d8fb65a33eb9abd002fa9262863b5b
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M lldb/include/lldb/Core/ValueObject.h
M lldb/include/lldb/Core/ValueObjectConstResult.h
M lldb/include/lldb/Core/ValueObjectConstResultCast.h
M lldb/include/lldb/Core/ValueObjectConstResultChild.h
M lldb/include/lldb/Core/ValueObjectConstResultImpl.h
M lldb/include/lldb/Core/ValueObjectRegister.h
M lldb/include/lldb/Core/ValueObjectVTable.h
M lldb/source/Core/ValueObject.cpp
M lldb/source/Core/ValueObjectConstResult.cpp
M lldb/source/Core/ValueObjectConstResultCast.cpp
M lldb/source/Core/ValueObjectConstResultChild.cpp
M lldb/source/Core/ValueObjectConstResultImpl.cpp
M lldb/source/Core/ValueObjectRegister.cpp
M lldb/source/Core/ValueObjectVTable.cpp
Log Message:
-----------
[lldb] Split ValueObject::CreateChildAtIndex into two functions (#94455)
The the function is doing two fairly different things, depending on how
it is called. While this allows for some code reuse, it also makes it
hard to override it correctly. Possibly for this reason
ValueObjectSynthetic overerides GetChildAtIndex instead, which forces it
to reimplement some of its functionality, most notably caching of
generated children.
Splitting this up makes it easier to move the caching to a common place
(and hopefully makes the code easier to follow in general).
Commit: c007883f0286a314eb69976ad14da2bce988fb55
https://github.com/llvm/llvm-project/commit/c007883f0286a314eb69976ad14da2bce988fb55
Author: Freddy Ye <freddy.ye at intel.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/include/llvm/TargetParser/X86TargetParser.def
Log Message:
-----------
Revert "[X86] Assign AVX10_1 feature priority to align with gcc. (#94557)" (#94730)
This reverts commit d843c02aba5d253891ea0e599c4b6e25247c1af7.
Commit: b7d976d4e520a7acba71e006e1518d147a862138
https://github.com/llvm/llvm-project/commit/b7d976d4e520a7acba71e006e1518d147a862138
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
Log Message:
-----------
[memprof] Use std::move in ContextEdge::ContextEdge (NFC) (#94687)
Since the constructor of ContextEdge takes ContextIds by value, we
should move it to the corresponding member variable as suggested by
clang-tidy's performance-unnecessary-value-param.
While we are at it, this patch updates a couple of callers. To avoid
the ambiguity in the evaluation order among the constructor arguments,
I'm calling computeAllocType before calling the constructor.
Commit: 4a7b8003012985028bdf637be0a9c7a71dff65d9
https://github.com/llvm/llvm-project/commit/4a7b8003012985028bdf637be0a9c7a71dff65d9
Author: Lang Hames <lhames at gmail.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/Core.h
M llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
Log Message:
-----------
[ORC] Switch ExecutionSession::ErrorReporter to use unique_function.
This allows the ReportError functor to hold move-only types.
Commit: f21c2fae95f76300c4230f75b6e97445932f6bc6
https://github.com/llvm/llvm-project/commit/f21c2fae95f76300c4230f75b6e97445932f6bc6
Author: hev <wangrui at loongson.cn>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
M llvm/test/CodeGen/LoongArch/vector-fp-imm.ll
Log Message:
-----------
[LoongArch] Set isReMaterializable on LU{12,32,52}I.D/ADDI.D and {X}ORI instructions (#94552)
Commit: d224a034a20016272a3257f7081d02f90eb9cc78
https://github.com/llvm/llvm-project/commit/d224a034a20016272a3257f7081d02f90eb9cc78
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/ScalarEvolution.h
Log Message:
-----------
[SCEV] Use insert_or_assign() (NFC)
Commit: 240512c43234f58b3924cd90fe0781445d97e98d
https://github.com/llvm/llvm-project/commit/240512c43234f58b3924cd90fe0781445d97e98d
Author: hev <wangrui at loongson.cn>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/LoongArch/CMakeLists.txt
M llvm/lib/Target/LoongArch/LoongArch.h
A llvm/lib/Target/LoongArch/LoongArchDeadRegisterDefinitions.cpp
M llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
M llvm/test/CodeGen/LoongArch/global-address.ll
M llvm/test/CodeGen/LoongArch/intrinsic-la64.ll
M llvm/test/CodeGen/LoongArch/intrinsic.ll
M llvm/test/CodeGen/LoongArch/ir-instruction/br.ll
M llvm/test/CodeGen/LoongArch/ir-instruction/load-store.ll
M llvm/test/CodeGen/LoongArch/psabi-restricted-scheduling.ll
M llvm/utils/gn/secondary/llvm/lib/Target/LoongArch/BUILD.gn
Log Message:
-----------
[LoongArch] Add a pass to rewrite rd to r0 for non-computational instrs whose return values are unused (#94590)
This patch adds a peephole pass `LoongArchDeadRegisterDefinitions`. It
rewrites `rd` to `r0` when `rd` is marked as dead. It may improve the
register allocation and reduce pipeline hazards on CPUs without register
renaming and OOO.
Commit: c15b86731b78de88fadbc16ea1c2df2f60c991e9
https://github.com/llvm/llvm-project/commit/c15b86731b78de88fadbc16ea1c2df2f60c991e9
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/Opcodes.td
Log Message:
-----------
[clang][Interp][NFC] Add GetPtrFieldPop opcode
And change the previous GetPtrField to only peek() the base pointer.
We can get rid of a whole bunch of DupPtr ops this way.
Commit: e622996eddfb2826d258b3a3760eed195f97aabe
https://github.com/llvm/llvm-project/commit/e622996eddfb2826d258b3a3760eed195f97aabe
Author: Kristóf Umann <dkszelethus at gmail.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
M clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
A clang/lib/StaticAnalyzer/Checkers/NoOwnershipChangeVisitor.cpp
A clang/lib/StaticAnalyzer/Checkers/NoOwnershipChangeVisitor.h
Log Message:
-----------
[analyzer][NFC] Factor out NoOwnershipChangeVisitor (#94357)
In preparation for adding essentially the same visitor to StreamChecker,
this patch factors this visitor out to a common header.
I'll be the first to admit that the interface of these classes are not
terrific, but it rather tightly held back by its main technical debt,
which is NoStoreFuncVisitor, the main descendant of
NoStateChangeVisitor.
Change-Id: I99d73ccd93a18dd145bbbc83afadbb432dd42b90
Commit: be18daad06a9b431d0b4b787bba81de579e0a583
https://github.com/llvm/llvm-project/commit/be18daad06a9b431d0b4b787bba81de579e0a583
Author: Jianjian GUAN <jacquesguan at me.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-select-fp.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.ll
M llvm/test/CodeGen/RISCV/rvv/vselect-fp.ll
M llvm/test/CodeGen/RISCV/rvv/vselect-vp.ll
Log Message:
-----------
Reland "[RISCV] Support select/merge like ops for bf16 vectors when have Zvfbfmin" (#94565)"
Commit: 8ef5c98e9f9276f09c590e22ab88a20ae86f3859
https://github.com/llvm/llvm-project/commit/8ef5c98e9f9276f09c590e22ab88a20ae86f3859
Author: uint256_t <maekawatoshiki1017 at gmail.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/docs/Benchmarking.rst
Log Message:
-----------
[docs] Fix benchmarking tips (#94724)
This PR fixes an incorrect line for setting scaling_governer in
benchmarking tips.
Commit: 36bc7410cb68e32d4416b951a118d5a799d3a226
https://github.com/llvm/llvm-project/commit/36bc7410cb68e32d4416b951a118d5a799d3a226
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/test/tools/llc/new-pm/regalloc-amdgpu.mir
Log Message:
-----------
[test] Don't generate extra file for regalloc-amdgpu.mir test.
Commit: 1c0063b58a4fc23c94c7f5bf5a937bbdf9703cc0
https://github.com/llvm/llvm-project/commit/1c0063b58a4fc23c94c7f5bf5a937bbdf9703cc0
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Pointer.cpp
M clang/test/AST/Interp/cxx20.cpp
Log Message:
-----------
[clang][Interp] Remove StoragKind limitation in Pointer assign operators
It's not strictly needed and did cause some test failures.
Commit: ac404632f991fc6e7dc75ef553a99676ba8002ce
https://github.com/llvm/llvm-project/commit/ac404632f991fc6e7dc75ef553a99676ba8002ce
Author: WANG Rui <wangrui at loongson.cn>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/test/CodeGen/LoongArch/machinelicm-address-pseudos.ll
Log Message:
-----------
[NFC][LoongArch] Update test for #94590
Commit: 4f320e6aa2d4fdcb3d749977c840cdf1783173f3
https://github.com/llvm/llvm-project/commit/4f320e6aa2d4fdcb3d749977c840cdf1783173f3
Author: Abid Qadeer <haqadeer at amd.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M mlir/include/mlir-c/Dialect/LLVM.h
M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrs.h
M mlir/lib/CAPI/Dialect/LLVM.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMAttrs.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
M mlir/lib/Target/LLVMIR/DebugImporter.cpp
M mlir/lib/Target/LLVMIR/DebugImporter.h
M mlir/lib/Target/LLVMIR/DebugTranslation.cpp
M mlir/lib/Target/LLVMIR/DebugTranslation.h
M mlir/test/CAPI/llvm.c
M mlir/test/Target/LLVMIR/Import/debug-info.ll
M mlir/test/Target/LLVMIR/llvmir-debug.mlir
Log Message:
-----------
[MLIR] Translate DIStringType. (#94480)
This PR handle translation of DIStringType. Mostly mechanical changes to
translate DIStringType to/from DIStringTypeAttr. The 'stringLength'
field is 'DIVariable' in DIStringType. As there was no `DIVariableAttr`
previously, it has been added to ease the translation.
---------
Co-authored-by: Tobias Gysi <tobias.gysi at nextsilicon.com>
Commit: 5f1adf0433c6007f8be885b832c852da67e8524c
https://github.com/llvm/llvm-project/commit/5f1adf0433c6007f8be885b832c852da67e8524c
Author: Utkarsh Saxena <usx at google.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang-tools-extra/clangd/FindSymbols.cpp
M clang-tools-extra/clangd/IncludeCleaner.cpp
M clang-tools-extra/clangd/SemanticHighlighting.cpp
M clang-tools-extra/clangd/XRefs.cpp
M clang-tools-extra/clangd/refactor/Rename.cpp
M clang-tools-extra/clangd/unittests/PreambleTests.cpp
M clang-tools-extra/clangd/unittests/XRefsTests.cpp
M clang/include/clang/Tooling/Syntax/Tokens.h
M clang/lib/Tooling/Syntax/Tokens.cpp
M clang/unittests/Tooling/Syntax/TokensTest.cpp
Log Message:
-----------
[clangd] Fix crash with null check for Token at Loc (#94528)
Fixes https://github.com/llvm/llvm-project/issues/94599
Commit: 8f1164948d6b8f3d3ea11d0ee0629af82fe8cb74
https://github.com/llvm/llvm-project/commit/8f1164948d6b8f3d3ea11d0ee0629af82fe8cb74
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Transforms/Passes.h
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/include/flang/Tools/CLOptions.inc
M flang/lib/Optimizer/Transforms/VScaleAttr.cpp
Log Message:
-----------
[flang][Transforms][NFC] Remove boilerplate from vscale range pass (#94598)
Use tablegen to generate the pass constructor.
This pass is supposed to add function attributes so it does not need to
operate on other top level operations.
Commit: 0749b01c81b7397f674cfe3726e13aa9dfb702ea
https://github.com/llvm/llvm-project/commit/0749b01c81b7397f674cfe3726e13aa9dfb702ea
Author: Chen Zheng <czhengsz at cn.ibm.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/test/CodeGen/PowerPC/frameaddr.ll
Log Message:
-----------
[PowerPC] modify the frameaddress case, NFC
Commit: 3453dedfaf565429bc06c6d58533926f793ad650
https://github.com/llvm/llvm-project/commit/3453dedfaf565429bc06c6d58533926f793ad650
Author: Chen Zheng <czhengsz at cn.ibm.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
M llvm/test/CodeGen/PowerPC/2010-05-03-retaddr1.ll
M llvm/test/CodeGen/PowerPC/frameaddr.ll
Log Message:
-----------
[PowerPC] return correct frame address for frameaddress intrinsic
Commit: c0b468523c9c5517e61a197e7c1fe6cb52f8999c
https://github.com/llvm/llvm-project/commit/c0b468523c9c5517e61a197e7c1fe6cb52f8999c
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/ARM/ARMInstrNEON.td
M llvm/test/CodeGen/ARM/neon_vabd.ll
Log Message:
-----------
[ARM] Add NEON support for ISD::ABDS/ABDU nodes. (#94504)
As noted on #94466, NEON has ABDS/ABDU instructions but only handles them via intrinsics, plus some VABDL custom patterns.
This patch flags basic ABDS/ABDU for neon types as legal and updates all tablegen patterns to use abds/abdu instead.
Fixes #94466
Commit: 0d1b3671a91c3929fc3e3613491ff4b57f1adcc3
https://github.com/llvm/llvm-project/commit/0d1b3671a91c3929fc3e3613491ff4b57f1adcc3
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M .github/workflows/release-binaries.yml
M clang/cmake/caches/Release.cmake
Log Message:
-----------
[CMake][Release] Use the TXZ cpack generator for binaries (#90138)
Commit: 1721c14e8e0d75cc611067b6f4e84028ea7c47d5
https://github.com/llvm/llvm-project/commit/1721c14e8e0d75cc611067b6f4e84028ea7c47d5
Author: John Brawn <john.brawn at arm.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/include/llvm/BinaryFormat/Dwarf.h
M llvm/lib/BinaryFormat/Dwarf.cpp
M llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
M llvm/lib/IR/DebugInfoMetadata.cpp
A llvm/test/DebugInfo/X86/DW_OP_LLVM_extract_bits.ll
Log Message:
-----------
[DebugInfo] Add DW_OP_LLVM_extract_bits (#93990)
This operation extracts a number of bits at a given offset and sign or
zero extends them, which is done by emitting it as a left shift followed
by a right shift.
This is being added for use in clang for C++ structured bindings of
bitfields that have offset or size that aren't a byte multiple. A new
operation is being added, instead of shifts being used directly, as it
makes correctly handling it in optimisations (which will be done in a
later patch) much easier.
Commit: 192cd685129d6f42e8b191e12bddf74ade48c270
https://github.com/llvm/llvm-project/commit/192cd685129d6f42e8b191e12bddf74ade48c270
Author: Fotis Kounelis <fotisss17 at gmail.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp
M mlir/test/Dialect/SCF/transform-ops.mlir
Log Message:
-----------
Add checks before hoisting out in loop pipelining (#90872)
Currently, during a loop pipelining transformation, operations may be
hoisted out without any checks on the loop bounds, which leads to
incorrect transformations and unexpected behaviour. The following [issue
](https://github.com/llvm/llvm-project/issues/90870) describes the
problem more extensively, including an example.
The proposed fix adds some check in the loop bounds before and applies
the maximum hoisting.
Commit: 5d6acf8196a44225991ab2fb6dfc9cc72296b348
https://github.com/llvm/llvm-project/commit/5d6acf8196a44225991ab2fb6dfc9cc72296b348
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Pointer.cpp
Log Message:
-----------
[clang][Interp][NFC] Properly assign block pointer Pointee
Commit: 3a31eaeac8482fa5e242ee00cd4e77b203db539e
https://github.com/llvm/llvm-project/commit/3a31eaeac8482fa5e242ee00cd4e77b203db539e
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/lambda.cpp
Log Message:
-----------
[clang][Interp] Fix refers_to_enclosing_variable_or_capture DREs
They do not count into lambda captures, so visit them lazily.
Commit: 1934c1aa3613fe2ded87ca4cd739694378e92601
https://github.com/llvm/llvm-project/commit/1934c1aa3613fe2ded87ca4cd739694378e92601
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/test/Transforms/SimplifyCFG/ARM/switch-to-lookup-table.ll
Log Message:
-----------
[SimplifyCFG] Remove bogus UTC line from test (NFC)
The check lines in this test were clearly not generated by UTC.
Commit: 8719cb88e3443bf717391b5020beab61238a372c
https://github.com/llvm/llvm-project/commit/8719cb88e3443bf717391b5020beab61238a372c
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/test/Transforms/SimplifyCFG/RISCV/switch_to_lookup_table-rv32.ll
M llvm/test/Transforms/SimplifyCFG/RISCV/switch_to_lookup_table-rv64.ll
M llvm/test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll
Log Message:
-----------
[SimplifyCFG] Regenerate switch to lookup tests (NFC)
Regenerate these with --check-globals. The manual global CHECKS
get dropped during regeneration otherwise.
Annoyingly UTC insists on putting the globals directly before the
first function, so the first comment is a bit out of place now.
Commit: b87a80d4ebca9e1c065f0d2762e500078c4badca
https://github.com/llvm/llvm-project/commit/b87a80d4ebca9e1c065f0d2762e500078c4badca
Author: Mubashar Ahmad <mubashar.ahmad at arm.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/LowerVectorInterleave.cpp
M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
A mlir/test/Dialect/Vector/vector-deinterleave-lowering-transforms.mlir
Log Message:
-----------
[mlir][vector] Add n-d deinterleave lowering (#94237)
This patch implements the lowering for vector
deinterleave for vector of n-dimensions. Process
involves unrolling the n-d vector to a series
of one-dimensional vectors. The deinterleave
operation is then used on these vectors.
From:
```
%0, %1 = vector.deinterleave %a : vector<2x8xi8> -> vector<2x4xi8>
```
To:
```
%cst = arith.constant dense<0> : vector<2x4xi32>
%0 = vector.extract %arg0[0] : vector<8xi32> from vector<2x8xi32>
%res1, %res2 = vector.deinterleave %0 : vector<8xi32> -> vector<4xi32>
%1 = vector.insert %res1, %cst [0] : vector<4xi32> into vector<2x4xi32>
%2 = vector.insert %res2, %cst [0] : vector<4xi32> into vector<2x4xi32>
%3 = vector.extract %arg0[1] : vector<8xi32> from vector<2x8xi32>
%res1_0, %res2_1 = vector.deinterleave %3 : vector<8xi32> -> vector<4xi32>
%4 = vector.insert %res1_0, %1 [1] : vector<4xi32> into vector<2x4xi32>
%5 = vector.insert %res2_1, %2 [1] : vector<4xi32> into vector<2x4xi32>
...etc.
```
Commit: 1a5239251ead73ee57f4e2f7fc93433ac7cf18b1
https://github.com/llvm/llvm-project/commit/1a5239251ead73ee57f4e2f7fc93433ac7cf18b1
Author: Oliver Stannard <oliver.stannard at arm.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Basic/CodeGenOptions.h
M clang/include/clang/Driver/Options.td
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/Driver/ToolChains/Arch/ARM.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M llvm/docs/LangRef.rst
M llvm/include/llvm/Support/CodeGen.h
M llvm/include/llvm/Target/TargetOptions.h
M llvm/lib/CodeGen/CommandFlags.cpp
M llvm/lib/CodeGen/TargetOptionsImpl.cpp
M llvm/lib/IR/Function.cpp
M llvm/lib/IR/Verifier.cpp
M llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
M llvm/lib/Target/ARM/ARMFeatures.td
M llvm/lib/Target/ARM/ARMFrameLowering.cpp
M llvm/lib/Target/ARM/ARMFrameLowering.h
M llvm/test/CodeGen/ARM/frame-chain-reserved-fp.ll
M llvm/test/CodeGen/ARM/frame-chain.ll
M llvm/test/CodeGen/Thumb/frame-access.ll
M llvm/test/CodeGen/Thumb/frame-chain-reserved-fp.ll
M llvm/test/CodeGen/Thumb/frame-chain.ll
Log Message:
-----------
[ARM] r11 is reserved when using -mframe-chain=aapcs (#86951)
When using the -mframe-chain=aapcs or -mframe-chain=aapcs-leaf options,
we cannot use r11 as an allocatable register, even if
-fomit-frame-pointer is also used. This is so that r11 will always point
to a valid frame record, even if we don't create one in every function.
Commit: af3ffff34fb39cfb1e19dce68bd1c3fefda336a4
https://github.com/llvm/llvm-project/commit/af3ffff34fb39cfb1e19dce68bd1c3fefda336a4
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/ARM/ARMInstrNEON.td
M llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-fold-binop-select.ll
M llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll
M llvm/test/CodeGen/AMDGPU/bypass-div.ll
M llvm/test/CodeGen/AMDGPU/div_i128.ll
M llvm/test/CodeGen/AMDGPU/div_v2i128.ll
M llvm/test/CodeGen/AMDGPU/idiv-licm.ll
M llvm/test/CodeGen/AMDGPU/itofp.i128.bf.ll
M llvm/test/CodeGen/AMDGPU/itofp.i128.ll
M llvm/test/CodeGen/AMDGPU/rem_i128.ll
M llvm/test/CodeGen/AMDGPU/sdiv.ll
M llvm/test/CodeGen/AMDGPU/sdiv64.ll
M llvm/test/CodeGen/AMDGPU/srem64.ll
M llvm/test/CodeGen/X86/div-rem-pair-recomposition-signed.ll
M llvm/test/CodeGen/X86/pr38539.ll
Log Message:
-----------
[DAG] Always allow folding XOR patterns to ABS pre-legalization (#94601)
Removes residual ARM handling for vXi64 ABS nodes to prevent infinite loops.
Commit: fd45dcca26d6031fcbaa907d8d6c0d9755b36699
https://github.com/llvm/llvm-project/commit/fd45dcca26d6031fcbaa907d8d6c0d9755b36699
Author: Eisuke Kawashima <e.kawaschima+github at gmail.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M mlir/test/python/ir/affine_expr.py
M mlir/test/python/ir/attributes.py
M mlir/test/python/ir/builtin_types.py
Log Message:
-----------
fix(mlir/**.py): fix comparison to None (#94019)
from PEP8
(https://peps.python.org/pep-0008/#programming-recommendations):
> Comparisons to singletons like None should always be done with is or
is not, never the equality operators.
Co-authored-by: Eisuke Kawashima <e-kwsm at users.noreply.github.com>
Commit: 917afa883258757575ac6448e83a9233d7877333
https://github.com/llvm/llvm-project/commit/917afa883258757575ac6448e83a9233d7877333
Author: Jonathan Thackray <jonathan.thackray at arm.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/test/Misc/target-invalid-cpu-note.c
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm/TargetParser/ARMTargetParser.def
M llvm/lib/Target/ARM/ARMProcessors.td
M llvm/lib/Target/ARM/ARMSubtarget.cpp
M llvm/lib/TargetParser/Host.cpp
M llvm/test/CodeGen/ARM/build-attributes.ll
M llvm/test/CodeGen/ARM/cortexr52-misched-basic.ll
M llvm/test/CodeGen/ARM/lsr-scale-addr-mode.ll
M llvm/test/CodeGen/ARM/misched-fp-basic.ll
M llvm/test/CodeGen/ARM/misched-int-basic-thumb2.mir
M llvm/test/CodeGen/ARM/misched-int-basic.mir
M llvm/test/CodeGen/ARM/proc-resource-sched.ll
M llvm/test/CodeGen/ARM/single-issue-r52.mir
M llvm/test/CodeGen/ARM/useaa.ll
M llvm/test/MC/ARM/dfb-neg.s
M llvm/test/MC/ARM/dfb.s
A llvm/test/MC/ARM/invalid-armv8r.s
M llvm/test/MC/ARM/thumb-hints.s
M llvm/test/MC/Disassembler/ARM/dfb-thumb.txt
M llvm/unittests/TargetParser/TargetParserTest.cpp
Log Message:
-----------
[ARM] Add support for Cortex-R52+ (#94633)
Cortex-R52+ is an Armv8-R AArch32 CPU.
Technical Reference Manual for Cortex-R52+:
https://developer.arm.com/documentation/102199/latest/
Commit: 537165bb02df8e9f4dc4c21725d50e77e2908a5f
https://github.com/llvm/llvm-project/commit/537165bb02df8e9f4dc4c21725d50e77e2908a5f
Author: WANG Rui <wangrui at loongson.cn>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/test/CodeGen/LoongArch/opt-pipeline.ll
Log Message:
-----------
[NFC][LoongArch] Update test for #94590
Commit: 54c5dbe7c3812461decbccb6ed122e41777e02bd
https://github.com/llvm/llvm-project/commit/54c5dbe7c3812461decbccb6ed122e41777e02bd
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/unittests/Interpreter/InterpreterTest.cpp
Log Message:
-----------
[clang][test] Skip interpreter value test on Arm 32 bit
https://github.com/llvm/llvm-project/pull/89811 caused this test to fail,
somehow.
I think it may not be at fault, but actually be exposing some
existing undefined behaviour, see
https://github.com/llvm/llvm-project/issues/94741.
Skipping this for now to get the bots green again.
Commit: d3e531cf37ed5334aa873e4e46aff693efac9d77
https://github.com/llvm/llvm-project/commit/d3e531cf37ed5334aa873e4e46aff693efac9d77
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Checkers/BUILD.gn
Log Message:
-----------
[gn build] Port e622996eddfb
Commit: 6fe5428ecbd18aa263417a244c0850b1271617c0
https://github.com/llvm/llvm-project/commit/6fe5428ecbd18aa263417a244c0850b1271617c0
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Flang.cpp
Log Message:
-----------
[Flang] Handle the newly-added "Reserved" FramePointerKind for 1a5239251ead73ee57f4e2f7fc93433ac7cf18b1
Commit: 88e2bb40921f35663e16e45514de20018615c36f
https://github.com/llvm/llvm-project/commit/88e2bb40921f35663e16e45514de20018615c36f
Author: Alex Voicu <alexandru.voicu at amd.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/lib/Basic/Targets.cpp
M clang/lib/Basic/Targets/SPIR.cpp
M clang/lib/Basic/Targets/SPIR.h
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGen/target-data.c
A clang/test/CodeGenCUDA/builtins-spirv-amdgcn.cu
A clang/test/CodeGenCUDA/builtins-unsafe-atomics-spirv-amdgcn-gfx90a.cu
M clang/test/CodeGenCUDA/long-double.cu
A clang/test/CodeGenCUDA/spirv-amdgcn-bf16.cu
A clang/test/CodeGenCXX/spirv-amdgcn-float16.cpp
M clang/test/CodeGenHIP/hipspv-addr-spaces.cpp
A clang/test/CodeGenHIP/spirv-amdgcn-ballot.cpp
A clang/test/CodeGenHIP/spirv-amdgcn-dpp-const-fold.hip
A clang/test/CodeGenHIP/spirv-amdgcn-half.hip
M clang/test/CodeGenOpenCL/amdgcn-flat-scratch-name.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx10.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx11.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-vi.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn.cl
M clang/test/CodeGenOpenCL/inline-asm-amdgcn.cl
M clang/test/Preprocessor/hash_builtin.cpp
M clang/test/Preprocessor/predefined-macros-no-warnings.c
M clang/test/Preprocessor/predefined-macros.c
A clang/test/Sema/builtin-spirv-amdgcn-atomic-inc-dec-failure.cpp
A clang/test/Sema/inline-asm-validate-spirv-amdgcn.cl
M clang/test/SemaCUDA/allow-int128.cu
M clang/test/SemaCUDA/amdgpu-f128.cu
M clang/test/SemaCUDA/float16.cu
M clang/test/SemaCUDA/fp16-arg-return.cu
A clang/test/SemaCUDA/spirv-amdgcn-atomic-ops.cu
M clang/test/SemaOpenCL/builtins-amdgcn-error-gfx908-param.cl
M clang/test/SemaOpenCL/builtins-amdgcn-error-gfx90a-param.cl
M clang/test/SemaOpenCL/builtins-amdgcn-error-gfx940-param.cl
M llvm/docs/SPIRVUsage.rst
M llvm/lib/Target/SPIRV/SPIRVTargetMachine.cpp
M llvm/lib/TargetParser/TargetParser.cpp
M llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_subgroup_rotate/subgroup-rotate.ll
M llvm/test/CodeGen/SPIRV/passes/SPIRVEmitIntrinsics-no-divergent-spv_assign_ptr_type.ll
M llvm/test/CodeGen/SPIRV/passes/SPIRVEmitIntrinsics-no-duplicate-spv_assign_type.ll
M llvm/test/CodeGen/SPIRV/transcoding/builtin_vars_arithmetics.ll
M llvm/test/CodeGen/SPIRV/transcoding/sub_group_non_uniform_vote.ll
Log Message:
-----------
[clang][SPIR-V] Add support for AMDGCN flavoured SPIRV (#89796)
This change seeks to add support for vendor flavoured SPIRV - more
specifically, AMDGCN flavoured SPIRV. The aim is to generate SPIRV that
carries some extra bits of information that are only usable by AMDGCN
targets, forfeiting absolute genericity to obtain greater expressiveness
for target features:
- AMDGCN inline ASM is allowed/supported, under the assumption that the
[SPV_INTEL_inline_assembly](https://github.com/intel/llvm/blob/sycl/sycl/doc/design/spirv-extensions/SPV_INTEL_inline_assembly.asciidoc)
extension is enabled/used
- AMDGCN target specific builtins are allowed/supported, under the
assumption that e.g. the `--spirv-allow-unknown-intrinsics` option is
enabled when using the downstream translator
- the featureset matches the union of AMDGCN targets' features
- the datalayout string is overspecified to affix both the program
address space and the alloca address space, the latter under the
assumption that the
[SPV_INTEL_function_pointers](https://github.com/intel/llvm/blob/sycl/sycl/doc/design/spirv-extensions/SPV_INTEL_function_pointers.asciidoc)
extension is enabled/used, case in which the extant SPIRV datalayout
string would lead to pointers to function pointing to the private
address space, which would be wrong.
Existing AMDGCN tests are extended to cover this new target. It is
currently dormant / will require some additional changes, but I thought
I'd rather put it up for review to get feedback as early as possible. I
will note that an alternative option is to place this under AMDGPU, but
that seems slightly less natural, since this is still SPIRV, albeit
relaxed in terms of preconditions & constrained in terms of
postconditions, and only guaranteed to be usable on AMDGCN targets (it
is still possible to obtain pristine portable SPIRV through usage of the
flavoured target, though).
Commit: 3fefb3c598db995433093ed158c08368809b3f78
https://github.com/llvm/llvm-project/commit/3fefb3c598db995433093ed158c08368809b3f78
Author: Nathan Sidwell <nathan at acm.org>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M bolt/include/bolt/Core/MCPlusBuilder.h
M bolt/lib/Passes/VeneerElimination.cpp
M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
M bolt/lib/Target/RISCV/RISCVMCPlusBuilder.cpp
M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
Log Message:
-----------
[BOLT][NFC] Infailable fns return void (#92018)
Both `reverseBranchCondition` and `replaceBranchTarget` return a success boolean. But all-but-one caller ignores the return value, and the exception emits a fatal error on failure.
Thus, just return nothing.
Commit: 74d62c2f73799ea6ffbf165ff752ca0b0f826eca
https://github.com/llvm/llvm-project/commit/74d62c2f73799ea6ffbf165ff752ca0b0f826eca
Author: aengelke <engelke at in.tum.de>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAGNodes.h
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[CodeGen][SDAG] Remove CombinedNodes SmallPtrSet (#94609)
This "small" set grows quite large and it's more performant to store
whether a node has been combined before in the node itself.
As this information is only relevant for nodes that are currently not in
the worklist, add a second state to the CombinerWorklistIndex (-2) to
indicate that a node is currently not in a worklist, but was combined
before.
This brings a substantial performance improvement.
Commit: 9ece3eb1459309f9fbd18ce8ec8f771c238e8815
https://github.com/llvm/llvm-project/commit/9ece3eb1459309f9fbd18ce8ec8f771c238e8815
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/EvalEmitter.cpp
M clang/lib/AST/Interp/EvaluationResult.cpp
M clang/test/AST/Interp/cxx20.cpp
Log Message:
-----------
[clang][Interp] Check ConstantExpr results for initialization
They need to be fully initialized, similar to global variables.
Commit: 9eb8a130c5d708dbabe824113add072436ae9997
https://github.com/llvm/llvm-project/commit/9eb8a130c5d708dbabe824113add072436ae9997
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/MemberPointer.h
Log Message:
-----------
[clang][Interp][NFC] Fix a const-correctness warning
Commit: b8cc85b318c0dd89e4dd69e3691ffcad5e401885
https://github.com/llvm/llvm-project/commit/b8cc85b318c0dd89e4dd69e3691ffcad5e401885
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/lambda.cpp
Log Message:
-----------
[clang][Interp] Limit lambda capture lazy visting to actual captures
Check this by looking at the VarDecl.
Commit: 5a0181f568e56e37df80d0f74eca4775776fa8cd
https://github.com/llvm/llvm-project/commit/5a0181f568e56e37df80d0f74eca4775776fa8cd
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/include/clang/AST/ASTUnresolvedSet.h
M clang/include/clang/AST/DeclAccessPair.h
M clang/include/clang/AST/DeclBase.h
M clang/include/clang/AST/DeclID.h
M clang/include/clang/AST/UnresolvedSet.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ModuleFile.h
M clang/include/clang/Serialization/ModuleManager.h
M clang/lib/AST/DeclBase.cpp
M clang/lib/AST/DeclCXX.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/ModuleFile.cpp
A clang/test/Modules/no-transitive-decls-change.cppm
Log Message:
-----------
[serialization] no transitive decl change (#92083)
Following of https://github.com/llvm/llvm-project/pull/86912
The motivation of the patch series is that, for a module interface unit
`X`, when the dependent modules of `X` changes, if the changes is not
relevant with `X`, we hope the BMI of `X` won't change. For the specific
patch, we hope if the changes was about irrelevant declaration changes,
we hope the BMI of `X` won't change. **However**, I found the patch
itself is not very useful in practice, since the adding or removing
declarations, will change the state of identifiers and types in most
cases.
That said, for the most simple example,
```
// partA.cppm
export module m:partA;
// partA.v1.cppm
export module m:partA;
export void a() {}
// partB.cppm
export module m:partB;
export void b() {}
// m.cppm
export module m;
export import :partA;
export import :partB;
// onlyUseB;
export module onlyUseB;
import m;
export inline void onluUseB() {
b();
}
```
the BMI of `onlyUseB` will change after we change the implementation of
`partA.cppm` to `partA.v1.cppm`. Since `partA.v1.cppm` introduces new
identifiers and types (the function prototype).
So in this patch, we have to write the tests as:
```
// partA.cppm
export module m:partA;
export int getA() { ... }
export int getA2(int) { ... }
// partA.v1.cppm
export module m:partA;
export int getA() { ... }
export int getA(int) { ... }
export int getA2(int) { ... }
// partB.cppm
export module m:partB;
export void b() {}
// m.cppm
export module m;
export import :partA;
export import :partB;
// onlyUseB;
export module onlyUseB;
import m;
export inline void onluUseB() {
b();
}
```
so that the new introduced declaration `int getA(int)` doesn't introduce
new identifiers and types, then the BMI of `onlyUseB` can keep
unchanged.
While it looks not so great, the patch should be the base of the patch
to erase the transitive change for identifiers and types since I don't
know how can we introduce new types and identifiers without introducing
new declarations. Given how tightly the relationship between
declarations, types and identifiers, I think we can only reach the ideal
state after we made the series for all of the three entties.
The design of the patch is similar to
https://github.com/llvm/llvm-project/pull/86912, which extends the
32-bit DeclID to 64-bit and use the higher bits to store the module file
index and the lower bits to store the Local Decl ID.
A slight difference is that we only use 48 bits to store the new DeclID
since we try to use the higher 16 bits to store the module ID in the
prefix of Decl class. Previously, we use 32 bits to store the module ID
and 32 bits to store the DeclID. I don't want to allocate additional
space so I tried to make the additional space the same as 64 bits. An
potential interesting thing here is about the relationship between the
module ID and the module file index. I feel we can get the module file
index by the module ID. But I didn't prove it or implement it. Since I
want to make the patch itself as small as possible. We can make it in
the future if we want.
Another change in the patch is the new concept Decl Index, which means
the index of the very big array `DeclsLoaded` in ASTReader. Previously,
the index of a loaded declaration is simply the Decl ID minus
PREDEFINED_DECL_NUMs. So there are some places they got used
ambiguously. But this patch tried to split these two concepts.
As https://github.com/llvm/llvm-project/pull/86912 did, the change will
increase the on-disk PCM file sizes. As the declaration ID may be the
most IDs in the PCM file, this can have the biggest impact on the size.
In my experiments, this change will bring 6.6% increase of the on-disk
PCM size. No compile-time performance regression observed. Given the
benefits in the motivation example, I think the cost is worthwhile.
Commit: df6750eaa80099a1e96439bc060a18a26d7212e6
https://github.com/llvm/llvm-project/commit/df6750eaa80099a1e96439bc060a18a26d7212e6
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
M llvm/test/CodeGen/AMDGPU/wqm.ll
Log Message:
-----------
[AMDGPU] Fix interaction between WQM and llvm.amdgcn.init.exec (#93680)
Whole quad mode requires inserting a copy of the initial EXEC mask. In a
function that also uses llvm.amdgcn.init.exec, insert the COPY after
initializing EXEC.
Commit: acc927ac2369605c4ec9268d542bb51072d73794
https://github.com/llvm/llvm-project/commit/acc927ac2369605c4ec9268d542bb51072d73794
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/include/llvm/Frontend/OpenMP/OMP.td
Log Message:
-----------
[Frontend][OpenMP] Sort all the things in OMP.td, NFC (#94653)
The file OMP.td is becoming tedious to update by hand due to the
seemingly random ordering of various items in it. This patch brings
order to it by sorting most of the contents.
The clause definitions are sorted alphabetically with respect to the
spelling of the clause.[1]
The directive definitions are split into two leaf directives and
compound directives.[2] Within each, definitions are sorted
alphabetically with respect to the spelling, with the exception that
"end xyz" directives are placed immediately following the definition of
"xyz".[3]
Within each directive definition, the lists of clauses are also sorted
alphabetically.
[1] All spellings are made of lowercase letters, _, or space. Ordering
that includes non-letters follows the order assumed by the `sort`
utility.
[2] Compound directives refer to the consituent leaf directives, hence
the leaf definitions must come first.
[3] Some of the "end xyz" directives have properties derived from the
corresponding "xyz" directive. This exception guarantees that "xyz"
precedes the "end xyz".
Commit: 913a8244fe8687df1f27b61c87aa23cf4fcbe84e
https://github.com/llvm/llvm-project/commit/913a8244fe8687df1f27b61c87aa23cf4fcbe84e
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
M flang/lib/Lower/OpenMP/DataSharingProcessor.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
A flang/test/Lower/OpenMP/DelayedPrivatization/target-private-allocatable.f90
A flang/test/Lower/OpenMP/DelayedPrivatization/target-private-multiple-variables.f90
A flang/test/Lower/OpenMP/DelayedPrivatization/target-private-simple.f90
Log Message:
-----------
[flang][OpenMP] Lower `target .. private(..)` to `omp.private` ops (#94195)
Extends delayed privatization support to `taraget .. private(..)`. With
this PR, `private` is support for `target` **only** is delayed
privatization mode.
Commit: 2c3723d321ae000dfc9dfab064076799a90c322e
https://github.com/llvm/llvm-project/commit/2c3723d321ae000dfc9dfab064076799a90c322e
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M libc/cmake/modules/LLVMLibCObjectRules.cmake
Log Message:
-----------
[libc] Correctly pass the C++ standard to NVPTX internal builds
Summary:
The NVPTX build wasn't getting the `C++20` standard necessary for a few
files.
Commit: 5b2f7a19711710df1469ab8a0096fe2f8052c8b1
https://github.com/llvm/llvm-project/commit/5b2f7a19711710df1469ab8a0096fe2f8052c8b1
Author: Ryan Holt <ryanholt at mathworks.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
M mlir/test/Dialect/Linalg/transform-lower-pack.mlir
Log Message:
-----------
[mlir][linalg] Support lowering unpack with outer_dims_perm (#94477)
This commit adds support for lowering `tensor.unpack` with a
non-identity `outer_dims_perm`. This was previously left as a
not-yet-implemented case.
Commit: c886d66da03bdf26e6fca68a1b730ae6eb923194
https://github.com/llvm/llvm-project/commit/c886d66da03bdf26e6fca68a1b730ae6eb923194
Author: Max191 <44243577+Max191 at users.noreply.github.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp
M mlir/test/Dialect/Linalg/fuse-with-reshape-by-collapsing.mlir
M mlir/test/Dialect/Linalg/reshape_fusion.mlir
Log Message:
-----------
[mlir] Add reshape propagation patterns for tensor.pad (#94489)
This PR adds fusion by collapsing and fusion by expansion patterns for
`tensor.pad` ops in ElementwiseOpFusion. Pad ops can be expanded or
collapsed as long as none of the padded dimensions will be expanded or
collapsed.
Commit: 2117677e304d334326f6591f3c75fb2f34dc4bcb
https://github.com/llvm/llvm-project/commit/2117677e304d334326f6591f3c75fb2f34dc4bcb
Author: Max191 <44243577+Max191 at users.noreply.github.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Utils/ReshapeOpsUtils.h
M mlir/test/Dialect/Tensor/canonicalize.mlir
Log Message:
-----------
[mlir] Fix bugs in expand_shape patterns after semantics changes (#94631)
After the `output_shape` field was added to `expand_shape` ops,
dynamically sized expand shapes are now possible, but this was not
accounted for in the folder. This PR tightens the constraints of the
folder to fix this.
Commit: ac02168990aa8429898d0c59fec7a78526638c5c
https://github.com/llvm/llvm-project/commit/ac02168990aa8429898d0c59fec7a78526638c5c
Author: David Green <david.green at arm.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/test/CodeGen/ARM/neon_vabd.ll
M llvm/test/CodeGen/ARM/vaba.ll
M llvm/test/CodeGen/ARM/vabd.ll
Log Message:
-----------
[ARM] Clean up neon_vabd.ll, vaba.ll and vabd.ll tests a bit. NFC
Change the target triple to remove some unnecessary instructions.
Commit: 2f0308ed02ea622b8228d271d9aebe4bd4deacdd
https://github.com/llvm/llvm-project/commit/2f0308ed02ea622b8228d271d9aebe4bd4deacdd
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/VecFuncs.def
M llvm/lib/Target/AArch64/AArch64FastISel.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
A llvm/test/CodeGen/AArch64/GlobalISel/legalize-tan.mir
M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
M llvm/test/CodeGen/AArch64/f16-instructions.ll
M llvm/test/CodeGen/AArch64/fast-isel-runtime-libcall.ll
M llvm/test/CodeGen/AArch64/illegal-float-ops.ll
M llvm/test/CodeGen/AArch64/replace-with-veclib-armpl.ll
M llvm/test/CodeGen/AArch64/replace-with-veclib-sleef-scalable.ll
M llvm/test/CodeGen/AArch64/replace-with-veclib-sleef.ll
M llvm/test/CodeGen/AArch64/vec-libcalls.ll
M llvm/test/Transforms/LoopVectorize/AArch64/veclib-calls-libsystem-darwin.ll
M llvm/test/Transforms/LoopVectorize/AArch64/veclib-intrinsic-calls.ll
Log Message:
-----------
[arm64] Add tan intrinsic lowering (#94545)
This change is an implementation of
https://github.com/llvm/llvm-project/issues/87367's investigation on
supporting IEEE math operations as intrinsics.
Which was discussed in this RFC:
https://discourse.llvm.org/t/rfc-all-the-math-intrinsics/78294
This PR is just for Tan.
Now that x86 tan backend landed:
https://github.com/llvm/llvm-project/pull/90503 we can add other
backends since the shared pieces are in tree now.
Changes:
- `llvm/include/llvm/Analysis/VecFuncs.def` - vectorization of tan for
arm64 backends.
- `llvm/lib/Target/AArch64/AArch64FastISel.cpp` - Add tan to the libcall
table
- `llvm/lib/Target/AArch64/AArch64ISelLowering.cpp` - Add tan expansion
for f128, f16, and vector\neon operations
- `llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp` define
`G_FTAN` as a legal arm64 instruction
resolves #94755
Commit: c5fcc2ea55372060760b0ba46d36d03ed39825d5
https://github.com/llvm/llvm-project/commit/c5fcc2ea55372060760b0ba46d36d03ed39825d5
Author: David Green <david.green at arm.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
A llvm/test/CodeGen/AArch64/addp-shuffle.ll
Log Message:
-----------
[AArch64] Add addp from shuffles tests. NFC
Commit: 2981f3a284302bb12b292bcf09e7e09ae2eb696a
https://github.com/llvm/llvm-project/commit/2981f3a284302bb12b292bcf09e7e09ae2eb696a
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/include/clang/Driver/ToolChain.h
M clang/lib/Driver/ToolChain.cpp
M clang/lib/Driver/ToolChains/AMDGPU.cpp
M clang/lib/Driver/ToolChains/Cuda.cpp
Log Message:
-----------
[Clang] Add timeout for GPU detection utilities (#94751)
Summary:
The utilities `nvptx-arch` and `amdgpu-arch` are used to support
`--offload-arch=native` among other utilities in clang. However, these
rely on the GPU drivers to query the features. In certain cases these
drivers can become locked up, which will lead to indefinate hangs on any
compiler jobs running in the meantime.
This patch adds a ten second timeout period for these utilities before
it kills the job and errors out.
Commit: 2afea7296812b7e12c6ec683e6858bd4cbe8dd8d
https://github.com/llvm/llvm-project/commit/2afea7296812b7e12c6ec683e6858bd4cbe8dd8d
Author: Liao Chunyu <chunyu at iscas.ac.cn>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td
A llvm/test/CodeGen/RISCV/xcvmem.ll
Log Message:
-----------
[RISCV] Codegen support for XCVmem extension (#76916)
All post-Increment load/store, register-register load/store
spec:
https://github.com/openhwgroup/cv32e40p/blob/master/docs/source/instruction_set_extensions.rst
Contributors: @CharKeaney, @jeremybennett, @lewis-revill,
@NandniJamnadas, @PaoloS02, @serkm, @simonpcook, @xingmingjie, @realqhc
Commit: 3b16630c26505060a876f578e4b2ba701c780e9a
https://github.com/llvm/llvm-project/commit/3b16630c26505060a876f578e4b2ba701c780e9a
Author: Xuan Zhang <144393379+xuanzh-meta at users.noreply.github.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/MachineOutliner.cpp
A llvm/test/CodeGen/AArch64/machine-outliner-sort-per-priority.ll
A llvm/test/CodeGen/AArch64/machine-outliner-sort-per-priority.mir
M llvm/test/CodeGen/ARM/machine-outliner-calls.mir
M llvm/test/CodeGen/ARM/machine-outliner-default.mir
M llvm/test/CodeGen/ARM/machine-outliner-stack-fixup-arm.mir
M llvm/test/CodeGen/ARM/machine-outliner-stack-fixup-thumb.mir
Log Message:
-----------
[MachineOutliner] Sort by Benefit to Cost Ratio (#90264)
This PR depends on https://github.com/llvm/llvm-project/pull/90260
We changed the order in which functions are outlined in Machine
Outliner.
The formula for priority is found via a black-box Bayesian optimization
toolbox. Using this formula for sorting consistently reduces the
uncompressed size of large real-world mobile apps. We also ran a few
benchmarks using LLVM test suites, and showed that sorting by priority
consistently reduces the text segment size.
|run (CTMark/) |baseline (1)|priority (2)|diff (1 -> 2)|
|----------------|------------|------------|-------------|
|lencod |349624 |349264 |-0.1030% |
|SPASS |219672 |219480 |-0.0874% |
|kc |271956 |251200 |-7.6321% |
|sqlite3 |223920 |223708 |-0.0947% |
|7zip-benchmark |405364 |402624 |-0.6759% |
|bullet |139820 |139500 |-0.2289% |
|consumer-typeset|295684 |290196 |-1.8560% |
|pairlocalalign |72236 |72092 |-0.1993% |
|tramp3d-v4 |189572 |189292 |-0.1477% |
This is part of an enhanced version of machine outliner -- see
[RFC](https://discourse.llvm.org/t/rfc-enhanced-machine-outliner-part-1-fulllto-part-2-thinlto-nolto-to-come/78732).
Commit: eb33e462ba536735b3d8449a81009a253f0f43bc
https://github.com/llvm/llvm-project/commit/eb33e462ba536735b3d8449a81009a253f0f43bc
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProfReader.h
M llvm/lib/ProfileData/InstrProfReader.cpp
Log Message:
-----------
[memprof] Clean up IndexedMemProfReader (NFC) (#94710)
Parameter "Version" is confusing in deserializeV012 and deserializeV3
because we also have member variable "Version". Fortunately,
parameter "Version" and member variable "Version" always have the same
value because IndexedMemProfReader::deserialize initializes the member
variable and passes it to deserializeV012 and deserializeV3.
This patch removes the parameter.
Commit: 55bdb36e39670d07aaaf04a24783a2008e8e60dd
https://github.com/llvm/llvm-project/commit/55bdb36e39670d07aaaf04a24783a2008e8e60dd
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/BoxValue.h
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
A flang/test/Lower/HLFIR/assumed-rank-inquiries-2.f90
Log Message:
-----------
[flang] lower SIZE and SIZEOF for assumed-ranks (#94684)
Commit: c348e265bd1284f770e66639633199fefd8015ec
https://github.com/llvm/llvm-project/commit/c348e265bd1284f770e66639633199fefd8015ec
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/lib/ProfileData/InstrProfWriter.cpp
M llvm/unittests/ProfileData/MemProfTest.cpp
Log Message:
-----------
[memprof] Use CallStackRadixTreeBuilder in the V3 format (#94708)
This patch integrates CallStackRadixTreeBuilder into the V3 format,
reducing the profile size to about 27% of the V2 profile size.
- Serialization: writeMemProfCallStackArray just needs to write out
the radix tree array prepared by CallStackRadixTreeBuilder.
Mappings from CallStackIds to LinearCallStackIds are moved by new
function CallStackRadixTreeBuilder::takeCallStackPos.
- Deserialization: Deserializing a call stack is the same as
deserializing an array encoded in the obvious manner -- the length
followed by the payload, except that we need to follow a pointer to
the parent to take advantage of common prefixes once in a while.
This patch teaches LinearCallStackIdConverter to how to handle those
pointers.
Commit: 7d69095fd50b7ef35282f83a9263bb8027ad521b
https://github.com/llvm/llvm-project/commit/7d69095fd50b7ef35282f83a9263bb8027ad521b
Author: Mubashar Ahmad <mubashar.ahmad at arm.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/Emulated/lit.local.cfg
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/Emulated/test-setArmSVLBits.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-setArmSVLBits.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/Emulated/lit.local.cfg
R mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/Emulated/test-scalable-deinterleave.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/Emulated/test-setArmVLBits.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-scalable-deinterleave.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-setArmVLBits.mlir
M mlir/test/lit.cfg.py
Log Message:
-----------
[mlir][vector] Remove Emulated Sub-directory (#94742)
The "Emulated" sub-directories under "ArmSVE" and
"ArmSME" have been removed. Associated tests
have been moved up a directory and now include
the "REQUIRES" constraint for the arm-emulator.
Commit: d099d6c76b3216b30b30de22cccf155fcc9e1c51
https://github.com/llvm/llvm-project/commit/d099d6c76b3216b30b30de22cccf155fcc9e1c51
Author: Nico Weber <thakis at chromium.org>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/test/BUILD.gn
Log Message:
-----------
[gn] port 33a6ce18373ff (check-clang obj2yaml dep)
Commit: fc95645e37f244c2fc155f1ee51047f90329e8c1
https://github.com/llvm/llvm-project/commit/fc95645e37f244c2fc155f1ee51047f90329e8c1
Author: Nico Weber <thakis at chromium.org>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
M llvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn
Log Message:
-----------
[gn] port cb7690af09b95 (ntdll dep)
Commit: b25b1db8199d86cb3645e92200cda8d5d30922d0
https://github.com/llvm/llvm-project/commit/b25b1db8199d86cb3645e92200cda8d5d30922d0
Author: c8ef <c8ef at outlook.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/KnownBits.h
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/IR/ConstantRange.cpp
M llvm/lib/Support/KnownBits.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
M llvm/unittests/IR/DemandedBitsTest.cpp
M llvm/unittests/Support/KnownBitsTest.cpp
M llvm/unittests/Support/KnownBitsTest.h
Log Message:
-----------
[KnownBits] Remove `hasConflict()` assertions (#94568)
Allow KnownBits to represent "always poison" values via conflict.
close: #94436
Commit: 790992dd4018f55479a2c53a79088cb37710c85b
https://github.com/llvm/llvm-project/commit/790992dd4018f55479a2c53a79088cb37710c85b
Author: Jake Egan <Jake.egan at ibm.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_add.pass.cpp
M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_sub.pass.cpp
M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.minus_equals.pass.cpp
M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.plus_equals.pass.cpp
Log Message:
-----------
[libc++][test][AIX] Only XFAIL atomic tests for before clang 19 (#94646)
These tests pass on 64-bit. They were fixed by 5fdd094837c6 on 32-bit.
So XFAIL only for 32-bit before clang 19.
Commit: f7018ba0eeaad8dc3e1917cfb986fc9689d72e85
https://github.com/llvm/llvm-project/commit/f7018ba0eeaad8dc3e1917cfb986fc9689d72e85
Author: David Green <david.green at arm.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/test/CodeGen/AArch64/addp-shuffle.ll
M llvm/test/CodeGen/AArch64/arm64-uzp.ll
M llvm/test/CodeGen/AArch64/insert-extend.ll
M llvm/test/CodeGen/AArch64/sve-fixed-length-permute-zip-uzp-trn.ll
Log Message:
-----------
[AArch64] Add patterns for add(uzp1(x,y), uzp2(x, y)) -> addp.
If we are extracting the even lanes and the odd lanes and adding them, we can
use an addp instruction.
Commit: 4f9c0fa22374d50643177adc4fb2706fa4b9b163
https://github.com/llvm/llvm-project/commit/4f9c0fa22374d50643177adc4fb2706fa4b9b163
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/dead_instructions.ll
Log Message:
-----------
[LV] Add test with dead load and vector pointer.
Commit: e9adcc488f96a9f2b8c4344f5e3c7ca6639b9562
https://github.com/llvm/llvm-project/commit/e9adcc488f96a9f2b8c4344f5e3c7ca6639b9562
Author: Konstantin Varlamov <varconsteq at gmail.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M libcxx/include/regex
A libcxx/test/std/re/re.alg/re.alg.replace/zero_length_matches.pass.cpp
M libcxx/test/std/re/re.iter/re.regiter/re.regiter.incr/post.pass.cpp
Log Message:
-----------
[libc++][regex] Correctly adjust match prefix for zero-length matches. (#94550)
For regex patterns that produce zero-length matches, there is one
(imaginary) match in-between every character in the sequence being
searched (as well as before the first character and after the last
character). It's easiest to demonstrate using replacement:
`std::regex_replace("abc"s, "!", "")` should produce `!a!b!c!`, where
each exclamation mark makes a zero-length match visible.
Currently our implementation doesn't correctly set the prefix of each
zero-length match, "swallowing" the characters separating the imaginary
matches -- e.g. when going through zero-length matches within `abc`, the
corresponding prefixes should be `{'', 'a', 'b', 'c'}`, but before this
patch they will all be empty (`{'', '', '', ''}`). This happens in the
implementation of `regex_iterator::operator++`. Note that the Standard
spells out quite explicitly that the prefix might need to be adjusted
when dealing with zero-length matches in
[`re.regiter.incr`](http://eel.is/c++draft/re.regiter.incr):
> In all cases in which the call to `regex_search` returns `true`,
`match.prefix().first` shall be equal to the previous value of
`match[0].second`... It is unspecified how the implementation makes
these adjustments.
[Reproduction example](https://godbolt.org/z/8ve6G3dav)
```cpp
#include <iostream>
#include <regex>
#include <string>
int main() {
std::string str = "abc";
std::regex empty_matching_pattern("");
{ // The underlying problem is that `regex_iterator::operator++` doesn't update
// the prefix correctly.
std::sregex_iterator i(str.begin(), str.end(), empty_matching_pattern), e;
std::cout << "\"";
for (; i != e; ++i) {
const std::ssub_match& prefix = i->prefix();
std::cout << prefix.str();
}
std::cout << "\"\n";
// Before the patch: ""
// After the patch: "abc"
}
{ // `regex_replace` makes the problem very visible.
std::string replaced = std::regex_replace(str, empty_matching_pattern, "!");
std::cout << "\"" << replaced << "\"\n";
// Before the patch: "!!!!"
// After the patch: "!a!b!c!"
}
}
```
Fixes #64451
rdar://119912002
Commit: 35fa2ded2ac52151be22c206fc92b983d1fd8e30
https://github.com/llvm/llvm-project/commit/35fa2ded2ac52151be22c206fc92b983d1fd8e30
Author: Vy Nguyen <oontvoo at users.noreply.github.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M lldb/include/lldb/API/SBDebugger.h
M lldb/include/lldb/Symbol/TypeSystem.h
M lldb/source/API/SBDebugger.cpp
M lldb/source/Symbol/TypeSystem.cpp
M lldb/tools/lldb-dap/DAP.cpp
M lldb/tools/lldb-dap/DAP.h
M lldb/tools/lldb-dap/lldb-dap.cpp
Log Message:
-----------
Reapply PR/87550 (#94625)
Re-apply https://github.com/llvm/llvm-project/pull/87550 with fixes.
Details:
Some tests in fuchsia failed because of the newly added assertion.
This was because `GetExceptionBreakpoint()` could be called before
`g_dap.debugger` was initted.
The fix here is to just lazily populate the list in
GetExceptionBreakpoint() rather than assuming it's already been initted.
(There is some nuisance here because we can't simply just populate it in
DAP::DAP(), which is a global ctor and is called before
`SBDebugger::Initialize()` is called. )
Commit: 716ed5fccd2a960981fec2c5acb17292a1502435
https://github.com/llvm/llvm-project/commit/716ed5fccd2a960981fec2c5acb17292a1502435
Author: Nico Weber <thakis at chromium.org>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M libcxx/docs/ReleaseNotes/19.rst
M libcxx/docs/Status/Cxx20.rst
M libcxx/docs/Status/Cxx20Papers.csv
M libcxx/docs/Status/Cxx2cPapers.csv
M libcxx/docs/UsingLibcxx.rst
M libcxx/include/__memory/shared_ptr.h
M libcxx/include/memory
M libcxx/modules/std/memory.inc
R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_compare_exchange_strong.depr_in_cxx20..verify.cpp
R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_compare_exchange_strong_explicit.depr_in_cxx20.verify.cpp
R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_compare_exchange_weak.depr_in_cxx20..verify.cpp
R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_compare_exchange_weak_explicit.depr_in_cxx20..verify.cpp
R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_exchange.depr_in_cxx20..verify.cpp
R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_exchange_explicit.verify.depr_in_cxx20..cpp
R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_is_lock_free.depr_in_cxx20..verify.cpp
R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_load.depr_in_cxx20..verify.cpp
R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_load_explicit.depr_in_cxx20..verify.cpp
R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_store.depr_in_cxx20..verify.cpp
R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_store_explicit.depr_in_cxx20..verify.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_compare_exchange_strong.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_compare_exchange_strong_explicit.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_compare_exchange_weak.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_compare_exchange_weak_explicit.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_exchange.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_exchange_explicit.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_is_lock_free.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_load.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_load_explicit.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_store.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_store_explicit.pass.cpp
Log Message:
-----------
[libc++] Undeprecate shared_ptr atomic access APIs (#92920)
This patch reverts 9b832b72 (#87111):
- [libc++] Deprecated `shared_ptr` Atomic Access APIs as per P0718R2
- [libc++] Implemented P2869R3: Remove Deprecated `shared_ptr` Atomic Access APIs from C++26
As explained in [1], the suggested replacement in P2869R3 is `__cpp_lib_atomic_shared_ptr`,
which libc++ does not yet implement. Let's not deprecate the old way of doing things before
the new way of doing things exists.
[1]: https://github.com/llvm/llvm-project/pull/87111#issuecomment-2112740039
Commit: 97b12df2cc27e1ef376692a0c5b62e1f2e793970
https://github.com/llvm/llvm-project/commit/97b12df2cc27e1ef376692a0c5b62e1f2e793970
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/test/Transforms/Reassociate/shifttest.ll
Log Message:
-----------
[Reassociate] shifttest.ll - generate test checks to replace custom grep expression
(and remove an unused argument)
Commit: b01ac5137c28fa5e1b44a5d850cb7a6ace7d8799
https://github.com/llvm/llvm-project/commit/b01ac5137c28fa5e1b44a5d850cb7a6ace7d8799
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M flang/include/flang/Runtime/inquiry.h
M flang/runtime/inquiry.cpp
M flang/unittests/Runtime/Inquiry.cpp
Log Message:
-----------
[flang][runtime] add SHAPE runtime interface (#94702)
Add SHAPE runtime API (will be used for assumed-rank, lowering is
generating other cases inline).
I tried to make it in a way were there is no dynamic allocation in the
runtime/deallocation expected to be inserted by inline code for arrays
that we know are small (lowering will just always stack allocate a rank
15 array to avoid dynamic stack allocation or heap allocation).
Commit: 1539da4601448711fcfa622e26e596973d58c670
https://github.com/llvm/llvm-project/commit/1539da4601448711fcfa622e26e596973d58c670
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/lib/Lower/OpenMP/Utils.h
M flang/test/Lower/OpenMP/DelayedPrivatization/target-private-allocatable.f90
M flang/test/Lower/OpenMP/DelayedPrivatization/target-private-multiple-variables.f90
M flang/test/Lower/OpenMP/DelayedPrivatization/target-private-simple.f90
Log Message:
-----------
[flang][OpenMP] Add `--openmp-enable-delayed-privatization-staging` flag (#94749)
Commit: 374f6554c3e409e4b9b5fd0ec90c5272768f5ab9
https://github.com/llvm/llvm-project/commit/374f6554c3e409e4b9b5fd0ec90c5272768f5ab9
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/lib/Driver/ToolChains/AMDGPU.cpp
M clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
M clang/test/Driver/amdgpu-openmp-toolchain.c
Log Message:
-----------
[OpenMP] Fix passing target id features to AMDGPU offloading (#94765)
Summary:
AMDGPU supports a `target-id` feature which is used to qualify targets
with different incompatible features. These are both rules and target
features. Currently, we pass `-target-cpu` twice when offloading to
OpenMP, and do not pass the target-id features at all. The effect was
that passing something like `--offload-arch=gfx90a:xnack+` would show up
as `-target-cpu=gfx90a:xnack+ -target-cpu=gfx90a`. Thus ignoring the
xnack completely and passing it twice. This patch fixes that to pass it
once and then separate it like how HIP does.
Commit: bbddedb3bf7b17c5caa4732c4a94dde8824c5e3a
https://github.com/llvm/llvm-project/commit/bbddedb3bf7b17c5caa4732c4a94dde8824c5e3a
Author: kper <kper at users.noreply.github.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/test/CXX/basic/basic.lookup/basic.lookup.elab/p2.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.elab/p2-0x.cpp
M clang/test/CXX/drs/cwg2xx.cpp
M clang/test/CXX/drs/cwg4xx.cpp
M clang/test/CXX/temp/temp.decls/temp.friend/p1.cpp
M clang/test/CXX/temp/temp.spec/no-body.cpp
M clang/test/SemaCXX/PR8755.cpp
M clang/test/SemaCXX/using-decl-templates.cpp
M clang/test/SemaTemplate/template-id-expr.cpp
Log Message:
-----------
Fixed grammatical error in "enum specifier" error msg #94443 (#94592)
As discussed in #94443, this PR changes the wording to be more correct.
Commit: b59567b99a44e9fe423e8712123f864b0c83eebc
https://github.com/llvm/llvm-project/commit/b59567b99a44e9fe423e8712123f864b0c83eebc
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaTemplateDeduction.cpp
M clang/test/SemaTemplate/cwg2398.cpp
Log Message:
-----------
[clang] always use resolved arguments for default argument deduction (#94756)
Commit: c467e6097e7332b65f9390e7088cb7ae0116a8bb
https://github.com/llvm/llvm-project/commit/c467e6097e7332b65f9390e7088cb7ae0116a8bb
Author: Jan Voung <jvoung at gmail.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M compiler-rt/test/lit.common.cfg.py
Log Message:
-----------
Check if LLD is built when checking if lto_supported (#92752)
Otherwise, older copies of LLD may not understand the latest bitcode
versions (for example, if we increase
`ModuleSummaryIndex::BitCodeSummaryVersion`)
Related to
https://github.com/llvm/llvm-project/pull/90692#issuecomment-2113250317
Commit: b653357141030620ce3e70ea939efbcb71d40657
https://github.com/llvm/llvm-project/commit/b653357141030620ce3e70ea939efbcb71d40657
Author: Han-Chung Wang <hanhan0912 at gmail.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M mlir/test/Dialect/Vector/vector-transfer-flatten.mlir
Log Message:
-----------
[mlir][vector][NFC] Make function name more meaningful in lit tests. (#94538)
It also moves the test near other similar test cases.
Commit: 0605e984fab700a6ef4affc3fdb66aaba3417baa
https://github.com/llvm/llvm-project/commit/0605e984fab700a6ef4affc3fdb66aaba3417baa
Author: Quentin Colombet <quentin.colombet at gmail.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
A llvm/test/CodeGen/AMDGPU/select-phi-s16-fp.ll
M llvm/test/CodeGen/ARM/arm-half-promote.ll
A llvm/test/CodeGen/X86/select-phi-s16-fp.ll
Log Message:
-----------
[SDISel][Builder] Fix the instantiation of <1 x bfloat|half> (#94591)
Prior to this change, `SelectionDAGBuilder` was producing `SDNode`s of
the form: `f32 = extract_vector_elt <1 x bfloat|half>, i32 0` when
lowering phis of `<1 x bfloat|half>` and running on a target that
promotes this type to `f32` (like some x86 or AMDGPU targets.)
This construct is invalid since this type of node only allows type
extensions for integer types.
It went unotice because the `extract_vector_elt` node is later broken
down in `bitcast` followed by `bf16_to_fp|fp_extend`. However, when the
argument of the phi is a constant we were crashing because the existing
code would try to constant fold this `extract_vector_elt` into a
any_ext.
This patch fixes this by using a proper decomposition for `<1 x
bfloat|half>`:
```
bfloat|half = bitcast <1 x blfoat|half>
float = fp_extend bfloat|half
```
This change should be NFC for the non-constant-folding cases and fix the
SDISel crashes (reported in
https://github.com/llvm/llvm-project/issues/94449) for the folding
cases.
Note: The change on the arm test is a missing fp16 to f32 constant folding
exposed by this patch. I'll push a separate improvement for that.
Commit: e9fa6ffaf7e86fe9f91fbcaabce5436311ac814c
https://github.com/llvm/llvm-project/commit/e9fa6ffaf7e86fe9f91fbcaabce5436311ac814c
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
A llvm/test/CodeGen/RISCV/rvv/trunc-select-to-max-usat.ll
Log Message:
-----------
[RISCV] Fold (vXi8 (trunc (vselect (setltu, X, 256), X, (sext (setgt X, 0))))) to vmax+vnclipu. (#94720)
This pattern is an obscured way to express saturating a signed value
into a smaller unsigned value.
If (setltu, X, 256) is true, then the value is already in the desired
range so we can pick X. If it's false, we select (sext (setgt X, 0))
which is 0 for negative values and all ones for positive values. The all
ones value when truncated to the final type will still be all ones like
we want.
Commit: cce10cc4583e7294950f4cfa4b8364d54c32241c
https://github.com/llvm/llvm-project/commit/cce10cc4583e7294950f4cfa4b8364d54c32241c
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfo.td
M llvm/lib/Target/RISCV/RISCVInstrInfoC.td
M llvm/test/MC/RISCV/insn.s
M llvm/test/MC/RISCV/insn_c.s
Log Message:
-----------
[RISCV] Add .insn alias for addresses without the leading immediate. (#94698)
Most other instructions accept addresses that start with a '(' without
an immediate before it. The .insn cases were missing. This is also
supported by binutils.
Commit: adcf33f8fbcc0f068bd4b8254994b16dda525009
https://github.com/llvm/llvm-project/commit/adcf33f8fbcc0f068bd4b8254994b16dda525009
Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M lldb/include/lldb/API/SBDebugger.h
M lldb/include/lldb/Symbol/TypeSystem.h
M lldb/source/API/SBDebugger.cpp
M lldb/source/Symbol/TypeSystem.cpp
M lldb/tools/lldb-dap/DAP.cpp
M lldb/tools/lldb-dap/DAP.h
M lldb/tools/lldb-dap/lldb-dap.cpp
Log Message:
-----------
Revert "Reapply PR/87550 (#94625)"
This reverts commit 35fa2ded2ac52151be22c206fc92b983d1fd8e30.
It broke the LLDB bots on green dragon
Commit: e5648525fd041fe577c65cc392c73040e60fed60
https://github.com/llvm/llvm-project/commit/e5648525fd041fe577c65cc392c73040e60fed60
Author: David Green <david.green at arm.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/test/CodeGen/AArch64/addp-shuffle.ll
Log Message:
-----------
[AArch64] Add patterns for fadd(uzp1(x,y), uzp2(x, y)) -> faddp.
Similar to f7018ba0eeaad8dc3e1917cfb986fc9689d72e85, this adds patterns for
floating point faddp from an fadd and shuffles.
Commit: f9ae07b9e1509732be01fddefb529c6626c119a9
https://github.com/llvm/llvm-project/commit/f9ae07b9e1509732be01fddefb529c6626c119a9
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M libcxx/include/deque
M libcxxabi/src/aix_state_tab_eh.inc
Log Message:
-----------
[libc++][NFC] Fix typo
Commit: 6f2c61071c274a1b5e212e6ad4114641ec7c7fc3
https://github.com/llvm/llvm-project/commit/6f2c61071c274a1b5e212e6ad4114641ec7c7fc3
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/LazyCallGraph.h
M llvm/lib/Analysis/CGSCCPassManager.cpp
M llvm/lib/Analysis/LazyCallGraph.cpp
Log Message:
-----------
[CGSCC] Verify that call graph is valid after iteration (#94692)
Only in expensive checks, to match other LazyCallGraph verification.
Is helpful for verifying LazyCallGraph updates. Many issues only surface
when we reuse the LazyCallGraph.
Commit: 66df6141659375e738d9b9b74bf79b2317576042
https://github.com/llvm/llvm-project/commit/66df6141659375e738d9b9b74bf79b2317576042
Author: Augusto Noronha <augusto2112 at me.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/test/CodeGen/debug-info-packed-struct.c
M clang/test/CodeGenCXX/debug-info-struct-align.cpp
Log Message:
-----------
Fix #pragma (packed, n) not emitting the alignment in debug info (#94673)
Debug info generation won't emit the alignment of types that have a
standard alignment. It was not taking into account the that case.
rdar://127785973
Commit: 2c047e67a5bfb479d7422f5b270e7f90ae037508
https://github.com/llvm/llvm-project/commit/2c047e67a5bfb479d7422f5b270e7f90ae037508
Author: Nico Weber <thakis at chromium.org>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p6-cxx11.cpp
M clang/test/CXX/drs/cwg4xx.cpp
Log Message:
-----------
[clang] Add fixit for using declaration with a (qualified) namespace (#94762)
For `using std::literals`, we now output:
error: using declaration cannot refer to a namespace
4 | using std::literals;
| ~~~~~^
note: did you mean 'using namespace'?
4 | using std::literals;
| ^
| namespace
Previously, we didn't have the note.
This only fires for qualified namespaces. Just `using std;` doesn't
trigger this, since using declarations without cxx scope specifier are
rejected earlier. Making that work is an exercise for future selves :)
Commit: 11d643f0b11c041d7030d43a328adf2eb3ba4e3d
https://github.com/llvm/llvm-project/commit/11d643f0b11c041d7030d43a328adf2eb3ba4e3d
Author: Michael Jones <michaelrj at google.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M libc/src/stdio/CMakeLists.txt
M libc/src/stdio/baremetal/CMakeLists.txt
A libc/src/stdio/baremetal/printf.cpp
M libc/src/stdio/generic/CMakeLists.txt
A libc/src/stdio/generic/printf.cpp
A libc/src/stdio/generic/vprintf.cpp
R libc/src/stdio/printf.cpp
R libc/src/stdio/vprintf.cpp
Log Message:
-----------
[libc] Add baremetal printf (#94078)
For baremetal targets that don't support FILE, this version of printf
just writes directly to a function provided by a vendor. To do this both
printf and vprintf were moved to /generic (vprintf since they need the
same flags and cmake gets funky about setting variables in one file and
reading them in another).
Commit: e20b90472160e47112886d959bbe0bbeff50b8ee
https://github.com/llvm/llvm-project/commit/e20b90472160e47112886d959bbe0bbeff50b8ee
Author: Lei Wang <wlei at fb.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/DebugInfoMetadata.h
M llvm/include/llvm/IR/PseudoProbe.h
M llvm/lib/IR/PseudoProbe.cpp
M llvm/lib/Transforms/IPO/SampleProfileProbe.cpp
M llvm/test/Transforms/SampleProfile/pseudo-probe-discriminator.ll
M llvm/test/Transforms/SampleProfile/pseudo-probe-emit-inline.ll
M llvm/test/Transforms/SampleProfile/pseudo-probe-emit.ll
M llvm/test/Transforms/SampleProfile/pseudo-probe-inline.ll
M llvm/test/Transforms/SampleProfile/pseudo-probe-profile.ll
M llvm/test/Transforms/SampleProfile/pseudo-probe-verify.ll
Log Message:
-----------
[PseudoProbe] Make probe discriminator compatible with dwarf base discriminator (#94506)
It's useful if the probe-based build can consume a dwarf based
profile(e.g. the profile transition), before there is a conflict for the
discriminator, this change tries to mitigate the issue by encoding the
dwarf base discriminator into the probe discriminator.
As the num of probe id(num of basic block and calls) starts from 1,
there are some unused space. We try to reuse some bit of the probe id.
The new encode rule is:
- Use a bit to [28:28] to indicate whether dwarf base discriminator is
encoded.(fortunately we can borrow this bit from the `PseudoProbeType`)
- If the bit is set, use [15:3] for probe id, [18:16] for dwarf base
discriminator. Otherwise, still use [18:3] for probe id.
Note that these doesn't affect the original probe id capacity, we still
prioritize probe id encoding, i.e. the base discriminator is not encoded
when probe id is bigger than [15:3].
Then adjust `getBaseDiscriminatorFromDiscriminator` to use the base
discriminator from the probe discriminator.
Commit: c3a50879dfca9ab06ebfe52f48019bb6ac40bb4d
https://github.com/llvm/llvm-project/commit/c3a50879dfca9ab06ebfe52f48019bb6ac40bb4d
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/test/Driver/gcc-param.c
Log Message:
-----------
[Driver,test] Add -Wno-msvc-not-found to gcc-param.c
Fixes: 56c4971d33230607a7329bb831b6c8588231e872
If the default target triple uses visualstudio::Linker::ConstructJob,
when a MSVC installation cannot be found, there will be a
-Wmsvc-not-found diagnostic, which is turned to an error due to -Werror.
We have many driver tests that don't specify --target= and would get a
-Wmsvc-not-found warning, but this might be the only that uses -Werror
and is not skipped by a `UNSUPPORTED`.
Commit: bd6e324b67cdadde2593327753e99782146d9bf8
https://github.com/llvm/llvm-project/commit/bd6e324b67cdadde2593327753e99782146d9bf8
Author: walkerkd <56538734+walkerkd at users.noreply.github.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/lib/Driver/ToolChains/BareMetal.cpp
A clang/test/Driver/baremetal-ld.c
Log Message:
-----------
[clang][driver] Enable '-flto' on bare-metal (#94738)
Pass the linker LTO options enabled by the clang '-flto' command line
options when targeting bare-metal.
---------
Co-authored-by: Keith Walker <keith.walker at arm.com>
Commit: d3bcd9b16badac301d4f29cf401387ae5e14999f
https://github.com/llvm/llvm-project/commit/d3bcd9b16badac301d4f29cf401387ae5e14999f
Author: Brad Smith <brad at comstyle.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/tools/llvm-jitlink/CMakeLists.txt
Log Message:
-----------
[CMake] Fix building on Haiku (#94721)
Needed for getaddrinfo().
Commit: 9a737109a07c0c29176e617eed34e91b523b7e9b
https://github.com/llvm/llvm-project/commit/9a737109a07c0c29176e617eed34e91b523b7e9b
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVCallLowering.cpp
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
M llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
M llvm/lib/Target/SPIRV/SPIRVSymbolicOperands.td
M llvm/lib/Target/SPIRV/SPIRVUtils.cpp
M llvm/lib/Target/SPIRV/SPIRVUtils.h
M llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_usm_storage_classes/intel-usm-addrspaces.ll
M llvm/test/CodeGen/SPIRV/passes/SPIRVEmitIntrinsics-no-divergent-spv_assign_ptr_type.ll
A llvm/test/CodeGen/SPIRV/pointers/duplicate-type-ptr-def.ll
A llvm/test/CodeGen/SPIRV/pointers/type-deduce-global-dup.ll
A llvm/test/CodeGen/SPIRV/pointers/type-deduce-simple-for.ll
A llvm/test/CodeGen/SPIRV/transcoding/bitcast-diff-addrspace.ll
Log Message:
-----------
[SPIR-V] Improve type inference, addrspacecast and dependencies between SPIR-V entities and required capability/extensions (#94626)
This PR continues https://github.com/llvm/llvm-project/pull/94467 and
contains fixes in emission of type intrinsics, constant recording and
corresponding test cases:
* type-deduce-global-dup.ll -- fix of integer constant emission on
32-bit platforms and correct type deduction for globals
* type-deduce-simple-for.ll -- fix of GEP translation (there was an
issue previously that led to incorrect translation/broken logic of
for-range implementation)
This PR also:
* fixes a cast between identical storage classes and updates the test
case to include validation run by spirv-val,
* ensures that Bitcast for pointers satisfies the requirement that the
address spaces must match and adds the corresponding test case,
* improve encode in Tablegen and decode in code of dependencies between
SPIR-V entities and required capability/extensions,
* prevent emission of identical OpTypePointer instructions.
Commit: 4196c185b12b38499e132a50b14aa1977004f02c
https://github.com/llvm/llvm-project/commit/4196c185b12b38499e132a50b14aa1977004f02c
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[bazel] Port #94078 (#94792)
Commit: 28dd55b97372271591d7802fd7b7eede0832aaa9
https://github.com/llvm/llvm-project/commit/28dd55b97372271591d7802fd7b7eede0832aaa9
Author: Gábor Spaits <gaborspaits1 at gmail.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-fptoi-rv32-libcall.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-fptoi-rv64-libcall.mir
Log Message:
-----------
[RISCV][GISel] Do libcall for G_FPTOSI, G_FPTOUI when no D or F support (#94613)
When compiling the following code:
```cpp
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <stdbool.h>
int main() {
int a;
float f;
scanf("%d", &a);
scanf("%f", &f);
a += (int)f;
return a;
}
```
for `-march=rv32ima_zbb` we get a libcall:
```
call scanf
lw a0, -20(s0)
call __fixsfsi
mv a1, a0
```
When we try to use GlobalISel we get this error:
```
error in backend: unable to legalize instruction: %9:_(s32) = G_FPTOSI %8:_(s32) (in function: main)
```
(Here is a link to a reproducer in Godblot:
https://godbolt.org/z/f67vEEb41 )
The goal of this PR is to do a libcall for the legalization of
`G_FPTOSI` and `G_FPTOUI` instead of doing a fallback to Selection DAG
to do the same libcall later.
Commit: c6e9371cbd23a9f2d03fee9b406065dbd0b7cf6a
https://github.com/llvm/llvm-project/commit/c6e9371cbd23a9f2d03fee9b406065dbd0b7cf6a
Author: mgschossmann <109181247+mgschossmann at users.noreply.github.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp
A llvm/test/DebugInfo/dwarfdump-loclist-basetyperef.test
Log Message:
-----------
[llvm-dwarfdump] Add a null-check in `prettyPrintBaseTypeRef`. (#93156)
Fixes #93104
Prevent a crash by only printing DWARFUnit-unaware information in cases
in which `DWARFUnit* U` is `nullptr`.
Commit: 27084f73e3b51fa507d1459042eb73e4f7098d73
https://github.com/llvm/llvm-project/commit/27084f73e3b51fa507d1459042eb73e4f7098d73
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/icmp-equality-xor.ll
Log Message:
-----------
[InstCombine] Add tests for folding `(icmp eq/ne (xor x, C0), C1)`; NFC
Commit: 166c1849d6da1577b49305371db1cdfacbb150e4
https://github.com/llvm/llvm-project/commit/166c1849d6da1577b49305371db1cdfacbb150e4
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/icmp-equality-xor.ll
M llvm/test/Transforms/InstCombine/icmp-or.ll
M llvm/test/Transforms/InstCombine/prevent-cmp-merge.ll
M llvm/test/Transforms/InstCombine/select.ll
Log Message:
-----------
[InstCombine] Fold `(icmp eq/ne (xor x, y), C1)` even if multiuse
Two folds unlocked:
`(icmp eq/ne (xor x, C0), C1)` -> `(icmp eq/ne x, C2)`
`(icmp eq/ne (xor x, y), 0)` -> `(icmp eq/ne x, y)`
This fixes regressions assosiated with #87180
Closes #87275
Commit: 89c92b0bcf4b9a283ed594e01a4addd90e5d8735
https://github.com/llvm/llvm-project/commit/89c92b0bcf4b9a283ed594e01a4addd90e5d8735
Author: estewart08 <ethan.stewart at amd.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M offload/CMakeLists.txt
M openmp/CMakeLists.txt
Log Message:
-----------
[OpenMP][Offload] - Ensure OPENMP_STANDALONE_BUILD is defined (#94801)
Without a value set conditional checks like
if(NOT ${OPENMP_STANDALONE_BUILD})
will not be able to evaluate to true.
Fixes issue introduced from PR #93463, which did not allow the OMPT
variable to be propogated up to offload during a runtimes build.
Commit: 75b89cc00c0dcc5694c94dd553c5c5204e2e4192
https://github.com/llvm/llvm-project/commit/75b89cc00c0dcc5694c94dd553c5c5204e2e4192
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/pow-1.ll
Log Message:
-----------
InstCombine: Fix testing of pow libcall in errno case (#94772)
There were some tests in this file with "noerrno" in the name, but all
the tests were no errno since all the libcalls were declared with
memory(none). Ensure we have adequate coverage for the errno and
no-errno cases by duplicating the libcall transform cases into errno and
non-errno versions with callsite attributes.
Commit: 96d01a350ce9875a8f893ecdc1d470caf7ed5bcd
https://github.com/llvm/llvm-project/commit/96d01a350ce9875a8f893ecdc1d470caf7ed5bcd
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M lldb/source/Expression/DWARFExpression.cpp
M llvm/include/llvm/BinaryFormat/Dwarf.def
M llvm/include/llvm/BinaryFormat/Dwarf.h
M llvm/include/llvm/ObjectYAML/DWARFYAML.h
M llvm/lib/BinaryFormat/Dwarf.cpp
Log Message:
-----------
[lldb] Encode operands and arity in Dwarf.def and use them in LLDB. (#94679)
This PR extends Dwarf.def to include the number of operands and the arity (the
number of entries on the DWARF stack).
- The arity is used in LLDB's DWARF expression evaluator.
- The number of operands is unused, but is present in the table to avoid
confusing the arity with the operands. Keeping the latter up to date should
be straightforward as it maps directly to a table present in the DWARF
standard.
Commit: 37e309f1635404bfca029c3712ee227a892cd4cf
https://github.com/llvm/llvm-project/commit/37e309f1635404bfca029c3712ee227a892cd4cf
Author: Min-Yih Hsu <min.hsu at sifive.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
A llvm/include/llvm/Transforms/Vectorize/LoopIdiomVectorize.h
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Passes/PassRegistry.def
M llvm/lib/Target/AArch64/AArch64.h
R llvm/lib/Target/AArch64/AArch64LoopIdiomTransform.cpp
R llvm/lib/Target/AArch64/AArch64LoopIdiomTransform.h
R llvm/lib/Target/AArch64/AArch64PassRegistry.def
M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.h
M llvm/lib/Target/AArch64/CMakeLists.txt
M llvm/lib/Transforms/Vectorize/CMakeLists.txt
A llvm/lib/Transforms/Vectorize/LoopIdiomVectorize.cpp
M llvm/test/Transforms/LoopIdiom/AArch64/byte-compare-index.ll
Log Message:
-----------
[AArch64][LoopIdiom] Generalize AArch64LoopIdiomTransform into LoopIdiomVectorize (#94081)
To facilitate sharing LoopIdiomTransform between AArch64 and RISC-V,
this first patch moves AArch64LoopIdiomTransform from lib/Target/AArch64
to lib/Transforms/Vectorize and renames it to LoopIdiomVectorize. The
following patch (#94082) will teach LoopIdiomVectorize how to generate VP
intrinsics (in addition to the current masked vector style) in favor of
RVV.
Commit: 4d9020ca0b125a936d5e26b48f07fcfa4bd78004
https://github.com/llvm/llvm-project/commit/4d9020ca0b125a936d5e26b48f07fcfa4bd78004
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M lld/ELF/Config.h
M lld/ELF/Driver.cpp
M lld/ELF/InputFiles.cpp
M lld/ELF/InputSection.cpp
M lld/ELF/Options.td
M lld/docs/ReleaseNotes.rst
M lld/docs/ld.lld.1
M lld/test/ELF/comdat.s
M lld/test/ELF/relocatable-comdat.s
Log Message:
-----------
[ELF] Implement --force-group-allocation
GNU ld's relocatable linking behaviors:
* Sections with the `SHF_GROUP` flag are handled like sections matched
by the `--unique=pattern` option. They are processed like orphan
sections and ignored by input section descriptions.
* Section groups' (usually named `.group`) content is updated as the
section indexes are updated. Section groups can be discarded with
`/DISCARD/ : { *(.group) }`.
`-r --force-group-allocation` discards section groups and allows
sections with the `SHF_GROUP` flag to be matched like normal sections.
If two section group members are placed into the same output section,
their relocation sections (if present) are combined as well.
This behavior can be useful when -r output is used as a pseudo shared
object (e.g., FreeBSD's amd64 kernel modules, CHERIoT compartments).
This patch implements --force-group-allocation:
* Input SHT_GROUP sections are discarded.
* Input sections do not get the SHF_GROUP flag, so `addInputSec`
will combine relocation sections if their relocated section group
members are combined.
The default behavior is:
* Input SHT_GROUP sections are retained.
* Input SHF_GROUP sections can be matched (unlike GNU ld)
* Input SHF_GROUP sections keep the SHF_GROUP flag, so `addInputSec`
will create different OutputDesc copies.
GNU ld provides the `FORCE_GROUP_ALLOCATION` command, which is not
implemented.
Pull Request: https://github.com/llvm/llvm-project/pull/94704
Commit: d1b5a4b0c5dda71176cc32a9b27438a883d05e3c
https://github.com/llvm/llvm-project/commit/d1b5a4b0c5dda71176cc32a9b27438a883d05e3c
Author: David Green <david.green at arm.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
A llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity-concat.ll
M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll
Log Message:
-----------
[VectorCombine] Add tests for shuffleToIdentity of concats. NFC
Commit: 06188d9af7d7cf8d95d4a7e80bf614cb7781355e
https://github.com/llvm/llvm-project/commit/06188d9af7d7cf8d95d4a7e80bf614cb7781355e
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
Log Message:
-----------
[bazel] Port #94081 (#94805)
Commit: 7520d0c9ae4564654ebf843d0295492246948242
https://github.com/llvm/llvm-project/commit/7520d0c9ae4564654ebf843d0295492246948242
Author: Amir Ayupov <aaupov at fb.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M bolt/lib/Core/BinaryEmitter.cpp
Log Message:
-----------
[BOLT][NFC] Unset UseAssemblerInfoForParsing for emission (#94778)
Summary:
Use workaround for quadratic behavior inside
AttemptToFoldSymbolOffsetDifference called from BinaryEmitter::emitLSDA.
https://github.com/llvm/llvm-project/commit/b06e736982a3568fe2bcea8688550f9e393b7450#commitcomment-142836456
Commit: bfa937a48767a3dd10c5847034ce0b341da00a93
https://github.com/llvm/llvm-project/commit/bfa937a48767a3dd10c5847034ce0b341da00a93
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/lib/ProfileData/InstrProf.cpp
M llvm/lib/ProfileData/InstrProfWriter.cpp
M llvm/lib/ProfileData/MemProf.cpp
M llvm/lib/ProfileData/MemProfReader.cpp
Log Message:
-----------
[ProfileData] Add const to a few places (NFC) (#94803)
Commit: 06e12b44cd0fb89058f8b5365184a2f5bbba498d
https://github.com/llvm/llvm-project/commit/06e12b44cd0fb89058f8b5365184a2f5bbba498d
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
Log Message:
-----------
[RISCV] Add TargetConstraintType=2 to vnclip pseudoinstructions. NFC
These instructions are very similar to narrowing shift instructions
which already have this.
Remove TargetConstraintType parameter from VPseudoBinaryV_WV
class. Only 2 was ever passed to it. Pass 2 directly to the classes
instantiated from VPseudoBinaryV_WV instead.
Commit: 0cdb0b7473595c3b0ac8840f9089d742dc206725
https://github.com/llvm/llvm-project/commit/0cdb0b7473595c3b0ac8840f9089d742dc206725
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-07 (Fri, 07 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/FPBits.h
M libc/src/__support/FPUtil/generic/FMod.h
M libc/src/math/CMakeLists.txt
A libc/src/math/fmodf16.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/fmodf16.cpp
M libc/test/src/math/performance_testing/BinaryOpSingleOutputPerf.h
M libc/test/src/math/performance_testing/CMakeLists.txt
A libc/test/src/math/performance_testing/fmodf16_perf.cpp
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/FModTest.h
A libc/test/src/math/smoke/fmodf16_test.cpp
Log Message:
-----------
[libc][math][c23] Add fmodf16 C23 math function (#94629)
Part of #93566.
Commit: c4f83a004bf35bfc46fe89111fdca750bbc724da
https://github.com/llvm/llvm-project/commit/c4f83a004bf35bfc46fe89111fdca750bbc724da
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/misc/CMakeLists.txt
M clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp
A clang-tools-extra/clang-tidy/misc/UseInternalLinkageCheck.cpp
A clang-tools-extra/clang-tidy/misc/UseInternalLinkageCheck.h
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/list.rst
A clang-tools-extra/docs/clang-tidy/checks/misc/use-internal-linkage.rst
A clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage/func.h
A clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage/func_cpp.inc
A clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage/func_h.inc
A clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage/var.h
A clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-func.cpp
A clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-var.cpp
Log Message:
-----------
[clang-tidy] new check misc-use-internal-linkage (#90830)
Add new check misc-use-internal-linkage to detect variable and function
can be marked as static.
---------
Co-authored-by: Danny Mösch <danny.moesch at icloud.com>
Commit: 4346c3859c2db76b5928b9754f4965ec3d3fddf7
https://github.com/llvm/llvm-project/commit/4346c3859c2db76b5928b9754f4965ec3d3fddf7
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
Log Message:
-----------
[libc][math][c23] Temporarily disable fmodf16 on AArch64 (#94813)
See Buildbot failure:
https://lab.llvm.org/buildbot/#/builders/138/builds/67337.
Commit: 32d8596ad99683cb896d122006436609b4ef3b6b
https://github.com/llvm/llvm-project/commit/32d8596ad99683cb896d122006436609b4ef3b6b
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
Log Message:
-----------
[RISCV] Remove unused tablegen multiclasses. NFC
Commit: 33f4a77d9218c1a2d5c994a8a8398479731612dc
https://github.com/llvm/llvm-project/commit/33f4a77d9218c1a2d5c994a8a8398479731612dc
Author: Aiden Grossman <aidengrossman at google.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/CMakeLists.txt
M llvm/docs/GettingStarted.rst
M llvm/docs/GettingStartedVS.rst
M llvm/docs/ReleaseNotes.rst
M llvm/docs/TestingGuide.rst
Log Message:
-----------
Reland "[python] Bump Python minimum version to 3.8 (#78828)"
This reverts commit b6824c9d459da059e247a60c1ebd1aeb580dacc2.
This relands commit 0a6c74e21cc6750c843310ab35b47763cddaaf32.
The original commit was reverted due to buildbot failures. These bots
should be updated now, so hopefully this will stick.
Commit: 6b4c12284795a3030e37b17047271a47a69bb587
https://github.com/llvm/llvm-project/commit/6b4c12284795a3030e37b17047271a47a69bb587
Author: srcarroll <50210727+srcarroll at users.noreply.github.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Affine/IR/AffineOps.td
M mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
M mlir/include/mlir/Interfaces/LoopLikeInterface.td
M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
M mlir/lib/Dialect/Linalg/Transforms/Loops.cpp
M mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
M mlir/lib/Dialect/SCF/IR/SCF.cpp
M mlir/lib/Dialect/SCF/Transforms/ForallToFor.cpp
M mlir/lib/Dialect/SCF/Transforms/ForallToParallel.cpp
M mlir/unittests/Dialect/SCF/LoopLikeSCFOpsTest.cpp
Log Message:
-----------
[mlir][loops] Add getters for multi dim loop variables in `LoopLikeOpInterface` (#94516)
This patch adds `getLoopInductionVars`, `getLoopLowerBounds`,
`getLoopBounds`, `getLoopSteps` interface methods to
`LoopLIkeOpInterface`. The corresponding single value versions have been
moved to shared class declaration and have been implemented based on the
new interface methods.
Commit: 7536474ea723f84db791ce5b6c3fc0cefbc2cceb
https://github.com/llvm/llvm-project/commit/7536474ea723f84db791ce5b6c3fc0cefbc2cceb
Author: Teresa Johnson <tejohnson at google.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
M llvm/test/Transforms/PGOProfile/memprof.ll
Log Message:
-----------
[MemProf] Add matching statistics and tracing (#94814)
To help debug or surface matching issues, add more statistics to the
matching. Also add optional emission of each context seen in the
function profiles along with its allocation type, size in bytes, and
whether it was matched. This information is emitted along with a hash of
the full stack context, to allow deduplication across modules for
allocations within header files.
Commit: 211edca559fe5b42858583837ffc895f44c8b945
https://github.com/llvm/llvm-project/commit/211edca559fe5b42858583837ffc895f44c8b945
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
Log Message:
-----------
[memprof] Fix a build error
Commit: 507b37248d2b63fb645bb7052908818b39fe8a6f
https://github.com/llvm/llvm-project/commit/507b37248d2b63fb645bb7052908818b39fe8a6f
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
Log Message:
-----------
[RISCV] Remove unused tablegen multiclass. NFC
Commit: 017e2400a96cc3a5491b6ac36ffe279a2b3138cf
https://github.com/llvm/llvm-project/commit/017e2400a96cc3a5491b6ac36ffe279a2b3138cf
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
Log Message:
-----------
[RISCV] Remove CarryIn and Constraint parameters from VPseudoTiedBinaryCarryIn. NFC
They were always passed the same values, 1 for CarryIn and "" for
Constraint.
Commit: c8eff8788f1052398176f3aca5aebbd12368920a
https://github.com/llvm/llvm-project/commit/c8eff8788f1052398176f3aca5aebbd12368920a
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
Log Message:
-----------
[RISCV] Rename VPseudoBinaryCarryIn to VPseudoBinaryCarry. NFC
It doesn't always have a CarryIn. One of the parameters is named
CarryIn. It always has CarryOut or a CarryIn and in some cases both.
Commit: 435dd9746107e13c2ad019be3bd34815f7d2360d
https://github.com/llvm/llvm-project/commit/435dd9746107e13c2ad019be3bd34815f7d2360d
Author: jimingham <jingham at apple.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M lldb/bindings/interface/SBCommandInterpreterRunOptionsDocstrings.i
M lldb/include/lldb/API/SBCommandInterpreterRunOptions.h
M lldb/include/lldb/Interpreter/CommandInterpreter.h
M lldb/source/API/SBCommandInterpreterRunOptions.cpp
M lldb/source/Interpreter/CommandInterpreter.cpp
M lldb/test/API/python_api/interpreter/TestRunCommandInterpreterAPI.py
Log Message:
-----------
Add AllowRepeats to SBCommandInterpreterRunOptions. (#94786)
This is useful if you have a transcript of a user session and want to
rerun those commands with RunCommandInterpreter. The same functionality
is also useful in testing.
I'm adding it primarily for the second reason. In a subsequent patch,
I'm adding the ability to Python based commands to provide their
"auto-repeat" command. Among other things, that will allow potentially
state destroying user commands to prevent auto-repeat. Testing this with
Shell or pexpect tests is not nearly as accurate or convenient as using
RunCommandInterpreter, but to use that I need to allow auto-repeat.
I think for consistency's sake, having interactive sessions always do
auto-repeats is the right choice, though that's a lightly held
opinion...
Commit: dc3f8c2f587e9647d1ce86426c2cf317c98f453c
https://github.com/llvm/llvm-project/commit/dc3f8c2f587e9647d1ce86426c2cf317c98f453c
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/lib/ProfileData/InstrProfWriter.cpp
M llvm/lib/ProfileData/MemProf.cpp
M llvm/unittests/ProfileData/MemProfTest.cpp
Log Message:
-----------
[memprof] Improve deserialization performance in V3 (#94787)
We call llvm::sort in a couple of places in the V3 encoding:
- We sort Frames by FrameIds for stability of the output.
- We sort call stacks in the dictionary order to maximize the length
of the common prefix between adjacent call stacks.
It turns out that we can improve the deserialization performance by
modifying the comparison functions -- without changing the format at
all. Both places take advantage of the histogram of Frames -- how
many times each Frame occurs in the call stacks.
- Frames: We serialize popular Frames in the descending order of
popularity for improved cache locality. For two equally popular
Frames, we break a tie by serializing one that tends to appear
earlier in call stacks. Here, "earlier" means a smaller index
within llvm::SmallVector<FrameId>.
- Call Stacks: We sort the call stacks to reduce the number of times
we follow pointers to parents during deserialization. Specifically,
instead of comparing two call stacks in the strcmp style -- integer
comparisons of FrameIds, we compare two FrameIds F1 and F2 with
Histogram[F1] < Histogram[F2] at respective indexes. Since we
encode from the end of the sorted list of call stacks, we tend to
encode popular call stacks first.
Since the two places use the same histogram, we compute it once and
share it in the two places.
Sorting the call stacks reduces the number of "jumps" by 74% when we
deserialize all MemProfRecords. The cycle and instruction counts go
down by 10% and 1.5%, respectively.
If we sort the Frames in addition to the call stacks, then the cycle
and instruction counts go down by 14% and 1.6%, respectively, relative
to the same baseline (that is, without this patch).
Commit: 96af11494158c38dafb64ffeaec3f371f37f0eb4
https://github.com/llvm/llvm-project/commit/96af11494158c38dafb64ffeaec3f371f37f0eb4
Author: csstormq <swust_xiaoqiangxu at 163.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
M llvm/test/Transforms/InstCombine/add.ll
M llvm/test/Transforms/InstCombine/sadd-with-overflow.ll
M llvm/test/Transforms/PhaseOrdering/AArch64/matrix-extract-insert.ll
Log Message:
-----------
[InstCombine] Preserve the nsw/nuw flags for (X | Op01C) + Op1C --> X + (Op01C + Op1C) (#94586)
This patch simplifies `sdiv` to `udiv` by preserving the `nsw` flag for
`(X | Op01C) + Op1C --> X + (Op01C + Op1C)` if the sum of `Op01C` and
`Op1C` will not overflow, and preserves the `nuw` flag unconditionally.
Alive2 Proofs (provided by @nikic): https://alive2.llvm.org/ce/z/nrdCZT,
https://alive2.llvm.org/ce/z/YnJHnH
Commit: 608fb463d20e70668cf4dd3f0c58bd3de91c42eb
https://github.com/llvm/llvm-project/commit/608fb463d20e70668cf4dd3f0c58bd3de91c42eb
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M lld/ELF/InputFiles.cpp
M lld/test/ELF/fatlto/fatlto.test
Log Message:
-----------
[lld] Discard SHT_LLVM_LTO sections in relocatable links (#92825)
So long as ld -r links using bitcode always result in an ELF object, and
not a merged bitcode object, the output form a relocatable link using
FatLTO objects should not have a .llvm.lto section. Prior to this, using
the object code sections would cause the bitcode section in the output
of a relocatable link to be corrupted, by concatenating all the
.llvm.lto
sections together.
This patch discards SHT_LLVM_LTO sections when not using
--fat-lto-objects, so that the relocatable ELF output won't contain
inalid bitcode.
Commit: 4c28844e3b1c0fd71c55e5954d21c6455d93068a
https://github.com/llvm/llvm-project/commit/4c28844e3b1c0fd71c55e5954d21c6455d93068a
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProf.h
Log Message:
-----------
[ProfileData] Use default member initialization (NFC) (#94817)
While we are at it, this patch changes the type of ValueCounts to
std:array<double, ...> so that we can use std::array:fill.
Identified with modernize-use-default-member-init.
Commit: 4cff8ef86fffab8e117aea580977d759754c9910
https://github.com/llvm/llvm-project/commit/4cff8ef86fffab8e117aea580977d759754c9910
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProf.h
Log Message:
-----------
[ProfileData] Use DenseMap::lookup (NFC) (#94818)
Commit: 18c67bf2658284431331da21c2ea6fe562434b1d
https://github.com/llvm/llvm-project/commit/18c67bf2658284431331da21c2ea6fe562434b1d
Author: Nico Weber <thakis at chromium.org>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Target/AArch64/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/Transforms/Vectorize/BUILD.gn
Log Message:
-----------
[gn build] Port 37e309f16354 (AArch64 loopvectorize)
Commit: 4e0ff05460c0b898bcc07fba8ad1e8de91706e6f
https://github.com/llvm/llvm-project/commit/4e0ff05460c0b898bcc07fba8ad1e8de91706e6f
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/include/llvm/ProfileData/MemProfReader.h
M llvm/lib/ProfileData/MemProf.cpp
Log Message:
-----------
[memprof] Remove extraneous memprof:: (NFC) (#94825)
Commit: 4d95850d052336a785651030eafa0b24651801a0
https://github.com/llvm/llvm-project/commit/4d95850d052336a785651030eafa0b24651801a0
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/misc/BUILD.gn
Log Message:
-----------
[gn build] Port c4f83a004bf3
Commit: 5422b5f0287d6f0920abf1b868985575885b4d5b
https://github.com/llvm/llvm-project/commit/5422b5f0287d6f0920abf1b868985575885b4d5b
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
Log Message:
-----------
[RISCV] Rename VPseudoVWALU_VV_VX_VI to VPseudoVWSLL. NFC
The scheduler class name is hardcoded in the class so its not a
general class.
Commit: 5fc1b82277dc4dd4ef133432ac8d8b1fa300d7c5
https://github.com/llvm/llvm-project/commit/5fc1b82277dc4dd4ef133432ac8d8b1fa300d7c5
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
Log Message:
-----------
[RISCV] Refactor VPseudoVROL and VPseudoVROR multiclasses to use inheritance. NFC
VPseudoVROR can inherit from VPseudoVROL. Adjust the names to
VPseudoVROT_VV_VX and VPseudoVROT_VV_VX_VI.
Commit: 7d203b1cdb004a609c25d676cdb06c2e9eff3a59
https://github.com/llvm/llvm-project/commit/7d203b1cdb004a609c25d676cdb06c2e9eff3a59
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
Log Message:
-----------
[RISCV] Rename VPseudoBinaryNoMaskTU->VPseudoBinaryNoMaskPolicy. NFC
These pseudoinstructions have a policy operand so calling them
TU is confusing.
Commit: 5e94163edb5ad763ff6a3f6c29935b9c6780060b
https://github.com/llvm/llvm-project/commit/5e94163edb5ad763ff6a3f6c29935b9c6780060b
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
Log Message:
-----------
[RISCV] Rename VPatBinarySwapped to VPatBinaryMSwapped. NFC
This class is most closely related to VPatBinaryM.
Commit: 84b3fe65f9a739cc22d031dd50e2552e2db3f479
https://github.com/llvm/llvm-project/commit/84b3fe65f9a739cc22d031dd50e2552e2db3f479
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
Log Message:
-----------
[RISCV] Flatten VPatBinaryW_VI_VWSLL and VPatBinaryW_VX_VWSLL into VPatBinaryW_VV_VX_VI_VWSLL. NFC
Commit: 81671fe0e21e25f31b8100297f829744e66df4bd
https://github.com/llvm/llvm-project/commit/81671fe0e21e25f31b8100297f829744e66df4bd
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
A .github/workflows/ci-post-commit-analyzer-run.py
A .github/workflows/ci-post-commit-analyzer.yml
Log Message:
-----------
[workflows] Add post-commit job that periodically runs the clang static analyzer (#94106)
This job will run once per day on the main branch, and for every commit
on a release branch. It currently only builds llvm, but could add more
sub-projects in the future.
OpenSSF Best Practices recommends running a static analyzer on software
before it is released:
https://www.bestpractices.dev/en/criteria/0#0.static_analysis
Commit: c0a1214c0c91a9a8df1a5758feebd9f1b99c6242
https://github.com/llvm/llvm-project/commit/c0a1214c0c91a9a8df1a5758feebd9f1b99c6242
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/LLVMEnums.td
Log Message:
-----------
[mlir] Handle the newly-added "Reserved" FramePointerKind for 1a5239251ead73ee57f4e2f7fc93433ac7cf18b1 (NFC)
/llvm-project/mlir/lib/Target/LLVMIR/ModuleImport.cpp:48:
tools/mlir/include/mlir/Dialect/LLVMIR/LLVMConversionEnumsFromLLVM.inc:158:11:
error: enumeration value 'Reserved' not handled in switch [-Werror,-Wswitch]
switch (value) {
^~~~~
1 error generated.
Commit: 221336c8e2b0d2d1979cdaf198ab0afcf930d795
https://github.com/llvm/llvm-project/commit/221336c8e2b0d2d1979cdaf198ab0afcf930d795
Author: Thurston Dang <thurston at google.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M compiler-rt/test/dfsan/release_shadow_space.c
Log Message:
-----------
[dfsan] Fix release_shadow_space.c (#94770)
DFSan's sscanf is incorrect
(https://github.com/llvm/llvm-project/issues/94769), which results in
erroneous matches when scraping RSS from /proc/maps. This patch works
around the issue by using strstr as a secondary check.
It also adds a loose validity check for the initial RSS measurement, to
guard against regressions in get_rss_kb().
Fixes https://github.com/llvm/llvm-project/issues/91287
Commit: 5d87ba1c1f584dfbd5afaf187099b43681b2206d
https://github.com/llvm/llvm-project/commit/5d87ba1c1f584dfbd5afaf187099b43681b2206d
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Sema/SemaHLSL.h
M clang/lib/CodeGen/CGHLSLRuntime.cpp
M clang/lib/Sema/SemaHLSL.cpp
Log Message:
-----------
[HLSL] Use llvm::Triple::EnvironmentType instead of HLSLShaderAttr::ShaderType (#93847)
`HLSLShaderAttr::ShaderType` enum is a subset of
`llvm::Triple::EnvironmentType`. We can use
`llvm::Triple::EnvironmentType` directly and avoid converting one enum
to another.
Commit: 5aabbf0602c48b67bb89fd37f95bf97c95ded488
https://github.com/llvm/llvm-project/commit/5aabbf0602c48b67bb89fd37f95bf97c95ded488
Author: Vladimir Vereschaka <vvereschaka at accesssoftek.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M clang/cmake/caches/CrossWinToARMLinux.cmake
Log Message:
-----------
[CMake] Update CMake cache file for the ARM/Aarch64 cross toolchain builds. NFC. (#94835)
* generate Clang configuration file with provided target sysroot
(TOOLCHAIN_TARGET_SYSROOTFS)
* explicitly pass provided target sysroot into the compiler-rt tests
configuration.
* added ability to configure a type of the build libraries -- shared or
static (TOOLCHAIN_SHARED_LIBS, default OFF)
In behalf of: #94284
Commit: 950605bdd8f34bfa9664e71224a23da769c870ec
https://github.com/llvm/llvm-project/commit/950605bdd8f34bfa9664e71224a23da769c870ec
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
Log Message:
-----------
[RISCV] Remove many ImmType parameters from tablegen classes. NFC
These usually have a single value that is always used. We can just
hardcode into the class body.
Commit: 2fa14fca4fa1ac626fa6fda9c322680bec4307d1
https://github.com/llvm/llvm-project/commit/2fa14fca4fa1ac626fa6fda9c322680bec4307d1
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
Log Message:
-----------
[RISCV] Remove unused defaults for sew paramters in tablegen. NFC
Also remove some unused Constraint paramters that appeared before
the sew parameter.
Commit: d3fc5cf24a93003ba963fc406aa1901a292d55f4
https://github.com/llvm/llvm-project/commit/d3fc5cf24a93003ba963fc406aa1901a292d55f4
Author: Shivam Gupta <shivam98.tkg at gmail.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M lldb/tools/debugserver/source/JSON.cpp
Log Message:
-----------
[lldb] Remove redundant c_str() calls in stream output (NFC) (#94839)
Passing the result of c_str() to a stream is slow and redundant. This
change removes unnecessary c_str() calls and uses the string object
directly.
Caught by cppcheck -
lldb/tools/debugserver/source/JSON.cpp:398:19: performance: Passing the
result of c_str() to a stream is slow and redundant. [stlcstrStream]
lldb/tools/debugserver/source/JSON.cpp:408:64: performance: Passing the
result of c_str() to a stream is slow and redundant. [stlcstrStream]
lldb/tools/debugserver/source/JSON.cpp:420:54: performance: Passing the
result of c_str() to a stream is slow and redundant. [stlcstrStream]
lldb/tools/debugserver/source/JSON.cpp:46:13: performance: Passing the
result of c_str() to a stream is slow and redundant. [stlcstrStream]
Fix #91212
Commit: 2e1788f8e265b97b4f19cfdeb515921dc9e317f6
https://github.com/llvm/llvm-project/commit/2e1788f8e265b97b4f19cfdeb515921dc9e317f6
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M lld/ELF/Arch/AArch64.cpp
M lld/ELF/Relocations.cpp
M lld/ELF/SyntheticSections.cpp
M lld/ELF/SyntheticSections.h
M lld/ELF/Writer.cpp
M lld/test/ELF/aarch64-reloc-pauth.s
Log Message:
-----------
Revert "[lld][AArch64][ELF][PAC] Support `.relr.auth.dyn` section" (#94843)
Reverts llvm/llvm-project#87635
On some corner cases, lld generated an object file with an empty REL
section with `sh_info` set to 0. This file triggers an lld error when
used as its input. See
https://github.com/llvm/llvm-project/pull/87635#issuecomment-2155318065
for details.
Commit: a294e896535e76db0279bd86d2d9202646d6345d
https://github.com/llvm/llvm-project/commit/a294e896535e76db0279bd86d2d9202646d6345d
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
Log Message:
-----------
[RISCV] Replace VPseudoBinaryFV_VV with VPseudoBinaryV_VV. NFC
Commit: 3f0f2cdcf51b5d87e616a3bf8bf73dacdfb134e2
https://github.com/llvm/llvm-project/commit/3f0f2cdcf51b5d87e616a3bf8bf73dacdfb134e2
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
Log Message:
-----------
[RISCV] Remove unnecessary setting of parameter with same default value. NFC
Commit: 68852812ff00d915bc96816a1454eb7d25cb0cb5
https://github.com/llvm/llvm-project/commit/68852812ff00d915bc96816a1454eb7d25cb0cb5
Author: Ben Barham <ben_barham at apple.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/GenericLoopInfoImpl.h
Log Message:
-----------
[Support] Do not use `llvm::size` in `getLoopPreheader` (#94540)
`BlockT *LoopBase<BlockT, LoopT>::getLoopPreheader()` was changed in
7243607867393a2b8ccd477e95e6f62d00f3206f to use `llvm::size` rather than
the checking that `child_begin() + 1 == child_end()`. `llvm::size`
requires that `std::distance` be O(1) and hence that clients support
random access. Use `llvm::hasSingleElement` instead.
Commit: 7f5d1f116477388067b1fd865e56eb3868993998
https://github.com/llvm/llvm-project/commit/7f5d1f116477388067b1fd865e56eb3868993998
Author: Jonas Paulsson <paulson1 at linux.ibm.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M llvm/cmake/config.guess
Log Message:
-----------
[SystemZ] Fix handling of triples.
Some Ubuntu builds were broken after 20d497c "[Driver] Remove unneeded
*-linux-gnu after D158183".
This patch by Fangrui Song fixes this with a handling in config.guess.
Commit: 6b3e0002dfe0029487fc2f8f11f5d5fdc07a5e11
https://github.com/llvm/llvm-project/commit/6b3e0002dfe0029487fc2f8f11f5d5fdc07a5e11
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M mlir/include/mlir/IR/PatternMatch.h
M mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
Log Message:
-----------
[mlir][Transforms][NFC] `GreedyPatternRewriteDriver`: Use composition instead of inheritance (#92785)
This commit simplifies the design of the `GreedyPatternRewriterDriver`
class. This class used to inherit from both `PatternRewriter` and
`RewriterBase::Listener` and then attached itself as a listener.
In the new design, the class has a `PatternRewriter` field instead of
inheriting from `PatternRewriter`, which is generally perferred in
object-oriented programming.
---------
Co-authored-by: Markus Böck <markus.boeck02 at gmail.com>
Commit: 9ddc014f1a588608af1f08051d084c5839a41a80
https://github.com/llvm/llvm-project/commit/9ddc014f1a588608af1f08051d084c5839a41a80
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M clang/lib/AST/ExprConstant.cpp
M clang/test/SemaCXX/complex-folding.cpp
Log Message:
-----------
[clang] Report erroneous floating point results in _Complex math (#90588)
Use handleFloatFloatBinOp to properly diagnose NaN results and divisions
by zero.
Fixes #84871
Commit: 25506f48643b65e48c6bd501855589fff8983933
https://github.com/llvm/llvm-project/commit/25506f48643b65e48c6bd501855589fff8983933
Author: Quentin Colombet <quentin.colombet at gmail.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/AMDGPU/clamp-modifier.ll
M llvm/test/CodeGen/AMDGPU/select-phi-s16-fp.ll
M llvm/test/CodeGen/ARM/arm-half-promote.ll
Log Message:
-----------
[SDISel][Combine] Constant fold FP16_TO_FP (#94790)
In some case, constant can survive early constant folding optimization
because they are hidden behind several layers of type changes.
E.g., consider the following sequence (extracted from the arm test that
this commit changes):
```
t2: v1f16 = BUILD_VECTOR ConstantFP:f16<APFloat(0)>
t4: v1f16 = insert_vector_elt t2, ConstantFP:f16<APFloat(0)>, Constant:i32<0>
t5: f16 = bitcast t4
t6: f32 = fp_extend t5
```
Because the constant (APFloat(0)) is hidden behind a <1 x ty> type, all
the constant folding that normally happen for scalar nodes when using
`SelectionDAG::getNode` are blocked.
As a result the constant manages to survive as an actual conversion
instruction down to the select phase:
```
t11: f32 = fp16_to_fp Constant:i32<0>
```
With the change in this patch, we try to do constant folding one more
time during dag combine, which in the motivating example result in the
much better sequence:
```
t7: ch = CopyToReg t0, Register:f32 %0, ConstantFP:f32<0.000000e+00>
```
Note: I'm sure we have this problem in a lot of other places. Generally
speaking I believe SDISel is not that good with <1 x ty> compared to
pure scalar. However, I only changed what I could easily test.
Commit: cac7821438f625d6c8a36dd9363f9acd3a3d93de
https://github.com/llvm/llvm-project/commit/cac7821438f625d6c8a36dd9363f9acd3a3d93de
Author: Marc Auberer <marc.auberer at chillibits.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M compiler-rt/lib/xray/tests/unit/function_call_trie_test.cpp
M compiler-rt/lib/xray/tests/unit/profile_collector_test.cpp
M compiler-rt/lib/xray/tests/unit/segmented_array_test.cpp
M compiler-rt/lib/xray/tests/unit/test_helpers.cpp
M compiler-rt/lib/xray/xray_fdr_logging.cpp
M compiler-rt/lib/xray/xray_function_call_trie.h
M compiler-rt/lib/xray/xray_profile_collector.cpp
M compiler-rt/lib/xray/xray_profiling.cpp
M compiler-rt/lib/xray/xray_segmented_array.h
M compiler-rt/test/tsan/custom_mutex4.cpp
M compiler-rt/test/tsan/custom_mutex5.cpp
Log Message:
-----------
[compiler-rt] Replace deprecated aligned_storage with aligned byte array (#94171)
`std::aligned_storage` is deprecated with C++23, see
[here](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1413r3.pdf).
This replaces the usages of `std::aligned_storage` within compiler-rt
with an aligned `std::byte` array.
I will provide patches for other subcomponents as well.
Commit: 82f6cde8a98064be8e17cf57fed170b7205bc184
https://github.com/llvm/llvm-project/commit/82f6cde8a98064be8e17cf57fed170b7205bc184
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M lld/test/ELF/aarch64-reloc-pauth.s
Log Message:
-----------
lld/test: Make sure removing %t at first
2e1788f8e265 reverted #94843. It was creating `%t` as a directory and
causes an error in incremental builds.
Commit: d4eed43badfcaba044b038b704b57ea130fd5e15
https://github.com/llvm/llvm-project/commit/d4eed43badfcaba044b038b704b57ea130fd5e15
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M .ci/generate-buildkite-pipeline-premerge
M .ci/monolithic-linux.sh
M clang/examples/PrintFunctionNames/PrintFunctionNames.cpp
Log Message:
-----------
Enable LLDB tests in Linux pre-merge CI (#94208)
This patch removes LLDB from a list of projects that are excluded from
building and testing on pre-merge CI on Linux.
Windows environment needs to be prepared in order to test LLDB
(https://github.com/llvm/llvm-project/pull/94208#issuecomment-2146256857),
but we don't have enough maintenance resources to do that at the moment.
Because LLDB has been in the list of projects that need to be tested on
Clang changes, this PR make this happen on Linux. This seems to be the
consensus in the discussion of this PR.
Commit: 540f68c44f4813c2c16f92ccbba5a15e8ff87c85
https://github.com/llvm/llvm-project/commit/540f68c44f4813c2c16f92ccbba5a15e8ff87c85
Author: DaPorkchop_ <daporkchop at daporkchop.net>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/test/Transforms/SimplifyCFG/RISCV/switch-of-powers-of-two.ll
M llvm/test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll
A llvm/test/Transforms/SimplifyCFG/X86/switch_to_lookup_table_big.ll
Log Message:
-----------
[SimplifyCFG] Don't use a mask for lookup tables generated from switches with an unreachable default case (#94468)
When transforming a switch with holes into a lookup table, we currently
use a mask to check if the current index is handled by the switch or if
it is a hole. If it is a hole, we skip loading from the lookup table.
Normally, if the switch's default case is unreachable this has no
impact, as the mask test gets optimized away by subsequent passes.
However, if the switch is large enough that the number of lookup table
entries exceeds the target's register width, we won't be able to fit all
the cases into a mask and the switch won't get transformed into a lookup
table. If we know that the switch's default case is unreachable, we know
that the mask is unnecessary and can skip constructing it entirely,
which allows us to transform the switch into a lookup table.
[Example](https://godbolt.org/z/7x7qfx8M1)
In the future, it might be interesting to consider allowing lookup table
masks to be more than one register large (e.g. using a constant array of
bit flags, similar to `std::bitset`).
Commit: 2d21851fd560bd7a8f5d5cce22dc1c4966dc4092
https://github.com/llvm/llvm-project/commit/2d21851fd560bd7a8f5d5cce22dc1c4966dc4092
Author: FantasqueX <fantasquex at gmail.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M llvm/examples/BrainF/BrainF.cpp
M llvm/examples/BrainF/BrainFDriver.cpp
Log Message:
-----------
[llvm] Remove useless headers in example BrainF (#93701)
Commit: d9507a3e10d1750d88dd518c14b9a9a62b9eefcd
https://github.com/llvm/llvm-project/commit/d9507a3e10d1750d88dd518c14b9a9a62b9eefcd
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
A llvm/test/CodeGen/X86/pr94824.ll
Log Message:
-----------
[DAGCombine] Fix miscompilation caused by PR94008 (#94850)
The pr description in #94008 mismatches with the code.
> + When VT is smaller than ShiftVT, it is safe to use trunc.
> + When VT is larger than ShiftVT, it is safe to use zext iff
`is_zero_poison` is true (i.e., `opcode == ISD::CTTZ_ZERO_UNDEF`). See
also the counterexample `src_shl_cttz2 -> tgt_shl_cttz2` in the alive2
proofs.
Closes #94824.
Commit: 645fb04a3389e69801d401e669eae9ee42d70217
https://github.com/llvm/llvm-project/commit/645fb04a3389e69801d401e669eae9ee42d70217
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/Reassociate.cpp
M llvm/test/Transforms/Reassociate/repeats.ll
Log Message:
-----------
[Reassociate] Use uint64_t for repeat count (#94232)
This patch relands #91469 and uses `uint64_t` for repeat count to avoid
a miscompilation caused by overflow
https://github.com/llvm/llvm-project/pull/91469#discussion_r1623925158.
Commit: bca7864ffe9045e896fe0ed087150af37778eb40
https://github.com/llvm/llvm-project/commit/bca7864ffe9045e896fe0ed087150af37778eb40
Author: AtariDreams <gfunni234 at gmail.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstrCompiler.td
M llvm/test/CodeGen/X86/atomic-fp.ll
Log Message:
-----------
[X86] Support ATOMIC_LOAD_FP_BINOP_MI for other binops (#87524)
Since we can bitcast and then do the same thing sub does in the table
section above, I figured it was trivial to add fsub, fmul, and fdiv.
Commit: c8708822784e285e151e99eb1d396380ba57100b
https://github.com/llvm/llvm-project/commit/c8708822784e285e151e99eb1d396380ba57100b
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProf.h
Log Message:
-----------
[memprof] Make Version3 officially available (#94837)
Commit: 38124fef7ec70cf73f3b86a03a287a88a16d7926
https://github.com/llvm/llvm-project/commit/38124fef7ec70cf73f3b86a03a287a88a16d7926
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M llvm/lib/ProfileData/InstrProfReader.cpp
Log Message:
-----------
[ProfileData] Use a range-based for loop (NFC) (#94856)
While I am at it, this patch adds const to a couple of places.
Commit: 6834e6ddd07a0a23b71dc4f1c1fdc3e9d35ceb41
https://github.com/llvm/llvm-project/commit/6834e6ddd07a0a23b71dc4f1c1fdc3e9d35ceb41
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProfReader.h
Log Message:
-----------
[memprof] Remove redundant virtual (NFC) (#94858)
'override' makes 'virtual' redundant.
Identified with modernize-use-override.
Commit: c8992fb7bf123345911c467a34dc3690aac0933d
https://github.com/llvm/llvm-project/commit/c8992fb7bf123345911c467a34dc3690aac0933d
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M libcxx/include/__type_traits/promote.h
Log Message:
-----------
[libc++][NFC] Simplify the implementation of `__promote` (#81379)
This depends on enabling the use of extensions.
Commit: bafff3e5316a33d6f016f6e9d6eb02020ad603b6
https://github.com/llvm/llvm-project/commit/bafff3e5316a33d6f016f6e9d6eb02020ad603b6
Author: Sam Elliott <quic_aelliott at quicinc.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfo.td
M llvm/test/MC/RISCV/rvi-aliases-valid.s
Log Message:
-----------
[RISCV][MC] Implicit 0-offset aliases for JR/JALR (#94688)
This broadly follows how in almost all places, we accept `(<reg>)` to
mean `0(<reg>)`, but I think these are the first like this for Jumps
rather than Loads/Stores. These are accepted by binutils but not by
LLVM: https://godbolt.org/z/GK7MGE7q7
Commit: 80d00bf811cc3361c78e55243f8c5aa8deffdb0a
https://github.com/llvm/llvm-project/commit/80d00bf811cc3361c78e55243f8c5aa8deffdb0a
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProfReader.h
M llvm/include/llvm/ProfileData/SampleProfWriter.h
Log Message:
-----------
[ProfileData] Use default member initialization (NFC) (#94860)
Identified with modernize-use-default-member-init.
Commit: 1e92ad41d8ef46fa3c628b05ba8ed481fedc17bd
https://github.com/llvm/llvm-project/commit/1e92ad41d8ef46fa3c628b05ba8ed481fedc17bd
Author: Shivam Gupta <shivam98.tkg at gmail.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M lldb/source/API/SBBreakpoint.cpp
M lldb/source/API/SBTarget.cpp
M lldb/source/Breakpoint/Breakpoint.cpp
M lldb/source/Breakpoint/BreakpointIDList.cpp
Log Message:
-----------
[lldb] Use const reference for range variables to improve performance (NFC) (#94840)
Cppcheck recommends using a const reference for range variables in a
for-each loop.
This avoids unnecessary copying of elements, improving performance.
Caught by cppcheck -
lldb/source/API/SBBreakpoint.cpp:717:22: performance: Range variable
'name' should be declared as const reference. [iterateByValue]
lldb/source/API/SBTarget.cpp:1150:15: performance: Range variable 'name'
should be declared as const reference. [iterateByValue]
lldb/source/Breakpoint/Breakpoint.cpp:888:26: performance: Range
variable 'name' should be declared as const reference. [iterateByValue]
lldb/source/Breakpoint/BreakpointIDList.cpp:262:26: performance: Range
variable 'name' should be declared as const reference. [iterateByValue]
Fix #91213
Fix #91217
Fix #91219
Fix #91220
Commit: 263be9fb0085001630e0431782a0ac0da7ab58ae
https://github.com/llvm/llvm-project/commit/263be9fb0085001630e0431782a0ac0da7ab58ae
Author: Job Henandez Lara <hj93 at protonmail.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/arm/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/config/windows/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/math/CMakeLists.txt
A libc/src/math/fmul.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/fmul.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/FMulTest.h
A libc/test/src/math/smoke/fmul_test.cpp
Log Message:
-----------
[libc][math][c23] fmul correcly rounded to all rounding modes (#91537)
This is an implementation of floating point multiplication:
It will consist of
- `double x double -> float`
Commit: 44aecca020317fc163fc6f253b03d07828f1d231
https://github.com/llvm/llvm-project/commit/44aecca020317fc163fc6f253b03d07828f1d231
Author: Hendrik Hübner <117831077+HendrikHuebner at users.noreply.github.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/math/CMakeLists.txt
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/remquof128.cpp
A libc/src/math/remquof128.h
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/remquof128_test.cpp
Log Message:
-----------
[libc][math][C23] Implemented remquof128 function (#94809)
Added remquof128 function. Closes #94312
Commit: a43d999d1476c8ab549fb9039dccb03217ee1053
https://github.com/llvm/llvm-project/commit/a43d999d1476c8ab549fb9039dccb03217ee1053
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/induction-costs.ll
M llvm/test/Transforms/LoopVectorize/X86/fixed-order-recurrence.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence.ll
M llvm/test/Transforms/LoopVectorize/scalable-first-order-recurrence.ll
Log Message:
-----------
[VPlan] Check if only first part is used for all per-part VPInsts.
Apply the onlyFirstPartUsed logic generally to all per-part
VPInstructions. Note that the test changes remove the second part
of an unsued first-order recurrence splice.
Commit: 643e4718af3124964cd0f14036bb6fba49e338f7
https://github.com/llvm/llvm-project/commit/643e4718af3124964cd0f14036bb6fba49e338f7
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVCallLowering.cpp
M llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
A llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/calling-conv-half.ll
Log Message:
-----------
[RISCV][GISel] Add calling convention support for half (#94110)
This patch adds initial support to the half type on RISC-V.
Commit: 998c33e5fccd421a910c0a12689b35daf73e1856
https://github.com/llvm/llvm-project/commit/998c33e5fccd421a910c0a12689b35daf73e1856
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/induction-costs.ll
M llvm/test/Transforms/LoopVectorize/AArch64/loop-vectorization-factors.ll
M llvm/test/Transforms/LoopVectorize/X86/fixed-order-recurrence.ll
M llvm/test/Transforms/LoopVectorize/X86/pr72969.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-chains.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-multiply-recurrences.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence.ll
M llvm/test/Transforms/LoopVectorize/scalable-first-order-recurrence.ll
Log Message:
-----------
[VPlan] Mark FirstOrderRecurrenceSplice as not having side-effects.
Now that FOR exit and resume value creation is explicitly modeled in
VPlan (05e1b5340b0caf1, 07b330132c0b) it doesn't depend on the first
order recurrence splice being preserved and it can now be marked as not
having side-effects. This allows removal of first-order-recurrence-splce
if the FOR is only used in the exit or as scalar ph resume value.
Commit: e62c2146aa9a195c219b3585eb36c6987857c1bb
https://github.com/llvm/llvm-project/commit/e62c2146aa9a195c219b3585eb36c6987857c1bb
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M llvm/lib/ProfileData/InstrProfReader.cpp
Log Message:
-----------
[ProfileData] Simplify calls to readNext in readBinaryIdsInternal (NFC) (#94862)
readNext has two variants:
- readNext<uint64_t, endian>(ptr)
- readNext<uint64_t>(ptr, endian)
This patch uses the latter to simplify readBinaryIdsInternal. Both
forms default to unaligned.
Commit: febfbff6cde47b1632424a4c5192a4aae79892c5
https://github.com/llvm/llvm-project/commit/febfbff6cde47b1632424a4c5192a4aae79892c5
Author: Ivan Butygin <ivan.butygin at gmail.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M mlir/tools/mlir-opt/mlir-opt.cpp
Log Message:
-----------
[mlir][nfc] Sort test passes registration (#94201)
Commit: c2d68c42a44853dccf8df736ed9be85a8be3ef70
https://github.com/llvm/llvm-project/commit/c2d68c42a44853dccf8df736ed9be85a8be3ef70
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/shift.ll
Log Message:
-----------
[InstCombine] Add tests for propagating flags when folding consecutative shifts; NFC
Commit: 2900d035f45fa04078ce9b1ec1e980b113f16013
https://github.com/llvm/llvm-project/commit/2900d035f45fa04078ce9b1ec1e980b113f16013
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
M llvm/test/Transforms/InstCombine/shift.ll
Log Message:
-----------
[InstCombine] Propagate flags when folding consecutative shifts
When we fold `(shift (shift C0, x), C1)` we can propagate flags that
are common to both shifts.
Proofs: https://alive2.llvm.org/ce/z/LkEzXD
Closes #94872
Commit: 2e482b25329433a61fee2e22f4ea00775e7e7ec7
https://github.com/llvm/llvm-project/commit/2e482b25329433a61fee2e22f4ea00775e7e7ec7
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang][NFC] Update CWG issues list
Commit: dcb71c06c7b059e313f22e46bc9c41343a03f1eb
https://github.com/llvm/llvm-project/commit/dcb71c06c7b059e313f22e46bc9c41343a03f1eb
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCSection.h
M llvm/lib/MC/MCContext.cpp
M llvm/lib/MC/MCFragment.cpp
Log Message:
-----------
[MC] Simplify Sec.getFragmentList().insert(Sec.begin(), F). NFC
Decrease the uses of getFragmentList() to make it easier to change the
fragment list representation.
Commit: f20d8b9dcb07188813f52b9be308325f74154196
https://github.com/llvm/llvm-project/commit/f20d8b9dcb07188813f52b9be308325f74154196
Author: Koakuma <koachan at protonmail.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M llvm/lib/Target/Sparc/SparcInstrAliases.td
M llvm/test/MC/Sparc/sparcv9-instructions.s
Log Message:
-----------
[SPARC][IAS] Add GNU extension for `addc`
Transform `addc imm, %rs, %rd` into `addc %rs, imm, %rd`.
This is used in some GNU and Linux code.
Reviewers: s-barannikov, rorth, jrtc27, brad0
Reviewed By: s-barannikov
Pull Request: https://github.com/llvm/llvm-project/pull/94245
Commit: 44f93578d2508d7d67f7ca3bd1edf2393c19d11c
https://github.com/llvm/llvm-project/commit/44f93578d2508d7d67f7ca3bd1edf2393c19d11c
Author: Koakuma <koachan at protonmail.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M llvm/lib/Target/Sparc/MCTargetDesc/SparcMCExpr.cpp
M llvm/test/MC/Sparc/sparc-relocations.s
Log Message:
-----------
[SPARC][IAS] Add support for %uhi and %ulo extensions
This adds support for GNU %uhi and %ulo extensions.
Those resolve to the same relocations as %hh and %hm.
Reviewers:
cyndyishida, dcci, brad0, jrtc27, aaupov, Endilll, rorth, maksfb, #reviewers-libcxxabi, s-barannikov, rafaelauler, ayermolo, #reviewers-libunwind, #reviewers-libcxx, daniel-grumberg, tbaederr
Reviewed By: s-barannikov
Pull Request: https://github.com/llvm/llvm-project/pull/94246
Commit: 715a5d8d93a8383e50e9400303313288c0e5b0de
https://github.com/llvm/llvm-project/commit/715a5d8d93a8383e50e9400303313288c0e5b0de
Author: Koakuma <koachan at protonmail.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M llvm/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
M llvm/test/MC/Sparc/sparcv9-instructions.s
Log Message:
-----------
[SPARC][IAS] Add aliases for %asr20-21 as defined in JPS1
This adds %set_softint and %clear_softint alias for %asr20 and %asr21
as defined in JPS1.
Reviewers: jrtc27, brad0, s-barannikov, rorth
Reviewed By: s-barannikov
Pull Request: https://github.com/llvm/llvm-project/pull/94247
Commit: cc8fa1e9206aa69197c891ca2f17b64340c5a6aa
https://github.com/llvm/llvm-project/commit/cc8fa1e9206aa69197c891ca2f17b64340c5a6aa
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/EvalEmitter.cpp
M clang/lib/AST/Interp/EvaluationResult.cpp
Log Message:
-----------
[clang][Interp][NFC] Refactor lvalue-to-rvalue conversion code
Really perform the conversion always if the flag is set and don't make
it dependent on whether we're checking the result for initialization.
Commit: d211abc625cc7bbc8616885bb8eaf4a69a9a3853
https://github.com/llvm/llvm-project/commit/d211abc625cc7bbc8616885bb8eaf4a69a9a3853
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/readability/MathMissingParenthesesCheck.cpp
M clang-tools-extra/test/clang-tidy/checkers/readability/math-missing-parentheses.cpp
Log Message:
-----------
[clang-tidy] Ignore non-math operators in readability-math-missing-parentheses (#94654)
Do not emit warnings for non-math operators.
Closes #92516
Commit: 338cbfef03e0ab58d7b52f3301928c58b194a1b4
https://github.com/llvm/llvm-project/commit/338cbfef03e0ab58d7b52f3301928c58b194a1b4
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M mlir/include/mlir/Transforms/DialectConversion.h
Log Message:
-----------
[mlir][Transforms][NFC] Improve dialect conversion documentation (#94736)
Commit: 32b70430c3a62c101e41243f8b1e116820ab6326
https://github.com/llvm/llvm-project/commit/32b70430c3a62c101e41243f8b1e116820ab6326
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M llvm/test/CodeGen/ARM/vector-store.ll
Log Message:
-----------
[ARM] vector-store.ll - add big-endian test coverage
Based on feedback on #94863
Commit: e329bfcb033910fc340b6da5a6307003ac6b2b01
https://github.com/llvm/llvm-project/commit/e329bfcb033910fc340b6da5a6307003ac6b2b01
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/readability/ImplicitBoolConversionCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
A clang-tools-extra/test/clang-tidy/checkers/readability/implicit-bool-conversion-cxx20.cpp
Log Message:
-----------
[clang-tidy] Ignore implicit functions in readability-implicit-bool-conversion (#94512)
Ignore implicit declarations and defaulted functions. Helps with issues
in generated code like, C++
spaceship operator.
Closes #93409
Commit: 31b84d459cea6bde7f8cb232e70ffb0cf8e5d1ed
https://github.com/llvm/llvm-project/commit/31b84d459cea6bde7f8cb232e70ffb0cf8e5d1ed
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/modernize/UseDesignatedInitializersCheck.cpp
M clang-tools-extra/clang-tidy/modernize/UseDesignatedInitializersCheck.h
M clang-tools-extra/docs/clang-tidy/checks/modernize/use-designated-initializers.rst
M clang-tools-extra/test/clang-tidy/checkers/modernize/use-designated-initializers.cpp
Log Message:
-----------
[clang-tidy] Extend modernize-use-designated-initializers with new options (#94651)
Add StrictCStandardCompliance and StrictCppStandardCompliance options
that default to true.
Closes #83732
Commit: b55fb567e49214b47b3f2e1c9b8f39a64d620ded
https://github.com/llvm/llvm-project/commit/b55fb567e49214b47b3f2e1c9b8f39a64d620ded
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/MultiLevelImplicitPointerConversionCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/bugprone/multi-level-implicit-pointer-conversion.cpp
Log Message:
-----------
[clang-tidy] Improve bugprone-multi-level-implicit-pointer-conversion (#94524)
Ignore implicit pointer conversions that are part of a cast expression
Closes #93959
Commit: 46d94bd0ad0c22a686ea71f6e7d0494f74c22f1a
https://github.com/llvm/llvm-project/commit/46d94bd0ad0c22a686ea71f6e7d0494f74c22f1a
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstrCompiler.td
M llvm/lib/Target/X86/X86InstrMisc.td
Log Message:
-----------
[X86] Trim trailing whitespace to reduce diff in #94845
Commit: 53fecef1ec5cb502900f82b07036b28cb0fb9f0f
https://github.com/llvm/llvm-project/commit/53fecef1ec5cb502900f82b07036b28cb0fb9f0f
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/test/CodeGen/ARM/vector-store.ll
M llvm/test/CodeGen/X86/vshift-6.ll
Log Message:
-----------
[DAG] FoldConstantArithmetic - allow binop folding to work with differing bitcasted constants (#94863)
We currently only constant fold binop(bitcast(c1),bitcast(c2)) if c1 and c2 are both bitcasted and from the same type.
This patch relaxes this assumption to allow the constant build vector to originate from different types (and allow cases where only one operand was bitcasted).
We still ensure we bitcast back to one of the original types if both operand were bitcasted (we assume that if we have a non-bitcasted constant then its legal to keep using that type).
Commit: a284bdb31146160352da905a888da738f2661b50
https://github.com/llvm/llvm-project/commit/a284bdb31146160352da905a888da738f2661b50
Author: David Green <david.green at arm.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/APFloat.h
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/AArch64/fcvt-fixed.ll
M llvm/test/CodeGen/AArch64/fdiv-const.ll
M llvm/test/CodeGen/AArch64/frem-power2.ll
M llvm/test/CodeGen/AMDGPU/uniform-phi-with-undef.ll
M llvm/test/CodeGen/ARM/frem-power2.ll
M llvm/test/CodeGen/ARM/vdiv_combine.ll
M llvm/test/CodeGen/X86/avx512-broadcast-unfold.ll
M llvm/test/CodeGen/X86/change-unsafe-fp-math.ll
Log Message:
-----------
[DAG] Fold fdiv X, c2 -> fmul X, 1/c2 without AllowReciprocal if exact (#93882)
This moves the combine of fdiv by constant to fmul out of an
'if (Options.UnsafeFPMath || Flags.hasAllowReciprocal()' block,
so that it triggers if the divide is exact. An extra check for
Recip.isDenormal() is added as multiple places make reference
to it being unsafe or slow on certain platforms.
Commit: 2f4ebf85457e7246ffce312fb443b4ae78172f01
https://github.com/llvm/llvm-project/commit/2f4ebf85457e7246ffce312fb443b4ae78172f01
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/pr73894.ll
M llvm/test/Transforms/LoopVectorize/AArch64/scalable-strict-fadd.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-unroll.ll
Log Message:
-----------
[VPlan] Handle more cases in VPInstruction::onlyFirstPartUsed.
Handle binary ops and a few other instructions in onlyFirstPartUsed;
they only use the first part if they themselves only have their first
part used.
Commit: cb8e9360d821f4fb03d571940a7e09d750d2cf2f
https://github.com/llvm/llvm-project/commit/cb8e9360d821f4fb03d571940a7e09d750d2cf2f
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/complex.cpp
Log Message:
-----------
[clang][Interp] Implement ~ operator for complex values
Commit: 69cd2d288d465b01a120d7544e99061921c66c28
https://github.com/llvm/llvm-project/commit/69cd2d288d465b01a120d7544e99061921c66c28
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/complex.cpp
Log Message:
-----------
[clang][Interp] Handle __extension__ for complex values
Commit: 5bb9c08d8895e9d5122411c8612521e9a84220b4
https://github.com/llvm/llvm-project/commit/5bb9c08d8895e9d5122411c8612521e9a84220b4
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/SemaCXX/for-range-examples.cpp
M clang/test/SemaCXX/integer-overflow.cpp
Log Message:
-----------
[clang][Interp] Reject compound assign operators pre-C++14
Commit: cc19374afa55b6ccafb07ef0cb6550f4222bf99f
https://github.com/llvm/llvm-project/commit/cc19374afa55b6ccafb07ef0cb6550f4222bf99f
Author: Andreas Jonson <andjo403 at hotmail.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
M llvm/test/CodeGen/AMDGPU/amdgpu.private-memory.ll
M llvm/test/CodeGen/AMDGPU/private-memory-r600.ll
M llvm/test/CodeGen/AMDGPU/promote-alloca-strip-abi-opt-attributes.ll
M llvm/test/CodeGen/AMDGPU/promote-alloca-to-lds-icmp.ll
Log Message:
-----------
[AMDGPU] Swap range metadata to attribute for workitem id. (#94871)
Swap out range metadata to range attribute for calls to be able to
deprecate range metadata on calls in the future.
Commit: 05aebb3df516b2d22748c30245694512880592c3
https://github.com/llvm/llvm-project/commit/05aebb3df516b2d22748c30245694512880592c3
Author: Koakuma <koachan at protonmail.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M .ci/generate-buildkite-pipeline-premerge
M .ci/monolithic-linux.sh
M .ci/monolithic-windows.sh
M .github/new-prs-labeler.yml
A .github/workflows/ci-post-commit-analyzer-run.py
A .github/workflows/ci-post-commit-analyzer.yml
M .github/workflows/containers/github-action-ci/stage1.Dockerfile
M .github/workflows/llvm-bugs.yml
M .github/workflows/release-binaries.yml
A .github/workflows/restart-preempted-libcxx-jobs.yaml
M bolt/CMakeLists.txt
M bolt/cmake/modules/AddBOLT.cmake
M bolt/docs/BAT.md
M bolt/docs/CMakeLists.txt
M bolt/docs/CommandLineArgumentReference.md
A bolt/docs/generate_doc.py
M bolt/include/bolt/Core/BinaryBasicBlock.h
M bolt/include/bolt/Core/BinaryContext.h
M bolt/include/bolt/Core/BinarySection.h
M bolt/include/bolt/Core/DIEBuilder.h
M bolt/include/bolt/Core/DebugNames.h
M bolt/include/bolt/Core/FunctionLayout.h
A bolt/include/bolt/Core/GDBIndex.h
M bolt/include/bolt/Core/MCPlusBuilder.h
M bolt/include/bolt/Passes/BinaryPasses.h
M bolt/include/bolt/Passes/MCF.h
M bolt/include/bolt/Passes/StokeInfo.h
M bolt/include/bolt/Profile/BoltAddressTranslation.h
M bolt/include/bolt/Profile/DataAggregator.h
M bolt/include/bolt/Rewrite/MetadataManager.h
M bolt/include/bolt/Rewrite/MetadataRewriter.h
M bolt/include/bolt/Rewrite/MetadataRewriters.h
M bolt/include/bolt/Rewrite/RewriteInstance.h
M bolt/lib/Core/BinaryContext.cpp
M bolt/lib/Core/BinaryEmitter.cpp
M bolt/lib/Core/BinaryFunction.cpp
M bolt/lib/Core/CMakeLists.txt
M bolt/lib/Core/DIEBuilder.cpp
M bolt/lib/Core/DebugNames.cpp
M bolt/lib/Core/DynoStats.cpp
M bolt/lib/Core/FunctionLayout.cpp
A bolt/lib/Core/GDBIndex.cpp
M bolt/lib/Passes/BinaryFunctionCallGraph.cpp
M bolt/lib/Passes/BinaryPasses.cpp
M bolt/lib/Passes/CacheMetrics.cpp
M bolt/lib/Passes/IdenticalCodeFolding.cpp
M bolt/lib/Passes/Inliner.cpp
M bolt/lib/Passes/MCF.cpp
M bolt/lib/Passes/ValidateMemRefs.cpp
M bolt/lib/Passes/VeneerElimination.cpp
M bolt/lib/Profile/BoltAddressTranslation.cpp
M bolt/lib/Profile/CMakeLists.txt
M bolt/lib/Profile/DataAggregator.cpp
M bolt/lib/Profile/DataReader.cpp
M bolt/lib/Profile/StaleProfileMatching.cpp
M bolt/lib/Profile/YAMLProfileReader.cpp
M bolt/lib/Profile/YAMLProfileWriter.cpp
M bolt/lib/Rewrite/BinaryPassManager.cpp
A bolt/lib/Rewrite/BuildIDRewriter.cpp
M bolt/lib/Rewrite/CMakeLists.txt
M bolt/lib/Rewrite/DWARFRewriter.cpp
M bolt/lib/Rewrite/LinuxKernelRewriter.cpp
M bolt/lib/Rewrite/MetadataManager.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
M bolt/lib/Target/RISCV/RISCVMCPlusBuilder.cpp
M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
M bolt/lib/Utils/CommandLineOpts.cpp
M bolt/runtime/instr.cpp
M bolt/test/AArch64/Inputs/array_end.lld_script
M bolt/test/AArch64/lit.local.cfg
M bolt/test/CMakeLists.txt
R bolt/test/Inputs/lsda.ldscript
A bolt/test/X86/Inputs/dwarf4-df-input-lowpc-ranges-other.s
A bolt/test/X86/Inputs/dwarf4-subprogram-multiple-ranges-other.s
A bolt/test/X86/Inputs/dwarf5-df-input-lowpc-ranges-other.s
A bolt/test/X86/Inputs/dwarf5-subprogram-multiple-ranges-other.s
M bolt/test/X86/addr32.s
M bolt/test/X86/asm-func-debug.test
M bolt/test/X86/avx512-trap.test
M bolt/test/X86/bb-with-two-tail-calls.s
M bolt/test/X86/block-reordering.test
M bolt/test/X86/bolt-address-translation-internal-call.test
M bolt/test/X86/bolt-address-translation-yaml.test
M bolt/test/X86/bolt-address-translation.test
M bolt/test/X86/branch-data.test
M bolt/test/X86/broken_dynsym.test
M bolt/test/X86/bug-function-layout-execount.s
M bolt/test/X86/bug-reorder-bb-jrcxz.s
M bolt/test/X86/calculate-emitted-block-size.s
M bolt/test/X86/call-zero.s
M bolt/test/X86/cdsplit-call-scale.s
M bolt/test/X86/cdsplit-symbol-names.s
M bolt/test/X86/cfi-expr-rewrite.s
M bolt/test/X86/cfi-instrs-count.s
M bolt/test/X86/cfi-instrs-reordered.s
M bolt/test/X86/checkvma-large-section.test
M bolt/test/X86/ctc-and-unreachable.test
M bolt/test/X86/debug-fission-single-convert.s
M bolt/test/X86/debug-fission-single.s
M bolt/test/X86/double-jump.test
M bolt/test/X86/dwarf-handle-visit-loclist-error.s
M bolt/test/X86/dwarf-test-df-logging.test
M bolt/test/X86/dwarf3-lowpc-highpc-convert.s
M bolt/test/X86/dwarf4-cross-cu-backward-different-abbrev.test
M bolt/test/X86/dwarf4-cross-cu-forward-different-abbrev.test
M bolt/test/X86/dwarf4-cross-cu-loclist-dwarf4-loclist--dwarf5-loclist.test
M bolt/test/X86/dwarf4-df-basic.test
M bolt/test/X86/dwarf4-df-call-site-change-low-pc.test
M bolt/test/X86/dwarf4-df-change-in-dw-op-gnu-addr-index-main.test
M bolt/test/X86/dwarf4-df-do-no-convert-low-pc-high-pc-to-ranges.test
M bolt/test/X86/dwarf4-df-dualcu-loclist.test
M bolt/test/X86/dwarf4-df-dualcu.test
M bolt/test/X86/dwarf4-df-inlined-subroutine-lowpc-0.test
A bolt/test/X86/dwarf4-df-input-lowpc-ranges-cus.test
M bolt/test/X86/dwarf4-df-input-lowpc-ranges.test
M bolt/test/X86/dwarf4-df-no-base.test
M bolt/test/X86/dwarf4-do-no-convert-low-pc-high-pc-to-ranges.test
M bolt/test/X86/dwarf4-duplicate-types.test
M bolt/test/X86/dwarf4-ftypes-dwo-input-dwp-output.test
M bolt/test/X86/dwarf4-ftypes-dwo-mono-input-dwp-output.test
M bolt/test/X86/dwarf4-ftypes-dwp-input-dwo-output.test
M bolt/test/X86/dwarf4-ftypes-dwp-input-dwp-output.test
M bolt/test/X86/dwarf4-gdb-index-types-gdb-generated.test
M bolt/test/X86/dwarf4-gdb-index-types-lld-generated.test
M bolt/test/X86/dwarf4-invalid-reference-die-offset-no-internal-dwarf-error.s
M bolt/test/X86/dwarf4-invalid-reference-die-offset-with-internal-dwarf-error-cant-parse-die.s
M bolt/test/X86/dwarf4-invalid-reference-die-offset-with-internal-dwarf-error-invalid-die.s
M bolt/test/X86/dwarf4-sibling.s
M bolt/test/X86/dwarf4-size-0-inlined_subroutine.s
M bolt/test/X86/dwarf4-split-dwarf-no-address.test
M bolt/test/X86/dwarf4-split-gdb-index-types-gdb-generated.test
A bolt/test/X86/dwarf4-subprogram-multiple-ranges-cus.test
M bolt/test/X86/dwarf4-subprogram-multiple-ranges.test
M bolt/test/X86/dwarf4-subprogram-single-gc-ranges.test
M bolt/test/X86/dwarf4-subprogram-single-ranges.test
M bolt/test/X86/dwarf4-types-dwarf5-types.test
M bolt/test/X86/dwarf4-types-dwarf5.test
M bolt/test/X86/dwarf4-types-forward-backward-cross-reference.s
M bolt/test/X86/dwarf4-types.test
M bolt/test/X86/dwarf5-addr-section-reuse.s
M bolt/test/X86/dwarf5-call-pc-function-null-check.test
M bolt/test/X86/dwarf5-call-pc.test
M bolt/test/X86/dwarf5-cu-no-debug-addr.test
M bolt/test/X86/dwarf5-debug-info-dwarf4-debug-line.s
M bolt/test/X86/dwarf5-debug-line-not-modified.test
M bolt/test/X86/dwarf5-debug-line.s
M bolt/test/X86/dwarf5-debug-loclists.s
A bolt/test/X86/dwarf5-debug-names-class-type-decl.s
A bolt/test/X86/dwarf5-debug-names-enumeration-type-decl.s
A bolt/test/X86/dwarf5-debug-names-skip-forward-decl.s
A bolt/test/X86/dwarf5-debug-names-structure-type-decl.s
M bolt/test/X86/dwarf5-df-call-site-change-low-pc.test
M bolt/test/X86/dwarf5-df-change-in-dw-op-gnu-addr-index-main.test
M bolt/test/X86/dwarf5-df-cu-function-gc.test
M bolt/test/X86/dwarf5-df-dualcu-loclist.test
M bolt/test/X86/dwarf5-df-dualcu.test
M bolt/test/X86/dwarf5-df-inlined-subroutine-gc-sections-range.test
M bolt/test/X86/dwarf5-df-inlined-subroutine-range-0.test
A bolt/test/X86/dwarf5-df-input-lowpc-ranges-cus.test
M bolt/test/X86/dwarf5-df-input-lowpc-ranges.test
M bolt/test/X86/dwarf5-df-mono-dualcu.test
M bolt/test/X86/dwarf5-df-output-dir-same-name.test
M bolt/test/X86/dwarf5-df-types-dup-dwp-input.test
M bolt/test/X86/dwarf5-do-no-convert-low-pc-high-pc-to-ranges.test
M bolt/test/X86/dwarf5-dwarf4-gdb-index-types-gdb-generated-gdb11.test
M bolt/test/X86/dwarf5-dwarf4-gdb-index-types-gdb-generated-gdb9.test
M bolt/test/X86/dwarf5-dwarf4-gdb-index-types-lld-generated.test
M bolt/test/X86/dwarf5-dwarf4-monolithic.test
M bolt/test/X86/dwarf5-dwarf4-types-backward-forward-cross-reference.test
M bolt/test/X86/dwarf5-ftypes-dwo-mono-input-dwp-output.test
M bolt/test/X86/dwarf5-ftypes-dwp-input-dwo-output.test
M bolt/test/X86/dwarf5-gdb-index-types-gdb-generated-gdb11.test
M bolt/test/X86/dwarf5-gdb-index-types-gdb-generated-gdb9.test
M bolt/test/X86/dwarf5-gdb-index-types-lld-generated.test
M bolt/test/X86/dwarf5-locaddrx.test
M bolt/test/X86/dwarf5-locexpr-addrx.s
M bolt/test/X86/dwarf5-locexpr-referrence.test
M bolt/test/X86/dwarf5-loclist-offset-form.test
M bolt/test/X86/dwarf5-lowpc-highpc-convert.s
M bolt/test/X86/dwarf5-multiple-dw-op-addrx-locexpr.s
M bolt/test/X86/dwarf5-one-loclists-two-bases.test
M bolt/test/X86/dwarf5-rangeoffset-to-rangeindex.s
M bolt/test/X86/dwarf5-return-pc-form-addr.test
M bolt/test/X86/dwarf5-return-pc.test
M bolt/test/X86/dwarf5-shared-str-offset-base.s
M bolt/test/X86/dwarf5-split-dwarf4-monolithic.test
M bolt/test/X86/dwarf5-split-gdb-index-types-gdb-generated.test
A bolt/test/X86/dwarf5-subprogram-multiple-ranges-cus.test
M bolt/test/X86/dwarf5-subprogram-multiple-ranges.test
M bolt/test/X86/dwarf5-subprogram-single-gc-ranges.test
M bolt/test/X86/dwarf5-subprogram-single-ranges.test
M bolt/test/X86/dwarf5-two-loclists.test
M bolt/test/X86/dwarf5-two-rnglists.test
M bolt/test/X86/dwarf5-types-backward-cross-reference.s
M bolt/test/X86/dwarf5-types-forward-cross-reference.s
M bolt/test/X86/dynrelocs.s
M bolt/test/X86/exceptions-args.test
M bolt/test/X86/fallthrough-to-noop.test
M bolt/test/X86/false-jump-table.s
M bolt/test/X86/fatal-error.s
M bolt/test/X86/fragment-lite-reverse.s
M bolt/test/X86/fragment-lite.s
M bolt/test/X86/fragmented-symbols.s
M bolt/test/X86/frame-opt-lea.s
M bolt/test/X86/function-order-lite.s
M bolt/test/X86/gdbindex.test
M bolt/test/X86/high_pc_udata.s
M bolt/test/X86/icp-inline.s
A bolt/test/X86/ignored-interprocedural-reference.s
M bolt/test/X86/indirect-goto-pie.test
M bolt/test/X86/indirect-goto.test
M bolt/test/X86/inlined-function-mixed.test
M bolt/test/X86/insert-addr-rnglists_base.s
M bolt/test/X86/insert-debug-info-entry.test
M bolt/test/X86/internal-call-instrument-so.s
M bolt/test/X86/internal-call-instrument.s
M bolt/test/X86/interprocedural-ref-entry-point.s
M bolt/test/X86/is-strip.s
M bolt/test/X86/issue20.s
M bolt/test/X86/issue20.test
M bolt/test/X86/issue26.s
M bolt/test/X86/issue26.test
M bolt/test/X86/jmp-optimization.test
M bolt/test/X86/jmpjmp.test
M bolt/test/X86/jt-symbol-disambiguation-3.s
A bolt/test/X86/jt-symbol-disambiguation-4.s
M bolt/test/X86/jump-table-fixed-ref-pic.test
M bolt/test/X86/jump-table-footprint-reduction.test
M bolt/test/X86/jump-table-icp.test
M bolt/test/X86/jump-table-pic-conflict.s
M bolt/test/X86/jump-table-pic-order.test
M bolt/test/X86/jump-table-reference.test
M bolt/test/X86/layout-heuristic.test
M bolt/test/X86/line-number.test
M bolt/test/X86/lit.local.cfg
M bolt/test/X86/log.test
M bolt/test/X86/loop-inversion-pass.s
M bolt/test/X86/loop-nest.test
M bolt/test/X86/merge-fdata-bat-mode.test
M bolt/test/X86/merge-fdata-nobat-mode.test
M bolt/test/X86/merge-fdata-output.test
M bolt/test/X86/no-entry-reordering.test
M bolt/test/X86/no-output.test
M bolt/test/X86/nolbr.s
M bolt/test/X86/patch-entries.test
M bolt/test/X86/pre-aggregated-perf.test
M bolt/test/X86/pt_gnu_relro.s
M bolt/test/X86/reader-stale-yaml-std.test
M bolt/test/X86/reader-stale-yaml.test
M bolt/test/X86/reader.test
M bolt/test/X86/register-fragments-bolt-symbols.s
M bolt/test/X86/relaxed-tailcall.test
M bolt/test/X86/remove-unused.test
M bolt/test/X86/rodata-simpl-loads.test
M bolt/test/X86/sctc-bug.test
M bolt/test/X86/sctc-bug2.test
M bolt/test/X86/sctc-bug3.test
M bolt/test/X86/sctc-bug4.test
M bolt/test/X86/shared_object_entry.s
M bolt/test/X86/shorten-mov.test
M bolt/test/X86/shrinkwrapping-and-rsp.s
M bolt/test/X86/shrinkwrapping-critedge.s
M bolt/test/X86/shrinkwrapping-do-not-pessimize.s
M bolt/test/X86/shrinkwrapping-insertcfi.s
M bolt/test/X86/shrinkwrapping-lea.s
M bolt/test/X86/shrinkwrapping-mov.s
M bolt/test/X86/shrinkwrapping-pop-order.s
M bolt/test/X86/shrinkwrapping-popf.s
M bolt/test/X86/shrinkwrapping-restore-position.s
M bolt/test/X86/shrinkwrapping.test
M bolt/test/X86/split-all-lptrampoline.s
M bolt/test/X86/split-all.s
M bolt/test/X86/split-func-icf.s
M bolt/test/X86/split-func-jump-table-fragment-bidirection.s
M bolt/test/X86/split-func-jump-table-fragment-noparent.s
M bolt/test/X86/split-func-jump-table-fragment-reverse.s
M bolt/test/X86/split-func-jump-table-fragment.s
M bolt/test/X86/split-func-jump-table-unknown.s
M bolt/test/X86/split-landing-pad.s
M bolt/test/X86/split-random.s
M bolt/test/X86/static-exe.test
M bolt/test/X86/symtab-secondary-entries.test
M bolt/test/X86/tail-duplication-cache.s
M bolt/test/X86/tail-duplication-cacheline.s
M bolt/test/X86/tail-duplication-complex.s
M bolt/test/X86/tail-duplication-jt.s
M bolt/test/X86/tail-duplication-pass.s
M bolt/test/X86/tail-duplication-prop-bug.s
M bolt/test/X86/tailcall-traps.test
M bolt/test/X86/tailcall.test
M bolt/test/X86/unclaimed-jt-entries.s
M bolt/test/X86/unreachable-jmp.s
M bolt/test/X86/unreachable.test
M bolt/test/X86/vararg.test
M bolt/test/X86/yaml-multiple-profiles.test
A bolt/test/X86/yaml-non-simple.test
M bolt/test/X86/zero-sized-object.s
M bolt/test/bad-exe.test
M bolt/test/bolt-icf.test
M bolt/test/bolt-info.test
M bolt/test/heatmap.test
M bolt/test/invalid-profile.test
M bolt/test/keep-aranges.test
M bolt/test/link_fdata.py
M bolt/test/lit.local.cfg
M bolt/test/lsda-section-name.cpp
M bolt/test/no-relocs.test
M bolt/test/non-empty-debug-line.test
M bolt/test/pie.test
M bolt/test/re-optimize.test
M bolt/test/runtime/X86/asm-dump.c
M bolt/test/runtime/X86/hot-end-symbol.s
M bolt/test/shared-object.test
M bolt/unittests/CMakeLists.txt
M clang-tools-extra/CMakeLists.txt
M clang-tools-extra/clang-tidy/CMakeLists.txt
M clang-tools-extra/clang-tidy/bugprone/ForwardingReferenceOverloadCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/IncorrectEnableIfCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/MultiLevelImplicitPointerConversionCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp
M clang-tools-extra/clang-tidy/misc/CMakeLists.txt
M clang-tools-extra/clang-tidy/misc/HeaderIncludeCycleCheck.cpp
M clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp
A clang-tools-extra/clang-tidy/misc/UseInternalLinkageCheck.cpp
A clang-tools-extra/clang-tidy/misc/UseInternalLinkageCheck.h
M clang-tools-extra/clang-tidy/modernize/UseConstraintsCheck.cpp
M clang-tools-extra/clang-tidy/modernize/UseDesignatedInitializersCheck.cpp
M clang-tools-extra/clang-tidy/modernize/UseDesignatedInitializersCheck.h
M clang-tools-extra/clang-tidy/modernize/UseStdFormatCheck.cpp
M clang-tools-extra/clang-tidy/modernize/UseStdPrintCheck.cpp
M clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.h
M clang-tools-extra/clang-tidy/readability/ImplicitBoolConversionCheck.cpp
M clang-tools-extra/clang-tidy/readability/MathMissingParenthesesCheck.cpp
M clang-tools-extra/clang-tidy/readability/RedundantMemberInitCheck.cpp
M clang-tools-extra/clang-tidy/utils/FormatStringConverter.cpp
M clang-tools-extra/clang-tidy/utils/Matchers.h
M clang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.cpp
M clang-tools-extra/clangd/Config.h
M clang-tools-extra/clangd/ConfigCompile.cpp
M clang-tools-extra/clangd/ConfigFragment.h
M clang-tools-extra/clangd/ConfigYAML.cpp
M clang-tools-extra/clangd/FindSymbols.cpp
M clang-tools-extra/clangd/Hover.cpp
M clang-tools-extra/clangd/IncludeCleaner.cpp
M clang-tools-extra/clangd/IncludeCleaner.h
M clang-tools-extra/clangd/ParsedAST.cpp
M clang-tools-extra/clangd/SemanticHighlighting.cpp
M clang-tools-extra/clangd/XRefs.cpp
M clang-tools-extra/clangd/refactor/Rename.cpp
M clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
M clang-tools-extra/clangd/test/infinite-instantiation.test
M clang-tools-extra/clangd/unittests/CMakeLists.txt
M clang-tools-extra/clangd/unittests/ClangdTests.cpp
M clang-tools-extra/clangd/unittests/ConfigCompileTests.cpp
M clang-tools-extra/clangd/unittests/ConfigYAMLTests.cpp
M clang-tools-extra/clangd/unittests/FindTargetTests.cpp
M clang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp
M clang-tools-extra/clangd/unittests/PreambleTests.cpp
M clang-tools-extra/clangd/unittests/ReplayPeambleTests.cpp
M clang-tools-extra/clangd/unittests/XRefsTests.cpp
M clang-tools-extra/clangd/unittests/tweaks/DefineOutlineTests.cpp
M clang-tools-extra/docs/CMakeLists.txt
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/list.rst
A clang-tools-extra/docs/clang-tidy/checks/misc/use-internal-linkage.rst
M clang-tools-extra/docs/clang-tidy/checks/modernize/use-designated-initializers.rst
M clang-tools-extra/docs/clang-tidy/checks/readability/identifier-length.rst
M clang-tools-extra/docs/clang-tidy/checks/readability/implicit-bool-conversion.rst
M clang-tools-extra/include-cleaner/unittests/CMakeLists.txt
M clang-tools-extra/modularize/ModularizeUtilities.cpp
M clang-tools-extra/pseudo/include/CMakeLists.txt
M clang-tools-extra/pseudo/tool/CMakeLists.txt
M clang-tools-extra/pseudo/unittests/CMakeLists.txt
M clang-tools-extra/test/CMakeLists.txt
M clang-tools-extra/test/clang-tidy/checkers/bugprone/multi-level-implicit-pointer-conversion.cpp
M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/pro-type-member-init-no-crash.cpp
M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/pro-type-member-init.cpp
A clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage/func.h
A clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage/func_cpp.inc
A clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage/func_h.inc
A clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage/var.h
A clang-tools-extra/test/clang-tidy/checkers/misc/header-include-cycle.self.cpp
M clang-tools-extra/test/clang-tidy/checkers/misc/new-delete-overloads.cpp
A clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-func.cpp
A clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-var.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize/use-designated-initializers.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize/use-std-format-custom.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize/use-std-print-custom.cpp
M clang-tools-extra/test/clang-tidy/checkers/readability/container-size-empty.cpp
A clang-tools-extra/test/clang-tidy/checkers/readability/identifier-naming-outofline.cpp
A clang-tools-extra/test/clang-tidy/checkers/readability/implicit-bool-conversion-cxx20.cpp
A clang-tools-extra/test/clang-tidy/checkers/readability/implicit-bool-conversion.c
M clang-tools-extra/test/clang-tidy/checkers/readability/math-missing-parentheses.cpp
M clang-tools-extra/test/clang-tidy/checkers/readability/redundant-member-init.cpp
M clang-tools-extra/unittests/CMakeLists.txt
M clang/CMakeLists.txt
M clang/README.txt
M clang/bindings/python/tests/CMakeLists.txt
M clang/cmake/caches/CrossWinToARMLinux.cmake
M clang/cmake/caches/Fuchsia-stage2.cmake
M clang/cmake/caches/Fuchsia.cmake
M clang/cmake/caches/HLSL.cmake
M clang/cmake/caches/Release.cmake
M clang/cmake/caches/VectorEngine.cmake
M clang/cmake/modules/AddClang.cmake
M clang/docs/CMakeLists.txt
M clang/docs/ClangFormatStyleOptions.rst
A clang/docs/HLSL/AvailabilityDiagnostics.rst
M clang/docs/HLSL/HLSLDocs.rst
M clang/docs/InternalsManual.rst
M clang/docs/LanguageExtensions.rst
M clang/docs/ReleaseNotes.rst
M clang/docs/UsersManual.rst
M clang/docs/analyzer/checkers.rst
M clang/docs/tools/clang-formatted-files.txt
M clang/examples/PrintFunctionNames/PrintFunctionNames.cpp
M clang/include/clang-c/Index.h
M clang/include/clang/APINotes/APINotesManager.h
M clang/include/clang/AST/ASTContext.h
M clang/include/clang/AST/ASTNodeTraverser.h
M clang/include/clang/AST/ASTUnresolvedSet.h
M clang/include/clang/AST/Decl.h
M clang/include/clang/AST/DeclAccessPair.h
M clang/include/clang/AST/DeclBase.h
M clang/include/clang/AST/DeclID.h
M clang/include/clang/AST/DeclTemplate.h
M clang/include/clang/AST/ExprCXX.h
M clang/include/clang/AST/OpenACCClause.h
M clang/include/clang/AST/RecursiveASTVisitor.h
M clang/include/clang/AST/StmtOpenACC.h
M clang/include/clang/AST/TemplateName.h
M clang/include/clang/AST/TextNodeDumper.h
M clang/include/clang/AST/Type.h
M clang/include/clang/AST/UnresolvedSet.h
M clang/include/clang/ASTMatchers/ASTMatchers.h
M clang/include/clang/Analysis/FlowSensitive/ASTOps.h
A clang/include/clang/Analysis/FlowSensitive/CNFFormula.h
M clang/include/clang/Analysis/FlowSensitive/WatchedLiteralsSolver.h
A clang/include/clang/Basic/ASTSourceDescriptor.h
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Basic/BuiltinsAArch64.def
M clang/include/clang/Basic/BuiltinsAMDGPU.def
M clang/include/clang/Basic/BuiltinsNVPTX.def
M clang/include/clang/Basic/BuiltinsWebAssembly.def
M clang/include/clang/Basic/BuiltinsX86.def
M clang/include/clang/Basic/CharInfo.h
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Basic/CodeGenOptions.h
M clang/include/clang/Basic/Cuda.h
M clang/include/clang/Basic/CustomizableOptional.h
M clang/include/clang/Basic/DebugOptions.def
M clang/include/clang/Basic/DiagnosticCommonKinds.td
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Basic/DiagnosticFrontendKinds.td
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticInstallAPIKinds.td
M clang/include/clang/Basic/DiagnosticLexKinds.td
M clang/include/clang/Basic/DiagnosticOptions.h
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/FileManager.h
M clang/include/clang/Basic/LangOptions.def
M clang/include/clang/Basic/Module.h
M clang/include/clang/Basic/OpenACCClauses.def
M clang/include/clang/Basic/OpenACCKinds.h
M clang/include/clang/Basic/StmtNodes.td
M clang/include/clang/Basic/TokenKinds.def
M clang/include/clang/Basic/arm_sme.td
M clang/include/clang/Basic/arm_sve.td
M clang/include/clang/Basic/riscv_vector.td
M clang/include/clang/Driver/Options.td
M clang/include/clang/Driver/ToolChain.h
M clang/include/clang/ExtractAPI/ExtractAPIVisitor.h
M clang/include/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h
M clang/include/clang/Format/Format.h
M clang/include/clang/Interpreter/Interpreter.h
M clang/include/clang/Parse/Parser.h
A clang/include/clang/Sema/Attr.h
M clang/include/clang/Sema/Initialization.h
M clang/include/clang/Sema/Overload.h
M clang/include/clang/Sema/ParsedAttr.h
M clang/include/clang/Sema/Sema.h
A clang/include/clang/Sema/SemaAMDGPU.h
A clang/include/clang/Sema/SemaARM.h
A clang/include/clang/Sema/SemaAVR.h
A clang/include/clang/Sema/SemaBPF.h
M clang/include/clang/Sema/SemaBase.h
M clang/include/clang/Sema/SemaHLSL.h
A clang/include/clang/Sema/SemaHexagon.h
M clang/include/clang/Sema/SemaInternal.h
A clang/include/clang/Sema/SemaLoongArch.h
A clang/include/clang/Sema/SemaM68k.h
A clang/include/clang/Sema/SemaMIPS.h
A clang/include/clang/Sema/SemaMSP430.h
A clang/include/clang/Sema/SemaNVPTX.h
M clang/include/clang/Sema/SemaObjC.h
M clang/include/clang/Sema/SemaOpenACC.h
A clang/include/clang/Sema/SemaOpenCL.h
M clang/include/clang/Sema/SemaOpenMP.h
A clang/include/clang/Sema/SemaPPC.h
A clang/include/clang/Sema/SemaPseudoObject.h
A clang/include/clang/Sema/SemaRISCV.h
M clang/include/clang/Sema/SemaSYCL.h
A clang/include/clang/Sema/SemaSwift.h
A clang/include/clang/Sema/SemaSystemZ.h
A clang/include/clang/Sema/SemaWasm.h
A clang/include/clang/Sema/SemaX86.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ASTWriter.h
M clang/include/clang/Serialization/ModuleFile.h
M clang/include/clang/Serialization/ModuleManager.h
M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
M clang/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h
M clang/include/clang/Tooling/Syntax/Tokens.h
M clang/lib/APINotes/APINotesManager.cpp
M clang/lib/ARCMigrate/ARCMT.cpp
M clang/lib/ARCMigrate/ObjCMT.cpp
M clang/lib/AST/APValue.cpp
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/ASTDiagnostic.cpp
M clang/lib/AST/ASTDumper.cpp
M clang/lib/AST/ASTImporter.cpp
M clang/lib/AST/CMakeLists.txt
M clang/lib/AST/Decl.cpp
M clang/lib/AST/DeclBase.cpp
M clang/lib/AST/DeclCXX.cpp
M clang/lib/AST/DeclPrinter.cpp
M clang/lib/AST/DeclTemplate.cpp
M clang/lib/AST/Expr.cpp
M clang/lib/AST/ExprCXX.cpp
M clang/lib/AST/ExprConstant.cpp
M clang/lib/AST/ExternalASTSource.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/lib/AST/Interp/ByteCodeStmtGen.cpp
M clang/lib/AST/Interp/Context.cpp
M clang/lib/AST/Interp/Context.h
M clang/lib/AST/Interp/Descriptor.cpp
M clang/lib/AST/Interp/Disasm.cpp
M clang/lib/AST/Interp/EvalEmitter.cpp
M clang/lib/AST/Interp/EvalEmitter.h
M clang/lib/AST/Interp/EvaluationResult.cpp
M clang/lib/AST/Interp/Function.cpp
M clang/lib/AST/Interp/Interp.cpp
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/InterpBlock.h
M clang/lib/AST/Interp/InterpBuiltin.cpp
M clang/lib/AST/Interp/InterpFrame.cpp
M clang/lib/AST/Interp/InterpStack.cpp
M clang/lib/AST/Interp/InterpStack.h
M clang/lib/AST/Interp/InterpState.cpp
M clang/lib/AST/Interp/InterpState.h
A clang/lib/AST/Interp/MemberPointer.cpp
A clang/lib/AST/Interp/MemberPointer.h
M clang/lib/AST/Interp/Opcodes.td
M clang/lib/AST/Interp/Pointer.cpp
M clang/lib/AST/Interp/Pointer.h
M clang/lib/AST/Interp/PrimType.cpp
M clang/lib/AST/Interp/PrimType.h
M clang/lib/AST/Interp/Program.h
M clang/lib/AST/Interp/Record.cpp
M clang/lib/AST/Interp/Record.h
M clang/lib/AST/JSONNodeDumper.cpp
M clang/lib/AST/ODRDiagsEmitter.cpp
M clang/lib/AST/ODRHash.cpp
M clang/lib/AST/OpenACCClause.cpp
M clang/lib/AST/QualTypeNames.cpp
M clang/lib/AST/StmtOpenACC.cpp
M clang/lib/AST/StmtPrinter.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/TemplateBase.cpp
M clang/lib/AST/TemplateName.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/AST/Type.cpp
M clang/lib/AST/TypePrinter.cpp
M clang/lib/Analysis/FlowSensitive/ASTOps.cpp
M clang/lib/Analysis/FlowSensitive/CMakeLists.txt
A clang/lib/Analysis/FlowSensitive/CNFFormula.cpp
M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/lib/Analysis/FlowSensitive/WatchedLiteralsSolver.cpp
M clang/lib/Analysis/MacroExpansionContext.cpp
A clang/lib/Basic/ASTSourceDescriptor.cpp
M clang/lib/Basic/CMakeLists.txt
M clang/lib/Basic/CharInfo.cpp
M clang/lib/Basic/Cuda.cpp
M clang/lib/Basic/FileManager.cpp
M clang/lib/Basic/Module.cpp
M clang/lib/Basic/Targets.cpp
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Basic/Targets/LoongArch.h
M clang/lib/Basic/Targets/Mips.cpp
M clang/lib/Basic/Targets/Mips.h
M clang/lib/Basic/Targets/NVPTX.cpp
M clang/lib/Basic/Targets/SPIR.cpp
M clang/lib/Basic/Targets/SPIR.h
M clang/lib/Basic/Targets/WebAssembly.h
M clang/lib/Basic/Targets/X86.cpp
M clang/lib/Basic/Targets/X86.h
M clang/lib/CodeGen/BackendUtil.cpp
M clang/lib/CodeGen/CGAtomic.cpp
M clang/lib/CodeGen/CGBlocks.cpp
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGCUDANV.cpp
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CGClass.cpp
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/CodeGen/CGDebugInfo.h
M clang/lib/CodeGen/CGDecl.cpp
M clang/lib/CodeGen/CGDeclCXX.cpp
M clang/lib/CodeGen/CGException.cpp
M clang/lib/CodeGen/CGExpr.cpp
M clang/lib/CodeGen/CGExprAgg.cpp
M clang/lib/CodeGen/CGExprCXX.cpp
M clang/lib/CodeGen/CGExprComplex.cpp
M clang/lib/CodeGen/CGExprScalar.cpp
M clang/lib/CodeGen/CGHLSLRuntime.cpp
M clang/lib/CodeGen/CGNonTrivialStruct.cpp
M clang/lib/CodeGen/CGObjC.cpp
M clang/lib/CodeGen/CGObjCGNU.cpp
M clang/lib/CodeGen/CGOpenMPRuntime.cpp
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/lib/CodeGen/CGVTables.cpp
M clang/lib/CodeGen/CGValue.h
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/CodeGenModule.h
M clang/lib/CodeGen/CodeGenPGO.cpp
M clang/lib/CodeGen/CodeGenTypeCache.h
M clang/lib/CodeGen/CodeGenTypes.cpp
M clang/lib/CodeGen/CoverageMappingGen.cpp
M clang/lib/CodeGen/ItaniumCXXABI.cpp
M clang/lib/CodeGen/Targets/AArch64.cpp
M clang/lib/CodeGen/Targets/AMDGPU.cpp
M clang/lib/CodeGen/Targets/NVPTX.cpp
M clang/lib/CodeGen/Targets/X86.cpp
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChain.cpp
M clang/lib/Driver/ToolChains/AIX.cpp
M clang/lib/Driver/ToolChains/AMDGPU.cpp
M clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
M clang/lib/Driver/ToolChains/Arch/ARM.cpp
M clang/lib/Driver/ToolChains/Arch/LoongArch.cpp
M clang/lib/Driver/ToolChains/Arch/Mips.cpp
M clang/lib/Driver/ToolChains/Arch/RISCV.cpp
M clang/lib/Driver/ToolChains/Arch/X86.cpp
M clang/lib/Driver/ToolChains/BareMetal.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/lib/Driver/ToolChains/Cuda.cpp
M clang/lib/Driver/ToolChains/Darwin.cpp
M clang/lib/Driver/ToolChains/Darwin.h
M clang/lib/Driver/ToolChains/Flang.cpp
M clang/lib/Driver/ToolChains/Gnu.cpp
M clang/lib/Driver/ToolChains/HIPSPV.cpp
M clang/lib/Driver/ToolChains/HIPUtility.cpp
M clang/lib/Driver/ToolChains/MSVC.h
M clang/lib/Driver/ToolChains/PS4CPU.cpp
M clang/lib/Driver/ToolChains/SPIRV.cpp
M clang/lib/Driver/ToolChains/ZOS.cpp
M clang/lib/ExtractAPI/API.cpp
M clang/lib/ExtractAPI/DeclarationFragments.cpp
M clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
M clang/lib/Format/ContinuationIndenter.cpp
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatToken.h
M clang/lib/Format/FormatTokenSource.h
M clang/lib/Format/MacroExpander.cpp
M clang/lib/Format/Macros.h
M clang/lib/Format/SortJavaScriptImports.cpp
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Format/WhitespaceManager.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Frontend/FrontendActions.cpp
M clang/lib/Frontend/InitPreprocessor.cpp
M clang/lib/Frontend/SerializedDiagnosticPrinter.cpp
M clang/lib/Headers/CMakeLists.txt
R clang/lib/Headers/avx512erintrin.h
R clang/lib/Headers/avx512pfintrin.h
M clang/lib/Headers/cuda_wrappers/algorithm
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
M clang/lib/Headers/immintrin.h
M clang/lib/Headers/intrin.h
M clang/lib/Headers/module.modulemap
M clang/lib/Headers/opencl-c-base.h
M clang/lib/Headers/opencl-c.h
M clang/lib/Headers/ptrauth.h
M clang/lib/Index/CommentToXML.cpp
M clang/lib/Index/IndexDecl.cpp
M clang/lib/Interpreter/IncrementalParser.cpp
M clang/lib/Interpreter/Interpreter.cpp
M clang/lib/Lex/Lexer.cpp
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Parse/ParseExprCXX.cpp
M clang/lib/Parse/ParseOpenACC.cpp
M clang/lib/Parse/ParseOpenMP.cpp
M clang/lib/Parse/ParsePragma.cpp
M clang/lib/Parse/ParseStmt.cpp
M clang/lib/Sema/CMakeLists.txt
M clang/lib/Sema/HLSLExternalSemaSource.cpp
M clang/lib/Sema/OpenCLBuiltins.td
M clang/lib/Sema/Scope.cpp
M clang/lib/Sema/Sema.cpp
A clang/lib/Sema/SemaAMDGPU.cpp
M clang/lib/Sema/SemaAPINotes.cpp
A clang/lib/Sema/SemaARM.cpp
A clang/lib/Sema/SemaAVR.cpp
M clang/lib/Sema/SemaAvailability.cpp
A clang/lib/Sema/SemaBPF.cpp
M clang/lib/Sema/SemaBase.cpp
M clang/lib/Sema/SemaCXXScopeSpec.cpp
M clang/lib/Sema/SemaCast.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaCodeComplete.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Sema/SemaDeclObjC.cpp
M clang/lib/Sema/SemaExceptionSpec.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaExprCXX.cpp
M clang/lib/Sema/SemaExprMember.cpp
M clang/lib/Sema/SemaExprObjC.cpp
M clang/lib/Sema/SemaHLSL.cpp
A clang/lib/Sema/SemaHexagon.cpp
M clang/lib/Sema/SemaInit.cpp
M clang/lib/Sema/SemaLambda.cpp
M clang/lib/Sema/SemaLookup.cpp
A clang/lib/Sema/SemaLoongArch.cpp
A clang/lib/Sema/SemaM68k.cpp
A clang/lib/Sema/SemaMIPS.cpp
A clang/lib/Sema/SemaMSP430.cpp
A clang/lib/Sema/SemaNVPTX.cpp
M clang/lib/Sema/SemaObjC.cpp
M clang/lib/Sema/SemaOpenACC.cpp
A clang/lib/Sema/SemaOpenCL.cpp
M clang/lib/Sema/SemaOpenMP.cpp
M clang/lib/Sema/SemaOverload.cpp
A clang/lib/Sema/SemaPPC.cpp
M clang/lib/Sema/SemaPseudoObject.cpp
A clang/lib/Sema/SemaRISCV.cpp
R clang/lib/Sema/SemaRISCVVectorLookup.cpp
M clang/lib/Sema/SemaSYCL.cpp
M clang/lib/Sema/SemaStmtAttr.cpp
A clang/lib/Sema/SemaSwift.cpp
A clang/lib/Sema/SemaSystemZ.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaTemplateDeduction.cpp
M clang/lib/Sema/SemaTemplateInstantiate.cpp
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
M clang/lib/Sema/SemaTemplateVariadic.cpp
M clang/lib/Sema/SemaType.cpp
A clang/lib/Sema/SemaWasm.cpp
A clang/lib/Sema/SemaX86.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTCommon.h
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/lib/Serialization/ASTReaderStmt.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/ASTWriterDecl.cpp
M clang/lib/Serialization/ASTWriterStmt.cpp
M clang/lib/Serialization/ModuleFile.cpp
M clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
M clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
A clang/lib/StaticAnalyzer/Checkers/NoOwnershipChangeVisitor.cpp
A clang/lib/StaticAnalyzer/Checkers/NoOwnershipChangeVisitor.h
A clang/lib/StaticAnalyzer/Checkers/PutenvStackArrayChecker.cpp
A clang/lib/StaticAnalyzer/Checkers/SetgidSetuidOrderChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/RefCntblBaseVirtualDtorChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedLocalVarsChecker.cpp
R clang/lib/StaticAnalyzer/Checkers/cert/PutenvWithAutoChecker.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
M clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
M clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
M clang/lib/Tooling/JSONCompilationDatabase.cpp
M clang/lib/Tooling/Syntax/Tokens.cpp
M clang/test/AST/Interp/arrays.cpp
M clang/test/AST/Interp/builtin-functions.cpp
M clang/test/AST/Interp/c.c
M clang/test/AST/Interp/complex.cpp
M clang/test/AST/Interp/cxx03.cpp
M clang/test/AST/Interp/cxx11.cpp
M clang/test/AST/Interp/cxx20.cpp
M clang/test/AST/Interp/cxx23.cpp
M clang/test/AST/Interp/cxx98.cpp
M clang/test/AST/Interp/eval-order.cpp
M clang/test/AST/Interp/functions.cpp
M clang/test/AST/Interp/lambda.cpp
M clang/test/AST/Interp/literals.cpp
A clang/test/AST/Interp/memberpointers.cpp
A clang/test/AST/Interp/objc.mm
M clang/test/AST/Interp/records.cpp
A clang/test/AST/Interp/sycl.cpp
A clang/test/AST/Interp/unions.cpp
M clang/test/AST/ast-dump-APValue-anon-union.cpp
M clang/test/AST/ast-dump-ctad-alias.cpp
M clang/test/AST/ast-dump-decl.cpp
M clang/test/AST/ast-dump-expr-json.cpp
M clang/test/AST/ast-dump-expr.cpp
M clang/test/AST/ast-dump-openmp-begin-declare-variant_template_2.cpp
M clang/test/AST/ast-dump-stmt-json.cpp
M clang/test/AST/ast-dump-template-decls.cpp
A clang/test/AST/ast-dump-template-name.cpp
M clang/test/AST/ast-dump-using-template.cpp
M clang/test/AST/ast-print-openacc-compute-construct.cpp
A clang/test/AST/ast-print-openacc-loop-construct.cpp
M clang/test/AST/constraints-explicit-instantiation.cpp
M clang/test/Analysis/Checkers/WebKit/ref-cntbl-base-virtual-dtor-ref-deref-on-diff-classes.cpp
M clang/test/Analysis/Checkers/WebKit/ref-cntbl-base-virtual-dtor-templates.cpp
M clang/test/Analysis/Checkers/WebKit/uncounted-local-vars.cpp
M clang/test/Analysis/Checkers/WebKit/uncounted-obj-arg.cpp
M clang/test/Analysis/analyzer-enabled-checkers.c
M clang/test/Analysis/block-in-critical-section.c
M clang/test/Analysis/block-in-critical-section.cpp
M clang/test/Analysis/block-in-critical-section.m
M clang/test/Analysis/builtin_signbit.cpp
R clang/test/Analysis/cert/pos34-c-fp-suppression.cpp
R clang/test/Analysis/cert/pos34-c.cpp
M clang/test/Analysis/cfg-openmp.cpp
M clang/test/Analysis/cxxnewexpr-callback.cpp
M clang/test/Analysis/malloc.c
M clang/test/Analysis/malloc.cpp
A clang/test/Analysis/putenv-stack-array.c
A clang/test/Analysis/setgid-setuid-order-notes.c
A clang/test/Analysis/setgid-setuid-order.c
M clang/test/Analysis/std-c-library-functions-arg-enabled-checkers.c
M clang/test/Analysis/taint-diagnostic-visitor.c
A clang/test/C/C11/n1464.c
M clang/test/C/C99/block-scopes.c
M clang/test/CMakeLists.txt
M clang/test/CXX/basic/basic.lookup/basic.lookup.elab/p2.cpp
M clang/test/CXX/basic/basic.lookup/basic.lookup.qual/class.qual/p2.cpp
M clang/test/CXX/basic/basic.stc/basic.stc.dynamic/basic.stc.dynamic.deallocation/p2.cpp
A clang/test/CXX/class.derived/class.derived.general/p2.cpp
M clang/test/CXX/class/class.mfct/class.mfct.non-static/p3.cpp
M clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p6-cxx11.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p1.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.elab/p2-0x.cpp
M clang/test/CXX/drs/cwg0xx.cpp
M clang/test/CXX/drs/cwg18xx.cpp
M clang/test/CXX/drs/cwg19xx.cpp
M clang/test/CXX/drs/cwg1xx.cpp
R clang/test/CXX/drs/cwg2390.cpp
M clang/test/CXX/drs/cwg23xx.cpp
M clang/test/CXX/drs/cwg24xx.cpp
M clang/test/CXX/drs/cwg2630.cpp
M clang/test/CXX/drs/cwg26xx.cpp
A clang/test/CXX/drs/cwg2771.cpp
M clang/test/CXX/drs/cwg27xx.cpp
M clang/test/CXX/drs/cwg28xx.cpp
M clang/test/CXX/drs/cwg292.cpp
M clang/test/CXX/drs/cwg2xx.cpp
M clang/test/CXX/drs/cwg4xx.cpp
M clang/test/CXX/expr/expr.unary/expr.new/p14.cpp
M clang/test/CXX/expr/expr.unary/expr.sizeof/p5-0x.cpp
M clang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p3-2a.cpp
M clang/test/CXX/temp/temp.decls/temp.friend/p1.cpp
M clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p9-0x.cpp
M clang/test/CXX/temp/temp.spec/no-body.cpp
A clang/test/CXX/temp/temp.spec/temp.expl.spec/p12.cpp
M clang/test/ClangScanDeps/diagnostics.c
M clang/test/ClangScanDeps/header-search-pruning-transitive.c
M clang/test/ClangScanDeps/header-search-pruning.cpp
A clang/test/ClangScanDeps/link-libraries.c
M clang/test/ClangScanDeps/modules-canononical-module-map-case.c
M clang/test/ClangScanDeps/modules-context-hash.c
M clang/test/ClangScanDeps/modules-dep-args.c
M clang/test/ClangScanDeps/modules-excluded-header.m
M clang/test/ClangScanDeps/modules-extern-submodule.c
M clang/test/ClangScanDeps/modules-extern-unrelated.m
M clang/test/ClangScanDeps/modules-file-path-isolation.c
M clang/test/ClangScanDeps/modules-fmodule-name-no-module-built.m
M clang/test/ClangScanDeps/modules-full-by-mod-name.c
M clang/test/ClangScanDeps/modules-full.cpp
M clang/test/ClangScanDeps/modules-implementation-private.m
M clang/test/ClangScanDeps/modules-implicit-dot-private.m
M clang/test/ClangScanDeps/modules-incomplete-umbrella.c
M clang/test/ClangScanDeps/modules-inferred.m
M clang/test/ClangScanDeps/modules-no-undeclared-includes.c
M clang/test/ClangScanDeps/modules-pch-common-submodule.c
M clang/test/ClangScanDeps/modules-pch-common-via-submodule.c
M clang/test/ClangScanDeps/modules-pch.c
M clang/test/ClangScanDeps/modules-priv-fw-from-pub.m
M clang/test/ClangScanDeps/modules-redefinition.m
M clang/test/ClangScanDeps/modules-symlink-dir-vfs.c
M clang/test/ClangScanDeps/modules-transitive.c
M clang/test/ClangScanDeps/optimize-canonicalize-macros.m
M clang/test/ClangScanDeps/optimize-fmodulemap.m
M clang/test/ClangScanDeps/optimize-system-warnings.m
M clang/test/ClangScanDeps/optimize-vfs-leak.m
M clang/test/ClangScanDeps/optimize-vfs.m
M clang/test/ClangScanDeps/removed-args.c
A clang/test/ClangScanDeps/response-file-clang-cl.c
M clang/test/ClangScanDeps/working-dir.m
M clang/test/CodeCompletion/member-access.cpp
M clang/test/CodeGen/RISCV/riscv-inline-asm.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/vcpopv.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/vcpopv.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/vcpopv.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/vcpopv.c
M clang/test/CodeGen/SystemZ/sync-builtins-i128-8Al.c
R clang/test/CodeGen/X86/avx512er-builtins.c
R clang/test/CodeGen/X86/avx512pf-builtins.c
M clang/test/CodeGen/X86/ms-x86-intrinsics.c
A clang/test/CodeGen/X86/x86-atomic-double.c
M clang/test/CodeGen/X86/x86-atomic-float.c
M clang/test/CodeGen/X86/x86-atomic-long_double.c
M clang/test/CodeGen/X86/x86_64-instrument-functions.c
M clang/test/CodeGen/aarch64-byval-temp.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_add-i64.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_mopa-za64.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_mops-za64.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/aarch64-sme2-attrs.cpp
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_add.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_add_sub_za16.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_bmop.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_clamp.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvt.c
A clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvtl.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvtn.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_fmlas16.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_fp_dots.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_frint.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_int_dots.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti2_lane_zt.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti2_lane_zt_x2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti2_lane_zt_x4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti4_lane_zt.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti4_lane_zt_x2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti4_lane_zt_x4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_max.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_maxnm.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_min.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_minnm.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mla.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mlal.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mlall.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mls.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mlsl.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mop.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mopa_nonwide.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_read.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_reinterpret_svcount_svbool.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_sqdmulh.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_sub.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_unpkx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_unpkx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vdot.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_add.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_qrshr.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_rshl.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_selx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_selx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_uzpx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_uzpx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_zipx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_zipx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_write.c
A clang/test/CodeGen/aarch64-sme2p1-intrinsics/acle_sme2p1_zero.c
M clang/test/CodeGen/aarch64-sve-acle-__ARM_FEATURE_SVE_VECTOR_OPERATORS.c
M clang/test/CodeGen/aarch64-sve-acle-__ARM_FEATURE_SVE_VECTOR_OPERATORS.cpp
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret.c
R clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret_from_streaming_mode.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4.c
M clang/test/CodeGen/aarch64-sve-vector-subscript-ops.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aba.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abalb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abalt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abdlb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abdlt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adalp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addhnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addhnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlbt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addwb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addwt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aese.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesimc.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesmc.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bcax.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bdep.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bext.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bgrp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl1n.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl2n.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cdot.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cmla.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtlt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtx.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtxnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eor3.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eorbt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eortb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_histcnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_histseg.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hsub.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hsubr.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sh.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sw.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1ub.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1uh.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1uw.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_logb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_match.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_maxnmp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_maxp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_minnmp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_minp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mla.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlalb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlalt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mls.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlslb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlslt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_movlb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_movlt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mul.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mullb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mullt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_nbsl.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_nmatch.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmul.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullb_128.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullt_128.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qabs.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qcadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalbt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslbt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmulh.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmullb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmullt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qneg.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdcmlah.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmlah.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmlsh.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmulh.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshl.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrunb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrunt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshl.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshlu.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrunb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrunt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qsub.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qsubr.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtunb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtunt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_raddhnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_raddhnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rax1.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_recpe.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_revd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rhadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshl.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshr.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshrnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshrnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsqrte.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsra.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsubhnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsubhnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shllb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shllt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shrnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shrnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sli.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sm4e.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sm4ekey.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sqadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sra.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sri.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1b.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1h.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1w.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subhnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subhnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublbt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subltb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subwb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subwt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbl2-bfloat.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbl2.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbx-bfloat.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbx.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_uqadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilege.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilegt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilerw-bfloat.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilerw.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilewr-bfloat.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilewr.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_xar.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfadd.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmax.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmaxnm.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmin.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfminnm.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmla.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmla_lane.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmls.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmls_lane.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmlsl.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmul.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmul_lane.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfsub.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_cntp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_create2_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_create4_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_dot.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_dupq.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_extq.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_fclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_fp_reduce.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_get2_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_get4_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_int_reduce.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ld1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ld1_single.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ldnt1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_loads.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pext.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pfalse.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pmov_to_pred.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pmov_to_vector.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_psel.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_psel_svcount.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ptrue.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_qcvtn.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_qrshr.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_sclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set2_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set4_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_st1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_st1_single.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_stnt1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_store.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_tblq.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_tbxq.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_undef_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uzpq1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uzpq2.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_while_pn.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_while_x2.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_zipq1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_zipq2.c
M clang/test/CodeGen/aarch64-varargs.c
A clang/test/CodeGen/amdgpu-variadic-call.c
M clang/test/CodeGen/arm-vector_type-params-returns.c
R clang/test/CodeGen/assume_attr.c
M clang/test/CodeGen/attr-counted-by.c
M clang/test/CodeGen/attr-cpuspecific.c
M clang/test/CodeGen/attr-noinline.cpp
M clang/test/CodeGen/attr-target-x86.c
M clang/test/CodeGen/builtins-wasm.c
M clang/test/CodeGen/catch-nullptr-and-nonzero-offset.c
M clang/test/CodeGen/constantexpr-fneg.c
M clang/test/CodeGen/darwin-target-variant.c
M clang/test/CodeGen/debug-info-packed-struct.c
M clang/test/CodeGen/fat-lto-objects.c
M clang/test/CodeGen/function-target-features.c
M clang/test/CodeGen/functions.c
M clang/test/CodeGen/instrument-objc-method.m
M clang/test/CodeGen/lto-newpm-pipeline.c
M clang/test/CodeGen/mcount-aix.c
M clang/test/CodeGen/mcount.c
M clang/test/CodeGen/nofpclass.c
M clang/test/CodeGen/object-size.c
M clang/test/CodeGen/preserve-call-conv.c
M clang/test/CodeGen/target-builtin-noerror.c
M clang/test/CodeGen/target-data.c
A clang/test/CodeGen/voidptr-vaarg.c
A clang/test/CodeGenCUDA/builtins-spirv-amdgcn.cu
A clang/test/CodeGenCUDA/builtins-unsafe-atomics-spirv-amdgcn-gfx90a.cu
M clang/test/CodeGenCUDA/cuda-builtin-vars.cu
M clang/test/CodeGenCUDA/long-double.cu
A clang/test/CodeGenCUDA/spirv-amdgcn-bf16.cu
M clang/test/CodeGenCXX/assume_attr.cpp
M clang/test/CodeGenCXX/atomicinit.cpp
M clang/test/CodeGenCXX/auto-var-init.cpp
M clang/test/CodeGenCXX/builtin-amdgcn-fence.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
M clang/test/CodeGenCXX/cxx11-thread-local.cpp
M clang/test/CodeGenCXX/cxx1y-sized-deallocation.cpp
M clang/test/CodeGenCXX/cxx1z-aligned-allocation.cpp
M clang/test/CodeGenCXX/cxx2a-destroying-delete.cpp
M clang/test/CodeGenCXX/cxx2b-deducing-this.cpp
A clang/test/CodeGenCXX/debug-info-incomplete-types.cpp
A clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp
M clang/test/CodeGenCXX/debug-info-struct-align.cpp
M clang/test/CodeGenCXX/delete-two-arg.cpp
M clang/test/CodeGenCXX/delete.cpp
M clang/test/CodeGenCXX/dllimport.cpp
M clang/test/CodeGenCXX/dynamic-cast-address-space.cpp
M clang/test/CodeGenCXX/eh.cpp
A clang/test/CodeGenCXX/fmv-namespace.cpp
A clang/test/CodeGenCXX/inline-then-fold-variadics.cpp
M clang/test/CodeGenCXX/new.cpp
M clang/test/CodeGenCXX/no-unique-address.cpp
M clang/test/CodeGenCXX/nrvo.cpp
M clang/test/CodeGenCXX/partitions.cpp
M clang/test/CodeGenCXX/pointers-to-data-members.cpp
A clang/test/CodeGenCXX/ps-dllstorage-vtable-rtti.cpp
R clang/test/CodeGenCXX/ps4-dllstorage-vtable-rtti.cpp
A clang/test/CodeGenCXX/spirv-amdgcn-float16.cpp
M clang/test/CodeGenCXX/template-param-objects-address-space.cpp
M clang/test/CodeGenCXX/template-param-objects-linkage.cpp
M clang/test/CodeGenCXX/throw-expression-typeinfo-in-address-space.cpp
M clang/test/CodeGenCXX/try-catch-with-address-space.cpp
M clang/test/CodeGenCXX/typeid-cxx11-with-address-space.cpp
M clang/test/CodeGenCXX/typeid-with-address-space.cpp
M clang/test/CodeGenCXX/typeinfo-with-address-space.cpp
M clang/test/CodeGenCXX/ubsan-nullability-arg.cpp
M clang/test/CodeGenCXX/vtable-assume-load-address-space.cpp
M clang/test/CodeGenCXX/vtable-pointer-initialization-address-space.cpp
M clang/test/CodeGenCXX/vtt-address-space.cpp
M clang/test/CodeGenCXX/wasm-eh.cpp
M clang/test/CodeGenCXX/weak-external.cpp
M clang/test/CodeGenCXX/windows-implicit-dllexport-template-specialization.cpp
M clang/test/CodeGenCXX/windows-itanium-dllexport.cpp
M clang/test/CodeGenCoroutines/coro-aligned-alloc-2.cpp
M clang/test/CodeGenCoroutines/coro-aligned-alloc.cpp
M clang/test/CodeGenCoroutines/coro-alloc.cpp
M clang/test/CodeGenCoroutines/coro-cleanup.cpp
M clang/test/CodeGenCoroutines/coro-dealloc.cpp
M clang/test/CodeGenCoroutines/coro-gro.cpp
M clang/test/CodeGenCoroutines/pr56919.cpp
M clang/test/CodeGenHIP/hipspv-addr-spaces.cpp
A clang/test/CodeGenHIP/spirv-amdgcn-ballot.cpp
A clang/test/CodeGenHIP/spirv-amdgcn-dpp-const-fold.hip
A clang/test/CodeGenHIP/spirv-amdgcn-half.hip
M clang/test/CodeGenHLSL/cbuf.hlsl
M clang/test/CodeGenOpenCL/amdgcn-flat-scratch-name.cl
M clang/test/CodeGenOpenCL/amdgpu-features.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx10.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx11.cl
A clang/test/CodeGenOpenCL/builtins-amdgcn-gfx940.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-vi.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn.cl
M clang/test/CodeGenOpenCL/inline-asm-amdgcn.cl
A clang/test/CodeGenOpenCLCXX/array-type-infinite-loop.clcpp
M clang/test/CoverageMapping/builtinmacro.c
M clang/test/CoverageMapping/macros.c
A clang/test/CoverageMapping/mcdc-scratch-space.c
A clang/test/CoverageMapping/mcdc-system-headers.cpp
M clang/test/CoverageMapping/templates.cpp
M clang/test/Driver/Ofast.c
A clang/test/Driver/aarch64-oryon-1.c
M clang/test/Driver/aarch64-outliner.c
M clang/test/Driver/aarch64-v95a.c
M clang/test/Driver/amdgcn-gz-options.cl
M clang/test/Driver/amdgpu-hip-system-arch.c
M clang/test/Driver/amdgpu-invalid-target-id.s
M clang/test/Driver/amdgpu-macros.cl
M clang/test/Driver/amdgpu-mcpu.cl
M clang/test/Driver/amdgpu-openmp-system-arch-fail.c
M clang/test/Driver/amdgpu-openmp-toolchain.c
M clang/test/Driver/android-unversioned-fallback-warning.cpp
M clang/test/Driver/arm-float-abi-runtime-path.c
M clang/test/Driver/arm-float-abi.c
M clang/test/Driver/arm-machine-outliner.c
A clang/test/Driver/baremetal-ld.c
M clang/test/Driver/cl-options.c
M clang/test/Driver/cl-options.cu
M clang/test/Driver/cl-outputs.c
M clang/test/Driver/cl-x86-flags.c
M clang/test/Driver/clang-offload-bundler-zlib.c
M clang/test/Driver/clang-offload-bundler-zstd.c
M clang/test/Driver/clang_f_opts.c
M clang/test/Driver/compress-noias.c
M clang/test/Driver/cuda-arch-translation.cu
M clang/test/Driver/cuda-bad-arch.cu
M clang/test/Driver/cuda-bail-out.cu
M clang/test/Driver/cuda-bindings.cu
M clang/test/Driver/cuda-constructor-alias.cu
M clang/test/Driver/cuda-cross-compiling.c
M clang/test/Driver/cuda-detect-path.cu
M clang/test/Driver/cuda-detect.cu
M clang/test/Driver/cuda-external-tools.cu
M clang/test/Driver/cuda-macosx.cu
M clang/test/Driver/cuda-march.cu
M clang/test/Driver/cuda-omp-unsupported-debug-options.cu
M clang/test/Driver/cuda-openmp-driver.cu
M clang/test/Driver/cuda-options.cu
M clang/test/Driver/cuda-output-asm.cu
M clang/test/Driver/cuda-phases.cu
M clang/test/Driver/cuda-ptxas-path.cu
M clang/test/Driver/cuda-version-check.cu
M clang/test/Driver/cuda-windows.cu
M clang/test/Driver/debug-options.c
M clang/test/Driver/driverkit-arm64.c
M clang/test/Driver/driverkit-arm64e.c
M clang/test/Driver/driverkit-cplusplus.cpp
M clang/test/Driver/driverkit-exceptions.cpp
M clang/test/Driver/driverkit-path.c
M clang/test/Driver/driverkit-rtti.cpp
M clang/test/Driver/driverkit-target-cpu.c
M clang/test/Driver/dwarf-target-version-clamp.cu
M clang/test/Driver/dxc_dxv_path.hlsl
M clang/test/Driver/elfiamcu-header-search.c
M clang/test/Driver/fast-math.c
M clang/test/Driver/fat-archive-unbundle-ext.c
M clang/test/Driver/fatal-warnings.c
M clang/test/Driver/fbinutils-version.c
M clang/test/Driver/fdirect-access-external-data.c
M clang/test/Driver/fembed-bitcode.c
M clang/test/Driver/fexcess-precision.c
M clang/test/Driver/fextend-args.c
M clang/test/Driver/fforce-dwarf-frame.c
M clang/test/Driver/fgnuc-version.c
M clang/test/Driver/flags.c
M clang/test/Driver/flang/msvc-link.f90
M clang/test/Driver/fmemprof.cpp
M clang/test/Driver/fopenmp.c
M clang/test/Driver/fortran.f95
M clang/test/Driver/fpatchable-function-entry.c
M clang/test/Driver/frame-pointer-elim.c
M clang/test/Driver/freebsd-mips-as.c
M clang/test/Driver/freebsd.cpp
M clang/test/Driver/fsanitize-coverage.c
M clang/test/Driver/fsanitize-ignorelist.c
M clang/test/Driver/fsanitize-memory-param-retval.c
M clang/test/Driver/fsanitize-metadata-ignorelist.c
M clang/test/Driver/fsanitize-object-size.c
M clang/test/Driver/fsemantic-interposition.c
M clang/test/Driver/fsjlj-exceptions.c
M clang/test/Driver/fuse-ld-windows.c
M clang/test/Driver/fuse-ld.c
M clang/test/Driver/fuzzer.c
M clang/test/Driver/fveclib.c
M clang/test/Driver/gcc-param.c
M clang/test/Driver/gcodeview-command-line.c
M clang/test/Driver/gcodeview-ghash.c
M clang/test/Driver/global-isel.c
M clang/test/Driver/gpu-libc-headers.c
M clang/test/Driver/hexagon-toolchain-elf.c
M clang/test/Driver/hip-autolink.hip
M clang/test/Driver/hip-binding.hip
M clang/test/Driver/hip-code-object-version.hip
M clang/test/Driver/hip-cuid-hash.hip
M clang/test/Driver/hip-cuid.hip
M clang/test/Driver/hip-default-gpu-arch.hip
M clang/test/Driver/hip-device-compile.hip
M clang/test/Driver/hip-device-libs.hip
M clang/test/Driver/hip-fpie-option.hip
M clang/test/Driver/hip-gsplit-dwarf-options.hip
M clang/test/Driver/hip-gz-options.hip
M clang/test/Driver/hip-host-cpu-features.hip
M clang/test/Driver/hip-include-path.hip
M clang/test/Driver/hip-inputs.hip
M clang/test/Driver/hip-invalid-target-id.hip
M clang/test/Driver/hip-launch-api.hip
M clang/test/Driver/hip-link-bc-to-bc.hip
M clang/test/Driver/hip-link-bundle-archive.hip
M clang/test/Driver/hip-link-save-temps.hip
M clang/test/Driver/hip-link-static-library.hip
M clang/test/Driver/hip-no-device-libs.hip
M clang/test/Driver/hip-offload-arch.hip
M clang/test/Driver/hip-offload-compress-zlib.hip
M clang/test/Driver/hip-offload-compress-zstd.hip
M clang/test/Driver/hip-options.hip
M clang/test/Driver/hip-output-file-name.hip
M clang/test/Driver/hip-phases.hip
M clang/test/Driver/hip-printf.hip
M clang/test/Driver/hip-rdc-device-only.hip
M clang/test/Driver/hip-sanitize-options.hip
M clang/test/Driver/hip-save-temps.hip
M clang/test/Driver/hip-std.hip
M clang/test/Driver/hip-syntax-only.hip
M clang/test/Driver/hip-target-id.hip
M clang/test/Driver/hip-toolchain-device-only.hip
M clang/test/Driver/hip-toolchain-dwarf.hip
M clang/test/Driver/hip-toolchain-features.hip
M clang/test/Driver/hip-toolchain-mllvm.hip
M clang/test/Driver/hip-toolchain-no-rdc.hip
M clang/test/Driver/hip-toolchain-opt.hip
M clang/test/Driver/hip-toolchain-rdc-separate.hip
M clang/test/Driver/hip-toolchain-rdc-static-lib.hip
M clang/test/Driver/hip-toolchain-rdc.hip
M clang/test/Driver/hip-unbundle-preproc.hipi
M clang/test/Driver/hip-wavefront-size.hip
M clang/test/Driver/hip-windows-filename.hip
M clang/test/Driver/hipspv-device-libs.hip
M clang/test/Driver/hipspv-pass-plugin.hip
M clang/test/Driver/hipspv-toolchain-rdc.hip
M clang/test/Driver/hipspv-toolchain.hip
M clang/test/Driver/indirect-tls-seg-refs.c
M clang/test/Driver/invalid-offload-options.cpp
M clang/test/Driver/invalid-target-id.cl
M clang/test/Driver/linker-wrapper-image.c
R clang/test/Driver/loongarch-default-features.c
A clang/test/Driver/loongarch-features.c
M clang/test/Driver/loongarch-mlasx-error.c
M clang/test/Driver/loongarch-mlsx-error.c
M clang/test/Driver/lto.cu
M clang/test/Driver/m68k-features.cpp
M clang/test/Driver/m68k-macros.cpp
M clang/test/Driver/m68k-sub-archs.cpp
M clang/test/Driver/masm.c
M clang/test/Driver/masm.s
M clang/test/Driver/mbackchain.c
M clang/test/Driver/mcount.c
M clang/test/Driver/mdouble.c
M clang/test/Driver/memtag-stack.c
M clang/test/Driver/mfentry.c
M clang/test/Driver/mglobal-merge.c
M clang/test/Driver/mingw-implicit-extension-windows.c
M clang/test/Driver/mingw-libgcc.c
M clang/test/Driver/mingw-msvcrt.c
M clang/test/Driver/mingw-sanitizers.c
M clang/test/Driver/mingw-sysroot.cpp
M clang/test/Driver/mingw-windowsapp.c
M clang/test/Driver/mingw.cpp
M clang/test/Driver/mips-abi.c
M clang/test/Driver/mips-abicalls-error.c
M clang/test/Driver/mips-abicalls-warning.c
M clang/test/Driver/mips-as.c
M clang/test/Driver/mips-cs.cpp
M clang/test/Driver/mips-features.c
M clang/test/Driver/mips-float.c
M clang/test/Driver/mips-fsf.cpp
M clang/test/Driver/mips-gpopt-warning.c
M clang/test/Driver/mips-ias-Wa.s
M clang/test/Driver/mips-img-v2.cpp
M clang/test/Driver/mips-img.cpp
M clang/test/Driver/mips-indirect-branch.c
M clang/test/Driver/mips-integrated-as.s
M clang/test/Driver/mips-mabs-warning.c
M clang/test/Driver/mips-mti-linux.c
M clang/test/Driver/mlong-double-128.c
M clang/test/Driver/mlong-double-64.c
M clang/test/Driver/module-output.cppm
M clang/test/Driver/ms-bitfields.c
A clang/test/Driver/ms-define-stdc.c
M clang/test/Driver/msan.c
M clang/test/Driver/msc-version.c
M clang/test/Driver/msp430-hwmult.c
M clang/test/Driver/msvc-compiler-rt.c
M clang/test/Driver/msvc-static-rtti.cpp
M clang/test/Driver/msvc-triple.c
M clang/test/Driver/msvc_forward.c
M clang/test/Driver/nvptx-cuda-system-arch.c
M clang/test/Driver/objc-encode-cxx-class-template-spec.m
M clang/test/Driver/offloading-interoperability.c
M clang/test/Driver/openbsd.cpp
M clang/test/Driver/opencl.cl
M clang/test/Driver/openmp-offload-gpu.c
M clang/test/Driver/openmp-offload-headers.c
M clang/test/Driver/openmp-offload-infer.c
M clang/test/Driver/openmp-offload-jit.c
M clang/test/Driver/openmp-offload.c
M clang/test/Driver/openmp-system-arch.c
M clang/test/Driver/ppc-dependent-options.cpp
M clang/test/Driver/ppc-float-abi-warning.cpp
M clang/test/Driver/ppc-unsupported.c
M clang/test/Driver/ps4-ps5-visibility-dllstorageclass.c
A clang/test/Driver/ps4-visibility.cl
A clang/test/Driver/ps5-visibility.cl
M clang/test/Driver/riscv32-toolchain-extra.c
M clang/test/Driver/riscv64-toolchain-extra.c
M clang/test/Driver/rocm-detect.cl
M clang/test/Driver/rocm-detect.hip
M clang/test/Driver/rocm-device-libs.cl
M clang/test/Driver/save-temps.c
M clang/test/Driver/spirv-toolchain.cl
M clang/test/Driver/sysroot.c
M clang/test/Driver/target-id-macros.cl
M clang/test/Driver/target-id.cl
M clang/test/Driver/thinlto.cu
M clang/test/Driver/tocdata-cc1.c
M clang/test/Driver/tsan.c
M clang/test/Driver/ve-toolchain.c
M clang/test/Driver/ve-toolchain.cpp
M clang/test/Driver/x-args.c
A clang/test/Driver/x86-apx-inline-asm-use-gpr32.cpp
M clang/test/Driver/x86-target-features.c
M clang/test/ExtractAPI/anonymous_record_no_typedef.c
M clang/test/ExtractAPI/enum.c
M clang/test/ExtractAPI/non_type_template.cpp
M clang/test/ExtractAPI/objc_external_category.m
M clang/test/Frontend/gnu-mcount.c
M clang/test/Frontend/optimization-remark-options.c
M clang/test/Frontend/x86-target-cpu.c
M clang/test/Headers/__clang_hip_math.hip
A clang/test/Headers/cuda_wrapper_algorithm.cu
M clang/test/Import/builtin-template/test.cpp
M clang/test/Index/print-type.cpp
M clang/test/InstallAPI/alias_list.test
M clang/test/InstallAPI/binary-attributes.test
M clang/test/InstallAPI/exclusive-passes-2.test
A clang/test/InstallAPI/exclusive-passes-3.test
M clang/test/InstallAPI/exclusive-passes.test
M clang/test/InstallAPI/invalid-exclusive-passes.test
A clang/test/Interpreter/execute.c
M clang/test/Interpreter/execute.cpp
M clang/test/Interpreter/incremental-mode.cpp
M clang/test/Interpreter/inline-virtual.cpp
A clang/test/Interpreter/pretty-print.c
M clang/test/Lexer/cxx-features.cpp
A clang/test/Lexer/cxx2c-raw-strings.cpp
A clang/test/Misc/diag-template-diffing-cxx11.cpp
A clang/test/Misc/diag-template-diffing-cxx26.cpp
R clang/test/Misc/diag-template-diffing.cpp
M clang/test/Misc/target-invalid-cpu-note.c
A clang/test/Misc/win32-elf.c
A clang/test/Modules/cxx20-decls.cppm
A clang/test/Modules/implicit-module-remap.cpp
A clang/test/Modules/no-implicit-declarations.cppm
A clang/test/Modules/no-transitive-decls-change.cppm
A clang/test/Modules/pr91418.cppm
A clang/test/Modules/pr93497.cppm
A clang/test/Modules/pr93859.cppm
M clang/test/OpenMP/align_clause_ast_print.cpp
M clang/test/OpenMP/assumes_codegen.cpp
M clang/test/OpenMP/assumes_print.cpp
M clang/test/OpenMP/assumes_template_print.cpp
M clang/test/OpenMP/atomic_messages.c
M clang/test/OpenMP/declare_mapper_messages.cpp
M clang/test/OpenMP/distribute_firstprivate_messages.cpp
M clang/test/OpenMP/distribute_parallel_for_firstprivate_messages.cpp
M clang/test/OpenMP/distribute_parallel_for_lastprivate_messages.cpp
M clang/test/OpenMP/distribute_parallel_for_private_messages.cpp
M clang/test/OpenMP/distribute_parallel_for_reduction_messages.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_private_messages.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_shared_messages.cpp
M clang/test/OpenMP/distribute_simd_firstprivate_messages.cpp
M clang/test/OpenMP/distribute_simd_lastprivate_messages.cpp
M clang/test/OpenMP/distribute_simd_loop_messages.cpp
M clang/test/OpenMP/distribute_simd_private_messages.cpp
M clang/test/OpenMP/distribute_simd_reduction_messages.cpp
M clang/test/OpenMP/for_private_codegen.cpp
M clang/test/OpenMP/for_reduction_codegen.cpp
M clang/test/OpenMP/for_reduction_codegen_UDR.cpp
M clang/test/OpenMP/generic_loop_ast_print.cpp
M clang/test/OpenMP/interop_ast_print.cpp
M clang/test/OpenMP/nvptx_lambda_capturing.cpp
M clang/test/OpenMP/nvptx_target_cuda_mode_messages.cpp
M clang/test/OpenMP/parallel_codegen.cpp
M clang/test/OpenMP/parallel_copyin_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_firstprivate_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_lastprivate_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/reduction_implicit_map.cpp
M clang/test/OpenMP/remarks_parallel_in_multiple_target_state_machines.c
M clang/test/OpenMP/remarks_parallel_in_target_state_machine.c
M clang/test/OpenMP/requires_default_atomic_mem_order_messages.cpp
M clang/test/OpenMP/requires_messages.cpp
M clang/test/OpenMP/sections_lastprivate_codegen.cpp
M clang/test/OpenMP/sections_private_codegen.cpp
M clang/test/OpenMP/sections_reduction_codegen.cpp
M clang/test/OpenMP/single_private_codegen.cpp
M clang/test/OpenMP/target_device_ancestor_messages.cpp
M clang/test/OpenMP/target_firstprivate_messages.cpp
M clang/test/OpenMP/target_map_messages.cpp
M clang/test/OpenMP/target_parallel_for_private_messages.cpp
M clang/test/OpenMP/target_parallel_for_simd_private_messages.cpp
M clang/test/OpenMP/target_private_messages.cpp
R clang/test/OpenMP/target_reduction_codegen.cpp
R clang/test/OpenMP/target_reduction_messages.cpp
M clang/test/OpenMP/target_simd_private_messages.cpp
M clang/test/OpenMP/target_teams_distribute_firstprivate_messages.cpp
M clang/test/OpenMP/target_update_messages.cpp
M clang/test/OpenMP/target_vla_messages.cpp
M clang/test/OpenMP/teams_distribute_loop_messages.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_loop_messages.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_loop_messages.cpp
M clang/test/OpenMP/teams_distribute_simd_loop_messages.cpp
M clang/test/OpenMP/threadprivate_codegen.cpp
M clang/test/OpenMP/tile_codegen.cpp
M clang/test/OpenMP/tile_codegen_for_dependent.cpp
M clang/test/OpenMP/tile_codegen_tile_for.cpp
M clang/test/PCH/cxx1z-aligned-alloc.cpp
M clang/test/PCH/pack_indexing.cpp
M clang/test/Parser/MicrosoftExtensions.cpp
M clang/test/Parser/altivec.c
M clang/test/Parser/attr-availability.c
M clang/test/Parser/cxx-altivec.cpp
M clang/test/Parser/cxx-template-template-recovery.cpp
A clang/test/Parser/decls.c
M clang/test/Parser/lax-conv.cpp
M clang/test/Parser/objcbridge-related-attribute.m
M clang/test/Parser/pragma-attribute.cpp
M clang/test/ParserOpenACC/parse-clauses.c
M clang/test/ParserOpenACC/parse-clauses.cpp
M clang/test/ParserOpenACC/parse-constructs.c
M clang/test/Preprocessor/hash_builtin.cpp
M clang/test/Preprocessor/predefined-arch-macros.c
M clang/test/Preprocessor/predefined-macros-no-warnings.c
M clang/test/Preprocessor/predefined-macros.c
M clang/test/Preprocessor/riscv-target-features.c
A clang/test/Preprocessor/stdc-ms-extension.cpp
M clang/test/Preprocessor/x86_target_features.c
M clang/test/Profile/c-unreachable-after-switch.c
M clang/test/Profile/misexpect-branch.c
M clang/test/Profile/misexpect-switch-default.c
M clang/test/Profile/misexpect-switch.c
M clang/test/Sema/aarch64-incompat-sm-builtin-calls.c
M clang/test/Sema/aarch64-sme-func-attrs.c
A clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_b16b16.cpp
M clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_imm.cpp
M clang/test/Sema/aarch64-sme2p1-diagnostics.c
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_bfloat.cpp
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_imm_n.cpp
M clang/test/Sema/aarch64-sve2p1-intrinsics/acle_sve2p1_imm.cpp
M clang/test/Sema/atomic-ops.c
R clang/test/Sema/attr-assume.c
M clang/test/Sema/attr-availability-ios.c
A clang/test/Sema/attr-availability-macosx.cpp
M clang/test/Sema/attr-noinline.cpp
M clang/test/Sema/attr-objc-bridge-related.m
M clang/test/Sema/builtin-assume.c
A clang/test/Sema/builtin-spirv-amdgcn-atomic-inc-dec-failure.cpp
M clang/test/Sema/builtins-x86.c
M clang/test/Sema/builtins.c
M clang/test/Sema/constant_builtins_vector.cpp
A clang/test/Sema/fmv-namespace.cpp
A clang/test/Sema/inline-asm-validate-spirv-amdgcn.cl
M clang/test/Sema/stmtexprs.c
M clang/test/Sema/warn-cast-function-type-strict.c
M clang/test/Sema/warn-cast-function-type.c
M clang/test/Sema/x86-eval-method.c
M clang/test/Sema/x86_64-eval-method.c
M clang/test/SemaCUDA/allow-int128.cu
M clang/test/SemaCUDA/amdgpu-f128.cu
M clang/test/SemaCUDA/device-var-init.cu
M clang/test/SemaCUDA/float16.cu
M clang/test/SemaCUDA/fp16-arg-return.cu
M clang/test/SemaCUDA/function-overload.cu
A clang/test/SemaCUDA/spirv-amdgcn-atomic-ops.cu
M clang/test/SemaCUDA/union-init.cu
M clang/test/SemaCXX/MicrosoftExtensions.cpp
M clang/test/SemaCXX/PR8755.cpp
M clang/test/SemaCXX/addr-label-in-coroutines.cpp
M clang/test/SemaCXX/attr-weak.cpp
A clang/test/SemaCXX/attribute-pack-expansion.cpp
A clang/test/SemaCXX/builtin-is-bitwise-cloneable-fsanitize.cpp
A clang/test/SemaCXX/builtin-is-bitwise-cloneable.cpp
M clang/test/SemaCXX/builtin-operator-new-delete.cpp
M clang/test/SemaCXX/complex-folding.cpp
A clang/test/SemaCXX/constexpr-never-constant.cpp
M clang/test/SemaCXX/cxx1y-initializer-aggregates.cpp
M clang/test/SemaCXX/cxx1y-sized-deallocation.cpp
M clang/test/SemaCXX/cxx1y-variable-templates_in_class.cpp
M clang/test/SemaCXX/cxx20-ctad-type-alias.cpp
M clang/test/SemaCXX/cxx23-assume-disabled.cpp
M clang/test/SemaCXX/cxx23-assume.cpp
M clang/test/SemaCXX/cxx2b-consteval-propagate.cpp
M clang/test/SemaCXX/cxx2b-deducing-this.cpp
M clang/test/SemaCXX/cxx2c-pack-indexing.cpp
M clang/test/SemaCXX/for-range-examples.cpp
A clang/test/SemaCXX/incomplete-array-extent.cpp
M clang/test/SemaCXX/integer-overflow.cpp
M clang/test/SemaCXX/invalid-if-constexpr.cpp
A clang/test/SemaCXX/invalid-this-in-lambda.cpp
M clang/test/SemaCXX/lambda-unevaluated.cpp
M clang/test/SemaCXX/nullptr_in_arithmetic_ops.cpp
M clang/test/SemaCXX/overload-decl.cpp
M clang/test/SemaCXX/overload-template.cpp
M clang/test/SemaCXX/overloaded-operator.cpp
M clang/test/SemaCXX/recovery-expr-type.cpp
M clang/test/SemaCXX/source_location.cpp
M clang/test/SemaCXX/template-specialization.cpp
M clang/test/SemaCXX/type-traits.cpp
A clang/test/SemaCXX/typo-correction-builtin-func.cpp
M clang/test/SemaCXX/unavailable_aligned_allocation.cpp
M clang/test/SemaCXX/using-decl-templates.cpp
M clang/test/SemaCXX/warn-cast-function-type-strict.cpp
M clang/test/SemaCXX/warn-cast-function-type.cpp
M clang/test/SemaCXX/warn-thread-safety-analysis.cpp
M clang/test/SemaCXX/warn-unsafe-buffer-usage-pragma-misuse.cpp
A clang/test/SemaHLSL/Availability/attr-availability-compute.hlsl
A clang/test/SemaHLSL/Availability/attr-availability-errors.hlsl
A clang/test/SemaHLSL/Availability/attr-availability-mesh.hlsl
A clang/test/SemaHLSL/Availability/attr-availability-pixel.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-default-compute.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-default-lib.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-relaxed-compute.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-relaxed-lib.hlsl
A clang/test/SemaHLSL/Availability/avail-lib-multiple-stages.hlsl
R clang/test/SemaHLSL/AvailabilityMarkup.hlsl
M clang/test/SemaHLSL/WaveBuiltinAvailability.hlsl
M clang/test/SemaObjC/unguarded-availability.m
M clang/test/SemaObjCXX/arc-type-traits.mm
M clang/test/SemaObjCXX/block-capture.mm
M clang/test/SemaOpenACC/compute-construct-async-clause.c
M clang/test/SemaOpenACC/compute-construct-attach-clause.c
M clang/test/SemaOpenACC/compute-construct-clause-ast.cpp
M clang/test/SemaOpenACC/compute-construct-copy-clause.c
M clang/test/SemaOpenACC/compute-construct-copy-clause.cpp
M clang/test/SemaOpenACC/compute-construct-copyin-clause.c
M clang/test/SemaOpenACC/compute-construct-copyin-clause.cpp
M clang/test/SemaOpenACC/compute-construct-copyout-clause.c
M clang/test/SemaOpenACC/compute-construct-copyout-clause.cpp
M clang/test/SemaOpenACC/compute-construct-create-clause.c
M clang/test/SemaOpenACC/compute-construct-create-clause.cpp
M clang/test/SemaOpenACC/compute-construct-default-clause.c
M clang/test/SemaOpenACC/compute-construct-default-clause.cpp
M clang/test/SemaOpenACC/compute-construct-device_type-clause.c
M clang/test/SemaOpenACC/compute-construct-deviceptr-clause.c
M clang/test/SemaOpenACC/compute-construct-firstprivate-clause.c
M clang/test/SemaOpenACC/compute-construct-firstprivate-clause.cpp
M clang/test/SemaOpenACC/compute-construct-if-clause.c
M clang/test/SemaOpenACC/compute-construct-no_create-clause.c
M clang/test/SemaOpenACC/compute-construct-no_create-clause.cpp
M clang/test/SemaOpenACC/compute-construct-num_gangs-clause.c
M clang/test/SemaOpenACC/compute-construct-num_workers-clause.c
M clang/test/SemaOpenACC/compute-construct-present-clause.c
M clang/test/SemaOpenACC/compute-construct-present-clause.cpp
M clang/test/SemaOpenACC/compute-construct-private-clause.c
M clang/test/SemaOpenACC/compute-construct-private-clause.cpp
A clang/test/SemaOpenACC/compute-construct-reduction-clause.c
A clang/test/SemaOpenACC/compute-construct-reduction-clause.cpp
M clang/test/SemaOpenACC/compute-construct-self-clause.c
M clang/test/SemaOpenACC/compute-construct-vector_length-clause.c
M clang/test/SemaOpenACC/compute-construct-wait-clause.c
A clang/test/SemaOpenACC/loop-ast.cpp
A clang/test/SemaOpenACC/loop-construct-auto_seq_independent-ast.cpp
A clang/test/SemaOpenACC/loop-construct-auto_seq_independent-clauses.c
A clang/test/SemaOpenACC/loop-construct-device_type-ast.cpp
A clang/test/SemaOpenACC/loop-construct-device_type-clause.c
A clang/test/SemaOpenACC/loop-construct-device_type-clause.cpp
A clang/test/SemaOpenACC/loop-construct-private-clause.c
A clang/test/SemaOpenACC/loop-construct-private-clause.cpp
A clang/test/SemaOpenACC/loop-loc-and-stmt.c
A clang/test/SemaOpenACC/loop-loc-and-stmt.cpp
M clang/test/SemaOpenACC/parallel-loc-and-stmt.c
M clang/test/SemaOpenACC/sub-array-ast.cpp
M clang/test/SemaOpenCL/builtins-amdgcn-error-gfx908-param.cl
M clang/test/SemaOpenCL/builtins-amdgcn-error-gfx90a-param.cl
M clang/test/SemaOpenCL/builtins-amdgcn-error-gfx940-param.cl
M clang/test/SemaOpenCL/builtins-amdgcn-error.cl
A clang/test/SemaOpenCL/builtins-amdgcn-gfx940-err.cl
M clang/test/SemaOpenCL/vector_swizzle_length.cl
M clang/test/SemaTemplate/aggregate-deduction-candidate.cpp
M clang/test/SemaTemplate/attributes.cpp
M clang/test/SemaTemplate/concepts-lambda.cpp
M clang/test/SemaTemplate/concepts.cpp
M clang/test/SemaTemplate/cwg2398.cpp
M clang/test/SemaTemplate/deduction-guide.cpp
M clang/test/SemaTemplate/dependent-names.cpp
M clang/test/SemaTemplate/destructor-template.cpp
M clang/test/SemaTemplate/instantiate-requires-expr.cpp
M clang/test/SemaTemplate/make_integer_seq.cpp
M clang/test/SemaTemplate/ms-function-specialization-class-scope.cpp
M clang/test/SemaTemplate/ms-lookup-template-base-classes.cpp
M clang/test/SemaTemplate/nested-implicit-deduction-guides.cpp
M clang/test/SemaTemplate/temp_arg_nontype_cxx2c.cpp
M clang/test/SemaTemplate/template-id-expr.cpp
M clang/test/SemaTemplate/template-id-printing.cpp
M clang/test/SemaTemplate/type_pack_element.cpp
M clang/test/SemaTemplate/typo-dependent-name.cpp
M clang/test/TableGen/deferred-diag.td
M clang/test/TableGen/text-substitution.td
A clang/test/TableGen/wording-errors.td
M clang/test/lit.site.cfg.py.in
M clang/tools/amdgpu-arch/AMDGPUArchByHIP.cpp
M clang/tools/amdgpu-arch/AMDGPUArchByHSA.cpp
M clang/tools/clang-format/ClangFormat.cpp
M clang/tools/clang-installapi/InstallAPIOpts.td
M clang/tools/clang-installapi/Options.cpp
M clang/tools/clang-installapi/Options.h
M clang/tools/clang-repl/CMakeLists.txt
M clang/tools/clang-scan-deps/ClangScanDeps.cpp
M clang/tools/driver/cc1as_main.cpp
M clang/tools/libclang/CIndex.cpp
M clang/tools/libclang/CMakeLists.txt
M clang/tools/libclang/CXCursor.cpp
M clang/tools/libclang/CXExtractAPI.cpp
M clang/tools/scan-build-py/tests/functional/exec/CMakeLists.txt
M clang/tools/scan-build/bin/set-xcode-analyzer
M clang/unittests/AST/ASTImporterTest.cpp
M clang/unittests/AST/DeclTest.cpp
M clang/unittests/AST/Interp/Descriptor.cpp
M clang/unittests/AST/Interp/toAPValue.cpp
M clang/unittests/AST/TemplateNameTest.cpp
M clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
M clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
M clang/unittests/CMakeLists.txt
M clang/unittests/Driver/DXCModeTest.cpp
M clang/unittests/Format/CleanupTest.cpp
M clang/unittests/Format/ConfigParseTest.cpp
M clang/unittests/Format/DefinitionBlockSeparatorTest.cpp
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/FormatTestBase.h
M clang/unittests/Format/FormatTestCSharp.cpp
M clang/unittests/Format/FormatTestJS.cpp
M clang/unittests/Format/FormatTestJson.cpp
M clang/unittests/Format/FormatTestProto.cpp
M clang/unittests/Format/FormatTestRawStrings.cpp
M clang/unittests/Format/FormatTestSelective.cpp
M clang/unittests/Format/FormatTestTableGen.cpp
M clang/unittests/Format/FormatTestUtils.h
M clang/unittests/Format/FormatTestVerilog.cpp
M clang/unittests/Format/FormatTokenSourceTest.cpp
M clang/unittests/Format/MacroCallReconstructorTest.cpp
M clang/unittests/Format/MacroExpanderTest.cpp
M clang/unittests/Format/MatchFilePathTest.cpp
M clang/unittests/Format/NamespaceEndCommentsFixerTest.cpp
M clang/unittests/Format/ObjCPropertyAttributeOrderFixerTest.cpp
M clang/unittests/Format/QualifierFixerTest.cpp
M clang/unittests/Format/SortImportsTestJS.cpp
M clang/unittests/Format/SortImportsTestJava.cpp
M clang/unittests/Format/SortIncludesTest.cpp
M clang/unittests/Format/TestLexer.h
M clang/unittests/Format/TokenAnnotatorTest.cpp
M clang/unittests/Format/UsingDeclarationsSorterTest.cpp
M clang/unittests/Interpreter/CMakeLists.txt
M clang/unittests/Interpreter/CodeCompletionTest.cpp
M clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp
M clang/unittests/Interpreter/IncrementalProcessingTest.cpp
M clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
M clang/unittests/Interpreter/InterpreterTest.cpp
A clang/unittests/Interpreter/InterpreterTestFixture.h
M clang/unittests/StaticAnalyzer/CallEventTest.cpp
M clang/unittests/StaticAnalyzer/MemRegionDescriptiveNameTest.cpp
M clang/unittests/Tooling/CompilationDatabaseTest.cpp
M clang/unittests/Tooling/Syntax/TokensTest.cpp
M clang/utils/ClangVisualizers/CMakeLists.txt
M clang/utils/TableGen/CMakeLists.txt
M clang/utils/TableGen/ClangAttrEmitter.cpp
M clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
M clang/utils/TableGen/MveEmitter.cpp
M clang/utils/TableGen/SveEmitter.cpp
M clang/utils/analyzer/entrypoint.py
M clang/utils/check_cfc/check_cfc.py
R clang/utils/ci/buildkite-pipeline.yml
R clang/utils/ci/run-buildbot
M clang/utils/hmaptool/CMakeLists.txt
M clang/www/analyzer/alpha_checks.html
M clang/www/c_status.html
M clang/www/cxx_dr_status.html
M clang/www/cxx_status.html
M compiler-rt/CMakeLists.txt
M compiler-rt/cmake/Modules/AddCompilerRT.cmake
M compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
M compiler-rt/cmake/Modules/CompilerRTUtils.cmake
M compiler-rt/cmake/base-config-ix.cmake
M compiler-rt/cmake/config-ix.cmake
M compiler-rt/include/CMakeLists.txt
M compiler-rt/lib/asan/tests/CMakeLists.txt
M compiler-rt/lib/builtins/CMakeLists.txt
A compiler-rt/lib/builtins/aarch64/sme-abi-vg.c
M compiler-rt/lib/builtins/cpu_model/aarch64.c
A compiler-rt/lib/builtins/cpu_model/aarch64.h
M compiler-rt/lib/dfsan/dfsan_allocator.cpp
M compiler-rt/lib/dfsan/dfsan_custom.cpp
M compiler-rt/lib/fuzzer/tests/CMakeLists.txt
M compiler-rt/lib/gwp_asan/tests/CMakeLists.txt
M compiler-rt/lib/interception/tests/CMakeLists.txt
M compiler-rt/lib/lsan/lsan_allocator.cpp
M compiler-rt/lib/memprof/tests/CMakeLists.txt
M compiler-rt/lib/msan/msan.cpp
M compiler-rt/lib/msan/msan_allocator.cpp
M compiler-rt/lib/orc/tests/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/sanitizer_bitvector.h
M compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
M compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
M compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cpp
M compiler-rt/lib/scudo/standalone/combined.h
M compiler-rt/lib/stats/CMakeLists.txt
M compiler-rt/lib/tsan/CMakeLists.txt
M compiler-rt/lib/tsan/dd/CMakeLists.txt
M compiler-rt/lib/tsan/rtl/CMakeLists.txt
M compiler-rt/lib/xray/tests/CMakeLists.txt
M compiler-rt/lib/xray/tests/unit/function_call_trie_test.cpp
M compiler-rt/lib/xray/tests/unit/profile_collector_test.cpp
M compiler-rt/lib/xray/tests/unit/segmented_array_test.cpp
M compiler-rt/lib/xray/tests/unit/test_helpers.cpp
M compiler-rt/lib/xray/xray_buffer_queue.h
M compiler-rt/lib/xray/xray_fdr_logging.cpp
M compiler-rt/lib/xray/xray_function_call_trie.h
M compiler-rt/lib/xray/xray_profile_collector.cpp
M compiler-rt/lib/xray/xray_profiling.cpp
M compiler-rt/lib/xray/xray_segmented_array.h
M compiler-rt/lib/xray/xray_trampoline_x86_64.S
M compiler-rt/test/CMakeLists.txt
M compiler-rt/test/asan/CMakeLists.txt
M compiler-rt/test/asan/TestCases/Windows/bitfield_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/calloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/calloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/calloc_uaf.cpp
M compiler-rt/test/asan/TestCases/debug_double_free.cpp
M compiler-rt/test/asan/TestCases/debug_report.cpp
M compiler-rt/test/asan_abi/CMakeLists.txt
M compiler-rt/test/builtins/CMakeLists.txt
M compiler-rt/test/cfi/CMakeLists.txt
M compiler-rt/test/ctx_profile/TestCases/generate-context.cpp
M compiler-rt/test/ctx_profile/lit.cfg.py
M compiler-rt/test/dfsan/CMakeLists.txt
M compiler-rt/test/dfsan/custom.cpp
M compiler-rt/test/dfsan/release_shadow_space.c
A compiler-rt/test/dfsan/sscanf.c
M compiler-rt/test/fuzzer/CMakeLists.txt
M compiler-rt/test/gwp_asan/CMakeLists.txt
M compiler-rt/test/hwasan/CMakeLists.txt
M compiler-rt/test/interception/CMakeLists.txt
M compiler-rt/test/lit.common.cfg.py
M compiler-rt/test/lsan/CMakeLists.txt
M compiler-rt/test/memprof/CMakeLists.txt
M compiler-rt/test/metadata/CMakeLists.txt
M compiler-rt/test/msan/CMakeLists.txt
M compiler-rt/test/orc/CMakeLists.txt
M compiler-rt/test/profile/CMakeLists.txt
M compiler-rt/test/profile/Linux/counter_promo_for.c
M compiler-rt/test/profile/Linux/counter_promo_while.c
M compiler-rt/test/safestack/CMakeLists.txt
M compiler-rt/test/sanitizer_common/CMakeLists.txt
M compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_allowlist_ignorelist.cpp
M compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cpp
M compiler-rt/test/shadowcallstack/CMakeLists.txt
M compiler-rt/test/tsan/CMakeLists.txt
M compiler-rt/test/tsan/custom_mutex4.cpp
M compiler-rt/test/tsan/custom_mutex5.cpp
M compiler-rt/test/ubsan/CMakeLists.txt
M compiler-rt/test/ubsan_minimal/CMakeLists.txt
M compiler-rt/test/xray/CMakeLists.txt
M cross-project-tests/CMakeLists.txt
M cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.cpp
M flang/CMakeLists.txt
M flang/cmake/modules/AddFlang.cmake
M flang/cmake/modules/AddFlangOffloadRuntime.cmake
M flang/docs/CMakeLists.txt
M flang/docs/Extensions.md
M flang/docs/Intrinsics.md
M flang/examples/FeatureList/FeatureList.cpp
M flang/include/flang/Common/Fortran-features.h
M flang/include/flang/Common/api-attrs.h
M flang/include/flang/Common/visit.h
M flang/include/flang/Evaluate/characteristics.h
M flang/include/flang/Evaluate/constant.h
M flang/include/flang/Evaluate/expression.h
M flang/include/flang/Evaluate/integer.h
M flang/include/flang/Evaluate/tools.h
M flang/include/flang/Evaluate/type.h
M flang/include/flang/Frontend/LangOptions.def
M flang/include/flang/Lower/ConvertExprToHLFIR.h
M flang/include/flang/Optimizer/Analysis/AliasAnalysis.h
M flang/include/flang/Optimizer/Analysis/TBAAForest.h
M flang/include/flang/Optimizer/Builder/BoxValue.h
M flang/include/flang/Optimizer/Builder/FIRBuilder.h
M flang/include/flang/Optimizer/Builder/HLFIRTools.h
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/include/flang/Optimizer/Builder/Runtime/Command.h
M flang/include/flang/Optimizer/Builder/Runtime/Numeric.h
M flang/include/flang/Optimizer/Builder/Runtime/RTBuilder.h
A flang/include/flang/Optimizer/Builder/Runtime/Support.h
M flang/include/flang/Optimizer/CodeGen/CGPasses.td
M flang/include/flang/Optimizer/CodeGen/CodeGen.h
M flang/include/flang/Optimizer/CodeGen/FIROpPatterns.h
M flang/include/flang/Optimizer/CodeGen/TypeConverter.h
M flang/include/flang/Optimizer/Dialect/CMakeLists.txt
M flang/include/flang/Optimizer/Dialect/CUF/CUFOps.td
M flang/include/flang/Optimizer/Dialect/FIRAttr.td
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/include/flang/Optimizer/Dialect/FIROpsSupport.h
M flang/include/flang/Optimizer/Dialect/FIRType.h
M flang/include/flang/Optimizer/HLFIR/Passes.h
M flang/include/flang/Optimizer/HLFIR/Passes.td
M flang/include/flang/Optimizer/Transforms/Passes.h
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/include/flang/Parser/dump-parse-tree.h
M flang/include/flang/Parser/parse-tree.h
M flang/include/flang/Runtime/command.h
M flang/include/flang/Runtime/inquiry.h
M flang/include/flang/Runtime/magic-numbers.h
M flang/include/flang/Runtime/support.h
M flang/include/flang/Semantics/openmp-directive-sets.h
M flang/include/flang/Semantics/scope.h
M flang/include/flang/Semantics/semantics.h
M flang/include/flang/Semantics/symbol.h
M flang/include/flang/Tools/CLOptions.inc
M flang/include/flang/Tools/CrossToolHelpers.h
M flang/lib/Evaluate/characteristics.cpp
M flang/lib/Evaluate/check-expression.cpp
M flang/lib/Evaluate/fold-real.cpp
M flang/lib/Evaluate/formatting.cpp
M flang/lib/Evaluate/intrinsics.cpp
M flang/lib/Evaluate/shape.cpp
M flang/lib/Evaluate/tools.cpp
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Lower/Allocatable.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/ConvertCall.cpp
M flang/lib/Lower/ConvertExprToHLFIR.cpp
M flang/lib/Lower/ConvertVariable.cpp
M flang/lib/Lower/OpenACC.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.h
M flang/lib/Lower/OpenMP/Clauses.h
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
M flang/lib/Lower/OpenMP/DataSharingProcessor.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/lib/Lower/OpenMP/Utils.h
M flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
M flang/lib/Optimizer/Builder/CMakeLists.txt
M flang/lib/Optimizer/Builder/FIRBuilder.cpp
M flang/lib/Optimizer/Builder/HLFIRTools.cpp
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/Builder/MutableBox.cpp
M flang/lib/Optimizer/Builder/Runtime/Command.cpp
M flang/lib/Optimizer/Builder/Runtime/Numeric.cpp
A flang/lib/Optimizer/Builder/Runtime/Support.cpp
M flang/lib/Optimizer/CodeGen/BoxedProcedure.cpp
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/CodeGen/FIROpPatterns.cpp
M flang/lib/Optimizer/CodeGen/PreCGRewrite.cpp
M flang/lib/Optimizer/CodeGen/TBAABuilder.cpp
M flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
M flang/lib/Optimizer/CodeGen/TypeConverter.cpp
M flang/lib/Optimizer/Dialect/CUF/Attributes/CMakeLists.txt
M flang/lib/Optimizer/Dialect/CUF/CUFOps.cpp
M flang/lib/Optimizer/Dialect/FIRAttr.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/lib/Optimizer/Dialect/FIRType.cpp
M flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
M flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
M flang/lib/Optimizer/HLFIR/Transforms/InlineElementals.cpp
M flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIRIntrinsics.cpp
M flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIROrderedAssignments.cpp
M flang/lib/Optimizer/HLFIR/Transforms/OptimizedBufferization.cpp
M flang/lib/Optimizer/HLFIR/Transforms/SimplifyHLFIRIntrinsics.cpp
M flang/lib/Optimizer/Transforms/AddAliasTags.cpp
M flang/lib/Optimizer/Transforms/AddDebugInfo.cpp
A flang/lib/Optimizer/Transforms/AssumedRankOpConversion.cpp
M flang/lib/Optimizer/Transforms/CMakeLists.txt
M flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
M flang/lib/Optimizer/Transforms/DebugTypeGenerator.h
M flang/lib/Optimizer/Transforms/ExternalNameConversion.cpp
M flang/lib/Optimizer/Transforms/OMPFunctionFiltering.cpp
M flang/lib/Optimizer/Transforms/OMPMapInfoFinalization.cpp
M flang/lib/Optimizer/Transforms/OMPMarkDeclareTarget.cpp
M flang/lib/Optimizer/Transforms/VScaleAttr.cpp
M flang/lib/Parser/executable-parsers.cpp
M flang/lib/Parser/expr-parsers.cpp
M flang/lib/Parser/openacc-parsers.cpp
M flang/lib/Parser/openmp-parsers.cpp
M flang/lib/Parser/preprocessor.cpp
M flang/lib/Parser/prescan.cpp
M flang/lib/Parser/prescan.h
M flang/lib/Parser/program-parsers.cpp
M flang/lib/Parser/unparse.cpp
M flang/lib/Semantics/check-acc-structure.cpp
M flang/lib/Semantics/check-call.cpp
M flang/lib/Semantics/check-cuda.cpp
M flang/lib/Semantics/check-declarations.cpp
M flang/lib/Semantics/check-do-forall.cpp
M flang/lib/Semantics/check-omp-structure.cpp
M flang/lib/Semantics/check-omp-structure.h
M flang/lib/Semantics/data-to-inits.cpp
M flang/lib/Semantics/expression.cpp
M flang/lib/Semantics/mod-file.cpp
M flang/lib/Semantics/mod-file.h
M flang/lib/Semantics/resolve-directives.cpp
M flang/lib/Semantics/resolve-labels.cpp
M flang/lib/Semantics/resolve-names-utils.cpp
M flang/lib/Semantics/resolve-names.cpp
M flang/lib/Semantics/symbol.cpp
M flang/module/cudadevice.f90
M flang/runtime/CMakeLists.txt
M flang/runtime/command.cpp
M flang/runtime/edit-output.cpp
M flang/runtime/external-unit.cpp
M flang/runtime/file.cpp
M flang/runtime/inquiry.cpp
M flang/runtime/io-api-common.h
M flang/runtime/numeric.cpp
M flang/runtime/pseudo-unit.cpp
M flang/runtime/reduction-templates.h
M flang/runtime/stat.h
M flang/runtime/support.cpp
M flang/runtime/terminator.h
M flang/runtime/time-intrinsic.cpp
M flang/runtime/unit.cpp
M flang/runtime/unit.h
M flang/test/CMakeLists.txt
M flang/test/Driver/bbc-mlir-pass-pipeline.f90
M flang/test/Driver/exec.f90
M flang/test/Driver/fopenmp.f90
M flang/test/Driver/mlir-debug-pass-pipeline.f90
M flang/test/Driver/mlir-pass-pipeline.f90
M flang/test/Driver/omp-driver-offload.f90
M flang/test/Driver/w-arg-unsupported.f90
M flang/test/Driver/wextra-ok.f90
A flang/test/Evaluate/signed-mult-opd.f90
A flang/test/Evaluate/triplets01.f90
A flang/test/Fir/array-coor-canonicalization.fir
M flang/test/Fir/basic-program.fir
M flang/test/Fir/convert-to-llvm.fir
M flang/test/Fir/fir-ops.fir
M flang/test/Fir/invalid.fir
A flang/test/Fir/is_assumed_size-codegen.fir
A flang/test/Fir/loop03.fir
A flang/test/Fir/rebox_assumed_rank_codegen.fir
M flang/test/Fir/tbaa.fir
M flang/test/HLFIR/bufferize01.fir
M flang/test/HLFIR/c_ptr_byvalue.f90
M flang/test/HLFIR/declare-codegen.fir
M flang/test/HLFIR/maxloc-elemental.fir
M flang/test/HLFIR/minloc-elemental.fir
A flang/test/Integration/debug-complex-1.f90
A flang/test/Integration/debug-fixed-array-type-2.f90
A flang/test/Integration/debug-module-2.f90
M flang/test/Lower/CUDA/cuda-data-transfer.cuf
A flang/test/Lower/CUDA/cuda-device-proc.cuf
M flang/test/Lower/HLFIR/assumed-rank-iface.f90
A flang/test/Lower/HLFIR/assumed-rank-inquiries-2.f90
A flang/test/Lower/HLFIR/assumed-rank-inquiries.f90
M flang/test/Lower/HLFIR/bindc-value-derived.f90
M flang/test/Lower/HLFIR/block_bindc_pocs.f90
M flang/test/Lower/HLFIR/call-sequence-associated-descriptors.f90
M flang/test/Lower/HLFIR/calls-character-singleton-result.f90
A flang/test/Lower/HLFIR/convert-variable-assumed-rank.f90
A flang/test/Lower/HLFIR/elemental-result-length.f90
M flang/test/Lower/HLFIR/ignore-type-assumed-shape.f90
A flang/test/Lower/HLFIR/select-rank.f90
M flang/test/Lower/Intrinsics/associated.f90
A flang/test/Lower/Intrinsics/getcwd-function.f90
A flang/test/Lower/Intrinsics/getcwd-optional.f90
A flang/test/Lower/Intrinsics/getcwd.f90
M flang/test/Lower/Intrinsics/ieee_flag.f90
A flang/test/Lower/Intrinsics/selected_char_kind.f90
A flang/test/Lower/Intrinsics/selected_logical_kind.f90
A flang/test/Lower/OpenMP/DelayedPrivatization/target-private-allocatable.f90
A flang/test/Lower/OpenMP/DelayedPrivatization/target-private-multiple-variables.f90
A flang/test/Lower/OpenMP/DelayedPrivatization/target-private-simple.f90
A flang/test/Lower/OpenMP/Todo/masked-directive.f90
A flang/test/Lower/OpenMP/allocatable-multiple-vars.f90
M flang/test/Lower/OpenMP/critical.f90
A flang/test/Lower/OpenMP/debug_info_conflict.f90
M flang/test/Lower/OpenMP/declare-target-data.f90
M flang/test/Lower/OpenMP/delayed-privatization-allocatable-firstprivate.f90
A flang/test/Lower/OpenMP/delayed-privatization-lower-allocatable-to-llvm.f90
A flang/test/Lower/OpenMP/force-usm.f90
M flang/test/Lower/OpenMP/invalid-reduction-modifier.f90
M flang/test/Lower/OpenMP/lastprivate-commonblock.f90
M flang/test/Lower/OpenMP/lastprivate-iv.f90
M flang/test/Lower/OpenMP/map-component-ref.f90
A flang/test/Lower/OpenMP/requires-force-usm.f90
M flang/test/Lower/OpenMP/threadprivate-commonblock-use.f90
M flang/test/Lower/OpenMP/threadprivate-commonblock.f90
M flang/test/Lower/OpenMP/threadprivate-default-clause.f90
M flang/test/Lower/OpenMP/threadprivate-use-association.f90
M flang/test/Lower/PowerPC/ppc-vec-load.f90
M flang/test/Lower/PowerPC/ppc-vec-shift-be-le.f90
M flang/test/Lower/block.f90
M flang/test/Lower/branching-directive.f90
A flang/test/Lower/call-bindc.f90
M flang/test/Lower/common-block-2.f90
M flang/test/Lower/common-block.f90
M flang/test/Lower/module_definition.f90
M flang/test/Lower/module_use.f90
M flang/test/Lower/pointer-initial-target-2.f90
A flang/test/Lower/unstructured-control-flow.f90
A flang/test/Parser/OpenMP/masked-unparse.f90
A flang/test/Preprocessing/args.h
A flang/test/Preprocessing/include-args.F90
M flang/test/Semantics/OpenMP/do02.f90
A flang/test/Semantics/OpenMP/masked.f90
A flang/test/Semantics/OpenMP/reduction-modifiers.f90
A flang/test/Semantics/OpenMP/reduction13.f90
R flang/test/Semantics/OpenMP/sections03.f90
M flang/test/Semantics/OpenMP/simd03.f90
M flang/test/Semantics/OpenMP/taskgroup01.f90
M flang/test/Semantics/OpenMP/taskloop03.f90
M flang/test/Semantics/associated.f90
M flang/test/Semantics/bind-c02.f90
M flang/test/Semantics/bind-c12.f90
A flang/test/Semantics/bind-c16.f90
M flang/test/Semantics/call03.f90
M flang/test/Semantics/call05.f90
M flang/test/Semantics/call10.f90
M flang/test/Semantics/call30.f90
M flang/test/Semantics/call39.f90
M flang/test/Semantics/call40.f90
M flang/test/Semantics/elemental01.f90
A flang/test/Semantics/getcwd.f90
M flang/test/Semantics/label05.f90
M flang/test/Semantics/modfile03.f90
M flang/test/Semantics/null01.f90
A flang/test/Semantics/procinterface05.f90
M flang/test/Semantics/resolve09.f90
M flang/test/Semantics/resolve118.f90
A flang/test/Semantics/resolve123.f90
A flang/test/Semantics/resolve124.f90
M flang/test/Semantics/resolve55.f90
M flang/test/Semantics/shape.f90
M flang/test/Semantics/stmt-func01.f90
A flang/test/Transforms/debug-complex-1.fir
A flang/test/Transforms/debug-fixed-array-type.fir
A flang/test/Transforms/debug-module-1.fir
A flang/test/Transforms/debug-module-2.fir
A flang/test/Transforms/tbaa-with-dummy-scope.fir
M flang/test/Transforms/tbaa.fir
M flang/test/Transforms/tbaa2.fir
M flang/tools/bbc/bbc.cpp
M flang/tools/f18/CMakeLists.txt
M flang/unittests/CMakeLists.txt
M flang/unittests/Evaluate/CMakeLists.txt
M flang/unittests/Runtime/CMakeLists.txt
M flang/unittests/Runtime/Inquiry.cpp
A flang/unittests/Runtime/Support.cpp
M libc/CMakeLists.txt
M libc/cmake/modules/CheckCompilerFeatures.cmake
M libc/cmake/modules/LLVMLibCLibraryRules.cmake
M libc/cmake/modules/LLVMLibCObjectRules.cmake
A libc/cmake/modules/compiler_features/check_float16.cpp
M libc/cmake/modules/prepare_libc_gpu_build.cmake
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/riscv/entrypoints.txt
M libc/config/config.json
M libc/config/gpu/entrypoints.txt
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/arm/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/config/windows/entrypoints.txt
M libc/docs/c23.rst
M libc/docs/configure.rst
M libc/docs/ctype.rst
M libc/docs/fenv.rst
M libc/docs/gpu/using.rst
M libc/docs/math/index.rst
M libc/docs/signal.rst
M libc/docs/stdbit.rst
M libc/docs/threads.rst
M libc/hdr/CMakeLists.txt
A libc/hdr/float_macros.h
M libc/hdr/types/CMakeLists.txt
A libc/hdr/types/atexithandler_t.h
A libc/hdr/types/pid_t.h
M libc/include/CMakeLists.txt
M libc/include/llvm-libc-macros/CMakeLists.txt
M libc/include/llvm-libc-macros/float-macros.h
A libc/include/llvm-libc-macros/float16-macros.h
M libc/include/llvm-libc-macros/linux/CMakeLists.txt
M libc/include/llvm-libc-macros/linux/error-number-macros.h
R libc/include/llvm-libc-macros/linux/mips/CMakeLists.txt
R libc/include/llvm-libc-macros/linux/mips/error-number-macros.h
R libc/include/llvm-libc-macros/linux/sparc/CMakeLists.txt
R libc/include/llvm-libc-macros/linux/sparc/error-number-macros.h
M libc/include/llvm-libc-types/CMakeLists.txt
M libc/include/llvm-libc-types/cnd_t.h
M libc/include/llvm-libc-types/pthread_rwlockattr_t.h
M libc/include/math.h.def
M libc/include/pthread.h.def
M libc/spec/posix.td
M libc/spec/spec.td
M libc/spec/stdc.td
M libc/src/__support/CPP/CMakeLists.txt
M libc/src/__support/CPP/algorithm.h
M libc/src/__support/CPP/expected.h
M libc/src/__support/CPP/new.h
M libc/src/__support/CPP/type_traits.h
A libc/src/__support/CPP/type_traits/aligned_storage.h
M libc/src/__support/CPP/type_traits/is_floating_point.h
M libc/src/__support/FPUtil/FPBits.h
M libc/src/__support/FPUtil/NearestIntegerOperations.h
M libc/src/__support/FPUtil/generic/FMod.h
M libc/src/__support/FPUtil/sqrt.h
R libc/src/__support/FPUtil/x86_64/PolyEval.h
M libc/src/__support/FPUtil/x86_64/sqrt.h
M libc/src/__support/File/dir.h
M libc/src/__support/File/file.h
M libc/src/__support/OSUtil/baremetal/CMakeLists.txt
A libc/src/__support/OSUtil/baremetal/exit.cpp
R libc/src/__support/OSUtil/baremetal/quick_exit.cpp
A libc/src/__support/OSUtil/exit.h
M libc/src/__support/OSUtil/gpu/CMakeLists.txt
A libc/src/__support/OSUtil/gpu/exit.cpp
R libc/src/__support/OSUtil/gpu/quick_exit.cpp
M libc/src/__support/OSUtil/linux/CMakeLists.txt
A libc/src/__support/OSUtil/linux/exit.cpp
R libc/src/__support/OSUtil/linux/quick_exit.cpp
R libc/src/__support/OSUtil/quick_exit.h
M libc/src/__support/fixedvector.h
M libc/src/__support/libc_assert.h
M libc/src/__support/macros/properties/CMakeLists.txt
M libc/src/__support/macros/properties/types.h
M libc/src/__support/threads/CMakeLists.txt
A libc/src/__support/threads/CndVar.h
M libc/src/__support/threads/fork_callbacks.cpp
M libc/src/__support/threads/gpu/mutex.h
M libc/src/__support/threads/linux/CMakeLists.txt
A libc/src/__support/threads/linux/CndVar.cpp
M libc/src/__support/threads/linux/mutex.h
A libc/src/__support/threads/linux/raw_mutex.h
M libc/src/__support/threads/mutex.h
M libc/src/__support/threads/thread.cpp
M libc/src/__support/time/linux/abs_timeout.h
M libc/src/math/CMakeLists.txt
A libc/src/math/canonicalizef16.h
A libc/src/math/ceilf16.h
A libc/src/math/copysignf16.h
A libc/src/math/fabsf16.h
A libc/src/math/fdimf16.h
A libc/src/math/floorf16.h
A libc/src/math/fmaxf16.h
A libc/src/math/fmaximum_mag_numf16.h
A libc/src/math/fmaximum_magf16.h
A libc/src/math/fmaximum_numf16.h
A libc/src/math/fmaximumf16.h
A libc/src/math/fminf16.h
A libc/src/math/fminimum_mag_numf16.h
A libc/src/math/fminimum_magf16.h
A libc/src/math/fminimum_numf16.h
A libc/src/math/fminimumf16.h
A libc/src/math/fmodf16.h
A libc/src/math/fmul.h
A libc/src/math/fromfpf16.h
A libc/src/math/fromfpxf16.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/canonicalizef16.cpp
A libc/src/math/generic/ceilf16.cpp
A libc/src/math/generic/copysignf16.cpp
A libc/src/math/generic/fabsf16.cpp
A libc/src/math/generic/fdimf16.cpp
A libc/src/math/generic/floorf16.cpp
A libc/src/math/generic/fmaxf16.cpp
A libc/src/math/generic/fmaximum_mag_numf16.cpp
A libc/src/math/generic/fmaximum_magf16.cpp
A libc/src/math/generic/fmaximum_numf16.cpp
A libc/src/math/generic/fmaximumf16.cpp
A libc/src/math/generic/fminf16.cpp
A libc/src/math/generic/fminimum_mag_numf16.cpp
A libc/src/math/generic/fminimum_magf16.cpp
A libc/src/math/generic/fminimum_numf16.cpp
A libc/src/math/generic/fminimumf16.cpp
A libc/src/math/generic/fmodf16.cpp
A libc/src/math/generic/fmul.cpp
A libc/src/math/generic/fromfpf16.cpp
A libc/src/math/generic/fromfpxf16.cpp
A libc/src/math/generic/llrintf16.cpp
A libc/src/math/generic/llroundf16.cpp
A libc/src/math/generic/lrintf16.cpp
A libc/src/math/generic/lroundf16.cpp
A libc/src/math/generic/nearbyintf16.cpp
A libc/src/math/generic/nextafterf16.cpp
A libc/src/math/generic/nextdownf16.cpp
A libc/src/math/generic/nexttowardf16.cpp
A libc/src/math/generic/nextupf16.cpp
A libc/src/math/generic/remquof128.cpp
A libc/src/math/generic/rintf16.cpp
A libc/src/math/generic/roundevenf16.cpp
A libc/src/math/generic/roundf16.cpp
M libc/src/math/generic/scalbn.cpp
M libc/src/math/generic/scalbnf.cpp
M libc/src/math/generic/scalbnf128.cpp
M libc/src/math/generic/scalbnl.cpp
A libc/src/math/generic/truncf16.cpp
A libc/src/math/generic/ufromfpf16.cpp
A libc/src/math/generic/ufromfpxf16.cpp
A libc/src/math/llrintf16.h
A libc/src/math/llroundf16.h
A libc/src/math/lrintf16.h
A libc/src/math/lroundf16.h
A libc/src/math/nearbyintf16.h
A libc/src/math/nextafterf16.h
A libc/src/math/nextdownf16.h
A libc/src/math/nexttowardf16.h
A libc/src/math/nextupf16.h
A libc/src/math/remquof128.h
A libc/src/math/rintf16.h
A libc/src/math/roundevenf16.h
A libc/src/math/roundf16.h
A libc/src/math/truncf16.h
A libc/src/math/ufromfpf16.h
A libc/src/math/ufromfpxf16.h
M libc/src/pthread/CMakeLists.txt
M libc/src/pthread/pthread_mutex_init.cpp
M libc/src/pthread/pthread_mutexattr.h
A libc/src/pthread/pthread_rwlockattr_getkind_np.cpp
A libc/src/pthread/pthread_rwlockattr_getkind_np.h
M libc/src/pthread/pthread_rwlockattr_init.cpp
A libc/src/pthread/pthread_rwlockattr_setkind_np.cpp
A libc/src/pthread/pthread_rwlockattr_setkind_np.h
M libc/src/setjmp/x86_64/CMakeLists.txt
M libc/src/stdio/CMakeLists.txt
M libc/src/stdio/baremetal/CMakeLists.txt
A libc/src/stdio/baremetal/printf.cpp
M libc/src/stdio/generic/CMakeLists.txt
A libc/src/stdio/generic/printf.cpp
A libc/src/stdio/generic/vprintf.cpp
R libc/src/stdio/printf.cpp
R libc/src/stdio/vprintf.cpp
M libc/src/stdlib/CMakeLists.txt
M libc/src/stdlib/_Exit.cpp
A libc/src/stdlib/at_quick_exit.cpp
A libc/src/stdlib/at_quick_exit.h
M libc/src/stdlib/atexit.cpp
M libc/src/stdlib/atexit.h
A libc/src/stdlib/calloc.h
M libc/src/stdlib/exit.cpp
A libc/src/stdlib/exit_handler.cpp
A libc/src/stdlib/exit_handler.h
A libc/src/stdlib/quick_exit.cpp
A libc/src/stdlib/quick_exit.h
M libc/src/string/memory_utils/op_x86.h
M libc/src/string/memory_utils/utils.h
M libc/src/sys/epoll/linux/CMakeLists.txt
M libc/src/sys/epoll/linux/epoll_pwait.cpp
M libc/src/sys/epoll/linux/epoll_pwait2.cpp
M libc/src/sys/epoll/linux/epoll_wait.cpp
M libc/src/threads/linux/CMakeLists.txt
R libc/src/threads/linux/CndVar.h
M libc/src/threads/linux/cnd_broadcast.cpp
M libc/src/threads/linux/cnd_destroy.cpp
M libc/src/threads/linux/cnd_init.cpp
M libc/src/threads/linux/cnd_signal.cpp
M libc/src/threads/linux/cnd_wait.cpp
M libc/src/threads/mtx_init.cpp
M libc/src/time/gpu/time_utils.cpp
M libc/src/time/gpu/time_utils.h
M libc/src/unistd/_exit.cpp
A libc/startup/baremetal/CMakeLists.txt
A libc/startup/baremetal/fini.cpp
A libc/startup/baremetal/init.cpp
M libc/test/CMakeLists.txt
M libc/test/IntegrationTest/test.h
M libc/test/UnitTest/LibcTest.cpp
M libc/test/UnitTest/LibcTest.h
M libc/test/UnitTest/LibcTestMain.cpp
M libc/test/integration/scudo/CMakeLists.txt
M libc/test/integration/src/__support/threads/thread_detach_test.cpp
M libc/test/src/__support/CMakeLists.txt
M libc/test/src/__support/CPP/CMakeLists.txt
A libc/test/src/__support/CPP/algorithm_test.cpp
M libc/test/src/__support/CPP/type_traits_test.cpp
M libc/test/src/__support/fixedvector_test.cpp
A libc/test/src/__support/threads/CMakeLists.txt
A libc/test/src/__support/threads/linux/CMakeLists.txt
A libc/test/src/__support/threads/linux/raw_mutex_test.cpp
M libc/test/src/fenv/getenv_and_setenv_test.cpp
M libc/test/src/math/performance_testing/BinaryOpSingleOutputPerf.h
M libc/test/src/math/performance_testing/CMakeLists.txt
A libc/test/src/math/performance_testing/fmodf16_perf.cpp
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/CanonicalizeTest.h
M libc/test/src/math/smoke/CeilTest.h
M libc/test/src/math/smoke/CopySignTest.h
M libc/test/src/math/smoke/FDimTest.h
M libc/test/src/math/smoke/FMaxTest.h
M libc/test/src/math/smoke/FMaximumMagNumTest.h
M libc/test/src/math/smoke/FMaximumMagTest.h
M libc/test/src/math/smoke/FMaximumNumTest.h
M libc/test/src/math/smoke/FMaximumTest.h
M libc/test/src/math/smoke/FMinTest.h
M libc/test/src/math/smoke/FMinimumMagNumTest.h
M libc/test/src/math/smoke/FMinimumMagTest.h
M libc/test/src/math/smoke/FMinimumNumTest.h
M libc/test/src/math/smoke/FMinimumTest.h
M libc/test/src/math/smoke/FModTest.h
A libc/test/src/math/smoke/FMulTest.h
M libc/test/src/math/smoke/FloorTest.h
M libc/test/src/math/smoke/FromfpTest.h
M libc/test/src/math/smoke/FromfpxTest.h
M libc/test/src/math/smoke/NextAfterTest.h
M libc/test/src/math/smoke/NextTowardTest.h
M libc/test/src/math/smoke/RoundEvenTest.h
M libc/test/src/math/smoke/RoundTest.h
M libc/test/src/math/smoke/RoundToIntegerTest.h
M libc/test/src/math/smoke/TruncTest.h
M libc/test/src/math/smoke/UfromfpTest.h
M libc/test/src/math/smoke/UfromfpxTest.h
A libc/test/src/math/smoke/canonicalizef16_test.cpp
A libc/test/src/math/smoke/ceilf16_test.cpp
A libc/test/src/math/smoke/copysignf16_test.cpp
A libc/test/src/math/smoke/fabsf16_test.cpp
A libc/test/src/math/smoke/fdimf16_test.cpp
A libc/test/src/math/smoke/floorf16_test.cpp
A libc/test/src/math/smoke/fmaxf16_test.cpp
A libc/test/src/math/smoke/fmaximum_mag_numf16_test.cpp
A libc/test/src/math/smoke/fmaximum_magf16_test.cpp
A libc/test/src/math/smoke/fmaximum_numf16_test.cpp
A libc/test/src/math/smoke/fmaximumf16_test.cpp
A libc/test/src/math/smoke/fminf16_test.cpp
A libc/test/src/math/smoke/fminimum_mag_numf16_test.cpp
A libc/test/src/math/smoke/fminimum_magf16_test.cpp
A libc/test/src/math/smoke/fminimum_numf16_test.cpp
A libc/test/src/math/smoke/fminimumf16_test.cpp
A libc/test/src/math/smoke/fmodf16_test.cpp
A libc/test/src/math/smoke/fmul_test.cpp
A libc/test/src/math/smoke/fromfpf16_test.cpp
A libc/test/src/math/smoke/fromfpxf16_test.cpp
A libc/test/src/math/smoke/llrintf16_test.cpp
A libc/test/src/math/smoke/llroundf16_test.cpp
A libc/test/src/math/smoke/lrintf16_test.cpp
A libc/test/src/math/smoke/lroundf16_test.cpp
A libc/test/src/math/smoke/nearbyintf16_test.cpp
A libc/test/src/math/smoke/nextafterf16_test.cpp
A libc/test/src/math/smoke/nextdownf16_test.cpp
A libc/test/src/math/smoke/nexttowardf16_test.cpp
A libc/test/src/math/smoke/nextupf16_test.cpp
A libc/test/src/math/smoke/remquof128_test.cpp
A libc/test/src/math/smoke/rintf16_test.cpp
A libc/test/src/math/smoke/roundevenf16_test.cpp
A libc/test/src/math/smoke/roundf16_test.cpp
A libc/test/src/math/smoke/truncf16_test.cpp
A libc/test/src/math/smoke/ufromfpf16_test.cpp
A libc/test/src/math/smoke/ufromfpxf16_test.cpp
M libc/test/src/pthread/CMakeLists.txt
M libc/test/src/pthread/pthread_rwlockattr_test.cpp
M libc/test/src/stdlib/CMakeLists.txt
A libc/test/src/stdlib/at_quick_exit_test.cpp
A libc/test/src/stdlib/quick_exit_test.cpp
M libc/test/utils/UnitTest/testfilter_test.cpp
M libc/utils/docgen/ctype.json
M libc/utils/docgen/docgen.py
M libc/utils/docgen/fenv.json
A libc/utils/docgen/header.py
M libc/utils/docgen/signal.json
M libc/utils/docgen/stdbit.json
M libc/utils/docgen/threads.json
M libc/utils/gpu/loader/Loader.h
M libc/utils/gpu/loader/amdgpu/Loader.cpp
M libc/utils/gpu/loader/nvptx/Loader.cpp
M libclc/CMakeLists.txt
M libcxx/.clang-tidy
M libcxx/CMakeLists.txt
M libcxx/benchmarks/CMakeLists.txt
M libcxx/docs/FeatureTestMacroTable.rst
M libcxx/docs/Hardening.rst
M libcxx/docs/ReleaseNotes/18.rst
M libcxx/docs/ReleaseNotes/19.rst
M libcxx/docs/Status/Cxx20.rst
M libcxx/docs/Status/Cxx20Issues.csv
M libcxx/docs/Status/Cxx20Papers.csv
M libcxx/docs/Status/Cxx23Issues.csv
M libcxx/docs/Status/Cxx2cIssues.csv
M libcxx/docs/Status/Cxx2cPapers.csv
M libcxx/docs/Status/ParallelismProjects.csv
M libcxx/docs/TestingLibcxx.rst
M libcxx/docs/UsingLibcxx.rst
M libcxx/include/CMakeLists.txt
M libcxx/include/__algorithm/copy_move_common.h
A libcxx/include/__algorithm/pstl.h
R libcxx/include/__algorithm/pstl_any_all_none_of.h
R libcxx/include/__algorithm/pstl_copy.h
R libcxx/include/__algorithm/pstl_count.h
R libcxx/include/__algorithm/pstl_equal.h
R libcxx/include/__algorithm/pstl_fill.h
R libcxx/include/__algorithm/pstl_find.h
R libcxx/include/__algorithm/pstl_for_each.h
R libcxx/include/__algorithm/pstl_generate.h
R libcxx/include/__algorithm/pstl_is_partitioned.h
R libcxx/include/__algorithm/pstl_merge.h
R libcxx/include/__algorithm/pstl_move.h
R libcxx/include/__algorithm/pstl_replace.h
R libcxx/include/__algorithm/pstl_rotate_copy.h
R libcxx/include/__algorithm/pstl_sort.h
R libcxx/include/__algorithm/pstl_stable_sort.h
R libcxx/include/__algorithm/pstl_transform.h
M libcxx/include/__atomic/atomic_base.h
M libcxx/include/__atomic/atomic_flag.h
A libcxx/include/__atomic/atomic_ref.h
M libcxx/include/__atomic/atomic_sync.h
M libcxx/include/__atomic/check_memory_order.h
M libcxx/include/__atomic/cxx_atomic_impl.h
A libcxx/include/__atomic/to_gcc_order.h
R libcxx/include/__availability
M libcxx/include/__charconv/to_chars_floating_point.h
M libcxx/include/__chrono/file_clock.h
M libcxx/include/__chrono/tzdb_list.h
M libcxx/include/__config
A libcxx/include/__configuration/abi.h
A libcxx/include/__configuration/availability.h
A libcxx/include/__configuration/compiler.h
A libcxx/include/__configuration/language.h
A libcxx/include/__configuration/platform.h
M libcxx/include/__exception/exception_ptr.h
M libcxx/include/__expected/bad_expected_access.h
M libcxx/include/__filesystem/directory_entry.h
M libcxx/include/__filesystem/directory_iterator.h
M libcxx/include/__filesystem/filesystem_error.h
M libcxx/include/__filesystem/operations.h
M libcxx/include/__filesystem/path.h
M libcxx/include/__filesystem/path_iterator.h
M libcxx/include/__filesystem/recursive_directory_iterator.h
M libcxx/include/__filesystem/u8path.h
M libcxx/include/__functional/bind.h
M libcxx/include/__functional/function.h
M libcxx/include/__fwd/memory_resource.h
M libcxx/include/__fwd/string.h
M libcxx/include/__locale
M libcxx/include/__locale_dir/locale_base_api/android.h
M libcxx/include/__locale_dir/locale_base_api/ibm.h
M libcxx/include/__locale_dir/locale_base_api/musl.h
M libcxx/include/__locale_dir/locale_base_api/openbsd.h
M libcxx/include/__mdspan/extents.h
M libcxx/include/__memory/shared_ptr.h
M libcxx/include/__memory_resource/memory_resource.h
M libcxx/include/__memory_resource/monotonic_buffer_resource.h
M libcxx/include/__memory_resource/polymorphic_allocator.h
M libcxx/include/__memory_resource/synchronized_pool_resource.h
M libcxx/include/__memory_resource/unsynchronized_pool_resource.h
A libcxx/include/__numeric/pstl.h
R libcxx/include/__numeric/pstl_reduce.h
R libcxx/include/__numeric/pstl_transform_reduce.h
M libcxx/include/__ostream/print.h
M libcxx/include/__stop_token/stop_callback.h
M libcxx/include/__stop_token/stop_source.h
M libcxx/include/__stop_token/stop_state.h
M libcxx/include/__stop_token/stop_token.h
M libcxx/include/__string/constexpr_c_functions.h
M libcxx/include/__support/xlocale/__nop_locale_mgmt.h
M libcxx/include/__support/xlocale/__posix_l_fallback.h
M libcxx/include/__support/xlocale/__strtonum_fallback.h
M libcxx/include/__thread/jthread.h
M libcxx/include/__thread/poll_with_backoff.h
M libcxx/include/__type_traits/datasizeof.h
M libcxx/include/__type_traits/has_unique_object_representation.h
M libcxx/include/__type_traits/promote.h
M libcxx/include/__type_traits/remove_pointer.h
M libcxx/include/__utility/pair.h
M libcxx/include/__verbose_abort
M libcxx/include/algorithm
M libcxx/include/atomic
M libcxx/include/barrier
M libcxx/include/bitset
M libcxx/include/condition_variable
M libcxx/include/deque
M libcxx/include/experimental/__simd/scalar.h
M libcxx/include/experimental/__simd/simd.h
M libcxx/include/experimental/__simd/simd_mask.h
M libcxx/include/experimental/__simd/vec_ext.h
M libcxx/include/forward_list
M libcxx/include/fstream
M libcxx/include/latch
M libcxx/include/list
M libcxx/include/locale
M libcxx/include/map
M libcxx/include/memory
M libcxx/include/module.modulemap
M libcxx/include/numeric
M libcxx/include/optional
M libcxx/include/print
M libcxx/include/regex
M libcxx/include/semaphore
M libcxx/include/set
M libcxx/include/span
M libcxx/include/sstream
M libcxx/include/unordered_map
M libcxx/include/unordered_set
M libcxx/include/variant
M libcxx/include/vector
M libcxx/include/version
M libcxx/modules/CMakeLists.txt
M libcxx/modules/std/atomic.inc
M libcxx/modules/std/memory.inc
M libcxx/src/CMakeLists.txt
M libcxx/src/atomic.cpp
M libcxx/src/chrono.cpp
M libcxx/src/locale.cpp
M libcxx/src/optional.cpp
M libcxx/src/ostream.cpp
M libcxx/test/CMakeLists.txt
M libcxx/test/configs/cmake-bridge.cfg.in
M libcxx/test/configs/llvm-libc++-android-ndk.cfg.in
M libcxx/test/configs/llvm-libc++-mingw.cfg.in
M libcxx/test/configs/llvm-libc++-shared-clangcl.cfg.in
M libcxx/test/configs/llvm-libc++-shared-gcc.cfg.in
M libcxx/test/configs/llvm-libc++-shared.cfg.in
M libcxx/test/configs/llvm-libc++-static-clangcl.cfg.in
M libcxx/test/libcxx/assertions/modes/enabling_assertions_enables_extensive_mode.pass.cpp
M libcxx/test/libcxx/assertions/modes/override_with_debug_mode.pass.cpp
M libcxx/test/libcxx/assertions/modes/override_with_extensive_mode.pass.cpp
M libcxx/test/libcxx/assertions/modes/override_with_fast_mode.pass.cpp
M libcxx/test/libcxx/assertions/modes/override_with_unchecked_mode.pass.cpp
A libcxx/test/libcxx/atomics/atomics.ref/assert.compare_exchange_strong.pass.cpp
A libcxx/test/libcxx/atomics/atomics.ref/assert.compare_exchange_weak.pass.cpp
A libcxx/test/libcxx/atomics/atomics.ref/assert.ctor.pass.cpp
A libcxx/test/libcxx/atomics/atomics.ref/assert.load.pass.cpp
A libcxx/test/libcxx/atomics/atomics.ref/assert.store.pass.cpp
A libcxx/test/libcxx/atomics/atomics.ref/assert.wait.pass.cpp
A libcxx/test/libcxx/atomics/atomics.syn/wait.pass.cpp
M libcxx/test/libcxx/containers/sequences/deque/asan_caterpillar.pass.cpp
R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_compare_exchange_strong.depr_in_cxx20..verify.cpp
R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_compare_exchange_strong_explicit.depr_in_cxx20.verify.cpp
R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_compare_exchange_weak.depr_in_cxx20..verify.cpp
R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_compare_exchange_weak_explicit.depr_in_cxx20..verify.cpp
R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_exchange.depr_in_cxx20..verify.cpp
R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_exchange_explicit.verify.depr_in_cxx20..cpp
R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_is_lock_free.depr_in_cxx20..verify.cpp
R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_load.depr_in_cxx20..verify.cpp
R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_load_explicit.depr_in_cxx20..verify.cpp
R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_store.depr_in_cxx20..verify.cpp
R libcxx/test/libcxx/depr/depr.util.smartptr.shared.atomic/atomic_store_explicit.depr_in_cxx20..verify.cpp
M libcxx/test/libcxx/input.output/filesystems/convert_file_time.pass.cpp
M libcxx/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp
M libcxx/test/libcxx/lit.local.cfg
M libcxx/test/libcxx/time/time.zone/time.zone.db/time.zone.db.tzdb/locate_zone.pass.cpp
M libcxx/test/libcxx/transitive_includes.gen.py
M libcxx/test/libcxx/vendor/apple/availability-with-pedantic-errors.compile.pass.cpp
R libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/pstl.exception_handling.pass.cpp
R libcxx/test/std/algorithms/alg.modifying.operations/alg.move/pstl.exception_handling.pass.cpp
R libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/pstl.exception_handling.pass.cpp
R libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/pstl.exception_handling.pass.cpp
R libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/pstl.exception_handling.pass.cpp
R libcxx/test/std/algorithms/alg.nonmodifying/alg.all_of/pstl.exception_handling.pass.cpp
R libcxx/test/std/algorithms/alg.nonmodifying/alg.any_of/pstl.exception_handling.pass.cpp
M libcxx/test/std/algorithms/alg.nonmodifying/alg.contains/ranges.contains_subrange.pass.cpp
R libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/pstl.exception_handling.pass.cpp
R libcxx/test/std/algorithms/alg.nonmodifying/alg.find/pstl.exception_handling.pass.cpp
R libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/pstl.exception_handling.pass.cpp
R libcxx/test/std/algorithms/alg.nonmodifying/alg.none_of/pstl.exception_handling.pass.cpp
M libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge.pass.cpp
R libcxx/test/std/algorithms/alg.sorting/alg.merge/pstl.exception_handling.pass.cpp
R libcxx/test/std/algorithms/alg.sorting/alg.sort/stable.sort/pstl.exception_handling.pass.cpp
R libcxx/test/std/algorithms/numeric.ops/reduce/pstl.exception_handling.pass.cpp
R libcxx/test/std/algorithms/numeric.ops/reduce/pstl.reduce.pass.cpp
R libcxx/test/std/algorithms/numeric.ops/transform.reduce/pstl.exception_handling.pass.cpp
R libcxx/test/std/algorithms/numeric.ops/transform.reduce/pstl.transform_reduce.binary.pass.cpp
R libcxx/test/std/algorithms/numeric.ops/transform.reduce/pstl.transform_reduce.unary.pass.cpp
A libcxx/test/std/algorithms/pstl.exception_handling.pass.cpp
A libcxx/test/std/atomics/atomics.ref/assign.pass.cpp
A libcxx/test/std/atomics/atomics.ref/bitwise_and_assign.pass.cpp
A libcxx/test/std/atomics/atomics.ref/bitwise_or_assign.pass.cpp
A libcxx/test/std/atomics/atomics.ref/bitwise_xor_assign.pass.cpp
A libcxx/test/std/atomics/atomics.ref/compare_exchange_strong.pass.cpp
A libcxx/test/std/atomics/atomics.ref/compare_exchange_weak.pass.cpp
A libcxx/test/std/atomics/atomics.ref/convert.pass.cpp
A libcxx/test/std/atomics/atomics.ref/ctor.pass.cpp
A libcxx/test/std/atomics/atomics.ref/deduction.pass.cpp
A libcxx/test/std/atomics/atomics.ref/exchange.pass.cpp
A libcxx/test/std/atomics/atomics.ref/fetch_add.pass.cpp
A libcxx/test/std/atomics/atomics.ref/fetch_and.pass.cpp
A libcxx/test/std/atomics/atomics.ref/fetch_or.pass.cpp
A libcxx/test/std/atomics/atomics.ref/fetch_sub.pass.cpp
A libcxx/test/std/atomics/atomics.ref/fetch_xor.pass.cpp
A libcxx/test/std/atomics/atomics.ref/increment_decrement.pass.cpp
A libcxx/test/std/atomics/atomics.ref/is_always_lock_free.pass.cpp
A libcxx/test/std/atomics/atomics.ref/load.pass.cpp
A libcxx/test/std/atomics/atomics.ref/member_types.compile.pass.cpp
A libcxx/test/std/atomics/atomics.ref/notify_all.pass.cpp
A libcxx/test/std/atomics/atomics.ref/notify_one.pass.cpp
A libcxx/test/std/atomics/atomics.ref/operator_minus_equals.pass.cpp
A libcxx/test/std/atomics/atomics.ref/operator_plus_equals.pass.cpp
A libcxx/test/std/atomics/atomics.ref/required_alignment.pass.cpp
A libcxx/test/std/atomics/atomics.ref/requires-trivially-copyable.verify.cpp
A libcxx/test/std/atomics/atomics.ref/store.pass.cpp
A libcxx/test/std/atomics/atomics.ref/test_helper.h
A libcxx/test/std/atomics/atomics.ref/wait.pass.cpp
M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_add.pass.cpp
M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_sub.pass.cpp
M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.minus_equals.pass.cpp
M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.plus_equals.pass.cpp
M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/types.compile.pass.cpp
A libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered.compile.pass.cpp
R libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered.pass.cpp
A libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered_with.compile.pass.cpp
R libcxx/test/std/concepts/concepts.compare/concepts.totallyordered/totally_ordered_with.pass.cpp
A libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/floating_point.compile.pass.cpp
R libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/floating_point.pass.cpp
A libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/integral.compile.pass.cpp
R libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/integral.pass.cpp
A libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/signed_integral.compile.pass.cpp
R libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/signed_integral.pass.cpp
A libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/unsigned_integral.compile.pass.cpp
R libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/unsigned_integral.pass.cpp
A libcxx/test/std/containers/associative/map/gcc_workaround.compile.pass.cpp
R libcxx/test/std/containers/associative/map/gcc_workaround.pass.cpp
M libcxx/test/std/containers/associative/map/map.cons/deduct.verify.cpp
A libcxx/test/std/containers/associative/map/map.cons/default_recursive.compile.pass.cpp
R libcxx/test/std/containers/associative/map/map.cons/default_recursive.pass.cpp
M libcxx/test/std/containers/associative/map/map.value_compare/types.pass.cpp
M libcxx/test/std/containers/associative/multimap/multimap.cons/deduct.verify.cpp
A libcxx/test/std/containers/associative/multimap/multimap.cons/default_recursive.compile.pass.cpp
R libcxx/test/std/containers/associative/multimap/multimap.cons/default_recursive.pass.cpp
M libcxx/test/std/containers/associative/multimap/multimap.value_compare/types.pass.cpp
M libcxx/test/std/containers/associative/multiset/multiset.cons/deduct.verify.cpp
A libcxx/test/std/containers/associative/set/gcc_workaround.compile.pass.cpp
R libcxx/test/std/containers/associative/set/gcc_workaround.pass.cpp
M libcxx/test/std/containers/associative/set/set.cons/deduct.verify.cpp
M libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons/deduct.verify.cpp
M libcxx/test/std/containers/container.adaptors/queue/queue.cons/deduct.verify.cpp
M libcxx/test/std/containers/container.adaptors/stack/stack.cons/deduct.verify.cpp
M libcxx/test/std/containers/sequences/array/array.cons/deduct.verify.cpp
A libcxx/test/std/containers/sequences/array/lwg3382.compile.pass.cpp
M libcxx/test/std/containers/sequences/deque/deque.cons/deduct.verify.cpp
M libcxx/test/std/containers/sequences/forwardlist/forwardlist.cons/deduct.verify.cpp
M libcxx/test/std/containers/sequences/list/list.cons/deduct.verify.cpp
M libcxx/test/std/containers/sequences/vector/vector.cons/deduct.verify.cpp
R libcxx/test/std/containers/sequences/vector/vector.modifiers/destory_elements.pass.cpp
A libcxx/test/std/containers/sequences/vector/vector.modifiers/destroy_elements.pass.cpp
M libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/deduct.verify.cpp
M libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/deduct.verify.cpp
M libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/deduct.verify.cpp
M libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/deduct.verify.cpp
M libcxx/test/std/containers/views/views.span/span.cons/initializer_list.pass.cpp
M libcxx/test/std/containers/views/views.span/span.cons/span.pass.cpp
M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp
M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp
A libcxx/test/std/experimental/simd/simd.class/simd_copy.pass.cpp
A libcxx/test/std/experimental/simd/simd.mask.class/simd_mask_copy.pass.cpp
M libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/path.pass.cpp
M libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/path.pass.cpp
M libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/path.pass.cpp
A libcxx/test/std/iterators/iterator.requirements/iterator.assoc.types/readable.traits/iter_value_t.compile.pass.cpp
R libcxx/test/std/iterators/iterator.requirements/iterator.assoc.types/readable.traits/iter_value_t.pass.cpp
M libcxx/test/std/iterators/predef.iterators/counted.iterator/implicit_ctad.pass.cpp
M libcxx/test/std/iterators/predef.iterators/insert.iterators/back.insert.iterator/implicit_ctad.pass.cpp
M libcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iterator/implicit_ctad.pass.cpp
M libcxx/test/std/iterators/predef.iterators/move.iterators/move.iterator/implicit_ctad.pass.cpp
M libcxx/test/std/iterators/predef.iterators/move.iterators/sized_sentinel.compile.pass.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array14.pass.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete14.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/filesystem.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/string.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
M libcxx/test/std/language.support/support.start.term/quick_exit.pass.cpp
M libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_double.pass.cpp
M libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_float.pass.cpp
M libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long_double.pass.cpp
M libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/thousands_sep.pass.cpp
A libcxx/test/std/numerics/numbers/user_type.compile.pass.cpp
R libcxx/test/std/numerics/numbers/user_type.pass.cpp
M libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.pass.cpp
A libcxx/test/std/numerics/numeric.ops/reduce/pstl.reduce.pass.cpp
A libcxx/test/std/numerics/numeric.ops/transform.reduce/pstl.transform_reduce.binary.pass.cpp
A libcxx/test/std/numerics/numeric.ops/transform.reduce/pstl.transform_reduce.unary.pass.cpp
M libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/assign.pass.cpp
M libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/copy.pass.cpp
M libcxx/test/std/ranges/range.adaptors/range.join/ctad.verify.cpp
A libcxx/test/std/re/re.alg/re.alg.replace/zero_length_matches.pass.cpp
M libcxx/test/std/re/re.iter/re.regiter/re.regiter.incr/post.pass.cpp
M libcxx/test/std/re/re.regex/re.regex.construct/deduct.verify.cpp
A libcxx/test/std/strings/char.traits/char.traits.require/nothing_to_do.compile.pass.cpp
R libcxx/test/std/strings/char.traits/char.traits.require/nothing_to_do.pass.cpp
A libcxx/test/std/strings/char.traits/char.traits.typedefs/nothing_to_do.compile.pass.cpp
R libcxx/test/std/strings/char.traits/char.traits.typedefs/nothing_to_do.pass.cpp
M libcxx/test/std/strings/string.view/string.view.deduct/implicit.pass.cpp
A libcxx/test/std/strings/string.view/string.view.synop/nothing_to_do.compile.pass.cpp
R libcxx/test/std/strings/string.view/string.view.synop/nothing_to_do.pass.cpp
A libcxx/test/std/strings/strings.general/nothing_to_do.compile.pass.cpp
R libcxx/test/std/strings/strings.general/nothing_to_do.pass.cpp
M libcxx/test/std/thread/thread.condition/thread.condition.condvar/wait_for.pass.cpp
M libcxx/test/std/thread/thread.condition/thread.condition.condvar/wait_for_pred.pass.cpp
M libcxx/test/std/thread/thread.condition/thread.condition.condvar/wait_pred.pass.cpp
M libcxx/test/std/thread/thread.condition/thread.condition.condvar/wait_until.pass.cpp
M libcxx/test/std/thread/thread.condition/thread.condition.condvar/wait_until_pred.pass.cpp
M libcxx/test/std/thread/thread.condition/thread.condition.condvarany/wait_for.pass.cpp
M libcxx/test/std/thread/thread.condition/thread.condition.condvarany/wait_for_pred.pass.cpp
M libcxx/test/std/thread/thread.condition/thread.condition.condvarany/wait_pred.pass.cpp
M libcxx/test/std/thread/thread.condition/thread.condition.condvarany/wait_until.pass.cpp
M libcxx/test/std/thread/thread.condition/thread.condition.condvarany/wait_until_pred.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/implicit_ctad.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/implicit_ctad.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/implicit_ctad.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/lock.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/try_lock.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/implicit_ctad.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.access/current_zone.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.access/locate_zone.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.tzdb/current_zone.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.tzdb/locate_zone.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.leap/nonmembers/comparison.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/monadic/transform.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/monadic/transform_error.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/monadic/transform_error.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.char_array.pass.cpp
M libcxx/test/std/utilities/function.objects/func.search/func.search.bm/implicit_ctad.pass.cpp
M libcxx/test/std/utilities/function.objects/func.search/func.search.bmh/implicit_ctad.pass.cpp
M libcxx/test/std/utilities/function.objects/func.search/func.search.default/implicit_ctad.pass.cpp
M libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/deduct_F.pass.cpp
R libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/deduct_F.verify.cpp
M libcxx/test/std/utilities/function.objects/operations.implicit_ctad.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_compare_exchange_strong.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_compare_exchange_strong_explicit.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_compare_exchange_weak.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_compare_exchange_weak_explicit.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_exchange.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_exchange_explicit.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_is_lock_free.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_load.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_load_explicit.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_store.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/atomic_store_explicit.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter_allocator.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_allocator.pass.cpp
A libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/types.h
M libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/has_unique_object_representations.pass.cpp
M libcxx/test/std/utilities/optional/optional.object/optional.object.assign/emplace.pass.cpp
M libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/deduct.verify.cpp
M libcxx/test/std/utilities/optional/optional.object/optional.object.mod/reset.pass.cpp
M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp
M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR31384.pass.cpp
M libcxx/test/std/utilities/utility/mem.res/mem.res.global/new_delete_resource.pass.cpp
A libcxx/test/std/utilities/utility/pairs/pairs.pair/lwg3382.compile.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.swap/swap.pass.cpp
M libcxx/test/std/utilities/variant/variant.visit.member/visit_return_type.pass.cpp
M libcxx/test/support/count_new.h
M libcxx/test/support/msvc_stdlib_force_include.h
M libcxx/test/support/test_macros.h
M libcxx/test/tools/clang_tidy_checks/CMakeLists.txt
M libcxx/test/tools/clang_tidy_checks/header_exportable_declarations.cpp
M libcxx/utils/ci/Dockerfile
M libcxx/utils/generate_escaped_output_table.py
M libcxx/utils/generate_feature_test_macro_components.py
M libcxx/utils/generate_iwyu_mapping.py
M libcxx/utils/generate_width_estimation_table.py
M libcxx/utils/libcxx/test/dsl.py
M libcxx/utils/libcxx/test/features.py
M libcxx/utils/libcxx/test/params.py
M libcxxabi/CMakeLists.txt
M libcxxabi/include/cxxabi.h
M libcxxabi/src/CMakeLists.txt
M libcxxabi/src/aix_state_tab_eh.inc
M libcxxabi/src/cxa_exception.cpp
M libcxxabi/src/cxa_exception.h
M libcxxabi/src/cxa_personality.cpp
M libcxxabi/test/CMakeLists.txt
M libcxxabi/test/catch_member_function_pointer_02.pass.cpp
M libcxxabi/test/configs/cmake-bridge.cfg.in
M libunwind/CMakeLists.txt
M libunwind/include/__libunwind_config.h
M libunwind/src/Unwind-wasm.c
M libunwind/src/UnwindCursor.hpp
M libunwind/src/UnwindLevel1.c
M libunwind/src/UnwindRegistersRestore.S
M libunwind/src/UnwindRegistersSave.S
M libunwind/src/libunwind.cpp
M libunwind/test/CMakeLists.txt
M libunwind/test/configs/cmake-bridge.cfg.in
M lld/CMakeLists.txt
M lld/COFF/DriverUtils.cpp
M lld/ELF/Arch/AArch64.cpp
M lld/ELF/Arch/ARM.cpp
M lld/ELF/Arch/AVR.cpp
M lld/ELF/Config.h
M lld/ELF/Driver.cpp
M lld/ELF/InputFiles.cpp
M lld/ELF/InputSection.cpp
M lld/ELF/LinkerScript.cpp
M lld/ELF/LinkerScript.h
M lld/ELF/Options.td
M lld/ELF/OutputSections.cpp
M lld/ELF/Relocations.cpp
M lld/ELF/SyntheticSections.cpp
M lld/ELF/SyntheticSections.h
M lld/ELF/Writer.cpp
M lld/ELF/Writer.h
M lld/MachO/Config.h
M lld/MachO/Driver.cpp
M lld/MachO/ObjC.cpp
M lld/MachO/Options.td
M lld/MachO/SyntheticSections.cpp
M lld/cmake/modules/AddLLD.cmake
M lld/docs/ReleaseNotes.rst
M lld/docs/ld.lld.1
M lld/test/CMakeLists.txt
A lld/test/COFF/arm64ec-exports.s
M lld/test/COFF/lto-weak-undefined.ll
M lld/test/COFF/rsds.test
A lld/test/ELF/aarch64-feature-gcs.s
M lld/test/ELF/aarch64-fpic-got.s
M lld/test/ELF/aarch64-reloc-pauth.s
M lld/test/ELF/arm-gotoff.s
A lld/test/ELF/armv8-thumb-plt-reloc.s
M lld/test/ELF/avr-reloc-error.s
R llvm/unittests/ADT/MoveOnly.cpp
Log Message:
-----------
[𝘀𝗽𝗿] landed version
Created using spr 1.3.5
Compare: https://github.com/llvm/llvm-project/compare/2debba6d10e3...05aebb3df516
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