[all-commits] [llvm/llvm-project] ade425: [clang] Fix parsing a typeid containing a pack ind...
Akira Hatanaka via All-commits
all-commits at lists.llvm.org
Wed Jun 12 20:24:53 PDT 2024
Branch: refs/heads/users/ahmedbougacha/ptrauth-function-pointers
Home: https://github.com/llvm/llvm-project
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: 2388129d48cadcfca735a6d04b49b9ddb9c27de1
https://github.com/llvm/llvm-project/commit/2388129d48cadcfca735a6d04b49b9ddb9c27de1
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/lib/Target/Sparc/MCTargetDesc/SparcInstPrinter.cpp
M llvm/lib/Target/Sparc/MCTargetDesc/SparcInstPrinter.h
M llvm/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp
M llvm/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.h
M llvm/lib/Target/Sparc/Sparc.td
M llvm/lib/Target/Sparc/SparcASITags.td
M llvm/lib/Target/Sparc/SparcInstrInfo.td
A llvm/lib/Target/Sparc/SparcPrefetchTags.td
M llvm/test/MC/Disassembler/Sparc/sparc-v9.txt
M llvm/test/MC/Sparc/sparcv9-instructions.s
Log Message:
-----------
[SPARC][IAS] Add named prefetch tag constants
This adds named tag constants (such as `#one_write` and `#one_read`)
for the prefetch instruction.
Reviewers: jrtc27, rorth, brad0, s-barannikov
Reviewed By: s-barannikov
Pull Request: https://github.com/llvm/llvm-project/pull/94249
Commit: 41f2ea0b0fcd2b683c7380e1cfd3acad2feb51dd
https://github.com/llvm/llvm-project/commit/41f2ea0b0fcd2b683c7380e1cfd3acad2feb51dd
Author: Koakuma <koachan at protonmail.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M llvm/lib/Target/Sparc/SparcInstrInfo.td
M llvm/test/MC/Disassembler/Sparc/sparc-v9-asi.txt
M llvm/test/MC/Sparc/sparcv9-instructions.s
Log Message:
-----------
[SPARC][IAS] Add support for `prefetcha` instruction
This adds support for `prefetcha` instruction for prefetching from
alternate address spaces.
Reviewers: jrtc27, brad0, rorth, s-barannikov
Reviewed By: s-barannikov
Pull Request: https://github.com/llvm/llvm-project/pull/94250
Commit: 8901f718ea16ceb82b6f878db53d3bcb46b4d2b2
https://github.com/llvm/llvm-project/commit/8901f718ea16ceb82b6f878db53d3bcb46b4d2b2
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M bolt/lib/Profile/BoltAddressTranslation.cpp
M clang-tools-extra/clang-query/QueryParser.cpp
M mlir/lib/Query/QueryParser.cpp
Log Message:
-----------
Use StringRef::starts_with (NFC) (#94886)
Commit: 2bc36afcdb282618d3dc08462375fffca32cd7ed
https://github.com/llvm/llvm-project/commit/2bc36afcdb282618d3dc08462375fffca32cd7ed
Author: Koakuma <koachan at protonmail.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
Log Message:
-----------
[SPARC][IAS] Handle the case of non-4-byte aligned writeNopData
If the Count passed into writeNopData is not a multiple of four,
add a little amount of zeros before writing the NOP stream.
This makes it match the behavior of GNU binutils.
Reviewers: brad0, rorth, s-barannikov, jrtc27
Reviewed By: s-barannikov
Pull Request: https://github.com/llvm/llvm-project/pull/94251
Commit: e0b9cce4c72508eebd489aa46fa8f613167dbcd9
https://github.com/llvm/llvm-project/commit/e0b9cce4c72508eebd489aa46fa8f613167dbcd9
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/sparc64-ctrl-instructions.s
Log Message:
-----------
[SPARC][IAS] Add movr(n)e alias for movr(n)z
This adds the alternate mnemonics for movrz and movrnz.
Reviewers: s-barannikov, jrtc27, brad0, rorth
Reviewed By: s-barannikov
Pull Request: https://github.com/llvm/llvm-project/pull/94252
Commit: de736d9c6a7634285c4283b369a9442a9d191cd9
https://github.com/llvm/llvm-project/commit/de736d9c6a7634285c4283b369a9442a9d191cd9
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M libcxx/include/__chrono/time_zone.h
M libcxx/include/chrono
M libcxx/src/time_zone.cpp
M libcxx/test/libcxx/diagnostics/chrono.nodiscard.verify.cpp
A libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.local_time.pass.cpp
Log Message:
-----------
[libc++][TZDB] Implements time_zone get_info(local_time). (#89537)
Implements parts of:
- P0355 Extending chrono to Calendars and Time Zones
Commit: f7ccb320859b9e341f74dc0cd7791a3b871eb937
https://github.com/llvm/llvm-project/commit/f7ccb320859b9e341f74dc0cd7791a3b871eb937
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
Log Message:
-----------
[Instrumentation] Remove an extraneous ArrayRef (NFC) (#94890)
We can implicitly convert RemainingVDs to an ArrayRef. Note that
RemainingVDs is of type SmallVector<InstrProfValueData, 24>.
Commit: e090bac638e56ff9db87e622cdf925f2b99dfc30
https://github.com/llvm/llvm-project/commit/e090bac638e56ff9db87e622cdf925f2b99dfc30
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M clang/test/SemaTemplate/cwg2398.cpp
Log Message:
-----------
[clang] NFC: add new cwg2398 tests
Commit: 089c4bb589dd46d1484bd6ba1fe8f5c472339af4
https://github.com/llvm/llvm-project/commit/089c4bb589dd46d1484bd6ba1fe8f5c472339af4
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M llvm/lib/ProfileData/InstrProfReader.cpp
M llvm/lib/ProfileData/SampleProfWriter.cpp
Log Message:
-----------
[ProfileData] Use ArrayRef instead of const std::vector<T> & (NFC) (#94878)
Commit: add89088fb8de84fdbeb97c0386a831e51d090a1
https://github.com/llvm/llvm-project/commit/add89088fb8de84fdbeb97c0386a831e51d090a1
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
Log Message:
-----------
[RISCV] Cleanup some Constraint parameters in RISCVInstrInfoVPseudos.td. NFC
Remove unneeded parameters or sync into class if they are only
ever used with one value.
Commit: e4b0655b297e4f4b0eb26548c8be48d527ebc178
https://github.com/llvm/llvm-project/commit/e4b0655b297e4f4b0eb26548c8be48d527ebc178
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/icmp.ll
Log Message:
-----------
[InstCombine] Fix missing argument typo in `InstCombinerImpl::foldICmpShlConstant` (#94899)
Closes #94897.
Commit: 014446c130362914b7e6dc839a8f5a86517cec63
https://github.com/llvm/llvm-project/commit/014446c130362914b7e6dc839a8f5a86517cec63
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
Log Message:
-----------
GlobalISel: Remove faulty assert in buildAtomicRMW op
Vectors are supported for fp operations now, so remove the assert. The
supported type/operation combinations are best left for the verifier.
Avoids regression in future commit that starts treating some vector
cases as legal.
Commit: d639b91bb26ed24d612953cf132605531c616c72
https://github.com/llvm/llvm-project/commit/d639b91bb26ed24d612953cf132605531c616c72
Author: Fabian Mora <fmora.dev at gmail.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/GPU/IR/CompilationAttrInterfaces.td
Log Message:
-----------
[NFC][mlir][gpu] Fully-qualify all namespaces in the GPU compilation interfaces (#94908)
Fully qualify all namespaces appearing in `GPUTargetAttrInterface` and
`OffloadingLLVMTranslationAttrInterface`. If they're not fully qualified
then out-of-tree dialects might encounter name resolution errors.
Commit: dbe63e3d4dc9e4a53c95a6f8fd24c071d0a603e2
https://github.com/llvm/llvm-project/commit/dbe63e3d4dc9e4a53c95a6f8fd24c071d0a603e2
Author: Puelloc <shentukeqin at hotmail.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGStmt.cpp
A clang/test/OpenMP/error_unsupport_feature.c
Log Message:
-----------
[Clang][OpenMP] throw compilation error instead of crash in Stmt::OMPScopeDirectiveClass case (#77535) (#84135)
Fix #77535, Change unstable assertion into compilation error, and add a
test for it.
Commit: 521238d19b53f4860aa07198ed84e9816d69d7a0
https://github.com/llvm/llvm-project/commit/521238d19b53f4860aa07198ed84e9816d69d7a0
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProfReader.h
M llvm/lib/ProfileData/InstrProfReader.cpp
Log Message:
-----------
[ProfileData] Refactor VTableNamePtr and CompressedVTableNamesLen (NFC) (#94859)
VTableNamePtr and CompressedVTableNamesLen are always used together to
create a StringRef in getSymtab.
We can create the StringRef ahead of time in readHeader. This way,
IndexedInstrProfReader becomes a tiny bit simpler with fewer member
variables. Also, StringRef default-constructs itself with its Data
and Length set to nullptr and 0, respectively, which is exactly what
we need.
Commit: 77116bd7d2682dde2bdfc6c4b96d036ffa7bc3b6
https://github.com/llvm/llvm-project/commit/77116bd7d2682dde2bdfc6c4b96d036ffa7bc3b6
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M libcxx/include/CMakeLists.txt
A libcxx/include/__chrono/exception.h
M libcxx/include/__chrono/time_zone.h
M libcxx/include/chrono
M libcxx/include/module.modulemap
M libcxx/modules/std/chrono.inc
M libcxx/src/CMakeLists.txt
A libcxx/src/chrono_exception.cpp
A libcxx/test/libcxx/time/time.zone/time.zone.exception/time.zone.exception.ambig/assert.ctor.pass.cpp
A libcxx/test/libcxx/time/time.zone/time.zone.exception/time.zone.exception.nonexist/assert.ctor.pass.cpp
A libcxx/test/libcxx/time/time.zone/time.zone.timezone/time.zone.members/assert.to_sys.pass.cpp
M libcxx/test/libcxx/transitive_includes/cxx03.csv
M libcxx/test/libcxx/transitive_includes/cxx11.csv
M libcxx/test/libcxx/transitive_includes/cxx14.csv
M libcxx/test/libcxx/transitive_includes/cxx17.csv
M libcxx/test/libcxx/transitive_includes/cxx20.csv
M libcxx/test/libcxx/transitive_includes/cxx23.csv
M libcxx/test/libcxx/transitive_includes/cxx26.csv
A libcxx/test/std/time/time.zone/time.zone.exception/time.zone.exception.ambig/ctor.pass.cpp
A libcxx/test/std/time/time.zone/time.zone.exception/time.zone.exception.ambig/types.pass.cpp
A libcxx/test/std/time/time.zone/time.zone.exception/time.zone.exception.nonexist/ctor.pass.cpp
A libcxx/test/std/time/time.zone/time.zone.exception/time.zone.exception.nonexist/types.pass.cpp
A libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/to_sys.pass.cpp
Log Message:
-----------
[libc++][TZDB] Implements time_zone::to_sys. (#90394)
This implements the throwing overload and the exception classes throw by
this overload.
Implements parts of:
- P0355 Extending chrono to Calendars and Time Zones
Commit: 54373e0f40bb54580d96a734beb8ee4159744769
https://github.com/llvm/llvm-project/commit/54373e0f40bb54580d96a734beb8ee4159744769
Author: Fabian Mora <fmora.dev at gmail.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/GPU/IR/GPUOps.td
M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
Log Message:
-----------
[NFC][mlir][gpu] Make sym_name an inherent attr in GPUModuleOp (#94918)
Make `sym_name` an inherent attr in GPUModuleOp so that it doesn't show
in the discardable attributes.
The change is safe as the attribute is always expected to be present.
Commit: acf67212e87bdccebba1c6dc6b6e49f3a7bcf866
https://github.com/llvm/llvm-project/commit/acf67212e87bdccebba1c6dc6b6e49f3a7bcf866
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCInst.h
Log Message:
-----------
MCInst: decrease inline element count to 6. NFC
MCInst is primarily used in local variables and MCRelaxableFragment
(mostly JMP/JCC for x86). Reducing the inline element count can make
MCRelaxableFragment smaller, potentially leading to a lower peak RSS.
When compiling sqlite3.c, x86-64 has the largest maximum numOperands.
aarch64: 5; ppc64: 6; riscv64: 3; s390x: 6; x86-64: 8
Here is the frequency table for x86-64:
max getNumOperands: 8
0: 676
1: 37892
2: 84046
3: 26767
4: 1640
5: 1222
6: 80794
7: 768
8: 22
Pull Request: https://github.com/llvm/llvm-project/pull/94913
Commit: 63ef2eca887f8bce604fcf59cecdca986eb7f132
https://github.com/llvm/llvm-project/commit/63ef2eca887f8bce604fcf59cecdca986eb7f132
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
Log Message:
-----------
[RISCV] Remove unused tablegen classes. NFC
Commit: cbd7eab911986eca8e6cbac8cf7ef0c822bfc2eb
https://github.com/llvm/llvm-project/commit/cbd7eab911986eca8e6cbac8cf7ef0c822bfc2eb
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
Log Message:
-----------
[RISCV] Replace TU with Policy in tablegen class name. NFC
Commit: 367d50278aa1808cd2a2213ff1ae3c5f861667b5
https://github.com/llvm/llvm-project/commit/367d50278aa1808cd2a2213ff1ae3c5f861667b5
Author: Egor Ospadov <egor at egor.ca>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M mlir/python/mlir/ir.py
Log Message:
-----------
[mlir][python] Fix attribute registration in ir.py (#94615)
This PR fixes attribute registration for `SI8Attr` and `UI8Attr` in
`ir.py`.
Commit: 4403cdbaf01379de96f8d0d6ea4f51a085e37766
https://github.com/llvm/llvm-project/commit/4403cdbaf01379de96f8d0d6ea4f51a085e37766
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProfReader.h
M llvm/lib/ProfileData/InstrProfReader.cpp
Log Message:
-----------
[ProfileData] Refactor BinaryIdsStart and BinaryIdsSize (NFC) (#94922)
BinaryIdsStart and BinaryIdsSize in IndexedInstrProfReader are always
used together, so this patch packages them into an ArrayRef<uint8_t>.
For now, readBinaryIdsInternal immediately unpacks ArrayRef into its
constituents to avoid touching the rest of readBinaryIdsInternal.
Commit: bf0d76d185a7c0fbedb75633afb467c74e8c0e81
https://github.com/llvm/llvm-project/commit/bf0d76d185a7c0fbedb75633afb467c74e8c0e81
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
R llvm/test/MC/AsmParser/layout-interdependency.s
A llvm/test/MC/ELF/layout-interdependency.s
A llvm/test/MC/ELF/relax-recompute-align.s
R llvm/test/MC/MachO/relax-recompute-align.s
Log Message:
-----------
[MC,test] Reorganize relax-recompute-align.s & layout-interdependency.s
relax-recompute-align.s might change when we change the fragment
relaxation approach.
Commit: cb1a727dea9f063085db10190971dbd7aa7fb8e2
https://github.com/llvm/llvm-project/commit/cb1a727dea9f063085db10190971dbd7aa7fb8e2
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-10 (Mon, 10 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/include/llvm-libc-types/CMakeLists.txt
M libc/spec/stdc.td
M libc/src/math/CMakeLists.txt
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/nanf16.cpp
A libc/src/math/nanf16.h
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/nanf16_test.cpp
Log Message:
-----------
[libc][math][c23] Add nanf16 C23 math function (#94767)
Part of #93566.
Commit: 9d0754ada5dbbc0c009bcc2f7824488419cc5530
https://github.com/llvm/llvm-project/commit/9d0754ada5dbbc0c009bcc2f7824488419cc5530
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCAsmLayout.h
M llvm/include/llvm/MC/MCAssembler.h
M llvm/include/llvm/MC/MCFragment.h
M llvm/include/llvm/MC/MCSection.h
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCExpr.cpp
M llvm/lib/MC/MCFragment.cpp
M llvm/lib/MC/MCSection.cpp
M llvm/test/MC/ELF/layout-interdependency.s
M llvm/test/MC/ELF/relax-recompute-align.s
M llvm/test/MC/ELF/subsection-if.s
Log Message:
-----------
[MC] Relax fragments eagerly
Lazy relaxation caused hash table lookups (`getFragmentOffset`) and
complex use/compute interdependencies. Some expressions involding
forward declared symbols (e.g. `subsection-if.s`) cannot be computed.
Recursion detection requires complex `IsBeingLaidOut`
(https://reviews.llvm.org/D79570).
D76114's `invalidateFragmentsFrom` makes lazy relaxation even less
useful.
Switch to eager relaxation to greatly simplify code and resolve these
issues. This change also removes a `getPrevNode` use, which makes it
more feasible to replace the fragment representation, which might yield
a large peak RSS win.
Minor downsides: The number of section relaxations may increase (offset
by avoiding the hash table lookup). For relax-recompute-align.s, the
computed layout is not optimal.
Commit: 13896b6ce9b791db6d1ac40c6a05eb893405fcd7
https://github.com/llvm/llvm-project/commit/13896b6ce9b791db6d1ac40c6a05eb893405fcd7
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Bufferization/Transforms/OwnershipBasedBufferDeallocation.cpp
M mlir/test/Dialect/Bufferization/Transforms/OwnershipBasedBufferDeallocation/dealloc-callop-interface.mlir
Log Message:
-----------
[mlir][bufferization] Fix handling of indirect function calls (#94896)
This commit fixes a crash in the ownership-based buffer deallocation
pass when indirectly calling a function via SSA value. Such functions
must be conservatively assumed to be public.
Fixes #94780.
Commit: bb4ee27a31695bb06bfe56d442b30b25ac88d7cd
https://github.com/llvm/llvm-project/commit/bb4ee27a31695bb06bfe56d442b30b25ac88d7cd
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-09 (Sun, 09 Jun 2024)
Changed paths:
M llvm/lib/MC/MCAssembler.cpp
Log Message:
-----------
[MC] Remove the last MCFragment::getPrevNode use. NFC
Commit: 87cedbec1cce1cbfc6ad15ae9b88e3481ba9eead
https://github.com/llvm/llvm-project/commit/87cedbec1cce1cbfc6ad15ae9b88e3481ba9eead
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M libcxx/include/__chrono/time_zone.h
M libcxx/include/chrono
M libcxx/modules/std/chrono.inc
M libcxx/test/libcxx/diagnostics/chrono.nodiscard.verify.cpp
A libcxx/test/libcxx/time/time.zone/time.zone.timezone/choose.pass.cpp
A libcxx/test/libcxx/time/time.zone/time.zone.timezone/time.zone.members/assert.to_sys_choose.pass.cpp
A libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/to_sys_choose.pass.cpp
Log Message:
-----------
[libc++][TZDB] Implements time_zone::to_sys. (#90901)
This implements the overload with the choose argument and adds this
enum.
Implements parts of:
- P0355 Extending chrono to Calendars and Time Zones
Commit: a47e40bce086c506b672cbd8fbb2abdc6619c0a6
https://github.com/llvm/llvm-project/commit/a47e40bce086c506b672cbd8fbb2abdc6619c0a6
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Interp.h
M clang/test/AST/Interp/builtin-align-cxx.cpp
M clang/test/AST/Interp/const-eval.c
Log Message:
-----------
[clang][Interp] Disallow ptr-to-int casts on dummy pointers
Commit: a6929dbea8b4525ee41c1269e8e4a2b7182d9ce2
https://github.com/llvm/llvm-project/commit/a6929dbea8b4525ee41c1269e8e4a2b7182d9ce2
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M lld/COFF/Symbols.h
Log Message:
-----------
[lld] Remove const qualifier on symbolKind (NFC) (#94753)
The symbol including this member is being overwritten by memcpy here:
https://github.com/llvm/llvm-project/blob/2117677e304d334326f6591f3c75fb2f34dc4bcb/lld/COFF/SymbolTable.cpp#L496-L509
Commit: 12d24e0c56a154c88247e55c7c352030e4d9073d
https://github.com/llvm/llvm-project/commit/12d24e0c56a154c88247e55c7c352030e4d9073d
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGExprAgg.cpp
M clang/test/CodeGen/paren-list-agg-init.cpp
M clang/test/CodeGenCXX/control-flow-in-stmt-expr.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-references.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
M clang/test/CodeGenCXX/cxx11-initializer-array-new.cpp
M clang/test/CodeGenCXX/partial-destruction.cpp
M clang/test/CodeGenCXX/temporaries.cpp
M clang/test/CodeGenCXX/value-init.cpp
M clang/test/CodeGenCoroutines/coro-suspend-cleanups.cpp
M clang/test/CodeGenObjC/arc-ternary-op.m
M clang/test/CodeGenObjC/arc.m
M clang/test/CodeGenObjCXX/arc-exceptions.mm
M clang/test/OpenMP/distribute_firstprivate_codegen.cpp
M clang/test/OpenMP/distribute_lastprivate_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_firstprivate_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_lastprivate_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_private_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_private_codegen.cpp
M clang/test/OpenMP/distribute_private_codegen.cpp
M clang/test/OpenMP/distribute_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/distribute_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/distribute_simd_private_codegen.cpp
M clang/test/OpenMP/for_firstprivate_codegen.cpp
M clang/test/OpenMP/for_lastprivate_codegen.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/parallel_copyin_codegen.cpp
M clang/test/OpenMP/parallel_firstprivate_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/parallel_private_codegen.cpp
M clang/test/OpenMP/parallel_reduction_codegen.cpp
M clang/test/OpenMP/sections_firstprivate_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/simd_private_taskloop_codegen.cpp
M clang/test/OpenMP/single_firstprivate_codegen.cpp
M clang/test/OpenMP/single_private_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_firstprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_lastprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_firstprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_lastprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_private_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_private_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_simd_private_codegen.cpp
M clang/test/OpenMP/target_teams_generic_loop_private_codegen.cpp
M clang/test/OpenMP/teams_distribute_firstprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_lastprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_firstprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_lastprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_private_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_private_codegen.cpp
M clang/test/OpenMP/teams_distribute_private_codegen.cpp
M clang/test/OpenMP/teams_distribute_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_simd_private_codegen.cpp
M clang/test/OpenMP/teams_firstprivate_codegen.cpp
M clang/test/OpenMP/teams_generic_loop_private_codegen.cpp
M clang/test/OpenMP/teams_private_codegen.cpp
M clang/test/OpenMP/threadprivate_codegen.cpp
M clang/test/PCH/cxx_paren_init.cpp
Log Message:
-----------
[CodeGen] Simplify codegen for array initialization (#93956)
This makes codegen for array initialization simpler in two ways:
1. Drop the zero-index GEP at the start, which is no longer needed with
opaque pointers.
2. Emit GEPs directly to the correct element, instead of having a long
chain of +1 GEPs. This is more canonical, and also avoids regressions in
unoptimized builds from #93823.
Commit: e4790ce2096c805b7598c353f9e7fa513701f843
https://github.com/llvm/llvm-project/commit/e4790ce2096c805b7598c353f9e7fa513701f843
Author: Paschalis Mpeis <paschalis.mpeis at arm.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/ReplaceWithVeclib.cpp
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/unittests/Analysis/ReplaceWithVecLibTest.cpp
Log Message:
-----------
[TLI] ReplaceWithVecLib: drop Instruction support (#94365)
Refactor the pass to only support `IntrinsicInst` calls.
`ReplaceWithVecLib` used to support instructions, as AArch64 was using
this pass to replace a vectorized frem instruction to the fmod vector
library call (through TLI).
As this replacement is now done by the codegen (#83859), there is no
need for this pass to support instructions.
Additionally, removed 'frem' tests from:
- AArch64/replace-with-veclib-armpl.ll
- AArch64/replace-with-veclib-sleef-scalable.ll
- AArch64/replace-with-veclib-sleef.ll
Such testing is done at codegen level:
- #83859
Commit: 832b91fcb9fd42d92a741129c6e085ef15ab385b
https://github.com/llvm/llvm-project/commit/832b91fcb9fd42d92a741129c6e085ef15ab385b
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py
Log Message:
-----------
[dexter] Correctly identify stop-reason while driving VisualStudio (#94754)
Prior to this patch VisualStudio._get_step_info incorrectly identifies
the reason the debugger has stopped. e.g., stepping through a program
would be reported as a StopReason.Breakpoint rather than
StopReason.Step.
Fix. No test added as there are no VisualStudio tests (tested locally).
Commit: e58f830a1de20af79a6ce41c85b787f4a64b9c74
https://github.com/llvm/llvm-project/commit/e58f830a1de20af79a6ce41c85b787f4a64b9c74
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-10 (Mon, 10 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] add source to SHAPE API (#94781)
Commit: cc158d4c0bb50554dadcad44c10cafb052376cea
https://github.com/llvm/llvm-project/commit/cc158d4c0bb50554dadcad44c10cafb052376cea
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
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:
-----------
Reapply [ConstantFold] Remove non-trivial gep-of-gep fold (#93823)
Reapply after https://github.com/llvm/llvm-project/pull/93956, which
changed clang array initialization codegen to avoid size regressions
for unoptimized builds.
-----
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: c0b65a2491be44f0b162d55563c305c514c01d90
https://github.com/llvm/llvm-project/commit/c0b65a2491be44f0b162d55563c305c514c01d90
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-10 (Mon, 10 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
M clang/test/AST/Interp/c.c
M clang/test/Sema/constexpr-void-cast.c
Log Message:
-----------
[clang][Interp] Diagnose casts from void pointers
Commit: 26224ca2de193dcfd21ede7a846c28ea892b77e3
https://github.com/llvm/llvm-project/commit/26224ca2de193dcfd21ede7a846c28ea892b77e3
Author: Balázs Kéri <balazs.keri at ericsson.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/PointerSubChecker.cpp
M clang/test/Analysis/casts.c
A clang/test/Analysis/pointer-sub.c
M clang/test/Analysis/ptr-arith.c
Log Message:
-----------
[clang][analyzer] Improved PointerSubChecker (#93676)
The checker is made more exact
(only pointer into array is allowed, check array index)
and more tests are added.
Commit: d732a3298a70d83e5571c594de9be63df85668a7
https://github.com/llvm/llvm-project/commit/d732a3298a70d83e5571c594de9be63df85668a7
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
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/ReleaseNotes.rst
M llvm/docs/RemoveDIsDebugInfo.md
M llvm/include/llvm-c/Core.h
M llvm/lib/IR/Core.cpp
M llvm/test/Bindings/OCaml/core.ml
M llvm/test/Bindings/llvm-c/debug_info.ll
M llvm/test/Bindings/llvm-c/debug_info_new_format.ll
M llvm/tools/llvm-c-test/debuginfo.c
Log Message:
-----------
[RemoveDIs] C API: Add before-dbg-record versions of IRBuilder position funcs (#92417)
Add `LLVMPositionBuilderBeforeDbgRecords` and
`LLVMPositionBuilderBeforeInstrAndDbgRecords` to `llvm/include/llvm-c/Core.h`
which behave the same as `LLVMPositionBuilder` and `LVMPositionBuilderBefore`
except that the position is set before debug records attached to the target
instruction (the existing functions set the insertion point to after any
attached debug records).
More info on debug records and the migration towards using them can be found
here: https://llvm.org/docs/RemoveDIsDebugInfo.html
The distinction is important in some situations. An important example is when
inserting a phi before another instruction which has debug records attached to
it (these come "before" the instruction). Inserting before the instruction but
after the debug records would result in having debug records before a phi, which
is illegal. That results in an assertion failure:
`llvm/lib/IR/Instruction.cpp:166: Assertion '!isa<PHINode>(this) && "Inserting
PHI after debug-records!"' failed.`
In llvm (C++) we've added bit to instruction iterators that carries around the
extra information. Adding dedicated functions seemed like the least invasive and
least suprising way to update the C API.
Update llvm/tools/llvm-c-test/debuginfo.c to test this functionality.
Update the OCaml bindings, the migration docs and release notes.
Commit: 0257f9cde540f265da38ef14fd395f76d3e08bb1
https://github.com/llvm/llvm-project/commit/0257f9cde540f265da38ef14fd395f76d3e08bb1
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/Runtime/Inquiry.h
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/Builder/Runtime/Inquiry.cpp
A flang/test/Lower/HLFIR/assumed-rank-inquiries-3.f90
Log Message:
-----------
[flang] lower SHAPE with assumed-rank arguments (#94812)
Allocate result statically on the stack (using max rank) and use the
runtime to fill it in correctly.
Commit: 0af2e75f8c688cc6fb7123c969c8edfa98a003fa
https://github.com/llvm/llvm-project/commit/0af2e75f8c688cc6fb7123c969c8edfa98a003fa
Author: Shivam Gupta <shivam98.tkg at gmail.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
Log Message:
-----------
[lldb] Fix redundant condition in compression type check (NFC) (#94841)
The `else if` condition for checking `m_compression_type` is redundant
as it matches with a previous `if` condition, making the expression
always false. Reported by cppcheck as a possible cut-and-paste error.
Caught by cppcheck -
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp:543:35:
style: Expression is always false because 'else if' condition matches
previous condition at line 535. [multiCondition]
Fix #91222
Commit: 30bfab3694075cfec9409821be0cfe79ae5d0770
https://github.com/llvm/llvm-project/commit/30bfab3694075cfec9409821be0cfe79ae5d0770
Author: Shivam Gupta <shivam98.tkg at gmail.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp
Log Message:
-----------
[lldb] Remove redundant condition in watch mask check (NFC) (#94842)
This issue is reported by cppcheck as a pointless test in the watch mask
check. The `else if` condition is opposite to the previous `if`
condition, making the expression always true.
Caught by cppcheck -
lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp:509:25:
style: Expression is always true because 'else if' condition is opposite
to previous condition at line 505. [multiCondition]
Fix #91223
Commit: 38c01c3d91f8815468dedf67db9eaa0bd0c6ea7a
https://github.com/llvm/llvm-project/commit/38c01c3d91f8815468dedf67db9eaa0bd0c6ea7a
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/include/llvm-c/Core.h
Log Message:
-----------
NFC fix typos from #92417
Commit: 760d880ea602117aa2e6bba4cf31069f09225b4b
https://github.com/llvm/llvm-project/commit/760d880ea602117aa2e6bba4cf31069f09225b4b
Author: Fabio D'Urso <fdurso at google.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M compiler-rt/lib/scudo/standalone/combined.h
M compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
Log Message:
-----------
[scudo] Apply filling when realloc shrinks and re-grows a block in-place (#93212)
Commit: a0faf79b164c98476a4e399bd96766013f826a11
https://github.com/llvm/llvm-project/commit/a0faf79b164c98476a4e399bd96766013f826a11
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-10 (Mon, 10 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 LBOUND API for assumed-rank arrays (#94808)
Commit: 23b8f59f0916982cb0674b6175b7c812b86ffb99
https://github.com/llvm/llvm-project/commit/23b8f59f0916982cb0674b6175b7c812b86ffb99
Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/coroutine_handle/Makefile
M lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/coroutine_handle/main.cpp
Log Message:
-----------
[lldb] Gracefully down TestCoroutineHandle test in case the 'coroutine' feature is missing (#94903)
Do not let the compiler gets failed in case the target platform does not
support the 'coroutine' C++ features. Just compile without it and let
lldb know about missed/unsupported feature.
Commit: f97bcdbd95c075134b3d928299592c54c96ebaad
https://github.com/llvm/llvm-project/commit/f97bcdbd95c075134b3d928299592c54c96ebaad
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/unittests/Support/KnownBitsTest.h
Log Message:
-----------
[KnownBits] Speed up ForeachKnownBits in unit test. NFC. (#94939)
Use fast unsigned arithmetic before constructing an APInt. This gives
me a ~2x speed up when running this in my Release+Asserts build:
$ unittests/Support/SupportTests
--gtest_filter=KnownBitsTest.*Exhaustive
Commit: c9fd7b1a541af66d11a847564d31460a80c66d47
https://github.com/llvm/llvm-project/commit/c9fd7b1a541af66d11a847564d31460a80c66d47
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/fold-int-pow2-with-fmul-or-fdiv.ll
Log Message:
-----------
[AMDGPU] Remove unused checks left over from X86
Commit: 415a82c64afa0047383caf471aa872fdb0e2658d
https://github.com/llvm/llvm-project/commit/415a82c64afa0047383caf471aa872fdb0e2658d
Author: Clement Courbet <courbet at google.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/performance/UnnecessaryCopyInitialization.cpp
M clang-tools-extra/clang-tidy/utils/DeclRefExprUtils.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/performance/unnecessary-copy-initialization.cpp
M clang-tools-extra/unittests/clang-tidy/DeclRefExprUtilsTest.cpp
Log Message:
-----------
[clang-tidy] `doesNotMutateObject`: Handle calls to member functions … (#94362)
…and operators that have non-const overloads.
This allows `unnecessary-copy-initialization` to warn on more cases.
The common case is a class with a a set of const/non-sconst overloads
(e.g. std::vector::operator[]).
```
void F() {
std::vector<Expensive> v;
// ...
const Expensive e = v[i];
}
```
Commit: 317ed770e3ad4ac663ad4d95c644e83347b78fa4
https://github.com/llvm/llvm-project/commit/317ed770e3ad4ac663ad4d95c644e83347b78fa4
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/vector-alloca-bitcast.ll
Log Message:
-----------
[AMDGPU] Fix typos in GCN-PROMOTE check prefix
Commit: 81469a2ee804778185e177314314f637bcb026c9
https://github.com/llvm/llvm-project/commit/81469a2ee804778185e177314314f637bcb026c9
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M flang/lib/Optimizer/Builder/HLFIRTools.cpp
M flang/test/Lower/HLFIR/assumed-rank-inquiries-2.f90
M flang/test/Lower/HLFIR/assumed-rank-inquiries.f90
M flang/test/Lower/HLFIR/convert-variable-assumed-rank.f90
M flang/test/Lower/HLFIR/select-rank.f90
Log Message:
-----------
[flang] use hlfir base when translating assumed-rank entity to fir::ExtendedValue (#94822)
The hlfir::Entity to fir::ExtendedValue conversion usually uses the "fir
base" output of hlfir.declare (which is the same as the input) to avoid
introducing temporary descriptors for the sole purpose of introducing
updating lower bound information. This is possible because local lower
bounds, if any, are tracked in a vector inside the fir::ExtendedValue.
With assumed-ranks, the lower bounds cannot be tracked inside the
fir::ExtendedValue vector (their numbers is unknown at compile time).
Hence, the fir.box/fir.class used in fir::ExtendedValue in lowering must
always contain accurate local lower bound information.
Commit: a6129a56d3640e70198d91fc97b4fc65525cb59c
https://github.com/llvm/llvm-project/commit/a6129a56d3640e70198d91fc97b4fc65525cb59c
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-06-10 (Mon, 10 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/FunctionAttr.cpp
Log Message:
-----------
[flang][Transforms][NFC] reduce boilerplate in func attr pass (#94739)
Use tablegen to automatically create the pass constructor.
The purpose of this pass is to add attributes to functions, so it
doesn't need to work on other top level operations.
Commit: ae9d89d53e64bad514171c99f16d553febfbac12
https://github.com/llvm/llvm-project/commit/ae9d89d53e64bad514171c99f16d553febfbac12
Author: Oleksandr T <oleksandr.tarasiuk at outlook.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p3.cpp
M clang/test/SemaCXX/constant-expression-cxx14.cpp
A clang/test/SemaCXX/constexpr-return-non-void-cxx2b.cpp
Log Message:
-----------
[Clang][C++23] update constexpr diagnostics for missing return statements per P2448 (#94123)
Fixes #92583
Commit: ecb9d94a8bfb07591fdfcf3418c5cfafcad5a13d
https://github.com/llvm/llvm-project/commit/ecb9d94a8bfb07591fdfcf3418c5cfafcad5a13d
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/unittests/Support/KnownBitsTest.h
Log Message:
-----------
[KnownBits] Speed up conflict handling in ForeachKnownBits in unit test. (#94943)
Exit early if known bits have a conflict. This gives me a ~15% speed up
when running this in my Release+Asserts build:
$ unittests/Support/SupportTests
--gtest_filter=KnownBitsTest.*Exhaustive
Commit: 8dc8b9f168f283beed02867f0917b62f1e2c4a4b
https://github.com/llvm/llvm-project/commit/8dc8b9f168f283beed02867f0917b62f1e2c4a4b
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M flang/test/Lower/OpenMP/function-filtering-2.f90
Log Message:
-----------
[flang][OpenMP] Fix unused prefixes in function-filtering-2 test (#94330)
Co-authored-by: Andrew Gozillon <Andrew.Gozillon at amd.com>
Commit: da03175cae73ba9c564f0d338e9c0f7c6f730555
https://github.com/llvm/llvm-project/commit/da03175cae73ba9c564f0d338e9c0f7c6f730555
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M libcxx/include/__chrono/time_zone.h
M libcxx/include/chrono
A libcxx/test/libcxx/time/time.zone/time.zone.timezone/time.zone.members/assert.to_local.pass.cpp
A libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/to_local.pass.cpp
Log Message:
-----------
[libc++][TZDB] Implements time_zone::to_local. (#91003)
Implements parts of:
- P0355 Extending chrono to Calendars and Time Zones
Commit: fe0dee4df05e2e0497385e2de73a510b9156e1f4
https://github.com/llvm/llvm-project/commit/fe0dee4df05e2e0497385e2de73a510b9156e1f4
Author: David Green <david.green at arm.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
A llvm/test/CodeGen/AArch64/neon-extmul.ll
Log Message:
-----------
[AArch64] Add tests for extending mul. NFC
Commit: 8b7e836570b29d3bc89731c5af91c847e3fc5c71
https://github.com/llvm/llvm-project/commit/8b7e836570b29d3bc89731c5af91c847e3fc5c71
Author: Gil Rapaport <gil.rapaport at mobileye.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M mlir/lib/Conversion/SCFToEmitC/SCFToEmitC.cpp
M mlir/test/Conversion/SCFToEmitC/for.mlir
M mlir/test/Target/Cpp/for.mlir
Log Message:
-----------
[mlir][emitc] Remove copy from scf.for lowering (#94898)
Remove the copy into fresh variables done when lowering scf.for into
emitc.for and use the variables carrying the init and iter values as
the loop's results.
Commit: 5c268cfaae521dc2db1af58085e3c8d66a5533fe
https://github.com/llvm/llvm-project/commit/5c268cfaae521dc2db1af58085e3c8d66a5533fe
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGDebugInfo.cpp
Log Message:
-----------
[Clang] Extend EmitPseudoVariable to support debug records (#94956)
CGDebugInfo::EmitPseudoVariable currently uses detailed logic to exactly
collect llvm.dbg.declare users of an alloca. This patch replaces this
with an LLVM function for finding debug declares intrinsics and also
adds the same for debug records, simplifying the code and adding record
support.
No tests added in this commit because it is NFC for intrinsics, and
there is no way to make clang emit records directly yet - one of the
existing tests however will switch to covering debug records once
https://github.com/llvm/llvm-project/pull/89799 relands.
Commit: d319fc41d0e35bfea8368ad91dc15ab319cddcb7
https://github.com/llvm/llvm-project/commit/d319fc41d0e35bfea8368ad91dc15ab319cddcb7
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/ArmSME/Transforms/Passes.h
M mlir/include/mlir/Dialect/ArmSME/Transforms/Passes.td
M mlir/lib/Dialect/ArmSME/Transforms/EnableArmStreaming.cpp
A mlir/test/Dialect/ArmSME/enable-arm-streaming-invalid.mlir
M mlir/test/Dialect/ArmSME/enable-arm-streaming.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/ArmSME/multi-tile-matmul-mixed-types.mlir
M mlir/test/lib/Dialect/ArmSME/TestLowerToArmSME.cpp
Log Message:
-----------
[mlir][ArmSME] Add option to only enable streaming mode for scalable code (#94759)
This adds a new option
`-enable-arm-streaming=if-contains-scalable-vectors`, which only applies
the selected streaming/ZA modes if the function contains scalable vector
types.
As a NFC this patch also removes the `only-` prefix from the
`if-required-by-ops` mode.
Commit: 18ec885a26049264a56714f234c086eec2df68db
https://github.com/llvm/llvm-project/commit/18ec885a26049264a56714f234c086eec2df68db
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/docs/TableGen/BackGuide.rst
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
M llvm/lib/Target/AMDGPU/AMDGPUSearchableTables.td
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.h
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/llvm.amdgcn.buffer.atomic.ll
M llvm/test/CodeGen/AMDGPU/buffer-intrinsics-mmo-offsets.ll
M llvm/test/CodeGen/AMDGPU/buffer-schedule.ll
R llvm/test/CodeGen/AMDGPU/fail-select-buffer-atomic-fadd.ll
R llvm/test/CodeGen/AMDGPU/force-store-sc0-sc1.ll
M llvm/test/CodeGen/AMDGPU/fp64-atomics-gfx90a.ll
R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.atomic.csub.ll
R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.atomic.fadd.gfx90a.ll
R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.atomic.fadd.ll
R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.atomic.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.load.dwordx3.ll
R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.load.format.d16.ll
R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.load.format.ll
R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.load.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.store.dwordx3.ll
R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.store.format.d16.ll
R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.store.format.ll
R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.store.ll
R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.wbinvl1.ll
R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.wbinvl1.sc.ll
R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.wbinvl1.vol.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.tbuffer.store.ll
R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tbuffer.load.d16.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tbuffer.load.dwordx3.ll
R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tbuffer.load.ll
R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tbuffer.store.d16.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tbuffer.store.dwordx3.ll
R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tbuffer.store.ll
M llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts-inseltpoison.ll
M llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts.ll
M llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-simplify-image-buffer-stores.ll
M llvm/test/Verifier/AMDGPU/intrinsic-immarg.ll
Log Message:
-----------
[RFC][AMDGPU] Remove old llvm.amdgcn.buffer.* and tbuffer intrinsics (#93801)
They have been superseded by llvm.amdgcn.raw.buffer.* and
llvm.amdgcn.struct.buffer.*.
Commit: bc022b406d094d3c7b6d04c97b8bcf3109c6d74e
https://github.com/llvm/llvm-project/commit/bc022b406d094d3c7b6d04c97b8bcf3109c6d74e
Author: Janek van Oirschot <janek.vanoirschot at amd.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.h
Log Message:
-----------
[AMDGPU] Support SIProgramInfo MCExpr for comments and remarks (#94350)
Eliminates assumption that MCExpr comments/remarks being emitted are
always resolvable
Commit: bddd8eae17df6511aee789744ccdc158de817081
https://github.com/llvm/llvm-project/commit/bddd8eae17df6511aee789744ccdc158de817081
Author: Fabio D'Urso <fdurso at google.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M compiler-rt/lib/scudo/standalone/combined.h
M compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
Log Message:
-----------
Revert "[scudo] Apply filling when realloc shrinks and re-grows a block in-place (#93212)"
This reverts commit 760d880ea602117aa2e6bba4cf31069f09225b4b.
It broke https://lab.llvm.org/buildbot/#/builders/169/builds/32309
Commit: 346bd917929fa89dfe00d999effcde7ee3d8d4a7
https://github.com/llvm/llvm-project/commit/346bd917929fa89dfe00d999effcde7ee3d8d4a7
Author: Simon Camphausen <simon.camphausen at iml.fraunhofer.de>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M mlir/lib/Conversion/FuncToEmitC/FuncToEmitC.cpp
M mlir/test/Conversion/FuncToEmitC/func-to-emitc.mlir
Log Message:
-----------
[mlir][EmitC] Fix call ops with zero arguments in func to emitc conversion (#94936)
Commit: 4f111198d45481eb3b89d76f93d0bba6fe13f2b2
https://github.com/llvm/llvm-project/commit/4f111198d45481eb3b89d76f93d0bba6fe13f2b2
Author: c8ef <c8ef at outlook.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/unittests/Support/KnownBitsTest.cpp
Log Message:
-----------
[KnownBits] re-introduce RefinePosionToZero in unittest (#94848)
Context: https://github.com/llvm/llvm-project/pull/94568/files#r1631349423
- Reintroduce the RefinePositionToZero path in the unittest.
- Adjust some inline function argument hints to match the same style.
Commit: c5aeca732d1ff6769b0659efebd1cfb5f60487e4
https://github.com/llvm/llvm-project/commit/c5aeca732d1ff6769b0659efebd1cfb5f60487e4
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang/test/CodeGen/instrument-objc-method.m
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm/AsmParser/LLParser.h
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/IR/DebugProgramInstruction.cpp
M llvm/lib/IR/Function.cpp
M llvm/lib/IR/Module.cpp
M llvm/tools/llvm-as/llvm-as.cpp
M llvm/tools/llvm-dis/llvm-dis.cpp
M llvm/tools/llvm-link/llvm-link.cpp
M llvm/unittests/Analysis/IRSimilarityIdentifierTest.cpp
M llvm/unittests/IR/BasicBlockDbgInfoTest.cpp
M llvm/unittests/IR/DebugInfoTest.cpp
M llvm/unittests/IR/IRBuilderTest.cpp
M llvm/unittests/IR/InstructionsTest.cpp
M llvm/unittests/IR/ValueTest.cpp
M llvm/unittests/Transforms/Utils/CloningTest.cpp
M llvm/unittests/Transforms/Utils/LocalTest.cpp
Log Message:
-----------
Reapply#3 "[RemoveDIs] Load into new debug info format by default in LLVM (#89799)"
Reapplies commit 91446e2, which was reverted due to a downstream error,
discussed on the pull request. The error could not be reproduced
upstream, and cannot be reproduced downstream as-of current main, so
until the error can be confirmed to still exist this patch should
return.
This reverts commit 23f8fac745bdde70ed4f9c585d19c4913734f1b8.
Commit: 2e4c06780c14a9c8445129bdbcd15ceaf25e7ecd
https://github.com/llvm/llvm-project/commit/2e4c06780c14a9c8445129bdbcd15ceaf25e7ecd
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/X86/cost-model.ll
Log Message:
-----------
[LV] Add extra X86 cost tests for any_of reduction and multi-exit loops.
Add extra test coverage to ensure decisions do not change when
transitioning to a VPlan-based cost model.
Commit: 21396be865b4640abf6afa0b05de6708a1a996e0
https://github.com/llvm/llvm-project/commit/21396be865b4640abf6afa0b05de6708a1a996e0
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M flang/test/Transforms/debug-local-var-2.f90
Log Message:
-----------
[Flang] Update test to not check for tail calls on debug intrinsics
The recently landed commit c5aeca73 causes debug records to be used by
default; while this mostly has no direct effect on output, one side
effect is that intrinsics are deleted and recreated in memory, which
can change certain properties. This broke a test that expected `tail`
to be set on some debug intrinsics; as this property has no effect on
debug intrinsics, this patch removes the expectation.
Committed without review due to being a trivial test update; if this
needs discussion, see review:
https://github.com/llvm/llvm-project/pull/89799
Commit: 291b415c6c39156c82c7cdefd7a6a67657fb6927
https://github.com/llvm/llvm-project/commit/291b415c6c39156c82c7cdefd7a6a67657fb6927
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/include/llvm/Passes/StandardInstrumentations.h
M llvm/include/llvm/Support/GenericDomTreeConstruction.h
M llvm/include/llvm/Transforms/Scalar/JumpThreading.h
M llvm/include/llvm/Transforms/Scalar/LoopPassManager.h
M llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
M llvm/lib/Passes/StandardInstrumentations.cpp
M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
Log Message:
-----------
[Misc] Use `LLVM_ENABLE_ABI_BREAKING_CHECKS` correctly (#94212)
`LLVM_ENABLE_ABI_BREAKING_CHECKS` is always defined:
https://github.com/llvm/llvm-project/blob/72c901f5e59477e568b1b04dae9de753b9d1f6f3/llvm/include/llvm/Config/abi-breaking.h.cmake#L16C2-L16C15
It uses `cmakedefine01` rather than `cmakedefine`, so
`LLVM_ENABLE_ABI_BREAKING_CHECKS` is always defined,
so the preprocessed code is probably not what the author wanted.
Commit: a1c29df5725fc043291258a3af732a72a39b6902
https://github.com/llvm/llvm-project/commit/a1c29df5725fc043291258a3af732a72a39b6902
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
Log Message:
-----------
[AMDGPU] Fix -Wunused-variable in AMDGPUAsmPrinter.cpp (NFC)
/llvm-project/llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp:653:13:
error: unused variable 'PGMRSrc3' [-Werror,-Wunused-variable]
int64_t PGMRSrc3;
^
1 error generated.
Commit: 10cd96dd3315ca466a56a2ace2627e44bdcba333
https://github.com/llvm/llvm-project/commit/10cd96dd3315ca466a56a2ace2627e44bdcba333
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-10 (Mon, 10 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/spec.td
M libc/spec/stdc.td
M libc/src/__support/FPUtil/CMakeLists.txt
M libc/src/__support/FPUtil/ManipulationFunctions.h
M libc/src/__support/FPUtil/NormalFloat.h
M libc/src/math/CMakeLists.txt
A libc/src/math/frexpf16.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/frexpf16.cpp
A libc/src/math/generic/ilogbf16.cpp
A libc/src/math/generic/llogbf16.cpp
A libc/src/math/generic/logbf16.cpp
A libc/src/math/generic/modff16.cpp
A libc/src/math/ilogbf16.h
A libc/src/math/llogbf16.h
A libc/src/math/logbf16.h
A libc/src/math/modff16.h
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/FrexpTest.h
M libc/test/src/math/smoke/ILogbTest.h
M libc/test/src/math/smoke/LogbTest.h
M libc/test/src/math/smoke/ModfTest.h
A libc/test/src/math/smoke/frexpf16_test.cpp
A libc/test/src/math/smoke/ilogbf16_test.cpp
A libc/test/src/math/smoke/llogbf16_test.cpp
A libc/test/src/math/smoke/logbf16_test.cpp
A libc/test/src/math/smoke/modff16_test.cpp
Log Message:
-----------
[libc][math][c23] Add {frexp,ilogb,llogb,logb,modf}f16 C23 math functions (#94758)
Part of #93566.
Commit: dabd6349f7bbcc2c1fc1354f97a3475a9dcc9e2a
https://github.com/llvm/llvm-project/commit/dabd6349f7bbcc2c1fc1354f97a3475a9dcc9e2a
Author: Andreas Jonson <andjo403 at hotmail.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/lib/Analysis/LazyValueInfo.cpp
Log Message:
-----------
[LVI] Remove unused get of Range metadata (#94914)
There is no test for this code and it also do not change the result of
https://github.com/dtcxzyw/llvm-opt-benchmark when I run it locally.
I have not been able to make a test for this and do not know how to
handle the range attribute for this so maybe it shall be removed?
Commit: dcd9a503dc39bca524e3f73b2cd82e6b8c4e0052
https://github.com/llvm/llvm-project/commit/dcd9a503dc39bca524e3f73b2cd82e6b8c4e0052
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
Log Message:
-----------
[libc][math][c23] Temporarily disable modff16 on AArch64 (#94972)
See Buildbot failure:
https://lab.llvm.org/buildbot/#/builders/138/builds/67428.
Commit: 2cf14398c9341feddb419e7ff9c8c5623a3da3db
https://github.com/llvm/llvm-project/commit/2cf14398c9341feddb419e7ff9c8c5623a3da3db
Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang/include/clang/AST/ASTContext.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Basic/Targets/AArch64.h
M clang/test/CodeGen/aarch64-cpu-supports-target.c
M clang/test/CodeGen/aarch64-sme-intrinsics/aarch64-sme-attrs.cpp
M clang/test/CodeGen/aarch64-targetattr.c
M clang/test/CodeGen/attr-target-version.c
M clang/test/Sema/aarch64-neon-target.c
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/TargetParser/AArch64TargetParser.cpp
Log Message:
-----------
[AArch64] Decouple feature dependency expansion. (#94279)
The dependency expansion step which was introduced by FMV has been
erroneously used for non-FMV features, for example when parsing the
target attribute. The PR #93695 has rectified most of the tests which
were relying on dependency expansion of target features specified on the
-cc1 command line. In this patch I am decoupling the dependency
expansion of features specified on the target attribute from FMV.
To do that first I am expanding FMV dependencies before passing the list
of target features to initFeatureMap(). Similarly when parsing the
target attribute I am reconstructing an ExtensionSet from the list of
target features which was created during the command line option
parsing. The attribute parsing may toggle bits of that ExtensionSet and
at the end it is converted to a list of target features. Those are
passed to initFeatureMap(), which no longer requires an override.
A side effect of this refactoring is that features specified on the
target_version attribute now supersede the command line options, which
is what should be happening in the first place.
Commit: e36c8dca38ae30e4cf22a39ff32a050e110a2247
https://github.com/llvm/llvm-project/commit/e36c8dca38ae30e4cf22a39ff32a050e110a2247
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/include/llvm/Frontend/Directive/DirectiveBase.td
M llvm/include/llvm/Frontend/OpenACC/ACC.td
M llvm/include/llvm/Frontend/OpenMP/OMP.td
M llvm/include/llvm/TableGen/DirectiveEmitter.h
M llvm/test/TableGen/directive1.td
M llvm/test/TableGen/directive2.td
M llvm/utils/TableGen/DirectiveEmitter.cpp
Log Message:
-----------
[Frontend] Introduce `getDirectiveCategory` for ACC/OMP directives (#94689)
The categories are primarily meant for OpenMP, where the spec assigns a
category to each directive. It's one of declarative, executable,
informational, meta, subsidiary, and utility.
These will be used in clang to avoid listing directives belonging to
certain categories by hand.
---------
Co-authored-by: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Commit: 97cfe549c9a9ec3880c984bd4d2ddbbd92dcb9a0
https://github.com/llvm/llvm-project/commit/97cfe549c9a9ec3880c984bd4d2ddbbd92dcb9a0
Author: Nico Weber <thakis at chromium.org>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
M llvm/utils/gn/secondary/libcxx/src/BUILD.gn
Log Message:
-----------
[gn build] port 77116bd7d268
Commit: 3f6fe4efbef610c306eb6c71d6f0428fb6d7ad68
https://github.com/llvm/llvm-project/commit/3f6fe4efbef610c306eb6c71d6f0428fb6d7ad68
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang/include/clang/AST/TemplateBase.h
M clang/include/clang/AST/TemplateName.h
M clang/lib/AST/ASTDumper.cpp
M clang/lib/AST/TemplateBase.cpp
M clang/lib/AST/TemplateName.cpp
Log Message:
-----------
[clang] NFCI: improve TemplateArgument and TemplateName dump methods (#94905)
These will work as AST Text node dumpers, as usual, instead of AST
printers.
Note that for now, the TemplateName dumper is using the TemplateArgument
dumper through an implicit conversion.
This can be fixed in a later pass.
Commit: 88184e5060d7b5b38f9a5671b52318eb101444d0
https://github.com/llvm/llvm-project/commit/88184e5060d7b5b38f9a5671b52318eb101444d0
Author: Eisuke Kawashima <e.kawaschima+github at gmail.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M libcxx/include/__format/escaped_output_table.h
M libcxx/include/__format/width_estimation_table.h
M libcxx/utils/generate_escaped_output_table.py
M libcxx/utils/generate_width_estimation_table.py
Log Message:
-----------
[libc++] Fix invalid escape sequences in Python comments (#94032)
Commit: 1b13bc05fe4a3b7b4916387543f0a64d41909e83
https://github.com/llvm/llvm-project/commit/1b13bc05fe4a3b7b4916387543f0a64d41909e83
Author: Tomas Matheson <tomas.matheson at arm.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang/lib/AST/CMakeLists.txt
Log Message:
-----------
[AArch64] fix Windows buildbot failure
Introduced by 2cf14398c9341feddb419e7ff9c8c5623a3da3db (#94279).
See also 6c369cf937b7d9acb98a1fc46b1340cef7703e12.
The build system cannot track transitive dependencies on generated
headers for some reason.
Commit: 88ff2463ea9a8fb29e3981cabfa007e63bdd7317
https://github.com/llvm/llvm-project/commit/88ff2463ea9a8fb29e3981cabfa007e63bdd7317
Author: Stephan T. Lavavej <stl at nuwen.net>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/default.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/default.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/default.pass.cpp
Log Message:
-----------
[libc++][test] Avoid `-Wunused-variable` warnings in mutex tests (#94907)
After enhancing MSVC's STL to statically initialize our condition_variable,
Clang began noticing that some mutexes in the test suite were unused.
Commit: 6b21e170497ae69a387ff3eebae025926742bb84
https://github.com/llvm/llvm-project/commit/6b21e170497ae69a387ff3eebae025926742bb84
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M libc/src/__support/FPUtil/CMakeLists.txt
M libc/src/__support/FPUtil/ManipulationFunctions.h
M libc/src/__support/big_int.h
M libc/test/src/__support/FPUtil/CMakeLists.txt
M libc/test/src/__support/FPUtil/dyadic_float_test.cpp
M libc/test/src/__support/big_int_test.cpp
Log Message:
-----------
[libc] Add WordTypeSelector<16> specialization (#94979)
Commit: 53d2f4d967838468423715178a8344739d7a63c9
https://github.com/llvm/llvm-project/commit/53d2f4d967838468423715178a8344739d7a63c9
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaCUDA.cpp
A clang/test/SemaCUDA/function-redclare.cu
M llvm/docs/CompileCudaWithLLVM.rst
Log Message:
-----------
[CUDA][HIP] warn incompatible redeclare (#77359)
nvcc warns about the following code:
`void f();
__device__ void f() {}`
but clang does not since clang allows device function to overload host
function.
Users want clang to emit similar warning to help code to be compatible
with nvcc.
Since this may cause regression with existing code, the warning is off
by default and can be enabled by -Wnvcc-compat.
It won't cause warning in system headers, even with -Wnvcc-compat.
Commit: 38a814f9bc30fac8599b84555266a6771770e795
https://github.com/llvm/llvm-project/commit/38a814f9bc30fac8599b84555266a6771770e795
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/include/llvm/Passes/StandardInstrumentations.h
M llvm/include/llvm/Support/GenericDomTreeConstruction.h
M llvm/include/llvm/Transforms/Scalar/JumpThreading.h
M llvm/include/llvm/Transforms/Scalar/LoopPassManager.h
M llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
M llvm/lib/Passes/StandardInstrumentations.cpp
M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
Log Message:
-----------
Revert 291b415c6c39156c82c7cdefd7a6a67657fb6927 : [Misc] Use `LLVM_ENABLE_ABI_BREAKING_CHECKS` correctly (#94212)
The patch didn't consistently clean up `#ifdef LLVM_ENABLE_ABI_BREAKING_CHECKS` and '#if defined(LLVM_ENABLE_ABI_BREAKING_CHECKS)' paths, causing a lot of build failures
Commit: e8f582b660177011b0fcf4569032ab54b18b7f6f
https://github.com/llvm/llvm-project/commit/e8f582b660177011b0fcf4569032ab54b18b7f6f
Author: Hans Wennborg <hans at chromium.org>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/test/DebugInfo/symbolize-gnu-debuglink-no-realpath.test
M llvm/test/Other/lit-unicode.txt
Log Message:
-----------
Restore 'REQUIRES: shell' for some tests after 878deae
Otherwise these tests would fail when using gnuwin32.
Commit: 141bdf0c2dc12936f4efa5f432646fd1e57a32fc
https://github.com/llvm/llvm-project/commit/141bdf0c2dc12936f4efa5f432646fd1e57a32fc
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
Log Message:
-----------
Revert "[Misc] Use `LLVM_ENABLE_ABI_BREAKING_CHECKS` correctly" (#94982)
Reverts llvm/llvm-project#94212
Some codes assume that `NDEBUG` implies
`LLVM_ENABLE_ABI_BREAKING_CHECKS`, thus #94212 breaks some build bots.
Commit: e19199bd9c9146a79673d2c7fb7b09d1f91a77af
https://github.com/llvm/llvm-project/commit/e19199bd9c9146a79673d2c7fb7b09d1f91a77af
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/docs/RemoveDIsDebugInfo.md
Log Message:
-----------
[RemoveDIs] Update migration doc to explain how to handle textual IR updates (#91725)
Related review: https://github.com/llvm/llvm-project/pull/91724
This patch updates the RemoveDIs migration document to include details
on the textual IR changes, including steps to update any downstream lit
tests accordingly. These steps are the same as those used to update the
lit tests in the LLVM/Clang lit tests, as detailed in the review linked
above.
Commit: 73d90412541983b817296712669fe1b134105d56
https://github.com/llvm/llvm-project/commit/73d90412541983b817296712669fe1b134105d56
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.buffer.atomic.fadd.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.buffer.atomic.fadd.ll
Log Message:
-----------
AMDGPU: Fix using useless cachepolicy argument in buffer atomic test
This was probably intended to test the immediate offset addressing
mode. Add some tests to check immediate offsets, and clean up run lines.
Commit: dbc99e9521d61cfe2e0604adc7d6cc2b12ad56ca
https://github.com/llvm/llvm-project/commit/dbc99e9521d61cfe2e0604adc7d6cc2b12ad56ca
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.buffer.atomic.fadd.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.buffer.atomic.fadd.ll
Log Message:
-----------
AMDGPU: Simplify some tests by not using amdgpu_ps
Since inreg now works for the default calling convention, we can
check the output with fewer argument shuffling instructions.
Commit: c5b68a9dcebad62cd4ea15876a6cba43e8288af6
https://github.com/llvm/llvm-project/commit/c5b68a9dcebad62cd4ea15876a6cba43e8288af6
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M libc/include/llvm-libc-macros/float16-macros.h
Log Message:
-----------
[libc][math][c23] Temporarily disable float16 on RISC-V (#94984)
See Buildbot failures:
- https://lab.llvm.org/buildbot/#/builders/257/builds/13450
- https://lab.llvm.org/buildbot/#/builders/256/builds/14531
Commit: fe1301b5d846e96655ae6981789f677de6c7572d
https://github.com/llvm/llvm-project/commit/fe1301b5d846e96655ae6981789f677de6c7572d
Author: Alastair Houghton <ahoughton at apple.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M libunwind/test/floatregister.pass.cpp
M libunwind/test/forceunwind.pass.cpp
M libunwind/test/signal_unwind.pass.cpp
M libunwind/test/unwind_leaffunction.pass.cpp
Log Message:
-----------
[libunwind] Tweak tests for musl support. (#85097)
We can't use `dladdr()` in the tests, because when we're statically
linking with musl that function is a no-op.
Additionally, because musl disables emission of unwind information in
its build, and because its signal trampolines don't include unwind
information, tests that involve unwinding through a signal handler won't
work and need to be disabled for musl.
rdar://123436891
Commit: 11a944c50aaee6dc73db620588f16a051e2748be
https://github.com/llvm/llvm-project/commit/11a944c50aaee6dc73db620588f16a051e2748be
Author: Dmitry Chernenkov <dmitryc at google.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/test/src/__support/FPUtil/BUILD.bazel
Log Message:
-----------
[bazel][libc]Fix test bazel for 6b21e17049
Commit: c894f90c58a75190c46d62e4d93e2c9ddb244766
https://github.com/llvm/llvm-project/commit/c894f90c58a75190c46d62e4d93e2c9ddb244766
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.load.bf16.xfail.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.store.bf16.xfail.ll
Log Message:
-----------
AMDGPU: Do not assert on v6x16 buffer load intrinsics (#94966)
Just use the original type and let it hit a standard legalization error.
Commit: f26bc5f0c421c7a01a1a611249dd7483b749bab5
https://github.com/llvm/llvm-project/commit/f26bc5f0c421c7a01a1a611249dd7483b749bab5
Author: c8ef <c8ef at outlook.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
A llvm/test/Transforms/InstCombine/ldexp-zext.ll
Log Message:
-----------
[InstCombine] fold `ldexp(x, zext(i1 y))` to `fmul x, (select y, 2.0, 1.0)` (#94887)
close: #92538
Commit: aa486ec39c3b4d641ecdc5f4a07e801963920022
https://github.com/llvm/llvm-project/commit/aa486ec39c3b4d641ecdc5f4a07e801963920022
Author: Karl-Johan Karlsson <karl-johan.karlsson at ericsson.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang/test/OpenMP/error_unsupport_feature.c
Log Message:
-----------
[test][OpenMP] Avoid writing to a potentially write-protected dir (#94931)
The test clang/test/OpenMP/error_unsupport_feature.c don't check the
output written to the current directory. The current directory may be
write protected e.g. in a sandboxed environment.
This patch replace the -emit-llvm option with -emit-llvm-only as it
don't care about the outputed llvm IR.
Commit: 58550a793870c3223d0961bfb02854e159e6e759
https://github.com/llvm/llvm-project/commit/58550a793870c3223d0961bfb02854e159e6e759
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.global.atomic.csub.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.global.atomic.fadd.gfx90a.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.global.atomic.fadd.ll
Log Message:
-----------
[AMDGPU] Restore non-buffer atomic tests lost in #93801 (#94978)
Commit: 3e39328b62f2932c082496dd2471a9064dbff878
https://github.com/llvm/llvm-project/commit/3e39328b62f2932c082496dd2471a9064dbff878
Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M lldb/test/API/functionalities/target-new-solib-notifications/Makefile
M lldb/test/API/functionalities/target-new-solib-notifications/TestModuleLoadedNotifys.py
A lldb/test/API/functionalities/target-new-solib-notifications/a.cpp
A lldb/test/API/functionalities/target-new-solib-notifications/b.cpp
A lldb/test/API/functionalities/target-new-solib-notifications/c.cpp
A lldb/test/API/functionalities/target-new-solib-notifications/d.cpp
M lldb/test/API/functionalities/target-new-solib-notifications/main.cpp
Log Message:
-----------
[lldb] Fix TestModuleLoadedNotifys API test to work correctly on most of Linux targets (#94672)
The different build configuration and target Linux system can load a
different number of .so libraries. Add and check own libraries.
Commit: 472291111d9135961305afebe4e283e3e4e7eebc
https://github.com/llvm/llvm-project/commit/472291111d9135961305afebe4e283e3e4e7eebc
Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Arith/Transforms/Passes.td
M mlir/lib/Dialect/Arith/Transforms/IntRangeOptimizations.cpp
M mlir/test/Dialect/Arith/int-range-interface.mlir
M mlir/test/Dialect/Arith/int-range-opts.mlir
M mlir/test/Dialect/GPU/int-range-interface.mlir
M mlir/test/Dialect/Index/int-range-inference.mlir
M mlir/test/Interfaces/InferIntRangeInterface/infer-int-range-test-ops.mlir
M mlir/test/lib/Transforms/CMakeLists.txt
R mlir/test/lib/Transforms/TestIntRangeInference.cpp
M mlir/tools/mlir-opt/mlir-opt.cpp
Log Message:
-----------
[mlir][Arith] Generalize and improve -int-range-optimizations (#94712)
When the integer range analysis was first develop, a pass that did
integer range-based constant folding was developed and used as a test
pass. There was an intent to add such a folding to SCCP, but that hasn't
happened.
Meanwhile, -int-range-optimizations was added to the arith dialect's
transformations. The cmpi simplification in that pass is a strict subset
of the constant folding that lived in
-test-int-range-inference.
This commit moves the former test pass into -int-range-optimizaitons,
subsuming its previous contents. It also adds an optimization from
rocMLIR where `rem{s,u}i` operations that are noops are replaced by
their left operands.
Commit: 7683a16dbf4b676236c7698680de92d6510c2399
https://github.com/llvm/llvm-project/commit/7683a16dbf4b676236c7698680de92d6510c2399
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-10 (Mon, 10 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/NormalFloat.h
M libc/src/math/CMakeLists.txt
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/remainderf16.cpp
A libc/src/math/generic/remquof16.cpp
A libc/src/math/remainderf16.h
A libc/src/math/remquof16.h
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/RemQuoTest.h
A libc/test/src/math/smoke/remquof16_test.cpp
Log Message:
-----------
[libc][math][c23] Add {remainder,remquo}f16 C23 math functions (#94773)
Part of #93566.
Commit: cb3ff9a3936d31c986fbfa5757c09e585669dc1e
https://github.com/llvm/llvm-project/commit/cb3ff9a3936d31c986fbfa5757c09e585669dc1e
Author: Mike Rice <michael.p.rice at intel.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaOpenMP.cpp
Log Message:
-----------
[clang][OpenMP][NFC] Remove unnecessary nullptr check (#94680)
Static verifier reports unchecked use of pointer after explicitly
checking earlier in the function. It appears the pointer won't be a
nullptr, so remove the unneeded check for consistency.
Commit: 151bd7cab4fc5223673c71cdbd18980bcf2f5f4d
https://github.com/llvm/llvm-project/commit/151bd7cab4fc5223673c71cdbd18980bcf2f5f4d
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M libcxx/include/CMakeLists.txt
A libcxx/include/__chrono/zoned_time.h
M libcxx/include/chrono
M libcxx/include/module.modulemap
M libcxx/modules/std/chrono.inc
M libcxx/test/libcxx/diagnostics/chrono.nodiscard.verify.cpp
A libcxx/test/std/time/time.zone/time.zone.zonedtraits/const_time_zone_default_zone.pass.cpp
A libcxx/test/std/time/time.zone/time.zone.zonedtraits/const_time_zone_locate_zone.pass.cpp
A libcxx/test/std/time/time.zone/time.zone.zonedtraits/types.compile.pass.cpp
Log Message:
-----------
[libc++][TZDB] Implements zoned_traits. (#91059)
Implements parts of:
- P0355 Extending chrono to Calendars and Time Zones
Commit: c32428151678f05fa3a9b5996e07f1e67094626c
https://github.com/llvm/llvm-project/commit/c32428151678f05fa3a9b5996e07f1e67094626c
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang/unittests/Interpreter/InterpreterTest.cpp
Log Message:
-----------
[clang][test] Update link for Arm clang-repl test disable
The original bug is legitimate UB, but this is in the clang constant
expression interpreter, not clang-repl.
https://github.com/llvm/llvm-project/issues/94994 covers investigation
of this specific bug in clang-repl.
Commit: c8f0e976235c812955c5ff935886f8a1b9088500
https://github.com/llvm/llvm-project/commit/c8f0e976235c812955c5ff935886f8a1b9088500
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
Log Message:
-----------
[gn build] Port 151bd7cab4fc
Commit: 65d300989b1cdf84f518af1f46b6c7ba93ecd17c
https://github.com/llvm/llvm-project/commit/65d300989b1cdf84f518af1f46b6c7ba93ecd17c
Author: Mike Rice <michael.p.rice at intel.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaOpenMP.cpp
Log Message:
-----------
[OpenMP][NFC] Fix argument order of SourceLocations for allocate clause (#94777)
Static verifier caught passing ColonLoc/LParenLoc in wrong order. Marked
as NFC since these don't seem to be used for anything currently that I
can think to test for.
Commit: f11e08fb26642fddebdefca5bec933fe39e4bd03
https://github.com/llvm/llvm-project/commit/f11e08fb26642fddebdefca5bec933fe39e4bd03
Author: khaki3 <47756807+khaki3 at users.noreply.github.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M flang/lib/Lower/Bridge.cpp
A flang/test/Lower/loops3.f90
Log Message:
-----------
[flang] Generate fir.do_loop reduce from DO CONCURRENT REDUCE clause (#94718)
Derived from #92480. This PR updates the lowering process of DO
CONCURRENT to support F'2023 REDUCE clause. The structure
`IncrementLoopInfo` is extended to have both reduction operations and
symbols in `reduceSymList`. The function `getConcurrentControl`
constructs `reduceSymList` for the innermost loop. Finally,
`genFIRIncrementLoopBegin` builds `fir.do_loop` with reduction operands.
Commit: 97159a378cf294a3f4979ecc138432a322bbeadb
https://github.com/llvm/llvm-project/commit/97159a378cf294a3f4979ecc138432a322bbeadb
Author: Dmitry Chernenkov <dmitryc at google.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][Bazel] Fix for 4722911
Commit: e7d569a0faa833623af59d4eab5d6277ce031d9e
https://github.com/llvm/llvm-project/commit/e7d569a0faa833623af59d4eab5d6277ce031d9e
Author: Valentin Clement <clementval at gmail.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M flang/lib/Lower/Bridge.cpp
Log Message:
-----------
[flang] Fix copy creation in #94718
Commit: 39f09e8dcd9ceff5c5030ede6393155782b7cdad
https://github.com/llvm/llvm-project/commit/39f09e8dcd9ceff5c5030ede6393155782b7cdad
Author: Tomas Matheson <Tomas.Matheson at arm.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang/lib/Basic/Targets/AArch64.cpp
M clang/test/Driver/aarch64-mac-cpus.c
M clang/test/Preprocessor/aarch64-target-features.c
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/Target/AArch64/AArch64Processors.td
M llvm/test/DebugInfo/debug_frame_symbol.ll
M llvm/test/Instrumentation/AddressSanitizer/calls-only-smallfn.ll
M llvm/test/Instrumentation/AddressSanitizer/calls-only.ll
M llvm/unittests/TargetParser/TargetParserTest.cpp
Log Message:
-----------
[AArch64] set A14/M1 architecture version to v8.4-a (#92600)
According to the Apple Silicon Optimization Guide, these are 8.4 with
all features of 8.5 except BTI.
Commit: d9593c1edd7add74564cf950cd209fc35f5261b6
https://github.com/llvm/llvm-project/commit/d9593c1edd7add74564cf950cd209fc35f5261b6
Author: c8ef <c8ef at outlook.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang/lib/Format/ContinuationIndenter.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Fix a bug in indenting lambda trailing arrows (#94560)
Closes #94181
Commit: 18658dbc0d39d829fbf7d1ab1b4b5e9b5a01420b
https://github.com/llvm/llvm-project/commit/18658dbc0d39d829fbf7d1ab1b4b5e9b5a01420b
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
Log Message:
-----------
[RISCV] Remove stale comments. NFC (#94925)
We no longer have _TU pseudo instructions.
I'm not sure if we have any unsuffixed instructions w/o mask w/ passthru
w/o policy operand. That case is not covered by the earlier comments. I
could not find any from a quick audit.
Commit: d63ade63b661e09cb1379d48cb3e49851fdf2509
https://github.com/llvm/llvm-project/commit/d63ade63b661e09cb1379d48cb3e49851fdf2509
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/IntrinsicsRISCV.td
Log Message:
-----------
[RISCV] Use DefaultAttrsIntrinsic for some vector intrinsics. (#94819)
This adds IntrWillReturn, IntrNoSync, IntrNoFree, and IntrNoCallback.
The IntrWillReturn is needed to make the intrinsic eligible for being
dead code eliminated if they are unused.
We already use this for most intrinsics. I wonder if the rounding mode
intrinsics were in review when the other intrinsics were changed to
DefaultAttrsIntrinsic.
Commit: 8788b666aaaf4658bbaab7459968ba2bca13f529
https://github.com/llvm/llvm-project/commit/8788b666aaaf4658bbaab7459968ba2bca13f529
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
M llvm/test/LTO/X86/triple-init2.ll
M llvm/test/Transforms/InstCombine/exp2-1.ll
M llvm/test/Transforms/InstCombine/exp2-to-ldexp.ll
M llvm/test/Transforms/InstCombine/pow-to-ldexp.ll
Log Message:
-----------
SimplifyLibCalls: Don't require ldexp to emit intrinsic in exp2 combine (#92707)
When folding exp2(itofp(x)) to ldexp(1, x), don't require an ldexp
libcall to emit the intrinsic.
The intrinsic needs to be handled regardless of whether the system has a
libcall, and we have an inline implementation of ldexp already. This
fixes the instance in the exp2->ldexp fold. Another instance exists for
the pow(2) -> ldexp case
The LTO test change isn't ideal, since it's just moving the problem to
another instance where we're relying on implied libm behavior for an
intrinsic transform. Use exp10 since that's a harder case to solve in
the libcall house of cards we have.
Commit: 4b1fef6e8a036b184481284432d8cb7856012924
https://github.com/llvm/llvm-project/commit/4b1fef6e8a036b184481284432d8cb7856012924
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/utils/lit/tests/xunit-output.py
Log Message:
-----------
[lit] Skip xunit test on Windows only (#94980)
This test works on Linux with lit's internal shell. It fails on Windows
because sh is not available.
Commit: 1b21b9728e3855cc2382cc206da2fd58cdb1313d
https://github.com/llvm/llvm-project/commit/1b21b9728e3855cc2382cc206da2fd58cdb1313d
Author: Angel Zhang <angel.zhang at amd.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
A mlir/test/Conversion/IndexToSPIRV/index-to-spirv.mlir
R mlir/test/Conversion/IndexToSPRIV/index-to-spirv.mlir
Log Message:
-----------
[mlir][spirv] Fix typo in IndexToSPIRV tests directory name (#95005)
Commit: a30ef38cd455d500680fea8afdc824b4983fa981
https://github.com/llvm/llvm-project/commit/a30ef38cd455d500680fea8afdc824b4983fa981
Author: Hans Wennborg <hans at chromium.org>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang/tools/clang-repl/CMakeLists.txt
Log Message:
-----------
[clang-repl] Always do export_executable_symbols_for_plugins(clang-repl)
It's needed to make clang-repl work in -DCLANG_PLUGIN_SUPPORT=OFF
configured builds (at least on mac). See discussion on
https://github.com/llvm/llvm-project/pull/89811
Commit: b0822af06d5384cd79b8b9280fe5f1065cdd2213
https://github.com/llvm/llvm-project/commit/b0822af06d5384cd79b8b9280fe5f1065cdd2213
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVCallLowering.cpp
M llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/calling-conv-half.ll
Log Message:
-----------
[GISel][RISCV] Anyextend before copying f16 -> i32/i64 (#94993)
Fixes type check failure in
https://github.com/llvm/llvm-project/pull/94110#issuecomment-2158417937
Commit: a8d38c140bc72b98c205f166f507c1f025d46e60
https://github.com/llvm/llvm-project/commit/a8d38c140bc72b98c205f166f507c1f025d46e60
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/abs.ll
Log Message:
-----------
[X86] Add abs tests that check for MIN_SIGNED_INT cases
Additional multi-use tests for #94948
Commit: 0c97ac0a46d0c29fbe5168adcd32e1f25336096d
https://github.com/llvm/llvm-project/commit/0c97ac0a46d0c29fbe5168adcd32e1f25336096d
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/2008-05-31-AddBool.ll
M llvm/test/Transforms/InstCombine/2008-05-31-Bools.ll
Log Message:
-----------
[InstCombine] Regenerate some old bool math tests to use FileCheck and UTC scripts
Don't use %a and %A in the same test as FileCheck doesn't like it.
Commit: 8462e20230a253e673f2ced090878b78ea19c760
https://github.com/llvm/llvm-project/commit/8462e20230a253e673f2ced090878b78ea19c760
Author: David Green <david.green at arm.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/aarch64-wide-mul.ll
M llvm/test/CodeGen/AArch64/addp-shuffle.ll
M llvm/test/CodeGen/AArch64/neon-dotreduce.ll
M llvm/test/CodeGen/AArch64/neon-extmul.ll
M llvm/test/CodeGen/AArch64/vecreduce-add.ll
Log Message:
-----------
[AArch64] Push mul into extend operands (#94960)
In a similar way to how we push vector adds into extends, this pushed
'mul(zext,zext)' into 'zext(mul(zext,zext))' if the extend can be done
in two or more steps.
https://alive2.llvm.org/ce/z/WjU7Kr
Commit: caf2de76e4c3ec70e012bc2582349d34ec6018fc
https://github.com/llvm/llvm-project/commit/caf2de76e4c3ec70e012bc2582349d34ec6018fc
Author: AdityaK <hiraditya at msn.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/docs/TestSuiteGuide.md
Log Message:
-----------
Document that llvm-lit needs to be run to collect static metrics (#94836)
Commit: 1d96e4bc2d09bc085e7c1b303d930684756b94a7
https://github.com/llvm/llvm-project/commit/1d96e4bc2d09bc085e7c1b303d930684756b94a7
Author: Tatsuyuki Ishi <ishitatsuyuki at google.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M lld/ELF/Options.td
M lld/docs/ReleaseNotes.rst
M lld/docs/ld.lld.1
M lld/test/ELF/build-id.s
Log Message:
-----------
[ELF] Change build-id default to sha1 (#93943)
The current default, build-id=fast, is only 8 bytes due to the usage of
64-bit XXH3. This is incompatible with RPM packaging tools which
requires >=16 bytes [1].
In Clang the ENABLE_LINKER_BUILD_ID define makes it pass --build-id
without a specific hash type. When also defaulting to LLD, this provides
a pretty broken default out-of-box.
Using XXH3 was a considerable performance advantage when build-id was
first implemented, because sha1 was really sha1 and rather slow.
Nowadays sha1 is just 160-bit BLAKE3 which is decently fast and not
cryptographically broken, so it should be a good default.
Note that the default remains "fast" for wasm because sha1 for wasm is
still real sha1.
Close https://github.com/llvm/llvm-project/issues/43483.
[1]:
https://github.com/rpm-software-management/rpm/blob/b7d427728b8ba8734ba47d51849a5736bdd727cd/build/files.c#L1883
Commit: e276cf0831bfc71ef42eab78368aa487037ac27f
https://github.com/llvm/llvm-project/commit/e276cf0831bfc71ef42eab78368aa487037ac27f
Author: Peiming Liu <peiming at google.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensor.h
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.td
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
M mlir/test/Dialect/SparseTensor/invalid.mlir
M mlir/test/Dialect/SparseTensor/roundtrip.mlir
A mlir/test/Dialect/SparseTensor/sparse_itertion_licm.mlir
Log Message:
-----------
[mlir][sparse] introduce `sparse_tensor.iterate` operation (#88955)
A `sparse_tensor.iterate` iterates over a sparse iteration space
extracted from `sparse_tensor.extract_iteration_space` operation
introduced in https://github.com/llvm/llvm-project/pull/88554.
Commit: 503fb1aaf4b322173721fbf3855f2168cf6b230b
https://github.com/llvm/llvm-project/commit/503fb1aaf4b322173721fbf3855f2168cf6b230b
Author: Florian Mayer <fmayer at google.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.local_time.pass.cpp
Log Message:
-----------
[HWASan] skip libcxx test that times out with hwasan
Commit: 61df854d4c4d5f955693394d57f09b9fcd35be67
https://github.com/llvm/llvm-project/commit/61df854d4c4d5f955693394d57f09b9fcd35be67
Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M bolt/include/bolt/Rewrite/DWARFRewriter.h
M bolt/lib/Rewrite/DWARFRewriter.cpp
Log Message:
-----------
[BOLT][DWARF][NFC] Replace usages of GDBIndex functions (#94701)
Replace old usages of GDB Index functions to use the new class.
Commit: 93b91ddddd031a703cc2f19bbe35e95bc0de6970
https://github.com/llvm/llvm-project/commit/93b91ddddd031a703cc2f19bbe35e95bc0de6970
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp
Log Message:
-----------
[lldb] Tighten ABI assert in `StopInfoMachException::DeterminePtrauthFailure` (NFC) (#95015)
This patch tightens the assert check for the ABISP object in
`StopInfoMachException::DeterminePtrauthFailure`.
This causes some failure when debugging on a system that doesn't have
pointer authentification support, like on Intel for instance.
rdar://129401926
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: 4ac158e04c2eb693fba81bcc2e728208104af71d
https://github.com/llvm/llvm-project/commit/4ac158e04c2eb693fba81bcc2e728208104af71d
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/and-compare.ll
Log Message:
-----------
[InstCombine] Add tests for combining `(icmp eq/ne (and X, P2), (and X, -P2))`; NFC
Commit: 77f75b45fd8a4bbc061e85a4432c23b64ca7d4f2
https://github.com/llvm/llvm-project/commit/77f75b45fd8a4bbc061e85a4432c23b64ca7d4f2
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/and-compare.ll
Log Message:
-----------
[InstCombine] Extend `(icmp eq/ne (and Z, X), (and Z, Y))` folds
Two ways to relaxed:
1) Only require one of the `and` ops to be single-use if both `X`
and `Y` are constant.
2) Special case, if `X ^ Y` is a negative power of 2, then
`Z ^ NegP2 ==/!= 0` will fold to `Z u</u>= -NegP2` which
creates no additional instructions so fold irrelivant of
use counts.
Closes #94867
Commit: 7c8a8bdc3a555e531e79af6ea9a60eb30c41475d
https://github.com/llvm/llvm-project/commit/7c8a8bdc3a555e531e79af6ea9a60eb30c41475d
Author: Eisuke Kawashima <e.kawaschima+github at gmail.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang-tools-extra/docs/clang-tidy/checks/gen-static-analyzer-docs.py
Log Message:
-----------
[clang-tidy] fix(clang-tools-extra/**.py): fix comparison to None (#94013)
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.
Commit: 3254f31a66263ea9647c9547f1531c3123444fcd
https://github.com/llvm/llvm-project/commit/3254f31a66263ea9647c9547f1531c3123444fcd
Author: Emilio Cota <ecg at google.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][bazel] fixes for e276cf0
Commit: c5978f1eb5eeca8610b9dfce1fcbf1f473911cd8
https://github.com/llvm/llvm-project/commit/c5978f1eb5eeca8610b9dfce1fcbf1f473911cd8
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang/test/CodeGenCXX/attr-likelihood-if-vs-builtin-expect.cpp
M llvm/docs/BranchWeightMetadata.rst
M llvm/include/llvm/IR/MDBuilder.h
M llvm/include/llvm/IR/ProfDataUtils.h
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/IR/Instruction.cpp
M llvm/lib/IR/Instructions.cpp
M llvm/lib/IR/MDBuilder.cpp
M llvm/lib/IR/Metadata.cpp
M llvm/lib/IR/ProfDataUtils.cpp
M llvm/lib/IR/Verifier.cpp
M llvm/lib/Transforms/IPO/SampleProfile.cpp
M llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
M llvm/lib/Transforms/Scalar/JumpThreading.cpp
M llvm/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
M llvm/lib/Transforms/Utils/Local.cpp
M llvm/lib/Transforms/Utils/LoopPeel.cpp
M llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LowerExpectIntrinsic/basic.ll
M llvm/test/Transforms/LowerExpectIntrinsic/expect-with-probability.ll
M llvm/test/Transforms/LowerExpectIntrinsic/expect_nonboolean.ll
M llvm/test/Transforms/LowerExpectIntrinsic/phi_merge.ll
M llvm/test/Transforms/LowerExpectIntrinsic/phi_or.ll
M llvm/test/Transforms/LowerExpectIntrinsic/phi_tern.ll
M llvm/test/Transforms/LowerExpectIntrinsic/phi_unexpect.ll
M llvm/test/Transforms/PhaseOrdering/AArch64/hoist-runtime-checks.ll
Log Message:
-----------
[llvm][IR] Extend BranchWeightMetadata to track provenance of weights (#86609)
This patch implements the changes to LLVM IR discussed in
https://discourse.llvm.org/t/rfc-update-branch-weights-metadata-to-allow-tracking-branch-weight-origins/75032
In this patch, we add an optional field to MD_prof metadata nodes for
branch weights, which can be used to distinguish weights added from
`llvm.expect*` intrinsics from those added via other methods, e.g.
from profiles or inserted by the compiler.
One of the major motivations, is for use with MisExpect diagnostics,
which need to know if branch_weight metadata originates from an
llvm.expect intrinsic. Without that information, we end up checking
branch weights multiple times in the case if ThinLTO + SampleProfiling,
leading to some inaccuracy in how we report MisExpect related
diagnostics to users.
Since we change the format of MD_prof metadata in a fundamental way, we
need to update code handling branch weights in a number of places.
We also update the lang ref for branch weights to reflect the change.
Commit: 7326aa7a0e186a189d4d42010ca66a3889d3fe75
https://github.com/llvm/llvm-project/commit/7326aa7a0e186a189d4d42010ca66a3889d3fe75
Author: Eric Schweitz <eschweitz at nvidia.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/lib/Support/CodeGenCoverage.cpp
Log Message:
-----------
Workaround -Wglobal-constructor warning. (#94699)
This line was tripping the -Wglobal-constructor warning which was
causing a build failure when -Werror was turned on.
Commit: 870bfad71a5bc84102374d94812cf063552493b9
https://github.com/llvm/llvm-project/commit/870bfad71a5bc84102374d94812cf063552493b9
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/test/Instrumentation/MemorySanitizer/X86/avx-intrinsics-x86.ll
M llvm/test/Instrumentation/MemorySanitizer/X86/sse41-intrinsics-x86.ll
Log Message:
-----------
[NFC][msan] Regenerate tests with --scrub-attributes (#95022)
Attributes are mostly irrelevant to these tests, but very unstable,
and change from patch to patch.
Commit: baba78daf2b3a3ee9bfa21f1f8ff3584aa982ac8
https://github.com/llvm/llvm-project/commit/baba78daf2b3a3ee9bfa21f1f8ff3584aa982ac8
Author: Andrew Ng <andrew.ng at sony.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/CodeGenModule.h
A clang/test/CodeGenCXX/windows-instantiate-dllexport-template-specialization.cpp
Log Message:
-----------
[clang] Fix loss of `dllexport` for exported template specialization (#94664)
When dropping DLL attributes, ensure that the most recent declaration is
being checked.
Commit: 77220823daa06c0e177d7571f73d9b69112861cc
https://github.com/llvm/llvm-project/commit/77220823daa06c0e177d7571f73d9b69112861cc
Author: aengelke <engelke at in.tum.de>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/lib/MC/MCObjectStreamer.cpp
Log Message:
-----------
[MC] Maintain MCRelaxAll after reset() (#94945)
RelaxAll was set in the constructor, but cleared after reset().
Commit: 2f9a80b7343606f62b3e907b888a8e9d17c0c551
https://github.com/llvm/llvm-project/commit/2f9a80b7343606f62b3e907b888a8e9d17c0c551
Author: aengelke <engelke at in.tum.de>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCContext.h
M llvm/lib/MC/MCContext.cpp
Log Message:
-----------
[MC][NFC] Make ELFUniquingMap a StringMap (#95006)
This avoid std::map, which is slow, and uses a StringMap. Section name,
group name, linked-to name and unique id are encoded into the key for
fast lookup.
This gives a measurable performance boost (>3%) for applications that
compile many small object files (e.g., functions in JIT compilers).
Commit: 2cddf72042818a03a4d1dfd2b19ae642dc7a2c90
https://github.com/llvm/llvm-project/commit/2cddf72042818a03a4d1dfd2b19ae642dc7a2c90
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/test/Instrumentation/MemorySanitizer/X86/avx-intrinsics-x86.ll
M llvm/test/Instrumentation/MemorySanitizer/X86/sse41-intrinsics-x86.ll
Log Message:
-----------
[msan][NFC] Make mask in test more interesting (#94874)
Low 4 and high 4 bits of mask have a different purpose.
Irrelevant for the current implementation, but
will be used in the followup patches.
Commit: 66f919272e4eab7ff4f74ea03b2b4f899454f551
https://github.com/llvm/llvm-project/commit/66f919272e4eab7ff4f74ea03b2b4f899454f551
Author: aengelke <engelke at in.tum.de>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCContext.h
M llvm/lib/MC/MCContext.cpp
Log Message:
-----------
Revert "[MC] Make ELFUniquingMap a StringMap" (#95023)
Reverts llvm/llvm-project#95006
Seems like there's some bug where the section name is empty in the `if
(!Section.isSingleStringRef())`. Revert for now to get builds back to
green.
Commit: d63be475e889ba3361799f6907b3c95354684c7d
https://github.com/llvm/llvm-project/commit/d63be475e889ba3361799f6907b3c95354684c7d
Author: Eisuke Kawashima <e.kawaschima+github at gmail.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py
M clang-tools-extra/docs/clang-tidy/checks/gen-static-analyzer-docs.py
Log Message:
-----------
[clang-tidy] fix(clang-tools-extra/**.py): fix invalid escape sequences (#94028)
Commit: bc70c29558c6ecb53e61cc8d668768e919e81bde
https://github.com/llvm/llvm-project/commit/bc70c29558c6ecb53e61cc8d668768e919e81bde
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
A clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/cplusplus.ArrayDelete.rst
A clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/security.SetgidSetuidOrder.rst
A clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/unix.Stream.rst
M clang-tools-extra/docs/clang-tidy/checks/gen-static-analyzer-docs.py
M clang-tools-extra/docs/clang-tidy/checks/list.rst
Log Message:
-----------
[clang-tidy][DOC] Update doc for Clang Static Analyzer checks
Fix gen-static-analyzer-docs.py script.
Commit doc for:
- clang-analyzer-cplusplus.ArrayDelete
- clang-analyzer-security.SetgidSetuidOrder
- clang-analyzer-unix.Stream
Commit: 23a33a72c620f7e37778fa26af46e88a0042cd15
https://github.com/llvm/llvm-project/commit/23a33a72c620f7e37778fa26af46e88a0042cd15
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M bolt/lib/Rewrite/DWARFRewriter.cpp
Log Message:
-----------
[BOLT] Fix a warning
This patch fixes:
bolt/lib/Rewrite/DWARFRewriter.cpp:187:18: error: private field
'Rewriter' is not used [-Werror,-Wunused-private-field]
Note that:
commit 61df854d4c4d5f955693394d57f09b9fcd35be67
Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
Date: Mon Jun 10 10:46:20 2024 -0700
removed the last use of Rewriter.
Commit: 43229977fe0f74bcdfeda20e478065a2072a1846
https://github.com/llvm/llvm-project/commit/43229977fe0f74bcdfeda20e478065a2072a1846
Author: aengelke <engelke at in.tum.de>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCContext.h
M llvm/lib/MC/MCContext.cpp
Log Message:
-----------
[MC] Don't evaluate name of unnamed symbols (#95021)
There's only one way to create unnamed symbols (createTempSymbol).
Previously, the name was evaluated unconditionally, but often
unnecessarily. Avoid this.
Also the parameter names in the header were wrong, fix these.
Commit: a9e5f42e2a4bc94dbd8d5bb027dfab230945eca8
https://github.com/llvm/llvm-project/commit/a9e5f42e2a4bc94dbd8d5bb027dfab230945eca8
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M libc/include/llvm-libc-macros/float16-macros.h
Log Message:
-----------
[libc][math][c23] Temporarily disable float16 on 32-bit Arm (#95027)
See Buildbot failure:
https://lab.llvm.org/buildbot/#/builders/229/builds/27009.
Commit: c7308d405d286674fbcd427da3f7a06f52dd70a2
https://github.com/llvm/llvm-project/commit/c7308d405d286674fbcd427da3f7a06f52dd70a2
Author: David Green <david.green at arm.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
M llvm/test/CodeGen/AArch64/sve-lsrchain.ll
Log Message:
-----------
[LSR][AArch64] Optimize chain generation based on legal addressing modes (#94453)
LSR will generate chains of related instructions with a known increment
between them. With SVE, in the case of the test case, this can include
increments like 'vscale * 16 + 8'. The idea of this patch is if we have
a '+8' increment already calculated in the chain, we can generate a
(legal) '+ vscale*16' addressing mode from it, allowing us to use the
'[x16, #1, mul vl]' addressing mode instructions.
In order to do this we keep track of the known 'bases' when generating
chains in GenerateIVChain, checking for each if the accumulated
increment expression from the base neatly folds into a legal addressing
mode. If they do not we fall back to the existing LeftOverExpr, whether
it is legal or not.
This is mostly orthogonal to #88124, dealing with the generation of
chains as opposed to rest of LSR. The existing vscale addressing mode
work has greatly helped compared to the last time I looked at this,
allowing us to check that the addressing modes are indeed legal.
Commit: 65310f34d7edf7924ca4cbe7df836770669f70dc
https://github.com/llvm/llvm-project/commit/65310f34d7edf7924ca4cbe7df836770669f70dc
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-10 (Mon, 10 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:
-----------
Reapply "[libc][math][c23] Add MPFR unit tests for {ceil,floor,round,roundeven,trunc}f16 (#94383)" (#94807)
This reverts commit cbe97e959dc67503d7cc44a3810e3124b6d3340e.
Commit: 52050f3ff388773b9345d421d968a7d1ee880531
https://github.com/llvm/llvm-project/commit/52050f3ff388773b9345d421d968a7d1ee880531
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M mlir/docs/DialectConversion.md
M mlir/include/mlir/Transforms/DialectConversion.h
M mlir/lib/Conversion/SCFToSPIRV/SCFToSPIRV.cpp
M mlir/lib/Dialect/Linalg/Transforms/Detensorize.cpp
M mlir/lib/Transforms/Utils/DialectConversion.cpp
M mlir/test/lib/Dialect/Test/TestPatterns.cpp
Log Message:
-----------
[mlir][Transforms] Dialect Conversion: Simplify block conversion API (#94866)
This commit simplifies and improves documentation for the part of the
`ConversionPatternRewriter` API that deals with signature conversions.
There are now two public functions for signature conversion:
* `applySignatureConversion` converts a single block signature. This
function used to take a `Region *` (but converted only the entry block).
It now takes a `Block *`.
* `convertRegionTypes` converts all block signatures of a region.
`convertNonEntryRegionTypes` is removed because it is not widely used
and can easily be expressed with a call to `applySignatureConversion`
inside a loop. (See `Detensorize.cpp` for an example.)
Note: For consistency, `convertRegionTypes` could be renamed to
`applySignatureConversion` (overload) in the future. (Or
`applySignatureConversion` renamed to `convertBlockTypes`.)
Also clarify when a type converter and/or signature conversion object is
needed and for what purpose.
Internal code refactoring (NFC) of `ConversionPatternRewriterImpl` (the
part that deals with signature conversions). This part of the codebase
was quite convoluted and unintuitive.
>From a functional perspective, this change is NFC. However, the public
API changes, thus not marking as NFC.
Note for LLVM integration: When you see
`applySignatureConversion(region, ...)`, replace with
`applySignatureConversion(region->front(), ...)`. In the unlikely case
that you see `convertNonEntryRegionTypes`, apply the same changes as
this commit did to `Detensorize.cpp`.
---------
Co-authored-by: Markus Böck <markus.boeck02 at gmail.com>
Commit: be067615453bab711fd4996c3c235ca996a306a1
https://github.com/llvm/llvm-project/commit/be067615453bab711fd4996c3c235ca996a306a1
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang/CMakeLists.txt
M clang/cmake/caches/Release.cmake
M clang/utils/perf-training/CMakeLists.txt
Log Message:
-----------
[clang][cmake] Fixes for PGO builds when invoking ninja twice (#92591)
This fixes two problems with the 2-stage PGO builds. The first problem
was that the stage2-instrumented and stage2 targets would not be built
on the second ninja invocation. For example:
This would work as expected.
$ ninja -v -C build stage2-instrumented-generate-profdata
Edit a file.
$ touch llvm/lib/Support/StringExtras.cpp
This would rebuild stage1 only and not build stage2-instrumented or
regenerate the profile data.
$ ninja -v -C build stage2-instrumented-generate-profdata
The second problem was that in some cases, the profile data would be
regenerated, but not all of the stage2 targets would be rebuilt. One
common scenario where this would happen is:
This would work as expected.
$ ninja -C build stage2-check-all
This would regenerate the profile data, but then only build the
targets that were needed for install, but weren't needed for
check-all. This would cause errors like:
ld.lld: error: Function Import: link error: linking module flags
'ProfileSummary': IDs have conflicting values in ...
This is because the executibles being built for the install target
used the new profile data, but they were linking with libraries that
used the old profile data.
$ ninja -C build stage2-install
With this change we can re-enable PGO for the release builds.
Commit: 4f416989d80ef6a3b5d759a2b1c576c019cbedbe
https://github.com/llvm/llvm-project/commit/4f416989d80ef6a3b5d759a2b1c576c019cbedbe
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
Log Message:
-----------
[NFC][msan] Prepare function to extract main logic (#94880)
Commit: 983bf657945e4e400997b127fe4a7b644d63c047
https://github.com/llvm/llvm-project/commit/983bf657945e4e400997b127fe4a7b644d63c047
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
Log Message:
-----------
[NFC][msan] Extract `handleSelectLikeInst` (#94881)
`blendv` instructions are very similar to `select`.
We will add support for them in followup patches.
Commit: d3c0ed387c478dc07daac575b2ec1216b8044b56
https://github.com/llvm/llvm-project/commit/d3c0ed387c478dc07daac575b2ec1216b8044b56
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/LibCallsShrinkWrap.cpp
M llvm/test/Transforms/Util/libcalls-shrinkwrap-double.ll
M llvm/test/Transforms/Util/libcalls-shrinkwrap-float.ll
M llvm/test/Transforms/Util/libcalls-shrinkwrap-long-double.ll
Log Message:
-----------
[NFCI][metadata][LibCallsShrinkWrap] Use create{Unlikely,Likely}BranchWeights (#89465)
It does not look like 2000 is needed here in particular.
Follow up to #89464
Commit: 85c78d45073bec31287fa72f1f558bad4de36189
https://github.com/llvm/llvm-project/commit/85c78d45073bec31287fa72f1f558bad4de36189
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M libc/src/stdlib/CMakeLists.txt
A libc/src/stdlib/block.h
M libc/test/src/stdlib/CMakeLists.txt
A libc/test/src/stdlib/block_test.cpp
Log Message:
-----------
[libc][stdlib] Add Block class (#94407)
A block represents a chunk of memory used by the freelist allocator. It
contains header information denoting the usable space and pointers as
offsets to the next and previous block.
On it's own, this doesn't do much. This is a part of
https://github.com/llvm/llvm-project/pull/94270 to land in smaller
patches.
This is a subset of pigweed's freelist allocator implementation.
Commit: d4749765fc388e392028ecb540dc48bc8ea15c41
https://github.com/llvm/llvm-project/commit/d4749765fc388e392028ecb540dc48bc8ea15c41
Author: Peiming Liu <peiming at google.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M mlir/lib/Dialect/SparseTensor/IR/CMakeLists.txt
Log Message:
-----------
[mlir][sparse] fix missing cmake dependencies. (#95034)
Fix https://github.com/llvm/llvm-project/pull/88955
Commit: 83da21ae19ef5c5e3f99e359114cd6060844e5d6
https://github.com/llvm/llvm-project/commit/83da21ae19ef5c5e3f99e359114cd6060844e5d6
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp
Log Message:
-----------
[VPlan] Generalize type inference for binary VPInstructions (NFC).
Generalize logic to set the result type for ops where the result type
and the types of all operands match. Use it to support any unary and
binops.
Commit: fade04f81da9db974204b9d7c58b4affd0422d6e
https://github.com/llvm/llvm-project/commit/fade04f81da9db974204b9d7c58b4affd0422d6e
Author: hdoc <68132204+hdoc at users.noreply.github.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang/include/clang/AST/CommentCommands.td
M clang/include/clang/AST/CommentParser.h
M clang/lib/AST/CommentParser.cpp
M clang/lib/Index/CommentToXML.cpp
M clang/test/Index/comment-to-html-xml-conversion.cpp
M clang/unittests/AST/CommentParser.cpp
Log Message:
-----------
[Clang][Comments] Add argument parsing for @throw @throws @exception (#84726)
Doxygen allows for the `@throw`, `@throws`, and `@exception` commands to
have an attached argument indicating the type being thrown. Currently,
Clang's AST parsing doesn't support parsing out this argument from doc
comments. The result is missing compatibility with Doxygen.
This PR implements parsing of arguments for the `@throw`, `@throws`, and
`@exception` commands. Each command can only have one argument, matching
the semantics of Doxygen.
Commit: 0babff96759d2fa91af2dcab7564b6f08954e8fa
https://github.com/llvm/llvm-project/commit/0babff96759d2fa91af2dcab7564b6f08954e8fa
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/include/flang/Optimizer/Builder/Runtime/RTBuilder.h
M flang/include/flang/Optimizer/Builder/Runtime/Reduction.h
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/Builder/Runtime/Reduction.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/runtime/reduce.cpp
R flang/test/Lower/Intrinsics/Todo/reduce.f90
A flang/test/Lower/Intrinsics/reduce.f90
Log Message:
-----------
[flang] Lower REDUCE intrinsic with no DIM argument and rank 1 (#94652)
This patch lowers the `REDUCE` intrinsic call to the runtime equivalent
for scalar results. Call with array result will follow.
Commit: f50656c50938781fdfdabe05c9225783ce7e409d
https://github.com/llvm/llvm-project/commit/f50656c50938781fdfdabe05c9225783ce7e409d
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M libc/test/src/math/CMakeLists.txt
M libc/test/src/math/RIntTest.h
M libc/test/src/math/RoundToIntegerTest.h
A libc/test/src/math/llrintf16_test.cpp
A libc/test/src/math/llroundf16_test.cpp
A libc/test/src/math/lrintf16_test.cpp
A libc/test/src/math/lroundf16_test.cpp
A libc/test/src/math/rintf16_test.cpp
M libc/utils/MPFRWrapper/MPFRUtils.cpp
Log Message:
-----------
[libc][math][c23] Add MPFR unit tests for {rint,lrint,llrint,lround,llround}f16 (#94473)
Commit: 3c8e0b8874fa3f8c8f84aa7261e905a57ba3d4a8
https://github.com/llvm/llvm-project/commit/3c8e0b8874fa3f8c8f84aa7261e905a57ba3d4a8
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M bolt/lib/Rewrite/DWARFRewriter.cpp
Log Message:
-----------
[BOLT] Clean up DIEStreamer (NFC) (#95028)
DIEStreamer no longer needs Rewriter, so we can remove the constructor
parameter and clean up the callers.
Commit: 076a50ad17ea567154f3e8227ce67ccec0d751d3
https://github.com/llvm/llvm-project/commit/076a50ad17ea567154f3e8227ce67ccec0d751d3
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M libc/src/stdlib/free.h
Log Message:
-----------
[NFC][libc][stdlib] LLVM_LIBC_SRC_STDLIB_LDIV_H -> LLVM_LIBC_SRC_STDL… (#95038)
…IB_FREE_H
Commit: fd4a7401280b68ce3d5751fb1d6a13639588e9d4
https://github.com/llvm/llvm-project/commit/fd4a7401280b68ce3d5751fb1d6a13639588e9d4
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M libc/src/stdlib/block.h
Log Message:
-----------
[libc][stdlib] Move LIBC_INLINE after template and before constexpr (#95037)
Commit: f3b212cd123398b563da3a9a69c2903d8b355d19
https://github.com/llvm/llvm-project/commit/f3b212cd123398b563da3a9a69c2903d8b355d19
Author: Valentin Clement <clementval at gmail.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M flang/runtime/reduce.cpp
Log Message:
-----------
[flang][NFC] Remove debug printing
Commit: bb2bf3a2635a06de1c5ba15056dc5787ae2e81b0
https://github.com/llvm/llvm-project/commit/bb2bf3a2635a06de1c5ba15056dc5787ae2e81b0
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGExpr.cpp
M clang/lib/CodeGen/CGExprComplex.cpp
M clang/lib/CodeGen/CGObjCGNU.cpp
M clang/lib/CodeGen/CGObjCMac.cpp
Log Message:
-----------
[NFCI][metadata][clang] Use create{Unlikely,Likely}BranchWeights (#89467)
It does not look like particular value is inportant.
Howere, there is a comment., but the current implementation
of `create{Unlikely,Likely}BranchWeights` use the same value.
Follow up to #89464
Commit: 1fe4f2d1a4b9d16ae41076608783df4427a4d985
https://github.com/llvm/llvm-project/commit/1fe4f2d1a4b9d16ae41076608783df4427a4d985
Author: Min-Yih Hsu <min.hsu at sifive.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/test/Transforms/Inline/inline-switch-default.ll
Log Message:
-----------
[Inliner][test] Fix incorrect REQUIRE line in `inline-switch-default.ll` (NFC) (#95009)
It should be `x86-registered-target` because we only need the X86 target
in this case. `x86_64-linux` will be too strict here as it puts a
prerequisite on the default target triple.
Commit: 3aa41e016a7efc2cca1926700cfbd8ddc05e4274
https://github.com/llvm/llvm-project/commit/3aa41e016a7efc2cca1926700cfbd8ddc05e4274
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
Log Message:
-----------
[X86,MC] Remove two getPrevNode
Make it more feasible to replace the fragment reprsentation, which might
yield a large peak RSS win.
Commit: e2d539bbbab229c496f4d990993275819330b2a3
https://github.com/llvm/llvm-project/commit/e2d539bbbab229c496f4d990993275819330b2a3
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/lib/ProfileData/MemProf.cpp
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
Log Message:
-----------
[memprof] Fix comment typos (NFC)
Commit: 48aebd4cf88b3632e8c3ed6b976287c973628e14
https://github.com/llvm/llvm-project/commit/48aebd4cf88b3632e8c3ed6b976287c973628e14
Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M clang/include/clang/AST/ASTContext.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/CMakeLists.txt
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Basic/Targets/AArch64.h
M clang/test/CodeGen/aarch64-cpu-supports-target.c
M clang/test/CodeGen/aarch64-sme-intrinsics/aarch64-sme-attrs.cpp
M clang/test/CodeGen/aarch64-targetattr.c
M clang/test/CodeGen/attr-target-version.c
M clang/test/Sema/aarch64-neon-target.c
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/TargetParser/AArch64TargetParser.cpp
Log Message:
-----------
Revert "[AArch64] Decouple feature dependency expansion. (#94279)" (#95056)
This reverts commit 2cf14398c9341feddb419e7ff9c8c5623a3da3db since it
broke the llvm test suite:
SingleSource/UnitTests/AArch64/acle-fmv-features.c:59:9:
error: instruction requires: altnzcv
SingleSource/UnitTests/AArch64/acle-fmv-features.c:117:10:
error: instruction requires: aes
...
Looks like the FMV dependencies were used in the target attribute and
now features that are FMVOnly (have AEK_NONE) cannot be expanded in
parseTargetAttr using the ExtensionSet.
This suggests that either the tests are wrong (they are using an FMVOnly
feature in a target attribute), or that we need to turn the FMVOnly
features into Extensions (these two are tablegen classes).
Commit: 46e41c8631bd6c1a6c91d6cc4a5e4f1671078ccd
https://github.com/llvm/llvm-project/commit/46e41c8631bd6c1a6c91d6cc4a5e4f1671078ccd
Author: Will Dietz <will.dietz at sifive.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M mlir/lib/IR/AsmPrinter.cpp
M mlir/test/IR/print-attr-type-aliases.mlir
M mlir/test/lib/Dialect/Test/TestDialectInterfaces.cpp
Log Message:
-----------
[mlir] Sanitize identifiers with leading symbol. (#94795)
Presently, if name starts with a symbol it's converted to hex which may
cause the result to be invalid by starting with a digit.
Address this and add a small test.
Co-authored-by: Will Dietz <w at wdtz.org>
Commit: 1737814e577f80917fc9a56d58f09a22665179d1
https://github.com/llvm/llvm-project/commit/1737814e577f80917fc9a56d58f09a22665179d1
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M libc/src/stdlib/CMakeLists.txt
A libc/src/stdlib/freelist.h
M libc/test/src/stdlib/CMakeLists.txt
A libc/test/src/stdlib/freelist_test.cpp
Log Message:
-----------
[libc][stdlib] Add freelist class (#95041)
This implements a traditional freelist to be used by the freelist
allocator. It operates on spans of bytes which can be anything. The
freelist allocator will store Blocks inside them.
This is a part of #94270 to land in smaller patches.
Commit: 189d4711915f4ce89b373f3cbcfe1f19c73becd9
https://github.com/llvm/llvm-project/commit/189d4711915f4ce89b373f3cbcfe1f19c73becd9
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang/include/clang/Basic/Builtins.td
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGen/X86/math-builtins.c
M clang/test/CodeGen/constrained-math-builtins.c
M clang/test/CodeGen/math-libcalls.c
M clang/test/CodeGenOpenCL/builtins-f16.cl
M llvm/docs/LangRef.rst
M llvm/include/llvm/IR/ConstrainedOps.def
M llvm/include/llvm/IR/Intrinsics.td
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/Assembler/fp-intrinsics-attr.ll
M llvm/test/CodeGen/AArch64/fp-intrinsics-fp16.ll
M llvm/test/CodeGen/AArch64/fp-intrinsics.ll
M llvm/test/CodeGen/ARM/fp-intrinsics.ll
M llvm/test/CodeGen/PowerPC/ctrloop-constrained-fp.ll
M llvm/test/CodeGen/PowerPC/ppcf128-constrained-fp-intrinsics.ll
M llvm/test/CodeGen/PowerPC/vector-constrained-fp-intrinsics.ll
M llvm/test/CodeGen/RISCV/double-intrinsics-strict.ll
M llvm/test/CodeGen/RISCV/float-intrinsics-strict.ll
M llvm/test/CodeGen/SystemZ/vector-constrained-fp-intrinsics.ll
M llvm/test/CodeGen/X86/fp-intrinsics.ll
M llvm/test/CodeGen/X86/fp-strict-libcalls-msvc32.ll
M llvm/test/CodeGen/X86/fp128-libcalls-strict.ll
M llvm/test/CodeGen/X86/fp80-strict-libcalls.ll
M llvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll
M llvm/test/Feature/fp-intrinsics.ll
Log Message:
-----------
[clang] Reland Add tanf16 builtin and support for tan constrained intrinsic (#94559)
Relanding this PR now that
https://github.com/llvm/llvm-project/pull/90503 has merged. with `FTAN`
landing in
[TargetLoweringBase.cpp:L1021](https://github.com/llvm/llvm-project/blob/main/llvm/lib/CodeGen/TargetLoweringBase.cpp#L1020C23-L1021C63
) There is now a llvm tan intrinsic 32\64\128 Expand case for all llvm
backends.
In LLVM, the `llvm.experimental.constrained.cos` and
`llvm.experimental.constrained.sin` intrinsics are used for performing
cosine and sine calculations with additional constraints on
floating-point operations. This behavior is expected for all
floating-point math intrinsics. This change adds these constraints for
the `tan` intrinsic.
- `Builtins.td` - replace TanF128 with F16F128MathTemplate
- `CGBuiltin.cpp` - map existing tan builtins to `tan` and
`constrained_tan` intrinsic
- `ConstrainedOps.def` map tan and constrained_tan to an ISDOpcode.
resolves #91421
---------
Co-authored-by: Farzon Lotfi <farzon at farzon.com>
Commit: c4f8ae6f32dadf9383c94ed13152d91f68631255
https://github.com/llvm/llvm-project/commit/c4f8ae6f32dadf9383c94ed13152d91f68631255
Author: Alexander Shaposhnikov <6532716+alexander-shaposhnikov at users.noreply.github.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/include/llvm/Bitcode/LLVMBitCodes.h
M llvm/include/llvm/IR/Attributes.td
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/Transforms/Utils/CodeExtractor.cpp
M llvm/test/Bitcode/compatibility.ll
Log Message:
-----------
[LLVM][IR][Sanitizers] Add sanitize_numerical_stability attribute (#95051)
Add sanitize_numerical_stability attribute.
Commit: abbb24b0f3e33387461eba717de2c7296b0a19a6
https://github.com/llvm/llvm-project/commit/abbb24b0f3e33387461eba717de2c7296b0a19a6
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCSection.h
Log Message:
-----------
MCSection: Remove unused reverse iterators
Commit: 5275aed4d0195e5db214e6638d29b0b702d16b3c
https://github.com/llvm/llvm-project/commit/5275aed4d0195e5db214e6638d29b0b702d16b3c
Author: Freddy Ye <freddy.ye at intel.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/include/llvm/TargetParser/X86TargetParser.def
M llvm/lib/TargetParser/X86TargetParser.cpp
Log Message:
-----------
Reland "[X86] Assign AVX10_1 feature priority to align with gcc. (#94557)" (#94734)
This reverts commit c007883f0286a314eb69976ad14da2bce988fb55.
Commit: 8e12f31be5a98a66700dd3571e4e12465f05ad61
https://github.com/llvm/llvm-project/commit/8e12f31be5a98a66700dd3571e4e12465f05ad61
Author: Fabian Mora <fmora.dev at gmail.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M mlir/include/mlir/Conversion/GPUCommon/GPUCommonPass.h
M mlir/include/mlir/Conversion/Passes.td
M mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp
M mlir/test/Conversion/GPUCommon/lower-launch-func-to-gpu-runtime-calls.mlir
Log Message:
-----------
[mlir][gpu] Update LaunchFuncOp lowering in GPU to LLVM (#94991)
This patch updates the lowering of `LaunchFuncOp` in GPU to LLVM to only
legalize the operation with the converted operands, effectively removing
the lowering used by the old serialization pipeline.
It also removes all remaining uses of the old gpu serialization
infrastructure in `gpu-to-llvm`.
See [Compilation overview | 'gpu' Dialect - MLIR
docs](https://mlir.llvm.org/docs/Dialects/GPU/#compilation-overview) for
additional information on the target attributes compilation pipeline
that replaced the old serialization pipeline.
Commit: cb63abca27e1813ae58ded466cd81ba3952ab888
https://github.com/llvm/llvm-project/commit/cb63abca27e1813ae58ded466cd81ba3952ab888
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCSection.h
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/MC/MCSection.cpp
M llvm/lib/MC/MachObjectWriter.cpp
M llvm/lib/MC/WasmObjectWriter.cpp
M llvm/lib/MC/WinCOFFObjectWriter.cpp
M llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
M llvm/tools/dsymutil/MachOUtils.cpp
Log Message:
-----------
[MC] Remove getFragmentList uses. NFC
Commit: 69e9e779b783bb34a3c1f73c93ca63ee6b89ab09
https://github.com/llvm/llvm-project/commit/69e9e779b783bb34a3c1f73c93ca63ee6b89ab09
Author: Pavel Samolysov <samolisov at gmail.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M clang/include/clang/Analysis/Analyses/ThreadSafetyCommon.h
M clang/include/clang/Lex/Preprocessor.h
M clang/include/clang/Sema/SemaObjC.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
M clang/lib/ARCMigrate/TransUnbridgedCasts.cpp
M clang/lib/AST/ASTImporter.cpp
M clang/lib/AST/DeclBase.cpp
M clang/lib/AST/Expr.cpp
M clang/lib/AST/ExprConstant.cpp
M clang/lib/AST/Mangle.cpp
M clang/lib/AST/MicrosoftMangle.cpp
M clang/lib/AST/ParentMap.cpp
M clang/lib/AST/StmtPrinter.cpp
M clang/lib/CodeGen/CGBlocks.cpp
M clang/lib/CodeGen/CGClass.cpp
M clang/lib/CodeGen/CGExprConstant.cpp
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/Index/IndexBody.cpp
M clang/lib/Lex/PPMacroExpansion.cpp
M clang/lib/Sema/AnalysisBasedWarnings.cpp
M clang/lib/Sema/SemaCXXScopeSpec.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaExprCXX.cpp
M clang/lib/Sema/SemaInit.cpp
M clang/lib/Sema/SemaStmt.cpp
M clang/lib/Sema/SemaTemplate.cpp
Log Message:
-----------
[clang] Replace X && isa<Y>(X) with isa_and_nonnull<Y>(X). NFC (#94987)
This addresses a clang-tidy suggestion.
Commit: 39cf8803391e695c7ec3a85fc1b2c4622f52b481
https://github.com/llvm/llvm-project/commit/39cf8803391e695c7ec3a85fc1b2c4622f52b481
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M libc/src/stdlib/freelist.h
Log Message:
-----------
[libc][stdlib] Change old unsigned short variables to size_t (#95065)
They were assigned from calls to find_chunk_ptr_for_size which return
size_t now.
Commit: 1934208132e3a084c5952656ae29816958b8207c
https://github.com/llvm/llvm-project/commit/1934208132e3a084c5952656ae29816958b8207c
Author: Jason Molenda <jmolenda at apple.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
A lldb/test/API/macosx/delay-init-dependency/Makefile
A lldb/test/API/macosx/delay-init-dependency/TestDelayInitDependency.py
A lldb/test/API/macosx/delay-init-dependency/foo.c
A lldb/test/API/macosx/delay-init-dependency/main.c
Log Message:
-----------
[lldb] NFC add comments and test case for ObjectFileMachO delay-init (#95067)
Add comments and a test for delay-init libraries on macOS. I originally
added the support in 954d00e87cdd77d0e9e367be52e62340467bd779 a month
ago, but without these additional clarifications.
rdar://126885033
Commit: 6ffdcfa7fcb32192104b9742b02489395c4c6ad8
https://github.com/llvm/llvm-project/commit/6ffdcfa7fcb32192104b9742b02489395c4c6ad8
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/Runtime/Reduction.h
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/Builder/Runtime/Reduction.cpp
M flang/test/Lower/Intrinsics/reduce.f90
Log Message:
-----------
[flang] Lower REDUCE intrinsic with DIM argument (#94771)
This is a follow up patch to #94652 and handles the lowering of the
reduce intrinsic with DIM argument and non scalar result.
Commit: 690480f5883a2fe9377fd0eeae21d0825e1b3661
https://github.com/llvm/llvm-project/commit/690480f5883a2fe9377fd0eeae21d0825e1b3661
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/AsmPrinter.h
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
A llvm/test/CodeGen/AArch64/ptrauth-reloc.ll
Log Message:
-----------
[PAC][AArch64] Lower ptrauth constants in data (#94240)
Lower global references to ptrauth constants into `@AUTH` `MCExpr`'s.
The logic is common for MachO and ELF - test both.
---------
Co-authored-by: Ahmed Bougacha <ahmed at bougacha.org>
Commit: 0bc33f41abf4174cb76b5099cffaf7820dec58e9
https://github.com/llvm/llvm-project/commit/0bc33f41abf4174cb76b5099cffaf7820dec58e9
Author: Mariusz Sikora <mariusz.sikora at amd.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.load-last-use.ll
M llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-lastuse.ll
M llvm/test/CodeGen/AMDGPU/memory-legalizer-global-lastuse.ll
M llvm/test/CodeGen/AMDGPU/memory-legalizer-private-lastuse.ll
Log Message:
-----------
[AMDGPU] Update tests for last-use in global/scratch/flat/buffer load… (#94975)
… instructions
Commit: 48f8130a49aad715ff6d5136dad2447d41e9537b
https://github.com/llvm/llvm-project/commit/48f8130a49aad715ff6d5136dad2447d41e9537b
Author: Alexander Shaposhnikov <6532716+alexander-shaposhnikov at users.noreply.github.com>
Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths:
M clang/include/clang/Basic/Features.def
M clang/include/clang/Basic/Sanitizers.def
M clang/include/clang/Driver/SanitizerArgs.h
M clang/lib/CodeGen/CGDeclCXX.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/Driver/SanitizerArgs.cpp
M clang/lib/Driver/ToolChains/Darwin.cpp
M clang/lib/Driver/ToolChains/Linux.cpp
A clang/test/CodeGen/sanitize-numerical-stability-attr.cpp
M clang/test/Driver/fsanitize.c
A clang/test/Lexer/has_feature_numerical_stability_sanitizer.cpp
Log Message:
-----------
[Clang][Sanitizers] Add numerical sanitizer (#93783)
Add plumbing for the numerical sanitizer on Clang's side.
Commit: 41c650e8208f7804eb5ecd8749d6b31b6e518bb7
https://github.com/llvm/llvm-project/commit/41c650e8208f7804eb5ecd8749d6b31b6e518bb7
Author: Martin Storsjö <martin at martin.st>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M clang/CMakeLists.txt
Log Message:
-----------
[clang] Don't use -Wno-nested-anon-types on GCC (#95029)
GCC usually doesn't warn about unrecognized -Wno-<foo> options, if no
diagnostics are printed. However if some diagnostics are printed, it
also mentions that there were unrecognized -Wno-<foo> options.
Before 4feae05c6abda364a9295aecfa600d7d4e7dfeb6, we checked for whether
-Wnested-anon-types was supported, and added the -Wno-<foo> form if the
positive form of the option was supported.
As of GCC 14, -Wnested-anon-types isn't supported, thus limit the use of
the option to actual Clang (and still only while using the GCC
compatible driver).
This avoids unnecessary mentions about unrecognized -Wno-<foo> options
when building with GCC.
Commit: 607afa0b6375e4837fef298a798f5534e783d777
https://github.com/llvm/llvm-project/commit/607afa0b6375e4837fef298a798f5534e783d777
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M clang/test/CodeGenCXX/attr-likelihood-if-vs-builtin-expect.cpp
M llvm/docs/BranchWeightMetadata.rst
M llvm/include/llvm/IR/MDBuilder.h
M llvm/include/llvm/IR/ProfDataUtils.h
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/IR/Instruction.cpp
M llvm/lib/IR/Instructions.cpp
M llvm/lib/IR/MDBuilder.cpp
M llvm/lib/IR/Metadata.cpp
M llvm/lib/IR/ProfDataUtils.cpp
M llvm/lib/IR/Verifier.cpp
M llvm/lib/Transforms/IPO/SampleProfile.cpp
M llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
M llvm/lib/Transforms/Scalar/JumpThreading.cpp
M llvm/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
M llvm/lib/Transforms/Utils/Local.cpp
M llvm/lib/Transforms/Utils/LoopPeel.cpp
M llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LowerExpectIntrinsic/basic.ll
M llvm/test/Transforms/LowerExpectIntrinsic/expect-with-probability.ll
M llvm/test/Transforms/LowerExpectIntrinsic/expect_nonboolean.ll
M llvm/test/Transforms/LowerExpectIntrinsic/phi_merge.ll
M llvm/test/Transforms/LowerExpectIntrinsic/phi_or.ll
M llvm/test/Transforms/LowerExpectIntrinsic/phi_tern.ll
M llvm/test/Transforms/LowerExpectIntrinsic/phi_unexpect.ll
M llvm/test/Transforms/PhaseOrdering/AArch64/hoist-runtime-checks.ll
Log Message:
-----------
Revert "[llvm][IR] Extend BranchWeightMetadata to track provenance of weights" (#95060)
Reverts llvm/llvm-project#86609
This change causes compile-time regressions for stage2 builds
(https://llvm-compile-time-tracker.com/compare.php?from=3254f31a66263ea9647c9547f1531c3123444fcd&to=c5978f1eb5eeca8610b9dfce1fcbf1f473911cd8&stat=instructions:u).
It also introduced unintended changes to `.text` which should be
addressed before relanding.
Commit: 1bebb99324a1cd85e18e1907c7afdde5d2bc4593
https://github.com/llvm/llvm-project/commit/1bebb99324a1cd85e18e1907c7afdde5d2bc4593
Author: Pengcheng Wang <wangpengcheng.pp at bytedance.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M clang/test/Driver/riscv-arch.c
M clang/test/Preprocessor/riscv-target-features.c
M llvm/docs/RISCVUsage.rst
M llvm/docs/ReleaseNotes.rst
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Add B extension (#76893)
It seems that we have `B` extension again:
https://github.com/riscv/riscv-b
According to the spec, `B` extension represents the collection of
the `Zba`, `Zbb`, `Zbs` extensions.
Though it hasn't been ratified, I set its version to `1.0`.
Commit: 34033dc1610982570328b39a38596a9968e3c7b2
https://github.com/llvm/llvm-project/commit/34033dc1610982570328b39a38596a9968e3c7b2
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M clang-tools-extra/clangd/index/remote/CMakeLists.txt
M clang-tools-extra/pseudo/lib/CMakeLists.txt
M clang-tools-extra/pseudo/lib/cxx/CMakeLists.txt
Log Message:
-----------
[clangd] Use clang_target_link_libraries() for clang libs (#94937)
Use clang_target_link_libraries() instead of LINK_LIBS when linking
clang libraries. This ensures that in CLANG_LINK_CLANG_DYLIB mode we
link against libclang-cpp.so (instead of linking against both it and the
static libraries).
Most places were already doing this correctly, there were just a handful
of leftovers.
Commit: bfa8150ef4748a364a496f8cdf285380ac3ec876
https://github.com/llvm/llvm-project/commit/bfa8150ef4748a364a496f8cdf285380ac3ec876
Author: Johannes Reifferscheid <jreiffers at google.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
Log Message:
-----------
Explain partial byte extraction logic. (#92868)
This is a follow-up to #92506.
Commit: 876c6204f12fa2738ff8ca886e664b826847d6d4
https://github.com/llvm/llvm-project/commit/876c6204f12fa2738ff8ca886e664b826847d6d4
Author: Pengcheng Wang <wangpengcheng.pp at bytedance.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
M llvm/test/MC/RISCV/rvv/vsetvl.s
Log Message:
-----------
[RISCV][MC] Warn if SEW/LMUL may not be compatible
According to RVV spec:
> In general, the requirement is to support LMUL ≥ SEWMIN/ELEN,
> where SEWMIN is the narrowest supported SEW value and ELEN is
> the widest supported SEW value.
>
> For a given supported fractional LMUL setting, implementations
> must support SEW settings between SEWMIN and LMUL * ELEN, inclusive.
We print a warning if these requirements are not met.
Reviewers: kito-cheng, asb, frasercrmck, jrtc27, michaelmaitland, lukel97
Reviewed By: lukel97
Pull Request: https://github.com/llvm/llvm-project/pull/94313
Commit: 282534268e3be0949fcac1589b1004bc5672b434
https://github.com/llvm/llvm-project/commit/282534268e3be0949fcac1589b1004bc5672b434
Author: martinboehme <mboehme at google.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
[clang][dataflow] Handle `AtomicExpr` in `ResultObjectVisitor`. (#94963)
This is one of the node kinds that should be considered an "original
initializer". The patch adds a test that was causing an assertion
failure in
`assert(Children.size() == 1)` without the fix.
Commit: 05e87a583ce2680fc7309491c8bc23fd0e3bd049
https://github.com/llvm/llvm-project/commit/05e87a583ce2680fc7309491c8bc23fd0e3bd049
Author: aengelke <engelke at in.tum.de>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCContext.h
M llvm/lib/MC/MCContext.cpp
Log Message:
-----------
Reland "[MC][NFC] Make ELFUniquingMap a StringMap (#95006)" (#95030)
This avoids std::map, which is slow, and uses a StringMap. Section name,
group name, linked-to name and unique id are encoded into the key for
fast lookup.
This gives a measurable performance boost for applications that compile
many small object files (e.g., functions in JIT compilers).
---
Now also the second case works properly. That's what happens when you do
that last refactoring without re-running all tests... sorry.
Commit: 275196d866c86d95fc46b3324876ccbea09da79b
https://github.com/llvm/llvm-project/commit/275196d866c86d95fc46b3324876ccbea09da79b
Author: martinboehme <mboehme at google.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M clang/docs/tools/clang-formatted-files.txt
M clang/lib/Analysis/FlowSensitive/ASTOps.cpp
A clang/unittests/Analysis/FlowSensitive/ASTOpsTest.cpp
M clang/unittests/Analysis/FlowSensitive/CMakeLists.txt
M llvm/utils/gn/secondary/clang/unittests/Analysis/FlowSensitive/BUILD.gn
Log Message:
-----------
[clang][nullability] Don't return null fields from `getReferencedDecls()`. (#94983)
The patch includes a repro for a case where we were returning a null
`FieldDecl`
when calling `getReferencedDecls()` on the `InitListExpr` for a union.
Also, I noticed while working on this that `RecordInitListHelper` has a
bug
where it doesn't work correctly for empty unions. This patch also
includes a
repro and fix for this bug.
Commit: e9a362362e03c6aea7a64473e8b8bb9140fd3855
https://github.com/llvm/llvm-project/commit/e9a362362e03c6aea7a64473e8b8bb9140fd3855
Author: Vikash Gupta <35700483+vg0204 at users.noreply.github.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/StackSlotColoring.cpp
Log Message:
-----------
[CodeGen] Preserved additional analyses in StackSlotColoring pass. (#93779)
The pass pipeline of some architecture splits register allocation phase
based on different register classes. As some analyses need to be
computed at the beginning of the register allocation and kept alive till
all values are assigned to some physical registers.
This poses challenge with objective of introducing StackSlotColoring
after partial virtual registers are assigned to physical registers, in
order to optimize stack slots usage.As this pass doesn't preserve few
analysis yet to be needed by the register allocation of the remaining
virtual registers, necessiating them to be kept preserved.
Commit: 4cff320e0d4574d5084ad751f9ee3ca22c08afa1
https://github.com/llvm/llvm-project/commit/4cff320e0d4574d5084ad751f9ee3ca22c08afa1
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/Runtime/Inquiry.h
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/Builder/Runtime/Inquiry.cpp
M flang/test/Lower/HLFIR/assumed-rank-inquiries-3.f90
Log Message:
-----------
[flang] lower LBOUND for assumed-rank arrays (#94995)
Commit: b64cf381a7cf3d04c1f9297862bc6b1f3b6da4cf
https://github.com/llvm/llvm-project/commit/b64cf381a7cf3d04c1f9297862bc6b1f3b6da4cf
Author: Abid Qadeer <haqadeer at amd.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
A flang/include/flang/Optimizer/CodeGen/DescriptorModel.h
R flang/lib/Optimizer/CodeGen/DescriptorModel.h
M flang/lib/Optimizer/CodeGen/TypeConverter.cpp
M flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
M flang/lib/Optimizer/Transforms/DebugTypeGenerator.h
A flang/test/Integration/debug-assumed-shape-array.f90
M flang/test/Transforms/debug-90683.fir
A flang/test/Transforms/debug-assumed-shape-array.fir
M flang/test/Transforms/debug-complex-1.fir
M flang/test/Transforms/debug-fixed-array-type.fir
M flang/test/Transforms/debug-line-table-existing.fir
M flang/test/Transforms/debug-line-table-inc-file.fir
M flang/test/Transforms/debug-line-table-inc-same-file.fir
M flang/test/Transforms/debug-line-table.fir
M flang/test/Transforms/debug-module-1.fir
Log Message:
-----------
[flang][debug] Support assumed shape arrays. (#94644)
This PR generates dwarf to extract the information about the arrays from
descriptor. The DWARF needs the offset of the fields like `lower_bound`
and `extent`. The getComponentOffset has been added to calculate
them which pushes the issue of host and target data size into
getDescFieldTypeModel.
As we use data layout now, some tests needed to be adjusted to have a
dummy data layout to avoid failure.
With this change in place, GDB is able show the assumed shape arrays
correctly.
subroutine ff(n, m, arr)
integer n, m
integer :: arr(:, :)
print *, arr
do i = 1, n
do j = 1, m
arr(j, i) = (i * 5) + j + 10
end do
end do
print *, arr
end subroutine ff
Breakpoint 1, ff (n=4, m=3, arr=...) at test1.f90:13
13 print *, arr
(gdb) p arr
$1 = ((6, 7, 8, 9) (11, 12, 13, 14) (16, 17, 18, 19))
(gdb) ptype arr
type = integer (4,3)
(gdb) c
Continuing.
6 7 8 9 11 12 13 14 16 17 18 19
Commit: baad1b85b93c0b5ce0341668259ae21911bed8b1
https://github.com/llvm/llvm-project/commit/baad1b85b93c0b5ce0341668259ae21911bed8b1
Author: Shivam Gupta <shivam98.tkg at gmail.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M lldb/unittests/UnwindAssembly/x86/Testx86AssemblyInspectionEngine.cpp
Log Message:
-----------
[lldb] Add a test for lea_rsp_pattern_p to x86 unwinder (NFC) (#94852)
This commit adds a test for lea_rsp_pattern_p which was previously due
as FIXME.
Commit: bd9a525efdab2a83cb24773d95ce8c4a2e9cce68
https://github.com/llvm/llvm-project/commit/bd9a525efdab2a83cb24773d95ce8c4a2e9cce68
Author: Mikael Holmen <mikael.holmen at ericsson.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
Log Message:
-----------
[AArch64] Fix gcc "enumeral and non-enumeral type" warning
Without this gcc (9.3.0) warns with
../lib/Target/AArch64/GISel/AArch64CallLowering.cpp: In function 'unsigned int getCallOpcode(const llvm::MachineFunction&, bool, bool, std::optional<llvm::CallLowering::PtrAuthInfo>&, llvm::MachineRegisterInfo&)':
../lib/Target/AArch64/GISel/AArch64CallLowering.cpp:1025: warning: enumeral and non-enumeral type in conditional expression [-Wextra]
1025 | return IsIndirect ? getBLRCallOpcode(CallerF) : AArch64::BL;
|
Commit: b1fe03f0840a2c488b1f07a669bfea3cc986ce3b
https://github.com/llvm/llvm-project/commit/b1fe03f0840a2c488b1f07a669bfea3cc986ce3b
Author: Durgadoss R <durgadossr at nvidia.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M clang/lib/AST/MicrosoftMangle.cpp
M llvm/include/llvm/ADT/APFloat.h
M llvm/lib/Support/APFloat.cpp
M llvm/unittests/ADT/APFloatTest.cpp
Log Message:
-----------
[APFloat] Add APFloat support for FP6 data types (#94735)
This patch adds APFloat type support for two FP6 data types,
E2M3 and E3M2. The definitions for the two formats are detailed
in section 5.3.2 of the OCP specification, which can be accessed here:
https://www.opencompute.org/documents/ocp-microscaling-formats-mx-v1-0-spec-final-pdf
Signed-off-by: Durgadoss R <durgadossr at nvidia.com>
Commit: c63a622ba7547812939e2fd3dbfbe50e6cda2a42
https://github.com/llvm/llvm-project/commit/c63a622ba7547812939e2fd3dbfbe50e6cda2a42
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
M llvm/test/CodeGen/AArch64/arm64-redzone.ll
Log Message:
-----------
[AArch64] Disable red-zone when lowering Q-reg copy through memory. (#94962)
This was pointed out in PR #93940.
Commit: affd73aadb9611b8a10c8cced63ad4ae1a0a9161
https://github.com/llvm/llvm-project/commit/affd73aadb9611b8a10c8cced63ad4ae1a0a9161
Author: Arjun P <arjunpitchanathan at gmail.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/MathExtras.h
Log Message:
-----------
MathExtras: MulOverflow: use builtin when available (NFC) (#95046)
This matches the other two functions AddOverflow and SubOverflow.
Commit: 79ce70b8033815b6abd3a9a5cc2335de70f1aaab
https://github.com/llvm/llvm-project/commit/79ce70b8033815b6abd3a9a5cc2335de70f1aaab
Author: Braden Helmer <bradenhelmeraus at gmail.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h
M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
M llvm/lib/CodeGen/RegAllocGreedy.h
M llvm/lib/ObjCopy/ELF/ELFObject.h
Log Message:
-----------
[NFC] Mitigate pointless copies (#95052)
Fixes #95036 #95033 #94933 #94930
Commit: 35ddc17f36282f24324275e0691fb57e270f113d
https://github.com/llvm/llvm-project/commit/35ddc17f36282f24324275e0691fb57e270f113d
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/test/Analysis/StackSafetyAnalysis/ipa-alias.ll
M llvm/test/Analysis/StackSafetyAnalysis/ipa.ll
Log Message:
-----------
[StackSafety] Make lit tests compatible with lit's internal shell. NFC. (#94971)
Use DEFINE: %{res} = ... instead of $(cat ...). Rewrite one use of a
subshell to write to a temporary file instead.
Commit: 529b43c1fd435e1544bbd581fcf7191c3edfa20e
https://github.com/llvm/llvm-project/commit/529b43c1fd435e1544bbd581fcf7191c3edfa20e
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-11 (Tue, 11 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] Refine diagnostics for casts from void*
This is still not perfect, but an improvement in general.
Commit: ec81c9b1dd856dbe77b042e7d293e437b587d914
https://github.com/llvm/llvm-project/commit/ec81c9b1dd856dbe77b042e7d293e437b587d914
Author: Pavel Samolysov <samolisov at gmail.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M clang/lib/AST/Mangle.cpp
Log Message:
-----------
[clang] Remove a redundant check in Mangle. NFC (#95071)
This addresses a review comment for PR #94987 Because that PR is a big
automatic change, this change was moved in a separate one.
Commit: 995ba4afcd0d913bca5e082afe90be78b2882f79
https://github.com/llvm/llvm-project/commit/995ba4afcd0d913bca5e082afe90be78b2882f79
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/X86/abs-sizelatency.ll
M llvm/test/CodeGen/X86/abs.ll
Log Message:
-----------
[CostModel][X86] Adjust ABS scalar SizeLatency cost to 3uops
This was previously set to 4uops which was including the cost of extra register moves in the original test code.
Commit: e5bdb7af86c2947ab138049f0aafd7de9381b944
https://github.com/llvm/llvm-project/commit/e5bdb7af86c2947ab138049f0aafd7de9381b944
Author: c8ef <c8ef at outlook.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
A llvm/test/Transforms/InstCombine/ldexp-ext.ll
R llvm/test/Transforms/InstCombine/ldexp-zext.ll
Log Message:
-----------
[InstCombine] fold ldexp(x, sext(i1 y)) to fmul x, (select y, 0.5, 1.0) (#95073)
Follow up of #94887.
Context:
https://github.com/llvm/llvm-project/pull/94887#pullrequestreview-2106213891
Commit: 9dfd0760cb8b4f7fdb32008ade70c605e844051e
https://github.com/llvm/llvm-project/commit/9dfd0760cb8b4f7fdb32008ade70c605e844051e
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/docs/TestingGuide.rst
Log Message:
-----------
[test] Fix documentation of %{fs-sep} et al (#95088)
Commit: 2ca8c856eeae739ec1e7242ee7e69f99ecf376d3
https://github.com/llvm/llvm-project/commit/2ca8c856eeae739ec1e7242ee7e69f99ecf376d3
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/is_fpclass.ll
Log Message:
-----------
[X86] is_fpclass.ll - add NDD test coverage
Commit: 214ff5036cb407222e6ff34ef2c1eeef55c70b4a
https://github.com/llvm/llvm-project/commit/214ff5036cb407222e6ff34ef2c1eeef55c70b4a
Author: aengelke <engelke at in.tum.de>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86MachineFunctionInfo.cpp
M llvm/lib/Target/X86/X86MachineFunctionInfo.h
M llvm/lib/Target/X86/X86TargetMachine.cpp
M llvm/lib/Target/X86/X86TargetMachine.h
M llvm/test/CodeGen/X86/AMX/amx-fastconfig-phi.mir
M llvm/test/CodeGen/X86/AMX/amx-fastconfig-phi2.mir
M llvm/test/CodeGen/X86/AMX/amx-fastconfig-phi4.mir
M llvm/test/CodeGen/X86/AMX/amx-fastconfig-spill.mir
M llvm/test/CodeGen/X86/AMX/amx-fastconfig.mir
M llvm/test/CodeGen/X86/AMX/amx-fastpreconfig.mir
Log Message:
-----------
[X86] Add AMXProgModel to YAML serialization (#94988)
This allows tested passes to depend on the AMX model in the function
info. Preparatory work for to adopt #94358 for other AMX passes.
Commit: fc6e97cf2f28a9c7a73b97488ec6b90fc0d34a4a
https://github.com/llvm/llvm-project/commit/fc6e97cf2f28a9c7a73b97488ec6b90fc0d34a4a
Author: aengelke <engelke at in.tum.de>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
Log Message:
-----------
[MC][X86] Avoid copying MCInst in emitInstrEnd (#94947)
Copying an MCInst isn't cheap (copies all operands) and the whole
instruction is only used for the Intel erratum mitigation, which is off
by default. In all other cases, the opcode alone suffices.
This slightly pessimizes code that uses moves to segment registers --
but that's uncommon and not performance-sensitive anyway.
As a related change, also call canPadInst() only when the result is
actually used, which is typically only the case in emitInstrEnd.
This gives a minor performance improvement.
Commit: 2dc2290860355dd2bac3b655eea895fe30fde257
https://github.com/llvm/llvm-project/commit/2dc2290860355dd2bac3b655eea895fe30fde257
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M clang/test/CodeGen/instrument-objc-method.m
M flang/test/Transforms/debug-local-var-2.f90
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm/AsmParser/LLParser.h
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/IR/DebugProgramInstruction.cpp
M llvm/lib/IR/Function.cpp
M llvm/lib/IR/Module.cpp
M llvm/tools/llvm-as/llvm-as.cpp
M llvm/tools/llvm-dis/llvm-dis.cpp
M llvm/tools/llvm-link/llvm-link.cpp
M llvm/unittests/Analysis/IRSimilarityIdentifierTest.cpp
M llvm/unittests/IR/BasicBlockDbgInfoTest.cpp
M llvm/unittests/IR/DebugInfoTest.cpp
M llvm/unittests/IR/IRBuilderTest.cpp
M llvm/unittests/IR/InstructionsTest.cpp
M llvm/unittests/IR/ValueTest.cpp
M llvm/unittests/Transforms/Utils/CloningTest.cpp
M llvm/unittests/Transforms/Utils/LocalTest.cpp
Log Message:
-----------
Revert new debug info format commits:
"[Flang] Update test to not check for tail calls on debug intrinsics" &
"Reapply#3 "[RemoveDIs] Load into new debug info format by default in LLVM (#89799)"
Recent updates to flang have added debug info generation via MLIR, a path
which currently does not support debug records. The patch that enables
debug records by default (and a small followup patch) are thus being
reverted until the MLIR path has been fixed.
This reverts commits:
21396be865b4640abf6afa0b05de6708a1a996e0
c5aeca732d1ff6769b0659efebd1cfb5f60487e4
Commit: 424188abe4956d51c852668d206dfc9919290fbf
https://github.com/llvm/llvm-project/commit/424188abe4956d51c852668d206dfc9919290fbf
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M clang/test/AST/Interp/cxx23.cpp
A clang/test/AST/Interp/cxx26.cpp
Log Message:
-----------
[clang][Interp][test] Add test for void* diagnostics changes
Commit: 00262ab7e3b409ab59d6c6c2c6462215a1f27c5f
https://github.com/llvm/llvm-project/commit/00262ab7e3b409ab59d6c6c2c6462215a1f27c5f
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] Pull out repeated SDLoc in various ADD/SUB/XOR folds. NFC.
Commit: 264bcbe1c8b3e885d896f0181d1ed54a7a4467bd
https://github.com/llvm/llvm-project/commit/264bcbe1c8b3e885d896f0181d1ed54a7a4467bd
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/icmp-of-or-x.ll
Log Message:
-----------
[InstCombine] Add #38139 test coverage
Commit: efbd64cbd90f4cc4eb5b1166eb9840af3ec1bba8
https://github.com/llvm/llvm-project/commit/efbd64cbd90f4cc4eb5b1166eb9840af3ec1bba8
Author: donald chen <chenxunyu1993 at gmail.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
M mlir/test/Dialect/Linalg/transform-tile-reduction.mlir
Log Message:
-----------
[mlir][arith] Delete unnecessary error logs (#94970)
Function `getNeutralElement` already indicates "cannot find neutral
element" by returning nullptr through the return value, and no
additional error log needs to be output.
Commit: 9b225d01f8edf08153aa704f534a5a6676384fc2
https://github.com/llvm/llvm-project/commit/9b225d01f8edf08153aa704f534a5a6676384fc2
Author: Johannes Reifferscheid <jreiffers at google.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M mlir/lib/Conversion/ComplexToStandard/ComplexToStandard.cpp
M mlir/test/Conversion/ComplexToStandard/convert-to-standard.mlir
Log Message:
-----------
Fix complex abs with nnan/ninf. (#95080)
The current logic tests for inf/inf and 0/0 inputs using a NaN check.
This doesn't work with all fastmath flags. With nnan and ninf, we can
just check for a 0 maximum. With only nnan, we have to check for both
cases separately.
Commit: fa9745e8d39498a7090b108dd2717ca0466189e3
https://github.com/llvm/llvm-project/commit/fa9745e8d39498a7090b108dd2717ca0466189e3
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Opcodes.td
Log Message:
-----------
[clang][Interp][NFC] Remove unneeded opcode initializers
Commit: 3f883111243c4abfc06670190771b9cafc092bd8
https://github.com/llvm/llvm-project/commit/3f883111243c4abfc06670190771b9cafc092bd8
Author: Paul T Robinson <paul.robinson at sony.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
A clang/test/Driver/apple-os-triples.c
R clang/test/Driver/appletvos-version-min.c
R clang/test/Driver/driverkit-version-min.c
R clang/test/Driver/ios-version-min.c
R clang/test/Driver/watchos-version-min.c
A llvm/test/CodeGen/ARM/apple-version-min.ll
A llvm/test/CodeGen/X86/apple-version-min.ll
Log Message:
-----------
[Driver] Rearrange some Apple version testing (#94514)
There were four tests in Driver that actually tested bits of Driver and
bits of CodeGen, and therefore had target restrictions. Rework those
four tests into one Driver test (with no target restrictions) and two
target-specific CodeGen tests.
Commit: a141a28c0cf415d8ca410a636c3aacf3d683ab38
https://github.com/llvm/llvm-project/commit/a141a28c0cf415d8ca410a636c3aacf3d683ab38
Author: Nathan Gauër <brioche at google.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVMergeRegionExitTargets.cpp
M llvm/test/CodeGen/SPIRV/structurizer/merge-exit-break.ll
M llvm/test/CodeGen/SPIRV/structurizer/merge-exit-convergence-in-break.ll
M llvm/test/CodeGen/SPIRV/structurizer/merge-exit-multiple-break.ll
Log Message:
-----------
[SPIR-V] Fix flakiness during switch generation. (#95001)
The case-list of the switches generated by this pass were not
"deterministic" (based on allocation patterns).
This is because the CaseList order relied on an unordered_set order.
Using the sorted exit target list for those should solve the problem.
Fixes #94961
Signed-off-by: Nathan Gauër <brioche at google.com>
Commit: ca920bb6285e9995f5a202d040af79363e98ab28
https://github.com/llvm/llvm-project/commit/ca920bb6285e9995f5a202d040af79363e98ab28
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M flang/lib/Frontend/FrontendActions.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
Log Message:
-----------
[MLIR][Flang][DebugInfo] Set debug info format in MLIR->IR translation (#95098)
MLIR's LLVM dialect does not internally support debug records, only
converting to/from debug intrinsics. To smooth the transition from
intrinsics to records, there is a step prior to IR->MLIR translation
that switches the IR module to intrinsic-form; this patch adds the
equivalent conversion to record-form at MLIR->IR translation, and also
modifies the flang front end to use the WriteNewDbgInfoFormat flag when
it is emitting LLVM IR.
Commit: 546c816a529835a4cf89deecff957ea336a94fa2
https://github.com/llvm/llvm-project/commit/546c816a529835a4cf89deecff957ea336a94fa2
Author: Donát Nagy <donat.nagy at ericsson.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.h
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/bugprone/sizeof-expression.rst
M clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression-2.c
A clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression-any-pointer.cpp
M clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression.cpp
Log Message:
-----------
[clang-tidy] Improve sizeof(pointer) handling in bugprone-sizeof-expression (#94356)
This commit reimplements the functionality of the Clang Static Analyzer
checker `alpha.core.SizeofPointer` within clang-tidy by adding a new
(off-by-default) option to bugprone-sizeof-expression which activates
reporting all the `sizeof(ptr)` expressions (where ptr is an expression
that produces a pointer).
The main motivation for this change is that `alpha.core.SizeofPointer`
was an AST-based checker, which did not rely on the path sensitive
capabilities of the Static Analyzer, so there was no reason to keep it
in the Static Analyzer instead of the more lightweight clang-tidy.
After this commit I'm planning to create a separate commit that deletes
`alpha.core.SizeofPointer` from Clang Static Analyzer.
It was natural to place this moved logic in bugprone-sizeof-expression,
because that check already provided several heuristics that reported
various especially suspicious classes of `sizeof(ptr)` expressions.
The new mode `WarnOnSizeOfPointer` is off-by-default, so it won't
surprise the existing users; but it can provide a more through coverage
for the vulnerability CWE-467 ("Use of sizeof() on a Pointer Type") than
the existing partial heuristics.
Previously this checker had an exception that the RHS of a
`sizeof(array) / sizeof(array[0])` expression is not reported; I
generalized this to an exception that the check doesn't report
`sizeof(expr[0])` and `sizeof(*expr)`. This idea is taken from the
Static Analyzer checker `alpha.core.SizeofPointer` (which had an
exception for `*expr`), but analysis of open source projects confirmed
that this indeed eliminates lots of unwanted results.
Note that the suppression of `sizeof(expr[0])` and `sizeof(*expr)`
reports also affects the "old" mode `WarnOnSizeOfPointerToAggregate`
which is enabled by default.
This commit also replaces the old message "suspicious usage of
'sizeof(A*)'; pointer to aggregate" with two more concrete messages; but
I feel that this tidy check would deserve a through cleanup of all the
diagnostic messages that it can produce. (I added a FIXME to mark one
outright misleading message.)
Commit: d4b8b7217f31827f8536c9340b55ecb21e540621
https://github.com/llvm/llvm-project/commit/d4b8b7217f31827f8536c9340b55ecb21e540621
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/MachineLICM.cpp
M llvm/test/CodeGen/AMDGPU/indirect-call.ll
Log Message:
-----------
[CodeGen][MachineLICM] Use RegUnits in HoistRegionPostRA (#94608)
Those BitVectors get expensive on targets like AMDGPU with thousands of
registers, and RegAliasIterator is also expensive.
We can move all liveness calculations to use RegUnits instead to speed
it up for targets where RegAliasIterator is expensive, like AMDGPU.
On targets where RegAliasIterator is cheap, this alternative can be a little more expensive, but I believe the tradeoff is worth it.
Commit: ffc3a6b286ee619ab8f662cb7174705734eb1ce1
https://github.com/llvm/llvm-project/commit/ffc3a6b286ee619ab8f662cb7174705734eb1ce1
Author: Zibi Sarbinowski <zibi at ca.ibm.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M libcxx/include/__algorithm/simd_utils.h
Log Message:
-----------
[libc++] Fix endianness for algorithm mismatch (#93082)
This PR is required to fix
`std/algorithms/alg.nonmodifying/mismatch/mismatch.pass.cpp` test for
big endian platrofrms such as z/OS.
Commit: 8c5d9c79b96ed8297b381e00d3a706a432cd6c9d
https://github.com/llvm/llvm-project/commit/8c5d9c79b96ed8297b381e00d3a706a432cd6c9d
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M flang/lib/Frontend/FrontendActions.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
Log Message:
-----------
Revert "[MLIR][Flang][DebugInfo] Set debug info format in MLIR->IR translation (#95098)"
Reverted due to failure on buildbot due to missing use of the
WriteNewDbgInfoFormat flag in MLIR.
This reverts commit ca920bb6285e9995f5a202d040af79363e98ab28.
Commit: a45080f09181517c9c5eb5099a6b6ac67a48424a
https://github.com/llvm/llvm-project/commit/a45080f09181517c9c5eb5099a6b6ac67a48424a
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/docs/AMDGPUUsage.rst
Log Message:
-----------
[AMDGPU] Document amdgpu-as in AMDGPUUsage (#94335)
Add a section about fence & address spaces that covers amdgpu-as.
Commit: a2bc50aa8b7192986802e9568a1ed71a894e16e2
https://github.com/llvm/llvm-project/commit/a2bc50aa8b7192986802e9568a1ed71a894e16e2
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/GlobalISel/fp-atomics-gfx940.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-atomicrmw.ll
M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.v2f16.ll
A llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fadd.ll
M llvm/test/CodeGen/AMDGPU/fp-atomics-gfx940.ll
M llvm/test/CodeGen/AMDGPU/global-atomics-fp.ll
M llvm/test/CodeGen/AMDGPU/local-atomics-fp.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll
Log Message:
-----------
AMDGPU: Add more tests for vector typed atomicrmw fadd
Some cases should be legal for gfx940.
Commit: 460408f78b30720950040e336f7b566aa7203269
https://github.com/llvm/llvm-project/commit/460408f78b30720950040e336f7b566aa7203269
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M flang/lib/Frontend/FrontendActions.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
Log Message:
-----------
Reapply "[MLIR][Flang][DebugInfo] Set debug info format in MLIR->IR translation (#95098)"
Reapplies the original patch with some additional conversion layers added
to the MLIR translator, to ensure that we don't write the new debug info
format unless WriteNewDbgInfoFormat is set.
This reverts commit 8c5d9c79b96ed8297b381e00d3a706a432cd6c9d.
Commit: 3cc2710e0dd53bb82742904fa13014018a1137ed
https://github.com/llvm/llvm-project/commit/3cc2710e0dd53bb82742904fa13014018a1137ed
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M flang/lib/Frontend/FrontendActions.cpp
M mlir/lib/Target/LLVMIR/ConvertToLLVMIR.cpp
M mlir/test/lib/Dialect/Test/TestToLLVMIRTranslation.cpp
Log Message:
-----------
[MLIR][Flang][DebugInfo] Convert debug format in MLIR translators
Following from the previous commit, this patch converts to the
appropriate debug info format before printing LLVM IR.
See: https://github.com/llvm/llvm-project/pull/95098
Commit: d4c6478cf2c0a8e2bebc66eb7eff4d0f11626d9a
https://github.com/llvm/llvm-project/commit/d4c6478cf2c0a8e2bebc66eb7eff4d0f11626d9a
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir
Log Message:
-----------
[mlir][vector] Update tests for collapse 1/n (nfc) (#94490)
The main goal of this PR (and subsequent PRs), is to add more tests with
scalable vectors to:
* vector-transfer-collapse-inner-most-dims.mlir
There's quite a few cases to consider, hence this is split into multiple
PRs. In this PR, the very first test is complemented with all the
possible combinations:
* scalable (rather than fixed) unit trailing dim,
* dynamic (rather than static) trailing dim in the source memref.
Also,
* `@leading_scalable_dimension_transfer_read` and
`@trailing_scalable_one_dim_transfer_read`,
are replaced with:
* `@contiguous_inner_most_scalable_inner_dim` and
`@negative_scalable_unit_dim`,
respectively, and added to the list above (i.e. alongside other
variations for the very first test).
In addition:
* "_view" is removed from function names (it's not clear to me what it
was meant to signify)
* extra comments are added to separate tests for vector.transfer_read
and vector.transfer_write
NOTE: This PR is limited to tests for `vector.transfer_read`.
Commit: 1bae10879d9183c5edfb709c36b55086ebc772f0
https://github.com/llvm/llvm-project/commit/1bae10879d9183c5edfb709c36b55086ebc772f0
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/include-cleaner/lib/LocateSymbol.cpp
M clang-tools-extra/include-cleaner/unittests/FindHeadersTest.cpp
M clang-tools-extra/test/clang-tidy/checkers/misc/include-cleaner.cpp
Log Message:
-----------
[clang-tidy] fix false positives for the functions with the same name as standard library functions in misc-include-cleaner (#94923)
Fixes: #93335
For decl with body, we should provide physical locations also. Because
it may be the function which have the same name as std library.
Commit: da5f45f5937d3cde4ff76aeeb208e72ee504baaf
https://github.com/llvm/llvm-project/commit/da5f45f5937d3cde4ff76aeeb208e72ee504baaf
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/test/Transforms/InstCombine/getelementptr.ll
Log Message:
-----------
[ConstantFolding] Preserve nowrap flags in gep of gep fold
A caveat here is that we can only preserve nusw if the offset
additions did not overflow.
Proofs: https://alive2.llvm.org/ce/z/u56z_u
Commit: 32add2435f9781418aa8ba8c90f9b7f0d2ac2f28
https://github.com/llvm/llvm-project/commit/32add2435f9781418aa8ba8c90f9b7f0d2ac2f28
Author: Paul T Robinson <paul.robinson at sony.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/test/CodeGen/ARM/apple-version-min.ll
Log Message:
-----------
Fix test to have correct requirements (#95106)
Commit: e805b77107c8a26ad129fb2a46cdec01c90628be
https://github.com/llvm/llvm-project/commit/e805b77107c8a26ad129fb2a46cdec01c90628be
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/test/CodeGenObjC/encode-test-3.m
Log Message:
-----------
[clang][Interp] Support ObjCEncodeExprs
Commit: 400d4fd7b6dea9c7cdd255bb804fcd0ee77f6d42
https://github.com/llvm/llvm-project/commit/400d4fd7b6dea9c7cdd255bb804fcd0ee77f6d42
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/docs/AssignmentTracking.md
M llvm/docs/HowToUpdateDebugInfo.rst
M llvm/docs/InstrRefDebugInfo.md
M llvm/docs/LangRef.rst
M llvm/docs/MIRLangRef.rst
M llvm/docs/Passes.rst
M llvm/docs/ReleaseNotes.rst
M llvm/docs/SourceLevelDebugging.rst
M llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl09.rst
Log Message:
-----------
[RemoveDIs] Update all docs to use debug records (#91768)
As we approach the state where support for debug intrinsics is dropping and
we print and use debug records by default, the documentation should be updated
to refer to debug records as the primary debug info representation, with
debug intrinsics being relegated to an optional alternative.
This patch performs a few updates:
- Replace references to intrinsics with references to records across all
the documentation.
- Replace intrinsics with records in code examples.
- Move debug records prior to debug intrinsics in the
SourceLevelDebugging document, and change text to refer to them as the
primary representation.
- Add release notes describing the change.
Commit: 2b15fb16cee05e6fe56edc6bc24d4d31df48a115
https://github.com/llvm/llvm-project/commit/2b15fb16cee05e6fe56edc6bc24d4d31df48a115
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/tools/gold/gold-plugin.cpp
Log Message:
-----------
[gold] Don't pass StringRef to message() (#95083)
This is a printf style variadic function. If using a "%s" format, we
should pass "const char *" rather than "StringRef".
The use of data() here is safe because we know that the StringRef was
originally derived from a null-terminated string.
Commit: 837dc542b1519df343e5a8f7b2718483530a4193
https://github.com/llvm/llvm-project/commit/837dc542b1519df343e5a8f7b2718483530a4193
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachineDominators.h
M llvm/include/llvm/CodeGen/MachineUniformityAnalysis.h
M llvm/include/llvm/InitializePasses.h
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/CodeGen/CodeGen.cpp
M llvm/lib/CodeGen/EarlyIfConversion.cpp
M llvm/lib/CodeGen/InlineSpiller.cpp
M llvm/lib/CodeGen/LazyMachineBlockFrequencyInfo.cpp
M llvm/lib/CodeGen/LiveDebugVariables.cpp
M llvm/lib/CodeGen/LiveIntervals.cpp
M llvm/lib/CodeGen/MIRSampleProfile.cpp
M llvm/lib/CodeGen/MachineBasicBlock.cpp
M llvm/lib/CodeGen/MachineCSE.cpp
M llvm/lib/CodeGen/MachineCombiner.cpp
M llvm/lib/CodeGen/MachineDominanceFrontier.cpp
M llvm/lib/CodeGen/MachineDominators.cpp
M llvm/lib/CodeGen/MachineLICM.cpp
M llvm/lib/CodeGen/MachineLoopInfo.cpp
M llvm/lib/CodeGen/MachinePipeliner.cpp
M llvm/lib/CodeGen/MachineRegionInfo.cpp
M llvm/lib/CodeGen/MachineScheduler.cpp
M llvm/lib/CodeGen/MachineSink.cpp
M llvm/lib/CodeGen/MachineUniformityAnalysis.cpp
M llvm/lib/CodeGen/MachineVerifier.cpp
M llvm/lib/CodeGen/PHIElimination.cpp
M llvm/lib/CodeGen/PeepholeOptimizer.cpp
M llvm/lib/CodeGen/PostRASchedulerList.cpp
M llvm/lib/CodeGen/PrologEpilogInserter.cpp
M llvm/lib/CodeGen/RegAllocBasic.cpp
M llvm/lib/CodeGen/RegAllocGreedy.cpp
M llvm/lib/CodeGen/RegAllocPBQP.cpp
M llvm/lib/CodeGen/ShrinkWrap.cpp
M llvm/lib/CodeGen/UnreachableBlockElim.cpp
M llvm/lib/CodeGen/XRayInstrumentation.cpp
M llvm/lib/Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp
M llvm/lib/Target/AArch64/AArch64ConditionOptimizer.cpp
M llvm/lib/Target/AArch64/AArch64ConditionalCompares.cpp
M llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp
M llvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp
M llvm/lib/Target/AMDGPU/AMDGPUGlobalISelDivergenceLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
M llvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp
M llvm/lib/Target/AMDGPU/AMDGPURegBankCombiner.cpp
M llvm/lib/Target/AMDGPU/AMDGPURegBankSelect.cpp
M llvm/lib/Target/AMDGPU/R600MachineCFGStructurizer.cpp
M llvm/lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp
M llvm/lib/Target/AMDGPU/R600Packetizer.cpp
M llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
M llvm/lib/Target/AMDGPU/SILateBranchLowering.cpp
M llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
M llvm/lib/Target/AMDGPU/SILowerI1Copies.cpp
M llvm/lib/Target/AMDGPU/SIOptimizeVGPRLiveRange.cpp
M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
M llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
M llvm/lib/Target/ARC/ARCBranchFinalize.cpp
M llvm/lib/Target/ARC/ARCOptAddrMode.cpp
M llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
M llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
M llvm/lib/Target/ARM/MVETPAndVPTOptimisationsPass.cpp
M llvm/lib/Target/CSKY/CSKYConstantIslandPass.cpp
M llvm/lib/Target/Hexagon/HexagonBitSimplify.cpp
M llvm/lib/Target/Hexagon/HexagonConstExtenders.cpp
M llvm/lib/Target/Hexagon/HexagonCopyHoisting.cpp
M llvm/lib/Target/Hexagon/HexagonEarlyIfConv.cpp
M llvm/lib/Target/Hexagon/HexagonExpandCondsets.cpp
M llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
M llvm/lib/Target/Hexagon/HexagonGenInsert.cpp
M llvm/lib/Target/Hexagon/HexagonGenMemAbsolute.cpp
M llvm/lib/Target/Hexagon/HexagonGenPredicate.cpp
M llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp
M llvm/lib/Target/Hexagon/HexagonOptAddrMode.cpp
M llvm/lib/Target/Hexagon/HexagonRDFOpt.cpp
M llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
M llvm/lib/Target/Mips/MipsOptimizePICCall.cpp
M llvm/lib/Target/Mips/MipsPostLegalizerCombiner.cpp
M llvm/lib/Target/PowerPC/PPCBranchCoalescing.cpp
M llvm/lib/Target/PowerPC/PPCCTRLoopsVerify.cpp
M llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
M llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp
M llvm/lib/Target/PowerPC/PPCVSXFMAMutate.cpp
M llvm/lib/Target/RISCV/GISel/RISCVPostLegalizerCombiner.cpp
M llvm/lib/Target/RISCV/GISel/RISCVPreLegalizerCombiner.cpp
M llvm/lib/Target/SystemZ/SystemZLDCleanup.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyCFGSort.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyMemIntrinsicResults.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
M llvm/lib/Target/X86/X86FlagsCopyLowering.cpp
M llvm/lib/Target/X86/X86InstrInfo.cpp
M llvm/lib/Target/X86/X86LoadValueInjectionLoadHardening.cpp
M llvm/tools/llvm-reduce/deltas/ReduceInstructionsMIR.cpp
M llvm/unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp
Log Message:
-----------
[CodeGen][NewPM] Split `MachineDominatorTree` into a concrete analysis result (#94571)
Prepare for new pass manager version of `MachineDominatorTreeAnalysis`.
We may need a machine dominator tree version of `DomTreeUpdater` to
handle `SplitCriticalEdge` in some CodeGen passes.
Commit: a7d28f5a4d41a176a62bddf04be6478550f98df2
https://github.com/llvm/llvm-project/commit/a7d28f5a4d41a176a62bddf04be6478550f98df2
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/early-ifcvt-remarks.ll
Log Message:
-----------
[X86] early-ifcvt-remarks.ll - add codegen checks
Commit: bc5ced54cc8d16332eacfc5f842aea3212e8ab5e
https://github.com/llvm/llvm-project/commit/bc5ced54cc8d16332eacfc5f842aea3212e8ab5e
Author: Sergei Lebedev <185856+superbobry at users.noreply.github.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M mlir/python/mlir/_mlir_libs/_mlir/ir.pyi
Log Message:
-----------
Updated the annotations of Python bindings (#92733)
Commit: 37e9bf9d151ec088685eb7f08c5124981eb5a82d
https://github.com/llvm/llvm-project/commit/37e9bf9d151ec088685eb7f08c5124981eb5a82d
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
Log Message:
-----------
[bazel] Add missing dependency for 3cc2710e0dd53bb82742904fa13014018a1137ed
Commit: 2eb60e2de812187839954d2ce35e1479817631db
https://github.com/llvm/llvm-project/commit/2eb60e2de812187839954d2ce35e1479817631db
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M offload/include/Shared/APITypes.h
Log Message:
-----------
[Offload][NFCI] Initialize the KernelArgsTy to default values (#95117)
Co-authored-by: Joseph Huber <huberjn at outlook.com>
Commit: d83f37f039dbd96918feb94c441882f71d772e55
https://github.com/llvm/llvm-project/commit/d83f37f039dbd96918feb94c441882f71d772e55
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M flang/lib/Frontend/FrontendActions.cpp
M mlir/lib/Target/LLVMIR/ConvertToLLVMIR.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
M mlir/test/lib/Dialect/Test/TestToLLVMIRTranslation.cpp
Log Message:
-----------
Revert#2 "[MLIR][Flang][DebugInfo] Set debug info format in MLIR->IR translation (#95098)"
Also reverts "[MLIR][Flang][DebugInfo] Convert debug format in MLIR translators"
The patch above introduces behaviour controlled by an LLVM flag into the
Flang driver, which is incorrect behaviour.
This reverts commits:
3cc2710e0dd53bb82742904fa13014018a1137ed.
460408f78b30720950040e336f7b566aa7203269.
Commit: c0e1ad779f8b7b0073b89ecdd44c3b9c4a72e494
https://github.com/llvm/llvm-project/commit/c0e1ad779f8b7b0073b89ecdd44c3b9c4a72e494
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
A lldb/test/Shell/SymbolFile/DWARF/x86/debug-names-signature.s
A lldb/test/Shell/SymbolFile/DWARF/x86/debug-names-static-constexpr-member.s
Log Message:
-----------
[lldb] Skip declaration DIEs in the debug_names index (#94744)
This makes sure we try to process declaration DIEs that are erroneously
present in the index. Until bd5c6367bd7, clang was emitting index
entries for declaration DIEs with DW_AT_signature attributes. This makes
sure to avoid returning those DIEs as the definitions of a type, but
also makes sure to pass through DIEs referring to static constexpr
member variables, which is a (probably nonconforming) extension used by
dsymutil.
It adds test cases for both of the scenarios. It is essentially a
recommit of #91808.
Commit: 1df37980c296ab33e96038c1daa06d580ae8b925
https://github.com/llvm/llvm-project/commit/1df37980c296ab33e96038c1daa06d580ae8b925
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/early-ifcvt-remarks.ll
Log Message:
-----------
[X86] early-ifcvt-remarks.ll - use i64 arithmetic to ensure ifcvt doesn't drop below threshold
Upcoming SimplifyDemandedBits support for CMOV will simplify the code and reduce the critical path below the threshold if we stick with i32 multiplies
Commit: 464eb648fa33c46f51f7c3d1f4ab3eef7ec12750
https://github.com/llvm/llvm-project/commit/464eb648fa33c46f51f7c3d1f4ab3eef7ec12750
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/widen-load-of-small-alloca.ll
Log Message:
-----------
[X86] SimplifyDemandedBitsForTargetNode - add basic X86ISD::CMOV handling
Add basic pass through handling - we could extend this to truncate CMOVQ to CMOVL in a future patch
Commit: be6248a42a39bb21e54764c48ddc3804b9b93ae5
https://github.com/llvm/llvm-project/commit/be6248a42a39bb21e54764c48ddc3804b9b93ae5
Author: Dmitry Chernenkov <dmitryc at google.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel
Log Message:
-----------
[Bazel] Layering fix for 65310f34d7edf7924ca4cbe7df836770669f70dc
Commit: d58637219463924185614f18911c5f01a1c20aa9
https://github.com/llvm/llvm-project/commit/d58637219463924185614f18911c5f01a1c20aa9
Author: Max191 <44243577+Max191 at users.noreply.github.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h
M mlir/include/mlir/Dialect/Bufferization/TransformOps/BufferizationTransformOps.td
M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.td
M mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp
M mlir/lib/Dialect/Bufferization/Transforms/OneShotAnalysis.cpp
M mlir/test/Dialect/SCF/one-shot-bufferize-analysis.mlir
Log Message:
-----------
[mlir] Add bufferization option for parallel region check (#94645)
Handling parallel region RaW conflicts should usually be the
responsibility of the source program, rather than bufferization
analysis. However, to preserve current functionality, checks on parallel
regions is put behind a bufferization in this PR, which is on by
default. Default functionality will not change, but this PR enables the
option to leave parallelism checks out of the bufferization analysis.
Commit: 38ccee00346300c87abc34860398bc950c65eaec
https://github.com/llvm/llvm-project/commit/38ccee00346300c87abc34860398bc950c65eaec
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp
M llvm/test/CodeGen/WebAssembly/libcalls.ll
Log Message:
-----------
[WASM] Fix for wasi libc build break add tan to RuntimeLibcallSignatureTable (#95082)
The wasm backend fetches the tan runtime lib call in
`llvm/include/llvm/IR/RuntimeLibcalls.def` via `StaticLibcallNameMap()`,
but ignores the runtime function because a function sinature mapping is
not specified in RuntimeLibcallSignatureTable(). The fix is to specify
the function signatures for float32-128.
This is a fix for a build break reported on PR
https://github.com/llvm/llvm-project/pull/94559#issuecomment-2159923215.
Commit: 18cf1cd92b554ba0b870c6a2223ea4d0d3c6dd21
https://github.com/llvm/llvm-project/commit/18cf1cd92b554ba0b870c6a2223ea4d0d3c6dd21
Author: Jacques Pienaar <jpienaar at google.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M mlir/include/mlir-c/Bindings/Python/Interop.h
A mlir/include/mlir-c/Rewrite.h
M mlir/include/mlir/Bindings/Python/PybindAdaptors.h
M mlir/lib/Bindings/Python/IRModule.h
M mlir/lib/Bindings/Python/MainModule.cpp
A mlir/lib/Bindings/Python/Rewrite.cpp
A mlir/lib/Bindings/Python/Rewrite.h
M mlir/lib/CAPI/Transforms/CMakeLists.txt
A mlir/lib/CAPI/Transforms/Rewrite.cpp
M mlir/python/CMakeLists.txt
M mlir/python/mlir/dialects/pdl.py
A mlir/python/mlir/rewrite.py
A mlir/test/python/integration/dialects/pdl.py
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/python/BUILD.bazel
Log Message:
-----------
[mlir] Add PDL C & Python usage (#94714)
Following a rather direct approach to expose PDL usage from C and then
Python. This doesn't yes plumb through adding support for custom
matchers through this interface, so constrained to basics initially.
This also exposes greedy rewrite driver. Only way currently to define
patterns is via PDL (just to keep small). The creation of the PDL
pattern module could be improved to avoid folks potentially accessing
the module used to construct it post construction. No ergonomic work
done yet.
---------
Signed-off-by: Jacques Pienaar <jpienaar at google.com>
Commit: b746babb22bdcd945b7665d63472c9d8695893d0
https://github.com/llvm/llvm-project/commit/b746babb22bdcd945b7665d63472c9d8695893d0
Author: Hans Wennborg <hans at chromium.org>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/test/tools/llvm-rc/windres-prefix.test
Log Message:
-----------
Restore 'REQUIRES: shell' for another test after 878deae
Otherwise this would fail when using gnuwin32.
Commit: f5dcfb9968a3d4945b5fa7d142044c29c9a9f175
https://github.com/llvm/llvm-project/commit/f5dcfb9968a3d4945b5fa7d142044c29c9a9f175
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-11 (Tue, 11 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/BasicOperations.h
M libc/src/math/CMakeLists.txt
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/totalorderf16.cpp
A libc/src/math/generic/totalordermagf16.cpp
A libc/src/math/totalorderf16.h
A libc/src/math/totalordermagf16.h
M libc/test/UnitTest/FPMatcher.h
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/TotalOrderMagTest.h
A libc/test/src/math/smoke/TotalOrderTest.h
A libc/test/src/math/smoke/totalorderf16_test.cpp
A libc/test/src/math/smoke/totalordermagf16_test.cpp
Log Message:
-----------
[libc][math][c23] Add {totalorder,totalordermag}f16 C23 math functions (#95014)
Part of #93566.
Commit: 3f3e85cd234c1a57021b6622590f75d42054ef12
https://github.com/llvm/llvm-project/commit/3f3e85cd234c1a57021b6622590f75d42054ef12
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/2008-06-16-SubregsBug.ll
M llvm/test/CodeGen/X86/abs.ll
M llvm/test/CodeGen/X86/combine-sdiv.ll
M llvm/test/CodeGen/X86/is_fpclass.ll
M llvm/test/CodeGen/X86/lsr-overflow.ll
M llvm/test/CodeGen/X86/shrink-compare-pgso.ll
M llvm/test/CodeGen/X86/shrink-compare.ll
Log Message:
-----------
[X86] ICMP EQ/NE MIN_SIGNED_INT - avoid immediate argument by using NEG + SETO/SETNO (#94948)
For i64 this avoids loading a 64-bit value into register, for smaller registers this just avoids an immediate operand.
For i8+i16, limit to one use case as we save fewer bytes and these can be wasted entirely on extra register moves.
Fixes #67709
Commit: 00c5474918dac1a382c63628ed0844a354a0761f
https://github.com/llvm/llvm-project/commit/00c5474918dac1a382c63628ed0844a354a0761f
Author: Florian Mayer <fmayer at google.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.local_time.pass.cpp
Log Message:
-----------
[HWASan] make get_info.local_time.pass.cpp UNSUPPORTED
Commit: 4cf607fa15fd9ccd79115095a1eb02e0cd83e1a9
https://github.com/llvm/llvm-project/commit/4cf607fa15fd9ccd79115095a1eb02e0cd83e1a9
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/SemaCXX/ms-const-member-expr.cpp
Log Message:
-----------
[clang][Interp] Fix visiting non-FieldDecl MemberExprs
Ignore the base and visit the Member decl like a regular DeclRefExpr.
Commit: de19f7b6d46f1c38e10e604154f0fdaaffde9ebd
https://github.com/llvm/llvm-project/commit/de19f7b6d46f1c38e10e604154f0fdaaffde9ebd
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCFragment.h
M llvm/include/llvm/MC/MCObjectStreamer.h
M llvm/include/llvm/MC/MCSection.h
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCExpr.cpp
M llvm/lib/MC/MCFragment.cpp
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/MC/MCSection.cpp
M llvm/lib/MC/WasmObjectWriter.cpp
M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
Log Message:
-----------
[MC] Replace fragment ilist with singly-linked lists
Fragments are allocated with `operator new` and stored in an ilist with
Prev/Next/Parent pointers. A more efficient representation would be an
array of fragments without the overhead of Prev/Next pointers.
As the first step, replace ilist with singly-linked lists.
* `getPrevNode` uses have been eliminated by previous changes.
* The last use of the `Prev` pointer remains: for each subsection, there is an insertion point and
the current insertion point is stored at `CurInsertionPoint`.
* `HexagonAsmBackend::finishLayout` needs a backward iterator. Save all
fragments within `Frags`. Hexagon programs are usually small, and the
performance does not matter that much.
To eliminate `Prev`, change the subsection representation to
singly-linked lists for subsections and a pointer to the active
singly-linked list. The fragments from all subsections will be chained
together at layout time.
Since fragment lists are disconnected before layout time, we can remove
`MCFragment::SubsectionNumber` (https://reviews.llvm.org/D69411). The
current implementation of `AttemptToFoldSymbolOffsetDifference` requires
future improvement for robustness.
Pull Request: https://github.com/llvm/llvm-project/pull/95077
Commit: 2e007b89c65eeb33baf1b40103284d8937700cf0
https://github.com/llvm/llvm-project/commit/2e007b89c65eeb33baf1b40103284d8937700cf0
Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M lldb/test/API/commands/process/attach/attach_denied/TestAttachDenied.py
Log Message:
-----------
[lldb] Skip TestAttachDenied under asan
Like many other tests, this one times out when run under the address sanitizer.
To reduce noise, this commit skips it in those builds.
Commit: 5ccdce95b4842a472ee466e4ad1bdfa4e9eb31dc
https://github.com/llvm/llvm-project/commit/5ccdce95b4842a472ee466e4ad1bdfa4e9eb31dc
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/test/DebugInfo/symbolize-gnu-debuglink-fallback.test
M llvm/test/tools/llvm-cov/gcov/basic.test
M llvm/test/tools/llvm-rc/windres-preproc.test
Log Message:
-----------
[test] Skip some tests on Windows only (#95095)
These tests pass on Linux using lit's internal shell.
Commit: a03e93e1b2172791085f3f8c293b8e5d6ed8d841
https://github.com/llvm/llvm-project/commit/a03e93e1b2172791085f3f8c293b8e5d6ed8d841
Author: David Parks <code.optimizer at gmail.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/include/flang/Optimizer/Builder/Runtime/Numeric.h
M flang/include/flang/Runtime/numeric.h
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/Builder/Runtime/Numeric.cpp
M flang/runtime/numeric-templates.h
M flang/runtime/numeric.cpp
A flang/test/Lower/Intrinsics/erfc_scaled.f90
M flang/unittests/Runtime/Numeric.cpp
Log Message:
-----------
[flang] Add runtime support for Fortran intrinsic ERFC_SCALED (#95040)
Co-authored-by: David Parks <dparks at nvidia.com>
Commit: 71497cc7a4695d22fc5dfd64958744816c15a19e
https://github.com/llvm/llvm-project/commit/71497cc7a4695d22fc5dfd64958744816c15a19e
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/CGSCCPassManager.h
M llvm/include/llvm/Analysis/LazyCallGraph.h
M llvm/lib/Analysis/CGSCCPassManager.cpp
M llvm/lib/Analysis/LazyCallGraph.cpp
M llvm/lib/Transforms/IPO/Inliner.cpp
M llvm/lib/Transforms/Utils/CallGraphUpdater.cpp
M llvm/test/Other/cgscc-refscc-mutation-order.ll
M llvm/test/Other/devirt-invalidated.ll
M llvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead.ll
M llvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead_2.ll
M llvm/test/Transforms/Inline/cgscc-cycle-debug.ll
M llvm/unittests/Analysis/CGSCCPassManagerTest.cpp
M llvm/unittests/Analysis/LazyCallGraphTest.cpp
Log Message:
-----------
[CGSCC] Fix compile time blowup with large RefSCCs (#94815)
In some modules, e.g. Kotlin-generated IR, we end up with a huge RefSCC
and the call graph updates done as a result of the inliner take a long
time. This is due to RefSCC::removeInternalRefEdges() getting called
many times, each time removing one function from the RefSCC, but each
call to removeInternalRefEdges() is proportional to the size of the
RefSCC.
There are two places that call removeInternalRefEdges(), in
updateCGAndAnalysisManagerForPass() and
LazyCallGraph::removeDeadFunction().
1) Since LazyCallGraph can deal with spurious (edges that exist in the
graph but not in the IR) ref edges, we can simply not call
removeInternalRefEdges() in updateCGAndAnalysisManagerForPass().
2) LazyCallGraph::removeDeadFunction() still ends up taking the brunt of
compile time with the above change for the original reason. So instead
we batch all the dead function removals so we can call
removeInternalRefEdges() just once. This requires some changes to
callers of removeDeadFunction() to not actually erase the function from
the module, but defer it to when we batch delete dead functions at the
end of the CGSCC run, leaving the function body as "unreachable" in the
meantime. We still need to ensure that call edges are accurate. I had
also tried deleting dead functions after visiting a RefSCC, but deleting
them all at once at the end was simpler.
Many test changes are due to not performing unnecessary revisits of an
SCC (the CGSCC infrastructure deems ref edge refinements as unimportant
when it comes to revisiting SCCs, although that seems to not be
consistently true given these changes) because we don't remove some ref
edges. Specifically for devirt-invalidated.ll this seems to expose an
inlining order issue with the inliner. Probably unimportant for this
type of intentionally weird call graph.
Compile time:
https://llvm-compile-time-tracker.com/compare.php?from=6f2c61071c274a1b5e212e6ad4114641ec7c7fc3&to=b08c90d05e290dd065755ea776ceaf1420680224&stat=instructions:u
Commit: 41f81ad73583bfff7c7dc1caeacbbb783d004e9c
https://github.com/llvm/llvm-project/commit/41f81ad73583bfff7c7dc1caeacbbb783d004e9c
Author: Tomas Matheson <Tomas.Matheson at arm.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/utils/TableGen/SubtargetEmitter.cpp
Log Message:
-----------
[Tablegen][NFC] Add a check for duplicate features (#94223)
We hit this downstream and the only evidence of the mistake was that the
results of `Find` on `SubtargetFeatureKV` were corrupted.
Commit: 27f3ac5929badc84a339248c9281997b87bb963e
https://github.com/llvm/llvm-project/commit/27f3ac5929badc84a339248c9281997b87bb963e
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/test/Lower/Intrinsics/reduce.f90
Log Message:
-----------
[flang] Fix character scalar result for REDUCE intrinsic call (#95076)
The character reduce runtime functions expect a pointer to a scalar
character of the correct length for the result of character reduce. A
descriptor was passed so far. Fix the lowering so a proper temporary is
created and passed to the runtime.
Commit: 1c59362e4456fb0861fcf4be9831b4db3e921b2b
https://github.com/llvm/llvm-project/commit/1c59362e4456fb0861fcf4be9831b4db3e921b2b
Author: geza-herman <geza.herman at gmail.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M clang-tools-extra/clangd/TidyProvider.cpp
Log Message:
-----------
[clangd] Make it possible to enable misc-const-correctness clang-tidy check (#94920)
Before this PR, clangd forcefully disabled misc-const-correctness in
disableUnusableChecks().
Now we have a FastCheckFilter configuration whose default value
(Strict) also disables it. This patch removes misc-const-correctness
from disableUnusableChecks() so it's possible to enable by setting
FastCheckFilter to None.
Fixes https://github.com/llvm/llvm-project/issues/89758
Commit: 727ecbeee3638d3736cd6345a1f102f8d2c6ce0d
https://github.com/llvm/llvm-project/commit/727ecbeee3638d3736cd6345a1f102f8d2c6ce0d
Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M bolt/include/bolt/Rewrite/DWARFRewriter.h
M bolt/lib/Rewrite/DWARFRewriter.cpp
Log Message:
-----------
[BOLT][DWARF][NFC] Remove old GDB Index functions (#95019)
Remove old usages of GDB Index functions after replacing them with new
ones.
Commit: 56f668c12b1a26e103aafe5ac37930b1895c938b
https://github.com/llvm/llvm-project/commit/56f668c12b1a26e103aafe5ac37930b1895c938b
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
Log Message:
-----------
[lldb/DWARF] Remove some dead code (#95127)
`GetDeclContextDIEs` and `DIEDeclContextsMatch` are unused (possibly
since we added support for simplified template names, but I haven't
checked). `GetDeclContextDIEs` is also very similar (but subtly
different) from `GetDeclContext` and `GetTypeLookupContext`.
I am keeping `GetParentDeclContextDIE` as that one still has some
callers, but I want to look into the possibility of merging it with at
least one of the functions mentioned above.
Commit: 540893e43fb7a5e08deec0d951fd3c1d957f8f89
https://github.com/llvm/llvm-project/commit/540893e43fb7a5e08deec0d951fd3c1d957f8f89
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M bolt/lib/Rewrite/LinuxKernelRewriter.cpp
M bolt/test/X86/linux-alt-instruction.s
Log Message:
-----------
[BOLT] Add auto parsing for Linux kernel .altinstructions (#95068)
.altinstructions section contains a list of structures where fields can
have different sizes while other fields could be present or not
depending on the kernel version. Add automatic detection of such
variations and use it by default. The user can still overwrite the
automatic detection with `--alt-inst-has-padlen` and
`--alt-inst-feature-size` options.
Commit: 9b4f8acf9dd1cd517f923c6de8274eed80879f6c
https://github.com/llvm/llvm-project/commit/9b4f8acf9dd1cd517f923c6de8274eed80879f6c
Author: Nico Weber <thakis at chromium.org>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaDecl.cpp
Log Message:
-----------
[clang] Fix a few comment typos to cycle bots
Commit: ca6386073308d3c41647d8fc3e2cf72a77d46c76
https://github.com/llvm/llvm-project/commit/ca6386073308d3c41647d8fc3e2cf72a77d46c76
Author: Michal Paszkowski <michal at paszkowski.org>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVISelLowering.h
A llvm/test/CodeGen/SPIRV/optimizations/switch-condition-type.ll
Log Message:
-----------
[SPIR-V] Don't change switch condition type in CodeGen opts (#94959)
This change makes sure the preferred switch condition int type size
remains the same throughout CodeGen optimizations.
The change fixes running several OpenCL applications with -O2 or higher
opt levels, and fixes Basic/stream/stream_max_stmt_exceed.cpp DPC++ E2E
test with -O2.
Commit: a13bc9714a6bfb766693aa7900217f6f9be6f25d
https://github.com/llvm/llvm-project/commit/a13bc9714a6bfb766693aa7900217f6f9be6f25d
Author: Paschalis Mpeis <paschalis.mpeis at arm.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M bolt/include/bolt/Core/MCPlusBuilder.h
M bolt/lib/Passes/PLTCall.cpp
M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
A bolt/test/AArch64/plt-call.test
A bolt/test/Inputs/plt-tailcall.c
A bolt/test/X86/plt-call.test
Log Message:
-----------
[BOLT][AArch64] Implement PLTCall optimization (#93584)
`convertCallToIndirectCall` applies the PLTCall optimization and returns
an (updated if needed) iterator to the converted call instruction. Since
AArch64 requires to inject additional instructions to implement this
pass, the relevant BasicBlock and an iterator was passed to the
`convertCallToIndirectCall`.
`NumCallsOptimized` is updated only on successful application of the
pass.
Tests:
- Inputs/plt-tailcall.c: an example of a tail call optimized PLT call.
- AArch64/plt-call.test: it is the actual A64 test, that runs the
PLTCall optimization on the above input file and verifies the
application of the pass to the calls: 'printf' and 'puts'.
Commit: 18a8983c36171659cc84f109c2f3c38e6d10d1a3
https://github.com/llvm/llvm-project/commit/18a8983c36171659cc84f109c2f3c38e6d10d1a3
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/LoopAccessAnalysis.h
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
Log Message:
-----------
LAA: refactor analyzeLoop to return bool (NFC) (#93824)
Avoid wastefully setting CanVecMem in several places in analyzeLoop,
complicating the logic, to get the function to return a bool, and set
CanVecMem in the caller.
Commit: 3af35251c8cd0729674076ab99c64cff6126c270
https://github.com/llvm/llvm-project/commit/3af35251c8cd0729674076ab99c64cff6126c270
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProf.h
Log Message:
-----------
[ProfileData] Simplify InstrProfValueSiteRecord (NFC) (#95143)
std::list default-constructs itself as an empty list, so we don't need
to call ValueData.clear() in the constructor.
Commit: c6d85baf9f12f69915559aff5ed6c48b63daafdd
https://github.com/llvm/llvm-project/commit/c6d85baf9f12f69915559aff5ed6c48b63daafdd
Author: Peiming Liu <peiming at google.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.h
M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
M mlir/lib/Dialect/SparseTensor/Transforms/CMakeLists.txt
A mlir/lib/Dialect/SparseTensor/Transforms/SparseSpaceCollapse.cpp
A mlir/test/Dialect/SparseTensor/sparse_space_collapse.mlir
Log Message:
-----------
[mlir][sparse] implement sparse space collapse pass. (#89003)
Commit: 65614605dd99af80cc2218b8a43b0b0f6aebe11a
https://github.com/llvm/llvm-project/commit/65614605dd99af80cc2218b8a43b0b0f6aebe11a
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVDuplicatesTracker.h
Log Message:
-----------
[SPIR-V] Ensure that DuplicatesTracker is working with TypedPointers pointee types (#94952)
This PR is a tweak to ensure that DuplicatesTracker is working with
TypedPointers pointee types rather than with original llvm's untyped
pointers. This enforces DuplicatesTracker promise to avoid emission of
several identical OpTypePointer instructions.
Commit: 57520985e09f3c098a5f5a6f72e3107a8a1d5446
https://github.com/llvm/llvm-project/commit/57520985e09f3c098a5f5a6f72e3107a8a1d5446
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-11 (Tue, 11 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/SPIRVISelLowering.cpp
A llvm/test/CodeGen/SPIRV/transcoding/OpGenericCastToPtr.ll
Log Message:
-----------
[SPIR-V] Implement insertion of OpGenericCastToPtr using builtin functions (#95055)
This PR implements insertion of OpGenericCastToPtr using builtin
functions (both opencl `to_global|local|private` and `__spirv_`
wrappers), and improves type inference.
Commit: 6afbda7130c343be34b2f3c765b9c4c1b251b671
https://github.com/llvm/llvm-project/commit/6afbda7130c343be34b2f3c765b9c4c1b251b671
Author: Daniel Bertalan <dani at danielbertalan.dev>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M lld/MachO/UnwindInfoSection.cpp
M lld/test/MachO/compact-unwind-both-local-and-dylib-personality.s
M lld/test/MachO/compact-unwind.s
Log Message:
-----------
[lld-macho] Fix duplicate GOT entries for personality functions (#95054)
As stated in `UnwindInfoSectionImpl::prepareRelocations`'s comments, the
unwind info uses section+addend relocations for personality functions
defined in the same file as the function itself. As personality
functions are always accessed via the GOT, we need to resolve those to a
symbol. Previously, we did this by keeping a map which resolves these to
symbols, creating a synthetic symbol if we didn't find it in the map.
This approach has an issue: if we process the object file containing the
personality function before any external uses, the entry in the map
remains unpopulated, so we create a synthetic symbol and a corresponding
GOT entry. If we encounter a relocation to it in a later file which
requires GOT (such as in `__eh_frame`), we add that symbol to the GOT,
too, effectively creating two entries which point to the same piece of
code.
This commit fixes that by searching the personality function's section
for a symbol at that offset which already has a GOT entry, and only
creating a synthetic symbol if there is none. As all non-unwind sections
are already processed by this point, it ensures no duplication.
This should only really affect our tests (and make them clearer), as
personality functions are usually defined in platform runtime libraries.
Or even if they are local, they are likely not in the first object file
to be linked.
Commit: 163d036d64609bf59183664aec244da5078dc1f1
https://github.com/llvm/llvm-project/commit/163d036d64609bf59183664aec244da5078dc1f1
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
A llvm/test/CodeGen/SPIRV/trunc-nonstd-bitwidth.ll
Log Message:
-----------
[SPIR-V] Validate and fix bit width of scalar registers (#95147)
This PR improves legalization process of SPIR-V instructions. Namely, it
introduces validation and fixing of bit width of scalar registers as a
part of pre-legalizer. A test case is added that demonstrates ability to
legalize instructions with non 8/16/32/64 bit width both with and
without vendor-specific SPIR-V extension
(SPV_INTEL_arbitrary_precision_integers). In the case of absence of the
extension, a generated SPIR-V code will fallback to 8/16/32/64 bit width
in OpTypeInt, but SPIR-V Backend still is able to legalize operations
with original integer sizes.
Commit: 982b4b6f4d5ddf04ed5e85aea7074c9b26f29673
https://github.com/llvm/llvm-project/commit/982b4b6f4d5ddf04ed5e85aea7074c9b26f29673
Author: Dave Lee <davelee.com at gmail.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M lldb/source/Commands/CommandObjectThread.cpp
Log Message:
-----------
[lldb] Fix declaration of thread argument in CommandObjectThreadStepWithTypeAndScope (#95146)
`thread step-in` (and other step commands) take a `<thread-index>`, not a `<thread-id>`.
Commit: 16f2aa1a2ddfcb99e34da5af9d75eaeeb97bb9ce
https://github.com/llvm/llvm-project/commit/16f2aa1a2ddfcb99e34da5af9d75eaeeb97bb9ce
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M libcxx/include/__memory/shared_ptr.h
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter_allocator.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_allocator.pass.cpp
Log Message:
-----------
[libc++] Tweak how we check constraints on shared_ptr(nullptr_t) (#94996)
This avoids breaking code that should arguably be valid but technically
isn't after enforcing the constraints on shared_ptr's constructors. A
new LWG issue was filed to fix this in the Standard.
This patch applies the expected resolution of this issue to avoid
flip-flopping users whose code should always be considered valid.
See #93071 for more context.
Commit: f638f7b6a7c22bc802bb9620acfa10a00d4217cf
https://github.com/llvm/llvm-project/commit/f638f7b6a7c22bc802bb9620acfa10a00d4217cf
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M libcxx/docs/Status/Cxx2cIssues.csv
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
Log Message:
-----------
[libc++] Update with LWG issue number for shared-ptr constructor
Commit: 6faae130e4ea34f8b092fdfcd866fbb5861bfc49
https://github.com/llvm/llvm-project/commit/6faae130e4ea34f8b092fdfcd866fbb5861bfc49
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M libcxx/include/string
Log Message:
-----------
[libc++] Simplify the definition of string::operator== (#95000)
Instead of hardcoding a loop for small strings, always call
char_traits::compare which ends up desugaring to __builtin_memcmp.
Note that the original code dates back 11 years, when we didn't lower to
intrinsics in `char_traits::compare`.
Fixes #94222
Commit: cce1feb7b1caf6bd5fab311a787481a3f6a9dcdf
https://github.com/llvm/llvm-project/commit/cce1feb7b1caf6bd5fab311a787481a3f6a9dcdf
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M libcxx/include/string
Log Message:
-----------
[libc++][NFC] Remove some dead code in string (#94893)
It looks like the last references got removed in c747bd0e2339.
It removed a __zero() function, which was probably created at
some point in the ancient past to optimize copying the string
representation. The __zero() function got simplified to an
assignment as part of making string constexpr, rendering this
code unnecessary.
Commit: a118f5f398bf099ec76ebf889234ebbc58b28f0c
https://github.com/llvm/llvm-project/commit/a118f5f398bf099ec76ebf889234ebbc58b28f0c
Author: Greg Clayton <gclayton at fb.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
A lldb/test/API/functionalities/type_types/Makefile
A lldb/test/API/functionalities/type_types/TestFindTypes.py
A lldb/test/API/functionalities/type_types/main.cpp
M lldb/unittests/SymbolFile/DWARF/DWARFDIETest.cpp
Log Message:
-----------
Fix type lookup bug where wrong decl context was being used for a DIE. (#94846)
The function that calculated the declaration context for a DIE was incorrectly transparently traversing acrosss DW_TAG_subprogram dies when climbing the parent DIE chain. This meant that types defined in functions would appear to have the declaration context of anything above the function. I fixed the GetTypeLookupContextImpl(...) function in DWARFDIE.cpp to not transparently skip over functions, lexical blocks and inlined functions and compile and type units. Added a test to verify things are working.
Commit: c6ee5628a75feeb4fccc8272a68eb8303fb1734b
https://github.com/llvm/llvm-project/commit/c6ee5628a75feeb4fccc8272a68eb8303fb1734b
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M clang/test/CodeGenHLSL/convergence/for.hlsl
M clang/test/SemaHLSL/standard_conversion_sequences.hlsl
Log Message:
-----------
[HLSL] Fix FileCheck annotation typos (#95155)
These are the HLSL specific fixes from #93193. Thanks klensy!
Commit: 438a7d4c982e0a38aaa6544a5ba6736d54600733
https://github.com/llvm/llvm-project/commit/438a7d4c982e0a38aaa6544a5ba6736d54600733
Author: Aart Bik <ajcbik at google.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
M mlir/lib/Dialect/SparseTensor/Transforms/SparsificationAndBufferizationPass.cpp
A mlir/test/Dialect/SparseTensor/minipipeline_vector.mlir
Log Message:
-----------
[mlir][sparse] expose optimization flags to mini pipeline (#95158)
Some of the options only fed into the full sparse pipeline. However,
some backends prefer to use the sparse minipipeline. This change exposes
some important optimization flags to the pass as well. This prepares
some SIMDization of PyTorch sparsified code.
Commit: 3fce14569fc3611eddca41db055143285244736a
https://github.com/llvm/llvm-project/commit/3fce14569fc3611eddca41db055143285244736a
Author: William Junda Huang <williamjhuang at google.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/CodeGen/CGDebugInfo.h
M clang/lib/CodeGen/CGExprScalar.cpp
R clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp
Log Message:
-----------
Revert "Add option to generate additional debug info for expression dereferencing pointer to pointers. #94100" (#95174)
The option is causing the binary output to be different when compiled
under `-O0`, because it introduce dbg.declare on pseudovariables. Going
to change this implementation to use dbg.value instead.
Commit: cc04bbb2752a0b2a5e7fb41ed1a9d54fbdd3be89
https://github.com/llvm/llvm-project/commit/cc04bbb2752a0b2a5e7fb41ed1a9d54fbdd3be89
Author: ChiaHungDuan <chiahungduan at google.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M compiler-rt/lib/scudo/standalone/primary64.h
Log Message:
-----------
[scudo] Fix the calculation of PushedBytesDelta (#95177)
BytesInBG is always greater or equal to BG->BytesInBGAtLastCheckpoint.
Note that the bug led to unnecessary attempts of page releasing and
doesn't have critical impact on the correctness.
Commit: 0fb216fb2fbb49c1fe90c1c3267873a100b1c356
https://github.com/llvm/llvm-project/commit/0fb216fb2fbb49c1fe90c1c3267873a100b1c356
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/MathExtras.h
M llvm/unittests/Support/MathExtrasTest.cpp
M mlir/include/mlir/Analysis/Presburger/Fraction.h
M mlir/include/mlir/Analysis/Presburger/MPInt.h
M mlir/include/mlir/Analysis/Presburger/SlowMPInt.h
M mlir/include/mlir/Dialect/Mesh/IR/MeshOps.h
R mlir/include/mlir/Support/MathExtras.h
M mlir/lib/Analysis/FlatLinearValueConstraints.cpp
M mlir/lib/Conversion/FuncToLLVM/FuncToLLVM.cpp
M mlir/lib/Conversion/LLVMCommon/MemRefBuilder.cpp
M mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
M mlir/lib/Dialect/Affine/Analysis/AffineStructures.cpp
M mlir/lib/Dialect/Affine/Analysis/LoopAnalysis.cpp
M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
M mlir/lib/Dialect/Affine/Utils/LoopUtils.cpp
M mlir/lib/Dialect/ControlFlow/IR/ControlFlowOps.cpp
M mlir/lib/Dialect/Func/IR/FuncOps.cpp
M mlir/lib/Dialect/Linalg/TransformOps/GPUHeuristics.cpp
M mlir/lib/Dialect/MemRef/Transforms/EmulateNarrowType.cpp
M mlir/lib/Dialect/SCF/IR/SCF.cpp
M mlir/lib/Dialect/SCF/Transforms/LoopPipelining.cpp
M mlir/lib/Dialect/SCF/Utils/Utils.cpp
M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
M mlir/lib/Dialect/Utils/StaticValueUtils.cpp
M mlir/lib/Dialect/Vector/Transforms/VectorUnroll.cpp
M mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp
M mlir/lib/IR/AffineExpr.cpp
M mlir/lib/IR/AffineMap.cpp
M mlir/unittests/Support/CMakeLists.txt
R mlir/unittests/Support/MathExtrasTest.cpp
Log Message:
-----------
mlir/MathExtras: consolidate with llvm/MathExtras (#95087)
This patch is part of a project to move the Presburger library into
LLVM.
Commit: 6fb6eba9304b63e86ebf039edcb9a0b32e4b39e7
https://github.com/llvm/llvm-project/commit/6fb6eba9304b63e86ebf039edcb9a0b32e4b39e7
Author: Chelsea Cassanova <chelsea_cassanova at apple.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M lldb/bindings/python/python-typemaps.swig
M lldb/bindings/python/python-wrapper.swig
M lldb/include/lldb/API/SBCommandInterpreter.h
A lldb/test/API/python_api/interpreter/TestCommandOverrideCallback.py
Log Message:
-----------
[lldb][api-test] Add API test for SBCommandInterpreter::CommandOverrideCallback (#94518)
`SBCommandInterpreter::CommandOverrideCallback` was not being exposed to
the Python API and has no coverage in the
API test suite, so this commits exposes and adds a test for it. Doing
this involves also adding a typemap for the callback used for this
function so that it matches the functionality of other callback
functions that are exposed to Python.
Commit: 7cff05ada05e87408966d56b4c1675033187ff5c
https://github.com/llvm/llvm-project/commit/7cff05ada05e87408966d56b4c1675033187ff5c
Author: Chelsea Cassanova <chelsea_cassanova at apple.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M lldb/bindings/python/python-typemaps.swig
M lldb/bindings/python/python-wrapper.swig
M lldb/include/lldb/API/SBCommandInterpreter.h
R lldb/test/API/python_api/interpreter/TestCommandOverrideCallback.py
Log Message:
-----------
Revert "[lldb][api-test] Add API test for SBCommandInterpreter::CommandOverrideCallback (#94518)"
This reverts commit 6fb6eba9304b63e86ebf039edcb9a0b32e4b39e7.
This test breaks due to an incorrect import in the test.
Commit: 8b18684708e4fbdd521b8df9a16b564315ff2c43
https://github.com/llvm/llvm-project/commit/8b18684708e4fbdd521b8df9a16b564315ff2c43
Author: Emilio Cota <ecg at google.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][bazel] fixes for 18cf1cd92b5
Commit: 826fc8a1acaaeb229d2a422da417ab5d62011e3e
https://github.com/llvm/llvm-project/commit/826fc8a1acaaeb229d2a422da417ab5d62011e3e
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/docs/CommandGuide/lit.rst
M llvm/utils/lit/lit/llvm/config.py
Log Message:
-----------
[llvm][lit] Add tsan feature when enabled (#94573)
Commit: 511a1957258a16157e38f1a49e3de04e82ef001d
https://github.com/llvm/llvm-project/commit/511a1957258a16157e38f1a49e3de04e82ef001d
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/utils/lit/lit/llvm/config.py
Log Message:
-----------
[llvm][lit] Remove unused default feature (#94804)
Commit: 3ab6d126250f03982d3110517d407f7e951133f6
https://github.com/llvm/llvm-project/commit/3ab6d126250f03982d3110517d407f7e951133f6
Author: Brendan Dahl <brendan.dahl at gmail.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M clang/include/clang/Basic/BuiltinsWebAssembly.def
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGen/builtins-wasm.c
M llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
M llvm/test/MC/WebAssembly/simd-encodings.s
Log Message:
-----------
[WebAssembly] Implement f16x8 madd and nmadd instructions. (#95151)
Implemented with intrinsics and builtins.
Specified at:
https://github.com/WebAssembly/half-precision/blob/main/proposals/half-precision/Overview.md
Commit: 0ee71124f4eb47f1f8dccd4194f313e976ae70c7
https://github.com/llvm/llvm-project/commit/0ee71124f4eb47f1f8dccd4194f313e976ae70c7
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M flang/lib/Semantics/check-declarations.cpp
A flang/test/Semantics/cuf16.cuf
Log Message:
-----------
[flang] Refine checks for intrinsic operator conflicts with CUDA defi… (#94389)
…ned operators
The checks for conflicts between defined operators/assignments and the
intrinsic operators/assignment need to take CUDA procedure and data
attributes into account to avoid false positive error messages.
Commit: 11a4d43f4a8ed02694de4d39b5591ff2b1c31803
https://github.com/llvm/llvm-project/commit/11a4d43f4a8ed02694de4d39b5591ff2b1c31803
Author: Miro Bucko <mbucko at meta.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py
M lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py
M lldb/test/API/tools/lldb-dap/commands/TestDAP_commands.py
M lldb/test/API/tools/lldb-dap/console/TestDAP_console.py
M lldb/test/API/tools/lldb-dap/launch/TestDAP_launch.py
Log Message:
-----------
Fix flaky TestDAP_console test. (#94494)
Test Plan:
llvm-lit
llvm-project/lldb/test/API/tools/lldb-dap/console/TestDAP_console.py
Commit: 56cd8a50b3e37cbb3cd3dc49909bdd14939cfdee
https://github.com/llvm/llvm-project/commit/56cd8a50b3e37cbb3cd3dc49909bdd14939cfdee
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M flang/lib/Semantics/check-declarations.cpp
M flang/test/Semantics/bind-c15.f90
Log Message:
-----------
[flang] Relax BIND(C) derived type component check (#94392)
Allow an explicit BIND(C) derived type to have a non-BIND(C) component
so long as the component's type is interoperable and it satisfies all
other constraints.
Commit: 3d86eebdf84f1c1a8ef57706c1182836176a1780
https://github.com/llvm/llvm-project/commit/3d86eebdf84f1c1a8ef57706c1182836176a1780
Author: Chelsea Cassanova <chelsea_cassanova at apple.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M lldb/bindings/python/python-typemaps.swig
M lldb/bindings/python/python-wrapper.swig
M lldb/include/lldb/API/SBCommandInterpreter.h
A lldb/test/API/python_api/interpreter/TestCommandOverrideCallback.py
Log Message:
-----------
Reland "[lldb][api-test] Add API test for SBCommandInterpreter::Comm… (#95181)
…andOverrideCallback (#94518)"
This reverts commit 7cff05ada05e87408966d56b4c1675033187ff5c. The API
test that was added erroneously imports a module that isn't needed and
wouldn't be found which causes a test failures. This reversion removes
that import.
Commit: 2b6c6bb4985d02056d6d125de185e799988ff763
https://github.com/llvm/llvm-project/commit/2b6c6bb4985d02056d6d125de185e799988ff763
Author: YAMAMOTO Takashi <yamamoto at midokura.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M lld/wasm/Config.h
M lld/wasm/Driver.cpp
M lld/wasm/Options.td
Log Message:
-----------
[lld][WebAssembly] Always search *.so for -Bdynamic (#84288)
Search *.so libraries regardless of -pie to make it a bit more
straightforward to build non-pie dynamic-linked executables.
Flip the default to -Bstatic (unless -pie or -shared is specified) as I
think it's what most users expect for the default as of today.
The assumption here is that, because dynamic-linking is not widely used
for WebAssembly, the most users do not specify -Bdynamic or -Bstatic,
expecting static link.
Although the recent wasi-sdk ships *.so files, there are not many wasm
runtimes providing the support of dynamic-linking. (only emscripten and
toywasm as far as i know.)
Commit: 0f286f8a3688250b1f4c263836827ad0e2467f82
https://github.com/llvm/llvm-project/commit/0f286f8a3688250b1f4c263836827ad0e2467f82
Author: Ben Langmuir <blangmuir at apple.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
A compiler-rt/test/orc/TestCases/Darwin/arm64/objc-nonlazy-class.S
A compiler-rt/test/orc/TestCases/Darwin/arm64/objc-protocol-ref.S
A compiler-rt/test/orc/TestCases/Darwin/arm64/objc-protocol.S
A compiler-rt/test/orc/TestCases/Darwin/x86-64/objc-nonlazy-class.S
A compiler-rt/test/orc/TestCases/Darwin/x86-64/objc-protocol-ref.S
A compiler-rt/test/orc/TestCases/Darwin/x86-64/objc-protocol.S
M llvm/include/llvm/ExecutionEngine/Orc/Shared/ObjectFormats.h
M llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
M llvm/lib/ExecutionEngine/Orc/Shared/ObjectFormats.cpp
Log Message:
-----------
[ORC][MachO] Register objc protolist, protorefs, nlclslist metadata sections (#95144)
Add missing __DATA sections that the objc runtime expects to register.
This fixes running objc code that makes use of `@protocol` references
and `__attribute__((objc_nonlazy_class))` classes.
rdar://129368761
Commit: f3c227b797c19b1bc27f079ebcb0d5581b57950f
https://github.com/llvm/llvm-project/commit/f3c227b797c19b1bc27f079ebcb0d5581b57950f
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M flang/docs/Extensions.md
M flang/include/flang/Parser/parse-tree.h
M flang/include/flang/Semantics/symbol.h
M flang/lib/Parser/Fortran-parsers.cpp
M flang/lib/Parser/unparse.cpp
M flang/lib/Semantics/resolve-names.cpp
M flang/lib/Semantics/symbol.cpp
M flang/test/Semantics/bind-c16.f90
Log Message:
-----------
[flang] Support BIND(C, NAME="...", CDEFINED) extension (#94402)
This CDEFINED keyword extension to a language-binding-spec signifies
that static storage for an interoperable variable will be allocated
outside of Fortran, probably by a C/C++ external object definition.
Commit: d9012d8775b45e3edc33394684050cf06b394fb0
https://github.com/llvm/llvm-project/commit/d9012d8775b45e3edc33394684050cf06b394fb0
Author: Petr Hosek <phosek at google.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M clang/cmake/caches/Fuchsia-stage2.cmake
Log Message:
-----------
[CMake][Fuchsia] Enable libc++ in the baremetal build (#95017)
For now, we include headers and don't use libc++abi.
Commit: 67081badfc65b8b60622314dd698834ffcfdbfa9
https://github.com/llvm/llvm-project/commit/67081badfc65b8b60622314dd698834ffcfdbfa9
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M flang/include/flang/Evaluate/check-expression.h
M flang/lib/Evaluate/check-expression.cpp
M flang/lib/Semantics/check-declarations.cpp
M flang/test/Lower/HLFIR/elemental-result-length.f90
M flang/test/Semantics/elemental01.f90
Log Message:
-----------
[flang] Enforce F'2023 C15121 (#94418)
No specification expression in the declaration of the result variable of
an elemental function may depend on the value of a dummy argument. This
ensures that all of the results have the same type when the elemental
function is applied to the elements of an array.
Commit: 8bcf40ba884dc80795c17259518db42d35a2f155
https://github.com/llvm/llvm-project/commit/8bcf40ba884dc80795c17259518db42d35a2f155
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M flang/lib/Semantics/check-declarations.cpp
M flang/test/Semantics/call10.f90
Log Message:
-----------
[flang] Adjust new warnings for extensions (#94485)
Prevent messages from module files, respect the language feature flags
when enabling the relaxed PURE dummy argument checking, and check that
the new warnings are enabled.
Commit: 055df491ed1c179eb0d6a4c686b183b787de9943
https://github.com/llvm/llvm-project/commit/055df491ed1c179eb0d6a4c686b183b787de9943
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M flang/lib/Semantics/check-declarations.cpp
M flang/test/Semantics/declarations02.f90
Log Message:
-----------
[flang] Allow interoperable object to have interoperable derived type… (#94768)
… that's not BIND(C)
An interoperable BIND(C) object with a derived type should have a
BIND(C) derived type, but will now work with a derived type that
satisfies all of the requirements of a BIND(C) derived type.
Commit: 9d9a85e1af84501d365241f8e045aef7f2f7ee60
https://github.com/llvm/llvm-project/commit/9d9a85e1af84501d365241f8e045aef7f2f7ee60
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M flang/lib/Semantics/scope.cpp
Log Message:
-----------
[flang] Change argument to const reference (#95048)
cppcheck recommends that a std::map being passed by value be changed to
a const reference.
Fixes https://github.com/llvm/llvm-project/issues/94932.
Commit: 1fbf7486a5c187f0283174bbf92ee25519786ed3
https://github.com/llvm/llvm-project/commit/1fbf7486a5c187f0283174bbf92ee25519786ed3
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M flang/lib/Semantics/expression.cpp
Log Message:
-----------
[flang] Pass unmodified std::vector as const reference (#95050)
cppcheck recommends that a std::vector argument be passed as a const
reference rather than by value.
Fixes https://github.com/llvm/llvm-project/issues/94929.
Commit: 46c05dfb6c98870f8416eeb9bf787d54ac806b12
https://github.com/llvm/llvm-project/commit/46c05dfb6c98870f8416eeb9bf787d54ac806b12
Author: Owen Anderson <resistor at mac.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerLowering.cpp
A llvm/test/CodeGen/AArch64/icmp-cst.ll
Log Message:
-----------
Apply the `AdjustICmpImmAndPred` optimization when it results in a one-instruction immediate materialization over a two-instruction materialization. (#83218)
https://github.com/llvm/llvm-project/issues/76460
Commit: 0c5319e546321d7a766999e49e0ccf801ff2b3dc
https://github.com/llvm/llvm-project/commit/0c5319e546321d7a766999e49e0ccf801ff2b3dc
Author: Yuta Mukai <mukai.yuta at fujitsu.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/ModuloSchedule.h
M llvm/include/llvm/CodeGen/TargetInstrInfo.h
M llvm/lib/CodeGen/MachinePipeliner.cpp
M llvm/lib/CodeGen/ModuloSchedule.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
M llvm/test/CodeGen/AArch64/sms-acceptable-loop3.mir
M llvm/test/CodeGen/AArch64/sms-acceptable-loop4.mir
A llvm/test/CodeGen/AArch64/sms-mve1.mir
A llvm/test/CodeGen/AArch64/sms-mve10.mir
A llvm/test/CodeGen/AArch64/sms-mve11.mir
A llvm/test/CodeGen/AArch64/sms-mve12.mir
A llvm/test/CodeGen/AArch64/sms-mve2.mir
A llvm/test/CodeGen/AArch64/sms-mve3.mir
A llvm/test/CodeGen/AArch64/sms-mve4.mir
A llvm/test/CodeGen/AArch64/sms-mve5.mir
A llvm/test/CodeGen/AArch64/sms-mve6.mir
A llvm/test/CodeGen/AArch64/sms-mve7.mir
A llvm/test/CodeGen/AArch64/sms-mve8.mir
A llvm/test/CodeGen/AArch64/sms-mve9.mir
A llvm/test/CodeGen/AArch64/sms-unacceptable-loop3.mir
M llvm/test/CodeGen/AArch64/sms-unpipeline-insts2.mir
Log Message:
-----------
[ModuloSchedule][AArch64] Implement modulo variable expansion for pipelining (#65609)
Modulo variable expansion is a technique that resolves overlap of
variable lifetimes by unrolling. The existing implementation solves it
by making a copy by move instruction for processors with ordinary
registers such as Arm and x86. This method may result in a very large
number of move instructions, which can cause performance problems.
Modulo variable expansion is enabled by specifying -pipeliner-mve-cg. A
backend must implement some newly defined interfaces in
PipelinerLoopInfo. They were implemented for AArch64.
Discourse thread:
https://discourse.llvm.org/t/implementing-modulo-variable-expansion-for-machinepipeliner
Commit: 7e5bc71514c7428ab791b187d5cbf8215afd5a87
https://github.com/llvm/llvm-project/commit/7e5bc71514c7428ab791b187d5cbf8215afd5a87
Author: Afanasyev Ivan <ivafanas at gmail.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M libcxx/src/filesystem/operations.cpp
Log Message:
-----------
[libc++] Fix UB in filesystem::__copy for non-existent destination. (#87615)
The lstat/stat/fstat functions have no guarantee whether the `struct stat`
buffer is changed or not on failure. The filesystem::__copy function assumes
that the `struct stat` buffer is not updated on failure, which is not
necessarily correct.
It appears that for a non-existing destination `detail::posix_lstat(to,
t_st, &m_ec1)` returns a failure indicator and overwrites the `struct stat`
buffer with a garbage value, which is accidentally equal to the `f_st` from
stack internals from the previous `detail::posix_lstat(from, f_st, &m_ec1)`
call.
file_type::not_found is a known status, so checking against
`if (not status_known(t))` passes spuriously and execution continues.
Then the __copy function returns errc::function_not_supported because stats
are accidentally equivalent, which is incorrect.
Before checking for `detail::stat_equivalent`, we instead need to make sure
that the call to lstat/stat/fstat was successful.
As a result of `f_st` and `t_st` not being accessed anymore without checking
for the lstat/stat/fstat success indicator, it is not needed to zero-initialize
them.
Commit: 4748b494e1aa47a8f9d6ea00a80d3f24f419f18a
https://github.com/llvm/llvm-project/commit/4748b494e1aa47a8f9d6ea00a80d3f24f419f18a
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M libcxx/include/__atomic/atomic_sync.h
M libcxx/include/barrier
M libcxx/src/atomic.cpp
M libcxx/src/barrier.cpp
Log Message:
-----------
[libc++] Mark a few functions in the dylib as noexcept (#94098)
This avoids generating landing pads in some of the `atomic` functions
that will never be used, since these functions never throw exceptions.
Commit: 307d91ee62f27e8f1c6ac27fdf014001ab1f4484
https://github.com/llvm/llvm-project/commit/307d91ee62f27e8f1c6ac27fdf014001ab1f4484
Author: Monad <yanwqmonad at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/test/Preprocessor/riscv-target-features.c
M llvm/docs/RISCVUsage.rst
M llvm/docs/ReleaseNotes.rst
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/lib/Target/RISCV/RISCVSystemOperands.td
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/MC/RISCV/attribute-arch.s
M llvm/test/MC/RISCV/supervisor-csr-names.s
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Add smcdeleg and ssccfg extensions (#95163)
Specification:
https://github.com/riscv/riscv-isa-manual/blob/main/src/smcdeleg.adoc
`Ssccfg` introduces one new CSR `scountinhibit`.
Commit: 1b66306c9c1adce20e2f3cfb1df0af2fb6a10318
https://github.com/llvm/llvm-project/commit/1b66306c9c1adce20e2f3cfb1df0af2fb6a10318
Author: NMiehlbradt <nicholas at miehlbradt.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Linux.cpp
M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
A llvm/test/Instrumentation/MemorySanitizer/PowerPC/kernel-ppc64le.ll
Log Message:
-----------
[KMSAN] Enable on PowerPC64 (#73611)
Enable -fsanitize=kernel-memory support in Clang.
Add tests.
---------
Co-authored-by: Nicholas Miehlbradt <nicholas at linux.ibm.com>
Commit: 3bd9d4dedf11bb1d62f72e7602412db335a768d4
https://github.com/llvm/llvm-project/commit/3bd9d4dedf11bb1d62f72e7602412db335a768d4
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
M llvm/test/Instrumentation/MemorySanitizer/X86/avx-intrinsics-x86.ll
M llvm/test/Instrumentation/MemorySanitizer/X86/sse41-intrinsics-x86.ll
Log Message:
-----------
[msan] Implement shadow propagation for _mm_dp_pd, _mm_dp_ps, _mm256_dp_ps (#94875)
Default intrinsic handling was to report any
uninitialized part of argument. However intrinsics
use mask which allow to ignore parts of input, so
it's OK to have vectors partially initialized.
Commit: 9a2c8418695ca302c85ec398cc8ed58653729461
https://github.com/llvm/llvm-project/commit/9a2c8418695ca302c85ec398cc8ed58653729461
Author: aengelke <engelke at in.tum.de>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86FastPreTileConfig.cpp
M llvm/lib/Target/X86/X86FastTileConfig.cpp
M llvm/lib/Target/X86/X86PreTileConfig.cpp
M llvm/lib/Target/X86/X86TileConfig.cpp
Log Message:
-----------
[X86] Early exit MIR AMX passes when AMX is unused (#94989)
Follow-up of #94358. Do the checks even before calling getRegisterInfo
etc., because some of these are virtual function calls.
Commit: 55bc04f67be1c61573acd03c70f6eee2ec764dc0
https://github.com/llvm/llvm-project/commit/55bc04f67be1c61573acd03c70f6eee2ec764dc0
Author: aengelke <engelke at in.tum.de>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86FastTileConfig.cpp
M llvm/lib/Target/X86/X86FrameLowering.cpp
M llvm/lib/Target/X86/X86MachineFunctionInfo.h
M llvm/lib/Target/X86/X86PreTileConfig.cpp
Log Message:
-----------
[X86] Replace hasVirtualTileReg with AMXProgModel (#95105)
Cleanup after AMXProgModel introduction. AMXProgModel is ManagedRA
whenever virtual tile registers exist at some point.
Commit: 93d4fb032ec1e069cfa5b800f3ca1c807f0d87ac
https://github.com/llvm/llvm-project/commit/93d4fb032ec1e069cfa5b800f3ca1c807f0d87ac
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/records.cpp
Log Message:
-----------
[clang][Interp] Support floats in APValues
Commit: c012e487b7246239c31bd378ab074fb110631186
https://github.com/llvm/llvm-project/commit/c012e487b7246239c31bd378ab074fb110631186
Author: Johannes de Fine Licht <johannes at musicmedia.dk>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M mlir/docs/Dialects/LLVM.md
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMInlining.cpp
M mlir/lib/Target/LLVMIR/ModuleImport.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
M mlir/test/Conversion/SPIRVToLLVM/func-ops-to-llvm.mlir
M mlir/test/Dialect/LLVMIR/inlining.mlir
M mlir/test/Dialect/LLVMIR/invalid.mlir
M mlir/test/Target/LLVMIR/Import/function-attributes.ll
M mlir/test/Target/LLVMIR/llvmir-invalid.mlir
M mlir/test/Target/LLVMIR/llvmir.mlir
Log Message:
-----------
[MLIR][LLVM] Promote noinline/alwaysinline/optnone out of passthrough (#95110)
The `noinline`, `alwaysinline`, and `optnone` function attributes are
already being used in MLIR code for the LLVM inlining interface and in
some SPIR-V lowering, despite residing in the passthrough dictionary,
which is intended as exactly that -- a pass through MLIR -- and not to
model any actual semantics being handled in MLIR itself.
Promote the `noinline`, `alwaysinline`, and `optnone` attributes out of
the passthrough dictionary on `llvm.func` into first class unit
attributes, updating the import and export accordingly.
Add a verifier to `llvm.func` that checks that these attributes are not
set in an incompatible way according to the LLVM specification.
Update the LLVM dialect inlining interface to use the first class
attributes to check whether inlining is possible.
Commit: 4b24c2dfb5c02896ec2e9855ac72eb0771d0764d
https://github.com/llvm/llvm-project/commit/4b24c2dfb5c02896ec2e9855ac72eb0771d0764d
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachinePostDominators.h
M llvm/include/llvm/InitializePasses.h
M llvm/lib/CodeGen/CodeGen.cpp
M llvm/lib/CodeGen/MIRSampleProfile.cpp
M llvm/lib/CodeGen/MachineBlockPlacement.cpp
M llvm/lib/CodeGen/MachinePostDominators.cpp
M llvm/lib/CodeGen/MachineRegionInfo.cpp
M llvm/lib/CodeGen/MachineSink.cpp
M llvm/lib/CodeGen/ShrinkWrap.cpp
M llvm/lib/Target/AMDGPU/AMDGPUGlobalISelDivergenceLowering.cpp
M llvm/lib/Target/AMDGPU/R600MachineCFGStructurizer.cpp
M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
M llvm/lib/Target/AMDGPU/SILowerI1Copies.cpp
M llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
M llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
M llvm/lib/Target/PowerPC/PPCBranchCoalescing.cpp
M llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
Log Message:
-----------
[CodeGen][NewPM] Split `MachinePostDominators` into a concrete analysis result (#95113)
`MachinePostDominators` version of #94571.
Commit: 2fe72385a4964f80e7a1c5abcd426455e4127c03
https://github.com/llvm/llvm-project/commit/2fe72385a4964f80e7a1c5abcd426455e4127c03
Author: Monad <yanwqmonad at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/test/Preprocessor/riscv-target-features.c
M llvm/docs/RISCVUsage.rst
M llvm/docs/ReleaseNotes.rst
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/lib/Target/RISCV/RISCVSystemOperands.td
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/MC/RISCV/attribute-arch.s
M llvm/test/MC/RISCV/hypervisor-csr-names.s
M llvm/test/MC/RISCV/machine-csr-names.s
M llvm/test/MC/RISCV/supervisor-csr-names.s
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Add Smcsrind and Sscsrind extension (#93952)
Specification link:
https://github.com/riscv/riscv-isa-manual/blob/main/src/indirect-csr.adoc
Some CSRs (`*ireg` and `*iselect`) in Smcsrind/Sscsrind extensions are
originally defined as part of the Smaia/Ssaia extensions and are already
supported in LLVM. The missing CSRs (`*ireg2` to `*ireg6` for `m`, `s`,
and `vs`) are added in this PR.
Commit: db096adba0f5d602587d0c90fb093cd12e706e5b
https://github.com/llvm/llvm-project/commit/db096adba0f5d602587d0c90fb093cd12e706e5b
Author: Carl Ritson <carl.ritson at amd.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/lib/Target/AMDGPU/SIPreAllocateWWMRegs.cpp
M llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
M llvm/test/CodeGen/AMDGPU/wqm.ll
Log Message:
-----------
[AMDGPU] Remove SIWholeQuadMode pseudo wavemode optimization (#94133)
This does not work correctly in divergent control flow. Can be replaced
with a later exec mask manipulation optimizer.
This reverts commit a3646ec1bc662e221c2a1d182987257c50958789.
Commit: b83f8c75e4cccf25abbe4ad76406ba0c382bf336
https://github.com/llvm/llvm-project/commit/b83f8c75e4cccf25abbe4ad76406ba0c382bf336
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir
Log Message:
-----------
[mlir][vector] Update tests for collapse 2/n (nfc) (#94604)
The main goal of this PR (and subsequent PRs), is to add more tests with
scalable vectors to:
* vector-transfer-collapse-inner-most-dims.mlir
Changes in this PR:
1. Renamed `@contiguous_inner_most_dim_bounds` as
`@contiguous_inner_most_dim_with_subview`. This test was introduced
to make sure that the `in_bounds` attribute is correctly preserved,
but that's already verified by some earlier tests. The updated name
highlights the differentiating factor of this test when compared to
the other tests _currently_ present in the file, i.e. the presence of
`memref.subview` in the input IR.
2. Renamed `@contiguous_inner_most_dim_out_of_bounds_2d` as
`@negative_non_unit_inner_vec_dim`. While this test does contain an
out-of-bounds access, the actual reason for the tested pattern to
fail is the fact that the inner dim in the output vector is not "1".
A complimentary test was added to verify that the pattern also fails
when the source memref has non-unit trailing dim
(`@negative_non_unit_inner_memref_dim`).
3. Renamed `@contiguous_inner_most_dim` as
`@contiguous_inner_most_dim_non_zero_idxs` - this test verifies that
the pattern works in the presence of non-zero idxs.
4. Added more tests for scalable vectors - this should cover all cases
for `vector.transfer_read`.
NOTE: This PR is limited to tests for `vector.transfer_read`.
Follow-up for: #94490
Commit: 5989450e0061dce8cff89d8acfdd5225c14cd065
https://github.com/llvm/llvm-project/commit/5989450e0061dce8cff89d8acfdd5225c14cd065
Author: The Phantom Derpstorm <phdofthehouse at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang-tools-extra/test/pp-trace/pp-trace-macro.cpp
M clang/docs/LanguageExtensions.rst
M clang/include/clang/AST/Expr.h
M clang/include/clang/AST/RecursiveASTVisitor.h
M clang/include/clang/AST/TextNodeDumper.h
M clang/include/clang/Basic/DiagnosticCommonKinds.td
M clang/include/clang/Basic/DiagnosticLexKinds.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/FileManager.h
M clang/include/clang/Basic/StmtNodes.td
M clang/include/clang/Basic/TokenKinds.def
M clang/include/clang/Driver/Options.td
M clang/include/clang/Frontend/PreprocessorOutputOptions.h
M clang/include/clang/Lex/PPCallbacks.h
A clang/include/clang/Lex/PPDirectiveParameter.h
A clang/include/clang/Lex/PPEmbedParameters.h
M clang/include/clang/Lex/Preprocessor.h
M clang/include/clang/Lex/PreprocessorOptions.h
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Sema/Sema.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/lib/AST/Expr.cpp
M clang/lib/AST/ExprClassification.cpp
M clang/lib/AST/ExprConstant.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/lib/AST/ItaniumMangle.cpp
M clang/lib/AST/StmtPrinter.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/Basic/FileManager.cpp
M clang/lib/Basic/IdentifierTable.cpp
M clang/lib/CodeGen/CGExprAgg.cpp
M clang/lib/CodeGen/CGExprConstant.cpp
M clang/lib/CodeGen/CGExprScalar.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Frontend/DependencyFile.cpp
M clang/lib/Frontend/DependencyGraph.cpp
M clang/lib/Frontend/InitPreprocessor.cpp
M clang/lib/Frontend/PrintPreprocessedOutput.cpp
M clang/lib/Lex/PPDirectives.cpp
M clang/lib/Lex/PPExpressions.cpp
M clang/lib/Lex/PPMacroExpansion.cpp
M clang/lib/Lex/TokenConcatenation.cpp
M clang/lib/Parse/ParseExpr.cpp
M clang/lib/Parse/ParseInit.cpp
M clang/lib/Parse/ParseTemplate.cpp
M clang/lib/Sema/SemaExceptionSpec.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaInit.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTReaderStmt.cpp
M clang/lib/Serialization/ASTWriterStmt.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
A clang/test/C/C2x/Inputs/bits.bin
A clang/test/C/C2x/Inputs/boop.h
A clang/test/C/C2x/Inputs/i.dat
A clang/test/C/C2x/Inputs/jump.wav
A clang/test/C/C2x/Inputs/s.dat
A clang/test/C/C2x/n3017.c
A clang/test/Preprocessor/Inputs/jk.txt
A clang/test/Preprocessor/Inputs/media/art.txt
A clang/test/Preprocessor/Inputs/media/empty
A clang/test/Preprocessor/Inputs/null_byte.bin
A clang/test/Preprocessor/Inputs/numbers.txt
A clang/test/Preprocessor/Inputs/single_byte.txt
A clang/test/Preprocessor/embed___has_embed.c
A clang/test/Preprocessor/embed___has_embed_parsing_errors.c
A clang/test/Preprocessor/embed___has_embed_supported.c
A clang/test/Preprocessor/embed_art.c
A clang/test/Preprocessor/embed_codegen.cpp
A clang/test/Preprocessor/embed_constexpr.cpp
A clang/test/Preprocessor/embed_dependencies.c
A clang/test/Preprocessor/embed_ext_compat_diags.c
A clang/test/Preprocessor/embed_feature_test.cpp
A clang/test/Preprocessor/embed_file_not_found_chevron.c
A clang/test/Preprocessor/embed_file_not_found_quote.c
A clang/test/Preprocessor/embed_init.c
A clang/test/Preprocessor/embed_parameter_if_empty.c
A clang/test/Preprocessor/embed_parameter_limit.c
A clang/test/Preprocessor/embed_parameter_offset.c
A clang/test/Preprocessor/embed_parameter_prefix.c
A clang/test/Preprocessor/embed_parameter_suffix.c
A clang/test/Preprocessor/embed_parameter_unrecognized.c
A clang/test/Preprocessor/embed_parsing_errors.c
A clang/test/Preprocessor/embed_path_chevron.c
A clang/test/Preprocessor/embed_path_quote.c
A clang/test/Preprocessor/embed_preprocess_to_file.c
A clang/test/Preprocessor/embed_single_entity.c
A clang/test/Preprocessor/embed_weird.cpp
M clang/test/Preprocessor/init-aarch64.c
M clang/test/Preprocessor/init.c
A clang/test/Preprocessor/single_byte.txt
M clang/tools/libclang/CXCursor.cpp
M clang/www/c_status.html
Log Message:
-----------
[clang][Sema, Lex, Parse] Preprocessor embed in C and C++ (and Obj-C and Obj-C++ by-proxy) (#68620)
This commit implements the entirety of the now-accepted [N3017 -
Preprocessor
Embed](https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3017.htm) and
its sister C++ paper [p1967](https://wg21.link/p1967). It implements
everything in the specification, and includes an implementation that
drastically improves the time it takes to embed data in specific
scenarios (the initialization of character type arrays). The mechanisms
used to do this are used under the "as-if" rule, and in general when the
system cannot detect it is initializing an array object in a variable
declaration, will generate EmbedExpr AST node which will be expanded
by AST consumers (CodeGen or constant expression evaluators) or
expand embed directive as a comma expression.
---------
Co-authored-by: Aaron Ballman <aaron at aaronballman.com>
Co-authored-by: cor3ntin <corentinjabot at gmail.com>
Co-authored-by: H. Vetinari <h.vetinari at gmx.com>
Co-authored-by: Podchishchaeva, Mariya <mariya.podchishchaeva at intel.com>
Commit: 1754651dd150139d64cdae190afe1faabf69a403
https://github.com/llvm/llvm-project/commit/1754651dd150139d64cdae190afe1faabf69a403
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M flang/include/flang/Lower/Support/Utils.h
Log Message:
-----------
[flang] fix evaluate::Expr hashing in lowering (#95079)
Fixes https://github.com/llvm/llvm-project/issues/61610.
Commit: 3b3b839c66dc49674fd6646650525a2173030690
https://github.com/llvm/llvm-project/commit/3b3b839c66dc49674fd6646650525a2173030690
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/test/CodeGenCUDA/managed-var.cu
M clang/test/CodeGenCXX/2011-12-19-init-list-ctor.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
M clang/test/CodeGenCXX/ms-inline-asm-fields.cpp
M clang/test/OpenMP/threadprivate_codegen.cpp
M llvm/include/llvm/IR/ConstantFold.h
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/lib/IR/Constants.cpp
Log Message:
-----------
[ConstantFold] Drop gep of gep fold entirely (#95126)
This is a followup to https://github.com/llvm/llvm-project/pull/93823
and drops the DataLayout-unaware GEP of GEP fold entirely. All cases are
now left to the DataLayout-aware constant folder, which will fold
everything to a single i8 GEP.
We didn't have any test coverage for this fold in LLVM, but some Clang
tests change.
Commit: 6fc63ab77d5b287eb4b7a3f6652360dbe5b50a67
https://github.com/llvm/llvm-project/commit/6fc63ab77d5b287eb4b7a3f6652360dbe5b50a67
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-pointer-ops.ll
M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-unoptimized-debug-data.ll
Log Message:
-----------
[AMDGPULowerBufferFatPointers] Simplify and fix GEP offset emission (#95115)
Use emitGEPOffset() to emit the GEP offset, which already has all the
necessary logic.
This also fixes the nuw flag incorrectly being set on the offset
calculation, while only nsw is implied by inbounds.
Commit: 8ad82b419b88102746735505effe5bc09f26ae54
https://github.com/llvm/llvm-project/commit/8ad82b419b88102746735505effe5bc09f26ae54
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/opencl.cl
Log Message:
-----------
[clang][Interp] Fix re-visiting OpenCL variables of in constant AS
We need to use isConstant() here, isConstQualified() is not enough.
Commit: 82e19318e660afc8277d9a2b1136d2d7836d67f8
https://github.com/llvm/llvm-project/commit/82e19318e660afc8277d9a2b1136d2d7836d67f8
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Fix a bug in annotating lambda l_square (#95084)
Fixes #95072.
Commit: 0170498a7ddf84a404527ec3f0e82a4a3d10869a
https://github.com/llvm/llvm-project/commit/0170498a7ddf84a404527ec3f0e82a4a3d10869a
Author: Hugo Trachino <hugo.trachino at huawei.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/LowerVectorTransfer.cpp
M mlir/test/Dialect/Vector/vector-transfer-permutation-lowering.mlir
Log Message:
-----------
[MLIR][Vector] Implement TransferOpReduceRank as MaskableOpRewritePattern (#92426)
Implements `TransferOpReduceRank` as a `MaskableOpRewritePattern`.
Allowing to exit gracefully when run on a `vector::transfer_read`
located inside a `vector::MaskOp` instead of generating `error: 'vector.mask'
op expects only one operation to mask` because the
pattern generated multiple ops inside the MaskOp.
Split of https://github.com/llvm/llvm-project/pull/90835
Commit: 76030dc157965498f22411aa863cfe8c76138880
https://github.com/llvm/llvm-project/commit/76030dc157965498f22411aa863cfe8c76138880
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
A llvm/include/llvm/ADT/DynamicAPInt.h
A llvm/include/llvm/ADT/SlowDynamicAPInt.h
M llvm/lib/Support/CMakeLists.txt
A llvm/lib/Support/DynamicAPInt.cpp
A llvm/lib/Support/SlowDynamicAPInt.cpp
M llvm/unittests/ADT/CMakeLists.txt
A llvm/unittests/ADT/DynamicAPIntTest.cpp
M mlir/include/mlir/Analysis/Presburger/Barvinok.h
M mlir/include/mlir/Analysis/Presburger/Fraction.h
M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
M mlir/include/mlir/Analysis/Presburger/LinearTransform.h
R mlir/include/mlir/Analysis/Presburger/MPInt.h
M mlir/include/mlir/Analysis/Presburger/Matrix.h
M mlir/include/mlir/Analysis/Presburger/PWMAFunction.h
M mlir/include/mlir/Analysis/Presburger/PresburgerRelation.h
M mlir/include/mlir/Analysis/Presburger/Simplex.h
R mlir/include/mlir/Analysis/Presburger/SlowMPInt.h
M mlir/include/mlir/Analysis/Presburger/Utils.h
M mlir/include/mlir/Support/LLVM.h
M mlir/lib/Analysis/FlatLinearValueConstraints.cpp
M mlir/lib/Analysis/Presburger/Barvinok.cpp
M mlir/lib/Analysis/Presburger/CMakeLists.txt
M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
M mlir/lib/Analysis/Presburger/LinearTransform.cpp
R mlir/lib/Analysis/Presburger/MPInt.cpp
M mlir/lib/Analysis/Presburger/Matrix.cpp
M mlir/lib/Analysis/Presburger/PWMAFunction.cpp
M mlir/lib/Analysis/Presburger/PresburgerRelation.cpp
M mlir/lib/Analysis/Presburger/Simplex.cpp
R mlir/lib/Analysis/Presburger/SlowMPInt.cpp
M mlir/lib/Analysis/Presburger/Utils.cpp
M mlir/unittests/Analysis/Presburger/CMakeLists.txt
M mlir/unittests/Analysis/Presburger/FractionTest.cpp
M mlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp
M mlir/unittests/Analysis/Presburger/LinearTransformTest.cpp
R mlir/unittests/Analysis/Presburger/MPIntTest.cpp
M mlir/unittests/Analysis/Presburger/MatrixTest.cpp
M mlir/unittests/Analysis/Presburger/SimplexTest.cpp
M mlir/unittests/Analysis/Presburger/Utils.h
M mlir/unittests/Analysis/Presburger/UtilsTest.cpp
Log Message:
-----------
mlir/Presburger/MPInt: move into llvm/ADT (#94953)
MPInt is an arbitrary-precision integer library that builds on top of
APInt, and has a fast-path when the number fits within 64 bits. It was
originally written for the Presburger library in MLIR, but seems useful
to the LLVM project in general, independently of the Presburger library
or MLIR. Hence, move it into LLVM/ADT under the name DynamicAPInt.
This patch is part of a project to move the Presburger library into
LLVM.
Commit: 90d1bcac483c608b533f71c63163da0d7ee3b6da
https://github.com/llvm/llvm-project/commit/90d1bcac483c608b533f71c63163da0d7ee3b6da
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/ADT/BUILD.gn
Log Message:
-----------
[gn build] Port 76030dc15796
Commit: dd7540f3da36e0b511449fa289d5e89c046b7521
https://github.com/llvm/llvm-project/commit/dd7540f3da36e0b511449fa289d5e89c046b7521
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.load.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.store.ll
Log Message:
-----------
AMDGPU: Handle buffer load/store for 64-bit element types
Note pointers still don't work correctly.
Commit: cb3a6bded74c8c508943e95e5913b8831ab77067
https://github.com/llvm/llvm-project/commit/cb3a6bded74c8c508943e95e5913b8831ab77067
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-pointer-ops.ll
Log Message:
-----------
[AMDGPULowerBufferFatPointers] Restore zero offset special case
OffAccum will never be nullptr now, instead check for a zero
constant.
Commit: 1efd5c22893e4a186453f6aaf44fee747f1d63bf
https://github.com/llvm/llvm-project/commit/1efd5c22893e4a186453f6aaf44fee747f1d63bf
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
Log Message:
-----------
[lldb][DWARFASTParser][NFC] Factor out CXX/ObjC method specifics out of ParseSubroutine (#95078)
This patch moves some of the `is_cxx_method`/`objc_method` logic out of
`DWARFASTParserClang::ParseSubroutine` into their own functions. Mainly
the purpose of this is to (hopefully) make this function more readable
by turning the deeply nested if-statements into early-returns. This will
be useful in an upcoming change where we remove some of the branches of
said if-statement.
Considerations:
* Would be nice to make them into static helpers in
`DWARFASTParserClang.cpp`. That would require them take few more
arguments which seemed to get unwieldy.
* `HandleCXXMethod` can return three states: (1) found a `TypeSP` we
previously parsed (2) successfully set a link between the DIE and
DeclContext (3) failure. One could express this with
`std::optional<TypeSP>`, but then returning `std::nullopt` vs `nullptr`
becomes hard to reason about. So I opted to return `std::pair<bool,
TypeSP>`, where the `bool` indicates success and the `TypeSP` the cached
type.
* `HandleCXXMethod` takes `ignore_containing_context` as an output
parameter. Haven't found a great way to do this differently
Commit: 860f0b542ae32c507959201146242cd716222041
https://github.com/llvm/llvm-project/commit/860f0b542ae32c507959201146242cd716222041
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M lldb/include/lldb/Utility/ConstString.h
M lldb/unittests/Utility/ConstStringTest.cpp
Log Message:
-----------
[lldb][ConstString] Prevent GetString from constructing a std::string with a nullptr (#95175)
This patch prevents passing a `nullptr` to the `std::string` constructor
in `GetString`. This prevents UB arising from calling `GetString` on a
default-constructed `ConstString`.
Commit: 038725468f15b96bd4a9c9d361bd3eab42bfdb66
https://github.com/llvm/llvm-project/commit/038725468f15b96bd4a9c9d361bd3eab42bfdb66
Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M compiler-rt/lib/builtins/CMakeLists.txt
Log Message:
-----------
[AArch64][compiler-rt] Disable SME ABI routines if function multiversioning is not supported (#94973)
This prevents build failures when building with `DISABLE_AARCH64_FMV`,
see https://github.com/llvm/llvm-project/pull/92921.
Commit: 457bedfe393f0baa88545418390cf96c5bc1c437
https://github.com/llvm/llvm-project/commit/457bedfe393f0baa88545418390cf96c5bc1c437
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
Log Message:
-----------
DAG: Fix not handling atomic fmin/fmax in dumper
Commit: f3afdc4ad980bfba5c196f2248bedf03945cd32a
https://github.com/llvm/llvm-project/commit/f3afdc4ad980bfba5c196f2248bedf03945cd32a
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/AtomicExpandPass.cpp
M llvm/test/CodeGen/AMDGPU/ptrmask.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i16.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i8.ll
Log Message:
-----------
AtomicExpand: Fix creating invalid ptrmask for fat pointers (#94955)
The ptrmask intrinsic requires the integer mask to be the index size,
not the pointer size.
Commit: 83a54e75c1229be99875901139f7722be643ce87
https://github.com/llvm/llvm-project/commit/83a54e75c1229be99875901139f7722be643ce87
Author: Braden Helmer <bradenhelmeraus at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/lib/Driver/Driver.cpp
M clang/test/Driver/warning-options.cpp
Log Message:
-----------
[clang] Implement -Wmissing-include-dirs (#94827)
Implements -Wmissing-include-dirs #92015
This is my first contribution and would love some feedback. Thanks!
Commit: d32afb39fd90a305fc116a7161a2b4c4556117d4
https://github.com/llvm/llvm-project/commit/d32afb39fd90a305fc116a7161a2b4c4556117d4
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Log Message:
-----------
[lldb][Progress] Report progress when parsing forward declarations from DWARF (#91452)
This is an attempt at displaying the work that's being done by LLDB when waiting on type-completion events, e.g., when running an expression. This patch adds a single new progress event for cases where we search for the definition DIE of a forward declaration, which can be an expensive operation in the presence of many object files.
Commit: 864981d72b3b4077053479def6a43b5826aea462
https://github.com/llvm/llvm-project/commit/864981d72b3b4077053479def6a43b5826aea462
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/MachineLICM.cpp
Log Message:
-----------
[NFC][MachineLICM] Use SmallDenseSet instead of SmallSet (#95201)
All values are small so no reason to ever use SmallSet really. In large
programs we'll end up using std::set which is extremely slow compared to
DenseSet. This brings a decent speedup to the pass in large programs.
Commit: ea6577a74baebcc287f8b24d8b098f1d70085911
https://github.com/llvm/llvm-project/commit/ea6577a74baebcc287f8b24d8b098f1d70085911
Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
A llvm/test/CodeGen/AArch64/outlining-with-streaming-mode-changes.ll
Log Message:
-----------
[AArch64][SME] Disable outlining for functions with streaming-mode changes (#95132)
Commit: 7a4fab410124144f0196bdee6645b649799dec15
https://github.com/llvm/llvm-project/commit/7a4fab410124144f0196bdee6645b649799dec15
Author: wanglei <wanglei at loongson.cn>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
A llvm/test/CodeGen/LoongArch/emutls.ll
Log Message:
-----------
[LoongArch] Emit error messages when using emulated TLS
Reviewed By: SixWeining
Pull Request: https://github.com/llvm/llvm-project/pull/92483
Commit: 4a305d40a392e41521b6a427a6acd8d02d428f6c
https://github.com/llvm/llvm-project/commit/4a305d40a392e41521b6a427a6acd8d02d428f6c
Author: Scott Egerton <9487234+ScottEgerton at users.noreply.github.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUInsertSingleUseVDST.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
M llvm/lib/Target/AMDGPU/VOP1Instructions.td
M llvm/lib/Target/AMDGPU/VOP2Instructions.td
M llvm/lib/Target/AMDGPU/VOP3Instructions.td
M llvm/lib/Target/AMDGPU/VOP3PInstructions.td
M llvm/lib/Target/AMDGPU/VOPCInstructions.td
M llvm/lib/Target/AMDGPU/VOPInstructions.td
M llvm/test/CodeGen/AMDGPU/insert-singleuse-vdst.mir
Log Message:
-----------
[AMDGPU] Exclude certain opcodes from being marked as single use (#91802)
The s_singleuse_vdst instruction is used to mark regions of instructions
that produce values that have only one use.
Certain instructions take more than one cycle to execute, resulting in
regions being incorrectly marked.
This patch excludes these multi-cycle instructions from being marked as
either producing single use values or consuming single use values
or both depending on the instruction.
Commit: cece0a105b29dcbb9d88d0aa264c4745c07a8456
https://github.com/llvm/llvm-project/commit/cece0a105b29dcbb9d88d0aa264c4745c07a8456
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/test/CodeGenCUDA/managed-var.cu
M clang/test/CodeGenCXX/2011-12-19-init-list-ctor.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
M clang/test/CodeGenCXX/ms-inline-asm-fields.cpp
M clang/test/OpenMP/threadprivate_codegen.cpp
M llvm/include/llvm/IR/ConstantFold.h
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/lib/IR/Constants.cpp
Log Message:
-----------
Revert "[ConstantFold] Drop gep of gep fold entirely (#95126)"
This reverts commit 3b3b839c66dc49674fd6646650525a2173030690.
This broke the flang+openmp+offload buildbot, as reported in
https://github.com/llvm/llvm-project/pull/95126#issuecomment-2162424019.
Commit: 638d96843893f6981c9af8c501f6999cc7db15e6
https://github.com/llvm/llvm-project/commit/638d96843893f6981c9af8c501f6999cc7db15e6
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M mlir/include/mlir/Analysis/Presburger/Fraction.h
Log Message:
-----------
mlir/Presburger: guard dump function; fix buildbot (#95218)
Follow up on 76030dc (mlir/Presburger/MPInt: move into llvm/ADT) to
guard a function in Fraction.h with !NDEBUG || LLVM_ENABLE_DUMP, since
the call to the corresponding function in DynamicAPInt is guarded
similarly. This patch fixes the build when mlir is built with this
configuration.
Commit: 1a5f9063e5dc8c51c2474ce21cb3667ff25c1f30
https://github.com/llvm/llvm-project/commit/1a5f9063e5dc8c51c2474ce21cb3667ff25c1f30
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
A llvm/test/Transforms/PhaseOrdering/pr95152.ll
Log Message:
-----------
[PhaseOrdering] Add test for #95152 (NFC)
This depends on multiple passes agreeing on the semantics of
writeonly, so add a PhaseOrdering test for it.
Commit: 5f99a7a51a1e2aa66bbe98a905711f4eb0bb7a74
https://github.com/llvm/llvm-project/commit/5f99a7a51a1e2aa66bbe98a905711f4eb0bb7a74
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/test/Transforms/Inline/access-attributes-prop.ll
M llvm/test/Transforms/Inline/noalias-calls-always.ll
M llvm/test/Transforms/Inline/noalias-calls.ll
M llvm/test/Transforms/PhaseOrdering/pr95152.ll
Log Message:
-----------
Revert "[Inliner] Propagate callee argument memory access attributes before inlining"
This exposes a miscompile reported in
https://github.com/llvm/llvm-project/issues/95152.
Whether the new inference or MemCpyOpt is at fault depends on
the precise semantics of writeonly attributes. Revert the patch
while this is being pinned down.
This reverts commit 285dbed147e243f416b003e150d67ffb0922ff16.
This reverts commit cda5790e38af5da3ad455eddab36ef16bf3e8104.
Commit: ccaaa0000f585ac0724452f8a7baee7307dae4eb
https://github.com/llvm/llvm-project/commit/ccaaa0000f585ac0724452f8a7baee7307dae4eb
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachineDominators.h
M llvm/lib/CodeGen/MachineDominators.cpp
M llvm/lib/CodeGen/MachinePostDominators.cpp
M llvm/lib/Target/X86/X86FlagsCopyLowering.cpp
Log Message:
-----------
[CodeGen] Avoid GenericDomTreeConstruction.h include in headers (NFC)
This header is split off from GenericDomTree.h so it can be included
in the source file only. Do this for MachineDominators.h and
MachinePostDominators.h.
Commit: 297b6dea8c7652b62933e78ef79e60ce59fc1ec0
https://github.com/llvm/llvm-project/commit/297b6dea8c7652b62933e78ef79e60ce59fc1ec0
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M flang/lib/Frontend/FrontendActions.cpp
M flang/test/Transforms/debug-local-var-2.f90
Log Message:
-----------
[Flang] Use PrintModulePass to print LLVM IR from the frontend (#95142)
The Flang frontend currently prints LLVM IR modules using
llvm::Module::print(); this works for default cases, but skips some of
the logic that IR printer passes use, specifically the use of the
--write-experimental-debuginfo flag to control debug info format. This
patch replaces the use of print() with the PrintModulePass, bringing the
printing behaviour to parity with clang's frontend.
Commit: 1d4523505e54415a270d7b13b6e203fc25585c5b
https://github.com/llvm/llvm-project/commit/1d4523505e54415a270d7b13b6e203fc25585c5b
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M flang/lib/Frontend/FrontendActions.cpp
M flang/test/Transforms/debug-local-var-2.f90
Log Message:
-----------
Revert "[Flang] Use PrintModulePass to print LLVM IR from the frontend (#95142)"
Reverted due to a link error on the buildbots.
This reverts commit 297b6dea8c7652b62933e78ef79e60ce59fc1ec0.
Commit: fc1c34bbcb7811ebdbb623c5a4473c4f186c434d
https://github.com/llvm/llvm-project/commit/fc1c34bbcb7811ebdbb623c5a4473c4f186c434d
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
A flang/test/Lower/OpenMP/distribute.f90
M flang/test/Lower/OpenMP/if-clause.f90
M flang/test/Lower/OpenMP/loop-combined.f90
Log Message:
-----------
[Flang][OpenMP][Lower] Add lowering support of OpenMP distribute to MLIR (#67798)
This patch adds support for lowering the OpenMP DISTRIBUTE directive
from PFT to MLIR. It only supports standalone DISTRIBUTE, support for
composite constructs will come in follow-up PRs.
Commit: 0e346eeac676d909402abe01fb23248bb3efc5e0
https://github.com/llvm/llvm-project/commit/0e346eeac676d909402abe01fb23248bb3efc5e0
Author: c8ef <c8ef at outlook.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/AArch64/aarch64-known-bits-hadd.ll
A llvm/test/CodeGen/AArch64/avg.ll
Log Message:
-----------
[DAG] fold avgu(zext(x), zext(y)) -> zext(avgu(x, y)) (#95134)
close: #86301
Commit: 575e68e571b4524d613e29d6a4f176cab8224bdd
https://github.com/llvm/llvm-project/commit/575e68e571b4524d613e29d6a4f176cab8224bdd
Author: Hans Wennborg <hans at chromium.org>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
Log Message:
-----------
FunctionSpecialization: Make the ordering of BestSpecs stricter
otherwise it's not guaranteed which of two candidates with the same
score would get specialized first, or at all.
Commit: 66a9e26438cbb5c547fd348a428ef3d1e775360c
https://github.com/llvm/llvm-project/commit/66a9e26438cbb5c547fd348a428ef3d1e775360c
Author: Qizhi Hu <836744285 at qq.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/lib/AST/ASTStructuralEquivalence.cpp
M clang/unittests/AST/StructuralEquivalenceTest.cpp
Log Message:
-----------
[StructuralEquivalence] improve NTTP and CXXDependentScopeMemberExpr comparison (#95190)
improve `ASTStructuralEquivalenceTest`:
1. compare the depth and index of NTTP
2. provide comparison of `CXXDependentScopeMemberExpr` to `StmtCompare`.
Co-authored-by: huqizhi <836744285 at qq.com>
Commit: 058486c9e8820efee748f946fa773b56c4654feb
https://github.com/llvm/llvm-project/commit/058486c9e8820efee748f946fa773b56c4654feb
Author: Egor Zhdan <e_zhdan at apple.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/docs/APINotes.rst
Log Message:
-----------
[APINotes] Update the documentation with new features
This adds the documentation for a few recently added Clang API Notes
features: C++ namespaces, `SwiftImportAs` and `SwiftCopyable`.
---------
Co-authored-by: Saleem Abdulrasool <compnerd at compnerd.org>
Commit: 91175313d46de73ca45f37a6a5fb4f1b3bb16035
https://github.com/llvm/llvm-project/commit/91175313d46de73ca45f37a6a5fb4f1b3bb16035
Author: Maksim Levental <maksim.levental at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M mlir/python/CMakeLists.txt
Log Message:
-----------
[MLIR][python] include Rewrite.h (#95226)
Commit: 3c9a9c736532ea1ed997aae069c516b2564c3235
https://github.com/llvm/llvm-project/commit/3c9a9c736532ea1ed997aae069c516b2564c3235
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/OpenMP/OpenMPOpBase.td
A mlir/test/mlir-tblgen/openmp-ops.td
Log Message:
-----------
[MLIR][OpenMP] Support clause-based representation of operations (#92519)
Currently, OpenMP operations are defined independently of each other.
However, one property of the OpenMP specification is that many clauses
can be applied to multiple constructs.
Keeping the MLIR representation of clauses consistent across all
operations that can accept them is important, but since this information
is scattered into multiple operation definitions, it is currently prone
to divergence as new features and changes are added to the dialect.
Furthermore, centralizing this information allows for a single source of
truth and avoids redundancy in the dialect.
The proposal in this patch is to make OpenMP clauses independent top
level definitions which can then be passed in a template argument list
to OpenMP operation definitions, just as it's done for traits. Clauses
can define these properties, which are joined together in order to make
a default initialization for the fields of the same name of the OpenMP
operation:
- `traits`: Optional. It gets added to the list of traits of the
operation.
- `arguments`: Mandatory. It defines how the clause is represented.
- `assemblyFormat`: Optional (though it should almost always be
defined). This is the declarative definition of the printer/parser for
the `arguments`. How these are combined depends on whether this is an
optional or required clause.
- `description`: Optional. It's used to populate a `clausesDescription`
field, so each operation definition must still define a `description`
itself. That field is intended to be appended to the end of the
`OpenMP_Op`'s `description`.
- `extraClassDeclaration`: Optional. It can define some C++ code to be
added to every OpenMP operation that includes that clause.
In order to give operation definitions fine-grained control over
features of a certain clause might need to be inhibited, the
`OpenMP_Clause` class takes "skipTraits", "skipArguments",
"skipAssemblyFormat", "skipDescription" and "skipExtraClassDeclaration"
bit template arguments. These are intended to be used very sparingly for
cases where some of the clauses might collide in some way otherwise.
Commit: d9a508db55f986518983aaba18c1b7f9ce67536a
https://github.com/llvm/llvm-project/commit/d9a508db55f986518983aaba18c1b7f9ce67536a
Author: Donát Nagy <donat.nagy at ericsson.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/docs/analyzer/checkers.rst
M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
M clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
R clang/lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp
R clang/test/Analysis/sizeofpointer.c
M clang/www/analyzer/alpha_checks.html
Log Message:
-----------
[analyzer] Finish moving alpha.core.SizeofPtr to clang-tidy (#95118)
The checker `alpha.core.SizeofPtr` was a very simple checker that did
not rely on path sensitive analysis and was very similar to the (more
complex and refined) clang-tidy check `bugprone-sizeof-expression`.
As there is no reason to maintain two separate implementations for the
same goal (and clang-tidy is more lightweight and accessible than the
Analyzer) I decided to move this functionality from the Static Analyzer
to clang-tidy.
Recently my commit 546c816a529835a4cf89deecff957ea336a94fa2
reimplemented the advantageous parts of `alpha.core.SizeofPtr` within
clang-tidy; now this commit finishes the transfer by deleting
`alpha.core.SizeofPtr`.
Commit: 74f200baedfed496880ca86ce9409788b0d0eaca
https://github.com/llvm/llvm-project/commit/74f200baedfed496880ca86ce9409788b0d0eaca
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Checkers/BUILD.gn
Log Message:
-----------
[gn build] Port d9a508db55f9
Commit: ad9fe3b2a949fb3379e0a1bafbcd2ca81f5fa414
https://github.com/llvm/llvm-project/commit/ad9fe3b2a949fb3379e0a1bafbcd2ca81f5fa414
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/R600InstPrinter.cpp
Log Message:
-----------
[NFC][AMDGPU] Do not flush after printing every instruction (#95237)
It's very expensive and doesn't achieve anything.
I one test I did, it saves almost 10s on a 2m23s build, bringing it down
to 2m15s using a downstream branch.
Commit: ec16f44d0899e1b9c26b27d942f6e2928d3da7e4
https://github.com/llvm/llvm-project/commit/ec16f44d0899e1b9c26b27d942f6e2928d3da7e4
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
Log Message:
-----------
[InstCombine] Use named values in comment (NFC)
Also use opaque pointers.
Commit: ea2ee5dc2f14a17ff4486b41c9475c0b261412a4
https://github.com/llvm/llvm-project/commit/ea2ee5dc2f14a17ff4486b41c9475c0b261412a4
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/AArch64/arm64-vhadd.ll
M llvm/test/CodeGen/AArch64/avg.ll
M llvm/test/CodeGen/AArch64/sve-hadd.ll
M llvm/test/CodeGen/Thumb2/mve-laneinterleaving.ll
M llvm/test/CodeGen/X86/avg.ll
M llvm/test/CodeGen/X86/avgceils.ll
M llvm/test/CodeGen/X86/avgceilu.ll
M llvm/test/CodeGen/X86/avgfloors.ll
M llvm/test/CodeGen/X86/avgflooru.ll
M llvm/test/CodeGen/X86/min-legal-vector-width.ll
Log Message:
-----------
[DAG] Add legalization handling for AVGCEIL/AVGFLOOR nodes (#92096)
Always match AVG patterns pre-legalization, and use TargetLowering::expandAVG to expand again during legalization.
I've removed the X86 custom AVGCEILU pattern detection and replaced with combines to try and convert other AVG nodes to AVGCEILU.
Commit: d3342e5b922209e471b610ca1e254d9481b65319
https://github.com/llvm/llvm-project/commit/d3342e5b922209e471b610ca1e254d9481b65319
Author: Abhina Sree <69635948+abhina-sree at users.noreply.github.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
M llvm/lib/LTO/LTOBackend.cpp
M llvm/lib/Passes/StandardInstrumentations.cpp
M llvm/lib/Transforms/IPO/FunctionImport.cpp
Log Message:
-----------
[SystemZ][z/OS] Continue marking text files with OF_Text (#95111)
Text files should be opened with OF_Text to have the correct encoding.
Commit: 04c4cf45faea421a20ca7a3a01c1cdbca4f45910
https://github.com/llvm/llvm-project/commit/04c4cf45faea421a20ca7a3a01c1cdbca4f45910
Author: pvanhout <pierre.vanhoutryve at amd.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/R600InstPrinter.cpp
Log Message:
-----------
Revert "[NFC][AMDGPU] Do not flush after printing every instruction (#95237)"
This reverts commit ad9fe3b2a949fb3379e0a1bafbcd2ca81f5fa414.
Commit: 47afa10bbaa89351afa9bcc53dd959e6181ebf3d
https://github.com/llvm/llvm-project/commit/47afa10bbaa89351afa9bcc53dd959e6181ebf3d
Author: Zibi Sarbinowski <zibi at ca.ibm.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.char.funsigned-char.pass.cpp
Log Message:
-----------
[libc++][z/OS] Disable portion of formatter.char.funsigned-char.pass.cpp for no unicode (#94044)
This PR carves out small portion of the test in subject to avoid the
following failure when unicode is not available.
```
# | Assertion failure: result == expected .../formatter.char.funsigned-char.pass.cpp 56
# |
# | Format string ?}
# | Expected output '\x{80}'
# | Actual output '�'
```
This was traced down to different definition of
`__code_point_view::__consume()` under macro_LIBCXX_HAS_NO_UNICODE which
is called inside `__formatter::__escape()`. The `__consume()` returns
`__ok` and code assumes that escaped sequence was already written but it
is not., thus the failure. Here is the snippen code we fall into:
```
typename __unicode::__consume_result __result = __view.__consume();
if (__result.__status == __unicode::__consume_result::__ok) {
__escape = __formatter::__is_escaped_sequence_written(__str, __result.__code_point, __escape, __mark);
```
Commit: 87374a8cffb6b6f589e8810a4d8502623e9d0268
https://github.com/llvm/llvm-project/commit/87374a8cffb6b6f589e8810a4d8502623e9d0268
Author: vdonaldson <37090318+vdonaldson at users.noreply.github.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M flang/include/flang/Lower/PFTBuilder.h
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/PFTBuilder.cpp
A flang/test/Lower/pre-fir-tree09.f90
Log Message:
-----------
[flang] Add support for lowering directives at the CONTAINS level (#95123)
There is currently support for lowering directives that appear outside
of a module or procedure, or inside the body of a module or procedure.
Extend this to support directives at the CONTAINS level of a module or
procedure, such as directives 3, 5, 7 9, and 10 in:
!dir$ some directive 1
module m
!dir$ some directive 2
contains
!dir$ some directive 3
subroutine p
!dir$ some directive 4
contains
!dir$ some directive 5
subroutine s1
!dir$ some directive 6
end subroutine s1
!dir$ some directive 7
subroutine s2
!dir$ some directive 8
end subroutine s2
!dir$ some directive 9
end subroutine p
!dir$ some directive 10
end module m
!dir$ some directive 11
This is done by looking for CONTAINS statements at the module or
procedure level, while ignoring CONTAINS statements at the derived type
level.
Commit: c46a6e6c929e4b365d1cb03233bdabbcb9ba222d
https://github.com/llvm/llvm-project/commit/c46a6e6c929e4b365d1cb03233bdabbcb9ba222d
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/clamped-trip-count.ll
M llvm/test/Transforms/LoopVectorize/AArch64/conditional-branches-cost.ll
M llvm/test/Transforms/LoopVectorize/AArch64/induction-costs-sve.ll
M llvm/test/Transforms/LoopVectorize/AArch64/masked-call.ll
M llvm/test/Transforms/LoopVectorize/AArch64/reduction-recurrence-costs-sve.ll
M llvm/test/Transforms/LoopVectorize/AArch64/scalable-strict-fadd.ll
M llvm/test/Transforms/LoopVectorize/AArch64/store-costs-sve.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-low-trip-count.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-forced.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-optsize.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-reductions.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-unroll.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding.ll
M llvm/test/Transforms/LoopVectorize/AArch64/tail-folding-styles.ll
M llvm/test/Transforms/LoopVectorize/RISCV/inloop-reduction.ll
M llvm/test/Transforms/LoopVectorize/RISCV/low-trip-count.ll
M llvm/test/Transforms/LoopVectorize/RISCV/scalable-tailfold.ll
M llvm/test/Transforms/LoopVectorize/RISCV/short-trip-count.ll
M llvm/test/Transforms/LoopVectorize/RISCV/uniform-load-store.ll
M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-interleave.ll
M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-iv32.ll
M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-masked-loadstore.ll
M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-reverse-load-store.ll
M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-vp-intrinsics.ll
Log Message:
-----------
[LV] Remove unnecessary getRuntimeVF call when computing vector TC.
As Step is VF * UF, there is no need to compute it again, which may
require multiple instructions for scalable VFs.
Commit: f2120cda7d3ee8a4ae49c530d8401428b1ed77ed
https://github.com/llvm/llvm-project/commit/f2120cda7d3ee8a4ae49c530d8401428b1ed77ed
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M offload/plugins-nextgen/amdgpu/src/rtl.cpp
Log Message:
-----------
[Offload][AMDGPU] Impose more restrictions for implicit kernel arguments (#95211)
COV3 is not supported anymore, thus we can just use ArgsSize we read
from the kernel to determine how many argument bytes we need and if
implicit kernel arguments are used.
Commit: cb5d1b52ad2b34698a5023c50da4f59c70e05539
https://github.com/llvm/llvm-project/commit/cb5d1b52ad2b34698a5023c50da4f59c70e05539
Author: Maksim Levental <maksim.levental at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
R llvm/include/llvm/ADT/DynamicAPInt.h
R llvm/include/llvm/ADT/SlowDynamicAPInt.h
M llvm/lib/Support/CMakeLists.txt
R llvm/lib/Support/DynamicAPInt.cpp
R llvm/lib/Support/SlowDynamicAPInt.cpp
M llvm/unittests/ADT/CMakeLists.txt
R llvm/unittests/ADT/DynamicAPIntTest.cpp
M mlir/include/mlir/Analysis/Presburger/Barvinok.h
M mlir/include/mlir/Analysis/Presburger/Fraction.h
M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
M mlir/include/mlir/Analysis/Presburger/LinearTransform.h
A mlir/include/mlir/Analysis/Presburger/MPInt.h
M mlir/include/mlir/Analysis/Presburger/Matrix.h
M mlir/include/mlir/Analysis/Presburger/PWMAFunction.h
M mlir/include/mlir/Analysis/Presburger/PresburgerRelation.h
M mlir/include/mlir/Analysis/Presburger/Simplex.h
A mlir/include/mlir/Analysis/Presburger/SlowMPInt.h
M mlir/include/mlir/Analysis/Presburger/Utils.h
M mlir/include/mlir/Support/LLVM.h
M mlir/lib/Analysis/FlatLinearValueConstraints.cpp
M mlir/lib/Analysis/Presburger/Barvinok.cpp
M mlir/lib/Analysis/Presburger/CMakeLists.txt
M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
M mlir/lib/Analysis/Presburger/LinearTransform.cpp
A mlir/lib/Analysis/Presburger/MPInt.cpp
M mlir/lib/Analysis/Presburger/Matrix.cpp
M mlir/lib/Analysis/Presburger/PWMAFunction.cpp
M mlir/lib/Analysis/Presburger/PresburgerRelation.cpp
M mlir/lib/Analysis/Presburger/Simplex.cpp
A mlir/lib/Analysis/Presburger/SlowMPInt.cpp
M mlir/lib/Analysis/Presburger/Utils.cpp
M mlir/unittests/Analysis/Presburger/CMakeLists.txt
M mlir/unittests/Analysis/Presburger/FractionTest.cpp
M mlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp
M mlir/unittests/Analysis/Presburger/LinearTransformTest.cpp
A mlir/unittests/Analysis/Presburger/MPIntTest.cpp
M mlir/unittests/Analysis/Presburger/MatrixTest.cpp
M mlir/unittests/Analysis/Presburger/SimplexTest.cpp
M mlir/unittests/Analysis/Presburger/Utils.h
M mlir/unittests/Analysis/Presburger/UtilsTest.cpp
Log Message:
-----------
Revert #95218 and #94953 (#95244)
Commit: 2b6c23461d85b59b4abb8d738b1d4ab574bbe437
https://github.com/llvm/llvm-project/commit/2b6c23461d85b59b4abb8d738b1d4ab574bbe437
Author: hev <wangrui at loongson.cn>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.cpp
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.h
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
M llvm/test/CodeGen/LoongArch/calling-conv-lp64d.ll
M llvm/test/CodeGen/LoongArch/calling-conv-lp64s.ll
M llvm/test/CodeGen/LoongArch/can-not-realign-stack.ll
M llvm/test/CodeGen/LoongArch/ir-instruction/atomicrmw-fp.ll
M llvm/test/CodeGen/LoongArch/jump-table.ll
M llvm/test/CodeGen/LoongArch/register-coalescer-crash-pr79718.mir
M llvm/test/CodeGen/LoongArch/sextw-removal.ll
M llvm/test/CodeGen/LoongArch/vararg.ll
Log Message:
-----------
[LoongArch] Set isAsCheapAsAMove on ADDI.D and {X}ORI instructions (#94733)
Commit: f59d9d538c7b580a93bee4afba0f098f7ddf09d9
https://github.com/llvm/llvm-project/commit/f59d9d538c7b580a93bee4afba0f098f7ddf09d9
Author: Alexander Yermolovich <43973793+ayermolo at users.noreply.github.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/AccelTable.h
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.cpp
A llvm/test/DebugInfo/X86/debug-names-types-die-offset-collision.ll
Log Message:
-----------
[CLANG][DWARF] Handle DIE offset collision in DW_IDX_parent (#95039)
This fixes https://github.com/llvm/llvm-project/issues/93886. The UnitID
is not
unique between CUs and TUs. This led to DW_IDX_parent to point ot an
entry for a
DIE in a CU if it had the same relative offset as a TU die.
Added a IsTU to the hash for parent chain.
Commit: 1216cde81afa263b972171116f8d3ca94c941107
https://github.com/llvm/llvm-project/commit/1216cde81afa263b972171116f8d3ca94c941107
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstrInfo.cpp
A llvm/test/CodeGen/X86/memfold-mov32r0.ll
Log Message:
-----------
[X86][mem-fold] Support memory folding from MOV32r0 to MOV64mi32
Commit: 3e3b7c70f52fa020557a42a4276b9105d75044a0
https://github.com/llvm/llvm-project/commit/3e3b7c70f52fa020557a42a4276b9105d75044a0
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/ADT/BUILD.gn
Log Message:
-----------
[gn build] Port cb5d1b52ad2b
Commit: 57e4360836f421a2c6131de51e3845620c6aea76
https://github.com/llvm/llvm-project/commit/57e4360836f421a2c6131de51e3845620c6aea76
Author: Kunwar Grover <groverkss at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M mlir/lib/Dialect/MemRef/Transforms/FoldMemRefAliasOps.cpp
M mlir/test/Dialect/MemRef/fold-memref-alias-ops.mlir
Log Message:
-----------
[mlir][memref] Add memref alias folders for expand/collapse_shape for vector load/store (#95223)
This patch adds adds patterns to fold memref alias for
expand_shape/collapse_shape feeding into vector.load/vector.store and
vector.maskedload/vector.maskedstore
Commit: 133197a0041f82990c5fa9709301a84832a27507
https://github.com/llvm/llvm-project/commit/133197a0041f82990c5fa9709301a84832a27507
Author: Andreas Jonson <andjo403 at hotmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M mlir/lib/Target/LLVMIR/Dialect/ROCDL/ROCDLToLLVMIRTranslation.cpp
M mlir/test/Target/LLVMIR/rocdl.mlir
Log Message:
-----------
[mlir][ROCDL] Swap range metadata to range attribute (#94853)
Swap out range metadata to range attribute for calls to be able to
deprecate range metadata on calls in the future.
Commit: 98174fb6ec9784d9eb7be313ee1317ca6e703d90
https://github.com/llvm/llvm-project/commit/98174fb6ec9784d9eb7be313ee1317ca6e703d90
Author: Hau Hsu <95277871+hau-hsu at users.noreply.github.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M compiler-rt/test/asan/TestCases/Linux/stack-trace-dlclose.cpp
M compiler-rt/test/asan/TestCases/Posix/strndup_oob_test.cpp
M compiler-rt/test/asan/TestCases/calloc-overflow.cpp
M compiler-rt/test/asan/TestCases/debug_stacks.cpp
M compiler-rt/test/asan/TestCases/double-free.cpp
M compiler-rt/test/asan/TestCases/malloc-size-too-big.cpp
M compiler-rt/test/asan/TestCases/strcpy-overlap.cpp
M compiler-rt/test/asan/TestCases/strdup_oob_test.cpp
M compiler-rt/test/asan/TestCases/strncpy-overflow.cpp
M compiler-rt/test/asan/TestCases/use-after-free-right.cpp
M compiler-rt/test/asan/TestCases/use-after-free.cpp
Log Message:
-----------
[asan] Make frame number checks more flexable (#94307)
Use more flexable regex ([0-9]+) for frame number checks. Since the
frame numbers might change if some functions are not inlined.
Similar to
*
https://github.com/llvm/llvm-project/commit/0360f3218a13666123849f6699216bdbebe64833
*
https://github.com/llvm/llvm-project/commit/404bc5ca2ae5fffa45d5240dcf52b7f134988867
Commit: 70510733af33c70ff7877eaf30d7718b9358a725
https://github.com/llvm/llvm-project/commit/70510733af33c70ff7877eaf30d7718b9358a725
Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/include/clang/AST/ASTContext.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/CMakeLists.txt
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Basic/Targets/AArch64.h
M clang/test/CodeGen/aarch64-cpu-supports-target.c
M clang/test/CodeGen/aarch64-sme-intrinsics/aarch64-sme-attrs.cpp
M clang/test/CodeGen/aarch64-targetattr.c
M clang/test/CodeGen/attr-target-version.c
M clang/test/Sema/aarch64-neon-target.c
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/TargetParser/AArch64TargetParser.cpp
Log Message:
-----------
Reland "[AArch64] Decouple feature dependency expansion. (#94279)" (#95231)
My reverted attempt to decouple feature dependency expansion (see
#95056) made it evident that some features are still using the FMV
dependencies in the target attribute.
The original commit broke the llvm test suite. This was addressed here:
https://github.com/llvm/llvm-test-suite/pull/133. I am now relanding it.
Commit: f6a2ca4f22e3d737a7aa488a4edde88d53dc8b26
https://github.com/llvm/llvm-project/commit/f6a2ca4f22e3d737a7aa488a4edde88d53dc8b26
Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M lldb/test/API/commands/target/basic/Makefile
M lldb/test/API/lang/c/global_variables/Makefile
M lldb/test/API/lang/cpp/char8_t/Makefile
Log Message:
-----------
[lldb][test] Disable PIE for some API tests (#93808)
When PIE is enabled on a platform by default, these tests fail since the
`target variable` command can't read a global string variable value
before running an inferior process.
It fixes the following tests when built with clang on Ubuntu aarch64:
```
commands/target/basic/TestTargetCommand.py
lang/c/global_variables/TestGlobalVariables.py
lang/cpp/char8_t/TestCxxChar8_t.py
```
Commit: 90d166aded71fceb9029f4e6c5a90036787890e6
https://github.com/llvm/llvm-project/commit/90d166aded71fceb9029f4e6c5a90036787890e6
Author: Emilio Cota <ecg at google.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/test/mlir-tblgen/BUILD.bazel
Log Message:
-----------
[mlir][bazel] fixes for 3c9a9c7365
Commit: 77db8b08c8b186c2625f8dfb26bb976561b43c4c
https://github.com/llvm/llvm-project/commit/77db8b08c8b186c2625f8dfb26bb976561b43c4c
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
M mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir
Log Message:
-----------
[mlir][vector] Restrict DropInnerMostUnitDimsTransferRead (#94904)
Restrict `DropInnerMostUnitDimsTransferRead` so that it fails when one
of the indices to be dropped could be != 0, e.g.
```mlir
func.func @negative_example(%A: memref<16x1xf32>, %i:index, %j:index) -> (vector<8x1xf32>) {
%f0 = arith.constant 0.0 : f32
%1 = vector.transfer_read %A[%i, %j], %f0 : memref<16x1xf32>, vector<8x1xf32>
return %1 : vector<8x1xf32>
}
```
This is an edge case that could represent an out-of-bounds access,
though that will depend on the actual value of `%j`. Importantly,
_without this change_ it would be transformed as follows:
```mlir
func.func @negative_example(%arg0: memref<16x1xf32>, %arg1: index, %arg2: index) -> vector<8x1xf32> {
%cst = arith.constant 0.000000e+00 : f32
%subview = memref.subview %arg0[0, 0] [16, 1] [1, 1] : memref<16x1xf32> to memref<16xf32, strided<[1]>>
%0 = vector.transfer_read %subview[%arg1], %cst : memref<16xf32, strided<[1]>>, vector<8xf32>
%1 = vector.shape_cast %0 : vector<8xf32> to vector<8x1xf32>
return %1 : vector<8x1xf32>
}
```
This is incorrect - `%arg2` is ignored. Hence the extra restriction to
avoid such cases.
NOTE: This PR is limited to tests for `vector.transfer_read`.
Commit: 27ac46e6bea2c25c18650b607754dcc73b42e3d6
https://github.com/llvm/llvm-project/commit/27ac46e6bea2c25c18650b607754dcc73b42e3d6
Author: Martin Storsjö <martin at martin.st>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M .github/workflows/libcxx-build-and-test.yaml
Log Message:
-----------
[libc++][ci] Don't install wget in the Windows jobs (#95215)
Nothing uses wget - only curl is used, and that's available out of the
box.
Commit: b1484f7de0c634c891947c56218d02a84148d356
https://github.com/llvm/llvm-project/commit/b1484f7de0c634c891947c56218d02a84148d356
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAG] visitAVG - use X/Y SDValue args to match the fold comment. NFC.
Commit: 346f16d504ab66f09e748a3ca041fa3a4deeeb1e
https://github.com/llvm/llvm-project/commit/346f16d504ab66f09e748a3ca041fa3a4deeeb1e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAGNodes.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
Log Message:
-----------
[DAG] Move isNullConstantOrUndef helper to SelectionDAGNodes.h to allow other future uses. NFC.
Commit: ad7a9d6af3523ae6e75658562ec510368f5f8df4
https://github.com/llvm/llvm-project/commit/ad7a9d6af3523ae6e75658562ec510368f5f8df4
Author: Akira Hatanaka <ahatanak at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGCleanup.cpp
M clang/lib/CodeGen/CodeGenFunction.h
Log Message:
-----------
[CodeGen] Remove IsVolatile from DominatingValue<RValue>::save_type (#95165)
Prior to 84780af4b02cb3b86e4cb724f996bf8e02f2f2e7, the class didn't have
any information about whether the saved value was volatile.
This is NFC as far as I can tell.
Commit: 35f9e5f51d52ed4a5653405345c18e07673a6b73
https://github.com/llvm/llvm-project/commit/35f9e5f51d52ed4a5653405345c18e07673a6b73
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/test/DebugInfo/symbolize-gnu-debuglink-no-realpath.test
M llvm/test/Other/lit-unicode.txt
M llvm/test/tools/llvm-rc/windres-prefix.test
Log Message:
-----------
[test] Skip some tests on Windows only (#95205)
These tests do not require bash. Skip them because they use features not
available on Windows. This is a follow up to #94595.
Commit: 1216e7045f78b8b2eae02ba5c729696177cdce3e
https://github.com/llvm/llvm-project/commit/1216e7045f78b8b2eae02ba5c729696177cdce3e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Log Message:
-----------
[DAG] getNode - add value type assertions for AVG nodes.
Commit: bce2498767d15724c1fbba8606f684f621a0a897
https://github.com/llvm/llvm-project/commit/bce2498767d15724c1fbba8606f684f621a0a897
Author: Martin Storsjö <martin at martin.st>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M .github/workflows/libcxx-build-and-test.yaml
Log Message:
-----------
[libcxx] [ci] Update Clang for Windows jobs to 18.1.x (#95228)
Pick the latest version available in Chocolatey (18.1.6) and llvm-mingw
(20240606, which includes LLVM 18.1.7).
Also add the flag "--allow-downgrade" when installing a specific version
of LLVM. If the preinstalled version is higher than the requested one,
Chocolatey would otherwise error out when requesting installing a lower
version. This will avoid errors in the future, if the runner image comes
preinstalled with a newer version of LLVM.
(This currently seems to happen with a recent version of the GitHub
Actions runner image, version 20240610.1.0 has LLVM 18.1.6 already
preinstalled, and will error out when trying to install the 17.0.6
version that we previously requested.)
Commit: 11399028ba2d74de770f46e7044ee0f008b01778
https://github.com/llvm/llvm-project/commit/11399028ba2d74de770f46e7044ee0f008b01778
Author: Rodrigo Salazar <4rodrigosalazar at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libcxx/src/filesystem/operations.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/weakly_canonical.pass.cpp
Log Message:
-----------
[libcxx] Correct and clean-up filesystem operations error_code paths (#88341)
3 error_code related cleanups/corrections in the std::filesystem
operations functions.
1. In `__copy`, the `ec->clear()` is unnecessary as `ErrorHandler` at
the start of each function clears the error_code as part of its
initialization.
2. In `__copy`, in the recursive codepath we are not checking the
error_code result of `it.increment(m_ec2)` immediately after use in the
for loop condition (and we aren't checking it after the final increment
when we don't enter the loop).
3. In `__weakly_canonical`, it makes calls to `__canonical` (which
internally uses OS APIs implementing POSIX `realpath`) and we are not
checking the error code result from the `__canonical` call. Both
`weakly_canonical` and `canonical` are supposed to set the error_code
when underlying OS APIs result in an error
(https://eel.is/c++draft/fs.err.report#3.1). With this change we
propagate up the error_code from `__canonical` caused by any underlying
OS API failure up to the `__weakly_canonical`. Essentially, if
`__canonical` thinks an error code should be set, then
`__weakly_canonical` must as well. Before this change it would be
throwing an exception in the non-error_code form of the function when
`__canonical` fails, while not setting the error code in the error_code
form of the function (an inconsistency).
Added a little coverage in weakly_canonical.pass.cpp for the error_code
forms of the API that was missing. Though I am lacking utilities in
libcxx testing to add granular testing of the failure scenarios (like
forcing realpath to fail for a given path, as it could if you had
something like a flaky remote filesystem).
Commit: 9540950a45eee79a3ae4e9e0fa92d72b703d14dd
https://github.com/llvm/llvm-project/commit/9540950a45eee79a3ae4e9e0fa92d72b703d14dd
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libcxx/benchmarks/algorithms/pstl.stable_sort.bench.cpp
M libcxx/include/CMakeLists.txt
M libcxx/include/__algorithm/pstl.h
R libcxx/include/__algorithm/pstl_frontend_dispatch.h
M libcxx/include/__numeric/pstl.h
A libcxx/include/__pstl/backend.h
A libcxx/include/__pstl/backend_fwd.h
A libcxx/include/__pstl/backends/default.h
M libcxx/include/__pstl/backends/libdispatch.h
M libcxx/include/__pstl/backends/serial.h
M libcxx/include/__pstl/backends/std_thread.h
R libcxx/include/__pstl/configuration.h
R libcxx/include/__pstl/configuration_fwd.h
M libcxx/include/__pstl/cpu_algos/any_of.h
M libcxx/include/__pstl/cpu_algos/fill.h
M libcxx/include/__pstl/cpu_algos/find_if.h
M libcxx/include/__pstl/cpu_algos/for_each.h
M libcxx/include/__pstl/cpu_algos/merge.h
M libcxx/include/__pstl/cpu_algos/stable_sort.h
M libcxx/include/__pstl/cpu_algos/transform.h
M libcxx/include/__pstl/cpu_algos/transform_reduce.h
A libcxx/include/__pstl/dispatch.h
A libcxx/include/__pstl/handle_exception.h
M libcxx/include/module.modulemap
M libcxx/test/libcxx/algorithms/pstl.iterator-requirements.verify.cpp
R libcxx/test/libcxx/algorithms/pstl.robust_against_customization_points_not_working.pass.cpp
M libcxx/test/libcxx/transitive_includes/cxx17.csv
M libcxx/test/libcxx/transitive_includes/cxx20.csv
M libcxx/test/libcxx/transitive_includes/cxx23.csv
M libcxx/test/libcxx/transitive_includes/cxx26.csv
Log Message:
-----------
[libc++] Overhaul the PSTL dispatching mechanism (#88131)
The experimental PSTL's current dispatching mechanism was designed with
flexibility in mind. However, while reviewing the in-progress OpenMP
backend, I realized that the dispatching mechanism based on ADL and
default definitions in the frontend had several downsides. To name a
few:
1. The dispatching of an algorithm to the back-end and its default
implementation is bundled together via `_LIBCPP_PSTL_CUSTOMIZATION_POINT`.
This makes the dispatching really confusing and leads to annoyances
such as variable shadowing and weird lambda captures in the front-end.
2. The distinction between back-end functions and front-end algorithms
is not as clear as it could be, which led us to call one where we meant
the other in a few cases. This is bad due to the exception requirements
of the PSTL: calling a front-end algorithm inside the implementation of
a back-end is incorrect for exception-safety.
3. There are two levels of back-end dispatching in the PSTL, which treat
CPU backends as a special case. This was confusing and not as flexible
as we'd like. For example, there was no straightforward way to dispatch
all uses of `unseq` to a specific back-end from the OpenMP backend,
or for CPU backends to fall back on each other.
This patch rewrites the backend dispatching mechanism to solve these
problems, but doesn't touch any of the actual implementation of
algorithms. Specifically, this rewrite has the following
characteristics:
- There is a single level of backend dispatching, however partial backends can
be stacked to provide a full implementation of the PSTL. The two-level dispatching
that was used for CPU-based backends is handled by providing CPU-based basis
operations as simple helpers that can easily be reused when defining any PSTL
backend.
- The default definitions for algorithms are separated from their dispatching logic.
- The front-end is thus simplified a whole lot and made very consistent
for all algorithms, which makes it easier to audit the front-end for
things like exception-correctness, appropriate forwarding, etc.
Fixes #70718
Commit: 3f42fee6010ccd5ef3a3c2c2b3822133f8d29dfd
https://github.com/llvm/llvm-project/commit/3f42fee6010ccd5ef3a3c2c2b3822133f8d29dfd
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libcxx/include/__pstl/cpu_algos/for_each.h
M libcxx/include/__pstl/cpu_algos/transform.h
Log Message:
-----------
[libc++][NFC] Rename __simd_walk functions to give more descriptive names
Commit: fe4cd104a8dbac4f09ff1f930909381dfa789bc7
https://github.com/llvm/llvm-project/commit/fe4cd104a8dbac4f09ff1f930909381dfa789bc7
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libcxx/include/__algorithm/pstl.h
Log Message:
-----------
[libc++][NFC] Fix typo in concept PSTL concept check
Commit: c5790206f719c8fac168ae488420f31800d55cf0
https://github.com/llvm/llvm-project/commit/c5790206f719c8fac168ae488420f31800d55cf0
Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M lldb/test/API/commands/target/basic/Makefile
M lldb/test/API/lang/c/global_variables/Makefile
M lldb/test/API/lang/cpp/char8_t/Makefile
Log Message:
-----------
[lldb] Fix linker flags in lldb tests
This is a fixup to https://github.com/llvm/llvm-project/pull/93808,
which used LDFLAGS instead of the correct LD_EXTRAS
Commit: 90a154e07db67a1e5e84890f1baf61c2cdc916d9
https://github.com/llvm/llvm-project/commit/90a154e07db67a1e5e84890f1baf61c2cdc916d9
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
Log Message:
-----------
[gn build] Port 9540950a45ee
Commit: 9a1611f938ab4c1a0b32e0e7f6a61333dfdd4e79
https://github.com/llvm/llvm-project/commit/9a1611f938ab4c1a0b32e0e7f6a61333dfdd4e79
Author: Michael Jones <michaelrj at google.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libc/src/stdio/baremetal/CMakeLists.txt
M libc/src/stdio/baremetal/printf.cpp
A libc/src/stdio/baremetal/putchar.cpp
Log Message:
-----------
[libc] Add baremetal putchar (#95182)
In #94685 I discussed my ideas for cleaner baremetal output writing.
This patch is not that. This patch just uses `write_to_stderr` for
outputting from putchar and printf on baremetal. I'm still planning to
create a proper design for writing to stdout and stderr on various
platforms, but that will be a followup patch.
Commit: c36961bd96583f0d63b78030bd5587b84b1d6cee
https://github.com/llvm/llvm-project/commit/c36961bd96583f0d63b78030bd5587b84b1d6cee
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libcxx/docs/FeatureTestMacroTable.rst
M libcxx/docs/Status/Cxx20Papers.csv
M libcxx/include/version
M libcxx/test/std/language.support/support.limits/support.limits.general/compare.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
M libcxx/utils/generate_feature_test_macro_components.py
Log Message:
-----------
[libc++] Adds __cpp_lib_three_way_comparison FTM. (#91515)
The paper
P0768R1 Library Support for the Spaceship (Comparison) Operator
did not add a feature-test macro. This omission has been corrected in
P1353R0 Missing Feature Test Macros
This enables the FTM for P0768R1
Fixes: https://github.com/llvm/llvm-project/issues/73953
---------
Co-authored-by: S. B. Tam <cpplearner at outlook.com>
Commit: 759fb590da445e1bf572ac295d0d76b950cf3b8e
https://github.com/llvm/llvm-project/commit/759fb590da445e1bf572ac295d0d76b950cf3b8e
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libcxx/docs/FeatureTestMacroTable.rst
M libcxx/docs/Status/Cxx23Papers.csv
M libcxx/include/version
M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
M libcxx/utils/generate_feature_test_macro_components.py
Log Message:
-----------
[libc++][modules] Mark as implemented. (#90091)
The feature has been implemented in LLVM 18 as an experimental feature.
This marks the paper as complete and sets the feature-test macro.
Implements
- P2465R3 Standard Library Modules std and std.compat
Fixes: https://github.com/llvm/llvm-project/issues/89579
Commit: 1a0e67d73023e7ad9e7e79f66afb43a6f2561d04
https://github.com/llvm/llvm-project/commit/1a0e67d73023e7ad9e7e79f66afb43a6f2561d04
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
A llvm/include/llvm/ADT/DynamicAPInt.h
A llvm/include/llvm/ADT/SlowDynamicAPInt.h
M llvm/lib/Support/CMakeLists.txt
A llvm/lib/Support/DynamicAPInt.cpp
A llvm/lib/Support/SlowDynamicAPInt.cpp
M llvm/unittests/ADT/CMakeLists.txt
A llvm/unittests/ADT/DynamicAPIntTest.cpp
M mlir/include/mlir/Analysis/Presburger/Barvinok.h
M mlir/include/mlir/Analysis/Presburger/Fraction.h
M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
M mlir/include/mlir/Analysis/Presburger/LinearTransform.h
R mlir/include/mlir/Analysis/Presburger/MPInt.h
M mlir/include/mlir/Analysis/Presburger/Matrix.h
M mlir/include/mlir/Analysis/Presburger/PWMAFunction.h
M mlir/include/mlir/Analysis/Presburger/PresburgerRelation.h
M mlir/include/mlir/Analysis/Presburger/Simplex.h
R mlir/include/mlir/Analysis/Presburger/SlowMPInt.h
M mlir/include/mlir/Analysis/Presburger/Utils.h
M mlir/include/mlir/Support/LLVM.h
M mlir/lib/Analysis/FlatLinearValueConstraints.cpp
M mlir/lib/Analysis/Presburger/Barvinok.cpp
M mlir/lib/Analysis/Presburger/CMakeLists.txt
M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
M mlir/lib/Analysis/Presburger/LinearTransform.cpp
R mlir/lib/Analysis/Presburger/MPInt.cpp
M mlir/lib/Analysis/Presburger/Matrix.cpp
M mlir/lib/Analysis/Presburger/PWMAFunction.cpp
M mlir/lib/Analysis/Presburger/PresburgerRelation.cpp
M mlir/lib/Analysis/Presburger/Simplex.cpp
R mlir/lib/Analysis/Presburger/SlowMPInt.cpp
M mlir/lib/Analysis/Presburger/Utils.cpp
M mlir/unittests/Analysis/Presburger/CMakeLists.txt
M mlir/unittests/Analysis/Presburger/FractionTest.cpp
M mlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp
M mlir/unittests/Analysis/Presburger/LinearTransformTest.cpp
R mlir/unittests/Analysis/Presburger/MPIntTest.cpp
M mlir/unittests/Analysis/Presburger/MatrixTest.cpp
M mlir/unittests/Analysis/Presburger/SimplexTest.cpp
M mlir/unittests/Analysis/Presburger/Utils.h
M mlir/unittests/Analysis/Presburger/UtilsTest.cpp
Log Message:
-----------
Reland "mlir/Presburger/MPInt: move into llvm/ADT" (#95254)
Change: remove guards on debug-printing, to allow Release builds without
LLVM_ENABLE_DUMP to pass.
MPInt is an arbitrary-precision integer library that builds on top of
APInt, and has a fast-path when the number fits within 64 bits. It was
originally written for the Presburger library in MLIR, but seems useful
to the LLVM project in general, independently of the Presburger library
or MLIR. Hence, move it into LLVM/ADT under the name DynamicAPInt.
This patch is part of a project to move the Presburger library into
LLVM.
Commit: e286ecfecf50fd8eff2e7003131d2c845cb6045f
https://github.com/llvm/llvm-project/commit/e286ecfecf50fd8eff2e7003131d2c845cb6045f
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M flang/include/flang/Parser/token-sequence.h
M flang/lib/Parser/prescan.cpp
M flang/lib/Parser/prescan.h
M flang/lib/Parser/token-sequence.cpp
M flang/test/Preprocessing/directive-contin-with-pp.F90
Log Message:
-----------
[flang] Disable Fortran free form line continuation in non-source lin… (#94663)
…e produced by keyword macro replacement
When later initial keyword macro replacement will yield a line that is
not Fortran source, don't interpret "&" as a Fortran source line
continuation marker during tokenization of the line.
Fixes https://github.com/llvm/llvm-project/issues/82579.
Commit: 04a09b9b0c6da9adc8662ec46c8d2487b73cb5e4
https://github.com/llvm/llvm-project/commit/04a09b9b0c6da9adc8662ec46c8d2487b73cb5e4
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] Use isNullConstantOrUndef helper. NFC.
Commit: 760ad23e4811b81f8727d0a12b2d13149a45c72f
https://github.com/llvm/llvm-project/commit/760ad23e4811b81f8727d0a12b2d13149a45c72f
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/test/CodeGen/AArch64/arm64-vhadd.ll
Log Message:
-----------
[DAG] combineShiftToAVG - ensure the reduced demanded value type is smaller than the original.
Now we have promotion support we should be able to remove the next-power-of-2 code entirely, but this is good enough for now.
Commit: 00fa3fbfb846756a902527cdd793f1ad7ad9369b
https://github.com/llvm/llvm-project/commit/00fa3fbfb846756a902527cdd793f1ad7ad9369b
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/lib/ProfileData/InstrProf.cpp
M llvm/unittests/ProfileData/InstrProfTest.cpp
Log Message:
-----------
[ProfileData] Compute sum in annotateValueSite (NFC) (#95199)
getValueForSite computes the total count -- the total number of times
a given value site is visited. The problem is that, excluding tests,
annotateValueSite is the only place that needs the total count.
This patch moves the total count computation to annotateValueSite.
Commit: 15a699f98ebc9d7d2dad31ef4b8bd31d1c371e38
https://github.com/llvm/llvm-project/commit/15a699f98ebc9d7d2dad31ef4b8bd31d1c371e38
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/ADT/BUILD.gn
Log Message:
-----------
[gn build] Port 1a0e67d73023
Commit: bf7c505847aa58af23f14ee986ee4bb7acf22e62
https://github.com/llvm/llvm-project/commit/bf7c505847aa58af23f14ee986ee4bb7acf22e62
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVFeatures.td
Log Message:
-----------
[RISCV] Rename FeaturesSsqosid->FeaturesStdExtSsqosid. NFC
Commit: c42bbda42542cbf811f42a288f63b10e72e204de
https://github.com/llvm/llvm-project/commit/c42bbda42542cbf811f42a288f63b10e72e204de
Author: Peiming Liu <peiming at google.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/SparseTensor/IR/Enums.h
M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.h
M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
M mlir/lib/Dialect/SparseTensor/Transforms/CMakeLists.txt
A mlir/lib/Dialect/SparseTensor/Transforms/SparseIterationToScf.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorPasses.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.h
A mlir/test/Dialect/SparseTensor/sparse_iteration_to_scf.mlir
M mlir/test/Dialect/SparseTensor/sparse_space_collapse.mlir
Log Message:
-----------
[mlir][sparse] implement lowering rules for ExtractIterSpaceOp. (#89143)
**DO NOT MERGE** until https://github.com/llvm/llvm-project/pull/89003
Commit: ca33796d54ce6d2c711032b269caf32851c5915a
https://github.com/llvm/llvm-project/commit/ca33796d54ce6d2c711032b269caf32851c5915a
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
A llvm/test/CodeGen/RISCV/pr95271.ll
Log Message:
-----------
[DAG] combineShiftToAVG - only create new types before LegalTypes
Fixes #95271
Commit: 7665d3d90da7f32e56cb57eb192dc8f189730686
https://github.com/llvm/llvm-project/commit/7665d3d90da7f32e56cb57eb192dc8f189730686
Author: Iman Hosseini <hosseini.iman at yahoo.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/CUF/CUFOps.td
M flang/lib/Lower/Bridge.cpp
M flang/lib/Optimizer/Dialect/CUF/CUFOps.cpp
A flang/test/Lower/CUDA/cuda-kernel-do-reduction.cuf
Log Message:
-----------
[flang] Add reductions for CUF Kernels: Lowering (#95184)
* Add reductionOperands and reductionAttrs to cuf's KernelOp.
* Parsing is already working and the tree has the info: here I make the
Bridge emit the updated KernelOp with reduction information added.
* Check |reductionAttrs| = |reductionOperands| in verifier
* Add a test
@clementval @vzakhari
---------
Co-authored-by: Iman Hosseini <imanh at nvidia.com>
Co-authored-by: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Commit: af0d7128c8fd053d3de8af208d7d1682bc7a525a
https://github.com/llvm/llvm-project/commit/af0d7128c8fd053d3de8af208d7d1682bc7a525a
Author: Pierre d'Herbemont <pdherbemont at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/docs/ThreadSafetyAnalysis.rst
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Sema/Sema.h
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/test/AST/ast-dump-color.cpp
M clang/test/Sema/warn-thread-safety-analysis.c
M clang/test/SemaCXX/warn-thread-safety-parsing.cpp
Log Message:
-----------
Support `guarded_by` attribute and related attributes inside C structs and support late parsing them (#94216)
This fixes #20777.
Previously the `guarded_by`, `pt_guarded_by`, `acquired_after`, and `acquired_before` attributes were only supported inside C++ classes or top level C/C++ declaration.
This patch allows these attributes to be added to struct members in C. These attributes have also now support experimental late parsing. This is off by default but can be enabled by passing `-fexperimental-late-parse-attributes`. This is useful for referring to a struct member after the annotated member. E.g.
```
struct Example {
int a_value_defined_before __attribute__ ((guarded_by(a_mutex)));
struct Mutex *a_mutex;
};
```
Patch by Pierre d'Herbemont (@pdherbemont)
Commit: 31440738bd6b1345ea978914fe01d2e19f4aa373
https://github.com/llvm/llvm-project/commit/31440738bd6b1345ea978914fe01d2e19f4aa373
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/lib/ProfileData/InstrProf.cpp
Log Message:
-----------
[ProfileData] Use std::vector for ValueData (NFC) (#95194)
This patch changes the type of ValueData to
std::vector<InstrProfValueData> so that, in a follow-up patch, we can
teach getValueForSite to return ArrayRef<InstrProfValueData>.
Currently, a typical traversal over the value data looks like:
uint32_t NV = Func.getNumValueDataForSite(VK, I);
std::unique_ptr<InstrProfValueData[]> VD = Func.getValueForSite(VK, I);
for (uint32_t V = 0; V < NV; V++)
Do something with VD[V].Value and/or VD[V].Count;
Note that we need to call getNumValueDataForSite and getValueForSite
separately. If getValueForSite returns ArrayRef<InstrProfValueData>
in the future, then we'll be able to do something like:
for (const auto &V : Func.getValueForSite(VK, I))
Do something with V.Value and/or V.Count;
If ArrayRef<InstrProfValueData> directly points to ValueData, then
getValueForSite won't need to allocate memory with std::make_unique.
Now, switching to std::vector requires us to update several places:
- sortByTargetValues switches to llvm::sort because we don't need to
worry about sort stability.
- sortByCount retains sort stability because std::list::sort also
performs stable sort.
- merge builds another array and move it back to ValueData to avoid a
potential quadratic behavior with std::vector::insert into the
middle of a vector.
Commit: 25af23f52a62e9f0d835ae167567ceb9831546a7
https://github.com/llvm/llvm-project/commit/25af23f52a62e9f0d835ae167567ceb9831546a7
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
A llvm/test/CodeGen/RISCV/pr95284.ll
Log Message:
-----------
[RISCV] Add test coverage for #95284
Commit: 987b59abd0f7353cabf2f620a61ec903a885522a
https://github.com/llvm/llvm-project/commit/987b59abd0f7353cabf2f620a61ec903a885522a
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
A llvm/test/CodeGen/X86/pr95278.ll
Log Message:
-----------
[X86] SimplifyDemandedVectorEltsForTargetNode - use EVT for F16C nodes
As we allow these nodes to be created pre-legalization, we can't rely on them having a simple VT
Fixes #95278
Commit: abedb3b8356d5d56f1c575c4f7682fba2cb19787
https://github.com/llvm/llvm-project/commit/abedb3b8356d5d56f1c575c4f7682fba2cb19787
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGenTypes/MachineValueType.h
M llvm/utils/TableGen/Common/CodeGenTarget.cpp
M llvm/utils/TableGen/VTEmitter.cpp
Log Message:
-----------
[CodeGenTypes] Speed up getVectorElementType and getVectorMinNumElements (#95282)
Implement MVT::getVectorElementType and MVT::getVectorMinNumElements
with table lookup instead of switch.
This speeds up "check-llvm-codegen-amdgpu" by about 7% in my Release
build.
Commit: 7b8038426c52d5fee9c2f4cfe3e747e3a2b8efec
https://github.com/llvm/llvm-project/commit/7b8038426c52d5fee9c2f4cfe3e747e3a2b8efec
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libcxx/include/__pstl/cpu_algos/any_of.h
M libcxx/include/__pstl/cpu_algos/fill.h
M libcxx/include/__pstl/cpu_algos/find_if.h
M libcxx/include/__pstl/cpu_algos/for_each.h
M libcxx/include/__pstl/cpu_algos/merge.h
M libcxx/include/__pstl/cpu_algos/stable_sort.h
M libcxx/include/__pstl/cpu_algos/transform.h
M libcxx/include/__pstl/cpu_algos/transform_reduce.h
Log Message:
-----------
[libc++] Move the implementation of CPU-based basis operations to namespace __pstl (#95267)
They were always intended to be in that namespace but I was trying to
keep changes orthogonal.
Commit: 294f3ce5dde916c358d8f672b4a1c706c0387154
https://github.com/llvm/llvm-project/commit/294f3ce5dde916c358d8f672b4a1c706c0387154
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/test/CodeGenCXX/attr-likelihood-if-vs-builtin-expect.cpp
M llvm/docs/BranchWeightMetadata.rst
M llvm/include/llvm/IR/MDBuilder.h
M llvm/include/llvm/IR/ProfDataUtils.h
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/IR/Instruction.cpp
M llvm/lib/IR/Instructions.cpp
M llvm/lib/IR/MDBuilder.cpp
M llvm/lib/IR/Metadata.cpp
M llvm/lib/IR/ProfDataUtils.cpp
M llvm/lib/IR/Verifier.cpp
M llvm/lib/Transforms/IPO/SampleProfile.cpp
M llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
M llvm/lib/Transforms/Scalar/JumpThreading.cpp
M llvm/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
M llvm/lib/Transforms/Utils/Local.cpp
M llvm/lib/Transforms/Utils/LoopPeel.cpp
M llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LowerExpectIntrinsic/basic.ll
M llvm/test/Transforms/LowerExpectIntrinsic/expect-with-probability.ll
M llvm/test/Transforms/LowerExpectIntrinsic/expect_nonboolean.ll
M llvm/test/Transforms/LowerExpectIntrinsic/phi_merge.ll
M llvm/test/Transforms/LowerExpectIntrinsic/phi_or.ll
M llvm/test/Transforms/LowerExpectIntrinsic/phi_tern.ll
M llvm/test/Transforms/LowerExpectIntrinsic/phi_unexpect.ll
M llvm/test/Transforms/PhaseOrdering/AArch64/hoist-runtime-checks.ll
Log Message:
-----------
Reapply "[llvm][IR] Extend BranchWeightMetadata to track provenance o… (#95281)
…f weights" #95136
Reverts #95060, and relands #86609, with the unintended code generation
changes addressed.
This patch implements the changes to LLVM IR discussed in
https://discourse.llvm.org/t/rfc-update-branch-weights-metadata-to-allow-tracking-branch-weight-origins/75032
In this patch, we add an optional field to MD_prof meatdata nodes for
branch weights, which can be used to distinguish weights added from
llvm.expect* intrinsics from those added via other methods, e.g. from
profiles or inserted by the compiler.
One of the major motivations, is for use with MisExpect diagnostics,
which need to know if branch_weight metadata originates from an
llvm.expect intrinsic. Without that information, we end up checking
branch weights multiple times in the case if ThinLTO + SampleProfiling,
leading to some inaccuracy in how we report MisExpect related
diagnostics to users.
Since we change the format of MD_prof metadata in a fundamental way, we
need to update code handling branch weights in a number of places.
We also update the lang ref for branch weights to reflect the change.
Commit: 682d461d5a231cee54d65910e6341769419a67d7
https://github.com/llvm/llvm-project/commit/682d461d5a231cee54d65910e6341769419a67d7
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang-tools-extra/test/pp-trace/pp-trace-macro.cpp
M clang/docs/LanguageExtensions.rst
M clang/include/clang/AST/Expr.h
M clang/include/clang/AST/RecursiveASTVisitor.h
M clang/include/clang/AST/TextNodeDumper.h
M clang/include/clang/Basic/DiagnosticCommonKinds.td
M clang/include/clang/Basic/DiagnosticLexKinds.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/FileManager.h
M clang/include/clang/Basic/StmtNodes.td
M clang/include/clang/Basic/TokenKinds.def
M clang/include/clang/Driver/Options.td
M clang/include/clang/Frontend/PreprocessorOutputOptions.h
M clang/include/clang/Lex/PPCallbacks.h
R clang/include/clang/Lex/PPDirectiveParameter.h
R clang/include/clang/Lex/PPEmbedParameters.h
M clang/include/clang/Lex/Preprocessor.h
M clang/include/clang/Lex/PreprocessorOptions.h
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Sema/Sema.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/lib/AST/Expr.cpp
M clang/lib/AST/ExprClassification.cpp
M clang/lib/AST/ExprConstant.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/lib/AST/ItaniumMangle.cpp
M clang/lib/AST/StmtPrinter.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/Basic/FileManager.cpp
M clang/lib/Basic/IdentifierTable.cpp
M clang/lib/CodeGen/CGExprAgg.cpp
M clang/lib/CodeGen/CGExprConstant.cpp
M clang/lib/CodeGen/CGExprScalar.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Frontend/DependencyFile.cpp
M clang/lib/Frontend/DependencyGraph.cpp
M clang/lib/Frontend/InitPreprocessor.cpp
M clang/lib/Frontend/PrintPreprocessedOutput.cpp
M clang/lib/Lex/PPDirectives.cpp
M clang/lib/Lex/PPExpressions.cpp
M clang/lib/Lex/PPMacroExpansion.cpp
M clang/lib/Lex/TokenConcatenation.cpp
M clang/lib/Parse/ParseExpr.cpp
M clang/lib/Parse/ParseInit.cpp
M clang/lib/Parse/ParseTemplate.cpp
M clang/lib/Sema/SemaExceptionSpec.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaInit.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTReaderStmt.cpp
M clang/lib/Serialization/ASTWriterStmt.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
R clang/test/C/C2x/Inputs/bits.bin
R clang/test/C/C2x/Inputs/boop.h
R clang/test/C/C2x/Inputs/i.dat
R clang/test/C/C2x/Inputs/jump.wav
R clang/test/C/C2x/Inputs/s.dat
R clang/test/C/C2x/n3017.c
R clang/test/Preprocessor/Inputs/jk.txt
R clang/test/Preprocessor/Inputs/media/art.txt
R clang/test/Preprocessor/Inputs/media/empty
R clang/test/Preprocessor/Inputs/null_byte.bin
R clang/test/Preprocessor/Inputs/numbers.txt
R clang/test/Preprocessor/Inputs/single_byte.txt
R clang/test/Preprocessor/embed___has_embed.c
R clang/test/Preprocessor/embed___has_embed_parsing_errors.c
R clang/test/Preprocessor/embed___has_embed_supported.c
R clang/test/Preprocessor/embed_art.c
R clang/test/Preprocessor/embed_codegen.cpp
R clang/test/Preprocessor/embed_constexpr.cpp
R clang/test/Preprocessor/embed_dependencies.c
R clang/test/Preprocessor/embed_ext_compat_diags.c
R clang/test/Preprocessor/embed_feature_test.cpp
R clang/test/Preprocessor/embed_file_not_found_chevron.c
R clang/test/Preprocessor/embed_file_not_found_quote.c
R clang/test/Preprocessor/embed_init.c
R clang/test/Preprocessor/embed_parameter_if_empty.c
R clang/test/Preprocessor/embed_parameter_limit.c
R clang/test/Preprocessor/embed_parameter_offset.c
R clang/test/Preprocessor/embed_parameter_prefix.c
R clang/test/Preprocessor/embed_parameter_suffix.c
R clang/test/Preprocessor/embed_parameter_unrecognized.c
R clang/test/Preprocessor/embed_parsing_errors.c
R clang/test/Preprocessor/embed_path_chevron.c
R clang/test/Preprocessor/embed_path_quote.c
R clang/test/Preprocessor/embed_preprocess_to_file.c
R clang/test/Preprocessor/embed_single_entity.c
R clang/test/Preprocessor/embed_weird.cpp
M clang/test/Preprocessor/init-aarch64.c
M clang/test/Preprocessor/init.c
R clang/test/Preprocessor/single_byte.txt
M clang/tools/libclang/CXCursor.cpp
M clang/www/c_status.html
Log Message:
-----------
Revert "✨ [Sema, Lex, Parse] Preprocessor embed in C and C++ (and Obj-C and Obj-C++ by-proxy)" (#95299)
Reverts llvm/llvm-project#68620
Introduce or expose a memory leak and UB, see llvm/llvm-project#68620
Commit: 0cb2ae33cd51484fa724f380bfbe9c5d896d3c6f
https://github.com/llvm/llvm-project/commit/0cb2ae33cd51484fa724f380bfbe9c5d896d3c6f
Author: Florian Mayer <fmayer at google.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/AccelTable.h
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.cpp
R llvm/test/DebugInfo/X86/debug-names-types-die-offset-collision.ll
Log Message:
-----------
Revert "[CLANG][DWARF] Handle DIE offset collision in DW_IDX_parent" (#95302)
Reverts llvm/llvm-project#95039
This looks like it caused the ASan bot to fail:
https://lab.llvm.org/buildbot/#/builders/168/builds/20912
Offending line was changed in this PR
Commit: d6bbe2e20ff21cc2d31106742dfe1711ae5c641e
https://github.com/llvm/llvm-project/commit/d6bbe2e20ff21cc2d31106742dfe1711ae5c641e
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libc/include/llvm-libc-macros/limits-macros.h
Log Message:
-----------
[libc] Fix definition of `UINT_MAX` in limits.h (#95279)
Summary:
Currently we use `(~0U)` for this definition, however the ~ operator
returns a different sign, meaning that preprocessor checks against this
value will fail. See https://godbolt.org/z/TrjaY1d8q where the
preprocessor thinks that it's not `0xffffffff` while the static
assertion thinks it is. This is because the latter does implicit
conversion but the preprocessor does not. This is now consistent with
other headers.
Commit: 2c6f4864d14402ab815c050caefb23196796694d
https://github.com/llvm/llvm-project/commit/2c6f4864d14402ab815c050caefb23196796694d
Author: Eric Fiselier <eric at efcs.ca>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libcxx/utils/ci/docker-compose.yml
Log Message:
-----------
Update actions-runner version for libc++ builder images
Commit: 2cc4bc132cbcc76c5552cbc128830943ea596b3e
https://github.com/llvm/llvm-project/commit/2cc4bc132cbcc76c5552cbc128830943ea596b3e
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCFragment.h
M llvm/lib/MC/MCFragment.cpp
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/test/MC/ELF/layout-interdependency.s
Log Message:
-----------
MCFragment: Initialize Offset to 0
After 9d0754ada5dbbc0c009bcc2f7824488419cc5530 ("[MC] Relax fragments
eagerly") removes the assert of Offset, it is no longer useful to
initialize the member to -1.
Now the symbol value estimate is more precise, which leads to slight
behavior change to layout-interdependency.s.
Commit: 148417bfaadf3c4c36074f3232ba6938dd6cbc61
https://github.com/llvm/llvm-project/commit/148417bfaadf3c4c36074f3232ba6938dd6cbc61
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libcxx/cmake/caches/Generic-msan.cmake
M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.local_time.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/sys_info.zdump.pass.cpp
Log Message:
-----------
[libc++] Mark local_time test as a long test (#95170)
It can otherwise timeout under some slow configurations.
Commit: acb896a344caf5a49cc07ba9c6bc4e8d1db0da6d
https://github.com/llvm/llvm-project/commit/acb896a344caf5a49cc07ba9c6bc4e8d1db0da6d
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libcxx/include/__algorithm/pstl.h
M libcxx/include/__numeric/pstl.h
M libcxx/include/__pstl/backends/default.h
M libcxx/include/__pstl/backends/libdispatch.h
M libcxx/include/__pstl/backends/serial.h
M libcxx/include/__pstl/backends/std_thread.h
M libcxx/include/__pstl/cpu_algos/any_of.h
M libcxx/include/__pstl/cpu_algos/fill.h
M libcxx/include/__pstl/cpu_algos/find_if.h
M libcxx/include/__pstl/cpu_algos/for_each.h
M libcxx/include/__pstl/cpu_algos/merge.h
M libcxx/include/__pstl/cpu_algos/stable_sort.h
M libcxx/include/__pstl/cpu_algos/transform.h
M libcxx/include/__pstl/cpu_algos/transform_reduce.h
Log Message:
-----------
[libc++] Remove unnecessary #ifdef guards around PSTL implementation details (#95268)
We want the PSTL implementation details to be available regardless of
the Standard mode or whether the experimental PSTL is enabled. This
patch guards the inclusion of the PSTL to the top-level headers that
define the public API in `__numeric` and `__algorithm`.
Commit: 8f6acd973a38da6dce45faa676cbb51da37f72e5
https://github.com/llvm/llvm-project/commit/8f6acd973a38da6dce45faa676cbb51da37f72e5
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Darwin.cpp
M clang/test/Driver/debug-options.c
Log Message:
-----------
Bump the DWARF version number to 5 on Darwin. (#95164)
The default debug info format for newer versions of Darwin is DWARF 5.
https://developer.apple.com/documentation/xcode-release-notes/xcode-16-release-notes
rdar://110925733
Commit: 39f78464d5f8794bc836b5e15c92fd1e162a3d0b
https://github.com/llvm/llvm-project/commit/39f78464d5f8794bc836b5e15c92fd1e162a3d0b
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libc/src/__support/fixedvector.h
Log Message:
-----------
[libc][__support] Add constexpr to FixedVector members (#95315)
Commit: f074500b229837b482c4b88d4bdd0e53d1e24ed5
https://github.com/llvm/llvm-project/commit/f074500b229837b482c4b88d4bdd0e53d1e24ed5
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M libc/src/__support/macros/attributes.h
Log Message:
-----------
[libc][macros] Define LIBC_CONSTINIT (#95316)
Commit: c9d580033f29196223cd56a0fa238c3ba51d23e4
https://github.com/llvm/llvm-project/commit/c9d580033f29196223cd56a0fa238c3ba51d23e4
Author: Dan Liew <dan at su-root.co.uk>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/docs/ThreadSafetyAnalysis.rst
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Sema/Sema.h
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/test/AST/ast-dump-color.cpp
M clang/test/Sema/warn-thread-safety-analysis.c
M clang/test/SemaCXX/warn-thread-safety-parsing.cpp
Log Message:
-----------
Revert "Support `guarded_by` attribute and related attributes inside C structs and support late parsing them (#94216)"
This reverts commit af0d7128c8fd053d3de8af208d7d1682bc7a525a.
Reverting due to likely regression:
https://github.com/llvm/llvm-project/pull/94216#issuecomment-2164013300
Commit: fcc4935560720556defff25a9bd4fc44ffa3135b
https://github.com/llvm/llvm-project/commit/fcc4935560720556defff25a9bd4fc44ffa3135b
Author: Florian Mayer <fmayer at google.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Darwin.cpp
M clang/test/Driver/debug-options.c
Log Message:
-----------
Revert "Bump the DWARF version number to 5 on Darwin." (#95325)
Reverts llvm/llvm-project#95164
This broke a buildbot:
https://lab.llvm.org/buildbot/#/builders/37/builds/35987
Commit: 45927d730bcd2aa3380834ca8db96e32a8b2f2b1
https://github.com/llvm/llvm-project/commit/45927d730bcd2aa3380834ca8db96e32a8b2f2b1
Author: Jason Molenda <jason at molenda.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M lldb/test/API/macosx/delay-init-dependency/TestDelayInitDependency.py
Log Message:
-----------
[lldb] Skip delay-init test when run on pre-macOS 15
The test has a check that the static linker supports the new option,
but it assumed the Xcode 16 linker also meant it was running on
macOS 15 and the dynamic linker would honor dependencies flagged
this way. But Xcode 16 can be run on macOS 14.5, so we need to
skip the test in that combination.
Commit: e80c59556d2d71cc2d0dcb2bd712c36cc4043025
https://github.com/llvm/llvm-project/commit/e80c59556d2d71cc2d0dcb2bd712c36cc4043025
Author: Jonathan Thackray <jonathan.thackray at arm.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/test/Driver/aarch64-mcpu.c
M clang/test/Misc/target-invalid-cpu-note.c
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/Target/AArch64/AArch64Processors.td
M llvm/lib/Target/AArch64/AArch64Subtarget.cpp
M llvm/lib/TargetParser/Host.cpp
M llvm/unittests/TargetParser/TargetParserTest.cpp
Log Message:
-----------
[AArch64] Add support for Cortex-A725 and Cortex-X925 (#95214)
Cortex-A725 and Cortex-X925 are Armv9.2 AArch64 CPUs.
Technical Reference Manual for Cortex-A725:
https://developer.arm.com/documentation/107652/latest
Technical Reference Manual for Cortex-X925:
https://developer.arm.com/documentation/102807/latest
Commit: ca91538c9c6f5328f398ac849dcc4230824b007e
https://github.com/llvm/llvm-project/commit/ca91538c9c6f5328f398ac849dcc4230824b007e
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/tools/driver/cc1as_main.cpp
M llvm/lib/CodeGen/LLVMTargetMachine.cpp
M llvm/lib/MC/MCContext.cpp
M llvm/tools/llvm-ml/llvm-ml.cpp
Log Message:
-----------
[MC] Move AllowTemporaryLabels setting to MCContext::MCContext
Also delete `AllowTemporaryLabels = true` from MCContext::reset: when
llc supports -save-temp-labels in the next change, this assignment
should be removed to support -compile-twice.
Commit: a91c8398f22c28618d681497e9856c3a4b8753c3
https://github.com/llvm/llvm-project/commit/a91c8398f22c28618d681497e9856c3a4b8753c3
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h
M llvm/lib/MC/MCTargetOptionsCommandFlags.cpp
M llvm/test/CodeGen/X86/asm-label.ll
R llvm/test/MC/ELF/empty-twice.ll
A llvm/test/MC/ELF/twice.ll
M llvm/tools/llvm-mc/llvm-mc.cpp
Log Message:
-----------
[MC] Move -save-temp-labels from llvm-mc to MCTargetOptionsCommandFlags
so that tools like llc can use the option as well.
ca91538c9c6f5328f398ac849dcc4230824b007e is a prerequisite.
Commit: d125e717df24b2d310d934cca5daf6589566a0d6
https://github.com/llvm/llvm-project/commit/d125e717df24b2d310d934cca5daf6589566a0d6
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCContext.h
M llvm/lib/MC/MCContext.cpp
Log Message:
-----------
[MC] Remove setAllowTemporaryLabels and rename AllowTemporaryLabels
Follow-up to a91c8398f22c28618d681497e9856c3a4b8753c3.
Commit: 86d8aec97fd9e009e9b360ffeee744d3acce730d
https://github.com/llvm/llvm-project/commit/86d8aec97fd9e009e9b360ffeee744d3acce730d
Author: dyung <douglas.yung at sony.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M compiler-rt/test/asan/TestCases/strcpy-overlap.cpp
M compiler-rt/test/asan/TestCases/strdup_oob_test.cpp
M compiler-rt/test/asan/TestCases/use-after-free-right.cpp
Log Message:
-----------
[asan] Attempt to fix tests broken by #94307. (#95340)
Commit: 6784bf764207d267b781b4f515a2fafdcb345509
https://github.com/llvm/llvm-project/commit/6784bf764207d267b781b4f515a2fafdcb345509
Author: Ivy Zhang <yan3.zhang at intel.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
M mlir/lib/Dialect/Arith/Transforms/EmulateUnsupportedFloats.cpp
M mlir/lib/Dialect/Math/Transforms/LegalizeToF32.cpp
M mlir/test/Conversion/ArithToLLVM/arith-to-llvm.mlir
M mlir/test/Dialect/Arith/canonicalize.mlir
M mlir/test/Dialect/Arith/emulate-unsupported-floats.mlir
Log Message:
-----------
[MLIR][Arith] add fastMathAttr on arith::extf and arith::truncf (#93443)
Add an `fastMathAttr` on `arith::extf` and `arith::truncf`. If these two
ops are inserted by some promotion passes (like legalize-to-f32 /
emulate-unsupported-floats), they will be labeled as
`FastMathFlags::contract`, denoting that they can be then `eliminated by
canonicalizer`.
The `elimination` can help improve performance, while may introduce some
numerical differences.
Commit: b06da39cae0f7e2c6b8bc0bb03b734f9715c0bf3
https://github.com/llvm/llvm-project/commit/b06da39cae0f7e2c6b8bc0bb03b734f9715c0bf3
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/cppcoreguidelines/MacroUsageCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/macro-usage.rst
M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/macro-usage.cpp
Log Message:
-----------
[clang-tidy] ignoring macro with hash preprocessing token in cppcoreguidelines-macro-usage (#95265)
`#` and `##` preprocessing tokens cannot be replaced by constexpr
function. It should be ignored in check.
Commit: 2e1ad93961a3f444659c5d02d800e3144acccdb4
https://github.com/llvm/llvm-project/commit/2e1ad93961a3f444659c5d02d800e3144acccdb4
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M clang/include/clang/AST/ASTContext.h
M clang/include/clang/AST/TemplateName.h
M clang/include/clang/AST/Type.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/TemplateName.cpp
M clang/unittests/AST/CMakeLists.txt
A clang/unittests/AST/ProfilingTest.cpp
Log Message:
-----------
[clang] fix broken canonicalization of DeducedTemplateSpecializationType (#95202)
This reverts the functional elements of commit
3e78fa860235431323aaf08c8fa922d75a7cfffa and redoes it, by fixing the
true root cause of #61317.
A TemplateName can be non-canonical; profiling it based on the canonical
name would result in inconsistent preservation of as-written information
in the AST.
The true problem in #61317 is that we would not consider the methods
with requirements expression which contain DTSTs as the same in relation
to merging of declarations when importing modules.
The expressions would never match because they contained DTSTs pointing
to different redeclarations of the same class template, but since
canonicalization for them was broken, their canonical types would not
match either.
---
No changelog entry because #61317 was already claimed as fixed in
previous release.
Commit: 78ee473784e5ef6f0b19ce4cb111fb6e4d23c6b2
https://github.com/llvm/llvm-project/commit/78ee473784e5ef6f0b19ce4cb111fb6e4d23c6b2
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/unittests/AST/BUILD.gn
Log Message:
-----------
[gn build] Port 2e1ad93961a3
Commit: 34aa6c5d9a1df7767d9758836c88ff26f72d0b05
https://github.com/llvm/llvm-project/commit/34aa6c5d9a1df7767d9758836c88ff26f72d0b05
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
M llvm/test/Instrumentation/MemorySanitizer/X86/avx-intrinsics-x86.ll
M llvm/test/Instrumentation/MemorySanitizer/X86/avx2-intrinsics-x86.ll
M llvm/test/Instrumentation/MemorySanitizer/X86/sse41-intrinsics-x86.ll
Log Message:
-----------
[msan] Handle blendv intrinsics (#94882)
blendvs are very similar to select, so we adjust
arguments and forward them into select handler.
Commit: 90a23d3a5a843086124c4b9315ee6a7617965623
https://github.com/llvm/llvm-project/commit/90a23d3a5a843086124c4b9315ee6a7617965623
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M llvm/lib/MC/MCObjectStreamer.cpp
Log Message:
-----------
[MC] Restore setOffset(0) in emitLabel
For bolt/test/runtime/X86/exceptions-pic.test, llvm-bolt seems to call
emitLabel twice and the assert will fail. Work around it after
2cc4bc132cbcc76c5552cbc128830943ea596b3e
Commit: ad726910f0dfa058008b5ea19851517d3bc3a0d2
https://github.com/llvm/llvm-project/commit/ad726910f0dfa058008b5ea19851517d3bc3a0d2
Author: Akira Hatanaka <ahatanak at gmail.com>
Date: 2024-06-12 (Wed, 12 Jun 2024)
Changed paths:
M .ci/generate-buildkite-pipeline-premerge
M .ci/monolithic-linux.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/libcxx-build-and-test.yaml
M .github/workflows/release-binaries.yml
M .github/workflows/restart-preempted-libcxx-jobs.yaml
M bolt/docs/CommandLineArgumentReference.md
A bolt/docs/generate_doc.py
M bolt/include/bolt/Core/BinaryBasicBlock.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/Rewrite/DWARFRewriter.h
M bolt/include/bolt/Rewrite/MetadataManager.h
M bolt/include/bolt/Rewrite/MetadataRewriter.h
M bolt/include/bolt/Rewrite/MetadataRewriters.h
M bolt/include/bolt/Rewrite/RewriteInstance.h
M bolt/lib/Core/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/FunctionLayout.cpp
A bolt/lib/Core/GDBIndex.cpp
M bolt/lib/Passes/IdenticalCodeFolding.cpp
M bolt/lib/Passes/PLTCall.cpp
M bolt/lib/Passes/ValidateMemRefs.cpp
M bolt/lib/Passes/VeneerElimination.cpp
M bolt/lib/Profile/BoltAddressTranslation.cpp
M bolt/lib/Profile/YAMLProfileWriter.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/test/AArch64/Inputs/array_end.lld_script
M bolt/test/AArch64/lit.local.cfg
A bolt/test/AArch64/plt-call.test
R bolt/test/Inputs/lsda.ldscript
A bolt/test/Inputs/plt-tailcall.c
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-skip-forward-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
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
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/linux-alt-instruction.s
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
A bolt/test/X86/plt-call.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/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/shared-object.test
M clang-tools-extra/clang-query/QueryParser.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/bugprone/SizeofExpressionCheck.h
M clang-tools-extra/clang-tidy/cppcoreguidelines/MacroUsageCheck.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/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/performance/UnnecessaryCopyInitialization.cpp
M clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
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/tool/clang-tidy-diff.py
M clang-tools-extra/clang-tidy/utils/DeclRefExprUtils.cpp
M clang-tools-extra/clang-tidy/utils/FormatStringConverter.cpp
M clang-tools-extra/clang-tidy/utils/Matchers.h
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/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/TidyProvider.cpp
M clang-tools-extra/clangd/XRefs.cpp
M clang-tools-extra/clangd/index/remote/CMakeLists.txt
M clang-tools-extra/clangd/refactor/Rename.cpp
M clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
M clang-tools-extra/clangd/unittests/ConfigCompileTests.cpp
M clang-tools-extra/clangd/unittests/ConfigYAMLTests.cpp
M clang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp
M clang-tools-extra/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/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/bugprone/sizeof-expression.rst
A clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/cplusplus.ArrayDelete.rst
A clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/security.SetgidSetuidOrder.rst
A clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/unix.Stream.rst
M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/macro-usage.rst
M clang-tools-extra/docs/clang-tidy/checks/gen-static-analyzer-docs.py
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/include-cleaner/lib/LocateSymbol.cpp
M clang-tools-extra/include-cleaner/unittests/FindHeadersTest.cpp
M clang-tools-extra/pseudo/lib/CMakeLists.txt
M clang-tools-extra/pseudo/lib/cxx/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/bugprone/sizeof-expression-2.c
A clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression-any-pointer.cpp
M clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression.cpp
M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/macro-usage.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/include-cleaner.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/performance/unnecessary-copy-initialization.cpp
M clang-tools-extra/test/clang-tidy/checkers/readability/container-size-empty.cpp
A clang-tools-extra/test/clang-tidy/checkers/readability/implicit-bool-conversion-cxx20.cpp
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/clang-tidy/DeclRefExprUtilsTest.cpp
M clang/CMakeLists.txt
M clang/README.txt
M clang/cmake/caches/CrossWinToARMLinux.cmake
M clang/cmake/caches/Fuchsia-stage2.cmake
M clang/cmake/caches/Release.cmake
M clang/docs/APINotes.rst
M clang/docs/ClangFormatStyleOptions.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/ASTUnresolvedSet.h
M clang/include/clang/AST/CommentCommands.td
M clang/include/clang/AST/CommentParser.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/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/TemplateBase.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/Analyses/ThreadSafetyCommon.h
M clang/include/clang/Analysis/FlowSensitive/ASTOps.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/Builtins.td
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/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/DiagnosticDriverKinds.td
M clang/include/clang/Basic/DiagnosticGroups.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/Features.def
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/Sanitizers.def
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/SanitizerArgs.h
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/Lex/Preprocessor.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/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
M 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
M clang/include/clang/Sema/SemaX86.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ASTWriter.h
M clang/include/clang/Serialization/ModuleFile.h
M clang/include/clang/Serialization/ModuleManager.h
M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
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/TransUnbridgedCasts.cpp
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/ASTDumper.cpp
M clang/lib/AST/ASTImporter.cpp
M clang/lib/AST/ASTStructuralEquivalence.cpp
M clang/lib/AST/CMakeLists.txt
M clang/lib/AST/CommentParser.cpp
M clang/lib/AST/Decl.cpp
M clang/lib/AST/DeclBase.cpp
M clang/lib/AST/DeclCXX.cpp
M clang/lib/AST/DeclTemplate.cpp
M clang/lib/AST/Expr.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/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/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/Mangle.cpp
M clang/lib/AST/MicrosoftMangle.cpp
M clang/lib/AST/ODRHash.cpp
M clang/lib/AST/OpenACCClause.cpp
M clang/lib/AST/ParentMap.cpp
M clang/lib/AST/QualTypeNames.cpp
M clang/lib/AST/StmtOpenACC.cpp
M clang/lib/AST/StmtPrinter.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/TemplateBase.cpp
M clang/lib/AST/TemplateName.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/AST/Type.cpp
M clang/lib/AST/TypePrinter.cpp
M clang/lib/Analysis/CFG.cpp
M clang/lib/Analysis/FlowSensitive/ASTOps.cpp
M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
A clang/lib/Basic/ASTSourceDescriptor.cpp
M clang/lib/Basic/CMakeLists.txt
M clang/lib/Basic/Cuda.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/AArch64.h
M clang/lib/Basic/Targets/LoongArch.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/X86.cpp
M clang/lib/Basic/Targets/X86.h
M clang/lib/CodeGen/BackendUtil.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/CGCleanup.cpp
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/CodeGen/CGDebugInfo.h
M clang/lib/CodeGen/CGDeclCXX.cpp
M clang/lib/CodeGen/CGExpr.cpp
M clang/lib/CodeGen/CGExprAgg.cpp
M clang/lib/CodeGen/CGExprComplex.cpp
M clang/lib/CodeGen/CGExprConstant.cpp
M clang/lib/CodeGen/CGHLSLRuntime.cpp
M clang/lib/CodeGen/CGObjCGNU.cpp
M clang/lib/CodeGen/CGObjCMac.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/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/CodeGenModule.h
M clang/lib/CodeGen/Targets/AMDGPU.cpp
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/SanitizerArgs.cpp
M clang/lib/Driver/ToolChain.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/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/Flang.cpp
M clang/lib/Driver/ToolChains/HIPUtility.cpp
M clang/lib/Driver/ToolChains/Linux.cpp
M clang/lib/Driver/ToolChains/MSVC.h
M clang/lib/Driver/ToolChains/SPIRV.cpp
M clang/lib/ExtractAPI/API.cpp
M clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
M clang/lib/Format/ContinuationIndenter.cpp
M clang/lib/Format/FormatToken.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Frontend/FrontendActions.cpp
M clang/lib/Headers/cuda_wrappers/algorithm
M clang/lib/Headers/intrin.h
M clang/lib/Headers/ptrauth.h
M clang/lib/Index/CommentToXML.cpp
M clang/lib/Index/IndexBody.cpp
M clang/lib/Interpreter/IncrementalParser.cpp
M clang/lib/Interpreter/Interpreter.cpp
M clang/lib/Lex/PPMacroExpansion.cpp
M clang/lib/Parse/ParseExprCXX.cpp
M clang/lib/Parse/ParseOpenACC.cpp
M clang/lib/Parse/ParseOpenMP.cpp
M clang/lib/Parse/ParseStmt.cpp
M clang/lib/Sema/AnalysisBasedWarnings.cpp
M clang/lib/Sema/CMakeLists.txt
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/SemaCUDA.cpp
M clang/lib/Sema/SemaCXXScopeSpec.cpp
M clang/lib/Sema/SemaCast.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Sema/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
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/SemaRISCV.cpp
M clang/lib/Sema/SemaSYCL.cpp
M clang/lib/Sema/SemaStmt.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/SemaType.cpp
A clang/lib/Sema/SemaWasm.cpp
M clang/lib/Sema/SemaX86.cpp
M clang/lib/Sema/TreeTransform.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
R clang/lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp
M clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
A clang/lib/StaticAnalyzer/Checkers/NoOwnershipChangeVisitor.cpp
A clang/lib/StaticAnalyzer/Checkers/NoOwnershipChangeVisitor.h
M clang/lib/StaticAnalyzer/Checkers/PointerSubChecker.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-align-cxx.cpp
M clang/test/AST/Interp/c.c
M clang/test/AST/Interp/complex.cpp
M clang/test/AST/Interp/const-eval.c
M clang/test/AST/Interp/cxx20.cpp
M clang/test/AST/Interp/cxx23.cpp
A clang/test/AST/Interp/cxx26.cpp
M clang/test/AST/Interp/eval-order.cpp
M clang/test/AST/Interp/lambda.cpp
M clang/test/AST/Interp/literals.cpp
A clang/test/AST/Interp/memberpointers.cpp
M clang/test/AST/Interp/opencl.cl
M clang/test/AST/Interp/records.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-default-init-json.cpp
M clang/test/AST/ast-dump-default-init.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-template-decls.cpp
A clang/test/AST/ast-dump-template-name.cpp
M clang/test/AST/ast-dump-using-template.cpp
A clang/test/AST/ast-print-openacc-loop-construct.cpp
M clang/test/AST/constraints-explicit-instantiation.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
M clang/test/Analysis/casts.c
M clang/test/Analysis/cfg-openmp.cpp
M clang/test/Analysis/cxx-uninitialized-object.cpp
M clang/test/Analysis/lifetime-extended-regions.cpp
M clang/test/Analysis/malloc.c
M clang/test/Analysis/malloc.cpp
A clang/test/Analysis/pointer-sub.c
M clang/test/Analysis/ptr-arith.c
M clang/test/Analysis/putenv-stack-array.c
R clang/test/Analysis/sizeofpointer.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/CXX/basic/basic.lookup/basic.lookup.elab/p2.cpp
M clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p6-cxx11.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p3.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/cwg16xx.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/cwg2xx.cpp
M clang/test/CXX/drs/cwg4xx.cpp
M clang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p3-2a.cpp
M clang/test/CXX/special/class.temporary/p6.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
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/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/X86/math-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-cpu-supports-target.c
M clang/test/CodeGen/aarch64-sme-intrinsics/aarch64-sme-attrs.cpp
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-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-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-targetattr.c
A clang/test/CodeGen/amdgpu-variadic-call.c
M clang/test/CodeGen/arm-vector_type-params-returns.c
M clang/test/CodeGen/attr-target-version.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/constrained-math-builtins.c
M clang/test/CodeGen/debug-info-packed-struct.c
M clang/test/CodeGen/instrument-objc-method.m
M clang/test/CodeGen/lto-newpm-pipeline.c
M clang/test/CodeGen/math-libcalls.c
M clang/test/CodeGen/mcount-aix.c
M clang/test/CodeGen/mcount.c
M clang/test/CodeGen/object-size.c
M clang/test/CodeGen/paren-list-agg-init.cpp
M clang/test/CodeGen/preserve-call-conv.c
A clang/test/CodeGen/sanitize-numerical-stability-attr.cpp
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/attr-likelihood-if-vs-builtin-expect.cpp
M clang/test/CodeGenCXX/control-flow-in-stmt-expr.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-references.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-initializer-array-new.cpp
M clang/test/CodeGenCXX/cxx11-thread-local.cpp
M clang/test/CodeGenCXX/cxx2b-deducing-this.cpp
A clang/test/CodeGenCXX/debug-info-incomplete-types.cpp
M clang/test/CodeGenCXX/debug-info-struct-align.cpp
A clang/test/CodeGenCXX/inline-then-fold-variadics.cpp
M clang/test/CodeGenCXX/partial-destruction.cpp
M clang/test/CodeGenCXX/partitions.cpp
M clang/test/CodeGenCXX/pointers-to-data-members.cpp
A clang/test/CodeGenCXX/spirv-amdgcn-float16.cpp
M clang/test/CodeGenCXX/template-param-objects-linkage.cpp
M clang/test/CodeGenCXX/temporaries.cpp
M clang/test/CodeGenCXX/ubsan-nullability-arg.cpp
M clang/test/CodeGenCXX/value-init.cpp
M clang/test/CodeGenCXX/weak-external.cpp
A clang/test/CodeGenCXX/windows-instantiate-dllexport-template-specialization.cpp
M clang/test/CodeGenCoroutines/coro-suspend-cleanups.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/CodeGenHLSL/convergence/for.hlsl
M clang/test/CodeGenObjC/arc-ternary-op.m
M clang/test/CodeGenObjC/arc.m
M clang/test/CodeGenObjC/encode-test-3.m
M clang/test/CodeGenObjCXX/arc-exceptions.mm
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
M clang/test/CodeGenOpenCL/builtins-amdgcn-vi.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn.cl
M clang/test/CodeGenOpenCL/builtins-f16.cl
M clang/test/CodeGenOpenCL/inline-asm-amdgcn.cl
M clang/test/Driver/aarch64-mac-cpus.c
M clang/test/Driver/aarch64-mcpu.c
A clang/test/Driver/aarch64-oryon-1.c
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-mcpu.cl
M clang/test/Driver/amdgpu-openmp-system-arch-fail.c
M clang/test/Driver/amdgpu-openmp-toolchain.c
A clang/test/Driver/apple-os-triples.c
R clang/test/Driver/appletvos-version-min.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
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/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/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
R clang/test/Driver/driverkit-version-min.c
M clang/test/Driver/dwarf-target-version-clamp.cu
M clang/test/Driver/elfiamcu-header-search.c
M clang/test/Driver/fsanitize.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
R clang/test/Driver/ios-version-min.c
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/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/offloading-interoperability.c
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/riscv-arch.c
M clang/test/Driver/riscv32-toolchain-extra.c
M clang/test/Driver/riscv64-toolchain-extra.c
M clang/test/Driver/rocm-detect.cl
M clang/test/Driver/rocm-detect.hip
M clang/test/Driver/rocm-device-libs.cl
M clang/test/Driver/save-temps.c
M clang/test/Driver/spirv-toolchain.cl
M clang/test/Driver/sysroot.c
M clang/test/Driver/target-id-macros.cl
M clang/test/Driver/target-id.cl
M clang/test/Driver/thinlto.cu
M clang/test/Driver/tsan.c
M clang/test/Driver/ve-toolchain.c
M clang/test/Driver/ve-toolchain.cpp
M clang/test/Driver/warning-options.cpp
R clang/test/Driver/watchos-version-min.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/Frontend/gnu-mcount.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/comment-to-html-xml-conversion.cpp
M clang/test/Index/print-type.cpp
A clang/test/Interpreter/execute.c
M clang/test/Interpreter/incremental-mode.cpp
A clang/test/Interpreter/pretty-print.c
M clang/test/Lexer/cxx2c-raw-strings.cpp
A clang/test/Lexer/has_feature_numerical_stability_sanitizer.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/no-transitive-decls-change.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/declare_mapper_messages.cpp
M clang/test/OpenMP/distribute_firstprivate_codegen.cpp
M clang/test/OpenMP/distribute_lastprivate_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_firstprivate_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_lastprivate_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_private_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_private_codegen.cpp
M clang/test/OpenMP/distribute_private_codegen.cpp
M clang/test/OpenMP/distribute_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/distribute_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/distribute_simd_private_codegen.cpp
A clang/test/OpenMP/error_unsupport_feature.c
M clang/test/OpenMP/for_firstprivate_codegen.cpp
M clang/test/OpenMP/for_lastprivate_codegen.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_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_firstprivate_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/parallel_private_codegen.cpp
M clang/test/OpenMP/parallel_reduction_codegen.cpp
M clang/test/OpenMP/sections_firstprivate_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/simd_private_taskloop_codegen.cpp
M clang/test/OpenMP/single_firstprivate_codegen.cpp
M clang/test/OpenMP/single_private_codegen.cpp
R clang/test/OpenMP/target_reduction_codegen.cpp
R clang/test/OpenMP/target_reduction_messages.cpp
M clang/test/OpenMP/target_teams_distribute_firstprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_lastprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_firstprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_lastprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_private_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_private_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_simd_private_codegen.cpp
M clang/test/OpenMP/target_teams_generic_loop_private_codegen.cpp
M clang/test/OpenMP/target_vla_messages.cpp
M clang/test/OpenMP/teams_distribute_firstprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_lastprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_firstprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_lastprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_private_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_private_codegen.cpp
M clang/test/OpenMP/teams_distribute_private_codegen.cpp
M clang/test/OpenMP/teams_distribute_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_simd_private_codegen.cpp
M clang/test/OpenMP/teams_firstprivate_codegen.cpp
M clang/test/OpenMP/teams_generic_loop_private_codegen.cpp
M clang/test/OpenMP/teams_private_codegen.cpp
M clang/test/OpenMP/threadprivate_codegen.cpp
M clang/test/PCH/cxx_paren_init.cpp
M clang/test/Parser/cxx-template-template-recovery.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/aarch64-target-features.c
M clang/test/Preprocessor/hash_builtin.cpp
M clang/test/Preprocessor/predefined-macros-no-warnings.c
M clang/test/Preprocessor/predefined-macros.c
M clang/test/Preprocessor/riscv-target-features.c
M clang/test/Preprocessor/x86_target_features.c
M clang/test/Sema/aarch64-incompat-sm-builtin-calls.c
M clang/test/Sema/aarch64-neon-target.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
A clang/test/Sema/attr-availability-macosx.cpp
A clang/test/Sema/builtin-spirv-amdgcn-atomic-inc-dec-failure.cpp
M clang/test/Sema/constexpr-void-cast.c
A clang/test/Sema/inline-asm-validate-spirv-amdgcn.cl
M clang/test/Sema/warn-cast-function-type-strict.c
M clang/test/Sema/warn-cast-function-type.c
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/function-redclare.cu
A clang/test/SemaCUDA/spirv-amdgcn-atomic-ops.cu
M clang/test/SemaCXX/PR8755.cpp
M clang/test/SemaCXX/attr-weak.cpp
A clang/test/SemaCXX/builtin-is-bitwise-cloneable-fsanitize.cpp
A clang/test/SemaCXX/builtin-is-bitwise-cloneable.cpp
M clang/test/SemaCXX/complex-folding.cpp
M clang/test/SemaCXX/constant-expression-cxx14.cpp
M clang/test/SemaCXX/constexpr-default-arg.cpp
A clang/test/SemaCXX/constexpr-never-constant.cpp
A clang/test/SemaCXX/constexpr-return-non-void-cxx2b.cpp
M clang/test/SemaCXX/cxx11-default-member-initializers.cpp
M clang/test/SemaCXX/cxx1y-initializer-aggregates.cpp
M clang/test/SemaCXX/cxx1y-variable-templates_in_class.cpp
M clang/test/SemaCXX/cxx2b-deducing-this.cpp
M clang/test/SemaCXX/cxx2c-pack-indexing.cpp
M clang/test/SemaCXX/eval-crashes.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/lambda-unevaluated.cpp
M clang/test/SemaCXX/ms-const-member-expr.cpp
M clang/test/SemaCXX/nullptr_in_arithmetic_ops.cpp
M clang/test/SemaCXX/template-specialization.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/SemaHLSL/Availability/attr-availability-compute.hlsl
M clang/test/SemaHLSL/Availability/attr-availability-mesh.hlsl
M clang/test/SemaHLSL/Availability/attr-availability-pixel.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-default-compute.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-default-lib.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-relaxed-compute.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-relaxed-lib.hlsl
A clang/test/SemaHLSL/Availability/avail-lib-multiple-stages.hlsl
M clang/test/SemaHLSL/WaveBuiltinAvailability.hlsl
M clang/test/SemaHLSL/standard_conversion_sequences.hlsl
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-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-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-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
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/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-gfx940-err.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/instantiate-requires-expr.cpp
M clang/test/SemaTemplate/make_integer_seq.cpp
M clang/test/SemaTemplate/nested-implicit-deduction-guides.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/lit.site.cfg.py.in
M clang/tools/clang-format/ClangFormat.cpp
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/CXCursor.cpp
M clang/tools/libclang/CXExtractAPI.cpp
M clang/tools/scan-build/bin/set-xcode-analyzer
M clang/unittests/AST/ASTImporterTest.cpp
M clang/unittests/AST/CMakeLists.txt
M clang/unittests/AST/CommentParser.cpp
M clang/unittests/AST/Interp/toAPValue.cpp
A clang/unittests/AST/ProfilingTest.cpp
M clang/unittests/AST/StructuralEquivalenceTest.cpp
M clang/unittests/AST/TemplateNameTest.cpp
M clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
A clang/unittests/Analysis/FlowSensitive/ASTOpsTest.cpp
M clang/unittests/Analysis/FlowSensitive/CMakeLists.txt
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
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/Tooling/CompilationDatabaseTest.cpp
M clang/unittests/Tooling/Syntax/TokensTest.cpp
M clang/utils/TableGen/MveEmitter.cpp
M clang/utils/check_cfc/check_cfc.py
M clang/utils/perf-training/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/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/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/msan/msan.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/tests/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cpp
M compiler-rt/lib/scudo/standalone/primary64.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_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/CMakeLists.txt
M compiler-rt/test/asan/CMakeLists.txt
M compiler-rt/test/asan/TestCases/Linux/stack-trace-dlclose.cpp
M compiler-rt/test/asan/TestCases/Posix/strndup_oob_test.cpp
M compiler-rt/test/asan/TestCases/calloc-overflow.cpp
M compiler-rt/test/asan/TestCases/debug_double_free.cpp
M compiler-rt/test/asan/TestCases/debug_report.cpp
M compiler-rt/test/asan/TestCases/debug_stacks.cpp
M compiler-rt/test/asan/TestCases/double-free.cpp
M compiler-rt/test/asan/TestCases/malloc-size-too-big.cpp
M compiler-rt/test/asan/TestCases/strcpy-overlap.cpp
M compiler-rt/test/asan/TestCases/strdup_oob_test.cpp
M compiler-rt/test/asan/TestCases/strncpy-overflow.cpp
M compiler-rt/test/asan/TestCases/use-after-free-right.cpp
M compiler-rt/test/asan/TestCases/use-after-free.cpp
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/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
A compiler-rt/test/orc/TestCases/Darwin/arm64/objc-nonlazy-class.S
A compiler-rt/test/orc/TestCases/Darwin/arm64/objc-protocol-ref.S
A compiler-rt/test/orc/TestCases/Darwin/arm64/objc-protocol.S
A compiler-rt/test/orc/TestCases/Darwin/x86-64/objc-nonlazy-class.S
A compiler-rt/test/orc/TestCases/Darwin/x86-64/objc-protocol-ref.S
A compiler-rt/test/orc/TestCases/Darwin/x86-64/objc-protocol.S
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/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/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py
M cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.cpp
M flang/cmake/modules/AddFlangOffloadRuntime.cmake
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/Evaluate/check-expression.h
M flang/include/flang/Evaluate/integer.h
M flang/include/flang/Evaluate/tools.h
M flang/include/flang/Frontend/LangOptions.def
M flang/include/flang/Lower/ConvertExprToHLFIR.h
M flang/include/flang/Lower/PFTBuilder.h
M flang/include/flang/Lower/Support/Utils.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/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/Inquiry.h
M flang/include/flang/Optimizer/Builder/Runtime/Numeric.h
M flang/include/flang/Optimizer/Builder/Runtime/RTBuilder.h
M flang/include/flang/Optimizer/Builder/Runtime/Reduction.h
M flang/include/flang/Optimizer/Builder/Runtime/Support.h
M flang/include/flang/Optimizer/CodeGen/CGPasses.td
M flang/include/flang/Optimizer/CodeGen/CodeGen.h
A flang/include/flang/Optimizer/CodeGen/DescriptorModel.h
M flang/include/flang/Optimizer/CodeGen/FIROpPatterns.h
M flang/include/flang/Optimizer/CodeGen/TypeConverter.h
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/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/Parser/token-sequence.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/numeric.h
M flang/include/flang/Runtime/support.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/check-expression.cpp
M flang/lib/Evaluate/fold-real.cpp
M flang/lib/Evaluate/intrinsics.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/Lower/PFTBuilder.cpp
M flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
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/Inquiry.cpp
M flang/lib/Optimizer/Builder/Runtime/Numeric.cpp
M flang/lib/Optimizer/Builder/Runtime/Reduction.cpp
M flang/lib/Optimizer/Builder/Runtime/Support.cpp
M flang/lib/Optimizer/CodeGen/BoxedProcedure.cpp
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
R flang/lib/Optimizer/CodeGen/DescriptorModel.h
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/CUFOps.cpp
M flang/lib/Optimizer/Dialect/FIRAttr.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
M flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
M flang/lib/Optimizer/Transforms/AddAliasTags.cpp
M flang/lib/Optimizer/Transforms/AddDebugInfo.cpp
M flang/lib/Optimizer/Transforms/AssumedRankOpConversion.cpp
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/FunctionAttr.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/Fortran-parsers.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/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/token-sequence.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/data-to-inits.cpp
M flang/lib/Semantics/expression.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/scope.cpp
M flang/lib/Semantics/symbol.cpp
M flang/runtime/command.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-templates.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/time-intrinsic.cpp
M flang/runtime/unit.h
M flang/test/Driver/exec.f90
M flang/test/Driver/omp-driver-offload.f90
A flang/test/Evaluate/signed-mult-opd.f90
A flang/test/Fir/array-coor-canonicalization.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
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-assumed-shape-array.f90
M flang/test/Lower/CUDA/cuda-device-proc.cuf
A flang/test/Lower/CUDA/cuda-kernel-do-reduction.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-3.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
R flang/test/Lower/Intrinsics/Todo/reduce.f90
M flang/test/Lower/Intrinsics/associated.f90
A flang/test/Lower/Intrinsics/erfc_scaled.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/reduce.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/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/distribute.f90
A flang/test/Lower/OpenMP/force-usm.f90
M flang/test/Lower/OpenMP/function-filtering-2.f90
M flang/test/Lower/OpenMP/if-clause.f90
M flang/test/Lower/OpenMP/lastprivate-commonblock.f90
M flang/test/Lower/OpenMP/loop-combined.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/block.f90
A flang/test/Lower/call-bindc.f90
M flang/test/Lower/common-block-2.f90
M flang/test/Lower/common-block.f90
A flang/test/Lower/loops3.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/pre-fir-tree09.f90
A flang/test/Preprocessing/args.h
M flang/test/Preprocessing/directive-contin-with-pp.F90
A flang/test/Preprocessing/include-args.F90
A flang/test/Semantics/OpenMP/reduction13.f90
M flang/test/Semantics/associated.f90
M flang/test/Semantics/bind-c02.f90
M flang/test/Semantics/bind-c15.f90
A flang/test/Semantics/bind-c16.f90
M flang/test/Semantics/call03.f90
M flang/test/Semantics/call10.f90
M flang/test/Semantics/call30.f90
M flang/test/Semantics/call40.f90
A flang/test/Semantics/cuf16.cuf
M flang/test/Semantics/declarations02.f90
M flang/test/Semantics/elemental01.f90
A flang/test/Semantics/getcwd.f90
M flang/test/Semantics/label05.f90
M flang/test/Semantics/null01.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/stmt-func01.f90
M flang/test/Transforms/debug-90683.fir
A flang/test/Transforms/debug-assumed-shape-array.fir
M flang/test/Transforms/debug-complex-1.fir
M flang/test/Transforms/debug-fixed-array-type.fir
M flang/test/Transforms/debug-line-table-existing.fir
M flang/test/Transforms/debug-line-table-inc-file.fir
M flang/test/Transforms/debug-line-table-inc-same-file.fir
M flang/test/Transforms/debug-line-table.fir
M flang/test/Transforms/debug-module-1.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/unittests/Runtime/Inquiry.cpp
M flang/unittests/Runtime/Numeric.cpp
M flang/unittests/Runtime/Support.cpp
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/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/gpu/using.rst
M libc/docs/math/index.rst
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
A libc/include/llvm-libc-macros/float16-macros.h
M libc/include/llvm-libc-macros/limits-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/BasicOperations.h
M libc/src/__support/FPUtil/FPBits.h
M libc/src/__support/FPUtil/NearestIntegerOperations.h
M libc/src/__support/FPUtil/NormalFloat.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/big_int.h
M libc/src/__support/fixedvector.h
M libc/src/__support/libc_assert.h
M libc/src/__support/macros/attributes.h
M libc/src/__support/macros/properties/CMakeLists.txt
M libc/src/__support/macros/properties/types.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/__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/frexpf16.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/frexpf16.cpp
A libc/src/math/generic/fromfpf16.cpp
A libc/src/math/generic/fromfpxf16.cpp
A libc/src/math/generic/ilogbf16.cpp
A libc/src/math/generic/llogbf16.cpp
A libc/src/math/generic/llrintf16.cpp
A libc/src/math/generic/llroundf16.cpp
A libc/src/math/generic/logbf16.cpp
A libc/src/math/generic/lrintf16.cpp
A libc/src/math/generic/lroundf16.cpp
A libc/src/math/generic/modff16.cpp
A libc/src/math/generic/nanf16.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/remainderf16.cpp
A libc/src/math/generic/remquof128.cpp
A libc/src/math/generic/remquof16.cpp
A libc/src/math/generic/rintf16.cpp
A libc/src/math/generic/roundevenf16.cpp
A libc/src/math/generic/roundf16.cpp
A libc/src/math/generic/totalorderf16.cpp
A libc/src/math/generic/totalordermagf16.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/ilogbf16.h
A libc/src/math/llogbf16.h
A libc/src/math/llrintf16.h
A libc/src/math/llroundf16.h
A libc/src/math/logbf16.h
A libc/src/math/lrintf16.h
A libc/src/math/lroundf16.h
A libc/src/math/modff16.h
A libc/src/math/nanf16.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/remainderf16.h
A libc/src/math/remquof128.h
A libc/src/math/remquof16.h
A libc/src/math/rintf16.h
A libc/src/math/roundevenf16.h
A libc/src/math/roundf16.h
A libc/src/math/totalorderf16.h
A libc/src/math/totalordermagf16.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/stdio/CMakeLists.txt
M libc/src/stdio/baremetal/CMakeLists.txt
A libc/src/stdio/baremetal/printf.cpp
A libc/src/stdio/baremetal/putchar.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/block.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
M libc/src/stdlib/free.h
A libc/src/stdlib/freelist.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
M libc/src/threads/mtx_init.cpp
M libc/src/unistd/_exit.cpp
M libc/test/CMakeLists.txt
M libc/test/IntegrationTest/test.h
M libc/test/UnitTest/FPMatcher.h
M libc/test/UnitTest/LibcTest.cpp
M libc/test/UnitTest/LibcTest.h
M libc/test/UnitTest/LibcTestMain.cpp
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/FPUtil/CMakeLists.txt
M libc/test/src/__support/FPUtil/dyadic_float_test.cpp
M libc/test/src/__support/big_int_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/CMakeLists.txt
M libc/test/src/math/CeilTest.h
M libc/test/src/math/FloorTest.h
M libc/test/src/math/RIntTest.h
M libc/test/src/math/RoundEvenTest.h
M libc/test/src/math/RoundTest.h
M libc/test/src/math/RoundToIntegerTest.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/llrintf16_test.cpp
A libc/test/src/math/llroundf16_test.cpp
A libc/test/src/math/lrintf16_test.cpp
A libc/test/src/math/lroundf16_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
A libc/test/src/math/rintf16_test.cpp
A libc/test/src/math/roundevenf16_test.cpp
A libc/test/src/math/roundf16_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/CanonicalizeTest.h
M libc/test/src/math/smoke/CeilTest.h
M libc/test/src/math/smoke/CopySignTest.h
M libc/test/src/math/smoke/FDimTest.h
M libc/test/src/math/smoke/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/FrexpTest.h
M libc/test/src/math/smoke/FromfpTest.h
M libc/test/src/math/smoke/FromfpxTest.h
M libc/test/src/math/smoke/ILogbTest.h
M libc/test/src/math/smoke/LogbTest.h
M libc/test/src/math/smoke/ModfTest.h
M libc/test/src/math/smoke/NextAfterTest.h
M libc/test/src/math/smoke/NextTowardTest.h
M libc/test/src/math/smoke/RemQuoTest.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
A libc/test/src/math/smoke/TotalOrderMagTest.h
A libc/test/src/math/smoke/TotalOrderTest.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/frexpf16_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/ilogbf16_test.cpp
A libc/test/src/math/smoke/llogbf16_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/logbf16_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/modff16_test.cpp
A libc/test/src/math/smoke/nanf16_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/remquof16_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/totalorderf16_test.cpp
A libc/test/src/math/smoke/totalordermagf16_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
A libc/test/src/math/truncf16_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/block_test.cpp
A libc/test/src/stdlib/freelist_test.cpp
A libc/test/src/stdlib/quick_exit_test.cpp
M libc/test/utils/UnitTest/testfilter_test.cpp
M libc/utils/MPFRWrapper/MPFRUtils.cpp
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/algorithms/pstl.stable_sort.bench.cpp
M libcxx/cmake/caches/Generic-msan.cmake
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/Cxx23Papers.csv
M libcxx/docs/Status/Cxx2cIssues.csv
M libcxx/docs/Status/Cxx2cPapers.csv
M libcxx/docs/TestingLibcxx.rst
M libcxx/docs/UsingLibcxx.rst
M libcxx/include/CMakeLists.txt
M libcxx/include/__algorithm/pstl.h
R libcxx/include/__algorithm/pstl_frontend_dispatch.h
M libcxx/include/__algorithm/simd_utils.h
M libcxx/include/__atomic/atomic_sync.h
A libcxx/include/__chrono/exception.h
M libcxx/include/__chrono/time_zone.h
A libcxx/include/__chrono/zoned_time.h
M libcxx/include/__config
M libcxx/include/__configuration/abi.h
M libcxx/include/__format/escaped_output_table.h
M libcxx/include/__format/width_estimation_table.h
M libcxx/include/__functional/bind.h
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/__numeric/pstl.h
A libcxx/include/__pstl/backend.h
A libcxx/include/__pstl/backend_fwd.h
A libcxx/include/__pstl/backends/default.h
M libcxx/include/__pstl/backends/libdispatch.h
M libcxx/include/__pstl/backends/serial.h
M libcxx/include/__pstl/backends/std_thread.h
R libcxx/include/__pstl/configuration.h
R libcxx/include/__pstl/configuration_fwd.h
M libcxx/include/__pstl/cpu_algos/any_of.h
M libcxx/include/__pstl/cpu_algos/fill.h
M libcxx/include/__pstl/cpu_algos/find_if.h
M libcxx/include/__pstl/cpu_algos/for_each.h
M libcxx/include/__pstl/cpu_algos/merge.h
M libcxx/include/__pstl/cpu_algos/stable_sort.h
M libcxx/include/__pstl/cpu_algos/transform.h
M libcxx/include/__pstl/cpu_algos/transform_reduce.h
A libcxx/include/__pstl/dispatch.h
A libcxx/include/__pstl/handle_exception.h
M libcxx/include/__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/__type_traits/datasizeof.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/barrier
M libcxx/include/bitset
M libcxx/include/chrono
M libcxx/include/deque
M libcxx/include/locale
M libcxx/include/memory
M libcxx/include/module.modulemap
M libcxx/include/regex
M libcxx/include/span
M libcxx/include/string
M libcxx/include/version
M libcxx/modules/std/chrono.inc
M libcxx/modules/std/memory.inc
M libcxx/src/CMakeLists.txt
M libcxx/src/atomic.cpp
M libcxx/src/barrier.cpp
A libcxx/src/chrono_exception.cpp
M libcxx/src/filesystem/operations.cpp
M libcxx/src/time_zone.cpp
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/algorithms/pstl.iterator-requirements.verify.cpp
R libcxx/test/libcxx/algorithms/pstl.robust_against_customization_points_not_working.pass.cpp
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.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/diagnostics/chrono.nodiscard.verify.cpp
M libcxx/test/libcxx/input.output/filesystems/convert_file_time.pass.cpp
A libcxx/test/libcxx/time/time.zone/time.zone.exception/time.zone.exception.ambig/assert.ctor.pass.cpp
A libcxx/test/libcxx/time/time.zone/time.zone.exception/time.zone.exception.nonexist/assert.ctor.pass.cpp
A libcxx/test/libcxx/time/time.zone/time.zone.timezone/choose.pass.cpp
A libcxx/test/libcxx/time/time.zone/time.zone.timezone/time.zone.members/assert.to_local.pass.cpp
A libcxx/test/libcxx/time/time.zone/time.zone.timezone/time.zone.members/assert.to_sys.pass.cpp
A libcxx/test/libcxx/time/time.zone/time.zone.timezone/time.zone.members/assert.to_sys_choose.pass.cpp
M libcxx/test/libcxx/transitive_includes.gen.py
M libcxx/test/libcxx/transitive_includes/cxx03.csv
M libcxx/test/libcxx/transitive_includes/cxx11.csv
M libcxx/test/libcxx/transitive_includes/cxx14.csv
M libcxx/test/libcxx/transitive_includes/cxx17.csv
M libcxx/test/libcxx/transitive_includes/cxx20.csv
M libcxx/test/libcxx/transitive_includes/cxx23.csv
M libcxx/test/libcxx/transitive_includes/cxx26.csv
M libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge.pass.cpp
M libcxx/test/std/algorithms/pstl.exception_handling.pass.cpp
A libcxx/test/std/atomics/atomics.ref/member_types.compile.pass.cpp
R libcxx/test/std/atomics/atomics.ref/member_types.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
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/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/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
M libcxx/test/std/containers/sequences/deque/deque.cons/deduct.verify.cpp
M libcxx/test/std/containers/sequences/forwardlist/forwardlist.cons/deduct.verify.cpp
M libcxx/test/std/containers/sequences/list/list.cons/deduct.verify.cpp
M libcxx/test/std/containers/sequences/vector/vector.cons/deduct.verify.cpp
M libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/deduct.verify.cpp
M libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/deduct.verify.cpp
M libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/deduct.verify.cpp
M libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/deduct.verify.cpp
M libcxx/test/std/containers/views/views.span/span.cons/span.pass.cpp
M libcxx/test/std/experimental/simd/simd.class/simd_copy.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/weakly_canonical.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/language.support/support.limits/support.limits.general/compare.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
M libcxx/test/std/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
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/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
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.condvarany/wait_for_pred.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/default.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/default.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/default.pass.cpp
A libcxx/test/std/time/time.zone/time.zone.exception/time.zone.exception.ambig/ctor.pass.cpp
A libcxx/test/std/time/time.zone/time.zone.exception/time.zone.exception.ambig/types.pass.cpp
A libcxx/test/std/time/time.zone/time.zone.exception/time.zone.exception.nonexist/ctor.pass.cpp
A libcxx/test/std/time/time.zone/time.zone.exception/time.zone.exception.nonexist/types.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.leap/nonmembers/comparison.pass.cpp
A libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.local_time.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/sys_info.zdump.pass.cpp
A libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/to_local.pass.cpp
A libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/to_sys.pass.cpp
A libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/to_sys_choose.pass.cpp
A libcxx/test/std/time/time.zone/time.zone.zonedtraits/const_time_zone_default_zone.pass.cpp
A libcxx/test/std/time/time.zone/time.zone.zonedtraits/const_time_zone_locate_zone.pass.cpp
A libcxx/test/std/time/time.zone/time.zone.zonedtraits/types.compile.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.funsigned-char.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.char_array.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
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.cnstr/PR31384.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/test_macros.h
M libcxx/test/tools/clang_tidy_checks/header_exportable_declarations.cpp
M libcxx/utils/ci/Dockerfile
M libcxx/utils/ci/docker-compose.yml
M libcxx/utils/generate_escaped_output_table.py
M libcxx/utils/generate_feature_test_macro_components.py
M libcxx/utils/generate_width_estimation_table.py
M libcxx/utils/libcxx/test/features.py
M libcxxabi/CMakeLists.txt
M libcxxabi/src/aix_state_tab_eh.inc
M libcxxabi/test/catch_member_function_pointer_02.pass.cpp
M libunwind/CMakeLists.txt
M libunwind/test/floatregister.pass.cpp
M libunwind/test/forceunwind.pass.cpp
M libunwind/test/signal_unwind.pass.cpp
M libunwind/test/unwind_leaffunction.pass.cpp
M lld/CMakeLists.txt
M lld/COFF/Symbols.h
M lld/ELF/Arch/AArch64.cpp
M lld/ELF/Arch/ARM.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/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/Driver.cpp
M lld/MachO/UnwindInfoSection.cpp
M lld/cmake/modules/AddLLD.cmake
M lld/docs/ReleaseNotes.rst
M lld/docs/ld.lld.1
M lld/test/CMakeLists.txt
M lld/test/COFF/lto-weak-undefined.ll
M lld/test/COFF/rsds.test
M lld/test/ELF/aarch64-fpic-got.s
M lld/test/ELF/aarch64-reloc-pauth.s
A lld/test/ELF/armv8-thumb-plt-reloc.s
M lld/test/ELF/build-id.s
M lld/test/ELF/comdat.s
M lld/test/ELF/fatlto/fatlto.test
M lld/test/ELF/linkerscript/addr.test
R lld/test/ELF/linkerscript/expr-invalid-sec.test
R lld/test/ELF/linkerscript/expr-sections.test
M lld/test/ELF/linkerscript/memory-err.s
M lld/test/ELF/linkerscript/memory-nonalloc-no-warn.test
R lld/test/ELF/linkerscript/orphan-align.s
M lld/test/ELF/linkerscript/orphan-report.s
M lld/test/ELF/linkerscript/orphan.s
R lld/test/ELF/linkerscript/orphans.s
R lld/test/ELF/linkerscript/parse-section-in-addr.test
A lld/test/ELF/linkerscript/section-not-converge.test
M lld/test/ELF/linkerscript/sections-nonalloc.s
M lld/test/ELF/linkerscript/sections.s
M lld/test/ELF/loongarch-relax-emit-relocs.s
M lld/test/ELF/relocatable-comdat.s
M lld/test/MachO/compact-unwind-both-local-and-dylib-personality.s
M lld/test/MachO/compact-unwind.s
M lld/test/MachO/start-lib.s
M lld/unittests/CMakeLists.txt
M lld/wasm/Config.h
M lld/wasm/Driver.cpp
M lld/wasm/Options.td
M lldb/bindings/interface/SBCommandInterpreterRunOptionsDocstrings.i
M lldb/bindings/python/python-typemaps.swig
M lldb/bindings/python/python-wrapper.swig
M lldb/cmake/modules/LLDBConfig.cmake
M lldb/docs/use/variable.rst
M lldb/examples/python/crashlog.py
M lldb/examples/python/crashlog_scripted_process.py
M lldb/include/lldb/API/SBCommandInterpreter.h
M lldb/include/lldb/API/SBCommandInterpreterRunOptions.h
M lldb/include/lldb/API/SBValue.h
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/include/lldb/Expression/DWARFExpression.h
M lldb/include/lldb/Expression/DWARFExpressionList.h
M lldb/include/lldb/Interpreter/CommandInterpreter.h
M lldb/include/lldb/Symbol/Type.h
M lldb/include/lldb/Target/Process.h
M lldb/include/lldb/Target/RegisterFlags.h
M lldb/include/lldb/Target/Statistics.h
M lldb/include/lldb/Target/Target.h
M lldb/include/lldb/Utility/ConstString.h
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
M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py
M lldb/source/API/SBBreakpoint.cpp
M lldb/source/API/SBCommandInterpreterRunOptions.cpp
M lldb/source/API/SBTarget.cpp
M lldb/source/Breakpoint/Breakpoint.cpp
M lldb/source/Breakpoint/BreakpointIDList.cpp
M lldb/source/Commands/CommandCompletions.cpp
M lldb/source/Commands/CommandObjectMemory.cpp
M lldb/source/Commands/CommandObjectStats.cpp
M lldb/source/Commands/CommandObjectThread.cpp
M lldb/source/Commands/Options.td
M lldb/source/Core/Mangled.cpp
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
M lldb/source/Core/ValueObjectVariable.cpp
M lldb/source/DataFormatters/FormatManager.cpp
M lldb/source/DataFormatters/ValueObjectPrinter.cpp
M lldb/source/Expression/DWARFExpression.cpp
M lldb/source/Expression/DWARFExpressionList.cpp
M lldb/source/Expression/IRInterpreter.cpp
M lldb/source/Host/common/Editline.cpp
M lldb/source/Interpreter/CommandInterpreter.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
M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp
M lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_riscv64.cpp
M lldb/source/Plugins/Process/Utility/StopInfoMachException.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/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
M lldb/source/Plugins/SymbolFile/DWARF/AppleDWARFIndex.cpp
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/DWARFDIE.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFIndex.h
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.h
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
M lldb/source/Symbol/Function.cpp
M lldb/source/Symbol/Type.cpp
M lldb/source/Target/Process.cpp
M lldb/source/Target/RegisterContextUnwind.cpp
M lldb/source/Target/RegisterFlags.cpp
M lldb/source/Target/StackFrame.cpp
M lldb/source/Target/Statistics.cpp
M lldb/source/Target/ThreadPlanStepOverRange.cpp
M lldb/source/Utility/UriParser.cpp
M lldb/test/API/commands/expression/fixits/TestFixIts.py
M lldb/test/API/commands/expression/static-initializers/TestStaticInitializers.py
M lldb/test/API/commands/process/attach/attach_denied/TestAttachDenied.py
M lldb/test/API/commands/session/save/TestSessionSave.py
M lldb/test/API/commands/statistics/basic/TestStats.py
M lldb/test/API/commands/target/basic/Makefile
M lldb/test/API/functionalities/breakpoint/breakpoint_set_restart/TestBreakpointSetRestart.py
M lldb/test/API/functionalities/completion/TestCompletion.py
M lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/coroutine_handle/Makefile
M lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/coroutine_handle/main.cpp
M lldb/test/API/functionalities/data-formatter/synthcapping/TestSyntheticCapping.py
M lldb/test/API/functionalities/data-formatter/synthcapping/fooSynthProvider.py
M lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.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
M lldb/test/API/functionalities/stats_api/TestStatisticsAPI.py
M lldb/test/API/functionalities/target-new-solib-notifications/Makefile
M lldb/test/API/functionalities/target-new-solib-notifications/TestModuleLoadedNotifys.py
A lldb/test/API/functionalities/target-new-solib-notifications/a.cpp
A lldb/test/API/functionalities/target-new-solib-notifications/b.cpp
A lldb/test/API/functionalities/target-new-solib-notifications/c.cpp
A lldb/test/API/functionalities/target-new-solib-notifications/d.cpp
M lldb/test/API/functionalities/target-new-solib-notifications/main.cpp
A lldb/test/API/functionalities/type_types/Makefile
A lldb/test/API/functionalities/type_types/TestFindTypes.py
A lldb/test/API/functionalities/type_types/main.cpp
M lldb/test/API/lang/c/global_variables/Makefile
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
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
M lldb/test/API/lang/cpp/char8_t/Makefile
A lldb/test/API/macosx/delay-init-dependency/Makefile
A lldb/test/API/macosx/delay-init-dependency/TestDelayInitDependency.py
A lldb/test/API/macosx/delay-init-dependency/foo.c
A lldb/test/API/macosx/delay-init-dependency/main.c
M lldb/test/API/python_api/address_range/TestAddressRange.py
M lldb/test/API/python_api/debugger/TestDebuggerAPI.py
M lldb/test/API/python_api/interpreter/TestCommandInterpreterAPI.py
A lldb/test/API/python_api/interpreter/TestCommandOverrideCallback.py
M lldb/test/API/python_api/interpreter/TestRunCommandInterpreterAPI.py
M lldb/test/API/python_api/run_locker/TestRunLocker.py
M lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py
M lldb/test/API/tools/lldb-dap/commands/TestDAP_commands.py
M lldb/test/API/tools/lldb-dap/console/TestDAP_console.py
M lldb/test/API/tools/lldb-dap/launch/TestDAP_launch.py
M lldb/test/API/tools/lldb-dap/optimized/TestDAP_optimized.py
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/test/API/tools/lldb-server/TestGdbRemotePlatformFile.py
M lldb/test/API/tools/lldb-server/TestPtyServer.py
M lldb/test/API/tools/lldb-server/libraries-svr4/TestGdbRemoteLibrariesSvr4Support.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
M lldb/test/Shell/SymbolFile/Breakpad/symtab-sorted-by-size.test
R lldb/test/Shell/SymbolFile/DWARF/delayed-definition-die-searching.test
M lldb/test/Shell/SymbolFile/DWARF/x86/Inputs/debug-types-basic.cpp
A lldb/test/Shell/SymbolFile/DWARF/x86/debug-names-signature.s
A lldb/test/Shell/SymbolFile/DWARF/x86/debug-names-static-constexpr-member.s
M lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-basic.test
M lldb/test/Shell/SymbolFile/DWARF/x86/dwp-separate-debug-file.cpp
A lldb/test/Shell/SymbolFile/DWARF/x86/simple-template-names-context.cpp
A lldb/test/requirements.txt
M lldb/tools/debugserver/source/JSON.cpp
M lldb/tools/lldb-dap/DAP.cpp
M lldb/tools/lldb-dap/JSONUtils.cpp
M lldb/unittests/Core/MangledTest.cpp
M lldb/unittests/Expression/DWARFExpressionTest.cpp
M lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
M lldb/unittests/SymbolFile/DWARF/DWARFDIETest.cpp
M lldb/unittests/UnwindAssembly/x86/Testx86AssemblyInspectionEngine.cpp
M lldb/unittests/Utility/ConstStringTest.cpp
M llvm-libgcc/CMakeLists.txt
M llvm/CMakeLists.txt
M llvm/bindings/ocaml/llvm/llvm.ml
M llvm/bindings/ocaml/llvm/llvm.mli
M llvm/bindings/ocaml/llvm/llvm_ocaml.c
M llvm/cmake/config.guess
M llvm/cmake/modules/FindLibEdit.cmake
M llvm/cmake/modules/HandleLLVMOptions.cmake
M llvm/cmake/modules/LLVMExternalProjectUtils.cmake
M llvm/docs/AMDGPUUsage.rst
M llvm/docs/AssignmentTracking.md
M llvm/docs/Benchmarking.rst
M llvm/docs/BranchWeightMetadata.rst
M llvm/docs/CommandGuide/lit.rst
M llvm/docs/CompileCudaWithLLVM.rst
A llvm/docs/DirectX/DXILOpTableGenDesign.rst
M llvm/docs/DirectXUsage.rst
M llvm/docs/GettingStarted.rst
M llvm/docs/GettingStartedVS.rst
M llvm/docs/HowToUpdateDebugInfo.rst
M llvm/docs/InstrRefDebugInfo.md
M llvm/docs/LangRef.rst
M llvm/docs/MIRLangRef.rst
M llvm/docs/Passes.rst
M llvm/docs/RISCVUsage.rst
M llvm/docs/ReleaseNotes.rst
M llvm/docs/RemoveDIsDebugInfo.md
M llvm/docs/SPIRVUsage.rst
M llvm/docs/Security.rst
M llvm/docs/SourceLevelDebugging.rst
M llvm/docs/TableGen/BackGuide.rst
M llvm/docs/TestSuiteGuide.md
M llvm/docs/TestingGuide.rst
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/docs/tutorial/MyFirstLanguageFrontend/LangImpl09.rst
M llvm/examples/BrainF/BrainF.cpp
M llvm/examples/BrainF/BrainFDriver.cpp
M llvm/include/llvm-c/Core.h
M llvm/include/llvm/ADT/APFloat.h
M llvm/include/llvm/ADT/DenseMap.h
A llvm/include/llvm/ADT/DynamicAPInt.h
M llvm/include/llvm/ADT/FunctionExtras.h
M llvm/include/llvm/ADT/STLExtras.h
A llvm/include/llvm/ADT/SlowDynamicAPInt.h
M llvm/include/llvm/Analysis/CGSCCPassManager.h
M llvm/include/llvm/Analysis/CodeMetrics.h
M llvm/include/llvm/Analysis/InstSimplifyFolder.h
M llvm/include/llvm/Analysis/InstructionSimplify.h
M llvm/include/llvm/Analysis/LazyCallGraph.h
M llvm/include/llvm/Analysis/LoopAccessAnalysis.h
M llvm/include/llvm/Analysis/LoopInfo.h
M llvm/include/llvm/Analysis/ScalarEvolution.h
M llvm/include/llvm/Analysis/TargetFolder.h
M llvm/include/llvm/Analysis/TargetTransformInfo.h
M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
M llvm/include/llvm/Analysis/VecFuncs.def
M llvm/include/llvm/AsmParser/LLToken.h
M llvm/include/llvm/BinaryFormat/Dwarf.def
M llvm/include/llvm/BinaryFormat/Dwarf.h
M llvm/include/llvm/BinaryFormat/ELF.h
M llvm/include/llvm/Bitcode/BitcodeWriter.h
M llvm/include/llvm/Bitcode/LLVMBitCodes.h
M llvm/include/llvm/Bitstream/BitstreamWriter.h
M llvm/include/llvm/CodeGen/AsmPrinter.h
M llvm/include/llvm/CodeGen/BasicTTIImpl.h
A llvm/include/llvm/CodeGen/FinalizeISel.h
M llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
M llvm/include/llvm/CodeGen/GlobalISel/GIMatchTableExecutorImpl.h
M llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
M llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
M llvm/include/llvm/CodeGen/GlobalMerge.h
M llvm/include/llvm/CodeGen/ISDOpcodes.h
A llvm/include/llvm/CodeGen/LocalStackSlotAllocation.h
M llvm/include/llvm/CodeGen/MachineDominators.h
M llvm/include/llvm/CodeGen/MachineFrameInfo.h
M llvm/include/llvm/CodeGen/MachineFunction.h
M llvm/include/llvm/CodeGen/MachinePassManager.h
M llvm/include/llvm/CodeGen/MachinePostDominators.h
M llvm/include/llvm/CodeGen/MachineUniformityAnalysis.h
M llvm/include/llvm/CodeGen/ModuloSchedule.h
A llvm/include/llvm/CodeGen/RegAllocFast.h
M llvm/include/llvm/CodeGen/SDPatternMatch.h
M llvm/include/llvm/CodeGen/ScheduleDAG.h
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/include/llvm/CodeGen/SelectionDAGISel.h
M llvm/include/llvm/CodeGen/SelectionDAGNodes.h
M llvm/include/llvm/CodeGen/StackProtector.h
M llvm/include/llvm/CodeGen/TargetInstrInfo.h
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/include/llvm/CodeGen/ValueTypes.td
M llvm/include/llvm/CodeGenTypes/MachineValueType.h
M llvm/include/llvm/DWARFLinker/Utils.h
M llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h
M llvm/include/llvm/ExecutionEngine/Orc/Core.h
M llvm/include/llvm/ExecutionEngine/Orc/Shared/ObjectFormats.h
M llvm/include/llvm/Frontend/Directive/DirectiveBase.td
M llvm/include/llvm/Frontend/OpenACC/ACC.td
M llvm/include/llvm/Frontend/OpenMP/ClauseT.h
M llvm/include/llvm/Frontend/OpenMP/OMP.td
M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
M llvm/include/llvm/IR/Attributes.td
M llvm/include/llvm/IR/CallingConv.h
M llvm/include/llvm/IR/ConstantFolder.h
M llvm/include/llvm/IR/Constants.h
M llvm/include/llvm/IR/ConstrainedOps.def
M llvm/include/llvm/IR/DebugInfoMetadata.h
M llvm/include/llvm/IR/Function.h
M llvm/include/llvm/IR/GEPNoWrapFlags.h
M llvm/include/llvm/IR/IRBuilder.h
M llvm/include/llvm/IR/IRBuilderFolder.h
M llvm/include/llvm/IR/InstrTypes.h
M llvm/include/llvm/IR/Instructions.h
M llvm/include/llvm/IR/IntrinsicInst.h
M llvm/include/llvm/IR/Intrinsics.td
M llvm/include/llvm/IR/IntrinsicsAArch64.td
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/include/llvm/IR/IntrinsicsRISCV.td
M llvm/include/llvm/IR/MDBuilder.h
M llvm/include/llvm/IR/ModuleSummaryIndex.h
M llvm/include/llvm/IR/NoFolder.h
M llvm/include/llvm/IR/Operator.h
M llvm/include/llvm/IR/PatternMatch.h
M llvm/include/llvm/IR/ProfDataUtils.h
M llvm/include/llvm/IR/PseudoProbe.h
M llvm/include/llvm/IR/RuntimeLibcalls.def
M llvm/include/llvm/InitializePasses.h
M llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
M llvm/include/llvm/LinkAllPasses.h
M llvm/include/llvm/MC/MCAsmLayout.h
M llvm/include/llvm/MC/MCAssembler.h
M llvm/include/llvm/MC/MCContext.h
M llvm/include/llvm/MC/MCFragment.h
M llvm/include/llvm/MC/MCInst.h
M llvm/include/llvm/MC/MCObjectStreamer.h
M llvm/include/llvm/MC/MCSection.h
M llvm/include/llvm/MC/MCSymbolWasm.h
M llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h
M llvm/include/llvm/ObjectYAML/DWARFYAML.h
M llvm/include/llvm/Passes/CodeGenPassBuilder.h
M llvm/include/llvm/Passes/MachinePassRegistry.def
M llvm/include/llvm/Passes/PassBuilder.h
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/include/llvm/ProfileData/InstrProfReader.h
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/include/llvm/ProfileData/MemProfReader.h
M llvm/include/llvm/ProfileData/PGOCtxProfWriter.h
M llvm/include/llvm/ProfileData/SampleProfWriter.h
M llvm/include/llvm/Support/CodeGen.h
M llvm/include/llvm/Support/Endian.h
M llvm/include/llvm/Support/Errc.h
M llvm/include/llvm/Support/Error.h
M llvm/include/llvm/Support/GenericLoopInfoImpl.h
M llvm/include/llvm/Support/KnownBits.h
M llvm/include/llvm/Support/MathExtras.h
M llvm/include/llvm/Support/WindowsError.h
M llvm/include/llvm/Support/raw_ostream.h
M llvm/include/llvm/TableGen/DirectiveEmitter.h
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
M llvm/include/llvm/Target/TargetOptions.h
M llvm/include/llvm/Target/TargetSelectionDAG.td
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/include/llvm/TargetParser/ARMTargetParser.def
M llvm/include/llvm/TargetParser/TargetParser.h
M llvm/include/llvm/TargetParser/X86TargetParser.def
M llvm/include/llvm/Transforms/IPO/Attributor.h
A llvm/include/llvm/Transforms/IPO/ExpandVariadics.h
M llvm/include/llvm/Transforms/IPO/FunctionImport.h
M llvm/include/llvm/Transforms/Utils.h
M llvm/include/llvm/Transforms/Utils/UnrollLoop.h
A llvm/include/llvm/Transforms/Vectorize/LoopIdiomVectorize.h
M llvm/lib/Analysis/BasicAliasAnalysis.cpp
M llvm/lib/Analysis/BranchProbabilityInfo.cpp
M llvm/lib/Analysis/CGSCCPassManager.cpp
M llvm/lib/Analysis/CodeMetrics.cpp
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/Analysis/LazyCallGraph.cpp
M llvm/lib/Analysis/LazyValueInfo.cpp
M llvm/lib/Analysis/Local.cpp
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
M llvm/lib/Analysis/LoopInfo.cpp
M llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
M llvm/lib/Analysis/PHITransAddr.cpp
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp
M llvm/lib/Analysis/TargetTransformInfo.cpp
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/Analysis/VectorUtils.cpp
M llvm/lib/AsmParser/LLLexer.cpp
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/BinaryFormat/Dwarf.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
M llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h
M llvm/lib/CodeGen/AtomicExpandPass.cpp
M llvm/lib/CodeGen/BasicBlockPathCloning.cpp
M llvm/lib/CodeGen/CodeGen.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/CommandFlags.cpp
M llvm/lib/CodeGen/EarlyIfConversion.cpp
M llvm/lib/CodeGen/FinalizeISel.cpp
M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/CombinerHelperVectorOps.cpp
M llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
M llvm/lib/CodeGen/GlobalISel/Utils.cpp
M llvm/lib/CodeGen/GlobalMerge.cpp
M llvm/lib/CodeGen/InlineSpiller.cpp
M llvm/lib/CodeGen/LLVMTargetMachine.cpp
M llvm/lib/CodeGen/LazyMachineBlockFrequencyInfo.cpp
M llvm/lib/CodeGen/LiveDebugVariables.cpp
M llvm/lib/CodeGen/LiveIntervals.cpp
M llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
M llvm/lib/CodeGen/MIRSampleProfile.cpp
M llvm/lib/CodeGen/MachineBasicBlock.cpp
M llvm/lib/CodeGen/MachineBlockPlacement.cpp
M llvm/lib/CodeGen/MachineCSE.cpp
M llvm/lib/CodeGen/MachineCombiner.cpp
M llvm/lib/CodeGen/MachineCopyPropagation.cpp
M llvm/lib/CodeGen/MachineDominanceFrontier.cpp
M llvm/lib/CodeGen/MachineDominators.cpp
M llvm/lib/CodeGen/MachineFunction.cpp
M llvm/lib/CodeGen/MachineLICM.cpp
M llvm/lib/CodeGen/MachineLoopInfo.cpp
M llvm/lib/CodeGen/MachineOutliner.cpp
M llvm/lib/CodeGen/MachinePipeliner.cpp
M llvm/lib/CodeGen/MachinePostDominators.cpp
M llvm/lib/CodeGen/MachineRegionInfo.cpp
M llvm/lib/CodeGen/MachineScheduler.cpp
M llvm/lib/CodeGen/MachineSink.cpp
M llvm/lib/CodeGen/MachineUniformityAnalysis.cpp
M llvm/lib/CodeGen/MachineVerifier.cpp
M llvm/lib/CodeGen/ModuloSchedule.cpp
M llvm/lib/CodeGen/PHIElimination.cpp
M llvm/lib/CodeGen/PeepholeOptimizer.cpp
M llvm/lib/CodeGen/PostRASchedulerList.cpp
M llvm/lib/CodeGen/PrologEpilogInserter.cpp
M llvm/lib/CodeGen/RegAllocBasic.cpp
M llvm/lib/CodeGen/RegAllocFast.cpp
M llvm/lib/CodeGen/RegAllocGreedy.cpp
M llvm/lib/CodeGen/RegAllocGreedy.h
M llvm/lib/CodeGen/RegAllocPBQP.cpp
M llvm/lib/CodeGen/RegisterCoalescer.cpp
M llvm/lib/CodeGen/ReplaceWithVeclib.cpp
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/CodeGen/ShrinkWrap.cpp
M llvm/lib/CodeGen/StackSlotColoring.cpp
M llvm/lib/CodeGen/TargetLoweringBase.cpp
M llvm/lib/CodeGen/TargetOptionsImpl.cpp
M llvm/lib/CodeGen/TargetPassConfig.cpp
M llvm/lib/CodeGen/TargetRegisterInfo.cpp
M llvm/lib/CodeGen/UnreachableBlockElim.cpp
M llvm/lib/CodeGen/WasmEHPrepare.cpp
M llvm/lib/CodeGen/XRayInstrumentation.cpp
M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerCompileUnit.cpp
M llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp
M llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
M llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
M llvm/lib/ExecutionEngine/Orc/Shared/ObjectFormats.cpp
M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/IR/AsmWriter.cpp
M llvm/lib/IR/Attributes.cpp
M llvm/lib/IR/AutoUpgrade.cpp
M llvm/lib/IR/CMakeLists.txt
M llvm/lib/IR/ConstantFold.cpp
M llvm/lib/IR/ConstantRange.cpp
M llvm/lib/IR/Constants.cpp
M llvm/lib/IR/ConstantsContext.h
M llvm/lib/IR/Core.cpp
A llvm/lib/IR/DIExpressionOptimizer.cpp
M llvm/lib/IR/DebugInfoMetadata.cpp
M llvm/lib/IR/Function.cpp
M llvm/lib/IR/Instruction.cpp
M llvm/lib/IR/Instructions.cpp
M llvm/lib/IR/MDBuilder.cpp
M llvm/lib/IR/Metadata.cpp
M llvm/lib/IR/ProfDataUtils.cpp
M llvm/lib/IR/PseudoProbe.cpp
M llvm/lib/IR/Verifier.cpp
M llvm/lib/LTO/LTO.cpp
M llvm/lib/LTO/LTOBackend.cpp
M llvm/lib/LTO/ThinLTOCodeGenerator.cpp
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCContext.cpp
M llvm/lib/MC/MCDwarf.cpp
M llvm/lib/MC/MCExpr.cpp
M llvm/lib/MC/MCFragment.cpp
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/MC/MCParser/AsmParser.cpp
M llvm/lib/MC/MCPseudoProbe.cpp
M llvm/lib/MC/MCSection.cpp
M llvm/lib/MC/MCTargetOptionsCommandFlags.cpp
M llvm/lib/MC/MachObjectWriter.cpp
M llvm/lib/MC/WasmObjectWriter.cpp
M llvm/lib/MC/WinCOFFObjectWriter.cpp
M llvm/lib/ObjCopy/ELF/ELFObject.h
M llvm/lib/Object/ELFObjectFile.cpp
M llvm/lib/Object/MachOObjectFile.cpp
M llvm/lib/ObjectYAML/ELFYAML.cpp
M llvm/lib/Passes/PassBuilder.cpp
R llvm/lib/Target/AArch64/AArch64LoopIdiomTransform.h
R llvm/unittests/ADT/MoveOnly.cpp
Log Message:
-----------
Merge branch 'main' into users/ahmedbougacha/ptrauth-function-pointers
Compare: https://github.com/llvm/llvm-project/compare/c260f8d8c63c...ad726910f0df
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