[all-commits] [llvm/llvm-project] cae6d4: [CompilerRT] Add support for numerical sanitizer (...
Amir Ayupov via All-commits
all-commits at lists.llvm.org
Tue Jul 2 11:52:50 PDT 2024
Branch: refs/heads/users/shawbyoung/spr/main.bolt-function-matching-with-function-calls-as-anchors
Home: https://github.com/llvm/llvm-project
Commit: cae6d458a0a528a037f6a43f308a9d92048f8ef1
https://github.com/llvm/llvm-project/commit/cae6d458a0a528a037f6a43f308a9d92048f8ef1
Author: Alexander Shaposhnikov <6532716+alexander-shaposhnikov at users.noreply.github.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
M compiler-rt/cmake/config-ix.cmake
A compiler-rt/include/sanitizer/nsan_interface.h
A compiler-rt/lib/nsan/CMakeLists.txt
A compiler-rt/lib/nsan/nsan.cc
A compiler-rt/lib/nsan/nsan.h
A compiler-rt/lib/nsan/nsan.syms.extra
A compiler-rt/lib/nsan/nsan_flags.cc
A compiler-rt/lib/nsan/nsan_flags.h
A compiler-rt/lib/nsan/nsan_flags.inc
A compiler-rt/lib/nsan/nsan_interceptors.cc
A compiler-rt/lib/nsan/nsan_platform.h
A compiler-rt/lib/nsan/nsan_stats.cc
A compiler-rt/lib/nsan/nsan_stats.h
A compiler-rt/lib/nsan/nsan_suppressions.cc
A compiler-rt/lib/nsan/nsan_suppressions.h
A compiler-rt/lib/nsan/tests/CMakeLists.txt
A compiler-rt/lib/nsan/tests/NSanUnitTest.cpp
A compiler-rt/lib/nsan/tests/nsan_unit_test_main.cpp
A compiler-rt/test/nsan/CMakeLists.txt
A compiler-rt/test/nsan/Unit/lit.site.cfg.py.in
A compiler-rt/test/nsan/lit.cfg.py
A compiler-rt/test/nsan/lit.site.cfg.py.in
Log Message:
-----------
[CompilerRT] Add support for numerical sanitizer (#94322)
This diff contains the compiler-rt changes / preparations for nsan.
Test plan:
1. cd build/runtimes/runtimes-bins && ninja check-nsan
2. ninja check-all
Commit: 89e8e63f47ffc355bf5c55cea8f43a806174cce8
https://github.com/llvm/llvm-project/commit/89e8e63f47ffc355bf5c55cea8f43a806174cce8
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/test/Transforms/Attributor/assumes_info.ll
M llvm/test/Transforms/OpenMP/spmdization_guarding.ll
Log Message:
-----------
[Attributor] Stabilize llvm.assume output
Don't rely on the iteration order of DenseSet<StringRef>, which is not
guaranteed to be deterministic.
Commit: 6d340e4c448c14b7103fddfec7d429b9d535611d
https://github.com/llvm/llvm-project/commit/6d340e4c448c14b7103fddfec7d429b9d535611d
Author: Vijay Kandiah <vkandiah at nvidia.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
M flang/test/Fir/convert-to-llvm.fir
Log Message:
-----------
[flang] fixing alloca hoisting for blocks having single op. (#96009)
This change fixes the issue
https://github.com/llvm/llvm-project/issues/95977 due to commit
c0cba5198155dba246ddd5764f57595d9bbbddef inserting allocas after the
terminator op in the insertion block in the case where the block had
only a single operation, its terminator, in it. With this change, the
hoisted constant-sized allocas are placed at the front of the insertion
block, rather than right after the first operation in it.
Commit: c025bd1fdbbdbe76c450eb08ebd8649fb3179d5a
https://github.com/llvm/llvm-project/commit/c025bd1fdbbdbe76c450eb08ebd8649fb3179d5a
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp
Log Message:
-----------
[TableGen,GlobalISel] Use MapVector to stabilize iteration order
Otherwise llvm/test/TableGen/GlobalISelCombinerEmitter/type-inference.td
could fail when llvm::hash_value(StringRef) changes.
Fix #66377
Commit: 34313eb1f0c2f5c6b5303b26d6babdad985e16e9
https://github.com/llvm/llvm-project/commit/34313eb1f0c2f5c6b5303b26d6babdad985e16e9
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/ExecutionEngine/JITLink/SEHFrameSupport.h
Log Message:
-----------
[JITLink] Ensure Edges order is deterministic
Commit: fa00e8bb6a14d39e273f85a77308923ad28329f0
https://github.com/llvm/llvm-project/commit/fa00e8bb6a14d39e273f85a77308923ad28329f0
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Correctly annotate l_brace after TypenameMacro (#96026)
Closes #95418.
Commit: f8f4235612b9668bbcbb6a58634fcb756794045e
https://github.com/llvm/llvm-project/commit/f8f4235612b9668bbcbb6a58634fcb756794045e
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
Log Message:
-----------
[JITLink] Use MapVector to stabilize iteration order
Otherwise LinkGraph::dump output could change
(llvm/test/ExecutionEngine/JITLink/x86-64/COFF_pdata_strip.s) when
llvm::hash_value(StringRef) changes.
Commit: 57778ec36c9c7e96b76a167f19dccbe00d49c9d4
https://github.com/llvm/llvm-project/commit/57778ec36c9c7e96b76a167f19dccbe00d49c9d4
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M libc/test/src/sched/param_and_scheduler_test.cpp
Log Message:
-----------
[libc] Fix scheduler test incorrectly guessing user privileges (#95562)
Non-root users may be able to set real-time scheduling policies. Don't
expect failure to set real-time scheduling policies based on UID.
Instead, check that if it fails, it is either due to missing privileges,
or unsupported parameters if the scheduling policy is not mandated by
POSIX.
Fixes #95564.
Commit: ad79a14c9e5ec4a369eed4adf567c22cc029863f
https://github.com/llvm/llvm-project/commit/ad79a14c9e5ec4a369eed4adf567c22cc029863f
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/DenseMapInfo.h
Log Message:
-----------
[ADT] Update hash function of uint64_t for DenseMap (#95734)
(Background: See the comment:
https://github.com/llvm/llvm-project/pull/92083#issuecomment-2168121729)
It looks like the hash function for 64bits integers are not very good:
```
static unsigned getHashValue(const unsigned long long& Val) {
return (unsigned)(Val * 37ULL);
}
```
Since the result is truncated to 32 bits. It looks like the higher 32
bits won't contribute to the result. So that `0x1'00000001` will have
the the same results to `0x2'00000001`, `0x3'00000001`, ...
Then we may meet a lot collisions in such cases. I feel it should
generally good to include higher 32 bits for hashing functions.
Not sure who's the appropriate reviewer, adding some people by
impressions.
Commit: fa0666876cdf11162af341911b99311a56be2274
https://github.com/llvm/llvm-project/commit/fa0666876cdf11162af341911b99311a56be2274
Author: Prashant Kumar <pk5561 at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
M mlir/test/Dialect/Linalg/transform-op-decompose.mlir
Log Message:
-----------
[mlir][linalg] Fix numerical issue with softmax (#96090)
For more info:
https://github.com/iree-org/iree/issues/17670#issuecomment-2167591878
Commit: 480a788e4946ac7b313291f26bca19aa65d649f1
https://github.com/llvm/llvm-project/commit/480a788e4946ac7b313291f26bca19aa65d649f1
Author: Kai Luo <lkail at cn.ibm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
M llvm/test/CodeGen/PowerPC/peephole-mma-phi-liveness.ll
Log Message:
-----------
[PowerPC] Make verifier happy after peephole on MMA COPYs (#94321)
Commit: da2ad44119edf13eb944f7e685469352aa840e63
https://github.com/llvm/llvm-project/commit/da2ad44119edf13eb944f7e685469352aa840e63
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/include/clang/Lex/ExternalPreprocessorSource.h
M clang/include/clang/Lex/HeaderSearch.h
M clang/lib/Lex/HeaderSearch.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
Log Message:
-----------
[HeaderSearch] Introduce LazyIdentifierInfoPtr for Controlling Macro in HeaderFileInfo
This patch is helpful to reduce 32 bits for HeaderFileInfo by combining
a uint32_t and pointer into a tagged pointer.
This is reviewed as part of
https://github.com/llvm/llvm-project/pull/92085 and required to be split
as a separate commit
Commit: 5ef02d9963765514f094092d6635eb8b4f1f9ce6
https://github.com/llvm/llvm-project/commit/5ef02d9963765514f094092d6635eb8b4f1f9ce6
Author: Roger Ferrer Ibáñez <rofirrim at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/RuntimeLibcalls.def
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.h
A llvm/test/CodeGen/RISCV/clear-cache.ll
Log Message:
-----------
[RISCV] Lower llvm.clear_cache to __riscv_flush_icache for glibc targets (#93481)
This change is a preliminary step to support trampolines on RISC-V. Trampolines are used by flang to implement obtaining the address of an internal program (i.e., a nested function in Fortran parlance).
In this change we lower `llvm.clear_cache` intrinsic on glibc targets to
`__riscv_flush_icache` which is what GCC is currently doing for Linux targets.
Commit: 2f2ea3557bfe5aa773ae12a7f0a01a26f1791349
https://github.com/llvm/llvm-project/commit/2f2ea3557bfe5aa773ae12a7f0a01a26f1791349
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/include/clang/Lex/ExternalPreprocessorSource.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ModuleFile.h
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/GlobalModuleIndex.cpp
M clang/lib/Serialization/ModuleFile.cpp
A clang/test/Modules/no-transitive-identifier-change.cppm
Log Message:
-----------
[Serialization] No transitive identifier change (#92085)
Following of https://github.com/llvm/llvm-project/pull/92083
The motivation is still cutting of the unnecessary change in the
dependency chain. See the above link (recursively) for details.
After this patch, (and the above patch), we can already do something
pretty interesting. For example,
#### Motivation example
```
//--- m-partA.cppm
export module m:partA;
export inline int getA() {
return 43;
}
export class A {
public:
int getMem();
};
export template <typename T>
class ATempl {
public:
T getT();
};
//--- m-partA.v1.cppm
export module m:partA;
export inline int getA() {
return 43;
}
// Now we add a new declaration without introducing a new type.
// The consuming module which didn't use m:partA completely is expected to be
// not changed.
export inline int getA2() {
return 88;
}
export class A {
public:
int getMem();
// Now we add a new declaration without introducing a new type.
// The consuming module which didn't use m:partA completely is expected to be
// not changed.
int getMem2();
};
export template <typename T>
class ATempl {
public:
T getT();
// Add a new declaration without introducing a new type.
T getT2();
};
//--- m-partB.cppm
export module m:partB;
export inline int getB() {
return 430;
}
//--- m.cppm
export module m;
export import :partA;
export import :partB;
//--- useBOnly.cppm
export module useBOnly;
import m;
export inline int get() {
return getB();
}
```
In this example, module `m` exports two partitions `:partA` and
`:partB`. And a consumer `useBOnly` only consumes the entities from
`:partB`. So we don't hope the BMI of `useBOnly` changes if only
`:partA` changes. After this patch, we can make it if the change of
`:partA` doesn't introduce new types. (And we can get rid of this if we
make no-transitive-type-change).
As the example shows, when we change the implementation of `:partA` from
`m-partA.cppm` to `m-partA.v1.cppm`, we add new function declaration
`getA2()` at the global namespace, add a new member function `getMem2()`
to class `A` and add a new member function to `getT2()` to class
template `ATempl`. And since `:partA` is not used by `useBOnly`
completely, the BMI of `useBOnly` won't change after we made above
changes.
#### Design details
Method used in this patch is similar with
https://github.com/llvm/llvm-project/pull/92083 and
https://github.com/llvm/llvm-project/pull/86912. It extends the 32 bit
IdentifierID to 64 bits and use the higher 32 bits to store the module
file index. So that the encoding of the identifier won't get affected by
other modules.
#### Overhead
Similar with https://github.com/llvm/llvm-project/pull/92083 and
https://github.com/llvm/llvm-project/pull/86912. The change is only
expected to increase the size of the on-disk .pcm files and not affect
the compile-time performances. And from my experiment, the size of the
on-disk change only increase 1%+ and observe no compile-time impacts.
#### Future Plans
I'll try to do the same thing for type ids. IIRC, it won't change the
dependency graph if we add a new type in an unused units. I do think
this is a significant win. And this will be a pretty good answer to "why
modules are better than headers."
Commit: ac02bf733c9fd9242877109096dd0f6768f2766b
https://github.com/llvm/llvm-project/commit/ac02bf733c9fd9242877109096dd0f6768f2766b
Author: Qiu Chaofan <qiucofan at cn.ibm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/docs/LangRef.rst
Log Message:
-----------
[NFC] Fix header level in LangRef
Commit: fd88089151e66a4cb1d90aaa224e4cb4e7a748f4
https://github.com/llvm/llvm-project/commit/fd88089151e66a4cb1d90aaa224e4cb4e7a748f4
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGExpr.cpp
M clang/test/CodeGenCXX/catch-undef-behavior.cpp
Log Message:
-----------
-fsanitize=vptr: Change hash function and simplify bit mixer
llvm::hash_value is not guaranteed to be deterministic. Use the
deterministic xxh3_64bits. A strong bit mixer isn't necessary. Use a
simpler one that works well with pointers.
Commit: 394e321a2ea021194891cf5b0c5747a901fb7915
https://github.com/llvm/llvm-project/commit/394e321a2ea021194891cf5b0c5747a901fb7915
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
M llvm/test/Transforms/CorrelatedValuePropagation/basic.ll
A llvm/test/Transforms/CorrelatedValuePropagation/switch.ll
Log Message:
-----------
Reland "[CVP] Check whether the default case is reachable (#79993)" (#96089)
This patch reverts https://github.com/llvm/llvm-project/pull/81585 as
https://github.com/llvm/llvm-project/pull/78582 has been landed.
Now clang works well with reproducer
https://github.com/llvm/llvm-project/pull/79993#issuecomment-1936822679.
Commit: c2f976649a5ef405b224bfe36267966cdd394057
https://github.com/llvm/llvm-project/commit/c2f976649a5ef405b224bfe36267966cdd394057
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-20 (Thu, 20 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/SymbolFileDWARF.cpp
M lldb/test/Shell/SymbolFile/DWARF/x86/simple-template-names-context.cpp
Log Message:
-----------
[lldb/DWARF] Fix type definition search with simple template names (#95905)
With simple template names the template arguments aren't embedded in the
DW_AT_name attribute of the type. The code in
FindDefinitionTypeForDWARFDeclContext was comparing the synthesized
template arguments on the leaf (most deeply nested) DIE, but was not
sufficient, as the difference get be at any level above that
(Foo<T>::Bar vs. Foo<U>::Bar). This patch makes sure we compare the
entire context.
As a drive-by I also remove the completely unnecessary
ConstStringification of the GetDIEClassTemplateParams result.
Commit: 799e3c9e1713c3a52e45f071786a9748c4308c01
https://github.com/llvm/llvm-project/commit/799e3c9e1713c3a52e45f071786a9748c4308c01
Author: Adrian Kuegel <akuegel at google.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M mlir/lib/Pass/IRPrinting.cpp
Log Message:
-----------
[mlir] Apply ClangTidy finding.
Commit: 930dd3fd873c91556b878444d57b1d12651b266f
https://github.com/llvm/llvm-project/commit/930dd3fd873c91556b878444d57b1d12651b266f
Author: Daniel Kiss <daniel.kiss at arm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/Module.h
M llvm/lib/IR/Module.cpp
M llvm/unittests/IR/ModuleTest.cpp
Log Message:
-----------
[LLVM] Extend setModuleFlag interface. (#86031)
Add same interfaces variants to the `Module::setModuleFlag` as the
`Module::addModuleFlag` has.
Commit: 76d3ab2cc33336c1eece6484c9a55577eac7e79a
https://github.com/llvm/llvm-project/commit/76d3ab2cc33336c1eece6484c9a55577eac7e79a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-20 (Thu, 20 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/include/llvm-c/Core.h
M llvm/include/llvm/IR/Constants.h
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/lib/IR/Constants.cpp
M llvm/lib/IR/Core.cpp
R llvm/test/Assembler/2003-05-21-MalformedShiftCrash.ll
M llvm/test/Assembler/flags.ll
M llvm/test/Transforms/InstCombine/rotate.ll
M llvm/test/Transforms/InstCombine/shift-logic.ll
M llvm/test/Transforms/InstCombine/udiv-simplify.ll
M llvm/test/Transforms/LoopStrengthReduce/pr2537.ll
M llvm/test/Verifier/ifunc-opaque.ll
M llvm/unittests/IR/ConstantsTest.cpp
Log Message:
-----------
[IR] Remove support for shl constant expressions (#96037)
Remove support for shl constant expressions, as part of:
https://discourse.llvm.org/t/rfc-remove-most-constant-expressions/63179
Commit: e7d63ebaa2928056fb837a575a36dc4447dc80b2
https://github.com/llvm/llvm-project/commit/e7d63ebaa2928056fb837a575a36dc4447dc80b2
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M flang/lib/Lower/ConvertCall.cpp
M flang/test/Lower/HLFIR/assumed-rank-calls.f90
Log Message:
-----------
[flang] enable copy-in/out of assumed-rank arrays (#96080)
Just remove the TODO and add a test.
There is nothing special to do to deal with assumed-rank copy-in/out
after the previous copy-in/out API change in
https://github.com/llvm/llvm-project/pull/95822.
Commit: fa08e97d03afd215caeb297a822895c4d0d93b7b
https://github.com/llvm/llvm-project/commit/fa08e97d03afd215caeb297a822895c4d0d93b7b
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M flang/lib/Lower/ConvertCall.cpp
M flang/lib/Optimizer/Builder/MutableBox.cpp
M flang/test/Lower/HLFIR/assumed-rank-calls.f90
Log Message:
-----------
[flang] lower assumed-rank TARGET to intent(in) POINTER (#96082)
The only special thing to do is to use fir.rebox_assumed_rank when
reboxing the target to properly set the POINTER attribute inside the
descriptor.
Commit: cc145f40530667d65220536a3e03eabe9fdd46cf
https://github.com/llvm/llvm-project/commit/cc145f40530667d65220536a3e03eabe9fdd46cf
Author: Cullen Rhodes <cullen.rhodes at arm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/LowerVectorGather.cpp
M mlir/test/Dialect/Vector/vector-gather-lowering.mlir
Log Message:
-----------
[mlir][vector] Disable Gather1DToConditionalLoads for scalable vectors (#96049)
Pattern scalarizes vector.gather operations and is incorrect for
scalable vectors.
Commit: 1d1d007b4bc1d326c13b9cfcc65257c7fe78a301
https://github.com/llvm/llvm-project/commit/1d1d007b4bc1d326c13b9cfcc65257c7fe78a301
Author: Danial Klimkin <dklimkin at google.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
Fix bazel build past abd95342f0b94e140b36ac954b8f8c29b1393861 (#96143)
Commit: 11344249e1e8360e75490733660ee1439d571228
https://github.com/llvm/llvm-project/commit/11344249e1e8360e75490733660ee1439d571228
Author: Danial Klimkin <dklimkin at google.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/include/clang/Lex/ExternalPreprocessorSource.h
Log Message:
-----------
Update ExternalPreprocessorSource.h (#96144)
Add missing includes.
Commit: ef83c25b0e56438d1697138915273dc71b8acf82
https://github.com/llvm/llvm-project/commit/ef83c25b0e56438d1697138915273dc71b8acf82
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M compiler-rt/lib/nsan/CMakeLists.txt
R compiler-rt/lib/nsan/nsan.cc
A compiler-rt/lib/nsan/nsan.cpp
M compiler-rt/lib/nsan/nsan.h
R compiler-rt/lib/nsan/nsan_flags.cc
A compiler-rt/lib/nsan/nsan_flags.cpp
R compiler-rt/lib/nsan/nsan_interceptors.cc
A compiler-rt/lib/nsan/nsan_interceptors.cpp
R compiler-rt/lib/nsan/nsan_stats.cc
A compiler-rt/lib/nsan/nsan_stats.cpp
M compiler-rt/lib/nsan/nsan_stats.h
R compiler-rt/lib/nsan/nsan_suppressions.cc
A compiler-rt/lib/nsan/nsan_suppressions.cpp
M compiler-rt/lib/nsan/tests/NSanUnitTest.cpp
Log Message:
-----------
[nsan] Fix style issue
The initial check-in of compiler-rt/lib/nsan #94322 has a lot of style
issues. Fix them before the history becomes more useful.
Pull Request: https://github.com/llvm/llvm-project/pull/96142
Commit: 7cf84d3b0bc5eda3a907dfd026d51a17e28114a3
https://github.com/llvm/llvm-project/commit/7cf84d3b0bc5eda3a907dfd026d51a17e28114a3
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M compiler-rt/lib/profile/InstrProfilingFile.c
Log Message:
-----------
mmapForContinuousMode: Align Linux's impl to __APPLE__'s more. NFC. (#95702)
Commit: b9ad0b6875950a0e161ad31447f796562f55a83a
https://github.com/llvm/llvm-project/commit/b9ad0b6875950a0e161ad31447f796562f55a83a
Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaType.cpp
M clang/test/SemaCXX/paren-list-agg-init.cpp
Log Message:
-----------
[clang] Fix `static_cast` to array of unknown bound (#96041)
Per P1975R0 an expression like static_cast<U[]>(...) defines the type of
the expression as U[1].
Fixes https://github.com/llvm/llvm-project/issues/62863
Commit: acf675b63f9426e61aac2155e29280f7d21f9421
https://github.com/llvm/llvm-project/commit/acf675b63f9426e61aac2155e29280f7d21f9421
Author: Martin Storsjö <martin at martin.st>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M lld/MinGW/Driver.cpp
M lld/test/MinGW/driver.test
Log Message:
-----------
[LLD] [MinGW] Interpret an empty -entry option as no entry point (#96055)
This fixes https://github.com/llvm/llvm-project/issues/93309, and seems
to match how GNU ld handles this case.
Commit: 46beeaa3940ef8380ee99b9f666cd27b884f63e4
https://github.com/llvm/llvm-project/commit/46beeaa3940ef8380ee99b9f666cd27b884f63e4
Author: aengelke <engelke at in.tum.de>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCContext.h
M llvm/include/llvm/MC/MCSection.h
M llvm/include/llvm/MC/MCSectionCOFF.h
M llvm/include/llvm/MC/MCSectionDXContainer.h
M llvm/include/llvm/MC/MCSectionELF.h
M llvm/include/llvm/MC/MCSectionGOFF.h
M llvm/include/llvm/MC/MCSectionSPIRV.h
M llvm/include/llvm/MC/MCSectionWasm.h
M llvm/include/llvm/MC/MCSectionXCOFF.h
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
M llvm/lib/MC/MCContext.cpp
M llvm/lib/MC/MCObjectFileInfo.cpp
M llvm/lib/MC/MCParser/COFFAsmParser.cpp
M llvm/lib/MC/MCParser/COFFMasmParser.cpp
M llvm/lib/MC/MCSection.cpp
M llvm/lib/MC/MCSectionCOFF.cpp
M llvm/lib/MC/MCSectionMachO.cpp
M llvm/lib/MC/MCStreamer.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/NVPTX/MCTargetDesc/NVPTXTargetStreamer.cpp
M llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyWasmObjectWriter.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
Log Message:
-----------
[MC] Remove SectionKind from MCSection (#96067)
There are only three actual uses of the section kind in MCSection:
isText(), XCOFF, and WebAssembly. Store isText() in the MCSection, and
store other info in the actual section variants where required.
ELF and COFF flags also encode all relevant information, so for these
two section variants, remove the SectionKind parameter entirely.
This allows to remove the string switch (which is unnecessary and
inaccurate) from createELFSectionImpl. This was introduced in
[D133456](https://reviews.llvm.org/D133456), but apparently, it was
never hit for non-writable sections anyway and the resulting kind was
never used.
Commit: f0897ea4bb2c8cbebdf9d90dc4a0c1effdfe20e9
https://github.com/llvm/llvm-project/commit/f0897ea4bb2c8cbebdf9d90dc4a0c1effdfe20e9
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/MachineLICM.cpp
A llvm/test/CodeGen/AArch64/mlicm-csr-mask.mir
M llvm/test/CodeGen/AMDGPU/indirect-call.ll
Log Message:
-----------
[MachineLICM] Work-around Incomplete RegUnits (#95926)
Reverts the behavior introduced by 770393b while keeping the refactored
code.
Fixes a miscompile on AArch64, at the cost of a small regression on
AMDGPU.
#96146 opened to investigate the issue
Commit: 81e8f01b5511932808ac9b99c3054c0d9dc0259e
https://github.com/llvm/llvm-project/commit/81e8f01b5511932808ac9b99c3054c0d9dc0259e
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/test/MC/Disassembler/AMDGPU/gfx10_exp.txt
Log Message:
-----------
[AMDGPU] Fix typo "GXF" in check prefix
Commit: 2ccfa93ddb2efabd05b56cb12122ab0b8cae27a1
https://github.com/llvm/llvm-project/commit/2ccfa93ddb2efabd05b56cb12122ab0b8cae27a1
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/test/MC/AMDGPU/trap.s
Log Message:
-----------
[AMDGPU] Tweak comment to fix warning from filecheck_lint.py
Commit: 70748dcbe0ab48a1d9e4609fe73dfb9ab5ad36c1
https://github.com/llvm/llvm-project/commit/70748dcbe0ab48a1d9e4609fe73dfb9ab5ad36c1
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/test/MC/AMDGPU/mai-gfx90a.s
M llvm/test/MC/Disassembler/AMDGPU/gfx90a_mai.txt
Log Message:
-----------
[AMDGPU] Fix GFX90A/GFX940 check prefix typos
Commit: d594d9f7f4dc6eb748b3261917db689fdc348b96
https://github.com/llvm/llvm-project/commit/d594d9f7f4dc6eb748b3261917db689fdc348b96
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/test/MC/AMDGPU/isa-version-pal.s
Log Message:
-----------
[AMDGPU] Add a RUN line to test the OSABI-PAL-ERR prefix
Commit: 78ff617d3f573fb3a9b2fef180fa0fd43d5584ea
https://github.com/llvm/llvm-project/commit/78ff617d3f573fb3a9b2fef180fa0fd43d5584ea
Author: Lucas Duarte Prates <lucas.prates at arm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/ARM/ARMISelLowering.h
A llvm/test/CodeGen/ARM/cmse-harden-call-returned-values.ll
A llvm/test/CodeGen/ARM/cmse-harden-entry-arguments.ll
Log Message:
-----------
[ARM] CMSE security mitigation on function arguments and returned values (#89944)
The ABI mandates two things related to function calls:
- Function arguments must be sign- or zero-extended to the register
size by the caller.
- Return values must be sign- or zero-extended to the register size by
the callee.
As consequence, callees can assume that function arguments have been
extended and so can callers with regards to return values.
Here lies the problem: Nonsecure code might deliberately ignore this
mandate with the intent of attempting an exploit. It might try to pass
values that lie outside the expected type's value range in order to
trigger undefined behaviour, e.g. out of bounds access.
With the mitigation implemented, Secure code always performs extension
of values passed by Nonsecure code.
This addresses the vulnerability described in CVE-2024-0151.
Patches by Victor Campos.
---------
Co-authored-by: Victor Campos <victor.campos at arm.com>
Commit: 94fdfc1ca859d5802bee70853913e8d0400ad9d1
https://github.com/llvm/llvm-project/commit/94fdfc1ca859d5802bee70853913e8d0400ad9d1
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/test/MC/AMDGPU/hsa-diag-v4.s
Log Message:
-----------
[AMDGPU] Add ALL prefix to all RUN lines for better diagnostics
Commit: e2296d8295516e9991cd6ca99ba193fbd232b6da
https://github.com/llvm/llvm-project/commit/e2296d8295516e9991cd6ca99ba193fbd232b6da
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M mlir/include/mlir/Conversion/Passes.td
M mlir/lib/Conversion/VectorToArmSME/CMakeLists.txt
M mlir/lib/Conversion/VectorToArmSME/VectorToArmSME.cpp
M mlir/lib/Conversion/VectorToArmSME/VectorToArmSMEPass.cpp
M mlir/test/Conversion/VectorToArmSME/unsupported.mlir
M mlir/test/Conversion/VectorToArmSME/vector-to-arm-sme.mlir
Log Message:
-----------
[mlir][ArmSME] Lower extract from 2D scalable create_mask to psel (#96066)
Example:
```mlir
%mask = vector.create_mask %a, %b : vector<[4]x[8]xi1>
%slice = vector.extract %mask[%index]
: vector<[8]xi1> from vector<[4]x[8]xi1>
```
Becomes:
```mlir
%mask_rows = vector.create_mask %a : vector<[4]xi1>
%mask_cols = vector.create_mask %b : vector<[8]xi1>
%slice = arm_sve.psel %mask_cols, %mask_rows[%index]
: vector<[8]xi1>, vector<[4]xi1>
```
Note: While psel is under ArmSVE it requires SME (or SVE 2.1), so this
is currently the most logical place for this lowering.
Commit: 80f881485accb020345ee7e1c4c3151ec55ce590
https://github.com/llvm/llvm-project/commit/80f881485accb020345ee7e1c4c3151ec55ce590
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGBuilder.h
M clang/lib/CodeGen/CGExpr.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M llvm/include/llvm/IR/IRBuilder.h
M llvm/include/llvm/IR/InstrTypes.h
M llvm/include/llvm/IR/Instruction.h
M llvm/include/llvm/IR/Instructions.h
M llvm/lib/IR/Instruction.cpp
M llvm/lib/IR/Instructions.cpp
M llvm/lib/Transforms/Scalar/SROA.cpp
M polly/include/polly/CodeGen/IRBuilder.h
Log Message:
-----------
[LLVM] Add InsertPosition union-type to remove overloads of Instruction-creation (#94226)
This patch simplifies instruction creation by replacing all overloads of
instruction constructors/Create methods that are identical other than
the Instruction *InsertBefore/BasicBlock *InsertAtEnd/BasicBlock::iterator
InsertBefore argument with a single version that takes an InsertPosition
argument. The InsertPosition class can be implicitly constructed from
any of the above, internally converting them to the appropriate
BasicBlock::iterator value which can then be used to insert the
instruction (or to not insert it if an invalid iterator is passed).
The upshot of this is that code will be deduplicated, and all callsites
will switch to calling the new unified version without any changes
needed to make the compiler happy. There is at least one exception to
this; the construction of InsertPosition is a user-defined conversion,
so any caller that was already relying on a different user-defined
conversion won't work. In all of LLVM and Clang this happens exactly
once: at clang/lib/CodeGen/CGExpr.cpp:123 we try to construct an alloca
with an AssertingVH<Instruction> argument, which must now be cast to an
Instruction* by using `&*`. If this is more common elsewhere, it could
be fixed by adding an appropriate constructor to InsertPosition.
Commit: 919c547130cfd1cd75ccf148cbf2334b27b2f37f
https://github.com/llvm/llvm-project/commit/919c547130cfd1cd75ccf148cbf2334b27b2f37f
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstrArithmetic.td
Log Message:
-----------
[X86] Fix indention in X86InstrArithmetic.td, NFCI
Commit: c1a7c5ac73af92316426deed5f8f10f33f729ad2
https://github.com/llvm/llvm-project/commit/c1a7c5ac73af92316426deed5f8f10f33f729ad2
Author: aengelke <engelke at in.tum.de>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M bolt/lib/Passes/BinaryPasses.cpp
M llvm/include/llvm/MC/MCContext.h
M llvm/include/llvm/MC/MCSymbol.h
M llvm/include/llvm/MC/MCSymbolCOFF.h
M llvm/include/llvm/MC/MCSymbolELF.h
M llvm/include/llvm/MC/MCSymbolGOFF.h
M llvm/include/llvm/MC/MCSymbolMachO.h
A llvm/include/llvm/MC/MCSymbolTableEntry.h
M llvm/include/llvm/MC/MCSymbolWasm.h
M llvm/include/llvm/MC/MCSymbolXCOFF.h
M llvm/lib/MC/MCContext.cpp
M llvm/lib/MC/MCParser/AsmParser.cpp
M llvm/lib/MC/MCParser/MasmParser.cpp
M llvm/lib/MC/MCSymbol.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
Log Message:
-----------
[MC] Eliminate two symbol-related hash maps (#95464)
Previously, a symbol insertion requires (at least) three hash table
operations:
- Lookup/create entry in Symbols (main symbol table)
- Lookup NextUniqueID to deduplicate identical temporary labels
- Add entry to UsedNames, which is also used to serve as storage for the
symbol name in the MCSymbol.
All three lookups are done with the same name, so combining these into a
single table reduces the number of lookups to one. Thus, a pointer to a
symbol table entry can be passed to createSymbol to avoid a duplicate
lookup of the same name.
The new symbol table entry value is placed in a separate header to avoid
including MCContext in MCSymbol or vice versa.
Commit: 1002c08c646d8c85fb63a54140a00c642f317b28
https://github.com/llvm/llvm-project/commit/1002c08c646d8c85fb63a54140a00c642f317b28
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
R flang/test/Lower/OpenMP/Todo/reduction-array-intrinsic.f90
A flang/test/Lower/OpenMP/reduction-array-intrinsic.f90
A flang/test/Lower/OpenMP/wsloop-reduction-allocatable-array-minmax.f90
Log Message:
-----------
[flang][OpenMP] support more reduction types for procedure designators (#96057)
This re-uses reduction declarations from intrinsic operators to add
support for reductions of allocatables, pointers, and arrays with
procedure designators (e.g. min/max).
I have split this into two commits to make it easier to review. The
first one makes the functional change. The second cleans things up now
that we can share much more code between intrinsic operators and
procedure designators.
Commit: 2c06fb899966b49ff0fe4adf55fceb7d1941fbca
https://github.com/llvm/llvm-project/commit/2c06fb899966b49ff0fe4adf55fceb7d1941fbca
Author: Hugo Trachino <hugo.trachino at huawei.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
M mlir/test/Dialect/Vector/vector-transfer-flatten.mlir
Log Message:
-----------
[MLIR][Vector] Generalize DropUnitDimFromElementwiseOps to non leading / trailing dimensions. (#92934)
Generalizes `DropUnitDimFromElementwiseOps` to support inner unit
dimensions.
This change stems from improving lowering of contractionOps for Arm SME.
Where we end up with inner unit dimensions on MulOp, BroadcastOp and
TransposeOp, preventing the generation of outerproducts.
discussed
[here](https://discourse.llvm.org/t/on-improving-arm-sme-lowering-resilience-in-mlir/78543/17?u=nujaa).
---------
Co-authored-by: Benjamin Maxwell <macdue at dueutil.tech>
Commit: ffc51b966e74b89092cd57909d8659756aae106a
https://github.com/llvm/llvm-project/commit/ffc51b966e74b89092cd57909d8659756aae106a
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/AArch64/pr73894.ll
Log Message:
-----------
[LV] Remove loads from null from pr73894.ll test.
Load from null is UB, load from pointer arg instead.
Commit: 105a9f347ac6f59484d29798ac3d116c57080759
https://github.com/llvm/llvm-project/commit/105a9f347ac6f59484d29798ac3d116c57080759
Author: pvanhout <pierre.vanhoutryve at amd.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/mlicm-csr-mask.mir
Log Message:
-----------
[AArch64] Remove -debug flag from mlicm-csr-mask.mir
Commit: 6012de2b4ec24826574fe9f2d74c7d2ff2b52f23
https://github.com/llvm/llvm-project/commit/6012de2b4ec24826574fe9f2d74c7d2ff2b52f23
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/test/Transforms/InstSimplify/compare.ll
Log Message:
-----------
[ValueTracking] Support gep nuw in isKnownNonZero()
gep nuw can be null if and only if both the base pointer and offset
are null. Unlike the inbounds case this does not depend on whether
the null pointer is valid.
Proofs: https://alive2.llvm.org/ce/z/PLoqK5
Commit: 797724975bd5916408d776dcfb959a979778e349
https://github.com/llvm/llvm-project/commit/797724975bd5916408d776dcfb959a979778e349
Author: Danial Klimkin <dklimkin at google.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
Fix bazel build past e2296d8295516e9991cd6ca99ba193fbd232b6da (#96166)
Commit: b18bf8faaef952323c96e4c6b82f25623073fb1c
https://github.com/llvm/llvm-project/commit/b18bf8faaef952323c96e4c6b82f25623073fb1c
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/PassManager.h
M llvm/include/llvm/IR/PassManagerImpl.h
Log Message:
-----------
[NewPM] Move PassManager::run() into Impl.h (NFC)
We use explicit template instantiation for these classes, so there
is no need to have the definition in the header. The places that
instantiate the method will include the PassManagerImpl.h file.
Commit: 6859685a87ad093d60c8bed60b116143c0a684c7
https://github.com/llvm/llvm-project/commit/6859685a87ad093d60c8bed60b116143c0a684c7
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCContext.h
M llvm/lib/CodeGen/MachineBasicBlock.cpp
M llvm/lib/MC/MCContext.cpp
M llvm/test/CodeGen/AArch64/branch-relax-cross-section.mir
M llvm/test/CodeGen/BPF/objdump_cond_op.ll
M llvm/test/CodeGen/BPF/objdump_cond_op_2.ll
Log Message:
-----------
[CodeGen] Use temp symbol for MBBs (#95031)
Internal label names never occur in the symbol table, so when using an
object streamer, there's no point in constructing these names and then
adding them to hash tables -- they are never visible in the output.
It's not possible to reuse createTempSymbol, because on BPF has a
different prefix for globals and basic blocks right now.
Commit: 84428dafc0941e3a31303fa1b286835ab2b8e234
https://github.com/llvm/llvm-project/commit/84428dafc0941e3a31303fa1b286835ab2b8e234
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/MC/MCContext.cpp
Log Message:
-----------
[MC] Fix compilation
Commit: 90779fdc19dc15099231d6ebc39d9d76991d2d43
https://github.com/llvm/llvm-project/commit/90779fdc19dc15099231d6ebc39d9d76991d2d43
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.pops.exiting.wave.id.ll
Log Message:
-----------
[AMDGPU] Preserve chain when selecting llvm.amdgcn.pops.exiting.wave.id (#96167)
Without this SelectionDAG could fail assertions when using the intrinsic
in a non-entry BB.
Commit: 993c12b3177554d7915cde501fe5bddaa95dadae
https://github.com/llvm/llvm-project/commit/993c12b3177554d7915cde501fe5bddaa95dadae
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/www/cxx_dr_status.html
M clang/www/make_cxx_dr_status
Log Message:
-----------
[clang] Change style of superseded issues on C++ DR status page (#96051)
This patch changes how superseded issues inherit the color of the issues
that superseded them. Now they reduce the opacity of the color from 1.0
to 0.65, to make them distinguishable. This was requested during the
review of #94876.
That's how it's going to look:
![a1rYVHQ](https://github.com/llvm/llvm-project/assets/12883766/00e624c0-accb-4440-9f9b-4089a157aab2)
Commit: 89841137fbb3686673b86af3434bf3ba12993d6d
https://github.com/llvm/llvm-project/commit/89841137fbb3686673b86af3434bf3ba12993d6d
Author: Wu Yingcong <yingcong.wu at intel.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M offload/CMakeLists.txt
Log Message:
-----------
[offload][cmake] always define pythonize_bool macro (#96028)
I use the following cmake config to build offload and openmp
```
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="X86" -DLLVM_ENABLE_PROJECTS="clang;openmp" -DLLVM_ENABLE_RUNTIMES="offload" -DLLVM_LIT_ARGS="-vv -a" -DLLVM_ENABLE_ASSERTIONS=ON ../llvm
```
and got the following error:
```
CMake Error at /tmp/build-llvm/llvm/offload/CMakeLists.txt:321 (pythonize_bool):
Unknown CMake command "pythonize_bool".
```
After some search I find out that the "correct" way to build this is
putting openmp and offload to the ENABLE_RUNTIMES like
```
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="X86" -DLLVM_ENABLE_PROJECTS="clang" -DLLVM_ENABLE_RUNTIMES="openmp;offload" -DLLVM_LIT_ARGS="-vv -a" -DLLVM_ENABLE_ASSERTIONS=ON ../llvm
```
.
But since we don't forbid to config them using openmp as PROJECT and
offload as RUNTIME, then we probably support it. The fix is to always
define the pythonize_bool macro. For cmake, it is okay to redefine a
macro, it does not cause a warning or else.
Commit: be339fd99deea6633d35777fee5f60f42236983c
https://github.com/llvm/llvm-project/commit/be339fd99deea6633d35777fee5f60f42236983c
Author: Han-Kuan Chen <hankuan.chen at sifive.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP] NFC. Reduce redundant assignment. (#96149)
Commit: af82e63c28f67bf61a9b2b0e64bc55be4acf520e
https://github.com/llvm/llvm-project/commit/af82e63c28f67bf61a9b2b0e64bc55be4acf520e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/DenseMapInfo.h
Log Message:
-----------
[ADT] DenseMapInfo<unsigned long>::getHashValue - avoid MSVC out of bounds shift warning (#96173)
Fixes MSVC warning after #95734 - despite it taking the `sizeof(Val) == 4` path, it still warns that the 32-bit unsigned long shift by 32 is out of bounds.
Commit: 41c6e4379204ffc00948edd33d59ba5ebbceaba2
https://github.com/llvm/llvm-project/commit/41c6e4379204ffc00948edd33d59ba5ebbceaba2
Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
Date: 2024-06-20 (Thu, 20 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/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:
-----------
Reland [clang][Sema, Lex, Parse] Preprocessor embed in C and C++ (#95802)
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.
This reverts commit
https://github.com/llvm/llvm-project/commit/682d461d5a231cee54d65910e6341769419a67d7.
---------
Co-authored-by: The Phantom Derpstorm <phdofthehouse at gmail.com>
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>
Commit: 3808ba78dea8ef81b108862d795ff21cb463bdb1
https://github.com/llvm/llvm-project/commit/3808ba78dea8ef81b108862d795ff21cb463bdb1
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.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/interleaving-reduction.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/scalable-strict-fadd.ll
M llvm/test/Transforms/LoopVectorize/AArch64/streaming-compatible-sve-no-maximize-bandwidth.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-epilog-vect-inloop-reductions.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-epilog-vect-reductions.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-interleaved-accesses.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-select-cmp.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-option.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-widen-phi.ll
M llvm/test/Transforms/LoopVectorize/ARM/mve-reduction-types.ll
M llvm/test/Transforms/LoopVectorize/ARM/mve-selectandorcost.ll
M llvm/test/Transforms/LoopVectorize/ARM/sphinx.ll
M llvm/test/Transforms/LoopVectorize/ARM/tail-fold-multiple-icmps.ll
M llvm/test/Transforms/LoopVectorize/ARM/tail-folding-not-allowed.ll
M llvm/test/Transforms/LoopVectorize/PowerPC/exit-branch-cost.ll
M llvm/test/Transforms/LoopVectorize/RISCV/defaults.ll
M llvm/test/Transforms/LoopVectorize/RISCV/inloop-reduction.ll
M llvm/test/Transforms/LoopVectorize/RISCV/ordered-reduction.ll
M llvm/test/Transforms/LoopVectorize/RISCV/scalable-basics.ll
M llvm/test/Transforms/LoopVectorize/RISCV/select-cmp-reduction.ll
M llvm/test/Transforms/LoopVectorize/X86/cost-model.ll
M llvm/test/Transforms/LoopVectorize/X86/fixed-order-recurrence.ll
M llvm/test/Transforms/LoopVectorize/X86/invariant-store-vectorization.ll
M llvm/test/Transforms/LoopVectorize/X86/load-deref-pred.ll
M llvm/test/Transforms/LoopVectorize/X86/pr72969.ll
M llvm/test/Transforms/LoopVectorize/X86/reduction-fastmath.ll
M llvm/test/Transforms/LoopVectorize/X86/x86-predication.ll
M llvm/test/Transforms/LoopVectorize/dead_instructions.ll
M llvm/test/Transforms/LoopVectorize/epilog-vectorization-any-of-reductions.ll
M llvm/test/Transforms/LoopVectorize/epilog-vectorization-reductions.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-complex.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence.ll
M llvm/test/Transforms/LoopVectorize/fix-reduction-dbg.ll
M llvm/test/Transforms/LoopVectorize/if-pred-non-void.ll
M llvm/test/Transforms/LoopVectorize/if-pred-stores.ll
M llvm/test/Transforms/LoopVectorize/induction.ll
M llvm/test/Transforms/LoopVectorize/interleaved-accesses.ll
M llvm/test/Transforms/LoopVectorize/invariant-store-vectorization-2.ll
M llvm/test/Transforms/LoopVectorize/invariant-store-vectorization.ll
M llvm/test/Transforms/LoopVectorize/reduction-align.ll
M llvm/test/Transforms/LoopVectorize/reduction-inloop-cond.ll
M llvm/test/Transforms/LoopVectorize/reduction-odd-interleave-counts.ll
M llvm/test/Transforms/LoopVectorize/reduction-small-size.ll
M llvm/test/Transforms/LoopVectorize/reduction.ll
M llvm/test/Transforms/LoopVectorize/scalable-reduction-inloop.ll
M llvm/test/Transforms/LoopVectorize/select-cmp-predicated.ll
M llvm/test/Transforms/LoopVectorize/select-cmp.ll
M llvm/test/Transforms/PhaseOrdering/AArch64/hoist-runtime-checks.ll
Log Message:
-----------
[VPlan] Model middle block via VPIRBasicBlock. (#95816)
Use VPIRBasicBlock to wrap the middle block and implement patching up
branches in predecessors in VPIRBasicBlock::execute. The IR middle block
is only created after skeleton creation. Initially a regular
VPBasicBlock is created, which will later be replaced by a
VPIRBasicBlock once the middle IR basic block has been created.
Note that this slightly changes the order of instructions created in the
middle block; code generated by recipe execution in the middle block
will now be inserted before the terminator (and in between the compare
to used by the terminator). The original order will be restored in
https://github.com/llvm/llvm-project/pull/92651.
PR: https://github.com/llvm/llvm-project/pull/95816
Commit: 7f09aa9e3670778217a3d61702a4cf3343e6449d
https://github.com/llvm/llvm-project/commit/7f09aa9e3670778217a3d61702a4cf3343e6449d
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/test/Analysis/ScalarEvolution/flags-from-poison.ll
Log Message:
-----------
[SCEV] Transfer gep nusw and nuw flags
nusw implies nsw offset and nuw base+offset arithmetic if offset
is non-negative. nuw implies nuw offset and base+offset arithmetic.
As usual, we can only transfer is poison implies UB.
Commit: 4abbf99579633d70bdecb9876cbed319ce9f546a
https://github.com/llvm/llvm-project/commit/4abbf99579633d70bdecb9876cbed319ce9f546a
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M flang/lib/Lower/ConvertType.cpp
M flang/lib/Lower/HostAssociations.cpp
M flang/lib/Optimizer/Builder/MutableBox.cpp
A flang/test/Lower/HLFIR/assumed-rank-internal-proc.f90
Log Message:
-----------
[flang] lower assumed-ranks captured in internal procedures (#96106)
Note: the added test fails because it needs the `associateMutableBox`
change from https://github.com/llvm/llvm-project/pull/96082. I will
rebase this PR once the other is merged.
Commit: 9ddf3b835c4c0f1d73ace1e2af1e05ec4bce865d
https://github.com/llvm/llvm-project/commit/9ddf3b835c4c0f1d73ace1e2af1e05ec4bce865d
Author: Fabian Mora <fmora.dev at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M mlir/docs/Dialects/GPU.md
M mlir/include/mlir/Config/mlir-config.h.cmake
M mlir/include/mlir/Conversion/Passes.td
M mlir/include/mlir/Dialect/GPU/Transforms/Passes.h
M mlir/include/mlir/Dialect/GPU/Transforms/Utils.h
M mlir/lib/Dialect/GPU/CMakeLists.txt
R mlir/lib/Dialect/GPU/Transforms/SerializeToBlob.cpp
R mlir/lib/Dialect/GPU/Transforms/SerializeToHsaco.cpp
M mlir/tools/mlir-opt/mlir-opt.cpp
Log Message:
-----------
[mlir][gpu] Remove old GPU serialization passes (#94998)
This patch removes the last vestiges of the old gpu serialization
pipeline. To compile GPU code use target attributes instead.
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: b6c9dcc9f57b870645cb44155dc5993ec551320a
https://github.com/llvm/llvm-project/commit/b6c9dcc9f57b870645cb44155dc5993ec551320a
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstrArithmetic.td
M llvm/test/CodeGen/X86/apx/adc.ll
M llvm/test/CodeGen/X86/apx/add.ll
M llvm/test/CodeGen/X86/apx/and.ll
M llvm/test/CodeGen/X86/apx/or.ll
M llvm/test/CodeGen/X86/apx/xor.ll
Log Message:
-----------
[X86][CodeGen] Not emit mr_ND if rr_ND is commutable
This gives us more chance to compress instruction in X86CompressEVEX.cpp
b/c mr_ND is not a candidate of instructions to be compressed while
rm_ND is.
Commit: 8f90258a5140bfb7b4d7f0fd503a9e659d79ba77
https://github.com/llvm/llvm-project/commit/8f90258a5140bfb7b4d7f0fd503a9e659d79ba77
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M flang/lib/Lower/ConvertVariable.cpp
A flang/test/Lower/HLFIR/assumed-rank-entry.f90
Log Message:
-----------
[flang] implement assumed-rank in ENTRY (#96111)
With `createUnallocatedBox` utility change from #96106 , the TODO for assumed-rank in entry
can simply be lifted and test is added.
The key is that a unallocated assumed-rank descriptor is created with
rank zero in the entry where an assumed-rank dummy from some other entry
do not appear as a dummy (the symbol must still be mapped to some valid
value because the symbol could be used in code that would be unreachable
at runtime, but that the compiler must still generate).
Commit: 724d903e03aaf7ee7d4bcdf3cd9fe1e1bda33f9a
https://github.com/llvm/llvm-project/commit/724d903e03aaf7ee7d4bcdf3cd9fe1e1bda33f9a
Author: PeterChou1 <peter.chou at mail.utoronto.ca>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
A clang-tools-extra/test/clang-doc/single-source-html.cpp
Log Message:
-----------
[clang-doc] Add --asset option to clang-doc (#94717)
Adds a new option --asset which allows users to specify the asset
folder for the html output of clang-doc.
Commit: 33c9331a9279d5d7f72afbac43de7f7da2ab63ed
https://github.com/llvm/llvm-project/commit/33c9331a9279d5d7f72afbac43de7f7da2ab63ed
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.pops.exiting.wave.id.ll
Log Message:
-----------
[AMDGPU] Precommit a test for llvm.amdgcn.pops.exiting.wave.id
Commit: b608b223ab152bb84c8f28a4a1184f9033c99560
https://github.com/llvm/llvm-project/commit/b608b223ab152bb84c8f28a4a1184f9033c99560
Author: Mital Ashok <mital at mitalashok.co.uk>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaExceptionSpec.cpp
M clang/test/SemaCXX/cxx0x-noexcept-expression.cpp
Log Message:
-----------
[Clang] [Sema] Ensure noexcept(typeid(E)) checks if E throws when needed (#95846)
3ad31e12ccfc7db25f3cbedc4ee966e7099ac78f changed it so that not all
potentially-evaluated `typeid`s were marked as potentially-throwing, but
I forgot to check the subexpression if the null check of the `typeid`
didn't potentially-throw. This adds that check.
Commit: 93ce8e10870429695a6a1aa8f16446ec1b042445
https://github.com/llvm/llvm-project/commit/93ce8e10870429695a6a1aa8f16446ec1b042445
Author: Thomas Preud'homme <thomas.preudhomme at arm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M mlir/lib/Interfaces/Utils/InferIntRangeCommon.cpp
Log Message:
-----------
Fix Android build failure in InferIntRangeCommon (#96154)
As of today, Android's libcxx is missing C++17's std::function's CTAD
added in e1eabcdfad89f67ae575b0c86aa4a72d277378b4. This leads to
InferIntRangeCommon.cpp to fail to compile. This commit makes the
template parameter of std::function in that function explicit, therefore
avoiding CTAD. While LLVM/MLIR's requirement is C++17, the rest of the
code builds fine so hopefully this is acceptable.
Commit: 290a939fc3a09b00fbda1dc655bb6373d878e18d
https://github.com/llvm/llvm-project/commit/290a939fc3a09b00fbda1dc655bb6373d878e18d
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/test/Analysis/ScalarEvolution/flags-from-poison.ll
Log Message:
-----------
[SCEV] Handle nusw/nuw gep flags for addrecs
Set the nw flag is gep has any nowrap flags. Transfer the nuw
flag. Also set nuw for the nusw + nneg combination.
Commit: b84323cca9e2c7049c0aec92a45911742822b40e
https://github.com/llvm/llvm-project/commit/b84323cca9e2c7049c0aec92a45911742822b40e
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C11] Remove N1350 and N1394 from the list of documents on the C status page
These papers added Annex K, which is a library component that Clang
doesn't need to do anything to support.
Commit: ace069d7c5882431d1fd72c5c297ec2508d20fb0
https://github.com/llvm/llvm-project/commit/ace069d7c5882431d1fd72c5c297ec2508d20fb0
Author: Shan Huang <52285902006 at stu.ecnu.edu.cn>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp
A llvm/test/Transforms/TailCallElim/dropping_debugloc_acc_rec_inst_rnew.ll
Log Message:
-----------
[DebugInfo][TailCallElim] Drop the debug location of AccRecInstrNew (#95742)
Fix #95731 .
Commit: 40a0ad2af3b6305fbabec003e51dad62564aa019
https://github.com/llvm/llvm-project/commit/40a0ad2af3b6305fbabec003e51dad62564aa019
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C11] Claim conformance to WG14 N3159
This was a roll-up of defect reports that we already test elsewhere, so
no additional test coverage is needed.
DR345: tested by clang/test/C/drs/dr3xx.c
DR344: tested by clang/test/C/drs/dr3xx.c
DR343: tested by clang/test/C/drs/dr3xx.c
DR341: tested by clang/test/C/drs/dr3xx.c
DR340: tested by clang/test/C/drs/dr3xx.c
DR338: tested by clang/test/C/drs/dr338.c
DR336: N/A for the compiler
DR330: N/A for the compiler
DR329: N/A for the compiler
DR328: tested by clang/test/C/drs/dr3xx.c
DR327: editorial
DR326: N/A for the compiler
DR315: tested by clang/test/C/drs/dr3xx.c
Commit: fa6d38d61afff695357977853ec17d0b7cc8e975
https://github.com/llvm/llvm-project/commit/fa6d38d61afff695357977853ec17d0b7cc8e975
Author: Tomas Matheson <Tomas.Matheson at arm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/include/clang/Basic/TargetInfo.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Basic/Targets/AArch64.h
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/Targets/AArch64.cpp
M clang/test/CodeGen/aarch64-fmv-dependencies.c
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/Target/AArch64/AArch64.td
A llvm/lib/Target/AArch64/AArch64FMV.td
M llvm/lib/Target/AArch64/AArch64Features.td
M llvm/lib/TargetParser/AArch64TargetParser.cpp
M llvm/unittests/TargetParser/TargetParserTest.cpp
M llvm/utils/TableGen/ARMTargetDefEmitter.cpp
Log Message:
-----------
[AArch64][TargetParser] Split FMV and extensions (#92882)
FMV extensions are really just mappings from FMV feature names to lists
of backend features for codegen. Split them out into their own separate
file.
Commit: 2ae6889d3f6c6bbe8390d6b1686c6583492b44a2
https://github.com/llvm/llvm-project/commit/2ae6889d3f6c6bbe8390d6b1686c6583492b44a2
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/docs/GlobalISel/GenericOpcode.rst
M llvm/include/llvm/Support/TargetOpcodes.def
M llvm/include/llvm/Target/GenericOpcodes.td
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
M llvm/lib/Target/SPIRV/SPIRVLegalizerInfo.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/acos.ll
A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/asin.ll
A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/atan.ll
A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/cosh.ll
A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/sinh.ll
A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/tanh.ll
Log Message:
-----------
[SPIRV] Add trig function lowering (#95973)
This change is part of this proposal:
https://discourse.llvm.org/t/rfc-all-the-math-intrinsics/78294
This is part 2 of 4 PRs. It sets the ground work for adding the
intrinsics.
Add SPIRV Lower for `acos`, `asin`, `atan`, `cosh`, `sinh`, and `tanh`
https://github.com/llvm/llvm-project/issues/70079
https://github.com/llvm/llvm-project/issues/70080
https://github.com/llvm/llvm-project/issues/70081
https://github.com/llvm/llvm-project/issues/70083
https://github.com/llvm/llvm-project/issues/70084
https://github.com/llvm/llvm-project/issues/95966
There isn't any aarch64 change in this pr, but when you add a target
opcode it is visible in there validaiton tests.
Commit: 67f5312c41a072aaa725b5943cce2aa0f1643781
https://github.com/llvm/llvm-project/commit/67f5312c41a072aaa725b5943cce2aa0f1643781
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/lib/AST/Interp/ByteCodeStmtGen.cpp
M clang/lib/AST/Interp/Interp.h
M clang/test/AST/Interp/records.cpp
M clang/test/SemaCXX/uninitialized.cpp
Log Message:
-----------
[clang][Interp] Nested ThisExprs that don't refer to the frame this ptr
Use a series of ops in that case, getting us to the right declaration
field.
Commit: 3e55ac94c7502d69c71bda0948a8353a6622da6e
https://github.com/llvm/llvm-project/commit/3e55ac94c7502d69c71bda0948a8353a6622da6e
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/mul.ll
M llvm/test/CodeGen/RISCV/rv32xtheadba.ll
M llvm/test/CodeGen/RISCV/rv32zba.ll
M llvm/test/CodeGen/RISCV/rv64-legal-i32/rv64zba.ll
M llvm/test/CodeGen/RISCV/rv64xtheadba.ll
M llvm/test/CodeGen/RISCV/rv64zba.ll
M llvm/test/CodeGen/RISCV/rvv/calling-conv-fastcc.ll
M llvm/test/CodeGen/RISCV/rvv/extract-subvector.ll
M llvm/test/CodeGen/RISCV/rvv/mscatter-combine.ll
M llvm/test/CodeGen/RISCV/rvv/setcc-fp-vp.ll
M llvm/test/CodeGen/RISCV/rvv/stepvector.ll
M llvm/test/CodeGen/RISCV/srem-seteq-illegal-types.ll
M llvm/test/CodeGen/RISCV/urem-vector-lkk.ll
Log Message:
-----------
[RISCV] Strength reduce mul by 2^N - 2^M (#88983)
This is a three instruction expansion, and does not depend on zba, so
most of the test changes are in base RV32/64I configurations.
With zba, this gets immediates such as 14, 28, 30, 56, 60, 62.. which
aren't covered by our other expansions.
Commit: 2e515ed60a6d63610a7b0d485158ca4d32f9cbce
https://github.com/llvm/llvm-project/commit/2e515ed60a6d63610a7b0d485158ca4d32f9cbce
Author: Balázs Kéri <balazs.keri at ericsson.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/docs/analyzer/checkers.rst
Log Message:
-----------
[clang] Move 'alpha.cplusplus.MisusedMovedObject' to 'cplusplus.Move' in documentation (NFC) (#95003)
The checker was renamed at some time ago but the documentation was not
updated. The section is now just moved and renamed. The documentation is
still very simple and needs improvement.
Commit: 67226bad150785f64efcf53c79b7785d421fc8eb
https://github.com/llvm/llvm-project/commit/67226bad150785f64efcf53c79b7785d421fc8eb
Author: Alexandre Ganea <aganea at havenstudios.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/CMakeLists.txt
M llvm/docs/CMake.rst
M llvm/docs/ReleaseNotes.rst
M llvm/lib/Support/CMakeLists.txt
A llvm/lib/Support/rpmalloc/CACHE.md
A llvm/lib/Support/rpmalloc/README.md
A llvm/lib/Support/rpmalloc/malloc.c
A llvm/lib/Support/rpmalloc/rpmalloc.c
A llvm/lib/Support/rpmalloc/rpmalloc.h
A llvm/lib/Support/rpmalloc/rpnew.h
M llvm/utils/release/build_llvm_release.bat
Log Message:
-----------
[Support] Vendor rpmalloc in-tree and use it for the Windows 64-bit release (#91862)
### Context
We have a longstanding performance issue on Windows, where to this day,
the default heap allocator is still lockfull. With the number of cores
increasing, building and using LLVM with the default Windows heap
allocator is sub-optimal. Notably, the ThinLTO link times with LLD are
extremely long, and increase proportionally with the number of cores in
the machine.
In
https://github.com/llvm/llvm-project/commit/a6a37a2fcd2a8048a75bd0d8280497ed89d73224,
I introduced the ability build LLVM with several popular lock-free
allocators. Downstream users however have to build their own toolchain
with this option, and building an optimal toolchain is a bit tedious and
long. Additionally, LLVM is now integrated into Visual Studio, which
AFAIK re-distributes the vanilla LLVM binaries/installer. The point
being that many users are impacted and might not be aware of this
problem, or are unable to build a more optimal version of the toolchain.
The symptom before this PR is that most of the CPU time goes to the
kernel (darker blue) when linking with ThinLTO:
![16c_ryzen9_windows_heap](https://github.com/llvm/llvm-project/assets/37383324/86c3f6b9-6028-4c1a-ba60-a2fa3876fba7)
With this PR, most time is spent in user space (light blue):
![16c_ryzen9_rpmalloc](https://github.com/llvm/llvm-project/assets/37383324/646b88f3-5b6d-485d-a2e4-15b520bdaf5b)
On higher core count machines, before this PR, the CPU usage becomes
pretty much flat because of contention:
<img width="549" alt="VM_176_windows_heap"
src="https://github.com/llvm/llvm-project/assets/37383324/f27d5800-ee02-496d-a4e7-88177e0727f0">
With this PR, similarily most CPU time is now used:
<img width="549" alt="VM_176_with_rpmalloc"
src="https://github.com/llvm/llvm-project/assets/37383324/7d4785dd-94a7-4f06-9b16-aaa4e2e505c8">
### Changes in this PR
The avenue I've taken here is to vendor/re-licence rpmalloc in-tree, and
use it when building the Windows 64-bit release. Given the permissive
rpmalloc licence, prior discussions with the LLVM foundation and
@lattner suggested this vendoring. Rpmalloc's author (@mjansson) kindly
agreed to ~~donate~~ re-licence the rpmalloc code in LLVM (please do
correct me if I misinterpreted our past communications).
I've chosen rpmalloc because it's small and gives the best value
overall. The source code is only 4 .c files. Rpmalloc is statically
replacing the weak CRT alloc symbols at link time, and has no dynamic
patching like mimalloc. As an alternative, there were several
unsuccessfull attempts made by Russell Gallop to use SCUDO in the past,
please see thread in https://reviews.llvm.org/D86694. If later someone
comes up with a PR of similar performance that uses SCUDO, we could then
delete this vendored rpmalloc folder.
I've added a new cmake flag `LLVM_ENABLE_RPMALLOC` which essentialy sets
`LLVM_INTEGRATED_CRT_ALLOC` to the in-tree rpmalloc source.
### Performance
The most obvious test is profling a ThinLTO linking step with LLD. I've
used a Clang compilation as a testbed, ie.
```
set OPTS=/GS- /D_ITERATOR_DEBUG_LEVEL=0 -Xclang -O3 -fstrict-aliasing -march=native -flto=thin -fwhole-program-vtables -fuse-ld=lld
cmake -G Ninja %ROOT%/llvm -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=TRUE -DLLVM_ENABLE_PROJECTS="clang" -DLLVM_ENABLE_PDB=ON -DLLVM_OPTIMIZED_TABLEGEN=ON -DCMAKE_C_COMPILER=clang-cl.exe -DCMAKE_CXX_COMPILER=clang-cl.exe -DCMAKE_LINKER=lld-link.exe -DLLVM_ENABLE_LLD=ON -DCMAKE_CXX_FLAGS="%OPTS%" -DCMAKE_C_FLAGS="%OPTS%" -DLLVM_ENABLE_LTO=THIN
```
I've profiled the linking step with no LTO cache, with Powershell, such
as:
```
Measure-Command { lld-link /nologo @CMakeFiles\clang.rsp /out:bin\clang.exe /implib:lib\clang.lib /pdb:bin\clang.pdb /version:0.0 /machine:x64 /STACK:10000000 /DEBUG /OPT:REF /OPT:ICF /INCREMENTAL:NO /subsystem:console /MANIFEST:EMBED,ID=1 }`
```
Timings:
| Machine | Allocator | Time to link |
|--------|--------|--------|
| 16c/32t AMD Ryzen 9 5950X | Windows Heap | 10 min 38 sec |
| | **Rpmalloc** | **4 min 11 sec** |
| 32c/64t AMD Ryzen Threadripper PRO 3975WX | Windows Heap | 23 min 29
sec |
| | **Rpmalloc** | **2 min 11 sec** |
| | **Rpmalloc + /threads:64** | **1 min 50 sec** |
| 176 vCPU (2 socket) Intel Xeon Platinium 8481C (fixed clock 2.7 GHz) |
Windows Heap | 43 min 40 sec |
| | **Rpmalloc** | **1 min 45 sec** |
This also improves the overall performance when building with clang-cl.
I've profiled a regular compilation of clang itself, ie:
```
set OPTS=/GS- /D_ITERATOR_DEBUG_LEVEL=0 /arch:AVX -fuse-ld=lld
cmake -G Ninja %ROOT%/llvm -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=TRUE -DLLVM_ENABLE_PROJECTS="clang;lld" -DLLVM_ENABLE_PDB=ON -DLLVM_OPTIMIZED_TABLEGEN=ON -DCMAKE_C_COMPILER=clang-cl.exe -DCMAKE_CXX_COMPILER=clang-cl.exe -DCMAKE_LINKER=lld-link.exe -DLLVM_ENABLE_LLD=ON -DCMAKE_CXX_FLAGS="%OPTS%" -DCMAKE_C_FLAGS="%OPTS%"
```
This saves approx. 30 sec when building on the Threadripper PRO 3975WX:
```
(default Windows Heap)
C:\src\git\llvm-project>hyperfine -r 5 -p "make_llvm.bat stage1_test2" "ninja clang -C stage1_test2"
Benchmark 1: ninja clang -C stage1_test2
Time (mean ± σ): 392.716 s ± 3.830 s [User: 17734.025 s, System: 1078.674 s]
Range (min … max): 390.127 s … 399.449 s 5 runs
(rpmalloc)
C:\src\git\llvm-project>hyperfine -r 5 -p "make_llvm.bat stage1_test2" "ninja clang -C stage1_test2"
Benchmark 1: ninja clang -C stage1_test2
Time (mean ± σ): 360.824 s ± 1.162 s [User: 15148.637 s, System: 905.175 s]
Range (min … max): 359.208 s … 362.288 s 5 runs
```
Commit: e3eb12cce97fa75d1d2443bcc2c2b26aa660fe34
https://github.com/llvm/llvm-project/commit/e3eb12cce97fa75d1d2443bcc2c2b26aa660fe34
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/include/clang/Basic/Builtins.def
M clang/include/clang/Basic/BuiltinsAMDGPU.def
M clang/lib/AST/ASTContext.cpp
M clang/lib/CodeGen/CGBuiltin.cpp
A clang/test/CodeGenHIP/builtins-make-buffer-rsrc.hip
A clang/test/CodeGenOpenCL/builtins-amdgcn-make-buffer-rsrc.cl
Log Message:
-----------
[Clang][AMDGPU] Add a builtin for `llvm.amdgcn.make.buffer.rsrc` intrinsic (#95276)
Depends on https://github.com/llvm/llvm-project/pull/94830.
Commit: d4bfc4a821dfcb1bc2445dc21c30eacdb7b90197
https://github.com/llvm/llvm-project/commit/d4bfc4a821dfcb1bc2445dc21c30eacdb7b90197
Author: Anton Sidorenko <anton.sidorenko at syntacore.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVSchedSyntacoreSCR1.td
Log Message:
-----------
[RISCV][NFC] Cleanup SCR1 sched model (#96088)
Related to https://github.com/llvm/llvm-project/pull/95948
Commit: abad8455ab08d4ca25b893e6a4605c1abe4aac02
https://github.com/llvm/llvm-project/commit/abad8455ab08d4ca25b893e6a4605c1abe4aac02
Author: Jonas Rickert <semi1 at posteo.de>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M mlir/include/mlir-c/IR.h
M mlir/lib/Bindings/Python/IRCore.cpp
M mlir/lib/Bindings/Python/IRModule.h
M mlir/lib/CAPI/IR/IR.cpp
M mlir/python/mlir/_mlir_libs/_mlir/ir.pyi
M mlir/test/CAPI/ir.c
M mlir/test/python/ir/operation.py
Log Message:
-----------
[mlir] Expose skipRegions option for Op printing in the C and Python bindings (#96150)
The MLIR C and Python Bindings expose various methods from
`mlir::OpPrintingFlags` . This PR adds a binding for the `skipRegions`
method, which allows to skip the printing of Regions when printing Ops.
It also exposes this option as parameter in the python `get_asm` and
`print` methods
Commit: f1ce6a465d09f9527151f2f36c19072d2091cbaa
https://github.com/llvm/llvm-project/commit/f1ce6a465d09f9527151f2f36c19072d2091cbaa
Author: Nick Desaulniers (paternity leave) <nickdesaulniers at users.noreply.github.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/arm/headers.txt
M libc/config/linux/arm/entrypoints.txt
M libc/config/linux/arm/headers.txt
M libc/include/llvm-libc-types/jmp_buf.h
M libc/include/setjmp.h.def
A libc/src/setjmp/arm/CMakeLists.txt
A libc/src/setjmp/arm/longjmp.cpp
A libc/src/setjmp/arm/setjmp.cpp
Log Message:
-----------
[libc][arm] implement a basic setjmp/longjmp (#93220)
Note: our baremetal arm configuration compiles this as
`--target=arm-none-eabi`, so this code is built in -marm mode. It could be
smaller with `--target=armv7-none-eabi -mthumb`. The assembler is valid ARMv5,
or THUMB2, but not THUMB(1).
Commit: bed2eb64de05d0e1f5a8494e8c0f44b24d41dd18
https://github.com/llvm/llvm-project/commit/bed2eb64de05d0e1f5a8494e8c0f44b24d41dd18
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/GenericDomTreeConstruction.h
Log Message:
-----------
[GenericDomTreeConstruction] Use SmallVector (NFC) (#96138)
The use of SmallVector here saves 4.7% of heap allocations during the
compilation of ConvertExpr.cpp.ii, a preprocessed version of
flang/lib/Lower/ConvertExpr.cpp.
Commit: 898b8a42b5fde2738da46ec9f5b427693bc681a1
https://github.com/llvm/llvm-project/commit/898b8a42b5fde2738da46ec9f5b427693bc681a1
Author: Zaara Syeda <syzaara at ca.ibm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCRegisterInfo.td
M llvm/test/CodeGen/PowerPC/ppc64-anyregcc.ll
Log Message:
-----------
[PPC] Add DwarfRegAlias for VSRPair (#95837)
Add DwarfRegAlias for VSRPair as it shares dwarfRegNum with the VR
registers.
Commit: 037a9a754a79af2d501786b8b88a5416446d7186
https://github.com/llvm/llvm-project/commit/037a9a754a79af2d501786b8b88a5416446d7186
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/docs/ReleaseNotes.rst
M llvm/lib/Target/AArch64/AArch64Features.td
M llvm/lib/Target/AArch64/AArch64Processors.td
M llvm/unittests/TargetParser/TargetParserTest.cpp
Log Message:
-----------
[llvm][AArch64] SVE2 is an optional feature in ARMv9.0a (#96007)
... so move it out of the `implied_features` list, and into the
`DefaultExts` list.
Commit: 49ae2dcf369e0fd76e4bb18f1c84e6716ff0ec4b
https://github.com/llvm/llvm-project/commit/49ae2dcf369e0fd76e4bb18f1c84e6716ff0ec4b
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
M lld/COFF/Driver.cpp
M lld/COFF/SymbolTable.cpp
M lld/ELF/InputFiles.cpp
M llvm/include/llvm/IR/PassManager.h
M llvm/include/llvm/IR/PassManagerImpl.h
M llvm/lib/Analysis/PHITransAddr.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/LTO/LTO.cpp
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
M llvm/lib/Transforms/IPO/ConstantMerge.cpp
M llvm/tools/llvm-as/llvm-as.cpp
M llvm/tools/opt/optdriver.cpp
Log Message:
-----------
[PassManager] Remove some unnecessary includes (NFC) (#96175)
SmallPtrSet.h and TimeProfiler.h are unused. CommandLine.h is only
needed for the UseNewDbgInfoFormat declare, which can be moved to the
places that need it.
Commit: 8e0cd7382adacd8bc1741dc26bc0be6bdf8e238a
https://github.com/llvm/llvm-project/commit/8e0cd7382adacd8bc1741dc26bc0be6bdf8e238a
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64Subtarget.h
M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
M llvm/test/CodeGen/AArch64/intrinsic-cttz-elts-sve.ll
M llvm/test/CodeGen/AArch64/sme-intrinsics-mova-extract.ll
M llvm/test/CodeGen/AArch64/sme-intrinsics-mova-insert.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-and-combine.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bit-counting.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bitcast.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bitselect.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-build-vector.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-concat.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ext-loads.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-extract-subvector.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-extract-vector-elt.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fcopysign.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-arith.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-compares.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-convert.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-extend-trunc.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-minmax.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-rounding.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-select.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-vselect.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-arith.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-compares.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-div.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-extends.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-immediates.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-log.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-minmax.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-mul.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-mulh.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-reduce.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-rem.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-select.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-shifts.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-vselect.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ld2-alloca.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-limit-duplane.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-loads.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-log-reduce.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-masked-gather-scatter.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-optimize-ptrue.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-permute-rev.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-permute-zip-uzp-trn.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ptest.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-rev.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-sdiv-pow2.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-shuffle.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-stores.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-subvector.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-trunc-stores.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-trunc.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-vector-shuffle.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-test-register-mov.ll
Log Message:
-----------
[AArch64] Consider runtime mode when deciding to use SVE for fixed-length vectors. (#96081)
This also fixes the case where an SVE div is incorrectly to be assumed
available in non-streaming mode with SME.
Commit: af6acd7442646fde56de919964bd52d7bb7922b2
https://github.com/llvm/llvm-project/commit/af6acd7442646fde56de919964bd52d7bb7922b2
Author: hdoc <68132204+hdoc at users.noreply.github.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/CommentCommandTraits.h
M clang/include/clang/AST/CommentCommands.td
M clang/include/clang/AST/CommentParser.h
M clang/lib/AST/CommentParser.cpp
M clang/test/Index/comment-misc-tags.m
M clang/unittests/AST/CommentParser.cpp
M clang/utils/TableGen/ClangCommentCommandInfoEmitter.cpp
Log Message:
-----------
[Clang][Comments] Support for parsing headers in Doxygen \par commands (#91100)
### Background
Doxygen's `\par` command
([link](https://www.doxygen.nl/manual/commands.html#cmdpar)) has an
optional argument, which denotes the header of the paragraph started by
a given `\par` command.
In short, the paragraph command can be used with a heading, or without
one. The code block below shows both forms and how the current version
of LLVM/Clang parses this code:
```
$ cat test.cpp
/// \par User defined paragraph:
/// Contents of the paragraph.
///
/// \par
/// New paragraph under the same heading.
///
/// \par
/// A second paragraph.
class A {};
$ clang++ -cc1 -ast-dump -fcolor-diagnostics -std=c++20 test.cpp
`-CXXRecordDecl 0x1530f3a78 <test.cpp:11:1, col:10> col:7 class A definition
|-FullComment 0x1530fea38 <line:2:4, line:9:23>
| |-ParagraphComment 0x1530fe7e0 <line:2:4>
| | `-TextComment 0x1530fe7b8 <col:4> Text=" "
| |-BlockCommandComment 0x1530fe800 <col:5, line:3:30> Name="par"
| | `-ParagraphComment 0x1530fe878 <line:2:9, line:3:30>
| | |-TextComment 0x1530fe828 <line:2:9, col:32> Text=" User defined paragraph:"
| | `-TextComment 0x1530fe848 <line:3:4, col:30> Text=" Contents of the paragraph."
| |-ParagraphComment 0x1530fe8c0 <line:5:4>
| | `-TextComment 0x1530fe898 <col:4> Text=" "
| |-BlockCommandComment 0x1530fe8e0 <col:5, line:6:41> Name="par"
| | `-ParagraphComment 0x1530fe930 <col:4, col:41>
| | `-TextComment 0x1530fe908 <col:4, col:41> Text=" New paragraph under the same heading."
| |-ParagraphComment 0x1530fe978 <line:8:4>
| | `-TextComment 0x1530fe950 <col:4> Text=" "
| `-BlockCommandComment 0x1530fe998 <col:5, line:9:23> Name="par"
| `-ParagraphComment 0x1530fe9e8 <col:4, col:23>
| `-TextComment 0x1530fe9c0 <col:4, col:23> Text=" A second paragraph."
`-CXXRecordDecl 0x1530f3bb0 <line:11:1, col:7> col:7 implicit class A
```
As we can see above, the optional paragraph heading (`"User defined
paragraph"`) is not an argument of the `\par` `BlockCommandComment`, but
instead a child `TextComment`.
For documentation generators like [hdoc](https://hdoc.io/), it would be
ideal if we could parse Doxygen documentation comments with these
semantics in mind. Currently that's not possible.
### Change
This change parses `\par` command according to how Doxygen parses them,
making an optional header available as a an argument if it is present.
In addition:
- AST unit tests are defined to test this functionality when an argument
is present, isn't present, with additional spacing, etc.
- TableGen is updated with an `IsParCommand` to support this
functionality
- `lit` tests are updated where needed
Commit: 651d44d3dac68192bc4fa37a53e13ae3211c9de0
https://github.com/llvm/llvm-project/commit/651d44d3dac68192bc4fa37a53e13ae3211c9de0
Author: Daniel Otero <danielotero at users.noreply.github.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/lib/Headers/CMakeLists.txt
Log Message:
-----------
[clang] Fix missing installed header (#95979)
Since commit 8d468c132eed7ffe34d601b224220efd51655eb3, the header
`openmp_wrappers/complex` is hidden behind `openmp_wrappers/complex.h`
due to a bug in CMake[^1], so is not actually installed.
To test the issue, you can ask `ninja` to generate the file on your
build:
```
$ ninja lib/clang/19/include/openmp_wrappers/complex.h
[199/199] Copying clang's openmp_wrappers/complex.h...
$ ninja lib/clang/19/include/openmp_wrappers/complex
ninja: error: unknown target 'lib/clang/19/include/openmp_wrappers/complex', did you mean 'lib/clang/19/include/openmp_wrappers/complex.h'?
```
Re-ordering the entries workarounds the issue. The other option is to
revert the cited commit, but I'm not sure which approach is preferred.
CC @etcwilde @jdoerfert
[^1]: [Here](https://gitlab.kitware.com/cmake/cmake/-/issues/26058) is
the CMake report on the issue.
Commit: c07be08df5731dac0b36e029a0dd03ccb099deea
https://github.com/llvm/llvm-project/commit/c07be08df5731dac0b36e029a0dd03ccb099deea
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/AArch64/conditional-branches-cost.ll
Log Message:
-----------
[LV] Add tail folding test with scalarized store and wide header mask.
Add additional test with salarized store which caused crashes with
earlier versions of https://github.com/llvm/llvm-project/pull/92555.
Commit: 242cc200ccb24e22eaf54aed7b0b0c84cfc54c0b
https://github.com/llvm/llvm-project/commit/242cc200ccb24e22eaf54aed7b0b0c84cfc54c0b
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/lib/Transforms/Vectorize/VPlanValue.h
M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
Log Message:
-----------
Recommit "[VPlan] First step towards VPlan cost modeling. (#92555)"
This reverts commit 6f538f6a2d3224efda985e9eb09012fa4275ea92.
Extra tests for crashes discovered when building Chromium have been
added in fb86cb7ec157689e, 3be7312f81ad2.
Original message:
This adds a new interface to compute the cost of recipes, VPBasicBlocks,
VPRegionBlocks and VPlan, initially falling back to the legacy cost model
for all recipes. Follow-up patches will gradually migrate recipes to
compute their own costs step-by-step.
It also adds getBestPlan function to LVP which computes the cost of all
VPlans and picks the most profitable one together with the most
profitable VF.
The VPlan selected by the VPlan cost model is executed and there is an
assert to catch cases where the VPlan cost model and the legacy cost
model disagree. Even though I checked a number of different build
configurations on AArch64 and X86, there may be some differences
that have been missed.
Additional discussions and context can be found in @arcbbb's
https://github.com/llvm/llvm-project/pull/67647 and
https://github.com/llvm/llvm-project/pull/67934 which is an earlier
version of the current PR.
PR: https://github.com/llvm/llvm-project/pull/92555
Commit: c65fb32ddd2f35ecda4db58e78290839f9249c23
https://github.com/llvm/llvm-project/commit/c65fb32ddd2f35ecda4db58e78290839f9249c23
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-06-20 (Thu, 20 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] Update tests for collapse 3/n (nfc) (#94906)
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 for `vector.transfer_write` is
complemented with all the possible combinations:
* scalable (rather than fixed) unit trailing dim,
* dynamic (rather than static) trailing dim in the source memref.
To this end, the following tests:
* `@leading_scalable_dimension_transfer_write`
`@trailing_scalable_one_dim_transfer_write`
are replaced with:
* `@drop_two_inner_most_dim_scalable_inner_dim` and
`@negative_scalable_unit_dim`,
respectively. In addition:
* "_for_transfer_write" is removed from function names (to reduce
noise).
In addition, to maintain consistency between the tests for `xfer_read`
and `xfer_write`, 2 negative tests for `xfer_read` are also renamed.
This is to follow the suggestion made during the review of this PR.
Extra comments in "VectorTransforms.cpp" are added to better
document the limitations related to scalable vectors and which tests
added here excercise.
This is a follow-up for: #94490 and #94604
NOTE: This PR is limited to tests for `vector.transfer_write`.
Commit: 869f5517605224944d6037716e234d9f1f0e7067
https://github.com/llvm/llvm-project/commit/869f5517605224944d6037716e234d9f1f0e7067
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M lldb/test/API/api/multiple-debuggers/multi-process-driver.cpp
Log Message:
-----------
[lldb] Give more time to test/API/multiple-debuggers
This test occasionally fails on two of the busiest CI bots (asan and
matrix), and we can't reproduce it locally. This leads to the
hypothesis that the test is timing out (in the sense of the number of
"join attempts" performed by this test's driver).
This commit doubles the number of iterations performed and also does
an NFC refactor of the main test loop so that it can be more easily
understood.
Commit: afb3f7e0b723a88ffbd950736ac2396630154dd9
https://github.com/llvm/llvm-project/commit/afb3f7e0b723a88ffbd950736ac2396630154dd9
Author: Sam Clegg <sbc at chromium.org>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M lld/test/wasm/Inputs/libstub.so
M lld/test/wasm/stub-library-archive.s
M lld/test/wasm/stub-library.s
M lld/wasm/Driver.cpp
Log Message:
-----------
[lld][WebAssembly] Handle stub symbol dependencies when an explicit import name is used (#80169)
Commit: 0ec567c370df86893a22bf59d2716f6e553ca63b
https://github.com/llvm/llvm-project/commit/0ec567c370df86893a22bf59d2716f6e553ca63b
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
M lldb/test/API/lang/objcxx/objc-from-cpp-frames-without-debuginfo/TestObjCFromCppFramesWithoutDebugInfo.py
R lldb/test/Shell/Expr/TestObjCInCXXContext.test
Log Message:
-----------
Revert "[lldb][ObjC] Don't query objective-c runtime for decls in C++ contexts (#95963)"
This reverts commit dadf960607bb429baebd3f523ce5b93260a154d2.
The commit caused `TestEarlyProcessLaunch.py` to fail on the
macOS bots.
Commit: 6bc71cdd32de0add80d620b1342b5549efff363a
https://github.com/llvm/llvm-project/commit/6bc71cdd32de0add80d620b1342b5549efff363a
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
A clang/test/C/C99/n448.c
M clang/www/c_status.html
Log Message:
-----------
[C99] Claim partial conformance to n448
This is the paper that added the 'restrict' keyword. Clang is
conforming to the letter of the standard's requirements, so it would be
defensible for us to claim full support instead. However, LLVM does not
currently support the optimization semantics with restricted local
variables or data members, only with restricted pointers declared in
function parameters. So we're only claiming partial support because we
don't yet take full advantage of what the feature allows.
Commit: d1bc75c0bce141b94f9afadfde4e784760735ec0
https://github.com/llvm/llvm-project/commit/d1bc75c0bce141b94f9afadfde4e784760735ec0
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M lldb/include/lldb/Core/ValueObject.h
M lldb/include/lldb/DataFormatters/ValueObjectPrinter.h
M lldb/source/API/SBValue.cpp
M lldb/source/Breakpoint/Watchpoint.cpp
M lldb/source/Commands/CommandObjectDWIMPrint.cpp
M lldb/source/Commands/CommandObjectExpression.cpp
M lldb/source/Commands/CommandObjectFrame.cpp
M lldb/source/Commands/CommandObjectMemory.cpp
M lldb/source/Commands/CommandObjectTarget.cpp
M lldb/source/Commands/CommandObjectThread.cpp
M lldb/source/Core/DumpRegisterValue.cpp
M lldb/source/Core/FormatEntity.cpp
M lldb/source/Core/ValueObject.cpp
M lldb/source/DataFormatters/ValueObjectPrinter.cpp
M lldb/source/Plugins/REPL/Clang/ClangREPL.cpp
M lldb/test/API/commands/dwim-print/TestDWIMPrint.py
M lldb/test/API/commands/dwim-print/main.c
M lldb/test/Shell/SymbolFile/DWARF/x86/class-type-nullptr-deref.s
M lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-signature-loop.s
M lldb/unittests/ValueObject/DumpValueObjectOptionsTests.cpp
Log Message:
-----------
Convert ValueObject::Dump() to return llvm::Error() (NFCish)
This change by itself has no measurable effect on the LLDB
testsuite. I'm making it in preparation for threading through more
errors in the Swift language plugin.
Commit: f900644ae2b6c7a485673974688a62c3f3301dcc
https://github.com/llvm/llvm-project/commit/f900644ae2b6c7a485673974688a62c3f3301dcc
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M lldb/include/lldb/Core/ValueObject.h
M lldb/include/lldb/DataFormatters/ValueObjectPrinter.h
M lldb/include/lldb/Target/LanguageRuntime.h
M lldb/source/API/SBValue.cpp
M lldb/source/Core/ValueObject.cpp
M lldb/source/DataFormatters/ValueObjectPrinter.cpp
M lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp
M lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.h
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.h
M lldb/source/Plugins/LanguageRuntime/ObjC/GNUstepObjCRuntime/GNUstepObjCRuntime.cpp
M lldb/source/Plugins/LanguageRuntime/ObjC/GNUstepObjCRuntime/GNUstepObjCRuntime.h
Log Message:
-----------
Refactor GetObjectDescription() to return llvm::Expected (NFC)
This is de facto an NFC change for Objective-C but will benefit the
Swift language plugin.
Commit: b8f0ca09b66716fc337448a2e43146038bf115ab
https://github.com/llvm/llvm-project/commit/b8f0ca09b66716fc337448a2e43146038bf115ab
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
A lldb/include/lldb/Utility/ErrorMessages.h
M lldb/source/Interpreter/CommandInterpreter.cpp
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
M lldb/source/Utility/CMakeLists.txt
A lldb/source/Utility/ErrorMessages.cpp
Log Message:
-----------
Factor out expression result error strings.
Commit: f1edc0459a4cc8cd4d00331c2a5cb318955318b2
https://github.com/llvm/llvm-project/commit/f1edc0459a4cc8cd4d00331c2a5cb318955318b2
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M lldb/test/API/commands/dwim-print/TestDWIMPrint.py
Log Message:
-----------
Reformat test (NFC)
Commit: 1107575c95577f32678ad60a96be6eaf29cf0f65
https://github.com/llvm/llvm-project/commit/1107575c95577f32678ad60a96be6eaf29cf0f65
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-20 (Thu, 20 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/getpayloadf16.cpp
A libc/src/math/generic/setpayloadf16.cpp
A libc/src/math/generic/setpayloadsigf16.cpp
A libc/src/math/getpayloadf16.h
A libc/src/math/setpayloadf16.h
A libc/src/math/setpayloadsigf16.h
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/GetPayloadTest.h
A libc/test/src/math/smoke/SetPayloadSigTest.h
A libc/test/src/math/smoke/SetPayloadTest.h
A libc/test/src/math/smoke/getpayloadf16_test.cpp
A libc/test/src/math/smoke/setpayloadf16_test.cpp
A libc/test/src/math/smoke/setpayloadsigf16_test.cpp
Log Message:
-----------
[libc][math][c23] Add {getpayload,setpayload,setpayloadsig}f16 C23 math functions (#95159)
Part of #93566.
Commit: 6cea40400df542a1a4a6d35b45cbe3367f2c32b7
https://github.com/llvm/llvm-project/commit/6cea40400df542a1a4a6d35b45cbe3367f2c32b7
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/PassManager.h
M llvm/include/llvm/Transforms/Scalar/LoopPassManager.h
M llvm/lib/Passes/PassBuilder.cpp
M llvm/test/Other/new-pass-manager.ll
M llvm/test/Other/new-pm-print-pipeline.ll
M llvm/test/Transforms/Coroutines/coro-elide-stat.ll
M llvm/test/Transforms/Coroutines/coro-elide.ll
Log Message:
-----------
[IR] Remove RepeatedPass (#96211)
This pass is not used in any pipeline, barely used in tests and not
really useful, so drop it. The only place where we "repeat" passes is
devirt repetition, and that is done using a separate pass.
Commit: 482c41e992c1edf8833a4577b56ff9dda49fbc83
https://github.com/llvm/llvm-project/commit/482c41e992c1edf8833a4577b56ff9dda49fbc83
Author: Mital Ashok <mital at mitalashok.co.uk>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang-tools-extra/clangd/unittests/ASTTests.cpp
M clang-tools-extra/clangd/unittests/HoverTests.cpp
M clang-tools-extra/clangd/unittests/InlayHintTests.cpp
M clang-tools-extra/clangd/unittests/XRefsTests.cpp
M clang-tools-extra/include-cleaner/unittests/WalkASTTest.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize/min-max-use-initializer-list.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize/use-emplace-ignore-implicit-constructors.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize/use-emplace.cpp
M clang-tools-extra/test/clang-tidy/checkers/performance/inefficient-vector-operation.cpp
M clang-tools-extra/test/clang-tidy/checkers/readability/isolate-declaration-cxx17.cpp
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/AST/ExprConstant.cpp
M clang/lib/CodeGen/CGExprAgg.cpp
M clang/lib/Sema/SemaInit.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p4.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p7-cxx14.cpp
M clang/test/CodeCompletion/ctor-signature.cpp
M clang/test/Coverage/unresolved-ctor-expr.cpp
M clang/test/Modules/Inputs/initializer_list/direct.h
M clang/test/Modules/pr60775.cppm
M clang/test/OpenMP/declare_reduction_codegen_in_templates.cpp
M clang/test/Preprocessor/macro_with_initializer_list.cpp
M clang/test/SemaCXX/PR20334-std_initializer_list_diagnosis_assertion.cpp
M clang/test/SemaCXX/auto-invalid-init-crash.cpp
M clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
M clang/test/SemaCXX/cxx11-call-to-deleted-constructor.cpp
M clang/test/SemaCXX/cxx98-compat.cpp
M clang/test/SemaCXX/invalid-member-expr.cpp
M clang/test/SemaTemplate/instantiate-init.cpp
M clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
M clang/unittests/Analysis/FlowSensitive/UncheckedOptionalAccessModelTest.cpp
Log Message:
-----------
[Clang] [Sema] Diagnose unknown std::initializer_list layout in SemaInit (#95580)
This checks if the layout of `std::initializer_list` is something Clang
can handle much earlier and deduplicates the checks in
CodeGen/CGExprAgg.cpp and AST/ExprConstant.cpp
Also now diagnose `union initializer_list` (Fixes #95495), bit-field for
the size (Fixes a crash that would happen during codegen if it were
unnamed), base classes (that wouldn't be initialized) and polymorphic
classes (whose vtable pointer wouldn't be initialized).
Commit: 5e9f247c064cb2361cd641f62eb4b7049d21641a
https://github.com/llvm/llvm-project/commit/5e9f247c064cb2361cd641f62eb4b7049d21641a
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M lldb/include/lldb/Target/LanguageRuntime.h
M lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.cpp
M lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
Log Message:
-----------
[lldb] Make LanguageRuntime::GetTypeBitSize return an optional (NFC) (#96013)
Make LanguageRuntime::GetTypeBitSize return an optional. This should be
NFC, though the ObjCLanguageRuntime implementation is (possibly) more
defensive against returning 0.
I'm not sure if it's possible for both `m_ivar.size` and `m_ivar.offset`
to be zero. Previously, we'd return 0 and cache it, only to discard it
the next time when finding it in the cache, and recomputing it again.
The new code will avoid putting it in the cache in the first place.
Commit: 836703087d761f9cbf81b6f9593bc5313660f559
https://github.com/llvm/llvm-project/commit/836703087d761f9cbf81b6f9593bc5313660f559
Author: Alan Zhao <ayzhao at google.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/BranchFolding.cpp
M llvm/lib/CodeGen/BranchFolding.h
A llvm/test/CodeGen/MIR/X86/tail-merging-preserve-debugloc.mir
M llvm/test/DebugInfo/COFF/local-variables.ll
Log Message:
-----------
[BranchFolder] Fix missing debug info with tail merging (#94715)
`BranchFolder::TryTailMergeBlocks(...)` removes unconditional branch
instructions and then recreates them. However, this process loses debug
source location information from the previous branch instruction, even
if tail merging doesn't change IR. This patch preserves the debug
information from the removed instruction and inserts them into the
recreated instruction.
Fixes #94050
Commit: 8d9db947b725fefbb02905c5d6be05e09a306f6b
https://github.com/llvm/llvm-project/commit/8d9db947b725fefbb02905c5d6be05e09a306f6b
Author: Mingming Liu <mingmingl at google.com>
Date: 2024-06-20 (Thu, 20 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
A 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:
-----------
Reland "[ThinLTO] Populate declaration import status except for distributed ThinLTO under a default-off new option" (#95482)
Make `FunctionsToImportTy` an `unordered_map` rather than `DenseMap`.
Credit goes to jvoung@ for the 'DenseMap -> unordered_map' change. This
is a reland of https://github.com/llvm/llvm-project/pull/92718
* `DenseMap` allocates space for a large number of key/value pairs and
wastes space when the number of elements are small.
* While init bucket size is zero [1], it quickly allocates buckets for 64 elements [2]
when the number of elements is small (for example, 3 or 4 elements). The programmer
manual [3] also mentions it could waste space.
* Experiments show `FunctionsToImportTy.size()` is smaller than 4 for
multiple binaries with high indexing ram usage. `unordered_map` grows
factor is at most 2 in llvm libc [4] for insert operations.
With this change, `ComputeCrossModuleImport` ram increase is smaller
than 0.5G on a couple of binaries with high indexing ram usage. A wider
range of (pre-release) tests pass.
[1] https://github.com/llvm/llvm-project/blob/ad79a14c9e5ec4a369eed4adf567c22cc029863f/llvm/include/llvm/ADT/DenseMap.h#L431-L432
[2] https://github.com/llvm/llvm-project/blob/ad79a14c9e5ec4a369eed4adf567c22cc029863f/llvm/include/llvm/ADT/DenseMap.h#L849
[3] https://llvm.org/docs/ProgrammersManual.html#llvm-adt-densemap-h
[4] https://github.com/llvm/llvm-project/blob/ad79a14c9e5ec4a369eed4adf567c22cc029863f/libcxx/include/__hash_table#L1525-L1526
**Original commit message**
The goal is to populate `declaration` import status if a new flag
`-import-declaration` is on.
* For in-process ThinLTO, the `declaration` status is visible to backend
`function-import` pass, so `FunctionImporter::importFunctions` should
read the import status and be no-op for declaration summaries.
Basically, the postlink pipeline is updated to keep its current behavior
(import definitions), but not updated to handle `declaration` summaries.
Two use cases ([better call-graph
sort](https://discourse.llvm.org/t/rfc-for-better-call-graph-sort-build-a-more-complete-call-graph-by-adding-more-indirect-call-edges/74029#support-cross-module-function-declaration-import-5)
or [cross-module
auto-init](https://github.com/llvm/llvm-project/pull/87597#discussion_r1556067195))
would use this bit differently.
* For distributed ThinLTO, the `declaration` status is not serialized to
bitcode. As discussed, https://github.com/llvm/llvm-project/pull/87600
will do this.
Commit: 67da89cf74917050b35fa63441fd25437195f8fc
https://github.com/llvm/llvm-project/commit/67da89cf74917050b35fa63441fd25437195f8fc
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M libcxxabi/CMakeLists.txt
M libcxxabi/src/CMakeLists.txt
Log Message:
-----------
[libc++abi] Use target_compile_options to pass LIBCXXABI_ADDITIONAL_COMPILE_FLAGS (#96112)
We use target_compile_options to pass the libc++ variant of this flag,
so we should be consistent for libc++abi. This is actually not only a
matter of consistency: target_compile_options handles duplicate CMake
options in a certain way (it removes duplicates but has an escape hatch
using the "SHELL:" prefix), and it is important for both libc++ and
libc++abi options to be handled in the same way.
Commit: 88dae3d5d0230747f3cbabdde9ac5ae9e5dc3f8d
https://github.com/llvm/llvm-project/commit/88dae3d5d0230747f3cbabdde9ac5ae9e5dc3f8d
Author: Jonathan Peyton <jonathan.l.peyton at intel.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M openmp/runtime/cmake/LibompExports.cmake
M openmp/runtime/cmake/LibompHandleFlags.cmake
M openmp/runtime/cmake/LibompMicroTests.cmake
M openmp/runtime/cmake/config-ix.cmake
M openmp/runtime/src/CMakeLists.txt
R openmp/runtime/tools/check-depends.pl
A openmp/runtime/tools/check-depends.py
R openmp/runtime/tools/check-execstack.pl
A openmp/runtime/tools/check-execstack.py
R openmp/runtime/tools/check-instruction-set.pl
R openmp/runtime/tools/generate-def.pl
A openmp/runtime/tools/generate-def.py
R openmp/runtime/tools/lib/Build.pm
R openmp/runtime/tools/lib/LibOMP.pm
R openmp/runtime/tools/lib/Platform.pm
R openmp/runtime/tools/lib/Uname.pm
R openmp/runtime/tools/lib/tools.pm
A openmp/runtime/tools/libomputils.py
R openmp/runtime/tools/message-converter.pl
A openmp/runtime/tools/message-converter.py
Log Message:
-----------
[OpenMP][libomp] Remove Perl in favor of Python (#95307)
* Removes all Perl scripts and modules
* Adds Python3 scripts which mimic the behavior of the Perl scripts
* Removes Perl from CMake; Adds Python3 requirement to CMake
* The check-instruction-set.pl script is Knights Corner specific. The
script is removed and not replicated with a corresponding Python3
script.
Relevant Discourse:
https://discourse.llvm.org/t/error-compiling-clang-with-offloading-support/79223/4
Fixes: https://github.com/llvm/llvm-project/issues/62289
Commit: 01ce74fe14fb98af42a3f2f7c8c6b04487761cf1
https://github.com/llvm/llvm-project/commit/01ce74fe14fb98af42a3f2f7c8c6b04487761cf1
Author: eddyz87 <eddyz87 at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/DebugInfoMetadata.h
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/MetadataLoader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
M llvm/lib/IR/AsmWriter.cpp
M llvm/lib/IR/DebugInfoMetadata.cpp
M llvm/lib/IR/LLVMContextImpl.h
R llvm/test/Bitcode/attr-btf_tag-dibasic.ll
R llvm/test/Bitcode/attr-btf_tag-disubroutine.ll
M llvm/test/DebugInfo/attr-btf_type_tag.ll
Log Message:
-----------
Revert "[DebugInfo][BPF] Add 'annotations' field for DIBasicType & DI… (#96172)
…SubroutineType (#91422)"
This reverts commit 3ca17443ef4af21bdb1f3b4fbcfff672cbc6176c.
As reported in [1,2] the commit above causes CI failure for powerpc-aix
target.
There is also a performance regression reported in [3]. Reverting to
comply with the developer policy.
[1]
https://github.com/llvm/llvm-project/pull/91422#issuecomment-2179425473
[2] https://lab.llvm.org/buildbot/#/builders/64/builds/62
[3]
https://github.com/llvm/llvm-project/pull/91422#issuecomment-2175631443
Commit: 99f5fcb0d1e04125daa404ff14c9cd14b7a2c40b
https://github.com/llvm/llvm-project/commit/99f5fcb0d1e04125daa404ff14c9cd14b7a2c40b
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
Log Message:
-----------
[clang][Interp] Try to fix #embed on big-endian machines
Insert a cast to the proper value.
Commit: 50b919378186ebb59e2dd402720f6ea8576d2477
https://github.com/llvm/llvm-project/commit/50b919378186ebb59e2dd402720f6ea8576d2477
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/docs/PointerAuthentication.rst
M clang/include/clang/Basic/Builtins.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/AST/ExprConstant.cpp
M clang/lib/Headers/ptrauth.h
M clang/lib/Sema/SemaChecking.cpp
M clang/test/CodeGen/ptrauth-intrinsics.c
M clang/test/Sema/ptrauth-intrinsics-macro.c
M clang/test/Sema/ptrauth.c
Log Message:
-----------
[clang] Define ptrauth_string_discriminator builtin. (#93903)
This exposes the ABI-stable hash function that allows computing a 16-bit
discriminator from a constant string.
This allows manually matching the implicit string discriminators
computed in the ABI (e.g., from mangled names for vtable pointer/entry
signing), as well as enabling the use of interesting discriminators when
manually annotating specific pointers with the __ptrauth qualifier.
The argument must be a string literal of char character type. The
result has type ptrauth_extra_data_t.
The result value is never zero and always within range for both the
__ptrauth qualifier and ptrauth_blend_discriminator.
This can be used in constant expressions.
Co-authored-by: John McCall <rjmccall at apple.com>
Commit: 7c814c13d0df6dbd0ef6a8b2be214d3f6edbb566
https://github.com/llvm/llvm-project/commit/7c814c13d0df6dbd0ef6a8b2be214d3f6edbb566
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/docs/PointerAuthentication.rst
M clang/include/clang/Basic/Builtins.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/AST/ExprConstant.cpp
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGExprConstant.cpp
A clang/lib/CodeGen/CGPointerAuth.cpp
M clang/lib/CodeGen/CMakeLists.txt
M clang/lib/CodeGen/CodeGenModule.h
M clang/lib/Headers/ptrauth.h
M clang/lib/Sema/SemaChecking.cpp
A clang/test/CodeGen/ptrauth-intrinsic-sign-constant.c
M clang/test/Sema/ptrauth-intrinsics-macro.c
M clang/test/Sema/ptrauth.c
Log Message:
-----------
[clang] Define ptrauth_sign_constant builtin. (#93904)
This is a constant-expression equivalent to
ptrauth_sign_unauthenticated. Its constant nature lets us guarantee
a non-attackable sequence is generated, unlike
ptrauth_sign_unauthenticated which we generally discourage using.
It being a constant also allows its usage in global initializers, though
requiring constant pointers and discriminators.
The value must be a constant expression of pointer type which evaluates
to a non-null pointer.
The key must be a constant expression of type ptrauth_key.
The extra data must be a constant expression of pointer or integer type;
if an integer, it will be coerced to ptrauth_extra_data_t.
The result will have the same type as the original value.
This can be used in constant expressions.
Co-authored-by: John McCall <rjmccall at apple.com>
Commit: 622d8b0bc2dd8af7427a3e684c625ce5681aa4de
https://github.com/llvm/llvm-project/commit/622d8b0bc2dd8af7427a3e684c625ce5681aa4de
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M libcxx/include/__chrono/ostream.h
M libcxx/include/chrono
M libcxx/test/libcxx/transitive_includes/cxx23.csv
M libcxx/test/libcxx/transitive_includes/cxx26.csv
Log Message:
-----------
[libc++] Remove <ostream> include from <chrono> (#96035)
Commit: dfe55a11cb2cdd0180be2d00eebcbcfc9f52fbec
https://github.com/llvm/llvm-project/commit/dfe55a11cb2cdd0180be2d00eebcbcfc9f52fbec
Author: Stella Stamenova <stilis at microsoft.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M mlir/utils/vscode/package-lock.json
Log Message:
-----------
[vscode-mlir] Bump the version of braces to 3.0.3 (#96137)
Version 3.0.2 of braces has a security vulnerability.
Commit: eea150c84053035163f307b46549a2997a343ce9
https://github.com/llvm/llvm-project/commit/eea150c84053035163f307b46549a2997a343ce9
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.cpp
A llvm/test/Transforms/LoopVectorize/WebAssembly/induction-branch-cost.ll
A llvm/test/Transforms/LoopVectorize/WebAssembly/lit.local.cfg
Log Message:
-----------
[VPlan] Include IV phi and backedge cost in VPlan cost computation.
In WebAssembly, costs != 0 are assigned to be backedge and induction
phis, so make sure we include those costs in the VPlan-based cost model.
This fixes a downstream crash with WebAssembly after 242cc200ccb
(https://github.com/llvm/llvm-project/pull/92555)
Commit: 9473e162b92a7e0bb1471eaaa6cbd6b5fc104fed
https://github.com/llvm/llvm-project/commit/9473e162b92a7e0bb1471eaaa6cbd6b5fc104fed
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M lldb/source/Commands/CommandObjectDWIMPrint.cpp
Log Message:
-----------
[DWIMPrint] Move the setting of the result status into dump_val_object (#96232)
Previously the result would get overwritten by a success on all code
paths.
This is another NFC change for TypeSystemClang, because an object
description cannot actually fail there. It will have different behavior
in the Swift plugin.
Commit: edf2d0a95e9f0bd1befd8ff7686cb0e07af14fc3
https://github.com/llvm/llvm-project/commit/edf2d0a95e9f0bd1befd8ff7686cb0e07af14fc3
Author: Michael Bedy <Michael.Bedy at amd.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUMIRFormatter.cpp
M llvm/lib/Target/AMDGPU/AMDGPUMIRFormatter.h
A llvm/test/CodeGen/AMDGPU/insert-delay-alu-literal.mir
A llvm/test/CodeGen/AMDGPU/insert-delay-alu-parse.mir
M llvm/test/CodeGen/AMDGPU/vopd-src2acc-delay.mir
Log Message:
-----------
[AMDGPU] Introduce a pseudo mnemonic for S_DELAY_ALU in MIR. (#96004)
Commit: 6e38df3aeb35a7cf3636d9fd9d90d8eb6a3c7c36
https://github.com/llvm/llvm-project/commit/6e38df3aeb35a7cf3636d9fd9d90d8eb6a3c7c36
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Basic/Targets/WebAssembly.cpp
M clang/test/Preprocessor/wasm-target-features.c
Log Message:
-----------
[WebAssembly] Re-enable reference types by default (#93261)
Now that we are about to upgrade emsdk's default node to v18.20.3
(https://github.com/emscripten-core/emsdk/pull/1387), we can re-enable
reference-types by default again. This effectively reverts #90792.
Commit: f77ade0aedcb0558936c1c2e6b9068c1606423fb
https://github.com/llvm/llvm-project/commit/f77ade0aedcb0558936c1c2e6b9068c1606423fb
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M libc/src/__support/CMakeLists.txt
A libc/src/__support/block.h
A libc/src/__support/freelist.h
A libc/src/__support/freelist_heap.h
M libc/src/stdlib/CMakeLists.txt
R libc/src/stdlib/block.h
R libc/src/stdlib/freelist.h
R libc/src/stdlib/freelist_heap.h
M libc/src/stdlib/freelist_malloc.cpp
M libc/test/src/__support/CMakeLists.txt
A libc/test/src/__support/block_test.cpp
A libc/test/src/__support/freelist_heap_test.cpp
A libc/test/src/__support/freelist_malloc_test.cpp
A libc/test/src/__support/freelist_test.cpp
M libc/test/src/stdlib/CMakeLists.txt
R libc/test/src/stdlib/block_test.cpp
R libc/test/src/stdlib/freelist_heap_test.cpp
R libc/test/src/stdlib/freelist_malloc_test.cpp
R libc/test/src/stdlib/freelist_test.cpp
Log Message:
-----------
[libc] Move freelist + block to __support (#96231)
Commit: 49001d584c69726eb7b5069468c5216da3fc3263
https://github.com/llvm/llvm-project/commit/49001d584c69726eb7b5069468c5216da3fc3263
Author: earnol <earnol at users.noreply.github.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGExpr.cpp
M compiler-rt/lib/ubsan/ubsan_value.cpp
M compiler-rt/lib/ubsan/ubsan_value.h
A compiler-rt/test/ubsan/TestCases/Integer/bit-int-pass.c
A compiler-rt/test/ubsan/TestCases/Integer/bit-int.c
Log Message:
-----------
[ubsan] Display correct runtime messages for negative _BitInt (#93612)
Without this patch compiler-rt ubsan library has a bug displaying
incorrect values for variables of the _BitInt (previously called
_ExtInt) type. This patch affects affects both: generation of metadata
inside code generator and runtime part. The runtime part provided only
for i386 and x86_64 runtimes. Other runtimes should be updated to take
full benefit of this patch.
The patch is constructed the way to be backward compatible and int and
float type runtime diagnostics should be unaffected for not yet updated
runtimes.
This patch fixes issue:
https://github.com/llvm/llvm-project/issues/64100.
Co-authored-by: Vladislav Aranov <vladislav.aranov at ericsson.com>
Co-authored-by: Aaron Ballman <aaron at aaronballman.com>
Commit: 7a49c90ab6f33293ec11426dcaf67ea9e3c59ba5
https://github.com/llvm/llvm-project/commit/7a49c90ab6f33293ec11426dcaf67ea9e3c59ba5
Author: Florian Mayer <fmayer at google.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
Log Message:
-----------
[NFC] fix incorrect #endif comment (#95991)
Commit: 17af54b88b57b7469d57f6f2d7db1033d835e13f
https://github.com/llvm/llvm-project/commit/17af54b88b57b7469d57f6f2d7db1033d835e13f
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/riscv/entrypoints.txt
Log Message:
-----------
[libc][config] Add malloc as baremetal arm entrypoint (#95827)
Commit: fd001c16fed19249eec47d16ade9ad5810489c37
https://github.com/llvm/llvm-project/commit/fd001c16fed19249eec47d16ade9ad5810489c37
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M libcxx/include/__type_traits/has_unique_object_representation.h
A libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/has_unique_object_representations.compile.pass.cpp
R libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/has_unique_object_representations.pass.cpp
Log Message:
-----------
[libc++] Workaround clang bug in __has_unique_object_representations (#95314)
Clang currently has a bug in the __has_unique_object_representations
builtin where it doesn't provide consistent answers based on the order
of instantiation of templates. This was reported as #95311.
This patch adds a workaround in libc++ to avoid breaking users until
Clang has been fixed. It also revamps the tests a bit.
Commit: 1ba2768c638a3e0f98ccd002d3f328a18739f7a9
https://github.com/llvm/llvm-project/commit/1ba2768c638a3e0f98ccd002d3f328a18739f7a9
Author: Peiming Liu <peiming at google.com>
Date: 2024-06-20 (Thu, 20 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/Pipelines/SparseTensorPipelines.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparsificationAndBufferizationPass.cpp
M mlir/test/Dialect/SparseTensor/sparse_iteration_to_scf.mlir
Log Message:
-----------
[mlir][sparse] expose emit strategy option to mini pipeline (#96238)
Commit: 560b6452af060bf153b26698b4d02b4440e335da
https://github.com/llvm/llvm-project/commit/560b6452af060bf153b26698b4d02b4440e335da
Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M mlir/docs/Dialects/GPU.md
Log Message:
-----------
[mlir] Document GPU dialect layering to capture discussions from a PR (#95812)
Co-authored-by: Jakub Kuderski <kubakuderski at gmail.com>
Co-authored-by: Adam Siemieniuk <adam.siemieniuk at intel.com>
Commit: f47778455d28285341d0eeceb53ae7cd95d07d36
https://github.com/llvm/llvm-project/commit/f47778455d28285341d0eeceb53ae7cd95d07d36
Author: Yeoul Na <yeoul_na at apple.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/docs/BoundsSafety.rst
M clang/docs/BoundsSafetyImplPlans.rst
Log Message:
-----------
[BoundsSafety][doc] Make it clear that the feature is work-in-progress (#95964)
The `-fbounds-safety` feature is not available yet and the
implementation is still in progress, which will be guarded by
`-fexperimental-bounds-safety`. To avoid the confusion, we're making it
more explicit that the feature is not available yet and the document
only describes the model.
Commit: e908320a03e1b27619f32db73f66b7bab65c9c52
https://github.com/llvm/llvm-project/commit/e908320a03e1b27619f32db73f66b7bab65c9c52
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M compiler-rt/lib/profile/InstrProfilingFile.c
Log Message:
-----------
Revert "mmapForContinuousMode: Align Linux's impl to __APPLE__'s more. NFC. (#95702)"
This reverts commit 7cf84d3b0bc5eda3a907dfd026d51a17e28114a3.
(llvmorg-19-init-14939-g7cf84d3b0bc5)
This has my wrong assumptions possibly. This was failing fuchsia.
Commit: 0ee2af5f7c4c941c4588a67c87cb39e7dfad5ce8
https://github.com/llvm/llvm-project/commit/0ee2af5f7c4c941c4588a67c87cb39e7dfad5ce8
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/test/Instrumentation/InstrProfiling/mcdc.ll
Log Message:
-----------
mcdc.ll: Relax.
Commit: d8091522664248a4ba73d8d1e7fa6ac57bfcf67c
https://github.com/llvm/llvm-project/commit/d8091522664248a4ba73d8d1e7fa6ac57bfcf67c
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M libc/config/baremetal/config.json
M libc/config/config.json
M libc/docs/configure.rst
M libc/src/stdlib/CMakeLists.txt
M libc/src/stdlib/freelist_malloc.cpp
Log Message:
-----------
[libc] Control freelist malloc buffer size with a config (#96248)
Rather than propgating a compile define, add an explicit cmake flag for
controlling the size. The default for baremetal is 100KB and the default
for others is 1GB.
Commit: aafa0ef900791857f55629bcf61c37f53cc0d2af
https://github.com/llvm/llvm-project/commit/aafa0ef900791857f55629bcf61c37f53cc0d2af
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M lldb/examples/python/crashlog.py
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/altered_threadState.test
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/json.test
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/no_threadState.test
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/skipped_status_interactive_crashlog.test
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/text.test
Log Message:
-----------
[lldb/crashlog] Make interactive mode the new default (#94575)
This patch makes interactive mode as the default when using the crashlog
command. It replaces the existing `-i|--interactive` flag with a new
`-m|--mode` option, that can either be `interactive` or `batch`.
By default, when the option is not explicitely set by the user, the
interactive mode is selected, however, lldb will fallback to batch mode
if the command interpreter is not interactive or if stdout is not a tty.
This also adds some railguards to prevent users from using interactive
only options with the batch mode and updates the tests accordingly.
rdar://97801509
Differential Revision: https://reviews.llvm.org/D141658
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: 2fe8498654fe5db68c585fc9fa4cd84d634e53df
https://github.com/llvm/llvm-project/commit/2fe8498654fe5db68c585fc9fa4cd84d634e53df
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M compiler-rt/lib/profile/InstrProfilingFile.c
Log Message:
-----------
mmapForContinuousMode: Redo #95702: Align Linux's impl to __APPLE__'s a little.
I've made this small cosmetic changes,
`s/CountersOffsetInBiasMode/FileOffsetToCounters/`
Commit: e1e5ed5893c50918dc9b6b56acfe6242f03354dc
https://github.com/llvm/llvm-project/commit/e1e5ed5893c50918dc9b6b56acfe6242f03354dc
Author: Jan Voung <jvoung at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
Log Message:
-----------
Update ModuleSummaryIndexBitcodeReader::makeCallList reserve amount (#95461)
Tighten the reserve() to `Record.size() / 2` instead of `Record.size()`
in the HasProfile/HasRelBF cases. For the uncommon old profile format
cases we leave it as is, but those should be rare and not worth
optimizing.
This reduces peak memory during ThinLTO indexing by ~3% in one example.
Alternatively, we could make the branching for reserve more complex and
try to cover every case.
Commit: 03921b979d67657bfc9cf8240add2484cc4df6a7
https://github.com/llvm/llvm-project/commit/03921b979d67657bfc9cf8240add2484cc4df6a7
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ASTRecordReader.h
M clang/include/clang/Serialization/ModuleFile.h
M clang/lib/Serialization/ASTCommon.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/ModuleFile.cpp
M clang/test/Modules/no-transitive-decls-change.cppm
M clang/test/Modules/no-transitive-identifier-change.cppm
A clang/test/Modules/no-transitive-type-change.cppm
Log Message:
-----------
[serialization] No transitive type change (#92511)
Following of https://github.com/llvm/llvm-project/pull/92085.
#### motivation
The motivation is still cutting of the unnecessary change in the
dependency chain. See the above link (recursively) for details.
And this will be the last patch of the `no-transitive-*-change` series.
If there are any following patches, they might be C++20 Named modules
specific to handle special grammars like `ADL` (See the reply in
https://discourse.llvm.org/t/rfc-c-20-modules-introduce-thin-bmi-and-decls-hash/74755/53
for example). So they won't affect the whole serialization part as the
series patch did.
#### example
After this patch, finally we are able to cut of unnecessary change of
types. For example,
```
//--- m-partA.cppm
export module m:partA;
//--- m-partA.v1.cppm
export module m:partA;
namespace NS {
class A {
public:
int getValue() {
return 43;
}
};
}
//--- m-partB.cppm
export module m:partB;
export inline int getB() {
return 430;
}
//--- m.cppm
export module m;
export import :partA;
export import :partB;
//--- useBOnly.cppm
export module useBOnly;
import m;
export inline int get() {
return getB();
}
```
The BMI of `useBOnly.cppm` is expected to not change if we only add a
new class in `m:partA`. This will be pretty useful in practice.
#### implementation details
The key idea of this patch is similar with the previous patches: extend
the 32bits type ID to 64bits so that we can store the module file index
in the higher bits. Then the encoding of the type ID is independent on
the imported modules.
But there are two differences from the previous patches:
- TypeID is not completely an index of serialized types. We used the
lower 3 bits to store the qualifiers.
- TypeID won't take part in any lookup process. So the uses of TypeID is
much less than the previous patches.
The first difference make we have some more slightly complex bit
operations. And the second difference makes the patch much simpler than
the previous ones.
Commit: 1373f7c714824f5957aa5fabf8370286f86e6b14
https://github.com/llvm/llvm-project/commit/1373f7c714824f5957aa5fabf8370286f86e6b14
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M lldb/examples/python/crashlog.py
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/altered_threadState.test
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/json.test
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/no_threadState.test
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/skipped_status_interactive_crashlog.test
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/text.test
Log Message:
-----------
Revert "[lldb/crashlog] Make interactive mode the new default" (#96263)
Reverts llvm/llvm-project#94575 since introduces test failure:
https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/as-lldb-cmake/6166/
Commit: 1fafa32f6ee844f0862954d0b2330dee26b0469f
https://github.com/llvm/llvm-project/commit/1fafa32f6ee844f0862954d0b2330dee26b0469f
Author: Enna1 <xumingjie.enna1 at bytedance.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/ScalarEvolution.h
M llvm/lib/Analysis/ScalarEvolution.cpp
Log Message:
-----------
[SCEV] Avoid unnecessary call to getExitingBlock() in computeExitLimit() (#96188)
In `computeExitLimit()`, we use `getExitingBlock()` to check if loop has
exactly one exiting block.
Since `computeExitLimit()` is only used in
`computeBackedgeTakenCount()`, and `getExitingBlocks()` is called to get
all exiting blocks in `computeBackedgeTakenCount()`, we can simply check
if loop has exactly one exiting block by checking if the number of
exiting blocks equals 1 in `computeBackedgeTakenCount()` and pass it as
an argument to `computeExitLimit()`.
This change helps to improve the compile time for files containing large
loops.
Commit: 749876e8e5e505c2c635ab37d2006d7d0ea87f37
https://github.com/llvm/llvm-project/commit/749876e8e5e505c2c635ab37d2006d7d0ea87f37
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
Log Message:
-----------
[clang-format[NFC] Clean up AnnotatingParser::rParenEndsCast() (#96128)
Commit: abaaa48ce6b212798cc51f676f1d01d31d590120
https://github.com/llvm/llvm-project/commit/abaaa48ce6b212798cc51f676f1d01d31d590120
Author: Chen Zheng <czhengsz at cn.ibm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
A llvm/test/CodeGen/PowerPC/frameaddr-alloca.ll
Log Message:
-----------
[PowerPC] fix frameaddress error when there is dynamic alloca call, NFC
Commit: e1c03ddc9b03b820b421d8b3bca6a94e4d1a4675
https://github.com/llvm/llvm-project/commit/e1c03ddc9b03b820b421d8b3bca6a94e4d1a4675
Author: Chen Zheng <czhengsz at cn.ibm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
M llvm/test/CodeGen/PowerPC/frameaddr-alloca.ll
Log Message:
-----------
[PowerPC] use r1 as the frame pointer when there is dynamic alloca
On PPC, when there is dynamic alloca, only r1 points to the backchain.
Commit: 7b906d46f6e6915f32718dd5b313ba47a7cec259
https://github.com/llvm/llvm-project/commit/7b906d46f6e6915f32718dd5b313ba47a7cec259
Author: Max Winkler <max.enrico.winkler at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/MicrosoftMangle.cpp
M clang/test/CodeGenCXX/mangle-ms-auto-templates.cpp
Log Message:
-----------
[clang-cl][AST] Fix auto NTTP MSVC 1920+ mangling for pointer types (#92477)
https://godbolt.org/z/G1K8Wszn9 for reference.
Starting with MSVC 1920+, VS2019, C++17 auto NTTP now adds `M <type>` to
the mangled name to avoid name collisions with different deduced types.
This PR fixes pointers. Pointers to members will be fixed in an upcoming
PR.
Here is a small example. The godbolt has more thorough examples.
```
template<auto>
struct AutoParmTemplate
{
AutoParmTemplate() {}
};
int i;
int main()
{
// MSVC 1916: ??0?$AutoParmTemplate@$1?i@@3HA@@QEAA at XZ
// MSVC 1929: ??0?$AutoParmTemplate@$MPEAH1?i@@3HA@@QEAA at XZ
// Clang: ??0?$AutoParmTemplate@$1?i@@3HA@@QEAA at XZ
AutoParmTemplate<&i> x;
}
```
Commit: e6486030340ea5756bec43a633567ed6411668c3
https://github.com/llvm/llvm-project/commit/e6486030340ea5756bec43a633567ed6411668c3
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/Serialization/ASTWriterStmt.cpp
A clang/test/Modules/transitive-adl-change.cppm
Log Message:
-----------
[C++20] [Modules] Reference all the possible declarations for ADL
In no transitive change mode, the unresolved ADL may not
be referenced, then it is problematic if the change didn't get
propagated correctly. This patch add references to all the possible
module files for the unresolved ADL to solve the problem.
Commit: 762546565173e27b1851dfd1f3bfcc7fc847a2f9
https://github.com/llvm/llvm-project/commit/762546565173e27b1851dfd1f3bfcc7fc847a2f9
Author: Jianjian Guan <jacquesguan at me.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/Basic/Targets/RISCV.cpp
M clang/test/CodeGen/RISCV/riscv-func-attr-target.c
M lld/test/ELF/lto/riscv-attributes.ll
M lld/test/ELF/riscv-attributes.s
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoM.td
M llvm/lib/Target/RISCV/RISCVInstrInfoZc.td
M llvm/test/CodeGen/RISCV/attributes-module-flag.ll
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/MC/RISCV/attribute-arch.s
M llvm/test/MC/RISCV/attribute.s
M llvm/test/MC/RISCV/default-build-attributes.s
M llvm/test/MC/RISCV/rv32zcb-valid.s
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Make M imply Zmmul (#95070)
According to the spec, M implies Zmmul.
Commit: f3c4dae6f2c44f1a7f130c4cf4b2861b62402b48
https://github.com/llvm/llvm-project/commit/f3c4dae6f2c44f1a7f130c4cf4b2861b62402b48
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M lld/ELF/Arch/X86_64.cpp
M lld/test/ELF/x86-64-gotpc-relax-too-far.s
Log Message:
-----------
[ELF] -no-pie: don't optimize addq R_X86_64_REX_GOTPCRELX when !isInt<32>(va)
When `!isInt<32>(x.va)`, `addq x at GOTPCREL(%rip), %rax` (possibly due to
getelementptr of a global variable) should not be optimized to
`addq offset, %rax`. We currently have either an assertion failure or an
incorrect optimization.
Fix it using the relaxOnce framework.
Commit: 89881480030f48f83af668175b70a9798edca2fb
https://github.com/llvm/llvm-project/commit/89881480030f48f83af668175b70a9798edca2fb
Author: YunQiang Su <syq at debian.org>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/include/llvm/ADT/APFloat.h
M llvm/include/llvm/Analysis/TargetLibraryInfo.def
M llvm/include/llvm/CodeGen/BasicTTIImpl.h
M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
M llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
M llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
M llvm/include/llvm/CodeGen/GlobalISel/Utils.h
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/include/llvm/IR/ConstrainedOps.def
M llvm/include/llvm/IR/IRBuilder.h
M llvm/include/llvm/IR/IntrinsicInst.h
M llvm/include/llvm/IR/Intrinsics.td
M llvm/include/llvm/IR/RuntimeLibcalls.def
M llvm/include/llvm/IR/VPIntrinsics.def
M llvm/include/llvm/Support/TargetOpcodes.def
M llvm/include/llvm/Target/GenericOpcodes.td
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
M llvm/include/llvm/Target/TargetSelectionDAG.td
M llvm/lib/CodeGen/ExpandVectorPredication.cpp
M llvm/lib/CodeGen/GlobalISel/CSEMIRBuilder.cpp
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/Utils.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/LegalizeTypes.h
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/CodeGen/TargetLoweringBase.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
M llvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
M llvm/lib/Target/Hexagon/HexagonPatterns.td
M llvm/lib/Target/Hexagon/HexagonPatternsHVX.td
M llvm/lib/Target/RISCV/GISel/RISCVRegisterBankInfo.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoD.td
M llvm/lib/Target/RISCV/RISCVInstrInfoF.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
M llvm/test/CodeGen/AArch64/combine_andor_with_cmps.ll
A llvm/test/CodeGen/AArch64/fp-maximumnum-minimumnum.ll
M llvm/test/CodeGen/Hexagon/fminmax-v67.ll
A llvm/test/CodeGen/LoongArch/fp-maximumnum-minimumnum.ll
A llvm/test/CodeGen/Mips/fp-maximumnum-minimumnum.ll
M llvm/test/CodeGen/RISCV/double-intrinsics.ll
M llvm/test/CodeGen/RISCV/float-intrinsics.ll
M llvm/test/TableGen/GlobalISelEmitter.td
M llvm/test/tools/llvm-tli-checker/ps4-tli-check.yaml
M llvm/unittests/ADT/APFloatTest.cpp
M llvm/unittests/Analysis/TargetLibraryInfoTest.cpp
M llvm/unittests/IR/VPIntrinsicTest.cpp
Log Message:
-----------
Intrinsic: introduce minimumnum and maximumnum (#93841)
Currently, on different platform, the behaivor of llvm.minnum is
different if one operand is sNaN:
When we compare sNaN vs NUM:
ARM/AArch64/PowerPC: follow the IEEE754-2008's minNUM: return qNaN.
RISC-V/Hexagon follow the IEEE754-2019's minimumNumber: return NUM. X86:
Returns NUM but not same with IEEE754-2019's minimumNumber as
+0.0 is not always greater than -0.0.
MIPS/LoongArch/Generic: return NUM.
LIBCALL: returns qNaN.
So, let's introduce llvm.minmumnum/llvm.maximumnum, which always follow
IEEE754-2019's minimumNumber/maximumNumber.
Half-fix: #93033
Commit: 826bde5d8ae9f89b71d14453c631f1d76932c2d8
https://github.com/llvm/llvm-project/commit/826bde5d8ae9f89b71d14453c631f1d76932c2d8
Author: Anchu Rajendran S <asudhaku at amd.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M flang/include/flang/Semantics/openmp-directive-sets.h
M flang/lib/Parser/openmp-parsers.cpp
M flang/lib/Parser/unparse.cpp
M flang/lib/Semantics/resolve-directives.cpp
A flang/test/Lower/OpenMP/Todo/loop-directive.f90
A flang/test/Parser/OpenMP/target-loop-unparse.f90
M llvm/include/llvm/Frontend/OpenMP/OMP.td
Log Message:
-----------
Adding parsing support for omp loop, target loop directives (#93517)
Change adds parsing support for omp loop, omp target loop, omp target
parallel loop and omp target teams loop.
Commit: a2cd846b7bcc747825ed15b4ab1e9b243ff6b917
https://github.com/llvm/llvm-project/commit/a2cd846b7bcc747825ed15b4ab1e9b243ff6b917
Author: Piotr Fusik <piotr at fusion-lang.org>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/docs/TableGen/ProgRef.rst
Log Message:
-----------
[TableGen][Docs] Clarify `TokCode` definition. (#96201)
"shortest" would be an empty sequence and the rule would never match.
Commit: 255986e27fcf9f0b36f7a23fbe030fcca1ba0249
https://github.com/llvm/llvm-project/commit/255986e27fcf9f0b36f7a23fbe030fcca1ba0249
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/lib/Driver/Driver.cpp
Log Message:
-----------
[Driver] BuildOffloadingActions: Stabilize iteration order
Otherwise hip-phases.hip could fail when llvm::hash_value(StringRef)
changes.
Commit: e674e739d790aa4a7d9e9d779b02574e1dbe73ca
https://github.com/llvm/llvm-project/commit/e674e739d790aa4a7d9e9d779b02574e1dbe73ca
Author: Alexander Shaposhnikov <6532716+alexander-shaposhnikov at users.noreply.github.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M compiler-rt/lib/nsan/tests/CMakeLists.txt
Log Message:
-----------
[compiler-rt] Fix build breakage (#96235)
Add missing flags in cmake.
Follow-up to cae6d458a.
Commit: cfd202141069809c3c65b8b49d3896f44ff10a6a
https://github.com/llvm/llvm-project/commit/cfd202141069809c3c65b8b49d3896f44ff10a6a
Author: martinboehme <mboehme at google.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h
M clang/include/clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h
M clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp
M clang/unittests/Analysis/FlowSensitive/TestingSupport.h
M clang/unittests/Analysis/FlowSensitive/UncheckedOptionalAccessModelTest.cpp
Log Message:
-----------
[clang][dataflow] Add a callback run on the pre-transfer state. (#96140)
At the same time, rename `PostVisitCFG` to the more descriptive
`PostAnalysisCallbacks` (which emphasizes the fact that these callbacks
are run
after the dataflow analysis itself has converged).
Before this patch, it was only possible to run a callback on the state
_after_
the transfer function had been applied, but for many analyses, it's more
natural
to to check the state _before_ the transfer function has been applied,
because we
are usually checking the preconditions for some operation. Some checks
are
impossible to perform on the "after" state because we can no longer
check the
precondition; for example, the `++` / `--` operators on raw pointers
require the
operand to be nonnull, but after the transfer function for the operator
has been
applied, the original value of the pointer can no longer be accessed.
`UncheckedOptionalAccessModelTest` has been modified to run the
diagnosis
callback on the "before" state. In this particular case, diagnosis can
be run
unchanged on either the "before" or "after" state, but we want this test
to
demonstrate that running diagnosis on the "before" state is usually the
preferred approach.
This change is backwards-compatible; all existing analyses will continue
to run
the callback on the "after" state.
Commit: 348240362f9673c824c0ad22fd9e13ae3f937864
https://github.com/llvm/llvm-project/commit/348240362f9673c824c0ad22fd9e13ae3f937864
Author: Malay Sanghi <malay.sanghi at intel.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/Headers/intrin.h
M clang/test/CodeGen/X86/ms-x86-intrinsics.c
Log Message:
-----------
[X86]Add support for __outbyte/word/dword and __inbyte/word/dword (#93774)
A previous commit implemented _inp/w/d and renaming that to
__inbyte/word/dword
These intrinsics were declared in the header but never implemented.
Commit: beba2e738548cb7465deef640f173fa768c10711
https://github.com/llvm/llvm-project/commit/beba2e738548cb7465deef640f173fa768c10711
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-20 (Thu, 20 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] Teach addValueData to honor parameter Site (#96233)
This patch teaches addValueData to honor Site for verification
purposes. It does not affect the profile data in any manner.
Commit: 225d8fc8eb24fb797154c1ef6dcbe5ba033142da
https://github.com/llvm/llvm-project/commit/225d8fc8eb24fb797154c1ef6dcbe5ba033142da
Author: dyung <douglas.yung at sony.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
Log Message:
-----------
Replace hard coded opcodes from #93841 with regexes to be more flexible. (#96277)
This change removes the hard coded opcode values and replaces them with
regexes so that the test can deal with different opcode numbers being
assigned and unbreak a ton of bots.
Commit: 9f71a6bb83881e2f19b543540d93b60370d52b3c
https://github.com/llvm/llvm-project/commit/9f71a6bb83881e2f19b543540d93b60370d52b3c
Author: David Tellenbach <dtellenbach at apple.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/DWARFLinker/Classic/DWARFStreamer.cpp
M llvm/lib/DWARFLinker/Parallel/DebugLineSectionEmitter.h
A llvm/test/tools/dsymutil/Inputs/discriminator.arm64.dylib
A llvm/test/tools/dsymutil/Inputs/discriminator.arm64.o
A llvm/test/tools/dsymutil/discriminator.test
Log Message:
-----------
[DWARFLinker] Preserve DWARF discriminators while linking (#96124)
DWARF-4 introduced DWARF discriminators but both, the classic and the
parallel DWARF linkers discarded them so far.
After applying this patch dsymutil, which uses the DWARF linkers,
correctly preserves discriminator information.
Commit: 62abd9a6f6fecaebb5aaac7720622f4ca13b3e45
https://github.com/llvm/llvm-project/commit/62abd9a6f6fecaebb5aaac7720622f4ca13b3e45
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/include/clang/Lex/HeaderSearchOptions.h
Log Message:
-----------
[Lex] HeaderSearchOptions: Remove unused hash_value overloads
Commit: 84728629c37c8463910860f9b5531ba18d03a9a8
https://github.com/llvm/llvm-project/commit/84728629c37c8463910860f9b5531ba18d03a9a8
Author: David Tellenbach <dtellenbach at apple.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
A llvm/test/tools/dsymutil/ARM/discriminator.test
R llvm/test/tools/dsymutil/discriminator.test
Log Message:
-----------
[dsymutil] Move discriminator test to be executed with Arm support only (#96280)
This fixes a test failure introduced in 9f71a6b.
Commit: 12c0281f8c73bc1aa20d1517357e0e12c3f8bb4e
https://github.com/llvm/llvm-project/commit/12c0281f8c73bc1aa20d1517357e0e12c3f8bb4e
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/lib/Lex/HeaderSearch.cpp
Log Message:
-----------
[Lex] Replace hash_combine with a stable hash
Commit: f2f18459d4e77e323b08971cf9d42b3574421fa7
https://github.com/llvm/llvm-project/commit/f2f18459d4e77e323b08971cf9d42b3574421fa7
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/include/llvm/ADT/APFloat.h
M llvm/include/llvm/Analysis/TargetLibraryInfo.def
M llvm/include/llvm/CodeGen/BasicTTIImpl.h
M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
M llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
M llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
M llvm/include/llvm/CodeGen/GlobalISel/Utils.h
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/include/llvm/IR/ConstrainedOps.def
M llvm/include/llvm/IR/IRBuilder.h
M llvm/include/llvm/IR/IntrinsicInst.h
M llvm/include/llvm/IR/Intrinsics.td
M llvm/include/llvm/IR/RuntimeLibcalls.def
M llvm/include/llvm/IR/VPIntrinsics.def
M llvm/include/llvm/Support/TargetOpcodes.def
M llvm/include/llvm/Target/GenericOpcodes.td
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
M llvm/include/llvm/Target/TargetSelectionDAG.td
M llvm/lib/CodeGen/ExpandVectorPredication.cpp
M llvm/lib/CodeGen/GlobalISel/CSEMIRBuilder.cpp
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/Utils.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/LegalizeTypes.h
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/CodeGen/TargetLoweringBase.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
M llvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
M llvm/lib/Target/Hexagon/HexagonPatterns.td
M llvm/lib/Target/Hexagon/HexagonPatternsHVX.td
M llvm/lib/Target/RISCV/GISel/RISCVRegisterBankInfo.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoD.td
M llvm/lib/Target/RISCV/RISCVInstrInfoF.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
M llvm/test/CodeGen/AArch64/combine_andor_with_cmps.ll
R llvm/test/CodeGen/AArch64/fp-maximumnum-minimumnum.ll
M llvm/test/CodeGen/Hexagon/fminmax-v67.ll
R llvm/test/CodeGen/LoongArch/fp-maximumnum-minimumnum.ll
R llvm/test/CodeGen/Mips/fp-maximumnum-minimumnum.ll
M llvm/test/CodeGen/RISCV/double-intrinsics.ll
M llvm/test/CodeGen/RISCV/float-intrinsics.ll
M llvm/test/TableGen/GlobalISelEmitter.td
M llvm/test/tools/llvm-tli-checker/ps4-tli-check.yaml
M llvm/unittests/ADT/APFloatTest.cpp
M llvm/unittests/Analysis/TargetLibraryInfoTest.cpp
M llvm/unittests/IR/VPIntrinsicTest.cpp
Log Message:
-----------
Revert "Intrinsic: introduce minimumnum and maximumnum (#93841)"
As far as I can tell, this pull request was not approved, and
did not go through an RFC on discourse.
This reverts commit 89881480030f48f83af668175b70a9798edca2fb.
This reverts commit 225d8fc8eb24fb797154c1ef6dcbe5ba033142da.
Commit: 36c6632eb43bf67e19c8a6a21981cf66e06389b4
https://github.com/llvm/llvm-project/commit/36c6632eb43bf67e19c8a6a21981cf66e06389b4
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/PassInstrumentation.h
M llvm/include/llvm/IR/PassManager.h
M llvm/include/llvm/IR/PassManagerImpl.h
M llvm/include/llvm/Target/TargetMachine.h
M llvm/include/llvm/Transforms/IPO/SampleProfileProbe.h
M llvm/include/llvm/Transforms/Scalar/LoopPassManager.h
M llvm/include/llvm/Transforms/Utils/Debugify.h
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/FuzzMutate/IRMutator.cpp
M llvm/unittests/Analysis/CGSCCPassManagerTest.cpp
M llvm/unittests/Analysis/InlineCostTest.cpp
M llvm/unittests/Transforms/IPO/FunctionSpecializationTest.cpp
M polly/lib/Support/DumpFunctionPass.cpp
Log Message:
-----------
[IR] Don't include PassInstrumentation.h in PassManager.h (NFC) (#96219)
Move PassInstrumentationAnalysis into PassInstrumentation.h and stop
including it in PassManager.h (effectively inverting the direction of
the dependency).
Most places using PassManager are not interested in PassInstrumentation,
and we no longer have any uses of it in PassManager.h itself (only in
PassManagerImpl.h).
Commit: 874dcaea09171100de02fa6d5c0af0669aea900f
https://github.com/llvm/llvm-project/commit/874dcaea09171100de02fa6d5c0af0669aea900f
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/lib/AST/ODRHash.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
M llvm/include/llvm/ADT/FoldingSet.h
Log Message:
-----------
[Serialization] Use stable hash functions
clangSerialization currently uses hash_combine/hash_value from
Hashing.h, which are not guaranteed to be deterministic.
Replace these uses with xxh3_64bits.
Pull Request: https://github.com/llvm/llvm-project/pull/96136
Commit: 218f07014a220543aaed4e43e214440687ca75f3
https://github.com/llvm/llvm-project/commit/218f07014a220543aaed4e43e214440687ca75f3
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir
Log Message:
-----------
[mlir][vector] Update tests for collapse 4/n (nfc) (#96214)
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, `@outer_dyn_drop_inner_most_dim` is replaced with:
* `@contiguous_inner_most_dynamic_outer`
I am also adding a similar test for scalable vectors. In addition,
* `@drop_two_inner_most_dim` and
`@drop_two_inner_most_dim_scalable_inner_dim`,
are renamed as `@contiguous_inner_most` and
`@contiguous_inner_most_scalable_inner_dim`, respectively, to match
their counterpart for `xfer_read`.
NOTE: This PR is limited to tests for `vector.transfer_write`
This is a follow-up for: #94490, #94604, #94906
Commit: b39f523af7601fe1b39b32568b705fe844d70057
https://github.com/llvm/llvm-project/commit/b39f523af7601fe1b39b32568b705fe844d70057
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/include/clang/Basic/arm_sve.td
M clang/include/clang/Basic/arm_sve_sme_incl.td
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_abd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_abs.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_acge.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_acgt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_acle.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_aclt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_add.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_addv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_and.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_andv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_asr.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_asrd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bfdot.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bfmlalb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bfmlalt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bic.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brka.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkn.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkpa.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkpb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cadd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clasta-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clasta.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clastb-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clastb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cls.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clz.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmla.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpeq.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpge.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpgt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmple.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmplt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpne.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpuo.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnot.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnt-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnth.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntp.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntw.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_cvt-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cvt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cvtnt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_div.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_divr.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dot.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dup-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dup.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dupq-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dupq.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_eor.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_eorv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ext-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ext.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_extb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_exth.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_extw.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_index.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_insr-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_insr.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lasta-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lasta.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lastb-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lastb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1rq-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1rq.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1ub.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1uh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1uw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnt1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnt1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_len-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_len.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lsl.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lsr.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mad.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_max.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxnm.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxnmv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_min.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minnm.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minnmv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mla.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mls.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mov.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_msb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mul.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mulh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mulx.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nand.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_neg.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmad.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmla.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmls.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmsb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nor.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_not.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_orn.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_orr.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_orv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_pfalse.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_pfirst.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_pnext.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ptest.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ptrue.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qadd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdech.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecp.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qinch.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincp.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qsub.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rbit.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_recpe.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_recps.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_recpx.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rev-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rev.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_revb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_revh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_revw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rinta.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rinti.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintm.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintn.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintp.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintx.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintz.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rsqrte.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rsqrts.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_scale.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sel-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sel.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_splice-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_splice.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sqrt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1b.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1h.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1w.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_stnt1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_stnt1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sub.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_subr.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sudot.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tbl-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tbl.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_unpklo.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_usdot.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_whilele.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_whilelt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip2.c
M clang/test/Sema/aarch64-sve-intrinsics/acle_sve_bfloat.cpp
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2.cpp
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_bfloat.cpp
M clang/utils/TableGen/SveEmitter.cpp
Log Message:
-----------
[Clang][AArch64] Expose compatible SVE intrinsics with only +sme (#95787)
This allows code with SVE intrinsics to be compiled with +sme,+nosve,
assuming the encompassing function is in the correct mode (see #93802)
Commit: 0255c48188801b20884bb6b2603d3af642782fba
https://github.com/llvm/llvm-project/commit/0255c48188801b20884bb6b2603d3af642782fba
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/lib/Transforms/Utils/DialectConversion.cpp
Log Message:
-----------
[mlir][Transforms] Dialect conversion: Remove workaround (#96186)
This commit removes a `FIXME` in the code base that was in place because
of patterns that used the dialect conversion API incorrectly. Those
patterns have been fixed and the workaround is no longer needed.
Commit: ae41232191ec73b5ee96e5f21df99a42ca25d626
https://github.com/llvm/llvm-project/commit/ae41232191ec73b5ee96e5f21df99a42ca25d626
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Descriptor.cpp
M clang/test/AST/Interp/vectors.cpp
Log Message:
-----------
[clang][Interp] Fix Descriptor::getElemQualType() for complex/vectors
We handle them like arrays but still need to differentiate between
array/vector/complex types when dealing with QualTypes.
Commit: 0adecfbc393e86def951bca3516593a0a58ca7d0
https://github.com/llvm/llvm-project/commit/0adecfbc393e86def951bca3516593a0a58ca7d0
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/test/CodeGenCXX/temporaries.cpp
Log Message:
-----------
[clang][test] Enable a commented-out test (#96195)
This doesn't seem to crash anymore.
Commit: db03d9d33a84b184ac0ce0d9bcf1c0d3da202b61
https://github.com/llvm/llvm-project/commit/db03d9d33a84b184ac0ce0d9bcf1c0d3da202b61
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-21 (Fri, 21 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:
-----------
Recommit "[Inliner] Propagate callee argument memory access attributes before inlining" (2nd Try)
In the re-commit, just dropping the propagation of `writeonly` as that
is the only attribute that can play poorly with call slot optimization
(see issue: #95152 for more details).
Closes #95888
Commit: b635d690ed1e3fbebab9dee1b157fa380d3e9eba
https://github.com/llvm/llvm-project/commit/b635d690ed1e3fbebab9dee1b157fa380d3e9eba
Author: David Green <david.green at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/test/SemaHLSL/ScalarOverloadResolution.hlsl
M clang/test/SemaHLSL/VectorElementOverloadResolution.hlsl
M llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
M llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
M llvm/test/CodeGen/AArch64/speculation-hardening-loads.ll
M llvm/test/CodeGen/X86/load-partial-dot-product.ll
M llvm/test/tools/yaml2obj/COFF/load-config.yaml
Log Message:
-----------
[NFC] Fix laod -> load typos. NFC
Commit: 09cdbd2a5c2c8f821475d3d7e1741aee9a20d0f0
https://github.com/llvm/llvm-project/commit/09cdbd2a5c2c8f821475d3d7e1741aee9a20d0f0
Author: David Green <david.green at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Log Message:
-----------
[AArch64] Use AArch64ISD::UADDLP over aarch64_neon_uaddlp. NFC
Commit: c6a257fe0fc9ba677d96929a34dedc5f243aad7d
https://github.com/llvm/llvm-project/commit/c6a257fe0fc9ba677d96929a34dedc5f243aad7d
Author: David Green <david.green at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64GenRegisterBankInfo.def
Log Message:
-----------
[AArch64] Fix || Add brackets for || inside of assert
Fixes:
llvm/lib/Target/AArch64/AArch64GenRegisterBankInfo.def:185:12: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
assert(!Size.isScalable() || MinSize >= 128
~~~~~~~~~~~~~~
&& "Scalable vector types should have size of at least 128 bits");
Commit: 7c946f04cf363a8c581529907be8ee9f735591c7
https://github.com/llvm/llvm-project/commit/7c946f04cf363a8c581529907be8ee9f735591c7
Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/GlobalOpt.cpp
M llvm/test/Transforms/GlobalOpt/resolve-static-ifunc.ll
Log Message:
-----------
[GlobalOpt] Don't resolve aliased ifuncs with undefined resolvees. (#96220)
Fixes https://github.com/llvm/llvm-project/issues/96197.
A global alias should always point to a definition. Ifuncs are
definitions, so far so good. However an ifunc may be statically resolved
to a function that is declared but not defined in the translation unit.
With this patch we perform static resolution if:
* the resolvee is defined, else if
* none of the ifunc users is a global alias
Commit: d59a4cac5fe6c05da0e9088aad8f94c207423c36
https://github.com/llvm/llvm-project/commit/d59a4cac5fe6c05da0e9088aad8f94c207423c36
Author: Anton Sidorenko <anton.sidorenko at syntacore.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/test/Driver/riscv-cpus.c
M clang/test/Misc/target-invalid-cpu-note.c
M llvm/docs/ReleaseNotes.rst
M llvm/lib/Target/RISCV/RISCVProcessors.td
Log Message:
-----------
[RISCV] Add Syntacore SCR3 processor definition (#95953)
Syntacore SCR3 is a microcontroller-class processor core. Overview:
https://syntacore.com/products/scr3
This PR introduces two CPUs:
* 'syntacore-scr3-rv32' which is rv32imc
* 'syntacore-scr3-rv64' which is rv64imac
---------
Co-authored-by: Dmitrii Petrov <dmitrii.petrov at syntacore.com>
Commit: ef16f7ac1b3267e11bad464b4116d34396e7967f
https://github.com/llvm/llvm-project/commit/ef16f7ac1b3267e11bad464b4116d34396e7967f
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/CodeGenPrepare.cpp
Log Message:
-----------
[CodeGenPrepare] Add missing `static` decl on `matchIncrement()`; NFC
Commit: a078416a8594a5981367d9096e2181abe7811c5f
https://github.com/llvm/llvm-project/commit/a078416a8594a5981367d9096e2181abe7811c5f
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2-bfloat.c
Log Message:
-----------
[AArch64] Fix up failing test that should have been caught by precommit
Not sure why Github precommit tests didn't show this. Do they not build
for all targets?
Commit: c2a22f1a720e88ba3b574175bd23c1fb0164b4c8
https://github.com/llvm/llvm-project/commit/c2a22f1a720e88ba3b574175bd23c1fb0164b4c8
Author: Abid Qadeer <haqadeer at amd.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
A flang/test/Integration/debug-local-var-2.f90
R flang/test/Transforms/debug-fn-info.f90
A flang/test/Transforms/debug-fn-info.fir
R flang/test/Transforms/debug-local-var-2.f90
R flang/test/Transforms/debug-local-var.f90
A flang/test/Transforms/debug-local-var.fir
Log Message:
-----------
[flang][debug] Cleanup tests. (NFC) (#96189)
@kiranchandramohan mentioned
[here](https://github.com/llvm/llvm-project/pull/91582#discussion_r1606046605)
that LLVM IR tests should go in the Integration folder. He also
mentioned
[here](https://github.com/llvm/llvm-project/pull/91582#discussion_r1606684034)
that tests for `add-debug-info` pass should test that pass only. There
were some tests which were added before his comments so I have cleaned
them in this PR. The following changes were made.
1. Move LLVM IR tests to `Integration` folder.
2. Change tests from f90 to fir and only test changes done by
`add-debug-info` pass.
Commit: e887624aca4ed2f63d5393daa5bec3ddc4a46e83
https://github.com/llvm/llvm-project/commit/e887624aca4ed2f63d5393daa5bec3ddc4a46e83
Author: David Green <david.green at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
R llvm/test/CodeGen/AArch64/GlobalISel/gisel-fail-intermediate-legalizer.ll
M llvm/test/CodeGen/AArch64/GlobalISel/select-fp-casts.mir
M llvm/test/CodeGen/AArch64/fptoi.ll
Log Message:
-----------
[AArch64][GlobalISel] Add fp128 and i128 fptosi/fptoui handling. (#95528)
Any fp128 need to end up as libcall, as will f32->i128 and f64->i128.
f16 are a bit special as the maximum range of the result fits in a i17,
so can be shrank to an i64. Vector with i128/fp128 types are scalarized.
Commit: b23bd529c3bdbae147f68b68b4ce88cd92581d05
https://github.com/llvm/llvm-project/commit/b23bd529c3bdbae147f68b68b4ce88cd92581d05
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/IR/PassInstrumentation.cpp
Log Message:
-----------
[PassInstrumentation] Use try_emplace() (NFC)
To avoid a duplicate hash map lookup.
Commit: aed989157ddcdaaf3fea295c449f23dffe327ae5
https://github.com/llvm/llvm-project/commit/aed989157ddcdaaf3fea295c449f23dffe327ae5
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/test/CXX/drs/cwg2xx.cpp
M clang/test/CXX/drs/cwg3xx.cpp
M clang/test/CXX/drs/cwg8xx.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang] Cover CWG issues about `export template` (#94876)
This PR covers the following Core issues:
[CWG204](https://cplusplus.github.io/CWG/issues/204.html) "Exported
class templates"
[CWG323](https://cplusplus.github.io/CWG/issues/323.html) "Where must
`export` appear?"
[CWG335](https://cplusplus.github.io/CWG/issues/335.html) "Allowing
`export` on template members of nontemplate classes"
[CWG820](https://cplusplus.github.io/CWG/issues/820.html) "Deprecation
of `export`"
I believe the list above is entirety of Core issues that are dedicated
solely to `export template`.
I believe we have two main points of view here, which command what this
PR should do:
1. (easy) Removal of `export template` was done as a defect report in
CWG820, and the rest are effectively superseded by it, because we apply
defect reports retroactively.
2. (harder) Those Core issues are testable individually, so we should
test them for the behavior Core wanted at the time.
This PR implements the first option, making our C++ DR status page
greener.
I think I can be persuaded to go with the second option, if reviewers
have strong preference for it.
Commit: bc4d50f02ded9eea287daccf2b4a39ae5d30abd0
https://github.com/llvm/llvm-project/commit/bc4d50f02ded9eea287daccf2b4a39ae5d30abd0
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Sema/Sema.h
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/test/CXX/drs/cwg26xx.cpp
M clang/test/CXX/drs/cwg28xx.cpp
M clang/test/SemaCXX/cxx20-using-enum.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang] Implement CWG2877 "Type-only lookup for using-enum-declarator" (#95399)
This patch implements 2024-05-31 resolution of a tentatively ready issue
[CWG2877](https://cplusplus.github.io/CWG/issues/2877.html) "Type-only
lookup for using-enum-declarator", which supersedes earlier
[CWG2621](https://cplusplus.github.io/CWG/issues/2621.html) "Kind of
lookup for `using enum` declarations".
Now we perform type-only lookup (not to be confused with type-only
context) for `elaborated-enum-declarator`. This is the same kind of
lookup that elaborated type specifiers and base specifiers undergo.
I also found out (and fixed) that one of our existing tests claimed that
a dependent type can be used in `elaborated-enum-declarator`, but that's
not the case:
> The
[using-enum-declarator](http://eel.is/c++draft/enum.udecl#nt:using-enum-declarator)
shall designate a non-dependent type with a reachable
[enum-specifier](http://eel.is/c++draft/dcl.enum#nt:enum-specifier)[.](http://eel.is/c++draft/enum.udecl#1.sentence-2)
Commit: 2b5d1fb889fca7287858db0791bfecc1465f23e1
https://github.com/llvm/llvm-project/commit/2b5d1fb889fca7287858db0791bfecc1465f23e1
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/test/CXX/basic/basic.start/basic.start.init/p3.cpp
M clang/test/CXX/drs/cwg28xx.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang] Add test for CWG2811 "Clarify "use" of main" (#96168)
This patch covers
[CWG2811](https://cplusplus.github.io/CWG/issues/2811.html) "Clarify
"use" of main", basically adding a test for `-Wmain`, focusing on usages
of `main` in unevaluated contexts.
To my understanding, the diagnostic message is based on the wording, so
I updated it based on the new wording. I also replaces "ISO C++
requires" with a phrasing that explicitly says "extension".
Commit: d4d95ee65159db1ea1a8c4159cfdaf8b81097897
https://github.com/llvm/llvm-project/commit/d4d95ee65159db1ea1a8c4159cfdaf8b81097897
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/include/clang/Serialization/ASTWriter.h
M clang/lib/Serialization/ASTWriter.cpp
M clang/test/Modules/decl-params-determinisim.m
A clang/test/Modules/no-transitive-identifier-change-2.cppm
Log Message:
-----------
[Serialization] Register identifiers in ahead and don't emit predefined decls
See the added test for the motivation example. In that example, we add a
new function declaration in `a.cppm` and this is not used in the reduced
BMI of `b.cppm`. We expect that the change won't affect the BMI of
`b.cppm`. But it is the not the case.
There are 2 reason for unexpected result:
1. We would register the interesting identifiers in a pretty late phase.
This may cause some some predefined identifier ID change due to we
insert other identifiers during emitting decls and types.
2. In `GenerateNameLookup`, we would generate information for predefined
decls. This may not be intended. Since every predefined decl doesn't
belong to any module.
And this patch solves the first issue by registering the identifiers in
the very early posititon to make sure the ID won't get affected by the
process to emit decls and types. And we solve the second question by
filtering predefined decls simply.
Commit: 34de7fd4284ce9f02c2ea902f8a8ce5fd256db3d
https://github.com/llvm/llvm-project/commit/34de7fd4284ce9f02c2ea902f8a8ce5fd256db3d
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-06-21 (Fri, 21 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] Refactor vector-transfer-flatten.mlir (nfc) (1/n) (#95743)
The main goal of this and subsequent PRs is to unify and categorize
tests in:
* vector-transfer-flatten.mlir
This should make it easier to identify the edge cases being tested (and
how they differ), remove duplicates and to add tests for scalable
vectors.
The main contributions of this PR:
* split tests that covered `xfer_read` + `xfer_write` into separate
tests (majority of the existing tests check _one_ xfer Op at a time),
* organise tests for `xfer_read` and `xfer_write` into separate
groups (separate with a big bold comment).
Note, all tests (i.e. test cases) are preserved and some new tests are
added. Deletions that you will see in `git diff` correspond to
`xfer_write` and `xfer_read` Ops being extracted to separate functions
(so that there's one xfer Op per function). In particular, the number of
test functions has grown from 26 to 30.
In addition, this PR unifies the tests so that:
* input variable names are consistent (e.g. make sure that the input
memref is always `arg`)
* CHECK lines use similar indentations
* 2 x tabs are always used for function arguments, 1 x tab for
function body
Finally, changes in "VectorTransferOpTransforms.cpp" are merely meant to
unify comments and logic between
* `FlattenContiguousRowMajorTransferWritePattern` and
* `FlattenContiguousRowMajorTransferReadPattern`.
Commit: 906316eababcbcfd71e357aa3b66bdfc9237b3b9
https://github.com/llvm/llvm-project/commit/906316eababcbcfd71e357aa3b66bdfc9237b3b9
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M lldb/include/lldb/Target/RegisterFlags.h
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
M lldb/source/Target/RegisterFlags.cpp
Log Message:
-----------
[lldb] More descriptive name for register flags logging functions
This was requested on a review for enum code that added new log
functions.
Commit: 0637778af4174daf9cc1c315049a79db27f36e72
https://github.com/llvm/llvm-project/commit/0637778af4174daf9cc1c315049a79db27f36e72
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
A mlir/test/Target/LLVMIR/openmp-parallel-reduction-multiblock.mlir
M mlir/test/Target/LLVMIR/openmp-reduction-init-arg.mlir
Log Message:
-----------
[mlir][LLVMIR][OpenMP] fix dominance for reduction init block (#96052)
It was incorrect to set the insertion point to the init block after
inlining the initialization region because the code generated in the
init block depends upon the value yielded from the init region. When
there were multiple reduction initialization regions each with multiple
blocks, this could lead to the initilization region being inlined after
the init block which depends upon it.
Moving the insertion point to before inlining the initialization block
turned up further issues around the handling of the terminator for the
initialization block, which are also fixed here.
This fixes a bug in #92430 (but the affected code couldn't compile
before #92430 anyway).
Commit: 57c083ecfb63a15656d974d097793c709c6552c4
https://github.com/llvm/llvm-project/commit/57c083ecfb63a15656d974d097793c709c6552c4
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/combine-pmadd.ll
Log Message:
-----------
[X86] combine-pmadd.ll - add tests for concatenations of pmaddwd/pmaddubsw subvectors
Commit: 53a059ca76b0a6a0dff731e5acc7d51e5a62546c
https://github.com/llvm/llvm-project/commit/53a059ca76b0a6a0dff731e5acc7d51e5a62546c
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/PassInstrumentation.h
Log Message:
-----------
[PassInstrumentation] Use DenseMap to store class->pass map (NFC)
It's okay to store the StringRef for the class name without
creating a separate copy inside the map, so use DenseMap instead
of StringMap.
Commit: cba4dfdd2fd0515821459b50947f4ec0d8b5c58a
https://github.com/llvm/llvm-project/commit/cba4dfdd2fd0515821459b50947f4ec0d8b5c58a
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/RegAllocFast.cpp
Log Message:
-----------
[RegAllocFast] Use unsigned for operand indices
MachineInstr operand indices can be up 24 bits currently. Use unsigned
as consistent data type for operand indices instead of uint16_t.
Commit: b1ec1a2dc81075eceddd2c6b34b52d2a741fd961
https://github.com/llvm/llvm-project/commit/b1ec1a2dc81075eceddd2c6b34b52d2a741fd961
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
Log Message:
-----------
[AArch64] NFCI: More sensible implementation of isLegalMaskedGatherScatter.
Gather/Scatter instructions are only available if the whole of SVE
is available.
Commit: 0ae6cfc5990b0b739166bd7db370125ca66494c2
https://github.com/llvm/llvm-project/commit/0ae6cfc5990b0b739166bd7db370125ca66494c2
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/RegAllocFast.cpp
Log Message:
-----------
[RegAllocFast] Handle single-vdef instrs faster (#96284)
On x86, many instructions have tied operands, so allocateInstruction
uses the more complex assignment strategy, which computes the assignment
order of virtual defs first. This involves iterating over all register
classes (or register aliases for physical defs) to compute the possible
number of defs per register class.
However, this information is only used for sorting virtual defs and
therefore not required when there's only one virtual def -- which is a
very common case. As iterating over all register classes/aliases is not
cheap, do this only when there's more than one virtual def.
Commit: 0290a0e64f0d235e0e6b38283f9a389c7ab977dc
https://github.com/llvm/llvm-project/commit/0290a0e64f0d235e0e6b38283f9a389c7ab977dc
Author: Balázs Kéri <balazs.keri at ericsson.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/AST/ASTImporter.cpp
Log Message:
-----------
[clang][ASTImporter] Fix possible crash "given incorrect InsertPos for specialization". (#89887)
In some situations a new `VarTemplateSpecializationDecl` (for the same
template) can be added during import of another one. The "insert
position" that is used to insert the current object into the list of
specializations is stored at start of the import and is used later. If
the list changes before the insertion the position is not valid any
more.
Commit: f12655ac1e0b036e354d4484f34409bd1438a69c
https://github.com/llvm/llvm-project/commit/f12655ac1e0b036e354d4484f34409bd1438a69c
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/include/llvm/Frontend/HLSL/HLSLResource.h
M llvm/lib/Frontend/HLSL/HLSLResource.cpp
Log Message:
-----------
[HLSLResource] Don't include Metadata.h (NFC)
This is only used for a single assert, so move it out of line.
This avoids a dependency on Metadata.h from large parts of clang.
Commit: c7c636189adc45251be2b7cc53b6b047e1ac3536
https://github.com/llvm/llvm-project/commit/c7c636189adc45251be2b7cc53b6b047e1ac3536
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/CXX/temp/temp.res/temp.dep/temp.dep.constexpr/p2-0x.cpp
Log Message:
-----------
[clang][Interp] Don't try to decay non-pointers to pointers
Commit: 739a9605677dd736971b17a7888f9d18fd245904
https://github.com/llvm/llvm-project/commit/739a9605677dd736971b17a7888f9d18fd245904
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/RegAllocCommon.h
M llvm/include/llvm/CodeGen/RegAllocFast.h
M llvm/include/llvm/Passes/PassBuilder.h
M llvm/lib/CodeGen/RegAllocBase.cpp
M llvm/lib/CodeGen/RegAllocBase.h
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/Passes/PassBuilder.cpp
Log Message:
-----------
[RegAlloc] Don't call always-true ShouldAllocClass (#96296)
Previously, there was at least one virtual function call for every
allocated register. The only users of this feature are AMDGPU and RISC-V
(RVV), other targets don't use this. To easily identify these cases,
change the default functor to nullptr and don't call it for every
allocated register.
Commit: bc82793b304cff80605cf7ab14f51a7924d27481
https://github.com/llvm/llvm-project/commit/bc82793b304cff80605cf7ab14f51a7924d27481
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/test/IR/parser.mlir
M mlir/test/lib/Dialect/Test/CMakeLists.txt
M mlir/test/lib/Dialect/Test/TestAttrDefs.td
M mlir/test/lib/Dialect/Test/TestAttributes.h
M mlir/test/lib/Dialect/Test/TestOps.td
M mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp
Log Message:
-----------
[mlir] load dialects for non-namespaced attrs (#96242)
The mlir-translate tool calls into the parser without loading registered
dependent dialects, and the parser only loads attributes if the
fully-namespaced attribute is present in the textual IR. This causes
parsing to break when an op has an attribute that prints/parses without
the namespaced attribute.
Co-authored-by: Jeremy Kun <jkun at google.com>
Commit: f1075a34ab30f67915deb9a519dd98e025c5c998
https://github.com/llvm/llvm-project/commit/f1075a34ab30f67915deb9a519dd98e025c5c998
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/FileSystem.h
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
Log Message:
-----------
[FileSystem] Avoid <stack> include (NFC)
The standard pattern in LLVM is to directly use vectors for stacks,
without an additional std::stack wrapper to rename some methods.
Commit: 1c85c711aadb65943f5187524274fc96d1151b02
https://github.com/llvm/llvm-project/commit/1c85c711aadb65943f5187524274fc96d1151b02
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/test/Dialect/Vector/vector-transfer-flatten.mlir
Log Message:
-----------
[mlir][vector] Refactor vector-transfer-flatten.mlir (nfc) (2/n) (#95744)
The main goal of this and subsequent PRs is to unify and categorize
tests in:
* vector-transfer-flatten.mlir
This should make it easier to identify the edge cases being tested (and
how they differ), remove duplicates and to add tests for scalable
vectors.
Below are the main contributions of this PR
1. Two tests duplicated
`@transfer_{read|write}_dims_mismatch_non_contiguous_slice`:
* `@transfer_{read|write}_dims_mismatch_non_contiguous` and
* `@transfer_read_flattenable_negative` duplicated
`@transfer_{read|write}_dims_mismatch_non_contiguous_slice`.
These tests are removed (the original test is preserved).
2. `@transfer_read_flattenable_negative2` is replaced with
two tests with more descriptive names:
* `@transfer_read_non_contiguous_src` (for `xfer_read`) and
* `@transfer_write_non_contiguous_src` (for `xfer_write`)
Commit: c026024ff9c7ed79afffde318a73793c1f14e004
https://github.com/llvm/llvm-project/commit/c026024ff9c7ed79afffde318a73793c1f14e004
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
Log Message:
-----------
AMDGPU: Legalize v2f16 atomicrmw fadd for buffer fat pointers (#95929)
Unfortunately the v2bf16 case is complicated because gfx90a
doesn't support it, while it does for global/flat.
Commit: b23fe1088fa47d2604cb6c671aeca6ea7fe01df8
https://github.com/llvm/llvm-project/commit/b23fe1088fa47d2604cb6c671aeca6ea7fe01df8
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M bolt/lib/Core/BinaryFunction.cpp
Log Message:
-----------
[bolt] Add missing <stack> include (NFC)
Commit: 9c4944095db919580bdc698273065d1c91a98ed8
https://github.com/llvm/llvm-project/commit/9c4944095db919580bdc698273065d1c91a98ed8
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M lldb/include/lldb/Target/TraceDumper.h
M lldb/source/Commands/CommandObjectThreadUtil.h
Log Message:
-----------
[lldb] Add missing <stack> includes (NFC)
Commit: 9b50a88853cc5df4fcdcb56a2ea57f5db4b1978b
https://github.com/llvm/llvm-project/commit/9b50a88853cc5df4fcdcb56a2ea57f5db4b1978b
Author: Oleksandr T <oleksandr.tarasiuk at outlook.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaStmt.cpp
A clang/test/SemaCXX/lambda-as-default-parameter.cpp
Log Message:
-----------
[Clang] skip alignment checks on incomplete types to avoid an assertion failure while parsing lambda used as default argument (#94542)
Fixes #93512
Commit: 8cf39881d17becb1afef85190a602c4f76fe70d4
https://github.com/llvm/llvm-project/commit/8cf39881d17becb1afef85190a602c4f76fe70d4
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/combine-pmadd.ll
Log Message:
-----------
[X86] combineConcatVectorOps - add pmaddwd/pmaddubsw handling
Commit: 138ea7d1fb82c2525da8dcc2f8ea73eae7b25f25
https://github.com/llvm/llvm-project/commit/138ea7d1fb82c2525da8dcc2f8ea73eae7b25f25
Author: earnol <earnol at users.noreply.github.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGExpr.cpp
M compiler-rt/lib/ubsan/ubsan_value.cpp
M compiler-rt/lib/ubsan/ubsan_value.h
R compiler-rt/test/ubsan/TestCases/Integer/bit-int-pass.c
R compiler-rt/test/ubsan/TestCases/Integer/bit-int.c
Log Message:
-----------
Revert "[ubsan] Display correct runtime messages for negative _BitInt" (#96239)
Reverts llvm/llvm-project#93612 due to the issues with ppc64le platform.
Commit: 9f0aa05bfb40c077a5b1c2ea8cac88fdd51f0c5c
https://github.com/llvm/llvm-project/commit/9f0aa05bfb40c077a5b1c2ea8cac88fdd51f0c5c
Author: Hugo Trachino <hugo.trachino at huawei.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Vector/IR/VectorOps.h
M mlir/include/mlir/Dialect/Vector/TransformOps/VectorTransformOps.td
M mlir/lib/Dialect/Vector/TransformOps/VectorTransformOps.cpp
M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
M mlir/test/Dialect/Vector/transform-vector.mlir
Log Message:
-----------
[mlir][vector] Add ElementwiseToOuterproduct (#93664)
1D multi-reduction are lowered to arith which can prevent some
optimisations. I propose `ElementwiseToOuterproduct` matching a series of
ops to generate `vector.outerproduct`.
As part of some `ElementwiseToVectorOpsPatterns`, it could allow to fuse
other elementwiseOps to vector dialect.
Originally discussed
https://discourse.llvm.org/t/on-improving-arm-sme-lowering-resilience-in-mlir/78543/24.
quote @MacDue
```
%lhsBcast = vector.broadcast %lhsCast : vector<[4]xf32> to vector<[4]x[4]xf32>
%lhsT = vector.transpose %lhsBcast, [1, 0] : vector<[4]x[4]xf32> to vector<[4]x[4]xf32>
%rhsBcast = vector.broadcast %rhs : vector<[4]xf32> to vector<[4]x[4]xf32>
%mul = arith.mulf %lhsT, %rhsBcast : vector<[4]x[4]xf32>
```
Can be rewritten as:
```
%mul = vector.outerproduct $lhs, $rhs : vector<[4]xf32>, vector<[4]xf32>
```
---------
Co-authored-by: Han-Chung Wang <hanhan0912 at gmail.com>
Commit: cb8bd6f77235ee15bbe549c8f3486392b8966447
https://github.com/llvm/llvm-project/commit/cb8bd6f77235ee15bbe549c8f3486392b8966447
Author: Aviad Cohen <aviadcohen7 at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.td
M mlir/include/mlir/Dialect/SCF/Utils/Utils.h
M mlir/include/mlir/Interfaces/LoopLikeInterface.h
M mlir/lib/Dialect/Affine/Utils/LoopUtils.cpp
M mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp
M mlir/lib/Dialect/SCF/Utils/Utils.cpp
M mlir/test/Dialect/SCF/transform-ops-invalid.mlir
M mlir/test/Dialect/SCF/transform-ops.mlir
Log Message:
-----------
Introduce new Unroll And Jam loop transform for SCF/Affine loops (#94142)
Unroll And Jam was supported in affine dialect long time ago using pass.
This commit exposes the pattern using transform and in addition adds
partial support for SCF loops.
Commit: c399aeacf67e517bcfa9c4d7e5cc709a3fbe5d09
https://github.com/llvm/llvm-project/commit/c399aeacf67e517bcfa9c4d7e5cc709a3fbe5d09
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M lldb/include/lldb/Target/Thread.h
M lldb/include/lldb/Utility/Args.h
Log Message:
-----------
[lldb] Remove YAMLTraits.h include (NFC)
The YAML functionality was dropped in
70599d70273b671b1b2e6a0e0b9c11e413209647, but this include was
left behind.
Commit: b5efd214297a50664cf3373362db29432c883ebd
https://github.com/llvm/llvm-project/commit/b5efd214297a50664cf3373362db29432c883ebd
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/__support/FPUtil/CMakeLists.txt
M libc/src/__support/FPUtil/ManipulationFunctions.h
M libc/src/__support/FPUtil/dyadic_float.h
M libc/src/__support/big_int.h
M libc/src/math/CMakeLists.txt
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/ldexpf16.cpp
A libc/src/math/generic/scalblnf16.cpp
A libc/src/math/generic/scalbnf16.cpp
A libc/src/math/ldexpf16.h
A libc/src/math/scalblnf16.h
A libc/src/math/scalbnf16.h
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/LdExpTest.h
M libc/test/src/math/smoke/ScalbnTest.h
A libc/test/src/math/smoke/ldexpf16_test.cpp
A libc/test/src/math/smoke/scalblnf16_test.cpp
M libc/test/src/math/smoke/scalbn_test.cpp
M libc/test/src/math/smoke/scalbnf128_test.cpp
A libc/test/src/math/smoke/scalbnf16_test.cpp
M libc/test/src/math/smoke/scalbnf_test.cpp
M libc/test/src/math/smoke/scalbnl_test.cpp
Log Message:
-----------
[libc][math][c23] Add {ldexp,scalbn,scalbln}f16 C23 math functions (#94797)
Part of #93566.
Commit: f5c2ef2597d937901b7b261ca3a847aecd456a65
https://github.com/llvm/llvm-project/commit/f5c2ef2597d937901b7b261ca3a847aecd456a65
Author: JoelWee <32009741+JoelWee at users.noreply.github.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
Fix bazel build after bc82793b
Commit: df86fb069e130f405ca2e6124c725e6dd1d629c6
https://github.com/llvm/llvm-project/commit/df86fb069e130f405ca2e6124c725e6dd1d629c6
Author: zhijian lin <zhijian at ca.ibm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/include/llvm/Object/XCOFFObjectFile.h
M llvm/lib/Object/XCOFFObjectFile.cpp
A llvm/test/tools/llvm-objdump/XCOFF/file-headers.test
M llvm/tools/llvm-objdump/llvm-objdump.cpp
Log Message:
-----------
[llvm-objdump] enable file-headers option of llvm-objdump for XCOFF object files (#96104)
the patch enable file-headers option of llvm-objdump for XCOFF object
files
Commit: 48ef912e2b32798b704af242e551a7090102c750
https://github.com/llvm/llvm-project/commit/48ef912e2b32798b704af242e551a7090102c750
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/abseil/RedundantStrcatCallsCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/MacroRepeatedSideEffectsCheck.cpp
M clang-tools-extra/clangd/GlobalCompilationDatabase.cpp
M clang-tools-extra/clangd/Selection.h
M clang/lib/Sema/SemaAPINotes.cpp
M clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
M clang/unittests/Support/TimeProfilerTest.cpp
M lldb/include/lldb/Target/StackFrameRecognizer.h
M llvm/include/llvm/Support/VirtualFileSystem.h
M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
M llvm/lib/Support/VirtualFileSystem.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
Log Message:
-----------
[VFS] Avoid <stack> include (NFC)
Directly use a vector instead of wrapping it in a stack, like we
do in most places.
Commit: 52bec3e362e85723e97ff0aa333a4071fab2fd26
https://github.com/llvm/llvm-project/commit/52bec3e362e85723e97ff0aa333a4071fab2fd26
Author: JoelWee <32009741+JoelWee at users.noreply.github.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
Revert f5c2ef2597
Commit: 9048150cbc5c7e8cae026b08815c35cc78807117
https://github.com/llvm/llvm-project/commit/9048150cbc5c7e8cae026b08815c35cc78807117
Author: Joel Wee <joelwee at google.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
Log Message:
-----------
Fix bazel build after bc82793
Commit: 8bb3b1440cb09d0bade79ab65a2909fa94e9309c
https://github.com/llvm/llvm-project/commit/8bb3b1440cb09d0bade79ab65a2909fa94e9309c
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/TensorSpec.h
M llvm/lib/CodeGen/MLRegAllocEvictAdvisor.h
M llvm/lib/LTO/ThinLTOCodeGenerator.cpp
M llvm/unittests/Analysis/TensorSpecTest.cpp
Log Message:
-----------
[TensorSpec] Avoid JSON.h include (NFC)
Instead forward declare the two classes that are referenced.
Commit: 747f9dacfe30114b492553e0c69a29328d246e4f
https://github.com/llvm/llvm-project/commit/747f9dacfe30114b492553e0c69a29328d246e4f
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/AArch64/sme-vectorize.ll
Log Message:
-----------
[AArch64] NFC: Precommit new RUN lines to test sme-vectorize.ll
Commit: dc5d541081381e3dca80b982097596546e0619fc
https://github.com/llvm/llvm-project/commit/dc5d541081381e3dca80b982097596546e0619fc
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Utils/IndexingUtils.h
M mlir/lib/Dialect/Vector/Transforms/LowerVectorBitCast.cpp
M mlir/test/Dialect/Vector/vector-bitcast-lowering-transforms.mlir
Log Message:
-----------
[mlir][vector] Support scalable vectors when unrolling vector.bitcast (#94197)
Follow up to #94064.
Commit: 2dea00b1437f8620e56e5f1f9566492514ac8647
https://github.com/llvm/llvm-project/commit/2dea00b1437f8620e56e5f1f9566492514ac8647
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/combine-pmadd.ll
Log Message:
-----------
[X86] combine-pmadd.ll - add demandedelts tests for pmaddwd/pmaddubsw
pmaddwd is already handled, but pmaddubsw is missing
Commit: 0be0ab90684102d1bed40362b895579f346e0fc0
https://github.com/llvm/llvm-project/commit/0be0ab90684102d1bed40362b895579f346e0fc0
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/combine-pmadd.ll
Log Message:
-----------
[X86] SimplifyDemandedVectorEltsForTargetNode - add X86ISD::VPMADDUBSW handling
In general terms, this can reuse the X86ISD::VPMADDWD code (num src elts = 2 * num dst elts) and same zero behaviour.
Commit: 4232dd586b65c9301304cab2fb166d8df97c591a
https://github.com/llvm/llvm-project/commit/4232dd586b65c9301304cab2fb166d8df97c591a
Author: Yi Wu <yi.wu2 at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M flang/docs/Intrinsics.md
M flang/runtime/execute.cpp
M flang/unittests/Runtime/CommandTest.cpp
Log Message:
-----------
[flang] Fix execute_command_line cmdstat is not set when error occurs (#93023)
Fixes: https://github.com/llvm/llvm-project/issues/92929
Also added cmdstat for common linux return code 1, 126, 127
Commit: 30299b87171cbad2dacb8b1ec0e75801785f16d9
https://github.com/llvm/llvm-project/commit/30299b87171cbad2dacb8b1ec0e75801785f16d9
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/Frontend/PrecompiledPreamble.cpp
M lldb/utils/TableGen/LLDBTableGen.cpp
M llvm/include/llvm/Support/CommandLine.h
M llvm/lib/Support/CommandLine.cpp
M llvm/lib/Support/RandomNumberGenerator.cpp
M llvm/lib/Support/TypeSize.cpp
Log Message:
-----------
[CommandLine] Avoid ManagedStatic.h include (NFC)
The two variables using ManagedStatic that are exported by this
header are not actually used anywhere -- they are used through
SubCommand::getTopLevel() and SubCommand::getAll() instead.
Drop the extern declarations and the include.
Commit: 0aea1f2f21b8b3984072dc2ea33857d077d91af2
https://github.com/llvm/llvm-project/commit/0aea1f2f21b8b3984072dc2ea33857d077d91af2
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/lib/Debug/CLOptionsSetup.cpp
M mlir/lib/IR/AsmPrinter.cpp
M mlir/lib/Pass/PassCrashRecovery.cpp
M mlir/lib/Tools/mlir-translate/Translation.cpp
Log Message:
-----------
[mlir] Add missing ManagedStatic.h includes (NFC)
Commit: 60bdcc02ad19045ebb71ce8e48a316882c9b4e7e
https://github.com/llvm/llvm-project/commit/60bdcc02ad19045ebb71ce8e48a316882c9b4e7e
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Support/GraphWriter.cpp
Log Message:
-----------
[GraphWriter] Add missing ManagedStatic.h include (NFC)
This include is only necessary on __APPLE__.
Commit: db8c7e004a8acf74f40e0f7bc60066f26d43ccd9
https://github.com/llvm/llvm-project/commit/db8c7e004a8acf74f40e0f7bc60066f26d43ccd9
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M libcxx/include/__configuration/availability.h
M libcxx/lib/abi/CHANGELOG.TXT
M libcxx/test/configs/apple-libc++-backdeployment.cfg.in
M libcxx/test/libcxx/atomics/atomics.syn/wait.pass.cpp
M libcxx/test/libcxx/input.output/iostreams.base/ios.base/ios.base.cons/dtor.uninitialized.pass.cpp
M libcxx/test/libcxx/language.support/cxa_deleted_virtual.pass.cpp
M libcxx/test/libcxx/strings/basic.string/string.capacity/PR53170.pass.cpp
M libcxx/test/libcxx/strings/basic.string/string.capacity/allocation_size.pass.cpp
M libcxx/test/libcxx/thread/thread.condition/PR30202_notify_from_pthread_created_thread.pass.cpp
M libcxx/test/libcxx/thread/thread.threads/thread.thread.this/sleep_for.pass.cpp
M libcxx/test/libcxx/thread/thread.threads/thread.thread.this/sleep_for.signals.pass.cpp
M libcxx/test/std/depr/depr.c.headers/stdlib_h.aligned_alloc.compile.pass.cpp
M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp
M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/refresh.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/last_write_time.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/copy_file.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directories/create_directories.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory_with_attributes.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.file_size/file_size.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove_all/toctou.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/bool.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/double.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/float.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/int.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long_double.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long_long.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/pointer.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/short.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_int.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_long.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_long_long.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_short.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/streambuf.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_chart.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_pointer_size.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_pointer_size_chart.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_streambuf.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_streambuf_chart.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/getline_pointer_size.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/getline_pointer_size_chart.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/ignore.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/peek.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/read.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/seekg_off.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/sync.pass.cpp
M libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/minmax_showbase.pass.cpp
M libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/minus1.pass.cpp
M libcxx/test/std/input.output/iostreams.base/ios.base/ios.types/ios_Init/ios_Init.multiple.pass.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_fsizeddeallocation.pass.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_fsizeddeallocation.pass.cpp
M libcxx/test/std/language.support/support.exception/uncaught/uncaught_exceptions.pass.cpp
M libcxx/test/std/language.support/support.runtime/cstdlib.aligned_alloc.compile.pass.cpp
M libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp
M libcxx/test/std/localization/codecvt_unicode.pass.cpp
M libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.statics/table_size.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.pass.cpp
M libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long_double.pass.cpp
M libcxx/test/std/localization/locales/locale/locale.cons/name_construction.pass.cpp
M libcxx/test/std/numerics/rand/rand.device/ctor.pass.cpp
M libcxx/test/std/strings/basic.string/string.capacity/max_size.pass.cpp
M libcxx/test/std/strings/basic.string/string.capacity/over_max_size.pass.cpp
M libcxx/test/std/strings/basic.string/string.capacity/reserve_size.pass.cpp
M libcxx/test/std/thread/futures/futures.async/async_race.38682.pass.cpp
M libcxx/test/std/thread/futures/futures.future_error/what.pass.cpp
M libcxx/test/std/thread/thread.condition/notify_all_at_thread_exit_lwg3343.pass.cpp
M libcxx/test/std/utilities/memory/temporary.buffer/overaligned.pass.cpp
M libcxx/utils/ci/buildkite-pipeline.yml
M libcxx/utils/ci/run-buildbot
M libcxx/utils/libcxx/test/features.py
M libcxx/utils/libcxx/test/params.py
M libcxxabi/test/catch_function_01.pass.cpp
M libcxxabi/test/catch_function_03.pass.cpp
M libcxxabi/test/catch_member_data_pointer_01.pass.cpp
M libcxxabi/test/catch_member_function_pointer_02.pass.cpp
M libcxxabi/test/catch_member_pointer_nullptr.pass.cpp
M libcxxabi/test/catch_multi_level_pointer.pass.cpp
M libcxxabi/test/catch_null_pointer_to_object_pr64953.pass.cpp
M libcxxabi/test/catch_pointer_nullptr.pass.cpp
M libcxxabi/test/catch_ptr_02.pass.cpp
M libcxxabi/test/configs/apple-libc++abi-backdeployment.cfg.in
M libcxxabi/test/cxa_vec_new_overflow_PR41395.pass.cpp
M libcxxabi/test/dynamic_cast.pass.cpp
M libcxxabi/test/exception_object_alignment.pass.cpp
M libcxxabi/test/forced_unwind1.pass.cpp
M libcxxabi/test/forced_unwind2.pass.cpp
M libcxxabi/test/incomplete_type.sh.cpp
M libcxxabi/test/test_aux_runtime_op_array_new.pass.cpp
M libcxxabi/test/test_demangle.pass.cpp
M libcxxabi/test/test_exception_address_alignment.pass.cpp
M libcxxabi/test/uncaught_exception.pass.cpp
M libcxxabi/test/uncaught_exceptions.pass.cpp
M libunwind/test/configs/apple-libunwind-backdeployment.cfg.in
M libunwind/test/libunwind_01.pass.cpp
Log Message:
-----------
[libc++] Fix deployment target Lit features (#94791)
We were not making any distinction between e.g. the "Apple-flavored"
libc++ built from trunk and the system-provided standard library on
Apple platforms. For example, any test that would be XFAILed on a
back-deployment target would unexpectedly pass when run on that
deployment target against the tip of trunk Apple-flavored libc++. In
reality, that test would be expected to pass because we're running
against the latest libc++, even if it is Apple-flavored.
To solve this issue, we introduce a new feature that describes whether
the Standard Library in use is the one provided by the system by
default, and that notion is different from the underlying standard
library flavor. We also refactor the existing Lit features to make a
distinction between availability markup and the library we're running
against at runtime, which otherwise limit the flexibility of what we can
express in the test suite. Finally, we refactor some of the
back-deployment versions that were incorrect (such as thinking that LLVM
10 was introduced in macOS 11, when in reality macOS 11 was synced with
LLVM 11).
Fixes #82107
Commit: 74a105ad80725b4a54ef76950c938ffe76796b3b
https://github.com/llvm/llvm-project/commit/74a105ad80725b4a54ef76950c938ffe76796b3b
Author: Artem Kroviakov <71938912+akroviakov at users.noreply.github.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/VectorLinearize.cpp
M mlir/test/Dialect/Vector/linearize.mlir
Log Message:
-----------
[mlir][vector] Use notifyMatchFailure instead of assert in VectorLinearize (#93590)
As it was [suggested](https://github.com/llvm/llvm-project/pull/92370#discussion_r1617592942), the `assert` is replaced by `notifyMatchFailure` for improved consistency.
Commit: a9efcbf490d9b8f46ec37062ca8653b4068000e5
https://github.com/llvm/llvm-project/commit/a9efcbf490d9b8f46ec37062ca8653b4068000e5
Author: muneebkhan85 <150162960+muneebkhan85 at users.noreply.github.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
M mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
M mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
M mlir/lib/Dialect/Transform/IR/TransformOps.cpp
M mlir/python/mlir/dialects/transform/structured.py
A mlir/test/Dialect/Linalg/continuous-tiling-full.mlir
A mlir/test/Dialect/Linalg/continuous-tiling-multiway-split.mlir
M mlir/test/Dialect/Linalg/transform-op-split.mlir
M mlir/test/python/dialects/transform_structured_ext.py
Log Message:
-----------
[MLIR] Add continuous tiling to transform dialect (#82792)
This patch enables continuous tiling of a target structured op using
diminishing tile sizes. In cases where the tensor dimensions are not
exactly divisible by the tile size, we are left with leftover tensor
chunks that are irregularly tiled. This approach enables tiling of the
leftover chunk with a smaller tile size and repeats this process
recursively using exponentially diminishing tile sizes. This eventually
generates a chain of loops that apply tiling using diminishing tile
sizes.
Adds `continuous_tile_sizes` op to the transform dialect. This op, when
given a tile size and a dimension, computes a series of diminishing tile
sizes that can be used to tile the target along the given dimension.
Additionally, this op also generates a series of chunk sizes that the
corresponding tile sizes should be applied to along the given dimension.
Adds `multiway` attribute to `transform.structured.split` that enables
multiway splitting of a single target op along the given dimension, as
specified in a list enumerating the chunk sizes.
Commit: 4e6835d4d980b0a1ea6a9de1c2e8360fd0810bba
https://github.com/llvm/llvm-project/commit/4e6835d4d980b0a1ea6a9de1c2e8360fd0810bba
Author: AtariDreams <gfunni234 at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
M llvm/test/CodeGen/AArch64/arm64-ccmp.ll
M llvm/test/CodeGen/AArch64/cmp-chains.ll
Log Message:
-----------
[AArch64] Use ccmn to compare negative immediates between -1 and -31 (#95825)
Because ccmn is like a + b, it works when using cmp but with values that
when negated are in the range of 1 through 31
Commit: f581d197b7f9896f1a64922ef9928be911c96f4e
https://github.com/llvm/llvm-project/commit/f581d197b7f9896f1a64922ef9928be911c96f4e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
Log Message:
-----------
[AArch64] AArch64AsmParser::tryParseImmRange - don't directly dereference pointers from dyn_cast
Static analysis was reporting that dyn_cast<> can return null on failure - use cast<> instead
Commit: 3de162fee44376b3857c73958d656f76b17e50f5
https://github.com/llvm/llvm-project/commit/3de162fee44376b3857c73958d656f76b17e50f5
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M offload/test/CMakeLists.txt
M offload/test/lit.site.cfg.in
Log Message:
-----------
[Offload] Fix using old deprecated CUDA root variable (#96307)
Summary:
This variable isn't being set properly since we moved to the new way to
find the CUDA directory. That means this variable was just unset the
whole time. This patch adds it in by calculating it using the binary
directory so it can be passed to `--cuda-path`.
Commit: a083e50f53f0f9eb9ad0c5b65f3c627cf97043e6
https://github.com/llvm/llvm-project/commit/a083e50f53f0f9eb9ad0c5b65f3c627cf97043e6
Author: Miro Bucko <mbucko at meta.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M lldb/include/lldb/API/SBAddressRange.h
M lldb/include/lldb/API/SBAddressRangeList.h
M lldb/source/API/SBAddressRange.cpp
M lldb/source/API/SBAddressRangeList.cpp
M lldb/test/API/python_api/address_range/TestAddressRange.py
Log Message:
-----------
[lldb] Fix SBAddressRange validation checks. (#95997)
Commit: f2b17d2582b45dbe83421d29e77cc1d5fdf4e069
https://github.com/llvm/llvm-project/commit/f2b17d2582b45dbe83421d29e77cc1d5fdf4e069
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/Format/CMakeLists.txt
Log Message:
-----------
[clang-format][NFC] Add CMake target clang-format-check-format (#95873)
Adapted from polly-check-format.
Commit: 6a69cfb607bafe2bfe75818cc6290af2565a3198
https://github.com/llvm/llvm-project/commit/6a69cfb607bafe2bfe75818cc6290af2565a3198
Author: Angel Zhang <angel.zhang at amd.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
A mlir/include/mlir/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.h
M mlir/include/mlir/Conversion/Passes.h
M mlir/include/mlir/Conversion/Passes.td
M mlir/lib/Conversion/CMakeLists.txt
A mlir/lib/Conversion/ConvertToSPIRV/CMakeLists.txt
A mlir/lib/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.cpp
A mlir/test/Conversion/ConvertToSPIRV/arith.mlir
A mlir/test/Conversion/ConvertToSPIRV/combined.mlir
A mlir/test/Conversion/ConvertToSPIRV/index.mlir
A mlir/test/Conversion/ConvertToSPIRV/scf.mlir
A mlir/test/Conversion/ConvertToSPIRV/simple.mlir
A mlir/test/Conversion/ConvertToSPIRV/ub.mlir
A mlir/test/Conversion/ConvertToSPIRV/vector.mlir
Log Message:
-----------
[mlir][spirv] Add a generic `convert-to-spirv` pass (#95942)
This PR implements a MVP version of an MLIR lowering pipeline to SPIR-V.
The goal of adding this pipeline is to have a better test coverage of
SPIR-V compilation upstream, and enable writing simple kernels by hand.
The dialects supported in this version include `arith`, `vector` (only
1-D vectors with size 2,3,4,8 or 16), `scf`, `ub`, `index`, `func` and
`math`. New test cases for the pass are also included in this PR.
**Relevant links**
- [Open MLIR Meeting - YouTube
Video](https://www.youtube.com/watch?v=csWPOQfgLMo)
- [Discussion on LLVM
Forum](https://discourse.llvm.org/t/open-mlir-meeting-12-14-2023-discussion-on-improving-handling-of-unit-dimensions-in-the-vector-dialect/75683)
**Future plans**
- Add conversion patterns for other dialects, e.g. `gpu`, `tensor`, etc.
- Include vector transformation to unroll vectors to 1-D, and handle
those with unsupported sizes.
- Implement multiple-return. SPIR-V does not support multiple return
values since a `spirv.func` can only return zero or one values. It might
be possible to wrap the return values in a `spirv.struct`.
- Add a conversion for `scf.parallel`.
Commit: 35bfbb3b21e9874d03b730e8ce4eb98b1dcd2d28
https://github.com/llvm/llvm-project/commit/35bfbb3b21e9874d03b730e8ce4eb98b1dcd2d28
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/AST/QualTypeNames.cpp
Log Message:
-----------
[clang][AST] createNestedNameSpecifierForScopeOf - don't use dyn_cast_or_null on never null DC argument
Fixes static analysis warning about later dereferencing the DC variable which might have been null (assumed due to dyn_cast_or_null) - getRedeclContext shouldn't ever return a null value so safe to use dyn_cast instead.
Commit: f9fc6f6d7504e3c8eb6844a34a2ca988da9df21c
https://github.com/llvm/llvm-project/commit/f9fc6f6d7504e3c8eb6844a34a2ca988da9df21c
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP] Remove dead initialization noticed by static analyser. NFC.
Commit: 2615e69ec2b373a38ffd4459609147f4c1ebe955
https://github.com/llvm/llvm-project/commit/2615e69ec2b373a38ffd4459609147f4c1ebe955
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/IR/AutoUpgrade.cpp
Log Message:
-----------
[IR] AutoUpgrade.cpp - don't directly dereference pointers from dyn_cast
Static analysis was reporting that dyn_cast<> can return null on failure - use cast<> instead
Commit: 19470e72e4aadfe16d1b6b0e4df325d75dc7fd7c
https://github.com/llvm/llvm-project/commit/19470e72e4aadfe16d1b6b0e4df325d75dc7fd7c
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C99] Claim conformance to "more precise aliasing rules via effective type"
We don't have a document number to check our behavior against, but the
document title makes it clear that this is related to optimization
behavior, which doesn't require Clang to change.
Commit: 1eddf3519f2e692d60a43204d862ea00a92f48f4
https://github.com/llvm/llvm-project/commit/1eddf3519f2e692d60a43204d862ea00a92f48f4
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Port #95942 (#96334)
Commit: ecf2a53407f517a261ee296e1f922c647a13a503
https://github.com/llvm/llvm-project/commit/ecf2a53407f517a261ee296e1f922c647a13a503
Author: Angel Zhang <anzhouzhang913 at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
R mlir/include/mlir/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.h
M mlir/include/mlir/Conversion/Passes.h
M mlir/include/mlir/Conversion/Passes.td
M mlir/lib/Conversion/CMakeLists.txt
R mlir/lib/Conversion/ConvertToSPIRV/CMakeLists.txt
R mlir/lib/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.cpp
R mlir/test/Conversion/ConvertToSPIRV/arith.mlir
R mlir/test/Conversion/ConvertToSPIRV/combined.mlir
R mlir/test/Conversion/ConvertToSPIRV/index.mlir
R mlir/test/Conversion/ConvertToSPIRV/scf.mlir
R mlir/test/Conversion/ConvertToSPIRV/simple.mlir
R mlir/test/Conversion/ConvertToSPIRV/ub.mlir
R mlir/test/Conversion/ConvertToSPIRV/vector.mlir
Log Message:
-----------
Revert "[mlir][spirv] Add a generic `convert-to-spirv` pass" (#96332)
Reverts llvm/llvm-project#95942 due to link failures.
Commit: e23250ecb7e09170e584db60375100790f39fac9
https://github.com/llvm/llvm-project/commit/e23250ecb7e09170e584db60375100790f39fac9
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/include/clang/Basic/CodeGenOptions.h
M clang/include/clang/Basic/PointerAuthOptions.h
M clang/include/clang/Frontend/CompilerInvocation.h
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CGCall.h
M clang/lib/CodeGen/CGExpr.cpp
M clang/lib/CodeGen/CGExprConstant.cpp
M clang/lib/CodeGen/CGPointerAuth.cpp
A clang/lib/CodeGen/CGPointerAuthInfo.h
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/CodeGen/CodeGenModule.h
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Headers/ptrauth.h
A clang/test/CodeGen/ptrauth-function-attributes.c
A clang/test/CodeGen/ptrauth-function-init-fail.c
A clang/test/CodeGen/ptrauth-function-init.c
A clang/test/CodeGen/ptrauth-function-lvalue-cast.c
A clang/test/CodeGen/ptrauth-function.c
A clang/test/CodeGen/ptrauth-weak_import.c
A clang/test/CodeGenCXX/ptrauth.cpp
Log Message:
-----------
[clang] Implement function pointer signing and authenticated function calls (#93906)
The functions are currently always signed/authenticated with zero
discriminator.
Co-Authored-By: John McCall <rjmccall at apple.com>
Commit: 131bc0390dba1bc21fb8af8e5e8afa78a17d39b9
https://github.com/llvm/llvm-project/commit/131bc0390dba1bc21fb8af8e5e8afa78a17d39b9
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C99] Claim partial conformance to IEC 60559 support
We intend to support Annex F but there are edge cases we don't handle
properly, such as raising an "invalid" exception when converting some
floating-point values to integers.
This does not add any test coverage as full conformance would require
sufficiently extensive testing that we should consider getting a
third-party test suite such as the one from http://tybor.com/
Commit: f4cf15d225fdaf98c106a4adfae57dae509607ff
https://github.com/llvm/llvm-project/commit/f4cf15d225fdaf98c106a4adfae57dae509607ff
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/RegAllocFast.cpp
Log Message:
-----------
[RegAllocFast] Replace UsedInInstr with vector (#96323)
A SparseSet adds an avoidable layer of indirection and possibly looping
control flow. Avoid this overhead by using a vector to store
UsedInInstrs and PhysRegUses.
To avoid clearing the vector after every instruction, use a
monotonically increasing counter. The two maps are now merged and the
lowest bit indicates whether the use is relevant for the livethrough
handling code only.
Commit: e9af6eeb9118a708ce806ab29f2f72de937fba47
https://github.com/llvm/llvm-project/commit/e9af6eeb9118a708ce806ab29f2f72de937fba47
Author: Gabriel Baraldi <baraldigabriel at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
Log Message:
-----------
Enable building 16 bit floating point builtins in apple platforms if supported by the compiler (#84192)
Currently we will not build float16/bfloat16 builtins on apple
platforms, LLVM will include calls to those builtins and fail to link.
I copied the test code we perform for non apple platforms because oddly
we branch on it being apple for building builtins
Commit: f0b93096690ebc98017c05b58202fa5a3a84d7ea
https://github.com/llvm/llvm-project/commit/f0b93096690ebc98017c05b58202fa5a3a84d7ea
Author: RoseZhang03 <rosezhang at google.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M libc/spec/linux.td
Log Message:
-----------
[libc] Added const modifier to SigSetPtrType (#96252)
Function header files for epoll_pwait and epoll_pwait2 have const
modifier on
SigSetPtrType in function signature, but the linux.td file does not
reflect that.
.td file located in libc/spec/linux.td
epoll functions located in libc/src/sys/epoll
Commit: 918ef312d1fda56ff783f3974b5a193542e5497c
https://github.com/llvm/llvm-project/commit/918ef312d1fda56ff783f3974b5a193542e5497c
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C99] Claim full conformance to C99
We now believe we know the status of all the proposals that went into
C99. There are three entries marked Partial:
N448 restricted pointers
------------------------
Clang fully conforms to the standard requirements, but LLVM support
could be improved to support more than just restricted pointers used
as function parameters.
N693 complex and imaginary support in <complex.h>
-------------------------------------------------
Clang supports _Complex but not _Imaginary. Clang does not attempt to
implement Annex G, so a lack of _Imaginary is not necessary for
conformance to C99. It's also worth noting that C2y is anticipated to
remove support for _Imaginary (see WG14 N3274 which was adopted at the
June 2024 meeting).
However, support for _Complex requires runtime support and compiler-rt
is not supported on all targets (notably, Windows).
(Doc # unknown) IEC 60559 support
---------------------------------
Clang largely conforms to the requirements in Annex F, but there are
edge cases that are incorrect. However, Clang does not predefine the
__STDC_IEC_559__ macro and so we don't claim to conform to Annex F yet.
Because all three of these partial entries are technically conforming,
it seems reasonable to claim full conformance for C99.
Commit: af478c82a5f6e42ff5d1e67dcefbf9dd0fee501c
https://github.com/llvm/llvm-project/commit/af478c82a5f6e42ff5d1e67dcefbf9dd0fee501c
Author: Michael Kruse <llvm-project at meinersbur.de>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/runtimes/CMakeLists.txt
Log Message:
-----------
[offload][runtimes] Forward user-provided system configuration (#96303)
In order for LLVM_ENABLE_RUNTIMES projects to find their requirements,
they need access to user-provided configuration options such as
`CMAKE_PREFIX_PATH`. Forward a selection of configuration options such
that runtimes uses the same system introspection as LLVM and
LLVM_ENABLE_PROJECTS do.
The concrete symptom this is solving is that the path to CUDA is
provided using `cmake -DCUDA_TOOLKIT_ROOT_DIR=/opt/cuda` or `CUDA_PATH`,
but is ignored by offload. Handling for this case already existed for
libc, but only when it was enabled and only `CUDAToolkit_ROOT` (The
former is for `find_package(CUDA)`, the latter for
`find_package(CUDAToolkit)`, `CUDA_PATH` is used by
`find_package(CUDAToolkit)` and `enable_language(CUDA)`).
Commit: 8abb5ae1c250a488cef6e9b05074f95a722be9a9
https://github.com/llvm/llvm-project/commit/8abb5ae1c250a488cef6e9b05074f95a722be9a9
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
Revert "[bazel] Port #95942" (#96340)
Original change was reverted
Reverts llvm/llvm-project#96334
Commit: f82a595b7fbec408a2a22f4d9e45f28664d2ab07
https://github.com/llvm/llvm-project/commit/f82a595b7fbec408a2a22f4d9e45f28664d2ab07
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel
Log Message:
-----------
[bazel] Fix mpfr_wrapper build (#96341)
Commit: fbf0ca64182baa5fac73fa012ed1fb6805fa3581
https://github.com/llvm/llvm-project/commit/fbf0ca64182baa5fac73fa012ed1fb6805fa3581
Author: Mariusz Sikora <mariusz.sikora at amd.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/FLATInstructions.td
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/SIRegisterInfo.td
M llvm/test/MC/AMDGPU/gfx12_asm_vflat.s
M llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vflat.txt
Log Message:
-----------
[AMDGPU][GFX12] Add support for new block ls instructions (#96273)
Add MC layer support for new instructions:
GLOBAL_LOAD_BLOCK
GLOBAL_STORE_BLOCK
SCRATCH_LOAD_BLOCK
SCRATCH_STORE_BLOCK
Co-authored-by: Piotr Sobczak <piotr.sobczak at amd.com>
Commit: f333fc5c9732a5b64ae0bca09ade6f0036e80c40
https://github.com/llvm/llvm-project/commit/f333fc5c9732a5b64ae0bca09ade6f0036e80c40
Author: Rose Zhang <rosezhang at google.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
A libc/spec/stdc_assert.yaml
A libc/spec/stdc_ctype.yaml
A libc/spec/stdc_string.yaml
Log Message:
-----------
combined string and time functions
Commit: c8ba4119acffa518355acc751233849b3e9e0712
https://github.com/llvm/llvm-project/commit/c8ba4119acffa518355acc751233849b3e9e0712
Author: Nick Desaulniers <ndesaulniers at google.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
R libc/spec/stdc_assert.yaml
R libc/spec/stdc_ctype.yaml
R libc/spec/stdc_string.yaml
Log Message:
-----------
Revert "combined string and time functions"
This reverts commit f333fc5c9732a5b64ae0bca09ade6f0036e80c40.
Accidentally pushed, sorry!
Commit: bf3e3289d67cb0fe136b0660cac39c24c9f65069
https://github.com/llvm/llvm-project/commit/bf3e3289d67cb0fe136b0660cac39c24c9f65069
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M lldb/include/lldb/Target/Platform.h
M lldb/include/lldb/Target/RemoteAwarePlatform.h
M lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp
M lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.h
M lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.cpp
M lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.h
M lldb/source/Target/Platform.cpp
M lldb/source/Target/RemoteAwarePlatform.cpp
M lldb/test/API/assert_messages_test/TestAssertMessages.py
M lldb/test/API/tools/lldb-dap/launch/TestDAP_launch.py
M lldb/unittests/Target/RemoteAwarePlatformTest.cpp
Log Message:
-----------
[lldb] Unify Platform::ResolveExecutable (#96256)
The Platform class currently has two functions to resolve an executable:
`ResolveExecutable` and `ResolveRemoteExecutable`. The former strictly
deals with local files while the latter can handle potentially remote
files. I couldn't figure out why the distinction matters, at the latter
is a super-set of the former.
To make things even more confusion, we had a similar but not identical
implementation in RemoteAwarePlatform where its implementation of
`ResolveExecutable` could handle remote files. To top it all off, we had
copy-pasted implementation, dead code included in
`PlatformAppleSimulator` and `PlatformRemoteDarwinDevice`.
I went ahead and unified all the different implementation on the
original `ResolveRemoteExecutable` implementation. As far as I can tell,
it should work for every other platform, and the test suite (on macOS)
seems to agree with me, except for a small wording change.
Commit: 39048b69b85e530b9b8a4226d9043a0bd340fe8a
https://github.com/llvm/llvm-project/commit/39048b69b85e530b9b8a4226d9043a0bd340fe8a
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/include/clang/Basic/Attr.td
M clang/utils/TableGen/ClangAttrEmitter.cpp
M llvm/include/llvm/Frontend/HLSL/HLSLResource.h
M llvm/include/llvm/Support/DXILABI.h
Log Message:
-----------
[DirectX] Move ResourceClass enum into DXILABI. NFC (#96335)
The resource class isn't HLSL specific, and we'll need to use it in the
DirectX backend as well.
I've also removed the "invalid" enum value since it isn't needed or
used, which necessitates fixing up the clang attr emitter to handle
external enum types that are fully covered by the attribute.
Commit: f1f3c34b4770437bdb022737918603b4bbeb523e
https://github.com/llvm/llvm-project/commit/f1f3c34b4770437bdb022737918603b4bbeb523e
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/lib/Transforms/Vectorize/VPlanValue.h
M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
R llvm/test/Transforms/LoopVectorize/WebAssembly/induction-branch-cost.ll
R llvm/test/Transforms/LoopVectorize/WebAssembly/lit.local.cfg
Log Message:
-----------
Revert "Recommit "[VPlan] First step towards VPlan cost modeling. (#92555)""
This reverts commit 242cc200ccb24e22eaf54aed7b0b0c84cfc54c0b and
eea150c84053035163f307b46549a2997a343ce9, as it is causing a build bot
failure and there have been a number of crashes reported at
https://github.com/llvm/llvm-project/pull/92555
Commit: 5ece35df8586d0cb8c104a9f44eaae771de025f5
https://github.com/llvm/llvm-project/commit/5ece35df8586d0cb8c104a9f44eaae771de025f5
Author: Haopeng Liu <153236845+haopliu at users.noreply.github.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/include/llvm/AsmParser/LLParser.h
M llvm/include/llvm/Bitcode/LLVMBitCodes.h
M llvm/include/llvm/IR/Attributes.h
M llvm/include/llvm/IR/Attributes.td
A llvm/include/llvm/IR/ConstantRangeList.h
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/IR/AttributeImpl.h
M llvm/lib/IR/Attributes.cpp
M llvm/lib/IR/CMakeLists.txt
A llvm/lib/IR/ConstantRangeList.cpp
M llvm/lib/IR/LLVMContextImpl.cpp
M llvm/lib/IR/LLVMContextImpl.h
M llvm/lib/IR/Verifier.cpp
M llvm/lib/Transforms/Utils/CodeExtractor.cpp
A llvm/test/Assembler/initializes-attribute-invalid.ll
M llvm/test/Bitcode/attributes.ll
A llvm/test/Verifier/initializes-attr.ll
M llvm/unittests/IR/CMakeLists.txt
A llvm/unittests/IR/ConstantRangeListTest.cpp
M llvm/utils/TableGen/Attributes.cpp
Log Message:
-----------
Add the 'initializes' attribute langref and support (#84803)
We propose adding a new LLVM attribute,
`initializes((Lo1,Hi1),(Lo2,Hi2),...)`, which expresses the notion of
memory space (i.e., intervals, in bytes) that the argument pointing to
is initialized in the function.
Will commit the attribute inferring in the follow-up PRs.
https://discourse.llvm.org/t/rfc-llvm-new-initialized-parameter-attribute-for-improved-interprocedural-dse/77337
Commit: b284ced06969a540e53bcf4103f22fa9be8f20b9
https://github.com/llvm/llvm-project/commit/b284ced06969a540e53bcf4103f22fa9be8f20b9
Author: Kelvin Li <kkwli at users.noreply.github.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M flang/test/Preprocessing/directive-contin-with-pp.F90
Log Message:
-----------
[flang] Use %flang_fc1 to avoid options being inserted between %flang and -fc1 (NFC) (#96320)
Commit: ad393151d30d573b14c0d5d6009deb971c2f3f85
https://github.com/llvm/llvm-project/commit/ad393151d30d573b14c0d5d6009deb971c2f3f85
Author: Aart Bik <ajcbik at google.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
Log Message:
-----------
[mlir][sparse] added some clarification on sparse tensors ABI (#96331)
Commit: 9e6ea387c877a50394aca4b02f18a05e88cf2690
https://github.com/llvm/llvm-project/commit/9e6ea387c877a50394aca4b02f18a05e88cf2690
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
M lldb/test/API/lang/objcxx/objc-from-cpp-frames-without-debuginfo/TestObjCFromCppFramesWithoutDebugInfo.py
M lldb/test/API/macosx/early-process-launch/TestEarlyProcessLaunch.py
A lldb/test/Shell/Expr/TestObjCInCXXContext.test
Log Message:
-----------
Reland "[lldb][ObjC] Don't query objective-c runtime for decls in C++ contexts"
This relands https://github.com/llvm/llvm-project/pull/95963. It had to
be reverted because the `TestEarlyProcessLaunch.py` test was failing
on the incremental macOS bots. The test failed because it was relying on
expression log output from the ObjC introspection routines (but was
the expression was called from a C++ context). The relanded patch
simply ensures that the test runs the expressions as `ObjC` expressions.
When LLDB isn't able to find a `clang::Decl` in response
to a `FindExternalVisibleDeclsByName`, it will fall-back
to looking into the Objective-C runtime for that decl. This
ends up doing a lot of work which isn't necessary when we're
debugging a C++ program. This patch makes the ObjC lookup
conditional on the language that the ExpressionParser deduced
(which can be explicitly set using the `expr --language` option
or is set implicitly if we're stopped in an ObjC frame or a
C++ frame without debug-info).
rdar://96236519
Commit: 513644b5a3cb9ce3440731796b52ccab7c18278e
https://github.com/llvm/llvm-project/commit/513644b5a3cb9ce3440731796b52ccab7c18278e
Author: Fabio D'Urso <fdurso at google.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M compiler-rt/lib/scudo/standalone/tests/memtag_test.cpp
M compiler-rt/lib/scudo/standalone/tests/scudo_unit_test.h
M compiler-rt/lib/scudo/standalone/tests/strings_test.cpp
M compiler-rt/lib/scudo/standalone/tests/vector_test.cpp
Log Message:
-----------
[scudo] Add TEST_SKIP macro to skip the current test (#96192)
Commit: 60fa7c7690d65f23636c5ca51e0fbfc54ed09370
https://github.com/llvm/llvm-project/commit/60fa7c7690d65f23636c5ca51e0fbfc54ed09370
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/Driver/ToolChains/AMDGPU.cpp
M clang/lib/Driver/ToolChains/AMDGPU.h
M clang/test/Driver/rocm-device-libs.cl
Log Message:
-----------
Enable ASAN in amdgpu toolchain for OpenCL (#96262)
Commit: bf824d98c06099c50413cd6c957a75b894a8ac26
https://github.com/llvm/llvm-project/commit/bf824d98c06099c50413cd6c957a75b894a8ac26
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
R clang-tools-extra/test/clang-doc/single-source-html.cpp
Log Message:
-----------
Revert "[clang-doc] Add --asset option to clang-doc" (#96354)
Reverts llvm/llvm-project#94717
This breaks on some buildbots:
http://45.33.8.238/linux/141118/step_7.txt
Commit: 7b57a1b4018db0c987fb5a67effbef4d7559c4f1
https://github.com/llvm/llvm-project/commit/7b57a1b4018db0c987fb5a67effbef4d7559c4f1
Author: Mohammed Keyvanzadeh <mohammadkeyvanzade94 at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Analysis/CallGraphSCCPass.cpp
M llvm/lib/Analysis/CallPrinter.cpp
M llvm/lib/Analysis/CaptureTracking.cpp
M llvm/lib/Analysis/CycleAnalysis.cpp
M llvm/lib/Analysis/FunctionPropertiesAnalysis.cpp
M llvm/lib/Analysis/ImportedFunctionsInliningStatistics.cpp
M llvm/lib/Analysis/InlineAdvisor.cpp
M llvm/lib/Analysis/LazyValueInfo.cpp
M llvm/lib/Analysis/LoopAnalysisManager.cpp
M llvm/lib/Analysis/LoopPass.cpp
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/lib/Analysis/ScalarEvolutionDivision.cpp
Log Message:
-----------
[llvm] format and terminate namespaces with closing comment (#94917)
Namespaces are terminated with a closing comment in the majority of the
codebase so do the same here for consistency. Also format code within
some namespaces to make clang-format happy.
Commit: 32d05db6e9a5650f87eedb5fe328fa9e1fcec76f
https://github.com/llvm/llvm-project/commit/32d05db6e9a5650f87eedb5fe328fa9e1fcec76f
Author: Nick Desaulniers (paternity leave) <nickdesaulniers at users.noreply.github.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M libc/startup/linux/CMakeLists.txt
Log Message:
-----------
[libc][startup] set --target= for linker when cross compiling (#96342)
Otherwise the startup objects will fail to link since they were cross compiled,
but the linker is not informed of the intent to cross compile, which results in
linker errors when the host architecture does not match the target
architecture.
Commit: e52016a2361a35773e8c1ad969b4b33a2b30d018
https://github.com/llvm/llvm-project/commit/e52016a2361a35773e8c1ad969b4b33a2b30d018
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
Log Message:
-----------
[Clang] Replace `emitXXXBuiltin` with a unified interface (#96313)
Commit: 09bc1e825068f314db71ee7eb32d9f93c5ac87a0
https://github.com/llvm/llvm-project/commit/09bc1e825068f314db71ee7eb32d9f93c5ac87a0
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M libc/src/stdlib/CMakeLists.txt
M libc/test/src/__support/CMakeLists.txt
Log Message:
-----------
[libc][stdlib] Only use freelist_malloc for baremetal targets. (#96355)
Commit: 31bbaf40afd9f8a230395ff45c9b79ff272fbc77
https://github.com/llvm/llvm-project/commit/31bbaf40afd9f8a230395ff45c9b79ff272fbc77
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/IR/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/IR/BUILD.gn
Log Message:
-----------
[gn build] Port 5ece35df8586
Commit: 3984e58d0d467d93b39b03c34d36e40d14c9d7ba
https://github.com/llvm/llvm-project/commit/3984e58d0d467d93b39b03c34d36e40d14c9d7ba
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/CodeGen/BUILD.gn
Log Message:
-----------
[gn build] Port 7c814c13d0df
Commit: df54be40af9fd1bf159459304c40f3a93ab6748a
https://github.com/llvm/llvm-project/commit/df54be40af9fd1bf159459304c40f3a93ab6748a
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/source/Utility/BUILD.gn
Log Message:
-----------
[gn build] Port b8f0ca09b667
Commit: 5d6d2fc0802e1a6fb9727d82571273c337c23629
https://github.com/llvm/llvm-project/commit/5d6d2fc0802e1a6fb9727d82571273c337c23629
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/BUFInstructions.td
Log Message:
-----------
AMDGPU: Fix overriding SubtargetPredicate in MUBUF_Real_gfx90a (#96351)
Commit: b9c7d60a2f2c5b26f4a6543dd9472959a84c6d48
https://github.com/llvm/llvm-project/commit/b9c7d60a2f2c5b26f4a6543dd9472959a84c6d48
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/BUFInstructions.td
Log Message:
-----------
AMDGPU: Start fixing inconsistencies in usage of SubtargetPredicate (#96337)
SubtargetPredicate should be the primary "does this instruction exist"
predicate, with OtherPredicates used for other side pieces of information.
Changes like 856d1c4410 were backwards. The problematic usage is how
GFX12 is using HasRestrictedOffset. The multiclasses for buffers
should probably be split up instead of hiding OtherPredicates inside
the buffer atomic multiclasses. The two cases are mutually exclusive
and really need a negated predicate for the not-gfx12 case.
It's pretty terrible we have to manage this in the first place.
TableGen should be able to figure out the required predicates
from any instructions that appear in the pattern output.
Commit: 781d5cf32a2512b8010831df750daa8003d6bf5a
https://github.com/llvm/llvm-project/commit/781d5cf32a2512b8010831df750daa8003d6bf5a
Author: Nick Desaulniers (paternity leave) <nickdesaulniers at users.noreply.github.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M libc/startup/linux/CMakeLists.txt
Log Message:
-----------
[libc][startup] check that we're cross compiling and using LLD (#96357)
We only need to set `--target=` for LLD when cross compiling. This should fix
the host build using BFD or targeting the host.
Fixes: #96342
Commit: 9b78ddf3b2abfb3e2063e3dad2a326f5eabc1618
https://github.com/llvm/llvm-project/commit/9b78ddf3b2abfb3e2063e3dad2a326f5eabc1618
Author: Jeff Niu <jeff at modular.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/include/mlir/Support/ThreadLocalCache.h
Log Message:
-----------
[mlir] Optimize ThreadLocalCache by removing atomic bottleneck (attempt #3) (#93315)
The ThreadLocalCache implementation is used by the MLIRContext (among
other things) to try to manage thread contention in the StorageUniquers.
There is a bunch of fancy shared pointer/weak pointer setups that
basically keeps everything alive across threads at the right time, but a
huge bottleneck is the `weak_ptr::lock` call inside the `::get` method.
This is because the `lock` method has to hit the atomic refcount several
times, and this is bottlenecking performance across many threads.
However, all this is doing is checking whether the storage is
initialized. Importantly, when the `PerThreadInstance` goes out of
scope, it does not remove all of its associated entries from the
thread-local hash map (it contains dangling `PerThreadInstance *` keys).
The `weak_ptr` also allows the thread local cache to synchronize with
the `PerThreadInstance`'s destruction:
1. if `ThreadLocalCache` destructs, the `weak_ptr`s that reference its
contained values are immediately invalidated
2. if `CacheType` destructs within a thread, any entries still live are
removed from the owning `PerThreadInstance`, and it locks the `weak_ptr`
first to ensure it's kept alive long enough for the removal.
This PR changes the TLC entries to contain a `shared_ptr<ValueT*>` and a
`weak_ptr<PerInstanceState>`. It gives the `PerInstanceState` entries a
`weak_ptr<ValueT*>` on top of the `unique_ptr<ValueT>`. This enables
`ThreadLocalCache::get` to check if the value is initialized by
dereferencing the `shared_ptr<ValueT*>` and check if the contained
pointer is null. When `PerInstanceState` destructs, the values inside
the TLC are written to nullptr. The TLC uses the
`weak_ptr<PerInstanceState>` to satisfy (2).
(1) is no longer the case. When `ThreadLocalCache` begins destruction,
the `weak_ptr<PerInstanceState>` are invalidated, but not the
`shared_ptr<ValueT*>`. This is OK: because the overall object is being
destroyed, `::get` cannot get called and because the
`shared_ptr<PerInstanceState>` finishes destruction before freeing the
pointer, it cannot get reallocated to another `ThreadLocalCache` during
destruction. I.e. the values inside the TLC associated with a
`PerInstanceState` cannot be read during destruction. The most important
thing is to make sure destruction of the TLC doesn't race with the
destructor of `PerInstanceState`. Because `PerInstanceState` carries
`weak_ptr` references into the TLC, we guarantee to not have any
use-after-frees.
Commit: 73a2232720898acfee26588520f795b2d97d0000
https://github.com/llvm/llvm-project/commit/73a2232720898acfee26588520f795b2d97d0000
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/add.v2i16.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/fshl.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/fshr.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.intersect_ray.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/sub.v2i16.ll
M llvm/test/CodeGen/AMDGPU/bitreverse-inline-immediates.ll
M llvm/test/CodeGen/AMDGPU/fsqrt.f32.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_i64.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.intersect_ray.ll
M llvm/test/CodeGen/AMDGPU/med3-knownbits.ll
M llvm/test/CodeGen/AMDGPU/permute_i8.ll
M llvm/test/CodeGen/AMDGPU/shrink-add-sub-constant.ll
M llvm/test/CodeGen/AMDGPU/shrink-insts-scalar-bit-ops.mir
M llvm/test/CodeGen/AMDGPU/udiv64.ll
M llvm/test/CodeGen/AMDGPU/urem64.ll
Log Message:
-----------
AMDGPU: Materialize bitwise not of inline immediates (#95960)
If we have a bitwise negated inline immediate, we can materialize
it with s_not_b32/v_not_b32. This mirrors the current bitreverse
handling.
As a side effect, we also now handle the bitreversed FP immediate
case.
One test shows some VOPD regressions on gfx11 which should
probably be fixed. Previously the 2 v_mov_b32 could be packed,
but now the mismatched opcode + mov can't. This problem already
already existed for the bfrev case, it just happens more often now.
Commit: 435635652fd226fa292abcff6a10d3df9dbd74e3
https://github.com/llvm/llvm-project/commit/435635652fd226fa292abcff6a10d3df9dbd74e3
Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M flang/docs/Intrinsics.md
M flang/runtime/execute.cpp
M flang/unittests/Runtime/CommandTest.cpp
Log Message:
-----------
Revert "[flang] Fix execute_command_line cmdstat is not set when error occurs" (#96365)
Reverts llvm/llvm-project#93023
Reverting due to buildbot failure.
https://lab.llvm.org/buildbot/#/builders/41/builds/227
test-suite ::
Fortran/gfortran/regression/gfortran-regression-execute-regression__execute_command_line_3_f90
Commit: 7d2c2af0453c28d0902668523099a1f46a0bc348
https://github.com/llvm/llvm-project/commit/7d2c2af0453c28d0902668523099a1f46a0bc348
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
A lld/test/wasm/Inputs/signature-mismatch-debug-info-a.s
A lld/test/wasm/Inputs/signature-mismatch-debug-info-b.s
A lld/test/wasm/Inputs/signature-mismatch-debug-info-main.s
A lld/test/wasm/signature-mismatch-debug-info.test
M lld/wasm/InputChunks.h
Log Message:
-----------
[lld][WebAssembly] Return 0 for synthetic function offsets (#96134)
When two or more functions' signatures differ, one of them is selected
and for other signatures `unreachable` stubs are generated:
https://github.com/llvm/llvm-project/blob/57778ec36c9c7e96b76a167f19dccbe00d49c9d4/lld/wasm/SymbolTable.cpp#L975
https://github.com/llvm/llvm-project/blob/57778ec36c9c7e96b76a167f19dccbe00d49c9d4/lld/wasm/SymbolTable.cpp#L852-L870
And when these `SyntheticFunction`s are generated, this constructor is
used,
https://github.com/llvm/llvm-project/blob/57778ec36c9c7e96b76a167f19dccbe00d49c9d4/lld/wasm/InputChunks.h#L266-L269
which does not set its `function` field:
https://github.com/llvm/llvm-project/blob/57778ec36c9c7e96b76a167f19dccbe00d49c9d4/lld/wasm/InputChunks.h#L304
As a result, the `function` field contains a garbage value for these
stub functions.
`InputFunction::getFunctionCodeOffset()` is called when relocations are
resolved for `.debug_info` section to get functions' PC locations. But
because these stub functions don't have their `function` field set, this
function segfaults:
https://github.com/llvm/llvm-project/blob/57778ec36c9c7e96b76a167f19dccbe00d49c9d4/lld/wasm/InputChunks.h#L282
This bug seems to be triggered when these conditions are met:
- There is a signature mismatch warning with multiple different
definitions (one definition with other declarations is not sufficient)
with weak linkage with the same name
- The 'stub' function containing unreachable has a callsite, meaning it
isn't DCE'd
- .debug_info section is generated (i.e., DWARF is used)
This PR initializes the field with `nullptr`, and in
`InputFunction::getFunctionCodeOffset`, checks if `function` is
`nullptr`, and if so, just returns 0. This function is called only for
resolving relocations in the `.debug_info` section, and addresses of
these stub functions, which are not the functions users wrote in the
first place, are not really meaningful anyway.
Commit: b515d9ea1e4365f156dad06a91e7b0f18b1b67c7
https://github.com/llvm/llvm-project/commit/b515d9ea1e4365f156dad06a91e7b0f18b1b67c7
Author: Tulio Magno Quites Machado Filho <tuliom at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M compiler-rt/lib/hwasan/CMakeLists.txt
Log Message:
-----------
[hwasan][aarch64] Fix missing DT_AARCH64_BTI_PLT flag (#95796)
When building hwasan on aarch64, the DT_AARCH64_BTI_PLT flag is missing
from libclang_rt.hwasan.so because some object files without
DT_AARCH64_BTI_PLT are linked in the final DSO.
These files are specific to riscv64 and x86_64, ending up with no
aarch64 code in them.
Avoid building and linking architecture-specific files unless the
architecture is listed in HWASAN_SUPPORTED_ARCH.
Commit: 91db7add6d72d411a50c1d7265e7d115d6e4a882
https://github.com/llvm/llvm-project/commit/91db7add6d72d411a50c1d7265e7d115d6e4a882
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn
Log Message:
-----------
[gn build] Port b515d9ea1e43
Commit: a0e1b4a2444181287b6434152d9361dd81049e73
https://github.com/llvm/llvm-project/commit/a0e1b4a2444181287b6434152d9361dd81049e73
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
M llvm/test/Instrumentation/InstrProfiling/mcdc.ll
Log Message:
-----------
[MC/DC][Coverage] Split out Read-modfy-Write to rmw_or(ptr,i8) (#96040)
`rmw_or` is defined as "private alwaysinline". At the moment, it has
just only simple "Read, Or, and Write", which is just same as the
current implementation.
Commit: ba2f4964e3c013dfac4f5eac0be652679b2faec3
https://github.com/llvm/llvm-project/commit/ba2f4964e3c013dfac4f5eac0be652679b2faec3
Author: Igor Kudrin <ikudrin at accesssoftek.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/test/MC/AArch64/ELF_ARM64_large-relocations.s
Log Message:
-----------
[MC][AArch64][NFC] Re-enable a test (#96344)
Part of the test did not run due to an incorrect prefix.
The test was added in [D27629](https://reviews.llvm.org/D27629).
Commit: a41a46c665ffb50f129daadc8c7b081ddf0b1e37
https://github.com/llvm/llvm-project/commit/a41a46c665ffb50f129daadc8c7b081ddf0b1e37
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachineDominators.h
M llvm/include/llvm/Passes/MachinePassRegistry.def
M llvm/lib/CodeGen/MachineDominators.cpp
M llvm/lib/Passes/PassBuilder.cpp
Log Message:
-----------
[CodeGen][NewPM] Port machine dominator tree analysis to new pass manager (#95879)
- Add `MachineDominatorTreeAnalysis`
- Add `MachineDominatorTreePrinterPass` There is no test for this
analysis in codebase.
Also, the pass name is renamed to `machine-dom-tree` instead of
`machinedomtree`.
Commit: 38458144bf74417aa36bdd468ce3b3d482cdaf99
https://github.com/llvm/llvm-project/commit/38458144bf74417aa36bdd468ce3b3d482cdaf99
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/riscv/entrypoints.txt
M libc/src/stdlib/CMakeLists.txt
Log Message:
-----------
[libc][stdlib] Fix skipped libc.src.stdlib.freelist_malloc target for baremetal. (#96372)
Downstream build issue reported:
https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64/b8744479865106393873/overview
Commit: d69050d614cc3348fb639f4a1862e8b9a9ad9885
https://github.com/llvm/llvm-project/commit/d69050d614cc3348fb639f4a1862e8b9a9ad9885
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Annotate r_paren before braced list as TT_CastRParen (#96271)
Fixes #96096.
Commit: c2735d2d5a66e42f004323c715bdefd5ef09882a
https://github.com/llvm/llvm-project/commit/c2735d2d5a66e42f004323c715bdefd5ef09882a
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M libc/src/stdlib/CMakeLists.txt
Log Message:
-----------
[libc][stdlib] Bring all GPU's alloc/free entrypoints under the same conditional. (#96373)
Commit: 905e4ec747f917bb519a8229eb2dbe43743b1b3c
https://github.com/llvm/llvm-project/commit/905e4ec747f917bb519a8229eb2dbe43743b1b3c
Author: Poseydon42 <vvmposeydon at gmail.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
A llvm/test/Transforms/InstCombine/scmp.ll
A llvm/test/Transforms/InstCombine/ucmp.ll
Log Message:
-----------
[InstCombine] Implement folds of icmp of UCMP/SCMP call and a constant (#96118)
This patch handles various cases where an operation of the kind `icmp
(ucmp/scmp x, y), constant` folds to `icmp x, y`. Another patch with
cases where this operation folds to a constant (i.e. dumb cases like
`icmp eq (cmp x, y), 4` should be published in a couple of days.
I wasn't sure what negative tests should be added here, if any are
necessary at all. I'd love to hear your suggestions.
Proofs (ucmp): https://alive2.llvm.org/ce/z/qQ7ihz
Proofs (scmp): https://alive2.llvm.org/ce/z/cipKEn
---------
Co-authored-by: Nikita Popov <github at npopov.com>
Commit: c5f5238a4aa385d4ae4ec1b509bd50e0a43b81ae
https://github.com/llvm/llvm-project/commit/c5f5238a4aa385d4ae4ec1b509bd50e0a43b81ae
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/unittests/Target/SPIRV/SPIRVConvergenceRegionAnalysisTests.cpp
Log Message:
-----------
[SPIRV] #include "llvm/IR/PassInstrumentation.h"
Commit: 9486c35ecac59a451aaa923f47087e834f478dfb
https://github.com/llvm/llvm-project/commit/9486c35ecac59a451aaa923f47087e834f478dfb
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
Log Message:
-----------
[ARM] Simplify ElfMappingSymbolInfo. NFC
Commit: 87424778ef554e3d50a6b15f7a9c8b0d35368031
https://github.com/llvm/llvm-project/commit/87424778ef554e3d50a6b15f7a9c8b0d35368031
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCFragment.h
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/MC/MCSection.cpp
M llvm/lib/MC/MCSymbol.cpp
M llvm/lib/MC/MCWinCOFFStreamer.cpp
Log Message:
-----------
[MC] Remove the Parent parameter from MCFragment ctor callers. NFC
Commit: 9b44cfbdbf694e29d80bea688f3ecbfd1d764bfd
https://github.com/llvm/llvm-project/commit/9b44cfbdbf694e29d80bea688f3ecbfd1d764bfd
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCFragment.h
M llvm/lib/MC/MCFragment.cpp
M llvm/lib/MC/MCWinCOFFStreamer.cpp
Log Message:
-----------
[MC] Remove unused section parameters from MCFragment constructors
Commit: 82f9b0fbda81232d1294aafa2611a84bba082da6
https://github.com/llvm/llvm-project/commit/82f9b0fbda81232d1294aafa2611a84bba082da6
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCFragment.h
M llvm/lib/MC/MCFragment.cpp
Log Message:
-----------
[MC] Remove Parent initializer from MCFragment ctor
Commit: bfd263a34df5d3916eb8425bb070618324acabfa
https://github.com/llvm/llvm-project/commit/bfd263a34df5d3916eb8425bb070618324acabfa
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M lldb/include/lldb/Expression/ExpressionParser.h
M lldb/source/Expression/CMakeLists.txt
A lldb/source/Expression/ExpressionParser.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h
M lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
Log Message:
-----------
[lldb][ExpressionParser][NFCI] Add new DoPrepareForExecution interface to be implemented by language plugins (#96290)
This patch adds a new `DoPrepareForExecution` API, which can be
implemented by the Clang and Swift language plugins. This also moves
`RunStaticInitializers` into `ExpressionParser::PrepareForExecution`, so
we call it consistently between language plugins.
This *should* be mostly NFC (the static initializers will still only run
after we finished parsing). We've been living on this patch downstream
for sometime now.
rdar://130267058
Commit: 4684d0c0073669c1833be7bb127a149b1f7a5e65
https://github.com/llvm/llvm-project/commit/4684d0c0073669c1833be7bb127a149b1f7a5e65
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCELFStreamer.h
M llvm/include/llvm/MC/MCObjectStreamer.h
M llvm/include/llvm/MC/MCWasmStreamer.h
M llvm/lib/MC/MCELFStreamer.cpp
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/MC/MCWasmStreamer.cpp
M llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
Log Message:
-----------
[MC] emitLabelAtPos: change parameter to MCDataFragment &. NFC
emitLabelAtPos is only called by ARMELFStreamer with MCDataFragment.
Commit: 369e24aa3852baccffe61c69ce891dc47fd5e176
https://github.com/llvm/llvm-project/commit/369e24aa3852baccffe61c69ce891dc47fd5e176
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/MC/MCWinCOFFStreamer.cpp
Log Message:
-----------
[MC] Fix emitCOFFSafeSEH after 9b44cfbdbf694e29d80bea688f3ecbfd1d764bfd
Tested by lld/test/COFF/safeseh*.s but not by llvm/test/**
Commit: c9c0c465a7bd0ce922da63410d79d04c663c6ffe
https://github.com/llvm/llvm-project/commit/c9c0c465a7bd0ce922da63410d79d04c663c6ffe
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/source/Expression/BUILD.gn
Log Message:
-----------
[gn build] Port bfd263a34df5
Commit: a89669cb6ba7d0fbda0785650f03390b55a7650f
https://github.com/llvm/llvm-project/commit/a89669cb6ba7d0fbda0785650f03390b55a7650f
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86MCInstLower.cpp
Log Message:
-----------
[X86][MC] Drop optional from LowerMachineOperand (#96338)
This caused the MCOperand to be returned in memory. An MCOperand is only
16 bytes and therefore can be returned in registers on x86-64 and
AArch64 (and others).
Commit: a091bfe71fdde4358dbfc73926f875cb05121c00
https://github.com/llvm/llvm-project/commit/a091bfe71fdde4358dbfc73926f875cb05121c00
Author: Zhikai Zeng <backlight.zzk at gmail.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaTemplateInstantiate.cpp
M clang/test/CXX/expr/expr.prim/expr.prim.req/compound-requirement.cpp
Log Message:
-----------
[Clang] fix access checking inside return-type-requirement of compound requirements (#95651)
fixes https://github.com/llvm/llvm-project/issues/93788 .
Commit: 75006466296ed4b0f845cbbec4bf77c21de43b40
https://github.com/llvm/llvm-project/commit/75006466296ed4b0f845cbbec4bf77c21de43b40
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCAsmLayout.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/MCObjectStreamer.cpp
M llvm/lib/MC/MCSection.cpp
M llvm/test/MC/MachO/pending-labels.s
M llvm/tools/dsymutil/MachOUtils.cpp
Log Message:
-----------
[MC] Remove pending labels
This commit removes the complexity introduced by pending labels in
https://reviews.llvm.org/D5915 by using a simpler approach. D5915 aimed
to ensure padding placement before `.Ltmp0` for the following code, but
at the cost of expensive per-instruction `flushPendingLabels`.
```
// similar to llvm/test/MC/X86/AlignedBundling/labeloffset.s
.bundle_lock align_to_end
calll .L0$pb
.bundle_unlock
.L0$pb:
popl %eax
.Ltmp0: //// padding should be inserted before this label instead of after
addl $_GLOBAL_OFFSET_TABLE_+(.Ltmp0-.L0$pb), %eax
```
(D5915 was adjusted by https://reviews.llvm.org/D8072 and
https://reviews.llvm.org/D71368)
This patch achieves the same goal by setting the offset of the empty
MCDataFragment (`Prev`) in `layoutBundle`. This eliminates the need for
pending labels and simplifies the code.
llvm/test/MC/MachO/pending-labels.s (D71368): relocation symbols are
changed, but the result is still supported by linkers.
Commit: b0ae923ada836fa2c9114ac2c5afb39466f49fe0
https://github.com/llvm/llvm-project/commit/b0ae923ada836fa2c9114ac2c5afb39466f49fe0
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
M llvm/lib/ProfileData/InstrProf.cpp
Log Message:
-----------
[ProfileData] Add a variant of getValueProfDataFromInst (#95993)
This patch adds a variant of getValueProfDataFromInst that returns
std::vector<InstrProfValueData> instead of
std::unique<InstrProfValueData[]>. The new return type carries the
length with it, so we can drop out parameter ActualNumValueData.
Also, the caller can directly feed the return value into a range-based
for loop as shown in the patch.
I'm planning to migrate other callers of getValueProfDataFromInst to
the new variant in follow-up patches.
Commit: 8e9c6bfb5075a498344521d5911b6bc9ab9c901f
https://github.com/llvm/llvm-project/commit/8e9c6bfb5075a498344521d5911b6bc9ab9c901f
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachinePassManager.h
M llvm/include/llvm/IR/PassManager.h
M llvm/lib/CodeGen/RegAllocFast.cpp
M llvm/lib/Passes/PassBuilder.cpp
Log Message:
-----------
[CodeGen][NewPM] Extract MachineFunctionProperties modification part to an RAII class (#94854)
Modify MachineFunctionProperties in PassModel makes `PassT P;
P.run(...);` not work properly. This is a necessary compromise.
Commit: 4a7bf42a9b83144db8a11ac06cce4da21166e6a2
https://github.com/llvm/llvm-project/commit/4a7bf42a9b83144db8a11ac06cce4da21166e6a2
Author: Emilia Kond <emilia at rymiel.space>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Don't count template template parameter as declaration (#95025)
In ContinuationIndenter::mustBreak, a break is required between a
template declaration and the function/class declaration it applies to,
if the template declaration spans multiple lines.
However, this also includes template template parameters, which can
cause extra erroneous line breaks in some declarations.
This patch makes template template parameters not be counted as template
declarations.
Fixes https://github.com/llvm/llvm-project/issues/93793
Fixes https://github.com/llvm/llvm-project/issues/48746
Commit: 4145ad2bac4bb99d5034d60c74bb2789f6c6e802
https://github.com/llvm/llvm-project/commit/4145ad2bac4bb99d5034d60c74bb2789f6c6e802
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachinePassManager.h
Log Message:
-----------
[NewPM] Add deduction guide to `MFPropsModifier` to suppress warning (#96384)
Buildbot `clang-ppc64le-rhel` failed with:
```sh
error: 'MFPropsModifier' may not intend to support class template argument deduction [-Werror,-Wctad-maybe-unsupported]
note: add a deduction guide to suppress this warning
```
after #94854. This PR adds deduction guide explicitly to suppress
warning.
Commit: 34d44eb41dfbbbf01712719558b02763334fbeb3
https://github.com/llvm/llvm-project/commit/34d44eb41dfbbbf01712719558b02763334fbeb3
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
Revert "[clang-format] Don't count template template parameter as declaration" (#96388)
Reverts llvm/llvm-project#95025 ; many bots are broken
Commit: c3fe1c4472e72a3832be911e8fa9098fa84762a0
https://github.com/llvm/llvm-project/commit/c3fe1c4472e72a3832be911e8fa9098fa84762a0
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M lldb/include/lldb/Target/RemoteAwarePlatform.h
M lldb/source/Target/RemoteAwarePlatform.cpp
Log Message:
-----------
[lldb] Resolve executables more aggressively on the host
When unifying the ResolveExecutable implementations in #96256, I missed
that RemoteAwarePlatform was able to resolve executables more
aggressively. The host platform can rely on the current working
directory to make relative paths absolute and resolve things like home
directories.
This should fix command-target-create-resolve-exe.test.
Commit: 0fccae9d8e64f3b0f415946000d6ca79ae1255db
https://github.com/llvm/llvm-project/commit/0fccae9d8e64f3b0f415946000d6ca79ae1255db
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
R clang/utils/ClangDataFormat.py
Log Message:
-----------
[clang][utils] Remove ClangDataFormat.py for now (#96385)
This formatter doesn't currently provide much value. It only formats
`SourceLocation` and `QualType`. The only formatting it does for
`QualType` is call `getAsString()` on it.
The main motivator for the removal however is that the formatter
implementation can be very slow (since it uses the expression evaluator
in non-trivial ways).
Not infrequently do we get reports about LLDB being slow when debugging
Clang, and it turns out the user was loading `ClangDataFormat.py` in
their `.lldbinit` by default.
We should eventually develop proper formatters for Clang data-types, but
these are currently not ready. So this patch removes them in the
meantime to avoid users shooting themselves in the foot, and giving the
wrong impression of these being reference implementations.
Commit: 485d7eaefd93c4f6bc8c51c9a169ffb22ce3a898
https://github.com/llvm/llvm-project/commit/485d7eaefd93c4f6bc8c51c9a169ffb22ce3a898
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCObjectStreamer.h
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/MC/MCSection.cpp
Log Message:
-----------
[MC] Remove remnant code related to pending labels
Commit: a4ca22506c96cd8508bcfb93a26941f19c7179ef
https://github.com/llvm/llvm-project/commit/a4ca22506c96cd8508bcfb93a26941f19c7179ef
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
A llvm/test/Transforms/InstCombine/fmul-bool.ll
Log Message:
-----------
[InstCombine] (uitofp bool X) * Y --> X ? Y : 0 (#96216)
Fold `mul (uitofp i1 X), Y` to `select i1 X, Y, 0.0` when the `mul` is
`nnan` and `nsz`
Proof: https://alive2.llvm.org/ce/z/_stiPm
Commit: 170c194ec19c76deee33d8aa8b288368c574f7a0
https://github.com/llvm/llvm-project/commit/170c194ec19c76deee33d8aa8b288368c574f7a0
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/InterpBuiltin.cpp
M clang/test/CodeGen/cfstring.c
Log Message:
-----------
[clang][Interp] Fix CFStringMakeConstantString etc. evaluation
We're ultimately expected to return an APValue simply pointing to
the CallExpr, not any useful value. Do that by creating a global
variable for the call.
Commit: 8fa4fe1f995a9bc85666d63e84c094f9a09686b5
https://github.com/llvm/llvm-project/commit/8fa4fe1f995a9bc85666d63e84c094f9a09686b5
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/lib/MC/MCExpr.cpp
Log Message:
-----------
[MC] AttemptToFoldSymbolOffsetDifference: remove MCDummyFragment check. NFC
This was added by 507efbcce03d8c2c5dbea3028bc39f02c88fea79
([MC] Fold A-B when A is a pending label or A/B are separated by a
MCFillFragment) to account for pending labels and is now unneeded after
the removal of pending labels (75006466296ed4b0f845cbbec4bf77c21de43b40).
Commit: 2c9c22c6e295b1176225b63ae4cbbceb216da55e
https://github.com/llvm/llvm-project/commit/2c9c22c6e295b1176225b63ae4cbbceb216da55e
Author: Daniel Paoliello <danpao at microsoft.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64Arm64ECCallLowering.cpp
M llvm/test/CodeGen/AArch64/arm64ec-entry-thunks.ll
M llvm/test/CodeGen/AArch64/arm64ec-exit-thunks.ll
Log Message:
-----------
[ARM64EC] Fix thunks for vector args (#96003)
The checks when building a thunk to decide if an arg needed to be cast
to/from an integer or redirected via a pointer didn't match how arg
types were changed in `canonicalizeThunkType`, this caused LLVM to ICE
when using vector types as args due to incorrect types in a call
instruction.
Instead of duplicating these checks, we should check if the arg type
differs between x64 and AArch64 and then cast or redirect as
appropriate.
Commit: 6621505a1eb5428b13d2d29f377050624ef5531c
https://github.com/llvm/llvm-project/commit/6621505a1eb5428b13d2d29f377050624ef5531c
Author: Emilia Kond <emilia at rymiel.space>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/test/Index/overriding-ftemplate-comments.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Don't count template template parameter as declaration (#96396)
Reapply 4a7bf42a9b83144db8a11ac06cce4da21166e6a2
which was reverted in 34d44eb41dfbbbf01712719558b02763334fbeb3
Not sure why there are tests elsewhere in clang that rely on the output
of clang-format, but they were wrong
Commit: ca5ba2e46445caf2c8063a53eb6351fb596190e8
https://github.com/llvm/llvm-project/commit/ca5ba2e46445caf2c8063a53eb6351fb596190e8
Author: Sven Verdoolaege <sven at cerebras.net>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/FormatProviders.h
Log Message:
-----------
[Support] Avoid warning about possibly uninitialized variable in format_provider (#95704)
The original implementation of HelperFunctions::consumeHexStyle always
sets Style when it returns true, but this is difficult for a compiler
to understand since it requires seeing that Str starts
with either an "x" or an "X" when starts_with_insensitive("x")
return true.
In particular, g++ 12 warns that HS may be used uninitialized
in the format_provider::format caller.
Change HelperFunctions::consumeHexStyle to return an optional
HexPrintStyle and to make the fact that Str necessarily starts
with an "X" when all other cases do not apply more explicit.
This helps both the compiler and the human reader of the code.
Co-authored-by: Sven Verdoolaege <sven.verdoolaege at gmail.com>
Commit: fc23564c44f3eff1847462253d43c08b85489148
https://github.com/llvm/llvm-project/commit/fc23564c44f3eff1847462253d43c08b85489148
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/include/llvm/Frontend/OpenMP/OMP.td
Log Message:
-----------
[NFC][Clang][OMPX] Fix a typo in `OMP.td` (#96398)
Commit: 8cb6e587fd40b97983e445ee3f17f4c6d7190df7
https://github.com/llvm/llvm-project/commit/8cb6e587fd40b97983e445ee3f17f4c6d7190df7
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCContext.h
M llvm/lib/MC/MCCodeView.cpp
M llvm/lib/MC/MCContext.cpp
M llvm/lib/MC/MCFragment.cpp
Log Message:
-----------
[MC] Allocate MCFragment with a bump allocator
#95197 and 75006466296ed4b0f845cbbec4bf77c21de43b40 eliminated all raw
`new MCXXXFragment`. We can now place fragments in a bump allocator.
In addition, remove the dead `Kind == FragmentType(~0)` condition.
~CodeViewContext may call `StrTabFragment->destroy()` and need to be
reset before `FragmentAllocator.Reset()`.
Tested by llvm/test/MC/COFF/cv-compiler-info.ll using asan.
Pull Request: https://github.com/llvm/llvm-project/pull/96402
Commit: c9f6a5e49519f860f20f808b1af84dc3fc50ff91
https://github.com/llvm/llvm-project/commit/c9f6a5e49519f860f20f808b1af84dc3fc50ff91
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCAssembler.h
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCFragment.cpp
Log Message:
-----------
[MC] Move computeBundlePadding closer to its only caller. NFC
There is only one caller after #95188.
Commit: f5b93ae5884dd72bd145576344e4effff685cf5e
https://github.com/llvm/llvm-project/commit/f5b93ae5884dd72bd145576344e4effff685cf5e
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M clang/lib/Frontend/TextDiagnostic.cpp
M clang/lib/Lex/PPDirectives.cpp
Log Message:
-----------
[clang] Fix -Wsign-compare in 32-bit builds
Commit: 3ba7599842be852abdad9db2ad75c35263ad517e
https://github.com/llvm/llvm-project/commit/3ba7599842be852abdad9db2ad75c35263ad517e
Author: Nico Weber <thakis at chromium.org>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/clang-tools-extra/clang-doc/tool/BUILD.gn
Log Message:
-----------
[gn] port ade28a77ed1776 (clang-doc asset copy to share/clang)
Commit: f3005d5b86ca947977f6056552b2a4648b9f0460
https://github.com/llvm/llvm-project/commit/f3005d5b86ca947977f6056552b2a4648b9f0460
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
Log Message:
-----------
[Serialization] Change input file content hash from size_t to uint64_t
https://reviews.llvm.org/D67249 added content hash (see
-fvalidate-ast-input-files-content) using llvm::hash_code (size_t).
The hash value is 32-bit on 32-bit systems, which was unintentional.
Fix #96379: #96136 switched the hash function to xxh3_64bit but did not
update the ContentHash type, leading to mismatch between ASTReader and
ASTWriter.
Commit: f73ac218a666e2017565f2210b47332ddcf55f00
https://github.com/llvm/llvm-project/commit/f73ac218a666e2017565f2210b47332ddcf55f00
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M clang/docs/LanguageExtensions.rst
M clang/include/clang/Basic/Builtins.td
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
M clang/lib/Sema/SemaChecking.cpp
M clang/test/CodeGen/builtins-elementwise-math.c
M clang/test/CodeGen/strictfp-elementwise-bulitins.cpp
A clang/test/CodeGenHLSL/builtins/acos.hlsl
A clang/test/CodeGenHLSL/builtins/asin.hlsl
A clang/test/CodeGenHLSL/builtins/atan.hlsl
A clang/test/CodeGenHLSL/builtins/cosh.hlsl
A clang/test/CodeGenHLSL/builtins/sinh.hlsl
A clang/test/CodeGenHLSL/builtins/tanh.hlsl
M clang/test/Sema/aarch64-sve-vector-trig-ops.c
M clang/test/Sema/builtins-elementwise-math.c
M clang/test/Sema/riscv-rvv-vector-trig-ops.c
M clang/test/SemaCXX/builtins-elementwise-math.cpp
M clang/test/SemaHLSL/BuiltIns/half-float-only-errors.hlsl
Log Message:
-----------
[HLSL][clang] Add elementwise builtins for trig intrinsics (#95999)
This change is part of this proposal:
https://discourse.llvm.org/t/rfc-all-the-math-intrinsics/78294
This is part 3 of 4 PRs. It sets the ground work for using the
intrinsics in HLSL.
Add HLSL frontend apis for `acos`, `asin`, `atan`, `cosh`, `sinh`, and
`tanh`
https://github.com/llvm/llvm-project/issues/70079
https://github.com/llvm/llvm-project/issues/70080
https://github.com/llvm/llvm-project/issues/70081
https://github.com/llvm/llvm-project/issues/70083
https://github.com/llvm/llvm-project/issues/70084
https://github.com/llvm/llvm-project/issues/95966
Commit: 05ba5c0648ae5e80d5afce270495bf3b1eef9af4
https://github.com/llvm/llvm-project/commit/05ba5c0648ae5e80d5afce270495bf3b1eef9af4
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCStreamer.h
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/MC/MCParser/ELFAsmParser.cpp
M llvm/lib/MC/MCStreamer.cpp
Log Message:
-----------
[MC] MCSectionSubPair: replace const MCExpr * with uint32_t
Commit: 61c4d7b9231d22f8cff7a6a6b3b52d401cba9f6f
https://github.com/llvm/llvm-project/commit/61c4d7b9231d22f8cff7a6a6b3b52d401cba9f6f
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
A llvm/test/Transforms/InstCombine/select-cmp-eq-op-fold.ll
Log Message:
-----------
[InstCombine] Add tests for expanding `foldSelectValueEquivalence`; NFC
Commit: b37a4b9991a0a669594b53caa0eb75f489211d69
https://github.com/llvm/llvm-project/commit/b37a4b9991a0a669594b53caa0eb75f489211d69
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/test/Transforms/InstCombine/select-cmp-eq-op-fold.ll
Log Message:
-----------
[InstCombine] Improve coverage of `foldSelectValueEquivalence` for non-constants
If f(Y) simplifies to Y, replace with Y. This requires Y to be
non-undef.
Closes #94719
Commit: 95f983f8239c071712cc42d0d54d3ebfa7c32a22
https://github.com/llvm/llvm-project/commit/95f983f8239c071712cc42d0d54d3ebfa7c32a22
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCContext.h
M llvm/include/llvm/MC/MCELFStreamer.h
M llvm/include/llvm/MC/MCObjectStreamer.h
M llvm/include/llvm/MC/MCSection.h
M llvm/include/llvm/MC/MCSectionCOFF.h
M llvm/include/llvm/MC/MCSectionDXContainer.h
M llvm/include/llvm/MC/MCSectionELF.h
M llvm/include/llvm/MC/MCSectionGOFF.h
M llvm/include/llvm/MC/MCSectionMachO.h
M llvm/include/llvm/MC/MCSectionSPIRV.h
M llvm/include/llvm/MC/MCSectionWasm.h
M llvm/include/llvm/MC/MCSectionXCOFF.h
M llvm/include/llvm/MC/MCStreamer.h
M llvm/include/llvm/MC/MCWasmStreamer.h
M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
M llvm/lib/MC/MCAsmStreamer.cpp
M llvm/lib/MC/MCContext.cpp
M llvm/lib/MC/MCELFStreamer.cpp
M llvm/lib/MC/MCMachOStreamer.cpp
M llvm/lib/MC/MCObjectFileInfo.cpp
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/MC/MCParser/ELFAsmParser.cpp
M llvm/lib/MC/MCSectionCOFF.cpp
M llvm/lib/MC/MCSectionDXContainer.cpp
M llvm/lib/MC/MCSectionELF.cpp
M llvm/lib/MC/MCSectionMachO.cpp
M llvm/lib/MC/MCSectionWasm.cpp
M llvm/lib/MC/MCSectionXCOFF.cpp
M llvm/lib/MC/MCStreamer.cpp
M llvm/lib/MC/MCWasmStreamer.cpp
M llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
M llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
M llvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
M llvm/lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp
M llvm/lib/Target/Mips/MCTargetDesc/MipsELFStreamer.h
M llvm/lib/Target/Mips/MipsAsmPrinter.cpp
M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.cpp
M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.h
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.h
M llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVTargetStreamer.h
Log Message:
-----------
[MC] Change Subsection parameters from const MCExpr * to uint32_t
Follow-up to 05ba5c0648ae5e80d5afce270495bf3b1eef9af4. uint32_t is
preferred over const MCExpr * in the section stack uses because it
should only be evaluated once. Change the paramter type to match.
Commit: 6ec1ddfd72656cbf8e4185239175e52d50e0f4a3
https://github.com/llvm/llvm-project/commit/6ec1ddfd72656cbf8e4185239175e52d50e0f4a3
Author: ZhangYin <zhangyin2018 at iscas.ac.cn>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M libcxx/docs/Status/ParallelismProjects.csv
M libcxx/include/experimental/__simd/reference.h
M libcxx/include/experimental/simd
A libcxx/test/std/experimental/simd/simd.reference/reference_swap.pass.cpp
Log Message:
-----------
[libc++] <experimental/simd> Add swap functions of simd reference (#86478)
Commit: e7622ab4721141d9e6af6041fa7f9bbc1029e9aa
https://github.com/llvm/llvm-project/commit/e7622ab4721141d9e6af6041fa7f9bbc1029e9aa
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCObjectStreamer.h
M llvm/lib/MC/MCObjectStreamer.cpp
Log Message:
-----------
[MC] Remove unused MCObjectStreamer::CurSubsectionIdx. NFC
Commit: 346c4a88afedcef3da40f68c83f0a5b3e0ac61ea
https://github.com/llvm/llvm-project/commit/346c4a88afedcef3da40f68c83f0a5b3e0ac61ea
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
M mlir/test/Target/LLVMIR/nvvmir.mlir
Log Message:
-----------
[mlir][NVVM] Disallow results on kernel functions (#96399)
Functions that have the `nvvm.kernel` attribute should have 0 results.
Commit: 3f33d2f3ca570f1e4e016a07f049724fdff6dad9
https://github.com/llvm/llvm-project/commit/3f33d2f3ca570f1e4e016a07f049724fdff6dad9
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M mlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp
M mlir/lib/Conversion/GPUCommon/GPUOpsLowering.h
M mlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir
Log Message:
-----------
[mlir][GPUToNVVM] Fix memref function args/results (#96392)
The `gpu.func` op lowering accounts for memref arguments/results (both
"normal" and bare-pointer supported), but the `gpu.return` op lowering
did not. The lowering produced invalid IR that did not verify.
This commit uses the same lowering strategy as for `func.return` in the
`gpu.return` lowering. (The C++ implementation is copied. We may want to
share some code between `func` and `gpu` lowerings in the future.)
Commit: a440a96ec2084985bca71e2b90b33bd07af3e65e
https://github.com/llvm/llvm-project/commit/a440a96ec2084985bca71e2b90b33bd07af3e65e
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M clang/test/CodeGenCUDA/amdgpu-atomic-ops.cu
M llvm/lib/Target/AMDGPU/AMDGPU.td
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/FLATInstructions.td
M llvm/lib/Target/AMDGPU/GCNSubtarget.h
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmax.ll
M llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmin.ll
M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmax.ll
M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmin.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fmax.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fmin.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.ptr.buffer.atomic.fmax.f32.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.ptr.buffer.atomic.fmax.f64.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.ptr.buffer.atomic.fmin.f32.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.ptr.buffer.atomic.fmin.f64.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f32-agent.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f32-system.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f64-agent.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f64-system.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fmax.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fmin.ll
Log Message:
-----------
AMDGPU: Start selecting flat/global atomicrmw fmin/fmax. (#95592)
Define subtarget features for atomic fmin/fmax support.
The flat/global support is a real messe. We had float/double support at
the beginning in gfx6 and gfx7. gfx8 removed these. gfx10 reintroduced them.
gfx11 removed the f64 versions again.
gfx9 partially reintroduced them, in gfx90a and gfx940 but only for f64.
Commit: 414c74149c0085e3c11496af171217d5317481e1
https://github.com/llvm/llvm-project/commit/414c74149c0085e3c11496af171217d5317481e1
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmax.ll
M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmin.ll
Log Message:
-----------
AMDGPU: Start selecting buffer fat pointer atomicrmw fmin/fmax (#95593)
Commit: 70c8b9c24a7cf2b7c6e65675cbdb42a65ff668ba
https://github.com/llvm/llvm-project/commit/70c8b9c24a7cf2b7c6e65675cbdb42a65ff668ba
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/lib/IR/AutoUpgrade.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPUSearchableTables.td
M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
M llvm/lib/Target/AMDGPU/DSInstructions.td
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/Bitcode/amdgcn-atomic.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/fp-atomics-gfx940.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/fp64-atomics-gfx90a.ll
R llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.ds.fadd.ll
M llvm/test/CodeGen/AMDGPU/fp-atomics-gfx1200.ll
M llvm/test/CodeGen/AMDGPU/fp-atomics-gfx940.ll
M llvm/test/CodeGen/AMDGPU/fp64-atomics-gfx90a.ll
R llvm/test/CodeGen/AMDGPU/lds-atomic-fadd.ll
Log Message:
-----------
AMDGPU: Remove ds atomic fadd intrinsics (#95396)
These have been replaced with atomicrmw fadd
Commit: 3ae6755719c6dfc07761b4e9bdac8c86bcb41734
https://github.com/llvm/llvm-project/commit/3ae6755719c6dfc07761b4e9bdac8c86bcb41734
Author: Shan Huang <52285902006 at stu.ecnu.edu.cn>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/DivRemPairs.cpp
A llvm/test/Transforms/DivRemPairs/X86/preserving-debugloc-frx-fry-mul-sub.ll
A llvm/test/Transforms/DivRemPairs/X86/preserving-debugloc-realrem.ll
Log Message:
-----------
[DebugInfo][DivRemPairs] Fix missing debug location updates (#96045)
Fix #96014 .
Commit: f7fc72e281e26082d98b26c95c7ffc93393b3920
https://github.com/llvm/llvm-project/commit/f7fc72e281e26082d98b26c95c7ffc93393b3920
Author: Zain Jaffal <zain at jjaffal.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
A llvm/test/Transforms/InstCombine/fold-a-or-b-zero.ll
Log Message:
-----------
[InstCombine] fold `(a == c && b != c) || (a != c && b == c))` to `(a == c) == (b != c)` (#94915)
resolves https://github.com/llvm/llvm-project/issues/92966
alive proof
https://alive2.llvm.org/ce/z/bLAQBS
Commit: f372bb45e39b7eae94930fc419724e12596a8361
https://github.com/llvm/llvm-project/commit/f372bb45e39b7eae94930fc419724e12596a8361
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Target/LLVMIR/openmp-private.mlir
Log Message:
-----------
[OpenMP][LLVM] Clone `omp.private` op in the parent module (#96024)
Fixes a crash uncovered by test 0007_0019.f90 in the Fujitsu test suite.
Previously, in the `PrivCB`, we cloned the `omp.private` op without
inserting it in the parent module of the original op. This causes issues
whenever there is an op that needs to lookup the parent module (e.g. for
symbol lookup). This PR fixes the issue by cloning in the parent module
instead of creating an orphaned op.
Commit: eb76bc38ffc286e62fdb8f8d897b5de04b2575be
https://github.com/llvm/llvm-project/commit/eb76bc38ffc286e62fdb8f8d897b5de04b2575be
Author: Luke Lau <luke at igalia.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.ll
M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert.ll
M llvm/test/Transforms/LoopStrengthReduce/RISCV/lsr-drop-solution.ll
Log Message:
-----------
[RISCV] Relax RISCVInsertVSETVLI output VL peeking to cover registers (#96200)
If the AVL in a VSETVLIInfo is the output VL of a vsetvli with the same
VLMAX, we treat it as the AVL of said vsetvli.
This allows us to remove a true dependency as well as treating
VSETVLIInfos as equal in more places and avoid toggles.
We do this in two places, needVSETVLI and computeInfoForInstr. However
we don't do this in computeInfoForInstr's vsetvli equivalent,
getInfoForVSETVLI.
We also have a restriction only in computeInfoForInstr that the AVL
can't be a register as we want to avoid extending live ranges.
This patch does two interlinked things:
1) It adds this AVL "peeking" to getInfoForVSETVLI
2) It relaxes the constraint that the AVL can't be a register in
computeInfoForInstr, since it removes a use of the output VL which can
actually reduce register pressure. E.g. see the diff in
@vector_init_vsetvli_N and @test6
Now that getInfoForVSETVLI and computeInfoForInstr are consistent, we
can remove the check in needVSETVLI.
We also need to update how we update LiveIntervals in insertVSETVLI, as
we can now end up needing to extend the LiveRange of the AVL across
blocks.
Commit: 8990763d2c974a179dd0ed42b0cfb7b8b60e9c0c
https://github.com/llvm/llvm-project/commit/8990763d2c974a179dd0ed42b0cfb7b8b60e9c0c
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGExprConstant.cpp
Log Message:
-----------
[clang][codegen][NFC] Improve const correctness
Commit: c19028f364cceb4b2111c7956dcacbc257a96fd4
https://github.com/llvm/llvm-project/commit/c19028f364cceb4b2111c7956dcacbc257a96fd4
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/GenericDomTree.h
M llvm/include/llvm/Support/GenericDomTreeConstruction.h
Log Message:
-----------
[GenericDomTree] Use range-based for loops (NFC) (#96404)
Commit: 48cf6b6bbe7a22bfcd98f82dc7afd21c9decd22f
https://github.com/llvm/llvm-project/commit/48cf6b6bbe7a22bfcd98f82dc7afd21c9decd22f
Author: Christian Sigg <csigg at google.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
Log Message:
-----------
[mlir] Fix use-after-free introduced in a9efcbf490d9b8f46ec37062ca8653b4068000e5.
Commit: 6dc8de7a0abc7df8295273694fd9b951ed33708f
https://github.com/llvm/llvm-project/commit/6dc8de7a0abc7df8295273694fd9b951ed33708f
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Utils/StaticValueUtils.h
M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
M mlir/test/Dialect/Linalg/promote.mlir
M mlir/test/Dialect/Linalg/transform-promotion.mlir
M mlir/test/Dialect/MemRef/canonicalize.mlir
M mlir/test/Dialect/MemRef/subview.mlir
M mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir
M mlir/test/Dialect/Vector/vector-transferop-opt.mlir
M mlir/test/Transforms/canonicalize.mlir
Log Message:
-----------
[mlir][memref] Improve `memref.subview` type inference (#96421)
The `memref.subview` result type inference
(`SubViewOp::inferResultType`) sometimes used to produce a dynamic
offset when a static offset is possible.
When a dynamic value (stride, size, etc.) is multiplied with zero, the
result is always a "static 0". Based on this, the result type inference
implementation can be improved to produce more static type information
in memref types.
Commit: 21fac2d1d060b0f9b11a746718e58d4cd1ee97e5
https://github.com/llvm/llvm-project/commit/21fac2d1d060b0f9b11a746718e58d4cd1ee97e5
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCContext.cpp
M llvm/lib/MC/MCMachOStreamer.cpp
M llvm/tools/dsymutil/MachOUtils.cpp
Log Message:
-----------
[MC] Ensure all new sections have a MCDataFragment
MCAssembler::layout ensures that every section has at least one
fragment, which simplifies MCAsmLayout::getSectionAddressSize (see
e73353c7201a3080851d99a16f5fe2c17f7697c6 from 2010). It's better to
ensure the condition is satisfied at create time (COFF, GOFF, Mach-O) to
simplify more fragment processing.
Commit: 05d167fc201b4f2e96108be0d682f6800a70c23d
https://github.com/llvm/llvm-project/commit/05d167fc201b4f2e96108be0d682f6800a70c23d
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
M llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
M llvm/lib/DWARFLinker/Parallel/ArrayList.h
M llvm/lib/ExecutionEngine/Orc/Core.cpp
M llvm/lib/ExecutionEngine/Orc/Debugging/DebugInfoSupport.cpp
M llvm/lib/ProfileData/InstrProfReader.cpp
M llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
M llvm/lib/Target/NVPTX/NVVMReflect.cpp
M llvm/lib/Target/PowerPC/PPCMergeStringPool.cpp
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
M llvm/lib/Transforms/Utils/CodeLayout.cpp
M llvm/tools/llvm-jitlink/llvm-jitlink.cpp
M llvm/utils/TableGen/ARMTargetDefEmitter.cpp
M llvm/utils/TableGen/ExegesisEmitter.cpp
Log Message:
-----------
[llvm] Use llvm::sort (NFC) (#96434)
Commit: ab9c2b1c54392e20d0b14d3b009146f8d68d192f
https://github.com/llvm/llvm-project/commit/ab9c2b1c54392e20d0b14d3b009146f8d68d192f
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
Log Message:
-----------
[VPlan] Restructure code for BranchOnCond codegen. (NFCI)
Reoder code to exit early if the BranchOnCond isn't in an exiting block.
This delays retrieving the parent region, which may not be present.
Split off from https://github.com/llvm/llvm-project/pull/92651.
Commit: 31a94bd783ae61f418bd730109992dfb30b70e87
https://github.com/llvm/llvm-project/commit/31a94bd783ae61f418bd730109992dfb30b70e87
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.cpp
Log Message:
-----------
[VPlan] Rename Preheader -> Entry in createInitialVPlan (NFCI).
Split off from https://github.com/llvm/llvm-project/pull/92651 as
suggested.
Commit: ef1773ad57507727e4cafdb43b9c28ac03e01ae5
https://github.com/llvm/llvm-project/commit/ef1773ad57507727e4cafdb43b9c28ac03e01ae5
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
Log Message:
-----------
[VPlan] Rewrite cloneSESE to use 2 depth-first passes (NFCI).
Rewrite cloneSESE to perform 2 depth-first passes with the first one
cloning blocks and the second one updating the predecessors and
successors.
This is needed to preserve the correct predecessor/successor ordering
with https://github.com/llvm/llvm-project/pull/92651 and has been split
off as suggested.
Commit: de0d4827ee8fe440e6288c19cdcd5ffc9d3a4236
https://github.com/llvm/llvm-project/commit/de0d4827ee8fe440e6288c19cdcd5ffc9d3a4236
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCWinCOFFStreamer.h
M llvm/lib/MC/MCWinCOFFStreamer.cpp
M llvm/lib/MC/WinCOFFObjectWriter.cpp
Log Message:
-----------
[MC,COFF] Register .llvm.call-graph-profile in finalizeImpl
All sections should have been created before MCAssembler::layout so that
every section has an ordinal. Registering the section in
WinCOFFObjectWriter::executePostLayoutBinding is a hack.
Commit: 1f98ac095e35f12a85d71101269df00279faa55c
https://github.com/llvm/llvm-project/commit/1f98ac095e35f12a85d71101269df00279faa55c
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M libcxx/include/__atomic/atomic_base.h
M libcxx/include/__charconv/chars_format.h
M libcxx/include/__chrono/time_point.h
M libcxx/include/__functional/function.h
M libcxx/include/__iterator/data.h
M libcxx/include/__iterator/size.h
M libcxx/include/__numeric/gcd_lcm.h
M libcxx/include/__random/discard_block_engine.h
M libcxx/include/__string/char_traits.h
M libcxx/include/__utility/pair.h
M libcxx/include/deque
M libcxx/include/experimental/propagate_const
M libcxx/include/experimental/type_traits
M libcxx/include/forward_list
M libcxx/include/future
M libcxx/include/list
M libcxx/include/map
M libcxx/include/queue
M libcxx/include/set
M libcxx/include/stack
M libcxx/include/string
M libcxx/include/string_view
M libcxx/include/tuple
Log Message:
-----------
[libc++][NFC] Replace _NOEXCEPT and _LIBCPP_CONSTEXPR macros with the keywords in C++11 code (#96387)
Commit: b7048681675c2e953688837e9c1db4ec810d1166
https://github.com/llvm/llvm-project/commit/b7048681675c2e953688837e9c1db4ec810d1166
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/test/MC/COFF/section-comdat.s
Log Message:
-----------
[test] Use llvm-objdump for COFF/section-comdat.s
Commit: f05fa6e0cfdc61f29bac94b157a56e048d10efd1
https://github.com/llvm/llvm-project/commit/f05fa6e0cfdc61f29bac94b157a56e048d10efd1
Author: antangelo <contact at antangelo.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M clang/include/clang/Basic/AttrDocs.td
M llvm/lib/Target/AArch64/AArch64CallingConvention.td
M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
M llvm/test/CodeGen/AArch64/preserve_nonecc_call.ll
Log Message:
-----------
[AArch64] Fix argument passing in reserved registers for preserve_nonecc (#96259)
These registers include:
- X19, used by LLVM as the base pointer
- X15 on Windows, where it is used for stack allocation. It can still be
used on Linux/Darwin.
- Adjust FrameLowering scratch register code to not assume X9 is
available if the calling convention is preserve_nonecc. The code will
then pick an unused register as scratch, and allow X9 to continue being
used for argument passing.
Commit: abbf3bce94e0848f746e39186d36ebb938c1c5de
https://github.com/llvm/llvm-project/commit/abbf3bce94e0848f746e39186d36ebb938c1c5de
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCObjectStreamer.h
M llvm/lib/MC/MCMachOStreamer.cpp
M llvm/lib/MC/MCWinCOFFStreamer.cpp
Log Message:
-----------
[MC] Avoid some registerSection calls
changeSection is preferred to call the changeSectionImpl hook, which
registers the section symbol.
Commit: 6082a50a9835907f5f90f1967e21dcd7f5ab30f1
https://github.com/llvm/llvm-project/commit/6082a50a9835907f5f90f1967e21dcd7f5ab30f1
Author: Francis Visoiu Mistrih <890283+francisvm at users.noreply.github.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
Log Message:
-----------
[RISCV] Mark all registers marked isConstant as reserved (#96002)
This makes use of the information from TableGen instead of duplicating
it in the code.
Commit: 9d63506ddc6d60e220d967eb11779114075d401d
https://github.com/llvm/llvm-project/commit/9d63506ddc6d60e220d967eb11779114075d401d
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/MC/ELFObjectWriter.cpp
M llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
Log Message:
-----------
[MC] Move ELFWriter::createMemtagRelocs to AArch64ELFStreamer::finishImpl
Follow-up to https://reviews.llvm.org/D128958
* Move target-specific code away from the generic ELFWriter.
* All sections should have been created before MCAssembler::layout.
* Remove one `registerSection` use, which should be considered private to MCAssembler.
Commit: cde799ff444b986e591a572b47765606c17c35a4
https://github.com/llvm/llvm-project/commit/cde799ff444b986e591a572b47765606c17c35a4
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCELFStreamer.h
M llvm/lib/Target/Mips/MCTargetDesc/MipsOptionRecord.cpp
M llvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
Log Message:
-----------
[NC,MIPS] Avoid some registerSection calls
Similar to abbf3bce94e0848f746e39186d36ebb938c1c5de.
switchSection calls registerSection internally.
Commit: 329e6b4fd5a995c7d8aa4d11aec1b901ca49e484
https://github.com/llvm/llvm-project/commit/329e6b4fd5a995c7d8aa4d11aec1b901ca49e484
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProf.h
Log Message:
-----------
[ProfileData] Use std::array for ValueProfData (#96440)
This patch uses std::array for ValueProfData. Aside from reducing the
line count and code duplication, the use of std::array here makes it
easier to add a new type of value profiling without touching as many
places.
Commit: a3cf14af77116c1395fe85b82200ab818e3fc5bc
https://github.com/llvm/llvm-project/commit/a3cf14af77116c1395fe85b82200ab818e3fc5bc
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/MC/MCObjectFileInfo.cpp
Log Message:
-----------
[MC,COFF] Remove unneeded BeginSymName
When `BeginSymName` is not null, `createTempSymbol` is called but the
created symbol is not attached to a fragment. This is used as a hack to
some DWARF tests to work. In the future, we should repurpose
`BeginSymbol` as the section symbol in ELF.
Commit: 905c58f5aa33f1cd6370913bcadcd2e7dd8abbd0
https://github.com/llvm/llvm-project/commit/905c58f5aa33f1cd6370913bcadcd2e7dd8abbd0
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/MC/MCParser/ELFAsmParser.cpp
Log Message:
-----------
[MC] Remove unneeded setBeginSymbol. NFC
getELFSection ensures that the section symbol exists.
Commit: 8f49dab19e861baeb0d87452e652ed97d3883d1a
https://github.com/llvm/llvm-project/commit/8f49dab19e861baeb0d87452e652ed97d3883d1a
Author: Enna1 <xumingjie.enna1 at bytedance.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Analysis/BranchProbabilityInfo.cpp
Log Message:
-----------
[BPI] Use BasicBlock::isEHPad() to check exception handling block. (#95771)
There is no need to iterate all predecessors of current block, check if
current block is the invoke unwind destination of any predecessor. We
can directly call `BasicBlock::isEHPad()` to check if current block is
an exception handling block.
Commit: 1ecc5ae13b9061cfb37ef0c409c8a4fc4bad42c9
https://github.com/llvm/llvm-project/commit/1ecc5ae13b9061cfb37ef0c409c8a4fc4bad42c9
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/Serialization/ASTWriter.cpp
M clang/test/Modules/no-implicit-declarations.cppm
A clang/test/Modules/no-transitive-decl-change-2.cppm
Log Message:
-----------
[Serialization] Register Speical types before register decls
We will only regsiter top level types and decls in ASTWriter and
we will register the sub types and decls during the process of writing
types and decls. So that the ID for the types in the sub level can be
different if the writing decl process changes the order of the to-be-
emitted type queues. This is not ideal since it causes unnecessary
changes especially in no transitive changes model.
This patch migrates the issue by regsitering special types before
regsitering decls. This make sure that the special types in the 2nd
top level can be registered early than the decls. But it might still be
problematic if there are more levels in the special types. Luckily we
just don't have such special types.
Commit: 4061354ab3157255238cf2664b9482bd6297dc83
https://github.com/llvm/llvm-project/commit/4061354ab3157255238cf2664b9482bd6297dc83
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/AST/DeclID.h
Log Message:
-----------
[Serialization] Revert specialization for DenseMapInfo<GlobalDeclID>::getHashValue
The FIXME says to revert this when the underlying issue got fixed. And
now the underlying issue got fixed in
https://github.com/llvm/llvm-project/pull/95734. So I think it should be
fine to rever that one now.
Commit: 5997e7d748fdabe2abb7a19a5d9658622152e7d8
https://github.com/llvm/llvm-project/commit/5997e7d748fdabe2abb7a19a5d9658622152e7d8
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/MC/ELFObjectWriter.cpp
M llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
Log Message:
-----------
Revert "[MC] Move ELFWriter::createMemtagRelocs to AArch64ELFStreamer::finishImpl"
This reverts commit 9d63506ddc6d60e220d967eb11779114075d401d.
There is a heap-use-after-free.
Commit: ffec31566c0acc341a3953ffc9b015f702c138ec
https://github.com/llvm/llvm-project/commit/ffec31566c0acc341a3953ffc9b015f702c138ec
Author: Poseydon42 <vvmposeydon at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/test/Transforms/InstSimplify/uscmp.ll
Log Message:
-----------
[InstSimplify] Provide information about the range of possible values that `ucmp`/`scmp` can return (#96410)
This makes it possible to fold dumb comparisons like `ucmp(x, y) == 7`.
Commit: fec1b6f9d3cf5347b67ffb2078c995eb496acf47
https://github.com/llvm/llvm-project/commit/fec1b6f9d3cf5347b67ffb2078c995eb496acf47
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/MC/ELFObjectWriter.cpp
M llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
M llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.h
Log Message:
-----------
[MC] Move ELFWriter::createMemtagRelocs to AArch64TargetELFStreamer::finish
Follow-up to https://reviews.llvm.org/D128958
* Move target-specific code away from the generic ELFWriter.
* All sections should have been created before MCAssembler::layout.
* Remove one `registerSection` use, which should be considered private to MCAssembler.
Commit: efdb91e1daba502481f8eab6116e3595766e2300
https://github.com/llvm/llvm-project/commit/efdb91e1daba502481f8eab6116e3595766e2300
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
Log Message:
-----------
[ARM] Move ARMELFStreamer::finishImpl to ARMTargetELFStreamer::finish. NFC
ELFStreamer::finishImpl is not intended to be further overridden.
Commit: a9ac31910db3975d5e92a6265ab29dafd6a4691d
https://github.com/llvm/llvm-project/commit/a9ac31910db3975d5e92a6265ab29dafd6a4691d
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCELFStreamer.h
Log Message:
-----------
[MC] Make MCELFStreamer::finishImpl final
This function is final after efdb91e1daba502481f8eab6116e3595766e2300.
Target-specific code should override MCTargetStreamer::finish instead,
e.g. AArch64TargetELFStreamer::finish
(fec1b6f9d3cf5347b67ffb2078c995eb496acf47).
Commit: b78883fc6db7ca0780ee287267f4c133a3b38201
https://github.com/llvm/llvm-project/commit/b78883fc6db7ca0780ee287267f4c133a3b38201
Author: Felix Schneider <fx.schn at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/lib/Analysis/DataFlow/IntegerRangeAnalysis.cpp
M mlir/test/Dialect/Arith/int-range-interface.mlir
Log Message:
-----------
[mlir][intrange] Fix inference of zero-trip loop bound (#96429)
When lower bound and exclusive upper bound of a loop are the same, and
the zero-trip loop is not canonicalized away before the analysis, this
leads to a meaningless range for the induction variable being inferred.
This patch adds a check to make sure that the inferred range for the IV
is meaningful before updating the analysis state.
Fix https://github.com/llvm/llvm-project/issues/94423
Commit: 79b0966f2f137869cabab42d094fc1ccbb58373c
https://github.com/llvm/llvm-project/commit/79b0966f2f137869cabab42d094fc1ccbb58373c
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/AST/DeclID.h
M clang/lib/Serialization/ASTReader.cpp
Log Message:
-----------
[NFC] [Serialization] Refactor getLocalDeclID to 'LocalDeclID::get'
I just realized that the name `getLocalDeclID` looks like an member
function in ASTReader. It looks not good. So I decided to refactor this
into a static member function in LocalDeclID.
Commit: 9e8ccf6b6410a598f94d2ce4c29d753b8609c907
https://github.com/llvm/llvm-project/commit/9e8ccf6b6410a598f94d2ce4c29d753b8609c907
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/lib/Conversion/FuncToLLVM/FuncToLLVM.cpp
M mlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp
M mlir/lib/Conversion/LLVMCommon/TypeConverter.cpp
Log Message:
-----------
[mlir][Conversion] `FuncToLLVM`: Simplify bare-pointer handling (#96393)
Before this commit, there used to be a workaround in the
`func.func`/`gpu.func` op lowering when the bare-pointer calling
convention is enabled. This workaround "patched up" the argument
materializations for memref arguments. This can be done directly in the
argument materialization functions (as the TODOs in the code base
indicate).
This commit effectively reverts back to the old implementation
(a664c14001fa2359604527084c91d0864aa131a4) and adds additional checks to
make sure that bare pointers are used only for function entry block
arguments.
Commit: 1c025fb02d0fa15b76ca816d8414d532a687ebeb
https://github.com/llvm/llvm-project/commit/1c025fb02d0fa15b76ca816d8414d532a687ebeb
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUSplitModule.cpp
M llvm/test/tools/llvm-split/AMDGPU/address-taken-externalize-with-call.ll
M llvm/test/tools/llvm-split/AMDGPU/address-taken-externalize.ll
A llvm/test/tools/llvm-split/AMDGPU/debug-non-kernel-root.ll
M llvm/test/tools/llvm-split/AMDGPU/large-kernels-merging.ll
A llvm/test/tools/llvm-split/AMDGPU/non-kernels-dependencies.ll
A llvm/test/tools/llvm-split/AMDGPU/non-kernels-dependency-indirect.ll
Log Message:
-----------
[AMDGPU][SplitModule] Allow non-kernels to be treated as roots (#95902)
I initially assumed only kernels could be roots, but that is wrong. A
function with no callers also needs to be a root to ensure it is
correctly handled.
They're very rare because we usually internalize everything, and
internal functions with no callers would be deleted.
When they are present, we need to also consider their dependencies and
act accordingly. Previously, we could put a function "by default" in P0,
but it could call another function with internal linkage defined in
another module which was of course incorrect.
Fixes SWDEV-467695
Commit: 599ca7165edcf7d226bd658c450801044b46ce7c
https://github.com/llvm/llvm-project/commit/599ca7165edcf7d226bd658c450801044b46ce7c
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/include/lldb/lldb-private-enumerations.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
M lldb/source/Symbol/Type.cpp
M lldb/test/Shell/SymbolFile/DWARF/clang-gmodules-type-lookup.c
M lldb/test/Shell/SymbolFile/DWARF/x86/compilercontext.ll
M lldb/test/Shell/SymbolFile/DWARF/x86/find-basic-function.cpp
M lldb/test/Shell/SymbolFile/DWARF/x86/module-ownership.mm
M lldb/tools/lldb-test/lldb-test.cpp
M lldb/unittests/Symbol/TestType.cpp
M lldb/unittests/SymbolFile/DWARF/DWARFDIETest.cpp
Log Message:
-----------
[lldb] Merge CompilerContextKind::{Class,Struct} (#96145)
Our dwarf parsing code treats structures and classes as interchangable.
CompilerContextKind is used when looking DIEs for types. This makes sure
we always they're treated the same way.
See also
[#95905#discussion_r1645686628](https://github.com/llvm/llvm-project/pull/95905#discussion_r1645686628).
Commit: c43d5f540fd43409e7997c9fec97a1d415855b7c
https://github.com/llvm/llvm-project/commit/c43d5f540fd43409e7997c9fec97a1d415855b7c
Author: Balázs Kéri <balazs.keri at ericsson.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/PointerSubChecker.cpp
M clang/test/Analysis/casts.c
A clang/test/Analysis/pointer-sub-notes.c
M clang/test/Analysis/pointer-sub.c
Log Message:
-----------
[clang][analyzer] Add notes to PointerSubChecker (#95899)
Notes are added to indicate the array declarations of the arrays in a
found invalid pointer subtraction.
Commit: c2fc7f75f67039bb1ed577bc0edbd699a850cd9d
https://github.com/llvm/llvm-project/commit/c2fc7f75f67039bb1ed577bc0edbd699a850cd9d
Author: vg0204 <Vikash.Gupta at amd.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
M llvm/test/CodeGen/AMDGPU/preserve-wwm-copy-dst-reg.ll
M llvm/test/CodeGen/AMDGPU/sgpr-regalloc-flags.ll
M llvm/test/CodeGen/AMDGPU/si-lower-sgpr-spills-vgpr-lanes-usage.mir
M llvm/test/CodeGen/AMDGPU/spill-scavenge-offset.ll
Log Message:
-----------
Revert "[AMDGPU]Optimize SGPR spills (#93668)"
This reverts commit 4b9112e88a998ce620e4683548f2afd17cc5fe95. A separate
issue(#96353) describing it has been opened to further keep its track.
Commit: f0c674f680e3e3301c7ccd429400690b128172c5
https://github.com/llvm/llvm-project/commit/f0c674f680e3e3301c7ccd429400690b128172c5
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
A llvm/test/Transforms/LoopVectorize/RISCV/only-compute-cost-for-vplan-vfs.ll
Log Message:
-----------
[LV] Add test showing cost is computed when there are no vector plans.
Add test showing unnecessary cost computations, as no vector VPlans are
generated.
Commit: 45a7af7c993f66044a8492dce1d073380feafffc
https://github.com/llvm/llvm-project/commit/45a7af7c993f66044a8492dce1d073380feafffc
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Basic/Targets/X86.cpp
M clang/test/Driver/x86-target-features.c
M clang/test/Preprocessor/x86_target_features.c
Log Message:
-----------
[X86][Driver] Enable feature cf for -mapxf
This is follow-up for #78901 after validation.
Commit: 9931ee61d99c101db653ae21706f1edce4b39781
https://github.com/llvm/llvm-project/commit/9931ee61d99c101db653ae21706f1edce4b39781
Author: Cullen Rhodes <cullen.rhodes at arm.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/LowerVectorGather.cpp
M mlir/test/Dialect/Vector/vector-gather-lowering.mlir
Log Message:
-----------
[mlir][vector] Fix FlattenGather for scalable vectors (#96074)
This pattern flattens vector.gather ops by unrolling the outermost
dimension for rank > 2 vectors. There's two issues with this pattern for
scalable vectors:
1. The unrolling doesn't take vscale into account. A constraint is
added to disable this pattern for vectors with leading scalable
dims.
2. The scalable dims are dropped when creating the new gather. Fixed
by propagating the flags.
Depends on #96049.
Commit: abf5969f76c6b4196b08fe5ea9c2890e97a61357
https://github.com/llvm/llvm-project/commit/abf5969f76c6b4196b08fe5ea9c2890e97a61357
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/RISCV/only-compute-cost-for-vplan-vfs.ll
Log Message:
-----------
[VPlan] Don't compute costs if there are no vector VPlans.
In some cases, no vector VPlans can be constructed due to failing VPlan
legality checks (e.g. unable to perform sinking for first order
recurrences or plans being incompatible with EVL).
There's no need to compute costs in those cases, so check directly if
there are no vector plans.
Commit: 957dc4366dd2ce9d5d2991c3ad76bbf438e9954e
https://github.com/llvm/llvm-project/commit/957dc4366dd2ce9d5d2991c3ad76bbf438e9954e
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/PassInstrumentation.h
M llvm/include/llvm/Passes/TargetPassRegistry.inc
M llvm/include/llvm/Target/TargetMachine.h
M llvm/lib/IR/PassInstrumentation.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.h
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
M llvm/lib/Target/BPF/BPFTargetMachine.cpp
M llvm/lib/Target/BPF/BPFTargetMachine.h
M llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
M llvm/lib/Target/Hexagon/HexagonTargetMachine.h
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.h
M llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
M llvm/lib/Target/X86/X86TargetMachine.h
Log Message:
-----------
[IR] Lazily initialize the class to pass name mapping (NFC) (#96321)
Initializing this map is somewhat expensive (especially for O0), so we
currently only do it if certain flags are used. I would like to make use
of it for crash dumps (#96078), where we don't know in advance whether
it will be needed or not.
This patch changes the initialization to a lazy approach, where a
callback is registered that does the actual initialization. The
callbacks will be run the first time the pass name is requested.
This way there is no compile-time impact if the mapping is not used.
Commit: 57f79371a5c08e1328e85b68b757cd5547f2bf62
https://github.com/llvm/llvm-project/commit/57f79371a5c08e1328e85b68b757cd5547f2bf62
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
M llvm/lib/Target/SPIRV/SPIRVCommandLine.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
M llvm/lib/Target/SPIRV/SPIRVInstrInfo.td
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
M llvm/lib/Target/SPIRV/SPIRVSymbolicOperands.td
A llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_cooperative_matrix/cooperative_matrix.ll
A llvm/test/CodeGen/SPIRV/transcoding/OpPtrCastToGeneric.ll
Log Message:
-----------
[SPIR-V]: Add SPIR-V extension: SPV_KHR_cooperative_matrix (#96091)
This PR adds SPIR-V extension SPV_KHR_cooperative_matrix that "adds a
new set of types known as "cooperative matrix" types, where the storage
for and computations performed on the matrix are spread across a set of
invocations such as a subgroup" (see
https://github.com/KhronosGroup/SPIRV-Registry/blob/main/extensions/KHR/SPV_KHR_cooperative_matrix.asciidoc).
This PR also fixes https://github.com/llvm/llvm-project/issues/96170, a
new test cases is attached
(llvm/test/CodeGen/SPIRV/transcoding/OpPtrCastToGeneric.ll).
Commit: 790f931886a03324714f31a626eef7e9c609ae97
https://github.com/llvm/llvm-project/commit/790f931886a03324714f31a626eef7e9c609ae97
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/AST/ASTContext.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaLookup.cpp
M clang/lib/Sema/SemaModule.cpp
Log Message:
-----------
[NFC] [Modules] Extract the logic to decide whether the module units belongs to the same module
This patch extracts the logci to decide how we decide the module units
belongs to the same module into a member function of ASTContext. This is
helpful to refactor the implementation in the future.
Commit: e7137f2fed5cfee822ae3c4c6d39188adb59a16c
https://github.com/llvm/llvm-project/commit/e7137f2fed5cfee822ae3c4c6d39188adb59a16c
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/include/llvm/Passes/TargetPassRegistry.inc
Log Message:
-----------
[Passes] Try to fix build on windows
Some passes reference *this (inside decltype) which fails with
MSVC. Fix this by not explicitly specifying the captures (otherwise
we would get an unused lambda capture warning for cases where this
is *not* used).
Commit: 6eaf204dbb0a6a81cddfd02f625c130f7bb1aae5
https://github.com/llvm/llvm-project/commit/6eaf204dbb0a6a81cddfd02f625c130f7bb1aae5
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
M llvm/lib/Target/DirectX/DirectXTargetMachine.h
Log Message:
-----------
[DirectX] Fix DirectXTargetMachine after #96321
Commit: 33676ba543737f8e286e28a9cae81a848bdd3f09
https://github.com/llvm/llvm-project/commit/33676ba543737f8e286e28a9cae81a848bdd3f09
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeEmitter.h
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/lib/AST/Interp/EvalEmitter.h
M clang/test/AST/Interp/c.c
Log Message:
-----------
[clang][Interp] Fix variable initialization in inactive regions
When the EvalEmitter is inactive, it will simply not evaluate
any of the operations we emit via emit*. However, it will still
allocate variables. So the variables will be allocated, but we
won't evaluate their initializer, so later when we see the variable
again, it is uninitialized.
Stop creating variables in that case.
Commit: 73cf014223fed1947f725f7debcf19b8f54448b5
https://github.com/llvm/llvm-project/commit/73cf014223fed1947f725f7debcf19b8f54448b5
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M flang/include/flang/Evaluate/characteristics.h
M flang/include/flang/Evaluate/shape.h
M flang/lib/Evaluate/characteristics.cpp
M flang/lib/Evaluate/check-expression.cpp
M flang/lib/Evaluate/shape.cpp
M flang/lib/Lower/CallInterface.cpp
M flang/lib/Semantics/check-call.cpp
M flang/lib/Semantics/check-declarations.cpp
M flang/lib/Semantics/pointer-assignment.cpp
M flang/lib/Semantics/runtime-type-info.cpp
M flang/test/Evaluate/rewrite06.f90
Log Message:
-----------
[flang] harden TypeAndShape for assumed-ranks (#96234)
SIZEOF and C_SIZEOF were broken for assumed-ranks because
`TypeAndShape::MeasureSizeInBytes` behaved as a scalar because the
`TypeAndShape::shape_` member was the same for scalar and assumed-ranks.
The easy fix would have been to add special handling in
`MeasureSizeInBytes` for assumed-ranks using the TypeAndShape
attributes, but I think this solution would leave `TypeAndShape::shape_`
manipulation fragile to future developers. Hence, I went for the
solution that turn shape_ into a `std::optional<Shape>`.
Commit: e5a41f0afc152cc24b8fef3aa177ef53b2e77c43
https://github.com/llvm/llvm-project/commit/e5a41f0afc152cc24b8fef3aa177ef53b2e77c43
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/PassInstrumentation.h
M llvm/include/llvm/Passes/TargetPassRegistry.inc
M llvm/include/llvm/Target/TargetMachine.h
M llvm/lib/IR/PassInstrumentation.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.h
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
M llvm/lib/Target/BPF/BPFTargetMachine.cpp
M llvm/lib/Target/BPF/BPFTargetMachine.h
M llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
M llvm/lib/Target/DirectX/DirectXTargetMachine.h
M llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
M llvm/lib/Target/Hexagon/HexagonTargetMachine.h
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.h
M llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
M llvm/lib/Target/X86/X86TargetMachine.h
Log Message:
-----------
Revert "[IR] Lazily initialize the class to pass name mapping (NFC) (#96321)"
My attempt to fix the Windows build made things worse,
revert entirely for now.
This reverts commit e7137f2fed5cfee822ae3c4c6d39188adb59a16c.
This reverts commit 6eaf204dbb0a6a81cddfd02f625c130f7bb1aae5.
This reverts commit 957dc4366dd2ce9d5d2991c3ad76bbf438e9954e.
Commit: 64796044f4152c49e4b3c797390a83dcfd33bd46
https://github.com/llvm/llvm-project/commit/64796044f4152c49e4b3c797390a83dcfd33bd46
Author: Tim Creech <timothy.m.creech at intel.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M libclc/CMakeLists.txt
M libclc/cmake/modules/AddLibclc.cmake
Log Message:
-----------
[CMake][libclc] Improve dependencies to avoid build errors (#95018)
With the Makefile generator and particularly high build parallelism some
intermediate dependencies may be generated redundantly and concurrently,
leading to build failures.
To fix this, arrange for libclc's add_custom_commands to depend on
targets in addition to files.
This follows CMake documentation's[^1] guidance on add_custom_command:
> Do not list the output in more than one independent target that may
> build in parallel or the instances of the rule may conflict. Instead,
> use the add_custom_target() command to drive the command and make the
> other targets depend on that one.
Eliminating the redundant commands also improves build times.
[^1]: https://cmake.org/cmake/help/v3.29/command/add_custom_command.html
Commit: 090e0c4f50ec39df2beafd98d0556f23e82f4bcd
https://github.com/llvm/llvm-project/commit/090e0c4f50ec39df2beafd98d0556f23e82f4bcd
Author: Ben Shi <2283975856 at qq.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/AVR/AVRInstrInfo.td
Log Message:
-----------
[AVR][NFC] Improve format of target description files (#96449)
Commit: 2232881736f1a7e3e94ee1123dea1b6cd85a9c3a
https://github.com/llvm/llvm-project/commit/2232881736f1a7e3e94ee1123dea1b6cd85a9c3a
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/AST/ASTContext.h
M clang/lib/AST/ASTContext.cpp
Log Message:
-----------
[C++20] [Modules] Avoid comparing primary module name to decide isInSameModule all the time
Previously, we decide if two module units are in the same module by
comparing name of the primary module interface. But it looks not
efficiency if we always compare the strings. It should be good to
avoid the expensive string operations if possible.
In this patch, we introduced a `llvm::StringMap` to map primary module
name to a Module* and a `llvm::DenseMap<Module*, Module*>` to map a
Module* to a representative Module *. The representative Module* is one
of the Module units belonging to a certain module. The module units have the
same representative Module* should belong to the same module.
We choose the representative Module* by the first module lookup for a
certain primary module name. So the following module units have the same
primary module name would get the same representative modules. So that
for every modules, there will be only one hash process for the primary
module name.
Commit: 3b6462c5b5b38c2f329a2bf97734196610cb4a35
https://github.com/llvm/llvm-project/commit/3b6462c5b5b38c2f329a2bf97734196610cb4a35
Author: Adrian Kuegel <akuegel at google.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Mesh/Interfaces/ShardingInterface.cpp
Log Message:
-----------
[mlir] Apply ClangTidy fixes
Prefer to check .empty() instead of .size() == 0
Commit: 2151ba036213705346553e759fc4e095547989d1
https://github.com/llvm/llvm-project/commit/2151ba036213705346553e759fc4e095547989d1
Author: A. Jiang <de34 at live.cn>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/www/cxx_status.html
Log Message:
-----------
[Docs][Clang] Missing DR status for C++23-era papers in cxx_status.html (#68846)
List the following C++23-era WG21 papers as Defect Reports in
cxx_status.html as per WG21 meeting minutes.
- [P1949R7](https://wg21.link/p1949r7) (C++ Identifier Syntax using
Unicode Standard Annex 31)
- [P2156R1](https://wg21.link/p2156r1) (Allow Duplicate Attributes)
- [P2036R3](https://wg21.link/p2036r3) (Change scope of lambda
_trailing-return-type_)
- [P2468R2](https://wg21.link/p2468r2) (The Equality Operator You Are
Looking For)
- [P2327R1](https://wg21.link/p2327r1) (De-deprecating `volatile`
compound operations)
- [P2493R0](https://wg21.link/p2493r0) (Missing feature test macros for
C++20 core papers)
- [P2513R3](https://wg21.link/p2513r3) (`char8_t` Compatibility and
Portability Fix)
- [P2460R2](https://wg21.link/p2460r2) (Relax requirements on `wchar_t`
to match existing practices)
- [P2579R0](https://wg21.link/p2579r0) (Mitigation strategies for
[P2036](https://wg21.link/p2036) ”Changing scope for lambda
_trailing-return-type_”)
Commit: 137a7451f458cf7d8e1d88df93dbd8da6888886d
https://github.com/llvm/llvm-project/commit/137a7451f458cf7d8e1d88df93dbd8da6888886d
Author: Mubashar Ahmad <mubashar.ahmad at arm.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp
M mlir/test/Dialect/Vector/vector-rewrite-narrow-types.mlir
Log Message:
-----------
[mlir][vector] Support n-D vectors in i8 to i4 trunci emulation (#94946)
Previously, this only supported 1-D vectors via vector.shuffle, with
the new vector.deinterleave this can be updated to support n-D vectors.
Commit: b0bc2f691254adae7042052b8aff6aa728fd6a2d
https://github.com/llvm/llvm-project/commit/b0bc2f691254adae7042052b8aff6aa728fd6a2d
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Target/LLVMIR/openmp-private.mlir
Log Message:
-----------
[OpenMP][LLVM] Fix access to reduction args of `omp.parallel`. (#96426)
Fix for Fujitsu test suite test: 0275_0032.f90. The MLIR to LLVM
translation logic assumed that reduction arguments to an `omp.parallel`
op are always the last set of arguments to the op. However, this is a
wrong assumption since private args come afterward.
Commit: f8ff9094711b74d3f695f7571f6390f8a481fc52
https://github.com/llvm/llvm-project/commit/f8ff9094711b74d3f695f7571f6390f8a481fc52
Author: Guray Ozen <guray.ozen at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/include/mlir-c/Dialect/GPU.h
M mlir/lib/Bindings/Python/DialectGPU.cpp
M mlir/lib/CAPI/Dialect/GPU.cpp
M mlir/test/Examples/NVGPU/Ch1.py
M mlir/test/Examples/NVGPU/Ch2.py
M mlir/test/Examples/NVGPU/Ch3.py
M mlir/test/Examples/NVGPU/Ch4.py
M mlir/test/Examples/NVGPU/Ch5.py
M mlir/test/Integration/GPU/CUDA/sm90/python/tools/matmulBuilder.py
Log Message:
-----------
[mlir][gpu] Add py binding for AsyncTokenType (#96466)
The PR adds py binding for `AsyncTokenType`
Commit: dfbfb6c5c6dba8a25c7a9769e969d56ba19fc14d
https://github.com/llvm/llvm-project/commit/dfbfb6c5c6dba8a25c7a9769e969d56ba19fc14d
Author: Ilya Biryukov <ibiryukov at google.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/Basic/SourceManager.h
M clang/lib/Basic/SourceManager.cpp
Log Message:
-----------
[SourceManager] Expose max usage of source location space as a Statistic (#96292)
We have been running into source location exhaustion recently and want
to use the statistics to monitor the usage in various files to be able
to anticipate where the next problem will happen.
I picked `Statistic` because it can be written into a structured JSON
file and is easier to consume by further automation.
This commit does not change any existing per-source-manager metrics
exposed via `SourceManager::PrintStats()`. This does create some
redundancy, but I also expect to be non-controversial because it aligns
with the intended use of `Statistic`.
Commit: 738533c84aeb56fff94b19c71714f54ae91c3670
https://github.com/llvm/llvm-project/commit/738533c84aeb56fff94b19c71714f54ae91c3670
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
M llvm/test/Transforms/LoopVectorize/AArch64/sme-vectorize.ll
Log Message:
-----------
[AArch64] Consider streaming mode in TTI interfaces for vectorization. (#96305)
At the moment, vectorization is only enabled in streaming(-compatible)
mode when enabled through an option. But the interfaces should check
more than just 'hasSVE()', because a function with +sme in streaming
mode should also vectorize with the option enabled.
Additionally, a streaming-compatible function should only be able to use
fixed-length autovec if SVE is available, otherwise the vector code will
be scalarised by the backend.
Commit: 1b64ed0e0c7fde1b65d55bfb7954beadc0f60e28
https://github.com/llvm/llvm-project/commit/1b64ed0e0c7fde1b65d55bfb7954beadc0f60e28
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/ArmSME/Transforms/Passes.td
M mlir/lib/Dialect/ArmSME/Transforms/EnableArmStreaming.cpp
M mlir/test/Dialect/ArmSME/enable-arm-streaming-invalid.mlir
M mlir/test/Dialect/ArmSME/enable-arm-streaming.mlir
Log Message:
-----------
[mlir][ArmSME] Disallow streaming mode for gathers/scatters (#96209)
Ideally, this would be based on target information (but we don't really
have that), so this currently errs on the side of caution. If possible
gathers/scatters should be lowered regular vector loads/stores before
using invoking enable-arm-streaming.
Commit: fd5a177ccb56ec2dbe1a313db54072f450aa1c29
https://github.com/llvm/llvm-project/commit/fd5a177ccb56ec2dbe1a313db54072f450aa1c29
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
R llvm/test/CodeGen/X86/clz.ll
A llvm/test/CodeGen/X86/ctlz.ll
Log Message:
-----------
[X86] Rename clz.ll -> ctlz.ll to match the intrinsic naming
I'll be splitting the ctlz/cttz tests into separate test files shortly
Commit: 145f36c2aa4ec9c4dc02699579c10e754a797997
https://github.com/llvm/llvm-project/commit/145f36c2aa4ec9c4dc02699579c10e754a797997
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/ctlz.ll
A llvm/test/CodeGen/X86/cttz.ll
Log Message:
-----------
[X86] Split scalar ctlz/cttz tests into their own files
Commit: 53e577add0fb25e335d73376a906da7321182261
https://github.com/llvm/llvm-project/commit/53e577add0fb25e335d73376a906da7321182261
Author: Thomas Preud'homme <thomas.preudhomme at arm.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/Utils/Utils.h
Log Message:
-----------
Remove reference to removed method. (#96315)
Methodes were removed in dc37dc824aabbbe3d029519f43f0b348dcad7027.
Commit: 5a997c1d83845cd891c1e4662cb7ddb02c1eaecc
https://github.com/llvm/llvm-project/commit/5a997c1d83845cd891c1e4662cb7ddb02c1eaecc
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
A llvm/test/CodeGen/X86/ctlo.ll
Log Message:
-----------
[X86] Add count leading ones test coverage based on #96455
Commit: f03cb005eb4ba3c6fb645aca2228e907db8cd452
https://github.com/llvm/llvm-project/commit/f03cb005eb4ba3c6fb645aca2228e907db8cd452
Author: Doug Wyatt <doug at sonosphere.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/AbstractBasicReader.h
M clang/include/clang/AST/AbstractBasicWriter.h
M clang/include/clang/AST/Decl.h
M clang/include/clang/AST/PropertiesBase.td
M clang/include/clang/AST/Type.h
M clang/include/clang/AST/TypeProperties.td
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Sema/Sema.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/Type.cpp
M clang/lib/AST/TypePrinter.cpp
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Sema/SemaOverload.cpp
M clang/lib/Sema/SemaType.cpp
M clang/lib/Sema/TreeTransform.h
A clang/test/Sema/attr-nonblocking-sema.c
A clang/test/Sema/attr-nonblocking-sema.cpp
A clang/test/Sema/attr-nonblocking-syntax.cpp
Log Message:
-----------
[Clang] Introduce `nonblocking`/`nonallocating` attributes (#84983)
Introduce `nonblocking` and `nonallocating` attributes. RFC is here:
https://discourse.llvm.org/t/rfc-nolock-and-noalloc-attributes/76837
This PR introduces the attributes, with some changes in Sema to deal
with them as extensions to function (proto)types.
There are some basic type checks, most importantly, a warning when
trying to spoof the attribute (implicitly convert a function without the
attribute to one that has it).
A second, follow-on pull request will introduce new caller/callee
verification.
---------
Co-authored-by: Doug Wyatt <dwyatt at apple.com>
Co-authored-by: Shafik Yaghmour <shafik.yaghmour at intel.com>
Co-authored-by: Aaron Ballman <aaron at aaronballman.com>
Co-authored-by: Sirraide <aeternalmail at gmail.com>
Commit: a66900be7507eb0c68a6eff1e945e1823507d3e0
https://github.com/llvm/llvm-project/commit/a66900be7507eb0c68a6eff1e945e1823507d3e0
Author: Luke Lau <luke at igalia.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Log Message:
-----------
[RISCV] Pretty print AVL register in VSETVLIInfo::dump. NFC
Currently the AVLReg is printed raw like {AVLReg=2147483668, ...}, this
changes it to {AVLReg=%20, ...} which should be easier to read.
Commit: 3d8079229e7571a5912e880bf7a960d809c8ee96
https://github.com/llvm/llvm-project/commit/3d8079229e7571a5912e880bf7a960d809c8ee96
Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/test/CodeGen/aarch64-mixed-target-attributes.c
M clang/test/CodeGen/attr-target-clones-aarch64.c
M clang/test/CodeGen/attr-target-version.c
M clang/test/CodeGenCXX/attr-target-clones-aarch64.cpp
M clang/test/CodeGenCXX/attr-target-version.cpp
M clang/test/CodeGenCXX/fmv-namespace.cpp
Log Message:
-----------
[clang][AArch64][FMV] Stop emitting alias to ifunc. (#96221)
Long story short the interaction of two optimizations happening in
GlobalOpt results in a crash. For more details look at the issue
https://github.com/llvm/llvm-project/issues/96197. I will be fixing this
in GlobalOpt but it is a conservative solution since it won't allow us
to optimize resolvers which return a pointer to a function whose
definition is in another TU when compiling without LTO:
```
__attribute__((target_version("simd"))) void bar(void);
__attribute__((target_version("default"))) void bar(void);
int foo() { bar(); }
```
fixes: #96197
Commit: 4e6c8f1d30b8516fc7205bbcc97a78a728215512
https://github.com/llvm/llvm-project/commit/4e6c8f1d30b8516fc7205bbcc97a78a728215512
Author: Martin Storsjö <martin at martin.st>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/Frontend/InitPreprocessor.cpp
M clang/test/Preprocessor/predefined-win-macros.c
Log Message:
-----------
[clang] [MinGW] Set a predefined __GXX_TYPEINFO_EQUALITY_INLINE=0 for MinGW targets (#96062)
libstdc++ requires this define to match what is predefined in GCC for
the ABI of this platform; GCC hardcodes this define for all mingw
configurations in gcc/config/i386/cygming.h.
(It also defines __GXX_MERGED_TYPEINFO_NAMES=0, but that happens to
match the defaults in libstdc++ headers, so there's no similar need to
define it in Clang.)
This fixes a Clang/libstdc++ interop issue discussed at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110572.
Commit: 6b41de3605658069eb69b8684c2760e54bd1bea3
https://github.com/llvm/llvm-project/commit/6b41de3605658069eb69b8684c2760e54bd1bea3
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/InterpBuiltin.cpp
M clang/test/CodeGen/ptrauth-intrinsics.c
Log Message:
-----------
[clang][Interp] Implement ptrauth builtins
Commit: cc4ec6daf0d4f43110e8220d542c1155b8c1ef51
https://github.com/llvm/llvm-project/commit/cc4ec6daf0d4f43110e8220d542c1155b8c1ef51
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/test/Modules/no-eager-load.cppm
A clang/test/Modules/same-decl-in-different-modules.cppm
Log Message:
-----------
[C++20] [Modules] Diagnose redeclarations from different modules
[basic.link]/p10:
> If two declarations of an entity are attached to different modules,
> the program is ill-formed
But we only implemented the check for ODR. In this patch, we tried to
diagnose the redeclarations from different modules.
Commit: 17e51d5fc79fc1c9a2a33c13eb02cfbd70c9a221
https://github.com/llvm/llvm-project/commit/17e51d5fc79fc1c9a2a33c13eb02cfbd70c9a221
Author: Andarwinux <144242044+Andarwinux at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
Log Message:
-----------
[Driver] Add winsysroot alias to the GNU driver (#95320)
fixes #91216
Commit: 689c5c48294451461b936be2ea30444ecaf39182
https://github.com/llvm/llvm-project/commit/689c5c48294451461b936be2ea30444ecaf39182
Author: Mariusz Sikora <mariusz.sikora at amd.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPU.td
M llvm/test/CodeGen/AMDGPU/llvm.maximum.f64.ll
M llvm/test/CodeGen/AMDGPU/llvm.minimum.f64.ll
M llvm/test/CodeGen/AMDGPU/load-constant-i1.ll
M llvm/test/CodeGen/AMDGPU/load-constant-i16.ll
M llvm/test/CodeGen/AMDGPU/load-constant-i8.ll
M llvm/test/CodeGen/AMDGPU/occupancy-levels.ll
Log Message:
-----------
[AMDGPU] Set total VGPRs to 1536 for gfx12 (#96272)
- Use Feature1_5xVGPRs
Commit: 41a4db1ba6591169069dd2352e00364d9113fbeb
https://github.com/llvm/llvm-project/commit/41a4db1ba6591169069dd2352e00364d9113fbeb
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Log Message:
-----------
[lldb/DWARF] Optimize DIEToType handling (#96308)
- move type insertion from individual parse methods into
ParseTypeFromDWARF
- optimize sentinel (TYPE_IS_BEING_PARSED) insertion to avoid double map
lookup
- as this requires the map to not have nullptr values, I've replaced all
`operator[]` queries with calls to `lookup`.
Commit: 9298e40f46e07bb348e310236c1b2f0359a224dc
https://github.com/llvm/llvm-project/commit/9298e40f46e07bb348e310236c1b2f0359a224dc
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/tailcc-ssp.ll
Log Message:
-----------
[X86] tailcc-ssp.ll - regenerate test checks to simplify diff for #95904
Commit: 284fbf91663b737be2ffb4785ad819c75d22797e
https://github.com/llvm/llvm-project/commit/284fbf91663b737be2ffb4785ad819c75d22797e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/stack-protector-msvc.ll
Log Message:
-----------
[X86] stack-protector-msvc.ll - regenerate test checks to simplify diff for #95904
Commit: efab4a380f36dcd23561633f8bba484036c500f3
https://github.com/llvm/llvm-project/commit/efab4a380f36dcd23561633f8bba484036c500f3
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaType.cpp
Log Message:
-----------
[Sema] Fix -Wunused-variable in SemaType.cpp (NFC)
/llvm-project/clang/lib/Sema/SemaType.cpp:7625:8:
error: unused variable 'Success' [-Werror,-Wunused-variable]
bool Success = FX.insert(NewEC, Errs);
^
1 error generated.
Commit: 9cd6ef4b8a5c843ef491437c765d4cb2ff2f8fe3
https://github.com/llvm/llvm-project/commit/9cd6ef4b8a5c843ef491437c765d4cb2ff2f8fe3
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/test/Driver/riscv-arch.c
M clang/test/Preprocessor/riscv-target-features.c
M llvm/docs/RISCVUsage.rst
M llvm/docs/ReleaseNotes.rst
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/test/CodeGen/RISCV/GlobalISel/atomic-fence.ll
M llvm/test/CodeGen/RISCV/atomic-cmpxchg.ll
M llvm/test/CodeGen/RISCV/atomic-fence.ll
M llvm/test/CodeGen/RISCV/atomic-load-store.ll
M llvm/test/CodeGen/RISCV/atomic-rmw.ll
M llvm/test/CodeGen/RISCV/atomicrmw-uinc-udec-wrap.ll
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/CodeGen/RISCV/module-elf-flags.ll
M llvm/test/MC/RISCV/Ztso.s
M llvm/test/MC/RISCV/attribute-arch.s
M llvm/test/MC/RISCV/elf-flags.s
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Remove experimental from Ztso. (#96465)
Ztso 1.0 was ratified in January 2023.
Documentation:
https://github.com/riscv/riscv-isa-manual/blob/main/src/ztso-st-ext.adoc
Commit: c053ec95f7e66ff212c8a867426cc7275a4dace6
https://github.com/llvm/llvm-project/commit/c053ec95f7e66ff212c8a867426cc7275a4dace6
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/test/API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py
Log Message:
-----------
[lldb] Fix TestDAP_runInTerminal for #96256
change the expected error msg.
Commit: b8979c6b13e9d4cb5051dd6f8ca772a20b14b428
https://github.com/llvm/llvm-project/commit/b8979c6b13e9d4cb5051dd6f8ca772a20b14b428
Author: Kamau Bridgeman <kamau.bridgeman.ibm at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/Basic/Targets/PPC.h
A clang/test/CodeGen/PowerPC/inline-asm-constraints-error.c
Log Message:
-----------
[PPC][InlineASM] Mark the 'a' constraint as unsupported (#96109)
'a' is an input/output constraint for restraining assembly variables
to an indexed or indirect address operand. It previously was marked
as supported but would throw an assertion for unknown constraint type
in the back-end when this test case was compiled. This change marks it
as unsupported until we can add full support for address operands
constraining to the compiler code generation.
Commit: 6e3725d7f290d0180e8b5cfe073d0cc4c9bbafd0
https://github.com/llvm/llvm-project/commit/6e3725d7f290d0180e8b5cfe073d0cc4c9bbafd0
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
Log Message:
-----------
[IndVars] Make pushIVUsers() a member function (NFC)
Make it easier to access additional state from it.
Commit: 0cf1e662b13fb20d3897c5b9055c60b0de50beca
https://github.com/llvm/llvm-project/commit/0cf1e662b13fb20d3897c5b9055c60b0de50beca
Author: Jan Voung <jvoung at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGDecl.cpp
M clang/test/CodeGenCXX/auto-var-init-max-size.cpp
M clang/test/CodeGenCXX/auto-var-init-stop-after.cpp
M clang/test/CodeGenCXX/auto-var-init.cpp
A clang/test/CodeGenCXX/trivial-auto-var-init-skip-scalar-with-nonconst-init.cpp
Log Message:
-----------
[clang] Skip auto-init on scalar vars that have a non-constant Init and no self-ref (#94642)
In that scalar case, the Init should initialize the auto var before use. The Init might use uninitialized memory from other sources (e.g., heap) but auto-init did not help us in that case because the auto-init would have been overwritten by the Init before use.
For non-scalars e.g., classes, the Init expr might be a ctor call that leaves uninitialized members, so we leave the auto-init there.
The motivation is to have less IR for the optimizer to later remove, which may not be until a fairly late pass (DSE) or may not get optimized in lower optimization levels like O1 (no DSE) or sometimes due to derefinement.
This is ~10% less left-over auto-init in O1 in a few examples checked.
Commit: 5cd0ba30f53d11835dbfd05ad4071d397387fb04
https://github.com/llvm/llvm-project/commit/5cd0ba30f53d11835dbfd05ad4071d397387fb04
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/PassInstrumentation.h
M llvm/include/llvm/Passes/TargetPassRegistry.inc
M llvm/include/llvm/Target/TargetMachine.h
M llvm/lib/IR/PassInstrumentation.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.h
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
M llvm/lib/Target/BPF/BPFTargetMachine.cpp
M llvm/lib/Target/BPF/BPFTargetMachine.h
M llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
M llvm/lib/Target/DirectX/DirectXTargetMachine.h
M llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
M llvm/lib/Target/Hexagon/HexagonTargetMachine.h
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.h
M llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
M llvm/lib/Target/X86/X86TargetMachine.h
Log Message:
-----------
Reapply [IR] Lazily initialize the class to pass name mapping (NFC) (#96321) (#96462)
On MSVC the `this` uses inside `decltype` require a lambda capture. On
clang they result in an unused capture warning instead. Add the capture
and suppress the warning with `(void)this`.
-----
Initializing this map is somewhat expensive (especially for O0), so we
currently only do it if certain flags are used. I would like to make use
of it for crash dumps (#96078), where we don't know in advance whether
it will be needed or not.
This patch changes the initialization to a lazy approach, where a
callback is registered that does the actual initialization. The
callbacks will be run the first time the pass name is requested.
This way there is no compile-time impact if the mapping is not used.
Commit: c1bde0a2cb640b3607e9568b9a57b292e1f82666
https://github.com/llvm/llvm-project/commit/c1bde0a2cb640b3607e9568b9a57b292e1f82666
Author: Dan McArdle <zingermc at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/docs/ThreadSafetyAnalysis.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Sema/ParsedAttr.h
M clang/lib/Analysis/ThreadSafety.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/test/Sema/attr-capabilities.c
M clang/test/SemaCXX/warn-thread-safety-analysis.cpp
M clang/test/SemaCXX/warn-thread-safety-parsing.cpp
M clang/unittests/AST/ASTImporterTest.cpp
Log Message:
-----------
[clang][ThreadSafety] Check trylock function success and return types (#95290)
With this change, Clang will generate errors when trylock functions have
improper return types. Today, it silently fails to apply the trylock
attribute to these functions which may incorrectly lead users to believe
they have correctly acquired locks before accessing guarded data.
As a side effect of explicitly checking the success argument type, I
seem to have fixed a false negative in the analysis that could occur
when a trylock's success argument is an enumerator. I've added a
regression test to warn-thread-safety-analysis.cpp named
`TrylockSuccessEnumFalseNegative`.
This change also improves the documentation with descriptions of of the
subtle gotchas that arise from the analysis interpreting the success arg
as a boolean.
Issue #92408
Commit: 3ff680a1a57d74a5c94d3da35594a8046a879888
https://github.com/llvm/llvm-project/commit/3ff680a1a57d74a5c94d3da35594a8046a879888
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
A clang/test/C/C11/n1285.c
M clang/www/c_status.html
Log Message:
-----------
[C11] Claim we do not conform to WG14 N1285 yet
This also updates the status for C11 to be Partial, and because C17 is
C11 plus DR resolutions, that makes C17 also Partial.
Commit: ae1c564d1522f1202d05b698dce8d9c8ca46667c
https://github.com/llvm/llvm-project/commit/ae1c564d1522f1202d05b698dce8d9c8ca46667c
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/Sema/ptrauth.c
Log Message:
-----------
[clang][Interp] Cast dummy pointers to other pointer type if necessary
Commit: 605e18479c8ee272759f2f52fc5259bfb8af7085
https://github.com/llvm/llvm-project/commit/605e18479c8ee272759f2f52fc5259bfb8af7085
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Analysis/VectorUtils.cpp
Log Message:
-----------
[VectorUtils] Use poison instead of undef in findScalarElement()
Out-of-range extractelement returns poison, and so do poison elements
in the shufflevector mask.
Commit: 9b8c3c687163931eee69c718c9d83a7fe6bc6f57
https://github.com/llvm/llvm-project/commit/9b8c3c687163931eee69c718c9d83a7fe6bc6f57
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
Log Message:
-----------
[InstSimplify] Use poison instead of undef for unreachable inst
Commit: 29e0f046735010540fbdba4371dcd26f9e437650
https://github.com/llvm/llvm-project/commit/29e0f046735010540fbdba4371dcd26f9e437650
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C11] Remove WG14 N1353 from the list of papers to track
Only the first proposed changes in the paper were adopted, and that
wording was changing "operations" into "operators", which is purely an
editorial change.
Commit: 69d07465c5cb0194d15dfe75b058957fd6ab16c8
https://github.com/llvm/llvm-project/commit/69d07465c5cb0194d15dfe75b058957fd6ab16c8
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Analysis/Lint.cpp
Log Message:
-----------
[Lint] Use poison instead of undef for self-referential values
Commit: 6ecb9fd83d6015b19be8db554328645ae15e63e9
https://github.com/llvm/llvm-project/commit/6ecb9fd83d6015b19be8db554328645ae15e63e9
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C11] Remove WG14 N1382 from the list of papers to track
This paper proposes only changes to a footnote that had problematic
implications for ABI; the changes were purely editorial.
Commit: fc4b09d16139348533f1a1c9c72c99dacba51417
https://github.com/llvm/llvm-project/commit/fc4b09d16139348533f1a1c9c72c99dacba51417
Author: Kristóf Umann <dkszelethus at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/NoOwnershipChangeVisitor.cpp
M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
A clang/test/Analysis/stream-notes-missing-close.cpp
Log Message:
-----------
[analyzer] Add an ownership change visitor to StreamChecker (#94957)
This is very similar to https://reviews.llvm.org/D105553, in fact, I
barely made any changes from MallocChecker's ownership visitor to this
one.
The new visitor emits a diagnostic note for function where a change in
stream ownership was expected (for example, it had a fclose() call), but
the ownership remained unchanged. This is similar to messages regarding
ordinary values ("Returning without writing to x").
Commit: b6447260748086c0df484ec6609f126ae90e91ea
https://github.com/llvm/llvm-project/commit/b6447260748086c0df484ec6609f126ae90e91ea
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/test/CodeGen/PowerPC/inline-asm-constraints-error.c
Log Message:
-----------
[PPC][InlineASM] Don't write to source directory in test
Commit: 824113f7b1fe79e9e5258323a0fdfbf960ab315a
https://github.com/llvm/llvm-project/commit/824113f7b1fe79e9e5258323a0fdfbf960ab315a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/AsmParser/LLParser.cpp
Log Message:
-----------
[LLParser] Use poison instead of undef when cleaning up forward refs
Commit: 6258b5f610d51d37a79456d660b12c2d8e98500b
https://github.com/llvm/llvm-project/commit/6258b5f610d51d37a79456d660b12c2d8e98500b
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
Log Message:
-----------
[BitcodeReader] Use poison instead of undef for invalid instructions
Commit: 34026207c87116bd8e7fb0a464ea8db947f8239a
https://github.com/llvm/llvm-project/commit/34026207c87116bd8e7fb0a464ea8db947f8239a
Author: Dan McArdle <dmcardle at google.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/docs/ThreadSafetyAnalysis.rst
Log Message:
-----------
[clang][ThreadSafety] Fix code block syntax in ThreadSafetyAnalysis.rst (#96494)
Without a newline, documentation was failing to build with this error:
Warning, treated as error:
/home/runner/work/llvm-project/llvm-project/clang-build/tools/clang/docs/ThreadSafetyAnalysis.rst:466:Error
in "code-block" directive:
maximum 1 argument(s) allowed, 10 supplied.
Issue #92408
Commit: df9f4792f55d63d77f45786a6b3c0955d2180e9e
https://github.com/llvm/llvm-project/commit/df9f4792f55d63d77f45786a6b3c0955d2180e9e
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/IR/Instructions.cpp
Log Message:
-----------
[IR] Use poison instead of undef for self-referential phi
Commit: b012ab01cb39e440a38dad5d7dd71b419480264b
https://github.com/llvm/llvm-project/commit/b012ab01cb39e440a38dad5d7dd71b419480264b
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
A clang/test/C/C2x/n3033.c
A clang/test/C/C2x/n3033_2.c
M clang/www/c_status.html
Log Message:
-----------
[C23] Claim conformance to WG14 N3033
Clang has implemented __VA_OPT__ since Clang 12.
Commit: db9e9eabb7835bae4285a3f13c7cc7c985455e27
https://github.com/llvm/llvm-project/commit/db9e9eabb7835bae4285a3f13c7cc7c985455e27
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/IR/Instructions.cpp
Log Message:
-----------
[IR] Generate poison for all-poison scalable shufflevector mask
Ultimately doesn't matter because the bitcode reader interprets
undef and poison interchangeably in this context.
Commit: 10bd5ad0a133fe73ffc1b05e63bc3fb2d56ba79c
https://github.com/llvm/llvm-project/commit/10bd5ad0a133fe73ffc1b05e63bc3fb2d56ba79c
Author: Miro Bucko <mbucko at meta.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/bindings/python/python-typemaps.swig
M lldb/include/lldb/API/SBProcess.h
M lldb/include/lldb/Core/AddressRangeListImpl.h
M lldb/include/lldb/Target/Process.h
M lldb/source/API/SBProcess.cpp
M lldb/source/Target/Process.cpp
A lldb/test/API/python_api/find_in_memory/Makefile
A lldb/test/API/python_api/find_in_memory/TestFindInMemory.py
A lldb/test/API/python_api/find_in_memory/TestFindRangesInMemory.py
A lldb/test/API/python_api/find_in_memory/address_ranges_helper.py
A lldb/test/API/python_api/find_in_memory/main.cpp
Log Message:
-----------
[lldb][API] Add Find(Ranges)InMemory() to Process SB API (#95007)
Test Plan:
llvm-lit
llvm-project/lldb/test/API/python_api/find_in_memory/TestFindInMemory.py
llvm-project/lldb/test/API/python_api/find_in_memory/TestFindRangesInMemory.py
Reviewers: clayborg
Tasks: lldb
Commit: 13c1fec4716a93079311d2dff54c4ae977f8de67
https://github.com/llvm/llvm-project/commit/13c1fec4716a93079311d2dff54c4ae977f8de67
Author: Angel Zhang <angel.zhang at amd.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
A mlir/include/mlir/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.h
M mlir/include/mlir/Conversion/Passes.h
M mlir/include/mlir/Conversion/Passes.td
M mlir/lib/Conversion/CMakeLists.txt
A mlir/lib/Conversion/ConvertToSPIRV/CMakeLists.txt
A mlir/lib/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.cpp
A mlir/test/Conversion/ConvertToSPIRV/arith.mlir
A mlir/test/Conversion/ConvertToSPIRV/combined.mlir
A mlir/test/Conversion/ConvertToSPIRV/index.mlir
A mlir/test/Conversion/ConvertToSPIRV/scf.mlir
A mlir/test/Conversion/ConvertToSPIRV/simple.mlir
A mlir/test/Conversion/ConvertToSPIRV/ub.mlir
A mlir/test/Conversion/ConvertToSPIRV/vector.mlir
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
Reland "[mlir][spirv] Add a generic convert-to-spirv pass" (#96359)
This PR relands #95942, which was reverted in #96332 due to link
failures. It fixes the issue by updating CMake dependencies. The bazel
support, originally introduced in #96334, is also included in this PR.
---------
Co-authored-by: Keith Smiley <keithbsmiley at gmail.com>
Commit: 3e36dfafa0d11b2a5d7776d88f170c449116aa0e
https://github.com/llvm/llvm-project/commit/3e36dfafa0d11b2a5d7776d88f170c449116aa0e
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C23] Remove WG14 N2660 from the list of papers we track
This paper was a clarification paper that made no normative changes to
the wording, so we can lean on the C99 status for this.
Commit: b0efde6db0282c0a98aec04806d7b8ba29e19a1b
https://github.com/llvm/llvm-project/commit/b0efde6db0282c0a98aec04806d7b8ba29e19a1b
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
A llvm/test/CodeGen/SPIRV/const-array-in-struct.ll
A llvm/test/CodeGen/SPIRV/const-nested-vecs.ll
M llvm/test/CodeGen/SPIRV/opencl/image.ll
A llvm/test/CodeGen/SPIRV/pointers/global-zeroinitializer.ll
Log Message:
-----------
[SPIR-V]: Improve pattern matching to recognize a composite constant to be a constant (#96286)
This PR is to fix https://github.com/llvm/llvm-project/issues/96285 by:
* improve pattern matching to recognize an aggregate constant to be a
constant
* do not emit Bitcast for an aggregate type
Commit: f985a8826bfa4ca3d23e654185de35e30ea6dc79
https://github.com/llvm/llvm-project/commit/f985a8826bfa4ca3d23e654185de35e30ea6dc79
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/test/Driver/riscv-arch.c
M clang/test/Preprocessor/riscv-target-features.c
M llvm/docs/RISCVUsage.rst
M llvm/docs/ReleaseNotes.rst
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/test/CodeGen/RISCV/GlobalISel/atomic-fence.ll
M llvm/test/CodeGen/RISCV/atomic-cmpxchg.ll
M llvm/test/CodeGen/RISCV/atomic-fence.ll
M llvm/test/CodeGen/RISCV/atomic-load-store.ll
M llvm/test/CodeGen/RISCV/atomic-rmw.ll
M llvm/test/CodeGen/RISCV/atomicrmw-uinc-udec-wrap.ll
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/CodeGen/RISCV/module-elf-flags.ll
M llvm/test/MC/RISCV/Ztso.s
M llvm/test/MC/RISCV/attribute-arch.s
M llvm/test/MC/RISCV/elf-flags.s
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
Revert "[RISCV] Remove experimental from Ztso. (#96465)"
This reverts commit 9cd6ef4b8a5c843ef491437c765d4cb2ff2f8fe3. See
discussion on review thread.
Commit: b312cbf921422fc30615b1311b235a8cb31453d9
https://github.com/llvm/llvm-project/commit/b312cbf921422fc30615b1311b235a8cb31453d9
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/CGSCCPassManager.h
M llvm/lib/Analysis/CGSCCPassManager.cpp
Log Message:
-----------
[NFC][CGSCC] Remove RCWorklist from CGSCCUpdateResult (#95448)
After #94815, this is only used within
ModuleToPostOrderCGSCCPassAdaptor::run(), so keep it local to that
function.
Commit: 3602efa78ddc16f82c338358748b3a13b3859e24
https://github.com/llvm/llvm-project/commit/3602efa78ddc16f82c338358748b3a13b3859e24
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M flang/lib/Evaluate/check-expression.cpp
M flang/lib/Evaluate/tools.cpp
M flang/lib/Semantics/check-declarations.cpp
M flang/lib/Semantics/resolve-names.cpp
M flang/module/__fortran_builtins.f90
M flang/test/Semantics/c_loc01.f90
M flang/test/Semantics/call05.f90
Log Message:
-----------
[flang] Silence errors on C_LOC/C_FUNLOC in specification expressions (#96108)
Transformational functions from the intrinsic module ISO_C_BINDING are
allowed in specification expressions, so tweak some general checks that
would otherwise trigger error messages about inadmissible targets, dummy
procedures in specification expressions, and pure procedures with impure
dummy procedures.
Commit: 317277e4f961edf13132914a58a26408db4ab0aa
https://github.com/llvm/llvm-project/commit/317277e4f961edf13132914a58a26408db4ab0aa
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M flang/lib/Evaluate/fold-integer.cpp
M flang/lib/Evaluate/fold-real.cpp
M flang/test/Evaluate/fold-nearest.f90
M flang/test/Evaluate/folding04.f90
Log Message:
-----------
[flang] Better error reporting for MOD/MODULO/NEAREST (#96114)
When the second argument to these intrinsic functions is a scalar
constant zero, emit a warning (if enabled) even if the first argument is
not a constant.
Commit: 6481dc57612671ebe77fe9c34214fba94e1b3b27
https://github.com/llvm/llvm-project/commit/6481dc57612671ebe77fe9c34214fba94e1b3b27
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGBlocks.cpp
M clang/lib/CodeGen/CGGPUBuiltin.cpp
M clang/lib/CodeGen/CGHLSLRuntime.cpp
M clang/lib/CodeGen/CGObjC.cpp
M clang/lib/CodeGen/CGObjCMac.cpp
M clang/lib/CodeGen/CGOpenMPRuntime.cpp
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/CodeGen/CodeGenABITypes.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M llvm/include/llvm/IR/IRBuilder.h
M llvm/include/llvm/IR/Instruction.h
M llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
M llvm/lib/Analysis/MemoryBuiltins.cpp
M llvm/lib/CodeGen/AtomicExpandPass.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/ExpandLargeFpConvert.cpp
M llvm/lib/CodeGen/ExpandMemCmp.cpp
M llvm/lib/CodeGen/ExpandVectorPredication.cpp
M llvm/lib/CodeGen/HardwareLoops.cpp
M llvm/lib/CodeGen/IntrinsicLowering.cpp
M llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
M llvm/lib/CodeGen/SafeStack.cpp
M llvm/lib/CodeGen/ShadowStackGCLowering.cpp
M llvm/lib/CodeGen/SjLjEHPrepare.cpp
M llvm/lib/CodeGen/WasmEHPrepare.cpp
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/IR/AutoUpgrade.cpp
M llvm/lib/IR/Core.cpp
M llvm/lib/Target/AArch64/SVEIntrinsicOpts.cpp
M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
M llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
M llvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
M llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
M llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
M llvm/lib/Target/ARM/ARMParallelDSP.cpp
M llvm/lib/Target/ARM/MVELaneInterleavingPass.cpp
M llvm/lib/Target/ARM/MVETailPredication.cpp
M llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
M llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
M llvm/lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
M llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
M llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp
M llvm/lib/Target/X86/X86LowerAMXType.cpp
M llvm/lib/Target/X86/X86WinEHState.cpp
M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp
M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
M llvm/lib/Transforms/ObjCARC/ObjCARC.cpp
M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
M llvm/lib/Transforms/Scalar/GuardWidening.cpp
M llvm/lib/Transforms/Scalar/LoopBoundSplit.cpp
M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
M llvm/lib/Transforms/Scalar/LoopPredication.cpp
M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
M llvm/lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
M llvm/lib/Transforms/Scalar/SROA.cpp
M llvm/lib/Transforms/Scalar/ScalarizeMaskedMemIntrin.cpp
M llvm/lib/Transforms/Scalar/Scalarizer.cpp
M llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp
M llvm/lib/Transforms/Utils/BypassSlowDivision.cpp
M llvm/lib/Transforms/Utils/CallPromotionUtils.cpp
M llvm/lib/Transforms/Utils/FlattenCFG.cpp
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/lib/Transforms/Utils/IntegerDivision.cpp
M llvm/lib/Transforms/Utils/SSAUpdaterBulk.cpp
M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
M llvm/lib/Transforms/Vectorize/LoopIdiomVectorize.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/unittests/Analysis/MemorySSATest.cpp
M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
M llvm/unittests/IR/BasicBlockTest.cpp
M llvm/unittests/IR/DebugInfoTest.cpp
M llvm/unittests/IR/IRBuilderTest.cpp
M llvm/unittests/Transforms/Utils/SSAUpdaterBulkTest.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M polly/lib/CodeGen/BlockGenerators.cpp
Log Message:
-----------
[IR][NFC] Update IRBuilder to use InsertPosition (#96497)
Uses the new InsertPosition class (added in #94226) to simplify some of
the IRBuilder interface, and removes the need to pass a BasicBlock
alongside a BasicBlock::iterator, using the fact that we can now get the
parent basic block from the iterator even if it points to the sentinel.
This patch removes the BasicBlock argument from each constructor or call
to setInsertPoint.
This has no functional effect, but later on as we look to remove the
`Instruction *InsertBefore` argument from instruction-creation
(discussed
[here](https://discourse.llvm.org/t/psa-instruction-constructors-changing-to-iterator-only-insertion/77845)),
this will simplify the process by allowing us to deprecate the
InsertPosition constructor directly and catch all the cases where we use
instructions rather than iterators.
Commit: 347206f9570446340da6d7dadc13d10b0aac4528
https://github.com/llvm/llvm-project/commit/347206f9570446340da6d7dadc13d10b0aac4528
Author: Chelsea Cassanova <chelsea_cassanova at apple.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/include/lldb/lldb-private-interfaces.h
M lldb/source/Breakpoint/BreakpointOptions.cpp
M lldb/unittests/CMakeLists.txt
A lldb/unittests/Callback/CMakeLists.txt
A lldb/unittests/Callback/TestBreakpointSetCallback.cpp
Log Message:
-----------
Add a unit test for SBBreakpoint::SetCallback (#96001)
This commit adds a unit test for SBBreakpoint::SetCallback as it wasn't
being tested before.
Commit: 9eba835dec2e7d755a86efdf464ff5745f3c2b1e
https://github.com/llvm/llvm-project/commit/9eba835dec2e7d755a86efdf464ff5745f3c2b1e
Author: Nick Desaulniers (paternity leave) <nickdesaulniers at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M libc/config/linux/arm/entrypoints.txt
Log Message:
-----------
[libc][arm] add malloc/free/aligned_alloc to entrypoints (#96516)
Necessary for arm32 cross full build.
Commit: 9ab292d72651c6dda098a653320f7fbb3624b778
https://github.com/llvm/llvm-project/commit/9ab292d72651c6dda098a653320f7fbb3624b778
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M flang/include/flang/Evaluate/tools.h
M flang/lib/Semantics/check-allocate.cpp
M flang/lib/Semantics/check-call.cpp
M flang/lib/Semantics/check-declarations.cpp
M flang/lib/Semantics/expression.cpp
M flang/lib/Semantics/pointer-assignment.cpp
M flang/test/Semantics/select-rank03.f90
Log Message:
-----------
[flang] Add/fix some semantic checks for assumed-rank (#96194)
Catch some cases where assumed rank dummy arguments are not allowed.
Commit: 3b5b814647ef83ab763cf7871b6d74edfca67438
https://github.com/llvm/llvm-project/commit/3b5b814647ef83ab763cf7871b6d74edfca67438
Author: Greg Clayton <gclayton at fb.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.h
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.h
M lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.h
A lldb/test/Shell/SymbolFile/DWARF/x86/dwp-foreign-type-units.cpp
M llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
M llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
Log Message:
-----------
Add support for using foreign type units in .debug_names. (#87740)
This patch adds support for the new foreign type unit support in
.debug_names. Features include:
- don't manually index foreign TUs if we have info for them
- only use the type unit entries that match the .dwo files when we have
a .dwp file
- fix type unit lookups for .dwo files
- fix crashers that happen due to PeekDIEName() using wrong offsets where an entry had DW_IDX_comp_unit and DW_IDX_type_unit entries and when we had no type unit support, it would cause us to think it was a normal DIE in .debug_info from the main executable.
---------
Co-authored-by: paperchalice <liujunchang97 at outlook.com>
Commit: d75f9dd1d29b332bdc51346de63cbc04646354d7
https://github.com/llvm/llvm-project/commit/d75f9dd1d29b332bdc51346de63cbc04646354d7
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGBlocks.cpp
M clang/lib/CodeGen/CGGPUBuiltin.cpp
M clang/lib/CodeGen/CGHLSLRuntime.cpp
M clang/lib/CodeGen/CGObjC.cpp
M clang/lib/CodeGen/CGObjCMac.cpp
M clang/lib/CodeGen/CGOpenMPRuntime.cpp
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/CodeGen/CodeGenABITypes.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M llvm/include/llvm/IR/IRBuilder.h
M llvm/include/llvm/IR/Instruction.h
M llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
M llvm/lib/Analysis/MemoryBuiltins.cpp
M llvm/lib/CodeGen/AtomicExpandPass.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/ExpandLargeFpConvert.cpp
M llvm/lib/CodeGen/ExpandMemCmp.cpp
M llvm/lib/CodeGen/ExpandVectorPredication.cpp
M llvm/lib/CodeGen/HardwareLoops.cpp
M llvm/lib/CodeGen/IntrinsicLowering.cpp
M llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
M llvm/lib/CodeGen/SafeStack.cpp
M llvm/lib/CodeGen/ShadowStackGCLowering.cpp
M llvm/lib/CodeGen/SjLjEHPrepare.cpp
M llvm/lib/CodeGen/WasmEHPrepare.cpp
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/IR/AutoUpgrade.cpp
M llvm/lib/IR/Core.cpp
M llvm/lib/Target/AArch64/SVEIntrinsicOpts.cpp
M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
M llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
M llvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
M llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
M llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
M llvm/lib/Target/ARM/ARMParallelDSP.cpp
M llvm/lib/Target/ARM/MVELaneInterleavingPass.cpp
M llvm/lib/Target/ARM/MVETailPredication.cpp
M llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
M llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
M llvm/lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
M llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
M llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp
M llvm/lib/Target/X86/X86LowerAMXType.cpp
M llvm/lib/Target/X86/X86WinEHState.cpp
M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp
M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
M llvm/lib/Transforms/ObjCARC/ObjCARC.cpp
M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
M llvm/lib/Transforms/Scalar/GuardWidening.cpp
M llvm/lib/Transforms/Scalar/LoopBoundSplit.cpp
M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
M llvm/lib/Transforms/Scalar/LoopPredication.cpp
M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
M llvm/lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
M llvm/lib/Transforms/Scalar/SROA.cpp
M llvm/lib/Transforms/Scalar/ScalarizeMaskedMemIntrin.cpp
M llvm/lib/Transforms/Scalar/Scalarizer.cpp
M llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp
M llvm/lib/Transforms/Utils/BypassSlowDivision.cpp
M llvm/lib/Transforms/Utils/CallPromotionUtils.cpp
M llvm/lib/Transforms/Utils/FlattenCFG.cpp
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/lib/Transforms/Utils/IntegerDivision.cpp
M llvm/lib/Transforms/Utils/SSAUpdaterBulk.cpp
M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
M llvm/lib/Transforms/Vectorize/LoopIdiomVectorize.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/unittests/Analysis/MemorySSATest.cpp
M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
M llvm/unittests/IR/BasicBlockTest.cpp
M llvm/unittests/IR/DebugInfoTest.cpp
M llvm/unittests/IR/IRBuilderTest.cpp
M llvm/unittests/Transforms/Utils/SSAUpdaterBulkTest.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M polly/lib/CodeGen/BlockGenerators.cpp
Log Message:
-----------
Revert "[IR][NFC] Update IRBuilder to use InsertPosition (#96497)"
Reverts the above commit, as it updates a common header function and
did not update all callsites:
https://lab.llvm.org/buildbot/#/builders/29/builds/382
This reverts commit 6481dc57612671ebe77fe9c34214fba94e1b3b27.
Commit: 7601ae125de673c5a5f13a1d97f16cdd49e26e29
https://github.com/llvm/llvm-project/commit/7601ae125de673c5a5f13a1d97f16cdd49e26e29
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-select-fp.ll
Log Message:
-----------
[RISCV] Add back some test cases I inadvertently deleted. NFC
These tests were accidentally removed in a7a1195f01037e5019f671c96ef4bca9af9bb9a7.
I only meant to remove bfloat tests, but I accidentally removed
f32 and f64 as well.
Commit: cb248f8c2a79fbddfdfed0039390e49512410a80
https://github.com/llvm/llvm-project/commit/cb248f8c2a79fbddfdfed0039390e49512410a80
Author: Martin Storsjö <martin at martin.st>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lld/COFF/Driver.cpp
A lld/test/COFF/invalid-entry.s
Log Message:
-----------
[LLD] [COFF] Don't crash on an empty -entry: argument (#96058)
We can't pass an empty string to addUndefined().
This fixes the crash that was encountered in
https://github.com/llvm/llvm-project/issues/93309 (turning the crash
into a properly handled error; making it do the right thing is handled
in https://github.com/llvm/llvm-project/pull/96055).
Commit: 3a57925b071f16c64af6a729078dce58510a0da9
https://github.com/llvm/llvm-project/commit/3a57925b071f16c64af6a729078dce58510a0da9
Author: Abid Qadeer <haqadeer at amd.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
M flang/lib/Optimizer/Transforms/DebugTypeGenerator.h
M flang/test/Integration/debug-char-type-1.f90
M flang/test/Transforms/debug-char-type-1.fir
Log Message:
-----------
[flang][debug] Handle allocatable strings. (#95906)
The allocatable strings also use DIStringType but provide dwarf
expressions to find the location and length of the string. With this
change in place, the debugging of the allocatable strings looks like
this:
character(len=:), allocatable :: first
character(len=:), allocatable :: second
character(len=:), allocatable :: third
first = 'Mount'
second = 'Everest'
third = first // " " // second
print *, third
(gdb) p third
$1 = ""
(gdb) n
18 print *, third
(gdb) p third
$2 = 'Mount Everest'
(gdb) ptype third
type = character (13)
Commit: ee4c12f87dfe24431a786d8bf32aa853a5f39e7f
https://github.com/llvm/llvm-project/commit/ee4c12f87dfe24431a786d8bf32aa853a5f39e7f
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lld/ELF/LinkerScript.cpp
M lld/ELF/LinkerScript.h
M lld/ELF/ScriptParser.cpp
M lld/test/ELF/linkerscript/addr.test
M lld/test/ELF/linkerscript/locationcountererr-arm-exidx.test
Log Message:
-----------
[ELF] Postpone more linker script errors
Since `assignAddresses` is executed more than once, error reporting
during `assignAddresses` would be duplicated. Generalize #66854 to cover
more errors.
Note: address-related errors exposed in one invocation might not be
errors in another invocation.
Pull Request: https://github.com/llvm/llvm-project/pull/96361
Commit: fc066ca1c32b4aef549f3e371dc70589804aba0f
https://github.com/llvm/llvm-project/commit/fc066ca1c32b4aef549f3e371dc70589804aba0f
Author: Greg Clayton <clayborg at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
Log Message:
-----------
Fix buildbots for https://github.com/llvm/llvm-project/pull/87740
Commit: 5d15f606da4cb4346465956d935a2842f8e86200
https://github.com/llvm/llvm-project/commit/5d15f606da4cb4346465956d935a2842f8e86200
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M flang/include/flang/Parser/preprocessor.h
M flang/lib/Parser/prescan.cpp
M flang/lib/Parser/prescan.h
A flang/test/Preprocessing/cond-contin.F90
A flang/test/Preprocessing/inc-contin-1.F
A flang/test/Preprocessing/inc-contin-1.h
A flang/test/Preprocessing/inc-contin-2.F90
A flang/test/Preprocessing/inc-contin-2a.h
A flang/test/Preprocessing/inc-contin-2b.h
M flang/test/Preprocessing/include-args.F90
M flang/unittests/Frontend/FrontendActionTest.cpp
Log Message:
-----------
[flang][preprocessing] Mix preprocessing directives with free form li… (#96244)
…ne continuation
Allow preprocessing directives to appear between a source line and its
continuation, including conditional compilation directives (#if, #ifdef,
&c.).
Fixes https://github.com/llvm/llvm-project/issues/95476.
Commit: e6ec3664cb72fd95669cb516b21572da4236fd91
https://github.com/llvm/llvm-project/commit/e6ec3664cb72fd95669cb516b21572da4236fd91
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/InterpBuiltin.cpp
M clang/test/AST/Interp/functions.cpp
Log Message:
-----------
[clang][Interp] Fix classifying __builtin_addressof() argument
It's an lvalue, so we need to use the classify() taking an expression.
Commit: eac925fb81f26342811ad1765e8f9919628e2254
https://github.com/llvm/llvm-project/commit/eac925fb81f26342811ad1765e8f9919628e2254
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M flang/runtime/external-unit.cpp
M flang/runtime/pseudo-unit.cpp
M flang/runtime/unit.h
Log Message:
-----------
[flang][runtime] Better handling of "fort.N" opening errors (#96347)
When a data transfer statement references a unit number that hasn't been
explicitly OPENed, the runtime I/O support library opens a local
"fort.N" file where N is the unit number. If that name exists in the
current working directory but is not a readable or writable file (as
appropriate), the runtime needs to catch the error at the point of the
READ or WRITE statement rather than leaving an open unit in the unit map
without a valid file descriptor.
Commit: 514c1ec5477a48e4f639c0b15ab757832b67dd10
https://github.com/llvm/llvm-project/commit/514c1ec5477a48e4f639c0b15ab757832b67dd10
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M flang/include/flang/Runtime/pointer.h
M flang/runtime/ISO_Fortran_binding.cpp
M flang/runtime/descriptor.cpp
M flang/runtime/pointer.cpp
Log Message:
-----------
[flang][runtime] Interoperable POINTER deallocation validation (#96100)
Extend the runtime validation of deallocated pointers so that it also
works when pointers are allocated &/or deallocated outside Fortran.
Previously, bogus runtime errors would be reported for pointers
allocated via CFI_allocate() and deallocated in Fortran, and
CFI_deallocate() did not check that it was deallocating a whole
contiguous pointer that was allocated as such.
Commit: a27164cb33162bb42642c091703f9c6f8829785c
https://github.com/llvm/llvm-project/commit/a27164cb33162bb42642c091703f9c6f8829785c
Author: Jacob Lalonde <jalalonde at fb.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.cpp
M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.h
M lldb/source/Plugins/ObjectFile/Minidump/ObjectFileMinidump.cpp
M llvm/include/llvm/BinaryFormat/Minidump.h
Log Message:
-----------
[LLDB][Minidump] Add 64b support to LLDB's minidump file builder. (#95312)
Currently, LLDB does not support taking a minidump over the 4.2gb limit imposed by uint32. In fact, currently it writes the RVA's and the headers to the end of the file, which can become corrupted due to the header offset only supporting a 32b offset.
This change reorganizes how the file structure is laid out. LLDB will precalculate the number of directories required and preallocate space at the top of the file to fill in later. Additionally, thread stacks require a 32b offset, and we provision empty descriptors and keep track of them to clean up once we write the 32b memory list.
For
[MemoryList64](https://learn.microsoft.com/en-us/windows/win32/api/minidumpapiset/ns-minidumpapiset-minidump_memory64_list),
the RVA to the start of the section itself will remain in a 32b addressable space. We achieve this by predetermining the space the memory regions will take, and only writing up to 4.2 gb of data with some buffer to allow all the MemoryDescriptor64s to also still be 32b addressable.
I did not add any explicit tests to this PR because allocating 4.2gb+ to test is very expensive. However, we have 32b automation tests and I validated with in several ways, including with 5gb+ array/object and would be willing to add this as a test case.
Commit: 43d207addaf4111dd6a4e0e702e8797587ce61ba
https://github.com/llvm/llvm-project/commit/43d207addaf4111dd6a4e0e702e8797587ce61ba
Author: Jiahan Xie <88367305+jiahanxie353 at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
A llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/vec-store.ll
Log Message:
-----------
[RISCV][GISEL] IRTranslator for Scalable Vector Store (#86699)
Support IR translation for scalable vector store
Commit: 431213c99d7707114d8e7956073a057cf1607160
https://github.com/llvm/llvm-project/commit/431213c99d7707114d8e7956073a057cf1607160
Author: srcarroll <50210727+srcarroll at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
M mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp
A mlir/test/Dialect/Linalg/rank-reduce-contraction-ops.mlir
M mlir/test/lib/Dialect/Linalg/CMakeLists.txt
A mlir/test/lib/Dialect/Linalg/TestLinalgRankReduceContractionOps.cpp
M mlir/tools/mlir-opt/mlir-opt.cpp
Log Message:
-----------
[mlir][linalg] Implement patterns for reducing rank of named linalg contraction ops (#95710)
This patch introduces pattern rewrites for reducing the rank of named
linalg contraction ops with unit spatial dim(s) to other named
contraction ops. For example `linalg.batch_matmul` with batch size 1 ->
`linalg.matmul` and `linalg.matmul` with unit LHS spatial dim ->
`linalg.vecmat`, etc. These patterns don't support reducing the rank
along reduction dimension as those don't convert to other named
contraction ops.
Commit: 962d7ac7fcdf6f0cb43e36dec2a6a67cadd7c46c
https://github.com/llvm/llvm-project/commit/962d7ac7fcdf6f0cb43e36dec2a6a67cadd7c46c
Author: Quentin Michaud <128144579+mh4ck-Thales at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/Basic/LangOptions.h
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/WebAssembly.cpp
Log Message:
-----------
Add flag to opt out of wasm-opt (#95208)
This PR fixes #55781 by adding the `--no-wasm-opt` and `--wasm-opt`
flags in clang to disable/enable the `wasm-opt` optimizations. The
default is to enable `wasm-opt` as before in order to not break existing
workflows.
I think that adding a warning when no flag or the `--wasm-opt` flag is
given but `wasm-opt` wasn't found in the path may be relevant here. It
allows people using `wasm-opt` to be aware of if it have been used on
their produced binary or not. The only downside I see to this is that
people already using the toolchain with the `-O` and `-Werror` flags but
without `wasm-opt` in the path will see their toolchain break (with an
easy fix: either adding `--no-wasm-opt` or add `wasm-opt` to the path).
I haven't implemented this here because I haven't figured out how to add
such a warning, and I don't know if this warning should be added here or
in another PR.
CC @sunfishcode that proposed in the associated issue to review this
patch.
Commit: 0ab81986be7c2df8dc784e9e950c906274b51fd4
https://github.com/llvm/llvm-project/commit/0ab81986be7c2df8dc784e9e950c906274b51fd4
Author: Fred Grim <fgrim at apple.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/test/tools/llvm-readobj/ELF/dynamic-tags.test
M llvm/tools/llvm-readobj/ELFDumper.cpp
Log Message:
-----------
[llvm-readobj][ELF] Implement JSON output for --dynamic-table (#95976)
When printing JSON output with --dynamic-table I noticed that the output
is invalid JSON. This patch overrides the printDynamicTable() function
in the JSONELFDumper to return a list of dictionaries for the
DynamicSection value.
Before the output was:
```
{
"FileSummary": {
"File": "bin/llvm-readelf",
"Format": "elf64-x86-64",
"Arch": "x86_64",
"AddressSize": "64bit",
"LoadName": "<Not found>"
}DynamicSection [ (35 entries)
Tag Type Name/Value
0x000000000000001D RUNPATH Library runpath: [$ORIGIN/../lib:]
0x0000000000000001 NEEDED Shared library: [libm.so.6]
0x0000000000000001 NEEDED Shared library: [libz.so.1]
0x0000000000000001 NEEDED Shared library: [libzstd.so.1]
```
Now the output looks like:
```
"DynamicSection": [
{
"Tag": 29,
"Type": "RUNPATH",
"Value": 6322,
"Path": [
"$ORIGIN/../lib"
]
},
{
"Tag": 1,
"Type": "NEEDED",
"Value": 6109,
"Library": "libm.so.6"
},
```
Commit: 58cb0e651fee277777c7121465d488dba43adbd6
https://github.com/llvm/llvm-project/commit/58cb0e651fee277777c7121465d488dba43adbd6
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M .github/CODEOWNERS
Log Message:
-----------
[.github] Add myself as a reviewer for DWARFLinker & friends (#96531)
Commit: 0534953253725a0f3aa5a83ba5e09836c768860e
https://github.com/llvm/llvm-project/commit/0534953253725a0f3aa5a83ba5e09836c768860e
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
Log Message:
-----------
[bazel] Port #95312 (#96533)
Commit: 33a9c57b89c3ea901a057c3fcc9c9160eaf5a625
https://github.com/llvm/llvm-project/commit/33a9c57b89c3ea901a057c3fcc9c9160eaf5a625
Author: Miro Bucko <mbucko at meta.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/test/API/python_api/find_in_memory/address_ranges_helper.py
Log Message:
-----------
[lldb] Fix failing TestFind(Ranges)InMemory.py tests. (#96511)
This is to unblock #95007. Will investigate why the assertion is failing
on some arch.
Commit: 2f69e9a212bb3b965c4d79ff8a12e1e63d679587
https://github.com/llvm/llvm-project/commit/2f69e9a212bb3b965c4d79ff8a12e1e63d679587
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/test/DebugInfo/COFF/fission-sections.ll
Log Message:
-----------
[COFF,test] Improve fission.ll
Commit: b7b337fb91f9b0538fcc4467ffca7c6c71192bc9
https://github.com/llvm/llvm-project/commit/b7b337fb91f9b0538fcc4467ffca7c6c71192bc9
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Affine/Transforms/LoopFusion.cpp
M mlir/lib/Dialect/GPU/Transforms/NVVMAttachTarget.cpp
M mlir/lib/Dialect/GPU/Transforms/ROCDLAttachTarget.cpp
M mlir/lib/Dialect/GPU/Transforms/SPIRVAttachTarget.cpp
M mlir/lib/Dialect/Transform/Interfaces/MatchInterfaces.cpp
M mlir/lib/IR/AffineMap.cpp
M mlir/lib/Tools/mlir-pdll-lsp-server/PDLLServer.cpp
Log Message:
-----------
[mlir] Use llvm::unique (NFC) (#96415)
Commit: d6a3bd1325c5c54ef59e8a612451757c86186355
https://github.com/llvm/llvm-project/commit/d6a3bd1325c5c54ef59e8a612451757c86186355
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/www/get_involved.html
Log Message:
-----------
Update Clang extension criteria (#96532)
This updates Clang's extension criteria to explicitly mention impacts on
other projects within the monorepo.
These changes were discussed in the following RFC:
https://discourse.llvm.org/t/rfc-require-discussion-of-impact-to-monorepo-stakeholders-when-adding-new-clang-extensions/79613
Commit: 2ae09052477e1a966afbc5482d88585f95694c53
https://github.com/llvm/llvm-project/commit/2ae09052477e1a966afbc5482d88585f95694c53
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
A clang/test/C/C2x/n2819.c
M clang/www/c_status.html
Log Message:
-----------
[C23] Claim we do not conform to N2819
This paper clarified the lifetime of compound literal objects in odd
scopes, such as use at function prototype scope.
We do not currently implement this paper, as the new test demonstrates.
Commit: 62baf21daa377c4ec1a641b26931063c1117d262
https://github.com/llvm/llvm-project/commit/62baf21daa377c4ec1a641b26931063c1117d262
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
M llvm/test/CodeGen/AArch64/aarch64-sme2-asm.ll
M llvm/test/CodeGen/AArch64/sme-intrinsics-add.ll
M llvm/test/CodeGen/AArch64/sme-intrinsics-loads.ll
M llvm/test/CodeGen/AArch64/sme-intrinsics-mopa.ll
M llvm/test/CodeGen/AArch64/sme-intrinsics-mops.ll
M llvm/test/CodeGen/AArch64/sme-intrinsics-stores.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-add-sub-za16.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-add.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-cvt.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-cvtl.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-cvtn.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-extract-mova.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-fmlas.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-fmlas16.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-fp-dots.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-frint.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-insert-mova.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-int-dots.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-ld1.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-ldnt1.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-luti2-lane-x2.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-luti2-lane-x4.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-luti2-lane.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-luti4-lane-x2.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-luti4-lane-x4.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-luti4-lane.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-max.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-min.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-mlall.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-mlals.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-mop.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-mopa.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-qcvt.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-qcvtn.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-qrshr.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-rshl.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-select-sme-tileslice.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-sqdmulh.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-sub.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-vdot.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-zero-zt.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-zt0.ll
M llvm/test/CodeGen/AArch64/sme2p1-intrinsics-zero.ll
M llvm/test/CodeGen/AArch64/sve-callee-save-restore-pairs.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-contiguous-prefetches.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-conversion.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-counting-bits.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-counting-elems.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-fp-converts.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-ldN-sret-reg+imm-addr-mode.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-ldN-sret-reg+reg-addr-mode.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-logical.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-pred-creation.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-pred-operations.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-pred-testing.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-reinterpret.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-reversal.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-sel.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-sqdec.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-sqinc.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-st1-addressing-mode-reg-imm.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-st1-addressing-mode-reg-reg.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-st1.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-stN-reg-imm-addr-mode.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-stN-reg-reg-addr-mode.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-stores.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-uqdec.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-uqinc.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-while.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-reshuffle.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-binary-narrowing-add-sub.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-binary-narrowing-shr.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-complex-dot.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-contiguous-conflict-detection.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-fp-converts.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-fp-int-binary-logarithm.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-fp-widening-mul-acc.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-int-mul-lane.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-non-widening-pairwise-arith.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-polynomial-arithmetic.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-psel.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-revd.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-unary-narrowing.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-uniform-complex-arith.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-while-reversed.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-while.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-widening-complex-int-arith.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-widening-dsp.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-widening-pairwise-arith.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-cntp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-dots.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-fclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-fp-reduce.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-int-reduce.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-loads.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-predicate-as-counter.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-sclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-selx2.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-selx4.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-stores.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-uclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-unpk.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-uzpx2.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-uzpx4.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-while-pn.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-zipx2.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-zipx4.ll
Log Message:
-----------
[AArch64] Check for streaming mode in HasSME* features. (#96302)
This also fixes up some asserts in copyPhysReg, loadRegFromStackSlot and
storeRegToStackSlot.
Commit: 09c0337a581dfd8f39df131786cfc7f675adf483
https://github.com/llvm/llvm-project/commit/09c0337a581dfd8f39df131786cfc7f675adf483
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/Basic/arm_sme.td
M clang/include/clang/Basic/arm_sve.td
M clang/include/clang/Basic/arm_sve_sme_incl.td
M clang/test/Sema/aarch64-sve-intrinsics/acle_sve_bfloat.cpp
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_bfloat.cpp
M clang/utils/TableGen/SveEmitter.cpp
Log Message:
-----------
[Clang][SveEmitter] Split up TargetGuard into SVE and SME component. (#96482)
One reason to want to split this up is to simplify the code added in
#93802, where it checks the SME streaming-mode requirements for a
builtin by checking for the absence of SVE. If the target guards are
separate, we can generate a table and make the Sema code to verify the
runtime mode simpler.
Another reason is to avoid an issue with a check in SveEmitter.cpp where
it ensures that the 'VerifyRuntimeMode' is set correctly for functions
that have both SVE and SME target guards:
if (!Def->isFlagSet(VerifyRuntimeMode) &&
Def->getGuard().contains("sve") &&
Def->getGuard().contains("sme"))
llvm_unreachable("Missing VerifyRuntimeMode flag");
However, if we ever add a new feature with "sme" in the name, even
though it is unrelated to FEAT_SME, then this code no longer works.
Note that the arm_sve.td and arm_sme.td files could do with a bit of
restructuring after this but it seems better to follow that up in an NFC
patch.
Commit: f2d3d829b97a221c9ce3a3467a20ea51bb29ecbd
https://github.com/llvm/llvm-project/commit/f2d3d829b97a221c9ce3a3467a20ea51bb29ecbd
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
Log Message:
-----------
[mlir][linalg][Transform] Fix use-after-free in `SplitOp::apply` (#96390)
Detected with ASAN. `Operation::getLoc()` was called after erasing the
operation.
Reverts 48cf6b6bbe7a22bfcd98f82dc7afd21c9decd22f, which attempted to fix
the use-after-free. (But the use-after-free is still there when the
`hasFailed` branch is taken.)
Commit: d30b082fd4aeba0a3a99c3f17dbffe6691f859cc
https://github.com/llvm/llvm-project/commit/d30b082fd4aeba0a3a99c3f17dbffe6691f859cc
Author: Terry Wilmarth <terry.l.wilmarth at intel.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M openmp/runtime/src/dllexports
M openmp/runtime/src/kmp.h
M openmp/runtime/src/kmp_csupport.cpp
M openmp/runtime/src/kmp_runtime.cpp
A openmp/runtime/test/parallel/omp_parallel_num_threads_list.c
A openmp/runtime/test/parallel/omp_parallel_num_threads_strict.c
Log Message:
-----------
[OpenMP] Add num_threads clause list format and strict modifier support (#85466)
Add support to the runtime for 6.0 spec features that allow num_threads
clause to take a list, and also make use of the strict modifier.
Provides new compiler interface functions for these features.
Commit: 0555afd02401551c10dbf7f646a98501929b27e2
https://github.com/llvm/llvm-project/commit/0555afd02401551c10dbf7f646a98501929b27e2
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Analysis/MLInlineAdvisor.cpp
Log Message:
-----------
[NFC][MLInliner] Rename LastSCC -> CurSCC (#96546)
The passed SCC is the current SCC we're working on.
Commit: b1a93dbaba87119556c1138b64cde6aa5ee8a854
https://github.com/llvm/llvm-project/commit/b1a93dbaba87119556c1138b64cde6aa5ee8a854
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Export distributable lldb files (#96549)
If you're building and vendoring lldb, you might need to also vendor
these files.
Commit: b097018fdafe61f1fe10337a71f56e5386930d54
https://github.com/llvm/llvm-project/commit/b097018fdafe61f1fe10337a71f56e5386930d54
Author: Mike Rice <michael.p.rice at intel.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaOpenMP.cpp
M clang/test/OpenMP/Inputs/nesting_of_regions.cpp
Log Message:
-----------
[clang][OpenMP] Fix teams nesting of region check (#94806)
The static verifier flagged dead code in the check since the loop will
only execute once and never reach the iterator increment.
The loop needs to iterate twice to correctly diagnose when a statement
is after the teams.
Since there are two iterations again, reset the iterator to the first
teams directive when the double teams case is seen so the diagnostic can
report both locations.
Commit: 313b1a8250d3cd742356cc71c36402b10d8b2e16
https://github.com/llvm/llvm-project/commit/313b1a8250d3cd742356cc71c36402b10d8b2e16
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/ReleaseModeModelRunner.h
M llvm/lib/Analysis/MLInlineAdvisor.cpp
M llvm/unittests/Analysis/MLModelRunnerTest.cpp
Log Message:
-----------
[mlgo] Support composite AOT-ed models (#96276)
This applies to the AOT case where we embed models in the compiler. The
change adds support for multiple models for the same agent, and allows
the user select one via a command line flag. "agent" refers to e.g. the
inline advisor or the register allocator eviction advisor.
To avoid build setup complexity, the support is delegated to the saved
model. Since saved models define computational graphs, we can generate a
composite model (this happens prior to building and embedding it in LLVM
and is not shown in this change) that exposes an extra feature with a
predefined name: `_model_selector`. The model, then, delegates
internally to contained models based on that feature value.
Model selection is expected to happen at model instantiation, there is
no current scenario for switching them afterwards.
If the model doesn't expose such a feature but the user passes one, we
report error.
If the model exposes such a feature but the user doesn't pass one, we
also report an error.
Invalid model selector values are expected to be handled by the saved
model.
Internally, the model uses a pair of uint64 values - the high and low of
the MD5 hash of the name.
A tool composing models would, then, need to:
- expose the extra feature, `_model_selector`, shape (2,), uint64 data
type
- test its value (`tf.cond` or `tf.case` in Tensorflow) against the MD5
hash, in the [high, low] order, of contained models based on a
user-specified name (which the user will then use as flag value to the
compiler)
Agents just need to add a flag to capture the name of a model and pass
it to `ReleaseModeModelRunner` at construction. This can be passed in
all cases without checking - the case where the model is not composite
and we pass an empty name, everything works as before.
This change also factors out the string flags we pass to the
`ReleaseModeModelRunner` for better maintainability (we risk confusing
parameters that are strings otherwise)
Commit: 5413a2bb843a3c71e0891aa5984afd63cd580dea
https://github.com/llvm/llvm-project/commit/5413a2bb843a3c71e0891aa5984afd63cd580dea
Author: Mike Rice <michael.p.rice at intel.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/lib/Parse/ParseOpenMP.cpp
M clang/test/OpenMP/declare_variant_clauses_messages.cpp
Log Message:
-----------
[clang][OpenMP] Fix error handling of the adjust_args clause (#94696)
Static verifier noticed the current code has logically dead code parsing
the clause where IsComma is assigned. Fix this and improve the error
message received when a bad adjust-op is specified.
This will now be handled like 'map' where a nice diagnostic is given
with the correct values, then parsing continues on the next clause
reducing unhelpful diagnostics.
Commit: 3aef525aa4b9a5395b6ac4ae771e28e64b27a126
https://github.com/llvm/llvm-project/commit/3aef525aa4b9a5395b6ac4ae771e28e64b27a126
Author: vangthao95 <vang.thao at amd.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-constant.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/smrd.ll
M llvm/test/CodeGen/AMDGPU/cgp-addressing-modes-smem.ll
M llvm/test/CodeGen/AMDGPU/gfx12_scalar_subword_loads.ll
M llvm/test/CodeGen/AMDGPU/global-saddr-load.ll
M llvm/test/CodeGen/AMDGPU/llvm.prefetch.ll
M llvm/test/CodeGen/AMDGPU/smrd.ll
Log Message:
-----------
[AMDGPU] Fix negative immediate offset for unbuffered smem loads (#89165)
For unbuffered smem loads, it is illegal for the immediate offset to be
negative if the resulting IOFFSET + (SGPR[Offset] or M0 or zero) is
negative.
New PR of https://github.com/llvm/llvm-project/pull/79553.
Commit: d2864d1716b5e5b5eabb3004b04a1d7f67803f0d
https://github.com/llvm/llvm-project/commit/d2864d1716b5e5b5eabb3004b04a1d7f67803f0d
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M libcxx/CMakeLists.txt
M libcxx/lib/abi/powerpc-ibm-aix.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/powerpc64-ibm-aix.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/x86_64-unknown-freebsd.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/x86_64-unknown-linux-gnu.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/x86_64-unknown-linux-gnu.libcxxabi.v1.stable.noexceptions.nonew.abilist
Log Message:
-----------
[libc++] Build with -fsized-deallocation (#96217)
This patch makes libc++ build with -fsized-deallocation. That flag is
enabled by default in recent versions of Clang, so this patch will make
libc++ forward-compatible with ToT Clang.
Commit: bea7f3d8739a12c599525c18c151f37b1293a080
https://github.com/llvm/llvm-project/commit/bea7f3d8739a12c599525c18c151f37b1293a080
Author: Nick Desaulniers (paternity leave) <nickdesaulniers at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M libc/include/llvm-libc-macros/CMakeLists.txt
A libc/include/llvm-libc-macros/link-macros.h
M libc/startup/linux/CMakeLists.txt
M libc/startup/linux/do_start.cpp
Log Message:
-----------
[libc][startup] create header for ElfW and use in startup (#96510)
This is necessary for 32b platforms such as ARM and i386.
Link: #94128
Commit: dd8d978b7642b410f3a4895aa20f0aada4a0f7e4
https://github.com/llvm/llvm-project/commit/dd8d978b7642b410f3a4895aa20f0aada4a0f7e4
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/lldb/BUILD.bazel
Log Message:
-----------
[bazel] Switch mach_gen to apple_genrule (#96551)
mig is a tool vendored with Xcode. Using apple_genrule makes sure that
the bazel selected version of Xcode is preferred, and that the action is
invalidated when that version changes.
Commit: a030c8bc87be0599e861f5d8fe8254ac8d6e84ba
https://github.com/llvm/llvm-project/commit/a030c8bc87be0599e861f5d8fe8254ac8d6e84ba
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
A utils/bazel/llvm-project-overlay/lldb/tools/lldb-dap/BUILD.bazel
Log Message:
-----------
[bazel] Add support for building lldb-dap (#96556)
Commit: 687d6fbfac6205e6f53ea58584278c09738ea708
https://github.com/llvm/llvm-project/commit/687d6fbfac6205e6f53ea58584278c09738ea708
Author: Akshay Deodhar <adeodhar at nvidia.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/IntrinsicsNVVM.td
M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
M llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
M llvm/lib/Target/NVPTX/NVPTXUtilities.cpp
M llvm/lib/Target/NVPTX/NVPTXUtilities.h
A llvm/test/CodeGen/NVPTX/lower-args-gridconstant.ll
Log Message:
-----------
[NVPTX] Basic support for "grid_constant" (#96125)
- Adds a helper function for checking whether an argument is a
[grid_constant](https://docs.nvidia.com/cuda/nvvm-ir-spec/index.html#supported-properties).
- Adds support for cvta.param using changes from
https://github.com/llvm/llvm-project/pull/95289
- Supports escaped grid_constant pointers conservatively, by casting all
uses to the generic address space with cvta.param.
Commit: 5ae50698a0d6a3022af2e79d405a7eb6c8c790f0
https://github.com/llvm/llvm-project/commit/5ae50698a0d6a3022af2e79d405a7eb6c8c790f0
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
M llvm/test/Analysis/LoopAccessAnalysis/symbolic-stride.ll
Log Message:
-----------
LAA: strip unnecessary getUniqueCastUse (#92119)
733b8b2 ([LAA] Simplify identification of speculatable strides [nfc])
refactored getStrideFromPointer() to compute directly on SCEVs, and
return an SCEV expression instead of a Value. However, it left behind a
call to getUniqueCastUse(), which is completely unnecessary. Remove
this, showing a positive test update, and simplify the surrounding
program logic.
Commit: 16903ace180755b7558234ff2b2e8d89b00dcb88
https://github.com/llvm/llvm-project/commit/16903ace180755b7558234ff2b2e8d89b00dcb88
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M libc/config/darwin/arm/entrypoints.txt
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/arm/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/docs/math/index.rst
M libc/src/__support/FPUtil/double_double.h
M libc/src/__support/FPUtil/dyadic_float.h
M libc/src/__support/macros/optimization.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/range_reduction_double_common.h
A libc/src/math/generic/range_reduction_double_fma.h
A libc/src/math/generic/range_reduction_double_nofma.h
A libc/src/math/generic/sin.cpp
A libc/src/math/generic/sincos_eval.h
M libc/src/math/x86_64/CMakeLists.txt
R libc/src/math/x86_64/sin.cpp
M libc/test/src/math/sin_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/sin_test.cpp
Log Message:
-----------
[libc][math] Implement double precision sin correctly rounded to all rounding modes. (#95736)
- Algorithm:
- Step 1 - Range reduction: for a double precision input `x`, return `k`
and `u` such that
- k is an integer
- u = x - k * pi / 128, and |u| < pi/256
- Step 2 - Calculate `sin(u)` and `cos(u)` in double-double using Taylor
polynomials with errors < 2^-70 with FMA or < 2^-66 w/o FMA.
- Step 3 - Calculate `sin(x) = sin(k*pi/128) * cos(u) + cos(k*pi/128) *
sin(u)` using look-up table for `sin(k*pi/128)` and `cos(k*pi/128)`.
- Step 4 - Use Ziv's rounding test to decide if the result is correctly
rounded.
- Step 4' - If the Ziv's rounding test failed, redo step 1-3 using
128-bit precision.
- Currently, without FMA instructions, the large range reduction only
works correctly for the default rounding mode (FE_TONEAREST).
- Provide `LIBC_MATH` flag so that users can set `LIBC_MATH =
LIBC_MATH_SKIP_ACCURATE_PASS` to build the `sin` function without step 4
and 4'.
Commit: a32b7199f0c15ea1c6c9490b6166c019c9d4bd2b
https://github.com/llvm/llvm-project/commit/a32b7199f0c15ea1c6c9490b6166c019c9d4bd2b
Author: Chelsea Cassanova <chelsea_cassanova at apple.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/bindings/python/python-typemaps.swig
M lldb/include/lldb/API/SBProcess.h
M lldb/include/lldb/Core/AddressRangeListImpl.h
M lldb/include/lldb/Target/Process.h
M lldb/source/API/SBProcess.cpp
M lldb/source/Target/Process.cpp
R lldb/test/API/python_api/find_in_memory/Makefile
R lldb/test/API/python_api/find_in_memory/TestFindInMemory.py
R lldb/test/API/python_api/find_in_memory/TestFindRangesInMemory.py
R lldb/test/API/python_api/find_in_memory/address_ranges_helper.py
R lldb/test/API/python_api/find_in_memory/main.cpp
Log Message:
-----------
Revert commits that add `TestFind(Ranges)InMemory.py` (#96560)
Reverting to unblock macOS buildbots which are currently failing on
these tests.
https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/as-lldb-cmake/6377/
Commit: 75ac887a3033c6e4eb8e423a78490c8d4bf7d5b5
https://github.com/llvm/llvm-project/commit/75ac887a3033c6e4eb8e423a78490c8d4bf7d5b5
Author: shaw young <58664393+shawbyoung at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M bolt/docs/CommandLineArgumentReference.md
Log Message:
-----------
[BOLT][NFC] Sync CommandLineArgumentReference with options (#96563)
Commit: a3a44bfbdfefe0928124f9e40d242507f75b87f4
https://github.com/llvm/llvm-project/commit/a3a44bfbdfefe0928124f9e40d242507f75b87f4
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/ProfDataUtils.h
M llvm/lib/IR/Instructions.cpp
M llvm/lib/IR/ProfDataUtils.cpp
M llvm/lib/IR/Verifier.cpp
Log Message:
-----------
[llvm][ProfDataUtils] Provide getNumBranchWeights API (#90146)
As suggested in
https://github.com/llvm/llvm-project/pull/86609/files#r1556689262
an API for getting the number of branch weights directly from the MD
node would be useful in a variety of checks, and keeps the logic within
ProfDataUtils.
Commit: 5e097c79d820683b72e2bac8e56df93801ad85ec
https://github.com/llvm/llvm-project/commit/5e097c79d820683b72e2bac8e56df93801ad85ec
Author: shaw young <58664393+shawbyoung at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M bolt/docs/CommandLineArgumentReference.md
M bolt/lib/Profile/YAMLProfileReader.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/lib/Utils/CommandLineOpts.cpp
A bolt/test/X86/hashing-based-function-matching.test
Log Message:
-----------
[BOLT] Hash-based function matching (#95821)
Using the hashes of binary and profiled functions
to recover functions with changed names.
Test Plan: added
hashing-based-function-matching.test.
Commit: b3c668b0055717633503ed26787037d9e3499781
https://github.com/llvm/llvm-project/commit/b3c668b0055717633503ed26787037d9e3499781
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/docs/LanguageExtensions.rst
Log Message:
-----------
[clang][docs] '#pragma clang section' is supported on Mach-O. NFC
This was added back in 7f6e3316456f939a062aad0eeaac983251a1747c, but I forgot
to update the docs that referenced it.
Commit: 32e4906c28952d2dd8ed193cfd37856b98233ef5
https://github.com/llvm/llvm-project/commit/32e4906c28952d2dd8ed193cfd37856b98233ef5
Author: shaw young <58664393+shawbyoung at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M bolt/docs/CommandLineArgumentReference.md
M bolt/lib/Profile/YAMLProfileReader.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/lib/Utils/CommandLineOpts.cpp
R bolt/test/X86/hashing-based-function-matching.test
Log Message:
-----------
Revert "[BOLT] Hash-based function matching" (#96568)
Reverts llvm/llvm-project#95821
Commit: 0d4da0df166ea7512c6e97e182b21cd706293eaa
https://github.com/llvm/llvm-project/commit/0d4da0df166ea7512c6e97e182b21cd706293eaa
Author: Miro Bucko <mbucko at meta.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/bindings/python/python-typemaps.swig
M lldb/include/lldb/API/SBProcess.h
M lldb/include/lldb/Core/AddressRangeListImpl.h
M lldb/include/lldb/Target/Process.h
M lldb/source/API/SBProcess.cpp
M lldb/source/Target/Process.cpp
A lldb/test/API/python_api/find_in_memory/Makefile
A lldb/test/API/python_api/find_in_memory/TestFindInMemory.py
A lldb/test/API/python_api/find_in_memory/TestFindRangesInMemory.py
A lldb/test/API/python_api/find_in_memory/address_ranges_helper.py
A lldb/test/API/python_api/find_in_memory/main.cpp
Log Message:
-----------
[lldb][API] Add Find(Ranges)InMemory() to Process SB API (#96569)
This is a second attempt to land #95007
Test Plan:
llvm-lit
llvm-project/lldb/test/API/python_api/find_in_memory/TestFindInMemory.py
llvm-project/lldb/test/API/python_api/find_in_memory/TestFindRangesInMemory.py
Reviewers: clayborg
Tasks: lldb
Commit: dc27ff10497ea0c7d93de028badffa62707d8b6c
https://github.com/llvm/llvm-project/commit/dc27ff10497ea0c7d93de028badffa62707d8b6c
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M libc/test/src/__support/CMakeLists.txt
Log Message:
-----------
[libc] Disable freelist test on NVPTX temporarily
Summary:
This test fails due to alignment issues, it's likely that it's
misaligned on other targets too and they just don't crash on it.
@PiJoules maybe we should run this with ubsan?
Commit: 361543e4100defe14334cfb11481be44a977e627
https://github.com/llvm/llvm-project/commit/361543e4100defe14334cfb11481be44a977e627
Author: Jacob Lalonde <jalalonde at fb.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.cpp
M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.h
Log Message:
-----------
[LLDB][Minidump] Change expected directories to the correct type; size_t (#96564)
In #95312 I incorrectly set `m_expected_directories` to uint, this broke
the windows build and is the incorrect type.
`size_t` is more accurate because this value only ever represents the
expected upper bound of the directory vector.
Commit: a2d340ba161fe48ee4ff736c6e7877038a7388cd
https://github.com/llvm/llvm-project/commit/a2d340ba161fe48ee4ff736c6e7877038a7388cd
Author: David Truby <david.truby at arm.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/include/clang/Driver/Driver.h
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/Driver.cpp
R flang/test/Driver/print-resource-dir.F90
Log Message:
-----------
Revert "[Flang][Driver] Add -print-resource-dir command line flag to emit Flang's resource directory" (#96557)
Reverts llvm/llvm-project#90886
These changes broke linking to compiler-rt on Windows
Commit: 954b692bd74b4e7571bb4a8045f4b488d504a6ba
https://github.com/llvm/llvm-project/commit/954b692bd74b4e7571bb4a8045f4b488d504a6ba
Author: David Truby <david.truby at arm.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M flang/lib/Evaluate/intrinsics.cpp
M flang/unittests/Evaluate/intrinsics.cpp
Log Message:
-----------
[flang] Allow derf as alternate spelling for erf (#95784)
This patch adds derf as an alternate spelling for the erf intrinsic.
This spelling is supported by multiple other compilers and used by WRF.
Commit: 8ad32ce7382bb8d630a3d4d93d1e1f00f8e2bd0e
https://github.com/llvm/llvm-project/commit/8ad32ce7382bb8d630a3d4d93d1e1f00f8e2bd0e
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Basic/Targets/X86.cpp
M clang/lib/Basic/Targets/X86.h
M clang/lib/Driver/ToolChains/Arch/X86.cpp
M clang/test/Driver/x86-target-features.c
M clang/test/Preprocessor/x86_target_features.c
M llvm/include/llvm/TargetParser/X86TargetParser.def
M llvm/lib/Target/X86/X86.td
M llvm/lib/TargetParser/X86TargetParser.cpp
Log Message:
-----------
[X86] Add sub-feature zu (zero upper) for APX
This is a follow-up patch for #74199
Commit: 7ea63b9db4198688873036f3b0b81f9124076f7a
https://github.com/llvm/llvm-project/commit/7ea63b9db4198688873036f3b0b81f9124076f7a
Author: Weining Lu <luweining at loongson.cn>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/test/CodeGen/LoongArch/psabi-restricted-scheduling.ll
Log Message:
-----------
[LoongArch][test] Remove the FIXME in psabi-restricted-scheduling.ll which has been addressed by #76555
Commit: b0e9b00ce7d623175c5e60e82afe24e7f8a200be
https://github.com/llvm/llvm-project/commit/b0e9b00ce7d623175c5e60e82afe24e7f8a200be
Author: weiwei chen <weiwei.chen at modular.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
A llvm/test/CodeGen/NVPTX/mma-no-sink-after-laneid-check.ll
Log Message:
-----------
[NVPTX] Make nvptx mma instructions convergent. (#96521)
We are running into NVPTX backend generating wrong code for an input:
```
%0 = llvm.nvvm.mma.m?n?k?.row.col.??? (...)
if laneid == 0:
ret
else:
store %0
```
The backend reorder the instruction (as an effect of `MachineSink` pass)
to
```
if laneid == 0:
ret
else:
%0 = llvm.nvvm.mma.m?n?k?.row.col.??? (...)
store %0
```
This is incorrect because `mma` is a warp instruction which needs all
threads to sync before performing the operation instead of being guarded
by a specific thread id. It should be similar as the shuffle instruction
`shfl` in terms of warp level sync, and `shfl` is marked as
`isConvergent = true`.
Apply `isConvergent = true` to `mma` instructions.
Commit: 4e0a0eae58f7a6998866719f7eb970096a2a52e9
https://github.com/llvm/llvm-project/commit/4e0a0eae58f7a6998866719f7eb970096a2a52e9
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/include/llvm/TargetParser/X86TargetParser.def
Log Message:
-----------
[X86] Fix test Clang::CodeGen/builtin-cpu-supports.c failure
The test failed after
https://github.com/llvm/llvm-project/commit/8ad32ce7382bb8d630a3d4d93d1e1f00f8e2bd0e
In https://github.com/gcc-mirror/gcc/blob/master/gcc/common/config/i386/i386-cpuinfo.h
FEATURE_AVX512CD = 23 and FEATURE_AVX512VBMI = 26, we should only add 2
features between them. New features should be inserted at the end.
Commit: 9267f8f19a2e502ef5a216c0d52b352b3699d399
https://github.com/llvm/llvm-project/commit/9267f8f19a2e502ef5a216c0d52b352b3699d399
Author: sstwcw <su3e8a96kzlver at posteo.net>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Format/Format.h
M clang/lib/Format/Format.cpp
M clang/lib/Format/UnwrappedLineFormatter.cpp
M clang/unittests/Format/ConfigParseTest.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Add option to remove leading blank lines (#91221)
The options regarding which blank lines are kept are also aggregated.
The new option is `KeepEmptyLines`.
Commit: 437366b668cebefbf3cb7bd354fa4bfb5d90ccbb
https://github.com/llvm/llvm-project/commit/437366b668cebefbf3cb7bd354fa4bfb5d90ccbb
Author: Alexander Smarus <bender at readdle.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CMakeLists.txt
M clang/lib/Tooling/Inclusions/Stdlib/CMakeLists.txt
Log Message:
-----------
Adjust MSVC version range for ARM64 build performance regression (#90731)
This is follow up for #65215
Mentioned regression was fixed in MSVC 19.39 (VS 17.9.0), so it makes
sense to not apply fix for that (and newer) compiler versions.
Same as original change, this patch is narrowly scoped to not affect any
other compiler.
Commit: c393121778d877661f6b50cc3b3c582ac1654437
https://github.com/llvm/llvm-project/commit/c393121778d877661f6b50cc3b3c582ac1654437
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M libcxx/test/CMakeLists.txt
M libcxx/test/configs/llvm-libc++-shared-clangcl.cfg.in
M libcxx/test/configs/llvm-libc++-shared-no-vcruntime-clangcl.cfg.in
M libcxx/test/configs/llvm-libc++-static-clangcl.cfg.in
Log Message:
-----------
[libc++] Remove Windows-specific configuration from libcxx/test/CMakeLists.txt (#96330)
This is essentially a revert of 9853e9b which tried removing duplication
in the Windows config files by moving it to the CMake. However, we want
to decouple the CMake and the test suite as much as possible, so
encoding additional (non-official) Lit parameters in the CMake only as a
code reuse mechanism is not an approach we want to take.
Commit: 8348d720ef913b0ff92b468be2eb9f4ea273cb5a
https://github.com/llvm/llvm-project/commit/8348d720ef913b0ff92b468be2eb9f4ea273cb5a
Author: Clement Courbet <courbet at google.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/utils/DeclRefExprUtils.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/performance/unnecessary-copy-initialization.cpp
Log Message:
-----------
[clang-tidy] Fix assert in performance-unnecessary-copy-init. (#96506)
`GetDirectCallee` can be null.
Fixes #96498.
Commit: bd488c1247715f8d698b9b26611ff7f869c824cc
https://github.com/llvm/llvm-project/commit/bd488c1247715f8d698b9b26611ff7f869c824cc
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/TargetParser/RISCVISAInfo.cpp
Log Message:
-----------
[RISCV] Use StringRef::starts_with(char) instead of starts_with(StringRef). NFC
Commit: 8599629d390270b21c97f8b7ad2d97a344211d05
https://github.com/llvm/llvm-project/commit/8599629d390270b21c97f8b7ad2d97a344211d05
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachinePostDominators.h
M llvm/include/llvm/Passes/MachinePassRegistry.def
M llvm/lib/CodeGen/MachinePostDominators.cpp
M llvm/lib/Passes/PassBuilder.cpp
Log Message:
-----------
[CodeGen][NewPM] Port machine post dominator tree analysis to new pass manager (#96378)
Follows #95879.
Commit: 62d44fbd50e28a6cfe479fc07164b8c970f049c6
https://github.com/llvm/llvm-project/commit/62d44fbd50e28a6cfe479fc07164b8c970f049c6
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/MC/MCDwarf.cpp
Log Message:
-----------
[MC] Remove setUseAssemblerInfoForParsing(false) workarounds
This reverts commit 245491a9f384e4c53421196533c2a2b693efaf8d ("[MC] Disable MCAssembler based constant folding for DwarfDebug")
and cb09b5f3d53e5b7b4452bb3db78dca79fc9b3f17 ("[MC] Disable MCAssembler based constant folding for compact unwind and emitJumpTableEntry").
Checking the relative order of FA and FB is now faster due to
de19f7b6d46f1c38e10e604154f0fdaaffde9ebd ("[MC] Replace fragment ilist with singly-linked lists").
Commit: f1e0657d144f5a3cfef4b625d0f875f4dacd21d1
https://github.com/llvm/llvm-project/commit/f1e0657d144f5a3cfef4b625d0f875f4dacd21d1
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M mlir/docs/DialectConversion.md
M mlir/include/mlir/Transforms/DialectConversion.h
M mlir/lib/Transforms/Utils/DialectConversion.cpp
M mlir/test/Transforms/test-legalize-type-conversion.mlir
Log Message:
-----------
[mlir][Transforms] Dialect conversion: Simplify handling of dropped arguments (#96207)
This commit simplifies the handling of dropped arguments and updates
some dialect conversion documentation that is outdated.
When converting a block signature, a `BlockTypeConversionRewrite` object
and potentially multiple `ReplaceBlockArgRewrite` are created. During
the "commit" phase, uses of the old block arguments are replaced with
the new block arguments, but the old implementation was written in an
inconsistent way: some block arguments were replaced in
`BlockTypeConversionRewrite::commit` and some were replaced in
`ReplaceBlockArgRewrite::commit`. The new
`BlockTypeConversionRewrite::commit` implementation is much simpler and
no longer modifies any IR; that is done only in `ReplaceBlockArgRewrite`
now. The `ConvertedArgInfo` data structure is no longer needed.
To that end, materializations of dropped arguments are now built in
`applySignatureConversion` instead of `materializeLiveConversions`; the
latter function no longer has to deal with dropped arguments.
Other minor improvements:
- Improve variable name: `origOutputType` -> `origArgType`. Add an
assertion to check that this field is only used for argument
materializations.
- Add more comments to `applySignatureConversion`.
Note: Error messages around failed materializations for dropped basic
block arguments changed slightly. That is because those materializations
are now built in `legalizeUnresolvedMaterialization` instead of
`legalizeConvertedArgumentTypes`.
This commit is in preparation of decoupling argument/source/target
materializations from the dialect conversion.
Commit: 41f8e6d3ea57315e619ab9f71e1663095f4ed59d
https://github.com/llvm/llvm-project/commit/41f8e6d3ea57315e619ab9f71e1663095f4ed59d
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/fp-arith.mir
Log Message:
-----------
[RISCV][GISel] Fix test case order in fp-arith.mir. NFC
The fadd_f64 test was in the middle of some f32 tests.
Commit: 4c91b49bab0728d4bc136aa33c4aeb4e8ea37d01
https://github.com/llvm/llvm-project/commit/4c91b49bab0728d4bc136aa33c4aeb4e8ea37d01
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang-tools-extra/clangd/Format.cpp
Log Message:
-----------
[clangd] Fix the build broken (NFC)
/llvm-project/clang-tools-extra/clangd/Format.cpp:284:11:
error: no member named 'KeepEmptyLinesAtTheStartOfBlocks' in 'clang::format::FormatStyle'
Style.KeepEmptyLinesAtTheStartOfBlocks = true;
~~~~~ ^
1 error generated.
Commit: efa8463ab90147aacd4647eb7715763978235890
https://github.com/llvm/llvm-project/commit/efa8463ab90147aacd4647eb7715763978235890
Author: David Green <david.green at arm.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/test/Transforms/PhaseOrdering/AArch64/interleavevectorization.ll
M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity-concat.ll
M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll
Log Message:
-----------
[VectorCombine] Add free concats to shuffleToIdentity. (#94954)
This is another relatively small adjustment to shuffleToIdentity, which
has had a few knock-one effects to need a few more changes. It attempts
to detect free concats, that will be legalized to multiple vector
operations. For example if the lanes are '[a[0], a[1], b[0], b[1]]' and
a and b are v2f64 under aarch64.
In order to do this:
- isFreeConcat detects whether the input has piece-wise identities from
multiple inputs that can become a concat.
- A tree of concat shuffles is created to concatenate the input values
into a single vector. This is a little different to most other inputs as
there are created from multiple values that are being combined together,
and we cannot rely on the Lane0 insert location always being valid.
- The insert location is changed to the original location instead of
updating per item, which ensure it is valid due to the order that we
visit and create items.
Commit: f01958137f358f4fd3e71636b187db14a37a5853
https://github.com/llvm/llvm-project/commit/f01958137f358f4fd3e71636b187db14a37a5853
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/SmallPtrSet.h
M llvm/unittests/ADT/SmallPtrSetTest.cpp
Log Message:
-----------
[SmallPtrSet] Add remove_if() method (#96468)
Add remove_if() method, similar to the one already present on SetVector.
It is intended to replace the following pattern:
for (Foo *Ptr : Set)
if (Pred(Ptr))
Set.erase(Ptr);
With:
Set.remove_if(Pred);
This pattern is commonly used for set intersection, where `Pred` is
something like `!OtherSet.contains(Ptr)`.
The implementation provided here is a bit more efficient than the naive
loop, because it does not require looking up the bucket during the
erase() operation again.
However, my actual motivation for this is to have a way to perform this
operation without relying on the current `std::set`-style guarantee that
erase() does not invalidate iterators. I'd like to stop making use of
tombstones in the small regime, which will make insertion operations a
good bit more efficient. However, this will invalidate iterators during
erase().
Commit: fa20184a8f336e4154f2ffeeeb8a538dc9462d9a
https://github.com/llvm/llvm-project/commit/fa20184a8f336e4154f2ffeeeb8a538dc9462d9a
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/lib/Serialization/ASTWriter.cpp
A clang/test/Modules/no-external-identifier-id.cppm
A clang/test/Modules/no-external-type-id.cppm
Log Message:
-----------
[C++20] [Modules] [Serialization] Don't reuse type ID and identifier ID from imported modules
To support no-transitive-change model for named modules, we can't reuse
type ID and identifier ID from imported modules arbitrarily. Since the
theory for no-transitive-change model is,
for a user of a named module, the user can only access the
indirectly imported decls via the directly imported module. So that it is
possible to control what matters to the users when writing the module.
And it will be unsafe to do so if the users can reuse the type IDs and
identifier IDs from the indirectly imported modules not via the directly
imported modules.
So in this patch, we don't reuse the type ID and identifier ID in the
AST writer to avoid the problematic case.
Commit: 8153773b23032177546944ec2524dce131b8a46e
https://github.com/llvm/llvm-project/commit/8153773b23032177546944ec2524dce131b8a46e
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Pointer.cpp
M clang/test/AST/Interp/literals.cpp
Log Message:
-----------
[clang][Interp] Fix returning primitive non-blockpointers
We can't deref() them, so return false here.
Commit: 174f80c6030f9bc96df6ae8daeb4d6bce3f36fbb
https://github.com/llvm/llvm-project/commit/174f80c6030f9bc96df6ae8daeb4d6bce3f36fbb
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/GenericDomTreeConstruction.h
Log Message:
-----------
[DomTree] Avoid duplicate hash lookups in runDFS() (NFCI) (#96460)
runDFS() currently performs three hash table lookups. One in the main
loop, one when checking whether a successor has already been visited and
another when adding parent and reverse children to the successor.
We can avoid the two additional lookups by making the parent number part
of the stack, and then making the parent / reverse children update part
of the main loop.
The main loop already has a check for already visited nodes, so we don't
have to check this in advance -- we can simply push the node to the
worklist and skip it later.
Commit: 01fb5290eb86f056e6ba8757011273bcb7f4f2ee
https://github.com/llvm/llvm-project/commit/01fb5290eb86f056e6ba8757011273bcb7f4f2ee
Author: Oleksandr "Alex" Zinenko <git at ozinenko.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
Fix bazel after 18cf1cd92b554ba0b870c6a2223ea4d0d3c6dd21
mlir-config.h is included but not listed in dependencies
Commit: 7f1a74429dfd62a410d4b51d2e75d3677429a51a
https://github.com/llvm/llvm-project/commit/7f1a74429dfd62a410d4b51d2e75d3677429a51a
Author: Björn Pettersson <bjorn.a.pettersson at ericsson.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/MachineSSAUpdater.cpp
A llvm/test/CodeGen/AArch64/taildup-ssa-update-pr62712.mir
Log Message:
-----------
[TailDup][MachineSSAUpdater] Let RewriteUse insert a COPY when needed (#95553)
When running early-tailduplication we've seen problems with machine
verifier errors due to register class mismatches after doing the machine
SSA updates.
Typical scenario is that there is a PHI node and another instruction
that is using the same vreg:
%othervreg:otherclass = PHI %vreg:origclass, %bb
MInstr %vreg:origclass
but then after TailDuplicator::tailDuplicateAndUpdate we get
%othervreg:otherclass = PHI %vreg:origclass, %bb, ...
MInstr %othervreg:otherclass
Such rewrites are only valid if 'otherclass' is equal to (or a subclass
of) 'origclass'.
The solution here is based on adding a COPY instruction to make sure we
satisfy constraints given by 'MInstr' in the example. So if 'otherclass'
isn't equal to (or a subclass of) 'origclass' we insert a copy after the
PHI like this:
%othervreg:otherclass = PHI %vreg:origclass, %bb, ...
%newvreg:origclass = COPY %othervreg:otherclass
MInstr %newvreg:origclass
A special case is when it is possible to constrain the register class
instead of inserting a COPY. We currently prefer to constrain the
register class instead of inserting a COPY, even if it is a bit unclear
if that always is better (considering register pressure for the
constrained class etc.).
Fixes: https://github.com/llvm/llvm-project/issues/62712
Commit: 11e12bd82b0358de053cfd0dc762e9b30948c8a1
https://github.com/llvm/llvm-project/commit/11e12bd82b0358de053cfd0dc762e9b30948c8a1
Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M compiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
M compiler-rt/lib/gwp_asan/platform_specific/guarded_pool_allocator_fuchsia.cpp
M compiler-rt/lib/gwp_asan/platform_specific/guarded_pool_allocator_posix.cpp
M compiler-rt/lib/gwp_asan/utilities.h
Log Message:
-----------
[NFC] [GWP-ASan] Rename Check() to check() (#96605)
Change this function to be LLVM-style in name.
Commit: d78211912391b724a064ef017dbf239eff10380a
https://github.com/llvm/llvm-project/commit/d78211912391b724a064ef017dbf239eff10380a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/Analysis.h
Log Message:
-----------
[Analysis] Use SmallPtrSet::remove_if (NFC)
Commit: 2d84e0ffefda62da6193d339633dbb55654f7b5d
https://github.com/llvm/llvm-project/commit/2d84e0ffefda62da6193d339633dbb55654f7b5d
Author: Anton Sidorenko <anton.sidorenko at syntacore.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCV.td
M llvm/lib/Target/RISCV/RISCVProcessors.td
A llvm/lib/Target/RISCV/RISCVSchedSyntacoreSCR3.td
A llvm/test/tools/llvm-mca/RISCV/SyntacoreSCR/SCR3-ALU.s
A llvm/test/tools/llvm-mca/RISCV/SyntacoreSCR/SCR3-LSU.s
Log Message:
-----------
[RISCV] Add scheduling model for Syntacore SCR3 (#95427)
Syntacore SCR3 is a microcontroller-class processor core. Overview:
https://syntacore.com/products/scr3
Co-authored-by: Dmitrii Petrov <dmitrii.petrov at syntacore.com>
Commit: 8395f9cecd34af8a79c96e661e46a80d0d471fb1
https://github.com/llvm/llvm-project/commit/8395f9cecd34af8a79c96e661e46a80d0d471fb1
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.h
Log Message:
-----------
[lldb/DWARF] Remove parsing recursion when searching for definition DIEs (#96484)
If ParseStructureLikeDIE (or ParseEnum) encountered a declaration DIE,
it would call FindDefinitionTypeForDIE. This returned a fully formed
type, which it achieved by recursing back into ParseStructureLikeDIE
with the definition DIE.
This obscured the control flow and caused us to repeat some work (e.g.
the UniqueDWARFASTTypeMap lookup), but it mostly worked until we tried
to delay the definition search in #90663. After this patch, the two
ParseStructureLikeDIE calls were no longer recursive, but rather the
second call happened as a part of the CompleteType() call. This opened
the door to inconsistencies, as the second ParseStructureLikeDIE call
was not aware it was called to process a definition die for an existing
type.
To make that possible, this patch removes the recusive type resolution
from this function, and leaves just the "find definition die"
functionality. After finding the definition DIE, we just go back to the
original ParseStructureLikeDIE call, and have it finish the parsing
process with the new DIE.
While this patch is motivated by the work on delaying the definition
searching, I believe it is also useful on its own.
Commit: f6aa50873463ebd9a459b7ccd4989460175a6e7f
https://github.com/llvm/llvm-project/commit/f6aa50873463ebd9a459b7ccd4989460175a6e7f
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
M llvm/lib/Target/SPIRV/SPIRVUtils.cpp
A llvm/test/CodeGen/SPIRV/var-uniform-const.ll
Log Message:
-----------
[SPIR-V]: Fix creation of constants of array types in SPIRV Backend (#96514)
This PR fixes https://github.com/llvm/llvm-project/issues/96513.
The way of creation of array type constant was incorrect: instead of
creating [1, 1, 1] or [1, 1, 1, 1, 1, ....] constants, the same [1]
constant was always created, substituting original composite constants.
This in its turn led to a situation when only one of constants might
exist in the code without emitting invalid code, the second constant
would be eventually rewritten to the first constant, because a key to
address both was an array of a single element (like [1]).
This PR fixes the issue and purges from the code unneeded copy/pasted
clone of the function that creates an array constant.
Commit: 0bd9c49a295829ed44e838c4d54cc905662a1afa
https://github.com/llvm/llvm-project/commit/0bd9c49a295829ed44e838c4d54cc905662a1afa
Author: Lukacma <Marian.Lukac at arm.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
A llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-comb-no-active-lanes-loads.ll
Log Message:
-----------
[AArch64][SVE] optimisation for SVE load intrinsics with no active lanes (#95269)
This patch extends #73964 and adds optimisation of load SVE intrinsics
when predicate is zero.
Commit: 919b1ecafc010379eff88368b050068223a01f99
https://github.com/llvm/llvm-project/commit/919b1ecafc010379eff88368b050068223a01f99
Author: Abid Qadeer <haqadeer at amd.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
A flang/test/Integration/debug-ptr-type.f90
A flang/test/Transforms/debug-ptr-type.fir
Log Message:
-----------
[flang][debug] Support pointer type. (#96153)
The handling of `PointerType` is similar to `HeapType`. The only
difference is that allocated flag is generated for `HeapType` and
associated flag for `PointerType`. The tests for pointer to allocatable
strings are disabled for now. I will enable them once #95906 is merged.
The debugging in GDB looks like this:
integer, pointer :: par2(:)
integer, target, allocatable :: ar2(:)
integer, target :: sc
integer, pointer :: psc
allocate(ar2(4))
par2 => ar2
psc => sc
19 par2 => ar2
(gdb) p par2
$3 = <not associated>
(gdb) n
20 do i=1,5
(gdb) p par2
$4 = (0, 0, 0, 0)
(gdb) ptype par2
type = integer (4)
(gdb) p sc
$5 = 3
(gdb) p psc
$6 = (PTR TO -> ( integer )) 0x7fffffffda24
(gdb) p *psc
$7 = 3
Commit: 5feb32ba929f9e517c530217cabb09d1d734a763
https://github.com/llvm/llvm-project/commit/5feb32ba929f9e517c530217cabb09d1d734a763
Author: Vikram Hegde <115221833+vikramRH at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGenOpenCL/builtins-amdgcn.cl
M llvm/docs/AMDGPUUsage.rst
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/lib/Target/AMDGPU/VOP1Instructions.td
M llvm/lib/Target/AMDGPU/VOP2Instructions.td
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/intrinsics.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/atomic_optimizations_mul_one.ll
M llvm/test/CodeGen/AMDGPU/atomic_optimization_split_dt_update.ll
A llvm/test/CodeGen/AMDGPU/convergence-laneops.ll
M llvm/test/CodeGen/AMDGPU/global-atomic-scan.ll
M llvm/test/CodeGen/AMDGPU/global_atomic_optimizer_fp_rtn.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_iterative_scan.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_iterative_scan_fp.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_optimizer_fp_no_rtn.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.readfirstlane.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.readfirstlane.ptr.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.readlane.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.readlane.ptr.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.writelane.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.writelane.ptr.ll
M llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll
Log Message:
-----------
[AMDGPU] Extend readlane, writelane and readfirstlane intrinsic lowering for generic types (#89217)
This patch is intended to be the first of a series with end goal to
adapt atomic optimizer pass to support i64 and f64 operations (along
with removing all unnecessary bitcasts). This legalizes 64 bit readlane,
writelane and readfirstlane ops pre-ISel
---------
Co-authored-by: vikramRH <vikhegde at amd.com>
Commit: f9795f34a6b358bdf02389ba01765924a2ad0b9f
https://github.com/llvm/llvm-project/commit/f9795f34a6b358bdf02389ba01765924a2ad0b9f
Author: Serge Pavlov <sepavloff at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/unittests/CodeGen/GlobalISel/MachineIRBuilderTest.cpp
Log Message:
-----------
[GlobalISel] Add build methods for FP environment intrinsics (#96607)
This change adds methods like buildGetFPEnv and similar for opcodes that
represent manipulation on floating-point state.
Commit: 16d02cd1c5df57ae317b115333cf75b347c90d1d
https://github.com/llvm/llvm-project/commit/16d02cd1c5df57ae317b115333cf75b347c90d1d
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libcxx/include/__type_traits/is_nothrow_destructible.h
M libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_destructible.pass.cpp
Log Message:
-----------
[libc++] Use __is_nothrow_destructible (#95766)
This changes the behaviour in C++03 mode because we'll now use the
builtin on Clang, but I don't think that's much of a problem.
Commit: 29f4a0561a03f4760a876e39d443c64ea7ee9e22
https://github.com/llvm/llvm-project/commit/29f4a0561a03f4760a876e39d443c64ea7ee9e22
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/SetOperations.h
Log Message:
-----------
[SetOperations] clang-format header (NFC)
This header used three-space indentation in a number of places.
Reformat it completely.
Commit: f09b02484b865e4e6e2243ee2ff59d70b60d28e4
https://github.com/llvm/llvm-project/commit/f09b02484b865e4e6e2243ee2ff59d70b60d28e4
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaTemplate.cpp
Log Message:
-----------
[clang] Remove a stale FIXME
This FIXME has already been addressed in #89358
Commit: 9d45077df92a64ff8db5b249ac2f2d45e82ab73c
https://github.com/llvm/llvm-project/commit/9d45077df92a64ff8db5b249ac2f2d45e82ab73c
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
Log Message:
-----------
[VPlan] Iterate over VPlans to get VFs to compute cost for (NFCI).
Instead for iterating over all VFs when computing costs, simply iterate
over the VFs available in the created VPlans.
Split off from https://github.com/llvm/llvm-project/pull/92555.
This also prepares for moving the check if any vector instructions will
be generated to be based on VPlan, to unblock recommitting
https://github.com/llvm/llvm-project/pull/92555.
Commit: eeb0884e6696ec618feb2181a432d10f66d4e840
https://github.com/llvm/llvm-project/commit/eeb0884e6696ec618feb2181a432d10f66d4e840
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
M llvm/test/Transforms/LoopUnroll/ARM/multi-blocks.ll
M llvm/test/Transforms/LoopUnroll/runtime-exit-phi-scev-invalidation.ll
M llvm/test/Transforms/LoopUnroll/runtime-loop-at-most-two-exits.ll
M llvm/test/Transforms/LoopUnroll/runtime-loop-multiple-exits.ll
M llvm/test/Transforms/LoopUnroll/runtime-loop5.ll
M llvm/test/Transforms/LoopUnroll/runtime-multiexit-heuristic.ll
M llvm/test/Transforms/LoopUnroll/runtime-unroll-remainder.ll
M llvm/test/Transforms/LoopUnroll/tripcount-overflow.ll
M llvm/test/Transforms/LoopUnrollAndJam/unroll-and-jam.ll
M llvm/test/Transforms/LoopVectorize/X86/float-induction-x86.ll
Log Message:
-----------
[LoopUnroll] Use poison instead of undef for preheader value
Commit: a2e915704ffb040e544b13bf565ecad3aa661d98
https://github.com/llvm/llvm-project/commit/a2e915704ffb040e544b13bf565ecad3aa661d98
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/create-induction-resume.ll
Log Message:
-----------
[LV] Make create-induction-resume.ll more robust by adding store.
Without the store, the vector loop body is empty. Add a store to avoid
that, while not impacting the induction resume values that are created.
Commit: 37c736e0359770b6a2d2139d84f9df400f4b1049
https://github.com/llvm/llvm-project/commit/37c736e0359770b6a2d2139d84f9df400f4b1049
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
M llvm/test/DebugInfo/unrolled-loop-remainder.ll
M llvm/test/Transforms/LoopUnroll/runtime-exit-phi-scev-invalidation.ll
M llvm/test/Transforms/LoopUnroll/runtime-loop-multiple-exits.ll
M llvm/test/Transforms/LoopUnroll/tripcount-overflow.ll
Log Message:
-----------
[LoopUnroll] Use poison instead of undef for another preheader value
Commit: cc8fdd60c2f791dba70c9e458173640d7da836e3
https://github.com/llvm/llvm-project/commit/cc8fdd60c2f791dba70c9e458173640d7da836e3
Author: Andrei Safronov <safronov at espressif.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/Xtensa/XtensaAsmPrinter.cpp
M llvm/lib/Target/Xtensa/XtensaAsmPrinter.h
M llvm/lib/Target/Xtensa/XtensaISelLowering.cpp
M llvm/lib/Target/Xtensa/XtensaISelLowering.h
M llvm/lib/Target/Xtensa/XtensaInstrInfo.td
M llvm/lib/Target/Xtensa/XtensaOperators.td
A llvm/test/CodeGen/Xtensa/blockaddress.ll
A llvm/test/CodeGen/Xtensa/brcc.ll
A llvm/test/CodeGen/Xtensa/indirectbr.ll
A llvm/test/CodeGen/Xtensa/jumpt.ll
Log Message:
-----------
[Xtensa] Lower GlobalAddress/BlockAddress/JumpTable (#95256)
This patch implements lowering of the GlobalAddress, BlockAddress,
JumpTable and BR_JT. Also patch adds legal support of the BR_CC
operation for i32 type.
Commit: 4acc8eed94e3f4e21bcf1dedca021cb6a086720c
https://github.com/llvm/llvm-project/commit/4acc8eed94e3f4e21bcf1dedca021cb6a086720c
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/test/Transforms/SCCP/2009-01-14-IPSCCP-Invoke.ll
M llvm/test/Transforms/SCCP/apint-ipsccp2.ll
M llvm/test/Transforms/SCCP/ipsccp-clear-returned.ll
M llvm/test/Transforms/SCCP/ipsccp-noundef.ll
M llvm/test/Transforms/SCCP/ipsccp-preserve-analysis.ll
M llvm/test/Transforms/SCCP/range-and-ip.ll
M llvm/test/Transforms/SCCP/solve-after-each-resolving-undefs-for-function.ll
M llvm/test/Transforms/SCCP/struct-arg-resolve-undefs.ll
Log Message:
-----------
[SCCP] Generate test checks (NFC)
Some of these are just old, while others previously did not use
UTC due to missing features that have since been implemented
(such as signature matching).
Commit: 16bb8c16aab32e2ee623a2b64d976548be247180
https://github.com/llvm/llvm-project/commit/16bb8c16aab32e2ee623a2b64d976548be247180
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/SCCP.cpp
M llvm/test/Transforms/FunctionSpecialization/track-return.ll
M llvm/test/Transforms/SCCP/2009-01-14-IPSCCP-Invoke.ll
M llvm/test/Transforms/SCCP/apint-ipsccp2.ll
M llvm/test/Transforms/SCCP/arg-count-mismatch.ll
M llvm/test/Transforms/SCCP/indirectbr.ll
M llvm/test/Transforms/SCCP/ip-constant-ranges.ll
M llvm/test/Transforms/SCCP/ip-ranges-phis.ll
M llvm/test/Transforms/SCCP/ip-ranges-select.ll
M llvm/test/Transforms/SCCP/ipsccp-basic.ll
M llvm/test/Transforms/SCCP/ipsccp-clear-returned.ll
M llvm/test/Transforms/SCCP/ipsccp-noundef.ll
M llvm/test/Transforms/SCCP/ipsccp-preserve-analysis.ll
M llvm/test/Transforms/SCCP/issue59602-assume-like-call-users.ll
M llvm/test/Transforms/SCCP/metadata.ll
M llvm/test/Transforms/SCCP/musttail-call.ll
M llvm/test/Transforms/SCCP/range-and-ip.ll
M llvm/test/Transforms/SCCP/range-attribute.ll
M llvm/test/Transforms/SCCP/remove-call-inst.ll
M llvm/test/Transforms/SCCP/resolvedundefsin-tracked-fn.ll
M llvm/test/Transforms/SCCP/return-constant.ll
M llvm/test/Transforms/SCCP/solve-after-each-resolving-undefs-for-function.ll
M llvm/test/Transforms/SCCP/struct-arg-resolve-undefs.ll
Log Message:
-----------
[SCCP] Use poison instead of undef when zapping returns
Commit: 35eef9f97f077a7cfa2beb9df857aa1713e4faa6
https://github.com/llvm/llvm-project/commit/35eef9f97f077a7cfa2beb9df857aa1713e4faa6
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/Reassociate.cpp
Log Message:
-----------
[Reassociate] Use poison instead of undef for dummy operands (NFCI)
These will be replaced later.
Commit: 65f9601fb1479507820ca8381bb472ec4e8a2eee
https://github.com/llvm/llvm-project/commit/65f9601fb1479507820ca8381bb472ec4e8a2eee
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M lld/ELF/InputFiles.cpp
M lld/ELF/InputFiles.h
Log Message:
-----------
[NFC][lld][ELF] Remove unused `sec` param of `ObjFile<ELFT>::getRelocTarget` (#96500)
Commit: bfad8757159a3def7c07d4f5ef23ed76fafdf441
https://github.com/llvm/llvm-project/commit/bfad8757159a3def7c07d4f5ef23ed76fafdf441
Author: hev <wangrui at loongson.cn>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
M llvm/test/CodeGen/LoongArch/machinelicm-address-pseudos.ll
M llvm/test/CodeGen/LoongArch/psabi-restricted-scheduling.ll
Log Message:
-----------
[LoongArch] Ensure PseudoLA* can be hoisted (#94723)
Since we mark the pseudos as mayLoad but do not provide any MMOs,
isSafeToMove conservatively returns false, stopping MachineLICM from
hoisting the instructions. PseudoLA_TLS_{LD,GD} does not actually expand
to a load, so stop marking that as mayLoad to allow it to be hoisted,
and for the others make sure to add MMOs during lowering to indicate
they're GOT loads and thus can be freely moved.
Commit: 9952e00af6c93e9807c3dfe076e99e7f5a77f675
https://github.com/llvm/llvm-project/commit/9952e00af6c93e9807c3dfe076e99e7f5a77f675
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/unittests/Transforms/Vectorize/VPlanTest.cpp
Log Message:
-----------
[VPlanTest] Use poison instead of undef for dummy values (NFC)
Commit: 68efc506f58776fdfcfc60707f8fe52584736d8a
https://github.com/llvm/llvm-project/commit/68efc506f58776fdfcfc60707f8fe52584736d8a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/unittests/IR/VectorBuilderTest.cpp
Log Message:
-----------
[VectorBuilderTest] Use poison instead of undef for dummy values (NFC)
Commit: 9acb533c38be833ec1d8daa06e127a9de8f0a5ef
https://github.com/llvm/llvm-project/commit/9acb533c38be833ec1d8daa06e127a9de8f0a5ef
Author: Alex Voicu <alexandru.voicu at amd.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/include/clang/Basic/Cuda.h
M clang/lib/Basic/Cuda.cpp
M clang/lib/Basic/Targets/NVPTX.cpp
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Driver/ToolChains/HIPAMD.cpp
M clang/lib/Driver/ToolChains/HIPAMD.h
M clang/test/Driver/cuda-arch-translation.cu
M clang/test/Frontend/embed-bitcode.ll
M clang/test/Misc/target-invalid-cpu-note.c
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
Log Message:
-----------
[clang][Driver] Add HIPAMD Driver support for AMDGCN flavoured SPIR-V (#95061)
This patch augments the HIPAMD driver to allow it to target AMDGCN
flavoured SPIR-V compilation. It's mostly straightforward, as we re-use
some of the existing SPIRV infra, however there are a few notable
additions:
- we introduce an `amdgcnspirv` offload arch, rather than relying on
using `generic` (this is already fairly overloaded) or simply using
`spirv` or `spirv64` (we'll want to use these to denote unflavoured
SPIRV, once we bring up that capability)
- initially it is won't be possible to mix-in SPIR-V and concrete AMDGPU
targets, as it would require some relatively intrusive surgery in the
HIPAMD Toolchain and the Driver to deal with two triples
(`spirv64-amd-amdhsa` and `amdgcn-amd-amdhsa`, respectively)
- in order to retain user provided compiler flags and have them
available at JIT time, we rely on embedding the command line via
`-fembed-bitcode=marker`, which the bitcode writer had previously not
implemented for SPIRV; we only allow it conditionally for AMDGCN
flavoured SPIRV, and it is handled correctly by the Translator (it ends
up as a string literal)
Once the SPIRV BE is no longer experimental we'll switch to using that
rather than the translator. There's some additional work that'll come
via a separate PR around correctly piping through AMDGCN's
implementation of `printf`, for now we merely handle its flags
correctly.
Commit: a46a2c2b7d8daf68c793b6b96f1c5bc009aea62b
https://github.com/llvm/llvm-project/commit/a46a2c2b7d8daf68c793b6b96f1c5bc009aea62b
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/X86/arith-int-codesize.ll
M llvm/test/Analysis/CostModel/X86/arith-int-latency.ll
M llvm/test/Analysis/CostModel/X86/arith-int-sizelatency.ll
M llvm/test/Analysis/CostModel/X86/arith-int.ll
M llvm/test/Analysis/CostModel/X86/rem-codesize.ll
M llvm/test/Analysis/CostModel/X86/rem-latency.ll
M llvm/test/Analysis/CostModel/X86/rem-sizelatency.ll
M llvm/test/Analysis/CostModel/X86/rem.ll
M llvm/test/Analysis/CostModel/X86/slm-arith-costs.ll
M llvm/test/CodeGen/X86/avx2-arith.ll
M llvm/test/CodeGen/X86/midpoint-int-vec-128.ll
M llvm/test/CodeGen/X86/midpoint-int-vec-256.ll
M llvm/test/CodeGen/X86/min-legal-vector-width.ll
M llvm/test/CodeGen/X86/pmul.ll
M llvm/test/CodeGen/X86/prefer-avx256-wide-mul.ll
M llvm/test/CodeGen/X86/vector-shuffle-combining-sse41.ll
Log Message:
-----------
[X86] Lower vXi8 multiplies using PMADDUBSW on SSSE3+ targets (#95690)
Extends https://github.com/llvm/llvm-project/pull/95403 to handle non-constant cases - we can avoid unpacks/extensions from vXi8 to vXi16 by using PMADDUBSW instead and truncating the vXi16 results back together.
Most targets benefit from performing this for non-constant cases - its just Intel Core/SandyBridge era CPUs that might experience additional Port0/15 contention (but lower instruction count).
Fixes https://github.com/llvm/llvm-project/issues/90748
Commit: 5ed5d723db58f7556782427444642d0571cdf649
https://github.com/llvm/llvm-project/commit/5ed5d723db58f7556782427444642d0571cdf649
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M mlir/lib/Dialect/ArmSME/Transforms/VectorLegalization.cpp
M mlir/test/Dialect/ArmSME/vector-legalization.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/ArmSME/multi-tile-matmul.mlir
Log Message:
-----------
[mlir][ArmSME] Lower multi-tile stores to a single loop (#96187)
This adds a new pattern that can legalize a multi-tile transfer_write as
a single store loop. This is done as part of type decomposition as at
this level we know each tile write is disjoint, but that information is
lost after decomposition (without analysis to reconstruct it).
Example (pseudo-MLIR):
```
vector.transfer_write %vector, %dest[%y, %x], %mask
: vector<[16]x[8]xi16>, memref<?x?xi16>
```
Is rewritten to:
```
scf.for %slice_idx = %c0 to %c8_vscale step %c1 {
%upper_slice_mask = vector.extract %mask[%slice_idx] ─┐
: vector<[8]xi1> from vector<[16]x[8]xi1> |
%upper_slice = vector.extract %upper_tile[%slice_idx] |- Store upper tile
: vector<[8]xi16> from vector<[8]x[8]xi16> |
vector.transfer_write %upper_slice, |
%dest[%slice_idx + %y, %x], %upper_slice_mask |
: vector<[8]xi16>, memref<?x?xi16> ┘
%lower_slice_idx = %slice_idx + %c8_vscale ─┐
%lower_slice_mask = vector.extract %mask[%lower_slice_idx] |
: vector<[8]xi1> from vector<[16]x[8]xi1> |
%lower_slice = vector.extract %lower_tile[%slice_idx] |- Store lower
: vector<[8]xi16> from vector<[8]x[8]xi16> | tile
vector.transfer_write %lower_slice, |
%dest[%lower_slice_idx + %y, %x], %lower_slice_mask |
: vector<[8]xi16>, memref<?x?xi16> ┘
}
```
Commit: 6c9916d0d8a40034c5e0dfc157f146855e42520e
https://github.com/llvm/llvm-project/commit/6c9916d0d8a40034c5e0dfc157f146855e42520e
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libc/cmake/modules/prepare_libc_gpu_build.cmake
M llvm/runtimes/CMakeLists.txt
Log Message:
-----------
[libc] Configure CMAKE_REQUIRED_FLAGS so the GPU can use flag checks (#95424)
Summary:
This patch adds `CMAKE_REQUIRED_FLAGS` for the GPU build so checks like
`check_cxx_compiler_flags` work as expected. This is required because we
need to hack around the potential lack of `nvlink` and `ptxas` for NVPTX
targets and the fact that the AMDGPU target needs `-nogpulib` to avoid
errors on lack of ROCm. This makes a few of the checks pass and also
allows us to just check `-mcpu=native` for architecture detection
instead of finding the tools manually.
Commit: 0f111ba790a28056d42a0ae376371d7b694454ae
https://github.com/llvm/llvm-project/commit/0f111ba790a28056d42a0ae376371d7b694454ae
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/LoopInfo.h
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
M llvm/lib/Analysis/LoopInfo.cpp
M llvm/lib/Transforms/Scalar/LoopDistribute.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
A llvm/test/Analysis/LoopAccessAnalysis/debug-loc.ll
M llvm/test/Analysis/LoopAccessAnalysis/print-order.ll
M llvm/test/Analysis/LoopAccessAnalysis/scalable-vector-regression-tests.ll
A llvm/test/Transforms/LoopDistribute/debug-loc.ll
A llvm/test/Transforms/LoopDistribute/debug-print.ll
M llvm/test/Transforms/LoopVectorize/ARM/mve-hoist-runtime-checks.ll
M llvm/test/Transforms/LoopVectorize/runtime-checks-hoist.ll
Log Message:
-----------
LoopInfo: introduce Loop::getLocStr; unify debug output (#93051)
Introduce a Loop::getLocStr stolen from LoopVectorize's static function
getDebugLocString in order to have uniform debug output headers across
LoopVectorize, LoopAccessAnalysis, and LoopDistribute. The motivation
for this change is to have UpdateTestChecks recognize the headers and
automatically generate CHECK lines for debug output, with minimal
special-casing.
Commit: 8263bec5331863113c6163afdc3f93e063f20a07
https://github.com/llvm/llvm-project/commit/8263bec5331863113c6163afdc3f93e063f20a07
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP] Use poison instead of undef in reorderScalars() (#96619)
-1 mask elements are specified to return poison rather than undef
nowadays , so update the reorderScalars() implementation to match.
Commit: 952bdaaf79c1e5d7364160b21de0cd1295cdfbd8
https://github.com/llvm/llvm-project/commit/952bdaaf79c1e5d7364160b21de0cd1295cdfbd8
Author: Leandro Lupori <leandro.lupori at linaro.org>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M flang/include/flang/Lower/AbstractConverter.h
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
A flang/test/Lower/OpenMP/copyprivate2.f90
Log Message:
-----------
[flang][OpenMP] Fix copyprivate allocatable/pointer lowering (#95975)
The lowering of copyprivate clauses with allocatable or pointer
variables was incorrect. This happened because the values passed to
copyVar() are always wrapped in SymbolBox::Intrinsic, which
resulted in allocatable/pointer variables being handled as regular
ones.
This is fixed by providing to copyVar() the attributes of the
variables being copied, to make it possible to detect and handle
allocatable/pointer variables correctly.
Fixes #95801
Commit: c43664931378c589091fb169a6d3840474f5c324
https://github.com/llvm/llvm-project/commit/c43664931378c589091fb169a6d3840474f5c324
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
M llvm/lib/Target/AArch64/AArch64Subtarget.h
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
Log Message:
-----------
[AArch64] Remove all instances of the 'hasSVEorSME' interfaces. (#96543)
I've not added any new tests for these, because the original conditions
were wrong (they did not consider streaming mode) and we have tests for
the positive cases.
Commit: c5aa983f91f0543b43926a32d2f70bb53f9945a2
https://github.com/llvm/llvm-project/commit/c5aa983f91f0543b43926a32d2f70bb53f9945a2
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/test/Transforms/InstCombine/shift.ll
M llvm/test/Transforms/InstSimplify/phi.ll
M llvm/test/Transforms/LoopDeletion/update-scev.ll
Log Message:
-----------
[InstSimplify] Fold all poison phi to poison instead of undef
Commit: 4780dc3d7fd63016ebb871544287fedc83b1006a
https://github.com/llvm/llvm-project/commit/4780dc3d7fd63016ebb871544287fedc83b1006a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/phi.ll
Log Message:
-----------
[InstCombine] Add poison variant to phi test (NFC)
And rename an argument to avoid an upper/lowercase clash.
Commit: abc8c4be3bb70755328051c99e1b196663140c66
https://github.com/llvm/llvm-project/commit/abc8c4be3bb70755328051c99e1b196663140c66
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/uniform-blend.ll
Log Message:
-----------
[LoopVectorize] Generate test checks (NFC)
Commit: edbe698eadaefca31564e3207074c8ed4b10bc12
https://github.com/llvm/llvm-project/commit/edbe698eadaefca31564e3207074c8ed4b10bc12
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/__support/FPUtil/CMakeLists.txt
M libc/src/__support/FPUtil/dyadic_float.h
M libc/src/__support/FPUtil/generic/CMakeLists.txt
A libc/src/__support/FPUtil/generic/div.h
M libc/src/math/CMakeLists.txt
A libc/src/math/f16divf.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/f16divf.cpp
M libc/test/src/math/CMakeLists.txt
A libc/test/src/math/DivTest.h
A libc/test/src/math/f16divf_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/DivTest.h
A libc/test/src/math/smoke/f16divf_test.cpp
M libc/utils/MPFRWrapper/MPFRUtils.cpp
M libc/utils/MPFRWrapper/MPFRUtils.h
Log Message:
-----------
[libc][math][c23] Add f16divf C23 math function (#96131)
Part of #93566.
Commit: eabe091cdba859890fd169bd51924f34fd754bbf
https://github.com/llvm/llvm-project/commit/eabe091cdba859890fd169bd51924f34fd754bbf
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Add missing dependency for 5ed5d723db58f7556782427444642d0571cdf649
Commit: 70cfece24d6cbb57e35dd961cc97eb2a6bf1e387
https://github.com/llvm/llvm-project/commit/70cfece24d6cbb57e35dd961cc97eb2a6bf1e387
Author: sstwcw <su3e8a96kzlver at posteo.net>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Format/Format.h
M clang/lib/Format/Format.cpp
M clang/lib/Format/UnwrappedLineFormatter.cpp
M clang/unittests/Format/ConfigParseTest.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
Revert "[clang-format] Add option to remove leading blank lines (#91221)"
This reverts commit 9267f8f19a2e502ef5a216c0d52b352b3699d399.
I changed a formatter option. I forgot to update other components that
depend on the formatter when the option name changed.
Commit: c69ea04fb9738db283263eb350669e00b77ee4fd
https://github.com/llvm/llvm-project/commit/c69ea04fb9738db283263eb350669e00b77ee4fd
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang-tools-extra/clangd/Format.cpp
Log Message:
-----------
Revert "[clangd] Fix the build broken (NFC)"
This reverts commit 4c91b49bab0728d4bc136aa33c4aeb4e8ea37d01 after 70cfece24d6cbb57e35dd961cc97eb2a6bf1e387.
Commit: fd62906ddb252298f6ed63fe85e146d477acdaed
https://github.com/llvm/llvm-project/commit/fd62906ddb252298f6ed63fe85e146d477acdaed
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libcxx/include/__numeric/gcd_lcm.h
M libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.pass.cpp
Log Message:
-----------
[libc++] Fix incorrect overflow checking in std::lcm (#96310)
We should have been using __builtin_mul_overflow from the start instead
of adding a manual (and error-prone) check for overflow.
Fixes #96196
Commit: 44c9a26756192228fd9dcd33c238ec8858d40329
https://github.com/llvm/llvm-project/commit/44c9a26756192228fd9dcd33c238ec8858d40329
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/test/Transforms/Mem2Reg/preserve-nonnull-load-metadata.ll
Log Message:
-----------
[Mem2Reg] Add tests with !noundef (NFC)
Commit: c9f083a9940d1d62f77c39f05bb0fc186cc4832c
https://github.com/llvm/llvm-project/commit/c9f083a9940d1d62f77c39f05bb0fc186cc4832c
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/include/clang/Basic/BuiltinsAMDGPU.def
M clang/lib/CodeGen/CGBuiltin.cpp
A clang/test/CodeGenOpenCL/builtins-amdgcn-raw-buffer-store.cl
A clang/test/SemaOpenCL/builtins-amdgcn-raw-buffer-store-error.cl
Log Message:
-----------
[Clang][AMDGPU] Add builtins for instrinsic `llvm.amdgcn.raw.ptr.buffer.store` (#94576)
Depends on https://github.com/llvm/llvm-project/pull/96313.
Commit: 1462605ab0a121fc2f652f178c7c13dc0179f10e
https://github.com/llvm/llvm-project/commit/1462605ab0a121fc2f652f178c7c13dc0179f10e
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/CFGPrinter.h
M llvm/lib/Analysis/CallGraph.cpp
M llvm/lib/Analysis/ConstraintSystem.cpp
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
M llvm/lib/Analysis/PHITransAddr.cpp
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/lib/Analysis/TargetTransformInfo.cpp
Log Message:
-----------
[Analysis] Use range-based for loops (NFC) (#96587)
Commit: 2dd4167a09cfe1a1e09852e99b4984ddb3e89cf7
https://github.com/llvm/llvm-project/commit/2dd4167a09cfe1a1e09852e99b4984ddb3e89cf7
Author: David Sherwood <david.sherwood at arm.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
M llvm/test/Analysis/CostModel/AArch64/masked_ldst.ll
M llvm/test/Analysis/CostModel/AArch64/sve-gather.ll
M llvm/test/Analysis/CostModel/AArch64/sve-ldst.ll
M llvm/test/Analysis/CostModel/AArch64/sve-scatter.ll
M llvm/test/Transforms/LoopVectorize/AArch64/scalable-reductions.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-illegal-type.ll
A llvm/test/Transforms/LoopVectorize/AArch64/sve-invalid-costs.ll
Log Message:
-----------
[LoopVectorize][AArch64] Add limited support for scalable vectorisation of i1 types (#95920)
Previously isElementTypeLegalForScalableVector returned false for i1
types, which also prevented vectorisation of loops with i1 reductions.
This is overkill - we only need to disable vectorisation for loads
and/or stores of i1 types. I've added i1 as a legal type, but changed
the cost model to return an invalid cost for loads and stores.
Commit: 54b61adc0cbefb7f923ef43c407704ba9f9d8b69
https://github.com/llvm/llvm-project/commit/54b61adc0cbefb7f923ef43c407704ba9f9d8b69
Author: Mike Rice <michael.p.rice at intel.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/lib/Lex/LiteralSupport.cpp
Log Message:
-----------
[NFC][clang] Replace unreachable code in literal processing with assert (#96579)
Address static verifier concerns about dead code in DoubleUnderscore
check. Replace it with an assert.
Commit: eb12d9b5cb6d15ce151a63ad32b4e0e5823ddb87
https://github.com/llvm/llvm-project/commit/eb12d9b5cb6d15ce151a63ad32b4e0e5823ddb87
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libcxx/docs/ReleaseNotes/19.rst
M libcxx/include/__memory/allocator.h
M libcxx/include/__memory/shared_ptr.h
R libcxx/test/libcxx/containers/sequences/vector/const_T.compile.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/const_value_type.pass.cpp
M libcxx/test/libcxx/diagnostics/memory.nodiscard.verify.cpp
M libcxx/test/libcxx/memory/allocator_void.trivial.compile.pass.cpp
M libcxx/test/libcxx/memory/allocator_volatile.verify.cpp
M libcxx/test/std/concepts/concepts.lang/concept.default.init/default_initializable.compile.pass.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator.ctor.pass.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator.dtor.pass.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator.members/allocate.constexpr.size.verify.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator.members/allocate.size.pass.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator_types.deprecated_in_cxx17.verify.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator_types.deprecated_in_cxx23.verify.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator_types.pass.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator_types.removed_in_cxx20.verify.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator_types.removed_in_cxx26.verify.cpp
M libcxx/test/std/utilities/memory/specialized.algorithms/specialized.construct/construct_at.pass.cpp
Log Message:
-----------
[libc++] Remove the allocator<const T> extension (#96319)
This effort has quite a history:
- This was first attempted in 2022 via bed3240bf7d1, which broke
std::shared_ptr<T const> and caused the change to be reverted in
9138666f5464.
- We then re-attempted landing the change in 276ca87382b8 after fixing
std::shared_ptr, but reports were made that this broke code en masse
within Google. This led to the patch being reverted again in
a54d028895c9 with the goal to land this again with a migration path for
vendors.
This patch re-lands the removal while providing a migration path for
vendors by providing the `_LIBCPP_ENABLE_REMOVED_ALLOCATOR_CONST` macro.
This macro will be honored for the LLVM 19 release and will be removed
after that, at which point allocator<const T> will be removed
unconditionally.
Fixes #73665
Commit: d6c74102626ead8c4e2f7e638fdfea1fcd3d0bc7
https://github.com/llvm/llvm-project/commit/d6c74102626ead8c4e2f7e638fdfea1fcd3d0bc7
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
Log Message:
-----------
AMDGPU: Remove an outdated TODO (#96446)
We have a fixed calling convention for stack pointer and frame pointer,
we shouldn't try to shift anything around.
Commit: 7e9b49f6b86c8616e6211ec02dbccc3ebb615e79
https://github.com/llvm/llvm-project/commit/7e9b49f6b86c8616e6211ec02dbccc3ebb615e79
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
M llvm/lib/Target/AMDGPU/GCNSubtarget.h
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
Log Message:
-----------
AMDGPU: Add plumbing for private segment size argument (#96445)
The actual size of scratch/private is determined at dispatch time, so
add more plumbing to request it. Will be used in subsequent change.
Commit: 13ed349c44ca44f470e2e6181888f14b6b22a44a
https://github.com/llvm/llvm-project/commit/13ed349c44ca44f470e2e6181888f14b6b22a44a
Author: Ivan Kosarev <ivan.kosarev at amd.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.h
Log Message:
-----------
[AMDGPU][NFC] Rename AMDGPUVariadicMCExpr to AMDGPUMCExpr. (#96618)
Some of our custom expressions are not variadic and there seems to be
little benefit in mentioning the variadic nature of expression nodes in
the name anyway.
Commit: fb463e154e7fe1200b9d91f82fafa532331ce764
https://github.com/llvm/llvm-project/commit/fb463e154e7fe1200b9d91f82fafa532331ce764
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C23] Remove WG14 N2379 from the C status page
This paper was adopted at the Oct 2019 meeting in Ithaca, but the
changes from the paper were later removed (editorially) by the C
Floating Point study group due to being incorrect and unnecessary.
Commit: c6973ade4c46e28b1be9e1f5d873ca9a59197418
https://github.com/llvm/llvm-project/commit/c6973ade4c46e28b1be9e1f5d873ca9a59197418
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
M llvm/test/Transforms/Mem2Reg/preserve-nonnull-load-metadata.ll
Log Message:
-----------
[Mem2Reg] Generate non-terminator unreachable for !noundef undef (#96639)
When performing a load from uninitialized memory using !noundef, insert
a non-terminator unreachable instruction, which will be converted to a
proper unreachable by SimplifyCFG. This way we retain the fact that UB
occurred on this code path.
Commit: de528ffb17ebce96e0bc4dde1749146c41ca1d0d
https://github.com/llvm/llvm-project/commit/de528ffb17ebce96e0bc4dde1749146c41ca1d0d
Author: Mats Petersson <mats.petersson at arm.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Transforms/Passes.h
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/include/flang/Tools/CLOptions.inc
M flang/lib/Optimizer/Transforms/CMakeLists.txt
A flang/lib/Optimizer/Transforms/ConstantArgumentGlobalisation.cpp
M flang/test/Fir/boxproc.fir
M flang/test/Lower/character-local-variables.f90
A flang/test/Transforms/constant-argument-globalisation-2.fir
A flang/test/Transforms/constant-argument-globalisation.fir
Log Message:
-----------
[Flang] Extracting internal constants from scalar literals (#73829)
Constants actual arguments in function/subroutine calls are currently
lowered as allocas + store. This can sometimes inhibit LTO and the
constant will not be propagated to the called function. Particularly in
cases where the function/subroutine call happens inside a condition.
This patch changes the lowering of these constant actual arguments to a
global constant + fir.address_of_op. This lowering makes it easier for
LTO to propagate the constant.
The optimization must be enabled explicitly to run. Use -mmlir
--enable-constant-argument-globalisation to enable.
---------
Co-authored-by: Dmitriy Smirnov <dmitriy.smirnov at arm.com>
Commit: 2cf197506f59b6151c542faec594a7e1e97d9c64
https://github.com/llvm/llvm-project/commit/2cf197506f59b6151c542faec594a7e1e97d9c64
Author: harishch4 <harishcse44 at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/OpenMP/OpenMPClauseOperands.h
M mlir/include/mlir/Dialect/OpenMP/OpenMPEnums.td
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
M mlir/test/Dialect/OpenMP/invalid.mlir
M mlir/test/Dialect/OpenMP/ops.mlir
Log Message:
-----------
[MLIR][OpenMP]Add order-modifier support to Order clause (#93805)
This adds order-modifier (reproducible|unconstrained) support to Order
clause.
Commit: a4045299d3024a69746c4fd9517e27e5cef4785e
https://github.com/llvm/llvm-project/commit/a4045299d3024a69746c4fd9517e27e5cef4785e
Author: bwlodarcz <bertrand.wlodarczyk at intel.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVBaseInfo.cpp
M llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVBaseInfo.h
M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
Log Message:
-----------
[SPIRV] Add definitions for NonSemantic debug info (#95530)
This commit adds basic types and definitions for
NonSemantic.Shader.DebugInfo.100 standard for SPIRV.
Full implementation of the standard will allow SPIRV backend to emit
files with debug info included.
Link to standard:
https://github.com/KhronosGroup/SPIRV-Registry/blob/main/nonsemantic/NonSemantic.Shader.DebugInfo.100.html
Commit: ec9ce89a0823165e245be8fc095da8a88fb4cf79
https://github.com/llvm/llvm-project/commit/ec9ce89a0823165e245be8fc095da8a88fb4cf79
Author: David Sherwood <david.sherwood at arm.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/AArch64/sve-invalid-costs.ll
Log Message:
-----------
[LoopVectorize] Fix build issue caused by #95920 (#96647)
Commit: 2274c66e6faaaf29ad693b1ae3e5a7b0228a1950
https://github.com/llvm/llvm-project/commit/2274c66e6faaaf29ad693b1ae3e5a7b0228a1950
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libcxx/include/__type_traits/conditional.h
Log Message:
-----------
[libc++] Use _If for conditional_t (#96193)
This avoids different instantiations when the if and else types are
different, resulting in reduced memory use by the compiler.
Commit: ed1273d4ddee160f847cbee28714c79353022a3c
https://github.com/llvm/llvm-project/commit/ed1273d4ddee160f847cbee28714c79353022a3c
Author: RichardLuo <CommAdama at outlook.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libcxx/modules/CMakeLists.txt.in
Log Message:
-----------
[libc++] change the visibility of libc++ header to public in libcxx module (#91240)
This PR addresses a problem that headers may not be able to be found if
`#include` is used with std modules.
Consider the following file:
#include <boost/json.hpp>
import std;
int main(int, const char **) { }
Boost will include something from libc++, but we are using -nostdinc++
at [1] so the compiler can not find any default std header. Therefore
the locally built header needs to be public.
[1]: https://github.com/RichardLuo0/llvm-project/blob/15fdd47c4b110b64dc61f636e42e0484bf8bdbe0/libcxx/modules/CMakeLists.txt.in#L52
Commit: bb5ab1ffe719f5e801ef08ac08be975546aa3266
https://github.com/llvm/llvm-project/commit/bb5ab1ffe719f5e801ef08ac08be975546aa3266
Author: shawbyoung <shawbyoung at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M bolt/docs/CommandLineArgumentReference.md
M bolt/lib/Profile/YAMLProfileReader.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/lib/Utils/CommandLineOpts.cpp
A bolt/test/X86/hashing-based-function-matching.test
Log Message:
-----------
[𝘀𝗽𝗿] initial version
Created using spr 1.3.4
Commit: 020f69cd10a2ff1233cc28088989319e5a58b116
https://github.com/llvm/llvm-project/commit/020f69cd10a2ff1233cc28088989319e5a58b116
Author: shawbyoung <shawbyoung at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M bolt/lib/Rewrite/RewriteInstance.cpp
Log Message:
-----------
Added opts::Lite to RewriteInstance
Commit: c097e643efc2a2ee5170fbcdb5e8c644a7207452
https://github.com/llvm/llvm-project/commit/c097e643efc2a2ee5170fbcdb5e8c644a7207452
Author: shawbyoung <shawbyoung at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M bolt/lib/Rewrite/RewriteInstance.cpp
Log Message:
-----------
Revert "Added opts::Lite to RewriteInstance"
This reverts commit 020f69cd10a2ff1233cc28088989319e5a58b116.
Commit: 0e11a7e7179a2eb066e5f63f25b9277aa63f38eb
https://github.com/llvm/llvm-project/commit/0e11a7e7179a2eb066e5f63f25b9277aa63f38eb
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/test/Transforms/EarlyCSE/flags.ll
Log Message:
-----------
[EarlyCSE] Add test with noundef load of undef (NFC)
Commit: 79e8a5952366eacd92201a8d6472726fc14e00fd
https://github.com/llvm/llvm-project/commit/79e8a5952366eacd92201a8d6472726fc14e00fd
Author: Hui <hui.xie1990 at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libcxx/include/__memory/allocator_traits.h
M libcxx/include/deque
M libcxx/include/forward_list
M libcxx/include/list
M libcxx/include/map
M libcxx/include/set
M libcxx/include/string
M libcxx/include/unordered_map
M libcxx/include/unordered_set
M libcxx/include/vector
Log Message:
-----------
[libc++] Move allocator assertion into allocator_traits (#94750)
There is code duplication in all containers that static_assert the
allocator matches the allocator requirements in the spec. This check can
be moved into a more centralised place.
Commit: 7f10ed637e53c68ce62b756a3be8546a3dccf751
https://github.com/llvm/llvm-project/commit/7f10ed637e53c68ce62b756a3be8546a3dccf751
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
Log Message:
-----------
[tsan] Fix dead lock when starting StackDepot thread (#96456)
Sometime tsan runtimes calls, like
`__tsan_mutex_create ()`, need to store a stack
in the StackDepot, and the Depot may need to start
and maintenance thread.
Example:
```
__sanitizer::FutexWait ()
__sanitizer::Semaphore::Wait ()
__sanitizer::Mutex::Lock ()
__tsan::SlotLock ()
__tsan::SlotLocker::SlotLocker ()
__tsan::Acquire ()
__tsan::CallUserSignalHandler ()
__tsan::ProcessPendingSignalsImpl ()
__tsan::ProcessPendingSignals ()
__tsan::ScopedInterceptor::~ScopedInterceptor ()
___interceptor_mmap ()
pthread_create ()
__sanitizer::internal_start_thread ()
__sanitizer::(anonymous namespace)::CompressThread::NewWorkNotify ()
__sanitizer::StackDepotNode::store ()
__sanitizer::StackDepotBase<__sanitizer::StackDepotNode, 1, 20>::Put ()
__tsan::CurrentStackId ()
__tsan::MutexCreate ()
__tsan_mutex_create ()
```
pthread_create() implementation may hit other
interceptors recursively, which may invoke
ProcessPendingSignals, which deadlocks.
Alternative solution could be block interceptors
closer to TSAN runtime API function, like
`__tsan_mutex_create`, or just before
`StackDepotPut``, but it's not needed for most
calls, only when new thread is created using
`real_pthread_create`.
I don't see a reasonable way to create a
regression test.
Commit: dddef9d1c9b7b4e8a96bd68d44cd3ed6dc85f758
https://github.com/llvm/llvm-project/commit/dddef9d1c9b7b4e8a96bd68d44cd3ed6dc85f758
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
M llvm/lib/Target/RISCV/GISel/RISCVRegisterBankInfo.cpp
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/fp-arith-f16.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-fp-arith-f16.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/fp-arith-f16.mir
Log Message:
-----------
[RISCV] Add FPR16 regbank and start legalizing f16 operations for Zfh. (#96582)
Commit: 8a46bbbc22a51db57f05beb0026772b899a785b9
https://github.com/llvm/llvm-project/commit/8a46bbbc22a51db57f05beb0026772b899a785b9
Author: Lukacma <Marian.Lukac at arm.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaType.cpp
M clang/test/Sema/arm-vector-types-support.c
R clang/test/SemaCUDA/neon-attrs.cu
M clang/utils/TableGen/NeonEmitter.cpp
Log Message:
-----------
[Clang] Remove preprocessor guards and global feature checks for NEON (#95224)
To enable function multi-versioning (FMV), current checks which rely on
cmd line options or global macros to see if target feature is present
need to be removed. This patch removes those for NEON and also
implements changes to NEON header file as proposed in
[ACLE](https://github.com/ARM-software/acle/pull/321).
Commit: 8c11d3788c26cd85f102959068109d3e498e8498
https://github.com/llvm/llvm-project/commit/8c11d3788c26cd85f102959068109d3e498e8498
Author: Xiaoyang Liu <siujoeng.lau at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libcxx/include/__mdspan/extents.h
M libcxx/test/std/containers/views/mdspan/extents/ctad.pass.cpp
Log Message:
-----------
[libc++] P3029R1: Better `mdspan`'s CTAD - `std::extents` (#89015)
This patch implements an improvement introduced in P3029R1 that was
missed in #87873. It adds a deduction of static extents if
integral_constant-like constants are passed to `std::extents`.
Commit: 902952ae04afc2dfe28805b949a1e2218affe65e
https://github.com/llvm/llvm-project/commit/902952ae04afc2dfe28805b949a1e2218affe65e
Author: shawbyoung <shawbyoung at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M bolt/docs/CommandLineArgumentReference.md
M bolt/lib/Profile/YAMLProfileReader.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/lib/Utils/CommandLineOpts.cpp
R bolt/test/X86/hashing-based-function-matching.test
Log Message:
-----------
Revert "[𝘀𝗽𝗿] initial version"
This reverts commit bb5ab1ffe719f5e801ef08ac08be975546aa3266.
Commit: 731db06a878f5c8cb29b36d526a54493677ea89f
https://github.com/llvm/llvm-project/commit/731db06a878f5c8cb29b36d526a54493677ea89f
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libcxx/include/__atomic/atomic_init.h
M libcxx/src/barrier.cpp
M libcxx/src/filesystem/operations.cpp
M libcxx/src/filesystem/path.cpp
M libcxx/src/filesystem/path_parser.h
M libcxx/src/locale.cpp
M runtimes/cmake/Modules/WarningFlags.cmake
Log Message:
-----------
[libc++] Get the GCC build mostly clean of warnings (#96604)
The GCC build has gotten to the point where it's often hard to find the
actual error in the build log. We should look into enabling these
warnings again in the future, but it looks like a lot of them are
bogous.
Commit: 2604830aacdd563715da030d0396b565e912436f
https://github.com/llvm/llvm-project/commit/2604830aacdd563715da030d0396b565e912436f
Author: Akira Hatanaka <ahatanak at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/docs/LanguageExtensions.rst
M clang/include/clang/AST/Expr.h
M clang/include/clang/Basic/Builtins.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/CodeGen/ModuleBuilder.h
M clang/lib/AST/ExprConstant.cpp
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/CodeGen/CGDebugInfo.h
M clang/lib/Sema/SemaChecking.cpp
A clang/test/CodeGenCXX/debug-info-verbose-trap.cpp
A clang/test/SemaCXX/verbose-trap.cpp
Log Message:
-----------
Add support for __builtin_verbose_trap (#79230)
The builtin causes the program to stop its execution abnormally and
shows a human-readable description of the reason for the termination
when a debugger is attached or in a symbolicated crash log.
The motivation for the builtin is explained in the following RFC:
https://discourse.llvm.org/t/rfc-adding-builtin-verbose-trap-string-literal/75845
clang's CodeGen lowers the builtin to `llvm.trap` and emits debugging
information that represents an artificial inline frame whose name
encodes the category and reason strings passed to the builtin.
Commit: bb075eeb892374a209953ad20e02c1324e272679
https://github.com/llvm/llvm-project/commit/bb075eeb892374a209953ad20e02c1324e272679
Author: Jakub Mazurkiewicz <mazkuba3 at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
A libcxx/test/std/containers/sequences/array/array.overview/nttp.equivalence.compile.pass.cpp
A libcxx/test/std/containers/sequences/array/array.overview/nttp.verify.cpp
A libcxx/test/std/utilities/utility/pairs/pairs.pair/nttp.equivalence.compile.pass.cpp
A libcxx/test/std/utilities/utility/pairs/pairs.pair/nttp.verify.cpp
Log Message:
-----------
[libc++] LWG3382: NTTP for `pair` and `array` (#85811)
Mark LWG3382 as "Nothing To Do" and add tests.
Commit: 889f3c5741e78ce90b4dcc643bb15d992225a67c
https://github.com/llvm/llvm-project/commit/889f3c5741e78ce90b4dcc643bb15d992225a67c
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPU.td
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/GCNSubtarget.h
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
Log Message:
-----------
AMDGPU: Handle legal v2bf16 atomicrmw fadd for gfx12 (#95930)
Annoyingly gfx90a/940 support this for global/flat but not buffer.
Commit: b7768c5485844306cd3c8afeef609ddf9d79696a
https://github.com/llvm/llvm-project/commit/b7768c5485844306cd3c8afeef609ddf9d79696a
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
Log Message:
-----------
[clang][Interp][NFC] Use delegate() to delegate to only initlist item
Commit: e951bd0f51f8b077296f09d9c60ddf150048042f
https://github.com/llvm/llvm-project/commit/e951bd0f51f8b077296f09d9c60ddf150048042f
Author: Vy Nguyen <vyng at google.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M lldb/include/lldb/API/SBDebugger.h
M lldb/include/lldb/Symbol/TypeSystem.h
M lldb/source/API/SBDebugger.cpp
M lldb/source/Symbol/TypeSystem.cpp
M lldb/tools/lldb-dap/DAP.cpp
M lldb/tools/lldb-dap/DAP.h
M lldb/tools/lldb-dap/lldb-dap.cpp
Log Message:
-----------
Reapply PR/87550 (again) (#95571)
New fixes:
- properly init the `std::optional<std::vector>` to an empty vector as
opposed to `{}` (which was effectively `std::nullopt`).
---------
Co-authored-by: Vy Nguyen <oontvoo at users.noreply.github.com>
Commit: dca49d739de07b1755ad65aa26dacd2e2c22af20
https://github.com/llvm/llvm-project/commit/dca49d739de07b1755ad65aa26dacd2e2c22af20
Author: Nick Desaulniers (paternity leave) <nickdesaulniers at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libc/config/linux/app.h
M libc/src/__support/threads/thread.h
M libc/startup/linux/do_start.cpp
Log Message:
-----------
[libc][arm32] define argc type and stack alignment (#96367)
https://github.com/ARM-software/abi-aa/blob/main/aapcs32/aapcs32.rst#6212stack-constraints-at-a-public-interface
mentions that the stack on ARM32 is double word aligned.
Remove confused comments around ArgcType. argc is always an int, passed on the
stack, so we need to store a pointer to it (regardless of ILP32 or LP64).
Commit: fb07afedbebb0c9f2647d02c6f254245cdb84085
https://github.com/llvm/llvm-project/commit/fb07afedbebb0c9f2647d02c6f254245cdb84085
Author: yonghong-song <yhs at fb.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/BPF/BPFRegisterInfo.cpp
Log Message:
-----------
[BPF] Avoid potential long compilation time without -g (#96575)
Alastair Robertson reported a huge compilation time increase without -g
for bpf target when comparing to x86 ([1]). In my setup, with '-O0', for
x86, a large basic block compilation takes 0.19s while bpf target takes
2.46s. The top function which contributes to the compile time is
eliminateFrameIndex().
Such long compilation time without -g is caused by commit
05de2e481811 ("[bpf] error when BPF stack size exceeds 512 bytes")
The compiler tries to get some debug loc by iterating all insns in the
basic block which will be used when compiler warns larger-than-512 stack
size. Even without -g, such iterating also happens which cause
unnecessary compile time increase.
To fix the issue, let us move the related code when the compiler is
about to warn stack limit violation. This fixed the compile time
regression, and on my system, the compile time is reduced from 2.46s to
0.35s.
[1] https://github.com/bpftrace/bpftrace/issues/3257
Co-authored-by: Yonghong Song <yonghong.song at linux.dev>
Commit: ac1e22f3053f761e4e2ef832b92de15876e68335
https://github.com/llvm/llvm-project/commit/ac1e22f3053f761e4e2ef832b92de15876e68335
Author: Stanley Winata <68087699+raikonenfnu at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
M mlir/test/Dialect/Vector/fold-arith-extf-into-vector-contract.mlir
Log Message:
-----------
[mlir][vector] Generalize folding of ext-contractionOp to other types. (#96593)
Many state of the art models and quantization operations are now
directly working on vector.contract on integers.
This commit enables generalizes ext-contraction folding S.T we can emit
more performant vector.contracts on codegen pipelines.
Signed-off-by: Stanley Winata <stanley.winata at amd.com>
Commit: 580343d96f18e3c2fa8d7a8e25a175aaa2e20522
https://github.com/llvm/llvm-project/commit/580343d96f18e3c2fa8d7a8e25a175aaa2e20522
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Descriptor.cpp
Log Message:
-----------
[clang][Interp][NFC] Destroy InitMap when moving contents to DeadBlock
Commit: c9529f76017f0b517dca1e89eecdf6bbd97c3e84
https://github.com/llvm/llvm-project/commit/c9529f76017f0b517dca1e89eecdf6bbd97c3e84
Author: Max191 <44243577+Max191 at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
M mlir/test/Dialect/Tensor/fold-tensor-subset-ops-into-vector-transfers.mlir
M mlir/test/Dialect/Tensor/fold-tensor-subset-ops.mlir
Log Message:
-----------
[mlir] Drop outermost dims in slice rank reduction inference (#95020)
The `getDroppedDims` utility function does not follow the convention of
dropping outermost unit dimensions first when inferring a rank reduction
mask for a slice. This PR updates the implementation to match this
convention.
Commit: 05ca20744159a33349271a96b90959a0a3807133
https://github.com/llvm/llvm-project/commit/05ca20744159a33349271a96b90959a0a3807133
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C23] Update status page regarding FLT_MAX_EXP
N2843 was subsumed by N2882; we could probably consider removing
subsumed entries, but I've been leaving them to help folks looking at
the editor's report from various working drafts and wondering about the
changes.
Commit: d7dd778cde84110e38521a6b55dfeb4e1c649ec2
https://github.com/llvm/llvm-project/commit/d7dd778cde84110e38521a6b55dfeb4e1c649ec2
Author: PeterChou1 <peter.chou at mail.utoronto.ca>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang-tools-extra/clang-doc/tool/CMakeLists.txt
M clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
Log Message:
-----------
[clang-doc] update install path to share/clang-doc instead of share/clang (#96555)
Updates the install path for clang-doc to share/clang-doc instead
share/clang to avoid confusion
Commit: dbd5c7805bae510c79b51c2c7700a590f2df446d
https://github.com/llvm/llvm-project/commit/dbd5c7805bae510c79b51c2c7700a590f2df446d
Author: PeterChou1 <peter.chou at mail.utoronto.ca>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Calculator.cpp
M clang-tools-extra/test/clang-doc/basic-project.test
Log Message:
-----------
[clang-doc] Remove stdexecpt from clang-doc test (#96552)
Removes stdexecpt from clang-doc test introduced in
https://github.com/llvm/llvm-project/pull/93928
since it violates the rule that test must be freestanding
Commit: f0f774ebf09b1f1ae8129074801342eeadf5495b
https://github.com/llvm/llvm-project/commit/f0f774ebf09b1f1ae8129074801342eeadf5495b
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M compiler-rt/lib/asan/asan_interceptors.cpp
M compiler-rt/lib/hwasan/hwasan_interceptors.cpp
M compiler-rt/lib/lsan/lsan_interceptors.cpp
M compiler-rt/lib/memprof/memprof_interceptors.cpp
M compiler-rt/lib/msan/msan_interceptors.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_common_libcdep.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_posix.h
M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
Log Message:
-----------
[sanitizer] Rename DEFINE_REAL_PTHREAD_FUNCTIONS (#96527)
We use REAL() calls in interceptors, but
DEFINE_REAL_PTHREAD_FUNCTIONS has nothing to do
with them and only used for internal maintenance
threads.
This is done to avoid confusion like in #96456.
Commit: de7c1396f29b9bf7011912e7cfea9edad1efb492
https://github.com/llvm/llvm-project/commit/de7c1396f29b9bf7011912e7cfea9edad1efb492
Author: Han-Kuan Chen <hankuan.chen at sifive.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP] NFC. Refactor and add getAltInstrMask help function. (#94709)
Co-authored-by: Alexey Bataev <a.bataev at gmx.com>
Commit: aaf50bf34f3a2007221c644384d238666cfc2bc3
https://github.com/llvm/llvm-project/commit/aaf50bf34f3a2007221c644384d238666cfc2bc3
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/cgp-addressing-modes-smem.ll
Log Message:
-----------
[AMDGPU] Disallow negative s_load offsets in isLegalAddressingMode (#91327)
Commit: 5e2beed9a1643cd6358fb8b43feb893543d90bf3
https://github.com/llvm/llvm-project/commit/5e2beed9a1643cd6358fb8b43feb893543d90bf3
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C23] Move WG14 N2931 to the TS18661 section
This paper only matters for TS18661-3 integration.
Commit: 0b049ce64653a8cbdeedaa2bfe6cc79fc6af5d40
https://github.com/llvm/llvm-project/commit/0b049ce64653a8cbdeedaa2bfe6cc79fc6af5d40
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
A compiler-rt/test/tsan/Darwin/fork_deadlock.cpp
R compiler-rt/test/tsan/Linux/fork_deadlock.cpp
Log Message:
-----------
[tsan] Test `__tsan_test_only_on_fork` only on Mac (#96597)
According to https://reviews.llvm.org/D114250
this was to handle Mac specific issue, however
the test is Linux only.
The test effectively prevents to lock main allocator
on fork, but we do that on Linux for other
sanitizers for years, and need to do the same
for TSAN to avoid deadlocks.
Commit: 4c87212d63c3b45e9371434239553ef007216106
https://github.com/llvm/llvm-project/commit/4c87212d63c3b45e9371434239553ef007216106
Author: Nick Desaulniers (paternity leave) <nickdesaulniers at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libc/src/__support/OSUtil/linux/arm/syscall.h
Log Message:
-----------
[libc][thumb] support syscalls from thumb mode (#96558)
r7 is reserved in thumb2 (typically for the frame pointer, as opposed to r11 in
ARM mode), so assigning to a variable with explicit register storage in r7 will
produce an error.
But r7 is where the Linux kernel expects the syscall number to be placed. We
can use a temporary to get the register allocator to pick a temporary, which we
save+restore the previous value of r7 in.
Fixes: #93738
Commit: cd2bac81a9ae961f8299198750a8910dc389491e
https://github.com/llvm/llvm-project/commit/cd2bac81a9ae961f8299198750a8910dc389491e
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M compiler-rt/lib/tsan/rtl/tsan_mman.cpp
M compiler-rt/lib/tsan/rtl/tsan_mman.h
M compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
Log Message:
-----------
[nfc][tsan] Better name for locking functions (#96598)
These functions used only for `fork`.
Unused parameter `child` will be used in followup patches.
Commit: 0258a60cd97c5d44b150a6c954f992b39a6c4f2f
https://github.com/llvm/llvm-project/commit/0258a60cd97c5d44b150a6c954f992b39a6c4f2f
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M compiler-rt/lib/tsan/rtl/tsan_mman.cpp
Log Message:
-----------
[nfc][tsan] Clang format includes (#96599)
Commit: 5c9513ac752fe33976a0a16a9e6d188b8200d3ae
https://github.com/llvm/llvm-project/commit/5c9513ac752fe33976a0a16a9e6d188b8200d3ae
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
A llvm/test/CodeGen/NVPTX/max-align.ll
Log Message:
-----------
[NVPTX] cap param alignment at 128 (max supported by ptx) (#96117)
Cap the alignment to 128 bytes as that is the maximum alignment
supported by PTX. The restriction is mentioned in the parameter passing
section (Note D) of the [PTX Writer's Guide to Interoperability]
(https://docs.nvidia.com/cuda/ptx-writers-guide-to-interoperability/index.html#parameter-passing)
> D. The alignment must be 1, 2, 4, 8, 16, 32, 64, or 128 bytes.
Commit: 70fb1e379b52bfab061fd608acb8c7d070d31ecd
https://github.com/llvm/llvm-project/commit/70fb1e379b52bfab061fd608acb8c7d070d31ecd
Author: Fabian Mora <fmora.dev at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M mlir/include/mlir/Target/LLVM/ROCDL/Utils.h
M mlir/lib/Target/LLVM/CMakeLists.txt
M mlir/lib/Target/LLVM/ROCDL/Target.cpp
Log Message:
-----------
Reland [mlir][Target] Improve ROCDL gpu serialization API (#96198)
Reland: https://github.com/llvm/llvm-project/pull/95456
This patch improves the ROCDL gpu serialization API by:
- Introducing the enum `AMDGCNLibraries` for specifying the AMD GCN
device code libraries to use during linking.
- Removing `getCommonBitcodeLibs` in favor of `AMDGCNLibraries`.
Previously `getCommonBitcodeLibs` would try to load all AMD GCN bitcode
librariesm now it will only load the requested libraries.
- Exposing the `compileToBinary` method and making it virtual, allowing
downstream users to re-use this method.
- Exposing `moduleToObjectImpl`, this method provides a prototype flow
for compiling to binary, allowing downstream users to re-use this
method.
- It also avoids constructing the control variables if no device
libraries are being used.
- Changes the style of the error messages to be composable, ie no full
stops.
- Adds an error message for when the ROCm toolkit can't be found but it
was required.
Commit: c0dc134de56f0fa25b942c9db1b1852b1da9ee51
https://github.com/llvm/llvm-project/commit/c0dc134de56f0fa25b942c9db1b1852b1da9ee51
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M compiler-rt/lib/tsan/rtl/tsan_mman.cpp
M compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c
Log Message:
-----------
[tsan] Lock/Unlock allocator and stacks on fork (#96600)
We do that for other Sanitizers, and we
should do the same for TSAN.
There are know deadlocks reports here.
Commit: 39a0aa5876c20ef245fc4065b9f512008fac91a6
https://github.com/llvm/llvm-project/commit/39a0aa5876c20ef245fc4065b9f512008fac91a6
Author: Eli Friedman <efriedma at quicinc.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/AArch64/ldexp.ll
A llvm/test/CodeGen/ARM/ldexp.ll
M llvm/test/CodeGen/X86/ldexp.ll
M llvm/test/CodeGen/X86/llvm.frexp.ll
Log Message:
-----------
[SelectionDAG] Lower llvm.ldexp.f32 to ldexp() on Windows. (#95301)
This reduces codesize. As discussed in #92707.
Commit: 928b7808406b893b24edb8d8462491dc82f9ce43
https://github.com/llvm/llvm-project/commit/928b7808406b893b24edb8d8462491dc82f9ce43
Author: Brendan Dahl <brendan.dahl at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
M llvm/test/CodeGen/WebAssembly/half-precision.ll
M llvm/test/MC/WebAssembly/simd-encodings.s
Log Message:
-----------
[WebAssembly] Implement trunc_sat and convert instructions for f16x8. (#95180)
These instructions can be generated using regular LL intrinsics.
Specified at:
https://github.com/WebAssembly/half-precision/blob/29a9b9462c9285d4ccc1a5dc39214ddfd1892658/proposals/half-precision/Overview.md
Commit: a790279bf2a8be2f9c42bf80f55a63933e398d0e
https://github.com/llvm/llvm-project/commit/a790279bf2a8be2f9c42bf80f55a63933e398d0e
Author: Alexis Perry-Holby <AlexisPerry at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Flang.cpp
M flang/include/flang/Frontend/TargetOptions.h
M flang/include/flang/Lower/Bridge.h
M flang/include/flang/Optimizer/CodeGen/CGPasses.td
M flang/include/flang/Optimizer/CodeGen/Target.h
M flang/include/flang/Optimizer/Dialect/Support/FIRContext.h
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Frontend/FrontendActions.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/CodeGen/Target.cpp
M flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
M flang/lib/Optimizer/CodeGen/TypeConverter.cpp
M flang/lib/Optimizer/Dialect/Support/FIRContext.cpp
A flang/test/Driver/tune-cpu-fir.f90
A flang/test/Lower/tune-cpu-llvm.f90
M flang/tools/bbc/bbc.cpp
M flang/tools/tco/tco.cpp
M flang/unittests/Optimizer/FIRContextTest.cpp
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/lib/Target/LLVMIR/ModuleImport.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
A mlir/test/Target/LLVMIR/Import/tune-cpu.ll
A mlir/test/Target/LLVMIR/tune-cpu.mlir
Log Message:
-----------
[flang] Add basic -mtune support (#95043)
This PR adds -mtune as a valid flang flag and passes the information
through to LLVM IR as an attribute on all functions. No specific
architecture optimizations are added at this time.
Commit: a0869331ec0c9ae42f696e87d72416ea5ecb926f
https://github.com/llvm/llvm-project/commit/a0869331ec0c9ae42f696e87d72416ea5ecb926f
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C11] Remove WG14 N1537 from the status page
This paper was a rewording of WG14 N1485, correcting terminology and
bringing the C11 feature slightly closer in line with the C++11
feature. There is nothing additional to be done or test to conform to
what was specified by WG14 N1537, so we'll remove the entry and lean on
N1485 to track status for atomics.
Commit: 21ab32e1c144b42458b7b3181e84bfb45aadcc54
https://github.com/llvm/llvm-project/commit/21ab32e1c144b42458b7b3181e84bfb45aadcc54
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
Log Message:
-----------
[lldb][LibCxx] Move incorrect nullptr check (#96635)
Found while skimming this code. Don't have a reproducible test case for
this but the nullptr check should clearly occur before we try to
dereference `location_sp`.
Commit: b9353f7f3ec88ecc5c4cdfc109665c89599b7f2f
https://github.com/llvm/llvm-project/commit/b9353f7f3ec88ecc5c4cdfc109665c89599b7f2f
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
Log Message:
-----------
[LinkerWrapper][NFC] Simplify StringErrors (#96650)
Summary:
The StringError class has a specialized method that creates the
inconvertible error code for you. It's much easier to read this way.
Commit: fef144cebb378f550ef098d370316554d647f625
https://github.com/llvm/llvm-project/commit/fef144cebb378f550ef098d370316554d647f625
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
M llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
M llvm/lib/DWARFLinker/Parallel/ArrayList.h
M llvm/lib/ExecutionEngine/Orc/Core.cpp
M llvm/lib/ExecutionEngine/Orc/Debugging/DebugInfoSupport.cpp
M llvm/lib/ProfileData/InstrProfReader.cpp
M llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
M llvm/lib/Target/NVPTX/NVVMReflect.cpp
M llvm/lib/Target/PowerPC/PPCMergeStringPool.cpp
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
M llvm/lib/Transforms/Utils/CodeLayout.cpp
M llvm/tools/llvm-jitlink/llvm-jitlink.cpp
M llvm/utils/TableGen/ARMTargetDefEmitter.cpp
M llvm/utils/TableGen/ExegesisEmitter.cpp
Log Message:
-----------
Revert "[llvm] Use llvm::sort (NFC) (#96434)"
This reverts commit 05d167fc201b4f2e96108be0d682f6800a70c23d.
Reverting the patch fixes the following under EXPENSIVE_CHECKS:
LLVM :: CodeGen/AMDGPU/sched-group-barrier-pipeline-solver.mir
LLVM :: CodeGen/AMDGPU/sched-group-barrier-pre-RA.mir
LLVM :: CodeGen/PowerPC/aix-xcoff-used-with-stringpool.ll
LLVM :: CodeGen/PowerPC/merge-string-used-by-metadata.mir
LLVM :: CodeGen/PowerPC/mergeable-string-pool-large.ll
LLVM :: CodeGen/PowerPC/mergeable-string-pool-pass-only.mir
LLVM :: CodeGen/PowerPC/mergeable-string-pool.ll
Commit: aec735cf476c3975b026aa79fa40dda06a27fac3
https://github.com/llvm/llvm-project/commit/aec735cf476c3975b026aa79fa40dda06a27fac3
Author: agozillon <Andrew.Gozillon at amd.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
M flang/test/Integration/OpenMP/map-types-and-sizes.f90
A flang/test/Lower/OpenMP/common-block-map.f90
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
A mlir/test/Target/LLVMIR/omptarget-fortran-common-block-host.mlir
A offload/test/offloading/fortran/target-map-all-common-block-members.f90
A offload/test/offloading/fortran/target-map-common-block.f90
A offload/test/offloading/fortran/target-map-declare-target-link-common-block.f90
A offload/test/offloading/fortran/target-map-first-common-block-member.f90
A offload/test/offloading/fortran/target-map-mix-imp-exp-common-block-members.f90
A offload/test/offloading/fortran/target-map-second-common-block-member.f90
Log Message:
-----------
[Flang][OpenMP][MLIR] Fix common block mapping for regular and declare target link (#91829)
This PR attempts to fix common block mapping for regular mapping of
these types as well as when they have been marked as "declare target
link". This PR should allow correct mapping of both the members of a
common block and the full common block via its block symbol.
The main changes were some adjustments to the Fortran OpenMP lowering to
HLFIR/FIR, the lowering of the LLVM+OpenMP dialect to LLVM-IR and
adjustments to the way the we handle target kernel map argument
rebinding inside of the OMPIRBuilder.
For the Fortran OpenMP lowering were two changes, one to prevent the
implicit capture of common block members when the common block symbol
itself has been marked and the other creates intermediate member access
inside of the target region to be used in-place of those external to the
target region, this prevents external usages breaking the
IsolatedFromAbove pact.
In the latter case, there was an adjustment to the size calculation for
types to better handle cases where we pass an array as the type of a map
(as opposed to the bounds and the type of the element), which occurs in
the case of common blocks. There is also some adjustment to how
handleDeclareTargetMapVar handles renaming of declare target symbols in
the module to the reference pointer, now it will only apply to those
within the kernel that is currently being generated and we also perform
a modification to replace constants with instructions as necessary as we
cannot replace these with our reference pointer (non-constant and
constants do not mix nicely).
In the case of the OpenMPIRBuilder some changes were made to defer
global symbol rebinding to kernel arguments until all other arguments
have been rebound. This makes sure we do not replace uses that may refer
to the global (e.g. a GEP) but are themselves actually a separate
argument that needs bound.
Currently "declare target to" still needs some work, but this may be the
case for all types in conjunction with "declare target to" at the
moment.
Commit: b003c60904a78eb62702c613f9e61155bad56798
https://github.com/llvm/llvm-project/commit/b003c60904a78eb62702c613f9e61155bad56798
Author: Felix Schneider <fx.schn at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
M mlir/test/Dialect/Arith/canonicalize.mlir
Log Message:
-----------
[mlir][arith] Match folding of `arith.remf` to `llvm.frem` semantics (#96537)
There are multiple ways to define a remainder operation. Depending on
the definition, the result could be either always positive or have the
sign of the dividend.
The pattern lowering `arith.remf` to LLVM assumes that the semantics
match `llvm.frem`, which seems to be reasonable. The folder, however, is
implemented via `APFloat::remainder()` which has different semantics.
This patch matches the folding behaviour to lowering behavior by using
`APFloat::mod()`, which matches the behavior of `llvm.frem` and libm's
`fmod()`. It also updates the documentation of `arith.remf` to explain
this behavior: The sign of the result of the remainder operation always
matches the sign of the dividend (LHS operand).
frem documentation: https://llvm.org/docs/LangRef.html#frem-instruction
Fix https://github.com/llvm/llvm-project/issues/94431
---------
Co-authored-by: Jakub Kuderski <kubakuderski at gmail.com>
Commit: a255ece56f73f3ef4bd5add83f9120a0b17914a1
https://github.com/llvm/llvm-project/commit/a255ece56f73f3ef4bd5add83f9120a0b17914a1
Author: Nivetha Kuruparan <167944429+nivethakuruparan at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/test/DebugInfo/attr-btf_type_tag.ll
Log Message:
-----------
XFAIL llvm/test/DebugInfo/attr-btf_type_tag.ll on AIX (#96677)
This PR XFAILS `llvm/test/DebugInfo/attr-btf_type_tag.ll` on AIX since
we we don’t have `.debug_addr` section.
Co-authored-by: Nivetha Kuruparan <nivetha at comp810.rtp.raleigh.ibm.com>
Commit: ec2fb59e6c12bf89aae823c4c47b25488d00daa0
https://github.com/llvm/llvm-project/commit/ec2fb59e6c12bf89aae823c4c47b25488d00daa0
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
A bolt/docs/OptimizingLinux.md
Log Message:
-----------
[BOLT][docs] Add Linux kernel optimization guide (#96669)
Describe steps for optimizing the Linux kernel with BOLT.
Commit: 8dd9494056d6797144dfabbbfb6d478c95375019
https://github.com/llvm/llvm-project/commit/8dd9494056d6797144dfabbbfb6d478c95375019
Author: Tarun Prabhu <tarun at lanl.gov>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Flang.cpp
M flang/include/flang/Frontend/TargetOptions.h
M flang/include/flang/Lower/Bridge.h
M flang/include/flang/Optimizer/CodeGen/CGPasses.td
M flang/include/flang/Optimizer/CodeGen/Target.h
M flang/include/flang/Optimizer/Dialect/Support/FIRContext.h
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Frontend/FrontendActions.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/CodeGen/Target.cpp
M flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
M flang/lib/Optimizer/CodeGen/TypeConverter.cpp
M flang/lib/Optimizer/Dialect/Support/FIRContext.cpp
R flang/test/Driver/tune-cpu-fir.f90
R flang/test/Lower/tune-cpu-llvm.f90
M flang/tools/bbc/bbc.cpp
M flang/tools/tco/tco.cpp
M flang/unittests/Optimizer/FIRContextTest.cpp
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/lib/Target/LLVMIR/ModuleImport.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
R mlir/test/Target/LLVMIR/Import/tune-cpu.ll
R mlir/test/Target/LLVMIR/tune-cpu.mlir
Log Message:
-----------
Revert "[flang] Add basic -mtune support" (#96678)
Reverts llvm/llvm-project#95043
Commit: 7e77353db6984b2bf07f54fd0ef5f56bf1aa8244
https://github.com/llvm/llvm-project/commit/7e77353db6984b2bf07f54fd0ef5f56bf1aa8244
Author: Karl-Johan Karlsson <karl-johan.karlsson at ericsson.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/test/Preprocessor/embed_weird.cpp
Log Message:
-----------
[clang][test] Avoid writing to a potentially write-protected dir (#96457)
The test clang/test/Preprocessor/embed_weird.cpp creates a file directly
in the Inputs dir in the llvm-project repo instead of the temporary
directory. The llvm-project repo may be write protected e.g. in a
sandboxed environment.
This patch creates a separate temporary directory where the
null_byte.bin file is created along with the rest of copies of the other
embed-files needed for the testcase.
Commit: a55dc1d3ca2ed948bdae887ea1f4ab8041ed1b6d
https://github.com/llvm/llvm-project/commit/a55dc1d3ca2ed948bdae887ea1f4ab8041ed1b6d
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/test/Transforms/SLPVectorizer/RISCV/shuffled-gather-casted.ll
Log Message:
-----------
[SLP][NFC]Add a test with the incorrect casting of the sext/zext alternate node, NFC.
Commit: 600ff287722a15106e9a02c470b9865dda05980e
https://github.com/llvm/llvm-project/commit/600ff287722a15106e9a02c470b9865dda05980e
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/InlineModelFeatureMaps.h
M llvm/lib/Analysis/MLInlineAdvisor.cpp
M llvm/lib/Analysis/models/gen-inline-oz-test-model.py
A llvm/test/Transforms/Inline/ML/avail-external.ll
Log Message:
-----------
[mlgo] add 2 new features whether caller/callee is `available_externally` (#96585)
AvailableExternally linkage is interesting because, in ThinLTO cases, it
means the function may get elided if it survives inlining - see
`elim-avail-extern` pass.
Commit: bd5b77529f07d21c27cf14009845e319e454867d
https://github.com/llvm/llvm-project/commit/bd5b77529f07d21c27cf14009845e319e454867d
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M compiler-rt/lib/asan/asan_globals.cpp
Log Message:
-----------
__asan_register_elf_globals: properly check the "no instrumented global variable" case
On ELF platforms, the instrumentation registers global variables using
`__asan_register_elf_globals` for the default `UseGlobalsGC` case. If
all instrumented global variables in a module are discarded by linker
GC, we will have `start == stop`.
Normally `start == 0`, but `start != 0` is possible with a linker script
retaining `asan_globals`. The called `__asan_register_globals` would
access out-of-bounds `globals[n-1]`, though there is likely no runtime
failure.
Pull Request: https://github.com/llvm/llvm-project/pull/96529
Commit: 80114a7b325becbfe4ff4298c4ab5e17631e24bb
https://github.com/llvm/llvm-project/commit/80114a7b325becbfe4ff4298c4ab5e17631e24bb
Author: Björn Pettersson <bjorn.a.pettersson at ericsson.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h
Log Message:
-----------
[ScheduleDAG] Remove obsolete VReg2SUnitMap. NFC (#96559)
The VReg2SUnitMap type is not used anywhere (it has probably been
obsolete since commit 97d0ffbe0647c4ec49ed4 back in 2015). This commit
simply removes the type definition.
Commit: 699cd9ac1dc305b2f0ee6e70939a3dddccc2add4
https://github.com/llvm/llvm-project/commit/699cd9ac1dc305b2f0ee6e70939a3dddccc2add4
Author: Morten larsen <mortenlarsens at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/DWP/DWP.cpp
M llvm/test/tools/llvm-dwp/X86/merge.test
A llvm/test/tools/llvm-dwp/X86/merge_v5.test
Log Message:
-----------
[llvm-dwp] Fix merging of debug_str_offsets with multiple contributions (#90461)
This pull request will change the merging of ``debug_str_offset`` to
merge per contribution and correctly copy over each contribution header
to the merged section. I have added some test data which is in dwarf5
format as this is where the section contribution header was introduced,
as far as i can tell.
Commit: 228c2e147390ca996a22e460e0bb804431469d25
https://github.com/llvm/llvm-project/commit/228c2e147390ca996a22e460e0bb804431469d25
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/RISCV/shuffled-gather-casted.ll
Log Message:
-----------
[SLP]Fix incorrect promotion of nodes before shuffling.
If the base node is signed, but some values are unsigned, still the
whole node should be considered signed. Also, an extra bitwidth analysis
should be performed, when estimating the minimal bitwidth.
Commit: 3c24eb39fb7e9c8b61992c86cb44d8cacc5853d2
https://github.com/llvm/llvm-project/commit/3c24eb39fb7e9c8b61992c86cb44d8cacc5853d2
Author: Stephen Chou <stephenchouca at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/MIRParser/MILexer.cpp
M llvm/lib/CodeGen/MIRParser/MILexer.h
M llvm/lib/CodeGen/MIRParser/MIParser.cpp
A llvm/test/CodeGen/MIR/Generic/bfloat-immediates.mir
Log Message:
-----------
[LLVM][MIR] Support parsing bfloat immediates in MIR parser (#96010)
Adds support in MIR parser for parsing bfloat immediates, and adds a
test for this.
Commit: ef05b0322307318eb806c0bd4cdcdae9e31d477b
https://github.com/llvm/llvm-project/commit/ef05b0322307318eb806c0bd4cdcdae9e31d477b
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libc/test/src/math/exhaustive/CMakeLists.txt
M libc/test/src/math/exhaustive/exhaustive_test.h
A libc/test/src/math/exhaustive/fmodf16_test.cpp
M libc/utils/MPFRWrapper/MPFRUtils.cpp
Log Message:
-----------
[libc][math][c23] Add MPFR exhaustive test for fmodf16 (#94656)
Commit: 88f80aeb0c626708017ea2d845e541e0e20f4d58
https://github.com/llvm/llvm-project/commit/88f80aeb0c626708017ea2d845e541e0e20f4d58
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libc/config/darwin/arm/entrypoints.txt
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/arm/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/docs/math/index.rst
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/cos.cpp
M libc/src/math/generic/range_reduction_double_common.h
M libc/src/math/generic/sin.cpp
M libc/src/math/generic/sincos_eval.h
M libc/src/math/x86_64/CMakeLists.txt
R libc/src/math/x86_64/cos.cpp
M libc/test/src/math/cos_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/cos_test.cpp
Log Message:
-----------
[libc][math] Implement double precision cos correctly rounded to all rounding modes. (#96591)
Sharing the same algorithm as double precision sin:
https://github.com/llvm/llvm-project/pull/95736
Commit: 04c27852e47093f7efa18609dbf57b3ce58a3ffa
https://github.com/llvm/llvm-project/commit/04c27852e47093f7efa18609dbf57b3ce58a3ffa
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCContext.h
M llvm/include/llvm/MC/MCWinCOFFStreamer.h
M llvm/lib/MC/MCContext.cpp
M llvm/lib/MC/MCObjectFileInfo.cpp
M llvm/lib/MC/MCWinCOFFStreamer.cpp
M llvm/lib/MC/WinCOFFObjectWriter.cpp
M llvm/test/DebugInfo/X86/InlinedFnLocalVar.ll
M llvm/test/DebugInfo/X86/ref_addr_relocation.ll
M llvm/test/ExecutionEngine/RuntimeDyld/X86/COFF_x86_64.s
M llvm/test/MC/COFF/section-comdat-conflict.s
M llvm/test/MC/COFF/section-comdat.s
A llvm/test/MC/COFF/section-sym-err.s
Log Message:
-----------
[MC,COFF] Change how we handle section symbols
13a79bbfe583e1d8cc85d241b580907260065eb8 (2017) unified `BeginSymbol` and
section symbol for ELF. This patch does the same for COFF.
* In getCOFFSection, all sections now have a `BeginSymbol` (section
symbol). We do not need a dummy symbol name when `getBeginSymbol` is
needed (used by AsmParser::Run and DWARF generation).
* Section symbols are in the global symbol table. `call .text` will
reference the section symbol instead of an undefined symbol. This
matches GNU assembler. Unlike GNU, redefining the section symbol will
cause a "symbol 'foo0' is already defined" error (see
`section-sym-err.s`).
Pull Request: https://github.com/llvm/llvm-project/pull/96459
Commit: d26451411f9cab2200a749f5b7a2f4f93c154445
https://github.com/llvm/llvm-project/commit/d26451411f9cab2200a749f5b7a2f4f93c154445
Author: Akshay Deodhar <adeodhar at nvidia.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/test/CodeGen/NVPTX/f16-instructions.ll
Log Message:
-----------
Enforce parameter order in f16 call, flipped call unit tests (#96258)
Commit: 0280f97b36c83a7129e5dbce53c603b7ec5d82fe
https://github.com/llvm/llvm-project/commit/0280f97b36c83a7129e5dbce53c603b7ec5d82fe
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/insertelement-uses-vectorized-index.ll
Log Message:
-----------
[SLP]Fix PR95925: extract vectorized index of the potential buildvector sequence.
If the vectorized scalar is not the insert value in the buildvector
sequence but the index, it should be always extracted.
Commit: dff6871cdbce8569a141d541023061294860fb95
https://github.com/llvm/llvm-project/commit/dff6871cdbce8569a141d541023061294860fb95
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/fp-constant-f16.mir
Log Message:
-----------
[RISCV][GISel] Support G_FCONSTANT for Zfh.
Commit: 7e59b20034aa77d69e5218ff44e3cba8a500f76a
https://github.com/llvm/llvm-project/commit/7e59b20034aa77d69e5218ff44e3cba8a500f76a
Author: vaibhav <73255802+mrdaybird at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ScalarEvolution.cpp
A llvm/test/Analysis/ScalarEvolution/pr92560.ll
Log Message:
-----------
[SCEV] Support addrec in right hand side in howManyLessThans (#92560)
Fixes #92554 (std::reverse will auto-vectorize now)
When calculating number of times a exit condition containing a
comparison is executed, we mostly assume that RHS of comparison should
be loop invariant, but it may be another add-recurrence.
~In that case, we can try the computation with `LHS = LHS - RHS` and
`RHS = 0`.~ (It is not valid unless proven that it doesn't wrap)
**Edit:**
We can calculate back edge count for loop structure like:
```cpp
left = left_start
right = right_start
while(left < right){
// ...do something...
left += s1; // the stride of left is s1 (> 0)
right -= s2; // the stride of right is -s2 (s2 > 0)
}
// left and right converge somewhere in the middle of their start values
```
We can calculate the backedge-count as ceil((End - left_start) /u (s1-
(-s2)) where, End = max(left_start, right_start).
**Alive2**: https://alive2.llvm.org/ce/z/ggxx58
Commit: edf5782f1780f480c3ae3fc0a44bf5432f9aa48b
https://github.com/llvm/llvm-project/commit/edf5782f1780f480c3ae3fc0a44bf5432f9aa48b
Author: Jason Eckhardt <jeckhardt at nvidia.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
A llvm/test/TableGen/check-duplicate-tuple-regs.td
M llvm/utils/TableGen/Common/CodeGenRegisters.cpp
Log Message:
-----------
[TableGen] Check for duplicate register tuple definitions. (#95725)
Currently TableGen does not directly detect duplicate synthesized
registers as can happen in this example:
def GPR128 : RegisterTuples<[sub0, sub1, sub2, sub3],
[(decimate (shl GPR32, 0), 1),
(decimate (shl GPR32, 1), 1),
(decimate (shl GPR32, 2), 1),
(decimate (shl GPR32, 3), 1)]>;
def GPR128_Aligned : RegisterTuples<[sub0, sub1, sub2, sub3],
[(decimate (shl GPR32, 0), 4),
(decimate (shl GPR32, 1), 4),
(decimate (shl GPR32, 2), 4),
(decimate (shl GPR32, 3), 4)]>;
TableGen does fail, but with an unrelated and difficult to understand
error that happens downstream of tuple expansion:
"error: No SubRegIndex for R0_R1_R2_R3 in R0_R1_R2_R3".
This patch detects the problem directly during expansion and emits an
error pointing the user to the actual issue:
"error: Register tuple redefines register 'R0_R1_R2_R3'".
Commit: 8bba070ef84ce41be4d3ec0b87d85a1be62325b0
https://github.com/llvm/llvm-project/commit/8bba070ef84ce41be4d3ec0b87d85a1be62325b0
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmax.ll
M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmin.ll
M llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmax.ll
M llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmin.ll
M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmax.ll
M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmin.ll
Log Message:
-----------
AMDGPU: Expand testing of atomicrmw fmin/fmax lowering
Cover amdgpu.no.fine.grained.memory vs. amdgpu.no.remote.memory.
Commit: 4f80f362a5b2b0339bf702f6ff7ae14304c76185
https://github.com/llvm/llvm-project/commit/4f80f362a5b2b0339bf702f6ff7ae14304c76185
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
M llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fadd.ll
M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
Log Message:
-----------
AMDGPU: Add new metadata and expand atomicrmw fadd expansion tests
Commit: e214ed9d7060f6caa0c1bb756edb62643f23aa5b
https://github.com/llvm/llvm-project/commit/e214ed9d7060f6caa0c1bb756edb62643f23aa5b
Author: Nick Desaulniers (paternity leave) <nickdesaulniers at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libc/config/linux/arm/entrypoints.txt
Log Message:
-----------
[libc][arm] move setjmp+longjmp to fullbuild-only entrypoints (#96708)
The opaque type jmp_buf should only be tested in fullbuild mode.
Commit: 847235bbef153c6d805d415cea8494297eaf2bdb
https://github.com/llvm/llvm-project/commit/847235bbef153c6d805d415cea8494297eaf2bdb
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rv32zbb.ll
M llvm/test/CodeGen/RISCV/rv64zbb.ll
Log Message:
-----------
[RISCV] Add DAG combine to turn (sub (shl X, 8), X) into orc.b (#96680)
If only bits 8, 16, 24, 32, etc. can be non-zero.
This is what (mul X, 255) is decomposed to. This decomposition happens
early before RISC-V DAG combine runs.
This patch does not support types larger than XLen so i64 on rv32 fails
to generate 2 orc.b instructions. It might have worked if the mul hadn't
been decomposed before it was expanded.
Partial fix for #96595.
Commit: 0d533665054c3a04681c46f3ed88960f28777be1
https://github.com/llvm/llvm-project/commit/0d533665054c3a04681c46f3ed88960f28777be1
Author: YunQiang Su <syq at debian.org>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/APFloat.h
M llvm/unittests/ADT/APFloatTest.cpp
Log Message:
-----------
APFloat: Add minimumnum and maximumnum (#96304)
They implements IEEE754-2019 minimumNumber and maximumNumber semantics.
Newer libc also has these 2 functions with names
fminimum_num
fmaximum_num
We are planning add minimumnum and maximumnum intrinsic. This is a step
to the goal.
Commit: 54ca5a800d12bf76dabc957163df02c3ea005627
https://github.com/llvm/llvm-project/commit/54ca5a800d12bf76dabc957163df02c3ea005627
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M libc/src/__support/fixedvector.h
M libc/test/src/__support/fixedvector_test.cpp
Log Message:
-----------
[libc][fixedvector] Add const_iterator begin/end (#96714)
Commit: e6c2216940885ae5b0d6509dac73417c40d6c62f
https://github.com/llvm/llvm-project/commit/e6c2216940885ae5b0d6509dac73417c40d6c62f
Author: Haopeng Liu <153236845+haopliu at users.noreply.github.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/ConstantRangeList.h
M llvm/lib/IR/ConstantRangeList.cpp
M llvm/unittests/IR/ConstantRangeListTest.cpp
Log Message:
-----------
Add ConstantRangeList::unionWith() and ::intersectWith() (#96547)
Add ConstantRangeList::unionWith() and ::intersectWith().
These methods will be used in the "initializes" attribute inference.
https://github.com/llvm/llvm-project/commit/df11106068294fb00f11988d3f48336e2cbed364
Commit: 6b29965fd9355243f23a83a590a70ac7744f0e0f
https://github.com/llvm/llvm-project/commit/6b29965fd9355243f23a83a590a70ac7744f0e0f
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
Log Message:
-----------
[clang-tidy] align all help message in run-clang-tidy (#96199)
Commit: ef864516f7d2f4e256f74570beec8f29905d8828
https://github.com/llvm/llvm-project/commit/ef864516f7d2f4e256f74570beec8f29905d8828
Author: Diego Caballero <dieg0ca6aller0 at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M .github/CODEOWNERS
Log Message:
-----------
[mlir] Remove `*` from generic Linalg/Vector rules in CODEOWNERS (#96581)
The PR removes the `*` from the generic MLIR Vector/Linalg rules. The
`*` symbol keeps the match local to the files in the directory,
excluding sub-directories, which was not the intention when I added
these rules.
Commit: a4fef26c7d13c003b253052fbe670af451f9f1ff
https://github.com/llvm/llvm-project/commit/a4fef26c7d13c003b253052fbe670af451f9f1ff
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86FixupSetCC.cpp
A llvm/test/CodeGen/X86/apx/setzucc.ll
Log Message:
-----------
[X86][FixupSetCC] Substitute setcc + zext pair with setzucc if possible (#96594)
Commit: 55e60c35212e0cf293572499ee74e96438d64b99
https://github.com/llvm/llvm-project/commit/55e60c35212e0cf293572499ee74e96438d64b99
Author: dpalermo <dan.palermo at amd.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M flang/include/flang/Lower/BoxAnalyzer.h
Log Message:
-----------
[flang] Fix BoxAnalyzer.h for LLVM_ENABLE_EXPENSIVE_CHECKS (#96675)
Fixes assert seen trying to use default number of inlined elements for
`SmallVector<T>` but `sizeof(T)` is really big. Seen with
-DLLVM_ENABLE_EXPENSIVE_CHECKS.
Commit: 811e505c5b43242b20029cbd7a85d87763addf83
https://github.com/llvm/llvm-project/commit/811e505c5b43242b20029cbd7a85d87763addf83
Author: Hua Tian <akiratian at tencent.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/WindowScheduler.cpp
M llvm/test/CodeGen/Hexagon/swp-ws-dead-def.mir
M llvm/test/CodeGen/Hexagon/swp-ws-exp-dbg.mir
M llvm/test/CodeGen/Hexagon/swp-ws-exp.mir
M llvm/test/CodeGen/Hexagon/swp-ws-fail-0.mir
M llvm/test/CodeGen/Hexagon/swp-ws-fail-1.mir
M llvm/test/CodeGen/Hexagon/swp-ws-fail-2.mir
A llvm/test/CodeGen/Hexagon/swp-ws-fail-3.mir
M llvm/test/CodeGen/Hexagon/swp-ws-meta-instr.mir
M llvm/test/CodeGen/Hexagon/swp-ws-phi.mir
M llvm/test/CodeGen/Hexagon/swp-ws-sqrt.mir
M llvm/test/CodeGen/Hexagon/swp-ws-weak-dep.mir
Log Message:
-----------
[llvm][CodeGen] Update checking method of loop-carried phi in window scheduler (#96288)
Added some logic to check loop-carried phis in the window scheduler. It now includes the scenario where the preceding phi uses the virtual register defined by the succeeding phi.
Commit: 0fe82ea2ea7c92388a33652997b98d159d253012
https://github.com/llvm/llvm-project/commit/0fe82ea2ea7c92388a33652997b98d159d253012
Author: Peter Collingbourne <peter at pcc.me.uk>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn
Log Message:
-----------
gn build: Add missing source files to hwasan library.
Commit: 96b1f8859df3c82b6362b1dd07ee485f48cb1816
https://github.com/llvm/llvm-project/commit/96b1f8859df3c82b6362b1dd07ee485f48cb1816
Author: Lang Hames <lhames at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/Core.h
M llvm/lib/ExecutionEngine/Orc/Core.cpp
Log Message:
-----------
[ORC] Remove redundant locking of session mutex, update method name.
JITDylib::removeTracker already runs with the session mutex locked (and must do
so), so remove the redundant locking and add an 'IL_' ("inside lock") prefix to
the method name.
Commit: 896dd322afcc1cf5dc4fa7375dedd55b59001eb4
https://github.com/llvm/llvm-project/commit/896dd322afcc1cf5dc4fa7375dedd55b59001eb4
Author: Lang Hames <lhames at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
Log Message:
-----------
[ORC] Fix block dependence calculation in ObjectLinkingLayer.
This fixes a bug in ObjectLinkingLayer::computeBlockNonLocalDeps: The worklist
needs to be built *after* all immediate dependencies / dependants are recorded,
rather than trying to populate it as part of the same loop. (Trying to do the
latter causes us to miss some blocks that should have been included in the
worklist).
This fixes a bug discovered by @Sahil123 on discord during work on
out-of-process execution support in the clang-repl.
No testcase yet. This *might* be testable with a unit test and a custom
JITLinkContext but I believe some aspects of the algorithm depend on memory
layout. I'll need to investigate that. Alternatively we could add llvm-jitlink
testcases that exercise concurrent linking (and should probably do that anyway).
Either option will require some investment and I don't want to hold this fix up
in the mean time.
Commit: b347a720bfc4dfd6ff16cfde54f9a56f00efdb3c
https://github.com/llvm/llvm-project/commit/b347a720bfc4dfd6ff16cfde54f9a56f00efdb3c
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
M llvm/test/Instrumentation/InstrProfiling/mcdc.ll
Log Message:
-----------
[MC/DC][Coverage] Make tvbitmapupdate capable of atomic write (#96042)
This also introduces "Test and conditional Read-Modify-Write". The flow
to `atomicrmw or` is marked as `unlikely`.
Commit: f71f95d6aa27057f4fc10695ee9c8eb1ec77b763
https://github.com/llvm/llvm-project/commit/f71f95d6aa27057f4fc10695ee9c8eb1ec77b763
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M lld/ELF/InputSection.cpp
M lld/ELF/Relocations.cpp
M llvm/include/llvm/Object/ELFTypes.h
Log Message:
-----------
[ELF] Rename IsRela to HasAddend
`IsRela` is used by lld to differentiate REL and RELA static
relocations. The proposed CREL patch will reuse `IsRela` for CREL
(#91280). Rename `IsRela` to be more appropriate.
Pull Request: https://github.com/llvm/llvm-project/pull/96592
Commit: 174d3537c203ec81a6810bad554a5a71cc331e24
https://github.com/llvm/llvm-project/commit/174d3537c203ec81a6810bad554a5a71cc331e24
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86FixupSetCC.cpp
Log Message:
-----------
[X86] Fix description for pass X86FixupSetCC.cpp, NFCI
It should be a typo when the author created this file from
X86OptimizeLEAs.cpp.
Commit: 21bfc0e8ed798f078d4e87e6f43af025f078ead3
https://github.com/llvm/llvm-project/commit/21bfc0e8ed798f078d4e87e6f43af025f078ead3
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86FixupSetCC.cpp
Log Message:
-----------
Revert "[X86] Fix description for pass X86FixupSetCC.cpp, NFCI"
This reverts commit 174d3537c203ec81a6810bad554a5a71cc331e24.
It introduced new typo "IMul" by accident.
Commit: 9253ac24aac0198371260762838758f587fa3f9d
https://github.com/llvm/llvm-project/commit/9253ac24aac0198371260762838758f587fa3f9d
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86FixupSetCC.cpp
Log Message:
-----------
[X86] Fix description for pass X86FixupSetCC.cpp, NFCI
It should be a typo when the author created this file from
X86OptimizeLEAs.cpp.
Commit: 89d8df12015ac3440190d372a8d439614027dc2c
https://github.com/llvm/llvm-project/commit/89d8df12015ac3440190d372a8d439614027dc2c
Author: pcc <peter at pcc.me.uk>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenAction.cpp
M clang/test/CodeGen/asan-frame-pointer.cpp
M clang/test/CodeGen/asan-globals.cpp
A clang/test/CodeGen/coverage-target-attr.c
M clang/test/CodeGen/sanitize-metadata-nosanitize.c
M llvm/include/llvm/IR/Function.h
M llvm/include/llvm/IR/LLVMContext.h
M llvm/lib/IR/Function.cpp
M llvm/lib/IR/LLVMContext.cpp
M llvm/lib/IR/LLVMContextImpl.h
Log Message:
-----------
CodeGen, IR: Add target-{cpu,features} attributes to functions created via createWithDefaultAttr().
Functions created with createWithDefaultAttr() need to have the
correct target-{cpu,features} attributes to avoid miscompilations
such as using the wrong relocation type to access globals (missing
tagged-globals feature), clobbering registers specified via -ffixed-*
(missing reserve-* feature), and so on.
There's already a number of attributes copied from the module flags
onto functions created by createWithDefaultAttr(). I don't think
module flags are the right choice for the target attributes because
we don't need the conflict resolution logic between modules with
different target attributes, nor does it seem sensible to add it:
there's no unambiguously "correct" set of target attributes when
merging two modules with different attributes, and nor should there
be; it's perfectly valid for two modules to be compiled with different
target attributes, that's the whole reason why they are per-function.
This also implies that it's unnecessary to serialize the attributes in
bitcode, which implies that they shouldn't be stored on the module. We
can also observe that for the most part, createWithDefaultAttr()
is called from compiler passes such as sanitizers, coverage and
profiling passes that are part of the compile time pipeline, not
the LTO pipeline. This hints at a solution: we need to store the
attributes in a non-serialized location associated with the ambient
compilation context. Therefore in this patch I elected to store the
attributes on the LLVMContext.
There are calls to createWithDefaultAttr() in the NVPTX and AMDGPU
backends, and those calls would happen at LTO time. For those callers,
the bug still potentially exists and it would be necessary to refactor
them to create the functions at compile time if this issue is relevant
on those platforms.
Fixes #93633.
Reviewers: fmayer, MaskRay, eugenis
Reviewed By: MaskRay
Pull Request: https://github.com/llvm/llvm-project/pull/96721
Commit: 35f7b60aa6105753859bcccaf4a793aaf16b4acd
https://github.com/llvm/llvm-project/commit/35f7b60aa6105753859bcccaf4a793aaf16b4acd
Author: Vikram Hegde <115221833+vikramRH at users.noreply.github.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx10.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx11.cl
M llvm/docs/AMDGPUUsage.rst
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/VOP1Instructions.td
M llvm/lib/Target/AMDGPU/VOP3Instructions.td
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/intrinsics.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.ptr.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane64.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane64.ptr.ll
M llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll
M llvm/test/Verifier/AMDGPU/intrinsic-immarg.ll
Log Message:
-----------
[AMDGPU] Extend permlane16, permlanex16 and permlane64 intrinsic lowering for generic types (#92725)
These are incremental changes over #89217 , with core logic being the
same. This patch along with #89217 and #91190 should get us ready to enable 64
bit optimizations in atomic optimizer.
Commit: cb3469a30f875b9cd54a263803fffc93554bec12
https://github.com/llvm/llvm-project/commit/cb3469a30f875b9cd54a263803fffc93554bec12
Author: Jacob Lalonde <jalalonde at fb.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M lldb/source/Plugins/ObjectFile/Minidump/ObjectFileMinidump.cpp
Log Message:
-----------
Removed header and validated on new windows machine (#96724)
![image](https://github.com/llvm/llvm-project/assets/25160653/2044cc8e-72d5-49ec-9439-256555f5fd2b)
In #95312 uint and `#include <unistd.h>` were introduced. These broke
the windows build. I addressed uint in #96564, but include went unfixed.
So I acquired myself a windows machine to validate.
Commit: 2ee2b6aa7a3d9ba6ba13f6881b25e26d7d12c823
https://github.com/llvm/llvm-project/commit/2ee2b6aa7a3d9ba6ba13f6881b25e26d7d12c823
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/lib/Sema/ScopeInfo.cpp
M clang/test/SemaCXX/coroutine-vla.cpp
Log Message:
-----------
[Coroutines] Clear FirstVLALoc in time
Unlike other *Loc member in FunctionScopeInfo, we didn't clear
FirstVLALoc in 'FunctionScopeInfo::Clear()'. Then it will be
problematic for the following case:
```
void bar(int n) {
int array[n];
return;
}
coroutine foo(int n) {
co_return;
}
```
When we parse `foo`, the FirstVLALoc is still valid, then the compiler
will report `vla in coroutine` error in bar, which is super odd. After
this patch, we can fix this.
Commit: c01ce797619359ee282773dfc4b1e91ff0a30435
https://github.com/llvm/llvm-project/commit/c01ce797619359ee282773dfc4b1e91ff0a30435
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M mlir/lib/Transforms/Utils/DialectConversion.cpp
Log Message:
-----------
[mlir][Transforms][NFC] Dialect Conversion: Move argument materialization logic (#96329)
This commit moves the argument materialization logic from
`legalizeConvertedArgumentTypes` to
`legalizeUnresolvedMaterializations`.
Before this change:
- Argument materializations were created in
`legalizeConvertedArgumentTypes` (which used to call
`materializeLiveConversions`).
After this change:
- `legalizeConvertedArgumentTypes` creates a "placeholder"
`unrealized_conversion_cast`.
- The placeholder `unrealized_conversion_cast` is replaced with an
argument materialization (using the type converter) in
`legalizeUnresolvedMaterializations`.
- All argument and target materializations now take place in the same
location (`legalizeUnresolvedMaterializations`).
This commit brings us closer towards creating all source/target/argument
materializations in one central step, which can then be made optional
(and delegated to the user) in the future. (There is one more source
materialization step that has not been moved yet.)
This commit also consolidates all `build*UnresolvedMaterialization`
functions into a single `buildUnresolvedMaterialization` function.
Commit: a159b36724d9b7dc67702d742ffd63503f6a1417
https://github.com/llvm/llvm-project/commit/a159b36724d9b7dc67702d742ffd63503f6a1417
Author: McCowan Zhang <86526121+mccowanzhang at users.noreply.github.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/ControlFlow/IR/ControlFlowOps.td
M mlir/lib/Dialect/Bufferization/Transforms/OwnershipBasedBufferDeallocation.cpp
M mlir/lib/Dialect/ControlFlow/IR/ControlFlowOps.cpp
A mlir/test/Dialect/Bufferization/Transforms/OwnershipBasedBufferDeallocation/misc-other.mlir
M mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize.mlir
Log Message:
-----------
Bufferization with ControlFlow Asserts (#95868)
Fixed incorrect bufferization interaction with cf.assert
- reordered bufferization condition checking
- fixed hasNeitherAllocateNorFreeSideEffect checking bug
- implemented memory interface for cf.assert
---------
Co-authored-by: McCowan Zhang <mccowan.z at ssi.samsung.com>
Commit: 1822e3183d92e1bb9a742038e1dac3fb70b39028
https://github.com/llvm/llvm-project/commit/1822e3183d92e1bb9a742038e1dac3fb70b39028
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
A llvm/test/CodeGen/WebAssembly/target-features-attrs.ll
R llvm/test/CodeGen/WebAssembly/target-features.ll
Log Message:
-----------
[WebAssembly] Rename target-features.ll (#96716)
I'm planning on a PR that splits `target-features.ll` into two different
files and fix some other stuff on them:
- `target-features-attrs.ll` that tests target features by bitcode
function attributes and `-mattr=` options
- `target-features-cpus.ll` that tests target features by `-mcpu=`
options
But `target-features-attrs.ll` will share a bulk of the lines with the
current `target-features.ll`. And if I remove `target-features.ll` and
create the two new files in a single PR, git doesn't recognize either of
them as a copy (I hoped at least `target-features-attrs.ll` would be
recognized as a copy because it shares many lines with the current file)
So to make the diff smaller and easier to review, I'm renaming the file
first. I'll follow up with the PR that does the actual splitting.
Commit: 8426586f8709c771054ef5f84410fb9fcd83dbee
https://github.com/llvm/llvm-project/commit/8426586f8709c771054ef5f84410fb9fcd83dbee
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M compiler-rt/lib/profile/InstrProfilingFile.c
Log Message:
-----------
Revert "Reformat", due to wrong version of clang-format.
This reverts commit f4ce3448be9c47c61755197173a6a9e9b612dff8.
Commit: 20683de70e43fa73536ac1e8ce4082604048d040
https://github.com/llvm/llvm-project/commit/20683de70e43fa73536ac1e8ce4082604048d040
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/apx/adc.ll
M llvm/test/CodeGen/X86/apx/add.ll
M llvm/test/CodeGen/X86/apx/and.ll
M llvm/test/CodeGen/X86/apx/ctest.ll
M llvm/test/CodeGen/X86/apx/dec.ll
M llvm/test/CodeGen/X86/apx/inc.ll
M llvm/test/CodeGen/X86/apx/neg.ll
M llvm/test/CodeGen/X86/apx/not.ll
M llvm/test/CodeGen/X86/apx/or.ll
M llvm/test/CodeGen/X86/apx/sar.ll
M llvm/test/CodeGen/X86/apx/sbb.ll
M llvm/test/CodeGen/X86/apx/shl.ll
M llvm/test/CodeGen/X86/apx/shr.ll
M llvm/test/CodeGen/X86/apx/sub.ll
M llvm/test/CodeGen/X86/apx/xor.ll
M llvm/test/CodeGen/X86/popcnt.ll
Log Message:
-----------
[X86][CodeGen] Not promote some binary ops from i16 to i32 if we have NDD variant
Commit: eaae63d8e1430179f94c3bf8e2025067c3ff5975
https://github.com/llvm/llvm-project/commit/eaae63d8e1430179f94c3bf8e2025067c3ff5975
Author: Hui <hui.xie1990 at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M libcxx/docs/Status/Cxx20Issues.csv
M libcxx/include/__memory/shared_ptr.h
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter_allocator.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_allocator.pass.cpp
A libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/types.h
Log Message:
-----------
"[libc++] Try again LWG3233 Broken requirements for shared_ptr converting constructors" (#96103)
Try it again. Use the approach suggested by Tim in the LWG thread :
using function default argument SFINAE
- Revert "[libc++] Revert LWG3233 Broken requirements for shared_ptr
converting constructors (#93071)"
- Revert "[libc++] Revert temporary attempt to implement LWG 4110
(#95263)"
- test for default_delete
- Revert "Revert "[libc++] Revert temporary attempt to implement LWG
4110 (#95263)""
- test for NULL
Commit: 569faa4dc04cf6849057e56ef07b56ad27f6ef9e
https://github.com/llvm/llvm-project/commit/569faa4dc04cf6849057e56ef07b56ad27f6ef9e
Author: Richard Smith <richard at metafoo.co.uk>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/docs/LanguageExtensions.rst
Log Message:
-----------
Add documentation for `__builtin_object_size`. (#96573)
Explicitly describe how the Clang builtin works, given that it's not
exactly the same as GCC's builtin of the same name -- but is drop-in
compatible.
Fixes #95635.
Commit: 28a3fbbe8c6cd5b92fb0a2a3cc21a836a381e086
https://github.com/llvm/llvm-project/commit/28a3fbbe8c6cd5b92fb0a2a3cc21a836a381e086
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/apx/compress-evex.mir
Log Message:
-----------
[X86][test] Pre-commit test for disabling NDD2NonNDD transform for 8/16-bit ops
Commit: 6c4c44b50ba3a08106b37fd5a739c387fef0b961
https://github.com/llvm/llvm-project/commit/6c4c44b50ba3a08106b37fd5a739c387fef0b961
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/SetOperations.h
M llvm/unittests/ADT/SetOperationsTest.cpp
Log Message:
-----------
[SetOperations] Support set containers with remove_if (#96613)
The current set_intersect implementation only works for std::set style
sets that have a value-erase method that does not invalidate iterators.
As such, it cannot be used for set containers like SetVector, which only
has iterator-invalidating erase.
Support such set containers by calling the remove_if method instead, if
it exists. The detection code is adopted from how contains() is detected
inside llvm::is_contained().
Commit: 515e048e36d9036506b0a9ea34aa20c2f65c25a7
https://github.com/llvm/llvm-project/commit/515e048e36d9036506b0a9ea34aa20c2f65c25a7
Author: AtariDreams <gfunni234 at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
Log Message:
-----------
[InstCombine] Simplify commutative matchers (NFC) (#96665)
Commit: dbd0c031366a1373db6dbe42186351568f526e56
https://github.com/llvm/llvm-project/commit/dbd0c031366a1373db6dbe42186351568f526e56
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/MC/MCDwarf.cpp
Log Message:
-----------
[MC][DWARF][NFC] Drop CIEKey map (#96075)
We already sort frames by their CIEKey, so we know that we only need to
update the CIE symbol when the CIE key changes. No need for a DenseMap.
Commit: 54cb5ca9f48fc542b920662a0eee7c0e6f35bee0
https://github.com/llvm/llvm-project/commit/54cb5ca9f48fc542b920662a0eee7c0e6f35bee0
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M libcxx/include/__utility/pair.h
Log Message:
-----------
[libc++][NFC] Simplify pair a bit (#96165)
Commit: be00190ce35807c8586ee4e2e61507fc0221e825
https://github.com/llvm/llvm-project/commit/be00190ce35807c8586ee4e2e61507fc0221e825
Author: Haohai Wen <haohai.wen at intel.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstrInfo.cpp
Log Message:
-----------
[TII][X86] Do not schedule frame-setup/frame-destory instructions (#96611)
frame-setup/frame-destroy instruction can not be scheduled around by
PostRAScheduler. Their order is critical for SEH.
Commit: 1dbc2aad68f29f9d6306f6329610e1eca8afb3fe
https://github.com/llvm/llvm-project/commit/1dbc2aad68f29f9d6306f6329610e1eca8afb3fe
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Passes/PassBuilder.cpp
M llvm/test/tools/llc/new-pm/pipeline.mir
Log Message:
-----------
[PassBuilder] Parse machine function analyses inside require/invalidate (#96634)
Now we have several machine function analyses but forgot to support them
in `parseMachinePass`.
Commit: 8681bb8bedf065abe34a4523fb58287fc05f7907
https://github.com/llvm/llvm-project/commit/8681bb8bedf065abe34a4523fb58287fc05f7907
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/AArch64/conditional-branches-cost.ll
A llvm/test/Transforms/LoopVectorize/RISCV/vf-will-not-generate-any-vector-insts.ll
A llvm/test/Transforms/LoopVectorize/WebAssembly/induction-branch-cost.ll
A llvm/test/Transforms/LoopVectorize/WebAssembly/lit.local.cfg
M llvm/test/Transforms/LoopVectorize/X86/cost-model.ll
M llvm/test/Transforms/LoopVectorize/X86/optsize.ll
Log Message:
-----------
[LV] Add additional test coverage for cost modeling.
Add missing tests uncovered by
https://github.com/llvm/llvm-project/pull/92555.
Includes test for https://github.com/llvm/llvm-project/issues/96294 and
https://github.com/llvm/llvm-project/issues/96328
Commit: 5b4000dc58572d08754f0b2199c2046871ec8507
https://github.com/llvm/llvm-project/commit/5b4000dc58572d08754f0b2199c2046871ec8507
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/VectorUtils.h
M llvm/lib/Analysis/VectorUtils.cpp
M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
Log Message:
-----------
[VectorUtils] Add llvm::scaleShuffleMaskElts wrapper for narrowShuffleMaskElts/widenShuffleMaskElts, NFC. (#96646)
Using the target number of vector elements, scaleShuffleMaskElts will try to use narrowShuffleMaskElts/widenShuffleMaskElts to scale the shuffle mask accordingly.
Working on #58895 I didn't want to create yet another case where we have to handle both re-scaling cases.
Commit: 90e4eb8a479dbef4f98f7d8ccd2de5494c6366c7
https://github.com/llvm/llvm-project/commit/90e4eb8a479dbef4f98f7d8ccd2de5494c6366c7
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Interp.cpp
Log Message:
-----------
[clang][Interp][NFC] Add more source ranges to diagnostics
Commit: f782ff8fc6426890863be0791a9ace2394da3887
https://github.com/llvm/llvm-project/commit/f782ff8fc6426890863be0791a9ace2394da3887
Author: Benji Smith <6193112+Benjins at users.noreply.github.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm-c/Core.h
M llvm/lib/IR/Core.cpp
M llvm/test/Bindings/llvm-c/echo.ll
M llvm/tools/llvm-c-test/echo.cpp
Log Message:
-----------
[C API] Add getters for Target Extension Types to C API (#96447)
Accessors for the name, type parameters, and integer parameters are
added. A test is added to echo.ll
This was originally done in
https://github.com/llvm/llvm-project/pull/71291 but that has been stale
for several months. This re-applies the changes, but with some tweaks.
e.g. removing the bulk getters in favour of a simple get-by-index
approach for the type/integer parameters. The latter is more in line
with the rest of the API
Commit: 16f349251fabacfdba4acac3b25baf0e6890c1a0
https://github.com/llvm/llvm-project/commit/16f349251fabacfdba4acac3b25baf0e6890c1a0
Author: Hui <hui.xie1990 at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M libcxx/include/__expected/expected.h
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.copy.pass.cpp
Log Message:
-----------
[libc++] restrict the expected conversion constructor not compete against copy constructor (#96101)
fixes #92676
So right now clang does not like
```
std::expected<std::any, int> e1;
auto e2 = e1;
```
So basically when clang tries to do overload resolution of `auto e2 =
e1;`
It finds
```
expected(const expected&); // 1. This is OK
expected(const expected<_Up, _OtherErr>&) requires __can_convert; // 2. This needs to check its constraints
```
Then in `__can_convert`, one of the check is
```
_Not<is_constructible<_Tp, expected<_Up, _OtherErr>&>>
```
which is checking
```
is_constructible<std::any, expected<_Up, _OtherErr>&>
```
Then it looks at `std::any`'s constructor
```
template < class _ValueType,
class _Tp = decay_t<_ValueType>,
class = enable_if_t< !is_same<_Tp, any>::value && !__is_inplace_type<_ValueType>::value &&
is_copy_constructible<_Tp>::value> >
any(_ValueType&& __value);
```
In the above, `is_copy_constructible<_Tp>` expands to
```
is_copy_constructible<std::expected<std::any, int>>
```
And the above goes back to the original thing we asked : copy the
`std::expected`, which goes to the overload resolution again.
```
expected(const expected&);
expected(const expected<_Up, _OtherErr>&) requires __can_convert;
```
So the second overload results in a logical cycle.
I am not a language lawyer. We could argue that clang should give up on
the second overload which has logical cycle, as the first overload is a
perfect match.
Anyway, the fix in this patch tries to short-circuiting the second
overload's constraint check: that is, if the argument matches exact same
`expected<T, E>`, we give up immediately and let the copy constructor to
deal with it
Commit: cca4f549bddd28742f370571296b46054c98d27b
https://github.com/llvm/llvm-project/commit/cca4f549bddd28742f370571296b46054c98d27b
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
Log Message:
-----------
[InstCombine][X86] Avoid repeated getType() calls when folding blendv->select. NFC.
Cleanup prep work for #58895
Commit: c9fc960650223ffb89c93d21d0d4c59648ee1c13
https://github.com/llvm/llvm-project/commit/c9fc960650223ffb89c93d21d0d4c59648ee1c13
Author: CarolineConcatto <caroline.concatto at arm.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/include/clang/Basic/arm_sme.td
A clang/test/CodeGen/aarch64-sme2p1-intrinsics/acle_sme2p1_movaz.c
M llvm/include/llvm/IR/IntrinsicsAArch64.td
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/lib/Target/AArch64/SMEInstrFormats.td
A llvm/test/CodeGen/AArch64/sme2p1-intrinsics-movaz.ll
Log Message:
-----------
[CLANG][LLVM][AArch64]SME2.1 intrinsics for MOVAZ tile to 2/4 vectors (#88710)
According to the specification in
ARM-software/acle#309 this adds the intrinsics
// Variants are also available for _za8_u8, _za16_s16, _za16_u16, //
_za16_f16, _za16_bf16, _za32_s32, _za32_u32, _za32_f32, // _za64_s64,
_za64_u64 and _za64_f64
svint8x2_t svreadz_hor_za8_s8_vg2(uint64_t tile, uint32_t slice)
__arm_streaming __arm_inout("za");
// Variants are also available for _za8_u8, _za16_s16, _za16_u16, //
_za16_f16, _za16_bf16, _za32_s32, _za32_u32, _za32_f32, // _za64_s64,
_za64_u64 and _za64_f64
svint8x4_t svreadz_hor_za8_s8_vg4(uint64_t tile, uint32_t slice)
__arm_streaming __arm_inout("za");
// Variants are also available for _za8_u8, _za16_s16, _za16_u16, //
_za16_f16, _za16_bf16, _za32_s32, _za32_u32, _za32_f32, // _za64_s64,
_za64_u64 and _za64_f64
svint8x2_t svreadz_ver_za8_s8_vg2(uint64_t tile, uint32_t slice)
__arm_streaming __arm_inout("za");
// Variants are also available for _za8_u8, _za16_s16, _za16_u16, //
_za16_f16, _za16_bf16, _za32_s32, _za32_u32, _za32_f32, // _za64_s64,
_za64_u64 and _za64_f64
svint8x4_t svreadz_ver_za8_s8_vg4(uint64_t tile, uint32_t slice)
__arm_streaming __arm_inout("za");
Commit: 847d046a82a760caa1b05206d77ed0b3d7bd4be6
https://github.com/llvm/llvm-project/commit/847d046a82a760caa1b05206d77ed0b3d7bd4be6
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Pointer.h
M clang/test/AST/Interp/arrays.cpp
Log Message:
-----------
[clang][Interp] Fix comparing one-past-the-end pointers
Commit: d6f906eadbf7a5c2eb484f62740bf3e6a650bc92
https://github.com/llvm/llvm-project/commit/d6f906eadbf7a5c2eb484f62740bf3e6a650bc92
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SlotIndexes.h
M llvm/lib/CodeGen/SlotIndexes.cpp
M llvm/unittests/CodeGen/MLRegAllocDevelopmentFeatures.cpp
Log Message:
-----------
[SlotIndexes] Use simple_ilist instead of ilist. NFC. (#96747)
simple_ilist does not take ownership of its nodes, which is fine for
SlotIndexes because the IndexListEntry nodes are allocated with a
BumpPtrAllocator and do not need to be freed.
Commit: 86860be2886283210083e5e3f20048e559cc059e
https://github.com/llvm/llvm-project/commit/86860be2886283210083e5e3f20048e559cc059e
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M libc/src/stdlib/CMakeLists.txt
M libc/src/stdlib/rand.cpp
M libc/src/stdlib/rand_util.cpp
M libc/src/stdlib/rand_util.h
M libc/src/stdlib/srand.cpp
M libc/test/src/stdlib/rand_test.cpp
Log Message:
-----------
[libc] Make 'rand()' thread-safe using atomics instead of TLS (#96692)
Summary:
Currently, we implement the `rand` function using thread-local storage.
This is somewhat problematic because not every target supports TLS, and
even more do not support non-zero initializers on TLS.
The C standard states that the `rand()` function need not be thread,
safe. However, many implementations provide thread-safety anyway.
There's some confusing language in the 'rationale' section of
https://pubs.opengroup.org/onlinepubs/9699919799/functions/rand.html,
but given that `glibc` uses a lock, I think we should make this thread
safe as well. it mentions that threaded behavior is desirable and can be
done in the two ways:
1. A single per-process sequence of pseudo-random numbers that is shared
by all threads that call rand()
2. A different sequence of pseudo-random numbers for each thread that
calls rand()
The current implementation is (2.) and this patch moves it to (1.). This
is beneficial for the GPU case and more generic support. The downside is
that it's slightly slower to do these atomic operations, the fast path
will be two atomic reads and an atomic write.
Commit: 317f782ef2366950e6cdc0de9d35df7fcc15ec5d
https://github.com/llvm/llvm-project/commit/317f782ef2366950e6cdc0de9d35df7fcc15ec5d
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/SmallPtrSet.h
M llvm/unittests/ADT/SmallPtrSetTest.cpp
Log Message:
-----------
[ADT] Return bool from SmallPtrSet::remove_if()
Return whether anything was removed. This matches the API of
SetVector::remove_if() and is convenient for some future uses.
Commit: 92715cf43b18d497cd034bdc7787b3a8eeb2edc5
https://github.com/llvm/llvm-project/commit/92715cf43b18d497cd034bdc7787b3a8eeb2edc5
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/test/CodeGen/X86/avg.ll
M llvm/test/CodeGen/X86/avgceils-scalar.ll
M llvm/test/CodeGen/X86/avgceilu-scalar.ll
M llvm/test/CodeGen/X86/avgfloors-scalar.ll
M llvm/test/CodeGen/X86/avgflooru-scalar.ll
Log Message:
-----------
[DAG] expandAVG - attempt to extend to a wider integer type for the add/shift to avoid overflow handling (#95788)
Commit: 6f582b7ed3dcd220a2154b617d6469c142805d7c
https://github.com/llvm/llvm-project/commit/6f582b7ed3dcd220a2154b617d6469c142805d7c
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP][NFC]Remove extra check for VU.
Commit: 4c9b71dd9171164efbb99de5e75d4fcadf0e21b5
https://github.com/llvm/llvm-project/commit/4c9b71dd9171164efbb99de5e75d4fcadf0e21b5
Author: Serge Pavlov <sepavloff at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/ARM/ARMLegalizerInfo.cpp
M llvm/lib/Target/ARM/ARMRegisterBankInfo.cpp
M llvm/test/CodeGen/ARM/GlobalISel/fpenv.ll
Log Message:
-----------
[GlobalISel][ARM] Legalze set_fpmode and get_fpmode (#96467)
Implement handling of get/set floating point control modes for ARM in
Global Instruction Selector.
Commit: b6a94b6bfb2cbcfcb64c354d3ab876ec52bfcd14
https://github.com/llvm/llvm-project/commit/b6a94b6bfb2cbcfcb64c354d3ab876ec52bfcd14
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
Log Message:
-----------
[OMPIRBuilder] Use SmallPtrSet::remove_if() (NFC)
Commit: 519dbc6b996d6121e95cc14865d7e0fa6496bb12
https://github.com/llvm/llvm-project/commit/519dbc6b996d6121e95cc14865d7e0fa6496bb12
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp
Log Message:
-----------
[WasmExceptionInfo] Use SmallPtrSet::remove_if() (NFC)
Commit: 177cbd16663a2ca36d0d7145c3b62f2d756f8f7f
https://github.com/llvm/llvm-project/commit/177cbd16663a2ca36d0d7145c3b62f2d756f8f7f
Author: Caroline Concatto <caroline.concatto at arm.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/test/CodeGen/aarch64-sme2p1-intrinsics/acle_sme2p1_movaz.c
Log Message:
-----------
[Clang][SME2.1] Add REQUIRES: aarch64-registered-target to test
PR#88710 is failing because the test file needs
REQUIRES: aarch64-registered-target
Commit: d42b392696fbd9d612ac22ff82b4a1760fc26d89
https://github.com/llvm/llvm-project/commit/d42b392696fbd9d612ac22ff82b4a1760fc26d89
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/VectorUtils.h
M llvm/lib/Analysis/VectorUtils.cpp
Log Message:
-----------
[VectorUtils] Use SmallPtrSet::remove_if() (NFC)
Commit: 6f8efc76c9b9d1fc02f043cb908a8aa655290a61
https://github.com/llvm/llvm-project/commit/6f8efc76c9b9d1fc02f043cb908a8aa655290a61
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/test/Transforms/PhaseOrdering/X86/pr67803.ll
Log Message:
-----------
[PhaseOrdering][X86] Regenerate pr67803.ll
Commit: dfe80a73223edff5c53f8be7925d302883cb40bc
https://github.com/llvm/llvm-project/commit/dfe80a73223edff5c53f8be7925d302883cb40bc
Author: martinboehme <mboehme at google.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/include/clang/Analysis/FlowSensitive/ASTOps.h
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
[clang][dataflow] Teach `AnalysisASTVisitor` that `typeid()` can be evaluated. (#96731)
We were previously treating the operand of `typeid()` as being
definitely
unevaluated, but it can be evaluated if it is a glvalue of polymorphic
type.
This patch includes a test that fails without the fix.
Commit: 85f47fdd039549ed7e89b53ca34b0b35456ffe3d
https://github.com/llvm/llvm-project/commit/85f47fdd039549ed7e89b53ca34b0b35456ffe3d
Author: martinboehme <mboehme at google.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
[clang][nullability] Improve modeling of `++`/`--` operators. (#96601)
We definitely know that these operations change the value of their
operand, so
clear out any value associated with it. We don't create a new value,
instead
leaving it to the analysis to do this if desired.
Commit: e24a21291ac35a0660ec7cf19d4c36019ee7437e
https://github.com/llvm/llvm-project/commit/e24a21291ac35a0660ec7cf19d4c36019ee7437e
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/include/clang/Parse/Parser.h
M clang/lib/Parse/ParseOpenMP.cpp
Log Message:
-----------
[clang][OpenMP] Shorten directive classification in ParseOpenMP (#94691)
Use directive categories to simplify long lists of `case` statements in
the OpenMP parser. This is a step towards avoiding dependence on
explicitly specified sets of directives that can be expressed more
generically.
The upcoming OpenMP 6.0 will introduce many new combined directives, and
the more generically we handle directives, the easier the introduction
of the new standard will be.
---------
Co-authored-by: Alexey Bataev <a.bataev at outlook.com>
Commit: 352a836176b25abfdc26ddc5ddbd18288715a794
https://github.com/llvm/llvm-project/commit/352a836176b25abfdc26ddc5ddbd18288715a794
Author: David Green <david.green at arm.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
A llvm/test/Transforms/InstCombine/canonicalize-gep-mul.ll
M llvm/test/Transforms/InstCombine/getelementptr.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-gather-scatter.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-interleaved-accesses.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-widen-phi.ll
M llvm/test/Transforms/LoopVectorize/AArch64/uniform-args-call-variants.ll
M llvm/test/Transforms/LoopVectorize/SystemZ/addressing.ll
M llvm/test/Transforms/LoopVectorize/X86/interleaving.ll
M llvm/test/Transforms/LoopVectorize/induction.ll
M llvm/test/Transforms/LoopVectorize/interleaved-accesses.ll
M llvm/test/Transforms/LoopVectorize/scalable-inductions.ll
M llvm/test/Transforms/LoopVectorize/scalable-loop-unpredicated-body-scalar-tail.ll
M llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-loops.ll
Log Message:
-----------
[InstCombine] Canonicalize non-i8 gep of mul to i8 (#96606)
This is a small canonicalization for `gep i32, p, (mul x, C)` -> `gep
i8, p, (mul x, C*4)`, so that the mul can combine both of the constant
multiplications, and we take a small step towards canonicalizing more
geps to i8.
It currently doesn't attempt to check for multiple uses on the mul, but
that should be possible if it sounds better. Let me know what you think
of the idea in general.
Commit: b6240c371522c701be8a7a143aa166d277508cbe
https://github.com/llvm/llvm-project/commit/b6240c371522c701be8a7a143aa166d277508cbe
Author: Lucas Duarte Prates <lucas.prates at arm.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/include/clang/Frontend/FrontendOptions.h
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChain.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/CodeGen/aarch64-targetattr.c
M clang/test/Driver/aarch64-fp16.c
M clang/test/Driver/aarch64-sve2.c
M clang/test/Driver/aarch64-v81a.c
M clang/test/Driver/aarch64-v82a.c
M clang/test/Driver/aarch64-v83a.c
M clang/test/Driver/aarch64-v84a.c
M clang/test/Driver/aarch64-v85a.c
M clang/test/Driver/aarch64-v86a.c
M clang/test/Driver/aarch64-v87a.c
M clang/test/Driver/aarch64-v88a.c
M clang/test/Driver/aarch64-v89a.c
A clang/test/Driver/aarch64-v8a.c
M clang/test/Driver/aarch64-v91a.c
M clang/test/Driver/aarch64-v92a.c
M clang/test/Driver/aarch64-v93a.c
M clang/test/Driver/aarch64-v94a.c
M clang/test/Driver/aarch64-v95a.c
A clang/test/Driver/aarch64-v9a.c
M clang/test/Driver/print-supported-extensions.c
M clang/test/Preprocessor/aarch64-target-features.c
M clang/tools/driver/cc1_main.cpp
M flang/test/Driver/target-cpu-features.f90
M llvm/include/llvm/MC/MCSubtargetInfo.h
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/MC/MCSubtargetInfo.cpp
M llvm/lib/Target/AArch64/AArch64Features.td
M llvm/lib/TargetParser/AArch64TargetParser.cpp
M llvm/unittests/TargetParser/TargetParserTest.cpp
M llvm/utils/TableGen/ARMTargetDefEmitter.cpp
Log Message:
-----------
[AArch64] Add ability to list extensions enabled for a target (#95805)
This introduces the new `--print-enabled-extensions` command line option
to AArch64, which prints the list of extensions that are enabled for the
target specified by the combination of `--target`/`-march`/`-mcpu`
values.
The goal of the this option is both to enable the manual inspection of
the enabled extensions by users and to enhance the testability of
architecture versions and CPU targets implemented in the compiler.
As part of this change, a new field for `FEAT_*` architecture feature
names was added to the TableGen entries. The output of the existing
`--print-supported-extensions` option was updated accordingly to show
these in a separate column.
Commit: 00ae6bb6c27b5ca89fb22dff99a34d6b45e3e0b0
https://github.com/llvm/llvm-project/commit/00ae6bb6c27b5ca89fb22dff99a34d6b45e3e0b0
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/test/CodeGen/ARM/constant-islands-split-IT.mir
Log Message:
-----------
[ARM] Regenerate MIR test (NFC)
Commit: 6e96e5ab8a0e40fba0302a5c32574be41ef57354
https://github.com/llvm/llvm-project/commit/6e96e5ab8a0e40fba0302a5c32574be41ef57354
Author: martinboehme <mboehme at google.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/include/clang/Analysis/FlowSensitive/ASTOps.h
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
Revert "[clang][dataflow] Teach `AnalysisASTVisitor` that `typeid()` can be evaluated." (#96766)
Reverts llvm/llvm-project#96731
It causes CI failures.
Commit: e5e0d8739d4a2b70d7ad317863d7b168e4895b18
https://github.com/llvm/llvm-project/commit/e5e0d8739d4a2b70d7ad317863d7b168e4895b18
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
Log Message:
-----------
[clang][Interp] Implement CXXStdInitializerListExprs
Commit: 161e1689ba98fabba71cac21f536708c78e9d7b0
https://github.com/llvm/llvm-project/commit/161e1689ba98fabba71cac21f536708c78e9d7b0
Author: Fred Grim <fgrim at apple.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M lld/test/ELF/as-needed-no-reloc.s
M lld/test/ELF/as-needed.s
M lld/test/ELF/auxiliary.s
M lld/test/ELF/dynamic-reloc.s
M lld/test/ELF/filter.s
M lld/test/ELF/gc-sections-shared.s
M lld/test/ELF/no-soname.s
M lld/test/ELF/partition-synthetic-sections.s
M lld/test/ELF/push-state.s
M lld/test/ELF/shared-ppc64.s
M lld/test/ELF/shared.s
M lld/test/ELF/soname.s
M lld/test/ELF/soname2.s
M lld/test/ELF/wrap-drop-shared-original.s
M llvm/test/tools/llvm-ifs/write-stub.test
M llvm/test/tools/llvm-readobj/ELF/dynamic-malformed.test
M llvm/test/tools/llvm-readobj/ELF/dynamic-tags.test
M llvm/test/tools/llvm-readobj/ELF/loadname.test
M llvm/tools/llvm-readobj/ELFDumper.cpp
Log Message:
-----------
[llvm-readobj][ELF] Test multivalued rpath entries and alter the output for readobj to emphasize the single valued nature of NEEDED, SONAME, USED etc. (#96562)
In the context of #95976 it became clear that the output for readobj
implied multi valued entries in several cases in the elf headers that
the documentation only allowed for a single value. DT_NEEDED is the
example here where the value is an offset into the string table without
any sort of separator that could give you multiple entries. This patch
alters the LLVM output so that the single valued nature is emphasized.
For example the output was:
```
DynamicSection [ (35 entries)
Tag Type Name/Value
0x000000000000001D RUNPATH Library runpath: [$ORIGIN/../lib:]
0x0000000000000001 NEEDED Shared library: [libm.so.6]
0x0000000000000001 NEEDED Shared library: [libz.so.1]
0x0000000000000001 NEEDED Shared library: [libzstd.so.1]
```
and is now
```
Tag Type Name/Value
0x000000000000001D RUNPATH Library runpath: [$ORIGIN/../lib:]
0x0000000000000001 NEEDED Shared library: libm.so.6
0x0000000000000001 NEEDED Shared library: libz.so.1
0x0000000000000001 NEEDED Shared library: libzstd.so.1
```
This pr also tests that multi-valued rpaths are handled correctly in the
JSON case (i.e. they become proper lists) like:
```
{
"Tag": 15,
"Type": "RPATH",
"Value": 9,
"Path": [
"x",
"w",
"U"
]
},
```
when separated by :
Commit: b579aacc30bc02e8430c0b59af644f52ece71160
https://github.com/llvm/llvm-project/commit/b579aacc30bc02e8430c0b59af644f52ece71160
Author: Lucas Duarte Prates <lucas.prates at arm.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/include/clang/Frontend/FrontendOptions.h
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChain.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/CodeGen/aarch64-targetattr.c
M clang/test/Driver/aarch64-fp16.c
M clang/test/Driver/aarch64-sve2.c
M clang/test/Driver/aarch64-v81a.c
M clang/test/Driver/aarch64-v82a.c
M clang/test/Driver/aarch64-v83a.c
M clang/test/Driver/aarch64-v84a.c
M clang/test/Driver/aarch64-v85a.c
M clang/test/Driver/aarch64-v86a.c
M clang/test/Driver/aarch64-v87a.c
M clang/test/Driver/aarch64-v88a.c
M clang/test/Driver/aarch64-v89a.c
R clang/test/Driver/aarch64-v8a.c
M clang/test/Driver/aarch64-v91a.c
M clang/test/Driver/aarch64-v92a.c
M clang/test/Driver/aarch64-v93a.c
M clang/test/Driver/aarch64-v94a.c
M clang/test/Driver/aarch64-v95a.c
R clang/test/Driver/aarch64-v9a.c
M clang/test/Driver/print-supported-extensions.c
M clang/test/Preprocessor/aarch64-target-features.c
M clang/tools/driver/cc1_main.cpp
M flang/test/Driver/target-cpu-features.f90
M llvm/include/llvm/MC/MCSubtargetInfo.h
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/MC/MCSubtargetInfo.cpp
M llvm/lib/Target/AArch64/AArch64Features.td
M llvm/lib/TargetParser/AArch64TargetParser.cpp
M llvm/unittests/TargetParser/TargetParserTest.cpp
M llvm/utils/TableGen/ARMTargetDefEmitter.cpp
Log Message:
-----------
Revert "[AArch64] Add ability to list extensions enabled for a target" (#96768)
Reverts llvm/llvm-project#95805 due to test failures caught by the
buildbots.
Commit: dead8f845f2549db5dec16b59b80d3e321948674
https://github.com/llvm/llvm-project/commit/dead8f845f2549db5dec16b59b80d3e321948674
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Pointer.h
M clang/test/AST/Interp/arrays.cpp
Log Message:
-----------
[clang][Interp] Pointers into unknown-size arrays are never one-past-end
Commit: 019f525716348578802b02961c328b43f7cad0fb
https://github.com/llvm/llvm-project/commit/019f525716348578802b02961c328b43f7cad0fb
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/misc/UseInternalLinkageCheck.cpp
M clang-tools-extra/clang-tidy/misc/UseInternalLinkageCheck.h
M clang-tools-extra/docs/clang-tidy/checks/misc/use-internal-linkage.rst
A clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-fix-mode-none.cpp
M clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-func.cpp
M clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-var.cpp
Log Message:
-----------
[clang-tidy] add fixhint for misc-use-internal-linkage (#96203)
Commit: fd35a92300a00edaf56ae94176317390677569a4
https://github.com/llvm/llvm-project/commit/fd35a92300a00edaf56ae94176317390677569a4
Author: Eisuke Kawashima <e.kawaschima+github at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M lldb/examples/python/crashlog.py
M lldb/examples/python/disasm-stress-test.py
M lldb/examples/summaries/cocoa/CFString.py
M lldb/examples/summaries/pysummary.py
M lldb/examples/synthetic/bitfield/example.py
M lldb/packages/Python/lldbsuite/test/lldbtest.py
M lldb/test/API/commands/command/script/welcome.py
M lldb/test/API/commands/expression/call-throws/TestCallThatThrows.py
M lldb/test/API/functionalities/disassemble/aarch64-adrp-add/TestAArch64AdrpAdd.py
M lldb/test/API/functionalities/gdb_remote_client/TestNoWatchpointSupportInfo.py
M lldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py
M lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
Log Message:
-----------
[lldb] fix(lldb/**.py): fix comparison to True/False (#94039)
from PEP8
(https://peps.python.org/pep-0008/#programming-recommendations):
> Comparisons to singletons like None should always be done with is or
is not, never the equality operators.
Co-authored-by: Eisuke Kawashima <e-kwsm at users.noreply.github.com>
Commit: 586114510c5fa71d1377c7f53e68a3b12c472aa2
https://github.com/llvm/llvm-project/commit/586114510c5fa71d1377c7f53e68a3b12c472aa2
Author: Eisuke Kawashima <e.kawaschima+github at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M lldb/bindings/interface/SBBreakpointDocstrings.i
M lldb/bindings/interface/SBDataExtensions.i
M lldb/docs/use/python.rst
M lldb/examples/python/armv7_cortex_m_target_defintion.py
M lldb/packages/Python/lldbsuite/test/dotest.py
M lldb/packages/Python/lldbsuite/test/lldbtest.py
M lldb/packages/Python/lldbsuite/test/lldbutil.py
M lldb/packages/Python/lldbsuite/test/tools/intelpt/intelpt_testcase.py
M lldb/test/API/functionalities/breakpoint/address_breakpoints/TestBadAddressBreakpoints.py
M lldb/test/API/functionalities/step_scripted/TestStepScripted.py
M lldb/test/API/functionalities/stop-on-sharedlibrary-load/TestStopOnSharedlibraryEvents.py
M lldb/test/API/lua_api/TestLuaAPI.py
M lldb/test/API/macosx/thread_suspend/TestInternalThreadSuspension.py
M lldb/test/API/python_api/event/TestEvents.py
M lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py
M lldb/test/API/python_api/type/TestTypeList.py
M lldb/test/API/python_api/was_interrupted/interruptible.py
M lldb/test/Shell/lit.cfg.py
Log Message:
-----------
[lldb] fix(lldb/**.py): fix comparison to None (#94017)
from PEP8
(https://peps.python.org/pep-0008/#programming-recommendations):
> Comparisons to singletons like None should always be done with is or
is not, never the equality operators.
Co-authored-by: Eisuke Kawashima <e-kwsm at users.noreply.github.com>
Commit: 3e1ebd77e4e9a772e4f06f12d19c64860fb1f070
https://github.com/llvm/llvm-project/commit/3e1ebd77e4e9a772e4f06f12d19c64860fb1f070
Author: darkbuck <michael.hliao at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
Log Message:
-----------
[GlobalISel] Add support for lowering byref attribute
Reviewers: nikic, spaits, arsenm
Reviewed By: arsenm
Pull Request: https://github.com/llvm/llvm-project/pull/96733
Commit: 30b93db5476e3ae2efdaba25fb53fcc3c081da77
https://github.com/llvm/llvm-project/commit/30b93db5476e3ae2efdaba25fb53fcc3c081da77
Author: Matthew Weingarten <matt at weingarten.org>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M compiler-rt/include/profile/MIBEntryDef.inc
M compiler-rt/include/profile/MemProfData.inc
M compiler-rt/lib/memprof/memprof_allocator.cpp
M compiler-rt/lib/memprof/memprof_flags.inc
M compiler-rt/lib/memprof/memprof_mapping.h
M compiler-rt/lib/memprof/memprof_mibmap.cpp
M compiler-rt/lib/memprof/memprof_rawprofile.cpp
M compiler-rt/lib/memprof/memprof_rtl.cpp
M compiler-rt/lib/memprof/tests/rawprofile.cpp
M llvm/include/llvm/ProfileData/MIBEntryDef.inc
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/include/llvm/ProfileData/MemProfData.inc
M llvm/include/llvm/ProfileData/MemProfReader.h
M llvm/lib/ProfileData/MemProfReader.cpp
M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
M llvm/test/Transforms/PGOProfile/Inputs/memprof.exe
M llvm/test/Transforms/PGOProfile/Inputs/memprof.memprofraw
M llvm/test/Transforms/PGOProfile/Inputs/memprof.nocolinfo.exe
M llvm/test/Transforms/PGOProfile/Inputs/memprof.nocolinfo.memprofraw
M llvm/test/Transforms/PGOProfile/Inputs/memprof_internal_linkage.exe
M llvm/test/Transforms/PGOProfile/Inputs/memprof_internal_linkage.memprofraw
M llvm/test/Transforms/PGOProfile/Inputs/memprof_loop_unroll.exe
M llvm/test/Transforms/PGOProfile/Inputs/memprof_loop_unroll.memprofraw
M llvm/test/Transforms/PGOProfile/Inputs/memprof_missing_leaf.exe
M llvm/test/Transforms/PGOProfile/Inputs/memprof_missing_leaf.memprofraw
M llvm/test/Transforms/PGOProfile/memprof_internal_linkage.ll
A llvm/test/tools/llvm-profdata/Inputs/basic-histogram.memprofexe
A llvm/test/tools/llvm-profdata/Inputs/basic-histogram.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/basic.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/basic.memprofraw
A llvm/test/tools/llvm-profdata/Inputs/basic_v3.memprofexe
A llvm/test/tools/llvm-profdata/Inputs/basic_v3.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/buildid.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/buildid.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/inline.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/inline.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/multi.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/multi.memprofraw
A llvm/test/tools/llvm-profdata/Inputs/padding-histogram.memprofexe
A llvm/test/tools/llvm-profdata/Inputs/padding-histogram.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/pic.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/pic.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/update_memprof_inputs.sh
A llvm/test/tools/llvm-profdata/memprof-basic-histogram.test
M llvm/test/tools/llvm-profdata/memprof-basic.test
A llvm/test/tools/llvm-profdata/memprof-basic_v3.test
M llvm/test/tools/llvm-profdata/memprof-inline.test
M llvm/test/tools/llvm-profdata/memprof-multi.test
A llvm/test/tools/llvm-profdata/memprof-padding-histogram.test
M llvm/test/tools/llvm-profdata/memprof-pic.test
M llvm/unittests/ProfileData/MemProfTest.cpp
Log Message:
-----------
[Memprof] Adds the option to collect AccessCountHistograms for memprof. (#94264)
Adds compile time flag -mllvm -memprof-histogram and runtime flag
histogram=true|false to turn Histogram collection on and off. The
-memprof-histogram flag relies on -memprof-use-callbacks=true to work.
Updates shadow mapping logic in histogram mode from having one 8 byte
counter for 64 bytes, to 1 byte for 8 bytes, capped at 255. Only
supports this granularity as of now.
Updates the RawMemprofReader and serializing MemoryInfoBlocks to binary
format, including changing to a new version of the raw binary format
from version 3 to version 4.
Updates creating MemoryInfoBlocks with and without Histograms. When two
MemoryInfoBlocks are merged, AccessCounts are summed up and the shorter
Histogram is removed.
Adds a memprof_histogram test case.
Initial commit for adding AccessCountHistograms up until RawProfile for
memprof
Commit: 17eaa23f7ecdfe79ad74552aaa260e6ce32432c2
https://github.com/llvm/llvm-project/commit/17eaa23f7ecdfe79ad74552aaa260e6ce32432c2
Author: Janek van Oirschot <janek.vanoirschot at amd.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.h
M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.h
M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
M llvm/lib/Target/AMDGPU/SIProgramInfo.cpp
M llvm/lib/Target/AMDGPU/SIProgramInfo.h
M llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch-init.ll
M llvm/test/MC/AMDGPU/hsa-sym-expr-failure.s
M llvm/test/MC/AMDGPU/hsa-sym-exprs-gfx10.s
M llvm/test/MC/AMDGPU/hsa-sym-exprs-gfx11.s
M llvm/test/MC/AMDGPU/hsa-sym-exprs-gfx12.s
M llvm/test/MC/AMDGPU/hsa-sym-exprs-gfx7.s
M llvm/test/MC/AMDGPU/hsa-sym-exprs-gfx8.s
M llvm/test/MC/AMDGPU/hsa-sym-exprs-gfx90a.s
M llvm/test/MC/AMDGPU/hsa-tg-split.s
M llvm/test/MC/AMDGPU/hsa-v4.s
M llvm/test/MC/AMDGPU/hsa-v5-uses-dynamic-stack.s
M llvm/unittests/MC/AMDGPU/CMakeLists.txt
R llvm/unittests/MC/AMDGPU/SIProgramInfoMCExprs.cpp
Log Message:
-----------
[AMDGPU] MCExpr-ify AMDGPU HSAMetadata (#94788)
Enables MCExpr for HSAMetadata, particularly, HSAMetadata's msgpack format.
Commit: b7762f2e64af34506447b56eea7bdbabd8568718
https://github.com/llvm/llvm-project/commit/b7762f2e64af34506447b56eea7bdbabd8568718
Author: Balazs Benics <benicsbalazs at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/CMakeLists.txt
Log Message:
-----------
Bump required minimal Z3 version from 4.7.1 to 4.8.9 (#96682)
https://discourse.llvm.org/t/bump-minimal-z3-requirements-from-4-7-1-to-4-8-9/79664
This supposed to unblock #95128 and #95129.
Commit: 2612765faf0e72cc57c6cce058305ddf241c3e3c
https://github.com/llvm/llvm-project/commit/2612765faf0e72cc57c6cce058305ddf241c3e3c
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
M llvm/test/CodeGen/NVPTX/combine-mad.ll
Log Message:
-----------
[NVPTX] Fold (add (select 0, (mul a, b)), c) -> (select c, (mad a, b, c)) (#96352)
Add folding for `(add (select cond, 0, (mul a, b)), c)` to `(select
cond, c, (mad a, b, c))`. Also, refactor the DAG folding implementation
to separate out the `ADD` and `FADD` folding cases.
Commit: 19183691f32c8cc6967322523f6fa338617929bd
https://github.com/llvm/llvm-project/commit/19183691f32c8cc6967322523f6fa338617929bd
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/is-fpclass-rv32.mir
M llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/is-fpclass-rv64.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-is-fpclass-rv32.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-is-fpclass-rv64.mir
M llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/is-fpclass-rv32.mir
M llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/is-fpclass-rv64.mir
Log Message:
-----------
[RISCV][GISel] Add missing fclass tests. NFC (#96694)
We were only testing f32 on rv32 and f64 on rv64. We need to test f32
and f64 on both rv32 and rv64.
Commit: d0527ab69765740c1747695bbfe72a3db1781b16
https://github.com/llvm/llvm-project/commit/d0527ab69765740c1747695bbfe72a3db1781b16
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M libc/src/stdlib/rand.cpp
M libc/src/stdlib/srand.cpp
Log Message:
-----------
[libc] Fix Fuscia builder failing on atomic warnings (#96791)
Summary:
This function uses atomics now, which emit warnings on some platforms
that don't support full lock-free atomics. These aren't specifically
wrong, and in the future we could investigate a libc configuration
specialized for single-threaded microprocessors, but for now we should
get the bot running again.
Commit: 637b7f805a2f22978fac75e75c52bd6d7c3e8161
https://github.com/llvm/llvm-project/commit/637b7f805a2f22978fac75e75c52bd6d7c3e8161
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M libcxx/include/__ranges/iota_view.h
A libcxx/test/std/ranges/range.factories/range.iota.view/assert.ctor.value.bound.pass.cpp
Log Message:
-----------
[libc++] Classify iota_view precondition (#96662)
Fixes #91385
Commit: e1015ae55d9ac729b0b0a41f4207241f8d4b2789
https://github.com/llvm/llvm-project/commit/e1015ae55d9ac729b0b0a41f4207241f8d4b2789
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M libc/docs/gpu/support.rst
M libc/src/stdlib/rand_util.cpp
Log Message:
-----------
[libc][docs] List `rand` and `srand` as supported on the GPU (#96757)
Summary:
I initially didn't report these as supported because they didn't provide
expected behavior and were very wasteful. The recent patch moved them to
a lock-free atomic implementation so they can now actually be used.
Commit: acd6cb85b3c410e88dbcc9e48733d0e1ac70eadc
https://github.com/llvm/llvm-project/commit/acd6cb85b3c410e88dbcc9e48733d0e1ac70eadc
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
M llvm/lib/Target/RISCV/GISel/RISCVRegisterBankInfo.cpp
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/fcmp-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/fcmp-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/is-fpclass-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/is-fpclass-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-fcmp-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-fcmp-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-is-fpclass-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-is-fpclass-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/fcmp-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/fcmp-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/is-fpclass-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/is-fpclass-f16-rv64.mir
Log Message:
-----------
[RISCV][GISel] Support fcmp and fclass for Zfh. (#96696)
Commit: 7c4fc9ccc058137877c99bad402a91d3ce640bbb
https://github.com/llvm/llvm-project/commit/7c4fc9ccc058137877c99bad402a91d3ce640bbb
Author: Xu Zhang <simonzgx at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M libc/src/__support/OSUtil/linux/fcntl.cpp
M libc/test/src/fcntl/CMakeLists.txt
M libc/test/src/fcntl/fcntl_test.cpp
Log Message:
-----------
[libc][fcntl] Simplify the handling of the return value from syscall … (#96325)
Fixes #95570
Commit: 581fd2fa573e39607ea164c0b4a8057baeb62c69
https://github.com/llvm/llvm-project/commit/581fd2fa573e39607ea164c0b4a8057baeb62c69
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/fptoi-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/fptoi-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/itofp-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/itofp-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-fptoi-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-fptoi-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-itofp-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-itofp-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/fptoi-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/fptoi-f16-rv64.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/itofp-f16-rv32.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/itofp-f16-rv64.mir
Log Message:
-----------
[RISCV][GISel] Support fptoi and itofp for Zfh. (#96707)
Commit: 0d9172ecaca2b0834e65343aa24d7cfa4f6d841d
https://github.com/llvm/llvm-project/commit/0d9172ecaca2b0834e65343aa24d7cfa4f6d841d
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
M llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
M llvm/test/CodeGen/SPIRV/const-nested-vecs.ll
M llvm/test/CodeGen/SPIRV/pointers/global-zeroinitializer.ll
A llvm/test/CodeGen/SPIRV/pointers/irtrans-added-int-const-32-64.ll
Log Message:
-----------
[SPIR-V] Improve pattern matching and tracking of constant integers (#96615)
This PR fixes the issue
https://github.com/llvm/llvm-project/issues/96614 by improve pattern
matching and tracking of constant integers. The attached test is
successful if it doesn't crash and generate valid SPIR-V code for both
32 and 64 bits targets.
Commit: bb50bc23983052e70a6140d39fcc775362b03fc3
https://github.com/llvm/llvm-project/commit/bb50bc23983052e70a6140d39fcc775362b03fc3
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/test/CodeGen/SPIRV/transcoding/OpGenericCastToPtr.ll
Log Message:
-----------
[SPIR-V] Fix support of OpGenericCastToPtr __spirv_ wrappers (#96655)
This PR completes implementation of insertion of OpGenericCastToPtr
using builtin functions started by
https://github.com/llvm/llvm-project/pull/95055 by:
* fixing errors in Tablegen definition,
* adding type inference info for `__spirv_GenericCastToPtrExplicit` kind
of wrappers, and
* hardening the test case to check correct translation of
`__spirv_GenericCastToPtrExplicit` kind of wrappers.
Commit: 378630b4d023e3de76a82ceb3b713f90cf308a7f
https://github.com/llvm/llvm-project/commit/378630b4d023e3de76a82ceb3b713f90cf308a7f
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
M llvm/test/CodeGen/SPIRV/extensions/SPV_EXT_shader_atomic_float_add/atomicrmw_faddfsub_float.ll
Log Message:
-----------
[SPIR-V] Support cl_ext_float_atomics and fix errors in definition of atomic_fetch_*_explicit builtins (#96767)
This PR:
* supports cl_ext_float_atomics by mapping atomic_fetch_add and
atomic_fetch_sub applied to float arguments to the corresponding
instructions from SPV_EXT_shader_atomic_float*_add, and
* fix errors in definition of atomic_fetch_*_explicit builtins by fixing
a valid number of arguments.
Commit: 8ab66775dc885f7a99ee5f53771ce555e42085f9
https://github.com/llvm/llvm-project/commit/8ab66775dc885f7a99ee5f53771ce555e42085f9
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
Log Message:
-----------
[RISCV] Add Zfh to typeIsScalarFPArith and simplify code. NFC
Now that we have Zfh supported and tested for every opcode that uses
typeIsScalarFPArith, we can fold Zfh into it.
Commit: 868fae1f2ecb54604231c1334ce9aa5b4c0b1288
https://github.com/llvm/llvm-project/commit/868fae1f2ecb54604231c1334ce9aa5b4c0b1288
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
A llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/fp-ext-trunc-f16.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-fp-ext-trunc-f16.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/fp-ext-trunc-f16.mir
Log Message:
-----------
[RISCV][GISel] Support G_FPEXT/FPTRUNC with ZFh.
Commit: 141bea8c3cad62b381aef3c216cf7f78b812f580
https://github.com/llvm/llvm-project/commit/141bea8c3cad62b381aef3c216cf7f78b812f580
Author: Damyan Pepper <damyanp at microsoft.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/DXContainerPSVInfo.h
M llvm/lib/Target/DirectX/DXContainerGlobals.cpp
A llvm/test/CodeGen/DirectX/ContainerData/PipelineStateValidation.ll
Log Message:
-----------
[DirectX] Add stub PSV0 section (#96712)
Direct3D requires a PSV0 section to be present in the DXContainer in
order to be able to load and use the shader.
This change adds a minimal stub PSV0, with some hard-coded values, that
are just enough to unblock loading into Direct3D.
Contributes to #90129
Commit: 0f24a462386409c1d907aefb9d8a58481cb71933
https://github.com/llvm/llvm-project/commit/0f24a462386409c1d907aefb9d8a58481cb71933
Author: Kyle Huey <khuey at kylehuey.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Support/CMakeLists.txt
Log Message:
-----------
[llvm-config] Make llvm-config --system-libs obey LLVM_USE_STATIC_ZSTD (#93754)
LLVM's build system does the right thing but LLVM_SYSTEM_LIBS ends up
containing the shared library. Emit the static library instead when
appropriate.
With LLVM_USE_STATIC_ZSTD, before:
khuey at zhadum:~/dev/llvm-project/build$ ./bin/llvm-config --system-libs
-lrt -ldl -lm -lz -lzstd -lxml2
after:
khuey at zhadum:~/dev/llvm-project/build$ ./bin/llvm-config --system-libs
-lrt -ldl -lm -lz /usr/local/lib/libzstd.a -lxml2
Commit: 3f78d89a2e6170d206a6b91a93b3fdf5e46ab6db
https://github.com/llvm/llvm-project/commit/3f78d89a2e6170d206a6b91a93b3fdf5e46ab6db
Author: Mingming Liu <mingmingl at google.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M compiler-rt/test/profile/Linux/instrprof-vtable-value-prof.cpp
M llvm/test/tools/llvm-profdata/vtable-value-prof.test
M llvm/tools/llvm-profdata/llvm-profdata.cpp
Log Message:
-----------
[TypeProf][InstrFDO]Omit vtable symbols in indexed profiles by default (#96520)
- The indexed iFDO profiles contains compressed vtable names for `llvm-profdata show --show-vtables` debugging
usage. An optimized build doesn't need it and doesn't decompress the blob now [1], since optimized binary has the
source code and IR to find vtable symbols.
- The motivation is to avoid increasing profile size when it's not necessary.
- This doesn't change the indexed profile format and thereby doesn't need a version change.
[1] https://github.com/llvm/llvm-project/blob/eac925fb81f26342811ad1765e8f9919628e2254/llvm/include/llvm/ProfileData/InstrProfReader.h#L696-L699
Commit: d29fdfbc4e3b42e9ee0295049493ba7b1471772f
https://github.com/llvm/llvm-project/commit/d29fdfbc4e3b42e9ee0295049493ba7b1471772f
Author: Joel E. Denny <jdenny.ornl at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/LTO/LTOBackend.cpp
M llvm/test/Feature/load_plugin_error.ll
Log Message:
-----------
[LTO] Avoid assert fail on failed pass plugin load (#96691)
Without this patch, passing -load-pass-plugin=nonexistent.so to
llvm-lto2 produces a backtrace because LTOBackend.cpp does not handle
the error correctly:
```
Failed to load passes from 'nonexistant.so'. Request ignored.
Expected<T> must be checked before access or destruction.
Unchecked Expected<T> contained error:
Could not load library 'nonexistant.so': nonexistant.so: cannot open shared object file: No such file or directoryPLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
```
Any tool using `lto::Config::PassPlugins` should suffer similarly.
Based on the message "Request ignored" and the continue statement, the
intention was apparently to continue on failure to load a plugin.
However, no one appears to rely on that behavior now given that it
crashes instead, and terminating is consistent with opt.
Commit: d058b51604eeb73bfc236bfe84e1ade90229950f
https://github.com/llvm/llvm-project/commit/d058b51604eeb73bfc236bfe84e1ade90229950f
Author: Momchil Velikov <momchil.velikov at arm.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
R llvm/test/CodeGen/AArch64/sitofp-to-tbl.ll
Log Message:
-----------
Revert "[AArch64] Lower extending sitofp using tbl (#92528)"
This reverts commit d1a4f0c9fb559eb4c2fb56112e56343bcd333edc.
There are reports about test failures with Eigen and JAX.
Commit: 22b36bfa3f18ef1cc858d3301c4eea00a280403a
https://github.com/llvm/llvm-project/commit/22b36bfa3f18ef1cc858d3301c4eea00a280403a
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/ProfileData/MemProfReader.cpp
Log Message:
-----------
[Memprof] Fix a warning
This patch fixes:
llvm/lib/ProfileData/MemProfReader.cpp:685:1: error: non-void
function does not return a value in all con trol paths
[-Werror,-Wreturn-type]
While I am at it, this patch removes an else-after-return.
Commit: 6b1c51bc052ae974e89e623b3d143d010fd09222
https://github.com/llvm/llvm-project/commit/6b1c51bc052ae974e89e623b3d143d010fd09222
Author: Akash Banerjee <akash.banerjee at amd.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.h
M clang/test/OpenMP/nvptx_target_parallel_reduction_codegen.cpp
M clang/test/OpenMP/nvptx_target_parallel_reduction_codegen_tbaa_PR46146.cpp
M clang/test/OpenMP/nvptx_teams_reduction_codegen.cpp
A clang/test/OpenMP/reduction_complex.c
M clang/test/OpenMP/reduction_implicit_map.cpp
M clang/test/OpenMP/target_teams_generic_loop_codegen.cpp
M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
Log Message:
-----------
[OpenMP] Migrate GPU Reductions CodeGen from Clang to OMPIRBuilder (#80343)
This patch migrates the CGOpenMPRuntimeGPU::emitReduction and related functions to the OpenMPIRBUilder. In future patches MLIR OpenMP translation would be making use of these functions.
Co-authored-by: Jan Leyonberg <jan.leyonberg at amd.com>
Commit: a89a54190ced6f7ded24eb3b6e5115dbe69eada8
https://github.com/llvm/llvm-project/commit/a89a54190ced6f7ded24eb3b6e5115dbe69eada8
Author: Joel E. Denny <jdenny.ornl at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/test/Feature/load_plugin_error.ll
Log Message:
-----------
Fix test introduced by d29fdfbc4e3b
It breaks builds like:
https://lab.llvm.org/buildbot/#/builders/190/builds/744
Commit: 133492fe18260d4b5ce2d70ff9575fa9c911d090
https://github.com/llvm/llvm-project/commit/133492fe18260d4b5ce2d70ff9575fa9c911d090
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M libc/hdr/types/CMakeLists.txt
A libc/hdr/types/struct_sigaction.h
M libc/src/signal/linux/CMakeLists.txt
M libc/src/signal/linux/signal.cpp
M libc/src/signal/sigaction.h
M libc/test/src/signal/CMakeLists.txt
M libc/test/src/signal/sigaction_test.cpp
M libc/test/src/signal/sigaltstack_test.cpp
Log Message:
-----------
[libc] add proxy header for struct_sigaction (#96224)
Commit: 57d3d070502f54c63c5fca588cf74b78d607e272
https://github.com/llvm/llvm-project/commit/57d3d070502f54c63c5fca588cf74b78d607e272
Author: RoseZhang03 <rosezhang at google.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
A libc/newhdrgen/class_implementation/classes/enumeration.py
A libc/newhdrgen/class_implementation/classes/function.py
A libc/newhdrgen/class_implementation/classes/include.py
A libc/newhdrgen/class_implementation/classes/macro.py
A libc/newhdrgen/class_implementation/classes/object.py
A libc/newhdrgen/class_implementation/classes/type.py
Log Message:
-----------
[libc] added newhdrgen class implementation (#96710)
Added a class representation of a libc header file, allowing for easier
conversion from YAML to .h file output.
Classes include:
- Function (representing function headers)
- Include (representing various include statements found on a header
file)
- Macro (representing macro definitions)
- Enumeration (representing enum definitions)
- Type (representing include statements for NamedTypes)
- Object (representing ObjectSpec defintitions)
Commit: a54704de0d019760c80517b97bd1df636076a059
https://github.com/llvm/llvm-project/commit/a54704de0d019760c80517b97bd1df636076a059
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/test/CodeGen/WebAssembly/target-features-attrs.ll
A llvm/test/CodeGen/WebAssembly/target-features-cpus.ll
Log Message:
-----------
[WebAssembly] Split and tidy up target features test (#96735)
This splits `target-features.ll` into two tests:
`target-features-attrs.ll` and `target-features-cpus.ll`.
Now `target-features-attrs.ll` contains tests with bitcode function
attributes and `-mattr=` options. The current `target-features.ll`
file's FileCheck lines are confusing, mainly because it is unclear how
`CHECK` and `ATTRS` lines are meant to be different. Turns out, before
https://github.com/llvm/llvm-project/commit/67ec8744d7e72b50a5db5038c9643584ce57cb0c,
`-mattr=` options used to override any existing bitcode function
attributes, but after the commit that's not the case anymore. So the
original test had a line that tested `i32.atomic.rmw.cmpxchg` was not
generated when `-mattr=+simd128` was given (because the existing
`+atomics` in the function attributes is overriden). That commit deleted
that line and changed some `ATTRS` lines into `CHECK`, which was
confusing. This PR simplifies that part and does not test the absence of
any instructions, and the effect of `-mattr=` option is only tested with
the target features section.
And `target-features-cpus.ll` only tests the sets of features enabled by
`-mcpu=` lines. It is better to have this as a separate file because
once you have bitcode function attributes they end up in the target
features section too, making the testing of only the `-mcpu=` options
difficult.
Commit: eeb931641ae735faa25283ddb2465318302e864f
https://github.com/llvm/llvm-project/commit/eeb931641ae735faa25283ddb2465318302e864f
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M libcxx/test/lit.cfg.py
M libcxxabi/test/lit.cfg.py
M libunwind/test/lit.cfg.py
Log Message:
-----------
[runtimes][NFC] Improve error message when running Lit incorrectly
Commit: 2582d11f1a8a5783828156d3ced354727f422885
https://github.com/llvm/llvm-project/commit/2582d11f1a8a5783828156d3ced354727f422885
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/SmallVector.h
M llvm/lib/Support/SmallVector.cpp
Log Message:
-----------
[ADT] Always use 32-bit size type for SmallVector with 16-bit elements (#95536)
`SmallVector` has a special case to allow vector of char to exceed 4 GB
in
size on 64-bit hosts. Apply this special case only for 8-bit element
types, instead of all element types < 32 bits.
This makes `SmallVector<MCPhysReg>` more compact because `MCPhysReg` is
`uint16_t`.
---------
Co-authored-by: Nikita Popov <github at npopov.com>
Commit: 2f57df5826a6df8ad5549ed98aede0d60e01e08b
https://github.com/llvm/llvm-project/commit/2f57df5826a6df8ad5549ed98aede0d60e01e08b
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
Log Message:
-----------
[CodeGen] Fix a warning
This patch fixes:
clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp:1662:8: error: unused
variable 'ParallelReduction' [-Werror,-Wunused-variable]
Commit: 49e5cd2acc0d12f7cdb80aafd9ab26719d4415aa
https://github.com/llvm/llvm-project/commit/49e5cd2acc0d12f7cdb80aafd9ab26719d4415aa
Author: Kolya Panchenko <87679760+nikolaypanchenko at users.noreply.github.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
M llvm/test/Transforms/LoopVectorize/vplan-printing-before-execute.ll
Log Message:
-----------
[LV][NFC] Marked functions as const. Added LLVM_DEBUG. (#96681)
Commit: 02b57dedb73134bc81f09e2ff3c56e286091ba13
https://github.com/llvm/llvm-project/commit/02b57dedb73134bc81f09e2ff3c56e286091ba13
Author: jameshu15869 <55058507+jameshu15869 at users.noreply.github.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M libc/CMakeLists.txt
M libc/benchmarks/CMakeLists.txt
A libc/benchmarks/gpu/BenchmarkLogger.cpp
A libc/benchmarks/gpu/BenchmarkLogger.h
A libc/benchmarks/gpu/CMakeLists.txt
A libc/benchmarks/gpu/LibcGpuBenchmark.cpp
A libc/benchmarks/gpu/LibcGpuBenchmark.h
A libc/benchmarks/gpu/LibcGpuBenchmarkMain.cpp
A libc/benchmarks/gpu/src/CMakeLists.txt
A libc/benchmarks/gpu/src/ctype/CMakeLists.txt
A libc/benchmarks/gpu/src/ctype/isalnum_benchmark.cpp
A libc/benchmarks/gpu/src/ctype/isalpha_benchmark.cpp
A libc/benchmarks/gpu/timing/CMakeLists.txt
A libc/benchmarks/gpu/timing/nvptx/CMakeLists.txt
A libc/benchmarks/gpu/timing/nvptx/timing.h
A libc/benchmarks/gpu/timing/timing.h
M libc/cmake/modules/LLVMLibCTestRules.cmake
Log Message:
-----------
[libc] NVPTX Profiling (#92009)
PR for adding microbenchmarking infrastructure for NVPTX. `nvlink`
cannot perform LTO, so we cannot inline `libc` functions and this
function call overhead is not adjusted for during microbenchmarking.
Commit: 0c56fd0a29ffb0425ca2ee2a4ff8f380880fdbfa
https://github.com/llvm/llvm-project/commit/0c56fd0a29ffb0425ca2ee2a4ff8f380880fdbfa
Author: DianQK <dianqk at dianqk.net>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/test/CodeGen/AArch64/arm64-jumptable.ll
M llvm/test/Transforms/SimplifyCFG/ForwardSwitchConditionToPHI.ll
M llvm/test/Transforms/SimplifyCFG/Hexagon/switch-to-lookup-table.ll
Log Message:
-----------
[SimplifyCFG] Forward indirect switch condition value if it can help fold the PHI (#95932)
Fixes #95919.
Commit: 1abe22cab521b833a9aa62a7a8d44ae188ab107e
https://github.com/llvm/llvm-project/commit/1abe22cab521b833a9aa62a7a8d44ae188ab107e
Author: Chelsea Cassanova <chelsea_cassanova at apple.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/SmallVector.h
M llvm/lib/Support/SmallVector.cpp
Log Message:
-----------
Revert "[ADT] Always use 32-bit size type for SmallVector with 16-bit elements" (#96826)
Reverts llvm/llvm-project#95536, this is breaking macOS GreenDragon
buildbots on arm64 and x86_64
https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/as-lldb-cmake/6522/console,
also breaks the Darwin LLVM buildbots:
https://lab.llvm.org/buildbot/#/builders/23/builds/398
Commit: 3a462d89221a307c037a653bc9e0c9190f79c1b9
https://github.com/llvm/llvm-project/commit/3a462d89221a307c037a653bc9e0c9190f79c1b9
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/ReleaseModeModelRunner.h
M llvm/unittests/Analysis/MLModelRunnerTest.cpp
Log Message:
-----------
[mlgo] drop the prefix `_` in `_model_selector`
`_` upsets the saved model freezer (assumptions about python naming).
Commit: c7adfb5e715334c9de176f434088bd9f89aa9eb3
https://github.com/llvm/llvm-project/commit/c7adfb5e715334c9de176f434088bd9f89aa9eb3
Author: DianQK <dianqk at dianqk.net>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/test/CodeGen/AArch64/arm64-jumptable.ll
M llvm/test/Transforms/SimplifyCFG/ForwardSwitchConditionToPHI.ll
M llvm/test/Transforms/SimplifyCFG/Hexagon/switch-to-lookup-table.ll
Log Message:
-----------
Revert "[SimplifyCFG] Forward indirect switch condition value if it can help fold the PHI (#95932)"
This reverts commit 0c56fd0a29ffb0425ca2ee2a4ff8f380880fdbfa.
This is breaking https://lab.llvm.org/buildbot/#/builders/72/builds/483.
Commit: 5dcf3d5335a8bd936c89a4cdf1da909e6b995b6f
https://github.com/llvm/llvm-project/commit/5dcf3d5335a8bd936c89a4cdf1da909e6b995b6f
Author: antangelo <contact at antangelo.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/lib/AST/MicrosoftMangle.cpp
M clang/lib/Basic/Targets/AArch64.cpp
A clang/test/CodeGenCXX/msabi-preserve-none-cc.cpp
M clang/test/Sema/preserve-none-call-conv.c
Log Message:
-----------
[MS ABI]: Support preserve_none in MS ABI (#96487)
Fixes ICE when compiling preserve_nonecc functions on Windows and adds
support for the calling convention on AArch64 for Windows targets.
Commit: f23a5f08f4b8d7734cf11342b2c1a405823e899e
https://github.com/llvm/llvm-project/commit/f23a5f08f4b8d7734cf11342b2c1a405823e899e
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/cmake/caches/Fuchsia-stage2.cmake
M libc/src/stdlib/rand.cpp
M libc/src/stdlib/srand.cpp
Log Message:
-----------
[libc] Remove atomic alignment diagnostics globally (#96803)
Summary:
These warnings mean that it will lower to a libcall. Previously we just
disabled it locally, which didn't work with GCC. This patch does it
globally in the compiler options if the compiler is clang.
Commit: 5a052ef76a95e525bc2fb0abdb68cefbe2d1a2ec
https://github.com/llvm/llvm-project/commit/5a052ef76a95e525bc2fb0abdb68cefbe2d1a2ec
Author: DianQK <dianqk at dianqk.net>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/test/CodeGen/AArch64/arm64-jumptable.ll
M llvm/test/Transforms/SimplifyCFG/ForwardSwitchConditionToPHI.ll
M llvm/test/Transforms/SimplifyCFG/Hexagon/switch-to-lookup-table.ll
Log Message:
-----------
Reapply "[SimplifyCFG] Forward indirect switch condition value if it can help fold the PHI (#95932)"
This reverts commit c7adfb5e715334c9de176f434088bd9f89aa9eb3.
Commit: 8f2d74affd8f4f182a2e9f05e86b494aad1b707c
https://github.com/llvm/llvm-project/commit/8f2d74affd8f4f182a2e9f05e86b494aad1b707c
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang-tools-extra/docs/clang-tidy/checks/misc/use-internal-linkage.rst
Log Message:
-----------
[clang-tidy] add default value for misc-use-internal-linkage [NFC] (#96779)
Commit: 4558e45e7e33d1cfc1a54af761085e358dbab64b
https://github.com/llvm/llvm-project/commit/4558e45e7e33d1cfc1a54af761085e358dbab64b
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
M clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py
M clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/index.rst
A clang-tools-extra/test/clang-tidy/infrastructure/allow-no-checks.cpp
Log Message:
-----------
[clang-tidy] add option to avoid "no checks enabled" error (#96122)
When clang-tidy get an empty checks, it will throw "no checks enabled"
error and exit with non-zero return value.
It make clang-tidy's wrapper program confused when in big project some
files don't want to be checked and use `-checks=-*` to disable all
checks.
---------
Co-authored-by: Danny Mösch <danny.moesch at icloud.com>
Commit: 1fa9f506d33a25c83f23862abd2400f1df3c413e
https://github.com/llvm/llvm-project/commit/1fa9f506d33a25c83f23862abd2400f1df3c413e
Author: aaryanshukla <53713108+aaryanshukla at users.noreply.github.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
A libc/newhdrgen/header.py
A libc/newhdrgen/yaml_to_classes.py
Log Message:
-----------
[libc] added newhdrgen python script and class file (#96671)
python script uses yaml and classes to generate c headers
header.py is only the main class file, the rest will be in another pr
more files to be added in multiple prs
Commit: dae061f1b2576a78fb706d4fdc7e30e37d1f3e3c
https://github.com/llvm/llvm-project/commit/dae061f1b2576a78fb706d4fdc7e30e37d1f3e3c
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/BasicTTIImpl.h
M llvm/lib/CodeGen/AsmPrinter/DIE.cpp
M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
M llvm/lib/CodeGen/EarlyIfConversion.cpp
M llvm/lib/CodeGen/LexicalScopes.cpp
M llvm/lib/CodeGen/LiveDebugVariables.cpp
M llvm/lib/CodeGen/PeepholeOptimizer.cpp
M llvm/lib/CodeGen/RegisterCoalescer.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp
M llvm/lib/CodeGen/StackSlotColoring.cpp
M llvm/lib/CodeGen/TailDuplicator.cpp
M llvm/lib/CodeGen/VLIWMachineScheduler.cpp
Log Message:
-----------
[CodeGen] Use range-based for loops (NFC) (#96777)
Commit: ca4e5a8d6e00d8a851c3bbd01442193f97a80139
https://github.com/llvm/llvm-project/commit/ca4e5a8d6e00d8a851c3bbd01442193f97a80139
Author: Matthew Weingarten <matt at weingarten.org>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/ProfileData/MemProfReader.cpp
Log Message:
-----------
[Memprof] Fixes memory leak in MemInfoBlock histogram. (#96834)
MemInfoBlocks (MIB) with empty callstacks are erased prematurely from
the CallStackProfileData. This patch frees allocated histogram buffers
when the MIB is associated with an empty callstack.
Commit: 326ba38a991250a8587a399a260b0f7af2c9166a
https://github.com/llvm/llvm-project/commit/326ba38a991250a8587a399a260b0f7af2c9166a
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
Log Message:
-----------
[ValueTracking][RISCV] Use ConstantRange::getUnsignedMax instead of getUpper to simplify some code. (#96816)
This avoids the need to subtract 1 and explain why.
Commit: 1b8ab2f08998d3220e5d95003d47bb3d7cac966b
https://github.com/llvm/llvm-project/commit/1b8ab2f08998d3220e5d95003d47bb3d7cac966b
Author: Oliver Hunt <oliver at apple.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M clang/include/clang/AST/ASTContext.h
M clang/include/clang/AST/GlobalDecl.h
M clang/include/clang/AST/Mangle.h
M clang/include/clang/AST/VTableBuilder.h
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/PointerAuthOptions.h
M clang/include/clang/Basic/Thunk.h
M clang/include/clang/CodeGen/CodeGenABITypes.h
M clang/include/clang/CodeGen/ConstantInitBuilder.h
M clang/include/clang/InstallAPI/Visitor.h
M clang/include/clang/Sema/Sema.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/ItaniumMangle.cpp
M clang/lib/AST/Mangle.cpp
M clang/lib/AST/MicrosoftMangle.cpp
M clang/lib/AST/VTableBuilder.cpp
M clang/lib/CodeGen/CGCXX.cpp
M clang/lib/CodeGen/CGCXXABI.h
M clang/lib/CodeGen/CGClass.cpp
M clang/lib/CodeGen/CGExpr.cpp
M clang/lib/CodeGen/CGExprConstant.cpp
M clang/lib/CodeGen/CGPointerAuth.cpp
M clang/lib/CodeGen/CGVTT.cpp
M clang/lib/CodeGen/CGVTables.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/CodeGen/CodeGenModule.h
M clang/lib/CodeGen/ConstantEmitter.h
M clang/lib/CodeGen/ConstantInitBuilder.cpp
M clang/lib/CodeGen/ItaniumCXXABI.cpp
M clang/lib/CodeGen/MicrosoftCXXABI.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Headers/ptrauth.h
M clang/lib/InstallAPI/Visitor.cpp
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Sema/SemaExpr.cpp
A clang/test/CodeGen/ptrauth-ubsan-vptr.cpp
M clang/test/CodeGenCXX/catch-undef-behavior.cpp
A clang/test/CodeGenCXX/ptrauth-apple-kext-indirect-call-2.cpp
A clang/test/CodeGenCXX/ptrauth-apple-kext-indirect-call.cpp
A clang/test/CodeGenCXX/ptrauth-apple-kext-indirect-virtual-dtor-call.cpp
A clang/test/CodeGenCXX/ptrauth-explicit-vtable-pointer-control.cpp
A clang/test/CodeGenCXX/ptrauth-rtti-layout.cpp
A clang/test/CodeGenCXX/ptrauth-thunks.cpp
A clang/test/CodeGenCXX/ptrauth-virtual-function.cpp
A clang/test/CodeGenCXX/ptrauth-vtable-virtual-inheritance-thunk.cpp
M clang/test/CodeGenCXX/ubsan-vtable-checks.cpp
M clang/test/Misc/pragma-attribute-supported-attributes-list.test
A clang/test/SemaCXX/ptrauth-incomplete-virtual-member-function-return-arg-type.cpp
A clang/test/SemaCXX/vtable_pointer_authentication_attribute.cpp
M clang/utils/TableGen/ClangAttrEmitter.cpp
Log Message:
-----------
[clang] Implement pointer authentication for C++ virtual functions, v-tables, and VTTs (#94056)
Virtual function pointer entries in v-tables are signed with address
discrimination in addition to declaration-based discrimination, where an
integer discriminator the string hash (see
`ptrauth_string_discriminator`) of the mangled name of the overridden
method. This notably provides diversity based on the full signature of
the overridden method, including the method name and parameter types.
This patch introduces ItaniumVTableContext logic to find the original
declaration of the overridden method.
On AArch64, these pointers are signed using the `IA` key (the
process-independent code key.)
V-table pointers can be signed with either no discrimination, or a
similar scheme using address and decl-based discrimination. In this
case, the integer discriminator is the string hash of the mangled
v-table identifier of the class that originally introduced the vtable
pointer.
On AArch64, these pointers are signed using the `DA` key (the
process-independent data key.)
Not using discrimination allows attackers to simply copy valid v-table
pointers from one object to another. However, using a uniform
discriminator of 0 does have positive performance and code-size
implications on AArch64, and diversity for the most important v-table
access pattern (virtual dispatch) is already better assured by the
signing schemas used on the virtual functions. It is also known that
some code in practice copies objects containing v-tables with `memcpy`,
and while this is not permitted formally, it is something that may be
invasive to eliminate.
This is controlled by:
```
-fptrauth-vtable-pointer-type-discrimination
-fptrauth-vtable-pointer-address-discrimination
```
In addition, this provides fine-grained controls in the
ptrauth_vtable_pointer attribute, which allows overriding the default
ptrauth schema for vtable pointers on a given class hierarchy, e.g.:
```
[[clang::ptrauth_vtable_pointer(no_authentication, no_address_discrimination,
no_extra_discrimination)]]
[[clang::ptrauth_vtable_pointer(default_key, default_address_discrimination,
custom_discrimination, 0xf00d)]]
```
The override is then mangled as a parametrized vendor extension:
```
"__vtptrauth" I
<key>
<addressDiscriminated>
<extraDiscriminator>
E
```
To support this attribute, this patch adds a small extension to the
attribute-emitter tablegen backend.
Note that there are known areas where signing is either missing
altogether or can be strengthened. Some will be addressed in later
changes (e.g., member function pointers, some RTTI).
`dynamic_cast` in particular is handled by emitting an artificial
v-table pointer load (in a way that always authenticates it) before the
runtime call itself, as the runtime doesn't have enough information
today to properly authenticate it. Instead, the runtime is currently
expected to strip the v-table pointer.
---------
Co-authored-by: John McCall <rjmccall at apple.com>
Co-authored-by: Ahmed Bougacha <ahmed at bougacha.org>
Commit: 34e5a71b3219391309eb498a55e4d49831e1f9ab
https://github.com/llvm/llvm-project/commit/34e5a71b3219391309eb498a55e4d49831e1f9ab
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/test/Transforms/InstCombine/ptrauth-intrinsics.ll
Log Message:
-----------
[InstCombine] Combine ptrauth constants into ptrauth intrinsics. (#94705)
When we encounter two consecutive ptrauth intrinsics, we can already
combine the inner matching sign + auth pair, e.g.:
resign(sign(p,ks,ds),ks,ds,kr,dr) -> sign(p,kr,dr)
We can generalize that to ptrauth constants, which are effectively
constant equivalents to ptrauth.sign, i.e.:
resign(ptrauth(p,ks,ds),ks,ds,kr,dr) -> ptrauth(p,kr,dr)
auth(ptrauth(p,k,d),k,d) -> p
While there, cleanup a redundant return after eraseInstFromFunction in
the shared (intrinsic|constant)->intrinsic folding code.
Commit: c791d86eab13634ec372196977eeac8f3e9f4805
https://github.com/llvm/llvm-project/commit/c791d86eab13634ec372196977eeac8f3e9f4805
Author: Aiden Grossman <aidengrossman at google.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/InlineSpiller.cpp
Log Message:
-----------
[NFC][RegAlloc] Delete unused option
The option -disable-spill-hoist does not actually control anything and
is not used anywhere, so it should be removed.
Commit: 6ca387cbcb207abe2a07bbb1b536f099c2e246e7
https://github.com/llvm/llvm-project/commit/6ca387cbcb207abe2a07bbb1b536f099c2e246e7
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/DomTreeUpdater.h
A llvm/include/llvm/Analysis/GenericDomTreeUpdater.h
M llvm/include/llvm/CodeGen/MachineBasicBlock.h
A llvm/include/llvm/CodeGen/MachineDomTreeUpdater.h
M llvm/include/llvm/CodeGen/MachinePostDominators.h
M llvm/lib/Analysis/DomTreeUpdater.cpp
M llvm/lib/CodeGen/CMakeLists.txt
M llvm/lib/CodeGen/MachineBasicBlock.cpp
A llvm/lib/CodeGen/MachineDomTreeUpdater.cpp
M llvm/unittests/CodeGen/CMakeLists.txt
A llvm/unittests/CodeGen/MachineDomTreeUpdaterTest.cpp
Log Message:
-----------
[CodeGen] Introduce `MachineDomTreeUpdater` (#95369)
This commit converts most of `DomTreeUpdater` into
`GenericDomTreeUpdater` class template, so IR and MIR can reuse some
codes.
There are some differences between interfaces of `BasicBlock` and
`MachineBasicBlock`, so subclasses still need to implement some
functions, like `forceFlushDeletedBB`.
Commit: 91b614fc63acd0480afb76579e0200afbf9a381e
https://github.com/llvm/llvm-project/commit/91b614fc63acd0480afb76579e0200afbf9a381e
Author: ChiaHungDuan <chiahungduan at google.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
Log Message:
-----------
[scudo] Minor refactoring of secondary cache test (#95995)
Commit: 0f8849349ae3d3f2f537ad6ab233a586fb39d375
https://github.com/llvm/llvm-project/commit/0f8849349ae3d3f2f537ad6ab233a586fb39d375
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/DomTreeUpdater.h
R llvm/include/llvm/Analysis/GenericDomTreeUpdater.h
M llvm/include/llvm/CodeGen/MachineBasicBlock.h
R llvm/include/llvm/CodeGen/MachineDomTreeUpdater.h
M llvm/include/llvm/CodeGen/MachinePostDominators.h
M llvm/lib/Analysis/DomTreeUpdater.cpp
M llvm/lib/CodeGen/CMakeLists.txt
M llvm/lib/CodeGen/MachineBasicBlock.cpp
R llvm/lib/CodeGen/MachineDomTreeUpdater.cpp
M llvm/unittests/CodeGen/CMakeLists.txt
R llvm/unittests/CodeGen/MachineDomTreeUpdaterTest.cpp
Log Message:
-----------
Revert "[CodeGen] Introduce `MachineDomTreeUpdater`" (#96846)
Reverts llvm/llvm-project#95369
Many build bots failed
Commit: ef067cf4b6d46cd48d2ed5cfe2300fe83b6bcc8a
https://github.com/llvm/llvm-project/commit/ef067cf4b6d46cd48d2ed5cfe2300fe83b6bcc8a
Author: Max Winkler <max.enrico.winkler at gmail.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/Demangle/MicrosoftDemangle.cpp
A llvm/test/Demangle/ms-auto-templates.test
Log Message:
-----------
Fix MSVC Demangling with auto NTTP mangled names for function pointer, pointer to data and integral types (#96590)
As cited here, https://github.com/llvm/llvm-project/pull/92477, undname
needs updating to support the new auto NTTP name mangling.
In short the deduced type of the auto NTTP parameter is mangled as `$M
<type> <nttp-param>`. However the deduced type is not printed for the
undecorated name so the `$M <type>` is parsed but simply ignored when
stringifying the generated AST.
Commit: 6b931ab516616127ce4cd5a0ad5e37d5a1d1696b
https://github.com/llvm/llvm-project/commit/6b931ab516616127ce4cd5a0ad5e37d5a1d1696b
Author: Clement Courbet <courbet at google.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang/include/clang/Tooling/Transformer/RangeSelector.h
M clang/lib/Tooling/Transformer/RangeSelector.cpp
M clang/unittests/Tooling/RangeSelectorTest.cpp
Log Message:
-----------
[clang][transformer] Introduce a `constructExprArgs` range selector. (#95901)
This is similar to `callArgs` but for construct exprs like `S(42)` or
`{42}`.
Commit: 73e6f9f95b51d7be1f93deded219005027f8d270
https://github.com/llvm/llvm-project/commit/73e6f9f95b51d7be1f93deded219005027f8d270
Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn
M llvm/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn
Log Message:
-----------
gn: hwasan: fixup hwasan-preinit (#96748)
The build rule for hwasan_preinit outputs libclang_rt.hwasan_preinit,
but clang expects hwasan-preinit (with a dash, rather than an
underscore) when selecting the library in the frontend.
Also, we were missing the hwasan-preinit dependency in check-hwasan.
For posterity, this now passes hwasan unit tests on Android with:
$ cat args.gn
clang_base_path = "/usr/local"
llvm_enable_assertions = true
llvm_targets_to_build = "all"
android_ndk_path = "/path/to/Android.sdk/ndk/25.2.9519653"
$ /path/to/llvm/utils/gn/gn.py gen build
$ ANDROID_SERIAL=xxx ninja -C build check-hwasan
Commit: 73e46c2bb4949be986d9eac98d95a206d7f003e2
https://github.com/llvm/llvm-project/commit/73e46c2bb4949be986d9eac98d95a206d7f003e2
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachineBranchProbabilityInfo.h
M llvm/include/llvm/InitializePasses.h
M llvm/include/llvm/Passes/MachinePassRegistry.def
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/CodeGen/BranchFolding.cpp
M llvm/lib/CodeGen/EarlyIfConversion.cpp
M llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp
M llvm/lib/CodeGen/IfConversion.cpp
M llvm/lib/CodeGen/LazyMachineBlockFrequencyInfo.cpp
M llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp
M llvm/lib/CodeGen/MachineBlockPlacement.cpp
M llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
M llvm/lib/CodeGen/MachineSink.cpp
M llvm/lib/CodeGen/MachineTraceMetrics.cpp
M llvm/lib/CodeGen/TailDuplication.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Target/AArch64/AArch64ConditionalCompares.cpp
M llvm/lib/Target/Hexagon/HexagonEarlyIfConv.cpp
M llvm/lib/Target/Hexagon/HexagonLoopAlign.cpp
M llvm/lib/Target/Hexagon/HexagonNewValueJump.cpp
M llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
M llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp
M llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp
M llvm/test/CodeGen/Generic/MachineBranchProb.ll
Log Message:
-----------
[CodeGen][NewPM] Port machine-branch-prob to new pass manager (#96389)
Like IR version `print<branch-prob>`, there is also a
`print<machine-branch-prob>`.
Commit: 4026b263429a85df5c6e98a3d8c06e606ea55681
https://github.com/llvm/llvm-project/commit/4026b263429a85df5c6e98a3d8c06e606ea55681
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/TargetParser/RISCVISAInfo.cpp
Log Message:
-----------
[RISCV] Use StringRef instead of string_view in RISCVISAInfo. NFC
This is the only use of string_view in the file. Switch to StringRef
for consistency.
Commit: b4ab52c8e71e819c13606de3500043eaa701e1ea
https://github.com/llvm/llvm-project/commit/b4ab52c8e71e819c13606de3500043eaa701e1ea
Author: harishch4 <harishcse44 at gmail.com>
Date: 2024-06-27 (Thu, 27 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/order-clause.f90
M llvm/include/llvm/Frontend/OpenMP/OMP.td
M llvm/unittests/Frontend/OpenMPDecompositionTest.cpp
Log Message:
-----------
[Flang][OpenMP] Lowering Order clause to MLIR (#96730)
Commit: 3cd3b2165e52b9c7fa71aaee1421c8effe4f526b
https://github.com/llvm/llvm-project/commit/3cd3b2165e52b9c7fa71aaee1421c8effe4f526b
Author: Kito Cheng <kito.cheng at sifive.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/ValueTypes.cpp
M llvm/utils/TableGen/VTEmitter.cpp
Log Message:
-----------
[ValueTypes][NFC] Generate EVT::getTypeForEVT from GenVT.inc (#96608)
Most of MVT has simple mapping to the LLVM type, so it would be nice to
auto generate that from ValueTypes.td, that could reduce the effort when
we adding new MVT, especially new vector MVT with different size.
Commit: e096b282cc228f8c5c774c857a943eaa0f5e1586
https://github.com/llvm/llvm-project/commit/e096b282cc228f8c5c774c857a943eaa0f5e1586
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/CodeGenCXX/microsoft-uuidof.cpp
Log Message:
-----------
[clang][Interp] Fix CXXUuidOfExprs with incomplete record types
Create a dummy variable for those cases.
Commit: 002e819247b59debe71605aad9967203a119886b
https://github.com/llvm/llvm-project/commit/002e819247b59debe71605aad9967203a119886b
Author: yifeizh2 <yifei.zhang at intel.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/DataLayoutPropagation.cpp
M mlir/test/Dialect/Linalg/data-layout-propagation.mlir
Log Message:
-----------
[mlir][linalg] Fix empty outer dim case for packing reshape op (#96732)
This PR fixes the issue reported in
[comment](https://github.com/llvm/llvm-project/pull/93529#discussion_r1653311765).
Commit: ab58b6d58edf6a7c8881044fc716ca435d7a0156
https://github.com/llvm/llvm-project/commit/ab58b6d58edf6a7c8881044fc716ca435d7a0156
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachineBranchProbabilityInfo.h
M llvm/include/llvm/InitializePasses.h
M llvm/include/llvm/Passes/MachinePassRegistry.def
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/CodeGen/BranchFolding.cpp
M llvm/lib/CodeGen/EarlyIfConversion.cpp
M llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp
M llvm/lib/CodeGen/IfConversion.cpp
M llvm/lib/CodeGen/LazyMachineBlockFrequencyInfo.cpp
M llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp
M llvm/lib/CodeGen/MachineBlockPlacement.cpp
M llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
M llvm/lib/CodeGen/MachineSink.cpp
M llvm/lib/CodeGen/MachineTraceMetrics.cpp
M llvm/lib/CodeGen/TailDuplication.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Target/AArch64/AArch64ConditionalCompares.cpp
M llvm/lib/Target/Hexagon/HexagonEarlyIfConv.cpp
M llvm/lib/Target/Hexagon/HexagonLoopAlign.cpp
M llvm/lib/Target/Hexagon/HexagonNewValueJump.cpp
M llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
M llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp
M llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp
M llvm/test/CodeGen/Generic/MachineBranchProb.ll
Log Message:
-----------
Revert "[CodeGen][NewPM] Port machine-branch-prob to new pass manager" (#96858)
Reverts llvm/llvm-project#96389
Some ppc bots failed.
Commit: b5cc19e572855136eb4080208a9bd5ecef785aa3
https://github.com/llvm/llvm-project/commit/b5cc19e572855136eb4080208a9bd5ecef785aa3
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/docs/GlobalISel/GenericOpcode.rst
M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/include/llvm/CodeGen/MachineModuleInfoImpls.h
M llvm/include/llvm/Support/TargetOpcodes.def
M llvm/include/llvm/Target/GenericOpcodes.td
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
M llvm/lib/CodeGen/MachineModuleInfoImpls.cpp
M llvm/lib/CodeGen/MachineVerifier.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp
M llvm/lib/Target/AArch64/AArch64TargetObjectFile.h
M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
A llvm/test/CodeGen/AArch64/GlobalISel/ptrauth-constant-in-code.ll
A llvm/test/CodeGen/AArch64/ptrauth-constant-in-code.ll
M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-cxx.td
M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-variadics.td
M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table.td
M llvm/test/TableGen/GlobalISelEmitter.td
Log Message:
-----------
[PAC][AArch64] Lower ptrauth constants in code (#94241)
Depends on #94240.
Define the following pseudos for lowering ptrauth constants in code:
- non-`extern_weak`:
- no GOT load needed: `MOVaddrPAC` - similar to `MOVaddr`, with added
PAC;
- GOT load needed: `LOADgotPAC` - similar to `LOADgot`, with added PAC;
- `extern_weak`: `LOADauthptrstatic` - similar to `LOADgot`, but use a
special stub slot named `sym$auth_ptr$key$disc` filled by dynamic linker
during relocation resolving instead of a GOT slot.
---------
Co-authored-by: Ahmed Bougacha <ahmed at bougacha.org>
Commit: 605098dcd4e79b27c86784b1a3d7fc6e3010ce00
https://github.com/llvm/llvm-project/commit/605098dcd4e79b27c86784b1a3d7fc6e3010ce00
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M mlir/lib/Transforms/Utils/DialectConversion.cpp
Log Message:
-----------
Revert "[mlir][Transforms][NFC] Dialect Conversion: Move argument materialization logic (#96329)"
This reverts commit c01ce797619359ee282773dfc4b1e91ff0a30435. It depends
on f1e0657d144f5a3cfef4b625d0f875f4dacd21d1 which breaks SCF lowering.
Commit: 4d46b460f9fe00c33545d9b0b320194d5e4b49b5
https://github.com/llvm/llvm-project/commit/4d46b460f9fe00c33545d9b0b320194d5e4b49b5
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M mlir/docs/DialectConversion.md
M mlir/include/mlir/Transforms/DialectConversion.h
M mlir/lib/Transforms/Utils/DialectConversion.cpp
M mlir/test/Transforms/test-legalize-type-conversion.mlir
Log Message:
-----------
Revert "[mlir][Transforms] Dialect conversion: Simplify handling of dropped arguments (#96207)"
This reverts commit f1e0657d144f5a3cfef4b625d0f875f4dacd21d1.
It breaks SCF conversion, see test case on the PR.
Commit: 37481628ba4c069c2ddc471b2e2036f883405938
https://github.com/llvm/llvm-project/commit/37481628ba4c069c2ddc471b2e2036f883405938
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M libcxx/include/__type_traits/conditional.h
Log Message:
-----------
Revert "[libc++] Use _If for conditional_t (#96193)"
This reverts commit 2274c66e6faaaf29ad693b1ae3e5a7b0228a1950. It makes
libc++ non-conforming, see discussion on the PR.
Commit: a1ad98813006cefcdf88336db3f81a15b6bf36fb
https://github.com/llvm/llvm-project/commit/a1ad98813006cefcdf88336db3f81a15b6bf36fb
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang/include/clang/Basic/Thunk.h
Log Message:
-----------
[clang] Make header self-contained. NFC.
Commit: 223a2102fe312f442f9b55a8bafa909e03b0f4ed
https://github.com/llvm/llvm-project/commit/223a2102fe312f442f9b55a8bafa909e03b0f4ed
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Log Message:
-----------
[AArch64] Fix unused variable in release builds. NFC.
Commit: 99251f5a11a34c415079afcba11f52ec6469fe60
https://github.com/llvm/llvm-project/commit/99251f5a11a34c415079afcba11f52ec6469fe60
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/docs/GlobalISel/GenericOpcode.rst
M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/include/llvm/CodeGen/MachineModuleInfoImpls.h
M llvm/include/llvm/Support/TargetOpcodes.def
M llvm/include/llvm/Target/GenericOpcodes.td
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
M llvm/lib/CodeGen/MachineModuleInfoImpls.cpp
M llvm/lib/CodeGen/MachineVerifier.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp
M llvm/lib/Target/AArch64/AArch64TargetObjectFile.h
M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
R llvm/test/CodeGen/AArch64/GlobalISel/ptrauth-constant-in-code.ll
R llvm/test/CodeGen/AArch64/ptrauth-constant-in-code.ll
M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-cxx.td
M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-variadics.td
M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table.td
M llvm/test/TableGen/GlobalISelEmitter.td
Log Message:
-----------
Revert "[PAC][AArch64] Lower ptrauth constants in code (#94241)" (#96865)
This reverts #94241.
See buildbot failure
https://lab.llvm.org/buildbot/#/builders/51/builds/570
Commit: 7a969ec1e114b6674c08e82ca048a3c4576bf0dd
https://github.com/llvm/llvm-project/commit/7a969ec1e114b6674c08e82ca048a3c4576bf0dd
Author: AtariDreams <gfunni234 at gmail.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/PatternMatch.h
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
Log Message:
-----------
[PatternMatch] Use m_Not instead of m_c_Xor with m_AllOnes() (#96837)
Commit: bdeee9b105b7f1e75adcbfbd43f884d4ddb1a612
https://github.com/llvm/llvm-project/commit/bdeee9b105b7f1e75adcbfbd43f884d4ddb1a612
Author: Niranjan Hasabnis <niranjan.hasabnis at intel.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M mlir/include/mlir/Interfaces/DataLayoutInterfaces.h
M mlir/include/mlir/Interfaces/DataLayoutInterfaces.td
M mlir/lib/Dialect/DLTI/DLTI.cpp
M mlir/lib/Interfaces/DataLayoutInterfaces.cpp
M mlir/test/Dialect/DLTI/invalid.mlir
M mlir/test/Dialect/DLTI/roundtrip.mlir
M mlir/test/Dialect/DLTI/valid.mlir
M mlir/unittests/Interfaces/DataLayoutInterfacesTest.cpp
Log Message:
-----------
DLTI: Simplifying getDevicePropertyValue API by returning Attribute type value (#96706)
**Rationale**
- With the current flexibility of supporting any type of value, we will
need to offer type-specific APIs to fetch a value (e.g.,
`getDevicePropertyValueAsInt` for integer type,
`getDevicePropertyValueAsFloat` for float type, etc.) A single type of
value will eliminate this need.
- Current flexibility can also lead to typing errors when a user fetches
the value of a property using an API that is not consistent with the
type of the value.
**What is the change**
For following system description,
```
module attributes {
dlti.target_system_spec = #dlti.target_system_spec<
"CPU": #dlti.target_device_spec<
#dlti.dl_entry<"max_vector_op_width", 64.0 : f32>>,
"GPU": #dlti.target_device_spec<
#dlti.dl_entry<"max_vector_op_width", 128 : ui32>>
>} {}
```
a user no longer needs to use `getDevicePropertyValueAsInt` for
retrieving GPU's `max_vector_op_width` and
`getDevicePropertyValueAsFloat` for retrieving CPU's
`max_vector_op_width`. Instead it can be done with a uniform API of
`getDevicePropertyValue`.
Commit: 0ae23708ef4345f0832ba4443ce7b184248b4784
https://github.com/llvm/llvm-project/commit/0ae23708ef4345f0832ba4443ce7b184248b4784
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M lldb/source/Plugins/Process/Utility/RegisterFlagsLinux_arm64.cpp
M lldb/source/Plugins/Process/Utility/RegisterFlagsLinux_arm64.h
M lldb/source/Target/RegisterFlags.cpp
Log Message:
-----------
[lldb] Do not produce field information for registers known not to exist (#95125)
Currently the logic is generate field information for all registers in
LinuxArm64RegisterFlags and then as we walk the existing register info,
only those that are in that existing info will get the new fields
patched in.
This works fine but on a review for FreeBSD support it was pointed out
that this is not obvious from the source code.
So instead I've allowed the construction of empty lists of fields, and
field detection methods can return an empty field list if they think
that the register will never exist.
Then the pre-existing code will see the empty field list, and never look
for that register in the register info.
I think removing the assert is ok because the GDB classes filter out
empty field lists at runtime, and anyone updating the built in field
information would presumably notice if none of the fields they intended
to add were displayed.
mte_ctrl and svcr are the only registers that need this so far.
There is no extra testing here as the behaviour is the same, it doesn't
add field information to regiters that don't exist. The mechanism is
just clearer now.
Commit: bf536cc7db1b1e683af34f363f62fa2b655262cf
https://github.com/llvm/llvm-project/commit/bf536cc7db1b1e683af34f363f62fa2b655262cf
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
M llvm/lib/Target/AMDGPU/SOPInstructions.td
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.pops.exiting.wave.id.ll
Log Message:
-----------
[AMDGPU] Fix unwanted LICM/CSE of llvm.amdgcn.pops.exiting.wave.id (#96190)
Mark both the intrinsic and the selected MachineInstr as having side
effects to prevent MachineLICM and MachineCSE from moving/removing them.
Commit: 9a9ec228cdcf75d01be82be5be13e1542f0fc75d
https://github.com/llvm/llvm-project/commit/9a9ec228cdcf75d01be82be5be13e1542f0fc75d
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M lldb/bindings/python/python-swigsafecast.swig
M lldb/bindings/python/python-wrapper.swig
M lldb/include/lldb/API/SBEvent.h
M lldb/include/lldb/API/SBStream.h
M lldb/include/lldb/Interpreter/Interfaces/ScriptedInterface.h
A lldb/include/lldb/Interpreter/Interfaces/ScriptedThreadPlanInterface.h
M lldb/include/lldb/Interpreter/ScriptInterpreter.h
M lldb/include/lldb/Target/ThreadPlanPython.h
M lldb/include/lldb/lldb-forward.h
M lldb/source/Interpreter/ScriptInterpreter.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.h
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPythonInterface.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
M lldb/source/Target/ThreadPlanPython.cpp
M lldb/test/API/functionalities/step_scripted/Steps.py
M lldb/test/API/functionalities/thread_plan/wrap_step_over.py
M lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
Log Message:
-----------
[lldb] Make use of Scripted{Python,}Interface for ScriptedThreadPlan (#70392) (#96868)
This patch makes ScriptedThreadPlan conforming to the ScriptedInterface
& ScriptedPythonInterface facilities by introducing 2
ScriptedThreadPlanInterface & ScriptedThreadPlanPythonInterface classes.
This allows us to get rid of every ScriptedThreadPlan-specific SWIG
method and re-use the same affordances as other scripting offordances,
like Scripted{Process,Thread,Platform} & OperatingSystem.
To do so, this adds new transformer methods for `ThreadPlan`, `Stream` &
`Event`, to allow the bijection between C++ objects and their python
counterparts.
This just re-lands #70392 after fixing test failures.
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: 8a43dc3efdd9bfba0bea32061ef2f3397a968eb9
https://github.com/llvm/llvm-project/commit/8a43dc3efdd9bfba0bea32061ef2f3397a968eb9
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang/lib/Sema/CMakeLists.txt
A clang/lib/Sema/CheckExprLifetime.cpp
A clang/lib/Sema/CheckExprLifetime.h
M clang/lib/Sema/SemaInit.cpp
Log Message:
-----------
[clang][Sema] Move the initializer lifetime checking code from SemaInit.cpp to a new place, NFC (#96758)
This is a refactoring change for better code isolation and reuse, the
first step to extend it for assignments.
Commit: 15fc801cf0ca7a4d09fe52546394efa51414047a
https://github.com/llvm/llvm-project/commit/15fc801cf0ca7a4d09fe52546394efa51414047a
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/TargetTransformInfo.h
M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/lib/Analysis/TargetTransformInfo.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.h
M llvm/lib/Target/X86/X86InstrCMovSetCC.td
M llvm/lib/Target/X86/X86InstrFragments.td
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/lib/Target/X86/X86TargetTransformInfo.h
A llvm/test/CodeGen/X86/apx/cf.ll
Log Message:
-----------
[X86][CodeGen] Support hoisting load/store with conditional faulting (#96720)
1. Add TTI interface for conditional load/store.
2. Mark 1 x i16/i32/i64 masked load/store legal so that it's not
legalized in pass scalarize-masked-mem-intrin.
3. Visit 1 x i16/i32/i64 masked load/store to build a target-specific
CLOAD/CSTORE node to avoid error in
`DAGTypeLegalizer::ScalarizeVectorResult`.
4. Combine DAG to simplify the nodes for CLOAD/CSTORE.
5. Lower CLOAD/CSTORE to CFCMOV by pattern match.
This is CodeGen part of #95515
Commit: ba60d8a11af2cdd7e80e2fd968cdf52adcabf5a1
https://github.com/llvm/llvm-project/commit/ba60d8a11af2cdd7e80e2fd968cdf52adcabf5a1
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M lldb/include/lldb/Target/RegisterFlags.h
M lldb/source/Core/DumpRegisterInfo.cpp
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
M lldb/source/Plugins/RegisterTypeBuilder/RegisterTypeBuilderClang.cpp
M lldb/source/Target/RegisterFlags.cpp
M lldb/test/API/functionalities/gdb_remote_client/TestXMLRegisterFlags.py
M lldb/unittests/Core/DumpRegisterInfoTest.cpp
Log Message:
-----------
[lldb] Parse and display register field enums (#95768)
This teaches lldb to parse the enum XML elements sent by lldb-server,
and make use of the information in `register read` and `register info`.
The format is described in
https://sourceware.org/gdb/current/onlinedocs/gdb.html/Enum-Target-Types.html.
The target XML parser will drop any invalid enum or evalue. If we find
multiple evalue for the same value, we will use the last one we find.
The order of evalues from the XML is preserved as there may be good
reason they are not in numerical order.
Commit: 6c2f5d6cdeee1a458700e33797fd8df263b748b9
https://github.com/llvm/llvm-project/commit/6c2f5d6cdeee1a458700e33797fd8df263b748b9
Author: Hugh Delaney <hugh.delaney at codeplay.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
M llvm/test/CodeGen/NVPTX/param-align.ll
Log Message:
-----------
[NVPTX] Don't use underlying alignment to align param (#96793)
Previously, if a ptr had align N, then the NVPTX lowering was taking
this align N to refer to the alignment of the pointer type itself, as
opposed to the alignment of the memory that it points to.
As such, if a kernel with signature
```
define void @foo(ptr align 4 %_arg_ptr)
```
takes align 4 to be the alignment of the parameter, this would result in
breaking the ld.param into two separate loads like so:
```
ld.param.u32 %rd1, [foo_param_0+4];
shl.b64 %rd2, %rd1, 32;
ld.param.u32 %rd3, [foo_param_0];
or.b64 %rd4, %rd2, %rd3;
```
It isn't necessary as far as I can tell from the PTX ISA documents to
specify the alignment of params, nor to break the loading of params into
smaller loads based on their alignment. So this patch changes the
codegen to the better:
```
ld.param.u64 %rd1, [foo_param_0];
```
Commit: 2033b1cf16f040e1369d8efba8439dcd3e36ed31
https://github.com/llvm/llvm-project/commit/2033b1cf16f040e1369d8efba8439dcd3e36ed31
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang/test/CodeGen/coverage-target-attr.c
Log Message:
-----------
[CodeGen] Don't write coverage to source directory in test
Commit: 8467cc61cef88818b5ac811176aa6fd7b22c7538
https://github.com/llvm/llvm-project/commit/8467cc61cef88818b5ac811176aa6fd7b22c7538
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
A llvm/test/Transforms/PhaseOrdering/X86/blendv-select.ll
Log Message:
-----------
[X86] Add phase ordering test coverage for #58895
Commit: dfd2711f8f70fca45d2ddbca0eede7ad957ec307
https://github.com/llvm/llvm-project/commit/dfd2711f8f70fca45d2ddbca0eede7ad957ec307
Author: Yi Wu <yi.wu2 at arm.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M flang/docs/Intrinsics.md
M flang/runtime/execute.cpp
M flang/unittests/Runtime/CommandTest.cpp
Log Message:
-----------
Revert "Revert "[flang] Fix execute_command_line cmdstat is not set when error occurs" (#96365)" (#96774)
The fix broke llvm-test-suite, so it was reverted previously. With test
fixes added in https://github.com/llvm/llvm-test-suite/pull/137, it
should now pass the tests
This reverts commit 435635652fd226fa292abcff6a10d3df9dbd74e3.
Commit: 253a294b54a6096a0b66f840931dd0e345d70c4f
https://github.com/llvm/llvm-project/commit/253a294b54a6096a0b66f840931dd0e345d70c4f
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/PassInstrumentation.h
M llvm/include/llvm/IR/PassManager.h
M llvm/include/llvm/IR/PassManagerImpl.h
M llvm/lib/IR/PassManager.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Passes/PassRegistry.def
A llvm/test/Other/crash-stack-trace.ll
M llvm/test/Other/print-on-crash.ll
Log Message:
-----------
[PassManager] Add pretty stack frames (#96078)
In NewPM pass managers, add a "pretty stack frame" that tells you which
pass crashed while running which function.
For example `opt -O3 -passes-ep-peephole=trigger-crash-function test.ll`
will print something like this:
```
Stack dump:
0. Program arguments: build/bin/opt -S -O3 -passes-ep-peephole=trigger-crash-function test.ll
1. Running pass "function<eager-inv>(mem2reg,instcombine<max-iterations=1;no-use-loop-info;no-verify-fixpoint>,trigger-crash-function,simplifycfg<bonus-inst-threshold=1;no-forward-switch-cond;switch-range-to-icmp;no-switch-to-lookup;keep-loops;no-hoist-common-insts;no-sink-common-insts;speculate-blocks;simplify-cond-branch>)" on module "test.ll"
2. Running pass "trigger-crash-function" on function "fshl_concat_i8_i8"
```
While the crashing pass is usually evident from the stack trace, this
also shows which function triggered the crash, as well as the pipeline
string for the pass (including options).
Similar functionality existed in the LegacyPM.
Commit: 3f537a00dc7e623f63fd5e8b1c0b430d546f7386
https://github.com/llvm/llvm-project/commit/3f537a00dc7e623f63fd5e8b1c0b430d546f7386
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/MathExtras.h
Log Message:
-----------
MathExtras: s/constexpr inline/constexpr/ (NFC) (#96890)
constexpr implies inline.
Commit: 0cb748b9ba7cea72bee1bcf7c94f26c646053bb1
https://github.com/llvm/llvm-project/commit/0cb748b9ba7cea72bee1bcf7c94f26c646053bb1
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M lldb/test/API/functionalities/gdb_remote_client/TestGDBServerNoTargetXML.py
Log Message:
-----------
[lldb][test] Refactor no target XML test
To make it more easy to check a bug later.
Commit: 204c403b5215197ecdbdb68ca7f11402d6d9892b
https://github.com/llvm/llvm-project/commit/204c403b5215197ecdbdb68ca7f11402d6d9892b
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M lldb/test/API/functionalities/step_scripted/TestStepScripted.py
Log Message:
-----------
[lldb/test] Mark TestStepScripted.py as XFAIL temporarily (#96894)
After landing 9a9ec228cdcf, some of the `TestStepScripted.py` methods
started failing on various bots:
- https://lab.llvm.org/buildbot/#/builders/162/builds/851
- https://lab.llvm.org/buildbot/#/builders/59/builds/650
-
https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/as-lldb-cmake/6546/
- https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/lldb-cmake/3359/
Since I'm not able to reproduce the test failure locally (tested on
darwin x86_64/arm64 & linux arm64), I'll mark these as XFAIL until I can
reproduce it or attach to a bot to investigate the issue on it directly.
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: 2a948d11c0540004dc906d948bac58398bafe928
https://github.com/llvm/llvm-project/commit/2a948d11c0540004dc906d948bac58398bafe928
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/DeclPrinter.cpp
M clang/test/PCH/cxx2a-requires-expr.cpp
Log Message:
-----------
[Clang][AST] Let DeclPrinter print trailing requires expressions for template parameters (#96864)
As discussed in
https://github.com/llvm/llvm-project/pull/96084#discussion_r1654629993,
it would be nice to present these trailing constraints on template
parameters when printing CTAD decls through a DeclPrinter.
Commit: d4e9ba59d6a2e334c983fa79f43b167d0583772b
https://github.com/llvm/llvm-project/commit/d4e9ba59d6a2e334c983fa79f43b167d0583772b
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M mlir/include/mlir/Dialect/OpenMP/OpenMPClauseOperands.h
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
M mlir/test/Dialect/OpenMP/ops.mlir
Log Message:
-----------
[mlir][OpenMP] Standardise representation of reduction clause (#96215)
Now all operations with a reduction clause have an array of bools
controlling whether each reduction variable should be passed by
reference or value.
This was already supported for Wsloop and Parallel. The new operations
modified here currently have no flang lowering or translation to LLVMIR
and so further changes are not needed.
It isn't possible to check the verifier in
mlir/test/Dialect/OpenMP/invalid.mlir because there is no way of parsing
an operation to have an incorrect number of byref attributes. The
verifier exists to pick up buggy operation builders or in-place
operation modification.
Commit: 2731d26948384f1ec2c30ce6692c60e9414ea2ec
https://github.com/llvm/llvm-project/commit/2731d26948384f1ec2c30ce6692c60e9414ea2ec
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
M mlir/test/Dialect/Vector/canonicalize.mlir
Log Message:
-----------
[mlir][vector] Support more mask types in foldTransferFullMask() (#96761)
Using the existing `getMaskFormat()` this can be extended to support
`arith.constant` masks.
Commit: 06079233f86325cb27a8197975a2bf351652e190
https://github.com/llvm/llvm-project/commit/06079233f86325cb27a8197975a2bf351652e190
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
A llvm/test/Transforms/LoopVectorize/AArch64/cost-no-valid-vplans-built.ll
Log Message:
-----------
[VPlan] Return std::nullopt early if plans are empty.
Fixes a crash caused by abf5969.
Commit: 286955caa32b5b9fd959176c85ffb925e8093a0d
https://github.com/llvm/llvm-project/commit/286955caa32b5b9fd959176c85ffb925e8093a0d
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaOverload.cpp
Log Message:
-----------
[Sema] HLSLCompareFloatingRank - don't dereference getAs<> results
Use castAs<> to assert the cast is valid to help avoid null dereferences
Fixes static analyser warning
Commit: 3d7d246977b4fdcdc7e601cc9dc0165a0558c4df
https://github.com/llvm/llvm-project/commit/3d7d246977b4fdcdc7e601cc9dc0165a0558c4df
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RICSV] PerformDAGCombine - don't directly dereference dyn_cast results
Use cast<> to assert the cast is valid to help avoid null dereferences
Fixes static analyser warnings
Commit: 7c866cc69ffbc71eb1f3b849ee4fa16b02dd8732
https://github.com/llvm/llvm-project/commit/7c866cc69ffbc71eb1f3b849ee4fa16b02dd8732
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachinePostDominators.h
Log Message:
-----------
[CodeGen] Mark MachinePostDominatorTree constructor explicit (#96852)
Align with PostDominatorTree.
Commit: 4d167fb28b8c8b2e278fb09b1c435db6d6393d56
https://github.com/llvm/llvm-project/commit/4d167fb28b8c8b2e278fb09b1c435db6d6393d56
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang/lib/Sema/TreeTransform.h
Log Message:
-----------
[Sema] TransformTypeOfExprType / TransformTypeOfType - don't dereference getAs<> results
Use castAs<> to assert the cast is valid to help avoid null dereferences
Fixes static analyser warnings
Commit: 0f5fa3558eb36823c16ba81a4c6e6e23a5f9df24
https://github.com/llvm/llvm-project/commit/0f5fa3558eb36823c16ba81a4c6e6e23a5f9df24
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] computeKnownBitsForPMADDWD - the final addition of the signextended multiplies is not guaranteed to be NSW
https://rust.godbolt.org/z/3f1bevnoT
https://alive2.llvm.org/ce/z/cjixBY
Noticed by @alexfh
Commit: e035ef0e7423c1a4c78e922508da817dbd5b6a02
https://github.com/llvm/llvm-project/commit/e035ef0e7423c1a4c78e922508da817dbd5b6a02
Author: Fabian Mora <fmora.dev at gmail.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/CMakeLists.txt
A mlir/include/mlir/Dialect/Ptr/CMakeLists.txt
A mlir/include/mlir/Dialect/Ptr/IR/CMakeLists.txt
A mlir/include/mlir/Dialect/Ptr/IR/PtrAttrDefs.td
A mlir/include/mlir/Dialect/Ptr/IR/PtrAttrs.h
A mlir/include/mlir/Dialect/Ptr/IR/PtrDialect.h
A mlir/include/mlir/Dialect/Ptr/IR/PtrDialect.td
A mlir/include/mlir/Dialect/Ptr/IR/PtrOps.h
A mlir/include/mlir/Dialect/Ptr/IR/PtrOps.td
A mlir/include/mlir/Dialect/Ptr/IR/PtrTypes.h
M mlir/include/mlir/InitAllDialects.h
M mlir/lib/Dialect/CMakeLists.txt
A mlir/lib/Dialect/Ptr/CMakeLists.txt
A mlir/lib/Dialect/Ptr/IR/CMakeLists.txt
A mlir/lib/Dialect/Ptr/IR/PtrAttrs.cpp
A mlir/lib/Dialect/Ptr/IR/PtrDialect.cpp
A mlir/lib/Dialect/Ptr/IR/PtrTypes.cpp
A mlir/test/Dialect/Ptr/layout.mlir
A mlir/test/Dialect/Ptr/types.mlir
Log Message:
-----------
[mlir][Ptr] Init the Ptr dialect with the `!ptr.ptr` type. (#86860)
This patch initializes the `ptr` dialect directories and base files,
adding the `!ptr.ptr` type and the `#ptr.spec<...>` data layout spec
attribute.
The `!ptr.ptr` type is an opaque pointer type optionally parameterized
by a memory space. This type typically represents a handle to an object
in memory or target-dependent values like `nullptr`.
The implementation of the `DataLayoutTypeInterface` interface for
`!ptr.ptr` was adapted from `!llvm.ptr`'s implementation. This
implementation uses the `#ptr.spec<...>` attribute for defining the data
layout specification.
See [[RFC] `ptr` dialect & modularizing ptr ops in the LLVM
dialect](https://discourse.llvm.org/t/rfc-ptr-dialect-modularizing-ptr-ops-in-the-llvm-dialect/75142)
for rationale and roadmap.
Commit: 34fe6da6e464e74a331c056d050074a6c9216527
https://github.com/llvm/llvm-project/commit/34fe6da6e464e74a331c056d050074a6c9216527
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaOpenMP.cpp
Log Message:
-----------
[clang][OpenMP] Place some common code in functions (#96811)
There are chunks of code repeated in a number of functions. This patch
moves some of that code into individual functions.
Commit: 656b8f5ec4ba3fe8ec7bdef125ccd42ed43b0b16
https://github.com/llvm/llvm-project/commit/656b8f5ec4ba3fe8ec7bdef125ccd42ed43b0b16
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/PassManager.h
Log Message:
-----------
[PassManager] Drop Function.h and Module.h includes (NFC) (#96892)
Replace them with forward declarations.
Commit: 468d668c5c4031366ae38804927b450f9faf409c
https://github.com/llvm/llvm-project/commit/468d668c5c4031366ae38804927b450f9faf409c
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang/lib/AST/CMakeLists.txt
R clang/lib/AST/Interp/ByteCodeExprGen.cpp
R clang/lib/AST/Interp/ByteCodeExprGen.h
R clang/lib/AST/Interp/ByteCodeStmtGen.cpp
R clang/lib/AST/Interp/ByteCodeStmtGen.h
A clang/lib/AST/Interp/Compiler.cpp
A clang/lib/AST/Interp/Compiler.h
M clang/lib/AST/Interp/Context.cpp
M clang/lib/AST/Interp/EvalEmitter.h
M clang/lib/AST/Interp/Program.cpp
Log Message:
-----------
[clang][Interp] Merge ByteCodeExprGen and ByteCodeStmtGen (#83683)
We currently cannot generate bytecode for statements once we've decided
we want to generate bytecode for expressions. This is a problem for `StmtExpr`, which is
an expression that requires us to evaluate a statement.
Merge ByteCodeExprGen and ByteCodeStmtGen, so we don't do that distinction anymore. Rename them to Compiler at the same time.
Commit: e9b8cd0c806db00f0981fb36717077c941426302
https://github.com/llvm/llvm-project/commit/e9b8cd0c806db00f0981fb36717077c941426302
Author: Koakuma <koachan at protonmail.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
M llvm/test/MC/Sparc/sparc-mem-asi-instructions.s
M llvm/test/MC/Sparc/sparcv9-instructions.s
Log Message:
-----------
[SPARC][IAS] Rework ASI/Prefetch tag matching in prep for `ParseForAllFeatures`
Unify parts of ASI and Prefetch tag matching at `parseASITag`
and `parsePrefetchTag` to use a common function to parse any immediate
expressions. This introduces a slight regression to error messages,
but is needed so we can enable `ParseForAllFeatures`
in `MatchOperandParserImpl` in a future patch.
Reviewers: jrtc27, brad0, rorth, s-barannikov
Reviewed By: s-barannikov
Pull Request: https://github.com/llvm/llvm-project/pull/96020
Commit: 9e7defccdab8c21d70d8227c356a46db489dec2a
https://github.com/llvm/llvm-project/commit/9e7defccdab8c21d70d8227c356a46db489dec2a
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/combine-pmadd.ll
Log Message:
-----------
[X86] Add test case to check computeKnownBitsForPMADDWD doesn't assume add nsw
Commit: 1de1818fabb474d724741ee28baa5a7e1d972b00
https://github.com/llvm/llvm-project/commit/1de1818fabb474d724741ee28baa5a7e1d972b00
Author: Zibi Sarbinowski <zibi at ca.ibm.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
A llvm/test/CodeGen/SystemZ/systemz-large-stack-frames.ll
M llvm/test/CodeGen/SystemZ/zos-prologue-epilog.ll
Log Message:
-----------
[SystemZ] Address issue with supper large stack frames (#96318)
This PR fixes the following failure by adjusting the calculation of
maximum displacement from Stack Pointer.
`LLVM ERROR: Error while trying to spill R5D from class ADDR64Bit:
Cannot scavenge register without an emergency spill slot!
`
Commit: 8f63d154ec996cba590a83a4542dd545c78af85c
https://github.com/llvm/llvm-project/commit/8f63d154ec996cba590a83a4542dd545c78af85c
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGenCUDA/builtins-amdgcn.cu
M clang/test/CodeGenCUDA/builtins-spirv-amdgcn.cu
M clang/test/CodeGenOpenCL/builtins-amdgcn-vi.cl
Log Message:
-----------
clang/AMDGPU: Use atomicrmw for ds fmin/fmax builtins (#96738)
Commit: 4477ff68366679b156b9de812bd88d165a1668e0
https://github.com/llvm/llvm-project/commit/4477ff68366679b156b9de812bd88d165a1668e0
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/lib/IR/AutoUpgrade.cpp
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
M llvm/lib/Target/AMDGPU/AMDGPUSearchableTables.td
M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/Bitcode/amdgcn-atomic.ll
R llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.ds.fmax.ll
R llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.ds.fmin.ll
R llvm/test/CodeGen/AMDGPU/lds-atomic-fmin-fmax.ll
Log Message:
-----------
AMDGPU: Remove ds_fmin/ds_fmax intrinsics (#96739)
These have been replaced with atomicrmw.
Commit: 4e70720139ff8b03ab02087df249ce4fd4bbfd59
https://github.com/llvm/llvm-project/commit/4e70720139ff8b03ab02087df249ce4fd4bbfd59
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/code-size-estimate.ll
M llvm/test/CodeGen/AMDGPU/extra-lds-size.ll
M llvm/test/CodeGen/AMDGPU/integer-mad-patterns.ll
Log Message:
-----------
[AMDGPU] Add some gfx1200 test coverage
Commit: 5da6f64db3184be89ee8b7cca4e5e055baaef964
https://github.com/llvm/llvm-project/commit/5da6f64db3184be89ee8b7cca4e5e055baaef964
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M lldb/test/API/functionalities/step_scripted/TestStepScripted.py
Log Message:
-----------
[lldb] Un-XFAIL TestStepScripted.test_misspelled_plan_name
XFAIL in #96894 was too wide. This one actually passes.
Commit: 4ed8796bfe7e2666b56ae9fc5b8fe9ec05e0566f
https://github.com/llvm/llvm-project/commit/4ed8796bfe7e2666b56ae9fc5b8fe9ec05e0566f
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaOpenMP.cpp
Log Message:
-----------
[clang][OpenMP] clang-format SemaOpenMP.cpp, NFC
There are only a handful of changes, and now the entire file can be
kept clang-formatted.
Commit: 4080f174ab21ae13ca1f58fffe3bb1ce5e2ccf3b
https://github.com/llvm/llvm-project/commit/4080f174ab21ae13ca1f58fffe3bb1ce5e2ccf3b
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M libc/config/darwin/arm/entrypoints.txt
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/arm/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/config/windows/entrypoints.txt
M libc/docs/math/index.rst
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/sincos.cpp
M libc/test/src/math/CMakeLists.txt
A libc/test/src/math/sincos_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/sincos_test.cpp
Log Message:
-----------
[libc][math] Implement double precision sincos correctly rounded to all rounding modes. (#96719)
Sharing the same algorithm as double precision sin:
https://github.com/llvm/llvm-project/pull/95736 and cos:
https://github.com/llvm/llvm-project/pull/96591
Commit: 2b6e3f3f90020ea5e8d0df64ca99735bf9ef6864
https://github.com/llvm/llvm-project/commit/2b6e3f3f90020ea5e8d0df64ca99735bf9ef6864
Author: Ivan Kosarev <ivan.kosarev at amd.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/test/MC/Disassembler/AMDGPU/decode-err.txt
Log Message:
-----------
[AMDGPU] Fix MC/Disassembler/AMDGPU/decode-err.txt. (#96621)
It fails downstream now that
https://github.com/llvm/llvm-project/pull/95237 removed flushing the
output stream on printing every instruction.
Commit: 264197516495910588d19fb19b6793e9be1bd6a3
https://github.com/llvm/llvm-project/commit/264197516495910588d19fb19b6793e9be1bd6a3
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
A lldb/test/Shell/SymbolFile/DWARF/enum-declaration-uniqueness.cpp
Log Message:
-----------
[lldb/DWARF] Unique enums parsed from declarations (#96751)
This is a regression from #96484 caught by @ZequanWu.
Note that we will still create separate enum types for types parsed from
two definitions. This is different from how we handle classes, but it is
not a regression.
I'm also adding the DieToType check to the class type parsing code,
although in this case, the type uniqueness should be enforced by the
UniqueDWARFASTType map.
Commit: 2d209d964a17687f70299d756a7b5e9fa342e0b4
https://github.com/llvm/llvm-project/commit/2d209d964a17687f70299d756a7b5e9fa342e0b4
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/MemorySSA.h
M llvm/include/llvm/IR/BasicBlock.h
M llvm/include/llvm/IR/IRBuilder.h
M llvm/include/llvm/IR/Instruction.h
M llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h
M llvm/lib/Analysis/BranchProbabilityInfo.cpp
M llvm/lib/Analysis/CaptureTracking.cpp
M llvm/lib/Analysis/DemandedBits.cpp
M llvm/lib/Analysis/IVDescriptors.cpp
M llvm/lib/Analysis/IVUsers.cpp
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/Analysis/LazyValueInfo.cpp
M llvm/lib/Analysis/Lint.cpp
M llvm/lib/Analysis/Loads.cpp
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
M llvm/lib/Analysis/LoopUnrollAnalyzer.cpp
M llvm/lib/Analysis/MemoryBuiltins.cpp
M llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
M llvm/lib/Analysis/MemoryLocation.cpp
M llvm/lib/Analysis/MustExecute.cpp
M llvm/lib/Analysis/StackSafetyAnalysis.cpp
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/Analysis/VectorUtils.cpp
M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
M llvm/lib/CodeGen/AtomicExpandPass.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/IR/Instruction.cpp
M llvm/lib/IR/Instructions.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/ARM/MVETailPredication.cpp
M llvm/lib/Target/BPF/BPFPreserveStaticOffset.cpp
M llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
M llvm/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
M llvm/lib/Target/X86/X86InterleavedAccess.cpp
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
M llvm/lib/Transforms/Scalar/GVN.cpp
M llvm/lib/Transforms/Scalar/GuardWidening.cpp
M llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
M llvm/lib/Transforms/Scalar/JumpThreading.cpp
M llvm/lib/Transforms/Scalar/LICM.cpp
M llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp
M llvm/lib/Transforms/Scalar/LoopDeletion.cpp
M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
M llvm/lib/Transforms/Scalar/LoopInstSimplify.cpp
M llvm/lib/Transforms/Scalar/LoopLoadElimination.cpp
M llvm/lib/Transforms/Scalar/LoopRotation.cpp
M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
M llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
M llvm/lib/Transforms/Scalar/MergeICmps.cpp
M llvm/lib/Transforms/Scalar/MergedLoadStoreMotion.cpp
M llvm/lib/Transforms/Scalar/Reassociate.cpp
M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
M llvm/lib/Transforms/Scalar/SROA.cpp
M llvm/lib/Transforms/Scalar/Scalarizer.cpp
M llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
M llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp
M llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp
M llvm/lib/Transforms/Utils/AssumeBundleBuilder.cpp
M llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
M llvm/lib/Transforms/Utils/BypassSlowDivision.cpp
M llvm/lib/Transforms/Utils/CloneFunction.cpp
M llvm/lib/Transforms/Utils/DemoteRegToStack.cpp
M llvm/lib/Transforms/Utils/Local.cpp
M llvm/lib/Transforms/Utils/LoopConstrainer.cpp
M llvm/lib/Transforms/Utils/LoopPeel.cpp
M llvm/lib/Transforms/Utils/LoopSimplify.cpp
M llvm/lib/Transforms/Utils/LoopUnroll.cpp
M llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
M llvm/lib/Transforms/Utils/LoopUtils.cpp
M llvm/lib/Transforms/Utils/LoopVersioning.cpp
M llvm/lib/Transforms/Utils/MemoryTaggingSupport.cpp
M llvm/lib/Transforms/Utils/SSAUpdater.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
M llvm/lib/Transforms/Vectorize/LoopIdiomVectorize.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/tools/llvm-reduce/deltas/ReduceOpcodes.cpp
M llvm/tools/llvm-stress/llvm-stress.cpp
Log Message:
-----------
[IR] Add getDataLayout() helpers to BasicBlock and Instruction (#96902)
This is a helper to avoid writing `getModule()->getDataLayout()`. I
regularly try to use this method only to remember it doesn't exist...
`getModule()->getDataLayout()` is also a common (the most common?)
reason why code has to include the Module.h header.
Commit: 43953af9d3e4bf8fcc88ea3211c468474ea5af85
https://github.com/llvm/llvm-project/commit/43953af9d3e4bf8fcc88ea3211c468474ea5af85
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Port e035ef0e7423c1a4c78e922508da817dbd5b6a02
Commit: bb973785c9df1bf191ac4ff06ab1e7355dbd95c6
https://github.com/llvm/llvm-project/commit/bb973785c9df1bf191ac4ff06ab1e7355dbd95c6
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
Log Message:
-----------
[AMDGPU] Only reinitialize disassembler Bytes array when needed. NFC. (#96666)
Commit: 34e34a03ac83b51e90f8788945f9668446e468f8
https://github.com/llvm/llvm-project/commit/34e34a03ac83b51e90f8788945f9668446e468f8
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
M mlir/test/Dialect/Linalg/vectorize-conv-masked-and-scalable.mlir
Log Message:
-----------
[mlir][linalg] Mark xfers as in-bounds when masking depthwise convs (#96771)
If this is not set the fact that the dynamic channel is in-bounds cannot
be inferred automatically (like it can for static sizes), which
eventually leads to it being marked as out-of-bounds (which prevents
some rewrites).
Commit: f1c54d72104cb163120c6ab65587766b12e7d959
https://github.com/llvm/llvm-project/commit/f1c54d72104cb163120c6ab65587766b12e7d959
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang/include/clang/Sema/Sema.h
M clang/include/clang/Sema/SemaHLSL.h
M clang/include/clang/Sema/SemaObjC.h
M clang/include/clang/Sema/SemaOpenCL.h
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaExprObjC.cpp
M clang/lib/Sema/SemaHLSL.cpp
M clang/lib/Sema/SemaObjC.cpp
M clang/lib/Sema/SemaOpenCL.cpp
Log Message:
-----------
[clang][NFC] Move more things out of `SemaChecking.cpp` (#96641)
This patch moves some functions out of `SemaChecking.cpp`. ObjC-, HLSL-,
OpenCL-related functions are affected.
This patch continues the effort of splitting `Sema` into parts.
Additional context can be found in
https://github.com/llvm/llvm-project/pull/84184 and
https://github.com/llvm/llvm-project/pull/92682.
Commit: 8a7730fb88445a019fe150d5db4f6642e43afd04
https://github.com/llvm/llvm-project/commit/8a7730fb88445a019fe150d5db4f6642e43afd04
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
R lldb/test/API/functionalities/gdb_remote_client/TestGDBServerNoTargetXML.py
A lldb/test/API/functionalities/gdb_remote_client/TestGDBServerNoTargetXMLRegisters.py
Log Message:
-----------
[lldb] Don't call AddRemoteRegisters if the target XML did not include any registers (#96907)
Fixes #92541
When e69a3d18f48bc0d81b5dd12e735a2ec898ce64d added fallback register
layouts, it assumed that the choices were target XML with registers, or
no target XML at all.
In the linked issue, a user has a debug stub that does have target XML,
but it's missing register information.
This caused us to finalize the register information using an empty set
of registers got from target XML, then fail an assert when we attempted
to add the fallback set. Since we think we've already completed the
register information.
This change adds a check to prevent that first call and expands the
existing tests to check each architecture without target XML and with
target XML missing register information.
Commit: 42c3edb4819ff2e9608f645fb5793dcb33b47f9c
https://github.com/llvm/llvm-project/commit/42c3edb4819ff2e9608f645fb5793dcb33b47f9c
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/docs/ProgrammersManual.rst
M llvm/include/llvm/ADT/SmallPtrSet.h
M llvm/unittests/ADT/SmallPtrSetTest.cpp
Log Message:
-----------
[SmallPtrSet] Don't leave tombstones in small mode (#96762)
When erasing elements in small mode, we currently leave behind
tombstones. This means that insertion into the SmallPtrSet also has to
check for these, making the operation more expensive than it really
should be.
We don't really need the tombstones in small mode, because we can just
replace with the last element in the set instead. This changes the
order, but SmallPtrSet order is fundamentally unstable anyway.
However, not leaving tombstones means that the erase() operation now
invalidates iterators. This means that consumers that want to remove
elements while iterating over the set have to use remove_if() instead.
If they fail to do so, there will be an assertion failure thanks to
debug epochs, so any such cases are easy to detect (and I have already
fixed all cases inside llvm at least).
Commit: aa24e36d037caee2a4106f721a0ac2ab2a1bc335
https://github.com/llvm/llvm-project/commit/aa24e36d037caee2a4106f721a0ac2ab2a1bc335
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachineInstr.h
M llvm/lib/CodeGen/MachineInstr.cpp
Log Message:
-----------
[CodeGen] Cache Opcode in MachineInstr (#96797)
This avoids the indirection through MCID when just accessing the opcode.
This uses two of the four padding bytes at the end of MachineInstr.
Commit: a1bce0b89e800cb7ab1d3cf3437f8f34d0695468
https://github.com/llvm/llvm-project/commit/a1bce0b89e800cb7ab1d3cf3437f8f34d0695468
Author: David Blaikie <dblaikie at gmail.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.stc/p1.cpp
M clang/test/Misc/warning-flags.c
A clang/test/SemaCXX/warn-explicit-specialization-storage-class.cpp
Log Message:
-----------
Clang: Add warning flag for storage class specifiers on explicit specializations (#96699)
With the recent fix for this situation in class members (#93873) (for
which the fixed code is invalid prior to this patch - making migrating
code difficult as it must be in lock-step with the compiler migration,
if building with -Werror) it'd be really useful to be able to disable
this warning during the compiler migration/decouple the compiler
migration from the source fixes.
In theory this approach will regress the codebase to the previous
non-member cases of this issue that were already being held back by the
warning (as opposed to if we carved out the new cases into a separate
warning from the existing cases) but I think this'll be so rare and the
cleanup so simple, that the extra regressions of disabling the warning
broadly won't be too much of a problem. (but if folks disagree, I'm open
to making the warning more fine-grained)
Commit: dade11f55e7c1045fc322bf61e84345f3dadb958
https://github.com/llvm/llvm-project/commit/dade11f55e7c1045fc322bf61e84345f3dadb958
Author: Michael Maitland <michaeltmaitland at gmail.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang/test/Preprocessor/riscv-target-features.c
M llvm/docs/RISCVUsage.rst
M llvm/docs/ReleaseNotes.rst
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/MC/RISCV/attribute-arch.s
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Bump Pointer Masking extension version (#96715)
These extensions had their version number bumped and still experimental
(under public review). I didn't see anything in the [commit
history](https://github.com/riscv/riscv-j-extension/commits/master/)
since #79929 that would warrant a change to the implementation of
pointer masking in the compiler.
Commit: 2fefc042ce8faf8516ae66e1529d87c7130094a1
https://github.com/llvm/llvm-project/commit/2fefc042ce8faf8516ae66e1529d87c7130094a1
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
R lldb/test/Shell/SymbolFile/DWARF/enum-declaration-uniqueness.cpp
A lldb/test/Shell/SymbolFile/DWARF/x86/enum-declaration-uniqueness.cpp
Log Message:
-----------
[lldb/test] Fix enum-declaration-uniqueness.cpp
Dereferencing a pointer variable without a running process does not work
on every arch/os. Fix the test to x86-linux, where it is known to work.
Commit: 6d61d83736ca23c336472e7f2bda59b7bb307bba
https://github.com/llvm/llvm-project/commit/6d61d83736ca23c336472e7f2bda59b7bb307bba
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M libc/src/__support/threads/callonce.h
M libc/src/__support/threads/linux/CMakeLists.txt
M libc/src/__support/threads/linux/callonce.cpp
A libc/src/__support/threads/linux/callonce.h
Log Message:
-----------
[libc] inline fast path of callonce (#96226)
Split from #91572
---------
Co-authored-by: Nick Desaulniers (paternity leave) <nickdesaulniers at users.noreply.github.com>
Commit: 50b15341182e0a5f53dd6e9b4a00fef56f31147c
https://github.com/llvm/llvm-project/commit/50b15341182e0a5f53dd6e9b4a00fef56f31147c
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/EvalEmitter.cpp
M clang/lib/AST/Interp/Interp.cpp
M clang/lib/AST/Interp/InterpState.h
Log Message:
-----------
[clang][Interp] Don't diagnose non-const reads from the evaluating decl
Commit: 8d237190ecc4ac90865d80dbb11a34c6719b406d
https://github.com/llvm/llvm-project/commit/8d237190ecc4ac90865d80dbb11a34c6719b406d
Author: Matthias Gehre <matthias.gehre at amd.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M mlir/include/mlir/Conversion/TosaToLinalg/TosaToLinalg.h
M mlir/include/mlir/Dialect/Tosa/Utils/ConversionUtils.h
M mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
M mlir/lib/Conversion/TosaToLinalg/TosaToLinalgNamed.cpp
M mlir/lib/Conversion/TosaToLinalg/TosaToLinalgPass.cpp
M mlir/lib/Dialect/Tosa/Utils/ConversionUtils.cpp
M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
Log Message:
-----------
TosaToLinalg: Support unsigned tosa.clamp (#91749)
This implements the lowering of tosa.clamp with unsigned operand to
linalg.
We interpret the `min/max : i64` attributes on `clamp` to be signed.
This means that when the operand has type `ui64`, one cannot represent
limits across the whole range.
Commit: cad72632eb0d612fe18c38ac4526d80a6b800f96
https://github.com/llvm/llvm-project/commit/cad72632eb0d612fe18c38ac4526d80a6b800f96
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
M llvm/test/CodeGen/RISCV/rv32zbkb.ll
M llvm/test/CodeGen/RISCV/rv64-legal-i32/rv64zbkb.ll
M llvm/test/CodeGen/RISCV/rv64zbkb.ll
M llvm/test/MC/RISCV/rv32zbkb-only-valid.s
M llvm/test/MC/RISCV/rv32zbkb-valid.s
M llvm/test/MC/RISCV/rv64zbkb-valid.s
Log Message:
-----------
[RISCV] Support zext.h mnemonic with Zbkb. (#96821)
Zbkb adds generic pack insructions. The zext.h encodings from Zbb are
subsets of the generic encodings with rs2=x0. zext.h is pack on RV32 and
packw on RV64.
Previously we only supported zext.h as a single instruction mnemonic in
the assembler when Zbb was enabled. Otherwise we would emit it as 2
shifts. This patches recognizes it when either Zbkb or Zbb is enabled.
This patch also enables the zext.h isel patterns when Zbkb is enabled
without Zbb.
Commit: 4168233badd4de41fee1bdc0a9701c5360ea1ead
https://github.com/llvm/llvm-project/commit/4168233badd4de41fee1bdc0a9701c5360ea1ead
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/test/MC/X86/align-branch-single.s
Log Message:
-----------
[X86,test] Add a JCC erratum test for Windows
Increase test coverage exposed by #96835.
Commit: aa3589f0ccc0848fa8d5847afdbc8dd9b9c624e7
https://github.com/llvm/llvm-project/commit/aa3589f0ccc0848fa8d5847afdbc8dd9b9c624e7
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCAsmBackend.h
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
M llvm/lib/Target/X86/MCTargetDesc/X86WinCOFFStreamer.cpp
Log Message:
-----------
[MC,X86] emitInstruction: remove virtual function calls due to Intel JCC Erratum
https://reviews.llvm.org/D70157 (for Intel Jump Conditional Code
Erratum) introduced two virtual function calls in the generic
MCObjectStreamer::emitInstruction, which added some overhead.
This patch removes the virtual function overhead:
* Define `llvm::X86_MC::emitInstruction` that calls `emitInstruction{Begin,End}`.
* Define {X86ELFStreamer,X86WinCOFFStreamer}::emitInstruction to call `llvm::X86_MC::emitInstruction`
Pull Request: https://github.com/llvm/llvm-project/pull/96835
Commit: e258bb38dc8f00cc366df877d0e6f869657b7a8b
https://github.com/llvm/llvm-project/commit/e258bb38dc8f00cc366df877d0e6f869657b7a8b
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang/include/clang/Basic/AttrDocs.td
Log Message:
-----------
[clang][docs] Update the gsl::Pointer/Owner attr doc (#96908)
- Fix some errors in the snippet;
- update the code snippet to reflect the current implementation status
in clang;
Commit: 5bbec8f4b6a26e8b4a4209d90a2ad0a0d2416a55
https://github.com/llvm/llvm-project/commit/5bbec8f4b6a26e8b4a4209d90a2ad0a0d2416a55
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCSection.h
M llvm/include/llvm/MC/MCSectionCOFF.h
M llvm/include/llvm/MC/MCSectionDXContainer.h
M llvm/include/llvm/MC/MCSectionELF.h
M llvm/include/llvm/MC/MCSectionGOFF.h
M llvm/include/llvm/MC/MCSectionMachO.h
M llvm/include/llvm/MC/MCSectionSPIRV.h
M llvm/include/llvm/MC/MCSectionWasm.h
M llvm/include/llvm/MC/MCSectionXCOFF.h
M llvm/lib/MC/MCSection.cpp
M llvm/lib/MC/MCSectionCOFF.cpp
M llvm/lib/MC/MCSectionELF.cpp
M llvm/lib/MC/MCSectionMachO.cpp
M llvm/lib/MC/MCSectionWasm.cpp
M llvm/lib/MC/MCSectionXCOFF.cpp
Log Message:
-----------
[MC] Make MCSection::isVirtualSection non-virtual (#96920)
This method is called once per encoded instruction, but never changes
throughout the lifetime of a section. Store this information as a bit
flag in the MCSection instead.
Commit: 1448ed2000ff0be17025dab0aad7412d054425eb
https://github.com/llvm/llvm-project/commit/1448ed2000ff0be17025dab0aad7412d054425eb
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/FIRBuilder.h
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/include/flang/Optimizer/Support/InternalNames.h
M flang/include/flang/Optimizer/Support/Utils.h
M flang/lib/Lower/Bridge.cpp
M flang/lib/Optimizer/Builder/FIRBuilder.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/lib/Optimizer/Support/CMakeLists.txt
M flang/lib/Optimizer/Support/InternalNames.cpp
A flang/lib/Optimizer/Support/Utils.cpp
M flang/test/Fir/fir-ops.fir
A flang/test/Lower/HLFIR/type-info-components.f90
Log Message:
-----------
[flang] add extra component information in fir.type_info (#96746)
fir.type does not contain all Fortran level information about
components. For instance, component lower bounds and default initial
value are lost. For correctness purpose, this does not matter because
this information is "applied" in lowering (e.g., when addressing the
components, the lower bounds are reflected in the hlfir.designate).
However, this "loss" of information will prevent the generation of
correct debug info for the type (needs to know about lower bounds). The
initial value could help building some optimization pass to get rid of
initialization runtime calls.
This patch adds lower bound and initial value information into
fir.type_info via a new fir.dt_component operation. This operation is
generated only for component that needs it, which helps keeping the IR
small for "boring" types.
In general, adding Fortran level info in fir.type_info will allow
delaying the generation of "type descriptors" gobals that are very
verbose in FIR and make it hard to work with FIR dumps from applications
with many derived types.
Commit: 1ff05876fb686cfee99c31b9dd69b051e34a31fa
https://github.com/llvm/llvm-project/commit/1ff05876fb686cfee99c31b9dd69b051e34a31fa
Author: darkbuck <michael.hliao at gmail.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/unittests/CodeGen/GlobalISel/CMakeLists.txt
A llvm/unittests/CodeGen/GlobalISel/CallLowering.cpp
Log Message:
-----------
[GlobalISel] Add unit tests for call lowering on byref support
Reviewers: tschuett, spaits, aemerson, arsenm
Reviewed By: spaits, arsenm
Pull Request: https://github.com/llvm/llvm-project/pull/96805
Commit: 6a66b8224d8cbdb6156b9a12d9339fee71898941
https://github.com/llvm/llvm-project/commit/6a66b8224d8cbdb6156b9a12d9339fee71898941
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/FIRBuilder.h
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/include/flang/Optimizer/Support/InternalNames.h
M flang/include/flang/Optimizer/Support/Utils.h
M flang/lib/Lower/Bridge.cpp
M flang/lib/Optimizer/Builder/FIRBuilder.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/lib/Optimizer/Support/CMakeLists.txt
M flang/lib/Optimizer/Support/InternalNames.cpp
R flang/lib/Optimizer/Support/Utils.cpp
M flang/test/Fir/fir-ops.fir
R flang/test/Lower/HLFIR/type-info-components.f90
Log Message:
-----------
Revert "[flang] add extra component information in fir.type_info" (#96937)
Reverts llvm/llvm-project#96746
Breaking shared library buillds:
https://lab.llvm.org/buildbot/#/builders/89/builds/931
Commit: 61975cdf44a75917a738ca7fa9971b03f6d4fad8
https://github.com/llvm/llvm-project/commit/61975cdf44a75917a738ca7fa9971b03f6d4fad8
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Disasm.cpp
Log Message:
-----------
[clang][Interp][NFC] Print global temporary value in Program::dump()
There is quite a problem here, so print both the value we have in
Program as well as the value from the LifetimeExtendedTemporaryDecl.
Commit: aa9bf71ca4eac50f4dfad9bb7b302491265cb889
https://github.com/llvm/llvm-project/commit/aa9bf71ca4eac50f4dfad9bb7b302491265cb889
Author: Anh Tuyen Tran <34661776+anhtuyenibm at users.noreply.github.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/test/DebugInfo/attr-btf_type_tag.ll
Log Message:
-----------
On AIX we don’t have .debug_addr section. (#96935)
According to Zheng @chenzheng1030, there is no .debug_addr section on
AIX.
Due to its absence on AIX, the test case may produce inconsistent
results, either passing or failing. This PR ensures that the test case
is marked as not applicable for AIX.
Commit: abfff89b743584d2796000318198bf60d3622a1f
https://github.com/llvm/llvm-project/commit/abfff89b743584d2796000318198bf60d3622a1f
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/MC/MCAssembler.cpp
Log Message:
-----------
[MC] Chain together fragments only if Subsections.size() > 1
and delete an unneeded setParent call.
Commit: d7cd41e571cb8def7914cce51b49e009f8851634
https://github.com/llvm/llvm-project/commit/d7cd41e571cb8def7914cce51b49e009f8851634
Author: Jinjie Huang <huangjinjie at bytedance.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
A llvm/test/tools/llvm-dwp/X86/empty_warning.s
M llvm/tools/llvm-dwp/llvm-dwp.cpp
Log Message:
-----------
Give a warning when no dwo files are provided (#94336)
In some scenarios based on the split-dwarf build process, the dwo file
is not generated as expected(That is to say, no dwo file path is stored
in the binary). When the llvm-dwp tool is called to generate the .dwp
file, it will exit without any warning.
So, the plan is to prompt a warning to tell the user that the dwo file
was not actually generated.
<img width="699" alt="image"
src="https://github.com/llvm/llvm-project/assets/150100070/5e5742f6-daad-450f-87e9-cb25449c3c7a">
Commit: f55bcc5dbed9de21864e92cd2e6040bb00e6122c
https://github.com/llvm/llvm-project/commit/f55bcc5dbed9de21864e92cd2e6040bb00e6122c
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/IR/AutoUpgrade.cpp
M llvm/test/Bitcode/amdgcn-atomic.ll
Log Message:
-----------
AMDGPU: Add amdgpu.no.fine.grained.memory when upgrading old atomic intrinsics (#89655)
This should replicate the old intrinsic behavior better when codegen of
the raw instruction will require metadata in the future.
Commit: 559ea40d9a12b0027cd7dbd955da31c06e6369f8
https://github.com/llvm/llvm-project/commit/559ea40d9a12b0027cd7dbd955da31c06e6369f8
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/CodeGen/MachineInstrBundle.cpp
M llvm/lib/CodeGen/MachineTraceMetrics.cpp
M llvm/lib/CodeGen/RegAllocBasic.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
M llvm/lib/CodeGen/TailDuplicator.cpp
Log Message:
-----------
[CodeGen] Use range-based for loops (NFC) (#96855)
Commit: fa0e9acea5e4d363eef6acc484afc1b22ab8e698
https://github.com/llvm/llvm-project/commit/fa0e9acea5e4d363eef6acc484afc1b22ab8e698
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/combine-pmadd.ll
Log Message:
-----------
[X86] Remove PMADDWD/PMADDUBSW known bits handling due to performance issues
This appears to be causing an slow (infinite?) loop when building the highway open source project - most likely due to the high number of computeKnownBits calls (although improving early-out doesn't appear help so far).
I'm reverting support to unstick the highway team and will revisit this shortly.
Reported by @alexfh
Commit: ea686686477921f571d3b492de44664eafb82465
https://github.com/llvm/llvm-project/commit/ea686686477921f571d3b492de44664eafb82465
Author: Vaibhav <56088720+VaibhavRumale at users.noreply.github.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
A llvm/test/Transforms/InstCombine/fabs-fneg-fold.ll
Log Message:
-----------
[InstCombine] Add fold for fabs(-x) -> fabs(x) (#95627)
This patch folds `fabs(-x) -> fabs(x)`
Closes #94170
Proofs: https://alive2.llvm.org/ce/z/gjzmgf
Commit: b949b6420775fe3466dc5a5bf34eab1d14e39e8f
https://github.com/llvm/llvm-project/commit/b949b6420775fe3466dc5a5bf34eab1d14e39e8f
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M lldb/test/API/functionalities/step_scripted/Steps.py
M lldb/test/API/functionalities/step_scripted/TestStepScripted.py
Log Message:
-----------
Revert "[lldb/test] Mark TestStepScripted.py as XFAIL temporarily (#96894)" (#96942)
This tentatively reverts commit 204c403b5215197ecdbdb68ca7f11402d6d9892b
to remove the XFAIL from the tests while also trying to fix them at the
same time.
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: aae8e5cb74634d1690168975c2dd3e053b3ad35c
https://github.com/llvm/llvm-project/commit/aae8e5cb74634d1690168975c2dd3e053b3ad35c
Author: Petr Hosek <phosek at google.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/riscv/entrypoints.txt
Log Message:
-----------
[libc] Include additional math functions in baremetal config (#96926)
These are all supported on arm32 and riscv32.
Commit: 37fe152e0c9f47b0a9ef9663df1ddecffef6f338
https://github.com/llvm/llvm-project/commit/37fe152e0c9f47b0a9ef9663df1ddecffef6f338
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M lldb/test/API/functionalities/step_scripted/Steps.py
M lldb/test/API/functionalities/step_scripted/TestStepScripted.py
Log Message:
-----------
Revert "Revert "[lldb/test] Mark TestStepScripted.py as XFAIL temporarily (#96894)"" (#96946)
Reverts llvm/llvm-project#96942 since the test failures are still
happening:
https://lab.llvm.org/buildbot/#/builders/162/builds/899/
Commit: e34dbb127af0596d07d01b9fa6cab5b2488ff37b
https://github.com/llvm/llvm-project/commit/e34dbb127af0596d07d01b9fa6cab5b2488ff37b
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-27 (Thu, 27 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-macros/float16-macros.h
M libc/spec/stdc.td
M libc/src/__support/FPUtil/CMakeLists.txt
M libc/src/__support/FPUtil/dyadic_float.h
M libc/src/__support/FPUtil/generic/CMakeLists.txt
M libc/src/__support/FPUtil/generic/FMA.h
M libc/src/__support/FPUtil/multiply_add.h
M libc/src/math/CMakeLists.txt
A libc/src/math/f16fma.h
A libc/src/math/f16fmaf128.h
A libc/src/math/f16fmal.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/f16fma.cpp
A libc/src/math/generic/f16fmaf128.cpp
A libc/src/math/generic/f16fmal.cpp
M libc/test/src/math/CMakeLists.txt
M libc/test/src/math/FmaTest.h
A libc/test/src/math/f16fma_test.cpp
M libc/test/src/math/f16fmaf_test.cpp
A libc/test/src/math/f16fmal_test.cpp
M libc/test/src/math/fmaf_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/f16fma_test.cpp
A libc/test/src/math/smoke/f16fmaf128_test.cpp
A libc/test/src/math/smoke/f16fmal_test.cpp
M libc/utils/MPFRWrapper/MPFRUtils.cpp
Log Message:
-----------
[libc][math][c23] Add f16fma{,l,f128} C23 math function (#96711)
Part of #93566.
Commit: aa8409fdca5e738c30a4ab70a3dc809bb4e9160d
https://github.com/llvm/llvm-project/commit/aa8409fdca5e738c30a4ab70a3dc809bb4e9160d
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
Log Message:
-----------
[libc][math][c23] Temporarily disable f16fma{,l,f128} on AArch64 (#96952)
See Buildbot failures:
- https://lab.llvm.org/buildbot/#/builders/104/builds/936
- https://lab.llvm.org/buildbot/#/builders/71/builds/932
- https://lab.llvm.org/buildbot/#/builders/131/builds/913
Commit: 918313d17d38d8723d5d81fef008538677abf9cc
https://github.com/llvm/llvm-project/commit/918313d17d38d8723d5d81fef008538677abf9cc
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/TargetLibraryInfo.h
M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/accelerate-vector-functions-inseltpoison.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/accelerate-vector-functions.ll
M llvm/test/Transforms/SLPVectorizer/X86/call.ll
Log Message:
-----------
[SLPVectorizer] Support SLPVectorizer cases of tan across all backends (#95517)
This PR is intended to address the limited SLPVectorizer support of tan
raised in the comments of this PR:
https://github.com/llvm/llvm-project/pull/94559.
Right now emitting the tan intrinsisic allows you to vectorize tan, but
emitting the libfunc does not. to address this the libcall needs to be
mapped to the intrinsic. and the libcall and function name need to be
marked approriately so they can be optimized or defined as a call
lowering.
Commit: a2a73d892a3fd16a1dd2218cf142c7e99cc69ba6
https://github.com/llvm/llvm-project/commit/a2a73d892a3fd16a1dd2218cf142c7e99cc69ba6
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/FLATInstructions.td
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll
Log Message:
-----------
AMDGPU: Fix no return atomicrmw fadd v2f16 selection for gfx908 (#96948)
We previously would always expand this with a cmpxchg loop, while
it should be the same conditions as the f32 case (except for the
denormal concern).
Commit: 868b90df07e08617a9be33178ac33437aaa00942
https://github.com/llvm/llvm-project/commit/868b90df07e08617a9be33178ac33437aaa00942
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang/include/module.modulemap
Log Message:
-----------
[clang] Fix incomplete umbrella warnings when building clang modules (NFC) (#96939)
Commit: f14ad74478494cbd9d23af841d6f6b2808afda71
https://github.com/llvm/llvm-project/commit/f14ad74478494cbd9d23af841d6f6b2808afda71
Author: PeterChou1 <peter.chou at mail.utoronto.ca>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang-tools-extra/clang-doc/HTMLGenerator.cpp
M clang-tools-extra/clang-doc/Representation.cpp
M clang-tools-extra/clang-doc/Representation.h
M clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
A clang-tools-extra/test/clang-doc/Inputs/test-assets/test.css
A clang-tools-extra/test/clang-doc/Inputs/test-assets/test.js
A clang-tools-extra/test/clang-doc/assets.cpp
M clang-tools-extra/test/clang-doc/basic-project.test
M clang-tools-extra/unittests/clang-doc/HTMLGeneratorTest.cpp
Log Message:
-----------
Reapply [clang-doc] Add --asset option to clang-doc (#96358)
Reapply https://github.com/llvm/llvm-project/pull/94717
Adds a new option --asset which allows users to specified the asset
folder for the html output of clang-doc.
This patch adds a better test for --asset option + fixes bug where
clang-doc assumes that user supplied js file is assume to be index.js
Commit: ecfbb8504ed2a92fc145045d2c05f5980405660e
https://github.com/llvm/llvm-project/commit/ecfbb8504ed2a92fc145045d2c05f5980405660e
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang-tools-extra/clang-doc/HTMLGenerator.cpp
Log Message:
-----------
[clang-doc][NFC] Fix style guide violations in HTMLGenerator.cpp
This patch addresses several code style issues that conflict with the
project's style guide. Primarily the naming of functions, and `else`
after `return` statements. It only addresses issues found in
HTMLGenerator.cpp.
Reviewers: petrhosek
Reviewed By: petrhosek
Pull Request: https://github.com/llvm/llvm-project/pull/96924
Commit: d3ca779d7264bf0751eb4db632c14d8bc05608ca
https://github.com/llvm/llvm-project/commit/d3ca779d7264bf0751eb4db632c14d8bc05608ca
Author: Aiden Grossman <aidengrossman at google.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/utils/mlgo-utils/tests/corpus/combine_training_corpus_script.test
M llvm/utils/mlgo-utils/tests/corpus/combine_training_corpus_test.py
M llvm/utils/mlgo-utils/tests/corpus/extract_ir_script.test
M llvm/utils/mlgo-utils/tests/corpus/extract_ir_test.py
M llvm/utils/mlgo-utils/tests/corpus/make_corpus_script.test
M llvm/utils/mlgo-utils/tests/corpus/make_corpus_test.py
M llvm/utils/mlgo-utils/tests/lit.local.cfg
Log Message:
-----------
[MLGO] Remove python-38 flag from tests (#96961)
Previously, we had a python-38 flag for the mlgo-utils tests as they
needed a python version higher than what LLVM required by default due to
type annotations. Now that LLVM's default Python version minimum is 3.8,
we can remove this flag.
Commit: ac9f06c2a839e0065bc96179208c5071c9d4fb7e
https://github.com/llvm/llvm-project/commit/ac9f06c2a839e0065bc96179208c5071c9d4fb7e
Author: Terry Wilmarth <terry.l.wilmarth at intel.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M openmp/runtime/test/parallel/omp_parallel_num_threads_list.c
Log Message:
-----------
[OpenMP] Fix test omp_parallel_num_threads_list.c to require fewer threads. (#96916)
Original test case used too many threads for some environments. This update
reduces to a max of 36 threads.
Commit: 6b55ec1198ce9356340372fd8233b907d8d4cea2
https://github.com/llvm/llvm-project/commit/6b55ec1198ce9356340372fd8233b907d8d4cea2
Author: Petr Hosek <phosek at google.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/riscv/entrypoints.txt
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
Log Message:
-----------
[libc] Sort entrypoints alphabetically (#96955)
This makes it easier to diff the different configurations.
Commit: 4134b33c6a362cb462b335177d6d9e8235f04309
https://github.com/llvm/llvm-project/commit/4134b33c6a362cb462b335177d6d9e8235f04309
Author: Aiden Grossman <aidengrossman at google.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/utils/mlgo-utils/mlgo/corpus/extract_ir.py
M llvm/utils/mlgo-utils/mlgo/corpus/extract_ir_lib.py
M llvm/utils/mlgo-utils/tests/corpus/extract_ir_test.py
Log Message:
-----------
[MLGO] Add ability to extract IR from bazel using aquery (#96964)
This patch adds in support for extracting IR from binaries built with
bazel through querying the linker command line using bazel aquery.
Commit: 5b363483cf2461617fbb2449491c9914811c8d53
https://github.com/llvm/llvm-project/commit/5b363483cf2461617fbb2449491c9914811c8d53
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/Type.h
M clang/lib/AST/Type.cpp
M clang/lib/Sema/SemaExprCXX.cpp
M clang/test/SemaCXX/type-traits.cpp
Log Message:
-----------
[Clang] Fix __is_trivially_equality_comparable returning true with ineligebile defaulted overloads (#93113)
This changes `__is_trivially_equality_comparable` to do overload
resolution instead, which fixes a couple of false-positives (and a
false-negative as a drive-by).
Fixes #89293
Commit: e55aa027f813679ca63c9b803690ce792a3d7b28
https://github.com/llvm/llvm-project/commit/e55aa027f813679ca63c9b803690ce792a3d7b28
Author: Pete Steinfeld <47540744+psteinfeld at users.noreply.github.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M flang/runtime/matmul.cpp
Log Message:
-----------
[flang] Fix runtime error messages for the MATMUL intrinsic (#96928)
There are three forms of MATMUL -- where the first argument is a rank 1
array, where the second argument is a rank 1 array, and where both
arguments are rank 2 arrays. There's code in the runtime that detects
when the array shapes are incorrect. But the code that emits an error
message assumes that both arguments are rank 2 arrays.
This change contains code for the other two cases.
Commit: f906e3dd62b979814658e8610388117dd7db7bbf
https://github.com/llvm/llvm-project/commit/f906e3dd62b979814658e8610388117dd7db7bbf
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/TargetParser/RISCVISAInfo.cpp
Log Message:
-----------
[RISCV] Fold processSingleLetterExtension/processMultiLetterExtension into RISCVISAInfo::parseArchString.
The end of both functions was very similar. Merging reduces the
duplication.
I'm planning to make additional changes to this code soon.
Commit: 7a03666401342e71995f8e221a8755eb69187876
https://github.com/llvm/llvm-project/commit/7a03666401342e71995f8e221a8755eb69187876
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M libc/src/__support/FPUtil/NearestIntegerOperations.h
M libc/src/__support/FPUtil/dyadic_float.h
M libc/src/__support/FPUtil/generic/FMA.h
M libc/src/__support/FPUtil/generic/div.h
M libc/src/__support/big_int.h
Log Message:
-----------
[libc] Fix compilation errors that occur when building with GCC (#96976)
Commit: 2879a03647918a347d9f99fd1f9898206baf9128
https://github.com/llvm/llvm-project/commit/2879a03647918a347d9f99fd1f9898206baf9128
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M .github/workflows/issue-write.yml
M .github/workflows/pr-request-release-note.yml
M llvm/utils/git/github-automation.py
Log Message:
-----------
[workflows] Fix release note request workflow (#94784)
We need to use the issue-write workflow to write the comments, because
pull_request targets don't have permissions to write comments.
Commit: 7d6de19f9ad889d4391b3eef37c584c986d99f84
https://github.com/llvm/llvm-project/commit/7d6de19f9ad889d4391b3eef37c584c986d99f84
Author: akirchhoff-modular <akirchhoff at modular.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M mlir/tools/mlir-tblgen/RewriterGen.cpp
Log Message:
-----------
[mlir] Fix -Wextra-semi warnings in generated code (NFC) (#96981)
While building a downstream project including `mlir-tblgen`-generated
headers, I received some `-Wextra-semi` warnings. Fix these in the
generated code by removing the extra semicolon in the generator.
Commit: 8e1f7793971b5d5b6516146260fe86ec6e0f8c1e
https://github.com/llvm/llvm-project/commit/8e1f7793971b5d5b6516146260fe86ec6e0f8c1e
Author: akirchhoff-modular <akirchhoff at modular.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang/include/clang/Basic/TargetCXXABI.h
Log Message:
-----------
[clang] [TargetCXXABI] Fix -Wextra-semi warning (NFC) (#96982)
While building a downstream project including `TargetCXXABI.h`, I
received a `-Wextra-semi` warning. This PR removes the extra semicolon,
fixing the warning.
Commit: 804415825b97e974c96a92580bcbeaf4c7ff0a04
https://github.com/llvm/llvm-project/commit/804415825b97e974c96a92580bcbeaf4c7ff0a04
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M compiler-rt/test/tsan/Darwin/fork_deadlock.cpp
Log Message:
-----------
[test][compiler-rt] Mark fork_deadlock.cpp UNSUPPORTED
This test is broken since there's no "syscall.h". As requested in #96597, mark test as UNSUPPORTED instead of reverting.
Commit: 2430a354bfb9e8c08e0dd5f294012b40afb75ce0
https://github.com/llvm/llvm-project/commit/2430a354bfb9e8c08e0dd5f294012b40afb75ce0
Author: shaw young <58664393+shawbyoung at users.noreply.github.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
A bolt/include/bolt/Core/BinaryFunctionCallGraph.h
A bolt/include/bolt/Core/CallGraph.h
A bolt/include/bolt/Core/CallGraphWalker.h
R bolt/include/bolt/Passes/BinaryFunctionCallGraph.h
R bolt/include/bolt/Passes/CallGraph.h
R bolt/include/bolt/Passes/CallGraphWalker.h
M bolt/include/bolt/Passes/HFSort.h
M bolt/include/bolt/Passes/RegReAssign.h
M bolt/include/bolt/Passes/ReorderFunctions.h
A bolt/lib/Core/BinaryFunctionCallGraph.cpp
M bolt/lib/Core/CMakeLists.txt
A bolt/lib/Core/CallGraph.cpp
A bolt/lib/Core/CallGraphWalker.cpp
R bolt/lib/Passes/BinaryFunctionCallGraph.cpp
M bolt/lib/Passes/CMakeLists.txt
R bolt/lib/Passes/CallGraph.cpp
R bolt/lib/Passes/CallGraphWalker.cpp
M bolt/lib/Passes/FrameAnalysis.cpp
M bolt/lib/Passes/FrameOptimizer.cpp
M bolt/lib/Passes/IndirectCallPromotion.cpp
M bolt/lib/Passes/JTFootprintReduction.cpp
M bolt/lib/Passes/RegAnalysis.cpp
M bolt/lib/Passes/RegReAssign.cpp
M bolt/lib/Passes/StokeInfo.cpp
Log Message:
-----------
[BOLT][NFC] Move CallGraph from Passes to Core (#96922)
Moved CallGraph and BinaryFunctionCallGraph from Passes to
Core for future use in stale matching.
Commit: c63eaddb629aa8d016b26c9c60c92aa5dcae3b43
https://github.com/llvm/llvm-project/commit/c63eaddb629aa8d016b26c9c60c92aa5dcae3b43
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
Log Message:
-----------
[bazel] Port #96805 (#96988)
Commit: ca06b610841c849eb1db43ad057310c8f7eea81e
https://github.com/llvm/llvm-project/commit/ca06b610841c849eb1db43ad057310c8f7eea81e
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M bolt/lib/Core/BinaryFunction.cpp
M bolt/test/X86/issue20.s
M bolt/test/X86/issue20.test
M bolt/test/X86/sctc-bug4.test
Log Message:
-----------
[BOLT] Omit CFI state while printing functions without CFI (#96723)
If a function has no CFI program attached to it, do not print redundant
empty CFI state for every basic block.
Commit: eec9d0b6816e815fbe009941c1fda3b39c38adeb
https://github.com/llvm/llvm-project/commit/eec9d0b6816e815fbe009941c1fda3b39c38adeb
Author: zhicong zhong <zhiczhong at outlook.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp
M mlir/test/Dialect/Linalg/transform-tile-reduction.mlir
Log Message:
-----------
[mlir][Linalg] use linalg.reduce to simplify the mergeReductions in partialReductionInterface (#94579)
The current implementation of `mergeReduction` in
`LinalgOpPartialReductionInterface` builds a `linalg.generic` from
scratch. While we already have `linalg.reduce` op which has the same
semantic as this generic op, this PR replaces the generic op with
`linalg.reduce` to simplify the implementation.
Commit: 2dff96d37a8419dab7a6ec3e1f8de917c7adb4ea
https://github.com/llvm/llvm-project/commit/2dff96d37a8419dab7a6ec3e1f8de917c7adb4ea
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVPostRAExpandPseudoInsts.cpp
Log Message:
-----------
[RISCV] Remove unneeded code from RISCVPostRAExpandPseudo::expandMovImm. NFC
We accidentally left a call to generateInstSeq when we rewrote the
code to use the X86InstrInfo::movImm.
Commit: 7423bf78eb53d81ce0c7b3a38e39a56341ca2a89
https://github.com/llvm/llvm-project/commit/7423bf78eb53d81ce0c7b3a38e39a56341ca2a89
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-27 (Thu, 27 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
Log Message:
-----------
[MC] Ensure subsections have a MCDataFragment
Similar to 21fac2d1d060b0f9b11a746718e58d4cd1ee97e5 for sections. This
makes it feasible to cache the current fragment in MCStreamer.
Commit: d16b21b17d13ecd88a068bb803df43e53d3b04ba
https://github.com/llvm/llvm-project/commit/d16b21b17d13ecd88a068bb803df43e53d3b04ba
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M bolt/include/bolt/Core/BinaryFunction.h
M bolt/lib/Core/BinaryFunction.cpp
M bolt/lib/Rewrite/LinuxKernelRewriter.cpp
M bolt/test/X86/linux-alt-instruction.s
Log Message:
-----------
[BOLT][Linux] Support ORC for alternative instructions (#96709)
Alternative instruction sequences in the Linux kernel can modify the
stack and thus they need their own ORC unwind entries. Since there's
only one ORC table, it has to be "shared" among multiple instruction
sequences. The kernel achieves this by putting a restriction on
instruction boundaries. If ORC state changes at a given IP, only one of
the alternative sequences can have an instruction starting/ending at
this IP. Then, developers can insert NOPs to guarantee the above
requirement is met.
The most common use of ORC with alternatives is "pushf; pop %rax"
sequence used for paravirtualization. Note that newer kernel versions
no longer use .parainstructions; instead, they utilize alternatives for
the same purpose.
Before we implement a better support for alternatives, we can safely
skip ORC entries associated with them.
Fixes #87052.
Commit: 874b880fce8522b06c6cf73a76612a844e2eaf1b
https://github.com/llvm/llvm-project/commit/874b880fce8522b06c6cf73a76612a844e2eaf1b
Author: harishch4 <harishcse44 at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Target/LLVMIR/openmp-llvm.mlir
Log Message:
-----------
[MLIR][OpenMP] Lowering support for Order clause in SIMD directive (#96866)
Commit: e48c4011ca80385573f1b92793c75dc98abb228f
https://github.com/llvm/llvm-project/commit/e48c4011ca80385573f1b92793c75dc98abb228f
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCFragment.h
M llvm/include/llvm/MC/MCObjectStreamer.h
M llvm/include/llvm/MC/MCStreamer.h
M llvm/lib/MC/MCAsmStreamer.cpp
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/MC/MCStreamer.cpp
Log Message:
-----------
[MC] Cache current fragment in MCStreamer
This eliminates indirection through `getCurrentSectionOnly()->curFragList()->Tail`.
Commit: d38b518e0444b42123ac05ac5cce267baecec294
https://github.com/llvm/llvm-project/commit/d38b518e0444b42123ac05ac5cce267baecec294
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachineBranchProbabilityInfo.h
M llvm/include/llvm/InitializePasses.h
M llvm/include/llvm/Passes/MachinePassRegistry.def
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/CodeGen/BranchFolding.cpp
M llvm/lib/CodeGen/EarlyIfConversion.cpp
M llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp
M llvm/lib/CodeGen/IfConversion.cpp
M llvm/lib/CodeGen/LazyMachineBlockFrequencyInfo.cpp
M llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp
M llvm/lib/CodeGen/MachineBlockPlacement.cpp
M llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
M llvm/lib/CodeGen/MachineSink.cpp
M llvm/lib/CodeGen/MachineTraceMetrics.cpp
M llvm/lib/CodeGen/TailDuplication.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Target/AArch64/AArch64ConditionalCompares.cpp
M llvm/lib/Target/Hexagon/HexagonEarlyIfConv.cpp
M llvm/lib/Target/Hexagon/HexagonLoopAlign.cpp
M llvm/lib/Target/Hexagon/HexagonNewValueJump.cpp
M llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
M llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp
M llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp
A llvm/test/tools/llc/new-pm/machine-branch-prob.ll
Log Message:
-----------
Reapply "[CodeGen][NewPM] Port machine-branch-prob to new pass manager" (#96858) (#96869)
This reverts commit ab58b6d58edf6a7c8881044fc716ca435d7a0156.
In `CodeGen/Generic/MachineBranchProb.ll`, `llc` crashed with dumped MIR
when targeting PowerPC. Move test to `llc/new-pm`, which is X86
specific.
Commit: eaf816f6cbd7282c1d7a1cacacccd0775e9e3c61
https://github.com/llvm/llvm-project/commit/eaf816f6cbd7282c1d7a1cacacccd0775e9e3c61
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/MC/MCObjectStreamer.cpp
Log Message:
-----------
[MC] Remove unneeded nullness check from getOrCreateDataFragment. NFC
`getCurrentFragment()` no longer returns null after
7423bf78eb53d81ce0c7b3a38e39a56341ca2a89.
Commit: 4a746e50b14f252b40e03860562636dd1ded8044
https://github.com/llvm/llvm-project/commit/4a746e50b14f252b40e03860562636dd1ded8044
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M flang/lib/Lower/DirectivesCommon.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
Log Message:
-----------
[NFC][flang] Remove unused `converter` parameter. (#96854)
Removes an unused parameter in 2 utils that generate bounds ops.
Commit: 0c454df448c1edd1ce65573b8343721636cc541b
https://github.com/llvm/llvm-project/commit/0c454df448c1edd1ce65573b8343721636cc541b
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCStreamer.h
M llvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
Log Message:
-----------
[MC] Make changeSection private
Using changeSection externally would cause `CurFrag` to be out of sync
of `SectionStack`. Remove some uses from MipsTargetStreamer.cpp.
Commit: 993d2383e68b22475cbd734b4e194911cf15df2f
https://github.com/llvm/llvm-project/commit/993d2383e68b22475cbd734b4e194911cf15df2f
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/PGOCtxProfWriter.h
Log Message:
-----------
[ctx_prof] Remove `Buffer` field in PGOCtxProfWriter
Not needed anymore after PR #92983, and moreover, creating the same issue c49bc1a3b782e38e4ffb5b274f1e7775af6c2315 fixed in `BitcodeWriter.cpp`.
Commit: 1488fb4153367b9c20e8c0ca7aa40bc8437ea3d3
https://github.com/llvm/llvm-project/commit/1488fb4153367b9c20e8c0ca7aa40bc8437ea3d3
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/docs/GlobalISel/GenericOpcode.rst
M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/include/llvm/CodeGen/MachineModuleInfoImpls.h
M llvm/include/llvm/Support/TargetOpcodes.def
M llvm/include/llvm/Target/GenericOpcodes.td
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
M llvm/lib/CodeGen/MachineModuleInfoImpls.cpp
M llvm/lib/CodeGen/MachineVerifier.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp
M llvm/lib/Target/AArch64/AArch64TargetObjectFile.h
M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
A llvm/test/CodeGen/AArch64/GlobalISel/ptrauth-constant-in-code.ll
A llvm/test/CodeGen/AArch64/ptrauth-constant-in-code.ll
M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-cxx.td
M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-variadics.td
M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table.td
M llvm/test/TableGen/GlobalISelEmitter.td
Log Message:
-----------
[PAC][AArch64] Lower ptrauth constants in code (#96879)
This re-applies #94241 after fixing buildbot failure, see
https://lab.llvm.org/buildbot/#/builders/51/builds/570
According to standard, `constexpr` variables and `const` variables
initialized with constant expressions can be used in lambdas w/o
capturing - see https://en.cppreference.com/w/cpp/language/lambda.
However, MSVC used on buildkite seems to ignore that rule and does not
allow using such uncaptured variables in lambdas: we have "error C3493:
'Mask16' cannot be implicitly captured because no default capture mode
has been specified" - see
https://buildkite.com/llvm-project/github-pull-requests/builds/73238
Explicitly capturing such a variable, however, makes buildbot fail with
"error: lambda capture 'Mask16' is not required to be captured for this
use [-Werror,-Wunused-lambda-capture]" - see
https://lab.llvm.org/buildbot/#/builders/51/builds/570.
Fix both cases by using `0xffff` value directly instead of giving a name
to it.
Original PR description below.
Depends on #94240.
Define the following pseudos for lowering ptrauth constants in code:
- non-`extern_weak`:
- no GOT load needed: `MOVaddrPAC` - similar to `MOVaddr`, with added
PAC;
- GOT load needed: `LOADgotPAC` - similar to `LOADgot`, with added PAC;
- `extern_weak`: `LOADauthptrstatic` - similar to `LOADgot`, but use a
special stub slot named `sym$auth_ptr$key$disc` filled by dynamic linker
during relocation resolving instead of a GOT slot.
---------
Co-authored-by: Ahmed Bougacha <ahmed at bougacha.org>
Commit: 897489b0d62a0a37ebb0640a6d35bfa61c538967
https://github.com/llvm/llvm-project/commit/897489b0d62a0a37ebb0640a6d35bfa61c538967
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVFeatures.td
Log Message:
-----------
[RISCV] Fix formatting in RISCVFeatures.td. NFC
Commit: 544830a840ae70aa25465243cf1a3d301a9c2cf1
https://github.com/llvm/llvm-project/commit/544830a840ae70aa25465243cf1a3d301a9c2cf1
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
M llvm/test/MC/RISCV/rv32zbkb-only-valid.s
M llvm/test/MC/RISCV/rv64zbkb-valid.s
Log Message:
-----------
[RISCV] Rework zext.h handling for Zbkb again. (#96957)
Use the Zbb zext.h nstructions only when Zbb is enabled. In both the
assembler and codegen.
Use pack/packw for zext.h when Zbkb is enabled, but Zbb is not. This is
accomplished with extra isel patterns for CodeGen and InstAliases for
the assembler that are used with Zbkb and not Zbb.
This fixes the quirk that the assembler and disassembler printed
something different for pack rd, rs1, x0.
Commit: 567b2c608c307c097315dd5ec4d6a5bbcddf898d
https://github.com/llvm/llvm-project/commit/567b2c608c307c097315dd5ec4d6a5bbcddf898d
Author: Zequan Wu <zequanwu at google.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/Type.h
M clang/lib/AST/Type.cpp
M clang/lib/Sema/SemaExprCXX.cpp
M clang/test/SemaCXX/type-traits.cpp
Log Message:
-----------
Revert "[Clang] Fix __is_trivially_equality_comparable returning true with ineligebile defaulted overloads" (#97002)
Reverts llvm/llvm-project#93113
Commit: fadc72235ed59eba8538d803fba5c79cd9cda5e9
https://github.com/llvm/llvm-project/commit/fadc72235ed59eba8538d803fba5c79cd9cda5e9
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCObjectStreamer.h
M llvm/include/llvm/MC/MCStreamer.h
M llvm/lib/MC/MCAsmStreamer.cpp
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/MC/MCStreamer.cpp
Log Message:
-----------
[MC] switchSectionNoPrint: update CurFrag
To ensure that CurFrag->Parent and SectionStack.back() are in sync.
Commit: fcffb2c0240bb3a08b3e14486ea6abd23fa2c44f
https://github.com/llvm/llvm-project/commit/fcffb2c0240bb3a08b3e14486ea6abd23fa2c44f
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/MC/MCELFStreamer.cpp
M llvm/lib/MC/MCObjectStreamer.cpp
Log Message:
-----------
[MC] Replace one nullable getCurrentSectionOnly with CurFrag
We will implement getCurrentSectionOnly with `CurFrag->getParent()`,
which is non-null. Eliminate a nullable use.
Commit: 52216349b6faf41351f4bd370439031c416b8f9b
https://github.com/llvm/llvm-project/commit/52216349b6faf41351f4bd370439031c416b8f9b
Author: Johannes Reifferscheid <jreiffers at google.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/MathExtras.h
M mlir/lib/IR/AffineExpr.cpp
M mlir/unittests/IR/AffineExprTest.cpp
Log Message:
-----------
Do not trigger UB during AffineExpr parsing. (#96896)
Currently, parsing expressions that are undefined will trigger UB during
compilation (e.g. `9223372036854775807 * 2`). This change instead
leaves the expressions as they were.
This change is an NFC for compilations that did not previously involve
UB.
Commit: db48f1a1764023f8efeb055e343b967d1eb37d19
https://github.com/llvm/llvm-project/commit/db48f1a1764023f8efeb055e343b967d1eb37d19
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCObjectStreamer.h
M llvm/include/llvm/MC/MCStreamer.h
M llvm/lib/MC/MCAsmStreamer.cpp
M llvm/lib/MC/MCELFStreamer.cpp
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/MC/MCParser/AsmParser.cpp
M llvm/lib/MC/MCStreamer.cpp
Log Message:
-----------
[MC] Remove nullable getCurrentSectionOnly use from AsmParser
We will implement getCurrentSectionOnly with `CurFrag->getParent()`,
which is non-null. Eliminate a nullable use.
Commit: 626eef5ecf92e98cbfccfa6134e0a760e7592813
https://github.com/llvm/llvm-project/commit/626eef5ecf92e98cbfccfa6134e0a760e7592813
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCStreamer.h
M llvm/lib/MC/MCELFStreamer.cpp
Log Message:
-----------
[MC] Optimize getCurrentSectionOnly using CurFrag and make it non-nullable
Follow-up to e48c4011ca80385573f1b92793c75dc98abb228f ("[MC] Cache current fragment in MCStreamer").
Prerequisite: a few commits that removed nullable getCurrentSectionOnly calls.
Commit: 133ab9a8c82a31549f060da33fd7e14f1d7f39fd
https://github.com/llvm/llvm-project/commit/133ab9a8c82a31549f060da33fd7e14f1d7f39fd
Author: Luke Lau <luke at igalia.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.ll
Log Message:
-----------
[RISCV] Add test for extending AVL live range across blocks. NFC
This adds a separate test case for an existing issue fixed in #96200,
where we failing to extend the live range of an AVL when inserting a
vsetvli if the AVL was from a different block.
Commit: d58ded4e5b9625cba23a5865822100bfd998972b
https://github.com/llvm/llvm-project/commit/d58ded4e5b9625cba23a5865822100bfd998972b
Author: Kito Cheng <kito.cheng at sifive.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-non-power-of-2.ll
Log Message:
-----------
[RISCV][test] Precommit test for non-power-of-2 VLS type code gen
Commit: 519e0bb094bd9444b64ac62f2e8192543fdb94b9
https://github.com/llvm/llvm-project/commit/519e0bb094bd9444b64ac62f2e8192543fdb94b9
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/PGOCtxProfWriter.h
Log Message:
-----------
[ctx_prof] Type the stream parameter of PGOCtxProfWriter to match BitstreamWriter's
Commit: 9df71d7673b5c98e1032d01be83724a45b42fafc
https://github.com/llvm/llvm-project/commit/9df71d7673b5c98e1032d01be83724a45b42fafc
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/ScalarEvolution.h
M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
M llvm/include/llvm/IR/Function.h
M llvm/include/llvm/IR/GlobalValue.h
M llvm/lib/Analysis/AliasAnalysisEvaluator.cpp
M llvm/lib/Analysis/BasicAliasAnalysis.cpp
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/Analysis/DependenceAnalysis.cpp
M llvm/lib/Analysis/InlineCost.cpp
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/Analysis/LazyValueInfo.cpp
M llvm/lib/Analysis/Lint.cpp
M llvm/lib/Analysis/MemDerefPrinter.cpp
M llvm/lib/Analysis/ObjCARCAliasAnalysis.cpp
M llvm/lib/Analysis/StackLifetime.cpp
M llvm/lib/Analysis/StackSafetyAnalysis.cpp
M llvm/lib/Analysis/TargetTransformInfo.cpp
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/CodeGen/Analysis.cpp
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
M llvm/lib/CodeGen/AtomicExpandPass.cpp
M llvm/lib/CodeGen/BasicTargetTransformInfo.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/ExpandMemCmp.cpp
M llvm/lib/CodeGen/ExpandVectorPredication.cpp
M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
M llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp
M llvm/lib/CodeGen/GlobalISel/LoadStoreOpt.cpp
M llvm/lib/CodeGen/HardwareLoops.cpp
M llvm/lib/CodeGen/IndirectBrExpandPass.cpp
M llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp
M llvm/lib/CodeGen/MachineFunction.cpp
M llvm/lib/CodeGen/SafeStack.cpp
M llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
M llvm/lib/CodeGen/SjLjEHPrepare.cpp
M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
M llvm/lib/CodeGen/TypePromotion.cpp
M llvm/lib/CodeGen/WinEHPrepare.cpp
M llvm/lib/ExecutionEngine/ExecutionEngine.cpp
M llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp
M llvm/lib/ExecutionEngine/Orc/Mangling.cpp
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/IR/DebugInfo.cpp
M llvm/lib/IR/Function.cpp
M llvm/lib/IR/Globals.cpp
M llvm/lib/IR/Mangler.cpp
M llvm/lib/Linker/LinkModules.cpp
M llvm/lib/Object/IRSymtab.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64StackTagging.cpp
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
M llvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp
M llvm/lib/Target/AMDGPU/AMDGPUAliasAnalysis.h
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
M llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
M llvm/lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp
M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
M llvm/lib/Target/AMDGPU/R600TargetTransformInfo.cpp
M llvm/lib/Target/ARC/ARCTargetTransformInfo.h
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/ARM/ARMTargetTransformInfo.h
M llvm/lib/Target/ARM/MVEGatherScatterLowering.cpp
M llvm/lib/Target/BPF/BPFTargetTransformInfo.h
M llvm/lib/Target/BPF/BTFDebug.cpp
M llvm/lib/Target/DirectX/DirectXAsmPrinter.cpp
M llvm/lib/Target/DirectX/DirectXTargetTransformInfo.h
M llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
M llvm/lib/Target/Hexagon/HexagonTargetObjectFile.cpp
M llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h
M llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
M llvm/lib/Target/Lanai/LanaiTargetObjectFile.cpp
M llvm/lib/Target/Lanai/LanaiTargetTransformInfo.h
M llvm/lib/Target/LoongArch/LoongArchTargetTransformInfo.h
M llvm/lib/Target/M68k/GISel/M68kCallLowering.cpp
M llvm/lib/Target/Mips/MipsTargetMachine.cpp
M llvm/lib/Target/Mips/MipsTargetObjectFile.cpp
M llvm/lib/Target/Mips/MipsTargetTransformInfo.h
M llvm/lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp
M llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
M llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.h
M llvm/lib/Target/NVPTX/NVVMReflect.cpp
M llvm/lib/Target/PowerPC/GISel/PPCCallLowering.cpp
M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h
M llvm/lib/Target/RISCV/RISCVCodeGenPrepare.cpp
M llvm/lib/Target/RISCV/RISCVGatherScatterLowering.cpp
M llvm/lib/Target/RISCV/RISCVTargetObjectFile.cpp
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/SPIRV/SPIRVTargetTransformInfo.h
M llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
M llvm/lib/Target/SystemZ/SystemZSubtarget.cpp
M llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h
M llvm/lib/Target/TargetLoweringObjectFile.cpp
M llvm/lib/Target/TargetMachine.cpp
M llvm/lib/Target/VE/VETargetTransformInfo.h
M llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h
M llvm/lib/Target/X86/GISel/X86CallLowering.cpp
M llvm/lib/Target/X86/X86PartialReduction.cpp
M llvm/lib/Target/X86/X86TargetTransformInfo.h
M llvm/lib/Target/XCore/XCoreISelLowering.cpp
M llvm/lib/Target/XCore/XCoreTargetObjectFile.cpp
M llvm/lib/Target/XCore/XCoreTargetTransformInfo.h
M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
M llvm/lib/Transforms/Coroutines/CoroElide.cpp
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
M llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/lib/Transforms/IPO/ConstantMerge.cpp
M llvm/lib/Transforms/IPO/FunctionAttrs.cpp
M llvm/lib/Transforms/IPO/GlobalOpt.cpp
M llvm/lib/Transforms/IPO/GlobalSplit.cpp
M llvm/lib/Transforms/IPO/PartialInlining.cpp
M llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp
M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
M llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
M llvm/lib/Transforms/Scalar/AnnotationRemarks.cpp
M llvm/lib/Transforms/Scalar/ConstantHoisting.cpp
M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
M llvm/lib/Transforms/Scalar/EarlyCSE.cpp
M llvm/lib/Transforms/Scalar/Float2Int.cpp
M llvm/lib/Transforms/Scalar/GVN.cpp
M llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
M llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
M llvm/lib/Transforms/Scalar/InferAlignment.cpp
M llvm/lib/Transforms/Scalar/InstSimplifyPass.cpp
M llvm/lib/Transforms/Scalar/JumpTableToSwitch.cpp
M llvm/lib/Transforms/Scalar/LoopBoundSplit.cpp
M llvm/lib/Transforms/Scalar/LoopFlatten.cpp
M llvm/lib/Transforms/Scalar/LoopFuse.cpp
M llvm/lib/Transforms/Scalar/LowerConstantIntrinsics.cpp
M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
M llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
M llvm/lib/Transforms/Scalar/NaryReassociate.cpp
M llvm/lib/Transforms/Scalar/NewGVN.cpp
M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
M llvm/lib/Transforms/Scalar/SCCP.cpp
M llvm/lib/Transforms/Scalar/SROA.cpp
M llvm/lib/Transforms/Scalar/ScalarizeMaskedMemIntrin.cpp
M llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
M llvm/lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
M llvm/lib/Transforms/Scalar/StructurizeCFG.cpp
M llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp
M llvm/lib/Transforms/Utils/CallPromotionUtils.cpp
M llvm/lib/Transforms/Utils/CloneFunction.cpp
M llvm/lib/Transforms/Utils/DemoteRegToStack.cpp
M llvm/lib/Transforms/Utils/FunctionComparator.cpp
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/lib/Transforms/Utils/LoopConstrainer.cpp
M llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp
M llvm/lib/Transforms/Utils/LowerSwitch.cpp
M llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
M llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/unittests/Transforms/Utils/ScalarEvolutionExpanderTest.cpp
Log Message:
-----------
[IR] Add getDataLayout() helpers to Function and GlobalValue (#96919)
Similar to https://github.com/llvm/llvm-project/pull/96902, this adds
`getDataLayout()` helpers to Function and GlobalValue, replacing the
current `getParent()->getDataLayout()` pattern.
Commit: c931ac5994c4f896f0db03c425924ed38601252a
https://github.com/llvm/llvm-project/commit/c931ac5994c4f896f0db03c425924ed38601252a
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/DomTreeUpdater.h
A llvm/include/llvm/Analysis/GenericDomTreeUpdater.h
M llvm/include/llvm/CodeGen/MachineBasicBlock.h
A llvm/include/llvm/CodeGen/MachineDomTreeUpdater.h
M llvm/lib/Analysis/DomTreeUpdater.cpp
M llvm/lib/CodeGen/CMakeLists.txt
M llvm/lib/CodeGen/MachineBasicBlock.cpp
A llvm/lib/CodeGen/MachineDomTreeUpdater.cpp
M llvm/unittests/CodeGen/CMakeLists.txt
A llvm/unittests/CodeGen/MachineDomTreeUpdaterTest.cpp
Log Message:
-----------
Reapply "[CodeGen] Introduce `MachineDomTreeUpdater`" (#96846) (#96851)
This reverts commit 0f8849349ae3d3f2f537ad6ab233a586fb39d375.
Resolve conflict in `MachinePostDominators.h` There is a conflict after
merging #96378, resolved in #96852. Both PRs modified
`MachinePostDominators.h` and triggered build failure.
Commit: dd0245e3d74955ace14c95d288abf72346ad52e8
https://github.com/llvm/llvm-project/commit/dd0245e3d74955ace14c95d288abf72346ad52e8
Author: AtariDreams <gfunni234 at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
M llvm/test/Transforms/InstCombine/add.ll
Log Message:
-----------
[InstCombine] Relax one-use requirement for add iN (sext i1 X), (sext i1 Y) --> sext (X | Y) to iN (#90509)
Since these remove instructions as long as at least one of X or Y is
one-use, we don't need to check one-use for both.
Commit: 4403ece3c5ddccddab365624a1be7cf595a0e52f
https://github.com/llvm/llvm-project/commit/4403ece3c5ddccddab365624a1be7cf595a0e52f
Author: epitavy <32581827+epitavy at users.noreply.github.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
Log Message:
-----------
[ORC] Do not set CodeModel::Small in LLJITBuilder if JTMB already has a value
(#88115) (#90599)
Closes #88115
Commit: 72055622e9c63f6ddae850e8382ea095effd2008
https://github.com/llvm/llvm-project/commit/72055622e9c63f6ddae850e8382ea095effd2008
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Support/xxhash.cpp
Log Message:
-----------
[Support] Fix xxh3_128bits for Win32 builds after #95863
`__emulu` is used without including `intrin.h`. Actually, it's better to
rely on compiler optimizations. In this LLVM copy, we try to eliminate
unneceeded workarounds for old compilers.
Pull Request: https://github.com/llvm/llvm-project/pull/96931
Commit: 918057c43aed90583eed5fe14450b2d75366b662
https://github.com/llvm/llvm-project/commit/918057c43aed90583eed5fe14450b2d75366b662
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Log Message:
-----------
[lldb/DWARF] Don't start class definitions in ParseStructureLikeDIE (#96755)
Right now, ParseStructureLikeDIE begins the class definition (which
amounts to parsing the opening "{" of a class and promising to be able
to fill it in later) if it finds a definition DIE.
This makes sense in the current setup, where we eagerly search for the
definition die (so that we will either find it in the beginning or don't
find it at all), but with delayed definition searching (#92328), this
created an (in my view, undesirable) inconsistency, where the final
state of the type (whether it has begun its definition) depended on
whether we happened to start out with a definition DIE or not.
This patch attempts to pre-emptively rectify that by establishing a new
invariant: the definition is never started eagerly. It can only be
started in one of two ways:
- we're completing the type, in which case we will start the definition,
parse everything and immediately finish it
- we need to parse a member (typedef, nested class, method) of the class
without needing the definition itself. In this case, we just start the
definition to insert the member we need.
Besides the delayed definition search, I believe this setup has a couple
of other benefits:
- It treats ObjC and C++ classes the same way (we were never starting
the definition of those)
- unifies the handling of types that types that have a definition and
those that do. When adding (e.g.) a nested class we would previously be
going down a different code path depending on whether we've found a
definition DIE for that type. Now, we're always taking the
definition-not-found path (*)
- it reduces the amount of time a class spends in the funny "definition
started". Aside from the addition of stray addition of nested classes,
we always finish the definition right after we start it.
(*) Herein lies a danger, where if we're missing some calls to
PrepareContextToReceiveMembers, we could trigger a crash when
trying to add a member to the not-yet-started-to-be-defined classes.
However, this is something that could happen before as well (if we
did not have a definition for the class), and is something that
would be exacerbated by #92328 (because it could happen even if we
the definition exists, but we haven't found it yet). This way, it
will at least happen consistently, and the fix should consist of
adding a PrepareContextToReceiveMembers in the appropriate place.
Commit: 5db35792dbf4f3d0ee8c425019cc9846102e2e15
https://github.com/llvm/llvm-project/commit/5db35792dbf4f3d0ee8c425019cc9846102e2e15
Author: Nico Weber <thakis at chromium.org>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/clang-tools-extra/clang-doc/tool/BUILD.gn
Log Message:
-----------
[gn] port d7dd778cde84 (share/clang-doc)
Commit: 937d79bc9d089c06ba02db909e28c1076542bd8e
https://github.com/llvm/llvm-project/commit/937d79bc9d089c06ba02db909e28c1076542bd8e
Author: isuckatcs <65320245+isuckatcs at users.noreply.github.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
A llvm/test/CodeGen/AArch64/GlobalISel/combine-fpowi-optsize.ll
A llvm/test/CodeGen/AArch64/GlobalISel/combine-fpowi.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.powi.ll
Log Message:
-----------
[GlobalISel][AArch64][AMDGPU] Expand FPOWI into series of multiplication (#95217)
SelectionDAG already converts FPOWI into a series of optimized multiplications,
this patch introduces the same optimization into GlobalISel.
Commit: 7934fcef26c2e5e7d451bb9c36b5a344b342a015
https://github.com/llvm/llvm-project/commit/7934fcef26c2e5e7d451bb9c36b5a344b342a015
Author: CarolineConcatto <caroline.concatto at arm.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/include/clang/Basic/arm_sme.td
M clang/test/CodeGen/aarch64-sme2p1-intrinsics/acle_sme2p1_movaz.c
A clang/test/Sema/aarch64-sme2p1-intrinsics/acle_sme2p1_imm.cpp
M llvm/include/llvm/IR/IntrinsicsAArch64.td
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
M llvm/lib/Target/AArch64/SMEInstrFormats.td
M llvm/test/CodeGen/AArch64/sme2p1-intrinsics-movaz.ll
Log Message:
-----------
[CLANG][LLVM][AArch64]Add SME2.1 intrinsics for MOVAZ tile to vector,… (#88499)
… single
According to the specification in
ARM-software/acle#309 this adds the intrinsics
// And similarly for u8.
svint8_t svreadz_hor_za8_s8(uint64_t tile, uint32_t slice)
__arm_streaming __arm_inout("za");
// And similarly for u16, bf16 and f16.
svint16_t svreadz_hor_za16_s16(uint64_t tile, uint32_t slice)
__arm_streaming __arm_inout("za");
// And similarly for u32 and f32.
svint32_t svreadz_hor_za32_s32(uint64_t tile, uint32_t slice)
__arm_streaming __arm_inout("za");
// And similarly for u64 and f64.
svint64_t svreadz_hor_za64_s64(uint64_t tile, uint32_t slice)
__arm_streaming __arm_inout("za");
// And similarly for s16, s32, s64, u8, u16, u32, u64, bf16, f16, f32,
f64 svint8_t svreadz_hor_za128_s8(uint64_t tile, uint32_t slice)
__arm_streaming __arm_inout("za");
Commit: 76864e6af134aa240069d42ba15e0b89fd7d6b4c
https://github.com/llvm/llvm-project/commit/76864e6af134aa240069d42ba15e0b89fd7d6b4c
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/include/clang/AST/DeclBase.h
M clang/lib/AST/Decl.cpp
M clang/lib/Sema/SemaLookup.cpp
A clang/test/Modules/forward-friend.cppm
Log Message:
-----------
[C++20] [Modules] Don't find module for linkage for decls in global
module
Possibly fix https://github.com/llvm/llvm-project/issues/96693
The direct reason is that we are calculating the linkage for the
declaration too early so that the linkage got calculated incorrectly.
And after I look into the problem, I found it is completely not
necessary to calculate the linkage there. It is for ModulesTS. So I
simply removes that legacy experimental code and fix the issue.
Commit: 23413169299b872a9d0a9b947c2d27172b5f4cb0
https://github.com/llvm/llvm-project/commit/23413169299b872a9d0a9b947c2d27172b5f4cb0
Author: Balázs Kéri <balazs.keri at ericsson.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/docs/analyzer/checkers.rst
M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
M clang/test/Analysis/analyzer-checker-option-help.c
Log Message:
-----------
[clang][analyzer] Improve documentation of checker 'cplusplus.Move' (NFC) (#96295)
Commit: bb83a3df25a8c46dd586caf26635f5658e7b3316
https://github.com/llvm/llvm-project/commit/bb83a3df25a8c46dd586caf26635f5658e7b3316
Author: Lucas Duarte Prates <lucas.prates at arm.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/include/clang/Frontend/FrontendOptions.h
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChain.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/CodeGen/aarch64-targetattr.c
M clang/test/Driver/aarch64-fp16.c
M clang/test/Driver/aarch64-sve2.c
M clang/test/Driver/aarch64-v81a.c
M clang/test/Driver/aarch64-v82a.c
M clang/test/Driver/aarch64-v83a.c
M clang/test/Driver/aarch64-v84a.c
M clang/test/Driver/aarch64-v85a.c
M clang/test/Driver/aarch64-v86a.c
M clang/test/Driver/aarch64-v87a.c
M clang/test/Driver/aarch64-v88a.c
M clang/test/Driver/aarch64-v89a.c
A clang/test/Driver/aarch64-v8a.c
M clang/test/Driver/aarch64-v91a.c
M clang/test/Driver/aarch64-v92a.c
M clang/test/Driver/aarch64-v93a.c
M clang/test/Driver/aarch64-v94a.c
M clang/test/Driver/aarch64-v95a.c
A clang/test/Driver/aarch64-v9a.c
M clang/test/Driver/print-supported-extensions.c
M clang/test/Preprocessor/aarch64-target-features.c
M clang/tools/driver/cc1_main.cpp
M flang/test/Driver/target-cpu-features.f90
M llvm/include/llvm/MC/MCSubtargetInfo.h
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/MC/MCSubtargetInfo.cpp
M llvm/lib/Target/AArch64/AArch64Features.td
M llvm/lib/TargetParser/AArch64TargetParser.cpp
M llvm/unittests/TargetParser/TargetParserTest.cpp
M llvm/utils/TableGen/ARMTargetDefEmitter.cpp
Log Message:
-----------
Re-land: "[AArch64] Add ability to list extensions enabled for a target" (#95805) (#96795)
This introduces the new `--print-enabled-extensions` command line option
to AArch64, which prints the list of extensions that are enabled for the
target specified by the combination of `--target`/`-march`/`-mcpu`
values.
The goal of the this option is both to enable the manual inspection of
the enabled extensions by users and to enhance the testability of
architecture versions and CPU targets implemented in the compiler.
As part of this change, a new field for `FEAT_*` architecture feature
names was added to the TableGen entries. The output of the existing
`--print-supported-extensions` option was updated accordingly to show
these in a separate column.
Commit: 1130e923e2d7fe046101bf639bc5ebcde194c005
https://github.com/llvm/llvm-project/commit/1130e923e2d7fe046101bf639bc5ebcde194c005
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M lldb/include/lldb/Interpreter/Interfaces/ScriptedThreadPlanInterface.h
M lldb/include/lldb/Interpreter/ScriptInterpreter.h
M lldb/source/Interpreter/ScriptInterpreter.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.h
M lldb/source/Target/ThreadPlanPython.cpp
M lldb/test/API/functionalities/step_scripted/TestStepScripted.py
Log Message:
-----------
[lldb/Interpreter] Discard ScriptedThreadPlan::GetStopDescription return value (#96985)
This patch changes `ScriptedThreadPlan::GetStopDescription` behavior by
discarding its return value since it is optional in the first place (the
user doesn't need to provide a return value in their implementation).
This patch also addresses the test failures in TestStepScripted
following 9a9ec22 and re-enables the tests that were XFAIL'd previously.
The issue here was that the `Stream*` that's passed to
`ThreadPlanPython::GetDescription` wasn't being passed by reference to
the python method so it was never updated to reflect how the python
method interacted with it.
This patch solves this issue by making a temporary `StreamSP` that will
be passed to the python method by reference, after what we will copy its
content to the caller `Stream` pointer argument.
---------
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: b22ea2dc1e065f14a88df44e22a62427965a9b05
https://github.com/llvm/llvm-project/commit/b22ea2dc1e065f14a88df44e22a62427965a9b05
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M lldb/source/Utility/Broadcaster.cpp
Log Message:
-----------
[lldb] Use SmallVector::erase correctly
erase() invalidates the iterator, we must use the returned iterator to
continue iterating.
This does not actually make a difference with the current implementation
of SmallVector (erase will effectively return the same pointer), but it
avoids future confusion.
Commit: e3796291abd83012762c832ec37ac4ecd9aba5ad
https://github.com/llvm/llvm-project/commit/e3796291abd83012762c832ec37ac4ecd9aba5ad
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/lib/AST/ASTDumper.cpp
Log Message:
-----------
[clang][NFC] Use provided stream in APValue::dump()
I assume this is a copy/paste error.
Commit: 11456944d481b5d1b139e346ea7992c0b692781a
https://github.com/llvm/llvm-project/commit/11456944d481b5d1b139e346ea7992c0b692781a
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/exact.ll
Log Message:
-----------
[InstCombine] Add tests for folding `(mul (div exact X, C0), C1)`; NFC
Commit: afa3d58ee2224f1037116f4cab44a23bd232a416
https://github.com/llvm/llvm-project/commit/afa3d58ee2224f1037116f4cab44a23bd232a416
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
M llvm/test/Transforms/InstCombine/exact.ll
Log Message:
-----------
[InstCombine] Fold `(mul (div exact X, C0), C1)` -> `(div exact X, C0/C1)`
We can do this if `C0 % C1 == 0` and if we avoid UB in the signed
case.
Proofs: https://alive2.llvm.org/ce/z/HHWHDg
Closes #96915
Commit: c50ef30cce32b8e864b90a4ca27c68882d46a19c
https://github.com/llvm/llvm-project/commit/c50ef30cce32b8e864b90a4ca27c68882d46a19c
Author: Joshua Batista <jbatista at microsoft.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/include/clang/Parse/Parser.h
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Parse/ParseHLSL.cpp
M clang/lib/Sema/SemaHLSL.cpp
A clang/test/ParserHLSL/bitfields.hlsl
A clang/test/ParserHLSL/hlsl_annotations_on_struct_members.hlsl
M clang/test/SemaHLSL/Semantics/invalid_entry_parameter.hlsl
M clang/test/SemaHLSL/resource_binding_attr_error.hlsl
Log Message:
-----------
[ParserHLSL] Attempt to parse HLSL annotations on Field Decls. (#96346)
`MaybeParseHLSLAnnotations` should be run on Field Decls instead of just
assuming that any colon after a field decl is a bitfield. In the case
that HLSL is the language, the code after the colon may be an
annotation. This PR gives the parser a chance to parse the subsequent
text as if it was an HLSL annotation.
The burden of parsing is now on the HLSL parser, but the actual work
needs to be done in handling every case of an hlsl annotation on a field
decl. SV_DispatchThreadID was straightforward enough to implement in
this PR, and tests have been added that the annotation appears as an
attribute in the AST.
Previously, the `hlsl_annotations_on_struct_members.hlsl` test would
result in an error shown below on the line that declares variable `a` in
struct Eg9:
error: use of undeclared identifier
'SV_DispatchThreadID'
This is because the annotation is parsed as if it was a c++ bit field,
and an identifier
that represents an integer is expected, but not found.
This test ensures that hlsl annotations are parsed when parsing struct
decls.
This test not only ensures we make progress by moving the validation
error from the realm of
C++ and expecting bitfields, to HLSL and a specialized error for the
recognized annotation, but also
validates that the parser does parse the annotation and adds an
attribute to the field decl in the AST.
Fixes https://github.com/llvm/llvm-project/issues/57889
Commit: 6334d0af3b235e1b1f003519245393a7d8ee4d9a
https://github.com/llvm/llvm-project/commit/6334d0af3b235e1b1f003519245393a7d8ee4d9a
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
A llvm/test/Analysis/LoopAccessAnalysis/pr96656.ll
A llvm/test/Transforms/LoopVersioning/pr96656.ll
Log Message:
-----------
LAA, LVer: add pre-commit tests for #96656 (#96925)
The issue is in LoopAccessAnalysis, but the regression was seen in the
user LoopVersioning. Hence, add pre-commit tests for both, in
preparation to fix the issue in LoopAccessAnalysis.
Commit: 7c181955637197f7a1b37b00d271254f85f66d85
https://github.com/llvm/llvm-project/commit/7c181955637197f7a1b37b00d271254f85f66d85
Author: Rin Dobrescu <irina.dobrescu at arm.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64SchedNeoverseV2.td
M llvm/test/tools/llvm-mca/AArch64/Neoverse/V2-basic-instructions.s
Log Message:
-----------
[AArch64] Add flag setting instructions to scheduling model. (#96880)
Some flag setting instructions (such as ANDS, ADDS, CCMN) were missing
from the V2 scheduling model. This patch adds them in.
Commit: e8c79fbacfad9ca070eac9492582cf52ad01bdd2
https://github.com/llvm/llvm-project/commit/e8c79fbacfad9ca070eac9492582cf52ad01bdd2
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
A llvm/test/Transforms/InstCombine/X86/x86-pmaddubsw.ll
A llvm/test/Transforms/InstCombine/X86/x86-pmaddwd.ll
Log Message:
-----------
[InstCombine][X86] Add tests for special case, constant folding and demanded elts handling for PMADDWD/PMADDUBSW intrinsics
Commit: 28d142a485fe51acf525f315b714085bc62146a0
https://github.com/llvm/llvm-project/commit/28d142a485fe51acf525f315b714085bc62146a0
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/flat-atomic-fadd.v2f16.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/global-atomic-fadd.v2f16-no-rtn.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/global-atomic-fadd.v2f16-rtn.ll
Log Message:
-----------
AMDGPU/GlobalISel: Make pk f16 atomicrmw fadd legal for gfx908
The subtarget features for these are a bit of a mess; the no return
version should probably be implied by the with-return feature.
Commit: e1751a1087ce6058369e73d46184e844eaa3e3f3
https://github.com/llvm/llvm-project/commit/e1751a1087ce6058369e73d46184e844eaa3e3f3
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
M llvm/test/Transforms/InstCombine/X86/x86-pmaddubsw.ll
M llvm/test/Transforms/InstCombine/X86/x86-pmaddwd.ll
Log Message:
-----------
[InstCombine][X86] simplifyDemandedVectorEltsIntrinsic - add handling for PMADDWD/PMADDUBSW intrinsics
Commit: 9de14e24443046f5df39dad864af0bcdd85b53e0
https://github.com/llvm/llvm-project/commit/9de14e24443046f5df39dad864af0bcdd85b53e0
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
M llvm/test/Transforms/InstCombine/X86/x86-pmaddubsw.ll
M llvm/test/Transforms/InstCombine/X86/x86-pmaddwd.ll
Log Message:
-----------
[InstCombine][X86] Add zero arg handling for PMADDWD/PMADDUBSW intrinsics
PMADDWD/PMADDUBSW - multiply by zero folds
Initial setup to handle future PMADDWD/PMADDUBSW simplification / constant folding
Commit: d23959b2f59438829975107e175b4bd34744477d
https://github.com/llvm/llvm-project/commit/d23959b2f59438829975107e175b4bd34744477d
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/ScalarEvolution.h
M llvm/lib/Analysis/ScalarEvolution.cpp
Log Message:
-----------
[SCEV] Cache DataLayout in class (NFC)
PR #96919 caused a minor compile-time regression, mostly because
SCEV now goes through an extra out-of-line function to fetch the
data layout, and does this a lot. Cache the DataLayout in SCEV
to avoid these repeated calls.
Commit: 66caf01dbf17b3430a1e2b148fc4660bc58a5f78
https://github.com/llvm/llvm-project/commit/66caf01dbf17b3430a1e2b148fc4660bc58a5f78
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/X86/x86-pmaddubsw.ll
M llvm/test/Transforms/InstCombine/X86/x86-pmaddwd.ll
Log Message:
-----------
[InstCombine][X86] Add commuted undef arg tests for PMADDWD/PMADDUBSW intrinsics
Commit: f1faba25433c971f024dd8a29da14020246e89ec
https://github.com/llvm/llvm-project/commit/f1faba25433c971f024dd8a29da14020246e89ec
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
M llvm/test/Transforms/InstCombine/X86/x86-pmaddubsw.ll
M llvm/test/Transforms/InstCombine/X86/x86-pmaddwd.ll
Log Message:
-----------
[InstCombine][X86] Add constant folding for PMADDWD/PMADDUBSW intrinsics
Commit: c78b6fdf4602e9d43270581a9a5eeb1fd15c4f8d
https://github.com/llvm/llvm-project/commit/c78b6fdf4602e9d43270581a9a5eeb1fd15c4f8d
Author: Nico Weber <thakis at chromium.org>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/tools/lldb-test/BUILD.gn
Log Message:
-----------
[gn] build lldb-test with dead code stripping
Needed as a workaround for
https://github.com/llvm/llvm-project/pull/96985#pullrequestreview-2147599208
Hopefully this will be resolved soon and we can remove this again.
Commit: a7cddd4818ff148eb8b1c4d94cccbbb213f9a0f4
https://github.com/llvm/llvm-project/commit/a7cddd4818ff148eb8b1c4d94cccbbb213f9a0f4
Author: Nico Weber <thakis at chromium.org>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/tools/lldb-server/BUILD.gn
Log Message:
-----------
[gn] build lldb-server with dead code stripping too
Needed as a workaround for
https://github.com/llvm/llvm-project/pull/96985#pullrequestreview-2147599208
Hopefully this will be resolved soon and we can remove this again.
Commit: d893ed78718e25a982dcba9cdba2d78212b79353
https://github.com/llvm/llvm-project/commit/d893ed78718e25a982dcba9cdba2d78212b79353
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
M llvm/test/Transforms/InstCombine/X86/x86-pmaddubsw.ll
M llvm/test/Transforms/InstCombine/X86/x86-pmaddwd.ll
Log Message:
-----------
[InstCombine][X86] Add undef arg handling for PMADDWD/PMADDUBSW intrinsics
These fold to zero, not undef, as the other arg could still be zero.
Commit: a2e3af5d581547d3ea53e5383d6f7f1cab45120a
https://github.com/llvm/llvm-project/commit/a2e3af5d581547d3ea53e5383d6f7f1cab45120a
Author: Nico Weber <thakis at chromium.org>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M lldb/include/lldb/Interpreter/Interfaces/ScriptedThreadPlanInterface.h
M lldb/include/lldb/Interpreter/ScriptInterpreter.h
M lldb/source/Interpreter/ScriptInterpreter.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.h
M lldb/source/Target/ThreadPlanPython.cpp
M lldb/test/API/functionalities/step_scripted/TestStepScripted.py
Log Message:
-----------
Revert "[lldb/Interpreter] Discard ScriptedThreadPlan::GetStopDescription return value (#96985)"
This reverts commit 1130e923e2d7fe046101bf639bc5ebcde194c005.
Very likely causes build problems on Windows and with LLVM_NO_DEAD_STRIP=ON,
see https://github.com/llvm/llvm-project/pull/96985#pullrequestreview-2147599208
Commit: d248abaf2c0b494ea83279ff38df637c92c441f7
https://github.com/llvm/llvm-project/commit/d248abaf2c0b494ea83279ff38df637c92c441f7
Author: Nico Weber <thakis at chromium.org>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/tools/lldb-server/BUILD.gn
Log Message:
-----------
Revert "[gn] build lldb-server with dead code stripping too"
This reverts commit a7cddd4818ff148eb8b1c4d94cccbbb213f9a0f4.
Reverting the lldb commit.
Commit: e573a4844a3f8521c7a11a4dd5e609d3217a7be4
https://github.com/llvm/llvm-project/commit/e573a4844a3f8521c7a11a4dd5e609d3217a7be4
Author: Nico Weber <thakis at chromium.org>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/tools/lldb-test/BUILD.gn
Log Message:
-----------
Revert "[gn] build lldb-test with dead code stripping"
This reverts commit c78b6fdf4602e9d43270581a9a5eeb1fd15c4f8d.
Reverting the lldb commit.
Commit: 28944dbb2a0d4e017097768c4c40a49456a61494
https://github.com/llvm/llvm-project/commit/28944dbb2a0d4e017097768c4c40a49456a61494
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[bazel] Add missing dependencies for e34dbb127af0596d07d01b9fa6cab5b2488ff37b
Commit: 8ecef3d994430f445501c2516095dd785644b952
https://github.com/llvm/llvm-project/commit/8ecef3d994430f445501c2516095dd785644b952
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/unittests/MC/AMDGPU/BUILD.gn
Log Message:
-----------
[gn build] Port 17eaa23f7ecd
Commit: c68952efe79d883f40c80b353a62521e9aa7646d
https://github.com/llvm/llvm-project/commit/c68952efe79d883f40c80b353a62521e9aa7646d
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/unittests/CodeGen/GlobalISel/BUILD.gn
Log Message:
-----------
[gn build] Port 1ff05876fb68
Commit: bb2853e09b0c0b911ed6c41766076cba67e06e35
https://github.com/llvm/llvm-project/commit/bb2853e09b0c0b911ed6c41766076cba67e06e35
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/bolt/lib/Core/BUILD.gn
M llvm/utils/gn/secondary/bolt/lib/Passes/BUILD.gn
Log Message:
-----------
[gn build] Port 2430a354bfb9
Commit: 99b61da3cba5bc7ff053adb1b912508d57793ce3
https://github.com/llvm/llvm-project/commit/99b61da3cba5bc7ff053adb1b912508d57793ce3
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn
Log Message:
-----------
[gn build] Port 468d668c5c40
Commit: 012f6cb4040a43f6d778ca75936439778bc5195c
https://github.com/llvm/llvm-project/commit/012f6cb4040a43f6d778ca75936439778bc5195c
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
Log Message:
-----------
[gn build] Port 8a43dc3efdd9
Commit: 9138c2c2d4b4e24b8b7a648a3108e714515b4fd4
https://github.com/llvm/llvm-project/commit/9138c2c2d4b4e24b8b7a648a3108e714515b4fd4
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn
Log Message:
-----------
[gn build] Port b515d9ea1e43
Commit: 1be515b87430ed09ce65384dc8aa80bc560c27d2
https://github.com/llvm/llvm-project/commit/1be515b87430ed09ce65384dc8aa80bc560c27d2
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/CodeGen/BUILD.gn
Log Message:
-----------
[gn build] Port c931ac5994c4
Commit: 7f68675f64e0aa0aa014e538d145c650034ebae2
https://github.com/llvm/llvm-project/commit/7f68675f64e0aa0aa014e538d145c650034ebae2
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M libc/src/__support/high_precision_decimal.h
M libc/test/src/__support/math_extras_test.cpp
Log Message:
-----------
[libc] Fix compilation error on targets without 128-bit int types (#97039)
See Buildbot failures:
- https://lab.llvm.org/buildbot/#/builders/11/builds/743
- https://lab.llvm.org/buildbot/#/builders/182/builds/362
Commit: 7878d9c0363528c44effe55aae2843fbabb6dd0e
https://github.com/llvm/llvm-project/commit/7878d9c0363528c44effe55aae2843fbabb6dd0e
Author: Nico Weber <thakis at chromium.org>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang-tools-extra/clangd/index/remote/Client.h
Log Message:
-----------
[clangd] Replace an include with a forward declaration
The real Client.cpp and other users of Client.h (ClangdMain.cpp, Dexp.cpp)
already include index/Index.h, so no effect there.
And UnimplementedClient.cpp only returns `nullptr` and doesn't need
to know the full type.
Makes it possible to compile UnimplementedClient.cpp without having
to wait for clang's tblgen code generators.
No behavior change.
Commit: 69c99ad7e84b075bbafc541a2e4397e18975391d
https://github.com/llvm/llvm-project/commit/69c99ad7e84b075bbafc541a2e4397e18975391d
Author: Nico Weber <thakis at chromium.org>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang-tools-extra/clangd/index/remote/Client.h
Log Message:
-----------
[clangd] Fix build on linux after 7878d9c036352
Commit: 6c5b62b846ec327dd8e78d4c365b3059a298c019
https://github.com/llvm/llvm-project/commit/6c5b62b846ec327dd8e78d4c365b3059a298c019
Author: Nathan Sidwell <nathan at acm.org>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M bolt/include/bolt/Core/MCPlusBuilder.h
M bolt/lib/Core/BinaryFunction.cpp
M bolt/lib/Passes/Instrumentation.cpp
M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
Log Message:
-----------
[BOLT][NFC] Separate isReversibleBranch's 2 semantics (#95572)
`isUnsupportedBranch` was renamed (and inverted) to `isReversibleBranch`, as that was how it was being used. But one use in `BinaryFunction::disassemble` was using the original meaning to detect unsupported branches, and the `isUnsupportedBranch` had 2 separate semantic checks.
Move the unsupported branch check from `isReversibleBranch` to a new entry point: `isUnsupportedInstruction`. Call that from `BinaryFunction::disassemble`.
Move the dynamic branch check from X86's isReversibleBranch to the base class, as it is not an architecture-specific check.
Remove unnecessary `isReversibleBranch` calls from Instrumentation and X86 MCPlusBuilder.
Commit: e5094baf96d593e304d8240e72475f0d5edeb32e
https://github.com/llvm/llvm-project/commit/e5094baf96d593e304d8240e72475f0d5edeb32e
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/DomTreeUpdater.h
M llvm/include/llvm/Analysis/GenericDomTreeUpdater.h
A llvm/include/llvm/Analysis/GenericDomTreeUpdaterImpl.h
M llvm/include/llvm/CodeGen/MachineDomTreeUpdater.h
M llvm/lib/Analysis/DomTreeUpdater.cpp
M llvm/lib/CodeGen/MachineDomTreeUpdater.cpp
Log Message:
-----------
[DomTreeUpdater] Split implementations (#97027)
Move implementations of `GenericDomTreeUpdater` to
GenericDomTreeUpdaterImpl.h
Commit: f447597b4511c3f8e657c597aa490a844c3e7c22
https://github.com/llvm/llvm-project/commit/f447597b4511c3f8e657c597aa490a844c3e7c22
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/combine-pmadd.ll
Log Message:
-----------
[X86] Convert PMADDWD constant folding tests to whole vector tests to check all the results
Commit: 17c567b095ab749b59d311ec9d8cd2bae584ac0b
https://github.com/llvm/llvm-project/commit/17c567b095ab749b59d311ec9d8cd2bae584ac0b
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/combine-pmadd.ll
Log Message:
-----------
[X86] combineVPMADD - add constant folding support for PMADDWD/PMADDUBSW instructions
Commit: 4169338e75cdce73d34063532db598c95ee82ae4
https://github.com/llvm/llvm-project/commit/4169338e75cdce73d34063532db598c95ee82ae4
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/lib/Interpreter/DeviceOffload.cpp
M llvm/include/llvm/Analysis/TargetTransformInfo.h
M llvm/include/llvm/Analysis/VectorUtils.h
M llvm/include/llvm/IR/Analysis.h
M llvm/include/llvm/Transforms/IPO/Attributor.h
M llvm/include/llvm/Transforms/Utils/Debugify.h
M llvm/lib/Analysis/CallPrinter.cpp
M llvm/lib/Analysis/InlineAdvisor.cpp
M llvm/lib/Analysis/LazyValueInfo.cpp
M llvm/lib/Analysis/LoopInfo.cpp
M llvm/lib/Analysis/LoopPass.cpp
M llvm/lib/Analysis/MLInlineAdvisor.cpp
M llvm/lib/Analysis/StructuralHash.cpp
M llvm/lib/Analysis/TargetLibraryInfo.cpp
M llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
M llvm/lib/CodeGen/AsmPrinter/AIXException.cpp
M llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
M llvm/lib/CodeGen/AsmPrinter/WinCFGuard.cpp
M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
M llvm/lib/CodeGen/CFGuardLongjmp.cpp
M llvm/lib/CodeGen/EHContGuardCatchret.cpp
M llvm/lib/CodeGen/GCMetadata.cpp
M llvm/lib/CodeGen/KCFI.cpp
M llvm/lib/CodeGen/MachineCheckDebugify.cpp
M llvm/lib/CodeGen/MachineFunctionPass.cpp
M llvm/lib/CodeGen/MachineModuleSlotTracker.cpp
M llvm/lib/CodeGen/RegAllocBase.cpp
M llvm/lib/CodeGen/RegAllocEvictionAdvisor.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
M llvm/lib/CodeGen/WinEHPrepare.cpp
M llvm/lib/ExecutionEngine/Orc/JITTargetMachineBuilder.cpp
M llvm/lib/IR/PassManager.cpp
M llvm/lib/LTO/UpdateCompilerUsed.cpp
M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
M llvm/lib/Target/AArch64/AArch64FastISel.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
M llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp
M llvm/lib/Target/AMDGPU/AMDGPUAliasAnalysis.h
M llvm/lib/Target/AMDGPU/AMDGPUMachineModuleInfo.cpp
M llvm/lib/Target/AMDGPU/R600OpenCLImageTypeLoweringPass.cpp
M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
M llvm/lib/Target/ARM/ARMInstrInfo.cpp
M llvm/lib/Target/ARM/ARMMachineFunctionInfo.cpp
M llvm/lib/Target/ARM/Thumb1InstrInfo.cpp
M llvm/lib/Target/ARM/Thumb2InstrInfo.cpp
M llvm/lib/Target/AVR/AVRAsmPrinter.cpp
M llvm/lib/Target/BPF/BPFAsmPrinter.cpp
M llvm/lib/Target/BPF/BPFMISimplifyPatchable.cpp
M llvm/lib/Target/BPF/BTFDebug.cpp
M llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
M llvm/lib/Target/Mips/MipsAsmPrinter.cpp
M llvm/lib/Target/Mips/MipsISelLowering.cpp
M llvm/lib/Target/PowerPC/PPCMCInstLower.cpp
M llvm/lib/Target/PowerPC/PPCSubtarget.cpp
M llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
M llvm/lib/Target/RISCV/RISCVTargetObjectFile.cpp
M llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
M llvm/lib/Target/Target.cpp
M llvm/lib/Target/TargetMachine.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyMCLowerPrePass.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
M llvm/lib/Target/X86/X86FrameLowering.cpp
M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
M llvm/lib/Target/X86/X86IndirectBranchTracking.cpp
M llvm/lib/Target/X86/X86InsertPrefetch.cpp
M llvm/lib/Target/X86/X86InstrInfo.cpp
M llvm/lib/Target/X86/X86PreTileConfig.cpp
M llvm/lib/Target/X86/X86ReturnThunks.cpp
M llvm/lib/Target/X86/X86Subtarget.cpp
M llvm/lib/Transforms/IPO/CalledValuePropagation.cpp
M llvm/lib/Transforms/Instrumentation/LowerAllowCheckPass.cpp
M llvm/lib/Transforms/Instrumentation/PGOForceFunctionAttrs.cpp
M llvm/lib/Transforms/Scalar/ConstantHoisting.cpp
M llvm/lib/Transforms/Scalar/MakeGuardsExplicit.cpp
M llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
M llvm/lib/Transforms/Utils/CanonicalizeAliases.cpp
M llvm/lib/Transforms/Utils/DemoteRegToStack.cpp
M llvm/lib/Transforms/Utils/LowerGlobalDtors.cpp
M llvm/unittests/Analysis/AssumeBundleQueriesTest.cpp
M llvm/unittests/Analysis/DDGTest.cpp
M llvm/unittests/Analysis/GlobalsModRefTest.cpp
M llvm/unittests/Analysis/IVDescriptorsTest.cpp
M llvm/unittests/Analysis/LoopInfoTest.cpp
M llvm/unittests/Analysis/LoopNestTest.cpp
M llvm/unittests/CodeGen/AArch64SelectionDAGTest.cpp
M llvm/unittests/CodeGen/AMDGPUMetadataTest.cpp
M llvm/unittests/CodeGen/MLRegAllocDevelopmentFeatures.cpp
M llvm/unittests/CodeGen/SelectionDAGAddressAnalysisTest.cpp
M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp
M llvm/unittests/MI/LiveIntervalTest.cpp
M llvm/unittests/MIR/MachineMetadata.cpp
M llvm/unittests/Target/AArch64/InstSizes.cpp
M llvm/unittests/Target/ARM/InstSizes.cpp
M llvm/unittests/Target/LoongArch/InstSizes.cpp
M llvm/unittests/Target/RISCV/RISCVInstrInfoTest.cpp
M llvm/unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp
M llvm/unittests/Target/X86/MachineSizeOptsTest.cpp
M llvm/unittests/Transforms/Utils/BasicBlockUtilsTest.cpp
M llvm/unittests/Transforms/Utils/LoopRotationUtilsTest.cpp
M llvm/unittests/Transforms/Utils/LoopUtilsTest.cpp
M llvm/unittests/Transforms/Utils/UnrollLoopTest.cpp
M polly/lib/Analysis/ScopBuilder.cpp
M polly/lib/Support/SCEVAffinator.cpp
M polly/lib/Transform/DeLICM.cpp
Log Message:
-----------
[IR] Don't include Module.h in Analysis.h (NFC) (#97023)
Replace it with a forward declaration instead. Analysis.h is pulled in
by all passes, but not all passes need to access the module.
Commit: 7ef08eacd5e125eca0881c00f83c4b108ba7c502
https://github.com/llvm/llvm-project/commit/7ef08eacd5e125eca0881c00f83c4b108ba7c502
Author: Yun-Fly <yunfei.song at intel.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/SCF/Transforms/TileUsingInterface.h
M mlir/include/mlir/Interfaces/TilingInterface.td
M mlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp
M mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
M mlir/test/Interfaces/TilingInterface/tile-fuse-and-yield-using-interface.mlir
Log Message:
-----------
[mlir][scf] Extend option to yield replacement for multiple results case (#93144)
This patch extends the functionality of yielding replacement for multiple
results case and adds another optional argument called `yieldResultNumber`
indicating which result(s) need yield. If not given, all of results will be yield
by default.
Commit: 08892cc07da9faf4c0e1efa966025936c952211b
https://github.com/llvm/llvm-project/commit/08892cc07da9faf4c0e1efa966025936c952211b
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaOpenMP.cpp
Log Message:
-----------
[clang][OpenMP] Simplify handling of `if` clause (#96936)
Get the allowed name modifiers from the list of constituent leaf
directives.
Commit: 9c95617c796f1cd178eaf3001bce543b8acee32f
https://github.com/llvm/llvm-project/commit/9c95617c796f1cd178eaf3001bce543b8acee32f
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M lldb/test/API/commands/expression/call-restarts/TestCallThatRestarts.py
M lldb/test/API/functionalities/load_lazy/TestLoadUsingLazyBind.py
M lldb/test/API/functionalities/load_unload/TestLoadUnload.py
M lldb/test/API/functionalities/load_using_paths/TestLoadUsingPaths.py
M lldb/test/API/functionalities/location-list-lookup/TestLocationListLookup.py
M lldb/test/API/functionalities/signal/TestSendSignal.py
Log Message:
-----------
[lldb][test][NFC] Remove BOM characters from tests (#97045)
These handful of tests had a BOM (Byte order mark) at the beginning of
the file. This marker is unnecessary in our test files. The main
motivation for this is that the `ast` python module breaks when passing
a file to it with a BOM marker (and might break other tooling which
doesn't expect it). E.g.,:
```
"""Test that lldb command 'process signal SIGUSR1' to send a signal to the inferior works."""
^
SyntaxError: invalid non-printable character U+FEFF
```
If anyone is aware of a good reason to keep it, happy to drop this.
Commit: 1e01e0c19ace6c9b165ee0cbbcd24ab55d27d8e0
https://github.com/llvm/llvm-project/commit/1e01e0c19ace6c9b165ee0cbbcd24ab55d27d8e0
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M lldb/test/API/commands/watchpoints/watchpoint_commands/condition/TestWatchpointConditionCmd.py
Log Message:
-----------
[lldb][test][NFC] TestWatchpointConditionCmd.py: remove BOM character
Missed this file in https://github.com/llvm/llvm-project/pull/97045
Commit: 0606c64da8b73768aded766b11e37fd77365e39d
https://github.com/llvm/llvm-project/commit/0606c64da8b73768aded766b11e37fd77365e39d
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/MLRegAllocPriorityAdvisor.cpp
Log Message:
-----------
[MLRegAllocPriorityAdvisor] Add missing include
Commit: 46e848a23b212204b01abdc898a53b553d9a57c0
https://github.com/llvm/llvm-project/commit/46e848a23b212204b01abdc898a53b553d9a57c0
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M lldb/test/API/lang/cpp/alignas_base_class/TestAlignAsBaseClass.py
M lldb/test/API/lang/cpp/alignas_base_class/main.cpp
A lldb/test/Shell/SymbolFile/DWARF/no_unique_address-alignment.cpp
A lldb/test/Shell/SymbolFile/DWARF/packed.cpp
Log Message:
-----------
[lldb][test] Add test-cases for packed/aligned structures (#96932)
Adds test that checks whether LLDB correctly infers the
alignment of packed structures. Specifically, the
`InferAlignment` code-path of the `ItaniumRecordLayoutBuilder`
where it assumes that overlapping field offsets imply a
packed structure and thus sets alignment to `1`. See discussion
in https://github.com/llvm/llvm-project/pull/93809.
While here, also added a test-case where we check alignment of
a class whose base has an explicit `DW_AT_alignment
(those don't get transitively propagated in DWARF, but don't seem
like a problem for LLDB).
Lastly, also added an XFAIL-ed tests where the aforementioned
`InferAlignment` kicks in for overlapping fields (but in this
case incorrectly since the structure isn't actually packed).
Commit: 7ae4b8e99fd845af745ccb1bb5d4cd26c6cee23b
https://github.com/llvm/llvm-project/commit/7ae4b8e99fd845af745ccb1bb5d4cd26c6cee23b
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/test/tools/llvm-dwp/X86/empty_warning.s
Log Message:
-----------
[llvm-dwp] Avoid writing to source directory in test
Commit: e69794323338c5279011e6f01c12254da8dff10d
https://github.com/llvm/llvm-project/commit/e69794323338c5279011e6f01c12254da8dff10d
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp
M clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.h
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/readability/simplify-boolean-expr.cpp
Log Message:
-----------
[clang-tidy] improve messages when auto-fix does not work (#96917)
Fixes: #93157
Commit: 5997ebdb4feae22e83ec23cc9ee14e3eb7a39e10
https://github.com/llvm/llvm-project/commit/5997ebdb4feae22e83ec23cc9ee14e3eb7a39e10
Author: Balazs Benics <benicsbalazs at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
Log Message:
-----------
[analyzer][NFC] Use ArrayRef for input parameters (#93203)
Fixes #79684
Commit: 5e1de27f680591a870d78e9952b23f76aed7f456
https://github.com/llvm/llvm-project/commit/5e1de27f680591a870d78e9952b23f76aed7f456
Author: James Y Knight <jyknight at google.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M libcxx/include/__utility/pair.h
Log Message:
-----------
Revert "[libc++][NFC] Simplify pair a bit" (#97003)
Reverts llvm/llvm-project#96165
The change broke code like
#include <utility>
#include <vector>
struct Test {
std::vector<std::pair<int, Test>> v;
};
std::pair<int, Test> p;
under `-std=c++20`, apparently by triggering certain template
evaluations too eagerly.
Commit: aca71efefe3d5907a1128566540d386d2aea8aa9
https://github.com/llvm/llvm-project/commit/aca71efefe3d5907a1128566540d386d2aea8aa9
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/DomTreeUpdater.h
M llvm/include/llvm/Analysis/GenericDomTreeUpdater.h
M llvm/include/llvm/CodeGen/MachineDomTreeUpdater.h
Log Message:
-----------
[DomTreeUpdater] Move flushing back into the derived classes
Calling a derived method from a base class destructor leaves you in a
half-destroyed state. Sanitizers complain about that.
Commit: b0f20f214ab43c800130e0d249e8ee2459b906ea
https://github.com/llvm/llvm-project/commit/b0f20f214ab43c800130e0d249e8ee2459b906ea
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/pr81136.ll
Log Message:
-----------
[X86] combineVectorCompare - add constant folding support for PCMPEQ/PCMPGT instructions
Commit: f425db8732770c8abe1f18f7b3606a4aba45b7d8
https://github.com/llvm/llvm-project/commit/f425db8732770c8abe1f18f7b3606a4aba45b7d8
Author: Alex Voicu <alexandru.voicu at amd.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/docs/HIPSupport.rst
Log Message:
-----------
[clang][docs] Add preliminary documentation for SPIR-V support in the HIPAMD ToolChain (#96657)
This is mostly stealing from #75357, and updating it to reflect the
pivot towards AMDGCN flavoured SPIR-V and the slightly different set of
limitations. As we bring up more functionality it will be updated
accordingly. With thanks to @yxsamliu.
Commit: 66f55a7f483deb05ce3067a2565c381daf1d0f52
https://github.com/llvm/llvm-project/commit/66f55a7f483deb05ce3067a2565c381daf1d0f52
Author: Michael Klemm <michael.klemm at amd.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
A flang/test/Driver/print-resource-dir.F90
Log Message:
-----------
[Flang] Re-enable -print-resource-dir compiler option (#96799)
This PR re-enables the command line option `-print-resources-dir` after
PR #96557 has reverted the changes made.
The way this works now, is that it simply prints the current resource
dir, which points to clang/$version.
Commit: 5b89aaab00ab3fb7f7ed7c3b38da34ba25eee235
https://github.com/llvm/llvm-project/commit/5b89aaab00ab3fb7f7ed7c3b38da34ba25eee235
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/bitcast-int-to-vector-bool-sext.ll
M llvm/test/CodeGen/X86/bitcast-int-to-vector-bool-zext.ll
M llvm/test/CodeGen/X86/cmpf-avx.ll
M llvm/test/CodeGen/X86/vector-popcnt-256-ult-ugt.ll
M llvm/test/CodeGen/X86/vector-sext.ll
M llvm/test/CodeGen/X86/vector-unsigned-cmp.ll
Log Message:
-----------
[X86] Fold concat(PCMP*(),PCMP*()) -> CMPPS(concat,concat) on AVX1 targets (#95915)
This is a more restricted solution to #82242 (vs the more general #82290 + #84360) whereby if we're concat'ing PCMPEQ/GT nodes to 256-bits on a AVX1 target then determine if the integer values are in bounds to allow them to be converted to FP for a (legal) float comparison.
By performing this inside combineConcatVectorOps and working on PCMPEQ/GT nodes and not ICMP, we delay the fold until after more lowering has occurred, which avoids many of the issues where we were getting 'stuck' with CMPPS or unnecessary 256-bit nodes, and can more easily determine if either of the new concats() will be free.
Additionally this patch requires BOTH comparison operands to be in range, while technically not required this does help avoid the remaining regressions. It doesn't require that one of the operands is constant as it didn't seem necessary to include that constraint.
I've reused some of the code from #82290, and we may be able to add additional functionality (more CondCode patterns, v4i64/v4f64 handling, 'bitcastable' integers etc.) in future patches.
Fixes #82242
Commit: a139f8480f200a673e184b1a7d1907a3e16cca56
https://github.com/llvm/llvm-project/commit/a139f8480f200a673e184b1a7d1907a3e16cca56
Author: Zhikai Zeng <backlight.zzk at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaOverload.cpp
A clang/test/SemaCXX/lambda-call.cpp
Log Message:
-----------
[Clang][Sema] fix assertion failure about invalid conversion when calling lambda (#96431)
fixes https://github.com/llvm/llvm-project/issues/96205
The cause is that some `Conversions[ConvIdx]` here is not initialized
https://github.com/llvm/llvm-project/blob/eb76bc38ffc286e62fdb8f8d897b5de04b2575be/clang/lib/Sema/SemaOverload.cpp#L7888-L7901
and we do not check whether `Cand->Conversions[I]` is initialized or not
here.
https://github.com/llvm/llvm-project/blob/eb76bc38ffc286e62fdb8f8d897b5de04b2575be/clang/lib/Sema/SemaOverload.cpp#L12148-L12158
Commit: 87c60bfe561ba213d627a65b694554b0a580fa95
https://github.com/llvm/llvm-project/commit/87c60bfe561ba213d627a65b694554b0a580fa95
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/combine-pmadd.ll
Log Message:
-----------
[X86] Add test case for situation where constant folding PMADDWD was causing an infinite loop in PCMPGT commuting between 2 constant values.
Reported by @alexfh
Commit: 3106e97d4bdd46a38fa5c50578cf4aee62d04bf3
https://github.com/llvm/llvm-project/commit/3106e97d4bdd46a38fa5c50578cf4aee62d04bf3
Author: Madhur Amilkanthwar <madhura at nvidia.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/test/CodeGen/AArch64/fptrunc.ll
Log Message:
-----------
[AArch64][GlobalISel] Generate libcall for s128 G_FPTRUNC (#96602)
This patch would generate libcall if the source type is s128. This is
the root cause for many fallbacks in RajaPerf benchmark.
Commit: c0866cefe9bc524d8f31400413fcc14de10c50e2
https://github.com/llvm/llvm-project/commit/c0866cefe9bc524d8f31400413fcc14de10c50e2
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/AliasAnalysis.h
M llvm/include/llvm/Analysis/Delinearization.h
M llvm/include/llvm/Analysis/DemandedBits.h
M llvm/include/llvm/Analysis/DominanceFrontier.h
M llvm/include/llvm/Analysis/IVUsers.h
M llvm/include/llvm/Analysis/LazyValueInfo.h
M llvm/include/llvm/Analysis/LoopAnalysisManager.h
M llvm/include/llvm/Analysis/OptimizationRemarkEmitter.h
M llvm/include/llvm/IR/Analysis.h
M llvm/include/llvm/IR/PassManagerImpl.h
M llvm/include/llvm/Transforms/IPO/ExtractGV.h
M llvm/include/llvm/Transforms/IPO/HotColdSplitting.h
M llvm/include/llvm/Transforms/IPO/Internalize.h
M llvm/include/llvm/Transforms/IPO/WholeProgramDevirt.h
M llvm/include/llvm/Transforms/Scalar/AlignmentFromAssumptions.h
M llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h
M llvm/include/llvm/Transforms/Scalar/MemCpyOptimizer.h
M llvm/include/llvm/Transforms/Scalar/Reassociate.h
M llvm/include/llvm/Transforms/Scalar/SpeculativeExecution.h
M llvm/include/llvm/Transforms/Utils/Cloning.h
M llvm/include/llvm/Transforms/Vectorize/LoopVectorize.h
M llvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h
M llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
M llvm/lib/CodeGen/MachineFunctionAnalysis.cpp
M llvm/lib/CodeGen/PseudoSourceValue.cpp
M llvm/lib/CodeGen/SafeStackLayout.h
M llvm/lib/Target/AArch64/AArch64MCInstLower.cpp
M llvm/lib/Target/AMDGPU/AMDGPUMachineModuleInfo.h
M llvm/lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp
M llvm/lib/Transforms/Utils/CountVisits.cpp
M llvm/lib/Transforms/Utils/HelloWorld.cpp
Log Message:
-----------
[IR] Remove Function.h include from Analysis.h (NFC) (#97056)
Use a forward-declaration instead.
Commit: 0f61ba679fa1942397c8d2661f3339c305cc101b
https://github.com/llvm/llvm-project/commit/0f61ba679fa1942397c8d2661f3339c305cc101b
Author: Marco Elver <elver at google.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M compiler-rt/test/metadata/common.h
Log Message:
-----------
[compiler-rt] Remove unnecessary ;
NFC.
Commit: 383419931e5a0d58e6bc1ea898db07b4a967e344
https://github.com/llvm/llvm-project/commit/383419931e5a0d58e6bc1ea898db07b4a967e344
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Analysis/DevelopmentModeInlineAdvisor.cpp
M llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
Log Message:
-----------
[NFC][mlgo] Fix imports post- PR#97023
Commit: a52be0cc114cc58a35bee65c517adaeb66ee6d89
https://github.com/llvm/llvm-project/commit/a52be0cc114cc58a35bee65c517adaeb66ee6d89
Author: Santhosh Kumar Ellendula <quic_sellendu at quicinc.com>
Date: 2024-06-28 (Fri, 28 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/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py
A lldb/test/API/tools/lldb-dap/attach/TestDAP_attachByPortNum.py
M lldb/test/API/tools/lldb-server/commandline/TestGdbRemoteConnection.py
M lldb/tools/lldb-dap/lldb-dap.cpp
M lldb/tools/lldb-dap/package.json
Log Message:
-----------
[lldb-dap] Added "port" property to vscode "attach" command. (#91570)
Adding a "port" property to the VsCode "attach" command likely extends
the functionality of the debugger configuration to allow attaching to a
process using PID or PORT number.
Currently, the "Attach" configuration lets the user specify a pid. We
tell the user to use the attachCommands property to run "gdb-remote ".
Followed the below conditions for "attach" command with "port" and "pid"
We should add a "port" property. If port is specified and pid is not,
use that port to attach. If both port and pid are specified, return an
error saying that the user can't specify both pid and port.
Ex - launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "lldb-dap Debug",
"type": "lldb-dap",
"request": "attach",
"gdb-remote-port":1234,
"program": "${workspaceFolder}/a.out",
"args": [],
"stopOnEntry": false,
"cwd": "${workspaceFolder}",
"env": [],
}
]
}
---------
Co-authored-by: Santhosh Kumar Ellendula <sellendu at hu-sellendu-hyd.qualcomm.com>
Co-authored-by: Santhosh Kumar Ellendula <sellendu at hu-sellendu-lv.qualcomm.com>
Commit: ca4b1f8629d3162a572a0888322789c56bb75921
https://github.com/llvm/llvm-project/commit/ca4b1f8629d3162a572a0888322789c56bb75921
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/combine-pmadd.ll
Log Message:
-----------
[X86] computeKnownBitsForTargetNode - add handling for PMADDWD/PMADDUBSW nodes
These were reverted in fa0e9acea5e4d363eef6acc484afc1b22ab8e698 while we triaged an infinite loop regression
Commit: b46880400556e1b02ac2d4961175e047fed4e382
https://github.com/llvm/llvm-project/commit/b46880400556e1b02ac2d4961175e047fed4e382
Author: Mogball <jeff at modular.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M .github/CODEOWNERS
Log Message:
-----------
[mlir] Add myself as codeowner of the index dialect
Commit: 0cc3fe460105c4c0c78139d7a78da557c3502298
https://github.com/llvm/llvm-project/commit/0cc3fe460105c4c0c78139d7a78da557c3502298
Author: Jeff Niu <jeff at modular.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
M mlir/test/Target/LLVMIR/nvvmir.mlir
Log Message:
-----------
Revert "[mlir][NVVM] Disallow results on kernel functions (#96399)" (#97074)
NVVM IR itself doesn't place any restriction that a function annotated
as `nvvm.kernel` actually has no results, so this is a mismatch at the
NVVMDialect level and NVVMIR. The GPU dialect might enforce that kernel
functions have no results, but it doesn't make sense to propagate this
constraint downstream.
Reverts llvm/llvm-project#96399
Commit: 57dabc1dffdc0181192cf80b79740f50814763a5
https://github.com/llvm/llvm-project/commit/57dabc1dffdc0181192cf80b79740f50814763a5
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M libcxx/src/CMakeLists.txt
Log Message:
-----------
[libc++] Fix how we pass /MANIFEST flag on Windows without clang-cl (#96967)
If we're compiling with Clang (not clang-cl) on Windows, we need to use
-Xlinker to pass the /MANIFEST option.
Fixes #96430
Commit: 3497500946c9b6a1b2e1452312a24c41ee412b34
https://github.com/llvm/llvm-project/commit/3497500946c9b6a1b2e1452312a24c41ee412b34
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M libcxx/include/__configuration/availability.h
M libcxx/test/libcxx/strings/basic.string/string.capacity/PR53170.pass.cpp
M libcxx/test/libcxx/strings/basic.string/string.capacity/allocation_size.pass.cpp
M libcxx/test/libcxx/thread/thread.condition/PR30202_notify_from_pthread_created_thread.pass.cpp
M libcxx/test/libcxx/thread/thread.threads/thread.thread.this/sleep_for.pass.cpp
M libcxx/test/libcxx/thread/thread.threads/thread.thread.this/sleep_for.signals.pass.cpp
M libcxx/test/std/depr/depr.c.headers/stdlib_h.aligned_alloc.compile.pass.cpp
M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp
M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/refresh.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/last_write_time.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/copy_file.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directories/create_directories.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory_with_attributes.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.file_size/file_size.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove_all/toctou.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/bool.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/double.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/float.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/int.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long_double.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long_long.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/pointer.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/short.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_int.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_long.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_long_long.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_short.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/streambuf.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_chart.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_pointer_size.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_pointer_size_chart.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_streambuf.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_streambuf_chart.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/getline_pointer_size.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/getline_pointer_size_chart.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/ignore.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/peek.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/read.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/seekg_off.pass.cpp
M libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/minmax_showbase.pass.cpp
M libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/minus1.pass.cpp
M libcxx/test/std/input.output/iostreams.base/ios.base/ios.types/ios_Init/ios_Init.multiple.pass.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_fsizeddeallocation.pass.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_fsizeddeallocation.pass.cpp
M libcxx/test/std/language.support/support.exception/uncaught/uncaught_exceptions.pass.cpp
M libcxx/test/std/language.support/support.runtime/cstdlib.aligned_alloc.compile.pass.cpp
M libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp
M libcxx/test/std/localization/codecvt_unicode.pass.cpp
M libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.statics/table_size.pass.cpp
M libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long.pass.cpp
M libcxx/test/std/localization/locales/locale/locale.cons/name_construction.pass.cpp
M libcxx/test/std/numerics/rand/rand.device/ctor.pass.cpp
M libcxx/test/std/strings/basic.string/string.capacity/max_size.pass.cpp
M libcxx/test/std/strings/basic.string/string.capacity/over_max_size.pass.cpp
M libcxx/test/std/strings/basic.string/string.capacity/reserve_size.pass.cpp
M libcxx/test/std/thread/futures/futures.async/async_race.38682.pass.cpp
M libcxx/test/std/thread/futures/futures.future_error/what.pass.cpp
M libcxx/test/std/thread/thread.condition/notify_all_at_thread_exit_lwg3343.pass.cpp
M libcxx/test/std/utilities/memory/temporary.buffer/overaligned.pass.cpp
M libcxx/utils/libcxx/test/features.py
M libcxxabi/test/catch_function_01.pass.cpp
M libcxxabi/test/catch_function_03.pass.cpp
M libcxxabi/test/catch_member_data_pointer_01.pass.cpp
M libcxxabi/test/catch_member_function_pointer_02.pass.cpp
M libcxxabi/test/catch_member_pointer_nullptr.pass.cpp
M libcxxabi/test/catch_multi_level_pointer.pass.cpp
M libcxxabi/test/catch_null_pointer_to_object_pr64953.pass.cpp
M libcxxabi/test/catch_pointer_nullptr.pass.cpp
M libcxxabi/test/catch_ptr_02.pass.cpp
M libcxxabi/test/cxa_vec_new_overflow_PR41395.pass.cpp
M libcxxabi/test/dynamic_cast.pass.cpp
M libcxxabi/test/exception_object_alignment.pass.cpp
M libcxxabi/test/incomplete_type.sh.cpp
M libcxxabi/test/test_aux_runtime_op_array_new.pass.cpp
M libcxxabi/test/test_demangle.pass.cpp
M libcxxabi/test/test_exception_address_alignment.pass.cpp
M libcxxabi/test/uncaught_exception.pass.cpp
M libcxxabi/test/uncaught_exceptions.pass.cpp
Log Message:
-----------
[libc++] Clean up and update deployment target features (#96312)
This patch removes many annotations that are not relevant anymore since
we don't support or test back-deploying to macOS < 10.13. It also cleans
up raw usage of target triples to identify versions of dylibs shipped on
prior versions of macOS, and uses the target-agnostic Lit features
instead. Finally, it reorders both the Lit backdeployment features and
the corresponding availability macros in the library in a way that makes
more sense, and reformulates the Lit backdeployment features in terms of
when a version of LLVM was introduced instead of encoding the system
versions on which it hasn't been introduced yet. Although one can be
derived from the other, encoding the negative form is extremely
error-prone.
Fixes #80901
Commit: 5fd2af38e461445c583d7ffc2fe23858966eee76
https://github.com/llvm/llvm-project/commit/5fd2af38e461445c583d7ffc2fe23858966eee76
Author: Ethan Luis McDonough <ethanluismcdonough at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenPGO.cpp
M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/lib/ProfileData/InstrProf.cpp
M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
M offload/DeviceRTL/CMakeLists.txt
A offload/DeviceRTL/include/Profiling.h
A offload/DeviceRTL/src/Profiling.cpp
M offload/plugins-nextgen/common/include/GlobalHandler.h
M offload/plugins-nextgen/common/src/GlobalHandler.cpp
M offload/plugins-nextgen/common/src/PluginInterface.cpp
M offload/test/CMakeLists.txt
M offload/test/lit.cfg
M offload/test/lit.site.cfg.in
A offload/test/offloading/pgo1.c
Log Message:
-----------
[PGO][OpenMP] Instrumentation for GPU devices (#76587)
This pull request is the first part of an ongoing effort to extends PGO
instrumentation to GPU device code. This PR makes the following changes:
- Adds blank registration functions to device RTL
- Gives PGO globals protected visibility when targeting a supported GPU
- Handles any addrspace casts for PGO calls
- Implements PGO global extraction in GPU plugins (currently only dumps
info)
These changes can be tested by supplying `-fprofile-instrument=clang`
while targeting a GPU.
Commit: 061e3aa08e35d2714f8bcda87aacf08e9e21771b
https://github.com/llvm/llvm-project/commit/061e3aa08e35d2714f8bcda87aacf08e9e21771b
Author: Erick Velez <erickvelez7 at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/lib/Parse/Parser.cpp
M clang/test/Parser/cxx2a-concepts-requires-expr.cpp
Log Message:
-----------
[clang] require arg list in type specifiers using template kw (#94674)
Require a template argument list after a name prefixed by the template
keyword in nested name specifiers. Addresses [CWG
96](https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#96)
which was superseded by
[P1787](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1787r6.html).
Followup to #80801.
Commit: e17b17d86e6a9d2c77b7a63822c26bda2fa05067
https://github.com/llvm/llvm-project/commit/e17b17d86e6a9d2c77b7a63822c26bda2fa05067
Author: aaryanshukla <53713108+aaryanshukla at users.noreply.github.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M libc/newhdrgen/class_implementation/classes/function.py
A libc/newhdrgen/yaml_combined/ctype.yaml
A libc/newhdrgen/yaml_combined/fenv.yaml
A libc/newhdrgen/yaml_combined/math.yaml
A libc/newhdrgen/yaml_combined/pthread.yaml
A libc/newhdrgen/yaml_combined/sched.yaml
A libc/newhdrgen/yaml_combined/signal.yaml
A libc/newhdrgen/yaml_combined/stdfix.yaml
A libc/newhdrgen/yaml_combined/stdio.yaml
A libc/newhdrgen/yaml_combined/stdlib.yaml
A libc/newhdrgen/yaml_combined/string.yaml
A libc/newhdrgen/yaml_combined/strings.yaml
A libc/newhdrgen/yaml_combined/sys_mman.yaml
A libc/newhdrgen/yaml_combined/sys_wait.yaml
A libc/newhdrgen/yaml_combined/time.yaml
M libc/newhdrgen/yaml_to_classes.py
Log Message:
-----------
[libc] added yaml_combined files, frontend for new headergen (#96833)
These are the yaml files that have combined functions from different
libraries
Rose will be adding the rest of the yaml in the next pr
Missing assert.yaml -- work in progress
Commit: f65a52ab0ec22cf5c25ccf3c9d86b7635964b864
https://github.com/llvm/llvm-project/commit/f65a52ab0ec22cf5c25ccf3c9d86b7635964b864
Author: royitaqi <royitaqi at users.noreply.github.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M lldb/include/lldb/Target/Statistics.h
M lldb/source/Commands/Options.td
M lldb/test/API/commands/statistics/basic/TestStats.py
Log Message:
-----------
In `statistics dump --summary`, add back the `targets` section (#97004)
# Change
https://github.com/llvm/llvm-project/pull/95075 accidentally removed the
`targets` section from `statistics dump --summary`. Adding it back, by
setting the default value to `true` in
`StatisticsOptions::GetIncludeTargets()`.
Updated the description for the options.
Updated tests.
# Verification
Manually verified the fix by running `statist dump --summary` and
comparing three versions of LLDB (in commit order):
1. Before https://github.com/llvm/llvm-project/pull/95075
2. After https://github.com/llvm/llvm-project/pull/95075
3. After this fix
The expected result is that 1 and 3 give the same sections, while 2 is
missing the `targets` section when in summary mode. The output (see
Appendix) matches the expectation.
# Appendix: Manual Test Output
## `statistics dump --summary` of 1
```
(lldb) statistics dump --summary
{
"memory": {
"strings": {
"bytesTotal": 724992,
"bytesUnused": 714547,
"bytesUsed": 10445
}
},
"targets": [
{
"sourceMapDeduceCount": 0,
"totalSharedLibraryEventHitCount": 0
}
],
"totalDebugInfoByteSize": 597,
"totalDebugInfoEnabled": 1,
"totalDebugInfoIndexLoadedFromCache": 0,
"totalDebugInfoIndexSavedToCache": 0,
"totalDebugInfoIndexTime": 0.00070699999999999995,
"totalDebugInfoParseTime": 2.5999999999999998e-05,
"totalModuleCount": 1,
"totalModuleCountHasDebugInfo": 1,
"totalModuleCountWithIncompleteTypes": 0,
"totalModuleCountWithVariableErrors": 0,
"totalSymbolTableIndexTime": 0.000223,
"totalSymbolTableParseTime": 0.00025799999999999998,
"totalSymbolTableStripped": 0,
"totalSymbolTablesLoadedFromCache": 0,
"totalSymbolTablesSavedToCache": 0
}
(lldb)
```
## `statistics dump --summary` of 3
Should be the same as above.
```
(lldb) statistics dump --summary
{
"memory": {
"strings": {
"bytesTotal": 516096,
"bytesUnused": 510353,
"bytesUsed": 5743
}
},
"targets": [
{
"sourceMapDeduceCount": 0,
"totalSharedLibraryEventHitCount": 0
}
],
"totalDebugInfoByteSize": 597,
"totalDebugInfoEnabled": 1,
"totalDebugInfoIndexLoadedFromCache": 0,
"totalDebugInfoIndexSavedToCache": 0,
"totalDebugInfoIndexTime": 0.0022139999999999998,
"totalDebugInfoParseTime": 0.00031700000000000001,
"totalModuleCount": 1,
"totalModuleCountHasDebugInfo": 1,
"totalModuleCountWithIncompleteTypes": 0,
"totalModuleCountWithVariableErrors": 0,
"totalSymbolTableIndexTime": 0.0014499999999999999,
"totalSymbolTableParseTime": 0.001848,
"totalSymbolTableStripped": 0,
"totalSymbolTablesLoadedFromCache": 0,
"totalSymbolTablesSavedToCache": 0
}
(lldb)
```
## `statistics dump --summary` of 2
Should be missing the `targets` section.
```
(lldb) statistics dump --summary
{
"memory": {
"strings": {
"bytesTotal": 716800,
"bytesUnused": 705887,
"bytesUsed": 10913
}
},
"totalDebugInfoByteSize": 597,
"totalDebugInfoEnabled": 1,
"totalDebugInfoIndexLoadedFromCache": 0,
"totalDebugInfoIndexSavedToCache": 0,
"totalDebugInfoIndexTime": 0.001374,
"totalDebugInfoParseTime": 0.000174,
"totalModuleCount": 1,
"totalModuleCountHasDebugInfo": 1,
"totalModuleCountWithIncompleteTypes": 0,
"totalModuleCountWithVariableErrors": 0,
"totalSymbolTableIndexTime": 0.00068300000000000001,
"totalSymbolTableParseTime": 0.0010139999999999999,
"totalSymbolTableStripped": 0,
"totalSymbolTablesLoadedFromCache": 0,
"totalSymbolTablesSavedToCache": 0
}
(lldb)
```
Co-authored-by: royshi <royshi at meta.com>
Commit: 2222fddfc0a2ff02036542511597839856289094
https://github.com/llvm/llvm-project/commit/2222fddfc0a2ff02036542511597839856289094
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCCodeEmitter.h
M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
Log Message:
-----------
[MC,X86] De-virtualize emitPrefix
and remove x86-specific emitPrefix from the generic MCCodeEmitter.
Pull Request: https://github.com/llvm/llvm-project/pull/97008
Commit: 76c8e1d8575fbeebdc0e18e0792e8f0a623834b3
https://github.com/llvm/llvm-project/commit/76c8e1d8575fbeebdc0e18e0792e8f0a623834b3
Author: David Green <david.green at arm.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll
Log Message:
-----------
[VectorCombine] Guard against the lane zero select predicate being scalar
All but the first lane was being checked, but this could leave the first lane
with a scalar select predicate. This just extends the check to make sure the
types are all the same
Commit: 7d17114c6b5f83ad3a58d2fb14068ea43738443c
https://github.com/llvm/llvm-project/commit/7d17114c6b5f83ad3a58d2fb14068ea43738443c
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Target/DirectX/DXContainerGlobals.cpp
M llvm/lib/Target/DirectX/DirectXIRPasses/PointerTypeAnalysis.cpp
M llvm/lib/Target/DirectX/DirectXIRPasses/PointerTypeAnalysis.h
Log Message:
-----------
[DirectX] Add missing includes after #97023
Commit: 3f24561bc14fab4dbedd95955c45983197b659f3
https://github.com/llvm/llvm-project/commit/3f24561bc14fab4dbedd95955c45983197b659f3
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/unittests/Target/DirectX/PointerTypeAnalysisTests.cpp
M llvm/unittests/Target/SPIRV/SPIRVConvergenceRegionAnalysisTests.cpp
Log Message:
-----------
[unittest] Include Module.h after #97023
Commit: f0bffb15b26e65436fa6cf4de12aa85ad0566efa
https://github.com/llvm/llvm-project/commit/f0bffb15b26e65436fa6cf4de12aa85ad0566efa
Author: Greg Clayton <gclayton at fb.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M lldb/test/Shell/SymbolFile/DWARF/x86/dwp-foreign-type-units.cpp
Log Message:
-----------
Fix the test to deal with non-deterministic output. (#96800)
When we check for the "struct CustomType" in the NODWP, we can just make
sure that we have both types showing up, the next tests will validate
the types are correct. Also added a "-DAG" to the integer and float
types. This should fix the flakiness in this test.
Commit: 5d476c9ef4cccce7f534d5607f953b3107d770af
https://github.com/llvm/llvm-project/commit/5d476c9ef4cccce7f534d5607f953b3107d770af
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
Log Message:
-----------
[AsmPrinter] Don't compute Darwin triple on non-Darwin (#97069)
There's no point in computing (=parsing) a triple on non-MachO/Darwin
platforms.
Commit: ecd6742f7b38328d61e62a6c988101c5c327eb82
https://github.com/llvm/llvm-project/commit/ecd6742f7b38328d61e62a6c988101c5c327eb82
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCStreamer.h
M llvm/lib/MC/MCStreamer.cpp
Log Message:
-----------
[MC][NFC] Make getCurrentFragment inline (#97066)
It's a very simple method now, which is called quite often, so make it
an inline function.
Commit: c0c24d8322283be7403addf18b92449eda29fb36
https://github.com/llvm/llvm-project/commit/c0c24d8322283be7403addf18b92449eda29fb36
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/MC/MCParser/ELFAsmParser.cpp
M llvm/lib/MC/MCParser/WasmAsmParser.cpp
M llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
Log Message:
-----------
[MC] Replace getCurrentSection().first with getCurrentSectionOnly. NFC
Commit: 027d0128df2271885c019ed432c63aa45ed1fd78
https://github.com/llvm/llvm-project/commit/027d0128df2271885c019ed432c63aa45ed1fd78
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
Log Message:
-----------
[MC,Hexagon] Simplify switchSection. NFC
Commit: 319e11daee807981db61dad3da90d9bf36317e03
https://github.com/llvm/llvm-project/commit/319e11daee807981db61dad3da90d9bf36317e03
Author: Gheorghe-Teodor Bercea <doru.bercea at amd.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang-tools-extra/clangd/index/remote/Client.h
Log Message:
-----------
Revert: [clangd] Replace an include with a forward declaration (#97082)
Reverting due to failures on several buildbots.
Commit: 808e0f1c4666eb2de13d816dbf597801a42e5f19
https://github.com/llvm/llvm-project/commit/808e0f1c4666eb2de13d816dbf597801a42e5f19
Author: Michael Jones <michaelrj at google.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
R libc/config/linux/platform_defs.h.inc
R libc/config/linux/signal.h.in
R libc/config/linux/syscall_numbers.h.inc
M libc/include/CMakeLists.txt
M libc/include/sys/syscall.h.def
Log Message:
-----------
[libc] remove include_file headergen usage (#96970)
Previously headergen had a mechanism to copy the contents of one file
inot another. This wasn't ever used properly, and isn't supported by the
new headergen design. We will investigate better ways to support
different syscall definitions in future.
Commit: 2c8b912f630f9ec647a4870b9c5ee922c2ec1298
https://github.com/llvm/llvm-project/commit/2c8b912f630f9ec647a4870b9c5ee922c2ec1298
Author: Ethan Luis McDonough <ethanluismcdonough at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenPGO.cpp
M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/lib/ProfileData/InstrProf.cpp
M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
M offload/DeviceRTL/CMakeLists.txt
R offload/DeviceRTL/include/Profiling.h
R offload/DeviceRTL/src/Profiling.cpp
M offload/plugins-nextgen/common/include/GlobalHandler.h
M offload/plugins-nextgen/common/src/GlobalHandler.cpp
M offload/plugins-nextgen/common/src/PluginInterface.cpp
M offload/test/CMakeLists.txt
M offload/test/lit.cfg
M offload/test/lit.site.cfg.in
R offload/test/offloading/pgo1.c
Log Message:
-----------
Revert "[PGO][OpenMP] Instrumentation for GPU devices (#76587)"
This reverts commit 5fd2af38e461445c583d7ffc2fe23858966eee76. It caused build issues and broke the buildbot.
Commit: 6ba764a54e2ce359117bf9a9d615e06dc3da6144
https://github.com/llvm/llvm-project/commit/6ba764a54e2ce359117bf9a9d615e06dc3da6144
Author: Julian Brown <jtb20 at cantab.net>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/include/clang/AST/Expr.h
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/AST/StmtOpenMP.cpp
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/lib/Sema/SemaOpenMP.cpp
Log Message:
-----------
[OpenMP] [NFC] SemaOpenMP.cpp and StmtOpenMP.cpp spelling fixes (#96814)
This patch just fixes a few spelling mistakes in the above two files. (I
changed one British spelling to American -- analyse to analyze --
because the latter spelling is used elsewhere in file, and it's probably
best to be consistent.)
Commit: 3d11b3d750b735a149ab47b6ad8b8f98929c36a5
https://github.com/llvm/llvm-project/commit/3d11b3d750b735a149ab47b6ad8b8f98929c36a5
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/test/Transforms/ConstraintElimination/induction-condition-in-loop-exit.ll
Log Message:
-----------
[ConstraintElim] Add test for mis-compile due to #94610.
Additional test coverage for a miscompile in earlier versions of
https://github.com/llvm/llvm-project/pull/94610.
Commit: 370555c02c81fb3ab2f41f608d26aa85b8ca1ec5
https://github.com/llvm/llvm-project/commit/370555c02c81fb3ab2f41f608d26aa85b8ca1ec5
Author: Aiden Grossman <aidengrossman at google.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/include/llvm/MCA/InstrBuilder.h
M llvm/lib/MCA/InstrBuilder.cpp
M llvm/unittests/tools/llvm-mca/X86/TestIncrementalMCA.cpp
Log Message:
-----------
[MCA] Parameterize variant scheduling classes by hash (#92849)
This patch looks up variant scheduling classes using a hash of the
instruction. Keying by the pointer breaks certain use cases that might
occur out of tree, like decoding an execution trace instruction by
instruction and creating MCA instructions as one goes along, like in the
MCAD case. In this case, the MCInst will always have the same address
and thus all instructions with the same variant scheduling class will
end up with the same instruction description, leading to undesired
behavior (assertions, uses after free, invalid results, etc.).
Commit: c6e264952e94a7705d902ebda4d1a77256ee9926
https://github.com/llvm/llvm-project/commit/c6e264952e94a7705d902ebda4d1a77256ee9926
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp
Log Message:
-----------
[llvm-exegesis] Fix -Wdangling-else gcc warning. NFC.
Commit: dac366111e5560c117a06330efee14a2052d3a46
https://github.com/llvm/llvm-project/commit/dac366111e5560c117a06330efee14a2052d3a46
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaLambda.cpp
Log Message:
-----------
[Sema] LambdaScopeForCallOperatorInstantiationRAII - fix typo in early out logic (#96888)
We should be checking for a failed dyn_cast on the ParentFD result - not the loop invariant FD root value.
Seems to have been introduced in #65193
Noticed by static analyser (I have no specific test case).
Commit: cf311a1131b9aef3e66b2a20ad49cfc77212754b
https://github.com/llvm/llvm-project/commit/cf311a1131b9aef3e66b2a20ad49cfc77212754b
Author: Mogball <jeff at modular.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.cpp
M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.h
M llvm/test/DebugInfo/NVPTX/cu-range-hole.ll
Log Message:
-----------
[NVPTX] Fix DWARF section printing
There was a lot of changes to MC recently, so I'm no longer sure what is
the root cause here, but the NVPTX DWARF printing was printing an
extra closing brace, causing the PTX to be invalid. This should fix it
by only printing the closing brace when the printer has already seen an
opening brace for a DWARF section.
Commit: 592abf29f9f7f73e6be28bef4574172125e4ab3f
https://github.com/llvm/llvm-project/commit/592abf29f9f7f73e6be28bef4574172125e4ab3f
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/lib/Driver/Driver.cpp
Log Message:
-----------
[Driver] BuildOffloadingActions: Actually stabilize iteration order
In
```
/tmp/StaticDebug/bin/clang -ccc-print-phases -lsomelib -fopenmp=libomp --target=powerpc64-ibm-linux-gnu -fopenmp-targets=x86_64-pc-linux-gnu,powerpc64-ibm-linux-gnu clang/test/Driver/openmp-offload.c clang/test/Driver/openmp-offload.c
```
Both ToolChains have one single empty arch. llvm::sort in
LLVM_ENABLE_EXPENSIVE_CHECKS=on builds could swap the two entries.
Fixes: 255986e27fcf9f0b36f7a23fbe030fcca1ba0249
Commit: d74fa1fb39aaca41bd7f8b025d5b77b850167109
https://github.com/llvm/llvm-project/commit/d74fa1fb39aaca41bd7f8b025d5b77b850167109
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/atomicrmw.ll
Log Message:
-----------
InstCombine: Add tests that atomicrmw canonicalizations preserve MD (#97059)
This is basically all the existing test functions copied, with additional
sample metadata. It's a bit noisy and lazy, maybe it would be better to just
add metadata to the existing cases?
Commit: 084d943663488084c7160b716cad0dc12d4ca115
https://github.com/llvm/llvm-project/commit/084d943663488084c7160b716cad0dc12d4ca115
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M flang/runtime/pointer.cpp
Log Message:
-----------
[flang] Fix excess allocation (#96663)
A recent patch introduced an error in an aligned byte size calculation
that causes an extra word to be allocated when the original byte size is
already aligned (including the case of zero). Fix.
Commit: 72c801f843d95546d92e2b15fe832503ba3bfab6
https://github.com/llvm/llvm-project/commit/72c801f843d95546d92e2b15fe832503ba3bfab6
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M flang/lib/Semantics/expression.cpp
M flang/test/Semantics/boz-literal-constants.f90
Log Message:
-----------
[flang] Handle BOZ as right-hand side of assignment (#96672)
F'2023 allows BOZ to appear in more contexts, including the common
extension of the right-hand side of an assignment to an INTEGER or REAL
variable. Implement that one case now.
Commit: 6cb45aea92dc87974a0064c182600228c6e94329
https://github.com/llvm/llvm-project/commit/6cb45aea92dc87974a0064c182600228c6e94329
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M lldb/include/lldb/Interpreter/Interfaces/ScriptedThreadPlanInterface.h
M lldb/include/lldb/Interpreter/ScriptInterpreter.h
M lldb/include/lldb/Utility/StreamString.h
M lldb/source/Interpreter/ScriptInterpreter.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.h
M lldb/source/Target/ThreadPlanPython.cpp
M lldb/test/API/functionalities/step_scripted/TestStepScripted.py
Log Message:
-----------
Reland "[lldb/Interpreter] Discard ScriptedThreadPlan::GetStopDescription return value (#96985)" (#97092)
This reverts commit a2e3af5d581547d3ea53e5383d6f7f1cab45120a and solves
the build error in
https://lab.llvm.org/buildbot/#/builders/141/builds/369.
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: a4c18137d84bc48df49ee0101bef465a955e62ac
https://github.com/llvm/llvm-project/commit/a4c18137d84bc48df49ee0101bef465a955e62ac
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M lldb/test/API/commands/log/invalid-args/TestInvalidArgsLog.py
M lldb/test/API/commands/thread/backtrace/TestThreadBacktraceRepeat.py
M lldb/test/API/commands/trace/multiple-threads/TestTraceStartStopMultipleThreads.py
M lldb/test/API/functionalities/completion/TestCompletion.py
M lldb/test/API/functionalities/gdb_remote_client/TestIOSSimulator.py
M lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
M lldb/test/API/lang/cpp/diamond/TestCppDiamond.py
M lldb/test/API/lang/objcxx/cxx-bridged-po/TestObjCXXBridgedPO.py
M lldb/test/API/lang/rust/enum-structs/TestRustEnumStructs.py
M lldb/test/API/test_utils/TestDecorators.py
Log Message:
-----------
[lldb][test] Remove duplicate testcase names in API test-suite (#97043)
In one of my recent PRs I mistakenly had two test-cases with the same
name, preventing one of them to run. Since it's an easy mistake to make
(e.g., copy pasting existing test-cases), I ran following sanity-check
script over `lldb/test/API`, which found couple of tests which were
losing coverage because of this (or in some cases simply had duplicate
tests):
```
import ast
import sys
filename = sys.argv[1]
print(f'Checking {filename}...')
tree = ast.parse(open(filename, 'r').read())
for node in ast.walk(tree):
if not isinstance(node, ast.ClassDef):
continue
func_names = []
for child in ast.iter_child_nodes(node):
if isinstance(child, ast.FunctionDef):
func_names.append(child.name)
seen_func_names = set()
duplicate_func_names = []
for name in func_names:
if name in seen_func_names:
duplicate_func_names.append(name)
else:
seen_func_names.add(name)
if len(duplicate_func_names) != 0:
print(f'Multiple func names found:\n\t{duplicate_func_names}\n\tclass {node.name}\n\tfile: {filename}')
```
This patch fixes these cases.
Commit: cddbcd15a0e6ef59e1cae0a68d000b0c5942ff43
https://github.com/llvm/llvm-project/commit/cddbcd15a0e6ef59e1cae0a68d000b0c5942ff43
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M flang/lib/Parser/prescan.cpp
A flang/test/Preprocessing/kw-in-char.F90
Log Message:
-----------
[flang][preprocessor] Expand some keyword macros in quoted character … (#96987)
…literals
To help port codes from compilers using pre-ANSI C preprocessors, which
didn't care much about context when replacing macros, support the
replacement of keyword macros in quoted character literals when (and
only when) the name of the keyword macro constitutes the entire
significant portion of a free form continuation line. See the new test
case for a motivating example.
Fixes https://github.com/llvm/llvm-project/issues/96781.
Commit: 259ce1199906554fba5c8d3b07b6ce14ee42d301
https://github.com/llvm/llvm-project/commit/259ce1199906554fba5c8d3b07b6ce14ee42d301
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M flang/lib/Parser/prescan.cpp
M flang/lib/Parser/prescan.h
M flang/lib/Parser/token-sequence.cpp
A flang/test/Preprocessing/sentinel-after-semi.F90
Log Message:
-----------
[flang] Accept a compiler directive sentinel after a semicolon (#96966)
Don't treat !DIR$ or an active !$ACC, !$OMP, &c. as a comment when they
appear after a semicolon, but instead treat them as a compiler directive
sentinel.
Commit: c44e9ff691a10cd900b93d9ff4e0ada355ca82d7
https://github.com/llvm/llvm-project/commit/c44e9ff691a10cd900b93d9ff4e0ada355ca82d7
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
Log Message:
-----------
[IndirectCallPromotion] Use ArrayRef consistently (NFC) (#96412)
Commit: 6b4a13a15aef64bf284612fcdbe07662b96a881b
https://github.com/llvm/llvm-project/commit/6b4a13a15aef64bf284612fcdbe07662b96a881b
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/test/Driver/aarch64-mac-cpus.c
M clang/test/Misc/target-invalid-cpu-note.c
M llvm/include/llvm/MC/MCSubtargetInfo.h
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/Target/AArch64/AArch64Processors.td
M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
M llvm/lib/TargetParser/AArch64TargetParser.cpp
M llvm/utils/TableGen/ARMTargetDefEmitter.cpp
M llvm/utils/TableGen/SubtargetEmitter.cpp
Log Message:
-----------
[llvm][AArch64][TableGen] Create a ProcessorAlias record (#96249)
... and use it to organize all of the AArch64 CPU aliases.
Commit: 2a4cbf8d2f49a3176800137aed7ea7f8f33a0b92
https://github.com/llvm/llvm-project/commit/2a4cbf8d2f49a3176800137aed7ea7f8f33a0b92
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/Loads.h
M llvm/lib/Analysis/Loads.cpp
Log Message:
-----------
[Loads] Const correct the Size argument to isSafeToLoadUnconditionally. NFC (#96993)
The APInt is not modified so we should pass by const reference.
Commit: 4e2e4856b7aa2681bae67b0b7af65272561031e9
https://github.com/llvm/llvm-project/commit/4e2e4856b7aa2681bae67b0b7af65272561031e9
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/docs/RISCVUsage.rst
Log Message:
-----------
[RISCV] Update SiFive VCIX documentation link. NFC (#96986)
The previous version of the document did not prefix the intrinsic names
with `__riscv_`. That has been corrected now. We have always implemented
the intrinsics with the `__riscv_` prefix so now the documentation
matches our implementation.
The document is now labeled as 1.1, but I have not changed the extension
version in the compiler since it was only changing the intrinsic names.
Commit: 784152056ea40a800a8fd9f4157a428dfb7a6de8
https://github.com/llvm/llvm-project/commit/784152056ea40a800a8fd9f4157a428dfb7a6de8
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/RISCV/math-function.ll
M llvm/test/Transforms/SLPVectorizer/X86/alternate-calls-inseltpoison.ll
M llvm/test/Transforms/SLPVectorizer/X86/alternate-calls.ll
Log Message:
-----------
[SLP]Fix the cost of the adjusted extracts in per-register analysis.
Previous patch did not pass the list of the extract indices by
reference, so the compiler just ignored them. Pass indices by reference
and fix the per-register analysis.
Reviewers: RKSimon
Reviewed By: RKSimon
Pull Request: https://github.com/llvm/llvm-project/pull/96808
Commit: 74852bfa4cfd3fcbc3b8846c7bc19cbb712107b7
https://github.com/llvm/llvm-project/commit/74852bfa4cfd3fcbc3b8846c7bc19cbb712107b7
Author: Izaak Schroeder <izaak.schroeder at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M libc/include/CMakeLists.txt
Log Message:
-----------
[libc]: fix missing `linux/error-number-macros.h` (#97101)
The headers installation previously missed platform-specific number
macros, and this fixes that. From discussion on LLVM discord with
`michaelrj` – ccing @michaelrj-google who hopefully is the same person 😅
N.B. I have tested this manually in my Linux Dockerfile and it appears
to do the right thing; I haven't done much more than that.
Commit: 4713bd4ccc0c0d568f92916e7851d993291742c0
https://github.com/llvm/llvm-project/commit/4713bd4ccc0c0d568f92916e7851d993291742c0
Author: Jinsong Ji <jinsong.ji at intel.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/test/CodeGen/target-data.c
Log Message:
-----------
[NFC] [clang][SPIR-V] Use AMDGPU prefix to avoid confusion (#96962)
Reusing prefix SPIRV64 while adding an useless(and wrong) line
AMDGPUSPIRV64 is confusing.
Update it by copying SPIRV64 line to AMDGPU line.
Commit: a9c12e481bfef5b2913e2241486f4dd450188cd2
https://github.com/llvm/llvm-project/commit/a9c12e481bfef5b2913e2241486f4dd450188cd2
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/RISCV/math-function.ll
M llvm/test/Transforms/SLPVectorizer/X86/alternate-calls-inseltpoison.ll
M llvm/test/Transforms/SLPVectorizer/X86/alternate-calls.ll
Log Message:
-----------
Revert "[SLP]Fix the cost of the adjusted extracts in per-register analysis."
This reverts commit 784152056ea40a800a8fd9f4157a428dfb7a6de8 to fix
buildbots issues reported in
https://lab.llvm.org/buildbot/#/builders/4/builds/315 and https://lab.llvm.org/buildbot/#/builders/35/builds/481
Commit: 2df2373eb898f138c2eddc513e3ab3e6552e252c
https://github.com/llvm/llvm-project/commit/2df2373eb898f138c2eddc513e3ab3e6552e252c
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-fcopysign.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcopysign.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-intrinsic-round.mir
Log Message:
-----------
DAG/GlobalISel: Set disjoint for or in copysign lowering (#97057)
We masked out the sign bit from one value, and the non-sign bits
from the other so there should be no common bits set.
No idea how to test this on the DAG path, other than scraping
the debug logs. A few targets hit this path with f16 values, but
the resulting i16 ors get anyext promoted and lose the disjoint
flag. In the fp128 case, PPC gets further and the or loses the flag
somewhere else later. Adding a haveNoCommonBits assert shows this
works though.
Commit: a8b722702db9bbf88f67a31c0c308865154576e2
https://github.com/llvm/llvm-project/commit/a8b722702db9bbf88f67a31c0c308865154576e2
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/Inliner.cpp
Log Message:
-----------
[Inliner] Pass updated SCC to InlineAdvisor::onPassExit() (#96553)
InitialC may be logically invalid, although iterating through it doesn't
crash. Always use the updated SCC.
Commit: 4ae23bcca144b542f16d45acc8f270e156e2fa4e
https://github.com/llvm/llvm-project/commit/4ae23bcca144b542f16d45acc8f270e156e2fa4e
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/MC/MCAsmStreamer.cpp
M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.cpp
M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.h
Log Message:
-----------
[NVPTX] Correct the condition to print "\t}\n" for DWARF sections
`NVPTXTargetStreamer::changeSection` needs `CurSection` to properly
print "\t}\n" for DWARF sections.
db48f1a1764023f8efeb055e343b967d1eb37d19 added
`MCStreamer::changeSection` before `TS->changeSection`,
making `CurSection == Section` when `getCurrentSectionOnly` switches to
`CurFrag` (626eef5ecf92e98cbfccfa6134e0a760e7592813).
cf311a1131b9aef3e66b2a20ad49cfc77212754b did fix the bug, but the
mechanism is confusing. Fix it using nullable getCurrentSectionOnly().
Commit: c8496524666e38c4446eb833c6bf634014189e3f
https://github.com/llvm/llvm-project/commit/c8496524666e38c4446eb833c6bf634014189e3f
Author: Amir Ayupov <aaupov at meta.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M .ci/generate-buildkite-pipeline-premerge
M .git-blame-ignore-revs
M .github/CODEOWNERS
M .github/workflows/docs.yml
M .github/workflows/issue-write.yml
M .github/workflows/libclang-python-tests.yml
M .github/workflows/libcxx-build-and-test.yaml
A .github/workflows/libcxx-restart-preempted-jobs.yaml
M .github/workflows/llvm-project-tests.yml
M .github/workflows/pr-code-format.yml
M .github/workflows/pr-request-release-note.yml
M .github/workflows/release-documentation.yml
M .github/workflows/release-doxygen.yml
A .github/workflows/release-sources.yml
M .github/workflows/release-tasks.yml
R .github/workflows/restart-preempted-libcxx-jobs.yaml
M bolt/docs/CommandLineArgumentReference.md
A bolt/docs/OptimizingLinux.md
M bolt/include/bolt/Core/BinaryFunction.h
A bolt/include/bolt/Core/BinaryFunctionCallGraph.h
A bolt/include/bolt/Core/CallGraph.h
A bolt/include/bolt/Core/CallGraphWalker.h
M bolt/include/bolt/Core/MCPlusBuilder.h
R bolt/include/bolt/Passes/BinaryFunctionCallGraph.h
R bolt/include/bolt/Passes/CallGraph.h
R bolt/include/bolt/Passes/CallGraphWalker.h
M bolt/include/bolt/Passes/HFSort.h
M bolt/include/bolt/Passes/RegReAssign.h
M bolt/include/bolt/Passes/ReorderFunctions.h
M bolt/include/bolt/Rewrite/DWARFRewriter.h
M bolt/lib/Core/BinaryContext.cpp
M bolt/lib/Core/BinaryEmitter.cpp
M bolt/lib/Core/BinaryFunction.cpp
A bolt/lib/Core/BinaryFunctionCallGraph.cpp
M bolt/lib/Core/CMakeLists.txt
A bolt/lib/Core/CallGraph.cpp
A bolt/lib/Core/CallGraphWalker.cpp
R bolt/lib/Passes/BinaryFunctionCallGraph.cpp
M bolt/lib/Passes/BinaryPasses.cpp
M bolt/lib/Passes/CMakeLists.txt
R bolt/lib/Passes/CallGraph.cpp
R bolt/lib/Passes/CallGraphWalker.cpp
M bolt/lib/Passes/FrameAnalysis.cpp
M bolt/lib/Passes/FrameOptimizer.cpp
M bolt/lib/Passes/IndirectCallPromotion.cpp
M bolt/lib/Passes/Instrumentation.cpp
M bolt/lib/Passes/JTFootprintReduction.cpp
M bolt/lib/Passes/PLTCall.cpp
M bolt/lib/Passes/RegAnalysis.cpp
M bolt/lib/Passes/RegReAssign.cpp
M bolt/lib/Passes/StokeInfo.cpp
M bolt/lib/Profile/BoltAddressTranslation.cpp
M bolt/lib/Profile/StaleProfileMatching.cpp
M bolt/lib/Profile/YAMLProfileReader.cpp
M bolt/lib/Rewrite/DWARFRewriter.cpp
M bolt/lib/Rewrite/LinuxKernelRewriter.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
M bolt/lib/Utils/CommandLineOpts.cpp
A bolt/test/AArch64/plt-call.test
A bolt/test/Inputs/plt-tailcall.c
A bolt/test/X86/Inputs/blarge_profile_stale_low_matched_blocks.yaml
A bolt/test/X86/Inputs/infer_no_exits.s
M bolt/test/X86/bug-reorder-bb-jrcxz.s
A bolt/test/X86/hashing-based-function-matching.test
A bolt/test/X86/infer_no_exits.test
M bolt/test/X86/issue20.s
M bolt/test/X86/issue20.test
M bolt/test/X86/linux-alt-instruction.s
A bolt/test/X86/plt-call.test
M bolt/test/X86/reader-stale-yaml-std.test
M bolt/test/X86/sctc-bug4.test
A bolt/test/X86/stale-matching-min-matched-block.test
M clang-tools-extra/clang-doc/HTMLGenerator.cpp
M clang-tools-extra/clang-doc/Representation.cpp
M clang-tools-extra/clang-doc/Representation.h
M clang-tools-extra/clang-doc/assets/index.js
M clang-tools-extra/clang-doc/tool/CMakeLists.txt
M clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
M clang-tools-extra/clang-query/QueryParser.cpp
M clang-tools-extra/clang-tidy/abseil/RedundantStrcatCallsCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/MacroRepeatedSideEffectsCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/MultiLevelImplicitPointerConversionCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/ReturnConstRefFromParameterCheck.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/AvoidNonConstGlobalVariablesCheck.cpp
M clang-tools-extra/clang-tidy/cppcoreguidelines/AvoidNonConstGlobalVariablesCheck.h
M clang-tools-extra/clang-tidy/cppcoreguidelines/MacroUsageCheck.cpp
M clang-tools-extra/clang-tidy/misc/UseInternalLinkageCheck.cpp
M clang-tools-extra/clang-tidy/misc/UseInternalLinkageCheck.h
M clang-tools-extra/clang-tidy/modernize/UseDesignatedInitializersCheck.cpp
M clang-tools-extra/clang-tidy/modernize/UseDesignatedInitializersCheck.h
M clang-tools-extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp
M clang-tools-extra/clang-tidy/performance/MoveConstArgCheck.cpp
M clang-tools-extra/clang-tidy/performance/UnnecessaryCopyInitialization.cpp
M clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp
M clang-tools-extra/clang-tidy/readability/ImplicitBoolConversionCheck.cpp
M clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp
M clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.h
M clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
M clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py
M clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
M clang-tools-extra/clang-tidy/utils/DeclRefExprUtils.cpp
M clang-tools-extra/clangd/Format.cpp
M clang-tools-extra/clangd/GlobalCompilationDatabase.cpp
M clang-tools-extra/clangd/Selection.h
M clang-tools-extra/clangd/TidyProvider.cpp
M clang-tools-extra/clangd/index/remote/CMakeLists.txt
M clang-tools-extra/clangd/index/remote/Client.h
M clang-tools-extra/clangd/support/Trace.cpp
M clang-tools-extra/clangd/test/trace.test
M clang-tools-extra/clangd/unittests/ASTTests.cpp
M clang-tools-extra/clangd/unittests/HoverTests.cpp
M clang-tools-extra/clangd/unittests/InlayHintTests.cpp
M clang-tools-extra/clangd/unittests/XRefsTests.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/avoid-non-const-global-variables.rst
M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/macro-usage.rst
M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/pro-type-member-init.rst
M clang-tools-extra/docs/clang-tidy/checks/gen-static-analyzer-docs.py
M clang-tools-extra/docs/clang-tidy/checks/list.rst
M clang-tools-extra/docs/clang-tidy/checks/misc/use-internal-linkage.rst
M clang-tools-extra/docs/clang-tidy/checks/modernize/use-designated-initializers.rst
M clang-tools-extra/docs/clang-tidy/index.rst
M clang-tools-extra/include-cleaner/lib/IncludeSpeller.cpp
M clang-tools-extra/include-cleaner/lib/Record.cpp
M clang-tools-extra/include-cleaner/unittests/FindHeadersTest.cpp
M clang-tools-extra/include-cleaner/unittests/IncludeSpellerTest.cpp
M clang-tools-extra/include-cleaner/unittests/RecordTest.cpp
M clang-tools-extra/include-cleaner/unittests/WalkASTTest.cpp
M clang-tools-extra/pseudo/lib/CMakeLists.txt
M clang-tools-extra/pseudo/lib/cxx/CMakeLists.txt
M clang-tools-extra/test/CMakeLists.txt
A clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
A clang-tools-extra/test/clang-doc/Inputs/basic-project/include/Calculator.h
A clang-tools-extra/test/clang-doc/Inputs/basic-project/include/Circle.h
A clang-tools-extra/test/clang-doc/Inputs/basic-project/include/Rectangle.h
A clang-tools-extra/test/clang-doc/Inputs/basic-project/include/Shape.h
A clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Calculator.cpp
A clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Circle.cpp
A clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Rectangle.cpp
A clang-tools-extra/test/clang-doc/Inputs/test-assets/test.css
A clang-tools-extra/test/clang-doc/Inputs/test-assets/test.js
A clang-tools-extra/test/clang-doc/assets.cpp
A clang-tools-extra/test/clang-doc/basic-project.test
M clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp
M clang-tools-extra/test/clang-tidy/checkers/bugprone/multi-level-implicit-pointer-conversion.cpp
M clang-tools-extra/test/clang-tidy/checkers/bugprone/return-const-ref-from-parameter.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/avoid-non-const-global-variables.cpp
M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/macro-usage.cpp
M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/pro-type-member-init.cpp
A clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-fix-mode-none.cpp
M clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-func.cpp
M clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-var.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize/min-max-use-initializer-list.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize/use-designated-initializers.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize/use-emplace-ignore-implicit-constructors.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize/use-emplace.cpp
M clang-tools-extra/test/clang-tidy/checkers/performance/inefficient-vector-operation.cpp
M clang-tools-extra/test/clang-tidy/checkers/performance/move-const-arg.cpp
M clang-tools-extra/test/clang-tidy/checkers/performance/unnecessary-copy-initialization.cpp
A clang-tools-extra/test/clang-tidy/checkers/readability/implicit-bool-conversion-cxx20.cpp
M clang-tools-extra/test/clang-tidy/checkers/readability/isolate-declaration-cxx17.cpp
M clang-tools-extra/test/clang-tidy/checkers/readability/simplify-boolean-expr.cpp
A clang-tools-extra/test/clang-tidy/infrastructure/allow-no-checks.cpp
M clang-tools-extra/test/pp-trace/pp-trace-macro.cpp
M clang-tools-extra/unittests/clang-doc/HTMLGeneratorTest.cpp
M clang-tools-extra/unittests/clang-tidy/DeclRefExprUtilsTest.cpp
M clang/CMakeLists.txt
M clang/bindings/python/clang/cindex.py
A clang/bindings/python/tests/cindex/test_enums.py
M clang/cmake/caches/Fuchsia-stage2.cmake
M clang/cmake/caches/Release.cmake
M clang/cmake/modules/AddClang.cmake
M clang/docs/APINotes.rst
M clang/docs/BoundsSafety.rst
M clang/docs/BoundsSafetyImplPlans.rst
M clang/docs/ClangFormatStyleOptions.rst
M clang/docs/CommandGuide/clang.rst
M clang/docs/HIPSupport.rst
M clang/docs/LanguageExtensions.rst
M clang/docs/PointerAuthentication.rst
M clang/docs/ReleaseNotes.rst
M clang/docs/SourceBasedCodeCoverage.rst
M clang/docs/UsersManual.rst
M clang/docs/analyzer/checkers.rst
M clang/docs/tools/clang-formatted-files.txt
M clang/examples/LLVMPrintFunctionNames/LLVMPrintFunctionNames.cpp
M clang/include/clang/AST/ASTContext.h
M clang/include/clang/AST/ASTUnresolvedSet.h
M clang/include/clang/AST/AbstractBasicReader.h
M clang/include/clang/AST/AbstractBasicWriter.h
M clang/include/clang/AST/CommentCommandTraits.h
M clang/include/clang/AST/CommentCommands.td
M clang/include/clang/AST/CommentParser.h
M clang/include/clang/AST/Decl.h
M clang/include/clang/AST/DeclBase.h
M clang/include/clang/AST/DeclID.h
M clang/include/clang/AST/Expr.h
M clang/include/clang/AST/ExprCXX.h
M clang/include/clang/AST/GlobalDecl.h
M clang/include/clang/AST/Mangle.h
M clang/include/clang/AST/PrettyPrinter.h
M clang/include/clang/AST/PropertiesBase.td
M clang/include/clang/AST/RecursiveASTVisitor.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/TypeProperties.td
M clang/include/clang/AST/VTableBuilder.h
M clang/include/clang/Analysis/Analyses/ThreadSafetyCommon.h
M clang/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h
M clang/include/clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h
A clang/include/clang/Basic/AMDGPUTypes.def
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Basic/Builtins.def
M clang/include/clang/Basic/Builtins.td
M clang/include/clang/Basic/BuiltinsAArch64.def
M clang/include/clang/Basic/BuiltinsAMDGPU.def
M clang/include/clang/Basic/BuiltinsWebAssembly.def
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/DiagnosticCommonKinds.td
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticInstallAPIKinds.td
M clang/include/clang/Basic/DiagnosticLexKinds.td
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/Features.def
M clang/include/clang/Basic/FileManager.h
M clang/include/clang/Basic/LangOptions.def
M clang/include/clang/Basic/LangOptions.h
M clang/include/clang/Basic/OpenMPKinds.h
M clang/include/clang/Basic/PointerAuthOptions.h
M clang/include/clang/Basic/Sanitizers.def
M clang/include/clang/Basic/SourceManager.h
M clang/include/clang/Basic/StmtNodes.td
M clang/include/clang/Basic/TargetCXXABI.h
M clang/include/clang/Basic/TargetInfo.h
M clang/include/clang/Basic/Thunk.h
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/arm_sve_sme_incl.td
M clang/include/clang/CodeGen/CodeGenABITypes.h
M clang/include/clang/CodeGen/ConstantInitBuilder.h
M clang/include/clang/CodeGen/ModuleBuilder.h
M clang/include/clang/Driver/Driver.h
M clang/include/clang/Driver/Options.td
M clang/include/clang/Driver/SanitizerArgs.h
M clang/include/clang/Driver/ToolChain.h
M clang/include/clang/Format/Format.h
M clang/include/clang/Frontend/CompilerInvocation.h
M clang/include/clang/Frontend/FrontendOptions.h
M clang/include/clang/Frontend/PrecompiledPreamble.h
M clang/include/clang/Frontend/PreprocessorOutputOptions.h
M clang/include/clang/Frontend/SerializedDiagnosticReader.h
A clang/include/clang/InstallAPI/DirectoryScanner.h
M clang/include/clang/InstallAPI/DylibVerifier.h
M clang/include/clang/InstallAPI/HeaderFile.h
A clang/include/clang/InstallAPI/Library.h
M clang/include/clang/InstallAPI/MachO.h
M clang/include/clang/InstallAPI/Visitor.h
M clang/include/clang/Lex/ExternalPreprocessorSource.h
M clang/include/clang/Lex/HeaderSearch.h
M clang/include/clang/Lex/HeaderSearchOptions.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/Initialization.h
M clang/include/clang/Sema/Sema.h
M clang/include/clang/Sema/SemaARM.h
M clang/include/clang/Sema/SemaHLSL.h
M clang/include/clang/Sema/SemaObjC.h
M clang/include/clang/Sema/SemaOpenCL.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ASTRecordReader.h
M clang/include/clang/Serialization/ASTWriter.h
M clang/include/clang/Serialization/ModuleFile.h
M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
M clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def
M clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
A clang/include/clang/StaticAnalyzer/Core/BugReporter/Z3CrosscheckVisitor.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h
M clang/include/clang/Testing/TestAST.h
M clang/include/clang/Tooling/Transformer/RangeSelector.h
M clang/include/module.modulemap
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/DeclPrinter.cpp
M clang/lib/AST/DeclTemplate.cpp
M clang/lib/AST/Expr.cpp
M clang/lib/AST/ExprCXX.cpp
M clang/lib/AST/ExprClassification.cpp
M clang/lib/AST/ExprConstShared.h
M clang/lib/AST/ExprConstant.cpp
M clang/lib/AST/Interp/ByteCodeEmitter.h
R clang/lib/AST/Interp/ByteCodeExprGen.cpp
R clang/lib/AST/Interp/ByteCodeExprGen.h
R clang/lib/AST/Interp/ByteCodeStmtGen.cpp
R clang/lib/AST/Interp/ByteCodeStmtGen.h
A clang/lib/AST/Interp/Compiler.cpp
A clang/lib/AST/Interp/Compiler.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/Descriptor.h
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.h
M clang/lib/AST/Interp/Interp.cpp
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/InterpBlock.cpp
M clang/lib/AST/Interp/InterpBlock.h
M clang/lib/AST/Interp/InterpBuiltin.cpp
M clang/lib/AST/Interp/InterpFrame.cpp
M clang/lib/AST/Interp/InterpStack.h
M clang/lib/AST/Interp/InterpState.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/Program.cpp
M clang/lib/AST/Interp/Program.h
M clang/lib/AST/Interp/Record.cpp
M clang/lib/AST/ItaniumMangle.cpp
M clang/lib/AST/Mangle.cpp
M clang/lib/AST/MicrosoftMangle.cpp
M clang/lib/AST/NSAPI.cpp
M clang/lib/AST/ODRHash.cpp
M clang/lib/AST/ParentMap.cpp
M clang/lib/AST/PrintfFormatString.cpp
M clang/lib/AST/QualTypeNames.cpp
M clang/lib/AST/StmtOpenMP.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/TypeLoc.cpp
M clang/lib/AST/TypePrinter.cpp
M clang/lib/AST/VTableBuilder.cpp
M clang/lib/Analysis/FlowSensitive/ASTOps.cpp
M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp
M clang/lib/Basic/Cuda.cpp
M clang/lib/Basic/Diagnostic.cpp
M clang/lib/Basic/FileManager.cpp
M clang/lib/Basic/IdentifierTable.cpp
M clang/lib/Basic/OpenMPKinds.cpp
M clang/lib/Basic/SourceManager.cpp
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Basic/Targets/AArch64.h
M clang/lib/Basic/Targets/NVPTX.cpp
M clang/lib/Basic/Targets/NVPTX.h
M clang/lib/Basic/Targets/OSTargets.h
M clang/lib/Basic/Targets/PPC.h
M clang/lib/Basic/Targets/RISCV.cpp
M clang/lib/Basic/Targets/WebAssembly.cpp
M clang/lib/Basic/Targets/X86.cpp
M clang/lib/Basic/Targets/X86.h
M clang/lib/CodeGen/ABIInfo.cpp
M clang/lib/CodeGen/ABIInfo.h
M clang/lib/CodeGen/ABIInfoImpl.cpp
M clang/lib/CodeGen/ABIInfoImpl.h
M clang/lib/CodeGen/BackendConsumer.h
M clang/lib/CodeGen/BackendUtil.cpp
M clang/lib/CodeGen/CGBlocks.cpp
M clang/lib/CodeGen/CGBuilder.h
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGCXX.cpp
M clang/lib/CodeGen/CGCXXABI.h
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CGCall.h
M clang/lib/CodeGen/CGClass.cpp
M clang/lib/CodeGen/CGCleanup.cpp
M clang/lib/CodeGen/CGCoroutine.cpp
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/CodeGen/CGDebugInfo.h
M clang/lib/CodeGen/CGDecl.cpp
M clang/lib/CodeGen/CGDeclCXX.cpp
M clang/lib/CodeGen/CGExpr.cpp
M clang/lib/CodeGen/CGExprAgg.cpp
M clang/lib/CodeGen/CGExprCXX.cpp
M clang/lib/CodeGen/CGExprComplex.cpp
M clang/lib/CodeGen/CGExprConstant.cpp
M clang/lib/CodeGen/CGExprScalar.cpp
M clang/lib/CodeGen/CGHLSLRuntime.h
M clang/lib/CodeGen/CGObjCGNU.cpp
M clang/lib/CodeGen/CGObjCMac.cpp
M clang/lib/CodeGen/CGOpenMPRuntime.cpp
M clang/lib/CodeGen/CGOpenMPRuntime.h
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.h
A clang/lib/CodeGen/CGPointerAuth.cpp
A clang/lib/CodeGen/CGPointerAuthInfo.h
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/lib/CodeGen/CGVTT.cpp
M clang/lib/CodeGen/CGVTables.cpp
M clang/lib/CodeGen/CMakeLists.txt
M clang/lib/CodeGen/CodeGenAction.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/CodeGenPGO.cpp
M clang/lib/CodeGen/CodeGenTypes.cpp
M clang/lib/CodeGen/ConstantEmitter.h
M clang/lib/CodeGen/ConstantInitBuilder.cpp
M clang/lib/CodeGen/CoverageMappingGen.cpp
M clang/lib/CodeGen/ItaniumCXXABI.cpp
M clang/lib/CodeGen/LinkInModulesPass.cpp
M clang/lib/CodeGen/LinkInModulesPass.h
M clang/lib/CodeGen/MCDCState.h
M clang/lib/CodeGen/MicrosoftCXXABI.cpp
M clang/lib/CodeGen/Targets/AArch64.cpp
M clang/lib/CodeGen/Targets/AMDGPU.cpp
M clang/lib/CodeGen/Targets/ARC.cpp
M clang/lib/CodeGen/Targets/ARM.cpp
M clang/lib/CodeGen/Targets/CSKY.cpp
M clang/lib/CodeGen/Targets/Hexagon.cpp
M clang/lib/CodeGen/Targets/LoongArch.cpp
M clang/lib/CodeGen/Targets/MSP430.cpp
M clang/lib/CodeGen/Targets/Mips.cpp
M clang/lib/CodeGen/Targets/NVPTX.cpp
M clang/lib/CodeGen/Targets/PNaCl.cpp
M clang/lib/CodeGen/Targets/PPC.cpp
M clang/lib/CodeGen/Targets/RISCV.cpp
M clang/lib/CodeGen/Targets/Sparc.cpp
M clang/lib/CodeGen/Targets/SystemZ.cpp
M clang/lib/CodeGen/Targets/WebAssembly.cpp
M clang/lib/CodeGen/Targets/X86.cpp
M clang/lib/CodeGen/Targets/XCore.cpp
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/OffloadBundler.cpp
M clang/lib/Driver/SanitizerArgs.cpp
M clang/lib/Driver/ToolChain.cpp
M clang/lib/Driver/ToolChains/AIX.cpp
M clang/lib/Driver/ToolChains/AMDGPU.cpp
M clang/lib/Driver/ToolChains/AMDGPU.h
M clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
M clang/lib/Driver/ToolChains/Arch/AArch64.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/Cuda.cpp
M clang/lib/Driver/ToolChains/Cuda.h
M clang/lib/Driver/ToolChains/Darwin.cpp
M clang/lib/Driver/ToolChains/Fuchsia.cpp
M clang/lib/Driver/ToolChains/HIPAMD.cpp
M clang/lib/Driver/ToolChains/HIPAMD.h
M clang/lib/Driver/ToolChains/Linux.cpp
M clang/lib/Driver/ToolChains/MSVC.cpp
M clang/lib/Driver/ToolChains/MinGW.cpp
M clang/lib/Driver/ToolChains/Solaris.cpp
M clang/lib/Driver/ToolChains/WebAssembly.cpp
M clang/lib/Format/CMakeLists.txt
M clang/lib/Format/ContinuationIndenter.cpp
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatToken.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/TokenAnnotator.h
M clang/lib/Format/UnwrappedLineFormatter.cpp
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Format/UnwrappedLineParser.h
M clang/lib/Frontend/ASTUnit.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/PrecompiledPreamble.cpp
M clang/lib/Frontend/PrintPreprocessedOutput.cpp
M clang/lib/Frontend/TextDiagnostic.cpp
M clang/lib/Headers/CMakeLists.txt
M clang/lib/Headers/amxcomplexintrin.h
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
M clang/lib/Headers/ia32intrin.h
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/Index/USRGeneration.cpp
M clang/lib/InstallAPI/CMakeLists.txt
A clang/lib/InstallAPI/DirectoryScanner.cpp
A clang/lib/InstallAPI/Library.cpp
M clang/lib/InstallAPI/Visitor.cpp
M clang/lib/Interpreter/CodeCompletion.cpp
M clang/lib/Interpreter/DeviceOffload.cpp
M clang/lib/Lex/HeaderSearch.cpp
M clang/lib/Lex/Lexer.cpp
M clang/lib/Lex/LiteralSupport.cpp
M clang/lib/Lex/PPDirectives.cpp
M clang/lib/Lex/PPExpressions.cpp
M clang/lib/Lex/PPMacroExpansion.cpp
M clang/lib/Lex/Preprocessor.cpp
M clang/lib/Lex/TokenConcatenation.cpp
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Parse/ParseExpr.cpp
M clang/lib/Parse/ParseHLSL.cpp
M clang/lib/Parse/ParseInit.cpp
M clang/lib/Parse/ParseOpenMP.cpp
M clang/lib/Parse/ParseTemplate.cpp
M clang/lib/Parse/Parser.cpp
M clang/lib/Sema/AnalysisBasedWarnings.cpp
M clang/lib/Sema/CMakeLists.txt
A clang/lib/Sema/CheckExprLifetime.cpp
A clang/lib/Sema/CheckExprLifetime.h
M clang/lib/Sema/DeclSpec.cpp
M clang/lib/Sema/ScopeInfo.cpp
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaAPINotes.cpp
M clang/lib/Sema/SemaARM.cpp
M clang/lib/Sema/SemaAccess.cpp
M clang/lib/Sema/SemaAttr.cpp
M clang/lib/Sema/SemaAvailability.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/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
M clang/lib/Sema/SemaInit.cpp
M clang/lib/Sema/SemaLambda.cpp
M clang/lib/Sema/SemaLookup.cpp
M clang/lib/Sema/SemaModule.cpp
M clang/lib/Sema/SemaObjC.cpp
M clang/lib/Sema/SemaOpenACC.cpp
M clang/lib/Sema/SemaOpenCL.cpp
M clang/lib/Sema/SemaOpenMP.cpp
M clang/lib/Sema/SemaOverload.cpp
M clang/lib/Sema/SemaStmt.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaTemplateDeduction.cpp
M clang/lib/Sema/SemaTemplateInstantiate.cpp
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
M clang/lib/Sema/SemaTemplateVariadic.cpp
M clang/lib/Sema/SemaType.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTCommon.cpp
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/GlobalModuleIndex.cpp
M clang/lib/Serialization/ModuleFile.cpp
M clang/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
R clang/lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp
M clang/lib/StaticAnalyzer/Checkers/NoOwnershipChangeVisitor.cpp
M clang/lib/StaticAnalyzer/Checkers/PointerSubChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
M clang/lib/StaticAnalyzer/Core/BugReporter.cpp
M clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
M clang/lib/StaticAnalyzer/Core/CMakeLists.txt
M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
M clang/lib/StaticAnalyzer/Core/MemRegion.cpp
M clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
A clang/lib/StaticAnalyzer/Core/Z3CrosscheckVisitor.cpp
M clang/lib/Support/CMakeLists.txt
M clang/lib/Testing/TestAST.cpp
M clang/lib/Tooling/Inclusions/Stdlib/CMakeLists.txt
M clang/lib/Tooling/Transformer/RangeSelector.cpp
M clang/lib/Tooling/Transformer/Stencil.cpp
A clang/test/AST/HLSL/export.hlsl
M clang/test/AST/HLSL/pch.hlsl
M clang/test/AST/HLSL/pch_with_buf.hlsl
M clang/test/AST/HLSL/vector-alias.hlsl
M clang/test/AST/HLSL/vector-constructors.hlsl
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
A clang/test/AST/Interp/const-temporaries.cpp
M clang/test/AST/Interp/cxx11.cpp
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/cxx98.cpp
M clang/test/AST/Interp/functions.cpp
A clang/test/AST/Interp/hlsl.hlsl
M clang/test/AST/Interp/literals.cpp
A clang/test/AST/Interp/mutable.cpp
M clang/test/AST/Interp/opencl.cl
M clang/test/AST/Interp/records.cpp
M clang/test/AST/Interp/references.cpp
M clang/test/AST/Interp/vectors.cpp
A clang/test/AST/ast-dump-amdgpu-types.c
M clang/test/AST/ast-dump-ctad-alias.cpp
M clang/test/AST/ast-dump-template-decls.cpp
M clang/test/AST/ast-dump-using-template.cpp
M clang/test/Analysis/Inputs/system-header-simulator-for-simple-stream.h
M clang/test/Analysis/analyzer-checker-option-help.c
M clang/test/Analysis/analyzer-config.c
M clang/test/Analysis/casts.c
M clang/test/Analysis/equality_tracking.c
M clang/test/Analysis/errno-stdlibraryfunctions.c
A clang/test/Analysis/fread.c
A clang/test/Analysis/pointer-sub-notes.c
A clang/test/Analysis/pointer-sub.c
M clang/test/Analysis/ptr-arith.c
R clang/test/Analysis/sizeofpointer.c
A clang/test/Analysis/stream-notes-missing-close.cpp
M clang/test/Analysis/stream.c
A clang/test/Analysis/z3/crosscheck-statistics.c
A clang/test/C/C11/n1285.c
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/n2819.c
A clang/test/C/C2x/n3017.c
A clang/test/C/C2x/n3033.c
A clang/test/C/C2x/n3033_2.c
A clang/test/C/C99/n448.c
M clang/test/CXX/basic/basic.start/basic.start.init/p3.cpp
M clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.nodiscard/p2.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p3.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.stc/p1.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p4.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p7-cxx14.cpp
M clang/test/CXX/drs/cwg21xx.cpp
M clang/test/CXX/drs/cwg26xx.cpp
M clang/test/CXX/drs/cwg28xx.cpp
M clang/test/CXX/drs/cwg2xx.cpp
M clang/test/CXX/drs/cwg3xx.cpp
M clang/test/CXX/drs/cwg7xx.cpp
M clang/test/CXX/drs/cwg8xx.cpp
M clang/test/CXX/expr/expr.prim/expr.prim.req/compound-requirement.cpp
M clang/test/CXX/temp/temp.decls/temp.mem/p2.cpp
M clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp
M clang/test/CXX/temp/temp.res/temp.dep/temp.dep.constexpr/p2-0x.cpp
M clang/test/CXX/temp/temp.spec/temp.expl.spec/p17.cpp
M clang/test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp
A clang/test/CXX/temp/temp.spec/temp.expl.spec/p2-20.cpp
M clang/test/CodeCompletion/ctor-signature.cpp
M clang/test/CodeGen/2010-07-08-DeclDebugLineNo.c
A clang/test/CodeGen/PowerPC/inline-asm-constraints-error.c
M clang/test/CodeGen/RISCV/riscv-func-attr-target.c
M clang/test/CodeGen/X86/math-builtins.c
M clang/test/CodeGen/X86/ms-x86-intrinsics.c
M clang/test/CodeGen/X86/x86_64-vaarg.c
M clang/test/CodeGen/aarch64-cpu-supports-target.c
M clang/test/CodeGen/aarch64-fmv-dependencies.c
M clang/test/CodeGen/aarch64-mixed-target-attributes.c
M clang/test/CodeGen/aarch64-sme-intrinsics/aarch64-sme-attrs.cpp
A clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_state_builtin.c
A clang/test/CodeGen/aarch64-sme2p1-intrinsics/acle_sme2p1_movaz.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_abd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_abs.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_acge.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_acgt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_acle.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_aclt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_add.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_addv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_and.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_andv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_asr.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_asrd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bfdot.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bfmlalb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bfmlalt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bic.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brka.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkn.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkpa.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkpb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cadd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clasta-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clasta.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clastb-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clastb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cls.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clz.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmla.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpeq.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpge.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpgt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmple.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmplt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpne.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpuo.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnot.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnt-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnth.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntp.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntw.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_cvt-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cvt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cvtnt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_div.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_divr.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dot.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dup-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dup.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dupq-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dupq.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_eor.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_eorv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ext-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ext.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_extb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_exth.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_extw.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_index.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_insr-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_insr.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lasta-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lasta.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lastb-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lastb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1rq-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1rq.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1ub.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1uh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1uw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnt1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnt1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_len-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_len.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lsl.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lsr.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mad.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_max.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxnm.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxnmv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_min.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minnm.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minnmv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mla.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mls.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mov.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_msb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mul.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mulh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mulx.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nand.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_neg.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmad.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmla.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmls.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmsb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nor.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_not.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_orn.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_orr.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_orv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_pfalse.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_pfirst.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_pnext.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ptest.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ptrue.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qadd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdech.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecp.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qinch.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincp.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qsub.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rbit.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_recpe.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_recps.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_recpx.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rev-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rev.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_revb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_revh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_revw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rinta.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rinti.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintm.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintn.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintp.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintx.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintz.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rsqrte.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rsqrts.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_scale.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sel-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sel.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_splice-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_splice.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sqrt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1b.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1h.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1w.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_stnt1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_stnt1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sub.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_subr.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sudot.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tbl-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tbl.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_unpklo.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_usdot.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_whilele.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_whilelt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip2.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pext.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_qrshr.c
M clang/test/CodeGen/aarch64-targetattr-arch.c
M clang/test/CodeGen/aarch64-targetattr.c
M clang/test/CodeGen/aarch64-varargs.c
M clang/test/CodeGen/aarch64_neon_sve_bridge_intrinsics/target.c
A clang/test/CodeGen/amdgpu-buffer-rsrc-type-debug-info.c
M clang/test/CodeGen/arm-abi-vector.c
M clang/test/CodeGen/arm-vaarg.c
M clang/test/CodeGen/asan-frame-pointer.cpp
M clang/test/CodeGen/asan-globals.cpp
M clang/test/CodeGen/assignment-tracking/assignment-tracking.cpp
M clang/test/CodeGen/assignment-tracking/memcpy-fragment.cpp
M clang/test/CodeGen/assignment-tracking/nested-scope.cpp
M clang/test/CodeGen/attr-error.c
M clang/test/CodeGen/attr-nodebug.c
M clang/test/CodeGen/attr-target-clones-aarch64.c
M clang/test/CodeGen/attr-target-version.c
M clang/test/CodeGen/attr-warning.c
M clang/test/CodeGen/builtins-elementwise-math.c
M clang/test/CodeGen/builtins-wasm.c
M clang/test/CodeGen/cfstring.c
M clang/test/CodeGen/constrained-math-builtins.c
A clang/test/CodeGen/coverage-target-attr.c
M clang/test/CodeGen/debug-info-block-decl.c
M clang/test/CodeGen/debug-info-block-expr.c
M clang/test/CodeGen/debug-info-block-vars.c
M clang/test/CodeGen/debug-info-matrix-types.c
M clang/test/CodeGen/debug-info-vla.c
M clang/test/CodeGen/debug-label-inline.c
M clang/test/CodeGen/debug-label.c
M clang/test/CodeGen/instrument-objc-method.m
M clang/test/CodeGen/math-libcalls.c
M clang/test/CodeGen/mips-varargs.c
M clang/test/CodeGen/paren-list-agg-init.cpp
A clang/test/CodeGen/ptrauth-function-attributes.c
A clang/test/CodeGen/ptrauth-function-init-fail.c
A clang/test/CodeGen/ptrauth-function-init.c
A clang/test/CodeGen/ptrauth-function-lvalue-cast.c
A clang/test/CodeGen/ptrauth-function.c
A clang/test/CodeGen/ptrauth-intrinsic-sign-constant.c
M clang/test/CodeGen/ptrauth-intrinsics.c
A clang/test/CodeGen/ptrauth-ubsan-vptr.cpp
A clang/test/CodeGen/ptrauth-weak_import.c
M clang/test/CodeGen/sanitize-metadata-nosanitize.c
A clang/test/CodeGen/sanitize-numerical-stability-attr.cpp
M clang/test/CodeGen/strictfp-elementwise-bulitins.cpp
M clang/test/CodeGen/target-data.c
M clang/test/CodeGenCUDA/amdgpu-atomic-ops.cu
M clang/test/CodeGenCUDA/builtins-amdgcn.cu
M clang/test/CodeGenCUDA/builtins-spirv-amdgcn.cu
M clang/test/CodeGenCUDA/builtins-unsafe-atomics-gfx90a.cu
M clang/test/CodeGenCUDA/builtins-unsafe-atomics-spirv-amdgcn-gfx90a.cu
M clang/test/CodeGenCUDA/debug-info-address-class.cu
M clang/test/CodeGenCUDA/managed-var.cu
M clang/test/CodeGenCXX/2011-12-19-init-list-ctor.cpp
M clang/test/CodeGenCXX/aarch64-mangle-sve-vectors.cpp
A clang/test/CodeGenCXX/amdgpu-buffer-rsrc-typeinfo.cpp
M clang/test/CodeGenCXX/arm64-empty-struct.cpp
M clang/test/CodeGenCXX/attr-annotate.cpp
M clang/test/CodeGenCXX/attr-likelihood-if-vs-builtin-expect.cpp
M clang/test/CodeGenCXX/attr-target-clones-aarch64.cpp
M clang/test/CodeGenCXX/attr-target-version.cpp
M clang/test/CodeGenCXX/auto-var-init-max-size.cpp
M clang/test/CodeGenCXX/auto-var-init-stop-after.cpp
M clang/test/CodeGenCXX/auto-var-init.cpp
M clang/test/CodeGenCXX/catch-undef-behavior.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/debug-info-inheriting-constructor.cpp
M clang/test/CodeGenCXX/debug-info-nrvo.cpp
M clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp
M clang/test/CodeGenCXX/debug-info-range-for-var-names.cpp
M clang/test/CodeGenCXX/debug-info-structured-binding-bitfield.cpp
M clang/test/CodeGenCXX/debug-info-structured-binding.cpp
A clang/test/CodeGenCXX/debug-info-verbose-trap.cpp
M clang/test/CodeGenCXX/debug-info.cpp
M clang/test/CodeGenCXX/fmv-namespace.cpp
M clang/test/CodeGenCXX/init-invariant.cpp
M clang/test/CodeGenCXX/linetable-eh.cpp
M clang/test/CodeGenCXX/mangle-ms-auto-templates.cpp
M clang/test/CodeGenCXX/microsoft-uuidof.cpp
M clang/test/CodeGenCXX/modules-vtable.cppm
M clang/test/CodeGenCXX/ms-inline-asm-fields.cpp
A clang/test/CodeGenCXX/msabi-preserve-none-cc.cpp
M clang/test/CodeGenCXX/partial-destruction.cpp
A clang/test/CodeGenCXX/pr70585.cppm
A clang/test/CodeGenCXX/ptrauth-apple-kext-indirect-call-2.cpp
A clang/test/CodeGenCXX/ptrauth-apple-kext-indirect-call.cpp
A clang/test/CodeGenCXX/ptrauth-apple-kext-indirect-virtual-dtor-call.cpp
A clang/test/CodeGenCXX/ptrauth-explicit-vtable-pointer-control.cpp
A clang/test/CodeGenCXX/ptrauth-rtti-layout.cpp
A clang/test/CodeGenCXX/ptrauth-thunks.cpp
A clang/test/CodeGenCXX/ptrauth-virtual-function.cpp
A clang/test/CodeGenCXX/ptrauth-vtable-virtual-inheritance-thunk.cpp
A clang/test/CodeGenCXX/ptrauth.cpp
M clang/test/CodeGenCXX/temporaries.cpp
A clang/test/CodeGenCXX/trivial-auto-var-init-skip-scalar-with-nonconst-init.cpp
M clang/test/CodeGenCXX/trivial_abi_debuginfo.cpp
M clang/test/CodeGenCXX/ubsan-vtable-checks.cpp
M clang/test/CodeGenCXX/value-init.cpp
A clang/test/CodeGenCXX/windows-instantiate-dllexport-template-specialization.cpp
M clang/test/CodeGenCXX/x86_32-vaarg.cpp
M clang/test/CodeGenCXX/x86_64-vaarg.cpp
M clang/test/CodeGenCoroutines/coro-suspend-cleanups.cpp
A clang/test/CodeGenHIP/builtins-make-buffer-rsrc.hip
A clang/test/CodeGenHLSL/builtins/acos.hlsl
A clang/test/CodeGenHLSL/builtins/asin.hlsl
A clang/test/CodeGenHLSL/builtins/atan.hlsl
A clang/test/CodeGenHLSL/builtins/cosh.hlsl
M clang/test/CodeGenHLSL/builtins/rsqrt.hlsl
A clang/test/CodeGenHLSL/builtins/sinh.hlsl
A clang/test/CodeGenHLSL/builtins/tanh.hlsl
M clang/test/CodeGenHLSL/convergence/for.hlsl
A clang/test/CodeGenHLSL/export.hlsl
M clang/test/CodeGenObjC/2010-02-09-DbgSelf.m
M clang/test/CodeGenObjC/arc-ternary-op.m
M clang/test/CodeGenObjC/arc.m
M clang/test/CodeGenObjC/debug-info-blocks.m
M clang/test/CodeGenObjC/debug-info-nested-blocks.m
M clang/test/CodeGenObjC/encode-test-3.m
M clang/test/CodeGenObjC/objc-fixed-enum.m
M clang/test/CodeGenObjCXX/arc-exceptions.mm
M clang/test/CodeGenObjCXX/property-objects.mm
A clang/test/CodeGenOpenCL/amdgcn-buffer-rsrc-type.cl
M clang/test/CodeGenOpenCL/amdgpu-debug-info-variable-expression.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx10.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx11.cl
A clang/test/CodeGenOpenCL/builtins-amdgcn-make-buffer-rsrc.cl
A clang/test/CodeGenOpenCL/builtins-amdgcn-raw-buffer-store.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/builtins-fp-atomics-gfx12.cl
M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx8.cl
M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx90a.cl
M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx940.cl
M clang/test/CodeGenOpenCL/builtins-r600.cl
M clang/test/CodeGenOpenCLCXX/constexpr.clcpp
M clang/test/CodeGenSYCL/debug-info-kernel-variables.cpp
M clang/test/Coverage/targets.c
M clang/test/Coverage/unresolved-ctor-expr.cpp
M clang/test/CoverageMapping/branch-constfolded.cpp
M clang/test/CoverageMapping/logical.cpp
M clang/test/CoverageMapping/mcdc-class.cpp
M clang/test/CoverageMapping/mcdc-error-conditions.cpp
M clang/test/CoverageMapping/mcdc-logical-scalar-ids.cpp
M clang/test/CoverageMapping/mcdc-logical-stmt-ids-all.cpp
M clang/test/CoverageMapping/mcdc-logical-stmt-ids.cpp
M clang/test/CoverageMapping/mcdc-scratch-space.c
M clang/test/CoverageMapping/mcdc-system-headers.cpp
A clang/test/Driver/Inputs/basic_baremetal_tree/bin/.keep
A clang/test/Driver/Inputs/basic_baremetal_tree/include/armv6m-unknown-none-eabi/.keep
A clang/test/Driver/Inputs/basic_baremetal_tree/include/armv6m-unknown-none-eabi/c++/v1/.keep
A clang/test/Driver/Inputs/basic_baremetal_tree/include/c++/v1/.keep
A clang/test/Driver/Inputs/basic_baremetal_tree/lib/armv6m-unknown-none-eabi/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/aarch64-unknown-fuchsia/asan+noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/aarch64-unknown-fuchsia/asan/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/aarch64-unknown-fuchsia/compat/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/aarch64-unknown-fuchsia/hwasan+noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/aarch64-unknown-fuchsia/hwasan/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/aarch64-unknown-fuchsia/noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/riscv64-unknown-fuchsia/asan+noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/riscv64-unknown-fuchsia/asan/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/riscv64-unknown-fuchsia/compat/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/riscv64-unknown-fuchsia/hwasan+noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/riscv64-unknown-fuchsia/hwasan/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/riscv64-unknown-fuchsia/noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/x86_64-unknown-fuchsia/asan+noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/x86_64-unknown-fuchsia/asan/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/x86_64-unknown-fuchsia/compat/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/x86_64-unknown-fuchsia/hwasan+noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/x86_64-unknown-fuchsia/hwasan/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/x86_64-unknown-fuchsia/noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/lib/aarch64-unknown-fuchsia/ubsan+noexcept/libc++.so
A clang/test/Driver/Inputs/basic_fuchsia_tree/lib/aarch64-unknown-fuchsia/ubsan/libc++.so
A clang/test/Driver/Inputs/basic_fuchsia_tree/lib/x86_64-unknown-fuchsia/ubsan+noexcept/libc++.so
A clang/test/Driver/Inputs/basic_fuchsia_tree/lib/x86_64-unknown-fuchsia/ubsan/libc++.so
A clang/test/Driver/aarch64-fixed-register-global.c
M clang/test/Driver/aarch64-fp16.c
M clang/test/Driver/aarch64-mac-cpus.c
M clang/test/Driver/aarch64-mcpu.c
M clang/test/Driver/aarch64-sve2.c
M clang/test/Driver/aarch64-v81a.c
M clang/test/Driver/aarch64-v82a.c
M clang/test/Driver/aarch64-v83a.c
M clang/test/Driver/aarch64-v84a.c
M clang/test/Driver/aarch64-v85a.c
M clang/test/Driver/aarch64-v86a.c
M clang/test/Driver/aarch64-v87a.c
M clang/test/Driver/aarch64-v88a.c
M clang/test/Driver/aarch64-v89a.c
A clang/test/Driver/aarch64-v8a.c
M clang/test/Driver/aarch64-v91a.c
M clang/test/Driver/aarch64-v92a.c
M clang/test/Driver/aarch64-v93a.c
M clang/test/Driver/aarch64-v94a.c
M clang/test/Driver/aarch64-v95a.c
A clang/test/Driver/aarch64-v9a.c
M clang/test/Driver/amdgpu-openmp-toolchain.c
A clang/test/Driver/apple-os-triples.c
R clang/test/Driver/appletvos-version-min.c
M clang/test/Driver/arc.c
M clang/test/Driver/arclite-link.c
M clang/test/Driver/baremetal.cpp
M clang/test/Driver/cl-options.c
M clang/test/Driver/cuda-arch-translation.cu
M clang/test/Driver/darwin-objc-defaults.m
M clang/test/Driver/darwin-stdlib-dont-pass-in-c.c
M clang/test/Driver/darwin-stdlib.cpp
M clang/test/Driver/darwin-version.c
M clang/test/Driver/darwin-xarch.c
M clang/test/Driver/debug-options.c
M clang/test/Driver/defsym.s
R clang/test/Driver/driverkit-version-min.c
M clang/test/Driver/dxc_fcgl.hlsl
M clang/test/Driver/fsanitize.c
M clang/test/Driver/fuchsia.cpp
R clang/test/Driver/ios-version-min.c
M clang/test/Driver/linker-wrapper-libs.c
M clang/test/Driver/linker-wrapper.c
M clang/test/Driver/macos-apple-silicon-slice-link-libs-darwin-only.cpp
M clang/test/Driver/print-supported-extensions.c
M clang/test/Driver/riscv-arch.c
M clang/test/Driver/riscv-cpus.c
M clang/test/Driver/rocm-device-libs.cl
M clang/test/Driver/sanitizer-ld.c
M clang/test/Driver/spirv-toolchain.cl
M clang/test/Driver/stack-protector.c
M clang/test/Driver/warning-options.cpp
R clang/test/Driver/watchos-version-min.c
M clang/test/Driver/x86-target-features.c
M clang/test/Frontend/embed-bitcode.ll
M clang/test/Index/TestClassForwardDecl.m
M clang/test/Index/annotate-comments.cpp
M clang/test/Index/c-index-api-loadTU-test.m
M clang/test/Index/c-index-getCursor-test.m
M clang/test/Index/comment-misc-tags.m
M clang/test/Index/comment-to-html-xml-conversion.cpp
M clang/test/Index/overriding-ftemplate-comments.cpp
M clang/test/InstallAPI/asm.test
M clang/test/InstallAPI/basic.test
M clang/test/InstallAPI/binary-attributes.test
M clang/test/InstallAPI/cpp.test
M clang/test/InstallAPI/diagnostics-dsym.test
A clang/test/InstallAPI/directory-scanning-dylib.test
A clang/test/InstallAPI/directory-scanning-frameworks.test
M clang/test/InstallAPI/functions.test
M clang/test/InstallAPI/variables.test
M clang/test/Interpreter/inline-virtual.cpp
M clang/test/Lexer/cxx2c-raw-strings.cpp
A clang/test/Lexer/has_feature_numerical_stability_sanitizer.cpp
A clang/test/Misc/cc1as-defsym.s
M clang/test/Misc/pragma-attribute-supported-attributes-list.test
M clang/test/Misc/target-invalid-cpu-note.c
M clang/test/Misc/warning-flags.c
M clang/test/Modules/Inputs/implicit-built-Werror-using-W/convert.h
M clang/test/Modules/Inputs/initializer_list/direct.h
M clang/test/Modules/Inputs/redecl-templates/a.h
M clang/test/Modules/decl-params-determinisim.m
A clang/test/Modules/forward-friend.cppm
M clang/test/Modules/implicit-built-Werror-using-W.cpp
M clang/test/Modules/no-eager-load.cppm
A clang/test/Modules/no-external-identifier-id.cppm
A clang/test/Modules/no-external-type-id.cppm
M clang/test/Modules/no-implicit-declarations.cppm
A clang/test/Modules/no-transitive-decl-change-2.cppm
M clang/test/Modules/no-transitive-decls-change.cppm
A clang/test/Modules/no-transitive-identifier-change-2.cppm
A clang/test/Modules/no-transitive-identifier-change.cppm
A clang/test/Modules/no-transitive-type-change.cppm
M clang/test/Modules/pr60775.cppm
A clang/test/Modules/pr97244.cppm
A clang/test/Modules/pr97313.cppm
M clang/test/Modules/redecl-templates.cpp
A clang/test/Modules/safe_buffers_optout.cpp
A clang/test/Modules/same-decl-in-different-modules.cppm
A clang/test/Modules/transitive-adl-change.cppm
M clang/test/OpenMP/Inputs/nesting_of_regions.cpp
M clang/test/OpenMP/debug-info-complex-byval.cpp
M clang/test/OpenMP/debug-info-openmp-array.cpp
M clang/test/OpenMP/debug_private.c
M clang/test/OpenMP/debug_task_shared.c
M clang/test/OpenMP/debug_threadprivate_copyin.c
M clang/test/OpenMP/declare_reduction_codegen_in_templates.cpp
M clang/test/OpenMP/declare_variant_clauses_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_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_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/irbuilder_nested_parallel_for.c
M clang/test/OpenMP/nested_loop_codegen.cpp
M clang/test/OpenMP/nvptx_SPMD_codegen.cpp
M clang/test/OpenMP/nvptx_target_parallel_reduction_codegen.cpp
M clang/test/OpenMP/nvptx_target_parallel_reduction_codegen_tbaa_PR46146.cpp
M clang/test/OpenMP/nvptx_teams_reduction_codegen.cpp
M clang/test/OpenMP/ordered_codegen.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_for_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
A clang/test/OpenMP/reduction_complex.c
M clang/test/OpenMP/reduction_implicit_map.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_parallel_debug_codegen.cpp
M clang/test/OpenMP/target_parallel_for_codegen.cpp
M clang/test/OpenMP/target_parallel_for_debug_codegen.cpp
M clang/test/OpenMP/target_parallel_for_simd_codegen.cpp
M clang/test/OpenMP/target_parallel_generic_loop_codegen-3.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_schedule_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_parallel_for_simd_schedule_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_codegen.cpp
M clang/test/OpenMP/target_teams_generic_loop_private_codegen.cpp
M clang/test/OpenMP/taskgroup_task_reduction_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_schedule_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_parallel_for_simd_schedule_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-templates.h
M clang/test/PCH/cxx1y-variable-templates.cpp
M clang/test/PCH/cxx2a-requires-expr.cpp
M clang/test/PCH/cxx_paren_init.cpp
A clang/test/PCH/unsafe-buffer-usage-pragma-pch-complex.cpp
A clang/test/PCH/unsafe-buffer-usage-pragma-pch-cross-files-2.cpp
A clang/test/PCH/unsafe-buffer-usage-pragma-pch-cross-files.cpp
M clang/test/Parser/compound_literal.c
M clang/test/Parser/cxx2a-concepts-requires-expr.cpp
A clang/test/ParserHLSL/bitfields.hlsl
A clang/test/ParserHLSL/hlsl_annotations_on_struct_members.hlsl
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/numbers.txt
A clang/test/Preprocessor/Inputs/single_byte.txt
M clang/test/Preprocessor/aarch64-target-features.c
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-x86.c
M clang/test/Preprocessor/init.c
M clang/test/Preprocessor/macro_with_initializer_list.cpp
M clang/test/Preprocessor/pragma_diagnostic.c
M clang/test/Preprocessor/predefined-win-macros.c
M clang/test/Preprocessor/riscv-target-features.c
A clang/test/Preprocessor/single_byte.txt
M clang/test/Preprocessor/wasm-target-features.c
M clang/test/Preprocessor/x86_target_features.c
M clang/test/Profile/c-mcdc-class.cpp
M clang/test/Profile/c-mcdc-logicalop-ternary.c
M clang/test/Profile/c-mcdc-nested-ternary.c
M clang/test/Profile/c-mcdc-not.c
M clang/test/Profile/c-mcdc.c
A clang/test/Sema/aarch64-fixed-global-register.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-intrinsics/acle_sme_target.c
R clang/test/Sema/aarch64-sme2-sve2p1-diagnostics.c
A clang/test/Sema/aarch64-sme2p1-intrinsics/acle_sme2p1_imm.cpp
A clang/test/Sema/aarch64-streaming-sme-or-nonstreaming-sve-builtins.c
M clang/test/Sema/aarch64-sve-intrinsics/acle_sve_bfloat.cpp
M clang/test/Sema/aarch64-sve-vector-trig-ops.c
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2.cpp
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_aes_bitperm_sha3_sm4.cpp
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_bfloat.cpp
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_imm_lane.cpp
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_imm_rotation.cpp
M clang/test/Sema/arm-sve-target.cpp
M clang/test/Sema/arm-vector-types-support.c
M clang/test/Sema/atomic-ops.c
A clang/test/Sema/attr-nonblocking-sema.c
A clang/test/Sema/attr-nonblocking-sema.cpp
A clang/test/Sema/attr-nonblocking-syntax.cpp
M clang/test/Sema/builtins-elementwise-math.c
M clang/test/Sema/constexpr-void-cast.c
M clang/test/Sema/implicit-decl.c
A clang/test/Sema/integral-to-ptr.c
M clang/test/Sema/preserve-none-call-conv.c
M clang/test/Sema/ptrauth-intrinsics-macro.c
M clang/test/Sema/ptrauth.c
M clang/test/Sema/riscv-rvv-vector-trig-ops.c
A clang/test/SemaCUDA/amdgpu-builtins-pointer-args.cu
A clang/test/SemaCUDA/function-redclare.cu
R clang/test/SemaCUDA/neon-attrs.cu
M clang/test/SemaCXX/PR20334-std_initializer_list_diagnosis_assertion.cpp
A clang/test/SemaCXX/amdgpu-buffer-rsrc.cpp
M clang/test/SemaCXX/atomic-ops.cpp
M clang/test/SemaCXX/attr-lifetimebound.cpp
M clang/test/SemaCXX/auto-invalid-init-crash.cpp
M clang/test/SemaCXX/builtins-elementwise-math.cpp
M clang/test/SemaCXX/complex-folding.cpp
M clang/test/SemaCXX/constant-expression-cxx14.cpp
A clang/test/SemaCXX/constexpr-return-non-void-cxx2b.cpp
M clang/test/SemaCXX/coroutine-vla.cpp
A clang/test/SemaCXX/ctad-copy-init-list-narrowing.cpp
M clang/test/SemaCXX/cxx0x-initializer-references.cpp
M clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
M clang/test/SemaCXX/cxx0x-noexcept-expression.cpp
M clang/test/SemaCXX/cxx11-call-to-deleted-constructor.cpp
M clang/test/SemaCXX/cxx1y-variable-templates_in_class.cpp
M clang/test/SemaCXX/cxx20-using-enum.cpp
M clang/test/SemaCXX/cxx2a-consteval.cpp
M clang/test/SemaCXX/cxx2b-consteval-propagate.cpp
M clang/test/SemaCXX/cxx98-compat.cpp
M clang/test/SemaCXX/for-range-examples.cpp
M clang/test/SemaCXX/integer-overflow.cpp
M clang/test/SemaCXX/invalid-member-expr.cpp
A clang/test/SemaCXX/lambda-as-default-parameter.cpp
A clang/test/SemaCXX/lambda-call.cpp
M clang/test/SemaCXX/lambda-expressions.cpp
M clang/test/SemaCXX/ms-const-member-expr.cpp
M clang/test/SemaCXX/paren-list-agg-init.cpp
A clang/test/SemaCXX/ptrauth-incomplete-virtual-member-function-return-arg-type.cpp
M clang/test/SemaCXX/uninitialized.cpp
A clang/test/SemaCXX/verbose-trap.cpp
A clang/test/SemaCXX/vtable_pointer_authentication_attribute.cpp
M clang/test/SemaCXX/warn-dangling-local.cpp
A clang/test/SemaCXX/warn-explicit-specialization-storage-class.cpp
A clang/test/SemaCXX/warn-unsafe-buffer-usage-pragma-pch.cpp
M clang/test/SemaCXX/warn-unused-value.cpp
A clang/test/SemaHIP/amdgpu-buffer-rsrc.hip
A clang/test/SemaHLSL/Availability/avail-diag-strict-compute.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-strict-lib.hlsl
M clang/test/SemaHLSL/BuiltIns/RWBuffers.hlsl
M clang/test/SemaHLSL/BuiltIns/clamp-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/dot-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/half-float-only-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/lerp-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/mad-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/vector-errors.hlsl
M clang/test/SemaHLSL/ScalarOverloadResolution.hlsl
M clang/test/SemaHLSL/Semantics/invalid_entry_parameter.hlsl
M clang/test/SemaHLSL/Types/BuiltinVector/ScalarSwizzleErrors.hlsl
M clang/test/SemaHLSL/Types/BuiltinVector/ScalarSwizzles.hlsl
M clang/test/SemaHLSL/VectorElementOverloadResolution.hlsl
M clang/test/SemaHLSL/VectorOverloadResolution.hlsl
A clang/test/SemaHLSL/export.hlsl
M clang/test/SemaHLSL/resource_binding_attr_error.hlsl
M clang/test/SemaHLSL/standard_conversion_sequences.hlsl
A clang/test/SemaOpenCL/amdgpu-buffer-rsrc.cl
A clang/test/SemaOpenCL/builtins-amdgcn-raw-buffer-store-error.cl
A clang/test/SemaOpenMP/amdgpu-buffer-rsrc.cpp
M clang/test/SemaTemplate/cwg2398.cpp
M clang/test/SemaTemplate/deduction-guide.cpp
M clang/test/SemaTemplate/explicit-specialization-member.cpp
M clang/test/SemaTemplate/instantiate-init.cpp
M clang/test/SemaTemplate/instantiate-local-class.cpp
M clang/test/SemaTemplate/nested-template.cpp
M clang/tools/clang-installapi/Options.cpp
M clang/tools/clang-installapi/Options.h
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
M clang/tools/clang-repl/CMakeLists.txt
M clang/tools/driver/cc1_main.cpp
M clang/tools/driver/cc1as_main.cpp
M clang/tools/libclang/CIndex.cpp
M clang/tools/libclang/CXCursor.cpp
M clang/tools/scan-build/libexec/ccc-analyzer
M clang/unittests/AST/CMakeLists.txt
M clang/unittests/AST/CommentParser.cpp
M clang/unittests/AST/DeclTest.cpp
M clang/unittests/AST/Interp/Descriptor.cpp
M clang/unittests/AST/MatchVerifier.h
A clang/unittests/AST/ProfilingTest.cpp
M clang/unittests/AST/StructuralEquivalenceTest.cpp
M clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
A clang/unittests/Analysis/FlowSensitive/ASTOpsTest.cpp
M clang/unittests/Analysis/FlowSensitive/CMakeLists.txt
M clang/unittests/Analysis/FlowSensitive/TestingSupport.h
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
M clang/unittests/Analysis/FlowSensitive/UncheckedOptionalAccessModelTest.cpp
M clang/unittests/Format/ConfigParseTest.cpp
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/FormatTestComments.cpp
M clang/unittests/Format/FormatTestVerilog.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
M clang/unittests/Interpreter/InterpreterTest.cpp
M clang/unittests/Lex/HeaderSearchTest.cpp
M clang/unittests/StaticAnalyzer/CMakeLists.txt
M clang/unittests/StaticAnalyzer/CallEventTest.cpp
A clang/unittests/StaticAnalyzer/Z3CrosscheckOracleTest.cpp
M clang/unittests/Support/TimeProfilerTest.cpp
M clang/unittests/Tooling/RangeSelectorTest.cpp
M clang/unittests/Tooling/RecursiveASTVisitorTests/DeductionGuide.cpp
M clang/unittests/Tooling/ReplacementsYamlTest.cpp
R clang/utils/ClangDataFormat.py
M clang/utils/TableGen/ClangAttrEmitter.cpp
M clang/utils/TableGen/ClangCommentCommandInfoEmitter.cpp
M clang/utils/TableGen/NeonEmitter.cpp
M clang/utils/TableGen/SveEmitter.cpp
M clang/utils/perf-training/CMakeLists.txt
R clang/utils/update_options_td_flags.py
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 clang/www/get_involved.html
M clang/www/make_cxx_dr_status
M cmake/Modules/CMakePolicy.cmake
M compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
M compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
M compiler-rt/cmake/config-ix.cmake
M compiler-rt/include/profile/MIBEntryDef.inc
M compiler-rt/include/profile/MemProfData.inc
A compiler-rt/include/sanitizer/nsan_interface.h
M compiler-rt/lib/asan/asan_globals.cpp
M compiler-rt/lib/asan/asan_interceptors.cpp
M compiler-rt/lib/asan/asan_linux.cpp
M compiler-rt/lib/asan/asan_mac.cpp
M compiler-rt/lib/asan/asan_premap_shadow.cpp
M compiler-rt/lib/asan/asan_suppressions.cpp
M compiler-rt/lib/asan/asan_win.cpp
M compiler-rt/lib/builtins/CMakeLists.txt
M compiler-rt/lib/builtins/aarch64/sme-abi-vg.c
M compiler-rt/lib/builtins/atomic.c
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/android.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/apple.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/freebsd.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/fuchsia.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/mrs.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/sysauxv.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/hwcap.inc
M compiler-rt/lib/dfsan/dfsan_custom.cpp
M compiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
M compiler-rt/lib/gwp_asan/optional/segv_handler_posix.cpp
M compiler-rt/lib/gwp_asan/platform_specific/guarded_pool_allocator_fuchsia.cpp
M compiler-rt/lib/gwp_asan/platform_specific/guarded_pool_allocator_posix.cpp
M compiler-rt/lib/gwp_asan/tests/harness.cpp
M compiler-rt/lib/gwp_asan/tests/harness.h
M compiler-rt/lib/gwp_asan/tests/late_init.cpp
M compiler-rt/lib/gwp_asan/utilities.h
M compiler-rt/lib/hwasan/CMakeLists.txt
M compiler-rt/lib/hwasan/hwasan_dynamic_shadow.cpp
M compiler-rt/lib/hwasan/hwasan_interceptors.cpp
M compiler-rt/lib/hwasan/hwasan_linux.cpp
M compiler-rt/lib/lsan/lsan_interceptors.cpp
M compiler-rt/lib/memprof/CMakeLists.txt
M compiler-rt/lib/memprof/memprof_allocator.cpp
M compiler-rt/lib/memprof/memprof_flags.inc
M compiler-rt/lib/memprof/memprof_interceptors.cpp
M compiler-rt/lib/memprof/memprof_linux.cpp
M compiler-rt/lib/memprof/memprof_mapping.h
M compiler-rt/lib/memprof/memprof_mibmap.cpp
M compiler-rt/lib/memprof/memprof_rawprofile.cpp
M compiler-rt/lib/memprof/memprof_rtl.cpp
M compiler-rt/lib/memprof/tests/rawprofile.cpp
M compiler-rt/lib/msan/msan_interceptors.cpp
A compiler-rt/lib/nsan/CMakeLists.txt
A compiler-rt/lib/nsan/nsan.cpp
A compiler-rt/lib/nsan/nsan.h
A compiler-rt/lib/nsan/nsan.syms.extra
A compiler-rt/lib/nsan/nsan_flags.cpp
A compiler-rt/lib/nsan/nsan_flags.h
A compiler-rt/lib/nsan/nsan_flags.inc
A compiler-rt/lib/nsan/nsan_interceptors.cpp
A compiler-rt/lib/nsan/nsan_platform.h
A compiler-rt/lib/nsan/nsan_stats.cpp
A compiler-rt/lib/nsan/nsan_stats.h
A compiler-rt/lib/nsan/nsan_suppressions.cpp
A compiler-rt/lib/nsan/nsan_suppressions.h
A compiler-rt/lib/nsan/tests/CMakeLists.txt
A compiler-rt/lib/nsan/tests/NSanUnitTest.cpp
A compiler-rt/lib/nsan/tests/nsan_unit_test_main.cpp
M compiler-rt/lib/profile/InstrProfilingFile.c
M compiler-rt/lib/safestack/safestack_platform.h
M compiler-rt/lib/sanitizer_common/sancov_flags.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_common.h
M compiler-rt/lib/sanitizer_common/sanitizer_common_libcdep.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_posix.h
M compiler-rt/lib/sanitizer_common/sanitizer_win.cpp
M compiler-rt/lib/scudo/standalone/combined.h
M compiler-rt/lib/scudo/standalone/primary64.h
M compiler-rt/lib/scudo/standalone/secondary.h
M compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
M compiler-rt/lib/scudo/standalone/tests/memtag_test.cpp
M compiler-rt/lib/scudo/standalone/tests/scudo_unit_test.h
M compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
M compiler-rt/lib/scudo/standalone/tests/strings_test.cpp
M compiler-rt/lib/scudo/standalone/tests/vector_test.cpp
M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
M compiler-rt/lib/tsan/rtl/tsan_mman.cpp
M compiler-rt/lib/tsan/rtl/tsan_mman.h
M compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
M compiler-rt/lib/tsan/rtl/tsan_rtl_aarch64.S
M compiler-rt/test/dfsan/custom.cpp
M compiler-rt/test/dfsan/sscanf.c
A compiler-rt/test/hwasan/TestCases/hwasan_symbolize_stack_uas.cpp
M compiler-rt/test/lit.common.cfg.py
M compiler-rt/test/metadata/common.h
A compiler-rt/test/nsan/CMakeLists.txt
A compiler-rt/test/nsan/Unit/lit.site.cfg.py.in
A compiler-rt/test/nsan/lit.cfg.py
A compiler-rt/test/nsan/lit.site.cfg.py.in
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/orc/TestCases/Linux/ppc64/trivial-tls-pwr10.test
M compiler-rt/test/profile/ContinuousSyncMode/image-with-mcdc.c
M compiler-rt/test/profile/Linux/instrprof-vtable-value-prof.cpp
M compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c
A compiler-rt/test/tsan/Darwin/fork_deadlock.cpp
R compiler-rt/test/tsan/Linux/fork_deadlock.cpp
M cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py
M cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.cpp
M cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb
M flang/cmake/modules/AddFlang.cmake
M flang/docs/Directives.md
M flang/docs/Extensions.md
M flang/docs/Intrinsics.md
M flang/examples/FlangOmpReport/yaml_summarizer.py
M flang/include/flang/Common/Fortran.h
M flang/include/flang/Evaluate/characteristics.h
M flang/include/flang/Evaluate/check-expression.h
M flang/include/flang/Evaluate/common.h
M flang/include/flang/Evaluate/shape.h
M flang/include/flang/Evaluate/target.h
M flang/include/flang/Evaluate/tools.h
M flang/include/flang/Frontend/CodeGenOptions.h
M flang/include/flang/Frontend/FrontendActions.h
M flang/include/flang/Lower/AbstractConverter.h
M flang/include/flang/Lower/BoxAnalyzer.h
M flang/include/flang/Lower/ConvertConstant.h
M flang/include/flang/Lower/DumpEvaluateExpr.h
M flang/include/flang/Lower/PFTBuilder.h
M flang/include/flang/Lower/Support/Utils.h
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/include/flang/Optimizer/Builder/Runtime/Assign.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
A flang/include/flang/Optimizer/CodeGen/DescriptorModel.h
M flang/include/flang/Optimizer/CodeGen/FIROpPatterns.h
M flang/include/flang/Optimizer/Dialect/CUF/CUFOps.td
M flang/include/flang/Optimizer/Dialect/FIROps.h
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/include/flang/Optimizer/Dialect/FIROpsSupport.h
M flang/include/flang/Optimizer/Dialect/FIRType.h
M flang/include/flang/Optimizer/HLFIR/HLFIROps.td
M flang/include/flang/Optimizer/Support/Matcher.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/preprocessor.h
M flang/include/flang/Parser/provenance.h
M flang/include/flang/Parser/token-sequence.h
M flang/include/flang/Runtime/assign.h
M flang/include/flang/Runtime/inquiry.h
M flang/include/flang/Runtime/numeric.h
M flang/include/flang/Runtime/pointer.h
M flang/include/flang/Runtime/reduce.h
M flang/include/flang/Semantics/openmp-directive-sets.h
M flang/include/flang/Semantics/symbol.h
M flang/include/flang/Tools/CLOptions.inc
M flang/lib/Evaluate/characteristics.cpp
M flang/lib/Evaluate/check-expression.cpp
M flang/lib/Evaluate/fold-integer.cpp
M flang/lib/Evaluate/fold-logical.cpp
M flang/lib/Evaluate/fold-real.cpp
M flang/lib/Evaluate/intrinsics.cpp
M flang/lib/Evaluate/shape.cpp
M flang/lib/Evaluate/tools.cpp
M flang/lib/Frontend/CMakeLists.txt
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Frontend/FrontendActions.cpp
M flang/lib/Lower/Allocatable.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/CallInterface.cpp
M flang/lib/Lower/ComponentPath.cpp
M flang/lib/Lower/ConvertArrayConstructor.cpp
M flang/lib/Lower/ConvertCall.cpp
M flang/lib/Lower/ConvertConstant.cpp
M flang/lib/Lower/ConvertExpr.cpp
M flang/lib/Lower/ConvertExprToHLFIR.cpp
M flang/lib/Lower/ConvertType.cpp
M flang/lib/Lower/ConvertVariable.cpp
M flang/lib/Lower/DirectivesCommon.h
M flang/lib/Lower/HostAssociations.cpp
M flang/lib/Lower/IO.cpp
M flang/lib/Lower/IterationSpace.cpp
M flang/lib/Lower/Mangler.cpp
M flang/lib/Lower/OpenACC.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.h
M flang/lib/Lower/OpenMP/Clauses.cpp
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/lib/Lower/PFTBuilder.cpp
M flang/lib/Lower/VectorSubscripts.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/Assign.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/TemporaryStorage.cpp
M flang/lib/Optimizer/CodeGen/CMakeLists.txt
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/TypeConverter.cpp
M flang/lib/Optimizer/Dialect/CUF/CUFOps.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/lib/Optimizer/Dialect/FIRType.cpp
M flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
M flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
M flang/lib/Optimizer/HLFIR/Transforms/InlineElementals.cpp
M flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIRIntrinsics.cpp
M flang/lib/Optimizer/HLFIR/Transforms/OptimizedBufferization.cpp
M flang/lib/Optimizer/HLFIR/Transforms/ScheduleOrderedAssignments.cpp
M flang/lib/Optimizer/Transforms/AssumedRankOpConversion.cpp
M flang/lib/Optimizer/Transforms/CMakeLists.txt
A flang/lib/Optimizer/Transforms/ConstantArgumentGlobalisation.cpp
M flang/lib/Optimizer/Transforms/ControlFlowConverter.cpp
M flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
M flang/lib/Optimizer/Transforms/DebugTypeGenerator.h
M flang/lib/Optimizer/Transforms/FunctionAttr.cpp
M flang/lib/Optimizer/Transforms/StackArrays.cpp
A flang/lib/Optimizer/Transforms/StackReclaim.cpp
M flang/lib/Parser/Fortran-parsers.cpp
M flang/lib/Parser/expr-parsers.cpp
M flang/lib/Parser/openmp-parsers.cpp
M flang/lib/Parser/prescan.cpp
M flang/lib/Parser/prescan.h
M flang/lib/Parser/program-parsers.cpp
M flang/lib/Parser/provenance.cpp
M flang/lib/Parser/token-parsers.h
M flang/lib/Parser/token-sequence.cpp
M flang/lib/Parser/unparse.cpp
M flang/lib/Semantics/CMakeLists.txt
A flang/lib/Semantics/canonicalize-directives.cpp
A flang/lib/Semantics/canonicalize-directives.h
M flang/lib/Semantics/check-acc-structure.cpp
M flang/lib/Semantics/check-allocate.cpp
M flang/lib/Semantics/check-call.cpp
M flang/lib/Semantics/check-coarray.cpp
M flang/lib/Semantics/check-cuda.cpp
M flang/lib/Semantics/check-declarations.cpp
M flang/lib/Semantics/check-omp-structure.cpp
M flang/lib/Semantics/expression.cpp
M flang/lib/Semantics/pointer-assignment.cpp
M flang/lib/Semantics/resolve-directives.cpp
M flang/lib/Semantics/resolve-names.cpp
M flang/lib/Semantics/runtime-type-info.cpp
M flang/lib/Semantics/scope.cpp
M flang/lib/Semantics/semantics.cpp
M flang/lib/Semantics/symbol.cpp
M flang/module/__fortran_builtins.f90
M flang/module/__fortran_ieee_exceptions.f90
M flang/module/ieee_arithmetic.f90
M flang/runtime/ISO_Fortran_binding.cpp
M flang/runtime/assign.cpp
M flang/runtime/complex-reduction.c
M flang/runtime/complex-reduction.h
M flang/runtime/descriptor.cpp
M flang/runtime/execute.cpp
M flang/runtime/external-unit.cpp
M flang/runtime/inquiry.cpp
M flang/runtime/matmul.cpp
M flang/runtime/numeric-templates.h
M flang/runtime/numeric.cpp
M flang/runtime/pointer.cpp
M flang/runtime/pseudo-unit.cpp
M flang/runtime/reduce.cpp
M flang/runtime/unit.h
M flang/test/Analysis/AliasAnalysis/alias-analysis-9.fir
A flang/test/Driver/Inputs/libfun.f90
M flang/test/Driver/bbc-mlir-pass-pipeline.f90
A flang/test/Driver/mlink-builtin-bc.f90
M flang/test/Driver/mlir-debug-pass-pipeline.f90
M flang/test/Driver/mlir-pass-pipeline.f90
M flang/test/Driver/mllvm_vs_mmlir.f90
M flang/test/Driver/target-cpu-features.f90
A flang/test/Evaluate/fold-ieee.f90
M flang/test/Evaluate/fold-nearest.f90
M flang/test/Evaluate/folding04.f90
M flang/test/Evaluate/rewrite06.f90
M flang/test/Fir/alloc.fir
M flang/test/Fir/basic-program.fir
M flang/test/Fir/boxproc.fir
M flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
M flang/test/Fir/convert-to-llvm.fir
M flang/test/Fir/rebox_assumed_rank_codegen.fir
M flang/test/Fir/tbaa.fir
A flang/test/Fir/vector-always-cfg.fir
A flang/test/Fir/vector-always.fir
M flang/test/HLFIR/assumed-type-actual-args.f90
M flang/test/HLFIR/assumed_shape_with_value_keyword.f90
M flang/test/HLFIR/copy-in-out-codegen.fir
M flang/test/HLFIR/copy-in-out.fir
M flang/test/HLFIR/memory-effects.fir
M flang/test/Integration/OpenMP/copyprivate.f90
M flang/test/Integration/OpenMP/map-types-and-sizes.f90
A flang/test/Integration/debug-allocatable-1.f90
A flang/test/Integration/debug-assumed-shape-array.f90
A flang/test/Integration/debug-char-type-1.f90
A flang/test/Integration/debug-local-var-2.f90
A flang/test/Integration/debug-ptr-type.f90
A flang/test/Integration/vector-always.f90
M flang/test/Lower/CUDA/cuda-data-attribute.cuf
M flang/test/Lower/CUDA/cuda-data-transfer.cuf
A flang/test/Lower/CUDA/cuda-kernel-do-reduction.cuf
A flang/test/Lower/HLFIR/assumed-rank-calls.f90
A flang/test/Lower/HLFIR/assumed-rank-entry.f90
M flang/test/Lower/HLFIR/assumed-rank-inquiries-2.f90
A flang/test/Lower/HLFIR/assumed-rank-inquiries-3.f90
M flang/test/Lower/HLFIR/assumed-rank-inquiries.f90
A flang/test/Lower/HLFIR/assumed-rank-internal-proc.f90
M flang/test/Lower/HLFIR/call-sequence-associated-descriptors.f90
M flang/test/Lower/HLFIR/calls-assumed-shape.f90
M flang/test/Lower/HLFIR/calls-constant-expr-arg.f90
M flang/test/Lower/HLFIR/calls-optional.f90
M flang/test/Lower/HLFIR/calls-poly-to-assumed-type.f90
M flang/test/Lower/HLFIR/convert-variable-assumed-rank.f90
M flang/test/Lower/HLFIR/elemental-result-length.f90
M flang/test/Lower/HLFIR/poly_expr_for_nonpoly_dummy.f90
M flang/test/Lower/HLFIR/select-rank.f90
R flang/test/Lower/Intrinsics/Todo/reduce.f90
A flang/test/Lower/Intrinsics/erfc_scaled.f90
M flang/test/Lower/Intrinsics/ieee_femodes.f90
M flang/test/Lower/Intrinsics/ieee_festatus.f90
M flang/test/Lower/Intrinsics/ieee_flag.f90
M flang/test/Lower/Intrinsics/ieee_logb.f90
M flang/test/Lower/Intrinsics/ieee_max_min.f90
M flang/test/Lower/Intrinsics/ieee_operator_eq.f90
M flang/test/Lower/Intrinsics/ieee_rounding.f90
A flang/test/Lower/Intrinsics/reduce.f90
M flang/test/Lower/Intrinsics/ubound01.f90
A flang/test/Lower/OpenMP/Todo/loop-directive.f90
R flang/test/Lower/OpenMP/Todo/reduction-array-intrinsic.f90
M flang/test/Lower/OpenMP/Todo/reduction-derived-type-field.f90
M flang/test/Lower/OpenMP/atomic-capture.f90
A flang/test/Lower/OpenMP/common-block-map.f90
M flang/test/Lower/OpenMP/copyin-order.f90
A flang/test/Lower/OpenMP/copyprivate2.f90
M flang/test/Lower/OpenMP/declare-target-func-and-subr.f90
M flang/test/Lower/OpenMP/declare-target-implicit-func-and-subr-cap-enter.f90
M flang/test/Lower/OpenMP/declare-target-implicit-func-and-subr-cap.f90
M flang/test/Lower/OpenMP/declare-target-implicit-tarop-cap.f90
A flang/test/Lower/OpenMP/distribute.f90
M flang/test/Lower/OpenMP/function-filtering-2.f90
M flang/test/Lower/OpenMP/if-clause.f90
R flang/test/Lower/OpenMP/loop-combined.f90
A flang/test/Lower/OpenMP/loop-compound.f90
A flang/test/Lower/OpenMP/order-clause.f90
A flang/test/Lower/OpenMP/parallel-reduction-mixed.f90
A flang/test/Lower/OpenMP/parallel-reduction-pointer-array.f90
M flang/test/Lower/OpenMP/parallel-wsloop.f90
M flang/test/Lower/OpenMP/parallel.f90
A flang/test/Lower/OpenMP/reduction-array-intrinsic.f90
M flang/test/Lower/OpenMP/simd.f90
A flang/test/Lower/OpenMP/simd_aarch64.f90
A flang/test/Lower/OpenMP/simd_x86_64.f90
M flang/test/Lower/OpenMP/target.f90
A flang/test/Lower/OpenMP/task2.f90
M flang/test/Lower/OpenMP/use-device-ptr-to-use-device-addr.f90
A flang/test/Lower/OpenMP/wsloop-reduction-allocatable-array-minmax.f90
A flang/test/Lower/OpenMP/wsloop-reduction-pointer.f90
M flang/test/Lower/PowerPC/ppc-mma-assemble-disassemble.f90
M flang/test/Lower/PowerPC/ppc-mma-outer-product-1.f90
M flang/test/Lower/PowerPC/ppc-mma-outer-product-2.f90
M flang/test/Lower/PowerPC/ppc-pwr10-vec-intrinsics.f90
M flang/test/Lower/PowerPC/ppc-vector-types.f90
M flang/test/Lower/call-copy-in-out.f90
M flang/test/Lower/character-local-variables.f90
M flang/test/Lower/dummy-argument-assumed-shape-optional.f90
M flang/test/Lower/dummy-argument-optional-2.f90
A flang/test/Lower/func-attrs.f90
M flang/test/Lower/host-associated.f90
A flang/test/Lower/loops3.f90
M flang/test/Lower/optional-value-caller.f90
A flang/test/Lower/pre-fir-tree09.f90
A flang/test/Lower/vector-always.f90
A flang/test/Parser/OpenMP/target-loop-unparse.f90
M flang/test/Parser/compiler-directives.f90
A flang/test/Parser/recovery01.f90
A flang/test/Parser/recovery02.f90
A flang/test/Preprocessing/cond-contin.F90
M flang/test/Preprocessing/directive-contin-with-pp.F90
A flang/test/Preprocessing/ff-args.h
A flang/test/Preprocessing/ff-include-args.F
A flang/test/Preprocessing/inc-contin-1.F
A flang/test/Preprocessing/inc-contin-1.h
A flang/test/Preprocessing/inc-contin-2.F90
A flang/test/Preprocessing/inc-contin-2a.h
A flang/test/Preprocessing/inc-contin-2b.h
M flang/test/Preprocessing/include-args.F90
A flang/test/Preprocessing/kw-in-char.F90
A flang/test/Preprocessing/multi-cont.F90
A flang/test/Preprocessing/sentinel-after-semi.F90
A flang/test/Semantics/OpenMP/doconcurrent01.f90
M flang/test/Semantics/OpenMP/reduction09.f90
A flang/test/Semantics/OpenMP/reduction14.f90
M flang/test/Semantics/bind-c15.f90
M flang/test/Semantics/bind-c16.f90
M flang/test/Semantics/boz-literal-constants.f90
M flang/test/Semantics/c_loc01.f90
M flang/test/Semantics/call05.f90
M flang/test/Semantics/call10.f90
A flang/test/Semantics/cuf16.cuf
M flang/test/Semantics/declarations02.f90
M flang/test/Semantics/elemental01.f90
A flang/test/Semantics/loop-directives.f90
M flang/test/Semantics/null01.f90
M flang/test/Semantics/select-rank03.f90
A flang/test/Transforms/constant-argument-globalisation-2.fir
A flang/test/Transforms/constant-argument-globalisation.fir
M flang/test/Transforms/debug-90683.fir
A flang/test/Transforms/debug-allocatable-1.fir
A flang/test/Transforms/debug-assumed-shape-array.fir
A flang/test/Transforms/debug-char-type-1.fir
M flang/test/Transforms/debug-complex-1.fir
M flang/test/Transforms/debug-fixed-array-type.fir
R flang/test/Transforms/debug-fn-info.f90
A flang/test/Transforms/debug-fn-info.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
R flang/test/Transforms/debug-local-var-2.f90
R flang/test/Transforms/debug-local-var.f90
A flang/test/Transforms/debug-local-var.fir
M flang/test/Transforms/debug-module-1.fir
A flang/test/Transforms/debug-ptr-type.fir
A flang/test/Transforms/stack-reclaime.fir
M flang/unittests/Evaluate/intrinsics.cpp
M flang/unittests/Frontend/FrontendActionTest.cpp
M flang/unittests/Runtime/CommandTest.cpp
M flang/unittests/Runtime/Inquiry.cpp
M flang/unittests/Runtime/Numeric.cpp
M flang/unittests/Runtime/Reduction.cpp
M libc/CMakeLists.txt
M libc/benchmarks/CMakeLists.txt
A libc/benchmarks/gpu/BenchmarkLogger.cpp
A libc/benchmarks/gpu/BenchmarkLogger.h
A libc/benchmarks/gpu/CMakeLists.txt
A libc/benchmarks/gpu/LibcGpuBenchmark.cpp
A libc/benchmarks/gpu/LibcGpuBenchmark.h
A libc/benchmarks/gpu/LibcGpuBenchmarkMain.cpp
A libc/benchmarks/gpu/src/CMakeLists.txt
A libc/benchmarks/gpu/src/ctype/CMakeLists.txt
A libc/benchmarks/gpu/src/ctype/isalnum_benchmark.cpp
A libc/benchmarks/gpu/src/ctype/isalpha_benchmark.cpp
A libc/benchmarks/gpu/timing/CMakeLists.txt
A libc/benchmarks/gpu/timing/nvptx/CMakeLists.txt
A libc/benchmarks/gpu/timing/nvptx/timing.h
A libc/benchmarks/gpu/timing/timing.h
M libc/cmake/modules/LLVMLibCTestRules.cmake
M libc/cmake/modules/prepare_libc_gpu_build.cmake
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/arm/headers.txt
M libc/config/baremetal/config.json
M libc/config/baremetal/riscv/entrypoints.txt
M libc/config/config.json
M libc/config/darwin/arm/entrypoints.txt
M libc/config/gpu/entrypoints.txt
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/api.td
M libc/config/linux/app.h
M libc/config/linux/arm/entrypoints.txt
M libc/config/linux/arm/headers.txt
R libc/config/linux/platform_defs.h.inc
M libc/config/linux/riscv/entrypoints.txt
R libc/config/linux/signal.h.in
R libc/config/linux/syscall_numbers.h.inc
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/motivation.rst
M libc/docs/gpu/support.rst
M libc/docs/math/index.rst
M libc/hdr/types/CMakeLists.txt
A libc/hdr/types/struct_sigaction.h
M libc/include/CMakeLists.txt
M libc/include/errno.h.def
M libc/include/llvm-libc-macros/CMakeLists.txt
M libc/include/llvm-libc-macros/float16-macros.h
M libc/include/llvm-libc-macros/limits-macros.h
A libc/include/llvm-libc-macros/link-macros.h
M libc/include/llvm-libc-types/CMakeLists.txt
M libc/include/llvm-libc-types/jmp_buf.h
A libc/include/llvm-libc-types/pthread_rwlock_t.h
M libc/include/llvm-libc-types/rpc_opcodes_t.h
M libc/include/pthread.h.def
M libc/include/setjmp.h.def
M libc/include/sys/syscall.h.def
A libc/newhdrgen/class_implementation/classes/enumeration.py
A libc/newhdrgen/class_implementation/classes/function.py
A libc/newhdrgen/class_implementation/classes/include.py
A libc/newhdrgen/class_implementation/classes/macro.py
A libc/newhdrgen/class_implementation/classes/object.py
A libc/newhdrgen/class_implementation/classes/type.py
A libc/newhdrgen/header.py
A libc/newhdrgen/yaml/arpa_inet.yaml
A libc/newhdrgen/yaml/dirent.yaml
A libc/newhdrgen/yaml/errno.yaml
A libc/newhdrgen/yaml/fcntl.yaml
A libc/newhdrgen/yaml/float.yaml
A libc/newhdrgen/yaml/inttypes.yaml
A libc/newhdrgen/yaml/limits.yaml
A libc/newhdrgen/yaml/rpc.yaml
A libc/newhdrgen/yaml/search.yaml
A libc/newhdrgen/yaml/setjmp.yaml
A libc/newhdrgen/yaml/spawn.yaml
A libc/newhdrgen/yaml/stdbit.yaml
A libc/newhdrgen/yaml/stdckdint.yaml
A libc/newhdrgen/yaml/stdint.yaml
A libc/newhdrgen/yaml/sys_auxv.yaml
A libc/newhdrgen/yaml/sys_epoll.yaml
A libc/newhdrgen/yaml/sys_ioctl.yaml
A libc/newhdrgen/yaml/sys_prctl.yaml
A libc/newhdrgen/yaml/sys_random.yaml
A libc/newhdrgen/yaml/sys_resource.yaml
A libc/newhdrgen/yaml/sys_select.yaml
A libc/newhdrgen/yaml/sys_sendfile.yaml
A libc/newhdrgen/yaml/sys_socket.yaml
A libc/newhdrgen/yaml/sys_stat.yaml
A libc/newhdrgen/yaml/sys_statvfs.yaml
A libc/newhdrgen/yaml/sys_time.yaml
A libc/newhdrgen/yaml/sys_types.yaml
A libc/newhdrgen/yaml/sys_utsname.yaml
A libc/newhdrgen/yaml/termios.yaml
A libc/newhdrgen/yaml/threads.yaml
A libc/newhdrgen/yaml/uchar.yaml
A libc/newhdrgen/yaml/unistd.yaml
A libc/newhdrgen/yaml/wchar.yaml
A libc/newhdrgen/yaml_combined/ctype.yaml
A libc/newhdrgen/yaml_combined/fenv.yaml
A libc/newhdrgen/yaml_combined/math.yaml
A libc/newhdrgen/yaml_combined/pthread.yaml
A libc/newhdrgen/yaml_combined/sched.yaml
A libc/newhdrgen/yaml_combined/signal.yaml
A libc/newhdrgen/yaml_combined/stdfix.yaml
A libc/newhdrgen/yaml_combined/stdio.yaml
A libc/newhdrgen/yaml_combined/stdlib.yaml
A libc/newhdrgen/yaml_combined/string.yaml
A libc/newhdrgen/yaml_combined/strings.yaml
A libc/newhdrgen/yaml_combined/sys_mman.yaml
A libc/newhdrgen/yaml_combined/sys_wait.yaml
A libc/newhdrgen/yaml_combined/time.yaml
A libc/newhdrgen/yaml_to_classes.py
M libc/spec/linux.td
M libc/spec/llvm_libc_ext.td
M libc/spec/posix.td
M libc/spec/spec.td
M libc/spec/stdc.td
M libc/src/__support/CMakeLists.txt
M libc/src/__support/CPP/bit.h
M libc/src/__support/FPUtil/BasicOperations.h
M libc/src/__support/FPUtil/CMakeLists.txt
M libc/src/__support/FPUtil/FMA.h
M libc/src/__support/FPUtil/ManipulationFunctions.h
M libc/src/__support/FPUtil/NearestIntegerOperations.h
M libc/src/__support/FPUtil/NormalFloat.h
M libc/src/__support/FPUtil/double_double.h
M libc/src/__support/FPUtil/dyadic_float.h
M libc/src/__support/FPUtil/generic/CMakeLists.txt
M libc/src/__support/FPUtil/generic/FMA.h
A libc/src/__support/FPUtil/generic/div.h
M libc/src/__support/FPUtil/generic/sqrt.h
M libc/src/__support/FPUtil/multiply_add.h
M libc/src/__support/FPUtil/x86_64/FEnvImpl.h
M libc/src/__support/File/linux/file.cpp
M libc/src/__support/File/linux/file.h
A libc/src/__support/OSUtil/fcntl.h
M libc/src/__support/OSUtil/linux/CMakeLists.txt
M libc/src/__support/OSUtil/linux/arm/syscall.h
A libc/src/__support/OSUtil/linux/fcntl.cpp
M libc/src/__support/big_int.h
A libc/src/__support/block.h
M libc/src/__support/blockstore.h
M libc/src/__support/fixedvector.h
A libc/src/__support/freelist.h
A libc/src/__support/freelist_heap.h
M libc/src/__support/high_precision_decimal.h
M libc/src/__support/macros/attributes.h
M libc/src/__support/macros/optimization.h
M libc/src/__support/threads/callonce.h
M libc/src/__support/threads/linux/CMakeLists.txt
M libc/src/__support/threads/linux/callonce.cpp
A libc/src/__support/threads/linux/callonce.h
A libc/src/__support/threads/linux/rwlock.h
M libc/src/__support/threads/thread.h
M libc/src/errno/libc_errno.cpp
M libc/src/fcntl/linux/CMakeLists.txt
M libc/src/fcntl/linux/fcntl.cpp
M libc/src/math/CMakeLists.txt
A libc/src/math/f16div.h
A libc/src/math/f16divf.h
A libc/src/math/f16divf128.h
A libc/src/math/f16divl.h
A libc/src/math/f16fma.h
A libc/src/math/f16fmaf.h
A libc/src/math/f16fmaf128.h
A libc/src/math/f16fmal.h
A libc/src/math/f16sqrt.h
A libc/src/math/f16sqrtf.h
A libc/src/math/f16sqrtf128.h
A libc/src/math/f16sqrtl.h
A libc/src/math/frexpf16.h
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/acosf.cpp
M libc/src/math/generic/acoshf.cpp
M libc/src/math/generic/asinf.cpp
M libc/src/math/generic/asinhf.cpp
A libc/src/math/generic/cos.cpp
M libc/src/math/generic/expm1f.cpp
A libc/src/math/generic/f16div.cpp
A libc/src/math/generic/f16divf.cpp
A libc/src/math/generic/f16divf128.cpp
A libc/src/math/generic/f16divl.cpp
A libc/src/math/generic/f16fma.cpp
A libc/src/math/generic/f16fmaf.cpp
A libc/src/math/generic/f16fmaf128.cpp
A libc/src/math/generic/f16fmal.cpp
A libc/src/math/generic/f16sqrt.cpp
A libc/src/math/generic/f16sqrtf.cpp
A libc/src/math/generic/f16sqrtf128.cpp
A libc/src/math/generic/f16sqrtl.cpp
M libc/src/math/generic/fma.cpp
M libc/src/math/generic/fmaf.cpp
A libc/src/math/generic/frexpf16.cpp
A libc/src/math/generic/getpayloadf16.cpp
M libc/src/math/generic/hypotf.cpp
A libc/src/math/generic/ilogbf16.cpp
A libc/src/math/generic/ldexpf16.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/generic/nanf16.cpp
M libc/src/math/generic/powf.cpp
A libc/src/math/generic/range_reduction_double_common.h
A libc/src/math/generic/range_reduction_double_fma.h
A libc/src/math/generic/range_reduction_double_nofma.h
M libc/src/math/generic/range_reduction_fma.h
A libc/src/math/generic/remainderf16.cpp
A libc/src/math/generic/remquof16.cpp
A libc/src/math/generic/scalblnf16.cpp
A libc/src/math/generic/scalbnf16.cpp
A libc/src/math/generic/setpayloadf16.cpp
A libc/src/math/generic/setpayloadsigf16.cpp
A libc/src/math/generic/sin.cpp
A libc/src/math/generic/sincos.cpp
A libc/src/math/generic/sincos_eval.h
M libc/src/math/generic/sincosf_utils.h
A libc/src/math/generic/sinpif.cpp
M libc/src/math/generic/sqrt.cpp
M libc/src/math/generic/sqrtf.cpp
M libc/src/math/generic/sqrtf128.cpp
M libc/src/math/generic/sqrtl.cpp
A libc/src/math/generic/totalorderf16.cpp
A libc/src/math/generic/totalordermagf16.cpp
A libc/src/math/getpayloadf16.h
A libc/src/math/ilogbf16.h
A libc/src/math/ldexpf16.h
A libc/src/math/llogbf16.h
A libc/src/math/logbf16.h
A libc/src/math/modff16.h
A libc/src/math/nanf16.h
A libc/src/math/remainderf16.h
A libc/src/math/remquof16.h
A libc/src/math/scalblnf16.h
A libc/src/math/scalbnf16.h
A libc/src/math/setpayloadf16.h
A libc/src/math/setpayloadsigf16.h
A libc/src/math/sinpif.h
A libc/src/math/totalorderf16.h
A libc/src/math/totalordermagf16.h
M libc/src/math/x86_64/CMakeLists.txt
R libc/src/math/x86_64/cos.cpp
R libc/src/math/x86_64/sin.cpp
M libc/src/pthread/CMakeLists.txt
A libc/src/pthread/pthread_rwlock_destroy.cpp
A libc/src/pthread/pthread_rwlock_destroy.h
A libc/src/pthread/pthread_rwlock_init.cpp
A libc/src/pthread/pthread_rwlock_init.h
A libc/src/pthread/pthread_rwlock_rdlock.cpp
A libc/src/pthread/pthread_rwlock_rdlock.h
A libc/src/pthread/pthread_rwlock_timedrdlock.cpp
A libc/src/pthread/pthread_rwlock_timedrdlock.h
A libc/src/pthread/pthread_rwlock_timedwrlock.cpp
A libc/src/pthread/pthread_rwlock_timedwrlock.h
A libc/src/pthread/pthread_rwlock_tryrdlock.cpp
A libc/src/pthread/pthread_rwlock_tryrdlock.h
A libc/src/pthread/pthread_rwlock_trywrlock.cpp
A libc/src/pthread/pthread_rwlock_trywrlock.h
A libc/src/pthread/pthread_rwlock_unlock.cpp
A libc/src/pthread/pthread_rwlock_unlock.h
A libc/src/pthread/pthread_rwlock_wrlock.cpp
A libc/src/pthread/pthread_rwlock_wrlock.h
A libc/src/setjmp/arm/CMakeLists.txt
A libc/src/setjmp/arm/longjmp.cpp
A libc/src/setjmp/arm/setjmp.cpp
M libc/src/signal/linux/CMakeLists.txt
M libc/src/signal/linux/signal.cpp
M libc/src/signal/sigaction.h
M libc/src/stdio/CMakeLists.txt
M libc/src/stdio/baremetal/CMakeLists.txt
M libc/src/stdio/baremetal/printf.cpp
A libc/src/stdio/baremetal/putchar.cpp
A libc/src/stdio/baremetal/vprintf.cpp
A libc/src/stdio/fdopen.h
M libc/src/stdio/gpu/CMakeLists.txt
A libc/src/stdio/gpu/remove.cpp
M libc/src/stdio/linux/CMakeLists.txt
A libc/src/stdio/linux/fdopen.cpp
M libc/src/stdio/printf_core/float_dec_converter.h
M libc/src/stdio/printf_core/float_hex_converter.h
M libc/src/stdio/putchar.h
M libc/src/stdlib/CMakeLists.txt
M libc/src/stdlib/free.h
A libc/src/stdlib/freelist_malloc.cpp
M libc/src/stdlib/rand.cpp
M libc/src/stdlib/rand_util.cpp
M libc/src/stdlib/rand_util.h
A libc/src/stdlib/realloc.h
M libc/src/stdlib/srand.cpp
M libc/startup/linux/CMakeLists.txt
M libc/startup/linux/do_start.cpp
M libc/test/IntegrationTest/CMakeLists.txt
M libc/test/IntegrationTest/test.cpp
M libc/test/UnitTest/CMakeLists.txt
M libc/test/UnitTest/FPMatcher.h
M libc/test/UnitTest/HermeticTestUtils.cpp
M libc/test/integration/src/pthread/CMakeLists.txt
A libc/test/integration/src/pthread/pthread_rwlock_test.cpp
M libc/test/src/__support/CMakeLists.txt
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
A libc/test/src/__support/block_test.cpp
M libc/test/src/__support/fixedvector_test.cpp
A libc/test/src/__support/freelist_heap_test.cpp
A libc/test/src/__support/freelist_malloc_test.cpp
A libc/test/src/__support/freelist_test.cpp
M libc/test/src/__support/math_extras_test.cpp
M libc/test/src/__support/str_to_float_comparison_test.cpp
M libc/test/src/fcntl/CMakeLists.txt
M libc/test/src/fcntl/fcntl_test.cpp
M libc/test/src/math/CMakeLists.txt
M libc/test/src/math/CeilTest.h
A libc/test/src/math/DivTest.h
A libc/test/src/math/FMulTest.h
M libc/test/src/math/FloorTest.h
M libc/test/src/math/FmaTest.h
A libc/test/src/math/NearbyIntTest.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/SqrtTest.h
M libc/test/src/math/TruncTest.h
A libc/test/src/math/ceilf16_test.cpp
M libc/test/src/math/cos_test.cpp
M libc/test/src/math/exhaustive/CMakeLists.txt
M libc/test/src/math/exhaustive/exhaustive_test.h
A libc/test/src/math/exhaustive/f16sqrtf_test.cpp
A libc/test/src/math/exhaustive/fmodf16_test.cpp
A libc/test/src/math/exhaustive/sinpif_test.cpp
A libc/test/src/math/f16div_test.cpp
A libc/test/src/math/f16divf_test.cpp
A libc/test/src/math/f16divl_test.cpp
A libc/test/src/math/f16fma_test.cpp
A libc/test/src/math/f16fmaf_test.cpp
A libc/test/src/math/f16fmal_test.cpp
A libc/test/src/math/f16sqrt_test.cpp
A libc/test/src/math/f16sqrtf_test.cpp
A libc/test/src/math/f16sqrtl_test.cpp
A libc/test/src/math/floorf16_test.cpp
M libc/test/src/math/fma_test.cpp
M libc/test/src/math/fmaf_test.cpp
A libc/test/src/math/fmul_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
A libc/test/src/math/nearbyint_test.cpp
A libc/test/src/math/nearbyintf16_test.cpp
A libc/test/src/math/nearbyintf_test.cpp
A libc/test/src/math/nearbyintl_test.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/sin_test.cpp
A libc/test/src/math/sincos_test.cpp
A libc/test/src/math/sinpif_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/DivTest.h
M libc/test/src/math/smoke/FmaTest.h
M libc/test/src/math/smoke/FrexpTest.h
A libc/test/src/math/smoke/GetPayloadTest.h
M libc/test/src/math/smoke/ILogbTest.h
M libc/test/src/math/smoke/LdExpTest.h
M libc/test/src/math/smoke/LogbTest.h
M libc/test/src/math/smoke/ModfTest.h
M libc/test/src/math/smoke/RemQuoTest.h
M libc/test/src/math/smoke/ScalbnTest.h
A libc/test/src/math/smoke/SetPayloadSigTest.h
A libc/test/src/math/smoke/SetPayloadTest.h
M libc/test/src/math/smoke/SqrtTest.h
A libc/test/src/math/smoke/TotalOrderMagTest.h
A libc/test/src/math/smoke/TotalOrderTest.h
A libc/test/src/math/smoke/cos_test.cpp
A libc/test/src/math/smoke/f16div_test.cpp
A libc/test/src/math/smoke/f16divf128_test.cpp
A libc/test/src/math/smoke/f16divf_test.cpp
A libc/test/src/math/smoke/f16divl_test.cpp
A libc/test/src/math/smoke/f16fma_test.cpp
A libc/test/src/math/smoke/f16fmaf128_test.cpp
A libc/test/src/math/smoke/f16fmaf_test.cpp
A libc/test/src/math/smoke/f16fmal_test.cpp
A libc/test/src/math/smoke/f16sqrt_test.cpp
A libc/test/src/math/smoke/f16sqrtf128_test.cpp
A libc/test/src/math/smoke/f16sqrtf_test.cpp
A libc/test/src/math/smoke/f16sqrtl_test.cpp
M libc/test/src/math/smoke/fma_test.cpp
M libc/test/src/math/smoke/fmaf_test.cpp
A libc/test/src/math/smoke/frexpf16_test.cpp
A libc/test/src/math/smoke/getpayloadf16_test.cpp
A libc/test/src/math/smoke/ilogbf16_test.cpp
A libc/test/src/math/smoke/ldexpf16_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
A libc/test/src/math/smoke/nanf16_test.cpp
A libc/test/src/math/smoke/remquof16_test.cpp
A libc/test/src/math/smoke/scalblnf16_test.cpp
M libc/test/src/math/smoke/scalbn_test.cpp
M libc/test/src/math/smoke/scalbnf128_test.cpp
A libc/test/src/math/smoke/scalbnf16_test.cpp
M libc/test/src/math/smoke/scalbnf_test.cpp
M libc/test/src/math/smoke/scalbnl_test.cpp
A libc/test/src/math/smoke/setpayloadf16_test.cpp
A libc/test/src/math/smoke/setpayloadsigf16_test.cpp
A libc/test/src/math/smoke/sin_test.cpp
A libc/test/src/math/smoke/sincos_test.cpp
A libc/test/src/math/smoke/sinpif_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/truncf16_test.cpp
M libc/test/src/sched/param_and_scheduler_test.cpp
M libc/test/src/signal/CMakeLists.txt
M libc/test/src/signal/sigaction_test.cpp
M libc/test/src/signal/sigaltstack_test.cpp
M libc/test/src/stdfix/ISqrtTest.h
M libc/test/src/stdfix/SqrtTest.h
M libc/test/src/stdio/CMakeLists.txt
A libc/test/src/stdio/fdopen_test.cpp
M libc/test/src/stdlib/rand_test.cpp
M libc/utils/MPFRWrapper/CMakeLists.txt
M libc/utils/MPFRWrapper/MPFRUtils.cpp
M libc/utils/MPFRWrapper/MPFRUtils.h
M libc/utils/gpu/server/rpc_server.cpp
M libclc/CMakeLists.txt
M libclc/cmake/modules/AddLibclc.cmake
M libcxx/.clang-tidy
M libcxx/CMakeLists.txt
M libcxx/benchmarks/algorithms/pstl.stable_sort.bench.cpp
M libcxx/cmake/caches/Apple.cmake
M libcxx/cmake/caches/Generic-msan.cmake
M libcxx/docs/FeatureTestMacroTable.rst
M libcxx/docs/Hardening.rst
M libcxx/docs/ReleaseNotes/19.rst
M libcxx/docs/Status/Cxx20Papers.csv
M libcxx/docs/Status/Cxx23Papers.csv
M libcxx/docs/Status/ParallelismProjects.csv
M libcxx/include/CMakeLists.txt
M libcxx/include/__algorithm/comp_ref_type.h
M libcxx/include/__algorithm/make_projected.h
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_base.h
M libcxx/include/__atomic/atomic_init.h
M libcxx/include/__atomic/atomic_sync.h
M libcxx/include/__atomic/memory_order.h
M libcxx/include/__bit_reference
M libcxx/include/__charconv/chars_format.h
M libcxx/include/__chrono/duration.h
A libcxx/include/__chrono/exception.h
M libcxx/include/__chrono/ostream.h
M libcxx/include/__chrono/time_point.h
M libcxx/include/__chrono/time_zone.h
A libcxx/include/__chrono/zoned_time.h
M libcxx/include/__config
M libcxx/include/__config_site.in
M libcxx/include/__configuration/abi.h
M libcxx/include/__configuration/availability.h
M libcxx/include/__exception/exception_ptr.h
M libcxx/include/__expected/expected.h
M libcxx/include/__format/escaped_output_table.h
M libcxx/include/__format/formatter_output.h
M libcxx/include/__format/parser_std_format_spec.h
M libcxx/include/__format/width_estimation_table.h
M libcxx/include/__functional/bind.h
M libcxx/include/__functional/bind_back.h
M libcxx/include/__functional/bind_front.h
M libcxx/include/__functional/function.h
M libcxx/include/__functional/mem_fn.h
M libcxx/include/__functional/mem_fun_ref.h
M libcxx/include/__functional/operations.h
M libcxx/include/__functional/pointer_to_binary_function.h
M libcxx/include/__functional/pointer_to_unary_function.h
M libcxx/include/__functional/reference_wrapper.h
M libcxx/include/__functional/unary_negate.h
M libcxx/include/__hash_table
M libcxx/include/__iterator/access.h
M libcxx/include/__iterator/bounded_iter.h
M libcxx/include/__iterator/cpp17_iterator_concepts.h
M libcxx/include/__iterator/data.h
M libcxx/include/__iterator/iter_swap.h
M libcxx/include/__iterator/move_iterator.h
M libcxx/include/__iterator/reverse_iterator.h
M libcxx/include/__iterator/size.h
M libcxx/include/__iterator/wrap_iter.h
M libcxx/include/__locale
M libcxx/include/__locale_dir/locale_base_api/locale_guard.h
M libcxx/include/__math/exponential_functions.h
M libcxx/include/__math/fdim.h
M libcxx/include/__math/fma.h
M libcxx/include/__math/hypot.h
M libcxx/include/__math/inverse_trigonometric_functions.h
M libcxx/include/__math/min_max.h
M libcxx/include/__math/modulo.h
M libcxx/include/__math/remainder.h
M libcxx/include/__math/rounding_functions.h
M libcxx/include/__mdspan/extents.h
M libcxx/include/__mdspan/layout_left.h
M libcxx/include/__mdspan/layout_right.h
M libcxx/include/__mdspan/layout_stride.h
M libcxx/include/__mdspan/mdspan.h
M libcxx/include/__memory/allocate_at_least.h
M libcxx/include/__memory/allocator.h
M libcxx/include/__memory/allocator_traits.h
M libcxx/include/__memory/compressed_pair.h
M libcxx/include/__memory/pointer_traits.h
M libcxx/include/__memory/shared_ptr.h
M libcxx/include/__memory/swap_allocator.h
M libcxx/include/__memory/unique_ptr.h
M libcxx/include/__mutex/lock_guard.h
M libcxx/include/__numeric/gcd_lcm.h
M libcxx/include/__numeric/pstl.h
M libcxx/include/__ostream/basic_ostream.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/__random/discard_block_engine.h
M libcxx/include/__ranges/access.h
M libcxx/include/__ranges/all.h
M libcxx/include/__ranges/common_view.h
M libcxx/include/__ranges/counted.h
M libcxx/include/__ranges/data.h
M libcxx/include/__ranges/drop_view.h
M libcxx/include/__ranges/iota_view.h
M libcxx/include/__ranges/lazy_split_view.h
M libcxx/include/__ranges/ref_view.h
M libcxx/include/__ranges/rend.h
M libcxx/include/__ranges/reverse_view.h
M libcxx/include/__ranges/subrange.h
M libcxx/include/__split_buffer
M libcxx/include/__string/char_traits.h
M libcxx/include/__thread/thread.h
M libcxx/include/__tree
M libcxx/include/__tuple/sfinae_helpers.h
M libcxx/include/__tuple/tuple_size.h
M libcxx/include/__type_traits/common_type.h
M libcxx/include/__type_traits/decay.h
M libcxx/include/__type_traits/has_unique_object_representation.h
M libcxx/include/__type_traits/invoke.h
M libcxx/include/__type_traits/is_literal_type.h
M libcxx/include/__type_traits/is_nothrow_destructible.h
M libcxx/include/__type_traits/is_swappable.h
M libcxx/include/__utility/exception_guard.h
M libcxx/include/__utility/forward_like.h
M libcxx/include/__utility/is_pointer_in_range.h
M libcxx/include/__utility/pair.h
M libcxx/include/__utility/swap.h
M libcxx/include/__verbose_abort
M libcxx/include/any
M libcxx/include/array
M libcxx/include/barrier
M libcxx/include/chrono
M libcxx/include/cmath
M libcxx/include/codecvt
M libcxx/include/coroutine
M libcxx/include/deque
M libcxx/include/experimental/__simd/reference.h
M libcxx/include/experimental/propagate_const
M libcxx/include/experimental/simd
M libcxx/include/experimental/type_traits
M libcxx/include/forward_list
M libcxx/include/fstream
M libcxx/include/future
M libcxx/include/ios
M libcxx/include/iosfwd
M libcxx/include/istream
M libcxx/include/limits
M libcxx/include/list
M libcxx/include/locale
M libcxx/include/map
M libcxx/include/module.modulemap
M libcxx/include/mutex
M libcxx/include/new
M libcxx/include/optional
M libcxx/include/print
M libcxx/include/queue
M libcxx/include/regex
M libcxx/include/scoped_allocator
M libcxx/include/set
M libcxx/include/shared_mutex
M libcxx/include/span
M libcxx/include/stack
M libcxx/include/streambuf
M libcxx/include/string
M libcxx/include/string_view
M libcxx/include/strstream
M libcxx/include/tuple
M libcxx/include/unordered_map
M libcxx/include/unordered_set
M libcxx/include/valarray
M libcxx/include/variant
M libcxx/include/vector
M libcxx/include/version
M libcxx/lib/abi/CHANGELOG.TXT
M libcxx/lib/abi/arm64-apple-darwin.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/powerpc-ibm-aix.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/powerpc64-ibm-aix.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/x86_64-apple-darwin.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/x86_64-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/x86_64-unknown-freebsd.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/x86_64-unknown-linux-gnu.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/x86_64-unknown-linux-gnu.libcxxabi.v1.stable.noexceptions.nonew.abilist
M libcxx/modules/CMakeLists.txt.in
M libcxx/modules/std/chrono.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/filesystem/path.cpp
M libcxx/src/filesystem/path_parser.h
M libcxx/src/locale.cpp
M libcxx/src/time_zone.cpp
M libcxx/test/CMakeLists.txt
M libcxx/test/configs/apple-libc++-backdeployment.cfg.in
R libcxx/test/configs/apple-libc++-shared.cfg.in
M libcxx/test/configs/llvm-libc++-shared-clangcl.cfg.in
M libcxx/test/configs/llvm-libc++-shared-no-vcruntime-clangcl.cfg.in
M libcxx/test/configs/llvm-libc++-static-clangcl.cfg.in
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/atomics/atomics.syn/wait.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/const_T.compile.pass.cpp
R libcxx/test/libcxx/containers/sequences/vector/const_value_type.pass.cpp
M libcxx/test/libcxx/diagnostics/chrono.nodiscard.verify.cpp
M libcxx/test/libcxx/diagnostics/memory.nodiscard.verify.cpp
M libcxx/test/libcxx/input.output/iostream.format/output.streams/ostream.formatted/ostream.formatted.print/vprint_unicode.pass.cpp
M libcxx/test/libcxx/input.output/iostream.format/print.fun/transcoding.pass.cpp
M libcxx/test/libcxx/input.output/iostream.format/print.fun/vprint_unicode_posix.pass.cpp
M libcxx/test/libcxx/input.output/iostream.format/print.fun/vprint_unicode_windows.pass.cpp
M libcxx/test/libcxx/input.output/iostreams.base/ios.base/ios.base.cons/dtor.uninitialized.pass.cpp
M libcxx/test/libcxx/language.support/cxa_deleted_virtual.pass.cpp
M libcxx/test/libcxx/memory/allocator_void.trivial.compile.pass.cpp
M libcxx/test/libcxx/memory/allocator_volatile.verify.cpp
M libcxx/test/libcxx/strings/basic.string/string.capacity/PR53170.pass.cpp
M libcxx/test/libcxx/strings/basic.string/string.capacity/allocation_size.pass.cpp
M libcxx/test/libcxx/thread/thread.condition/PR30202_notify_from_pthread_created_thread.pass.cpp
M libcxx/test/libcxx/thread/thread.threads/thread.thread.this/sleep_for.pass.cpp
M libcxx/test/libcxx/thread/thread.threads/thread.thread.this/sleep_for.signals.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/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/libcxx/type_traits/is_trivially_relocatable.compile.pass.cpp
M libcxx/test/libcxx/utilities/format/format.functions/ascii.pass.cpp
M libcxx/test/libcxx/utilities/format/format.functions/escaped_output.ascii.pass.cpp
M libcxx/test/libcxx/utilities/format/format.string/format.string.std/extended_grapheme_cluster.pass.cpp
A libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/abi.non_trivial_copy_move.pass.cpp
A libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/abi.trivial_copy_move.pass.cpp
A libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/abi.trivially_copyable.compile.pass.cpp
R libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/non_trivial_copy_move_ABI.pass.cpp
R libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/trivial_copy_move_ABI.pass.cpp
M libcxx/test/lit.cfg.py
M libcxx/test/std/concepts/concepts.lang/concept.default.init/default_initializable.compile.pass.cpp
A libcxx/test/std/containers/sequences/array/array.overview/nttp.equivalence.compile.pass.cpp
A libcxx/test/std/containers/sequences/array/array.overview/nttp.verify.cpp
M libcxx/test/std/containers/views/mdspan/extents/ctad.pass.cpp
M libcxx/test/std/depr/depr.c.headers/stdlib_h.aligned_alloc.compile.pass.cpp
M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp
M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp
A libcxx/test/std/experimental/simd/simd.reference/reference_swap.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/refresh.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/last_write_time.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/copy_file.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directories/create_directories.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory_with_attributes.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.file_size/file_size.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove_all/toctou.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/weakly_canonical.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/bool.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/double.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/float.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/int.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long_double.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long_long.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/pointer.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/short.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_int.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_long.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_long_long.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_short.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/streambuf.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_chart.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_pointer_size.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_pointer_size_chart.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_streambuf.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_streambuf_chart.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/getline_pointer_size.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/getline_pointer_size_chart.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/ignore.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/peek.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/read.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/seekg_off.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/sync.pass.cpp
M libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.formatted.print/locale-specific_form.pass.cpp
M libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.formatted.print/vprint_unicode.pass.cpp
M libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/minmax_showbase.pass.cpp
M libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/minus1.pass.cpp
M libcxx/test/std/input.output/iostream.format/print.fun/no_file_description.pass.cpp
M libcxx/test/std/input.output/iostream.format/print.fun/vprint_unicode.sh.cpp
M libcxx/test/std/input.output/iostreams.base/ios.base/ios.types/ios_Init/ios_Init.multiple.pass.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_fsizeddeallocation.pass.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_fsizeddeallocation.pass.cpp
M libcxx/test/std/language.support/support.exception/uncaught/uncaught_exceptions.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.runtime/cstdlib.aligned_alloc.compile.pass.cpp
M libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp
M libcxx/test/std/localization/codecvt_unicode.pass.cpp
M libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.statics/table_size.pass.cpp
M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_fr_FR.pass.cpp
M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_zh_CN.pass.cpp
M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_fr_FR.pass.cpp
M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_zh_CN.pass.cpp
M libcxx/test/std/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.pass.cpp
M libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long_double.pass.cpp
M libcxx/test/std/localization/locales/locale/locale.cons/name_construction.pass.cpp
M libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.pass.cpp
M libcxx/test/std/numerics/rand/rand.device/ctor.pass.cpp
A libcxx/test/std/ranges/range.factories/range.iota.view/assert.ctor.value.bound.pass.cpp
M libcxx/test/std/strings/basic.string/string.capacity/max_size.pass.cpp
M libcxx/test/std/strings/basic.string/string.capacity/over_max_size.pass.cpp
M libcxx/test/std/strings/basic.string/string.capacity/reserve_size.pass.cpp
M libcxx/test/std/thread/futures/futures.async/async_race.38682.pass.cpp
M libcxx/test/std/thread/futures/futures.future_error/what.pass.cpp
M libcxx/test/std/thread/thread.condition/notify_all_at_thread_exit_lwg3343.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
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/ctor/ctor.copy.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.char.fsigned-char.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.char.funsigned-char.pass.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator.ctor.pass.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator.dtor.pass.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator.members/allocate.constexpr.size.verify.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator.members/allocate.size.pass.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator_types.deprecated_in_cxx17.verify.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator_types.deprecated_in_cxx23.verify.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator_types.pass.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator_types.removed_in_cxx20.verify.cpp
M libcxx/test/std/utilities/memory/default.allocator/allocator_types.removed_in_cxx26.verify.cpp
M libcxx/test/std/utilities/memory/specialized.algorithms/specialized.construct/construct_at.pass.cpp
M libcxx/test/std/utilities/memory/temporary.buffer/overaligned.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_allocator.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/types.h
A libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/has_unique_object_representations.compile.pass.cpp
R libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/has_unique_object_representations.pass.cpp
M libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_destructible.pass.cpp
M libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable_include_order.pass.cpp
A libcxx/test/std/utilities/utility/pairs/pairs.pair/nttp.equivalence.compile.pass.cpp
A libcxx/test/std/utilities/utility/pairs/pairs.pair/nttp.verify.cpp
M libcxx/test/support/nasty_containers.h
M libcxx/test/support/poisoned_hash_helper.h
M libcxx/utils/ci/Dockerfile
M libcxx/utils/ci/apple-install-libcxx.sh
M libcxx/utils/ci/buildkite-pipeline.yml
M libcxx/utils/ci/docker-compose.yml
M libcxx/utils/ci/run-buildbot
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/dsl.py
M libcxx/utils/libcxx/test/features.py
M libcxx/utils/libcxx/test/params.py
M libcxxabi/CMakeLists.txt
M libcxxabi/include/cxxabi.h
M libcxxabi/lib/itanium-exceptions.exp
M libcxxabi/src/CMakeLists.txt
M libcxxabi/src/cxa_exception.cpp
M libcxxabi/test/catch_const_pointer_nullptr.pass.cpp
M libcxxabi/test/catch_function_01.pass.cpp
M libcxxabi/test/catch_function_03.pass.cpp
M libcxxabi/test/catch_member_data_pointer_01.pass.cpp
M libcxxabi/test/catch_member_function_pointer_02.pass.cpp
M libcxxabi/test/catch_member_pointer_nullptr.pass.cpp
M libcxxabi/test/catch_multi_level_pointer.pass.cpp
M libcxxabi/test/catch_null_pointer_to_object_pr64953.pass.cpp
M libcxxabi/test/catch_pointer_nullptr.pass.cpp
M libcxxabi/test/catch_ptr_02.pass.cpp
M libcxxabi/test/configs/apple-libc++abi-backdeployment.cfg.in
R libcxxabi/test/configs/apple-libc++abi-shared.cfg.in
A libcxxabi/test/cxa_call_terminate.pass.cpp
M libcxxabi/test/cxa_vec_new_overflow_PR41395.pass.cpp
M libcxxabi/test/dynamic_cast.pass.cpp
M libcxxabi/test/exception_object_alignment.pass.cpp
M libcxxabi/test/forced_unwind1.pass.cpp
M libcxxabi/test/forced_unwind2.pass.cpp
M libcxxabi/test/incomplete_type.sh.cpp
M libcxxabi/test/lit.cfg.py
M libcxxabi/test/test_aux_runtime_op_array_new.pass.cpp
M libcxxabi/test/test_demangle.pass.cpp
M libcxxabi/test/test_exception_address_alignment.pass.cpp
M libcxxabi/test/uncaught_exception.pass.cpp
M libcxxabi/test/uncaught_exceptions.pass.cpp
M libunwind/test/configs/apple-libunwind-backdeployment.cfg.in
M libunwind/test/floatregister.pass.cpp
M libunwind/test/forceunwind.pass.cpp
M libunwind/test/libunwind_01.pass.cpp
M libunwind/test/lit.cfg.py
M libunwind/test/signal_unwind.pass.cpp
M libunwind/test/unwind_leaffunction.pass.cpp
M lld/COFF/Chunks.cpp
M lld/COFF/Chunks.h
M lld/COFF/Driver.cpp
M lld/COFF/ICF.cpp
M lld/COFF/InputFiles.cpp
M lld/COFF/InputFiles.h
M lld/COFF/MarkLive.cpp
M lld/COFF/SymbolTable.cpp
M lld/COFF/SymbolTable.h
M lld/COFF/Symbols.h
M lld/COFF/Writer.cpp
M lld/ELF/Arch/AArch64.cpp
M lld/ELF/Arch/LoongArch.cpp
M lld/ELF/Arch/X86_64.cpp
M lld/ELF/Driver.cpp
M lld/ELF/InputFiles.cpp
M lld/ELF/InputFiles.h
M lld/ELF/InputSection.cpp
M lld/ELF/LinkerScript.cpp
M lld/ELF/LinkerScript.h
M lld/ELF/Options.td
M lld/ELF/Relocations.cpp
M lld/ELF/Relocations.h
M lld/ELF/ScriptParser.cpp
M lld/ELF/SyntheticSections.cpp
M lld/ELF/SyntheticSections.h
M lld/ELF/Writer.cpp
M lld/MachO/Config.h
M lld/MachO/InputFiles.cpp
M lld/MachO/ObjC.cpp
M lld/MachO/ObjC.h
M lld/MachO/SectionPriorities.h
M lld/MachO/SyntheticSections.cpp
M lld/MachO/SyntheticSections.h
M lld/MachO/UnwindInfoSection.cpp
M lld/MinGW/Driver.cpp
M lld/docs/ReleaseNotes.rst
M lld/docs/ld.lld.1
A lld/test/COFF/arm64ec-entry-thunk.s
A lld/test/COFF/arm64ec-hybmp.s
A lld/test/COFF/invalid-entry.s
M lld/test/COFF/pdb-type-server-simple.test
M lld/test/ELF/aarch64-reloc-pauth.s
M lld/test/ELF/as-needed-no-reloc.s
M lld/test/ELF/as-needed.s
M lld/test/ELF/auxiliary.s
M lld/test/ELF/build-id.s
M lld/test/ELF/dynamic-reloc.s
M lld/test/ELF/filter.s
M lld/test/ELF/gc-sections-shared.s
M lld/test/ELF/libsearch.s
M lld/test/ELF/linkerscript/addr.test
M lld/test/ELF/linkerscript/locationcountererr-arm-exidx.test
A lld/test/ELF/loongarch-tlsdesc-gd-mixed.s
A lld/test/ELF/loongarch-tlsdesc.s
M lld/test/ELF/lto/riscv-attributes.ll
M lld/test/ELF/no-soname.s
M lld/test/ELF/partition-synthetic-sections.s
M lld/test/ELF/push-state.s
M lld/test/ELF/riscv-attributes.s
M lld/test/ELF/shared-ppc64.s
M lld/test/ELF/shared.s
M lld/test/ELF/soname.s
M lld/test/ELF/soname2.s
M lld/test/ELF/wrap-drop-shared-original.s
M lld/test/ELF/x86-64-gotpc-relax-too-far.s
M lld/test/MachO/arm64-reloc-pointer-to-got.s
M lld/test/MachO/compact-unwind-both-local-and-dylib-personality.s
M lld/test/MachO/compact-unwind.s
M lld/test/MachO/dead-strip.s
M lld/test/MachO/invalid/compact-unwind-personalities.s
M lld/test/MachO/lto-explicit-exports.ll
M lld/test/MachO/objc-category-merging-minimal.s
M lld/test/MinGW/driver.test
M lld/test/wasm/Inputs/libstub.so
A lld/test/wasm/Inputs/signature-mismatch-debug-info-a.s
A lld/test/wasm/Inputs/signature-mismatch-debug-info-b.s
A lld/test/wasm/Inputs/signature-mismatch-debug-info-main.s
M lld/test/wasm/data-segments.ll
A lld/test/wasm/signature-mismatch-debug-info.test
M lld/test/wasm/stub-library-archive.s
M lld/test/wasm/stub-library.s
M lld/wasm/Config.h
M lld/wasm/Driver.cpp
M lld/wasm/InputChunks.h
M lld/wasm/Options.td
M lldb/bindings/interface/SBBreakpointDocstrings.i
M lldb/bindings/interface/SBDataExtensions.i
M lldb/bindings/python/python-swigsafecast.swig
M lldb/bindings/python/python-typemaps.swig
M lldb/bindings/python/python-wrapper.swig
M lldb/docs/use/python.rst
M lldb/examples/python/armv7_cortex_m_target_defintion.py
M lldb/examples/python/crashlog.py
M lldb/examples/python/disasm-stress-test.py
M lldb/examples/summaries/cocoa/CFString.py
M lldb/examples/summaries/pysummary.py
M lldb/examples/synthetic/bitfield/example.py
M lldb/include/lldb/API/SBAddressRange.h
M lldb/include/lldb/API/SBAddressRangeList.h
M lldb/include/lldb/API/SBCommandInterpreter.h
M lldb/include/lldb/API/SBDebugger.h
M lldb/include/lldb/API/SBEvent.h
M lldb/include/lldb/API/SBProcess.h
M lldb/include/lldb/API/SBStatisticsOptions.h
M lldb/include/lldb/API/SBStream.h
M lldb/include/lldb/Core/AddressRangeListImpl.h
M lldb/include/lldb/Core/ValueObject.h
M lldb/include/lldb/DataFormatters/ValueObjectPrinter.h
M lldb/include/lldb/Expression/DWARFExpressionList.h
M lldb/include/lldb/Expression/ExpressionParser.h
M lldb/include/lldb/Interpreter/Interfaces/ScriptedInterface.h
A lldb/include/lldb/Interpreter/Interfaces/ScriptedThreadPlanInterface.h
M lldb/include/lldb/Interpreter/OptionArgParser.h
M lldb/include/lldb/Interpreter/ScriptInterpreter.h
M lldb/include/lldb/Symbol/TypeSystem.h
M lldb/include/lldb/Target/LanguageRuntime.h
M lldb/include/lldb/Target/MemoryTagManager.h
M lldb/include/lldb/Target/Platform.h
M lldb/include/lldb/Target/Process.h
M lldb/include/lldb/Target/RegisterFlags.h
M lldb/include/lldb/Target/RemoteAwarePlatform.h
M lldb/include/lldb/Target/StackFrameRecognizer.h
M lldb/include/lldb/Target/Statistics.h
M lldb/include/lldb/Target/Thread.h
M lldb/include/lldb/Target/ThreadPlanPython.h
M lldb/include/lldb/Target/TraceDumper.h
M lldb/include/lldb/Utility/Args.h
M lldb/include/lldb/Utility/ConstString.h
A lldb/include/lldb/Utility/ErrorMessages.h
M lldb/include/lldb/Utility/ProcessInfo.h
M lldb/include/lldb/Utility/RegularExpression.h
M lldb/include/lldb/Utility/Scalar.h
M lldb/include/lldb/Utility/StreamString.h
M lldb/include/lldb/Utility/SupportFile.h
M lldb/include/lldb/lldb-enumerations.h
M lldb/include/lldb/lldb-forward.h
M lldb/include/lldb/lldb-private-enumerations.h
M lldb/include/lldb/lldb-private-interfaces.h
M lldb/packages/Python/lldbsuite/test/decorators.py
M lldb/packages/Python/lldbsuite/test/dotest.py
M lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
M lldb/packages/Python/lldbsuite/test/lldbtest.py
M lldb/packages/Python/lldbsuite/test/lldbutil.py
M lldb/packages/Python/lldbsuite/test/tools/intelpt/intelpt_testcase.py
M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py
M lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py
M lldb/source/API/SBAddressRange.cpp
M lldb/source/API/SBAddressRangeList.cpp
M lldb/source/API/SBDebugger.cpp
M lldb/source/API/SBProcess.cpp
M lldb/source/API/SBStatisticsOptions.cpp
M lldb/source/API/SBTarget.cpp
M lldb/source/API/SBValue.cpp
M lldb/source/Breakpoint/BreakpointOptions.cpp
M lldb/source/Breakpoint/BreakpointResolver.cpp
M lldb/source/Breakpoint/Watchpoint.cpp
M lldb/source/Commands/CMakeLists.txt
M lldb/source/Commands/CommandObjectDWIMPrint.cpp
M lldb/source/Commands/CommandObjectExpression.cpp
M lldb/source/Commands/CommandObjectFrame.cpp
M lldb/source/Commands/CommandObjectMemory.cpp
R lldb/source/Commands/CommandObjectScript.cpp
R lldb/source/Commands/CommandObjectScript.h
A lldb/source/Commands/CommandObjectScripting.cpp
A lldb/source/Commands/CommandObjectScripting.h
M lldb/source/Commands/CommandObjectSource.cpp
M lldb/source/Commands/CommandObjectStats.cpp
M lldb/source/Commands/CommandObjectTarget.cpp
M lldb/source/Commands/CommandObjectThread.cpp
M lldb/source/Commands/CommandObjectThreadUtil.h
M lldb/source/Commands/Options.td
M lldb/source/Core/DumpRegisterInfo.cpp
M lldb/source/Core/DumpRegisterValue.cpp
M lldb/source/Core/FormatEntity.cpp
M lldb/source/Core/ValueObject.cpp
M lldb/source/DataFormatters/ValueObjectPrinter.cpp
M lldb/source/Expression/CMakeLists.txt
A lldb/source/Expression/ExpressionParser.cpp
M lldb/source/Host/linux/Host.cpp
M lldb/source/Interpreter/CommandInterpreter.cpp
M lldb/source/Interpreter/OptionArgParser.cpp
M lldb/source/Interpreter/Options.cpp
M lldb/source/Interpreter/ScriptInterpreter.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h
M lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
M lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp
M lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.h
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.h
M lldb/source/Plugins/LanguageRuntime/ObjC/GNUstepObjCRuntime/GNUstepObjCRuntime.cpp
M lldb/source/Plugins/LanguageRuntime/ObjC/GNUstepObjCRuntime/GNUstepObjCRuntime.h
M lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.cpp
M lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h
M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.cpp
M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.h
M lldb/source/Plugins/ObjectFile/Minidump/ObjectFileMinidump.cpp
M lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp
M lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.h
M lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.cpp
M lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.h
M lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD.h
M lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_arm.cpp
M lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_arm64.cpp
M lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_arm64.h
M lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_mips64.cpp
M lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_powerpc.cpp
M lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_x86_64.cpp
M lldb/source/Plugins/Process/FreeBSD/NativeThreadFreeBSD.cpp
M lldb/source/Plugins/Process/FreeBSD/NativeThreadFreeBSD.h
M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp
M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp
M lldb/source/Plugins/Process/Utility/CMakeLists.txt
A lldb/source/Plugins/Process/Utility/RegisterFlagsDetector_arm64.cpp
A lldb/source/Plugins/Process/Utility/RegisterFlagsDetector_arm64.h
R lldb/source/Plugins/Process/Utility/RegisterFlagsLinux_arm64.cpp
R lldb/source/Plugins/Process/Utility/RegisterFlagsLinux_arm64.h
M lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp
M lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
M lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.cpp
M lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.h
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
M lldb/source/Plugins/REPL/Clang/ClangREPL.cpp
M lldb/source/Plugins/RegisterTypeBuilder/RegisterTypeBuilderClang.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.h
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPythonInterface.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParser.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
R llvm/lib/Transforms/Hello/Hello.exports
Log Message:
-----------
[𝘀𝗽𝗿] changes introduced through rebase
Created using spr 1.3.4
[skip ci]
Compare: https://github.com/llvm/llvm-project/compare/9e7f364fcf8c...c8496524666e
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