[all-commits] [llvm/llvm-project] 65361f: [AMDGPU] Use SubtargetPredicate instead of OtherPr...
Amir Ayupov via All-commits
all-commits at lists.llvm.org
Fri Aug 9 11:17:21 PDT 2024
Branch: refs/heads/users/aaupov/spr/main.bolt-add-profile-density-computation
Home: https://github.com/llvm/llvm-project
Commit: 65361ff80c18b5920eb45091ff39c1d67fbb325d
https://github.com/llvm/llvm-project/commit/65361ff80c18b5920eb45091ff39c1d67fbb325d
Author: Christudasan Devadasan <christudasan.devadasan at amd.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SMInstructions.td
Log Message:
-----------
[AMDGPU] Use SubtargetPredicate instead of OtherPredicates for subtarget predication. (#100715)
Commit: 8955e285e1ac48bfcd9e030a055e66aec37785cc
https://github.com/llvm/llvm-project/commit/8955e285e1ac48bfcd9e030a055e66aec37785cc
Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M mlir/docs/DefiningDialects/Operations.md
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/include/mlir/IR/ODSSupport.h
M mlir/include/mlir/IR/Properties.td
M mlir/include/mlir/TableGen/Operator.h
M mlir/include/mlir/TableGen/Property.h
M mlir/lib/IR/ODSSupport.cpp
M mlir/lib/TableGen/Property.cpp
M mlir/test/IR/properties.mlir
M mlir/test/IR/traits.mlir
M mlir/test/Transforms/test-legalizer.mlir
M mlir/test/lib/Dialect/Test/TestFormatUtils.cpp
M mlir/test/lib/Dialect/Test/TestFormatUtils.h
M mlir/test/lib/Dialect/Test/TestOps.td
M mlir/test/lib/Dialect/Test/TestOpsSyntax.td
M mlir/test/mlir-tblgen/op-format.mlir
M mlir/test/mlir-tblgen/op-format.td
M mlir/test/mlir-tblgen/op-properties.td
M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
M mlir/tools/mlir-tblgen/OpFormatGen.cpp
Log Message:
-----------
[mlir] Add property combinators, initial ODS support (#94732)
While we have had a Properties.td that allowed for defining
non-attribute-backed properties, such properties were not plumbed
through the basic autogeneration facilities available to attributes,
forcing those who want to migrate to the new system to write such code
by hand.
## Potentially breaking changes
- The `setFoo()` methods on `Properties` struct no longer take their
inputs by const reference. Those wishing to pass non-owned values of a
property by reference to constructors and setters should set the
interface type to `const [storageType]&`
- Adapters and operations now define getters and setters for properties
listed in ODS, which may conflict with custom getters.
- Builders now include properties listed in ODS specifications,
potentially conflicting with custom builders with the same type
signature.
## Extensions to the `Property` class
This commit adds several fields to the `Property` class, including:
- `parser`, `optionalParser`, and `printer` (for parsing/printing
properties of a given type in ODS syntax)
- `storageTypeValueOverride`, an extension of `defaultValue` to allow
the storage and interface type defaults to differ
- `baseProperty` (allowing for classes like `DefaultValuedProperty`)
Existing fields have also had their documentation comments updated.
This commit does not add a `PropertyConstraint` analogous to
`AttrConstraint`, but this is a natural evolution of the work here.
This commit also adds the concrete property kinds `I32Property`,
`I64Property`, `UnitProperty` (and special handling for it like for
UnitAttr), and `BoolProperty`.
## Property combinators
`Properties.td` also now includes several ways to combine properties.
One is `ArrayProperty<Property elem>`, which now stores a
variable-length array of some property as
`SmallVector<elem.storageType>` and uses `ArrayRef<elem.storageType>` as
its interface type. It has `IntArrayProperty` subclasses that change its
conversion to attributes to use `DenseI[N]Attr`s instead of an
`ArrayAttr`.
Similarly, `OptionalProperty<Property p>` wraps a property's storage in
`std::optional<>` and adds a `std::nullopt` default value. In the case
where the underlying property can be parsed optionally but doesn't have
its own default value, `OptionalProperty` can piggyback off the optional
parser to produce a cleaner syntax, as opposed to its general form,
which is either `none` or `some<[value]>`.
(Note that `OptionalProperty` can be nested if desired).
## Autogeneration changes
Operations and adaptors now support getters and setters for properties
like those for attributes. Unlike for attributes, there aren't separate
value and attribute forms, since there is no `FooAttr()` available for a
`getFooAttr()` to return.
The largest change is to operation formats. Previously, properties could
only be used in custom directives. Now, they can be used anywhere an
attribute could be used, and have parsers and printers defined in their
tablegen records.
These updates include special `UnitProperty` logic like that used for
`UnitAttr`.
## Misc.
Some attempt has been made to test the new functionality.
This commit takes tentative steps towards updating the documentation to
account for properties. A full update will be in order once any followup
work has been completed and the interfaces have stabilized.
---------
Co-authored-by: Mehdi Amini <joker.eph at gmail.com>
Co-authored-by: Christian Ulmann <christianulmann at gmail.com>
Commit: 3113bfbfa7c6247dae2ae52d90b0487f7e31f33e
https://github.com/llvm/llvm-project/commit/3113bfbfa7c6247dae2ae52d90b0487f7e31f33e
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
Log Message:
-----------
AMDGPU/GlobalISel: Use getSubRegFromChannel (#100732)
Commit: 3c2ce7088886a22ab8dc0e9488600c43644b5102
https://github.com/llvm/llvm-project/commit/3c2ce7088886a22ab8dc0e9488600c43644b5102
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M .github/workflows/release-sources.yml
Log Message:
-----------
workflows: Fix tag name for release sources job (#100752)
Commit: 862d837e483437b33f5588f89e62085de3a806b9
https://github.com/llvm/llvm-project/commit/862d837e483437b33f5588f89e62085de3a806b9
Author: Michael Maitland <michaeltmaitland at gmail.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SDPatternMatch.h
M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp
Log Message:
-----------
[DAG] Add SDPatternMatch::m_Select (#100686)
This will enable us to use SDPatternMatch with ISD::SELECT SDNodes in
the future.
Commit: 599de135551cdb95a479b7f1f032aff506effeac
https://github.com/llvm/llvm-project/commit/599de135551cdb95a479b7f1f032aff506effeac
Author: Rainer Orth <ro at gcc.gnu.org>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M clang/lib/Lex/PPMacroExpansion.cpp
Log Message:
-----------
[clang] Handle tm mangling on Solaris in PPMacroExpansion.cpp (#100724)
The introduction of `std::put_time` in
fad17b43dbc09ac7e0a95535459845f72c2b739a broke the Solaris build:
```
Undefined first referenced
symbol in file
_ZNKSt8time_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE3putES3_RSt8ios_basecPKSt2tmPKcSB_ lib/libclangLex.a(PPMacroExpansion.cpp.o)
ld: fatal: symbol referencing errors
```
As discussed in PR #99075, the problem is that GCC mangles `std::tm` as
`tm` on Solaris for binary compatility, while `clang` doesn't (Issue
#33114).
As a stop-gap measure, this patch introduces an `asm` level alias to the
same effect.
Tested on `sparcv9-sun-solaris2.11`, `amd64-pc-solaris2.11`, and
`x86_64-pc-linux-gnu`.
Commit: e603df083be3d41680c6289bce549b022dcfe7d5
https://github.com/llvm/llvm-project/commit/e603df083be3d41680c6289bce549b022dcfe7d5
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M clang/tools/clang-nvlink-wrapper/ClangNVLinkWrapper.cpp
M clang/tools/clang-nvlink-wrapper/NVLinkOpts.td
Log Message:
-----------
[NvlinkWrapper] Add relocatable link support to LTO pass
Summary:
We need `-r` to work so we can preserve symbols.
Commit: 21fd52f8c7cbaa231b104d15363b28c8f89963c5
https://github.com/llvm/llvm-project/commit/21fd52f8c7cbaa231b104d15363b28c8f89963c5
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M libcxx/CMakeLists.txt
R libcxx/cmake/Modules/CodeCoverage.cmake
M libcxx/src/CMakeLists.txt
M libcxx/test/CMakeLists.txt
Log Message:
-----------
[libc++] Remove unmaintained support for generating code coverage (#100630)
This patch removes support for generating code coverage information of
libc++, which is unmaintained and I've never been able to utilize. It
would be great to have support for generating code coverage in the test
suite, however this incarnation of it doesn't seem to be properly hooked
up into the test suite. Since it gets in the way of making the test
suite more standalone, remove it.
Commit: fda692beab2963fd4659dcef0d129a1ff1bde17f
https://github.com/llvm/llvm-project/commit/fda692beab2963fd4659dcef0d129a1ff1bde17f
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M libcxx/test/CMakeLists.txt
Log Message:
-----------
[libc++] Remove outdated setting of LIBCXX_CXX_ABI_LIBRARY_PATH (#100631)
LIBCXX_CXX_ABI_LIBRARY_PATH is used to determine the path of the ABI
library in use. It shouldn't be necessary to set it explicitly in order
to run the tests, since the test suite has its own configuration
mechanism.
Commit: ed8c561170b0fb98284ebbfaaab305e87a4d8bf9
https://github.com/llvm/llvm-project/commit/ed8c561170b0fb98284ebbfaaab305e87a4d8bf9
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/lib/Target/X86/X86SchedBroadwell.td
M llvm/lib/Target/X86/X86SchedHaswell.td
M llvm/test/tools/llvm-mca/X86/Broadwell/resources-mmx.s
M llvm/test/tools/llvm-mca/X86/Haswell/resources-mmx.s
Log Message:
-----------
[X86] haswell/broadwell only uses port5 for mmx pack reg-reg instructions
Matches numbers from uops.info, Agner and instlatx64.
Commit: a48222451d0fa966a78880fecbeee0201fbcc039
https://github.com/llvm/llvm-project/commit/a48222451d0fa966a78880fecbeee0201fbcc039
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/lib/Target/X86/X86SchedSandyBridge.td
M llvm/test/tools/llvm-mca/X86/Barcelona/resources-sse2.s
M llvm/test/tools/llvm-mca/X86/Barcelona/zero-idioms.s
M llvm/test/tools/llvm-mca/X86/Generic/resources-sse2.s
M llvm/test/tools/llvm-mca/X86/SandyBridge/resources-sse2.s
M llvm/test/tools/llvm-mca/X86/SandyBridge/zero-idioms.s
Log Message:
-----------
[X86] Add missing PSUBQ handling to SandyBridge model
Matches PADDQ modelling, confirmed with numbers from uops.info and Agner
Commit: 6808e6c78edf63d2c0c9bd6fce168fe7e0a7d49f
https://github.com/llvm/llvm-project/commit/6808e6c78edf63d2c0c9bd6fce168fe7e0a7d49f
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M libcxx/cmake/caches/Generic-no-exceptions.cmake
M libcxx/cmake/caches/Generic-no-experimental.cmake
M libcxx/cmake/caches/Generic-no-filesystem.cmake
M libcxx/cmake/caches/Generic-no-localization.cmake
M libcxx/cmake/caches/Generic-no-random_device.cmake
M libcxx/cmake/caches/Generic-no-rtti.cmake
M libcxx/cmake/caches/Generic-no-threads.cmake
M libcxx/cmake/caches/Generic-no-tzdb.cmake
M libcxx/cmake/caches/Generic-no-unicode.cmake
M libcxx/cmake/caches/Generic-no-wide-characters.cmake
M libcxx/include/__thread/thread.h
M libcxx/test/std/atomics/atomics.ref/required_alignment.pass.cpp
Log Message:
-----------
[libc++] Enable Clang modules in carve-out CI jobs (#100571)
This speeds up the CI a bit (anecdotally ~10%) for those jobs, and it
also helps ensure that we are clean w.r.t. Clang modules when we disable
some of the carve-outs like no-localization or no-threads.
Commit: 1e1c8d16153a8b3f53b6a8797a77112ecc289551
https://github.com/llvm/llvm-project/commit/1e1c8d16153a8b3f53b6a8797a77112ecc289551
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/X86/reduced-gathered-vectorized.ll
M llvm/test/Transforms/SLPVectorizer/X86/vec_list_bias_external_insert_shuffled.ll
Log Message:
-----------
[SLP]Add external uses cost for the gathered loads.
If the load is a part of the gather node and also a part of the
vectorized subvector, need to add the estimation for the non-vectorized
external uses.
Reviewers: RKSimon
Reviewed By: RKSimon
Pull Request: https://github.com/llvm/llvm-project/pull/99889
Commit: f083764ba1ca35016c929683c8a5d918b5048100
https://github.com/llvm/llvm-project/commit/f083764ba1ca35016c929683c8a5d918b5048100
Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
Log Message:
-----------
[lldb] Optimized lldb-server memory usage (#100666)
MAX_PATH is definitely larger than 6 bytes we are expecting for this
message, and could be rather large depending on the target OS (4K for
some Linux OSs).
Since the buffer gets allocated on the stack we better be conservative
and allocate what we actually need.
Commit: 73450251497f3880ff90d36d2bb43f02dd022239
https://github.com/llvm/llvm-project/commit/73450251497f3880ff90d36d2bb43f02dd022239
Author: Santhosh Kumar Ellendula <quic_sellendu at quicinc.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M lldb/tools/lldb-dap/README.md
M lldb/tools/lldb-dap/package.json
Log Message:
-----------
[lldb-dap] Updated README.md for newly added attach properties. (#99926)
Added "gdb-remote-port" and "gdb-remote-hostname" attach properties
usage in
README.md and updated package.json version to 0.2.3
This was missed in PR https://github.com/llvm/llvm-project/pull/91570
---------
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: 50835f0a364e850e097c40f81364909c72bb2156
https://github.com/llvm/llvm-project/commit/50835f0a364e850e097c40f81364909c72bb2156
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M clang/lib/Driver/ToolChains/AMDGPU.cpp
M clang/test/Driver/amdgpu-toolchain.c
Log Message:
-----------
[Clang] Do not pass `-shared` when using `-r` for AMDGPU (#100760)
Summary:
We can use `-r` and `--lto-emit-llvm` to get the LTO pass to optimize +
link LLVM-IR. Currently this doesn't work on AMDGPU because it always
passes `-shared` which is incompatible with `-r`. Fix that so we can use
it.
Commit: 6ac0cf9fb0b8c3efe1a6583247102786bd223ca5
https://github.com/llvm/llvm-project/commit/6ac0cf9fb0b8c3efe1a6583247102786bd223ca5
Author: Doug Wyatt <doug at sonosphere.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M clang/include/clang/AST/Type.h
Log Message:
-----------
[NFC] Reduce size of FunctionEffect to 1 byte. (#100753)
As a preliminary to PR https://github.com/llvm/llvm-project/pull/99656 ,
reduce the size of `FunctionEffect` to 1 byte.
---------
Co-authored-by: Doug Wyatt <dwyatt at apple.com>
Commit: 11a7ee50b400fc13cf772c81e09c153c93665658
https://github.com/llvm/llvm-project/commit/11a7ee50b400fc13cf772c81e09c153c93665658
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
Log Message:
-----------
[lldb][TypeSystemClang][NFC] Clean up TypeSystemClang::GetBitSize (#100674)
This patch performs following NFC changes to
TypeSystemClang::GetBitSize:
* Factor out the Objective-C logic into a helper function.
* Introduce a new case for `FunctionProto`. I don't see a good reason
for special-casing this in the `default` case.
* We had a redundant check for `GetCompleteType` in the `RecordType`
case. We used to allow zero-size types for records and function
prototypes, so we can just fold them into the same case.
* Introduce a new case for `IncompleteArray`.
The motivation for this is that there are a few issues around VLAs
(i.e., `Type::IncompleteArray`) whose fixes will be easier to reason
about after this refactor.
Generally I don't think treating a type with 0 size as an error is the
right thing to do (at least not for array types). But that's not
something I wanted to fold into this NFC change.
Commit: 4084e31d3369521615c706a3995566aa7165be97
https://github.com/llvm/llvm-project/commit/4084e31d3369521615c706a3995566aa7165be97
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
Log Message:
-----------
[Driver] Use hasArg to fix -Wunused-but-set-variable after #97342
Commit: 5579569ae76873c346e1a1c8a55dc448f8a346ad
https://github.com/llvm/llvm-project/commit/5579569ae76873c346e1a1c8a55dc448f8a346ad
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
M llvm/test/CodeGen/X86/known-bits.ll
Log Message:
-----------
[LegalizeTypes] Create an ISD::ADD instead of an ISD::UADDO with unused overflow result. (#100647)
Same for ISD::SUB instead of ISD::USUBO.
Commit: 9086f9df6bc212a1594bc12634428362b6564408
https://github.com/llvm/llvm-project/commit/9086f9df6bc212a1594bc12634428362b6564408
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/lib/Target/RISCV/RISCVProcessors.td
Log Message:
-----------
[RISCV] Remove feature implication from TuneSiFive7. (#100694)
Add all the implied feature directly to the SiFive7 CPUs tuning feature
list instead.
The implication is dangerous because explicitly disalbing any of the
implied features through the command line would also clear the SiFive7
feature bit.
Commit: b582b658d60fb23ce39c48b42be265093e5e889d
https://github.com/llvm/llvm-project/commit/b582b658d60fb23ce39c48b42be265093e5e889d
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfw-web-simplification.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfwmacc.ll
Log Message:
-----------
[RISCV] Add FMA support to combineOp_VLToVWOp_VL. (#100454)
This adds FMA to the widening web support we have for add, sub, mul, and
shl.
Extra care needs to be taken to not widen the third FMA operand.
Commit: ba45453c0a5df3e6c3eddee647e14c97e02243fa
https://github.com/llvm/llvm-project/commit/ba45453c0a5df3e6c3eddee647e14c97e02243fa
Author: darkbuck <michael.hliao at gmail.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
A llvm/test/Transforms/SimplifyCFG/AMDGPU/skip-threading.ll
M llvm/test/Transforms/SimplifyCFG/convergent.ll
Log Message:
-----------
[SimplifyCFG] Skip threading if the target may have divergent branches
- This patch skips the threading on known values if the target has
divergent branch.
- So far, threading on known values is skipped when the basic block has
covergent calls. However, even without convergent calls, if that
condition is divergent, threading duplicates the execution of that
block threaded and hence results in lower performance. E.g.,
```
BB1:
if (cond) BB3, BB2
BB2:
// work2
br BB3
BB3:
// work3
if (cond) BB5, BB4
BB4:
// work4
br BB5
BB5:
```
after threading,
```
BB1:
if (cond) BB3', BB2'
BB2':
// work3
br BB5
BB3':
// work2
// work3
// work4
br BB5
BB5:
```
After threading, work3 is executed twice if 'cond' is a divergent one.
Reviewers: yxsamliu, nikic
Pull Request: https://github.com/llvm/llvm-project/pull/100185
Commit: 9ff6c35a7e50c906537f085c0d2488ea4836dcc5
https://github.com/llvm/llvm-project/commit/9ff6c35a7e50c906537f085c0d2488ea4836dcc5
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/include/llvm/ADT/DenseMap.h
Log Message:
-----------
[DenseMap] clear: don't access TombstoneKey if is_trivially_destructible
Commit: d2553a2be985d76874a52b44bab9438c01aead50
https://github.com/llvm/llvm-project/commit/d2553a2be985d76874a52b44bab9438c01aead50
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M libcxx/docs/Status/Cxx20Issues.csv
M libcxx/docs/Status/Cxx23Issues.csv
M libcxx/docs/Status/Cxx2cIssues.csv
Log Message:
-----------
[libc++][doc] Updates the libc++ status page. (#100595)
- LWG3147 Definitions of "likely" and "unlikely" are likely to cause
problems Adjusts the requirements on programs using the Standard
library.
- LWG3328 Clarify that std::string is not good for UTF-8 Adds a
non-normative note, aimed at users of the Standard library.
- LWG3784 std.compat should not provide ::byte and its friends was
implemented during modules.
- LWG3062 Unnecessary decay_t in is_execution_policy_v should be
remove_cvref_t Was implemented while implementing parallel algorithms.
- LWG3362 Strike stop_source's operator!= The removed operator was never
implemented.
- LWG3616 LWG 3498 seems to miss the non-member swap for basic_syncbuf
This was implemented correctly from the start.
- LWG3199 istream >> bitset<0> fails This was implemented in
fc4486c2472b84384d4a31d2436a91bdb9b29792, might be in LLVM-9
- LWG3828 Sync intmax_t and uintmax_t with C2x Standardardized existing
practice.
- LWG3713 Sorted with respect to comparator (only) Wording issue in the
Standard.
- LWG3823 Unnecessary precondition for is_aggregate Changes the
preconditions
- LWG3826 Redundant specification [for overload of yield_value] Changes
a remark to a note
- LWG3203 span element access invalidation Update wording relevant for
users of the Standard library.
Commit: 04133283a9f5a15fba810ed34ff445d61203fcce
https://github.com/llvm/llvm-project/commit/04133283a9f5a15fba810ed34ff445d61203fcce
Author: Mike Rice <michael.p.rice at intel.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M clang/lib/Sema/SemaPPC.cpp
Log Message:
-----------
[clang][Sema][NFC] remove unreachable return statement (#100642)
The switch now returns in every case so the end return is unreachable.
Commit: 9d2461e71297899b3d23dcfa002fcabaf6709612
https://github.com/llvm/llvm-project/commit/9d2461e71297899b3d23dcfa002fcabaf6709612
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
A .github/workflows/release-asset-audit.py
A .github/workflows/release-asset-audit.yml
Log Message:
-----------
workflows: Add a job for auditing release assets (#92829)
This checks to ensure that uploads are only made by 'approved'
uploaders, which is just everyone who has uploaded a release asset in
the past.
We could do more, but this is just a simple implementation so we can put
something in place and see how it works.
For more discussion see:
https://discourse.llvm.org/t/rfc-improve-binary-security/78121
Commit: bd80655da407c0becca2b7e6ac0264c625272b70
https://github.com/llvm/llvm-project/commit/bd80655da407c0becca2b7e6ac0264c625272b70
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/test/Instrumentation/HWAddressSanitizer/pgo-opt-out.ll
Log Message:
-----------
[NFC][hwasan] Remove duplicated checks
Reviewers: kstoimenov, thurstond
Reviewed By: thurstond
Pull Request: https://github.com/llvm/llvm-project/pull/100678
Commit: 48260799a5e4eab59e7637ed8eea5034da4370e7
https://github.com/llvm/llvm-project/commit/48260799a5e4eab59e7637ed8eea5034da4370e7
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/test/Transforms/lower-builtin-allow-check.ll
Log Message:
-----------
[NFC][ubsan] Add mixed filter test case (#100679)
Currently "random" overrides "hotness",
we need to make them work together.
Commit: 16975ad27c5cd36ed136a3de739221304da125d2
https://github.com/llvm/llvm-project/commit/16975ad27c5cd36ed136a3de739221304da125d2
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M flang/lib/Semantics/check-cuda.cpp
M flang/test/Lower/CUDA/cuda-data-transfer.cuf
M flang/test/Lower/CUDA/cuda-kernel-loop-directive.cuf
M flang/test/Parser/cuf-sanity-common
M flang/test/Semantics/cuf09.cuf
M flang/test/Semantics/reduce.cuf
Log Message:
-----------
[flang][cuda] Emit error when host array is used in CUF kernel (#100693)
Restriction from the standard 2.11.2.
Arrays used or assigned in the loop must have the device, managed or
unifed attribute.
Commit: b5f2db20d6403923f31313763c592a20c12527ff
https://github.com/llvm/llvm-project/commit/b5f2db20d6403923f31313763c592a20c12527ff
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/docs/ProgrammersManual.rst
Log Message:
-----------
[docs] Fix code-block formating (#100772)
Commit: d683d378998c85c12d7f0549944f807bb44c7b76
https://github.com/llvm/llvm-project/commit/d683d378998c85c12d7f0549944f807bb44c7b76
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/test/Transforms/lower-builtin-allow-check.ll
Log Message:
-----------
[NFC][ubsan] Expand lower-builtin-allow-check test (#100677)
Commit: 481eb4f5159b753497ef20cb646eb6169f3eb078
https://github.com/llvm/llvm-project/commit/481eb4f5159b753497ef20cb646eb6169f3eb078
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
Log Message:
-----------
[clang] Enable the -Wdangling-assignment-gsl diagnostic by default. (#100708)
Commit: ca69f515fe29fa98b7ab52e49c5b401bb22f64f6
https://github.com/llvm/llvm-project/commit/ca69f515fe29fa98b7ab52e49c5b401bb22f64f6
Author: Martin Storsjö <martin at martin.st>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_double.hex.pass.cpp
M libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.hex.pass.cpp
M libcxx/utils/libcxx/test/features.py
M libcxxabi/test/test_demangle.pass.cpp
Log Message:
-----------
[libcxx] [test] Detect the UCRT printf("%a") formatting bug (#99846)
This fixes testing with MinGW, if built without
__USE_MINGW_ANSI_STDIO=1.
On x86 MinGW, such a configuration fails printf tests with long doubles
due to mismatches between 80 and 64 bit long doubles - but on ARM,
there's no such issue, so building without __USE_MINGW_ANSI_STDIO=1 is
perfectly valid there.
Add another similar XFAIL to a libcxxabi test; this test isn't executed
in MSVC environments, so no XFAIL has been needed so far.
Commit: 599a91a7df6b75f93b91507e0caedd8dd1996641
https://github.com/llvm/llvm-project/commit/599a91a7df6b75f93b91507e0caedd8dd1996641
Author: Angel Zhang <anzhouzhang913 at gmail.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp
M mlir/test/Conversion/VectorToSPIRV/vector-to-spirv.mlir
Log Message:
-----------
[mlir][spirv] Support `vector.step` in vector to spirv conversion (#100651)
Added a conversion pattern and LIT tests for lowering `vector.step` to
SPIR-V.
Fixes: #100602
---------
Co-authored-by: Jakub Kuderski <kubakuderski at gmail.com>
Commit: 3e593b9b3b86ebf28e24c3a33791be49e0735af5
https://github.com/llvm/llvm-project/commit/3e593b9b3b86ebf28e24c3a33791be49e0735af5
Author: Kendal Harland <3987220+kendalharland at users.noreply.github.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
M lldb/packages/Python/lldbsuite/test/lldbtest.py
Log Message:
-----------
[lldb] Remove python helper getCompilerBinary() (#100660)
This causes a number of tests be `UNRESOLVED` on Windows if
`getCompiler()` has a space in the name, because `getCompilerBinary()`
unconditionally splits on whitespace and returns the first result, which
might just be`"C:\Program"` if using a compiler such as `clang-cl` `cl`
from the absolute path to Visual studio's installation directory.
Co-authored-by: kendal <kendal at thebrowser.company>
Commit: 60e5892e6928dec29306e5749e70ac9e26e1f6c5
https://github.com/llvm/llvm-project/commit/60e5892e6928dec29306e5749e70ac9e26e1f6c5
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M .github/workflows/release-asset-audit.yml
Log Message:
-----------
Workflows: Fix copy-paste mistake in release-asset-audit
The comment file in this workflow is plain-text not json.
Commit: 761372ef1563f9f14f43afd800d4d017a3472c99
https://github.com/llvm/llvm-project/commit/761372ef1563f9f14f43afd800d4d017a3472c99
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-constant.mir
Log Message:
-----------
AMDGPU/GlobalISel: Add some more select of pointer typed constant tests
Commit: cc1dfb37aa84d1524243b83fadb8ff0f821e03e9
https://github.com/llvm/llvm-project/commit/cc1dfb37aa84d1524243b83fadb8ff0f821e03e9
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M libcxx/include/__atomic/atomic_ref.h
A libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.cpp
R libcxx/test/std/atomics/atomics.lockfree/isalwayslockfree.pass.cpp
M libcxx/test/std/atomics/atomics.ref/is_always_lock_free.pass.cpp
M libcxx/test/support/atomic_helpers.h
Log Message:
-----------
[libc++] Fix bug in atomic_ref's calculation of lock_free-ness (#99570)
The builtin __atomic_always_lock_free takes into account the type of the
pointer provided as the second argument. Because we were passing void*,
rather than T*, the calculation failed. This meant that
atomic_ref<T>::is_always_lock_free was only true for char & bool.
This bug exists elsewhere in the atomic library (when using GCC, we fail
to pass a pointer at all, and we fail to correctly align the atomic like
_Atomic would).
This change also attempts to start sorting out testing difficulties with
this function that caused the bug to exist by using the
__GCC_ATOMIC_(CHAR|SHORT|INT|LONG|LLONG|POINTER)_IS_LOCK_FREE predefined
macros to establish an expected value for `is_always_lock_free` and
`is_lock_free` for the respective types, as well as types with matching
sizes and compatible alignment values.
Using these compiler pre-defines we can actually validate that certain
types, like char and int, are actually always lock free like they are on
every platform in the wild.
Note that this patch was actually authored by Eric Fiselier but I picked
up the patch and GitHub won't let me set Eric as the primary author.
Co-authored-by: Eric Fiselier <eric at efcs.ca>
Commit: 372a6beac65851abe6d8016df397f5cea32ffe9b
https://github.com/llvm/llvm-project/commit/372a6beac65851abe6d8016df397f5cea32ffe9b
Author: vporpo <vporpodas at google.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/include/llvm/SandboxIR/SandboxIRValues.def
M llvm/include/llvm/SandboxIR/Use.h
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
M llvm/unittests/SandboxIR/TrackerTest.cpp
Log Message:
-----------
[SandboxIR] Implement CallBase and CallInst (#100218)
This patch adds the `CallBase` SandboxIR class and its subclass:
`CallInst`. Both are mirrors of `llvm::CallBase` and `llvm::CallInst`
respectively. Since `llvm::CallBase` contains a large number of member
functions so this patch implements only some of them.
The `CallBase` unit tests uncovered an issue with the class hierarchy,
where `sandboxir::Function` was not a subclass of `sandboxir::Constant`,
so this was fixed.
Testing tracking of the `CallBase` setters showed that
`sandboxir::Use::set()` was not being tracked. So this is also part of
this patch.
Commit: f8cd4c505fd9c0be329630b6b82e3a3ff53107cc
https://github.com/llvm/llvm-project/commit/f8cd4c505fd9c0be329630b6b82e3a3ff53107cc
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M libc/cmake/modules/LLVMLibCLibraryRules.cmake
M libc/cmake/modules/prepare_libc_gpu_build.cmake
M libc/lib/CMakeLists.txt
Log Message:
-----------
[libc] Fix building bitcode library for GPU (#100491)
Summary:
The GPU build provides a bitcode version of the library to mimic how
NVIDIA and AMD provide their libraries. Previously we had the fatbinary
archive that created the necessary dependency for this to actually
build. Since it was removed we no longer had anything triggering this to
build.
I have no idea if there's a better way to force a custom command to
actually be run in the same space as libraries, but the only thing I
could come up with was a dummy target.
Commit: 247251aee0d4314385a3fea86e31484d3d792ffb
https://github.com/llvm/llvm-project/commit/247251aee0d4314385a3fea86e31484d3d792ffb
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
A .github/workflows/release-binaries-all.yml
A .github/workflows/release-binaries-save-stage/action.yml
A .github/workflows/release-binaries-setup-stage/action.yml
M .github/workflows/release-binaries.yml
M .github/workflows/release-tasks.yml
M clang/cmake/caches/Release.cmake
Log Message:
-----------
Build release binaries for multiple targets (#98431)
This adds release binary builds for the 4 platforms currently supported
by the free GitHub Action runners:
* Linux x86_64
* Windows x86_64
* Mac x86_64
* Mac AArch64
The test stages for these are known to fail, but the creating and
upoading of the release binaries should pass.
Commit: 134b4484d8dda0ea75d9cf971ffc2f44e18fcead
https://github.com/llvm/llvm-project/commit/134b4484d8dda0ea75d9cf971ffc2f44e18fcead
Author: RoseZhang03 <rosezhang at google.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M libc/docs/dev/header_generation.rst
M llvm/docs/GettingStarted.rst
Log Message:
-----------
[libc] Updated GettingStarted.rst with PyYAML version (#100649)
New Headergen requires PyYAML version 5.1 or newer in order to generate
header files .
Commit: 361d4cf5331d76d5ea5ddef48ea35e2515e870b6
https://github.com/llvm/llvm-project/commit/361d4cf5331d76d5ea5ddef48ea35e2515e870b6
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/test/CodeGen/X86/is_fpclass.ll
Log Message:
-----------
DAG: Lower is.fpclass fcSubnormal|fcZero to fabs(x) < smallest_normal (#100390)
Produces better code on x86_64 only in the unordered case. Not
sure what the exact condition should be to avoid the regression. Free
fabs might do it, or maybe requires legality checks for the alternative
integer expansion.
Commit: c80c09f3e380a0a2b00b36bebf72f43271a564c1
https://github.com/llvm/llvm-project/commit/c80c09f3e380a0a2b00b36bebf72f43271a564c1
Author: Dimitry Andric <dimitry at andric.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/include/llvm/Support/MathExtras.h
M llvm/lib/CodeGen/CalcSpillWeights.cpp
A llvm/test/CodeGen/X86/pr99396.ll
Log Message:
-----------
[CalcSpillWeights] Avoid x87 excess precision influencing weight result
Fixes #99396
The result of `VirtRegAuxInfo::weightCalcHelper` can be influenced by
x87 excess precision, which can result in slightly different register
choices when the compiler is hosted on x86_64 or i386. This leads to
different object file output when cross-compiling to i386, or native.
Similar to 7af3432e22b0, we need to add a `volatile` qualifier to the
local `Weight` variable to force it onto the stack, and avoid the excess
precision. Define `stack_float_t` in `MathExtras.h` for this purpose,
and use it.
Commit: 09542052351380a455bb23a28df86b80db461eb2
https://github.com/llvm/llvm-project/commit/09542052351380a455bb23a28df86b80db461eb2
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/LowerAllowCheckPass.cpp
M llvm/test/Instrumentation/HWAddressSanitizer/pgo-opt-out.ll
M llvm/test/Transforms/lower-builtin-allow-check.ll
Log Message:
-----------
[ubsan][hwasan] Let mixing filters (#100680)
Now the check will be enabled only if each filter is satisfied.
Commit: 2c391a5902446a19603873ecb4dc12ecf0f01e1c
https://github.com/llvm/llvm-project/commit/2c391a5902446a19603873ecb4dc12ecf0f01e1c
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/test/Analysis/CostModel/RISCV/rvv-load-store.ll
Log Message:
-----------
[RISCV] Add <X x i1> cost model coverage for load/store
Commit: 18dee70168bcd7259daade4c86462ba859e7bed5
https://github.com/llvm/llvm-project/commit/18dee70168bcd7259daade4c86462ba859e7bed5
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M .github/workflows/release-binaries.yml
Log Message:
-----------
workflows: Remove left over debugging step from release-binaries job
Commit: d3fd28a13478786b3ebf092b8ebfcfd0c5e34928
https://github.com/llvm/llvm-project/commit/d3fd28a13478786b3ebf092b8ebfcfd0c5e34928
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/RISCV/rvv-load-store.ll
M llvm/test/Transforms/LoopVectorize/RISCV/short-trip-count.ll
Log Message:
-----------
[RISCV][TTI] Properly model odd vector sized LD/ST operations (#100436)
The motivation for this change is the costing of a LD or ST with nearly
power of 2 vectors (e.g. <3 x i32> or <7 x i32>) on V. There's an
experimental option in SLP to allow emitting these if the cost model
says they're profitable. This really helps with e.g. RGB vectors.
Our actual lowering for these depends on whether a wider container type
is known available. If so, we use a vle or vse on the wider type with a
restricted VL. If not, we split until a legal type is found, and then
apply the vle/vse on the sub-pieces.
This change is intentionally restricted to only the case where promotion
(widening w/VL predication) is involved. We appear to have at least one
bug in our splitting lowering (see discussion on review), and to avoid
exposing this more widely, I chose to not adjust costs for the splitting
case. The current splitting costing assumes scalarization (which is not
true of the actual lowering), but that has the effect of biasing
vectorization away from such cases strongly.
For the widening case, the true cost scales with the next largest legal
type. The default implementation assumes that such a type is scalarized.
Changing that brings our cost in line with our actual lowering decision.
Note that since scalarization is not possible for scalable types, the
prior costing falsely returned Invalid for that case.
Commit: 7f3dcf4b2e1001c829ec431996d4ee2662a229fa
https://github.com/llvm/llvm-project/commit/7f3dcf4b2e1001c829ec431996d4ee2662a229fa
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/tools/llvm-ctxprof-util/CMakeLists.txt
M llvm/tools/llvm-ctxprof-util/llvm-ctxprof-util.cpp
Log Message:
-----------
[ctx_prof] Don't use `GENERATE_DRIVER` (#100777)
Commit: 53283dc4645ee13f33dd9b98cc935b376bf78232
https://github.com/llvm/llvm-project/commit/53283dc4645ee13f33dd9b98cc935b376bf78232
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/ptrauth-fpac.ll
M llvm/test/CodeGen/AArch64/ptrauth-intrinsic-auth-resign-with-blend.ll
M llvm/test/CodeGen/AArch64/ptrauth-intrinsic-auth-resign.ll
Log Message:
-----------
[PAC][test] Add tests against Linux triples for auth/resign lowering (#100744)
The lowering implementation and tests against arm64e-apple-darwin triple
were added previously in #79024.
Commit: 745aa48165dae85dd30d964d0ade8e533df034ee
https://github.com/llvm/llvm-project/commit/745aa48165dae85dd30d964d0ade8e533df034ee
Author: Julius Alexandre <61852278+medievalghoul at users.noreply.github.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
Log Message:
-----------
[SandboxIR] Implement isVolatile() for LoadInst (#100717)
Commit: 7ebd97b852b7535d22f93a90e7627853ffe7f0e1
https://github.com/llvm/llvm-project/commit/7ebd97b852b7535d22f93a90e7627853ffe7f0e1
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M offload/DeviceRTL/src/Debug.cpp
M offload/test/libc/assert.c
Log Message:
-----------
[OpenMP] Do not define '__assert_fail' if we have the GPU libc (#100409)
Summary:
The C library is intended to provide `__assert_fail`, so in the cases
that we have both we should defer to that. This means that if you build
the C library for GPUs you'll get the RPC based asser, and if not you'll
get the trap based one.
Commit: 5a9b9ef66084c84fe4cbe71f0bace82498b13def
https://github.com/llvm/llvm-project/commit/5a9b9ef66084c84fe4cbe71f0bace82498b13def
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Log Message:
-----------
[VPlan] Remove now redundant VF assertion.
The assertion was added in preparation for
https://github.com/llvm/llvm-project/pull/9882. Remove assertion now
the PR has landed.
Commit: efd13eb305dcc394cd038d6c332df64e96276baa
https://github.com/llvm/llvm-project/commit/efd13eb305dcc394cd038d6c332df64e96276baa
Author: Vasileios Porpodas <vporpodas at google.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
Log Message:
-----------
[SandboxIR][NFC] Remove trailing whitespaces
Commit: 26d92826a5ed7894fb6d604c8e0e755daa50cdf7
https://github.com/llvm/llvm-project/commit/26d92826a5ed7894fb6d604c8e0e755daa50cdf7
Author: khaki3 <47756807+khaki3 at users.noreply.github.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M flang/lib/Optimizer/Builder/FIRBuilder.cpp
M flang/test/Lower/OpenACC/acc-loop.f90
M mlir/include/mlir/Dialect/OpenACC/CMakeLists.txt
M mlir/include/mlir/Dialect/OpenACC/OpenACC.h
M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
A mlir/include/mlir/Dialect/OpenACC/OpenACCOpsInterfaces.td
M mlir/lib/Dialect/OpenACC/IR/CMakeLists.txt
M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
M mlir/lib/Dialect/OpenACC/Transforms/CMakeLists.txt
Log Message:
-----------
[mlir][flang] Add an interface of OpenACC compute regions for further getAllocaBlock support (#100675)
This PR implements `ComputeRegionOpInterface` to define `getAllocaBlock`
of OpenACC loop and compute constructs (parallel/kernels/serial). The
primary objective here is to accommodate local variables in OpenACC
compute regions. The change in `fir::FirOpBuilder::getAllocaBlock`
allows local variable allocation inside loops and kernels.
Commit: 069e8bcd82c4420239f95c7e6a09e1f756317cfc
https://github.com/llvm/llvm-project/commit/069e8bcd82c4420239f95c7e6a09e1f756317cfc
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGGPUBuiltin.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M libc/config/gpu/entrypoints.txt
M libc/spec/gpu_ext.td
M libc/src/gpu/CMakeLists.txt
R libc/src/gpu/rpc_fprintf.cpp
R libc/src/gpu/rpc_fprintf.h
M llvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
M offload/DeviceRTL/include/LibC.h
M offload/DeviceRTL/src/LibC.cpp
Log Message:
-----------
[OpenMP][libc] Remove special handling for OpenMP printf (#98940)
Summary:
Currently there are several layers to handle `printf`. Since we now have
varargs and an implementation of `printf` this can be heavily
simplified.
1. The frontend renames `printf` into `omp_vprintf` and gives it an
argument buffer.
Removing 1. triggered some code in the AMDGPU backend menat for HIP /
OpenCL, so I hadded an exception to it.
2. Forward this to CUDA vprintf or ignore it.
We no longer need special handling for it since we have varargs. So now
we just forward this to CUDA vprintf if we have libc, otherwise just
leave `printf` as an external function and expect that `libc` will be
linked in.
Commit: b33ef5bd68ca142775ab653c84f0cb5448a8a0f2
https://github.com/llvm/llvm-project/commit/b33ef5bd68ca142775ab653c84f0cb5448a8a0f2
Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M bolt/lib/Rewrite/DWARFRewriter.cpp
Log Message:
-----------
[BOLT][DWARF][NFC] Add mc opt to DWARFRewriter.cpp (#100800)
Running into an error with removing DWP where the assertion
`RelaxAllView &&
"RegisterMCTargetOptionsFlags not created."'` failed. This is a result
of DWP bringing the mc::RegisterMCTargetOptionsFlags option in, and the
option being removed with DWP. The need for this option didn't
originally exist because we didn't use MC in DWARFRewriter, but we
switched to using DWARFStreamer which needed the option.
https://reviews.llvm.org/D75579
https://reviews.llvm.org/D106417
Commit: 1978c21d967a2cd2e11cd3b2147d135f4d9e680b
https://github.com/llvm/llvm-project/commit/1978c21d967a2cd2e11cd3b2147d135f4d9e680b
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M lld/ELF/ScriptLexer.cpp
M lld/ELF/ScriptLexer.h
M lld/ELF/ScriptParser.cpp
M lld/test/ELF/linkerscript/invalid.test
M lld/test/ELF/linkerscript/map-file.test
M lld/test/ELF/linkerscript/map-file2.test
M lld/test/ELF/linkerscript/unquoted.test
Log Message:
-----------
[ELF] ScriptLexer: generate tokens lazily
The current tokenize-whole-file approach has a few limitations.
* Lack of state information: `maybeSplitExpr` is needed to parse
expressions. It's infeasible to add new states to behave more like GNU
ld.
* `readInclude` may insert tokens in the middle, leading to a time
complexity issue with N-nested `INCLUDE`.
* line/column information for diagnostics are inaccurate, especially
after an `INCLUDE`.
* `getLineNumber` cannot be made more efficient without significant code
complexity and memory consumption. https://reviews.llvm.org/D104137
The patch switches to a traditional lexer that generates tokens lazily.
* `atEOF` behavior is modified: we need to call `peek` to determine EOF.
* `peek` and `next` cannot call `setError` upon `atEOF`.
* Since `consume` no longer reports an error upon `atEOF`, the idiom `while (!errorCount() && !consume(")"))`
would cause a dead loop. Use `while (peek() != ")" && !atEOF()) { ... } expect(")")` instead.
* An include stack is introduced to handle `readInclude`. This can be
utilized to address #93947 properly.
* `tokens` and `pos` are removed.
* `commandString` is reimplemented. Since it is used in -Map output,
`\n` needs to be replaced with space.
Pull Request: https://github.com/llvm/llvm-project/pull/100493
Commit: fea5914c926e2f013a8b5e27eaa74c7047fb2c71
https://github.com/llvm/llvm-project/commit/fea5914c926e2f013a8b5e27eaa74c7047fb2c71
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGGPUBuiltin.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M libc/config/gpu/entrypoints.txt
M libc/spec/gpu_ext.td
M libc/src/gpu/CMakeLists.txt
A libc/src/gpu/rpc_fprintf.cpp
A libc/src/gpu/rpc_fprintf.h
M llvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
M offload/DeviceRTL/include/LibC.h
M offload/DeviceRTL/src/LibC.cpp
Log Message:
-----------
Revert "[OpenMP][libc] Remove special handling for OpenMP printf (#98940)"
This reverts commit 069e8bcd82c4420239f95c7e6a09e1f756317cfc.
Summary:
Some tests failing, revert this for now.
Commit: b0860b20878d2c84fc3ce56ea608c5186872faa2
https://github.com/llvm/llvm-project/commit/b0860b20878d2c84fc3ce56ea608c5186872faa2
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M .github/workflows/release-binaries.yml
Log Message:
-----------
workflows/release-binaries: Always pull composite actions from main branch (#100805)
If we pull from the release tag, then if there is a bug in one of the
actions on the release tag, then we can never do a build for that tag.
Pulling from main will allows us to fix bugs in the actions we use to
build the releases.
Commit: d41f565318e2a414acfd7eec1cfb2fbf515391ba
https://github.com/llvm/llvm-project/commit/d41f565318e2a414acfd7eec1cfb2fbf515391ba
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M .github/workflows/release-binaries.yml
Log Message:
-----------
workflow/release-binaries: Fix typo
Introduced in b0860b20878d2c84fc3ce56ea608c5186872faa2.
Commit: db2aa50ec4a9f47d2710cdae1608ef99de4b5ed3
https://github.com/llvm/llvm-project/commit/db2aa50ec4a9f47d2710cdae1608ef99de4b5ed3
Author: vporpo <vporpodas at google.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
M llvm/unittests/SandboxIR/TrackerTest.cpp
Log Message:
-----------
[SandboxIR] Implement InvokeInst (#100796)
This patch implements sandboxir::InvokeInst which mirrors
llvm::InvokeInst.
Commit: dbb8b7a0f4eea1aa333cec9a38aa6eb7ecf6c1dc
https://github.com/llvm/llvm-project/commit/dbb8b7a0f4eea1aa333cec9a38aa6eb7ecf6c1dc
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGGPUBuiltin.cpp
M clang/lib/CodeGen/CodeGenFunction.h
R clang/test/OpenMP/nvptx_target_printf_codegen.c
M libc/config/gpu/entrypoints.txt
M libc/spec/gpu_ext.td
M libc/src/gpu/CMakeLists.txt
R libc/src/gpu/rpc_fprintf.cpp
R libc/src/gpu/rpc_fprintf.h
M llvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
M offload/DeviceRTL/include/LibC.h
M offload/DeviceRTL/src/LibC.cpp
Log Message:
-----------
Reapply "[OpenMP][libc] Remove special handling for OpenMP printf (#98940)"
This reverts commit fea5914c926e2f013a8b5e27eaa74c7047fb2c71.
Commit: 0ff92593d2d8f35c99332471ef6c42df997341aa
https://github.com/llvm/llvm-project/commit/0ff92593d2d8f35c99332471ef6c42df997341aa
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M flang/include/flang/Evaluate/tools.h
Log Message:
-----------
[flang][cuda][NFC] Extract is cuda device attribute logic (#100809)
Commit: 06429a4fbc6c49c9cd1a68da2e2728ec66ddaddf
https://github.com/llvm/llvm-project/commit/06429a4fbc6c49c9cd1a68da2e2728ec66ddaddf
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Port 26d92826a5ed7894fb6d604c8e0e755daa50cdf7 (#100829)
Commit: 4f5ad22b95ba2ee44f6207fc71b81860a48854ef
https://github.com/llvm/llvm-project/commit/4f5ad22b95ba2ee44f6207fc71b81860a48854ef
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
R lld/test/ELF/linkerscript/header-phdr.test
R lld/test/ELF/linkerscript/phdr-check.s
M lld/test/ELF/linkerscript/phdrs.s
Log Message:
-----------
[ELF,test] Improve PHDRS tests
Commit: 6cf1ea99c6c022bf2ca59362775ba36aaa688d79
https://github.com/llvm/llvm-project/commit/6cf1ea99c6c022bf2ca59362775ba36aaa688d79
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M lld/test/ELF/linkerscript/memory-err.s
M lld/test/ELF/linkerscript/overlay.test
M lld/test/ELF/linkerscript/phdrs.s
M lld/test/ELF/linkerscript/sections.s
Log Message:
-----------
[ELF,test] Improve unclosed tests
Commit: c901b739b67476b00209b7ee706de94c0595d763
https://github.com/llvm/llvm-project/commit/c901b739b67476b00209b7ee706de94c0595d763
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVMergeBaseOffset.cpp
M llvm/test/CodeGen/RISCV/inline-asm-mem-constraint.ll
Log Message:
-----------
[RISCV] Don't crash in RISCVMergeBaseOffset if INLINE_ASM uses address register in a non-memory constraint. (#100790)
If the register is used by a non-memory constraint we should disable the
fold. Otherwise, we may leave CommonOffset unassigned.
Fixes #100779.
Commit: 2a89356d64a274f7171b45d8b7b05b6315a6f627
https://github.com/llvm/llvm-project/commit/2a89356d64a274f7171b45d8b7b05b6315a6f627
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M lld/ELF/ScriptLexer.cpp
M lld/ELF/ScriptLexer.h
M lld/ELF/ScriptParser.cpp
M lld/test/ELF/linkerscript/phdrs.s
M lld/test/ELF/linkerscript/sections.s
Log Message:
-----------
[ELF] Add till and rewrite while (... consume("}"))
After #100493, the idiom `while (!errorCount() && !consume("}"))` could
lead to inaccurate diagnostics or dead loops. Introduce till to change
the code pattern.
Commit: 10bb296dfcefcb13fdead32e35822767e59c70da
https://github.com/llvm/llvm-project/commit/10bb296dfcefcb13fdead32e35822767e59c70da
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M lld/ELF/ScriptParser.cpp
Log Message:
-----------
[ELF] Replace some while (peek() != ")" && !atEOF()) with till
Commit: 497e2e8cf8d27d0488b089757f1569c4c7d8635e
https://github.com/llvm/llvm-project/commit/497e2e8cf8d27d0488b089757f1569c4c7d8635e
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/test/Transforms/VectorCombine/X86/load-inseltpoison.ll
M llvm/test/Transforms/VectorCombine/X86/load-widening.ll
Log Message:
-----------
[NFC][VectorCombine] Add negative sanitizer tests (#100832)
They are already work as expected.
Commit: 5f3758530ab86b0dff2890b36fe1a040083fc4ab
https://github.com/llvm/llvm-project/commit/5f3758530ab86b0dff2890b36fe1a040083fc4ab
Author: Nico Weber <thakis at chromium.org>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/tools/llvm-ctxprof-util/BUILD.gn
Log Message:
-----------
[gn] port 7f3dcf4b2e10 (llvm-ctxprof-util no driver)
Commit: cd354e37ab76828ed3f02b63f7d0c0c006f38564
https://github.com/llvm/llvm-project/commit/cd354e37ab76828ed3f02b63f7d0c0c006f38564
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/test/Transforms/SROA/phi-with-duplicate-pred.ll
Log Message:
-----------
[NFC][SROA] Regenerate a test
New update_test_checks.py use a difference spacing.
Commit: b32c38ab5b4cf5c66469180ba3594e98eff2c124
https://github.com/llvm/llvm-project/commit/b32c38ab5b4cf5c66469180ba3594e98eff2c124
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M lld/ELF/ScriptParser.cpp
Log Message:
-----------
[ELF] Replace some while (peek() != ")" && !atEOF()) with till
Commit: 47aea6162457aa816d8349bef571e9fdcd651a5c
https://github.com/llvm/llvm-project/commit/47aea6162457aa816d8349bef571e9fdcd651a5c
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/multiple-uses-load-bitcast-select.ll
Log Message:
-----------
[NFC] Fix upate_test_checks warning
Commit: a09c0f676d3c61ba8f74a24172543c1e44d70628
https://github.com/llvm/llvm-project/commit/a09c0f676d3c61ba8f74a24172543c1e44d70628
Author: jameshu15869 <55058507+jameshu15869 at users.noreply.github.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M libc/benchmarks/gpu/LibcGpuBenchmark.cpp
M libc/benchmarks/gpu/LibcGpuBenchmark.h
Log Message:
-----------
[libc] Add Minimum Time and Iterations, Reduce Epsilon (#100838)
This PR adds minimums (50 iterations, 500 us, and epsilon of 0.0001) to
ensure that all benchmarks run at least a set number of times before
outputting a final measurement.
Commit: 558315a0ea8cae8613c3a0061bc6cbe50c5b392f
https://github.com/llvm/llvm-project/commit/558315a0ea8cae8613c3a0061bc6cbe50c5b392f
Author: Shivam Gupta <shivam98.tkg at gmail.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M lldb/source/Commands/CommandObjectTarget.cpp
Log Message:
-----------
[LLDB] Remove the redundent 'properties' variable (#95675)
This is described in (N3) https://pvs-studio.com/en/blog/posts/cpp/1126/
Warning message -
V547 Expression 'properties ++ > 0' is always false.
CommandObjectTarget.cpp:100
I could not understand it properly but the properties++ operation is
performed twice when the target architecture is valid.
First increment seems unnecessary since it is always false '0>0'.
---------
Co-authored-by: xgupta <shivma98.tkg at gmail.com>
Commit: 9a3e66e314e698ffb08dba151bc098b6b8867c61
https://github.com/llvm/llvm-project/commit/9a3e66e314e698ffb08dba151bc098b6b8867c61
Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M bolt/include/bolt/Core/DebugData.h
M bolt/lib/Core/DIEBuilder.cpp
M bolt/lib/Core/DebugData.cpp
M bolt/lib/Rewrite/DWARFRewriter.cpp
A bolt/test/X86/dwarf5-df-larger-batch-size.test
Log Message:
-----------
[BOLT][DWARF][NFC] Fix DebugStrOffsetsWriter (#100672)
Fix DebugStrOffsetsWriter so updateAddressMap can't be called after it
is finalized.
Commit: 13996378d81c8fa9a364aeaafd7382abbc1db83a
https://github.com/llvm/llvm-project/commit/13996378d81c8fa9a364aeaafd7382abbc1db83a
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.h
M llvm/lib/Target/RISCV/RISCVInstrInfoD.td
M llvm/lib/Target/RISCV/RISCVInstrInfoF.td
M llvm/lib/Target/RISCV/RISCVInstrInfoZfh.td
M llvm/test/CodeGen/RISCV/double-arith.ll
M llvm/test/CodeGen/RISCV/float-arith.ll
M llvm/test/CodeGen/RISCV/half-arith.ll
Log Message:
-----------
[RISCV][ISel] Fold FSGNJX idioms (#100718)
This patch folds `fmul X, (fcopysign 1.0, Y)` into `fsgnjx X, Y`. This
pattern exists in some graphics applications/math libraries.
Alive2: https://alive2.llvm.org/ce/z/epyL33
Since fpimm +1.0 is lowered to a load from constant pool after
OpLegalization, I have to introduce a new RISCVISD node FSGNJX and fold
this pattern in DAGCombine.
Closes https://github.com/dtcxzyw/llvm-opt-benchmark/issues/1072.
Commit: 299c700a22460edb7bb6fe937cd23a5b823d4081
https://github.com/llvm/llvm-project/commit/299c700a22460edb7bb6fe937cd23a5b823d4081
Author: wr7 <winterred7 at gmail.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M llvm/include/llvm-c/Target.h
Log Message:
-----------
[llvm-c][documentation] fix typo in `LLVMSizeOfTypeInBits` (#100839)
`LLVMSizeOfTypeInBits`:
- `Computes the size of a type in bytes for a target` -> `Computes the
size of a type in bits for a target`
Commit: fe07d9aa410518c5b631a065ddc5782a623af030
https://github.com/llvm/llvm-project/commit/fe07d9aa410518c5b631a065ddc5782a623af030
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M mlir/lib/Dialect/ArmSME/Transforms/OuterProductFusion.cpp
M mlir/lib/Dialect/ArmSME/Transforms/VectorLegalization.cpp
M mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp
Log Message:
-----------
[mlir][vector] Switch to using `getNumScalableDims` (nfc) (#100806)
Commit: f2d2ae3f5a8e45c1386bf71e403d78cfee52cb7b
https://github.com/llvm/llvm-project/commit/f2d2ae3f5a8e45c1386bf71e403d78cfee52cb7b
Author: David Green <david.green at arm.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/PhaseOrdering/AArch64/slpordering.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/loadorder.ll
Log Message:
-----------
[SLP] Order clustered load base pointers by ascending offsets (#100653)
This attempts to fix a regression from #98025, where the new order of
reduction nodes causes later passes to not be able to produce as nice
shuffles. The issue boils down to picking an order of [0 1 3 2] for
loaded v4i8 values, which meant later parts could not find a simpler
ordering for the shuffles given the legal nodes available in AArch64. If
instead we make sure they are ordered [0 1 2 3] then everything can fall
into place.
In order to produce a better order that is more likely to work in more
cases, this patch takes the existing clustered loads and sort the base
pointers if there is an order between them. i.e if `V2 == gep (V1, X)`
then V1 is sorted before V2.
Commit: 66ce4f771ee294fc4a2e0ead86976fc731ff5d87
https://github.com/llvm/llvm-project/commit/66ce4f771ee294fc4a2e0ead86976fc731ff5d87
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/scalable-alloca.ll
M llvm/test/Transforms/LoopVectorize/AArch64/scalable-call.ll
Log Message:
-----------
[VPlan] Port invalid cost remarks to VPlan. (#99322)
This patch moves the logic to create remarks for instructions with
invalid costs to work on recipes and decoupling it from
selectVectorizationFactor. This is needed to replace the remaining uses
of selectVectorizationFactor with getBestPlan using the VPlan-based cost
model.
The current implementation iterates over all VPlans and their recipes
again, to find recipes with invalid costs, which is more work but will
only be done when remarks for LV are enabled. Once the remaining uses of
selectVectorizationFactor are retired, we can collect VPlans with
invalid costs as part of getBestPlan if we want to optimize the remarks
case a bit, at the cost of adding additional complexity.
PR: https://github.com/llvm/llvm-project/pull/99322
Commit: 79afb94da1c508e90945df2f05d9cf80d2942ba1
https://github.com/llvm/llvm-project/commit/79afb94da1c508e90945df2f05d9cf80d2942ba1
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M libc/benchmarks/gpu/CMakeLists.txt
M libc/cmake/modules/LLVMLibCTestRules.cmake
Log Message:
-----------
[libc] Make NVPTX benchmarks use LTO for linking
Summary:
Now that we can do LTO, we can make the benchmarks more accurate by
allowing optimization + inlining of the implementation.
Commit: ae4f2495a460d973e471626fb6fdaeec6d5c494e
https://github.com/llvm/llvm-project/commit/ae4f2495a460d973e471626fb6fdaeec6d5c494e
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M mlir/lib/IR/Verifier.cpp
Log Message:
-----------
[IR] Verifier: Use a SmallPtrSet for a small set of pointers. NFC
Commit: ea98dc8b8f508b8393651992830e5e51d3876728
https://github.com/llvm/llvm-project/commit/ea98dc8b8f508b8393651992830e5e51d3876728
Author: Jacek Caban <jacek at codeweavers.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
A clang/test/CodeGen/arm64ec-hybrid-patchable.c
M clang/test/Misc/pragma-attribute-supported-attributes-list.test
Log Message:
-----------
[clang][ARM64EC] Add support for hybrid_patchable attribute. (#99478)
Commit: e83ba1e9ebda4f757c0738b21ffd9eafcf2be3b1
https://github.com/llvm/llvm-project/commit/e83ba1e9ebda4f757c0738b21ffd9eafcf2be3b1
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/exp10-libcall-names.ll
M llvm/test/CodeGen/X86/exp10-libcall-names.ll
Log Message:
-----------
[Darwin] Add exp10(f) tests for BridgeOS & Driverkit.
Commit: 154d00d5d0416c42388d6e82cac96fbc091101d2
https://github.com/llvm/llvm-project/commit/154d00d5d0416c42388d6e82cac96fbc091101d2
Author: Nathan James <n.james93 at hotmail.co.uk>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M clang-tools-extra/clang-tidy/add_new_check.py
M clang-tools-extra/test/clang-tidy/check_clang_tidy.py
Log Message:
-----------
Extend support for specifying languages and version in add_new_check.py (#100129)
- Allow specifying a language standard when adding a new check
- Simplify the language standards(and or-later) handlnig in
check_clang_tidy
Commit: 803eaf29267c6aae9162d1a83a4a2ae508b440d3
https://github.com/llvm/llvm-project/commit/803eaf29267c6aae9162d1a83a4a2ae508b440d3
Author: Vladislav Khmelevsky <och95 at yandex.ru>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M bolt/test/AArch64/dummy-return.s
Log Message:
-----------
[BOLT][NFC] Fix test requirement (#100867)
Tests that are using instrumentation should have bolt-runtime in
requirements
Commit: 1e8df9e85a1ff213e5868bd822877695f27504ad
https://github.com/llvm/llvm-project/commit/1e8df9e85a1ff213e5868bd822877695f27504ad
Author: Aiden Grossman <aidengrossman at google.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
Log Message:
-----------
[llvm-exegesis] Use correct rseq struct size (#100804)
Glibc v2.40 changes the definition of __rseq_size to the usable area of
the struct rather than the actual size of the struct to accommodate
users trying to figure out what features can be used. This change breaks
llvm-exegesis trying to disable rseq as the size registered in the
kernel is no longer equal to __rseq_size. This patch adds a check to see
if __rseq_size is less than 32 bytes and uses 32 as a value if it is
given alignment requirements.
Fixes #100791.
Commit: 6efc3774bd8c5fcb105cda73ec27c05ef850dc19
https://github.com/llvm/llvm-project/commit/6efc3774bd8c5fcb105cda73ec27c05ef850dc19
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M lld/ELF/ICF.cpp
M lld/ELF/InputSection.cpp
M lld/ELF/InputSection.h
M lld/ELF/Relocations.cpp
M lld/ELF/Relocations.h
M lld/ELF/SyntheticSections.cpp
M lld/ELF/SyntheticSections.h
Log Message:
-----------
[ELF] Add Relocs and invokeOnRelocs. NFC
Relocs is to simplify CREL support (#98115) while invokeOnRelocs
simplifies some relsOrRelas call sites that will use the CREL iterator.
Commit: c7231e49099d56fdc5b2207142184a0bf2544ec1
https://github.com/llvm/llvm-project/commit/c7231e49099d56fdc5b2207142184a0bf2544ec1
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M lld/ELF/InputSection.cpp
Log Message:
-----------
[ELF] Use invokeOnRelocs. NFC
Commit: bccff3baeff8164af56e2deee03a0faee93710d0
https://github.com/llvm/llvm-project/commit/bccff3baeff8164af56e2deee03a0faee93710d0
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M lldb/include/lldb/Core/PluginManager.h
M lldb/include/lldb/Interpreter/Interfaces/ScriptedInterface.h
A lldb/include/lldb/Interpreter/Interfaces/ScriptedInterfaceUsages.h
M lldb/include/lldb/lldb-private-interfaces.h
M lldb/source/Commands/CommandObjectScripting.cpp
M lldb/source/Commands/Options.td
M lldb/source/Core/PluginManager.cpp
M lldb/source/Interpreter/CMakeLists.txt
A lldb/source/Interpreter/Interfaces/CMakeLists.txt
A lldb/source/Interpreter/Interfaces/ScriptedInterfaceUsages.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.cpp
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.h
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface/CMakeLists.txt
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface/ScriptedThreadPlanPythonInterface.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface/ScriptedThreadPlanPythonInterface.h
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Log Message:
-----------
[lldb/Commands] Add `scripting template list` command with auto discovery
This patch introduces a new `template` multiword sub-command to the
`scripting` top-level command. As the name suggests, this sub-command
operates on scripting templates, and currently has the ability to
automatically discover the various scripting extensions that lldb
supports.
This was previously reviewed in #97273.
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: f1a7d146e002e109ac8776c9ed7ddd078b6d4247
https://github.com/llvm/llvm-project/commit/f1a7d146e002e109ac8776c9ed7ddd078b6d4247
Author: Hongyu Chen <hongyc4 at uci.edu>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M lld/ELF/ScriptParser.cpp
Log Message:
-----------
[ELF] Updated some while conditions with till (#100893)
This change is based on
[commit](https://github.com/llvm/llvm-project/commit/b32c38ab5b4cf5c66469180ba3594e98eff2c124)
for a cleaner API usage. Thanks to @MaskRay !
Commit: ecf125eaf0b10f18f4ef27f0ebc20f6ab8108247
https://github.com/llvm/llvm-project/commit/ecf125eaf0b10f18f4ef27f0ebc20f6ab8108247
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface.cpp
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface.h
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface/CMakeLists.txt
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface/ScriptedPlatformPythonInterface.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface/ScriptedPlatformPythonInterface.h
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Log Message:
-----------
[lldb] Add ScriptedPlatform to `scripting template list`
This patch is a follow-up to bccff3baeff8 which adds the
`ScriptedPlatform` extension to the `scripting template list` command as
well as its description.
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: 9328c20cc80c4fb8dc86c3141e1be1739e07b3fc
https://github.com/llvm/llvm-project/commit/9328c20cc80c4fb8dc86c3141e1be1739e07b3fc
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M lld/ELF/ScriptLexer.cpp
M lld/ELF/ScriptLexer.h
M lld/test/ELF/linkerscript/overlay.test
M lld/test/ELF/linkerscript/sections.s
Log Message:
-----------
[ELF] Track line number precisely
`getLineNumber` is both imprecise (when `INCLUDE` is used) and
inefficient (see https://reviews.llvm.org/D104137). Track line number
precisely now that we have `struct Buffer` abstraction from #100493.
Commit: 995f643f5aa73d0b73199417b0c87acc07dd44bd
https://github.com/llvm/llvm-project/commit/995f643f5aa73d0b73199417b0c87acc07dd44bd
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/OperatingSystemPythonInterface.cpp
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/OperatingSystemPythonInterface.h
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/OperatingSystemPythonInterface/CMakeLists.txt
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/OperatingSystemPythonInterface/OperatingSystemPythonInterface.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/OperatingSystemPythonInterface/OperatingSystemPythonInterface.h
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Log Message:
-----------
[lldb] Add OperatingSystem to `scripting template list`
This patch is a follow-up to bccff3baeff8 which adds the
`OperatingSystem` extension to the `scripting template list` command as
well as its description.
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: 745de9ef2071d9702343faf738b48381d83a0e00
https://github.com/llvm/llvm-project/commit/745de9ef2071d9702343faf738b48381d83a0e00
Author: Aiden Grossman <aidengrossman at google.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
R compiler-rt/test/builtins/Unit/ppc/test
R compiler-rt/test/builtins/Unit/test
Log Message:
-----------
[compiler-rt] Delete unused test shell scripts (#100889)
This patch deletes two shell scripts in compiler-rt/builtiins/Unit that
seemed to have been used to run the tests at some point, but not
anymore.
They were originally copied over in
8c1441f86037d62f8e164cc458dff8b91d015998,
but have only been updated once since in what seemed like a simple grep.
These files also got lit testing support about seven years ago in
9b7bbeca48b10a0eb81708650777703ce41e67d7 that I believe makes these
scripts completely redundant.
Commit: edcc60e403703904fcb1425f31a9c20ab0d90f43
https://github.com/llvm/llvm-project/commit/edcc60e403703904fcb1425f31a9c20ab0d90f43
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M lld/ELF/ScriptParser.cpp
Log Message:
-----------
[ELF] Simplify readAssignment
After #100493, the `=` support from
fe0de25b2195b66d1ebac5d3ebdb18f9e1e776da can be simplified.
Commit: 30ec2bf58d1559b161254118e39271b829fd0867
https://github.com/llvm/llvm-project/commit/30ec2bf58d1559b161254118e39271b829fd0867
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M lld/ELF/ScriptParser.cpp
M lld/test/ELF/gc-sections-with-provide.s
M lld/test/ELF/linkerscript/symbolreferenced.s
Log Message:
-----------
[ELF] PROVIDE: allow quoted names to be discarded
Extend commit ebb326a51fec37b5a47e5702e8ea157cd4f835cd for (#74771) to
support quoted names, e.g. `PROVIDE("f1" = f2 + f3);`.
Commit: c89566f317d6db9e798f9d74c309921e47205901
https://github.com/llvm/llvm-project/commit/c89566f317d6db9e798f9d74c309921e47205901
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M lld/ELF/ScriptParser.cpp
Log Message:
-----------
[ELF] Replace unquote(next()) with readName. NFC
Commit: 74ef53a01a49e3818ac872e1cb7669c8017f0eb0
https://github.com/llvm/llvm-project/commit/74ef53a01a49e3818ac872e1cb7669c8017f0eb0
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M lld/ELF/ScriptParser.cpp
M lld/test/ELF/linkerscript/region-alias.s
Log Message:
-----------
[ELF] REGION_ALIAS: support quoted names
Commit: e6895154914adf32fc4d805cffdf0bec084ae711
https://github.com/llvm/llvm-project/commit/e6895154914adf32fc4d805cffdf0bec084ae711
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M lld/ELF/ScriptParser.cpp
M lld/test/ELF/linkerscript/overlay.test
Log Message:
-----------
[ELF] OVERLAY: support quoted output section names
Commit: 0d8bc10acb46f5c7af3a7df3e5550c0fef3cc8b5
https://github.com/llvm/llvm-project/commit/0d8bc10acb46f5c7af3a7df3e5550c0fef3cc8b5
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M lld/ELF/ScriptParser.cpp
M lld/test/ELF/linkerscript/at2.test
M lld/test/ELF/linkerscript/at3.test
Log Message:
-----------
[ELF] Memory region: support quoted names
Commit: 74f843d05f89738fe58170cedfd15496c179f57a
https://github.com/llvm/llvm-project/commit/74f843d05f89738fe58170cedfd15496c179f57a
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M lld/ELF/ScriptParser.cpp
Log Message:
-----------
[ELF] Replace unquote(next()) with readName. NFC
Commit: dbd65a07f212c6e85059b12ae3359942fcaee292
https://github.com/llvm/llvm-project/commit/dbd65a07f212c6e85059b12ae3359942fcaee292
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M lld/ELF/ScriptParser.cpp
M lld/test/ELF/linkerscript/outputarch.test
Log Message:
-----------
[ELF] OUTPUT_ARCH: report unclosed error
Commit: 4ad3deeefc6c7cd2b1248d6b06c6888618210093
https://github.com/llvm/llvm-project/commit/4ad3deeefc6c7cd2b1248d6b06c6888618210093
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M lld/test/ELF/linkerscript/phdrs.s
Log Message:
-----------
[ELF] PHDRS: test EOF without ;
Commit: aad2238f786c0bd8deade0dc68cfc3811c7633df
https://github.com/llvm/llvm-project/commit/aad2238f786c0bd8deade0dc68cfc3811c7633df
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M lld/test/ELF/linkerscript/include-cycle.s
Log Message:
-----------
[ELF] Improve INCLUDE cycle tests
And demonstrate the incorrect diagnostic when a linker script is
included multiple times (#93947).
Commit: 8f72b0cb08d8b55ef13ed83af8dac2b7ac55208b
https://github.com/llvm/llvm-project/commit/8f72b0cb08d8b55ef13ed83af8dac2b7ac55208b
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M lld/ELF/ScriptLexer.cpp
M lld/ELF/ScriptLexer.h
M lld/ELF/ScriptParser.cpp
M lld/test/ELF/linkerscript/include-cycle.s
Log Message:
-----------
[ELF] Fix INCLUDE cycle detection
Fix #93947: the cycle detection mechanism added by
https://reviews.llvm.org/D37524 also disallowed including a file twice,
which is an unnecessary limitation.
Now that we have an include stack #100493, supporting multiple inclusion
is trivial. Note: a filename can be referenced with many different
paths, e.g. a.lds, ./a.lds, ././a.lds. We don't attempt to detect the
cycle in the earliest point.
Commit: 9bd97fcf1385efea2dc130ee4fa78665fa6c9205
https://github.com/llvm/llvm-project/commit/9bd97fcf1385efea2dc130ee4fa78665fa6c9205
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoXVentana.td
M llvm/test/CodeGen/RISCV/condops.ll
Log Message:
-----------
[RISCV] Remove IsRV64 from XVentanaCondOps patterns. (#100891)
Ventana doesn't have RV32 cores so the instructions aren't really
supported for RV32, but there's nothing specifically 64-bit about them.
My goal here is to fix cannot select errors if XVentanaCondOps is
enabled on RV32. Alternatively, we could quality the lowering code to
also check IsRV64 so that we don't create RISCVISD::CZERO* nodes. Fixing
the isel patterns seemed simpler.
Fixes #100855.
Commit: 2402b3213c2f10d5033b31df3a0e59e4ad151fbd
https://github.com/llvm/llvm-project/commit/2402b3213c2f10d5033b31df3a0e59e4ad151fbd
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.h
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/CMakeLists.txt
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.h
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Log Message:
-----------
[lldb] Add ScriptedProcess to `scripting template list`
This patch is a follow-up to bccff3baeff8 which adds the
`ScriptedProcess` extension to the `scripting template list` command as
well as its description.
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: d5521d128494690be66e03a674b9d1181935bf77
https://github.com/llvm/llvm-project/commit/d5521d128494690be66e03a674b9d1181935bf77
Author: Julius Alexandre <juliuswoosebert at gmail.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
A llvm/test/CodeGen/AArch64/avgflooru-i128.ll
M llvm/test/CodeGen/RISCV/avgflooru.ll
A llvm/test/CodeGen/X86/avgflooru-i128.ll
M llvm/test/CodeGen/X86/avgflooru-scalar.ll
Log Message:
-----------
[DAG] Reducing instructions by better legalization handling of AVGFLOORU for illegal data types (#99913)
**Issue:** https://github.com/rust-lang/rust/issues/124790
**Previous PR:** https://github.com/llvm/llvm-project/pull/99614
https://rust.godbolt.org/z/T7eKP3Tvo
**Aarch64:** https://alive2.llvm.org/ce/z/dqr2Kg
**x86:** https://alive2.llvm.org/ce/z/ze88Hw
cc: @RKSimon @topperc
Commit: 9c16a4a2dc20dda1fc9517fb72d3cc79b62557aa
https://github.com/llvm/llvm-project/commit/9c16a4a2dc20dda1fc9517fb72d3cc79b62557aa
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M lld/ELF/ScriptParser.cpp
M lld/test/ELF/linkerscript/insert-after.test
M lld/test/ELF/linkerscript/insert-before.test
Log Message:
-----------
[ELF] INSERT [AFTER|BEFORE]: support quoted names
Commit: a4921f10e09e9aab9aad555115bfe43fe12af29c
https://github.com/llvm/llvm-project/commit/a4921f10e09e9aab9aad555115bfe43fe12af29c
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M lld/ELF/ScriptParser.cpp
M lld/test/ELF/linkerscript/phdrs.s
Log Message:
-----------
[ELF] Output section phdr: support quoted names
Commit: bbc457a4f40328452f0c8c8f9b0b5fcb8d286a7b
https://github.com/llvm/llvm-project/commit/bbc457a4f40328452f0c8c8f9b0b5fcb8d286a7b
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.h
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/CMakeLists.txt
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.cpp
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.h
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Log Message:
-----------
Revert "[lldb] Add ScriptedProcess to `scripting template list`"
This reverts commit 2402b3213c2f10d5033b31df3a0e59e4ad151fbd since it
breaks the windows bot:
https://lab.llvm.org/buildbot/#/builders/141/builds/1175/
Commit: fed94333fd54ec6012386b7b7977c3226ebfd2ac
https://github.com/llvm/llvm-project/commit/fed94333fd54ec6012386b7b7977c3226ebfd2ac
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
R llvm/test/CodeGen/AArch64/avgflooru-i128.ll
M llvm/test/CodeGen/RISCV/avgflooru.ll
R llvm/test/CodeGen/X86/avgflooru-i128.ll
M llvm/test/CodeGen/X86/avgflooru-scalar.ll
Log Message:
-----------
Revert "[DAG] Reducing instructions by better legalization handling of AVGFLOORU for illegal data types (#99913)"
This reverts commit d5521d128494690be66e03a674b9d1181935bf77.
The AArch64 test is failing on the bots.
Commit: 315a55fcc342077a3b03c9b4383f41ebea60e2ad
https://github.com/llvm/llvm-project/commit/315a55fcc342077a3b03c9b4383f41ebea60e2ad
Author: Nico Weber <thakis at chromium.org>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/source/Interpreter/BUILD.gn
A llvm/utils/gn/secondary/lldb/source/Interpreter/Interfaces/BUILD.gn
Log Message:
-----------
Reland "[gn] port enough of 2914a4b88837 (lldb Interfaces)"
This reverts commit 68343d793a089e28f3215c3eaa7e4170442a06f8.
2914a4b88837 relanded in bccff3baeff8.
Commit: 62e5b6e817cd4d2dd1fd8193453660d77b41acc9
https://github.com/llvm/llvm-project/commit/62e5b6e817cd4d2dd1fd8193453660d77b41acc9
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M libc/src/__support/threads/CMakeLists.txt
Log Message:
-----------
[libc] fix pthread build issue for full-build mode (#100912)
Fix a silly typo that stops pthread from being built
Commit: f8f5b17564cb839101ba99390bcecc564de57e65
https://github.com/llvm/llvm-project/commit/f8f5b17564cb839101ba99390bcecc564de57e65
Author: Nhat Nguyen <nhat7203 at gmail.com>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M libc/hdr/CMakeLists.txt
A libc/hdr/math_function_macros.h
M libc/hdr/math_macros.h
M libc/test/src/math/CopySignTest.h
M libc/test/src/math/FAbsTest.h
M libc/test/src/math/FDimTest.h
M libc/test/src/math/FMaxTest.h
M libc/test/src/math/FMinTest.h
M libc/test/src/math/FrexpTest.h
M libc/test/src/math/ILogbTest.h
M libc/test/src/math/LogbTest.h
M libc/test/src/math/ModfTest.h
M libc/test/src/math/RemQuoTest.h
M libc/test/src/math/acosf_test.cpp
M libc/test/src/math/acoshf_test.cpp
M libc/test/src/math/asinf_test.cpp
M libc/test/src/math/asinhf_test.cpp
M libc/test/src/math/atan2f_test.cpp
M libc/test/src/math/cos_test.cpp
M libc/test/src/math/cosf_test.cpp
M libc/test/src/math/coshf_test.cpp
M libc/test/src/math/erff_test.cpp
M libc/test/src/math/exp10_test.cpp
M libc/test/src/math/exp10f_test.cpp
M libc/test/src/math/exp2_test.cpp
M libc/test/src/math/exp2f_test.cpp
M libc/test/src/math/exp2m1f_test.cpp
M libc/test/src/math/exp_test.cpp
M libc/test/src/math/expf_test.cpp
M libc/test/src/math/explogxf_test.cpp
M libc/test/src/math/expm1_test.cpp
M libc/test/src/math/expm1f_test.cpp
M libc/test/src/math/log10_test.cpp
M libc/test/src/math/log1p_test.cpp
M libc/test/src/math/log1pf_test.cpp
M libc/test/src/math/log2_test.cpp
M libc/test/src/math/log2f_test.cpp
M libc/test/src/math/log_test.cpp
M libc/test/src/math/logf_test.cpp
M libc/test/src/math/powf_test.cpp
M libc/test/src/math/sin_test.cpp
M libc/test/src/math/sincos_test.cpp
M libc/test/src/math/sincosf_test.cpp
M libc/test/src/math/sinf_test.cpp
M libc/test/src/math/sinhf_test.cpp
M libc/test/src/math/tan_test.cpp
M libc/test/src/math/tanf_test.cpp
M libc/test/src/math/tanhf_test.cpp
Log Message:
-----------
[libc] Create a separate proxy header for math-function-macros.h (#98430)
Fix #98393
Commit: 2c435b80a1b85e00cedce13bad29d3c0a4a69189
https://github.com/llvm/llvm-project/commit/2c435b80a1b85e00cedce13bad29d3c0a4a69189
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M llvm/include/llvm/Frontend/HLSL/HLSLResource.h
M llvm/include/llvm/Support/DXILABI.h
Log Message:
-----------
[DXIL] Remove extraneous include from DXILABI.h (#100620)
I'm not sure how an include of StringSwitch got here, but it isn't
needed.
Commit: 3db5c1eeb08766cdd84a3186a1d2be6ab63b2883
https://github.com/llvm/llvm-project/commit/3db5c1eeb08766cdd84a3186a1d2be6ab63b2883
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-07-27 (Sat, 27 Jul 2024)
Changed paths:
M libc/config/config.json
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/configure.rst
M libc/docs/dev/undefined_behavior.rst
M libc/spec/posix.td
M libc/src/__support/OSUtil/CMakeLists.txt
M libc/src/__support/OSUtil/linux/CMakeLists.txt
R libc/src/__support/OSUtil/linux/pid.cpp
R libc/src/__support/OSUtil/pid.h
M libc/src/__support/threads/CMakeLists.txt
M libc/src/__support/threads/linux/CMakeLists.txt
M libc/src/__support/threads/linux/rwlock.h
M libc/src/__support/threads/linux/thread.cpp
M libc/src/__support/threads/thread.h
R libc/src/__support/threads/tid.h
M libc/src/unistd/CMakeLists.txt
M libc/src/unistd/getpid.h
R libc/src/unistd/gettid.cpp
R libc/src/unistd/gettid.h
M libc/src/unistd/linux/CMakeLists.txt
M libc/src/unistd/linux/fork.cpp
M libc/src/unistd/linux/getpid.cpp
M libc/startup/linux/CMakeLists.txt
M libc/startup/linux/do_start.cpp
M libc/test/integration/src/unistd/CMakeLists.txt
M libc/test/integration/src/unistd/fork_test.cpp
M libc/test/src/unistd/CMakeLists.txt
R libc/test/src/unistd/gettid_test.cpp
Log Message:
-----------
revert all tid changes (#100915)
Commit: 4202634886b9b8f1ee74713a8ed8c86941891853
https://github.com/llvm/llvm-project/commit/4202634886b9b8f1ee74713a8ed8c86941891853
Author: Changpeng Fang <changpeng.fang at amd.com>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.fcmp.constants.w32.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-and.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-copy.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-or.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ptr-add.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-store-private.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-xor.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-brcond.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.ballot.i32.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.end.cf.i32.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.if.break.i32.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.wmma_32.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.wmma_64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.wqm.demote.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/wmma-gfx12-w64-f16-f32-matrix-modifiers.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/wmma-gfx12-w64-imm.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/wmma-gfx12-w64-iu-modifiers.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/wmma-gfx12-w64-swmmac-index_key.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/wmma-gfx12-w64.ll
Log Message:
-----------
[AMDGPU] Remove -wavefrontsizeX from GlobalISel tests (NFC) (#100812)
This is to make https://github.com/llvm/llvm-project/pull/100711
complete
Commit: eee620b890ad7e2e139d44fee95bd5049fa48f5c
https://github.com/llvm/llvm-project/commit/eee620b890ad7e2e139d44fee95bd5049fa48f5c
Author: Kazu Hirata <kazu at google.com>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M llvm/include/llvm/AsmParser/LLParser.h
M llvm/lib/AsmParser/LLParser.cpp
Log Message:
-----------
[LLParser] Use SmallVector instead of std::vector (#100916)
The use of SmallVector here saves 1.03% of heap allocations during the
compilation of X86ISelLowering.cpp.ll, a .ll version of
X86ISelLowering.cpp. The 8 inline elements cover greater than 99% of
invocations encountered here.
While I am it, the patch changes the parameter type to ArrayRef to
allow callers to use any vector type.
Commit: 25efb746d907ce0ffdd9195d191ff0f6944ea3ca
https://github.com/llvm/llvm-project/commit/25efb746d907ce0ffdd9195d191ff0f6944ea3ca
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/clang/BUILD.bazel
M utils/bazel/llvm-project-overlay/llvm/config.bzl
Log Message:
-----------
[Bazel] Use PACKAGE_VERSION for version string.
This enables "-rc" suffix in release branches.
Commit: 594d3593fec2ae15f6dd38c51fba8bb1f9828089
https://github.com/llvm/llvm-project/commit/594d3593fec2ae15f6dd38c51fba8bb1f9828089
Author: David Green <david.green at arm.com>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/fcvt_combine.ll
M llvm/test/CodeGen/AArch64/fptosi-sat-vector.ll
M llvm/test/CodeGen/AArch64/fptoui-sat-vector.ll
Log Message:
-----------
[AArch64] Split v8f32 fptosi_sat into two v4f32.
If we produce illegal v8f32 types, the VectorLegalizer will unroll them,
scalarizing the operations. In this patch we pre-split them during custom
legalization to produce better results.
Commit: 6907ab49399f131e04ea1816d155107e92d3b1aa
https://github.com/llvm/llvm-project/commit/6907ab49399f131e04ea1816d155107e92d3b1aa
Author: David Green <david.green at arm.com>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/AArch64/fptoi_sat.ll
M llvm/test/Transforms/AggressiveInstCombine/AArch64/fptosisat.ll
Log Message:
-----------
[AArch64] Extend costs for fptoi.sat intrinsics.
Most of these bring the costs in line with the code generation. The f16 costs
without FullFP16 are usually converted to f32. Extended v2f32->v2f64 vectors
similarly use fcvtl + fcvt. As a backup we use the costs similar to the target
independent code, which should give a relatively high cost.
Commit: 2711618214b22bbc170edd0672f0b5fc1cb8acf4
https://github.com/llvm/llvm-project/commit/2711618214b22bbc170edd0672f0b5fc1cb8acf4
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M libcxx/docs/Status/Cxx23Issues.csv
M libcxx/include/__memory_resource/polymorphic_allocator.h
A libcxx/test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.class.general/equality.pass.cpp
Log Message:
-----------
[libc++][memory_resource] Implements LWG3683. (#100775)
The polymorphic_allocator was added in C++17.
This issue was filed in 2022 so well after C++20. This issue adds an
operator==.
Starting with C++20 this adds a compiler generated operator!=. To have
the same behaviour in C++17 and C++20 (and later) a manual operator!= is
defined in C++17.
Implements
- LWG3683 operator== for polymorphic_allocator cannot deduce template
argument in common cases
Commit: f7914aa2fd91a54f1314570442fc7730ee4b0457
https://github.com/llvm/llvm-project/commit/f7914aa2fd91a54f1314570442fc7730ee4b0457
Author: Dimitry Andric <dimitry at andric.com>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
R llvm/lib/Target/AArch64/peephole-sxtw.mir
A llvm/test/CodeGen/AArch64/peephole-sxtw.mir
Log Message:
-----------
[AArch64] Move peephole-sxtw.mir file to regression test directory (#100819)
In #96293 ("Remove superfluous sxtw in peephole opt") a file
`peephole-sxtw.mir` was added to `llvm/lib/Target/AArch64/`, but it
looks like this is a regression test file.
Move it to `llvm/test/CodeGen/AArch64/` which seems a more correct
location.
Commit: 81595e9178eedc18dfcace9ac412f20697497f9f
https://github.com/llvm/llvm-project/commit/81595e9178eedc18dfcace9ac412f20697497f9f
Author: Pavel Samolysov <samolisov at gmail.com>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
A clang/test/AST/explicit-base-class-move-cntr.cpp
Log Message:
-----------
[Clang][Sema] Add a test for move ctor calling for a base class. NFC (#97164)
When clang compiles the following expression:
```c++
return A{B{"Move Ctor"}};
```
(where `B` is a base class for `A`), it adds a call to the move
constructor of `B`. When the code is changed to...
```c++
return A{{"No Move Ctor"}};
```
... a move constructor is invoked neither for `A` nor for `B`.
The lit test demonstrates the difference in the generated AST.
Commit: bb064535bd071c1bddaf55ff7fe283fc8d23c1fc
https://github.com/llvm/llvm-project/commit/bb064535bd071c1bddaf55ff7fe283fc8d23c1fc
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M clang/lib/Sema/SemaTemplateDeductionGuide.cpp
Log Message:
-----------
[Clang][CTAD][NFC] Unify transformTemplateParameter() (#100865)
We ended up having two transformTemplateParameter() after CTAD for type
aliases was landed. This patch cleans them up and allows them to share
one implementation.
As a bonus, this also uses getDepthAndIndex() in preference to
getTemplateParameter{Depth,Index}().
Commit: 77f89f1f541976b92b43a4b40bd54e889fc55f53
https://github.com/llvm/llvm-project/commit/77f89f1f541976b92b43a4b40bd54e889fc55f53
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M llvm/lib/Target/Sparc/SparcISelLowering.cpp
M llvm/test/CodeGen/SPARC/64cond.ll
Log Message:
-----------
[Sparc] Remove custom lowering for SMULO / UMULO (#100858)
The underlying issue was fixed by 7c4fe0e9. The lowering is tested by
[us]mulo-128-legalisation-lowering.ll and there are no changes.
Commit: 991192b211212aa366bf73b993ac444839c10bf5
https://github.com/llvm/llvm-project/commit/991192b211212aa366bf73b993ac444839c10bf5
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M llvm/lib/Target/Sparc/SparcISelLowering.cpp
M llvm/test/CodeGen/SPARC/2011-01-11-CC.ll
M llvm/test/CodeGen/SPARC/fp128-split.ll
M llvm/test/CodeGen/SPARC/smulo-128-legalisation-lowering.ll
M llvm/test/CodeGen/SPARC/umulo-128-legalisation-lowering.ll
Log Message:
-----------
[Sparc] Remove custom lowering for ADD[CE] / SUB[CE] (#100861)
The default lowering produces fewer instructions.
Commit: c53843415ebba4d7c295bcd31bb325bfd08570a6
https://github.com/llvm/llvm-project/commit/c53843415ebba4d7c295bcd31bb325bfd08570a6
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M llvm/include/llvm/ADT/StableHashing.h
M llvm/lib/CodeGen/MachineStableHash.cpp
Log Message:
-----------
[ADT,CodeGen] Remove stable_hash_combine_string
FNV, used by stable_hash_combine_string is extremely slow. For string
hashing with good avalanche effects, we prefer xxh3_64bits.
StableHashing.h might still be useful as it provides a stable
hash_combine while Hashing.h's might be non-deterministic (#96282).
Pull Request: https://github.com/llvm/llvm-project/pull/100668
Commit: 30fa01141390a8d60ab661f763a22329337bd97d
https://github.com/llvm/llvm-project/commit/30fa01141390a8d60ab661f763a22329337bd97d
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M lld/test/ELF/linkerscript/group.s
Log Message:
-----------
[ELF,test] Improve --sysroot and GROUP tests
3i.t (INCLUDE "%t.dir/3a.t") describes a behavior difference from GNU
ld, which will be fixed by the next change.
Commit: a7e8bddfc1ce3e9ef86f104a34f72ece72c23ba7
https://github.com/llvm/llvm-project/commit/a7e8bddfc1ce3e9ef86f104a34f72ece72c23ba7
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M lld/ELF/ScriptLexer.cpp
M lld/ELF/ScriptLexer.h
M lld/ELF/ScriptParser.cpp
M lld/test/ELF/linkerscript/group.s
Log Message:
-----------
[ELF] Respect --sysroot for INCLUDE
If an included script is under the sysroot directory, when it opens an
absolute path file (`INPUT` or `GROUP`), add sysroot before the absolute
path. When the included script ends, the `isUnderSysroot` state is
restored.
Commit: 44df89cc30fc462dcb821929c6d5459688ffe545
https://github.com/llvm/llvm-project/commit/44df89cc30fc462dcb821929c6d5459688ffe545
Author: Eric977 <53341107+Eric977 at users.noreply.github.com>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/dev/undefined_behavior.rst
M libc/newhdrgen/yaml/pthread.yaml
M libc/spec/posix.td
M libc/src/pthread/CMakeLists.txt
A libc/src/pthread/pthread_rwlock_clockrdlock.cpp
A libc/src/pthread/pthread_rwlock_clockrdlock.h
A libc/src/pthread/pthread_rwlock_clockwrlock.cpp
A libc/src/pthread/pthread_rwlock_clockwrlock.h
M libc/test/integration/src/pthread/CMakeLists.txt
M libc/test/integration/src/pthread/pthread_rwlock_test.cpp
Log Message:
-----------
[libc] add pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock … (#100543)
Commit: ff7f97a8199e6e931f5ae2b1ec79e8a1eb9b05d6
https://github.com/llvm/llvm-project/commit/ff7f97a8199e6e931f5ae2b1ec79e8a1eb9b05d6
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M lld/ELF/Driver.cpp
M lld/ELF/ScriptParser.cpp
M lld/ELF/ScriptParser.h
M lld/test/ELF/defsym.s
Log Message:
-----------
[ELF] --defsym: support quoted LHS
and move = splitting from Driver.cpp to ScriptParser.cpp.
Commit: a17f8fe7d46e1708331df2dec733203de356b0cf
https://github.com/llvm/llvm-project/commit/a17f8fe7d46e1708331df2dec733203de356b0cf
Author: Kazu Hirata <kazu at google.com>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
Log Message:
-----------
[InstCombine] Use more inline elements in a SmallVector (#100942)
The 4 inline elements only cover 58% of cases encountered here during
the compilation of X86ISelLowering.cpp.ll, a .ll version of
X86ISelLowering.cpp.
The 8 inline elements cover 96% and save 0.27% of heap allocations.
Commit: 41211919db5feb279d2954eb590a3cf2a1742152
https://github.com/llvm/llvm-project/commit/41211919db5feb279d2954eb590a3cf2a1742152
Author: Julius Alexandre <juliuswoosebert at gmail.com>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
Log Message:
-----------
[SandboxIR] Added isVolatile args to existing LoadInst::create function (#100850)
Added isVolatile args along with the tests.
Commit: 0fb9f898e227925f43780bfe0e4887fba9fb1a15
https://github.com/llvm/llvm-project/commit/0fb9f898e227925f43780bfe0e4887fba9fb1a15
Author: Kazu Hirata <kazu at google.com>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
Log Message:
-----------
[InstCombine] Initialize a SmallVector with a range (NFC) (#100947)
Commit: b7e4fba6e5dcae5ff51f8eced21470a1b3ccd895
https://github.com/llvm/llvm-project/commit/b7e4fba6e5dcae5ff51f8eced21470a1b3ccd895
Author: James Y Knight <jyknight at google.com>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M llvm/lib/AsmParser/LLLexer.cpp
M llvm/test/Bindings/llvm-c/echo.ll
M llvm/test/Bitcode/compatibility.ll
M llvm/test/CodeGen/X86/2007-05-15-maskmovq.ll
M llvm/test/CodeGen/X86/2007-07-03-GR64ToVR64.ll
M llvm/test/CodeGen/X86/2008-04-08-CoalescerCrash.ll
M llvm/test/CodeGen/X86/2008-08-23-64Bit-maskmovq.ll
M llvm/test/CodeGen/X86/2008-09-05-sinttofp-2xi32.ll
M llvm/test/CodeGen/X86/2011-06-14-mmx-inlineasm.ll
M llvm/test/CodeGen/X86/avx-vbroadcast.ll
M llvm/test/CodeGen/X86/avx2-vbroadcast.ll
M llvm/test/CodeGen/X86/bitcast-mmx.ll
M llvm/test/CodeGen/X86/expand-vr64-gr64-copy.mir
M llvm/test/CodeGen/X86/fast-isel-bc.ll
M llvm/test/CodeGen/X86/fast-isel-nontemporal.ll
M llvm/test/CodeGen/X86/mmx-arg-passing-x86-64.ll
M llvm/test/CodeGen/X86/mmx-arg-passing.ll
M llvm/test/CodeGen/X86/mmx-arith.ll
M llvm/test/CodeGen/X86/mmx-bitcast-fold.ll
M llvm/test/CodeGen/X86/mmx-bitcast.ll
M llvm/test/CodeGen/X86/mmx-build-vector.ll
M llvm/test/CodeGen/X86/mmx-coalescing.ll
M llvm/test/CodeGen/X86/mmx-cvt.ll
M llvm/test/CodeGen/X86/mmx-fold-load.ll
M llvm/test/CodeGen/X86/mmx-fold-zero.ll
M llvm/test/CodeGen/X86/mmx-intrinsics.ll
M llvm/test/CodeGen/X86/mmx-only.ll
M llvm/test/CodeGen/X86/mxcsr-reg-usage.ll
M llvm/test/CodeGen/X86/nontemporal.ll
M llvm/test/CodeGen/X86/pr13859.ll
M llvm/test/CodeGen/X86/pr23246.ll
M llvm/test/CodeGen/X86/pr29222.ll
M llvm/test/CodeGen/X86/pr35982.ll
M llvm/test/CodeGen/X86/select-mmx.ll
M llvm/test/CodeGen/X86/stack-folding-mmx.ll
M llvm/test/CodeGen/X86/vec_extract-mmx.ll
M llvm/test/CodeGen/X86/vec_insert-5.ll
M llvm/test/CodeGen/X86/vec_insert-7.ll
M llvm/test/CodeGen/X86/vec_insert-mmx.ll
M llvm/test/CodeGen/X86/vector-shuffle-mmx.ll
M llvm/test/CodeGen/X86/x86-64-psub.ll
M llvm/test/Instrumentation/MemorySanitizer/X86/mmx-intrinsics.ll
M llvm/test/Instrumentation/MemorySanitizer/vector_arith.ll
M llvm/test/Instrumentation/MemorySanitizer/vector_cvt.ll
M llvm/test/Instrumentation/MemorySanitizer/vector_pack.ll
M llvm/test/Instrumentation/MemorySanitizer/vector_shift.ll
M llvm/test/MC/X86/x86-GCC-inline-asm-Y-constraints.ll
R llvm/test/Transforms/GlobalOpt/x86_mmx_load.ll
M llvm/test/Transforms/InstCombine/X86/x86-movmsk.ll
M llvm/test/Transforms/InstCombine/cast.ll
M llvm/test/Transforms/InstSimplify/ConstProp/gep-zeroinit-vector.ll
M llvm/test/Transforms/SCCP/crash.ll
M llvm/test/Transforms/SROA/pr57796.ll
M llvm/test/Verifier/atomics.ll
Log Message:
-----------
Cleanup x86_mmx after removing IR type (#100646)
After #98505, the textual IR keyword `x86_mmx` was temporarily made to
parse as `<1 x i64>`, so as not to require a lot of test update noise.
This completes the removal of the type, by removing the`x86_mmx` keyword
from the IR parser, and making the (now no-op) test updates via `sed -i
's/\bx86_mmx\b/<1 x i64>/g' $(git grep -l x86_mmx llvm/test/)`.
Resulting bitcasts from <1 x i64> to itself were then manually deleted.
Changes to llvm/test/Bitcode/compatibility-$VERSION.ll were reverted, as
they're intended to be equivalent to the .bc file, if parsed by old
LLVM, so shouldn't be updated.
A few tests were removed, as they're no longer testing anything, in the
following files:
- llvm/test/Transforms/GlobalOpt/x86_mmx_load.ll
- llvm/test/Transforms/InstCombine/cast.ll
- llvm/test/Transforms/InstSimplify/ConstProp/gep-zeroinit-vector.ll
Works towards issue #98272.
Commit: fd791f0fe562a41d8569fcb4d1e84b4c1e5719c7
https://github.com/llvm/llvm-project/commit/fd791f0fe562a41d8569fcb4d1e84b4c1e5719c7
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M lld/ELF/Config.h
M lld/ELF/Driver.cpp
M lld/ELF/InputFiles.cpp
M lld/ELF/InputFiles.h
Log Message:
-----------
[ELF] Move TarWriter into Ctx. NFC
Similar to e980f16d52196fb2bc672ecb87e0f622253addec.
Commit: ea7cc12f612ef5c5f70082ebfdee378d80ec44bd
https://github.com/llvm/llvm-project/commit/ea7cc12f612ef5c5f70082ebfdee378d80ec44bd
Author: David Green <david.green at arm.com>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
Log Message:
-----------
[ARM] Add fallback fptoi_sat costs.
This makes sure that the custom operations get a fallback cost, even if they
are not perfect.
Commit: 378fe2fc23fa56181577d411fe6d51fa531cd860
https://github.com/llvm/llvm-project/commit/378fe2fc23fa56181577d411fe6d51fa531cd860
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M llvm/include/llvm/Analysis/VecFuncs.def
M llvm/test/CodeGen/X86/fp-strict-libcalls-msvc32.ll
M llvm/test/CodeGen/X86/vec-libcalls.ll
M llvm/test/Transforms/LoopVectorize/X86/amdlibm-calls.ll
M llvm/test/Transforms/LoopVectorize/X86/veclib-calls.ll
Log Message:
-----------
[X86][LoopVectorize] Add support for arc and hyperbolic trig functions (#99383)
This change is part 2 x86 Loop Vectorization of :
https://github.com/llvm/llvm-project/pull/96222
It also has veclib call loop vectorization hence the test cases in
`llvm/test/Transforms/LoopVectorize/X86/veclib-calls.ll`
finally the last pr missed tests for
`llvm/test/CodeGen/X86/fp-strict-libcalls-msvc32.ll` and
`llvm/test/CodeGen/X86/vec-libcalls.ll` so added those aswell.
No evidence was found for arc and hyperbolic trig glibc vector math
functions
https://github.com/lattera/glibc/blob/master/sysdeps/x86/fpu/bits/math-vector.h
so no new `_ZGVbN2v_*` and `_ZGVdN4v_*` .
So no new tests in
`llvm/test/Transforms/LoopVectorize/X86/libm-vector-calls-VF2-VF8.ll`
Also no new svml and no new tests to:
`llvm/test/Transforms/LoopVectorize/X86/svml-calls.ll`
There was not enough evidence that there were svml arc and hyperbolic
trig vector implementations, Documentation was scarces so looked at test
cases in
[numpy](https://github.com/numpy/SVML/blob/32bf2a98420762a63ab418aaa0a7d6e17eb9627a/linux/avx512/svml_z0_acos_d_la.s#L8).
Someone with more experience with svml should investigate.
## Note
amd libm doesn't have a vector hyperbolic sine api hence why youi might
notice there are no tests for `sinh`.
## History
This change is part of
https://github.com/llvm/llvm-project/issues/87367's investigation on
supporting IEEE math operations as intrinsics.
Which was discussed in this RFC:
https://discourse.llvm.org/t/rfc-all-the-math-intrinsics/78294
This change adds loop vectorization for `acos`, `asin`, `atan`, `cosh`,
`sinh`, and `tanh`.
resolves #70079
resolves #70080
resolves #70081
resolves #70083
resolves #70084
resolves #95966
Commit: 62e9f40949ddc52e9660b25ab146bd5d9b39ad88
https://github.com/llvm/llvm-project/commit/62e9f40949ddc52e9660b25ab146bd5d9b39ad88
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/include/llvm/IR/PatternMatch.h
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
M llvm/lib/Transforms/Scalar/LoopBoundSplit.cpp
M llvm/lib/Transforms/Vectorize/LoopIdiomVectorize.cpp
M llvm/unittests/IR/PatternMatch.cpp
Log Message:
-----------
[PatternMatch] Use `m_SpecificCmp` matchers. NFC. (#100878)
Compile-time improvement:
http://llvm-compile-time-tracker.com/compare.php?from=13996378d81c8fa9a364aeaafd7382abbc1db83a&to=861ffa4ec5f7bde5a194a7715593a1b5359eb581&stat=instructions:u
baseline: 803eaf29267c6aae9162d1a83a4a2ae508b440d3
```
Top 5 improvements:
stockfish/movegen.ll 2541620819 2538599412 -0.12%
minetest/profiler.cpp.ll 431724935 431246500 -0.11%
abc/luckySwap.c.ll 581173720 580581935 -0.10%
abc/kitTruth.c.ll 2521936288 2519445570 -0.10%
abc/extraUtilTruth.c.ll 1216674614 1215495502 -0.10%
Top 5 regressions:
openssl/libcrypto-shlib-sm4.ll 1155054721 1155943201 +0.08%
openssl/libcrypto-lib-sm4.ll 1155054838 1155943063 +0.08%
spike/vsm4r_vv.ll 1296430080 1297039258 +0.05%
spike/vsm4r_vs.ll 1312496906 1313093460 +0.05%
nuttx/lib_rand48.c.ll 126201233 126246692 +0.04%
Overall: -0.02112308%
```
Commit: aef9a89c85db61783cd7484d8f114103e22f8953
https://github.com/llvm/llvm-project/commit/aef9a89c85db61783cd7484d8f114103e22f8953
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M libc/src/compiler/generic/__stack_chk_fail.cpp
Log Message:
-----------
[NFC] add newline after stack smashing message (#100958)
<img width="662" alt="smash newline"
src="https://github.com/user-attachments/assets/99625bcb-efd6-4733-aa01-2a2167ee686f">
Commit: 279953f1da7d7d0e404638414deec5d1df291c7c
https://github.com/llvm/llvm-project/commit/279953f1da7d7d0e404638414deec5d1df291c7c
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RISCV] Simplify code in decomposeMulByConstant. NFC (#100946)
We already checked that the type is a scalar integer, so the constant
node should definitely be a ConstantSDNode. We can use cast instead of
dyn_cast.
Commit: ad8cc88b1b84bd4d450824259eee5436e85309a9
https://github.com/llvm/llvm-project/commit/ad8cc88b1b84bd4d450824259eee5436e85309a9
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rv64zba.ll
Log Message:
-----------
[RISCV] Rename a few test cases for accuracy. NFC
The tests are for slliuw rather than slliw.
Commit: 71d85ca2f9dba7f08a7a84c6cff5396ed594cb3c
https://github.com/llvm/llvm-project/commit/71d85ca2f9dba7f08a7a84c6cff5396ed594cb3c
Author: Brandon Wu <brandon.wu at sifive.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
M llvm/test/CodeGen/RISCV/rvv-cfi-info.ll
Log Message:
-----------
[RISCV][CFI] Emit cfi_offset for every callee-saved vector registers (#100455)
The grouped vector register is modeled as a single register, e.g. V2M2,
which is actually V2 and V3. We need to decompose the grouped vector
register(if any) to individual vector register when emitting CFIs in
prologue.
Fixed https://github.com/llvm/llvm-project/issues/94500
Commit: 43d0bb571b42609b454723fab7421d301d35e1b1
https://github.com/llvm/llvm-project/commit/43d0bb571b42609b454723fab7421d301d35e1b1
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rv64zba.ll
Log Message:
-----------
[RISCV] Add more srli+slli.uw tests cases for #100936. NFC
Commit: 0953fb4c68380760562e61a5a09979359eb498c1
https://github.com/llvm/llvm-project/commit/0953fb4c68380760562e61a5a09979359eb498c1
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/test/Driver/immediate-options.c
Log Message:
-----------
[Driver] Ensure -W<warning> gets HelpHidden
Individual groups should not be displayed in --help. Fix two violations
and change the test to prevent regression.
Commit: 8e2476e102e8ce3ae496b293bacccb248787404d
https://github.com/llvm/llvm-project/commit/8e2476e102e8ce3ae496b293bacccb248787404d
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M lld/ELF/Config.h
M lld/ELF/Driver.cpp
M lld/ELF/Relocations.cpp
M lld/ELF/Symbols.cpp
M lld/ELF/Symbols.h
M lld/ELF/SyntheticSections.cpp
Log Message:
-----------
[ELF] Move SymbolAux into Ctx. NFC
The number of uses is modest.
Commit: 5cddc314c8928ead12bb9c07cbefa45ee410de5c
https://github.com/llvm/llvm-project/commit/5cddc314c8928ead12bb9c07cbefa45ee410de5c
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M libc/test/integration/src/pthread/pthread_rwlock_test.cpp
Log Message:
-----------
[libc] fix rwlock test (#100962)
Previous commit uses wrong clock id and forget to release an additional
rdlock. cc @Eric977
Sorry for missing this in my initial review.
Fixes https://github.com/llvm/llvm-project/issues/100960.
Notice that the timestamp is created via
```c++
LIBC_NAMESPACE::clock_gettime(CLOCK_REALTIME, &ts);
ts.tv_nsec += 50'000;
if (ts.tv_nsec >= 1'000'000'000) {
ts.tv_nsec -= 1'000'000'000;
ts.tv_sec += 1;
}
```
Commit: dfdef2cbf738dd1cae99fb521d49086fcbbaf19a
https://github.com/llvm/llvm-project/commit/dfdef2cbf738dd1cae99fb521d49086fcbbaf19a
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M libc/fuzzing/math/RemQuoDiff.h
M libc/fuzzing/stdlib/strtofloat_fuzz.cpp
M libc/test/src/math/cbrt_test.cpp
M libc/test/utils/FPUtil/x86_long_double_test.cpp
Log Message:
-----------
[libc] Fix the remaining isnan and isinf in tests. (#100969)
Fixes https://github.com/llvm/llvm-project/issues/100964
Commit: 34d48279b8161d2510fff9e94e10c9508d5249f8
https://github.com/llvm/llvm-project/commit/34d48279b8161d2510fff9e94e10c9508d5249f8
Author: Kazu Hirata <kazu at google.com>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/Target/PowerPC/PPCGenScalarMASSEntries.cpp
M llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp
M llvm/lib/Transforms/Utils/ValueMapper.cpp
Log Message:
-----------
[llvm] Initialize SmallVector with ranges (NFC) (#100948)
Commit: de5aa8d0060cbe286c9cbae90ca8f197b92a3956
https://github.com/llvm/llvm-project/commit/de5aa8d0060cbe286c9cbae90ca8f197b92a3956
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M llvm/include/llvm/MC/MCFragment.h
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCFragment.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
Log Message:
-----------
[MC] Remove unused MCCompactEncodedInstFragment
This has been used after #94950.
Commit: 034d01422b5fd8f502ccb45ce95da108415a39a6
https://github.com/llvm/llvm-project/commit/034d01422b5fd8f502ccb45ce95da108415a39a6
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-28 (Sun, 28 Jul 2024)
Changed paths:
M llvm/include/llvm/MC/MCFragment.h
Log Message:
-----------
[MC] Remove MCEncodedFragmentWithContents
MCEncodedFragmentWithFixups can derive from MCEncodedFragment directly.
Follow-up to de5aa8d0060cbe286c9cbae90ca8f197b92a3956.
Commit: 73c72f2c6505d5bc8b47bb0420f6cba5b24270fe
https://github.com/llvm/llvm-project/commit/73c72f2c6505d5bc8b47bb0420f6cba5b24270fe
Author: Arseniy Zaostrovnykh <necto.ne at gmail.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M clang/lib/Analysis/LiveVariables.cpp
M clang/test/Analysis/live-stmts.cpp
A clang/test/Analysis/short-circuiting-eval.cpp
Log Message:
-----------
[analyzer] Keep alive short-circuiting condition subexpressions in a conditional (#100745)
Fix the false negative caused by state merging in the evaluation of a
short-circuiting expression inside the condition of a ternary operator.
The fixed symptom is that CSA always evaluates `(x || x) ? n : m` to
`m`.
This change forces the analyzer to consider all logical expressions
prone to short-circuiting alive until the entire conditional expression
is evaluated. Here is why.
By default, LiveVariables analysis marks only direct subexpressions as
live relative to any expression. So for `a ? b : c` it will consider
`a`, `b`, and `c` alive when evaluating the ternary operator expression.
To explore both possibilities opened by a ternary operator, it is
important to keep something different about the exploded nodes created
after the evaluation of its branches. These two nodes come to the same
location, so they must have different states. Otherwise, they will be
considered identical and can engender only one outcome.
`ExprEngine::visitGuardedExpr` chooses the first predecessor exploded
node to carry the value of the conditional expression. It works well in
the case of a simple condition, because when `a ? b : c` is evaluated,
`a` is kept alive, so the two branches differ in the value of `a`.
However, before this patch is applied, this strategy breaks for `(x ||
x) ? n : m`. `x` is not a direct child of the ternary expression. Due to
short-circuiting, once `x` is assumed to be `true`, evaluation jumps
directly to `n` and then to the result of the entire ternary expression.
Given that the result of the entire condition `(x || x)` is not
constructed, and `x` is not kept alive, the difference between the path
coming through `n` and through `m` disappears. As a result, exploded
nodes coming from the "true expression" and the "false expression"
engender identical successors and merge the execution paths.
Commit: 33a50e0eaa80cf3db1b944762db9a37a06f3ac32
https://github.com/llvm/llvm-project/commit/33a50e0eaa80cf3db1b944762db9a37a06f3ac32
Author: Rainer Orth <ro at gcc.gnu.org>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M compiler-rt/CMakeLists.txt
Log Message:
-----------
[compiler-rt][test] Disable lld tests on SPARC (#100533)
As detailed in Issue #100320, a considerable number of tests that
explicitly use `-fuse-ld=lld` `FAIL` on Linux/sparc64 due to several
`lld` limitations (no 32-bit SPARC support, lack of support for various
relocations, ...).
To reduce the noise, this patch disables `COMPILER_RT_HAS_LLD` on SPARC
wholesale.
Tested on `sparc64-unknown-linux-gnu`.
Commit: 5d2c324fea2d7cf86ec50e4bb6b680acf89b2ed5
https://github.com/llvm/llvm-project/commit/5d2c324fea2d7cf86ec50e4bb6b680acf89b2ed5
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M clang/lib/Sema/CheckExprLifetime.cpp
Log Message:
-----------
Remove a leftover debug-only statement in CheckExprLifetime.cpp
Commit: f6d1d6fe7b7f04db7f0a445c8bc3e63fcdcd8e0a
https://github.com/llvm/llvm-project/commit/f6d1d6fe7b7f04db7f0a445c8bc3e63fcdcd8e0a
Author: Manish Kausik H <46352931+Nirhar at users.noreply.github.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/test/CodeGen/X86/unaligned_extract_from_vector_through_stack.ll
Log Message:
-----------
[SelectionDAG] Use unaligned store to legalize `EXTRACT_VECTOR_ELT` type when Stack is non-realignable (#98176)
This patch ports the commit a6614ec5b7c1dbfc4b847884c5de780cf75e8e9c to
SelectionDAG TypeLegalization.
Fixes #98044
Co-authored-by: Manish Kausik H <hmamishkausik at gmail.com>
Commit: 2db0c00e6092947fa07cc587c4a7537213bbc093
https://github.com/llvm/llvm-project/commit/2db0c00e6092947fa07cc587c4a7537213bbc093
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M clang/lib/CodeGen/CGDebugInfo.cpp
A clang/test/CodeGenCXX/debug-info-explicit-this.cpp
Log Message:
-----------
[clang][CGDebugInfo] Don't generate an implicit 'this' parameter if one was specified explicitly (#100767)
Currently we would unconditionally add an implicit `this` parameter when
creating an instance method type. However, when we have an explicit
'this', we shouldn't generate one. This patch only passes a valid
`ThisPtr` type to `getOrCreateInstanceMethodType` if one wasn't
explicitly specified. There's no way to get a pointer to a member
function with an explicit `this` parameter (those are treated as regular
function pointers instead). So there's no need to account for that case
in `CGDebugInfo::CreateType`.
Fixes https://github.com/llvm/llvm-project/issues/99744
Commit: 31769e4d0892312948812fbc2d0a56249ea72492
https://github.com/llvm/llvm-project/commit/31769e4d0892312948812fbc2d0a56249ea72492
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M clang/include/clang/AST/ASTImporter.h
M clang/include/clang/AST/DeclCXX.h
M clang/lib/AST/ASTImporter.cpp
M clang/unittests/AST/ASTImporterTest.cpp
Log Message:
-----------
Revert "Reland [clang][ASTImport] Add support for import of empty records" (#100903)
This reverts commit 88e5206f2c96a34e23a4d63f0a38afb2db044f0a. The
original change went in a while ago (last year) in
https://reviews.llvm.org/D145057. The specific reason I'm proposing a
revert is that this is now causing exactly the issue that @balazske
predicted in https://reviews.llvm.org/D145057#4164717:
> Problematic case is if the attribute has pointer to a Decl or Type
that is imported here in a state when the field is already created but
not initialized. Another problem is that attributes are added a second
time in Import(Decl *)
This now came up in the testing of LLDB support for
https://github.com/llvm/llvm-project/issues/93069. There,
`__compressed_pair`s are now replaced with fields that have an
`alignof(...)` and `[[no_unique_address]]` attribute. In the specific
failing case, we're importing following `std::list` method:
```
size_type& __sz() _NOEXCEPT { return __size_; }
```
During this process, we create a new `__size_` `FieldDecl` (but don't
initialize it yet). Then we go down the `ImportAttrs` codepath added in
D145057. This imports the `alignof` expression which then references the
uninitialized `__size_` and we trigger an assertion.
Important to note, this codepath was added specifically to support
`[[no_unique_address]]` in LLDB, and was supposed to land with
https://reviews.llvm.org/D143347. But the LLDB side of that never
landed, and the way we plan to support `[[no_unique_address]]` doesn't
require things like the `markEmpty` method added here. So really, this
is a dead codepath, which as pointed out in the original review isn't
fully sound.
Commit: 3a2ef3a6348786b139b66c17febc87925da5d506
https://github.com/llvm/llvm-project/commit/3a2ef3a6348786b139b66c17febc87925da5d506
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
R llvm/test/Analysis/CostModel/AMDGPU/arith-fp.ll
A llvm/test/Analysis/CostModel/AMDGPU/arithmetic_fence.ll
A llvm/test/Analysis/CostModel/AMDGPU/canonicalize.ll
A llvm/test/Analysis/CostModel/AMDGPU/copysign.ll
A llvm/test/Analysis/CostModel/AMDGPU/exp.ll
A llvm/test/Analysis/CostModel/AMDGPU/exp10.ll
A llvm/test/Analysis/CostModel/AMDGPU/exp2.ll
M llvm/test/Analysis/CostModel/AMDGPU/fabs.ll
M llvm/test/Analysis/CostModel/AMDGPU/fma.ll
M llvm/test/Analysis/CostModel/AMDGPU/fmul.ll
A llvm/test/Analysis/CostModel/AMDGPU/fmuladd.ll
M llvm/test/Analysis/CostModel/AMDGPU/fneg.ll
A llvm/test/Analysis/CostModel/AMDGPU/frexp.ll
A llvm/test/Analysis/CostModel/AMDGPU/is_fpclass.ll
A llvm/test/Analysis/CostModel/AMDGPU/ldexp.ll
A llvm/test/Analysis/CostModel/AMDGPU/log.ll
A llvm/test/Analysis/CostModel/AMDGPU/log10.ll
A llvm/test/Analysis/CostModel/AMDGPU/log2.ll
A llvm/test/Analysis/CostModel/AMDGPU/maximum.ll
A llvm/test/Analysis/CostModel/AMDGPU/maxnum.ll
A llvm/test/Analysis/CostModel/AMDGPU/minimum.ll
A llvm/test/Analysis/CostModel/AMDGPU/minnum.ll
A llvm/test/Analysis/CostModel/AMDGPU/ptrmask.ll
A llvm/test/Analysis/CostModel/AMDGPU/sqrt.ll
A llvm/test/Transforms/SLPVectorizer/AMDGPU/slp-v2f16.ll
Log Message:
-----------
AMDGPU: Add some baseline cost model tests (#100797)
Commit: 5430f73b501f9fc0a38c3768592f5f31bcbdf2f0
https://github.com/llvm/llvm-project/commit/5430f73b501f9fc0a38c3768592f5f31bcbdf2f0
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticFrontendKinds.td
M clang/lib/CodeGen/Targets/AArch64.cpp
M clang/test/CodeGen/aarch64-sme-inline-streaming-attrs.c
Log Message:
-----------
[Clang] Demote always_inline error to warning for mismatching SME attrs (#100740)
PR #77936 introduced a diagnostic to avoid calls being inlined into
functions with a different streaming mode, because inlining those
functions may result in different runtime behaviour. This was necessary
because LLVM doesn't check whether inlining is possible and thus blindly
inlines the function without checking feasibility.
In practice however, this introduces an artificial restriction that the
user may not be able to work around. Calling an `always_inline` function
from some header file that is out of the control of the user would
result in an error that the user cannot remedy.
Therefore, this patch demotes the error into a warning (for calls from
streaming[-compatible] -> non-streaming), but the proper fix would be to
fix the AlwaysInliner in LLVM to avoid inlining when it has analyzed the
callee and has determined that inlining is not possible.
Calling an always_inline function for calls from non-streaming ->
streaming will remain an error, because there is little pre-existing
code for SME, so it is expected that the header file can be modified by
the user (e.g. by using `__arm_streaming_compatible` if the code is
claimed to be compatible).
Commit: d72c8b02802c87386f5db3c7de6c79e921618fa3
https://github.com/llvm/llvm-project/commit/d72c8b02802c87386f5db3c7de6c79e921618fa3
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M lldb/include/lldb/Symbol/SymbolFile.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParser.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
M lldb/test/API/lang/c/struct_types/main.c
A lldb/test/Shell/SymbolFile/DWARF/vla.cpp
Log Message:
-----------
[lldb][TypeSystemClang] Create VLAs of explicitly 0-size as ConstantArrayType (#100710)
Depends on https://github.com/llvm/llvm-project/pull/100674
Currently, we treat VLAs declared as `int[]` and `int[0]` identically.
I.e., we create them as `IncompleteArrayType`s. However, the
`DW_AT_count` for `int[0]` *does* exist, and is retrievable without an
execution context. This patch decouples the notion of "has 0 elements"
from "has no known `DW_AT_count`".
This aligns with how Clang represents `int[0]` in the AST (it treats it
as a `ConstantArrayType` of 0 size).
This issue was surfaced when adapting LLDB to
https://github.com/llvm/llvm-project/issues/93069. There, the
`__compressed_pair_padding` type has a `char[0]` member. If we
previously got the `__compressed_pair_padding` out of a module (where
clang represents `char[0]` as a `ConstantArrayType`), and try to merge
the AST with one we got from DWARF (where LLDB used to represent
`char[0]` as an `IncompleteArrayType`), the AST structural equivalence
check fails, resulting in silent ASTImporter failures. This manifested
in a failure in `TestNonModuleTypeSeparation.py`.
**Implementation**
1. Adjust `ParseChildArrayInfo` to store the element counts of each VLA
dimension as an `optional<uint64_t>`, instead of a regular `uint64_t`.
So when we pass this down to `CreateArrayType`, we have a better
heuristic for what is an `IncompleteArrayType`.
2. In `TypeSystemClang::GetBitSize`, if we encounter a
`ConstantArrayType` simply return the size that it was created with. If
we couldn't determine the authoritative bound from DWARF during parsing,
we would've created an `IncompleteArrayType`. This ensures that
`GetBitSize` on arrays with `DW_AT_count 0x0` returns `0` (whereas
previously it would've returned a `std::nullopt`, causing that
`FieldDecl` to just get dropped during printing)
Commit: 5bd3aef5e285cce793e3fc6b21299ac9d650a947
https://github.com/llvm/llvm-project/commit/5bd3aef5e285cce793e3fc6b21299ac9d650a947
Author: Ivan Kosarev <ivan.kosarev at amd.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.h
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/SMInstructions.td
Log Message:
-----------
[AMDGPU] Use a generic printer for NamedIntOperands. (#100399)
This includes simplifying printing dmask modifiers where we don't need
to mask the value to print.
Part of <https://github.com/llvm/llvm-project/issues/62629>.
Commit: e3a3397209fe05ec65d74e9096347fc7a76e919e
https://github.com/llvm/llvm-project/commit/e3a3397209fe05ec65d74e9096347fc7a76e919e
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticFrontendKinds.td
M clang/lib/CodeGen/Targets/AArch64.cpp
M clang/test/CodeGen/aarch64-sme-inline-streaming-attrs.c
Log Message:
-----------
Revert "[Clang] Demote always_inline error to warning for mismatching SME attrs" (#100991)
Reverts llvm/llvm-project#100740
Commit: d86311f293ebc3867733d4453e0d6c929e620d8b
https://github.com/llvm/llvm-project/commit/d86311f293ebc3867733d4453e0d6c929e620d8b
Author: Dominik Adamski <dominik.adamski at amd.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Flang.cpp
M flang/test/Driver/omp-driver-offload.f90
M flang/test/Driver/target-cpu-features.f90
M flang/test/Driver/target-gpu-features.f90
Log Message:
-----------
[Flang-new][OpenMP] Add bitcode files for AMD GPU OpenMP (#96742)
Flang-new needs to add `mlink-builtin-bitcode` objects to properly
support offload code generation for AMD GPUs (for example, math
functions).
Both Flang-new and Clang rely on `mlink-builtin-bitcode` flags. These
flags are added by the `AMDGPUOpenMPToolchain::addClangTargetOptions`
function. Now, both compilers reuse the same function.
Flang-new tests for AMDGPU were updated by adding the `-nogpulib` flag.
This flag allows running AMDGPU tests on machines without the ROCm stack.
Commit: 0362a29905ab8d68a8eb48741840a514b66552f8
https://github.com/llvm/llvm-project/commit/0362a29905ab8d68a8eb48741840a514b66552f8
Author: martinboehme <mboehme at google.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M clang/include/clang/Analysis/FlowSensitive/AdornedCFG.h
M clang/lib/Analysis/FlowSensitive/AdornedCFG.cpp
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp
M clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp
Log Message:
-----------
[clang][dataflow] Fix bug in `buildContainsExprConsumedInDifferentBlock()`. (#100874)
This was missing a call to `ignoreCFGOmittedNodes()`. As a result, the
function
would erroneously conclude that a block did not contain an expression
consumed
in a different block if the expression in question was surrounded by a
`ParenExpr` in the consuming block. The patch adds a test that triggers
this
scenario (and fails without the fix).
To prevent this kind of bug in the future, the patch also adds a new
method
`blockForStmt()` to `AdornedCFG` that calls `ignoreCFGOmittedNodes()`
and is
preferred over accessing `getStmtToBlock()` directly.
Commit: 03e17da510963ce6b7a1d0ab4d67f753a6cc7495
https://github.com/llvm/llvm-project/commit/03e17da510963ce6b7a1d0ab4d67f753a6cc7495
Author: Nabeel Omer <nabeel.omer at sony.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/include/llvm/CodeGen/DebugHandlerBase.h
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
M llvm/test/CodeGen/X86/fsafdo_test1.ll
M llvm/test/CodeGen/X86/fsafdo_test4.ll
A llvm/test/DebugInfo/X86/loop-align-debug.ll
Log Message:
-----------
[DWARF] Emit line 0 source locations for BB padding nops (#99496)
This patch makes LLVM emit line 0 source locations for nops emitted as
basic block padding.
---------
Co-authored-by: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Commit: a347bdb2b828272359e49a8ce9de9d6412950838
https://github.com/llvm/llvm-project/commit/a347bdb2b828272359e49a8ce9de9d6412950838
Author: Jan Patrick Lehr <JanPatrick.Lehr at amd.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
R llvm/test/Transforms/SimplifyCFG/AMDGPU/skip-threading.ll
M llvm/test/Transforms/SimplifyCFG/convergent.ll
Log Message:
-----------
Revert "[SimplifyCFG] Skip threading if the target may have divergent branches" (#100994)
Reverts llvm/llvm-project#100185
See comments on PR (PR not accepted, outstanding review comments, breaks HIP-clang buildbot)
Commit: fdfeea5bd6763277b5078e33e17e1bfc521a6cba
https://github.com/llvm/llvm-project/commit/fdfeea5bd6763277b5078e33e17e1bfc521a6cba
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Optimizer/Transforms/OMPMapInfoFinalization.cpp
M mlir/include/mlir/Dialect/OpenMP/OpenMPClauseOperands.h
M mlir/include/mlir/Dialect/OpenMP/OpenMPClauses.td
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.td
M mlir/lib/Conversion/SCFToOpenMP/SCFToOpenMP.cpp
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Dialect/OpenMP/invalid.mlir
M mlir/test/Dialect/OpenMP/ops.mlir
M mlir/test/Target/LLVMIR/openmp-llvm.mlir
Log Message:
-----------
[MLIR][OpenMP][Flang] Normalize clause arguments names (#99505)
Currently, there are some inconsistencies to how clause arguments are
named in the OpenMP dialect. Additionally, the clause operand structures
associated to them also diverge in certain cases. The purpose of this
patch is to normalize argument names across all `OpenMP_Clause` tablegen
definitions and clause operand structures.
This has the benefit of providing more consistent representations for
clauses in the dialect, but the main short-term advantage is that it
enables the development of an OpenMP-specific tablegen backend to
automatically generate the clause operand structures without breaking
dependent code.
The main re-naming decisions made in this patch are the following:
- Variadic arguments (i.e. multiple values) have the "_vars" suffix.
This and other similar suffixes are removed from array attribute
arguments.
- Individual required or optional value arguments do not have any suffix
added to them (e.g. "val", "var", "expr", ...), except for `if` which
would otherwise result in an invalid C++ variable name.
- The associated clause's name is prepended to argument names that don't
already contain it as part of its name. This avoids future collisions
between arguments named the same way on different clauses and adding
both clauses to the same operation.
- Privatization and reduction related arguments that contain lists of
symbols pointing to privatizer/reducer operations use the "_syms"
suffix. This removes the inconsistencies between the names for
"copyprivate_funcs", "[in]reductions", "privatizers", etc.
- General improvements to names, replacement of camel case for snake
case everywhere, etc.
- Renaming of operation-associated operand structures to use the
"Operands" suffix in place of "ClauseOps", to better differentiate
between clause operand structures and operation operand structures.
- Fields on clause operand structures are sorted according to the
tablegen definition of the same clause.
The assembly format for a few arguments is updated to better reflect the
clause they are associated with:
- `chunk_size` -> `dist_schedule_chunk_size`
- `grain_size` -> `grainsize`
- `simd` -> `par_level_simd`
Commit: 389679d5f9055bffe8bbd25ae41f084a8d08e0f8
https://github.com/llvm/llvm-project/commit/389679d5f9055bffe8bbd25ae41f084a8d08e0f8
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticFrontendKinds.td
M clang/lib/CodeGen/Targets/AArch64.cpp
M clang/test/CodeGen/aarch64-sme-inline-streaming-attrs.c
Log Message:
-----------
Reland: "[Clang] Demote always_inline error to warning for mismatching SME attrs" (#100991) (#100996)
Test `aarch64-sme-inline-streaming-attrs.c` caused some buildbot
failures, because the test was missing a `REQUIRES: aarch64-registered
target`. This was because we've demoted the error to a warning, which
then resulted in a different error message, because Clang can't actually
CodeGen the IR.
Commit: 46ecd7bbe895c12f77feea7353da43c32d1a8a41
https://github.com/llvm/llvm-project/commit/46ecd7bbe895c12f77feea7353da43c32d1a8a41
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.h
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
M mlir/include/mlir/Dialect/OpenMP/OpenMPClauseOperands.h
M mlir/include/mlir/Dialect/OpenMP/OpenMPClauses.td
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Dialect/OpenMP/ops.mlir
Log Message:
-----------
[MLIR][OpenMP] Create `LoopRelatedClause` (#99506)
This patch introduces a new OpenMP clause definition not defined by the spec.
Its main purpose is to define the `loop_inclusive` (previously "inclusive",
renamed according to the parent of this PR in the stack) argument of
`omp.loop_nest` in such a way that a followup implementation of a tablegen
backend to automatically generate clause and operation operand structures
directly from `OpenMP_Op` and `OpenMP_Clause` definitions can properly generate
the `LoopNestOperands` structure.
`collapse` clause arguments are also moved into this new definition, as they
represent information on the loop nests being collapsed rather than the
`collapse` clause itself.
Commit: 0a94511aec7a41194c0e61d88801312542ff70ce
https://github.com/llvm/llvm-project/commit/0a94511aec7a41194c0e61d88801312542ff70ce
Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M compiler-rt/lib/gwp_asan/definitions.h
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/platform_specific/utilities_fuchsia.cpp
M compiler-rt/lib/gwp_asan/platform_specific/utilities_posix.cpp
M compiler-rt/lib/gwp_asan/tests/CMakeLists.txt
A compiler-rt/lib/gwp_asan/tests/utilities.cpp
M compiler-rt/lib/gwp_asan/utilities.h
Log Message:
-----------
Log errno (or fuchsia equivalent) on map failures (#95391)
A feature requested by Android, we should log errno (or the
corresponding fuchsia error status) as part of the message when
mmap/mprotect/etc. fails.
Commit: 102f322557b0969ea5b85448df1b03508554218c
https://github.com/llvm/llvm-project/commit/102f322557b0969ea5b85448df1b03508554218c
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
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/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Dialect/OpenMP/invalid.mlir
M mlir/test/Dialect/OpenMP/ops.mlir
Log Message:
-----------
[MLIR][OpenMP] Add missing clauses to OpenMP op definitions (#99507)
This patch adds the missing `OpenMP_Clause` definitions to all existing
`OpenMP_Op`s and updates their operand structure based builders to
initialize the new arguments.
The result of this change is that operation operand structures are now
based in the same list of clauses as their tablegen counterparts. This
means that all of the information needed is now in place to
automatically generate OpenMP operand structures from tablegen
defitions.
Since this change doesn't involve the introduction of actual support for
these clauses, new arguments are not initialized from values stored in
the corresponding operand structure fields but rather set to empty or
null. Those should be updated when support for these clauses on the
corresponding operation is added.
Commit: 19b785b7334d01354e8430634bab3c3341c671ca
https://github.com/llvm/llvm-project/commit/19b785b7334d01354e8430634bab3c3341c671ca
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/AArch64/shuffle-other.ll
M llvm/test/Transforms/VectorCombine/AArch64/select-shuffle.ll
Log Message:
-----------
Revert "[AArch64] Remove special-case inserted shuffle cost."
This reverts commit f67fa3be4db68afc08c7f3d9523f1533fa5687b7.
Caused test suite failures on AArch64:
https://lab.llvm.org/buildbot/#/builders/17/builds/1349
Commit: d1f3a92ea9c491855b3186e84115fefe7c4185ee
https://github.com/llvm/llvm-project/commit/d1f3a92ea9c491855b3186e84115fefe7c4185ee
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/AArch64/shuffle-other.ll
M llvm/test/Transforms/VectorCombine/AArch64/select-shuffle.ll
Log Message:
-----------
Revert "[AArch64] Remove special-case inserted shuffle cost."
This reverts commit 19b785b7334d01354e8430634bab3c3341c671ca.
My bisect must have been wrong because they're still failing,
and there are follow ups to this that would need unpicking anyway.
Commit: 9e462b7ea23ea864b1f3f3b72d25cfbed95149d5
https://github.com/llvm/llvm-project/commit/9e462b7ea23ea864b1f3f3b72d25cfbed95149d5
Author: Fabian Ritter <fabian.ritter at amd.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/include/llvm/Analysis/TargetTransformInfo.h
M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
M llvm/lib/Analysis/TargetTransformInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
M llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp
Log Message:
-----------
[LowerMemIntrinsics][NFC] Use Align in TTI::getMemcpyLoopLoweringType (#100984)
...and also in TTI::getMemcpyLoopResidualLoweringType.
Commit: 1f38301957c1f41722e219ede5d56d67c000213e
https://github.com/llvm/llvm-project/commit/1f38301957c1f41722e219ede5d56d67c000213e
Author: Julien Schueller <schueller at phimeca.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M mlir/lib/Dialect/Affine/Analysis/CMakeLists.txt
Log Message:
-----------
[mlir] Fix missing FuncOps.h.inc (#97885)
Closes #84568
Similar to #71691 (reproduce with make -j1)
Commit: f7491f53cbef28ecea764a6a47ae69338fb7afbe
https://github.com/llvm/llvm-project/commit/f7491f53cbef28ecea764a6a47ae69338fb7afbe
Author: Andreas Jonson <andjo403 at hotmail.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/test/Transforms/InstCombine/ctpop-pow2.ll
M llvm/test/Transforms/InstCombine/ctpop.ll
M llvm/test/Transforms/InstCombine/icmp-ne-pow2.ll
M llvm/test/Transforms/InstCombine/ispow2.ll
Log Message:
-----------
[InstCombine] Reduce range of ctpop for non zero argument (#100899)
Commit: 13d39cb6f7b20e596b66f59ebf4dba766451398b
https://github.com/llvm/llvm-project/commit/13d39cb6f7b20e596b66f59ebf4dba766451398b
Author: Balazs Benics <benicsbalazs at gmail.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M clang/docs/analyzer/checkers.rst
M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
M clang/test/Analysis/stream.c
Log Message:
-----------
[analyzer] Fix crash of StreamChecker when eval calling 'fopen' (#100990)
Actually, on the failure branch of `fopen`, the resulting pointer could
alias with `stdout` iff `stdout` is already known to be null.
We crashed in this case as the implementation assumed that the
state-split for creating the success and failure branches both should be
viable; thus dereferenced both of those states - leading to the crash.
To fix this, let's just only add this no-alias property for the success
path, and that's it :)
Fixes #100901
Commit: 77655f42d58e85875c4b4e28a73208b64a653c2a
https://github.com/llvm/llvm-project/commit/77655f42d58e85875c4b4e28a73208b64a653c2a
Author: Ingo Müller <ingomueller at google.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
Log Message:
-----------
[mlir][arith] Assert preconditions in `BitcastOp::fold`. (#100743)
This PR adds an assertion to `BitcastOp::fold` that fails if that
function is called on invalid IR. That can happen when patterns, passes,
etc. create (invalid) IR using builders and folding is triggered on that
IR before verification, for example, through `OpBuilder::createOrFold`.
The new assert triggers earlier than previously in order to help getting
to the root cause faster.
Signed-off-by: Ingo Müller <ingomueller at google.com>
Commit: e6fa09f445f172bfd0c011adc6bf36e38816b781
https://github.com/llvm/llvm-project/commit/e6fa09f445f172bfd0c011adc6bf36e38816b781
Author: Thomas Hashem <35398565+hashemthomas1 at users.noreply.github.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SCCPSolver.cpp
A llvm/test/Transforms/SCCP/float-denormal-simplification.ll
Log Message:
-----------
[SCCP] Add context to SimplifyQuery (#100831)
Commit: 4cdc19b84cf48189e40915178d60991f6fc469b2
https://github.com/llvm/llvm-project/commit/4cdc19b84cf48189e40915178d60991f6fc469b2
Author: vdonaldson <37090318+vdonaldson at users.noreply.github.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/include/flang/Optimizer/Builder/Runtime/Exceptions.h
M flang/include/flang/Runtime/exceptions.h
M flang/include/flang/Runtime/magic-numbers.h
M flang/lib/Evaluate/real.cpp
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/Builder/Runtime/Exceptions.cpp
M flang/lib/Optimizer/Builder/Runtime/Numeric.cpp
M flang/runtime/exceptions.cpp
M flang/test/Evaluate/fold-nearest.f90
A flang/test/Lower/Intrinsics/ieee_next.f90
M flang/test/Lower/Intrinsics/nearest.f90
M flang/unittests/Optimizer/Builder/Runtime/NumericTest.cpp
Log Message:
-----------
[flang] IEEE_NEXT_AFTER, IEEE_NEXT_DOWN, IEEE_NEXT_UP, NEAREST (#100782)
IEEE_ARITHMETIC intrinsic module procedures IEEE_NEXT_AFTER,
IEEE_NEXT_DOWN, and IEEE_NEXT_UP, and intrinsic NEAREST return larger or
smaller values adjacent to their primary REAL argument. The four
procedures vary in how the direction is chosen, in how special cases are
treated, and in what exceptions are generated. Implement the three
IEEE_ARITHMETIC procedures. Update the NEAREST implementation to support
all six REAL kinds 2,3,4,8,10,16, and fix several bugs.
IEEE_NEXT_AFTER(X,Y) returns a NaN when Y is a NaN as that seems to be
the universal choice of other compilers.
Change the front end compile time implementation of these procedures to
return normal (HUGE) values for infinities when applicable, rather than
always returning the input infinity.
Commit: f7e9d48a73dd68c8b652692d8a9e559a6ceb722e
https://github.com/llvm/llvm-project/commit/f7e9d48a73dd68c8b652692d8a9e559a6ceb722e
Author: Braden Helmer <bradenhelmeraus at gmail.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaOverload.cpp
M clang/test/SemaCXX/cxx2b-deducing-this.cpp
Log Message:
-----------
[Clang] Fix confusing diagnositcs related to explicit this parameters (#100351)
Fixes #97878.
This PR improves diagnostics related to explicit 'this' parameters.
Previously, the 'this' parameter would be incorrectly underlined when
diagnosing a bad conversion.
Commit: ad778889cf5ce74be3193fae1d3b2bce34a56863
https://github.com/llvm/llvm-project/commit/ad778889cf5ce74be3193fae1d3b2bce34a56863
Author: Michael Maitland <michaeltmaitland at gmail.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SDPatternMatch.h
M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp
Log Message:
-----------
[DAG] Add SDPatternMatch for VScale nodes
Commit: d2304427cb0270259bc083a3db27413823f56e59
https://github.com/llvm/llvm-project/commit/d2304427cb0270259bc083a3db27413823f56e59
Author: Michael Maitland <michaeltmaitland at gmail.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAG][NFC] Use SDPatternMatch for VScale in some instances
Commit: e1065370aaacb1b1cb48e77d37d376bf024f4a39
https://github.com/llvm/llvm-project/commit/e1065370aaacb1b1cb48e77d37d376bf024f4a39
Author: Luke Lau <luke at igalia.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
M llvm/test/CodeGen/RISCV/rvv/extractelt-fp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-bitcast.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-bitcast.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-llrint.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-lrint.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfptoi-constrained-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/fpclamptosat_vec.ll
M llvm/test/CodeGen/RISCV/rvv/insertelt-fp.ll
M llvm/test/CodeGen/RISCV/rvv/unmasked-ta.ll
M llvm/test/CodeGen/RISCV/rvv/vfmv.f.s.ll
M llvm/test/CodeGen/RISCV/rvv/vfmv.s.f.ll
M llvm/test/CodeGen/RISCV/rvv/vreductions-fp-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/vreductions-fp-vp.ll
Log Message:
-----------
[RISCV] Remove vfmv.s.f and vfmv.f.s lmul pseudo variants (#100970)
In #71501 we removed the LMUL variants for vmv.s.x and vmv.x.s because
they ignore register groups, so this patch does the same for their
floating point equivalents.
We don't need to add any extra patterns for extractelt in
RISCVInstrInfoVSDPatterns.td because in lowerEXTRACT_VECTOR_ELT we make
sure that the node is narrowed down to LMUL 1.
Commit: 97c62b8f7501d1c6c2f507b075fbe45a31d2b9dc
https://github.com/llvm/llvm-project/commit/97c62b8f7501d1c6c2f507b075fbe45a31d2b9dc
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M clang/test/Driver/linker-wrapper.c
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
M clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td
Log Message:
-----------
[LinkerWrapper] Forward `-mllvm` and `--offload-opt` arguments to device (#100424)
Summary:
Previously we could parse these internally as they would be used by the
embedded LTO job. Now, this LTO is passed to the linker utilities which
means these need to be forwarded. So this can now either be done with
`--offload-opt` which works in the clang job, or with `-Xoffload-linker`
manually.
Fixes https://github.com/llvm/llvm-project/issues/100212
Commit: 77ff969e5d6a561606ea87fbae101195417d4d73
https://github.com/llvm/llvm-project/commit/77ff969e5d6a561606ea87fbae101195417d4d73
Author: Jonathan Peyton <jonathan.l.peyton at intel.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M openmp/runtime/src/kmp_affinity.cpp
M openmp/runtime/src/kmp_affinity.h
Log Message:
-----------
[OpenMP] Add topology and affinity changes for Meteor Lake (#91012)
These are Intel-specific changes for the CPUID leaf 31 method for
detecting machine topology.
* Cleanup known levels usage in x2apicid topology algorithm
Change to be a constant mask of all Intel topology type values.
* Take unknown ids into account when sorting them
If a hardware id is unknown, then put further down the hardware thread
list so it will take last priority when assigning to threads.
* Have sub ids printed out for hardware thread dump
* Add caches to topology
New` kmp_cache_ids_t` class helps create cache ids which are then put
into the topology table after regular topology type ids have been put
in.
* Allow empty masks in place list creation
Have enumeration information and place list generation take into account
that certain hardware threads may be lacking certain layers
* Allow different procs to have different number of topology levels
Accommodates possible situation where CPUID.1F has different depth for
different hardware threads. Each hardware thread has a topology
description which is just a small set of its topology levels. These
descriptions are tracked to see if the topology is uniform or not.
* Change regular ids with logical ids
Instead of keeping the original sub ids that the x2apicid topology
detection algorithm gives, change each id to its logical id which is a
number: [0, num_items - 1]. This makes inserting new layers into the
topology significantly simpler.
* Insert caches into topology
This change takes into account that most topologies are uniform and
therefore can use the quicker method of inserting caches as equivalent
layers into the topology.
Commit: 916a91578f7b367c106859a0b46d8ce573bce36a
https://github.com/llvm/llvm-project/commit/916a91578f7b367c106859a0b46d8ce573bce36a
Author: Jonathan Peyton <jonathan.l.peyton at intel.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M openmp/runtime/src/kmp_affinity.cpp
Log Message:
-----------
[OpenMP] Assign thread ids in the cpuinfo topology method (#91013)
On non-hyperthreaded machines, the thread id is not always explicit in
the /proc/cpuinfo file. This patch adds a check to ensure the thread ids
are put in.
Commit: 3ef922081193ae1c46683f3ca282e700efc9005e
https://github.com/llvm/llvm-project/commit/3ef922081193ae1c46683f3ca282e700efc9005e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/X86/arith-overflow.ll
Log Message:
-----------
[CostModel][X86] Add missing AVX512 vector mul overflow intrinsic costs
Fix regressions in #100519
Commit: 1b4be6a474b3747765a218201bd637f899fd9b66
https://github.com/llvm/llvm-project/commit/1b4be6a474b3747765a218201bd637f899fd9b66
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/test/CodeGen/ARM/vselect_imax.ll
Log Message:
-----------
[ARM] Regenerate vselect_imax.ll
Commit: 363c1e6e517281ad387fd91787545d632e7c48b6
https://github.com/llvm/llvm-project/commit/363c1e6e517281ad387fd91787545d632e7c48b6
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M offload/test/offloading/bug51781.c
Log Message:
-----------
[OpenMP] Re-enable test after correctly forwarding `mllvm`
Commit: 53c37f300dd1b450671f2aee4cc649c380adb5ad
https://github.com/llvm/llvm-project/commit/53c37f300dd1b450671f2aee4cc649c380adb5ad
Author: Stefan Pintilie <stefanp at ca.ibm.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCRegisterInfo.td
M llvm/test/CodeGen/PowerPC/aix-vec_insert_elt.ll
M llvm/test/CodeGen/PowerPC/aix32-p8-scalar_vector_conversions.ll
M llvm/test/CodeGen/PowerPC/build-vector-tests.ll
M llvm/test/CodeGen/PowerPC/builtins-ppc-xlcompat-pwr9-64bit.ll
M llvm/test/CodeGen/PowerPC/canonical-merge-shuffles.ll
M llvm/test/CodeGen/PowerPC/combine-fneg.ll
M llvm/test/CodeGen/PowerPC/constant-pool.ll
M llvm/test/CodeGen/PowerPC/elf64-byval-cc.ll
M llvm/test/CodeGen/PowerPC/fma-combine.ll
M llvm/test/CodeGen/PowerPC/fp-strict-round.ll
M llvm/test/CodeGen/PowerPC/frem.ll
M llvm/test/CodeGen/PowerPC/handle-f16-storage-type.ll
M llvm/test/CodeGen/PowerPC/ldexp.ll
M llvm/test/CodeGen/PowerPC/p10-splatImm-CPload-pcrel.ll
M llvm/test/CodeGen/PowerPC/p8-scalar_vector_conversions.ll
M llvm/test/CodeGen/PowerPC/pcrel-call-linkage-leaf.ll
M llvm/test/CodeGen/PowerPC/save-reg-params.ll
M llvm/test/CodeGen/PowerPC/select_const.ll
M llvm/test/CodeGen/PowerPC/subreg-coalescer.mir
M llvm/test/CodeGen/PowerPC/subreg-lanemasks.mir
M llvm/test/CodeGen/PowerPC/toc-float.ll
M llvm/test/CodeGen/PowerPC/variable_elem_vec_extracts.ll
M llvm/test/CodeGen/PowerPC/vec_insert_elt.ll
M llvm/test/CodeGen/PowerPC/vector-constrained-fp-intrinsics.ll
M llvm/test/CodeGen/PowerPC/vector-llrint.ll
M llvm/test/CodeGen/PowerPC/vector-lrint.ll
M llvm/test/CodeGen/PowerPC/vector-reduce-fadd.ll
M llvm/test/CodeGen/PowerPC/vector-reduce-fmax.ll
M llvm/test/CodeGen/PowerPC/vector-reduce-fmin.ll
M llvm/test/CodeGen/PowerPC/vector-reduce-fmul.ll
M llvm/test/CodeGen/PowerPC/vsx.ll
Log Message:
-----------
[PowerPC] Add phony subregisters to cover the high half of the VSX registers. (#94628)
On PowerPC there are 128 bit VSX registers. These registers are half
overlapped with 64 bit floating point registers (FPR). The 64 bit half
of the VXS register that does not overlap with the FPR does not overlap
with any other register class. The FPR are the only subregisters of the
VSX registers but they do not fully cover the 128 bit super register.
This leads to incorrect lane masks being created.
This patch adds phony registers for the other half of the VSX registers
in order to fully cover them and to make sure that the lane masks are
not the same for the VSX and the floating point register.
Commit: 64199bf332567aeeff02841022d967325b318075
https://github.com/llvm/llvm-project/commit/64199bf332567aeeff02841022d967325b318075
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
Log Message:
-----------
[libc] make aarch64 libm entrypoints consistent w/ x86-64 (#100963)
Test passes locally.
Commit: 0a1ce1ae62f58eacf98b89487065fedccbc7cd68
https://github.com/llvm/llvm-project/commit/0a1ce1ae62f58eacf98b89487065fedccbc7cd68
Author: Kohei Yamaguchi <fix7211 at gmail.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M mlir/include/mlir/Dialect/Ptr/IR/CMakeLists.txt
Log Message:
-----------
[mlir][doc] Fix docs for `PtrDialect` using the `-gen-dialect-doc`(NFC) (#101013)
Commit: 7647f88234cadf0aed019abb1fc723c6708b871c
https://github.com/llvm/llvm-project/commit/7647f88234cadf0aed019abb1fc723c6708b871c
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/test/CodeGen/RISCV/rv64zba.ll
Log Message:
-----------
[RISCV] Add isel special case for (and (srl X, c2), c1) -> (slli_uw (srli x, c2+c3), c3). (#100966)
Where c1 is a shifted mask with 32 set bits and c3 trailing zeros.
Fixes #100936.
Commit: 922558f47446fc732aa474f7bffc3190b4ffab43
https://github.com/llvm/llvm-project/commit/922558f47446fc732aa474f7bffc3190b4ffab43
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfo.td
Log Message:
-----------
[RISCV] Remove registers from ins of Priv instructions. (#100857)
The rd and rs1 encoding are already forced to 0s. We don't need
registers too.
Commit: 2c37334d8dce7ef7d3ecc8c80522fe73010b12cc
https://github.com/llvm/llvm-project/commit/2c37334d8dce7ef7d3ecc8c80522fe73010b12cc
Author: William Junda Huang <williamjhuang at google.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/include/llvm/Transforms/Utils/SSAUpdaterImpl.h
Log Message:
-----------
[Transforms] Speed up SSAUpdater::FindExistingPHI (#100281)
In SSAUpdater::FindExistingPHI, the cleanup function is inefficient for
large function with many blocks because it clears the Phi value
reference for every block if not matched for every phi value, even if
most blocks are not modified by CheckIfPHIMatches. This behavior is
particularly slow for large functions because the complexity is Θ(# PHI
* # BBs).
Updated the behavior to only clear modified blocks, which in practice
has a much less complexity because of early exit on PHI mismatch.
Commit: 7a2a36f952e5f1c0184e5de0bb8a32b5d2382427
https://github.com/llvm/llvm-project/commit/7a2a36f952e5f1c0184e5de0bb8a32b5d2382427
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.h
M llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
M llvm/lib/Target/ARM/ARMAsmPrinter.cpp
M llvm/lib/Target/ARM/ARMAsmPrinter.h
M llvm/lib/Target/ARM/ARMMCInstLower.cpp
M llvm/lib/Target/CSKY/CSKYAsmPrinter.cpp
M llvm/lib/Target/CSKY/CSKYAsmPrinter.h
M llvm/lib/Target/LoongArch/LoongArchAsmPrinter.cpp
M llvm/lib/Target/LoongArch/LoongArchAsmPrinter.h
M llvm/lib/Target/Mips/MipsAsmPrinter.cpp
M llvm/lib/Target/Mips/MipsAsmPrinter.h
M llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
M llvm/utils/TableGen/PseudoLoweringEmitter.cpp
Log Message:
-----------
[AsmPrinter] Don't EmitToStreamer instructions lowered by tblgenned code (#100803)
This allows lowering individual instructions in a bundle before a single
call to EmitToStreamer for VLIW targets.
Commit: 7b3db551e499a7ecef6a29c0ffbc923c45277332
https://github.com/llvm/llvm-project/commit/7b3db551e499a7ecef6a29c0ffbc923c45277332
Author: Jannick Kremer <51118500+DeinAlptraum at users.noreply.github.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M clang/bindings/python/clang/cindex.py
Log Message:
-----------
[libclang/python] Export all enums (#100941)
This resolves #48212 and also adds the remaining unexposed Enums
Commit: b66310f938f36557f44042e300e5894e39297b2b
https://github.com/llvm/llvm-project/commit/b66310f938f36557f44042e300e5894e39297b2b
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
Log Message:
-----------
[RISCV][TTI] Split costing of [u/s]int_to_fp from fp_to_[u/s]int [nfc] (#101029)
The amount of code sharing between them is fairly small, and the split
version is much easier to read.
Commit: ee57ce57d8094026e2795182758bc57027a72293
https://github.com/llvm/llvm-project/commit/ee57ce57d8094026e2795182758bc57027a72293
Author: Oleksandr T. <oleksandr.tarasiuk at outlook.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaInit.cpp
M clang/test/SemaCXX/destructor.cpp
Log Message:
-----------
[Clang] prevent checking destructor reference with an invalid initializer (#97860)
Fixes #97230
Commit: 150bf637baad2ba4df6369600b65d897ed9b31a7
https://github.com/llvm/llvm-project/commit/150bf637baad2ba4df6369600b65d897ed9b31a7
Author: Pavel Skripkin <paskripkin at gmail.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/test/AST/attr-print-emit.cpp
M clang/test/Sema/attr-ownership.c
M clang/test/Sema/attr-ownership.cpp
Log Message:
-----------
[Clang][Sema] Disallow applying `onwership_returns` to functions that return non-pointers (#99564)
`onwership_returns` works only with pointers, since it models
user-defined memory allocation functions. Make semantics more clear and
report an error if attribute is attached to wrong function.
Closes #99501
Commit: e65882fec9689b2232575530bab0776d7c303dae
https://github.com/llvm/llvm-project/commit/e65882fec9689b2232575530bab0776d7c303dae
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/test/Transforms/InferFunctionAttrs/annotate.ll
A llvm/test/Transforms/InstCombine/lib-call-exit.ll
Log Message:
-----------
[InstCombine][InferFunctionAttrs] Add tests for inferring `cold` on exit/abort; NFC
Commit: 67fb7c34f11df03ac359571dd4d503a36e06275e
https://github.com/llvm/llvm-project/commit/67fb7c34f11df03ac359571dd4d503a36e06275e
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/include/llvm/Analysis/TargetLibraryInfo.def
M llvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h
M llvm/lib/Transforms/Utils/BuildLibCalls.cpp
M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
M llvm/test/Transforms/InferFunctionAttrs/annotate.ll
M llvm/test/Transforms/InstCombine/lib-call-exit.ll
M llvm/test/tools/llvm-tli-checker/ps4-tli-check.yaml
M llvm/unittests/Analysis/TargetLibraryInfoTest.cpp
Log Message:
-----------
[TLI] Add support for inferring attr `cold` on `exit`/`abort`
`abort` can be assumed always cold and assume non-zero `exit` status
as a `cold` path as well.
Closes #101003
Commit: 135a1e90a3066f61ca741e9ebebfec79c9595ea5
https://github.com/llvm/llvm-project/commit/135a1e90a3066f61ca741e9ebebfec79c9595ea5
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/docs/DirectX/DXILResources.rst
Log Message:
-----------
[DirectX] Update "dx.TypedBuffer" docs to include a "signed" bit (#100695)
To lower these types to dxil we need to know whether ints are signed or
not, but the LLVM type loses that. Add a bit to indicate it's so.
Commit: 0d9b4394081df959b3752283ed9ca303759dda61
https://github.com/llvm/llvm-project/commit/0d9b4394081df959b3752283ed9ca303759dda61
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
M mlir/lib/Dialect/Vector/Transforms/LowerVectorMask.cpp
M mlir/lib/Dialect/Vector/Transforms/VectorDropLeadUnitDim.cpp
M mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp
Log Message:
-----------
[mlir][vector] Use `DenseI64ArrayAttr` for constant_mask dim sizes (#100997)
This prevents a bunch of boilerplate conversions to/from IntegerAttrs
and int64_ts. Other than that this is a NFC.
Commit: 2c0ec01b516deba8922c1aae59b1907de6443587
https://github.com/llvm/llvm-project/commit/2c0ec01b516deba8922c1aae59b1907de6443587
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M clang/lib/Driver/ToolChains/AMDGPU.cpp
M clang/test/Driver/amdgpu-toolchain.c
Log Message:
-----------
[AMDGPU] Correctly pass the target-id to `ld.lld` (#101037)
Summary:
The `ld.lld` linker handles LTO, but it does not understand the
target-id syntax some AMDGPU targets use. This patch parses the
target-id and passes the processor name in `-mcpu` and features in
`-mattr`.
Commit: 0dd1128d6341283d60150d294a9c4db1ba38f8b2
https://github.com/llvm/llvm-project/commit/0dd1128d6341283d60150d294a9c4db1ba38f8b2
Author: Michael Maitland <michaeltmaitland at gmail.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SDPatternMatch.h
M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp
Log Message:
-----------
[DAG] Add SDPatternMatch::m_VSelect (#100758)
As per the comment in
https://github.com/llvm/llvm-project/pull/100686#pullrequestreview-2201991135
Commit: 197f4a90519df308d9bfddcc931f7683a5ae9cb9
https://github.com/llvm/llvm-project/commit/197f4a90519df308d9bfddcc931f7683a5ae9cb9
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/X86/external-used-across-reductions.ll
M llvm/test/Transforms/SLPVectorizer/X86/gather-extractelements-different-bbs.ll
M llvm/test/Transforms/SLPVectorizer/X86/horizontal-minmax.ll
M llvm/test/Transforms/SLPVectorizer/X86/reduction-gather-non-scheduled-extracts.ll
M llvm/test/Transforms/SLPVectorizer/X86/reduction-logical.ll
Log Message:
-----------
[SLP]Remove ExtraArgs from reductions.
No need to handle extra arguments during the reductions anymore, the
compiler now can handle all reduced values and reduction operands
correctly, even if they are from different basic blocks.
Simplifies analysis, reduces compiler size, improves overall
vectorization.
Metric: size..text
test-suite :: SingleSource/Benchmarks/Misc-C++/stepanov_container.test 16668.00 17148.00 2.9%
test-suite :: External/SPEC/CINT2006/483.xalancbmk/483.xalancbmk.test 2389675.00 2418683.00 1.2%
test-suite :: MultiSource/Benchmarks/ASCI_Purple/SMG2000/smg2000.test 253517.00 253645.00 0.1%
test-suite :: MultiSource/Benchmarks/Bullet/bullet.test 309678.00 309806.00 0.0%
test-suite :: MultiSource/Applications/JM/ldecod/ldecod.test 389203.00 389363.00 0.0%
test-suite :: MultiSource/Benchmarks/MiBench/consumer-jpeg/consumer-jpeg.test 111120.00 111152.00 0.0%
test-suite :: MultiSource/Benchmarks/tramp3d-v4/tramp3d-v4.test 1039103.00 1039215.00 0.0%
test-suite :: External/SPEC/CFP2017rate/511.povray_r/511.povray_r.test 1155883.00 1155963.00 0.0%
test-suite :: MicroBenchmarks/LoopVectorization/LoopInterleavingBenchmarks.test 276646.00 276662.00 0.0%
test-suite :: MultiSource/Applications/JM/lencod/lencod.test 848691.00 848739.00 0.0%
test-suite :: External/SPEC/CFP2006/453.povray/453.povray.test 1138604.00 1138636.00 0.0%
test-suite :: External/SPEC/CINT2006/445.gobmk/445.gobmk.test 910201.00 910217.00 0.0%
test-suite :: External/SPEC/CFP2017rate/526.blender_r/526.blender_r.test 12385484.00 12385628.00 0.0%
test-suite :: External/SPEC/CINT2017speed/602.gcc_s/602.gcc_s.test 9667580.00 9667676.00 0.0%
test-suite :: External/SPEC/CINT2017rate/502.gcc_r/502.gcc_r.test 9667580.00 9667676.00 0.0%
test-suite :: External/SPEC/CINT2017rate/523.xalancbmk_r/523.xalancbmk_r.test 2856182.00 2856198.00 0.0%
test-suite :: External/SPEC/CINT2017speed/623.xalancbmk_s/623.xalancbmk_s.test 2856182.00 2856198.00 0.0%
test-suite :: External/SPEC/CINT2006/464.h264ref/464.h264ref.test 773224.00 773192.00 -0.0%
test-suite :: MultiSource/Benchmarks/7zip/7zip-benchmark.test 1035148.00 1035084.00 -0.0%
test-suite :: External/SPEC/CINT2017speed/631.deepsjeng_s/631.deepsjeng_s.test 98126.00 98094.00 -0.0%
test-suite :: External/SPEC/CINT2017rate/531.deepsjeng_r/531.deepsjeng_r.test 97966.00 97934.00 -0.0%
test-suite :: MultiSource/Benchmarks/MallocBench/gs/gs.test 167391.00 167215.00 -0.1%
test-suite :: MultiSource/Applications/ALAC/encode/alacconvert-encode.test 56685.00 56605.00 -0.1%
test-suite :: MultiSource/Applications/ALAC/decode/alacconvert-decode.test 56685.00 56605.00 -0.1%
test-suite :: SingleSource/Regression/C/gcc-c-torture/execute/GCC-C-execute-20050826-2.test 1302.00 1294.00 -0.6%
Misc-C++/stepanov_container - better code due to cost fixes.
483.xalancbmk - better code due to cost fixes.
ASCI_Purple/SMG2000 - better code due to cost fixes.
Benchmarks/Bullet - better vector code because of the cost.
JM/ldecod - extra code remain scalar, extra reduction vectorized
consumer-jpeg - extra code remain scalar because of the cost.
tramp3d-v4 - better vectorization because of cost fixes.
511.povray_r - better vectorization because of cost fixes.
LoopInterleavingBenchmarks - extra reductions are vectorized
JM/lencod - small changes in vector code because of extract cost fixes.
453.povray - small changes in vector code because of extract cost fixes.
445.gobmk - extra small reduction vectorized
526.blender_r - extra reduced scalars, better small reduction, small
changes in the vetorization because of the fixes for extracts cost
602.gcc_s
502.gcc_r - small changes in reductions vectorization because of the
fixes in the extract cost.
631.deepsjeng_s
623.xalancbmk_s - small changes in reductions vectorization because of
the fixes in the extract cost.
MallocBench/gs - extra code remain scalar because of extracts cost
alacconvert-encode - extra code remain scalar because of extracts cost
alacconvert-decode - extra code remain scalar because of extracts cost
GCC-C-execute-20050826-2 - extra reduction gets vectorized
Reviewers: RKSimon
Reviewed By: RKSimon
Pull Request: https://github.com/llvm/llvm-project/pull/99923
Commit: 945dd9a740958e3c1230f3661edec53a5d858675
https://github.com/llvm/llvm-project/commit/945dd9a740958e3c1230f3661edec53a5d858675
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/include/llvm/Analysis/Loads.h
M llvm/include/llvm/Analysis/ValueTracking.h
M llvm/lib/Analysis/Loads.cpp
M llvm/lib/Analysis/ValueTracking.cpp
Log Message:
-----------
[NFC][Load] Find better place for `mustSuppressSpeculation` (#100794)
And extract `suppressSpeculativeLoadForSanitizers`.
For #100639.
Commit: 07f3a08c614afe32b845aa44db5a6a0e44ce24a7
https://github.com/llvm/llvm-project/commit/07f3a08c614afe32b845aa44db5a6a0e44ce24a7
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/include/llvm/Analysis/Loads.h
M polly/lib/Analysis/ScopBuilder.cpp
M polly/lib/Analysis/ScopDetection.cpp
Log Message:
-----------
[NFC][Load] Make `ScanFrom` required parameters (#100789)
In #100773 we will go conservative for sanitizers,
so it's better to pinpoint location consciously.
For #100639.
Commit: d6081bff5b49c5f6560bdffd3692b8f1247c4843
https://github.com/llvm/llvm-project/commit/d6081bff5b49c5f6560bdffd3692b8f1247c4843
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/test/Analysis/CostModel/RISCV/cast.ll
Log Message:
-----------
[RISCV][CostModel] Add coverage for non-power-of-2 vector sizes
Commit: 2f3ae2f625588ea5eb1393db10b83e9e18380770
https://github.com/llvm/llvm-project/commit/2f3ae2f625588ea5eb1393db10b83e9e18380770
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/load.ll
M llvm/test/Transforms/InstCombine/multiple-uses-load-bitcast-select.ll
M llvm/test/Transforms/InstCombine/ptr-replace-alloca.ll
A llvm/test/Transforms/InstCombine/select-load.ll
M llvm/test/Transforms/InstCombine/strnlen-2.ll
M llvm/test/Transforms/SROA/phi-and-select.ll
M llvm/test/Transforms/SROA/phi-with-duplicate-pred.ll
M llvm/test/Transforms/SROA/select-load.ll
Log Message:
-----------
[NFC][InstCombine][SROA][Asan] Precommit tests affected by #100773 (#100844)
Some optimization need to be undone with
sanitizers by #100773.
For #100639.
Commit: c66d25d1429fbf49c97ee9cd0195246642178cb7
https://github.com/llvm/llvm-project/commit/c66d25d1429fbf49c97ee9cd0195246642178cb7
Author: Egor Zhdan <e_zhdan at apple.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M clang/lib/Sema/SemaAPINotes.cpp
M clang/test/APINotes/Inputs/Headers/Methods.h
Log Message:
-----------
[APINotes] Do not crash for C++ operators
This fixes a crash during `CXXMethod->getName()` in
`Sema::ProcessAPINotes`: we were trying to get the name of a C++ method
as a string, which fails with an assertion if the name is not a simple
identifier.
Commit: 708a9a06cba66bc8f739b05646e7d3be9247feee
https://github.com/llvm/llvm-project/commit/708a9a06cba66bc8f739b05646e7d3be9247feee
Author: Krystian Stasiowski <sdkrystian at gmail.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Lex/Preprocessor.h
M clang/include/clang/Parse/Parser.h
M clang/lib/Lex/PPCaching.cpp
M clang/lib/Lex/Preprocessor.cpp
M clang/lib/Parse/ParseCXXInlineMethods.cpp
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Parse/ParseExprCXX.cpp
A clang/test/CXX/dcl.decl/dcl.meaning/dcl.mptr/p2.cpp
M clang/test/CXX/temp/temp.res/p3.cpp
Log Message:
-----------
[Clang][Parse] Fix ambiguity with nested-name-specifiers that may declarative (#96364)
Consider the following:
```
template<typename T>
struct A { };
template<typename T>
int A<T>::B::* f(); // error: no member named 'B' in 'A<T>'
```
Although this is clearly valid, clang rejects it because the
_nested-name-specifier_ `A<T>::` is parsed as-if it was declarative,
meaning, we parse it as-if it was the _nested-name-specifier_ in a
redeclaration/specialization. However, we don't (and can't) know whether
the _nested-name-specifier_ is declarative until we see the '`*`' token,
but at that point we have already complained that `A` has no member
named `B`! This patch addresses this bug by adding support for _fully_
unannotated _and_ unbounded tentative parsing, which allows for us to
parse past tokens without having to cache them until we reach a point
where we can guarantee to be past the construct we are disambiguating.
I don't know where the approach taken here is ideal -- alternatives are
welcome. However, the performance impact (as measured by
llvm-compile-time-tracker (https://llvm-compile-time-tracker.com/?config=Overview&stat=instructions%3Au&remote=sdkrystian)
is quite minimal (0.09%, which I plan to further improve).
Commit: f9e7cba122c2b636ddb975791aadf33c69f3f056
https://github.com/llvm/llvm-project/commit/f9e7cba122c2b636ddb975791aadf33c69f3f056
Author: Nathan James <n.james93 at hotmail.co.uk>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/ASTMatchers/ASTMatchersInternal.cpp
M clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
Log Message:
-----------
Fix hasName matcher assertion with inline namespaces (#100975)
Fix handling of nodes which can be skipped in the fast path for the
hasName matcher
Fixes #100973
Commit: 6dba99e14f7e508a5028036b753fa7f84e846307
https://github.com/llvm/llvm-project/commit/6dba99e14f7e508a5028036b753fa7f84e846307
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/Analysis/Loads.cpp
M llvm/test/Transforms/InstCombine/load.ll
M llvm/test/Transforms/InstCombine/ptr-replace-alloca.ll
M llvm/test/Transforms/InstCombine/select-load.ll
M llvm/test/Transforms/InstCombine/strnlen-2.ll
M llvm/test/Transforms/SROA/phi-and-select.ll
M llvm/test/Transforms/SROA/phi-with-duplicate-pred.ll
M llvm/test/Transforms/SROA/select-load.ll
Log Message:
-----------
[InstCombine][asan] Don't speculate loads before `select ptr` (#100773)
Even if memory is valid from `llvm` point of view,
e.g. local alloca, sanitizers have API for user
specific memory annotations.
These annotations can be used to track size of the
local object, e.g. inline vectors may prevent
accesses beyond the current vector size.
So valid programs should not access those parts of
alloca before checking preconditions.
Fixes #100639.
Commit: 2c376fe96c83443c15e6485d043ebe321904546b
https://github.com/llvm/llvm-project/commit/2c376fe96c83443c15e6485d043ebe321904546b
Author: Dimitry Andric <dimitry at andric.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M compiler-rt/lib/profile/InstrProfiling.h
Log Message:
-----------
[InstrProf] Remove duplicate definition of IntPtrT
In 16e74fd48988a (for #82711) a duplicate definition of `IntPtrT` was
added to `InstrProfiling.h`, leading to warnings:
compiler-rt/lib/profile/InstrProfiling.h:52:15: warning: redefinition of typedef 'IntPtrT' is a C11 feature [-Wtypedef-redefinition]
52 | typedef void *IntPtrT;
| ^
compiler-rt/lib/profile/InstrProfiling.h:34:15: note: previous definition is here
34 | typedef void *IntPtrT;
| ^
Fix the warnings by removing the duplicate typedef.
Commit: fb7028237bac1dccd328b6c3150e50e222a0879b
https://github.com/llvm/llvm-project/commit/fb7028237bac1dccd328b6c3150e50e222a0879b
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/include/llvm/MC/MCFragment.h
M llvm/lib/MC/MCFragment.cpp
Log Message:
-----------
[MC] Move some bool members to MCFragment. NFC
Move `AllowAutoPadding` to MCFragment, which reduce the
MCRelaxableFragment size by 8 bytes. While here, also move
`AlignToBundleEnd` next to `HasInstructions`. Functions that create
fragments are slightly shorter due to fewer byte zeroing instructions.
Although fewer in number than MCDataFragments, MCRelaxableFragment
objects still constitute a significant proportion warranting
optimization.
```
% clang -c sqlite3.i -w -g -Xclang -print-stats
...
2206 assembler - Number of emitted assembler fragments - align
83980 assembler - Number of emitted assembler fragments - data
84 assembler - Number of emitted assembler fragments - fill
169462 assembler - Number of emitted assembler fragments - total
11396 assembler - Number of emitted assembler fragments - relaxable
```
Pull Request: https://github.com/llvm/llvm-project/pull/100976
Commit: b3b390b98e90d94d178fb74c15bce92a34c53b10
https://github.com/llvm/llvm-project/commit/b3b390b98e90d94d178fb74c15bce92a34c53b10
Author: Julius Alexandre <juliuswoosebert at gmail.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
Log Message:
-----------
[SandboxIR][NFC] Fixes for LoadInst::create functions (#100955)
This patch updates `LoadInst::create()` functions. The end result is four `LoadInst::create()` functions in total, two of which with an `IsVolatile` argument and two without.
Commit: 7b99b1d4f733ed5e1b206f0b392b0864e7a0d468
https://github.com/llvm/llvm-project/commit/7b99b1d4f733ed5e1b206f0b392b0864e7a0d468
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/IR/RuntimeLibcalls.cpp
M llvm/test/CodeGen/AArch64/exp10-libcall-names.ll
M llvm/test/CodeGen/X86/exp10-libcall-names.ll
Log Message:
-----------
[Darwin] Fix availability of exp10 for BridgeOS, DriverKit. (#100894)
Same as https://github.com/llvm/llvm-project/pull/98542, but also mark
exp10 available on BridgeOS and DriverKit.
Note that BridgeOS currently is not included by isOSDarwin, but it
probably should.
PR: https://github.com/llvm/llvm-project/pull/100894
Commit: 2a612a1b343dcc0d3dd44df4866f6c6af5cc090f
https://github.com/llvm/llvm-project/commit/2a612a1b343dcc0d3dd44df4866f6c6af5cc090f
Author: Matthew Weingarten <matt at weingarten.org>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M compiler-rt/lib/memprof/memprof_mapping.h
Log Message:
-----------
[Memprof] Changes `HISTOGRAM_GRANULARITY` from 8U to 8ULL. (#100949)
This changes a bug in memprofiling with histogram where the shadow mask
would be `0xFFFFFFF8` instead of `0xFFFFFFFFFFFFFFF8`, essentially
discarding the upper 32 bits of the address. This can cause different
addresses to be mapped to the same shadow address.
Commit: 26e455bac0c44d75cb5d544c35e7c8326c91b4f3
https://github.com/llvm/llvm-project/commit/26e455bac0c44d75cb5d544c35e7c8326c91b4f3
Author: macurtis-amd <macurtis at amd.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/include/llvm/Passes/PassBuilder.h
M llvm/lib/LTO/LTOBackend.cpp
A llvm/test/LTO/X86/print-pipeline-passes.ll
M llvm/tools/llc/NewPMDriver.cpp
M llvm/tools/opt/NewPMDriver.cpp
Log Message:
-----------
[lld][LTO] Teach LTO to print pipeline passes (#101018)
I found this useful while debugging code generation differences between
old and new offloading drivers.
No functional change (intended).
Commit: 62bd08acedc88d8976a017f7f6818f3167dfa697
https://github.com/llvm/llvm-project/commit/62bd08acedc88d8976a017f7f6818f3167dfa697
Author: Dimitry Andric <dimitry at andric.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
Log Message:
-----------
[compiler-rt] Fix format string warnings in FreeBSD DumpAllRegisters (#101072)
On FreeBSD amd64 (aka x86_64), registers are always defined as
`int64_t`, which in turn is equivalent to `long`. This leads to a number
of warnings in `DumpAllRegisters()`:
compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp:2245:31: warning:
format specifies type 'unsigned long long' but the argument has type
'__register_t' (aka 'long') [-Wformat]
2245 | Printf("rax = 0x%016llx ", ucontext->uc_mcontext.mc_rax);
| ~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| %016lx
compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp:2246:31: warning:
format specifies type 'unsigned long long' but the argument has type
'__register_t' (aka 'long') [-Wformat]
2246 | Printf("rbx = 0x%016llx ", ucontext->uc_mcontext.mc_rbx);
| ~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| %016lx
... more of these ...
Fix it by using the `lx` format.
Commit: cfb92be0a9cdd0f4595100c5add4e2795a44134e
https://github.com/llvm/llvm-project/commit/cfb92be0a9cdd0f4595100c5add4e2795a44134e
Author: vporpo <vporpodas at google.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/include/llvm/SandboxIR/Tracker.h
M llvm/include/llvm/SandboxIR/Use.h
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/lib/SandboxIR/Tracker.cpp
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
M llvm/unittests/SandboxIR/TrackerTest.cpp
Log Message:
-----------
[SandboxIR] Implement CallBrInst (#100823)
This patch implements sandboxir::CallBrInst which mirrors
llvm::CallBrInst.
LLVM IR does not expose the Uses to DefaultDest and IndirectDest so we
need special Tracker objects for both of setters.
Commit: 842a332f11f53c698fa0560505e533ecdca28876
https://github.com/llvm/llvm-project/commit/842a332f11f53c698fa0560505e533ecdca28876
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXFrameLowering.cpp
Log Message:
-----------
[NVPTX] Fix DwarfFrameBase construction (#101000)
The `{0}` here was initializing the first union member `Register`,
rather than the union member used by CFA, which is `Offset`. Prior to
https://github.com/llvm/llvm-project/pull/99263 this was harmless, but
now they have different layout, leading to test failures on some
platforms (at least i686 and s390x).
Commit: 38e671ab5221ec3d355fe4e3f70fdcd6f4809532
https://github.com/llvm/llvm-project/commit/38e671ab5221ec3d355fe4e3f70fdcd6f4809532
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/include/llvm/Analysis/DXILResource.h
M llvm/lib/Analysis/DXILResource.cpp
Log Message:
-----------
[DXIL][Analysis] Use setters for dxil::ResourceInfo initialization. NFC
This simplifies making sure we set all of the members of the unions
and adds asserts to help catch if we do something wrong.
Pull Request: https://github.com/llvm/llvm-project/pull/100696
Commit: a94edb6b8e321a46fe429934236aaa4e2e9fb97f
https://github.com/llvm/llvm-project/commit/a94edb6b8e321a46fe429934236aaa4e2e9fb97f
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/include/llvm/Analysis/DXILResource.h
M llvm/lib/Analysis/DXILResource.cpp
M llvm/unittests/Analysis/DXILResourceTest.cpp
Log Message:
-----------
[DXIL][Analysis] Make alignment on StructuredBuffer optional
HLSL allows StructuredBuffer<> to be defined with scalar or
up-to-4-element vectors as well as with structs, but when doing so
`dxc` doesn't set the alignment. Emulate this.
Pull Request: https://github.com/llvm/llvm-project/pull/100697
Commit: c22171f12fa9f260e2525cf61b93c136889e17f2
https://github.com/llvm/llvm-project/commit/c22171f12fa9f260e2525cf61b93c136889e17f2
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/include/llvm/Analysis/DXILResource.h
M llvm/lib/Analysis/DXILResource.cpp
M llvm/unittests/Analysis/DXILResourceTest.cpp
Log Message:
-----------
Revert "[DXIL][Analysis] Make alignment on StructuredBuffer optional" (#101088)
Seeing build failures, reverting to investigate.
Reverts llvm/llvm-project#100697
Commit: bb4aeb66ab4f39901ef6c1d01baf8b82b81cecfb
https://github.com/llvm/llvm-project/commit/bb4aeb66ab4f39901ef6c1d01baf8b82b81cecfb
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
Log Message:
-----------
[SPIRV] Don't specialize MachineModuleInfo to access the LLVMContext. NFC (#101085)
The MachineModuleInfo reference was removed from the MachineFunction in
#100357, which broke this code. Instead of finding another way to get at
the MMI, just avoid using it - we can get at the LLVMContext from the
MachineFunction itself.
Commit: c99bd3ceffc81be0209324e6c4fceeffa9107e4d
https://github.com/llvm/llvm-project/commit/c99bd3ceffc81be0209324e6c4fceeffa9107e4d
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/Transforms/IPO/FunctionImport.cpp
A llvm/test/ThinLTO/X86/ctxprof.ll
Log Message:
-----------
[ctx_prof] Extend `WorkloadImportsManager` to use the contextual profile (#98682)
Keeping the json-based input as it's useful for diagnostics or for driving the import by other means than contextual composition.
The support for the contextual profile is just another modality for constructing the import list (`WorkloadImportsManager::Workloads`).
Everything else - i.e. the actual importing logic - is already independent from how that list was obtained.
Commit: 2c3eb8db057b9d58acd4735999f0f5d5d8d55b0d
https://github.com/llvm/llvm-project/commit/2c3eb8db057b9d58acd4735999f0f5d5d8d55b0d
Author: Daniel Martinez <danielpedromartinez at duck.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M compiler-rt/lib/nsan/nsan_interceptors.cpp
Log Message:
-----------
[nsan] Remove mallopt from nsan_interceptors (#101055)
Fixes a build failure on 19.1.0-rc1 when building on linux with musl as
the libc
musl does not provide mallopt, whereas glibc does. mallopt has
portability issues with other libc implementations. Just remove the use.
Co-authored-by: Daniel Martinez <danielmartinez at cock.li>
Commit: f9765a28a14c48bd900bbea4d0502c9f446d6392
https://github.com/llvm/llvm-project/commit/f9765a28a14c48bd900bbea4d0502c9f446d6392
Author: vporpo <vporpodas at google.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/include/llvm/SandboxIR/SandboxIRValues.def
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
Log Message:
-----------
[SandboxIR] Implement GetElementPtrInst (#101078)
This patch implements sandboxir::GetElementPtrInst which mirrors
llvm::GetElementPtrInst.
Commit: 17993eb162c513fd03753237c5c8229fd629148b
https://github.com/llvm/llvm-project/commit/17993eb162c513fd03753237c5c8229fd629148b
Author: Matthew Weingarten <matt at weingarten.org>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
A llvm/test/Instrumentation/HeapProfiler/basic-histogram.ll
Log Message:
-----------
[Memprof] Adds instrumentation support for memprof with histograms. (#100834)
This patch allows running `-fmemory-profile` without the flag
`-memprof-use-callbacks`, meaning the `RecordAccessesHistogram` is
injected into IR as a sequence of instructions. This significantly
increases performance of the instrumented binary.
Commit: 460a86d8c7b5cd279c437c7e8f611f66a64bda08
https://github.com/llvm/llvm-project/commit/460a86d8c7b5cd279c437c7e8f611f66a64bda08
Author: Thurston Dang <thurston at google.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
A llvm/test/Instrumentation/MemorySanitizer/AArch64/neon_vst_lane.ll
Log Message:
-----------
[msan] Precommit tests for Arm NEON VST with lanes (#100645)
MSan does not yet correctly instrument the st{2,3,4}lane intrinsics but
the test should still pass.
st1lane does not map to an Arm NEON instruction and is already correctly
instrumented.
Commit: 76605f5718e07bc0e551620a39a0853cb6fc81f5
https://github.com/llvm/llvm-project/commit/76605f5718e07bc0e551620a39a0853cb6fc81f5
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Driver/linker-wrapper.c
M clang/test/Driver/openmp-offload-gpu.c
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
M clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td
Log Message:
-----------
[LinkerWrapper] Make `-Xoffload-linker` match `-Xlinker` semantics (#101032)
Summary:
`-Xlinker` is supposed to pass options to the linker, while
`-Xoffload-linker` instead passes it to the `clang` job. This is
unintuitive and results in unnecessarily complex command lines. Because
passing it to the clang job is still useful, I've added
`-device-compiler`. This changes the behavior of the flag, but I think
it should be fine in this case since it's likely rarely used and has a
direct replacement.
---------
Co-authored-by: Joel E. Denny <jdenny.ornl at gmail.com>
Commit: 42326c7170283efce84b4c29b3bc25836ed88301
https://github.com/llvm/llvm-project/commit/42326c7170283efce84b4c29b3bc25836ed88301
Author: Julius Alexandre <juliuswoosebert at gmail.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
Log Message:
-----------
[SandboxIR] Added new StoreInst::create() functions with isVolatile arg (#100961)
This patch implements new create() functions with an `IsVolatile` argument for sandboxir::StoreInst.
Commit: 03e1eb29e7169ddb0804b1d0b9d71d6d2aaf531d
https://github.com/llvm/llvm-project/commit/03e1eb29e7169ddb0804b1d0b9d71d6d2aaf531d
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/trunc-select-to-max-usat.ll
Log Message:
-----------
[RISCV] Replace hasStdExtV with hasVInstructions.
This prevents excluding Zve*
Commit: 3de76e4f57bdba612ddca7ac53b2f5787929391a
https://github.com/llvm/llvm-project/commit/3de76e4f57bdba612ddca7ac53b2f5787929391a
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/pr94265.ll
Log Message:
-----------
[RISCV] Replace hasStdExtV with hasVInstructions in isTruncateFree.
This prevents excluding the embedded vector extensions Zve*.
Commit: ee6d932b4f258ae36c5f75ae1ab52656dde49c83
https://github.com/llvm/llvm-project/commit/ee6d932b4f258ae36c5f75ae1ab52656dde49c83
Author: Michael Jones <michaelrj at google.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/unistd/BUILD.bazel
Log Message:
-----------
[libc][bazel] Remove tid tests from bazel (#101109)
In patch https://github.com/llvm/llvm-project/pull/100915 the tid code
was reverted. The bazel build wasn't updated, leaving some broken
targets. This patch fixes those.
Commit: 3a9ef4e69a3fec3203bd3e1caa53edf4b76843cf
https://github.com/llvm/llvm-project/commit/3a9ef4e69a3fec3203bd3e1caa53edf4b76843cf
Author: Wei Wang <apollo.mobility at gmail.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
A clang/test/CodeGenCoroutines/coro-elide-thinlto.cpp
M llvm/lib/Passes/PassBuilderPipelines.cpp
M llvm/test/Other/new-pm-thinlto-prelink-defaults.ll
M llvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
M llvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
Log Message:
-----------
[Pipelines] Do not run CoroSplit and CoroCleanup in LTO pre-link pipeline (#100205)
This is re-land of #90310 after making asan skip pre-split coroutines in
#99415.
Skip CoroSplit and CoroCleanup in LTO pre-link pipeline so that
CoroElide can happen after callee coroutine is imported into caller's
module in ThinLTO.
Commit: 73c961a3345c697f40e2148318f34f5f347701c1
https://github.com/llvm/llvm-project/commit/73c961a3345c697f40e2148318f34f5f347701c1
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Fix misannotations of `<` in ternary expressions (#100980)
Fixes #100300.
Commit: 40b4fd7a3e81d32b29364a1b15337bcf817659c0
https://github.com/llvm/llvm-project/commit/40b4fd7a3e81d32b29364a1b15337bcf817659c0
Author: Chen Zheng <czhengsz at cn.ibm.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Analysis/ConstantFolding.cpp
Log Message:
-----------
[NFC] fix build failure (#100993)
Fix the build failure caused by
https://github.com/llvm/llvm-project/pull/94944
Fixes https://github.com/llvm/llvm-project/issues/100296
Commit: c9cc6c4772df6fc6f30d1e6831b83fe4db5f2044
https://github.com/llvm/llvm-project/commit/c9cc6c4772df6fc6f30d1e6831b83fe4db5f2044
Author: Jannick Kremer <51118500+DeinAlptraum at users.noreply.github.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M clang/lib/Sema/SemaOpenMP.cpp
Log Message:
-----------
[Clang][Sema][NFC] Remove duplicate check in if-condition (#101070)
Resolves #101041
Commit: 9b14831a4ade78d06754f2112aead3b99f73a98a
https://github.com/llvm/llvm-project/commit/9b14831a4ade78d06754f2112aead3b99f73a98a
Author: Julius Alexandre <juliuswoosebert at gmail.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
Log Message:
-----------
[SandboxIR][NFC] Removed comments from LoadInst test case (#101099)
Commit: 6d02f62e4af90295a6e0386e3e96afe518777c17
https://github.com/llvm/llvm-project/commit/6d02f62e4af90295a6e0386e3e96afe518777c17
Author: Han-Chung Wang <hanhan0912 at gmail.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
M mlir/test/Dialect/Linalg/vectorization-with-patterns.mlir
Log Message:
-----------
[mlir][linalg] Add vectorization support for minnumf/maxnumf reductions. (#101092)
This is a follow-up for
https://discourse.llvm.org/t/rfc-fix-floating-point-max-and-min-operations-in-mlir/72671
The ops were splitted to two version, and the vectorization support for
one of them is missing.
The revision also renames the existing lit tests accordingly, which
explicitly puts `maximumf/minimumf` to the function names.
Commit: 677796cab327409012bab0e374e743602435edaf
https://github.com/llvm/llvm-project/commit/677796cab327409012bab0e374e743602435edaf
Author: jameshu15869 <55058507+jameshu15869 at users.noreply.github.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M libc/benchmarks/gpu/CMakeLists.txt
M libc/benchmarks/gpu/LibcGpuBenchmark.cpp
M libc/benchmarks/gpu/LibcGpuBenchmark.h
M libc/benchmarks/gpu/src/CMakeLists.txt
A libc/benchmarks/gpu/src/math/CMakeLists.txt
A libc/benchmarks/gpu/src/math/sin_benchmark.cpp
M libc/benchmarks/gpu/timing/amdgpu/timing.h
M libc/benchmarks/gpu/timing/nvptx/timing.h
Log Message:
-----------
[libc] Add Generic and NVPTX Sin Benchmark (#99795)
This PR adds sin benchmarking for a range of values and on a
pregenerated random distribution.
Commit: 7cf67d499287b22c6e2aa118009ed06eaef5e5d6
https://github.com/llvm/llvm-project/commit/7cf67d499287b22c6e2aa118009ed06eaef5e5d6
Author: Michael Liao <michael.hliao at gmail.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M clang/lib/Sema/SemaStmtAttr.cpp
Log Message:
-----------
[clang][Sema] Remove dead code. NFC
Commit: 6bd5fd35063cd14b0a56bc6f7fb1e7b6e1ac56d5
https://github.com/llvm/llvm-project/commit/6bd5fd35063cd14b0a56bc6f7fb1e7b6e1ac56d5
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.h
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/CMakeLists.txt
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.h
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Log Message:
-----------
[lldb] Reland 2402b3213c2f with `-H -MM` to debug the windows build issue
This patch relands 2402b3213c2f to investigate the ambigious typedef
issue happening on the windows bots:
https://lab.llvm.org/buildbot/#/builders/141/builds/1175/
However this patch adds the `-H` & `-MM` compiler flags when building
the ScriptedProcessPythonInterface library to be able to investigate the
include order issue.
This patch will be revert after 1 failing run on the windows bot.
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: bbde3f6e9df018975bc84fa23ba510360b6d715c
https://github.com/llvm/llvm-project/commit/bbde3f6e9df018975bc84fa23ba510360b6d715c
Author: Thurston Dang <thurston at google.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
M llvm/test/Instrumentation/MemorySanitizer/AArch64/neon_vst.ll
M llvm/test/Instrumentation/MemorySanitizer/AArch64/neon_vst_float.ll
M llvm/test/Instrumentation/MemorySanitizer/AArch64/neon_vst_origins.ll
Log Message:
-----------
[msan] Support vst1x_{2,3,4} and vst_{2,3,4} with floating-point parameters (#100644)
Cloning the vst_ intrinsics to apply them to the shadows did not work if
the arguments were floating-point, since the shadows are integers. This
patch changes MSan to create an intrinsic of the correct integer types.
Additionally, this patch adds support for vst1x_{2,3,4}; these can be
handled similarly to vst_{2,3,4}, since in all cases we are adapting the
corresponding intrinsic.
This also updates the tests.
Commit: 8425aa24d802c73e24368a81a4a96afc158497aa
https://github.com/llvm/llvm-project/commit/8425aa24d802c73e24368a81a4a96afc158497aa
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.h
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/CMakeLists.txt
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.cpp
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.h
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Log Message:
-----------
Revert "[lldb] Reland 2402b3213c2f with `-H -MM` to debug the windows build issue"
This reverts commit 6bd5fd35063cd14b0a56bc6f7fb1e7b6e1ac56d5.
Commit: e90c21831f375d0469b4213ab71cc7de0cd5ab20
https://github.com/llvm/llvm-project/commit/e90c21831f375d0469b4213ab71cc7de0cd5ab20
Author: Luke Lau <luke at igalia.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-buildvec.ll
Log Message:
-----------
[RISCV] Use APInt in isSimpleVIDSequence to account for index overflow (#100072)
At zvl1024b, we may have legal fixed length vectors where a vid.v would
overflow at i8, e.g. <512 x i8>.
When lowering constant build_vectors, isSimpleVIDSequence used uint64_t
to model the vid.v sequence which meant it didn't account for the fact
that it could overflow in these larger types.
This patch fixes it by modelling the sequence with an SEW-wide APInt so
if it does overflow the loop that checks/calculates the addend will
detect it and bail.
Fixes #99729
Commit: 4ed66cb4e14303435d0df30f428d0758fe880b57
https://github.com/llvm/llvm-project/commit/4ed66cb4e14303435d0df30f428d0758fe880b57
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/AMDGPU/fma.ll
M llvm/test/Analysis/CostModel/AMDGPU/fmuladd.ll
Log Message:
-----------
AMDGPU: Improve cost handling of fma/fmuladd (#100798)
We were overcounting the cost of fast f32 FMA. Also address todo
and handle fmuladd (which I'm just assuming lowers to FMA, the slow FMA
expansion is about as fast on slow targets anyway).
Commit: 524795926be00ac4ce5ca1c0db6f81d8bb18e609
https://github.com/llvm/llvm-project/commit/524795926be00ac4ce5ca1c0db6f81d8bb18e609
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/AMDGPU/copysign.ll
M llvm/test/Transforms/SLPVectorizer/AMDGPU/slp-v2f16.ll
Log Message:
-----------
AMDGPU: Enable vectorization of v2f16 copysign (#100799)
Commit: ad8026587464f29e53c673e892d646a4b94f138b
https://github.com/llvm/llvm-project/commit/ad8026587464f29e53c673e892d646a4b94f138b
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
Log Message:
-----------
[RISCV] Qualify all XCV predicates with !is64Bit. (#101074)
The tablegen patterns all have isRV32. I did not check if any of them
could naively support RV64.
Fixes #101067 and probably other bugs like it we haven't found yet.
Commit: 43de4e03a3ebd2ce1a035fdd6cfa4b107817fe99
https://github.com/llvm/llvm-project/commit/43de4e03a3ebd2ce1a035fdd6cfa4b107817fe99
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVCallLowering.cpp
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
M llvm/lib/Target/RISCV/RISCVSubtarget.h
Log Message:
-----------
[RISCV] Rename hasVInstructionsBF16 to hasVInstructionsBF16Minimal. NFC (#101080)
This makes it more consistent with Zvfhmin since it is not a complete
bf16 implementation.
Commit: 3fcc4f28ed808d72cb3c6bc45f9bca891ae5ca48
https://github.com/llvm/llvm-project/commit/3fcc4f28ed808d72cb3c6bc45f9bca891ae5ca48
Author: Yeting Kuo <46629943+yetingk at users.noreply.github.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M clang/lib/CodeGen/CGStmt.cpp
A clang/test/CodeGen/inline-asm-size-zero.c
Log Message:
-----------
[clang][CodeGen] Don't crash on output whose size is zero. (#99849)
This fixes issue #63878 caused by creating an integer with zero
bitwidth.
Commit: 28f9575b41ce5a184baeaab95f5db74fb3ad176f
https://github.com/llvm/llvm-project/commit/28f9575b41ce5a184baeaab95f5db74fb3ad176f
Author: Dmitry Chestnykh <dm.chestnykh at gmail.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
M compiler-rt/test/sanitizer_common/TestCases/Linux/dump_registers_aarch64.cpp
M compiler-rt/test/sanitizer_common/TestCases/Linux/dump_registers_arm.cpp
M compiler-rt/test/sanitizer_common/TestCases/Linux/dump_registers_i386.cpp
M compiler-rt/test/sanitizer_common/TestCases/Linux/dump_registers_x86_64.cpp
Log Message:
-----------
[compiler-rt] Require glibc for DumpAllRegisters on Linux (#101131)
For example musl doesn't provide REG_R* definitions for ARM
#100398
Commit: 3e2631c9c62990467eca3e173f714367d7e7c0dd
https://github.com/llvm/llvm-project/commit/3e2631c9c62990467eca3e173f714367d7e7c0dd
Author: hev <wangrui at loongson.cn>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
M llvm/test/CodeGen/LoongArch/rotl-rotr.ll
Log Message:
-----------
[LoongArch] Optimize codegen for ISD::ROTL (#100344)
The LoongArch rotr.{w,d} instruction ignores the high bits of the shift
operand, allowing it to generate more efficient code using the constant
zero register.
Commit: 0e6f64cd5e5a06bd78542d5541a762154546ced3
https://github.com/llvm/llvm-project/commit/0e6f64cd5e5a06bd78542d5541a762154546ced3
Author: hev <wangrui at loongson.cn>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchExpandPseudoInsts.cpp
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.cpp
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.h
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
M llvm/test/CodeGen/LoongArch/code-models.ll
M llvm/test/CodeGen/LoongArch/expand-call.ll
M llvm/test/CodeGen/LoongArch/global-address.ll
M llvm/test/CodeGen/LoongArch/global-variable-code-model.ll
M llvm/test/CodeGen/LoongArch/machinelicm-address-pseudos.ll
M llvm/test/CodeGen/LoongArch/psabi-restricted-scheduling.ll
M llvm/test/CodeGen/LoongArch/tls-models.ll
Log Message:
-----------
[LoongArch] Reimplement to prevent Pseudo{CALL, LA*}_LARGE instruction reordering (#100099)
The Pseudo{CALL, LA*}_LARGE instruction patterns specified in psABI
v2.30 cannot be reordered. This patch sets scheduling boundaries for
these instructions to prevent reordering. The Pseudo{CALL, LA*}_LARGE
instruction is moved back to Pre-RA expansion, which will help with
subsequent address calculation optimizations.
Commit: 2d6f4d22ef8be48db151019bb763de725104857a
https://github.com/llvm/llvm-project/commit/2d6f4d22ef8be48db151019bb763de725104857a
Author: David CARLIER <devnexen at gmail.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
A compiler-rt/test/sanitizer_common/TestCases/NetBSD/dump_registers_i386.cpp
A compiler-rt/test/sanitizer_common/TestCases/NetBSD/dump_registers_x86_64.cpp
Log Message:
-----------
[compiler-rt] DumpAllRegisters implementation for netbsd i386/x86_64. (#99743)
Commit: 84ad292f343e0b0b821fc18447a20c59530f9ec7
https://github.com/llvm/llvm-project/commit/84ad292f343e0b0b821fc18447a20c59530f9ec7
Author: WANG Rui <wangrui at loongson.cn>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/test/CodeGen/LoongArch/inline-asm-constraint-m.ll
A llvm/test/CodeGen/LoongArch/merge-base-offset.ll
Log Message:
-----------
[LoongArch] Pre-commit tests for merge base offset. NFC
Commit: 3d149123f46cee5ac8d961c6bf77c5c566f1e410
https://github.com/llvm/llvm-project/commit/3d149123f46cee5ac8d961c6bf77c5c566f1e410
Author: Rainer Orth <ro at gcc.gnu.org>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cpp
Log Message:
-----------
[sanitizer_common][test] Always skip select allocator tests on SPARC V9 (#100530)
Two allocator tests `FAIL` on Linux/sparc64:
```
SanitizerCommon-Unit :: ./Sanitizer-sparcv9-Test/SanitizerCommon/CombinedAllocator32Compact
SanitizerCommon-Unit :: ./Sanitizer-sparcv9-Test/SanitizerCommon/SizeClassAllocator32Iteration
```
The failure mode is the same on Solaris/sparcv9, where those tests are
already disabled since 0f69cbe2694a4740e6db5b99bd81a26746403072.
Therefore, this patch skips them on SPARC in general.
Tested on `sparc64-unknown-linux-gnu` and `sparcv9-sun-solaris2.11`.
Commit: 9eefe065bb2752b0db9ed553d2406e9a15ce349e
https://github.com/llvm/llvm-project/commit/9eefe065bb2752b0db9ed553d2406e9a15ce349e
Author: Rainer Orth <ro at gcc.gnu.org>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/tests/sanitizer_ioctl_test.cpp
Log Message:
-----------
[sanitizer_common][test] Fix SanitizerIoctl/KVM_GET_* tests on Linux/… (#100532)
…sparc64
Two ioctl tests `FAIL` on Linux/sparc64 (both 32 and 64-bit):
```
SanitizerCommon-Unit :: ./Sanitizer-sparc-Test/SanitizerIoctl/KVM_GET_LAPIC
SanitizerCommon-Unit :: ./Sanitizer-sparc-Test/SanitizerIoctl/KVM_GET_MP_STATE
```
like
```
compiler-rt/lib/sanitizer_common/tests/./Sanitizer-sparc-Test --gtest_filter=SanitizerIoctl.KVM_GET_LAPIC
--
compiler-rt/lib/sanitizer_common/tests/sanitizer_ioctl_test.cpp:91: Failure
Value of: res
Actual: false
Expected: true
compiler-rt/lib/sanitizer_common/tests/sanitizer_ioctl_test.cpp:92: Failure
Expected equality of these values:
ioctl_desc::WRITE
Which is: 2
desc.type
Which is: 1
```
The problem is that Linux/sparc64, like Linux/mips, uses a different
layout for the `ioctl` `request` arg than most other Linux targets as
can be seen in `sanitizer_platform_limits_posix.h` (`IOC_*`). Therefore,
this patch makes the tests use the correct one.
Tested on `sparc64-unknown-linux-gnu` and `x86_64-pc-linux-gnu`.
Commit: 1c53b907bd6348138a59da270836fc9b4c161a07
https://github.com/llvm/llvm-project/commit/1c53b907bd6348138a59da270836fc9b4c161a07
Author: Rainer Orth <ro at gcc.gnu.org>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
Log Message:
-----------
[sanitizer_common] Don't use syscall(SYS_clone) on Linux/sparc64 (#100534)
```
SanitizerCommon-Unit :: ./Sanitizer-sparc-Test/SanitizerCommon/StartSubprocessTest
```
and every single test using the `llvm-symbolizer` `FAIL` on
Linux/sparc64 in a very weird way: when using `StartSubprocess`, there's
a call to `internal_fork`, but we never reach `internal_execve`.
`internal_fork` is implemented using `syscall(SYS_clone)`. The calling
convention of that syscall already varies considerably between targets,
but as documented in `clone(2)`, SPARC again is widely different.
Instead of trying to match `glibc` here, this patch just calls `__fork`.
Tested on `sparc64-unknown-linux-gnu` and `x86_64-pc-linux-gnu`.
Commit: 94394ca980f8ecbd845155d2170cfd865e4d62dc
https://github.com/llvm/llvm-project/commit/94394ca980f8ecbd845155d2170cfd865e4d62dc
Author: Rainer Orth <ro at gcc.gnu.org>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M compiler-rt/test/sanitizer_common/TestCases/Linux/signal_line.cpp
Log Message:
-----------
[sanitizer_common] Fix signal_line.cpp on SPARC (#100535)
```
SanitizerCommon-ubsan-sparc-Linux :: Linux/signal_line.cpp
```
currently `FAIL`s on Linux/sparc64 (32 and 64-bit) for `n == 2`. Instead
of the expected `SIGSEGV`, the test dies with `SIGBUS`. `strace` reveals
that this is due to a unaligned access:
```
--- SIGBUS {si_signo=SIGBUS, si_code=BUS_ADRALN, si_addr=0x1} ---
```
which is to be expected on a strict-alignment target like SPARC. Fixed
by changing the invalid pointer to be better aligned.
Tested on `sparc64-unknown-linux-gnu` and `x86_64-pc-linux-gnu`.
Commit: 7cecbdfe4eac3fd7268532426fb6b13e51b8720d
https://github.com/llvm/llvm-project/commit/7cecbdfe4eac3fd7268532426fb6b13e51b8720d
Author: Rainer Orth <ro at gcc.gnu.org>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M compiler-rt/test/sanitizer_common/TestCases/Linux/signal_send.cpp
Log Message:
-----------
[sanitizer_common] Adjust signal_send.cpp for Linux/sparc64 (#100538)
```
SanitizerCommon-ubsan-sparc-Linux :: Linux/signal_send.cpp
```
currently `FAIL`s on Linux/sparc64 (32 and 64-bit). Instead of the
expected values for `SIGUSR1` (`10`) and `SIGUSR1` (`12`), that target
uses `30` and `31`.
On Linux/x86_64, the signals get their values from
`x86_64-linux-gnu/bits/signum-generic.h`, to be overridden in
`x86_64-linux-gnu/bits/signum.h`. On Linux/sparc64 OTOH, the definitions
are from `sparc64-linux-gnu/bits/signum-arch.h` and remain that way.
There's no `signum.h` at all.
The patch allows for both values.
Tested on `sparc64-unknown-linux-gnu` and `x86_64-pc-linux-gnu`.
Commit: 1c25f2cd470c2882e422b66d0482f5a120960394
https://github.com/llvm/llvm-project/commit/1c25f2cd470c2882e422b66d0482f5a120960394
Author: Rainer Orth <ro at gcc.gnu.org>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
Log Message:
-----------
[sanitizer_common][test] Fix InternalMmapWithOffset on 32-bit Linux/s… (#101011)
…parc64
```
SanitizerCommon-Unit :: ./Sanitizer-sparc-Test/SanitizerCommon/InternalMmapWithOffset
```
`FAIL`s on 32-bit Linux/sparc64:
```
projects/compiler-rt/lib/sanitizer_common/tests/./Sanitizer-sparc-Test --gtest_filter=SanitizerCommon.InternalMmapWithOffset
--
compiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cpp:335: Failure
Expected equality of these values:
'A'
Which is: 'A' (65, 0x41)
p[0]
Which is: '\0'
```
It turns out the `pgoffset` arg to `mmap2` is passed incorrectly in this
case, unlike the 64-bit test. The caller, `MapWritableFileToMemory`,
passes an `u64` arg, while `mmap2` expects an `off_t`. This patch casts
the arg accordingly.
Tested on `sparc64-unknown-linux-gnu` and `x86_64-pc-linux-gnu`.
Commit: fcd6bd5587cc376cd8f43b60d1c7d61fdfe0f535
https://github.com/llvm/llvm-project/commit/fcd6bd5587cc376cd8f43b60d1c7d61fdfe0f535
Author: Rainer Orth <ro at gcc.gnu.org>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
Log Message:
-----------
[sanitizer_common] Fix internal_*stat on Linux/sparc64 (#101012)
```
SanitizerCommon-Unit :: ./Sanitizer-sparcv9-Test/SanitizerCommon/FileOps
```
`FAIL`s on 64-bit Linux/sparc64:
```
projects/compiler-rt/lib/sanitizer_common/tests/./Sanitizer-sparcv9-Test --gtest_filter=SanitizerCommon.FileOps
--
compiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cpp:144: Failure
Expected equality of these values:
len1 + len2
Which is: 10
fsize
Which is: 1721875535
```
The issue is similar to the mips64 case: the Linux/sparc64 `*stat`
syscalls take a `struct kernel_stat64 *` arg. Also the syscalls actually
used differ.
This patch handles this, adopting the mips64 code to avoid too much
duplication.
Tested on `sparc64-unknown-linux-gnu` and `x86_64-pc-linux-gnu`.
Commit: abc2fe31fc622c4eab3766d739576110eb6f16c3
https://github.com/llvm/llvm-project/commit/abc2fe31fc622c4eab3766d739576110eb6f16c3
Author: Alexander Pivovarov <pivovaa at amazon.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M clang/lib/AST/MicrosoftMangle.cpp
M llvm/include/llvm/ADT/APFloat.h
M llvm/lib/Support/APFloat.cpp
M llvm/unittests/ADT/APFloatTest.cpp
Log Message:
-----------
[APFloat] Add support for f8E3M4 IEEE 754 type (#99698)
This PR adds `f8E4M3` type to APFloat.
`f8E3M4` type follows IEEE 754 convention
```c
f8E3M4 (IEEE 754)
- Exponent bias: 3
- Maximum stored exponent value: 6 (binary 110)
- Maximum unbiased exponent value: 6 - 3 = 3
- Minimum stored exponent value: 1 (binary 001)
- Minimum unbiased exponent value: 1 − 3 = −2
- Precision specifies the total number of bits used for the significand (mantissa),
including implicit leading integer bit = 4 + 1 = 5
- Follows IEEE 754 conventions for representation of special values
- Has Positive and Negative zero
- Has Positive and Negative infinity
- Has NaNs
Additional details:
- Max exp (unbiased): 3
- Min exp (unbiased): -2
- Infinities (+/-): S.111.0000
- Zeros (+/-): S.000.0000
- NaNs: S.111.{0,1}⁴ except S.111.0000
- Max normal number: S.110.1111 = +/-2^(6-3) x (1 + 15/16) = +/-2^3 x 31 x 2^(-4) = +/-15.5
- Min normal number: S.001.0000 = +/-2^(1-3) x (1 + 0) = +/-2^(-2)
- Max subnormal number: S.000.1111 = +/-2^(-2) x 15/16 = +/-2^(-2) x 15 x 2^(-4) = +/-15 x 2^(-6)
- Min subnormal number: S.000.0001 = +/-2^(-2) x 1/16 = +/-2^(-2) x 2^(-4) = +/-2^(-6)
```
Related PRs:
- [PR-97179](https://github.com/llvm/llvm-project/pull/97179) [APFloat]
Add support for f8E4M3 IEEE 754 type
Commit: 2b23e6c8d6a28ce1c134d1b6b322e35eec9d98e4
https://github.com/llvm/llvm-project/commit/2b23e6c8d6a28ce1c134d1b6b322e35eec9d98e4
Author: Observer007 <45875558+Observer007 at users.noreply.github.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M mlir/include/mlir/Dialect/NVGPU/IR/NVGPU.td
M mlir/include/mlir/Dialect/NVGPU/IR/NVGPUDialect.h
M mlir/lib/Conversion/NVGPUToNVVM/NVGPUToNVVM.cpp
M mlir/lib/Dialect/NVGPU/IR/NVGPUDialect.cpp
M mlir/test/Conversion/NVGPUToNVVM/nvgpu-to-nvvm.mlir
M mlir/test/Dialect/NVGPU/invalid.mlir
Log Message:
-----------
[mlir][nvgpu] Add `nvgpu.rcp` OP (#100965)
This PR introduces a new OP for reciprocal calculation for `vector`
types using `nvvm.rcp` OPs. Currently, it supports only f32 types
---------
Co-authored-by: jingzec <jingzec at nvidia.com>
Commit: 155b7a12820ec45095988b6aa6e057afaf2bc892
https://github.com/llvm/llvm-project/commit/155b7a12820ec45095988b6aa6e057afaf2bc892
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M compiler-rt/lib/interception/interception_linux.h
Log Message:
-----------
[Sanitizers] Avoid overload ambiguity for interceptors (#100986)
Since glibc 2.40 some functions like openat make use of overloads when
built with `-D_FORTIFY_SOURCE=2`, see:
https://github.com/bminor/glibc/blob/master/io/bits/fcntl2.h
This means that doing something like `(uintptr_t) openat` or `(void *)
openat` is now ambiguous, breaking the compiler-rt build on new glibc
versions.
Fix this by explicitly casting the symbol to the expected function type
before casting it to an intptr. The expected type is obtained as
`decltype(REAL(func))` so we don't have to repeat the signature from
INTERCEPTOR in the INTERCEPT_FUNTION macro.
Fixes https://github.com/llvm/llvm-project/issues/100754.
Commit: 053bbb6a71abf15dd086a292aa92fccfc54e1f56
https://github.com/llvm/llvm-project/commit/053bbb6a71abf15dd086a292aa92fccfc54e1f56
Author: David CARLIER <devnexen at gmail.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
Log Message:
-----------
[compiler-rt] DumpAllRegisters fix for other unimplemented oses (#101134)
Commit: 25bea3eb03dc3f9036af37bd51edcf297662d34f
https://github.com/llvm/llvm-project/commit/25bea3eb03dc3f9036af37bd51edcf297662d34f
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/include/llvm/MC/MCELFStreamer.h
M llvm/lib/MC/MCELFStreamer.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
M llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
M llvm/lib/Target/AVR/MCTargetDesc/AVRELFStreamer.cpp
M llvm/lib/Target/CSKY/MCTargetDesc/CSKYELFStreamer.cpp
M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchELFStreamer.cpp
M llvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
Log Message:
-----------
[MC] Forward declare ELFObjectWriter (#100989)
Commit: 78e7ec3be88bac7f3cd9ab32758156d479b0a106
https://github.com/llvm/llvm-project/commit/78e7ec3be88bac7f3cd9ab32758156d479b0a106
Author: Edd Dawson <edd.dawson at sony.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M clang/test/Driver/unified-lto.c
Log Message:
-----------
[PS4/PS5][Driver] Allow unified-lto.c test to find .*ld.exe (#101034)
It's common in SIE development environments to have the PlayStation
linkers on the %PATH%. In such cases, the driver will resolve the linker
name to an existing executable, replete with ".exe" extension. Update
recent modifications to clang/test/Driver/unified-lto.c to allow for
this.
Commit: e8f07cdb57602d71f8960c0499765bcb000745c2
https://github.com/llvm/llvm-project/commit/e8f07cdb57602d71f8960c0499765bcb000745c2
Author: Victor Perez <victor.perez at codeplay.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M mlir/include/mlir/Dialect/SCF/Transforms/Patterns.h
M mlir/include/mlir/Dialect/SCF/Transforms/Transforms.h
M mlir/lib/Dialect/SCF/Transforms/CMakeLists.txt
A mlir/lib/Dialect/SCF/Transforms/RotateWhileLoop.cpp
M mlir/test/Dialect/SCF/wrap-while-loop-in-zero-trip-check.mlir
M mlir/test/lib/Dialect/SCF/TestSCFWrapInZeroTripCheck.cpp
Log Message:
-----------
[MLIR][SCF] Define `-scf-rotate-while` pass (#99850)
Define SCF dialect patterns rotating `scf.while` loops leveraging
existing `mlir::scf::wrapWhileLoopInZeroTripCheck`. `forceCreateCheck`
is always `false` as the pattern would lead to an infinite recursion
otherwise.
This pattern rotates `scf.while` ops, mutating them from "while" loops to
"do-while" loops. A guard checking the condition for the first iteration
is inserted. Note this guard can be optimized away if the compiler can
prove the loop will be executed at least once.
Using this pattern, the following while loop:
```mlir
scf.while (%arg0 = %init) : (i32) -> i64 {
%val = .., %arg0 : i64
%cond = arith.cmpi .., %arg0 : i32
scf.condition(%cond) %val : i64
} do {
^bb0(%arg1: i64):
%next = .., %arg1 : i32
scf.yield %next : i32
}
```
Can be transformed into:
``` mlir
%pre_val = .., %init : i64
%pre_cond = arith.cmpi .., %init : i32
scf.if %pre_cond -> i64 {
%res = scf.while (%arg1 = %va0) : (i64) -> i64 {
// Original after block
%next = .., %arg1 : i32
// Original before block
%val = .., %next : i64
%cond = arith.cmpi .., %next : i32
scf.condition(%cond) %val : i64
} do {
^bb0(%arg2: i64):
%scf.yield %arg2 : i32
}
scf.yield %res : i64
} else {
scf.yield %pre_val : i64
}
```
The test pass for `wrapWhileLoopInZeroTripCheck` has been modified to
use the new pattern when `forceCreateCheck=false`.
---------
Signed-off-by: Victor Perez <victor.perez at codeplay.com>
Commit: 16e9bb9cd7f50ae2ec7f29a80bc3b95f528bfdbf
https://github.com/llvm/llvm-project/commit/16e9bb9cd7f50ae2ec7f29a80bc3b95f528bfdbf
Author: Rainer Orth <ro at gcc.gnu.org>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
Log Message:
-----------
[sanitizer_common] Make sanitizer_linux.cpp kernel_stat* handling Linux-specific
fcd6bd5587cc376cd8f43b60d1c7d61fdfe0f535 broke the Solaris/sparcv9 buildbot:
```
compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp:39:14: fatal error: 'asm/unistd.h' file not found
39 | # include <asm/unistd.h>
| ^~~~~~~~~~~~~~
```
That section should have been Linux-specific in the first place, which is
what this patch does.
Tested on sparcv9-sun-solaris2.11.
Commit: 518d8632ce54308f52614b165ee8d84f45d54e54
https://github.com/llvm/llvm-project/commit/518d8632ce54308f52614b165ee8d84f45d54e54
Author: Balázs Kéri <balazs.keri at ericsson.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M clang/lib/AST/ASTImporter.cpp
M clang/unittests/AST/ASTImporterTest.cpp
Log Message:
-----------
[clang][ASTImporter] Fix import of template parameter default values. (#100100)
Default values of template parameters (non-type, type, template) were
not correctly handled in the "inherited" case. This occurs if the first
declaration contains the default value but a next one not. The default
value is "inherited" from the first.
In ASTImporter it was only possible to set the inherited status after
the template object was created with the template parameters that were
imported without handling the inherited case. The import function of the
template parameter contains not enough information (previous
declaration) to set the inherited-from status. After the template was
created, default value of the parameters that should be inherited is
reset to inherited mode.
Commit: 533a22941e9acee1460fbd054fbfa57b82d660e5
https://github.com/llvm/llvm-project/commit/533a22941e9acee1460fbd054fbfa57b82d660e5
Author: Dmitri Gribenko <gribozavr at gmail.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M clang/test/CodeGenCoroutines/coro-elide-thinlto.cpp
Log Message:
-----------
[clang][test] Write temporary files to %t
The issue was introduced in
https://github.com/llvm/llvm-project/commit/3a9ef4e69a3fec3203bd3e1caa53edf4b76843cf.
Commit: 55357d8b92e32999aca83daab017df35e87e9ed2
https://github.com/llvm/llvm-project/commit/55357d8b92e32999aca83daab017df35e87e9ed2
Author: Freddy Ye <freddy.ye at intel.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
M llvm/test/MC/X86/apx/ccmp-att.s
M llvm/test/MC/X86/apx/ccmp-intel.s
M llvm/test/MC/X86/apx/ctest-att.s
M llvm/test/MC/X86/apx/ctest-intel.s
Log Message:
-----------
[X86][MC] Add alias for `{evex} cmp` and `{evex} test`. (#99277)
Related gas patch:
https://sourceware.org/pipermail/binutils/2024-June/134478.html
Commit: c6b192ac2e1441b3484781488adef2986408ebdf
https://github.com/llvm/llvm-project/commit/c6b192ac2e1441b3484781488adef2986408ebdf
Author: nicole mazzuca <nicole at strega-nil.co>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M libcxx/test/std/algorithms/alg.nonmodifying/alg.find.last/ranges.find_last.pass.cpp
M libcxx/test/std/algorithms/alg.nonmodifying/alg.find.last/ranges.find_last_if.pass.cpp
M libcxx/test/std/algorithms/alg.nonmodifying/alg.find.last/ranges.find_last_if_not.pass.cpp
M libcxx/test/support/test_iterators.h
Log Message:
-----------
[libc++][test] Do not assume array::iterator is a pointer (#100603)
In the tests I added for `ranges::find_last{_if{_not}}`, I accidentally
introduced an assumption that `same_as<array<T, 0>::iterator, T*>`; this
is a faulty assumption on MSVC-STL.
Fixes #100498.
Commit: 7645a7690de1c050d933a2dbe1e9156057006333
https://github.com/llvm/llvm-project/commit/7645a7690de1c050d933a2dbe1e9156057006333
Author: martinboehme <mboehme at google.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M clang/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h
Log Message:
-----------
[clang][dataflow] Remove legacy version of `runDataflowAnalysis()`. (#101146)
Commit: 96b1ae8927a411ef691a8843dc5add156581b1c0
https://github.com/llvm/llvm-project/commit/96b1ae8927a411ef691a8843dc5add156581b1c0
Author: Alex Bradbury <asb at igalia.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M compiler-rt/lib/builtins/cpu_model/riscv.c
Log Message:
-----------
[compiler-rt][RISCV][NFC] Add link to kernel documenation on hwprobe interface
Makes it a little easier for future reviewers/maintainers.
Commit: b1542afd0b3d393aea3a0ccab41b850f59e4033c
https://github.com/llvm/llvm-project/commit/b1542afd0b3d393aea3a0ccab41b850f59e4033c
Author: Luke Lau <luke at igalia.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.h
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoV.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
M llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
M llvm/lib/Target/RISCV/RISCVSchedSiFive7.td
M llvm/lib/Target/RISCV/RISCVSchedSiFiveP600.td
M llvm/lib/Target/RISCV/RISCVScheduleV.td
M llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp
M llvm/test/CodeGen/RISCV/rvv/vleff-vlseg2ff-output.ll
Log Message:
-----------
[RISCV] Rename merge operand -> passthru. NFC (#100330)
We sometimes call the first tied dest operand in vector pseudos the
merge operand, and other times the passthru.
Passthru seems to be more common, and it's what the C intrinsics call
it[^1], so this renames all usages of merge to passthru to be
consistent. It also helps prevent confusion with vmerge.vvm in some of
the peephole optimisations.
[^1]:
https://github.com/riscv-non-isa/rvv-intrinsic-doc/blob/main/doc/rvv-intrinsic-spec.adoc#the-passthrough-vd-argument-in-the-intrinsics
Commit: ca8a4111f796fe8533e0af95557875b15becff06
https://github.com/llvm/llvm-project/commit/ca8a4111f796fe8533e0af95557875b15becff06
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
A clang/test/Modules/inline-builtins.cppm
Log Message:
-----------
[C++20] [Modules] Always emit the inline builtins
See the attached test for the motivation example. If we're too greedy to
not emit the definition for inline builtins, we may meet a middle end
crash. And it should be good to emit inline builtins always.
Commit: 2b2f4ae0fbe366ebaa8811bed567a6ff76bbe3b1
https://github.com/llvm/llvm-project/commit/2b2f4ae0fbe366ebaa8811bed567a6ff76bbe3b1
Author: Eleanor Bonnici <eleanor.bonnici at arm.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/docs/CommandGuide/llvm-objcopy.rst
M llvm/include/llvm/ObjCopy/CommonConfig.h
M llvm/lib/ObjCopy/ConfigManager.cpp
M llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp
A llvm/test/tools/llvm-objcopy/ELF/change-section-address.test
M llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
M llvm/tools/llvm-objcopy/ObjcopyOpts.td
Log Message:
-----------
[llvm-objcopy] Add --change-section-address (#98664)
--change-section address and its alias --adjust-section-vma allows
modification
of section addresses in a relocatable file. This used to be used, for
example,
in Fiasco microkernel.
On a relocatable file this option behaves the same as GNU objcopy, apart
from
the fact that it does not issue any warnings, for example, when an
argument is
not used.
GNU objcopy does not produce an error when passed an executable file but
the
usecase for this is not clear, and the behaviour is inconsistent. The
idea of
GNU objcopy --change-section-address is that the option should change
both LMA
and VMA in an executable file. Since this patch does not implement
executable
file support, only VMA is changed.
Commit: 933b80006af5801f7fe9327d160c04b12bb8d8b8
https://github.com/llvm/llvm-project/commit/933b80006af5801f7fe9327d160c04b12bb8d8b8
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/include/llvm/Support/GenericDomTree.h
M llvm/include/llvm/Support/GenericDomTreeConstruction.h
M llvm/test/Transforms/SCCP/ipsccp-preserve-pdt.ll
Log Message:
-----------
[Support][NFC] Use DomTreeBase methods in SemiNCA (#101059)
Previously, there were two implementations with identical behavior to
erase a node from a dominator tree, one in the DomTreeBase and one in
SemiNCAInfo. Remove the latter, as it is completely redundant.
Also, use getNode() instead of a direct access into DomTreeNodes. This
will simplify replacing the data structure of DomTreeNodes later on.
While at it, also use swap+pop_back instead of erase when removing a
node from the children vector to avoid O(n) copy. This slightly changes
the order of the tree nodes after removal, but should have no impact.
Commit: f6a928a532543a5db4ab89fccbede42f8df32f0f
https://github.com/llvm/llvm-project/commit/f6a928a532543a5db4ab89fccbede42f8df32f0f
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/include/llvm/Support/GenericDomTree.h
M llvm/include/llvm/Support/GenericDomTreeConstruction.h
Log Message:
-----------
[Support][NFC] Simplify DomTreeNodeBase::addChild (#101056)
Previously, the method would take the unique_ptr, store the pointer in
its Children vector, and then return the unique_ptr. Pass the raw
pointer as parameter instead. Also merge createChild and createNode to
avoid code duplication.
This was added in a72d6ef891707173b when introducing unique_ptr,
previously this was a source code size optimization.
Commit: 95e9afff30920a43c98fea9a3ece1a2129207946
https://github.com/llvm/llvm-project/commit/95e9afff30920a43c98fea9a3ece1a2129207946
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/TargetParser/Host.cpp
Log Message:
-----------
[X86] Update sub-features of APX for host CPU
This is a follow-up for https://github.com/llvm/llvm-project/pull/80636
Commit: d90fa612604b49dfc81c3f42c106fab7401322ec
https://github.com/llvm/llvm-project/commit/d90fa612604b49dfc81c3f42c106fab7401322ec
Author: Xing Xue <xingxue at outlook.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M libunwind/src/UnwindCursor.hpp
M libunwind/test/aix_signal_unwind.pass.sh.S
Log Message:
-----------
[libunwind][AIX] Fix the wrong traceback from signal handler (#101069)
Patch [llvm#92291](https://github.com/llvm/llvm-project/pull/92291)
causes wrong traceback from a signal handler for AIX because the AIX
unwinder uses the traceback table at the end of each function instead of
FDE/CIE for unwinding. This patch adds a condition to exclude traceback
table based unwinding from the code added by the patch.
Commit: 803db1f5254047b08b6887c52009d4e72e67a673
https://github.com/llvm/llvm-project/commit/803db1f5254047b08b6887c52009d4e72e67a673
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M clang/lib/AST/Interp/Compiler.cpp
Log Message:
-----------
[clang][Interp][NFC] Add missing fallthrough when parsing While loops
Commit: a27a01212ab68d6d5aee882906674def21c5ab0b
https://github.com/llvm/llvm-project/commit/a27a01212ab68d6d5aee882906674def21c5ab0b
Author: Simon Camphausen <simon.camphausen at iml.fraunhofer.de>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
Log Message:
-----------
[MLIR][EmitC] Fix typo in op description (#101153)
Commit: 36c57532f528e2d6420c0d205841af8b76c70d6a
https://github.com/llvm/llvm-project/commit/36c57532f528e2d6420c0d205841af8b76c70d6a
Author: Adrian Kuegel <akuegel at google.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M mlir/lib/CAPI/Dialect/SparseTensor.cpp
Log Message:
-----------
[mlir] Apply ClangTidy performance finding.
Commit: 53925e33c5943bee7cf2fe29ca1274a42a5d5687
https://github.com/llvm/llvm-project/commit/53925e33c5943bee7cf2fe29ca1274a42a5d5687
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M clang/lib/AST/Interp/Descriptor.cpp
M clang/test/AST/Interp/lifetimes.cpp
Log Message:
-----------
[clang][Interp] Fix primitive MoveFn (#101165)
Declaring the SrcPtr as const will cause us later to call the copy ctor
instead of the move ctor.
Commit: c39daa6e19800d9a1b20ec6e04b2a68149dcf89c
https://github.com/llvm/llvm-project/commit/c39daa6e19800d9a1b20ec6e04b2a68149dcf89c
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M clang/lib/AST/Interp/Interp.h
M clang/test/AST/Interp/records.cpp
Log Message:
-----------
[clang][Interp] Pick right dynamic type when doing virtual calls (#101166)
Commit: 51681409aeb081c8dfe241e0d8e8c71f8bf0a4f4
https://github.com/llvm/llvm-project/commit/51681409aeb081c8dfe241e0d8e8c71f8bf0a4f4
Author: Adrian Kuegel <akuegel at google.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][Bazel] Adapt to 2b23e6c8d6a28ce1c134d1b6b322e35eec9d98e4
Commit: 5d833ee6acc85bf108a8787ba233e955728868ab
https://github.com/llvm/llvm-project/commit/5d833ee6acc85bf108a8787ba233e955728868ab
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Analysis/ScalarEvolution.cpp
Log Message:
-----------
[SCEV] Avoid unnecessary computeConstantDifference() call (NFC)
No need to do the second one if the first one already failed.
Commit: 41c0f89f5532ec110b927c3a67ceac83448c5d98
https://github.com/llvm/llvm-project/commit/41c0f89f5532ec110b927c3a67ceac83448c5d98
Author: Jacek Caban <jacek at codeweavers.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64Arm64ECCallLowering.cpp
M llvm/test/CodeGen/AArch64/arm64ec-hybrid-patchable.ll
Log Message:
-----------
[CodeGen][ARM64EC] Use alias symbol for exporting hybrid_patchable functions. (#100872)
Exporting $hp_target symbol doesn't make sense, use the unmangled alias instead.
This is not compatible with MSVC, but it makes using dllexport together with
hybrid_patchable attribute possible.
Commit: 65697b1c7cc9824d51f22f109c6a32428a7dd557
https://github.com/llvm/llvm-project/commit/65697b1c7cc9824d51f22f109c6a32428a7dd557
Author: Johannes Reifferscheid <jreiffers at google.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/unittests/Analysis/ScalarEvolutionTest.cpp
Log Message:
-----------
Remove value cache in SCEV comparator. (#100721)
The cache triggers almost never, and seems unlikely to help with
performance. However, when it does, it is likely to cause the comparator
to become inconsistent due to a bad interaction of the depth limit and
cache hits. This leads to crashes in debug builds. See the new unit test
for a reproducer.
Commit: 8d28d448e35add632345ff6d1c45449155652756
https://github.com/llvm/llvm-project/commit/8d28d448e35add632345ff6d1c45449155652756
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Analysis/ScalarEvolution.cpp
Log Message:
-----------
[SCEV] Fix outdated comment (NFC)
The EqCache parameter has been removed.
Commit: 14dfdc00d96b9c51eae4c802397ac5b15f097401
https://github.com/llvm/llvm-project/commit/14dfdc00d96b9c51eae4c802397ac5b15f097401
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/IR/OptBisect.cpp
Log Message:
-----------
[OptBisect] Add an option to disable print of pass message (#101065)
The print could take a huge amount of time if there are millions of
optimization
passes running. This patch simply adds an option to disable the print.
Commit: 26ca7820ebe06369227efaa282fb2ac96c5aa74a
https://github.com/llvm/llvm-project/commit/26ca7820ebe06369227efaa282fb2ac96c5aa74a
Author: Brandon Wu <brandon.wu at sifive.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M clang/include/clang/Basic/AttrDocs.td
Log Message:
-----------
[NFC][clang] Fix typo of `riscv_rvv_vector_bits` in AttrDocs (#101046)
Commit: 243b27f7e1fbd6131d00cdcd4c06d6ce6e57a0e5
https://github.com/llvm/llvm-project/commit/243b27f7e1fbd6131d00cdcd4c06d6ce6e57a0e5
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M clang/include/clang/AST/ASTNodeTraverser.h
M clang/include/clang/AST/DeclOpenMP.h
M clang/include/clang/AST/OpenMPClause.h
M clang/include/clang/AST/RecursiveASTVisitor.h
M clang/lib/AST/StmtProfile.cpp
M clang/lib/CodeGen/CGDecl.cpp
M clang/lib/CodeGen/CGOpenMPRuntime.cpp
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/Sema/SemaOpenMP.cpp
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTWriter.cpp
M clang/tools/libclang/CIndex.cpp
Log Message:
-----------
[clang][OpenMP] Rename `varlists` to `varlist`, NFC (#101058)
It returns a range of variables (via Expr*), not a range of lists.
Commit: 6cb95f73e1974e5e36a6d2b0d1457c401819ffde
https://github.com/llvm/llvm-project/commit/6cb95f73e1974e5e36a6d2b0d1457c401819ffde
Author: martinboehme <mboehme at google.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M clang/include/clang/Analysis/FlowSensitive/AdornedCFG.h
Log Message:
-----------
[clang][dataflow] Remove deprecated method `AdornedCFG::getStmtToBlock()`. (#101174)
Commit: 7937eaa0db5752296a54fad22b4e80cf3f93be41
https://github.com/llvm/llvm-project/commit/7937eaa0db5752296a54fad22b4e80cf3f93be41
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/test/Transforms/IRCE/wide_indvar.ll
Log Message:
-----------
[IRCE] Regenerate test checks (NFC)
Commit: d2b6a8ee67efc16d6594dfa9fdcf4a27251c7dac
https://github.com/llvm/llvm-project/commit/d2b6a8ee67efc16d6594dfa9fdcf4a27251c7dac
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
M llvm/test/CodeGen/AMDGPU/inline-asm.ll
Log Message:
-----------
AMDGPU: Fix asserting when trying to print scc (#101175)
This is printable using inline assembly. Also we should
handle using scc directly as instruction operands.
Commit: d92a484e6f5c9063d82ca79405bb3557d88ad575
https://github.com/llvm/llvm-project/commit/d92a484e6f5c9063d82ca79405bb3557d88ad575
Author: Alex Bradbury <asb at igalia.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M compiler-rt/lib/builtins/aarch64/sme-abi-vg.c
Log Message:
-----------
[compiler-rt][AArch64][NFCI] Use CONSTRUCTOR_ATTRIBUTE in sme-abi-vg.c (#101159)
sme-abi-vg.c includes cpu_model/aarch64.h which includes cpu_model.h
which has an equivalent define for `CONSTRUCTOR_ATTRIBUTE` that has the
same checks for the GCC version that we repeat here. Just use that,
rather than repeating the same logic.
Commit: b4444dca47c41436aa781bfd38aac6eca856ef23
https://github.com/llvm/llvm-project/commit/b4444dca47c41436aa781bfd38aac6eca856ef23
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
M mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
M mlir/lib/Dialect/Vector/Transforms/VectorInsertExtractStridedSliceRewritePatterns.cpp
M mlir/lib/Dialect/Vector/Transforms/VectorLinearize.cpp
Log Message:
-----------
[mlir][vector] Use `DenseI64ArrayAttr` for shuffle masks (#101163)
Follow on from #100997. This again removes from boilerplate conversions
to/from IntegerAttr and int64_t (otherwise, this is a NFC).
Commit: b356aa3e2da7d1792412783e2c6247538ead75e8
https://github.com/llvm/llvm-project/commit/b356aa3e2da7d1792412783e2c6247538ead75e8
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUGISel.td
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/test/CodeGen/AMDGPU/GlobalISel/atomicrmw_fmax.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/atomicrmw_fmin.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/divergence-divergent-i1-phis-no-lane-mask-merging.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/divergent-control-flow.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/floor.f64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/global-atomic-fadd.f64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-constant.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fconstant.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-constant.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-global-saddr.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-smrd.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ptrmask.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.intersect_ray.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.mfma.gfx90a.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.rsq.clamp.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.set.inactive.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.memset.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/mubuf-global.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/sdiv.i64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/srem.i64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/udiv.i64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/urem.i64.ll
M llvm/test/CodeGen/AMDGPU/bf16.ll
M llvm/test/CodeGen/AMDGPU/frame-index-elimination.ll
M llvm/test/CodeGen/AMDGPU/insert_vector_dynelt.ll
M llvm/test/CodeGen/AMDGPU/lds-frame-extern.ll
M llvm/test/CodeGen/AMDGPU/lower-lds-struct-aa-memcpy.ll
M llvm/test/CodeGen/AMDGPU/mmra.ll
M llvm/test/CodeGen/AMDGPU/offset-split-flat.ll
M llvm/test/CodeGen/AMDGPU/offset-split-global.ll
M llvm/test/CodeGen/AMDGPU/roundeven.ll
M llvm/test/CodeGen/AMDGPU/scalar_to_vector_v2x16.ll
M llvm/test/CodeGen/AMDGPU/vgpr-spill-placement-issue61083.ll
Log Message:
-----------
AMDGPU/GlobalISel: Partially move constant selection to patterns (#100786)
This is still relying on the manual code for splitting 64-bit
constants, and handling pointers.
We were missing some of the tablegen patterns for all immediate types,
so this has some side effect DAG path improvements. This also reduces
the diff in the 2 selector outputs.
Commit: 2033767d68ed9aabcf1ad5d2bdd7541b272a05fd
https://github.com/llvm/llvm-project/commit/2033767d68ed9aabcf1ad5d2bdd7541b272a05fd
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInstructions.td
Log Message:
-----------
AMDGPU: Cleanup immediate selection patterns (#100787)
Reorder for consistency, so the same types for v/s are together.
Commit: dcb4399f07180bcad4632f152225309ea70f0700
https://github.com/llvm/llvm-project/commit/dcb4399f07180bcad4632f152225309ea70f0700
Author: Jannick Kremer <51118500+DeinAlptraum at users.noreply.github.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M clang/bindings/python/clang/cindex.py
M clang/bindings/python/tests/cindex/test_code_completion.py
M clang/bindings/python/tests/cindex/test_comment.py
M clang/docs/ReleaseNotes.rst
Log Message:
-----------
[libclang/python] Fix some type errors, add type annotations (#98745)
This fixes a few of the more debatable type errors, and adds related
annotations, as the next step towards #76664. This fixes 71 out of the
remaining 418 strict typing errors.
Commit: 6b08e4d3ac52c4cccba650d6a8afce61dcb6fb2f
https://github.com/llvm/llvm-project/commit/6b08e4d3ac52c4cccba650d6a8afce61dcb6fb2f
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/docs/SourceLevelDebugging.rst
Log Message:
-----------
[docs] SourceLevelDebugging: fix metadata references (#101187)
The metadata was off-by-one in a couple of places, making the
explanatory text incorrect.
Commit: 1d0723d4fb333f50d7eddac964ac09e9b05efb57
https://github.com/llvm/llvm-project/commit/1d0723d4fb333f50d7eddac964ac09e9b05efb57
Author: Manupa Karunaratne <manupa.karunaratne at amd.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M mlir/include/mlir/Dialect/AMDGPU/IR/AMDGPU.td
M mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp
M mlir/test/Conversion/AMDGPUToROCDL/amdgpu-to-rocdl.mlir
M mlir/test/Dialect/AMDGPU/ops.mlir
Log Message:
-----------
[MLIR][AMDGPU] Add amdgpu.sched_barrier (#98911)
This commit adds sched_barrier operator
to AMDGPU dialect that lowers to rocdl.sched.barrier.
Commit: 42d641ef5cc4bd82f98ef9959a593ca6db66d75d
https://github.com/llvm/llvm-project/commit/42d641ef5cc4bd82f98ef9959a593ca6db66d75d
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-constant.mir
Log Message:
-----------
AMDGPU/GlobalISel: Select all constants in tablegen (#100788)
This regresses the arbitrary address space pointer case. Ideally
we could write a pattern that matches a pointer based only on
its size, but using iPTR/iPTRAny seem to not work for this.
Commit: 8fc329421b2e3bc5cdda98ce303ea3b07af58ebc
https://github.com/llvm/llvm-project/commit/8fc329421b2e3bc5cdda98ce303ea3b07af58ebc
Author: Matthias Springer <me at m-sp.org>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M mlir/lib/Transforms/Utils/DialectConversion.cpp
M mlir/test/Transforms/test-legalize-type-conversion.mlir
M mlir/test/lib/Dialect/Test/TestOps.td
M mlir/test/lib/Dialect/Test/TestPatterns.cpp
Log Message:
-----------
[mlir][Transforms] Dialect conversion: Add missing "else if" branch (#101148)
This code got lost in #97213 and there was no test for it. Add it back
with an MLIR test.
When a pattern is run without a type converter, we can assume that the
new block argument types of a signature conversion are legal. That's
because they were specified by the user. This won't work for 1->N
conversions due to limitations in the dialect conversion infrastructure,
so the original `FIXME` has to stay in place.
Commit: bf42a7860a208439a0a29f5dcc7a33949c484efb
https://github.com/llvm/llvm-project/commit/bf42a7860a208439a0a29f5dcc7a33949c484efb
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M libc/config/gpu/entrypoints.txt
M libc/src/stdlib/CMakeLists.txt
M libc/src/stdlib/gpu/CMakeLists.txt
A libc/src/stdlib/gpu/aligned_alloc.cpp
A libc/src/stdlib/gpu/calloc.cpp
A libc/src/stdlib/gpu/realloc.cpp
Log Message:
-----------
[libc] Implement placeholder memory functions on the GPU (#101082)
Summary:
These functions are needed for `libc++` to link successfully. We can't
implement them well currently, so simply provide some stand-in
implementations. `realloc` will currently copy garbage and potentially
fault and `aligned_alloc` will work unless your alignment is more than
4K alignment. However, these should work in practice to get tests
running. I will write a real allocator soon™.
Commit: 8f7910a4fc08818462e0e836db74b20290cd36c7
https://github.com/llvm/llvm-project/commit/8f7910a4fc08818462e0e836db74b20290cd36c7
Author: jameshu15869 <55058507+jameshu15869 at users.noreply.github.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M libc/benchmarks/gpu/src/math/CMakeLists.txt
M libc/benchmarks/gpu/src/math/sin_benchmark.cpp
Log Message:
-----------
[libc] Add AMDGPU Sin Benchmark (#101120)
This PR adds support for benchmarking `__ocml_sin_f64()` against
`sin()`. This PR is currently a draft because I do not have access to an
AMD GPU and was not able to test the PR, but the code compiled when I
ran `ninja gpu-benchmark` from `runtimes-amdgcn-amd-amdhsa-bins`
Co-authored-by: Joseph Huber <huberjn at outlook.com>
Commit: d01c0514ab272bc06aa5845acb810d0eec587436
https://github.com/llvm/llvm-project/commit/d01c0514ab272bc06aa5845acb810d0eec587436
Author: Luke Lau <luke at igalia.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/test/CodeGen/RISCV/rvv/rvv-peephole-vmerge-vops.ll
M llvm/test/CodeGen/RISCV/rvv/vmv.v.v-peephole.ll
Log Message:
-----------
[RISCV] Fix vmerge.vvm/vmv.v.v getting folded into ops with mismatching EEW (#101152)
As noted in
https://github.com/llvm/llvm-project/pull/100367/files#r1695448771, we
currently fold in vmerge.vvms and vmv.v.vs into their ops even if the
EEW is different which leads to an incorrect transform.
This checks the op's EEW via its simple value type for now since there
doesn't seem to be any existing information about the EEW size of
instructions. We'll probably need to encode this at some point if we
want to be able to access it at the MachineInstr level in #100367
Commit: 971a1ac4451017e625f81a4a8c15092c06dd2eb3
https://github.com/llvm/llvm-project/commit/971a1ac4451017e625f81a4a8c15092c06dd2eb3
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/math/CMakeLists.txt
A libc/src/math/expf16.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/expf16.cpp
M libc/test/UnitTest/FPMatcher.h
M libc/test/src/math/CMakeLists.txt
A libc/test/src/math/expf16_test.cpp
M libc/test/src/math/performance_testing/CMakeLists.txt
A libc/test/src/math/performance_testing/expf16_perf.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/expf16_test.cpp
Log Message:
-----------
[libc][math][c23] Add expf16 C23 math function (#100632)
Part of #95250.
Commit: 33c27f28d1cd05fd0a739498105927c1fba04666
https://github.com/llvm/llvm-project/commit/33c27f28d1cd05fd0a739498105927c1fba04666
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M flang/include/flang/Common/Fortran-features.h
M flang/include/flang/Semantics/semantics.h
M flang/include/flang/Semantics/tools.h
M flang/lib/Semantics/check-allocate.cpp
M flang/lib/Semantics/check-call.cpp
M flang/lib/Semantics/check-purity.cpp
M flang/lib/Semantics/definable.cpp
M flang/lib/Semantics/definable.h
M flang/lib/Semantics/pointer-assignment.cpp
M flang/lib/Semantics/semantics.cpp
M flang/lib/Semantics/tools.cpp
M flang/test/Evaluate/folding08.f90
M flang/test/Semantics/call02.f90
M flang/test/Semantics/call05.f90
M flang/test/Semantics/contiguous01.f90
M flang/test/Semantics/resolve53.f90
A flang/test/Semantics/undef-result01.f90
Log Message:
-----------
[flang] Warn about undefined function results (#99533)
When the result of a function never appears in a variable definition
context, emit a warning.
If the function has multiple result variables due to alternate ENTRY
statements, any definition will suffice.
The implementation of this check is tied to the general variable
definability checking utility in semantics. Every variable definition
context uses it to ensure that no undefinable variable is being defined.
A set of defined variables is maintained in the SemanticsContext and,
when the warning is enabled and no fatal error has been reported, the
scope tree is traversed and all the function subprograms' results are
tested for membership in that set.
Commit: 539a6b500c9c7a808e68db32bf7965985202197f
https://github.com/llvm/llvm-project/commit/539a6b500c9c7a808e68db32bf7965985202197f
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M flang/include/flang/Semantics/symbol.h
M flang/include/flang/Semantics/tools.h
M flang/lib/Semantics/check-declarations.cpp
M flang/lib/Semantics/mod-file.cpp
M flang/lib/Semantics/resolve-names.cpp
M flang/lib/Semantics/runtime-type-info.cpp
M flang/lib/Semantics/symbol.cpp
M flang/lib/Semantics/tools.cpp
M flang/lib/Semantics/type.cpp
M flang/test/Semantics/resolve33.f90
Log Message:
-----------
[flang] Detect use-before-decl errors on type parameters (#99947)
Ensure that type parameters are declared as such before being referenced
within the derived type definition. (Previously, such references would
resolve to symbols in the enclosing scope.)
This change causes the symbols for the type parameters to be created
when the TYPE statement is processed in name resolution. They are
TypeParamDetails symbols with no KIND/LEN attribute set, and they shadow
any symbols of the same name in the enclosing scope.
When the type parameter declarations are processed, the KIND/LEN
attributes are set. Any earlier reference to a type parameter with no
KIND/LEN attribute elicits an error.
Some members of TypeParamDetails have been retyped &/or renamed.
Commit: 1ada2352677cd271869660c99f1f18b2f556ac31
https://github.com/llvm/llvm-project/commit/1ada2352677cd271869660c99f1f18b2f556ac31
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M flang/lib/Parser/prescan.cpp
A flang/test/Preprocessing/line-in-contin.F90
Log Message:
-----------
[flang][preprocessor] Fix handling of #line before free-form continua… (#100178)
…tion
See new test. A #line (or #) directive after a line ending with & and
before its continuation shouldn't elicit an error about mismatched
parentheses.
Fixes https://github.com/llvm/llvm-project/issues/100073.
Commit: 1e5334bcdae462e47d8516464b2cca1674ea899d
https://github.com/llvm/llvm-project/commit/1e5334bcdae462e47d8516464b2cca1674ea899d
Author: Karthika Devi C <quic_kartc at quicinc.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M polly/include/polly/ScopBuilder.h
M polly/include/polly/ScopInfo.h
M polly/lib/Analysis/ScopBuilder.cpp
M polly/lib/Analysis/ScopInfo.cpp
A polly/test/DependenceInfo/reduction_indirect_access.ll
A polly/test/ScopInfo/reduction_double.ll
A polly/test/ScopInfo/reduction_escaping_intermediate_3.ll
A polly/test/ScopInfo/reduction_if.ll
A polly/test/ScopInfo/reduction_indirect_access.ll
A polly/test/ScopInfo/reduction_indirect_access_2.ll
A polly/test/ScopInfo/reduction_long_reduction_chain.ll
A polly/test/ScopInfo/reduction_long_reduction_chain_double_use.ll
A polly/test/ScopInfo/reduction_multiple_different_operators.ll
Log Message:
-----------
[Polly] Data flow reduction detection to cover more cases (#84901)
The base concept is same as existing reduction algorithm where we get
the list of candidate pairs <store,load>. But the existing algorithm
works only if there is single binary operation between the load and
store.
Example sum += a[i];
This algorithm extends to work with more than single binary operation as
well. It is implemented using data flow reduction detection on basic
block level. We propagate the loads, the number of times the load is
used(flows into instruction) and binary operation performed until we
reach a store.
Example sum += a[i] + b[i];
```
sum(Ld) a[i](Ld)
\ + /
tmp b[i](Ld)
\ + /
sum(St)
```
In the above case the candidate pairs are formed by associating sum with
all of its load inputs which are sum, a[i] and b[i]. Then check
functions are used to filter a valid reduction pair ie {sum,sum}.
---------
Co-authored-by: Michael Kruse <github at meinersbur.de>
Commit: fffbabfd4780261942711e3a3676447eba91e877
https://github.com/llvm/llvm-project/commit/fffbabfd4780261942711e3a3676447eba91e877
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M flang/lib/Parser/executable-parsers.cpp
M flang/lib/Parser/program-parsers.cpp
A flang/test/Parser/recovery03.f90
Log Message:
-----------
[flang][parser] Better error recovery for misplaced declaration (#100482)
When a declaration construct appears in the execution part of a block or
subprogram body, report it as such rather than as a misleading syntax
error on the executable statement that it somehow matched the most.
Commit: ed5a78a13fb6c82e4bc8bde13df2fc5e085e6ebb
https://github.com/llvm/llvm-project/commit/ed5a78a13fb6c82e4bc8bde13df2fc5e085e6ebb
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M flang/lib/Semantics/resolve-names.cpp
A flang/test/Semantics/associate04.f90
Log Message:
-----------
[flang] Catch ASSOCIATE(x=>assumed_rank) (#100626)
An assumed-rank dummy argument cannot be the variable or expression in
the selector of an ASSOCIATE construct. (SELECT TYPE/RANK are fine.)
Commit: 6f7e715eae945088f9e81fc39c86166a8d974242
https://github.com/llvm/llvm-project/commit/6f7e715eae945088f9e81fc39c86166a8d974242
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M flang/lib/Evaluate/fold-character.cpp
M flang/lib/Evaluate/fold-implementation.h
M flang/lib/Evaluate/fold-integer.cpp
M flang/lib/Evaluate/fold-real.cpp
A flang/test/Evaluate/rewrite08.f90
Log Message:
-----------
[flang] Don't inject possibly invalid conversions while folding (#100842)
A couple of intrinsic functions have optional arguments. Don't insert
type conversions on those arguments when the actual arguments may not be
present at execution time, due to being OPTIONAL, allocatables, or
pointers.
Commit: ff567a4e0457363f1e2e266b09211b709a21899c
https://github.com/llvm/llvm-project/commit/ff567a4e0457363f1e2e266b09211b709a21899c
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M flang/lib/Evaluate/fold-integer.cpp
M flang/lib/Evaluate/variable.cpp
A flang/test/Evaluate/fold-assumed-type-rank.f90
Log Message:
-----------
[flang] Fix folding of RANK(assumed-type assumed-rank) (#101027)
The code that deals with the special case of RANK(assumed-rank) in
intrinsic function folding wasn't handling the even more special case of
assumed-type assumed-rank dummy arguments.
Commit: c3f7f2886bcfa31b888d0d517ade382893bc5e0b
https://github.com/llvm/llvm-project/commit/c3f7f2886bcfa31b888d0d517ade382893bc5e0b
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
Log Message:
-----------
[libc][math][c23] Temporarily disable expf16 on AArch64 (#101203)
See Buildbot failure:
https://lab.llvm.org/buildbot/#/builders/104/builds/3378.
Commit: 0813260aa88827681da80bedd7f8737ad35c6895
https://github.com/llvm/llvm-project/commit/0813260aa88827681da80bedd7f8737ad35c6895
Author: Job Henandez Lara <hj93 at protonmail.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/arm/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/math/CMakeLists.txt
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/totalorder.cpp
A libc/src/math/generic/totalorderf.cpp
A libc/src/math/generic/totalorderf128.cpp
A libc/src/math/totalorder.h
A libc/src/math/totalorderf.h
A libc/src/math/totalorderf128.h
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/totalorder_test.cpp
A libc/test/src/math/smoke/totalorderf128_test.cpp
A libc/test/src/math/smoke/totalorderf_test.cpp
Log Message:
-----------
[libc][math][c23] Add entrypoints and tests for totalorder{,f,f128} (#100593)
Commit: f08df56d3af3e67ab39ebbfb62be3ed3f86d0c9d
https://github.com/llvm/llvm-project/commit/f08df56d3af3e67ab39ebbfb62be3ed3f86d0c9d
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M libcxx/include/__format/formatter.h
M libcxx/include/__format/formatter_bool.h
M libcxx/include/__format/formatter_char.h
M libcxx/include/__format/formatter_floating_point.h
M libcxx/include/__format/formatter_integer.h
M libcxx/include/__format/formatter_pointer.h
M libcxx/include/__format/formatter_string.h
M libcxx/include/format
M libcxx/modules/std/format.inc
A libcxx/test/std/utilities/format/format.formatter/format.formatter.locking/enable_nonlocking_formatter_optimization.compile.pass.cpp
Log Message:
-----------
[libc++][format] Implements P3107R5 in <format>. (#86713)
This adds the new std::enable_nonlocking_formatter_optimization trait in
<format>. This trait will be used in std::print to implement the
performance benefits.
Implements parts of
- P3107R5 - Permit an efficient implementation of ``std::print``
Commit: 39b6900852e7a1187bd742ba5c1387ca1be58e2c
https://github.com/llvm/llvm-project/commit/39b6900852e7a1187bd742ba5c1387ca1be58e2c
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M libcxx/include/__iterator/bounded_iter.h
M libcxx/include/__iterator/wrap_iter.h
M libcxx/include/deque
Log Message:
-----------
[libc++][spaceship] Removes unneeded relational operators. (#100441)
This is a followup of https://github.com/llvm/llvm-project/pull/99343.
Since that patch was quite late in the LLVM-19 release cycle some of the
unneeded relational operator were not removed in C++20.
This removes them and gives the change a bit more "baking" time, just in
case there are issues with this change in user code. This change is
intended to be an NFC.
Commit: 2acf77f987331c05520c5bfd849326909ffce983
https://github.com/llvm/llvm-project/commit/2acf77f987331c05520c5bfd849326909ffce983
Author: Mike Rice <michael.p.rice at intel.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M clang/include/clang/Basic/AttributeCommonInfo.h
M clang/lib/Basic/Attributes.cpp
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Sema/SemaStmtAttr.cpp
M clang/test/SemaHLSL/Loops/unroll.hlsl
A clang/test/TableGen/attrs-parser-string-switches.td
M clang/utils/TableGen/ClangAttrEmitter.cpp
Log Message:
-----------
[clang] Update argument checking tablegen code to use a 'full' name (#99993)
In 92fc1eb0c1ae3813f2ac9208e2c74207aae9d23 the HLSLLoopHint attribute
was added with an 'unroll' spelling. There is an existing LoopHint
attribute with the same spelling. These attributes have different
arguments.
The tablegen used to produce checks on arguments uses only the attribute
name, making it impossible to return correct info for attribute with
different argument types but the same name.
Improve the situation by using a 'full' name that combines the syntax,
scope, and name. This allows, for example, #pragma unroll and
[[unroll(x)]] to coexist correctly even with different argument types.
Also fix a bug in the StrictEnumParameters tablegen. If will now
correctly specify each parameter instead of only the first.
Commit: c95abe94aebb6862c3518e590343df3b7376ccee
https://github.com/llvm/llvm-project/commit/c95abe94aebb6862c3518e590343df3b7376ccee
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
A offload/plugins-nextgen/common/include/ErrorReporting.h
M offload/plugins-nextgen/common/include/PluginInterface.h
M offload/plugins-nextgen/common/src/PluginInterface.cpp
M offload/src/omptarget.cpp
A offload/test/sanitizer/double_free.c
A offload/test/sanitizer/double_free_racy.c
A offload/test/sanitizer/free_host_ptr.c
A offload/test/sanitizer/free_wrong_ptr_kind.c
A offload/test/sanitizer/free_wrong_ptr_kind.cpp
M openmp/docs/design/Runtimes.rst
Log Message:
-----------
[Offload] Implement double free (and other allocation error) reporting (#100261)
As a first step towards a GPU sanitizer we now can track allocations and
deallocations in order to report double frees, and other problems during
deallocation.
Commit: d69d981d77ee2c9aa740e192d81dabb53c7c3cda
https://github.com/llvm/llvm-project/commit/d69d981d77ee2c9aa740e192d81dabb53c7c3cda
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M clang/lib/Tooling/ArgumentsAdjusters.cpp
M clang/test/Tooling/clang-check-extra-arg.cpp
Log Message:
-----------
[Tooling] -fsyntax-only adjuster: remove -c and -S
compile_commands.json entries often have -c. When adding -fsyntax-only,
we should remove -c to prevent the following warning:
```
% clang -c -fsyntax-only a.c
clang: warning: argument unused during compilation: '-c' [-Wunused-command-line-argument]
```
Previously, -c and -S were inappropriately claimed in
`addPGOAndCoverageFlags` (see the workaround added by commit
a07b135ce0c0111bd83450b5dc29ef0381cdbc39). Now the workaround have been
removed (#98607). (clangDriver reports a -Wunused-command-line-argument
diagnostic for each unclaimed option.)
Fix #100909
Pull Request: https://github.com/llvm/llvm-project/pull/101103
Commit: 1f3b0f4da0aa5142d7de3e6723538d35c34c9008
https://github.com/llvm/llvm-project/commit/1f3b0f4da0aa5142d7de3e6723538d35c34c9008
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M clang/docs/MemorySanitizer.rst
Log Message:
-----------
[docs][msan] List common cases reported by msan (#101105)
Fixes https://github.com/google/sanitizers/issues/1755.
Commit: 5ea9d3d432350b0f63df61026f4eacdd504adee8
https://github.com/llvm/llvm-project/commit/5ea9d3d432350b0f63df61026f4eacdd504adee8
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M clang/docs/MemorySanitizer.rst
Log Message:
-----------
[docs][msan] Improve language consistency
Commit: 442c33f3a3545dfbfa4589a92ab4f2981b6b197c
https://github.com/llvm/llvm-project/commit/442c33f3a3545dfbfa4589a92ab4f2981b6b197c
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M libcxx/docs/Status/Cxx23Issues.csv
M libcxx/include/stdatomic.h
M libcxx/test/std/atomics/stdatomic.h.syn/types.compile.pass.cpp
Log Message:
-----------
[libc++][stdatomic.h] Implements LWG3671. (#99775)
Implements:
- LWG3671 atomic_fetch_xor missing from stdatomic.h
Commit: 5af7086a50249315109f0fabe8aaad344b37ac5a
https://github.com/llvm/llvm-project/commit/5af7086a50249315109f0fabe8aaad344b37ac5a
Author: Dmitry Chestnykh <dm.chestnykh at gmail.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M libcxxabi/src/demangle/ItaniumDemangle.h
Log Message:
-----------
Make caches protected (#101184)
Commit: 6992ebcb4b69fc7f116cd475e4731d3877118c1d
https://github.com/llvm/llvm-project/commit/6992ebcb4b69fc7f116cd475e4731d3877118c1d
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/include/llvm/Analysis/DXILResource.h
M llvm/lib/Analysis/DXILResource.cpp
M llvm/unittests/Analysis/DXILResourceTest.cpp
Log Message:
-----------
Reapply "[DXIL][Analysis] Make alignment on StructuredBuffer optional" (#101113)
Unfortunately storing a `MaybeAlign` in ResourceInfo deletes our move
constructor in compilers that haven't implemented [P0602R4], like GCC 7.
Since we only ever use the alignment in ways where alignment 1 and unset
are ambiguous anyway, we'll just store the integer AlignLog2 value that
we'll eventually use directly.
[P0602R4]:
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0602r4.html
This reverts commit c22171f12fa9f260e2525cf61b93c136889e17f2, reapplying
a94edb6b8e321a46fe429934236aaa4e2e9fb97f.
Commit: eb03279ddcc4bb655021101f0038ece2cec3158a
https://github.com/llvm/llvm-project/commit/eb03279ddcc4bb655021101f0038ece2cec3158a
Author: vporpo <vporpodas at google.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/include/llvm/SandboxIR/SandboxIRValues.def
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
Log Message:
-----------
[SandboxIR] Implement CastInst (#101097)
This patch implements sandboxir::CastInst which mirrors llvm::CastInst.
Just like in llvm::CastInst there are multiple opcodes that correspond
to a CastInst, like ZExt, FPToUI etc. These are implemented in follow-up
patches.
Commit: cc7aef97bb74b53175365a7fa4137aada902b3f2
https://github.com/llvm/llvm-project/commit/cc7aef97bb74b53175365a7fa4137aada902b3f2
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M clang/lib/Sema/SemaHLSL.cpp
Log Message:
-----------
[HLSL][NFC] Initialize DiagnoseHLSLAvailability members (#100778)
Improves readability and removes static verifier trigger.
Commit: 51f728376c4c68b0b287e7f6be568607f9a69452
https://github.com/llvm/llvm-project/commit/51f728376c4c68b0b287e7f6be568607f9a69452
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUResourceUsageAnalysis.cpp
M llvm/lib/Target/AMDGPU/AMDGPUResourceUsageAnalysis.h
Log Message:
-----------
AMDGPU: Remove a pointless SIFunctionResourceInfo::getTotalNumVgprs o… (#101158)
…verload
Commit: 99a0a12ad66b64616788619efbe2db52c066fbe2
https://github.com/llvm/llvm-project/commit/99a0a12ad66b64616788619efbe2db52c066fbe2
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M flang/lib/Parser/program-parsers.cpp
M flang/lib/Parser/stmt-parser.h
A flang/test/Parser/recovery04.f90
Log Message:
-----------
[flang][parser] Better error recovery for SUBROUTINE/FUNCTION statements (#100664)
When there's an error in a SUBROUTINE or FUNCTION statement, errors
cascade quickly because the body of the subprogram or interface isn't in
the right context. So, if a SUBROUTINE or FUNCTION statement is
expected, and contains a SUBROUTINE or FUNCTION keyword, it counts as
one -- retain and emit any errors pertaining to the arguments or suffix,
recover to the end of the line if needed, and proceed.
Commit: d067062a42b0ce591f03c15cb76fe0fb27d1d9c1
https://github.com/llvm/llvm-project/commit/d067062a42b0ce591f03c15cb76fe0fb27d1d9c1
Author: nicole mazzuca <nicole at strega-nil.co>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M libcxx/include/array
Log Message:
-----------
[libc++] fix `array<T, 0>` under `USE_WRAP_ITER` (#101156)
`array<T, 0>::iterator` was always a pointer even when
`_LIBCXX_ABI_USE_WRAP_ITER_IN_STD_ARRAY` was defined. This patch fixes
that minor bug.
Discovered as part of [#100603][].
Drive-by: switch from `typedef` to `using` in `<array>`
[#100603]: https://github.com/llvm/llvm-project/pull/100603
Commit: 9f75270ceb3a0a3fb9b97980031a59652b7d5473
https://github.com/llvm/llvm-project/commit/9f75270ceb3a0a3fb9b97980031a59652b7d5473
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/include/llvm/IR/BasicBlock.h
M llvm/include/llvm/IR/Function.h
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/IR/Function.cpp
M llvm/unittests/IR/FunctionTest.cpp
Log Message:
-----------
[IR] Add per-function numbers to basic blocks (#101052)
Every basic block that is linked into a function now has a unique
number, which can be queried using getNumber(). Numbers are densely
allocated, but not re-assigned on block removal for stability. Block
numbers are intended to be fairly stable and only be updated when
removing a several basic blocks to make sure the numbering doesn't
become too sparse.
To reduce holes in the numbering, renumberBlocks() can be called to
re-assign numbers in block order.
Additionally, getMaxBlockNumber() returns a value larger than the
largest block number, intended to pre-allocate/resize vectors.
Furthermore, this introduces the concept of a "block number epoch" --
an integer that changes after every renumbering. This is useful for
identifying use of block numbers after renumbering: on initialization,
the current epoch is stored, and on all subsequent accesses, equality
with the current epoch can be asserted.
I added a validate method to catch cases where something goes wrong,
even if I can't really imagine how invalid numbers can occur. But I
think it's better to be safe and rule out this potential source of bugs
when more things depend on the numbering.
Previous discussion in:
https://discourse.llvm.org/t/rfc-add-auxiliary-field-for-per-pass-custom-data-to-basicblock/80229
Commit: b7db119eadde630f7ba7e4abc1ca6ee4fa8ccdfe
https://github.com/llvm/llvm-project/commit/b7db119eadde630f7ba7e4abc1ca6ee4fa8ccdfe
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Target/ARM/MCTargetDesc/ARMWinCOFFObjectWriter.cpp
M llvm/test/MC/ARM/Windows/invalid-relocation.s
Log Message:
-----------
[MC,ARM] Change a report_fatal_error to reportError
Similar to other "unsupported relocation type" diagnostics, we don't
report the internal fixup name.
Commit: 8a4b0954030be3a6e81b098d4e3a1f87ded151b9
https://github.com/llvm/llvm-project/commit/8a4b0954030be3a6e81b098d4e3a1f87ded151b9
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RISCV][TLI/TTI] Reject scalable offsets in isLegalAddressing mode
None of our addressing modes support a scalable offset. I could not
figure out how to get LSR to actually try such a formula, but let's
be defensive and explicitly prevent this case from being considered
a valid address mode match.
Commit: 3cc288afedd6b9954dd0b5aa28dc6cc5fedee2c2
https://github.com/llvm/llvm-project/commit/3cc288afedd6b9954dd0b5aa28dc6cc5fedee2c2
Author: vporpo <vporpodas at google.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
Log Message:
-----------
[SandboxIR] Implement PtrToIntInst (#101211)
This patch implements sandboxir::PtrToIntInst mirroring
llvm::PtrToIntInst.
Commit: f86ce8675f74a6b8937f99e3562fbcae51fd1f2f
https://github.com/llvm/llvm-project/commit/f86ce8675f74a6b8937f99e3562fbcae51fd1f2f
Author: Haowei Wu <haowei at google.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
R clang/test/Modules/inline-builtins.cppm
Log Message:
-----------
Revert "[C++20] [Modules] Always emit the inline builtins"
This reverts commit ca8a4111f796fe8533e0af95557875b15becff06.
This patch broke clang test on Windows x64 msvc
Commit: 9843843c88f6cd8fa68c301ba751c001c254cb63
https://github.com/llvm/llvm-project/commit/9843843c88f6cd8fa68c301ba751c001c254cb63
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/test/CodeGen/AMDGPU/dag-divergence.ll
M llvm/test/CodeGen/AMDGPU/inline-asm.ll
M llvm/test/CodeGen/AMDGPU/sdag-print-divergence.ll
M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_isel.ll.expected
Log Message:
-----------
SelectionDAG: Do not propagate divergence through copy glue (#101210)
This fixes DAG divergence mishandling inline asm.
This was considering the glue nodes for divergence, when the
divergence should only come from the individual CopyFromRegs
that are glued. As a result, having any VGPR CopyFromRegs would
taint any uniform SGPR copies as divergent, resulting in SGPR
copies to VGPR virtual registers later.
Commit: 245e6070daa191b1fc6ce05d8fc38a74f918159a
https://github.com/llvm/llvm-project/commit/245e6070daa191b1fc6ce05d8fc38a74f918159a
Author: Teresa Johnson <tejohnson at google.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/LoopSink.cpp
Log Message:
-----------
[LoopSink] Exit loop finding BBs to sink into early when possible (NFC) (#101115)
As noted in the comments, findBBsToSinkInto is
O(UseBBs.size() * ColdLoopBBs.size())
A very large function with a huge loop was incurring a high compile time
in this code. The size of the ColdLoopBBs set was over 14K. There is a
limit on the size of the UseBBs set, but not the ColdLoopBBs (and adding
a limit for the latter actually slowed down some later passes).
This change exits the loop early once we detect that there is no further
refinement possible for the BBsToSinkInto set. This is possible because
the ColdLoopBBs set is sorted in ascending magnitude of frequency.
This cut down the LoopSinkPass time by around 33% (78s to just over
50s).
Commit: 4ad2628ec9bf492f7c2ad4a9ada835d06b1a55e7
https://github.com/llvm/llvm-project/commit/4ad2628ec9bf492f7c2ad4a9ada835d06b1a55e7
Author: RoseZhang03 <rosezhang at google.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M libc/fuzzing/stdlib/CMakeLists.txt
A libc/fuzzing/stdlib/heap_sort_fuzz.cpp
Log Message:
-----------
[libc] fuzz test for heap_sort (#100826)
Made a fuzz test for heap_sort based off of qsort_fuzz implementation
Commit: 8364a6e108faea1a6f05f7bb53720a6fc101fed2
https://github.com/llvm/llvm-project/commit/8364a6e108faea1a6f05f7bb53720a6fc101fed2
Author: RoseZhang03 <rosezhang at google.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M libc/CMakeLists.txt
Log Message:
-----------
[libc] Switch ON for New HeaderGen (#100044)
Turned option to use New HeaderGen when building libc to ON
Commit: f70f1228035c9610de38e0e376afdacb647c4ad9
https://github.com/llvm/llvm-project/commit/f70f1228035c9610de38e0e376afdacb647c4ad9
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/extract-vectorized-operand.ll
Log Message:
-----------
[SLP]Fix PR101213: Reuse extractelement, only if its vector operand comes before new vector value.
When trying to reuse extractelement instruction, need to check that it
is inserted into proper position. Its original vector operand should
come before new vector value, otherwise new extractelement instruction
must be generated.
Fixes https://github.com/llvm/llvm-project/issues/101213
Commit: 89b67a640063189bbd727ade4c912f6e48fee5a0
https://github.com/llvm/llvm-project/commit/89b67a640063189bbd727ade4c912f6e48fee5a0
Author: David Green <david.green at arm.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/loadorder.ll
Log Message:
-----------
[SLP] Cluster SortedBases before sorting. (#101144)
In order to enforce a strict-weak ordering, this patch clusters the
bases that are being sorted by the root - the first value in a gep
chain. The sorting is then performed in each cluster.
Commit: 9808f484534f503e9975d367082ff6933676ca20
https://github.com/llvm/llvm-project/commit/9808f484534f503e9975d367082ff6933676ca20
Author: Allan Shortlidge <tshortli at gmail.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M compiler-rt/lib/builtins/os_version_check.c
M compiler-rt/test/builtins/TestCases/Darwin/platform_version_check_test.c
Log Message:
-----------
[compiler-rt][builtins] Upstream __isPlatformOrVariantPlatformVersionAtLeast() (#100605)
Add `__isPlatformOrVariantPlatformVersionAtLeast()` which is used to
check OS version availability from zippered libraries on macOS. This
routine is needed for complete macCatalyst support in the Swift
compiler.
Commit: cdfd884b0ec698f86a321ba53dc4d9c0b0e930fa
https://github.com/llvm/llvm-project/commit/cdfd884b0ec698f86a321ba53dc4d9c0b0e930fa
Author: S. Bharadwaj Yadavalli <Bharadwaj.Yadavalli at microsoft.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Target/DirectX/DXIL.td
M llvm/lib/Target/DirectX/DXILOpBuilder.cpp
M llvm/lib/Target/DirectX/DXILOpBuilder.h
M llvm/test/CodeGen/DirectX/abs.ll
M llvm/test/CodeGen/DirectX/acos.ll
M llvm/test/CodeGen/DirectX/acos_error.ll
M llvm/test/CodeGen/DirectX/asin.ll
M llvm/test/CodeGen/DirectX/asin_error.ll
M llvm/test/CodeGen/DirectX/atan.ll
M llvm/test/CodeGen/DirectX/atan_error.ll
M llvm/test/CodeGen/DirectX/ceil.ll
M llvm/test/CodeGen/DirectX/ceil_error.ll
M llvm/test/CodeGen/DirectX/clamp.ll
M llvm/test/CodeGen/DirectX/comput_ids.ll
M llvm/test/CodeGen/DirectX/cos.ll
M llvm/test/CodeGen/DirectX/cos_error.ll
M llvm/test/CodeGen/DirectX/cosh.ll
M llvm/test/CodeGen/DirectX/cosh_error.ll
M llvm/test/CodeGen/DirectX/dot2_error.ll
M llvm/test/CodeGen/DirectX/dot3_error.ll
M llvm/test/CodeGen/DirectX/dot4_error.ll
M llvm/test/CodeGen/DirectX/exp.ll
M llvm/test/CodeGen/DirectX/exp2_error.ll
M llvm/test/CodeGen/DirectX/fabs.ll
M llvm/test/CodeGen/DirectX/fdot.ll
A llvm/test/CodeGen/DirectX/flattened_thread_id_in_group_error.ll
M llvm/test/CodeGen/DirectX/floor.ll
M llvm/test/CodeGen/DirectX/floor_error.ll
M llvm/test/CodeGen/DirectX/fmax.ll
M llvm/test/CodeGen/DirectX/fmin.ll
M llvm/test/CodeGen/DirectX/frac_error.ll
A llvm/test/CodeGen/DirectX/group_id_error.ll
M llvm/test/CodeGen/DirectX/idot.ll
M llvm/test/CodeGen/DirectX/isinf.ll
M llvm/test/CodeGen/DirectX/isinf_error.ll
M llvm/test/CodeGen/DirectX/log.ll
M llvm/test/CodeGen/DirectX/log10.ll
M llvm/test/CodeGen/DirectX/log2.ll
M llvm/test/CodeGen/DirectX/log2_error.ll
M llvm/test/CodeGen/DirectX/pow.ll
M llvm/test/CodeGen/DirectX/reversebits.ll
M llvm/test/CodeGen/DirectX/round.ll
M llvm/test/CodeGen/DirectX/round_error.ll
M llvm/test/CodeGen/DirectX/rsqrt.ll
M llvm/test/CodeGen/DirectX/rsqrt_error.ll
M llvm/test/CodeGen/DirectX/sin.ll
M llvm/test/CodeGen/DirectX/sin_error.ll
A llvm/test/CodeGen/DirectX/sin_no_stage_error.ll
M llvm/test/CodeGen/DirectX/sinh.ll
M llvm/test/CodeGen/DirectX/sinh_error.ll
M llvm/test/CodeGen/DirectX/smax.ll
M llvm/test/CodeGen/DirectX/smin.ll
M llvm/test/CodeGen/DirectX/sqrt.ll
M llvm/test/CodeGen/DirectX/sqrt_error.ll
M llvm/test/CodeGen/DirectX/tan.ll
M llvm/test/CodeGen/DirectX/tan_error.ll
M llvm/test/CodeGen/DirectX/tanh.ll
M llvm/test/CodeGen/DirectX/tanh_error.ll
A llvm/test/CodeGen/DirectX/thread_id_error.ll
A llvm/test/CodeGen/DirectX/thread_id_in_group_error.ll
M llvm/test/CodeGen/DirectX/trunc.ll
M llvm/test/CodeGen/DirectX/trunc_error.ll
M llvm/test/CodeGen/DirectX/umax.ll
M llvm/test/CodeGen/DirectX/umin.ll
M llvm/utils/TableGen/DXILEmitter.cpp
Log Message:
-----------
[DXIL] Add DXIL version-specific TableGen specification and implementation of DXIL Ops (#97593)
Update TableGen specification of DXIL Op records in DXIL.td per the
current design document.
- Facilitate specification of overloads, shader stage and attributes
predicated on DXIL Ops predicated DXIL version.
Implement functionality to consume in TableGen backend, DXILEmitter, the
above specification enhancements, and generate C++ code (in
(DXILOperations.inc) that represents properties of DXIL Ops, associated
type declarations and corresponding accessor functions.
Changes to DXIL Op Lowering pass to consume the DXIL Op representation
generated by the TableGen back end.
Add mtriple with the required shader model version to commandline of
tests.
Commit: d9c85338ea9baa0290725e36c5ba548347a57e18
https://github.com/llvm/llvm-project/commit/d9c85338ea9baa0290725e36c5ba548347a57e18
Author: MaheshRavishankar <1663364+MaheshRavishankar at users.noreply.github.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
M mlir/test/Dialect/Linalg/canonicalize.mlir
Log Message:
-----------
[mlir][Linalg] Add a pattern to fold concats of fill. (#98995)
If a concat has all its operands as just fills, and the values match,
then the fill could happen on the concatenated values of the `outs`
operands.
Signed-off-by: MaheshRavishankar <mahesh.ravishankar at gmail.com>
Commit: 76a15e5fc1af921de229190f3ca6189fcdd28277
https://github.com/llvm/llvm-project/commit/76a15e5fc1af921de229190f3ca6189fcdd28277
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RISCV] Keep all the setOperationActions for the same types and opcodes together.
Some of XCV subtarget checks were in their own area.
Commit: 4eb5450f630849ee0518487de38d857fbe5b1aee
https://github.com/llvm/llvm-project/commit/4eb5450f630849ee0518487de38d857fbe5b1aee
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/include/llvm/MC/MCAsmBackend.h
M llvm/include/llvm/MC/MCAssembler.h
M llvm/include/llvm/MC/MCSection.h
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCSection.cpp
M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
Log Message:
-----------
Revert "[MC] Compute fragment offsets eagerly"
This reverts commit 1a47f3f3db66589c11f8ddacfeaecc03fb80c510.
Fix #100283
This commit is actually a trigger of other preexisting problems:
* Size change of fill fragments does not influence the fixed-point iteration.
* The `invalid number of bytes` error is reported too early. Since
`.zero A-B` might have temporary negative values in the first few
iterations.
However, the problems appeared at least "benign" (did not affect the
Linux kernel builds) before this commit.
Commit: 6c7557d44139e335c037c644545388c7e7d6a2e4
https://github.com/llvm/llvm-project/commit/6c7557d44139e335c037c644545388c7e7d6a2e4
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/utils/TableGen/DXILEmitter.cpp
Log Message:
-----------
[DXIL] Fix -Wunused-but-set-variable after #97593
Commit: a6ef0864e9cf365a5cc4a3c39c9c749c49c87c1d
https://github.com/llvm/llvm-project/commit/a6ef0864e9cf365a5cc4a3c39c9c749c49c87c1d
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
R llvm/test/Transforms/SLPVectorizer/X86/extract-vectorized-operand.ll
Log Message:
-----------
Revert "[SLP]Fix PR101213: Reuse extractelement, only if its vector operand comes before new vector value."
This reverts commit f70f1228035c9610de38e0e376afdacb647c4ad9 to fix the
crash reported by https://lab.llvm.org/buildbot/#/builders/133/builds/2456.
Commit: e59c8322632d9e6c9a56d9dfbaf79b4c4ba05bfa
https://github.com/llvm/llvm-project/commit/e59c8322632d9e6c9a56d9dfbaf79b4c4ba05bfa
Author: vporpo <vporpodas at google.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
Log Message:
-----------
[SandboxIR] Implement BitCastInst (#101227)
This patch implements sandboxir::BitCastInst which mirrors
llvm::BitCastInst.
Commit: 273e74b4458fa0d11cafb31b5b2164a8d2006541
https://github.com/llvm/llvm-project/commit/273e74b4458fa0d11cafb31b5b2164a8d2006541
Author: Teresa Johnson <tejohnson at google.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Utils/LCSSA.cpp
Log Message:
-----------
[LCSSA] Cache the loop exit blocks across recursive analysis (NFC) (#101087)
The computation of loop exit blocks recently showed up as a huge compile
time cost for a large file. This computation was already being cached
during an invocation of formLCSSAForInstructions, but can also be cached
across callers formLCSSA and formLCSSARecursively (the latter was what
was being invoked in the examined case).
Since each of these functions has an external entry point invoked from
other passes, doing so required refactoring each into a worker mechanism
that takes a LoopExitBlocks map, and the externally callable version
that declares the map. That way we can pass it down from the outermost
formLCSSARecursively.
This reduced the time spent in the LCSSA pass from ~110s to ~1s.
Commit: c69ed8a3122569a65cd54d8e0d5ef9431f160245
https://github.com/llvm/llvm-project/commit/c69ed8a3122569a65cd54d8e0d5ef9431f160245
Author: Edd Dawson <edd.dawson at sony.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M clang/lib/Driver/ToolChains/PS4CPU.cpp
M clang/test/Driver/ps4-linker.c
Log Message:
-----------
[PS4][Driver] Only pass -lto-debug-options to linker when necessary (#101202)
The PS4 linker doesn't accept an empty LTO options string. Passing
nothing is also consistent with other drivers.
SIE tracker: TOOLCHAIN-16575
Commit: 3ab0e958cc9338a8435ae29f9d381395aaba03c6
https://github.com/llvm/llvm-project/commit/3ab0e958cc9338a8435ae29f9d381395aaba03c6
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M polly/lib/Analysis/ScopBuilder.cpp
Log Message:
-----------
[polly] Remove unused variable in ScopBuilder.cpp (NFC)
/llvm-project/polly/lib/Analysis/ScopBuilder.cpp:2725:18:
error: unused variable 'DT' [-Werror,-Wunused-variable]
DominatorTree *DT = Stmt.getParent()->getDT();
^
1 error generated.
Commit: 6b1d13761ac0c9857763e5f4c0ae554f076dd9b7
https://github.com/llvm/llvm-project/commit/6b1d13761ac0c9857763e5f4c0ae554f076dd9b7
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/extract-vectorized-operand.ll
Log Message:
-----------
[SLP]Fix PR101213: Reuse extractelement, only if its vector operand comes before new vector value.
When trying to reuse extractelement instruction, need to check that it
is inserted into proper position. Its original vector operand should
come before new vector value, otherwise new extractelement instruction
must be generated.
Fixes https://github.com/llvm/llvm-project/issues/101213
Commit: 39e192b379362e9e645427631c35450d55ed517d
https://github.com/llvm/llvm-project/commit/39e192b379362e9e645427631c35450d55ed517d
Author: Alexandre Ganea <aganea at havenstudios.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Support/Windows/Process.inc
M llvm/lib/Support/Windows/Signals.inc
Log Message:
-----------
[Support] Silence warnings when retrieving exported functions (#97905)
Since functions exported from DLLs are type-erased, before this patch I
was seeing the new Clang 19 warning `-Wcast-function-type-mismatch`.
This happens when building LLVM on Windows.
Following discussion in
https://github.com/llvm/llvm-project/commit/593f708118aef792f434185547f74fedeaf51dd4#commitcomment-143905744
Commit: 99fb40d488c9d53dc1dfa0a1791f690523d7e50a
https://github.com/llvm/llvm-project/commit/99fb40d488c9d53dc1dfa0a1791f690523d7e50a
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
R llvm/test/CodeGen/RISCV/rvv/mask-exts-truncs-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/mask-exts-truncs-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/mask-exts-truncs.ll
R llvm/test/CodeGen/RISCV/rvv/vmv.s.x-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vmv.s.x-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/vmv.s.x.ll
R llvm/test/CodeGen/RISCV/rvv/vmv.v.v-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vmv.v.v-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/vmv.v.v.ll
R llvm/test/CodeGen/RISCV/rvv/vmv.v.x-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vmv.v.x-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/vmv.v.x.ll
R llvm/test/CodeGen/RISCV/rvv/vmv.x.s-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vmv.x.s-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/vmv.x.s.ll
R llvm/test/CodeGen/RISCV/rvv/vrgather-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vrgather-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/vrgather.ll
R llvm/test/CodeGen/RISCV/rvv/vrgatherei16-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vrgatherei16-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/vrgatherei16.ll
R llvm/test/CodeGen/RISCV/rvv/vslide1down-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vslide1down-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/vslide1down.ll
R llvm/test/CodeGen/RISCV/rvv/vslide1up-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vslide1up-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/vslide1up.ll
Log Message:
-----------
[RISCV] Merge more rv32/rv64 intrtinsic tests that have (or should have) the same content. NFC
We weren't testing i64 vrgather.vv on rv32.
Commit: 12189f800585ab459afa20b4f159db93ae474b57
https://github.com/llvm/llvm-project/commit/12189f800585ab459afa20b4f159db93ae474b57
Author: Peiming Liu <peiming at google.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
M mlir/test/Dialect/SparseTensor/invalid.mlir
M mlir/test/Dialect/SparseTensor/roundtrip.mlir
Log Message:
-----------
[mlir][sparse] introduce `sparse_tensor.extract_value` operation. (#101219)
Commit: ebdcb76d1a3b6d8fed06c91c0a318f07f4bca628
https://github.com/llvm/llvm-project/commit/ebdcb76d1a3b6d8fed06c91c0a318f07f4bca628
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M libc/benchmarks/gpu/src/math/CMakeLists.txt
Log Message:
-----------
[libc] Only link in the appropriate architecture's device libs
Commit: 546e4a210cb23e24a8086532c007280cb8ad3f13
https://github.com/llvm/llvm-project/commit/546e4a210cb23e24a8086532c007280cb8ad3f13
Author: Job Henandez Lara <hj93 at protonmail.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/arm/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/math/CMakeLists.txt
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/setpayload.cpp
A libc/src/math/generic/setpayloadf.cpp
A libc/src/math/generic/setpayloadf128.cpp
A libc/src/math/setpayload.h
A libc/src/math/setpayloadf.h
A libc/src/math/setpayloadf128.h
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/setpayload_test.cpp
A libc/test/src/math/smoke/setpayloadf128_test.cpp
A libc/test/src/math/smoke/setpayloadf_test.cpp
Log Message:
-----------
[libc][math][c23] Add entrypoints and tests for setpayload{,f,f128} (#101122)
Commit: 79dcd93b70e1e36fea43b1bb297b98299bbbf612
https://github.com/llvm/llvm-project/commit/79dcd93b70e1e36fea43b1bb297b98299bbbf612
Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M bolt/include/bolt/Rewrite/DWARFRewriter.h
M bolt/lib/Rewrite/CMakeLists.txt
M bolt/lib/Rewrite/DWARFRewriter.cpp
M bolt/test/X86/debug-fission-single-convert.s
M bolt/test/X86/debug-fission-single.s
R bolt/test/X86/dwarf4-ftypes-dwo-input-dwp-output.test
R bolt/test/X86/dwarf4-ftypes-dwo-mono-input-dwp-output.test
M bolt/test/X86/dwarf5-df-types-modify-dwo-name-mixed.test
M bolt/test/X86/dwarf5-df-types-modify-dwo-name.test
R bolt/test/X86/dwarf5-ftypes-dwo-mono-input-dwp-output.test
Log Message:
-----------
[BOLT][DWARF] Remove option to write to DWP (#100771)
Remove the --write-dwp option as well as related code and tests.
Commit: a982cabea3cfbf456a01ed85499fa7dfc7ec18c7
https://github.com/llvm/llvm-project/commit/a982cabea3cfbf456a01ed85499fa7dfc7ec18c7
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M clang/cmake/modules/AddClang.cmake
M lldb/cmake/modules/AddLLDB.cmake
M llvm/CMakeLists.txt
M llvm/cmake/modules/AddLLVM.cmake
Log Message:
-----------
[cmake][llvm] Limit the number of Xcode schemes created by default (#101243)
CMake -GXcode would otherwise offer to create one scheme for each
target, which ends up being a lot. For now, limit the default to the
`check-*` LIT targets, plus `ALL_BUILD` and `install`.
For targets that aren't in the default list, we now have a configuration
variable to promote an extra list of targets into schemes, for example
`-DLLVM_XCODE_EXTRA_TARGET_SCHEMES="TargetParserTests;SupportTests"` to
add schemes for `TargetParserTests` and `SupportTests` respectively.
Commit: 80c0e8d572d3b1c34d66faffc42bcfc9432583ec
https://github.com/llvm/llvm-project/commit/80c0e8d572d3b1c34d66faffc42bcfc9432583ec
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/fp-strict-libcalls-msvc32.ll
Log Message:
-----------
[x86][Windows] Fix chromium build break (#101268)
Windows does not support float C89 math functions like:
- acosf
- asinf
- atanf
- coshf
- sinhf
- tanhf
All 6 are disabled in
[TargetLibraryInfo.cpp:293](https://github.com/llvm/llvm-project/blob/39e192b379362e9e645427631c35450d55ed517d/llvm/lib/Analysis/TargetLibraryInfo.cpp#L293C4-L296C41)
These 6 libfuncs need to be type promoted.
This PR fixes the bug introduced by
https://github.com/llvm/llvm-project/pull/98949
Commit: 9589c128ae40df3e2277487544e693f3887f7d63
https://github.com/llvm/llvm-project/commit/9589c128ae40df3e2277487544e693f3887f7d63
Author: Allen <zhongyunde at huawei.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
A clang/test/CodeGen/math-libcalls-tbaa.c
R clang/test/CodeGen/math-libcalls-tbaa.cpp
Log Message:
-----------
[clang codegen] Emit int TBAA metadata on more FP math libcalls (#100302)
Follow #96025, except expf, more FP math libcalls in libm should also be
supported.
Fix https://github.com/llvm/llvm-project/issues/86635
Commit: cc01c83a4ab10fc5421e2121ea273ff1adb3e84c
https://github.com/llvm/llvm-project/commit/cc01c83a4ab10fc5421e2121ea273ff1adb3e84c
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
A llvm/test/MC/ELF/layout-interdependency2.s
Log Message:
-----------
[MC,test] Add a stress test for layout algorithm
Reduced from #100283
Commit: d2f77eb8ec620c8068fa471a1d7b9c9756da1913
https://github.com/llvm/llvm-project/commit/d2f77eb8ec620c8068fa471a1d7b9c9756da1913
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M compiler-rt/include/profile/InstrProfData.inc
M compiler-rt/lib/profile/InstrProfilingFile.c
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/include/llvm/ProfileData/InstrProfData.inc
M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
M llvm/test/Instrumentation/InstrProfiling/mcdc.ll
Log Message:
-----------
[MC/DC][Coverage] Introduce "Bitmap Bias" for continuous mode (#96126)
`counter_bias` is incompatible to Bitmap. The distance between Counters
and Bitmap is different between on-memory sections and profraw image.
Reference to `__llvm_profile_bitmap_bias` is generated only if
`-fcoverge-mcdc` `-runtime-counter-relocation` are specified. The
current implementation rejected their options.
```
Runtime counter relocation is presently not supported for MC/DC bitmaps
```
Commit: 6aaf87021eda13727bfee690652cbbb9d1b3cdb2
https://github.com/llvm/llvm-project/commit/6aaf87021eda13727bfee690652cbbb9d1b3cdb2
Author: Job Henandez Lara <hj93 at protonmail.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M libc/spec/stdc.td
Log Message:
-----------
[libc][math] fix header spec bug (#101273)
Commit: c35c4c72e4977258fc1da940e0470e8d0671bf07
https://github.com/llvm/llvm-project/commit/c35c4c72e4977258fc1da940e0470e8d0671bf07
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.h
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/CMakeLists.txt
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.h
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Log Message:
-----------
[lldb] Reland 2402b3213c2f with `-H` to debug the windows build issue
This patch relands 2402b3213c2f to investigate the ambigious typedef
issue happening on the windows bots:
https://lab.llvm.org/buildbot/#/builders/141/builds/1175/
However this patch adds the `-H` compiler flag when building
the ScriptedProcessPythonInterface library to be able to investigate the
include order issue.
This patch will be revert after 1 failing run on the windows bot.
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: be5a845e4c29aadb513ae6e5e2879dccf37efdbb
https://github.com/llvm/llvm-project/commit/be5a845e4c29aadb513ae6e5e2879dccf37efdbb
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/include/llvm/MC/MCAsmBackend.h
M llvm/include/llvm/MC/MCAssembler.h
M llvm/include/llvm/MC/MCSection.h
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCSection.cpp
M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
M llvm/test/MC/ELF/relax-recompute-align.s
Log Message:
-----------
[MC] Compute fragment offsets eagerly
This builds on top of commit 9d0754ada5dbbc0c009bcc2f7824488419cc5530
("[MC] Relax fragments eagerly") and relaxes fragments eagerly to
eliminate MCSection::HasLayout and `getFragmentOffset` overhead. The
approach is slightly different from
1a47f3f3db66589c11f8ddacfeaecc03fb80c510 and has less performance
benefit.
The new layout algorithm also addresses the following problems:
* Size change of MCFillFragment/MCOrgFragment did not influence the
fixed-point iteration, which could be problematic for contrived cases.
* The `invalid number of bytes` error was reported too early. Since
`.zero A-B` might have temporary negative values in the first few
iterations.
* X86AsmBackend::finishLayout performed only one iteration, which might
not converge. In addition, the removed `#ifndef NDEBUG` code (disabled
by default) in X86AsmBackend::finishLayout was problematic, as !NDEBUG
and NDEBUG builds evaluated fragment offsets at different times before
this patch.
* The computed layout for relax-recompute-align.s is optimal now.
Builds with many text sections (e.g. full LTO) shall observe a decrease
in compile time while the new algorithm could be slightly slower for
some -O0 -g projects.
Aligned bundling from the deprecated PNaCl placed constraints how we can
perform iteration.
Commit: 891d89804b9a8a2be949aa2aca30acba9bc64ebb
https://github.com/llvm/llvm-project/commit/891d89804b9a8a2be949aa2aca30acba9bc64ebb
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/test/Instrumentation/InstrProfiling/mcdc.ll
Log Message:
-----------
Fixup (#96126) mcdc.ll for aarch64. align is not 8.
Commit: 41003ff3fe344dee5c963d462a4bc6d528811d86
https://github.com/llvm/llvm-project/commit/41003ff3fe344dee5c963d462a4bc6d528811d86
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M .github/workflows/release-binaries.yml
Log Message:
-----------
workflows/release-binaries: Fetch composite actions outside of default workspace (#100845)
Otherwise, the checkout step will override them.
Commit: 7231776a0218033ea81f73e69ca4bf66734d3117
https://github.com/llvm/llvm-project/commit/7231776a0218033ea81f73e69ca4bf66734d3117
Author: Julius Alexandre <juliuswoosebert at gmail.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/test/CodeGen/RISCV/avgflooru.ll
A llvm/test/CodeGen/X86/avgflooru-i128.ll
M llvm/test/CodeGen/X86/avgflooru-scalar.ll
Log Message:
-----------
Recommit "[DAG] Reducing instructions by better legalization handling of AVGFLOORU for illegal data types" (#101223)
Previous reverted merge: https://github.com/llvm/llvm-project/pull/99913
Original message:
**Issue:** https://github.com/rust-lang/rust/issues/124790
**Previous PR:** https://github.com/llvm/llvm-project/pull/99614
https://rust.godbolt.org/z/T7eKP3Tvo
**Aarch64:** https://alive2.llvm.org/ce/z/dqr2Kg
**x86:** https://alive2.llvm.org/ce/z/ze88Hw
Commit: fd6faee5b3b5a7c0e5e87aa0b5719a1a48159ea0
https://github.com/llvm/llvm-project/commit/fd6faee5b3b5a7c0e5e87aa0b5719a1a48159ea0
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Arch/X86.cpp
M clang/test/Driver/x86-target-features.c
M llvm/lib/Target/X86/X86Subtarget.cpp
A llvm/test/CodeGen/X86/apx/i386-ndd.ll
Log Message:
-----------
[Driver,CodeGen] Report error when enabling 64-bit-only features on non-64-bit arch (#101151)
In front-end, now we detect for `-mapx-features=/-mapxf` and `-muintr`,
which is aligned with GCC
https://gcc.gnu.org/bugzilla/attachment.cgi?id=58698&action=diff
In backend, we just disable these 64-bit-only features silently, so that
there is no error for
`-march=native -m32` on APX-supported arch.
llvm-issue: https://github.com/llvm/llvm-project/issues/94810
GCC thread: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115978
Commit: f65fa5461dcbaf554babf10ca67ae8fea5b4da7e
https://github.com/llvm/llvm-project/commit/f65fa5461dcbaf554babf10ca67ae8fea5b4da7e
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.h
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/CMakeLists.txt
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.cpp
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.h
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Log Message:
-----------
Revert "[lldb] Reland 2402b3213c2f with `-H` to debug the windows build issue"
This reverts commit c35c4c72e4977258fc1da940e0470e8d0671bf07.
Commit: e72cdae47b4e263ea97b2bdd75cf44c1510cf3be
https://github.com/llvm/llvm-project/commit/e72cdae47b4e263ea97b2bdd75cf44c1510cf3be
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.h
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/CMakeLists.txt
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.h
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Log Message:
-----------
[lldb] Reland 2402b3213c2f with `/H` to debug the windows build issue
This patch relands 2402b3213c2f to investigate the ambigious typedef
issue happening on the windows bots:
https://lab.llvm.org/buildbot/#/builders/141/builds/1175/
However this patch adds the `/H` compiler flag when building
the ScriptedProcessPythonInterface library to be able to investigate the
include order issue.
This patch will be revert after 1 failing run on the windows bot.
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: 57acabb8e09baa38b156965b2dc567a8c7eb2429
https://github.com/llvm/llvm-project/commit/57acabb8e09baa38b156965b2dc567a8c7eb2429
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M clang/test/Preprocessor/x86_target_features.c
Log Message:
-----------
[Driver,X86] Update test Clang::Preprocessor/x86_target_features.c after #101151
Commit: 7c1ddcd94e4bd5cfe34d5e1a6e4630ca2d526c36
https://github.com/llvm/llvm-project/commit/7c1ddcd94e4bd5cfe34d5e1a6e4630ca2d526c36
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/test/CodeGen/RISCV/rvv/unmasked-tu.ll
M llvm/test/CodeGen/RISCV/rvv/vfmerge.ll
Log Message:
-----------
[RISCV] Remove isel patterns for riscv.vfmerge with vector-vector operands. (#101277)
The vfmerge intrinsic is only used by clang for vfmerge.vfm. vmerge.vvm
for both int and float should use the llvm.vmerge intrinsic.
This patch removes the vector-vector support for llvm.vfmerge and
updates the tests to test what clang really uses.
Commit: 7a80c86726f7c37128bfee3618707c1607f5014d
https://github.com/llvm/llvm-project/commit/7a80c86726f7c37128bfee3618707c1607f5014d
Author: abhishek-kaushik22 <abhishek.kaushik at intel.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/lib/MC/MCContext.cpp
Log Message:
-----------
[MC] Remove redundant null check, NFCI (#100928)
`getOrCreateSymbol` should never return a `nullptr`, add an assert and
remove the redundant null check in the if condition.
Commit: ee1040b02adc95e376b295c4f59d30b991a8be9a
https://github.com/llvm/llvm-project/commit/ee1040b02adc95e376b295c4f59d30b991a8be9a
Author: eddyz87 <eddyz87 at gmail.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
A llvm/test/tools/llvm-objdump/BPF/disassemble-symbolize-operands.s
M llvm/tools/llvm-objdump/llvm-objdump.cpp
Log Message:
-----------
[llvm-objdump][BPF] --symbolize-operands: infer local labels for BPF (#100550)
Enable local labels computation for BPF disassembly when
`--symbolize-operands` option is specified.
This relies on `MCInstrAnalysis::evaluateBranch()` method, which is
already defined in `BPFMCInstrAnalysis::evaluateBranch`.
After this change the assembly code below:
if r1 > 42 goto +1
r1 -= 10
...
Would be printed as:
if r1 > 42 goto +1 <L0>
r1 -= 10
<L0>:
...
(when `--symbolize-operands` option is set).
See https://reviews.llvm.org/D84191 for the main part of the
`--symbolize-operands` implementation logic.
Commit: 94da6bfb27dcff68bebd0d1ce1a61346c231ed64
https://github.com/llvm/llvm-project/commit/94da6bfb27dcff68bebd0d1ce1a61346c231ed64
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Target/DirectX/DXILConstants.h
M llvm/lib/Target/DirectX/DXILOpLowering.cpp
M llvm/utils/TableGen/DXILEmitter.cpp
Log Message:
-----------
[DirectX] Simplify DXIL_OP_INTRINSIC_MAP tablegen'ed code
Rather than generate a map with a known name, just define the mapping
so the code that uses it can do what it needs.
Pull Request: https://github.com/llvm/llvm-project/pull/101248
Commit: 20d723e626befde6d1de66595ce37521cbde0538
https://github.com/llvm/llvm-project/commit/20d723e626befde6d1de66595ce37521cbde0538
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M compiler-rt/lib/profile/InstrProfilingFile.c
Log Message:
-----------
Fix for #96126, add `BitmapBiasAddr` to definitions for unsupported targets.
Commit: 1961f9fc6d7b207734354ca152a6c0a267cce0c0
https://github.com/llvm/llvm-project/commit/1961f9fc6d7b207734354ca152a6c0a267cce0c0
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M clang/include/clang/AST/Type.h
M clang/include/clang/Sema/Overload.h
M clang/lib/AST/ExprCXX.cpp
M clang/lib/AST/Interp/Context.cpp
M clang/lib/AST/ItaniumMangle.cpp
M clang/lib/AST/Type.cpp
M clang/lib/Analysis/Consumed.cpp
M clang/lib/Analysis/ThreadSafetyCommon.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaExprCXX.cpp
M clang/lib/Sema/SemaTemplate.cpp
Log Message:
-----------
[clang][NFC] Add Type::isPointerOrReferenceType() (#101206)
Seems to be a common pattern.
Commit: 50cf413426805d32c19c71756f601c864dd6fa7a
https://github.com/llvm/llvm-project/commit/50cf413426805d32c19c71756f601c864dd6fa7a
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstrInfo.cpp
M llvm/test/CodeGen/X86/apx/setzucc.ll
Log Message:
-----------
[X86,CodeGen] Return the correct condition code for SETZUCC
llvm-issue: https://github.com/llvm/llvm-project/issues/101288
Commit: 40940980bf87832b0275dcfa91ab03738c569b18
https://github.com/llvm/llvm-project/commit/40940980bf87832b0275dcfa91ab03738c569b18
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Target/DirectX/DXILConstants.h
M llvm/utils/TableGen/DXILEmitter.cpp
Log Message:
-----------
[DirectX] Simplify tablegen'd OpCode and OpClass enums
Pull Request: https://github.com/llvm/llvm-project/pull/101249
Commit: 07d2709a17860a202d91781769a88837e4fb5f2a
https://github.com/llvm/llvm-project/commit/07d2709a17860a202d91781769a88837e4fb5f2a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/include/llvm/MC/MCAsmBackend.h
M llvm/include/llvm/MC/MCAssembler.h
M llvm/include/llvm/MC/MCSection.h
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCSection.cpp
M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
M llvm/test/MC/ELF/relax-recompute-align.s
Log Message:
-----------
Revert "[MC] Compute fragment offsets eagerly"
This reverts commit be5a845e4c29aadb513ae6e5e2879dccf37efdbb.
This causes large code size regressions, which were not present
in the initial version of this change.
Commit: aa07282a25c3d6df04af9a4d34874cc433c9c68a
https://github.com/llvm/llvm-project/commit/aa07282a25c3d6df04af9a4d34874cc433c9c68a
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M lldb/packages/Python/lldbsuite/test/lldbtest.py
M lldb/test/API/api/multiple-debuggers/TestMultipleDebuggers.py
M lldb/test/API/api/multiple-debuggers/multi-process-driver.cpp
Log Message:
-----------
[lldb][test] Fix TestMultipleDebuggers test on non-x86, other small issues (#101169)
This test has been flaky lately
(https://github.com/llvm/llvm-project/issues/101162) and I disabled it
everywhere initially.
I found that it always uses "x86_64" for the program architecture so the
test was "passing" elsewhere but I don't think it was meant to. So I
have added a define to pass on the host's architecture when compiling.
This makes it work on AArch64 as well.
While I'm here I've fixed the uint64_t formatting warnings by using the
defined formats that'll work everywhere.
In addition, I found that the function names include "()" on Linux, so
now we check for "foo" or "foo()".
The test cpp file has never been, or was only partially formatted so
I've not formatted the changes, just kept to the local style.
I've removed the Linux skip to see if any of this helps the timeouts,
and to verify the build command changes. If the timeouts come back I'll
disable it again.
Commit: 996075d68357d15b9bdbbafee002e50563532cb6
https://github.com/llvm/llvm-project/commit/996075d68357d15b9bdbbafee002e50563532cb6
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M clang/lib/AST/Interp/Interp.h
M clang/test/AST/Interp/cxx2a.cpp
Log Message:
-----------
[clang][Interp] Handle virtual calls with covariant return types (#101218)
Commit: 57d10b4fc9142d12fbdec578a0cc6f78deb67ef4
https://github.com/llvm/llvm-project/commit/57d10b4fc9142d12fbdec578a0cc6f78deb67ef4
Author: Pankaj Dwivedi <divedi.pk.117 at gmail.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
A llvm/test/CodeGen/AMDGPU/eliminate-frame-index-s-mov-b32.mir
M llvm/test/CodeGen/AMDGPU/frame-index.mir
Log Message:
-----------
[AMDGPU] Inplace FI elimination during PEI for scalar copy instruction (#99556)
eliminateFrameIndex wasn't handling the FI copy to Scalar registers and
the default implementation breaks the code while trying to handle it.
This patch handles the broken lowering and also takes care of some edge
cases that might arise. This case is tricky for non-zero offset, scc &
vcc is live and we don't find sgpr pair available.
Co-authored by @arsenm
---------
Co-authored-by: Matt Arsenault <Matthew.Arsenault at amd.com>
Co-authored-by: PankajDwivedi-25 <pankajkumar.divedi at amd.com>
Commit: 8300eaad0f6c354f40f526f7501b624ffc389e63
https://github.com/llvm/llvm-project/commit/8300eaad0f6c354f40f526f7501b624ffc389e63
Author: Petr Hosek <phosek at google.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M clang/cmake/caches/Fuchsia-stage2.cmake
Log Message:
-----------
[CMake][Fuchsia] Include libunwind and libc++abi in baremetal build (#100908)
These are needed for baremetal targets as well.
Commit: 5ef087b705099574e131ba77143b49faaee0e7f8
https://github.com/llvm/llvm-project/commit/5ef087b705099574e131ba77143b49faaee0e7f8
Author: Bimo <rui.xu at intel.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M mlir/python/mlir/runtime/np_to_memref.py
M mlir/python/requirements.txt
M mlir/test/python/execution_engine.py
Log Message:
-----------
Reapply "[MLIR][Python] add ctype python binding support for bf16" (#101271)
Reapply the PR which was reverted due to built-bots, and now the bots
get updated.
https://discourse.llvm.org/t/need-a-help-with-the-built-bots/79437
original PR: https://github.com/llvm/llvm-project/pull/92489, reverted
in https://github.com/llvm/llvm-project/pull/93771
Commit: 79996cd0c2a84fca1776d07a6fef822f424d5095
https://github.com/llvm/llvm-project/commit/79996cd0c2a84fca1776d07a6fef822f424d5095
Author: Carl Ritson <carl.ritson at amd.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/wqm.ll
Log Message:
-----------
[AMDGPU] Pre-commit tests for #101157. NFC
Commit: 36b2c22e07f1663d7d7388568ab979b35ecceb94
https://github.com/llvm/llvm-project/commit/36b2c22e07f1663d7d7388568ab979b35ecceb94
Author: Corentin Ferry <corentin.ferry at amd.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M mlir/lib/Conversion/ArithToEmitC/ArithToEmitC.cpp
M mlir/test/Conversion/ArithToEmitC/arith-to-emitc-unsupported.mlir
M mlir/test/Conversion/ArithToEmitC/arith-to-emitc.mlir
Log Message:
-----------
[mlir][emitc] Lower arith.divui, remui (#99313)
This commit lowers `arith.divui` and `arith.remui` to EmitC by wrapping
those operations with type conversions.
Commit: f395d826bf48ba530d0ab9480e4bc07fa335ef56
https://github.com/llvm/llvm-project/commit/f395d826bf48ba530d0ab9480e4bc07fa335ef56
Author: WANG Rui <wangrui at loongson.cn>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
A clang/test/CodeGen/LoongArch/align.c
Log Message:
-----------
[clang][LoongArch] Pre-commit test for align global. NFC
Commit: 6434dce85df21aabd5669dd9fbe8fa582e40c6ee
https://github.com/llvm/llvm-project/commit/6434dce85df21aabd5669dd9fbe8fa582e40c6ee
Author: yronglin <yronglin777 at gmail.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M clang/lib/AST/Interp/EvaluationResult.cpp
M clang/test/AST/Interp/constexpr-subobj-initialization.cpp
M clang/test/C/C23/n3018.c
M clang/test/CodeGen/pr3518.c
M clang/test/Preprocessor/embed_weird.cpp
M clang/test/SemaCXX/constexpr-subobj-initialization.cpp
Log Message:
-----------
[Clang][Interp] Fix the location of uninitialized base warning (#100761)
Fix the location of `diag::note_constexpr_uninitialized_base`, make it
same as current interpreter.
This PR does not print type name with namespacethat was used to improve
the current interpreter's type dump of base class type.
---------
Signed-off-by: yronglin <yronglin777 at gmail.com>
Commit: 38e64531171d230dbcb994b70e89c9efdf319f9f
https://github.com/llvm/llvm-project/commit/38e64531171d230dbcb994b70e89c9efdf319f9f
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/vselect.ll
Log Message:
-----------
[AMDGPU] Regenerate vselect.ll
Commit: b3b46963b772fcbc80cb2df0b7389c09830cf166
https://github.com/llvm/llvm-project/commit/b3b46963b772fcbc80cb2df0b7389c09830cf166
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M flang/test/Lower/OpenMP/task.f90
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/lib/Conversion/SCFToOpenMP/SCFToOpenMP.cpp
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] NFC: Sort clauses alphabetically (1/2) (#101193)
This patch sorts the clause lists for the following OpenMP operations:
- omp.parallel
- omp.teams
- omp.sections
- omp.wsloop
- omp.distribute
- omp.task
This change results in the reordering of operation arguments, so
impacted unit tests are updated accordingly.
Commit: a3800a60ed95a6b1e808ebd3a34e2dc1c0c04185
https://github.com/llvm/llvm-project/commit/a3800a60ed95a6b1e808ebd3a34e2dc1c0c04185
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
M flang/test/Lower/OpenMP/target.f90
M flang/test/Lower/OpenMP/use-device-ptr-to-use-device-addr.f90
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
M mlir/test/Conversion/OpenMPToLLVM/convert-to-llvmir.mlir
M mlir/test/Dialect/OpenMP/invalid.mlir
M mlir/test/Dialect/OpenMP/ops.mlir
Log Message:
-----------
[MLIR][OpenMP] NFC: Sort clauses alphabetically (2/2) (#101194)
This patch sorts the clause lists for the following OpenMP operations:
- omp.taskloop
- omp.taskgroup
- omp.target_data
- omp.target_enter_data
- omp.target_exit_data
- omp.target_update
- omp.target
This change results in the reordering of operation arguments, so
impacted unit tests are updated accordingly.
Commit: 5c406eacf4f4dda0cf9267d638954aa20f17e118
https://github.com/llvm/llvm-project/commit/5c406eacf4f4dda0cf9267d638954aa20f17e118
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M libc/src/__support/FPUtil/BasicOperations.h
M libc/src/__support/FPUtil/CMakeLists.txt
Log Message:
-----------
[libc][math][c23] Fix totalorderf128 requiring support for 128-bit ints (#101229)
Commit: dae7fb8c42877b16be2064bf3043841b13583a3a
https://github.com/llvm/llvm-project/commit/dae7fb8c42877b16be2064bf3043841b13583a3a
Author: Ruiling, Song <ruiling.song at amd.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/while-break.ll
Log Message:
-----------
[AMDGPU,test] Add one more while-break case (#101300)
which suffers from v_mov issue.
Commit: 22ce33304ef9af9e773ac606670ed93944da2c65
https://github.com/llvm/llvm-project/commit/22ce33304ef9af9e773ac606670ed93944da2c65
Author: Michael Maitland <michaeltmaitland at gmail.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
Revert "[DAG][NFC] Use SDPatternMatch for VScale in some instances"
This reverts commit d2304427cb0270259bc083a3db27413823f56e59.
The m_Add and m_Mul are commutative but the code does not expect the
communtativity.
Commit: 4c670b266a10d613a58b71cc9c3d3a21cb6dc36b
https://github.com/llvm/llvm-project/commit/4c670b266a10d613a58b71cc9c3d3a21cb6dc36b
Author: Jannick Kremer <51118500+DeinAlptraum at users.noreply.github.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M clang/bindings/python/clang/cindex.py
Log Message:
-----------
[libclang/python] Factor out unsaved files processing (#101308)
Factor out the processing of unsaved files into its own function as
suggested by @Endilll
[here](https://github.com/llvm/llvm-project/pull/78114/files#r1697730196)
Commit: 55255669077b191043b1a8920107890815151835
https://github.com/llvm/llvm-project/commit/55255669077b191043b1a8920107890815151835
Author: Jannick Kremer <51118500+DeinAlptraum at users.noreply.github.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M clang/bindings/python/clang/cindex.py
Log Message:
-----------
[libclang/python] type-ignore `Any` returns from library calls (#101310)
On its own, this change leads to _more_ strict typing errors as the
functions are mostly not annotated so far, so the `# type: ignore`s are
reported as Unused. This is part of the work leading up to #78114
though, and one of the bigger parts factored out from it, so these will
later lead to less strict typing errors as the functions are annotated
with return types.
Commit: d8b985c9490664f7ec923e59cf6c603d998179ae
https://github.com/llvm/llvm-project/commit/d8b985c9490664f7ec923e59cf6c603d998179ae
Author: Andrey Timonin <112198242+EtoAndruwa at users.noreply.github.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M mlir/include/mlir/Dialect/ControlFlow/IR/ControlFlowOps.td
Log Message:
-----------
[mlir][cf] fix 'switch', 'assert' and 'cond_br' operations' description (#101319)
Commit: 29ef92b9051bca3a35be0cbc5e03d787941f945e
https://github.com/llvm/llvm-project/commit/29ef92b9051bca3a35be0cbc5e03d787941f945e
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
A libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/assign.compile.pass.cpp
R libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/assign.verify.cpp
R libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/copy.verify.cpp
A libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/ctor.copy.compile.pass.cpp
A libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/ctor.default.pass.cpp
R libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/default.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/lock.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/lock_shared.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/try_lock.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/try_lock_shared.pass.cpp
R libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/assign.compile.fail.cpp
A libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/assign.compile.pass.cpp
R libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/copy.compile.fail.cpp
A libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ctor.copy.compile.pass.cpp
A libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ctor.default.pass.cpp
R 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.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/lock.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/lock_shared.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_for.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_shared.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_shared_for.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_shared_until.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_until.pass.cpp
Log Message:
-----------
[libc++] Refactor tests for shared_mutex and shared_timed_mutex (#100783)
This makes the tests less flaky and also makes a few other refactorings
like using traits instead of .compile.fail.cpp tests.
Commit: 569d8ce11f25aeb1596bd791905b16e73359470e
https://github.com/llvm/llvm-project/commit/569d8ce11f25aeb1596bd791905b16e73359470e
Author: A. Jiang <de34 at live.cn>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M libcxx/docs/Status/Cxx20Papers.csv
Log Message:
-----------
[libc++][docs] Remove misadded entry for P1937R2 from Cxx20Papers.csv (#100741)
P1937R2 only contains core language change and doesn't touch the library
at all.
Closes #100613.
Commit: 93fecc2577ece0329f3bbe2719bbc5b4b9b30010
https://github.com/llvm/llvm-project/commit/93fecc2577ece0329f3bbe2719bbc5b4b9b30010
Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M lldb/tools/lldb-server/LLDBServerUtilities.cpp
Log Message:
-----------
[lldb] Fixed lldb-server crash (TestLogHandler was not thread safe) (#101326)
Host::LaunchProcess() requires to SetMonitorProcessCallback. This
callback is called from the child process monitor thread. We cannot
control this thread anyway. lldb-server may crash if there is a logging
around this callback because TestLogHandler is not thread safe. I faced
this issue debugging 100 simultaneous child processes. Note
StreamLogHandler::Emit() in lldb/source/Utility/Log.cpp already contains
the similar mutex.
Commit: 05c3a4b8f99d13df4249e9486d8aa42a37957685
https://github.com/llvm/llvm-project/commit/05c3a4b8f99d13df4249e9486d8aa42a37957685
Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/include/llvm/ADT/GenericCycleImpl.h
A llvm/test/Analysis/CycleInfo/unreachable-predecessor.ll
Log Message:
-----------
[CycleInfo] skip unreachable predecessors (#101316)
If an unreachable block B branches to a block S inside a cycle, it may
cause S to be incorrectly treated as an entry to the cycle. We avoid
that by skipping unreachable predecessors when locating entries.
Commit: 9b017db6be8213a989517b494b56fc711af8bf8c
https://github.com/llvm/llvm-project/commit/9b017db6be8213a989517b494b56fc711af8bf8c
Author: Petr Hosek <phosek at google.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M clang/cmake/caches/Fuchsia-stage2.cmake
Log Message:
-----------
Revert "[CMake][Fuchsia] Include libunwind and libc++abi in baremetal build" (#101340)
Reverts llvm/llvm-project#100908
Commit: 89946bda5e1c7ceaf6d26634cc8c8c9498d9f7be
https://github.com/llvm/llvm-project/commit/89946bda5e1c7ceaf6d26634cc8c8c9498d9f7be
Author: h-vetinari <h.vetinari at gmx.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M clang/tools/clang-repl/CMakeLists.txt
M clang/tools/driver/CMakeLists.txt
M cmake/Modules/LLVMCheckCompilerLinkerFlag.cmake
M compiler-rt/cmake/config-ix.cmake
M libcxx/cmake/config-ix.cmake
M llvm/cmake/modules/AddLLVM.cmake
M llvm/cmake/modules/HandleLLVMOptions.cmake
M llvm/cmake/modules/HandleLLVMStdlib.cmake
R llvm/cmake/modules/LLVMCheckLinkerFlag.cmake
Log Message:
-----------
[cmake] switch to CMake's native `check_{compiler,linker}_flag` (#96171)
Broken out from #93429
Somewhat closing the loop opened by 7017e6c9cfd2de.
Co-authored-by: Ryan Prichard <rprichard at google.com>
Commit: 5b6b48800e625965064c2fd54efb976e0672455c
https://github.com/llvm/llvm-project/commit/5b6b48800e625965064c2fd54efb976e0672455c
Author: Hewill Kang <hewillk at gmail.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M libcxx/include/__algorithm/find_end.h
Log Message:
-----------
[libc++][NFC] Remove two unused implementation details `__find_end` (#100685)
Those two `__find_end` functions are no longer used after 101d1e9b3c86.
After that commit, `std::find_end` started dispatching to `__find_end_classic`,
and `ranges::find_end` to `__find_end_impl`, which means that the two `__find_end`
functions were no longer necessary.
Fixes #100569
Commit: f90e51a508b1d9f6d74ca4cc6aca8b6b2fad5280
https://github.com/llvm/llvm-project/commit/f90e51a508b1d9f6d74ca4cc6aca8b6b2fad5280
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M libcxx/test/std/algorithms/alg.sorting/alg.sort/sort/sort.pass.cpp
Log Message:
-----------
[libcxx][test] Mark sort.pass.cpp as a long test (#100720)
Picolib testing skips any test requiring this feature, I just didn't
know the feature existed until now.
Commit: 23d188ed91ed39879e6f6e36d07eca6ceae4bab5
https://github.com/llvm/llvm-project/commit/23d188ed91ed39879e6f6e36d07eca6ceae4bab5
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.bin/eval.PR44847.pass.cpp
Log Message:
-----------
[libcxx][test] Require long_tests for eval.PR44847.pass.cp (#100722)
This takes 1m40s to run when testing picolib on qemu. This isn't the end
of the world but that's on an AArch64 server. So if someone felt the
need to mark this unsupported in the first place, it's likely much
slower on average hardware.
Commit: 7ab643383fe49d5bb22e45610cb52476bf7a922e
https://github.com/llvm/llvm-project/commit/7ab643383fe49d5bb22e45610cb52476bf7a922e
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M clang/tools/libclang/CMakeLists.txt
Log Message:
-----------
[libclang] Use check_linker_flag instead of llvm_check_linker_flag
Follow-up to #96171 in an attempt to fix the Solaris bots.
Commit: b5a7d3b6c2169d84f9da749425a38dcef914d1ce
https://github.com/llvm/llvm-project/commit/b5a7d3b6c2169d84f9da749425a38dcef914d1ce
Author: Han-Kuan Chen <hankuan.chen at sifive.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/revec.ll
Log Message:
-----------
[SLP][REVEC] Make Instruction::Select support vector instructions. (#100507)
Commit: e9d5842ac7bd8d9b5700dc415910425ca796f4c1
https://github.com/llvm/llvm-project/commit/e9d5842ac7bd8d9b5700dc415910425ca796f4c1
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M libcxx/include/__mutex/unique_lock.h
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/implicit_ctad.pass.cpp
R libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/copy_assign.compile.fail.cpp
A libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/copy_assign.compile.pass.cpp
R libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/copy_ctor.compile.fail.cpp
A libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/copy_ctor.compile.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/default.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/move_assign.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/move_ctor.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_adopt_lock.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_defer_lock.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/lock.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/try_lock.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/try_lock_for.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/try_lock_until.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/unlock.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/member_swap.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/nonmember_swap.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/release.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/mutex.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/op_bool.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/owns_lock.pass.cpp
A libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/types.compile.pass.cpp
A libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/types.h
R libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/types.pass.cpp
Log Message:
-----------
[libc++] Make std::unique_lock available with _LIBCPP_HAS_NO_THREADS (#99562)
This is a follow up to https://github.com/llvm/llvm-project/pull/98717,
which made lock_guard available under _LIBCPP_HAS_NO_THREADS. We can
make unique_lock available under similar circumstances. This patch
follows the example in #98717, by:
- Removing the preprocessor guards for _LIBCPP_HAS_NO_THREADS in the
unique_lock header.
- providing a set of custom mutex implementations in a local header.
- using custom locks in tests that can be made to work under
`no-threads`.
Commit: 78b4b5cccbd92363708906d9171e21b0307b91a2
https://github.com/llvm/llvm-project/commit/78b4b5cccbd92363708906d9171e21b0307b91a2
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M libcxx/CMakeLists.txt
R libcxx/benchmarks/CMakeLists.txt
R libcxx/benchmarks/CartesianBenchmarks.h
R libcxx/benchmarks/ContainerBenchmarks.h
R libcxx/benchmarks/GenerateInput.h
R libcxx/benchmarks/Utilities.h
R libcxx/benchmarks/VariantBenchmarks.h
R libcxx/benchmarks/algorithms.partition_point.bench.cpp
R libcxx/benchmarks/algorithms/common.h
R libcxx/benchmarks/algorithms/count.bench.cpp
R libcxx/benchmarks/algorithms/equal.bench.cpp
R libcxx/benchmarks/algorithms/fill.bench.cpp
R libcxx/benchmarks/algorithms/find.bench.cpp
R libcxx/benchmarks/algorithms/for_each.bench.cpp
R libcxx/benchmarks/algorithms/lower_bound.bench.cpp
R libcxx/benchmarks/algorithms/make_heap.bench.cpp
R libcxx/benchmarks/algorithms/make_heap_then_sort_heap.bench.cpp
R libcxx/benchmarks/algorithms/min.bench.cpp
R libcxx/benchmarks/algorithms/min_max_element.bench.cpp
R libcxx/benchmarks/algorithms/minmax.bench.cpp
R libcxx/benchmarks/algorithms/mismatch.bench.cpp
R libcxx/benchmarks/algorithms/pop_heap.bench.cpp
R libcxx/benchmarks/algorithms/pstl.stable_sort.bench.cpp
R libcxx/benchmarks/algorithms/push_heap.bench.cpp
R libcxx/benchmarks/algorithms/ranges_contains.bench.cpp
R libcxx/benchmarks/algorithms/ranges_ends_with.bench.cpp
R libcxx/benchmarks/algorithms/ranges_make_heap.bench.cpp
R libcxx/benchmarks/algorithms/ranges_make_heap_then_sort_heap.bench.cpp
R libcxx/benchmarks/algorithms/ranges_pop_heap.bench.cpp
R libcxx/benchmarks/algorithms/ranges_push_heap.bench.cpp
R libcxx/benchmarks/algorithms/ranges_sort.bench.cpp
R libcxx/benchmarks/algorithms/ranges_sort_heap.bench.cpp
R libcxx/benchmarks/algorithms/ranges_stable_sort.bench.cpp
R libcxx/benchmarks/algorithms/set_intersection.bench.cpp
R libcxx/benchmarks/algorithms/sort.bench.cpp
R libcxx/benchmarks/algorithms/sort_heap.bench.cpp
R libcxx/benchmarks/algorithms/stable_sort.bench.cpp
R libcxx/benchmarks/allocation.bench.cpp
R libcxx/benchmarks/atomic_wait.bench.cpp
R libcxx/benchmarks/atomic_wait_vs_mutex_lock.bench.cpp
R libcxx/benchmarks/deque.bench.cpp
R libcxx/benchmarks/deque_iterator.bench.cpp
R libcxx/benchmarks/exception_ptr.bench.cpp
R libcxx/benchmarks/filesystem.bench.cpp
R libcxx/benchmarks/format.bench.cpp
R libcxx/benchmarks/format_to.bench.cpp
R libcxx/benchmarks/format_to_n.bench.cpp
R libcxx/benchmarks/formatted_size.bench.cpp
R libcxx/benchmarks/formatter_float.bench.cpp
R libcxx/benchmarks/formatter_int.bench.cpp
R libcxx/benchmarks/function.bench.cpp
R libcxx/benchmarks/join_view.bench.cpp
R libcxx/benchmarks/lexicographical_compare_three_way.bench.cpp
R libcxx/benchmarks/libcxxabi/dynamic_cast.bench.cpp
R libcxx/benchmarks/libcxxabi/dynamic_cast_old_stress.bench.cpp
R libcxx/benchmarks/lit.cfg.py
R libcxx/benchmarks/lit.site.cfg.py.in
R libcxx/benchmarks/map.bench.cpp
R libcxx/benchmarks/monotonic_buffer.bench.cpp
R libcxx/benchmarks/numeric/gcd.bench.cpp
R libcxx/benchmarks/ordered_set.bench.cpp
R libcxx/benchmarks/random.bench.cpp
R libcxx/benchmarks/shared_mutex_vs_mutex.bench.cpp
R libcxx/benchmarks/std_format_spec_string_unicode.bench.cpp
R libcxx/benchmarks/std_format_spec_string_unicode_escape.bench.cpp
R libcxx/benchmarks/stop_token.bench.cpp
R libcxx/benchmarks/string.bench.cpp
R libcxx/benchmarks/stringstream.bench.cpp
R libcxx/benchmarks/system_error.bench.cpp
R libcxx/benchmarks/to_chars.bench.cpp
R libcxx/benchmarks/unordered_set_operations.bench.cpp
R libcxx/benchmarks/util_smartptr.bench.cpp
R libcxx/benchmarks/variant_visit_1.bench.cpp
R libcxx/benchmarks/variant_visit_2.bench.cpp
R libcxx/benchmarks/variant_visit_3.bench.cpp
R libcxx/benchmarks/vector_operations.bench.cpp
M libcxx/docs/TestingLibcxx.rst
M libcxx/test/CMakeLists.txt
A libcxx/test/benchmarks/CMakeLists.txt
A libcxx/test/benchmarks/CartesianBenchmarks.h
A libcxx/test/benchmarks/ContainerBenchmarks.h
A libcxx/test/benchmarks/GenerateInput.h
A libcxx/test/benchmarks/Utilities.h
A libcxx/test/benchmarks/VariantBenchmarks.h
A libcxx/test/benchmarks/algorithms.partition_point.bench.cpp
A libcxx/test/benchmarks/algorithms/common.h
A libcxx/test/benchmarks/algorithms/count.bench.cpp
A libcxx/test/benchmarks/algorithms/equal.bench.cpp
A libcxx/test/benchmarks/algorithms/fill.bench.cpp
A libcxx/test/benchmarks/algorithms/find.bench.cpp
A libcxx/test/benchmarks/algorithms/for_each.bench.cpp
A libcxx/test/benchmarks/algorithms/lower_bound.bench.cpp
A libcxx/test/benchmarks/algorithms/make_heap.bench.cpp
A libcxx/test/benchmarks/algorithms/make_heap_then_sort_heap.bench.cpp
A libcxx/test/benchmarks/algorithms/min.bench.cpp
A libcxx/test/benchmarks/algorithms/min_max_element.bench.cpp
A libcxx/test/benchmarks/algorithms/minmax.bench.cpp
A libcxx/test/benchmarks/algorithms/mismatch.bench.cpp
A libcxx/test/benchmarks/algorithms/pop_heap.bench.cpp
A libcxx/test/benchmarks/algorithms/pstl.stable_sort.bench.cpp
A libcxx/test/benchmarks/algorithms/push_heap.bench.cpp
A libcxx/test/benchmarks/algorithms/ranges_contains.bench.cpp
A libcxx/test/benchmarks/algorithms/ranges_ends_with.bench.cpp
A libcxx/test/benchmarks/algorithms/ranges_make_heap.bench.cpp
A libcxx/test/benchmarks/algorithms/ranges_make_heap_then_sort_heap.bench.cpp
A libcxx/test/benchmarks/algorithms/ranges_pop_heap.bench.cpp
A libcxx/test/benchmarks/algorithms/ranges_push_heap.bench.cpp
A libcxx/test/benchmarks/algorithms/ranges_sort.bench.cpp
A libcxx/test/benchmarks/algorithms/ranges_sort_heap.bench.cpp
A libcxx/test/benchmarks/algorithms/ranges_stable_sort.bench.cpp
A libcxx/test/benchmarks/algorithms/set_intersection.bench.cpp
A libcxx/test/benchmarks/algorithms/sort.bench.cpp
A libcxx/test/benchmarks/algorithms/sort_heap.bench.cpp
A libcxx/test/benchmarks/algorithms/stable_sort.bench.cpp
A libcxx/test/benchmarks/allocation.bench.cpp
A libcxx/test/benchmarks/atomic_wait.bench.cpp
A libcxx/test/benchmarks/atomic_wait_vs_mutex_lock.bench.cpp
A libcxx/test/benchmarks/deque.bench.cpp
A libcxx/test/benchmarks/deque_iterator.bench.cpp
A libcxx/test/benchmarks/exception_ptr.bench.cpp
A libcxx/test/benchmarks/filesystem.bench.cpp
A libcxx/test/benchmarks/format.bench.cpp
A libcxx/test/benchmarks/format_to.bench.cpp
A libcxx/test/benchmarks/format_to_n.bench.cpp
A libcxx/test/benchmarks/formatted_size.bench.cpp
A libcxx/test/benchmarks/formatter_float.bench.cpp
A libcxx/test/benchmarks/formatter_int.bench.cpp
A libcxx/test/benchmarks/function.bench.cpp
A libcxx/test/benchmarks/join_view.bench.cpp
A libcxx/test/benchmarks/lexicographical_compare_three_way.bench.cpp
A libcxx/test/benchmarks/libcxxabi/dynamic_cast.bench.cpp
A libcxx/test/benchmarks/libcxxabi/dynamic_cast_old_stress.bench.cpp
A libcxx/test/benchmarks/lit.cfg.py.in
A libcxx/test/benchmarks/lit.site.cfg.py.in
A libcxx/test/benchmarks/map.bench.cpp
A libcxx/test/benchmarks/monotonic_buffer.bench.cpp
A libcxx/test/benchmarks/numeric/gcd.bench.cpp
A libcxx/test/benchmarks/ordered_set.bench.cpp
A libcxx/test/benchmarks/random.bench.cpp
A libcxx/test/benchmarks/shared_mutex_vs_mutex.bench.cpp
A libcxx/test/benchmarks/std_format_spec_string_unicode.bench.cpp
A libcxx/test/benchmarks/std_format_spec_string_unicode_escape.bench.cpp
A libcxx/test/benchmarks/stop_token.bench.cpp
A libcxx/test/benchmarks/string.bench.cpp
A libcxx/test/benchmarks/stringstream.bench.cpp
A libcxx/test/benchmarks/system_error.bench.cpp
A libcxx/test/benchmarks/to_chars.bench.cpp
A libcxx/test/benchmarks/unordered_set_operations.bench.cpp
A libcxx/test/benchmarks/util_smartptr.bench.cpp
A libcxx/test/benchmarks/variant_visit_1.bench.cpp
A libcxx/test/benchmarks/variant_visit_2.bench.cpp
A libcxx/test/benchmarks/variant_visit_3.bench.cpp
A libcxx/test/benchmarks/vector_operations.bench.cpp
Log Message:
-----------
[libc++] Move the benchmarks under libcxx/test (#99371)
This is an intermediate and fairly mechanical step towards unifying the
benchmarks with the rest of the test suite. Moving this around requires
a few changes, notably making sure we don't throw a wrench into the
discovery process of the normal test suite. This won't be a problem
anymore once benchmarks are taken into account by the test setup out of
the box.
Commit: fa842970027b6d2f0160ad42fa82a872bf8d8600
https://github.com/llvm/llvm-project/commit/fa842970027b6d2f0160ad42fa82a872bf8d8600
Author: darkbuck <michael.hliao at gmail.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/Sema/SemaStmtAttr.cpp
M clang/test/CodeGenCUDA/convergent.cu
M clang/test/Misc/pragma-attribute-supported-attributes-list.test
A clang/test/SemaCUDA/attr-noconvergent.cu
Log Message:
-----------
[clang][CUDA] Add 'noconvergent' function and statement attribute
- For languages following SPMD/SIMT programming model, functions and
call sites are marked 'convergent' by default. 'noconvergent' is added
in this patch to allow developers to remove that 'convergent'
attribute when it's safe.
Reviewers:
nhaehnle, Sirraide, yxsamliu, Artem-B, ilovepi, jayfoad, ssahasra, arsenm
Reviewed By: arsenm
Pull Request: https://github.com/llvm/llvm-project/pull/100637
Commit: 2a6268d8f999d56a557079e7fd8ee8c4a4e9ac0c
https://github.com/llvm/llvm-project/commit/2a6268d8f999d56a557079e7fd8ee8c4a4e9ac0c
Author: Simon Tatham <simon.tatham at arm.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M libc/config/config.json
M libc/config/linux/aarch64/entrypoints.txt
M libc/docs/configure.rst
M libc/include/llvm-libc-types/jmp_buf.h
A libc/src/setjmp/aarch64/CMakeLists.txt
A libc/src/setjmp/aarch64/longjmp.cpp
A libc/src/setjmp/aarch64/setjmp.cpp
Log Message:
-----------
[libc][AArch64] Add an AArch64 setjmp/longjmp. (#101177)
Previously, building libc for AArch64 in `LLVM_LIBC_FULL_BUILD` mode
would fail because no implementation of setjmp/longjmp was available.
This was the only obstacle, so now a full AArch64 build of libc is
possible.
This implementation automatically supports PAC and BTI if compiled with
the appropriate options. I would have liked to do the same for MTE stack
tagging, but as far as I can see there's currently no predefined macro
that allows detection of `-fsanitize=memtag-stack`, so I've left that
one as a TODO.
AAPCS64 delegates the x18 register to individual platform ABIs, and
allows them to choose what it's used for, which may or may not require
setjmp and longjmp to save and restore it. To accommodate this, I've
introduced a libc configuration option. The default is on, because the
only use of x18 I've so far encountered uses it to store information
specific to the current stack frame (so longjmp does need to restore
it), and this is also safe behavior in the default situation where the
platform ABI specifies no use of x18 and it becomes a temporary register
(restoring it to its previous value is no worse than any _other_ way for
a function call to clobber it). But if a platform ABI needs to use x18
in a way that requires longjmp to leave it alone, they can turn the
option off.
Commit: 8b2688bd173e79392927bcaed91855e7c4db8eaa
https://github.com/llvm/llvm-project/commit/8b2688bd173e79392927bcaed91855e7c4db8eaa
Author: Joshua Baehring <98630690+JoshuaMBa at users.noreply.github.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M compiler-rt/lib/scudo/standalone/secondary.h
Log Message:
-----------
[scudo] Separated committed and decommitted entries. (#100818)
Initially, the LRU list stored all mapped entries with no distinction
between the committed (non-madvise()'d) entries and decommitted
(madvise()'d) entries. Now these two types of entries are separated into
two lists, allowing future cache logic to branch depending on whether or
not entries are committed or decommitted. Furthermore, the retrieval
algorithm will prioritize committed entries over decommitted entries.
Specifically, valid-fit, committed entries (not necessarily optimal-fit)
are retrieved before optimal-fit, decommitted entries.
Commit: b455edbc4566dca5a367122eadd0bae9058fbd7b
https://github.com/llvm/llvm-project/commit/b455edbc4566dca5a367122eadd0bae9058fbd7b
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-08-01 (Thu, 01 Aug 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
M llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-pow-codegen.ll
M llvm/test/CodeGen/AMDGPU/simplify-libcalls.ll
M llvm/test/Transforms/InstCombine/bitcast.ll
Log Message:
-----------
[InstCombine] Recognize copysign idioms (#101324)
This patch folds `(bitcast (or (and (bitcast X to int), signmask), nneg
Y) to fp)` into `copysign((bitcast Y to fp), X)`. I found this pattern
exists in some graphics applications/math libraries.
Alive2: https://alive2.llvm.org/ce/z/ggQZV2
Commit: d36c9f828d795d77127ea0fada6be4b7b5e19dbb
https://github.com/llvm/llvm-project/commit/d36c9f828d795d77127ea0fada6be4b7b5e19dbb
Author: vporpo <vporpodas at google.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
Log Message:
-----------
[SandboxIR] Implement AddrSpaceCastInst (#101260)
This patch implements sandboxir::AddrSpaceCastInst which mirrors
llvm::AddrSpaceCastInst.
Commit: 3715035797a8b07ddaf2e2eff08fedc535891e15
https://github.com/llvm/llvm-project/commit/3715035797a8b07ddaf2e2eff08fedc535891e15
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M libc/src/setjmp/aarch64/longjmp.cpp
M libc/src/setjmp/aarch64/setjmp.cpp
Log Message:
-----------
[libc] quick fix for aarch64 jmpbuf build (#101357)
Commit: 45ef0d492f7b61613d0833fbf7eafdd41e137139
https://github.com/llvm/llvm-project/commit/45ef0d492f7b61613d0833fbf7eafdd41e137139
Author: David Blaikie <dblaikie at gmail.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/include/llvm-c/Error.h
M llvm/lib/Support/Error.cpp
M llvm/unittests/Support/ErrorTest.cpp
Log Message:
-----------
Add llvm::Error C API, LLVMCantFail
It's barely testable - the test does exercise the code, but wouldn't
fail on an empty implementation. It would cause a memory leak though
(because the error handle wouldn't be unwrapped/reowned) which could be
detected by asan and other leak detectors.
Commit: f0197a75e83d45514201432999616267ae0954e2
https://github.com/llvm/llvm-project/commit/f0197a75e83d45514201432999616267ae0954e2
Author: vporpo <vporpodas at google.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
Log Message:
-----------
[SandboxIR] Implement IntToPtrInst (#101359)
This patch implements sandboxir::IntToPtrInst which mirrors
llvm::IntToPtrInst.
Commit: faf3333510e0c2c3f319af40456e10c471e11ce8
https://github.com/llvm/llvm-project/commit/faf3333510e0c2c3f319af40456e10c471e11ce8
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/test/Analysis/ScalarEvolution/trip-count-scalable-stride.ll
Log Message:
-----------
[SCEV] Add coverage for flag inference with vscale strided IVs
Given vscale is a power of two, we should be able to prove no-self-wrap
in these cases. We currently don't, but an upcoming change will fix this.
Commit: 8398ad9cb21736dc57ee4dd766bd0859ef9bd000
https://github.com/llvm/llvm-project/commit/8398ad9cb21736dc57ee4dd766bd0859ef9bd000
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M lldb/include/lldb/Interpreter/CommandObject.h
M lldb/source/Commands/CommandObjectBreakpoint.cpp
M lldb/source/Commands/CommandObjectBreakpointCommand.cpp
M lldb/source/Commands/CommandObjectDisassemble.cpp
M lldb/source/Commands/CommandObjectExpression.cpp
M lldb/source/Commands/CommandObjectFrame.cpp
M lldb/source/Commands/CommandObjectProcess.cpp
M lldb/source/Commands/CommandObjectTarget.cpp
M lldb/source/Commands/CommandObjectThread.cpp
M lldb/source/Commands/CommandObjectWatchpoint.cpp
M lldb/source/Commands/CommandObjectWatchpointCommand.cpp
M lldb/source/Interpreter/CommandObject.cpp
M lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
Log Message:
-----------
[lldb] Unify the way we get the Target in CommandObject (#101208)
Currently, CommandObjects are obtaining a target in a variety of ways.
Often the command incorrectly operates on the selected target. As an
example, when a breakpoint command is running, the current target is
passed into the command but the target that hit the breakpoint is not
the selected target. In other places we use the CommandObject's
execution context, which is frozen during the execution of the command,
and comes with its own limitations. Finally, we often want to fall back
to the dummy target if no real target is available.
Instead of having to guess how to get the target, this patch introduces
one helper function in CommandObject to get the most relevant target. In
order of priority, that's the target from the command object's execution
context, from the interpreter's execution context, the selected target
or the dummy target.
rdar://110846511
Commit: 6a54dfbfe534276d644d7f9c027f0deeb748dd53
https://github.com/llvm/llvm-project/commit/6a54dfbfe534276d644d7f9c027f0deeb748dd53
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M libcxx/test/benchmarks/GenerateInput.h
M libcxx/test/benchmarks/algorithms.partition_point.bench.cpp
M libcxx/test/benchmarks/algorithms/min.bench.cpp
M libcxx/test/benchmarks/algorithms/minmax.bench.cpp
M libcxx/test/benchmarks/atomic_wait.bench.cpp
M libcxx/test/benchmarks/atomic_wait_vs_mutex_lock.bench.cpp
M libcxx/test/benchmarks/filesystem.bench.cpp
M libcxx/test/benchmarks/format.bench.cpp
M libcxx/test/benchmarks/format_to.bench.cpp
M libcxx/test/benchmarks/format_to_n.bench.cpp
M libcxx/test/benchmarks/formatted_size.bench.cpp
M libcxx/test/benchmarks/formatter_float.bench.cpp
M libcxx/test/benchmarks/formatter_int.bench.cpp
M libcxx/test/benchmarks/lexicographical_compare_three_way.bench.cpp
M libcxx/test/benchmarks/random.bench.cpp
M libcxx/test/benchmarks/shared_mutex_vs_mutex.bench.cpp
M libcxx/test/benchmarks/stop_token.bench.cpp
M libcxx/test/benchmarks/string.bench.cpp
M libcxx/test/benchmarks/stringstream.bench.cpp
M libcxx/test/benchmarks/to_chars.bench.cpp
M libcxx/test/benchmarks/unordered_set_operations.bench.cpp
M libcxx/test/benchmarks/variant_visit_1.bench.cpp
M libcxx/test/benchmarks/variant_visit_2.bench.cpp
M libcxx/test/benchmarks/variant_visit_3.bench.cpp
M libcxx/test/benchmarks/vector_operations.bench.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/output.streams/ostream.syn/includes.compile.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/time/convert_to_tm.pass.cpp
M libcxx/test/libcxx/utilities/expected/expected.expected/no_unique_address.compile.pass.cpp
M libcxx/test/libcxx/utilities/expected/expected.expected/noexcept.extension.compile.pass.cpp
M libcxx/test/libcxx/utilities/expected/expected.unexpected/noexcept.extension.compile.pass.cpp
M libcxx/test/libcxx/utilities/expected/expected.void/no_unique_address.compile.pass.cpp
M libcxx/test/libcxx/utilities/expected/expected.void/noexcept.extension.compile.pass.cpp
M libcxx/test/libcxx/utilities/expected/expected.void/value.lwg3940.verify.cpp
M libcxx/test/libcxx/utilities/format/enable_insertable.compile.pass.cpp
M libcxx/test/libcxx/utilities/format/format.arguments/format.arg/arg_t.compile.pass.cpp
M libcxx/test/libcxx/utilities/format/format.formatter/format.context/types.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/code_point_width_estimation.pass.cpp
M libcxx/test/libcxx/utilities/format/format.string/format.string.std/concepts_precision.h
M libcxx/test/libcxx/utilities/format/format.string/format.string.std/escaped_output.pass.cpp
M libcxx/test/libcxx/utilities/format/format.string/format.string.std/extended_grapheme_cluster.pass.cpp
M libcxx/test/libcxx/utilities/format/format.string/format.string.std/test_exception.h
M libcxx/test/std/containers/container.adaptors/container.adaptors.format/format.functions.format.pass.cpp
M libcxx/test/std/containers/container.adaptors/container.adaptors.format/format.functions.tests.h
M libcxx/test/std/containers/container.adaptors/container.adaptors.format/format.functions.vformat.pass.cpp
M libcxx/test/std/containers/container.adaptors/container.adaptors.format/format.pass.cpp
M libcxx/test/std/containers/container.adaptors/container.adaptors.format/parse.pass.cpp
M libcxx/test/std/containers/container.adaptors/container.adaptors.format/types.compile.pass.cpp
M libcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/format.functions.format.pass.cpp
M libcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/format.functions.tests.h
M libcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/format.functions.vformat.pass.cpp
M libcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/format.pass.cpp
M libcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/parse.pass.cpp
M libcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/types.compile.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/print.pass.cpp
M libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.formatted.print/print_tests.h
M libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.formatted.print/println.pass.cpp
M libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.formatted.print/vprint_nonunicode.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/print.fun/includes.compile.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/print.file.pass.cpp
M libcxx/test/std/input.output/iostream.format/print.fun/print.sh.cpp
M libcxx/test/std/input.output/iostream.format/print.fun/print_tests.h
M libcxx/test/std/input.output/iostream.format/print.fun/println.blank_line.sh.cpp
M libcxx/test/std/input.output/iostream.format/print.fun/println.file.pass.cpp
M libcxx/test/std/input.output/iostream.format/print.fun/println.sh.cpp
M libcxx/test/std/input.output/iostream.format/print.fun/vprint_nonunicode.file.pass.cpp
M libcxx/test/std/input.output/iostream.format/print.fun/vprint_nonunicode.sh.cpp
M libcxx/test/std/input.output/iostream.format/print.fun/vprint_unicode.file.pass.cpp
M libcxx/test/std/input.output/iostream.format/print.fun/vprint_unicode.sh.cpp
M libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/format.functions.format.pass.cpp
M libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/format.functions.tests.h
M libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/format.functions.vformat.pass.cpp
M libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/format.pass.cpp
M libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/parse.pass.cpp
M libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/types.compile.pass.cpp
M libcxx/test/std/time/time.syn/formatter.day.pass.cpp
M libcxx/test/std/time/time.syn/formatter.duration.pass.cpp
M libcxx/test/std/time/time.syn/formatter.file_time.pass.cpp
M libcxx/test/std/time/time.syn/formatter.hh_mm_ss.pass.cpp
M libcxx/test/std/time/time.syn/formatter.local_info.pass.cpp
M libcxx/test/std/time/time.syn/formatter.local_time.pass.cpp
M libcxx/test/std/time/time.syn/formatter.month.pass.cpp
M libcxx/test/std/time/time.syn/formatter.month_day.pass.cpp
M libcxx/test/std/time/time.syn/formatter.month_day_last.pass.cpp
M libcxx/test/std/time/time.syn/formatter.month_weekday.pass.cpp
M libcxx/test/std/time/time.syn/formatter.sys_info.pass.cpp
M libcxx/test/std/time/time.syn/formatter.sys_time.pass.cpp
M libcxx/test/std/time/time.syn/formatter.weekday.pass.cpp
M libcxx/test/std/time/time.syn/formatter.weekday_index.pass.cpp
M libcxx/test/std/time/time.syn/formatter.weekday_last.pass.cpp
M libcxx/test/std/time/time.syn/formatter.year.pass.cpp
M libcxx/test/std/time/time.syn/formatter.year_month.pass.cpp
M libcxx/test/std/time/time.syn/formatter.year_month_day.pass.cpp
M libcxx/test/std/time/time.syn/formatter.year_month_day_last.pass.cpp
M libcxx/test/std/time/time.syn/formatter.year_month_weekday.pass.cpp
M libcxx/test/std/time/time.syn/formatter.year_month_weekday_last.pass.cpp
M libcxx/test/std/time/time.syn/formatter.zoned_time.pass.cpp
M libcxx/test/std/time/time.syn/formatter_tests.h
M libcxx/test/std/utilities/expected/expected.bad/base.compile.pass.cpp
M libcxx/test/std/utilities/expected/expected.bad/ctor.error.pass.cpp
M libcxx/test/std/utilities/expected/expected.bad/error.member.pass.cpp
M libcxx/test/std/utilities/expected/expected.bad/void-specialization.pass.cpp
M libcxx/test/std/utilities/expected/expected.bad/what.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/assign/assign.U.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/assign/assign.copy.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/assign/assign.move.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/assign/assign.unexpected.copy.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/assign/assign.unexpected.move.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/assign/emplace.intializer_list.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/assign/emplace.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.convert.copy.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.convert.move.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.copy.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.default.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.inplace.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.inplace_init_list.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.move.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.u.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.unexpect.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.unexpect_init_list.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.unexpected.copy.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.unexpected.move.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/dtor.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/equality/equality.T2.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/equality/equality.other_expected.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/equality/equality.unexpected.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/observers/arrow.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/observers/bool.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/observers/deref.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/observers/error.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/observers/has_value.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/observers/value.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/observers/value_or.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/swap/free.swap.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/swap/member.swap.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/assign/assign.copy.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/assign/assign.move.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/ctad.compile.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/ctor/ctor.copy.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/ctor/ctor.error.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/ctor/ctor.inplace.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/ctor/ctor.inplace_init_list.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/ctor/ctor.move.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/equality.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/observer/error.const_ref.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/observer/error.const_ref_ref.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/observer/error.ref.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/observer/error.ref_ref.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/swap/swap.free.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/swap/swap.member.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/assign/assign.copy.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/assign/assign.move.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/assign/assign.unexpected.copy.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/assign/assign.unexpected.move.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/assign/emplace.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/ctor/ctor.convert.copy.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/ctor/ctor.convert.move.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/ctor/ctor.copy.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/ctor/ctor.default.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/ctor/ctor.inplace.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/ctor/ctor.move.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/ctor/ctor.unexpect.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/ctor/ctor.unexpect_init_list.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/ctor/ctor.unexpected.copy.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/ctor/ctor.unexpected.move.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/dtor.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/equality/equality.other_expected.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/equality/equality.unexpected.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/observers/bool.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/observers/deref.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/observers/error.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/observers/has_value.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/observers/value.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/swap/free.swap.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/swap/member.swap.pass.cpp
M libcxx/test/std/utilities/format/format.arguments/format.arg.store/make_format_args.pass.cpp
M libcxx/test/std/utilities/format/format.arguments/format.arg.store/make_format_args.sh.cpp
M libcxx/test/std/utilities/format/format.arguments/format.arg.store/make_wformat_args.pass.cpp
M libcxx/test/std/utilities/format/format.arguments/format.arg/ctor.pass.cpp
M libcxx/test/std/utilities/format/format.arguments/format.arg/operator_bool.pass.cpp
M libcxx/test/std/utilities/format/format.arguments/format.arg/visit.pass.cpp
M libcxx/test/std/utilities/format/format.arguments/format.arg/visit.return_type.pass.cpp
M libcxx/test/std/utilities/format/format.arguments/format.arg/visit_format_arg.deprecated.verify.cpp
M libcxx/test/std/utilities/format/format.arguments/format.arg/visit_format_arg.pass.cpp
M libcxx/test/std/utilities/format/format.arguments/format.args/ctad.compile.pass.cpp
M libcxx/test/std/utilities/format/format.arguments/format.args/ctor.pass.cpp
M libcxx/test/std/utilities/format/format.arguments/format.args/get.pass.cpp
M libcxx/test/std/utilities/format/format.arguments/format.args/types.compile.pass.cpp
M libcxx/test/std/utilities/format/format.formattable/concept.formattable.compile.pass.cpp
M libcxx/test/std/utilities/format/format.formattable/concept.formattable.float.compile.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.context/format.context/advance_to.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.context/format.context/arg.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.context/format.context/ctor.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.context/format.context/locale.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.context/format.context/out.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.locking/enable_nonlocking_formatter_optimization.compile.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.bool.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.c_string.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/format/format.formatter/format.formatter.spec/formatter.char.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.char_array.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.floating_point.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.handle.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.pointer.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.signed_integral.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.string.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.unsigned_integral.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/advance_to.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/begin.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/check_arg_id.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/check_arg_id.verify.cpp
M libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/ctor.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/end.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/next_arg_id.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/next_arg_id.verify.cpp
M libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/types.compile.pass.cpp
M libcxx/test/std/utilities/format/format.functions/P2418.pass.cpp
M libcxx/test/std/utilities/format/format.functions/bug_81590.compile.pass.cpp
M libcxx/test/std/utilities/format/format.functions/escaped_output.unicode.pass.cpp
M libcxx/test/std/utilities/format/format.functions/fill.unicode.pass.cpp
M libcxx/test/std/utilities/format/format.functions/format.locale.pass.cpp
M libcxx/test/std/utilities/format/format.functions/format.locale.runtime_format.pass.cpp
M libcxx/test/std/utilities/format/format.functions/format.locale.verify.cpp
M libcxx/test/std/utilities/format/format.functions/format.pass.cpp
M libcxx/test/std/utilities/format/format.functions/format.runtime_format.pass.cpp
M libcxx/test/std/utilities/format/format.functions/format.verify.cpp
M libcxx/test/std/utilities/format/format.functions/format_tests.h
M libcxx/test/std/utilities/format/format.functions/format_to.locale.pass.cpp
M libcxx/test/std/utilities/format/format.functions/format_to.locale.verify.cpp
M libcxx/test/std/utilities/format/format.functions/format_to.pass.cpp
M libcxx/test/std/utilities/format/format.functions/format_to.verify.cpp
M libcxx/test/std/utilities/format/format.functions/format_to_n.locale.pass.cpp
M libcxx/test/std/utilities/format/format.functions/format_to_n.locale.verify.cpp
M libcxx/test/std/utilities/format/format.functions/format_to_n.pass.cpp
M libcxx/test/std/utilities/format/format.functions/format_to_n.verify.cpp
M libcxx/test/std/utilities/format/format.functions/formatted_size.locale.pass.cpp
M libcxx/test/std/utilities/format/format.functions/formatted_size.locale.verify.cpp
M libcxx/test/std/utilities/format/format.functions/formatted_size.pass.cpp
M libcxx/test/std/utilities/format/format.functions/formatted_size.verify.cpp
M libcxx/test/std/utilities/format/format.functions/locale-specific_form.pass.cpp
M libcxx/test/std/utilities/format/format.functions/unicode.pass.cpp
M libcxx/test/std/utilities/format/format.functions/vformat.locale.pass.cpp
M libcxx/test/std/utilities/format/format.functions/vformat.pass.cpp
M libcxx/test/std/utilities/format/format.functions/vformat_to.locale.pass.cpp
M libcxx/test/std/utilities/format/format.functions/vformat_to.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtdef/format.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtdef/parse.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtdef/set_brackets.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtdef/set_separator.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtkind/format_kind.compile.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtkind/format_kind.verify.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtkind/range_format.compile.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtmap/format.functions.format.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtmap/format.functions.tests.h
M libcxx/test/std/utilities/format/format.range/format.range.fmtmap/format.functions.vformat.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtmap/format.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtmap/parse.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtset/format.functions.format.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtset/format.functions.tests.h
M libcxx/test/std/utilities/format/format.range/format.range.fmtset/format.functions.vformat.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtset/format.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtset/parse.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtstr/format.functions.format.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtstr/format.functions.tests.h
M libcxx/test/std/utilities/format/format.range/format.range.fmtstr/format.functions.vformat.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtstr/format.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtstr/parse.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.formatter/format.functions.format.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.formatter/format.functions.tests.h
M libcxx/test/std/utilities/format/format.range/format.range.formatter/format.functions.vformat.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.formatter/format.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.formatter/parse.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.formatter/set_brackets.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.formatter/set_separator.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.formatter/underlying.pass.cpp
M libcxx/test/std/utilities/format/format.string/format.string.std/lwg3720_arg_id_width_precision_allowed_types.pass.cpp
M libcxx/test/std/utilities/format/format.string/format.string.std/lwg3720_arg_id_width_precision_allowed_types.verify.cpp
M libcxx/test/std/utilities/format/format.tuple/format.functions.format.pass.cpp
M libcxx/test/std/utilities/format/format.tuple/format.functions.format.verify.cpp
M libcxx/test/std/utilities/format/format.tuple/format.functions.tests.h
M libcxx/test/std/utilities/format/format.tuple/format.functions.vformat.pass.cpp
M libcxx/test/std/utilities/format/format.tuple/format.pass.cpp
M libcxx/test/std/utilities/format/format.tuple/parse.pass.cpp
M libcxx/test/std/utilities/format/format.tuple/set_brackets.pass.cpp
M libcxx/test/std/utilities/format/format.tuple/set_separator.pass.cpp
M libcxx/test/std/utilities/format/types.compile.pass.cpp
M libcxx/test/support/format.functions.common.h
M libcxx/test/support/test.support/make_string_header.pass.cpp
M libcxx/test/support/test_basic_format_arg.h
Log Message:
-----------
[libc++][NFC] Add missing license headers
Also standardize the license comment in several files where it was
different from what we normally do.
Commit: a847b0f37d5dd0a3334eb822b35e89fa835a4b8d
https://github.com/llvm/llvm-project/commit/a847b0f37d5dd0a3334eb822b35e89fa835a4b8d
Author: Marc Auberer <marc.auberer at chillibits.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/lib/Target/README.txt
Log Message:
-----------
Remove already implemented target independent optimization opportunity (#101233)
Fixes #101127
See this working example: https://godbolt.org/z/z15oj15eP
Commit: 28a079223dd22f13ca51dfa8f5d51a9cd3514edf
https://github.com/llvm/llvm-project/commit/28a079223dd22f13ca51dfa8f5d51a9cd3514edf
Author: Brian Yahn <yahn at google.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M clang/include/clang/AST/ASTContext.h
Log Message:
-----------
Fix typo: tyep -> type.
Commit: a3fb30143565cca2c794ab0e9921d50b09cadfc7
https://github.com/llvm/llvm-project/commit/a3fb30143565cca2c794ab0e9921d50b09cadfc7
Author: Rob Suderman <rob.suderman at gmail.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M mlir/lib/Dialect/Math/Transforms/PolynomialApproximation.cpp
M mlir/test/mlir-cpu-runner/math-polynomial-approx.mlir
Log Message:
-----------
[mlir][math] Fix polynomial `math.asin` approximation (#101247)
The polynomial approximation for asin is only good between [-9/16,
9/16]. Values beyond that range must be remapped to achieve good numeric
results. This is done by the equation below:
`arcsin(x) = PI/2 - arcsin(sqrt(1.0 - x*x))`
Commit: 9718f3dec1c366809b0c2508ba77cc5dd3cf82ec
https://github.com/llvm/llvm-project/commit/9718f3dec1c366809b0c2508ba77cc5dd3cf82ec
Author: vporpo <vporpodas at google.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
Log Message:
-----------
[SandboxIR] Implement FPToSIInst (#101362)
This patch implements sandboxir::FPToSIInst which mirrors
llvm::FPToSIInst.
Commit: a4c6ebeb20168bbedbb1a3aff9f5096416e5914a
https://github.com/llvm/llvm-project/commit/a4c6ebeb20168bbedbb1a3aff9f5096416e5914a
Author: Brandon Wu <brandon.wu at sifive.com>
Date: 2024-08-01 (Thu, 01 Aug 2024)
Changed paths:
M llvm/include/llvm/CodeGen/ValueTypes.td
M llvm/include/llvm/CodeGenTypes/MachineValueType.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
M llvm/test/TableGen/dag-isel-regclass-emit-enum.td
M llvm/utils/TableGen/Common/CodeGenDAGPatterns.h
M llvm/utils/TableGen/DAGISelMatcherEmitter.cpp
M llvm/utils/TableGen/VTEmitter.cpp
Log Message:
-----------
[MVT][TableGen] Extend Machine Value Type to `uint16_t` (#99657)
RFC:
https://discourse.llvm.org/t/rfc-extend-machine-value-type-from-uint8-t-to-uint16-t/80274
compile-time-tracker:
https://llvm-compile-time-tracker.com/compare.php?from=4b9fab591916eec9fd1942f37afe3b137b564089&to=177d28247efe5a4d59a8d8150b4daf01e4f57d74&stat=wall-time
Currently 208 out of 256 MVTs are used, it will be run out soon, so
ultimately we need to extend the original `MVT::SimpleValueType` from
`uint8_t` to `uint16_t` to accomodate more types.
The `MatcherTable` uses `unsigned char` for encoding the matcher code,
so the extended MVTs are no longer fit into the table, thus we need to
use VBR to encode them as we do on others that are wider than 8 bits.
The statistics below shows the difference of "Total Array size" of the
matcher table that appears in every files:
```
Table Before After Change(%)
WebAssemblyGenDAGISel.inc 23576 23775 0.844
NVPTXGenDAGISel.inc 173498 173498 0
RISCVGenDAGISel.inc 2179121 2369929 8.756
AVRGenDAGISel.inc 2754 2754 0
PPCGenDAGISel.inc 163315 163617 0.185
MipsGenDAGISel.inc 47280 47447 0.353
SystemZGenDAGISel.inc 56243 56461 0.388
AArch64GenDAGISel.inc 467893 487830 4.261
MSP430GenDAGISel.inc 8069 8069 0
LoongArchGenDAGISel.inc 78928 79131 0.257
XCoreGenDAGISel.inc 3432 3432 0
BPFGenDAGISel.inc 3733 3733 0
VEGenDAGISel.inc 65174 66456 1.967
LanaiGenDAGISel.inc 2067 2067 0
X86GenDAGISel.inc 628787 636987 1.304
ARMGenDAGISel.inc 170968 171036 0.040
HexagonGenDAGISel.inc 155764 155764 0
SparcGenDAGISel.inc 5762 5798 0.625
AMDGPUGenDAGISel.inc 504356 504463 0.021
R600GenDAGISel.inc 29785 29785 0
```
The statistics below shows the runtime peak memory usage by compiling a
simple C program:
`/bin/time -v clang -target $TARGET -O3 -c test.c`
```
int test(int a) {
return a * 3;
}
```
```
Target Before(kbytes) After(kbytes) Change(%)
wasm64 110172 110088 -0.076
nvptx64 109784 109980 0.179
riscv64 114020 113656 -0.319
avr 110352 110068 -0.257
ppc64 112612 112476 -0.120
mips64 113588 113668 0.070
systemz 110860 110760 -0.090
aarch64 113704 113432 -0.239
msp430 110284 110200 -0.076
loongarch64 111052 110756 -0.267
xcore 108340 108020 -0.295
bpf 110620 110708 0.080
ve 110960 110920 -0.036
lanai 110180 109960 -0.200
x86_64 113640 113304 -0.296
arm64 113540 113172 -0.324
hexagon 114620 114684 0.056
sparc 110412 110136 -0.250
amdgcn 118164 117144 -0.863
r600 111200 110508 -0.622
```
Commit: 6d103d7746c94cc865138093c7c65138b89aa77c
https://github.com/llvm/llvm-project/commit/6d103d7746c94cc865138093c7c65138b89aa77c
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/include/llvm/Analysis/GenericDomTreeUpdater.h
M llvm/lib/Analysis/DomTreeUpdater.cpp
M llvm/lib/CodeGen/EarlyIfConversion.cpp
M llvm/lib/Target/AArch64/AArch64ConditionalCompares.cpp
M llvm/unittests/IR/DominatorTreeTest.cpp
Log Message:
-----------
[Support] Erase blocks after DomTree::eraseNode (#101195)
Change eraseNode to require that the basic block is still contained
inside the function. This is a preparation for using numbers of basic
blocks inside the dominator tree, which are invalid for blocks that are
not inside a function.
Commit: 9fe455fd0c7d6f2107b33b37c04bbd3b12fe65b3
https://github.com/llvm/llvm-project/commit/9fe455fd0c7d6f2107b33b37c04bbd3b12fe65b3
Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M lldb/include/lldb/Symbol/UnwindPlan.h
M lldb/source/Symbol/UnwindPlan.cpp
M lldb/source/Target/RegisterContextUnwind.cpp
Log Message:
-----------
[lldb] Add constant value mode for RegisterLocation in UnwindPlans (#100624)
This is useful for language runtimes that compute register values by
inspecting the state of the currently running process. Currently, there
are no mechanisms enabling these runtimes to set register values to
arbitrary values.
The alternative considered would involve creating a dwarf expression
that produces an arbitrary integer (e.g. using OP_constu). However, the
current data structure for Rows is such that they do not own any memory
associated with dwarf expressions, which implies any such expression
would need to have static storage and therefore could not contain a
runtime value.
Adding a new rule for constants leads to a simpler implementation. It's
also worth noting that this does not make the "Location" union any
bigger, since it already contains a pointer+size pair.
Commit: 8b17b12912ff59b0c9f2825ac2cc258418ed349b
https://github.com/llvm/llvm-project/commit/8b17b12912ff59b0c9f2825ac2cc258418ed349b
Author: vporpo <vporpodas at google.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
Log Message:
-----------
[SandboxIR] Implement FPToUIInst (#101369)
This patch implements sandboxir::FPToUIInst which mirrors
llvm::FPToUIInst.
Commit: 35a2e6d24bcb94720ec7b3aa00e58a1b7b837fbc
https://github.com/llvm/llvm-project/commit/35a2e6d24bcb94720ec7b3aa00e58a1b7b837fbc
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/test/Analysis/ScalarEvolution/finite-trip-count.ll
M llvm/test/Analysis/ScalarEvolution/ne-overflow.ll
M llvm/test/Analysis/ScalarEvolution/trip-count-implied-addrec.ll
Log Message:
-----------
[SCEV] Regen a couple auto-gen tests
Commit: f9827e67ce2ccad863fac9d062eacbd60d829375
https://github.com/llvm/llvm-project/commit/f9827e67ce2ccad863fac9d062eacbd60d829375
Author: Volodymyr Sapsai <vsapsai at apple.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSerializationKinds.td
M clang/lib/Serialization/ASTReader.cpp
M clang/test/Index/pch-with-errors.c
M clang/test/Modules/load-module-with-errors.m
Log Message:
-----------
[Modules][Diagnostic] Don't claim a METADATA mismatch is always in PCH file. (#101280)
You can provide more than one AST file as an input. Emit a path for a
file with a problem, so you can disambiguate between multiple files.
rdar://65005546
Commit: 366eade911b54878c9cc1835d2544fb4ba907ef5
https://github.com/llvm/llvm-project/commit/366eade911b54878c9cc1835d2544fb4ba907ef5
Author: Leandro Lupori <leandro.lupori at linaro.org>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M flang/include/flang/Semantics/tools.h
M flang/lib/Semantics/resolve-directives.cpp
A flang/test/Lower/OpenMP/associate.f90
M flang/test/Lower/OpenMP/default-clause-implied-do-fix.f90
A flang/test/Semantics/OpenMP/copyprivate04.f90
M flang/test/Semantics/OpenMP/do05-positivecase.f90
M flang/test/Semantics/OpenMP/do20.f90
M flang/test/Semantics/OpenMP/implicit-dsa.f90
A flang/test/Semantics/OpenMP/parallel-shared05.f90
M flang/test/Semantics/OpenMP/reduction08.f90
M flang/test/Semantics/OpenMP/reduction09.f90
M flang/test/Semantics/OpenMP/symbol01.f90
M flang/test/Semantics/OpenMP/symbol02.f90
M flang/test/Semantics/OpenMP/symbol03.f90
M flang/test/Semantics/OpenMP/symbol05.f90
M flang/test/Semantics/OpenMP/symbol07.f90
M flang/test/Semantics/OpenMP/symbol08.f90
M flang/test/Semantics/OpenMP/symbol09.f90
Log Message:
-----------
[flang][OpenMP] Reland Fix copyprivate semantic checks (#95799) (#101009)
There are some cases in which variables used in OpenMP constructs
are predetermined as private. The semantic checks for copyprivate
were not handling those cases.
Besides that, shared symbols were not being properly represented
in some cases. When there was no previously declared private
(implicit) symbol, no new association symbols, representing
shared ones, were being created.
These symbols must always be inserted in constructs that may
privatize the original symbol: parallel, teams and task
generating constructs.
Fixes #87214 and #86907
Commit: 055893f164f595e5d4115db17dd479ed3401bf00
https://github.com/llvm/llvm-project/commit/055893f164f595e5d4115db17dd479ed3401bf00
Author: Brox Chen <broxigarchen at outlook.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
A llvm/test/MC/AMDGPU/gfx12_asm_vop1-fake16.s
M llvm/test/MC/AMDGPU/gfx12_asm_vop1.s
A llvm/test/MC/AMDGPU/gfx12_asm_vop1_dpp16-fake16.s
M llvm/test/MC/AMDGPU/gfx12_asm_vop1_dpp16.s
A llvm/test/MC/AMDGPU/gfx12_asm_vop1_dpp8-fake16.s
M llvm/test/MC/AMDGPU/gfx12_asm_vop1_dpp8.s
A llvm/test/MC/AMDGPU/gfx12_asm_vop1_t16_err-fake16.s
M llvm/test/MC/AMDGPU/gfx12_asm_vop1_t16_err.s
Log Message:
-----------
[AMDGPU][True16][MC] duplicate vop1 tests to fake16 and update real-true16 flags for GFX12 (#100849)
duplicate vop1 tests to fake16 and update real-true16 flags for GFX12
creating duplications here to avoid bulk copy in the following true16
patches
---------
Co-authored-by: guochen2 <guochen2 at amd.com>
Commit: 6aa723daa9d9c54c597788d384b41dd735359316
https://github.com/llvm/llvm-project/commit/6aa723daa9d9c54c597788d384b41dd735359316
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-08-01 (Thu, 01 Aug 2024)
Changed paths:
M llvm/include/llvm/Analysis/TargetLibraryInfo.def
M llvm/lib/Transforms/Utils/BuildLibCalls.cpp
M llvm/test/Transforms/InferFunctionAttrs/annotate.ll
M llvm/test/tools/llvm-tli-checker/ps4-tli-check.yaml
M llvm/unittests/Analysis/TargetLibraryInfoTest.cpp
Log Message:
-----------
[TLI] Add support for nan libfunc (#101356)
Reference: https://en.cppreference.com/w/cpp/numeric/math/nan
Commit: 0a01e8ff530ab15277aa9fad5361297d7b55e247
https://github.com/llvm/llvm-project/commit/0a01e8ff530ab15277aa9fad5361297d7b55e247
Author: Alexandre Perez <alexandrecperez at gmail.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M lldb/include/lldb/Target/Target.h
M lldb/source/Target/Target.cpp
M lldb/source/Target/TargetProperties.td
M lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
Log Message:
-----------
[lldb] Allow mapping object file paths (#101361)
This introduces a `target.object-map` which allows us to remap module
locations, much in the same way as source mapping works today. This is
useful, for instance, when debugging coredumps, so we can replace some
of the locations where LLDB attempts to load shared libraries and
executables from, without having to setup an entire sysroot.
Commit: 6d3317e5389d3041c4a0ae588919d7a2fe2764f0
https://github.com/llvm/llvm-project/commit/6d3317e5389d3041c4a0ae588919d7a2fe2764f0
Author: vporpo <vporpodas at google.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
Log Message:
-----------
[SandboxIR] Implement SIToFPInst (#101374)
This patch implements sandboxir::SIToFPInst which mirrors
llvm::SIToFPInst.
Commit: 496fedaccac569438ccb1fd65bf3b30eb5557350
https://github.com/llvm/llvm-project/commit/496fedaccac569438ccb1fd65bf3b30eb5557350
Author: ChiaHungDuan <chiahungduan at google.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M compiler-rt/lib/scudo/standalone/secondary.h
Log Message:
-----------
Revert "[scudo] Separated committed and decommitted entries." (#101375)
Reverts llvm/llvm-project#100818
Commit: d0b4b6b12dea662a9316e2f83277288be37be666
https://github.com/llvm/llvm-project/commit/d0b4b6b12dea662a9316e2f83277288be37be666
Author: Paul T Robinson <paul.robinson at sony.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M clang/lib/Driver/ToolChains/CommonArgs.cpp
Log Message:
-----------
[Driver] Correct comment on default for -falign-functions (#101257)
Commit: 33960ce5a8e26baf05521fd7f8be5c5abb6bb0ff
https://github.com/llvm/llvm-project/commit/33960ce5a8e26baf05521fd7f8be5c5abb6bb0ff
Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M bolt/include/bolt/Core/GDBIndex.h
M bolt/lib/Core/GDBIndex.cpp
M bolt/test/X86/dwarf4-split-gdb-index-types-gdb-generated.test
Log Message:
-----------
[BOLT][DWARF] Sort GDBIndexTUEntryVector (#101264)
Sorts GDBIndexTUEntryVector in decreasing order by hash to ensure
determinism when parallelized.
Commit: 9a1013220b668d846e63f241203b80515dee0a03
https://github.com/llvm/llvm-project/commit/9a1013220b668d846e63f241203b80515dee0a03
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M offload/include/Shared/EnvironmentVar.h
M offload/plugins-nextgen/amdgpu/dynamic_hsa/hsa.h
M offload/plugins-nextgen/amdgpu/src/rtl.cpp
M offload/plugins-nextgen/common/include/ErrorReporting.h
M offload/plugins-nextgen/common/include/PluginInterface.h
M offload/plugins-nextgen/common/src/PluginInterface.cpp
A offload/test/sanitizer/kernel_crash.c
A offload/test/sanitizer/kernel_crash_async.c
A offload/test/sanitizer/kernel_crash_many.c
A offload/test/sanitizer/kernel_crash_single.c
A offload/test/sanitizer/kernel_trap.c
A offload/test/sanitizer/kernel_trap_async.c
A offload/test/sanitizer/kernel_trap_many.c
M openmp/docs/design/Runtimes.rst
Log Message:
-----------
[Offload] Allow to record kernel launch stack traces (#100472)
Similar to (de)allocation traces, we can record kernel launch stack
traces and display them in case of an error. However, the AMD GPU plugin
signal handler, which is invoked on memroy faults, cannot pinpoint the
offending kernel. Insteade print `<NUM>`, set via
`OFFLOAD_TRACK_NUM_KERNEL_LAUNCH_TRACES=<NUM>`, many traces. The
recoding/record uses a ring buffer of fixed size (for now 8).
For `trap` errors, we print the actual kernel name, and trace if
recorded.
Commit: b66aa3bfff442a5eb67f1bfcfaa148e42e49b787
https://github.com/llvm/llvm-project/commit/b66aa3bfff442a5eb67f1bfcfaa148e42e49b787
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/expf16.cpp
M libc/test/src/math/performance_testing/expf16_perf.cpp
M libc/test/src/math/smoke/expf16_test.cpp
Log Message:
-----------
[libc][math][c23] Refactor expf16 (#101373)
Also updates and sorts CMake target dependencies, and corrects the smoke
test that expected expf16(sNaN) to return sNaN instead of aNaN, although
the test still passed, as FPMatcher only checks whether both sides are
NaN, not whether they're the same NaN value.
Commit: ef67664d81b395e6dea9586a1a508323ad2a9de7
https://github.com/llvm/llvm-project/commit/ef67664d81b395e6dea9586a1a508323ad2a9de7
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
A llvm/test/CodeGen/AMDGPU/materialize-frame-index-sgpr.gfx10.ll
A llvm/test/CodeGen/AMDGPU/materialize-frame-index-sgpr.ll
Log Message:
-----------
AMDGPU: Add testcase for materializing sgpr frame indexes (#101306)
These add some IR tests for 57d10b4fc9142d12fbdec578a0cc6f78deb67ef4.
These do rely on some lucky MIR placement to test the scc input, but I
haven't found a better way to do it. Also, scc handling in inline asm
is extremely buggy.
Commit: 6740d701bde4ad9b95d7d811852fa0a2542e6b28
https://github.com/llvm/llvm-project/commit/6740d701bde4ad9b95d7d811852fa0a2542e6b28
Author: MaheshRavishankar <1663364+MaheshRavishankar at users.noreply.github.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.h
M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
M mlir/include/mlir/Dialect/SCF/Transforms/TileUsingInterface.h
M mlir/include/mlir/Dialect/SCF/Utils/Utils.h
M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
M mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
M mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
M mlir/lib/Dialect/SCF/Utils/Utils.cpp
M mlir/test/Dialect/Linalg/tile-tensors.mlir
M mlir/test/Dialect/Linalg/tile-to-forall.mlir
M mlir/test/Dialect/Linalg/transform-op-tile.mlir
M mlir/test/Interfaces/TilingInterface/tile-and-fuse-using-interface.mlir
M mlir/test/Interfaces/TilingInterface/tile-pad-using-interface.mlir
M mlir/test/Interfaces/TilingInterface/tile-using-interface.mlir
M mlir/test/Interfaces/TilingInterface/tile-using-scfforall.mlir
M mlir/test/lib/Interfaces/TilingInterface/TestTilingInterfaceTransformOps.cpp
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][Linalg] Deprecate `linalg::tileToForallOp` and `linalg::tileToForallOpUsingTileSizes` (#91878)
The implementation of these methods are legacy and they are removed in
favor of using the `scf::tileUsingSCF` methods as replacements. To get
the latter on par with requirements of the deprecated methods, the
tiling allows one to specify the maximum number of tiles to use instead
of specifying the tile sizes. When tiling to `scf.forall` this
specification is used to generate the `num_threads` version of the
operation.
A slight deviation from previous implementation is that the deprecated
method always generated the `num_threads` variant of the `scf.forall`
operation. Instead now this is driven by the tiling options specified.
This reduces the indexing math generated when the tile sizes are
specified.
**Moving from `linalg::tileToForallOp` to `scf::tileUsingSCF`**
```
OpBuilder b;
TilingInterface op;
ArrayRef<OpFoldResult> numThreads;
ArrayAttr mapping;
FailureOr<ForallTilingResult> result =linalg::tileToForallOp(b, op, numThreads, mapping);
```
can be replaced by
```
scf::SCFTilingOptions options;
options.setNumThreads(numThreads);
options.setLoopType(scf::SCFTilingOptions::LoopType::ForallOp);
options.setMapping(mapping.getValue()); /*note the difference that setMapping takes an ArrayRef<Attribute> */
FailureOr<scf::SCFTilingResult> result = scf::tileUsingSCF(b, op, options);
```
This generates the `numThreads` version of the `scf.forall` for the
inter-tile loops, i.e.
```
... = scf.forall (%arg0, %arg1) in (%nt0, %nt1) shared_outs(...)
```
**Moving from `linalg::tileToForallOpUsingTileSizes` to
`scf::tileUsingSCF`**
```
OpBuilder b;
TilingInterface op;
ArrayRef<OpFoldResult> tileSizes;
ArrayAttr mapping;
FailureOr<ForallTilingResult> result =linalg::tileToForallOpUsingTileSizes(b, op, tileSizes, mapping);
```
can be replaced by
```
scf::SCFTilingOptions options;
options.setTileSizes(tileSizes);
options.setLoopType(scf::SCFTilingOptions::LoopType::ForallOp);
options.setMapping(mapping.getValue()); /*note the difference that setMapping takes an ArrayRef<Attribute> */
FailureOr<scf::SCFTilingResult> result = scf::tileUsingSCF(b, op, options);
```
Also note that `linalg::tileToForallOpUsingTileSizes` would effectively
call the `linalg::tileToForallOp` by computing the `numThreads` from the
`op` and `tileSizes` and generate the `numThreads` version of the
`scf.forall`. That is not the case anymore. Instead this will directly
generate the `tileSizes` version of the `scf.forall` op
```
... = scf.forall(%arg0, %arg1) = (%lb0, %lb1) to (%ub0, %ub1) step(%step0, %step1) shared_outs(...)
```
If you actually want to use the `numThreads` version, it is upto the
caller to compute the `numThreads` and set `options.setNumThreads`
instead of `options.setTileSizes`. Note that there is a slight
difference in the num threads version and tile size version. The former
requires an additional `affine.max` on the tile size to ensure
non-negative tile sizes. When lowering to `numThreads` version this
`affine.max` is not needed since by construction the tile sizes are
non-negative. In previous implementations, the `numThreads` version
generated when using the `linalg::tileToForallOpUsingTileSizes` method
would avoid generating the `affine.max` operation. To get the same
state, downstream users will have to additionally normalize the
`scf.forall` operation.
**Changes to `transform.structured.tile_using_forall`**
The transform dialect op that called into `linalg::tileToForallOp` and
`linalg::tileToForallOpUsingTileSizes` have been modified to call
`scf::tileUsingSCF`. The transform dialect op always generates the
`numThreads` version of the `scf.forall` op. So when `tile_sizes` are
specified for the transform dialect op, first the `tile_sizes` version
of the `scf.forall` is generated by the `scf::tileUsingSCF` method which
is then further normalized to get back to the same state. So there is no
functional change to `transform.structured.tile_using_forall`. It always
generates the `numThreads` version of the `scf.forall` op (as it did
before this change).
---------
Signed-off-by: MaheshRavishankar <mahesh.ravishankar at gmail.com>
Commit: 2bf58f5d27a233e63e58d644ff7aff126ee99aa7
https://github.com/llvm/llvm-project/commit/2bf58f5d27a233e63e58d644ff7aff126ee99aa7
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Cuda.cpp
M clang/test/Driver/cuda-cross-compiling.c
M clang/tools/clang-nvlink-wrapper/ClangNVLinkWrapper.cpp
M libc/cmake/modules/LLVMLibCLibraryRules.cmake
M libc/startup/gpu/CMakeLists.txt
Log Message:
-----------
[Clang] Suppress missing architecture error when doing LTO (#100652)
Summary:
The `nvlink-wrapper` can do LTO now, which means we can still create
some LLVM-IR without needing an architecture. In the case that we try to
invoke `nvlink` internally, that will still fail. This patch simply
defers the error until later so we can use `--lto-emit-llvm` to get the
IR without specifying an architecture.
Commit: 5d972c582a076768885e6d33df8f5d3860594e43
https://github.com/llvm/llvm-project/commit/5d972c582a076768885e6d33df8f5d3860594e43
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M lld/ELF/Config.h
M lld/ELF/Driver.cpp
M lld/ELF/SyntheticSections.cpp
M lld/ELF/Writer.cpp
M lld/docs/ReleaseNotes.rst
M lld/docs/ld.lld.1
M lld/test/CMakeLists.txt
A lld/test/ELF/zsectionheader.s
Log Message:
-----------
[ELF] Add -z nosectionheader
GNU ld since 2.41 supports this option, which is mildly useful. It omits
the section header table and non-ALLOC sections (including
.symtab/.strtab (--strip-all)).
This option is simple to implement and might be used by LLDB to test
program headers parsing without the section header table (#100900).
-z sectionheader, which is the default, is also added.
Pull Request: https://github.com/llvm/llvm-project/pull/101286
Commit: bf5e56deba1e6d69f5ff0714fcade08c1329f882
https://github.com/llvm/llvm-project/commit/bf5e56deba1e6d69f5ff0714fcade08c1329f882
Author: Chris Apple <cja-private at pm.me>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/CODE_OWNERS.TXT
Log Message:
-----------
[NFC][LLVM] Add RealtimeSanitizer LLVM code owners (#101231)
Split from #100596
Commit: 36264435071ecb5790d7944f0653c8195033135f
https://github.com/llvm/llvm-project/commit/36264435071ecb5790d7944f0653c8195033135f
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/vslide1down-constant-vl-rv32.ll
M llvm/test/CodeGen/RISCV/rvv/vslide1up-constant-vl-rv32.ll
Log Message:
-----------
[RISCV] Use X0 for VLMax for slide1up/slide1down in lowerVectorIntrinsicScalars. (#101384)
Previously, we created a vsetvlimax intrinsic. Using X0 simplifies the
code and enables some optimizations to kick when the exact value of
vlmax is known.
Commit: 30b5d4a76357feebf4797d1d80bc9d5608c74a88
https://github.com/llvm/llvm-project/commit/30b5d4a76357feebf4797d1d80bc9d5608c74a88
Author: aaryanshukla <53713108+aaryanshukla at users.noreply.github.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M libc/config/darwin/arm/entrypoints.txt
M libc/config/darwin/x86_64/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/spec/llvm_libc_ext.td
M libc/spec/stdc.td
M libc/src/math/CMakeLists.txt
A libc/src/math/dfmaf128.h
A libc/src/math/dfmal.h
A libc/src/math/dsubf128.h
A libc/src/math/dsubl.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/dfmaf128.cpp
A libc/src/math/generic/dfmal.cpp
A libc/src/math/generic/dsubf128.cpp
A libc/src/math/generic/dsubl.cpp
M libc/test/src/math/CMakeLists.txt
A libc/test/src/math/dfmal_test.cpp
A libc/test/src/math/dsubl_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/SubTest.h
A libc/test/src/math/smoke/dfmaf128_test.cpp
A libc/test/src/math/smoke/dfmal_test.cpp
A libc/test/src/math/smoke/dsubf128_test.cpp
A libc/test/src/math/smoke/dsubl_test.cpp
M libc/utils/MPFRWrapper/MPFRUtils.cpp
Log Message:
-----------
[libc][math][c23] Add dfma{l,f128} and dsub{l,f128} C23 math functions (#101089)
Co-authored-by: OverMighty <its.overmighty at gmail.com>
Commit: 910012e7c5854a7e04e15a5a8750aad41b8bb137
https://github.com/llvm/llvm-project/commit/910012e7c5854a7e04e15a5a8750aad41b8bb137
Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M bolt/include/bolt/Core/DIEBuilder.h
M bolt/lib/Core/DIEBuilder.cpp
M bolt/lib/Rewrite/DWARFRewriter.cpp
Log Message:
-----------
[BOLT][DWARF][NFC] Split DIEBuilder::finish (#101244)
Split DIEBuilder::finish so that code updating .debug_names is in a
separate function.
Commit: c6a3f4e2f2586cb1ce51306c305752a78bdba263
https://github.com/llvm/llvm-project/commit/c6a3f4e2f2586cb1ce51306c305752a78bdba263
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/include/llvm/Transforms/Instrumentation/AddressSanitizer.h
M llvm/include/llvm/Transforms/Instrumentation/DataFlowSanitizer.h
M llvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h
M llvm/include/llvm/Transforms/Instrumentation/ThreadSanitizer.h
Log Message:
-----------
[sanitizer] Make file headers more conventional
Add "-*- C++ -*-"
Commit: 9effefbae8d96006a4dd29bb9ab8532fd408559d
https://github.com/llvm/llvm-project/commit/9effefbae8d96006a4dd29bb9ab8532fd408559d
Author: Haowei Wu <haowei at google.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.h
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/CMakeLists.txt
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.cpp
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.h
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Log Message:
-----------
Revert "[lldb] Reland 2402b3213c2f with `/H` to debug the windows build issue"
This reverts commit e72cdae47b4e263ea97b2bdd75cf44c1510cf3be, which broke
LLVM's lldb builder for Windows msvc.
Commit: 7583c484c81218ab4c8c2fba2774cb518d8bbd43
https://github.com/llvm/llvm-project/commit/7583c484c81218ab4c8c2fba2774cb518d8bbd43
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/include/llvm/Analysis/ScalarEvolution.h
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/test/Analysis/ScalarEvolution/trip-count-scalable-stride.ll
Log Message:
-----------
[SCEV] Use power of two facts involving vscale when inferring wrap flags (#101380)
SCEV has logic for inferring wrap flags on AddRecs which are known to
control an exit based on whether the step is a power of two. This logic
only considered constants, and thus did not trigger for steps such as (4
x vscale) which are common in scalably vectorized loops.
The net effect is that we were very sensative to the preservation of
nsw/nuw flags on such IVs, and could not infer trip counts if they got
lost for any reason.
---------
Co-authored-by: Nikita Popov <github at npopov.com>
Commit: 2aa96fcf751ee948702e8447de62d6bea8235e3a
https://github.com/llvm/llvm-project/commit/2aa96fcf751ee948702e8447de62d6bea8235e3a
Author: Matthias Springer <me at m-sp.org>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M mlir/lib/Transforms/Utils/DialectConversion.cpp
M mlir/test/Transforms/test-legalize-type-conversion.mlir
Log Message:
-----------
[mlir][Transforms] Dialect conversion: Skip materializations when running without converter (#101318)
TODO: test case
Commit: 951a36309787c39d102798c7b86b06caa1a35257
https://github.com/llvm/llvm-project/commit/951a36309787c39d102798c7b86b06caa1a35257
Author: Peiming Liu <peiming at google.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M mlir/lib/Dialect/SparseTensor/Transforms/SparseIterationToScf.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/LoopEmitter.h
M mlir/test/Dialect/SparseTensor/sparse_kernels_to_iterator.mlir
Log Message:
-----------
[mlir][sparse] implement `sparse_tensor.extract_value` operation. (#101220)
Commit: c2dc46cd1532c57e3d16c69f54edeed67e2d46c7
https://github.com/llvm/llvm-project/commit/c2dc46cd1532c57e3d16c69f54edeed67e2d46c7
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/utils/TableGen/Common/CodeGenDAGPatterns.h
Log Message:
-----------
[TableGen] Pass ValueTypeByHwMode by const reference in a couple places. NFC
ValueTypeByHwMode contains a std::map. We shouldn't copy it if
we don't need to .
Fixes #101406.
Commit: 24f8d1009e5359590a619cbbf596229ae5bfbbca
https://github.com/llvm/llvm-project/commit/24f8d1009e5359590a619cbbf596229ae5bfbbca
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/utils/TableGen/Common/CodeGenDAGPatterns.h
M llvm/utils/TableGen/GlobalISelEmitter.cpp
Log Message:
-----------
[TableGen] Add an explicit cast to allow one TypeSetByHwMode constructor to be removed. NFC
This constructor was taking a ValueTypeByMode by value to create
an ArrayRef. By adding an explicit cast from ValueTypeByHwMode
to TypeSetByHwMode we allow the ArrayRef to be implicitly converted
from a single element.
Commit: bf1666fb0bc19ffa18072e2727e4611c293a9aee
https://github.com/llvm/llvm-project/commit/bf1666fb0bc19ffa18072e2727e4611c293a9aee
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M libcxx/.clang-format
M libcxx/docs/ReleaseNotes/20.rst
M libcxx/include/__atomic/atomic.h
M libcxx/include/__atomic/atomic_base.h
M libcxx/include/__atomic/atomic_flag.h
M libcxx/include/__config
M libcxx/include/atomic
M libcxx/include/barrier
M libcxx/include/latch
M libcxx/include/semaphore
M libcxx/test/std/atomics/atomics.types.generic/general.compile.pass.cpp
M libcxx/test/std/atomics/atomics.types.generic/pointer.compile.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_notify_all.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_notify_one.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_wait.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_wait_explicit.pass.cpp
M libcxx/test/std/thread/thread.barrier/arrive.pass.cpp
M libcxx/test/std/thread/thread.barrier/arrive_and_drop.pass.cpp
M libcxx/test/std/thread/thread.barrier/arrive_and_wait.pass.cpp
M libcxx/test/std/thread/thread.barrier/completion.pass.cpp
M libcxx/test/std/thread/thread.barrier/ctor.compile.pass.cpp
M libcxx/test/std/thread/thread.barrier/max.pass.cpp
M libcxx/test/std/thread/thread.latch/arrive_and_wait.pass.cpp
M libcxx/test/std/thread/thread.latch/count_down.pass.cpp
M libcxx/test/std/thread/thread.latch/ctor.pass.cpp
M libcxx/test/std/thread/thread.latch/max.pass.cpp
M libcxx/test/std/thread/thread.latch/try_wait.pass.cpp
M libcxx/test/std/thread/thread.semaphore/acquire.pass.cpp
M libcxx/test/std/thread/thread.semaphore/binary.pass.cpp
M libcxx/test/std/thread/thread.semaphore/ctor.compile.pass.cpp
M libcxx/test/std/thread/thread.semaphore/max.pass.cpp
M libcxx/test/std/thread/thread.semaphore/release.pass.cpp
M libcxx/test/std/thread/thread.semaphore/timed.pass.cpp
M libcxx/test/std/thread/thread.semaphore/try_acquire.pass.cpp
Log Message:
-----------
[libc++] Drop support for the C++20 Synchronization Library before C++20 (#82008)
When we initially implemented the C++20 synchronization library, we
reluctantly accepted for the implementation to be backported to C++03
upon request from the person who provided the patch. This was when we
were only starting to have experience with the issues this can create,
so we flinched. Nowadays, we have a much stricter stance about not
backporting features to previous standards.
We have recently started fixing several bugs (and near bugs) in our
implementation of the synchronization library. A recurring theme during
these reviews has been how difficult to understand the current code is,
and upon inspection it becomes clear that being able to use a few recent
C++ features (in particular lambdas) would help a great deal. The code
would still be pretty intricate, but it would be a lot easier to reason
about the flow of callbacks through things like
__thread_poll_with_backoff.
As a result, this patch drops support for the synchronization library
before C++20. This makes us more strictly conforming and opens the door
to major simplifications, in particular around atomic_wait which was
supported all the way to C++03.
This change will probably have some impact on downstream users, however
since the C++20 synchronization library was added only in LLVM 10 (~3
years ago) and it's quite a niche feature, the set of people trying to
use this part of the library before C++20 should be reasonably small.
Commit: 38ef6929a3322fdddd74b3d6abdf6936cc4d8e62
https://github.com/llvm/llvm-project/commit/38ef6929a3322fdddd74b3d6abdf6936cc4d8e62
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M libc/config/gpu/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/newhdrgen/yaml/stdio.yaml
M libc/spec/stdc.td
M libc/src/stdio/CMakeLists.txt
A libc/src/stdio/vsscanf.cpp
A libc/src/stdio/vsscanf.h
M libc/test/src/stdio/CMakeLists.txt
A libc/test/src/stdio/vsscanf_test.cpp
Log Message:
-----------
[libc] Add vsscanf function (#101402)
Summary:
Adds support for the `vsscanf` function similar to `sscanf`.
Based off of https://github.com/llvm/llvm-project/pull/97529.
Commit: 785a24f1561c610ecbce7cdfbff053e0a3a7caec
https://github.com/llvm/llvm-project/commit/785a24f1561c610ecbce7cdfbff053e0a3a7caec
Author: Peiming Liu <peiming at google.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensor.h
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.td
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparseSpaceCollapse.cpp
M mlir/test/Dialect/SparseTensor/invalid.mlir
M mlir/test/Dialect/SparseTensor/roundtrip.mlir
Log Message:
-----------
[mlir][sparse] introduce `sparse_tensor.coiterate` operation. (#101100)
This PR introduces `sparse_tensor.coiterate` operation, which represents
a loop that traverses multiple sparse iteration space.
Commit: 26766a00ff946c281b7dd517b2ba8d594012c21e
https://github.com/llvm/llvm-project/commit/26766a00ff946c281b7dd517b2ba8d594012c21e
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/abs-vp.ll
M llvm/test/CodeGen/RISCV/rvv/bitreverse-vp.ll
M llvm/test/CodeGen/RISCV/rvv/bswap-vp.ll
M llvm/test/CodeGen/RISCV/rvv/commutable.ll
M llvm/test/CodeGen/RISCV/rvv/ctpop-vp.ll
M llvm/test/CodeGen/RISCV/rvv/extractelt-int-rv32.ll
M llvm/test/CodeGen/RISCV/rvv/extractelt-int-rv64.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-abs-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-bitreverse-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-bswap-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-calling-conv.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctlz-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctpop-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-cttz-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-extload-truncstore.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-extract-i1.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-shuffle-extract-subvector.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vmacc-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vnmsac-vp.ll
M llvm/test/CodeGen/RISCV/rvv/insertelt-int-rv32.ll
M llvm/test/CodeGen/RISCV/rvv/insertelt-int-rv64.ll
M llvm/test/CodeGen/RISCV/rvv/legalize-store-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/mscatter-combine.ll
M llvm/test/CodeGen/RISCV/rvv/regalloc-fast-crash.ll
M llvm/test/CodeGen/RISCV/rvv/vlsegff-rv32-dead.ll
M llvm/test/CodeGen/RISCV/rvv/vlsegff-rv64-dead.ll
M llvm/test/CodeGen/RISCV/rvv/vmacc-vp.ll
M llvm/test/CodeGen/RISCV/rvv/vmadd-vp.ll
M llvm/test/CodeGen/RISCV/rvv/vnmsac-vp.ll
Log Message:
-----------
[RISCV] Remove unncessary FP extensions from some integer only vector tests.
I'm going to do a review to make sure we are testing Zvfhmin instead of
Zvfh where clang expects it to work for half types, like loads/stores. Removing
unnecessary FP makes less things to review.
Commit: 74f95794433f315a14bd6878d97877566863bc34
https://github.com/llvm/llvm-project/commit/74f95794433f315a14bd6878d97877566863bc34
Author: aaryanshukla <53713108+aaryanshukla at users.noreply.github.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M libc/config/linux/arm/entrypoints.txt
Log Message:
-----------
[libc][math][c23] removed dsubl for 32 arm (#101423)
Commit: cf79aba99db4909437b8977a59c51bc8899ddb9c
https://github.com/llvm/llvm-project/commit/cf79aba99db4909437b8977a59c51bc8899ddb9c
Author: smanna12 <soumi.manna at intel.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M clang/lib/AST/ASTContext.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
Log Message:
-----------
[Clang] [NFC] Fix potential dereferencing of nullptr (#101405)
This patch replaces getAs with castAs and dyn_cast with cast to ensure
type safety and prevents potential null pointer dereferences. These
changes enforce compile-time checks for correct type casting in
ASTContext and CodeGenModule.
Commit: 6f318d47bfba56df65394db6c20befe3ed5bf243
https://github.com/llvm/llvm-project/commit/6f318d47bfba56df65394db6c20befe3ed5bf243
Author: David Majnemer <david.majnemer at gmail.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
M llvm/test/CodeGen/NVPTX/math-intrins.ll
Log Message:
-----------
[NVPTX] Make minimum/maximum work on older GPUs
We want to use newer instructions if we are targeting sufficiently new
SM and PTX versions. If we cannot use those newer instructions, let LLVM
synthesize the sequence from more fundamental instructions.
Commit: ee0f43af2b344a7cd603a8564871c357d8fb108a
https://github.com/llvm/llvm-project/commit/ee0f43af2b344a7cd603a8564871c357d8fb108a
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
Log Message:
-----------
[SandboxIR][NFC] Move BasicBlock class definition up (#101422)
To make future PRs smaller.
Commit: a0d8fa5d3a7e05d30004dd4faeb45c1a96fd8769
https://github.com/llvm/llvm-project/commit/a0d8fa5d3a7e05d30004dd4faeb45c1a96fd8769
Author: Jiahan Xie <88367305+jiahanxie353 at users.noreply.github.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/LegalityPredicates.cpp
M llvm/lib/CodeGen/MIRParser/MIParser.cpp
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.h
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rvv/legalize-load.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rvv/legalize-store.mir
Log Message:
-----------
[RISCV][GlobalISel] Legalize Scalable Vector Loads and Stores (#84965)
This patch supports legalizing load and store instruction for scalable
vectors in RISCV
Commit: 1c66ef915710fd4450f85ebb0486695e9bbc4dfc
https://github.com/llvm/llvm-project/commit/1c66ef915710fd4450f85ebb0486695e9bbc4dfc
Author: Jiahan Xie <88367305+jiahanxie353 at users.noreply.github.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/lib/CodeGen/RegisterBankInfo.cpp
M llvm/lib/Target/RISCV/GISel/RISCVRegisterBankInfo.cpp
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/rvv/load.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/rvv/store.mir
Log Message:
-----------
[GISEL][RISCV] RegBank Select for Scalable Vector Load/Store (#99932)
This patch supports GlobalISel for register bank selection for scalable vector
load and store instructions in RISC-V
Commit: d5d1cf05499ba9a0adc192c723f622fc13ef9c0b
https://github.com/llvm/llvm-project/commit/d5d1cf05499ba9a0adc192c723f622fc13ef9c0b
Author: smanna12 <soumi.manna at intel.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M clang/lib/CodeGen/CGExprComplex.cpp
Log Message:
-----------
[NFC][Clang] Clean up VisitUnaryPlus by removing unused FP feature check (#101412)
This commit removes an unnecessary call to `E->hasStoredFPFeatures()`
within the `VisitUnaryPlus` function. The method's return value was not
being used, leading to a redundant operation. The removal of this line
streamlines the function and eliminates an unneeded check for stored
floating-point features.
Commit: 65d3c220a184b11e41d6fc5853d865f3eb92b02e
https://github.com/llvm/llvm-project/commit/65d3c220a184b11e41d6fc5853d865f3eb92b02e
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
R llvm/test/CodeGen/RISCV/rvv/vsadd-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vsadd-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/vsadd.ll
R llvm/test/CodeGen/RISCV/rvv/vsaddu-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vsaddu-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/vsaddu.ll
R llvm/test/CodeGen/RISCV/rvv/vsmul-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vsmul-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/vsmul.ll
R llvm/test/CodeGen/RISCV/rvv/vssub-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vssub-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/vssub.ll
R llvm/test/CodeGen/RISCV/rvv/vssubu-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vssubu-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/vssubu.ll
Log Message:
-----------
[RISCV] Merge more rv32/rv64 intrinsic tests that have the same content. NFC
Commit: 3403b593ae11e624ace8918a7840e85198f2ca3c
https://github.com/llvm/llvm-project/commit/3403b593ae11e624ace8918a7840e85198f2ca3c
Author: Sterling-Augustine <56981066+Sterling-Augustine at users.noreply.github.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/include/llvm/SandboxIR/SandboxIRValues.def
M llvm/include/llvm/SandboxIR/Tracker.h
M llvm/include/llvm/SandboxIR/Use.h
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/lib/SandboxIR/Tracker.cpp
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
M llvm/unittests/SandboxIR/TrackerTest.cpp
Log Message:
-----------
[SandboxIR] Implement PHINodes (#101111)
This patch implements sandboxir::PHINode which mirrors llvm::PHINode.
Based almost entirely on work by vporpo.
Commit: 3a4c7cc56c07b2db9010c2228fc7cb2a43dd9b2d
https://github.com/llvm/llvm-project/commit/3a4c7cc56c07b2db9010c2228fc7cb2a43dd9b2d
Author: Amara Emerson <amara at apple.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M compiler-rt/lib/rtsan/rtsan_interceptors.cpp
Log Message:
-----------
Forward declare OSSpinLockLock on MacOS since it's not shipped on the system. (#101392)
Fixes build errors on some SDKs.
rdar://132607572
Commit: 307d1249ea635a78fcd347a65ddaa395cf64130e
https://github.com/llvm/llvm-project/commit/307d1249ea635a78fcd347a65ddaa395cf64130e
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
M llvm/test/CodeGen/LoongArch/ucmp.ll
M llvm/test/CodeGen/RISCV/ucmp.ll
Log Message:
-----------
[LegalizeTypes][RISCV][LoongArch] Optimize promotion of ucmp. (#101366)
ucmp can be promoted with either sext or zext. RISC-V and LoongArch
prefer sext for promoting i32 to i64 unless the inputs are known to be
zero extended already.
This patch uses the existing SExtOrZExtPromotedOperands function that is
used by SETCC promotion to intelligently handle this.
Commit: 1c5f6cfc352c3bd2a4faa0e3aebb4028b557a5e7
https://github.com/llvm/llvm-project/commit/1c5f6cfc352c3bd2a4faa0e3aebb4028b557a5e7
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/lib/Target/DirectX/DXILPrepare.cpp
M llvm/lib/Target/DirectX/DXILPrettyPrinter.cpp
M llvm/lib/Target/DirectX/DXILResourceAnalysis.cpp
M llvm/lib/Target/DirectX/DXILResourceAnalysis.h
M llvm/lib/Target/DirectX/DXILTranslateMetadata.cpp
M llvm/lib/Target/DirectX/DirectX.h
M llvm/lib/Target/DirectX/DirectXPassRegistry.def
M llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
M llvm/test/CodeGen/DirectX/UAVMetadata.ll
M llvm/test/CodeGen/DirectX/cbuf.ll
Log Message:
-----------
[DirectX] Rename backend DXIL resource analysis passes to DXILResourceMD*. NFC
These passes will be replaced soon as we move to the target extension based
resource handling in the DirectX backend, but removing them now before the
replacement stuff is all up and running would be very disruptive. However, we
do need to move these passes out of the way to avoid symbol conflicts with the
new DXILResourceAnalysis in the Analysis library.
Note: I tried an even simpler hack in #100698 but it doesn't really work. A
rename is the most expedient path forward here.
Pull Request: https://github.com/llvm/llvm-project/pull/101393
Commit: 5dbbc3b14bb04ef4bf2cbf4c23008f94f4253704
https://github.com/llvm/llvm-project/commit/5dbbc3b14bb04ef4bf2cbf4c23008f94f4253704
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M lldb/source/Commands/CommandObjectBreakpointCommand.cpp
M lldb/source/Commands/CommandObjectDisassemble.cpp
M lldb/source/Commands/CommandObjectTarget.cpp
M lldb/source/Commands/CommandObjectWatchpoint.cpp
M lldb/source/Commands/CommandObjectWatchpoint.h
M lldb/source/Commands/CommandObjectWatchpointCommand.cpp
Log Message:
-----------
[lldb] Use Target references instead of pointers in CommandObject (NFC)
The GetTarget helper returns a Target reference so there's reason to
convert it to a pointer and check its validity.
Commit: 87af9ee870ad7ca93abced0b09459c3760dec891
https://github.com/llvm/llvm-project/commit/87af9ee870ad7ca93abced0b09459c3760dec891
Author: Yeting Kuo <46629943+yetingk at users.noreply.github.com>
Date: 2024-08-01 (Thu, 01 Aug 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVCodeGenPrepare.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-strided-vpload.ll
M llvm/test/CodeGen/RISCV/rvv/strided-vpload.ll
Log Message:
-----------
[RISCV] Use experimental.vp.splat to splat specific vector length elements. (#101329)
Previously, llvm IR is hard to create a scalable vector splat with a
specific vector length, so we use riscv.vmv.v.x and riscv.vmv.v.f to do
this work. But the two rvv intrinsics needs strict type constraint which
can not support fixed vector types and illegal vector types. Using
vp.splat could preserve old functionality and also generate more
optimized code for vector types and illegal vectors.
This patch also fixes crash for getEVT not serving ptr types.
Commit: e2c74aa535752cd6cf098731608d26275d1e40ac
https://github.com/llvm/llvm-project/commit/e2c74aa535752cd6cf098731608d26275d1e40ac
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/include/llvm/CodeGen/ValueTypes.td
M llvm/utils/TableGen/Common/CodeGenDAGPatterns.h
M llvm/utils/TableGen/VTEmitter.cpp
Log Message:
-----------
[TableGen][MVT] Lower the maximum 16-bit MVT from 16384 to 511. (#101401)
MachineValueTypeSet in tablegen allocates an array with a bit per MVT.
This used to be 256 bits, with the introduction of 16-bit MVT it
ballooned to 65536 bits. I suspect this is increasing the memory usage
of many of the data structures used by CodeGenDAGPatterns.
Since we don't need the full 16-bit range yet, this patch proposes
lowering the maximum MVT to 511 and using only 512 bits for
MachineValueTypeSet's storage.
Commit: a1ba4fb4516a33bd61b8219e2fc46ba3c1787460
https://github.com/llvm/llvm-project/commit/a1ba4fb4516a33bd61b8219e2fc46ba3c1787460
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVRegisterBankInfo.cpp
Log Message:
-----------
[RISCV][GISel] Slightly simplify the regbank selection for G_LOAD/STORE. NFC (#101431)
Merge the isVector early out with the previous check for isVector.
Commit: bc6834f5c70daca7ec321398a16891800b1c2bd8
https://github.com/llvm/llvm-project/commit/bc6834f5c70daca7ec321398a16891800b1c2bd8
Author: Andrea 🦈 <anfaulds at amd.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M mlir/utils/spirv/gen_spirv_dialect.py
Log Message:
-----------
[mlir][spirv] Fix tablegen generator script's stripping of prefixes (#101378)
This script looks for existing definitions with the `SPIRV_` prefix, so
that it can preserve them when updating the file. When the commit
2d628330482e49d36744cb8f3fb5047cfeae6c56 changed the prefix from `SPV_`,
the number of characters to strip from matched names was not updated,
which broke this feature. This commit fixes remaining cases that weren't
fixed by 339c87a8a086347bd8b5aae8b5bc43fc1c155cc1.
The relationship of this script to the files it is meant to maintain is
still bitrotten in other ways.
Commit: e6aeb3f4daea0ffd43930c63f9b9a7668b915fd9
https://github.com/llvm/llvm-project/commit/e6aeb3f4daea0ffd43930c63f9b9a7668b915fd9
Author: lifengxiang1025 <lifengxiang at kuaishou.com>
Date: 2024-08-01 (Thu, 01 Aug 2024)
Changed paths:
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
M llvm/test/Transforms/MemProfContextDisambiguation/tailcall.ll
Log Message:
-----------
[MemProf] Fix when function has indirect call (#101170)
When function has indirect call in LTO mode, it causes `assert(Alias)`
in `findProfiledCalleeThroughTailCalls`
Commit: 9227fd74e49b045baba910cb07ee93b2c660d267
https://github.com/llvm/llvm-project/commit/9227fd74e49b045baba910cb07ee93b2c660d267
Author: vporpo <vporpodas at google.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
Log Message:
-----------
[SandboxIR][NFC] Factor out common test for CastInst subclasses (#101410)
The tests for most CastInst sub-classes, except AddrSpaceCastInst, are
very similar.
This patch creates a common template function for all of them.
Commit: 42c413b48917491efc5372752c6ad245530939f5
https://github.com/llvm/llvm-project/commit/42c413b48917491efc5372752c6ad245530939f5
Author: Hideto Ueno <uenoku.tokotoko at gmail.com>
Date: 2024-08-01 (Thu, 01 Aug 2024)
Changed paths:
M mlir/lib/Transforms/OpStats.cpp
M mlir/lib/Transforms/PrintIR.cpp
M mlir/lib/Transforms/ViewOpGraph.cpp
Log Message:
-----------
[mlir][Transforms] Preserve all analysis in print passes (#101315)
PrintIRPass, PrintOpStatsPass and PrintOpGraphPass don't mutate IR so
preserve all analysis to save computation resource a bit.
Commit: ed12f80ff0a8d304d10245c7bfb9f6af4a5c968c
https://github.com/llvm/llvm-project/commit/ed12f80ff0a8d304d10245c7bfb9f6af4a5c968c
Author: Job Henandez Lara <hj93 at protonmail.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M libc/config/gpu/entrypoints.txt
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/arm/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/math/CMakeLists.txt
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/getpayload.cpp
A libc/src/math/generic/getpayloadf.cpp
A libc/src/math/generic/getpayloadf128.cpp
A libc/src/math/getpayload.h
A libc/src/math/getpayloadf.h
A libc/src/math/getpayloadf128.h
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/getpayload_test.cpp
A libc/test/src/math/smoke/getpayloadf128_test.cpp
A libc/test/src/math/smoke/getpayloadf_test.cpp
Log Message:
-----------
[libc][math][c23] add entrypoints and tests for getpayload{,f,f128} (#101285)
Commit: 430b90f04533b099d788db2668176038be38c53b
https://github.com/llvm/llvm-project/commit/430b90f04533b099d788db2668176038be38c53b
Author: Wu Yingcong <yingcong.wu at intel.com>
Date: 2024-08-01 (Thu, 01 Aug 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp
Log Message:
-----------
[nsan][NFC] Use cast when dyn_cast is not needed. (#101147)
Use `cast` instead to replace `dyn_cast` when `dyn_cast` is not
needed/not checked.
Commit: 27b608055f8e86e2decea519e6dc1ab6aff4824e
https://github.com/llvm/llvm-project/commit/27b608055f8e86e2decea519e6dc1ab6aff4824e
Author: Pengcheng Wang <wangpengcheng.pp at bytedance.com>
Date: 2024-08-01 (Thu, 01 Aug 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfo.h
M llvm/lib/Target/RISCV/RISCVProcessors.td
M llvm/lib/Target/RISCV/RISCVSubtarget.h
A llvm/test/CodeGen/RISCV/riscv-tail-dup-size.ll
Log Message:
-----------
[RISCV] Increase default tail duplication threshold to 6 at -O3 (#98873)
This is just like AArch64.
Changing the threshold to 6 will increase the code size, but will
also decrease unconditional branches. CPUs with wide fetch/issue units
can benefit from it.
The value 6 may be debatable, we can set it to `SchedModel.IssueWidth`.
Commit: 991a6215a9ccd99eb91d2b2d46b58c2fd648c263
https://github.com/llvm/llvm-project/commit/991a6215a9ccd99eb91d2b2d46b58c2fd648c263
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M llvm/include/llvm/CodeGen/TargetLowering.h
Log Message:
-----------
[TargetLowering] Remove weird use of MVT::isVoid in an assert. (#101436)
At the time this was written there were no vector types in MVT. The
order was:
-scalar integer types
-scalar FP types
-isVoid
I believe this isVoid check was to catch walking off the end of the
scalar FP types. While the isInteger()==isInteger caught walking off the
end of scalar integer types.
These days we have:
-scalar integer types
-scalar FP types
-fixed vector integer types
-fixed vector FP types
-scalable vector integer types
-scalable vector FP types.
-Glue
-isVoid
So checking isVoid doesn't detect what it used to. I've changed it to
check isFloatingPoint() == isFloatingPoint() instead.
Commit: fb97b4f96217442c684a940558135ffbfe45b756
https://github.com/llvm/llvm-project/commit/fb97b4f96217442c684a940558135ffbfe45b756
Author: Amir Ayupov <aaupov at fb.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M bolt/lib/Rewrite/RewriteInstance.cpp
A bolt/test/timers.c
Log Message:
-----------
[BOLT][NFC] Add timers for MetadataManager invocations
Test Plan: added bolt/test/timers.c
Reviewers: ayermolo, maksfb, rafaelauler, dcci
Reviewed By: dcci
Pull Request: https://github.com/llvm/llvm-project/pull/101267
Commit: 3f51bec466c4b67814a7877859ba3eeb5f80da7a
https://github.com/llvm/llvm-project/commit/3f51bec466c4b67814a7877859ba3eeb5f80da7a
Author: Amir Ayupov <aaupov at fb.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/test/timers.c
Log Message:
-----------
[BOLT][NFC] Print timers in perf2bolt invocation
When BOLT is run in AggregateOnly mode (perf2bolt), it exits with code
zero so destructors are not run thus TimerGroup never prints the timers.
Add explicit printing just before the exit to honor options requesting
timers (`--time-rewrite`, `--time-aggr`).
Test Plan: updated bolt/test/timers.c
Reviewers: ayermolo, maksfb, rafaelauler, dcci
Reviewed By: dcci
Pull Request: https://github.com/llvm/llvm-project/pull/101270
Commit: e4edacdd719943e0520059b5d12d5709a211ba2a
https://github.com/llvm/llvm-project/commit/e4edacdd719943e0520059b5d12d5709a211ba2a
Author: Amir Ayupov <aaupov at fb.com>
Date: 2024-08-09 (Fri, 09 Aug 2024)
Changed paths:
A .github/workflows/release-asset-audit.py
A .github/workflows/release-asset-audit.yml
A .github/workflows/release-binaries-all.yml
A .github/workflows/release-binaries-save-stage/action.yml
A .github/workflows/release-binaries-setup-stage/action.yml
M .github/workflows/release-binaries.yml
M .github/workflows/release-sources.yml
M .github/workflows/release-tasks.yml
M bolt/include/bolt/Core/BinaryFunction.h
M bolt/include/bolt/Core/DIEBuilder.h
M bolt/include/bolt/Core/DebugData.h
M bolt/include/bolt/Core/GDBIndex.h
M bolt/include/bolt/Rewrite/DWARFRewriter.h
M bolt/lib/Core/BinaryFunction.cpp
M bolt/lib/Core/DIEBuilder.cpp
M bolt/lib/Core/DebugData.cpp
M bolt/lib/Core/GDBIndex.cpp
M bolt/lib/Rewrite/CMakeLists.txt
M bolt/lib/Rewrite/DWARFRewriter.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/test/AArch64/dummy-return.s
M bolt/test/X86/debug-fission-single-convert.s
M bolt/test/X86/debug-fission-single.s
R bolt/test/X86/dwarf4-ftypes-dwo-input-dwp-output.test
R bolt/test/X86/dwarf4-ftypes-dwo-mono-input-dwp-output.test
M bolt/test/X86/dwarf4-split-gdb-index-types-gdb-generated.test
A bolt/test/X86/dwarf5-df-larger-batch-size.test
M bolt/test/X86/dwarf5-df-types-modify-dwo-name-mixed.test
M bolt/test/X86/dwarf5-df-types-modify-dwo-name.test
R bolt/test/X86/dwarf5-ftypes-dwo-mono-input-dwp-output.test
A bolt/test/timers.c
M clang-tools-extra/clang-tidy/add_new_check.py
M clang-tools-extra/test/clang-tidy/check_clang_tidy.py
M clang/bindings/python/clang/cindex.py
M clang/bindings/python/tests/cindex/test_code_completion.py
M clang/bindings/python/tests/cindex/test_comment.py
M clang/cmake/caches/Release.cmake
M clang/cmake/modules/AddClang.cmake
M clang/docs/MemorySanitizer.rst
M clang/docs/ReleaseNotes.rst
M clang/docs/analyzer/checkers.rst
M clang/include/clang/AST/ASTContext.h
M clang/include/clang/AST/ASTImporter.h
M clang/include/clang/AST/ASTNodeTraverser.h
M clang/include/clang/AST/DeclCXX.h
M clang/include/clang/AST/DeclOpenMP.h
M clang/include/clang/AST/OpenMPClause.h
M clang/include/clang/AST/RecursiveASTVisitor.h
M clang/include/clang/AST/Type.h
M clang/include/clang/Analysis/FlowSensitive/AdornedCFG.h
M clang/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Basic/AttributeCommonInfo.h
M clang/include/clang/Basic/DiagnosticFrontendKinds.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/DiagnosticSerializationKinds.td
M clang/include/clang/Driver/Options.td
M clang/include/clang/Lex/Preprocessor.h
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Sema/Overload.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/ASTImporter.cpp
M clang/lib/AST/ExprCXX.cpp
M clang/lib/AST/Interp/Compiler.cpp
M clang/lib/AST/Interp/Context.cpp
M clang/lib/AST/Interp/Descriptor.cpp
M clang/lib/AST/Interp/EvaluationResult.cpp
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/ItaniumMangle.cpp
M clang/lib/AST/MicrosoftMangle.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/Type.cpp
M clang/lib/ASTMatchers/ASTMatchersInternal.cpp
M clang/lib/Analysis/Consumed.cpp
M clang/lib/Analysis/FlowSensitive/AdornedCFG.cpp
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp
M clang/lib/Analysis/LiveVariables.cpp
M clang/lib/Analysis/ThreadSafetyCommon.cpp
M clang/lib/Basic/Attributes.cpp
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/CodeGen/CGDecl.cpp
M clang/lib/CodeGen/CGExprComplex.cpp
M clang/lib/CodeGen/CGGPUBuiltin.cpp
M clang/lib/CodeGen/CGOpenMPRuntime.cpp
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/Targets/AArch64.cpp
M clang/lib/Driver/ToolChains/AMDGPU.cpp
M clang/lib/Driver/ToolChains/Arch/X86.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/lib/Driver/ToolChains/Cuda.cpp
M clang/lib/Driver/ToolChains/Flang.cpp
M clang/lib/Driver/ToolChains/PS4CPU.cpp
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Lex/PPCaching.cpp
M clang/lib/Lex/PPMacroExpansion.cpp
M clang/lib/Lex/Preprocessor.cpp
M clang/lib/Parse/ParseCXXInlineMethods.cpp
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Parse/ParseExprCXX.cpp
M clang/lib/Sema/CheckExprLifetime.cpp
M clang/lib/Sema/SemaAPINotes.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaExprCXX.cpp
M clang/lib/Sema/SemaHLSL.cpp
M clang/lib/Sema/SemaInit.cpp
M clang/lib/Sema/SemaOpenMP.cpp
M clang/lib/Sema/SemaOverload.cpp
M clang/lib/Sema/SemaPPC.cpp
M clang/lib/Sema/SemaStmtAttr.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaTemplateDeductionGuide.cpp
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
M clang/lib/Tooling/ArgumentsAdjusters.cpp
M clang/test/APINotes/Inputs/Headers/Methods.h
M clang/test/AST/Interp/constexpr-subobj-initialization.cpp
M clang/test/AST/Interp/cxx2a.cpp
M clang/test/AST/Interp/lifetimes.cpp
M clang/test/AST/Interp/records.cpp
M clang/test/AST/attr-print-emit.cpp
A clang/test/AST/explicit-base-class-move-cntr.cpp
M clang/test/Analysis/live-stmts.cpp
A clang/test/Analysis/short-circuiting-eval.cpp
M clang/test/Analysis/stream.c
M clang/test/C/C23/n3018.c
A clang/test/CXX/dcl.decl/dcl.meaning/dcl.mptr/p2.cpp
M clang/test/CXX/temp/temp.res/p3.cpp
A clang/test/CodeGen/LoongArch/align.c
M clang/test/CodeGen/aarch64-sme-inline-streaming-attrs.c
A clang/test/CodeGen/arm64ec-hybrid-patchable.c
A clang/test/CodeGen/inline-asm-size-zero.c
A clang/test/CodeGen/math-libcalls-tbaa.c
R clang/test/CodeGen/math-libcalls-tbaa.cpp
M clang/test/CodeGen/pr3518.c
M clang/test/CodeGenCUDA/convergent.cu
A clang/test/CodeGenCXX/debug-info-explicit-this.cpp
A clang/test/CodeGenCoroutines/coro-elide-thinlto.cpp
M clang/test/Driver/amdgpu-toolchain.c
M clang/test/Driver/cuda-cross-compiling.c
M clang/test/Driver/immediate-options.c
M clang/test/Driver/linker-wrapper.c
M clang/test/Driver/openmp-offload-gpu.c
M clang/test/Driver/ps4-linker.c
M clang/test/Driver/unified-lto.c
M clang/test/Driver/x86-target-features.c
M clang/test/Index/pch-with-errors.c
M clang/test/Misc/pragma-attribute-supported-attributes-list.test
M clang/test/Modules/load-module-with-errors.m
R clang/test/OpenMP/nvptx_target_printf_codegen.c
M clang/test/Preprocessor/embed_weird.cpp
M clang/test/Preprocessor/x86_target_features.c
M clang/test/Sema/attr-ownership.c
M clang/test/Sema/attr-ownership.cpp
A clang/test/SemaCUDA/attr-noconvergent.cu
M clang/test/SemaCXX/constexpr-subobj-initialization.cpp
M clang/test/SemaCXX/cxx2b-deducing-this.cpp
M clang/test/SemaCXX/destructor.cpp
M clang/test/SemaHLSL/Loops/unroll.hlsl
A clang/test/TableGen/attrs-parser-string-switches.td
M clang/test/Tooling/clang-check-extra-arg.cpp
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
M clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td
M clang/tools/clang-nvlink-wrapper/ClangNVLinkWrapper.cpp
M clang/tools/clang-nvlink-wrapper/NVLinkOpts.td
M clang/tools/clang-repl/CMakeLists.txt
M clang/tools/driver/CMakeLists.txt
M clang/tools/libclang/CIndex.cpp
M clang/tools/libclang/CMakeLists.txt
M clang/unittests/AST/ASTImporterTest.cpp
M clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
M clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
M clang/utils/TableGen/ClangAttrEmitter.cpp
M cmake/Modules/LLVMCheckCompilerLinkerFlag.cmake
M compiler-rt/CMakeLists.txt
M compiler-rt/cmake/config-ix.cmake
M compiler-rt/include/profile/InstrProfData.inc
M compiler-rt/lib/builtins/aarch64/sme-abi-vg.c
M compiler-rt/lib/builtins/cpu_model/riscv.c
M compiler-rt/lib/builtins/os_version_check.c
M compiler-rt/lib/gwp_asan/definitions.h
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/platform_specific/utilities_fuchsia.cpp
M compiler-rt/lib/gwp_asan/platform_specific/utilities_posix.cpp
M compiler-rt/lib/gwp_asan/tests/CMakeLists.txt
A compiler-rt/lib/gwp_asan/tests/utilities.cpp
M compiler-rt/lib/gwp_asan/utilities.h
M compiler-rt/lib/interception/interception_linux.h
M compiler-rt/lib/memprof/memprof_mapping.h
M compiler-rt/lib/nsan/nsan_interceptors.cpp
M compiler-rt/lib/profile/InstrProfiling.h
M compiler-rt/lib/profile/InstrProfilingFile.c
M compiler-rt/lib/rtsan/rtsan_interceptors.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
M compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cpp
M compiler-rt/lib/sanitizer_common/tests/sanitizer_ioctl_test.cpp
M compiler-rt/test/builtins/TestCases/Darwin/platform_version_check_test.c
R compiler-rt/test/builtins/Unit/ppc/test
R compiler-rt/test/builtins/Unit/test
M compiler-rt/test/sanitizer_common/TestCases/Linux/dump_registers_aarch64.cpp
M compiler-rt/test/sanitizer_common/TestCases/Linux/dump_registers_arm.cpp
M compiler-rt/test/sanitizer_common/TestCases/Linux/dump_registers_i386.cpp
M compiler-rt/test/sanitizer_common/TestCases/Linux/dump_registers_x86_64.cpp
M compiler-rt/test/sanitizer_common/TestCases/Linux/signal_line.cpp
M compiler-rt/test/sanitizer_common/TestCases/Linux/signal_send.cpp
A compiler-rt/test/sanitizer_common/TestCases/NetBSD/dump_registers_i386.cpp
A compiler-rt/test/sanitizer_common/TestCases/NetBSD/dump_registers_x86_64.cpp
M flang/include/flang/Common/Fortran-features.h
M flang/include/flang/Evaluate/tools.h
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/include/flang/Optimizer/Builder/Runtime/Exceptions.h
M flang/include/flang/Runtime/exceptions.h
M flang/include/flang/Runtime/magic-numbers.h
M flang/include/flang/Semantics/semantics.h
M flang/include/flang/Semantics/symbol.h
M flang/include/flang/Semantics/tools.h
M flang/lib/Evaluate/fold-character.cpp
M flang/lib/Evaluate/fold-implementation.h
M flang/lib/Evaluate/fold-integer.cpp
M flang/lib/Evaluate/fold-real.cpp
M flang/lib/Evaluate/real.cpp
M flang/lib/Evaluate/variable.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.h
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Optimizer/Builder/FIRBuilder.cpp
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/Builder/Runtime/Exceptions.cpp
M flang/lib/Optimizer/Builder/Runtime/Numeric.cpp
M flang/lib/Optimizer/Transforms/OMPMapInfoFinalization.cpp
M flang/lib/Parser/executable-parsers.cpp
M flang/lib/Parser/prescan.cpp
M flang/lib/Parser/program-parsers.cpp
M flang/lib/Parser/stmt-parser.h
M flang/lib/Semantics/check-allocate.cpp
M flang/lib/Semantics/check-call.cpp
M flang/lib/Semantics/check-cuda.cpp
M flang/lib/Semantics/check-declarations.cpp
M flang/lib/Semantics/check-purity.cpp
M flang/lib/Semantics/definable.cpp
M flang/lib/Semantics/definable.h
M flang/lib/Semantics/mod-file.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/semantics.cpp
M flang/lib/Semantics/symbol.cpp
M flang/lib/Semantics/tools.cpp
M flang/lib/Semantics/type.cpp
M flang/runtime/exceptions.cpp
M flang/test/Driver/omp-driver-offload.f90
M flang/test/Driver/target-cpu-features.f90
M flang/test/Driver/target-gpu-features.f90
A flang/test/Evaluate/fold-assumed-type-rank.f90
M flang/test/Evaluate/fold-nearest.f90
M flang/test/Evaluate/folding08.f90
A flang/test/Evaluate/rewrite08.f90
M flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
M flang/test/Lower/CUDA/cuda-data-transfer.cuf
M flang/test/Lower/CUDA/cuda-kernel-loop-directive.cuf
A flang/test/Lower/Intrinsics/ieee_next.f90
M flang/test/Lower/Intrinsics/nearest.f90
M flang/test/Lower/OpenACC/acc-loop.f90
A flang/test/Lower/OpenMP/associate.f90
M flang/test/Lower/OpenMP/default-clause-implied-do-fix.f90
M flang/test/Lower/OpenMP/target.f90
M flang/test/Lower/OpenMP/task.f90
M flang/test/Lower/OpenMP/use-device-ptr-to-use-device-addr.f90
M flang/test/Parser/cuf-sanity-common
A flang/test/Parser/recovery03.f90
A flang/test/Parser/recovery04.f90
A flang/test/Preprocessing/line-in-contin.F90
A flang/test/Semantics/OpenMP/copyprivate04.f90
M flang/test/Semantics/OpenMP/do05-positivecase.f90
M flang/test/Semantics/OpenMP/do20.f90
M flang/test/Semantics/OpenMP/implicit-dsa.f90
A flang/test/Semantics/OpenMP/parallel-shared05.f90
M flang/test/Semantics/OpenMP/reduction08.f90
M flang/test/Semantics/OpenMP/reduction09.f90
M flang/test/Semantics/OpenMP/symbol01.f90
M flang/test/Semantics/OpenMP/symbol02.f90
M flang/test/Semantics/OpenMP/symbol03.f90
M flang/test/Semantics/OpenMP/symbol05.f90
M flang/test/Semantics/OpenMP/symbol07.f90
M flang/test/Semantics/OpenMP/symbol08.f90
M flang/test/Semantics/OpenMP/symbol09.f90
A flang/test/Semantics/associate04.f90
M flang/test/Semantics/call02.f90
M flang/test/Semantics/call05.f90
M flang/test/Semantics/contiguous01.f90
M flang/test/Semantics/cuf09.cuf
M flang/test/Semantics/reduce.cuf
M flang/test/Semantics/resolve33.f90
M flang/test/Semantics/resolve53.f90
A flang/test/Semantics/undef-result01.f90
M flang/unittests/Optimizer/Builder/Runtime/NumericTest.cpp
M libc/CMakeLists.txt
M libc/benchmarks/gpu/CMakeLists.txt
M libc/benchmarks/gpu/LibcGpuBenchmark.cpp
M libc/benchmarks/gpu/LibcGpuBenchmark.h
M libc/benchmarks/gpu/src/CMakeLists.txt
A libc/benchmarks/gpu/src/math/CMakeLists.txt
A libc/benchmarks/gpu/src/math/sin_benchmark.cpp
M libc/benchmarks/gpu/timing/amdgpu/timing.h
M libc/benchmarks/gpu/timing/nvptx/timing.h
M libc/cmake/modules/LLVMLibCLibraryRules.cmake
M libc/cmake/modules/LLVMLibCTestRules.cmake
M libc/cmake/modules/prepare_libc_gpu_build.cmake
M libc/config/config.json
M libc/config/darwin/arm/entrypoints.txt
M libc/config/darwin/x86_64/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
M libc/config/windows/entrypoints.txt
M libc/docs/configure.rst
M libc/docs/dev/header_generation.rst
M libc/docs/dev/undefined_behavior.rst
M libc/docs/math/index.rst
M libc/fuzzing/math/RemQuoDiff.h
M libc/fuzzing/stdlib/CMakeLists.txt
A libc/fuzzing/stdlib/heap_sort_fuzz.cpp
M libc/fuzzing/stdlib/strtofloat_fuzz.cpp
M libc/hdr/CMakeLists.txt
A libc/hdr/math_function_macros.h
M libc/hdr/math_macros.h
M libc/include/llvm-libc-types/jmp_buf.h
M libc/lib/CMakeLists.txt
M libc/newhdrgen/yaml/pthread.yaml
M libc/newhdrgen/yaml/stdio.yaml
M libc/spec/gpu_ext.td
M libc/spec/llvm_libc_ext.td
M libc/spec/posix.td
M libc/spec/stdc.td
M libc/src/__support/FPUtil/BasicOperations.h
M libc/src/__support/FPUtil/CMakeLists.txt
M libc/src/__support/OSUtil/CMakeLists.txt
M libc/src/__support/OSUtil/linux/CMakeLists.txt
R libc/src/__support/OSUtil/linux/pid.cpp
R libc/src/__support/OSUtil/pid.h
M libc/src/__support/threads/CMakeLists.txt
M libc/src/__support/threads/linux/CMakeLists.txt
M libc/src/__support/threads/linux/rwlock.h
M libc/src/__support/threads/linux/thread.cpp
M libc/src/__support/threads/thread.h
R libc/src/__support/threads/tid.h
M libc/src/compiler/generic/__stack_chk_fail.cpp
M libc/src/gpu/CMakeLists.txt
R libc/src/gpu/rpc_fprintf.cpp
R libc/src/gpu/rpc_fprintf.h
M libc/src/math/CMakeLists.txt
A libc/src/math/dfmaf128.h
A libc/src/math/dfmal.h
A libc/src/math/dsubf128.h
A libc/src/math/dsubl.h
A libc/src/math/expf16.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/dfmaf128.cpp
A libc/src/math/generic/dfmal.cpp
A libc/src/math/generic/dsubf128.cpp
A libc/src/math/generic/dsubl.cpp
A libc/src/math/generic/expf16.cpp
A libc/src/math/generic/getpayload.cpp
A libc/src/math/generic/getpayloadf.cpp
A libc/src/math/generic/getpayloadf128.cpp
A libc/src/math/generic/setpayload.cpp
A libc/src/math/generic/setpayloadf.cpp
A libc/src/math/generic/setpayloadf128.cpp
A libc/src/math/generic/totalorder.cpp
A libc/src/math/generic/totalorderf.cpp
A libc/src/math/generic/totalorderf128.cpp
A libc/src/math/getpayload.h
A libc/src/math/getpayloadf.h
A libc/src/math/getpayloadf128.h
A libc/src/math/setpayload.h
A libc/src/math/setpayloadf.h
A libc/src/math/setpayloadf128.h
A libc/src/math/totalorder.h
A libc/src/math/totalorderf.h
A libc/src/math/totalorderf128.h
M libc/src/pthread/CMakeLists.txt
A libc/src/pthread/pthread_rwlock_clockrdlock.cpp
A libc/src/pthread/pthread_rwlock_clockrdlock.h
A libc/src/pthread/pthread_rwlock_clockwrlock.cpp
A libc/src/pthread/pthread_rwlock_clockwrlock.h
A libc/src/setjmp/aarch64/CMakeLists.txt
A libc/src/setjmp/aarch64/longjmp.cpp
A libc/src/setjmp/aarch64/setjmp.cpp
M libc/src/stdio/CMakeLists.txt
A libc/src/stdio/vsscanf.cpp
A libc/src/stdio/vsscanf.h
M libc/src/stdlib/CMakeLists.txt
M libc/src/stdlib/gpu/CMakeLists.txt
A libc/src/stdlib/gpu/aligned_alloc.cpp
A libc/src/stdlib/gpu/calloc.cpp
A libc/src/stdlib/gpu/realloc.cpp
M libc/src/unistd/CMakeLists.txt
M libc/src/unistd/getpid.h
R libc/src/unistd/gettid.cpp
R libc/src/unistd/gettid.h
M libc/src/unistd/linux/CMakeLists.txt
M libc/src/unistd/linux/fork.cpp
M libc/src/unistd/linux/getpid.cpp
M libc/startup/gpu/CMakeLists.txt
M libc/startup/linux/CMakeLists.txt
M libc/startup/linux/do_start.cpp
M libc/test/UnitTest/FPMatcher.h
M libc/test/integration/src/pthread/CMakeLists.txt
M libc/test/integration/src/pthread/pthread_rwlock_test.cpp
M libc/test/integration/src/unistd/CMakeLists.txt
M libc/test/integration/src/unistd/fork_test.cpp
M libc/test/src/math/CMakeLists.txt
M libc/test/src/math/CopySignTest.h
M libc/test/src/math/FAbsTest.h
M libc/test/src/math/FDimTest.h
M libc/test/src/math/FMaxTest.h
M libc/test/src/math/FMinTest.h
M libc/test/src/math/FrexpTest.h
M libc/test/src/math/ILogbTest.h
M libc/test/src/math/LogbTest.h
M libc/test/src/math/ModfTest.h
M libc/test/src/math/RemQuoTest.h
M libc/test/src/math/acosf_test.cpp
M libc/test/src/math/acoshf_test.cpp
M libc/test/src/math/asinf_test.cpp
M libc/test/src/math/asinhf_test.cpp
M libc/test/src/math/atan2f_test.cpp
M libc/test/src/math/cbrt_test.cpp
M libc/test/src/math/cos_test.cpp
M libc/test/src/math/cosf_test.cpp
M libc/test/src/math/coshf_test.cpp
A libc/test/src/math/dfmal_test.cpp
A libc/test/src/math/dsubl_test.cpp
M libc/test/src/math/erff_test.cpp
M libc/test/src/math/exp10_test.cpp
M libc/test/src/math/exp10f_test.cpp
M libc/test/src/math/exp2_test.cpp
M libc/test/src/math/exp2f_test.cpp
M libc/test/src/math/exp2m1f_test.cpp
M libc/test/src/math/exp_test.cpp
A libc/test/src/math/expf16_test.cpp
M libc/test/src/math/expf_test.cpp
M libc/test/src/math/explogxf_test.cpp
M libc/test/src/math/expm1_test.cpp
M libc/test/src/math/expm1f_test.cpp
M libc/test/src/math/log10_test.cpp
M libc/test/src/math/log1p_test.cpp
M libc/test/src/math/log1pf_test.cpp
M libc/test/src/math/log2_test.cpp
M libc/test/src/math/log2f_test.cpp
M libc/test/src/math/log_test.cpp
M libc/test/src/math/logf_test.cpp
M libc/test/src/math/performance_testing/CMakeLists.txt
A libc/test/src/math/performance_testing/expf16_perf.cpp
M libc/test/src/math/powf_test.cpp
M libc/test/src/math/sin_test.cpp
M libc/test/src/math/sincos_test.cpp
M libc/test/src/math/sincosf_test.cpp
M libc/test/src/math/sinf_test.cpp
M libc/test/src/math/sinhf_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/SubTest.h
A libc/test/src/math/smoke/dfmaf128_test.cpp
A libc/test/src/math/smoke/dfmal_test.cpp
A libc/test/src/math/smoke/dsubf128_test.cpp
A libc/test/src/math/smoke/dsubl_test.cpp
A libc/test/src/math/smoke/expf16_test.cpp
A libc/test/src/math/smoke/getpayload_test.cpp
A libc/test/src/math/smoke/getpayloadf128_test.cpp
A libc/test/src/math/smoke/getpayloadf_test.cpp
A libc/test/src/math/smoke/setpayload_test.cpp
A libc/test/src/math/smoke/setpayloadf128_test.cpp
A libc/test/src/math/smoke/setpayloadf_test.cpp
A libc/test/src/math/smoke/totalorder_test.cpp
A libc/test/src/math/smoke/totalorderf128_test.cpp
A libc/test/src/math/smoke/totalorderf_test.cpp
M libc/test/src/math/tan_test.cpp
M libc/test/src/math/tanf_test.cpp
M libc/test/src/math/tanhf_test.cpp
M libc/test/src/stdio/CMakeLists.txt
A libc/test/src/stdio/vsscanf_test.cpp
M libc/test/src/unistd/CMakeLists.txt
R libc/test/src/unistd/gettid_test.cpp
M libc/test/utils/FPUtil/x86_long_double_test.cpp
M libc/utils/MPFRWrapper/MPFRUtils.cpp
M libcxx/.clang-format
M libcxx/CMakeLists.txt
R libcxx/benchmarks/CMakeLists.txt
R libcxx/benchmarks/CartesianBenchmarks.h
R libcxx/benchmarks/ContainerBenchmarks.h
R libcxx/benchmarks/GenerateInput.h
R libcxx/benchmarks/Utilities.h
R libcxx/benchmarks/VariantBenchmarks.h
R libcxx/benchmarks/algorithms.partition_point.bench.cpp
R libcxx/benchmarks/algorithms/common.h
R libcxx/benchmarks/algorithms/count.bench.cpp
R libcxx/benchmarks/algorithms/equal.bench.cpp
R libcxx/benchmarks/algorithms/fill.bench.cpp
R libcxx/benchmarks/algorithms/find.bench.cpp
R libcxx/benchmarks/algorithms/for_each.bench.cpp
R libcxx/benchmarks/algorithms/lower_bound.bench.cpp
R libcxx/benchmarks/algorithms/make_heap.bench.cpp
R libcxx/benchmarks/algorithms/make_heap_then_sort_heap.bench.cpp
R libcxx/benchmarks/algorithms/min.bench.cpp
R libcxx/benchmarks/algorithms/min_max_element.bench.cpp
R libcxx/benchmarks/algorithms/minmax.bench.cpp
R libcxx/benchmarks/algorithms/mismatch.bench.cpp
R libcxx/benchmarks/algorithms/pop_heap.bench.cpp
R libcxx/benchmarks/algorithms/pstl.stable_sort.bench.cpp
R libcxx/benchmarks/algorithms/push_heap.bench.cpp
R libcxx/benchmarks/algorithms/ranges_contains.bench.cpp
R libcxx/benchmarks/algorithms/ranges_ends_with.bench.cpp
R libcxx/benchmarks/algorithms/ranges_make_heap.bench.cpp
R libcxx/benchmarks/algorithms/ranges_make_heap_then_sort_heap.bench.cpp
R libcxx/benchmarks/algorithms/ranges_pop_heap.bench.cpp
R libcxx/benchmarks/algorithms/ranges_push_heap.bench.cpp
R libcxx/benchmarks/algorithms/ranges_sort.bench.cpp
R libcxx/benchmarks/algorithms/ranges_sort_heap.bench.cpp
R libcxx/benchmarks/algorithms/ranges_stable_sort.bench.cpp
R libcxx/benchmarks/algorithms/set_intersection.bench.cpp
R libcxx/benchmarks/algorithms/sort.bench.cpp
R libcxx/benchmarks/algorithms/sort_heap.bench.cpp
R libcxx/benchmarks/algorithms/stable_sort.bench.cpp
R libcxx/benchmarks/allocation.bench.cpp
R libcxx/benchmarks/atomic_wait.bench.cpp
R libcxx/benchmarks/atomic_wait_vs_mutex_lock.bench.cpp
R libcxx/benchmarks/deque.bench.cpp
R libcxx/benchmarks/deque_iterator.bench.cpp
R libcxx/benchmarks/exception_ptr.bench.cpp
R libcxx/benchmarks/filesystem.bench.cpp
R libcxx/benchmarks/format.bench.cpp
R libcxx/benchmarks/format_to.bench.cpp
R libcxx/benchmarks/format_to_n.bench.cpp
R libcxx/benchmarks/formatted_size.bench.cpp
R libcxx/benchmarks/formatter_float.bench.cpp
R libcxx/benchmarks/formatter_int.bench.cpp
R libcxx/benchmarks/function.bench.cpp
R libcxx/benchmarks/join_view.bench.cpp
R libcxx/benchmarks/lexicographical_compare_three_way.bench.cpp
R libcxx/benchmarks/libcxxabi/dynamic_cast.bench.cpp
R libcxx/benchmarks/libcxxabi/dynamic_cast_old_stress.bench.cpp
R libcxx/benchmarks/lit.cfg.py
R libcxx/benchmarks/lit.site.cfg.py.in
R libcxx/benchmarks/map.bench.cpp
R libcxx/benchmarks/monotonic_buffer.bench.cpp
R libcxx/benchmarks/numeric/gcd.bench.cpp
R libcxx/benchmarks/ordered_set.bench.cpp
R libcxx/benchmarks/random.bench.cpp
R libcxx/benchmarks/shared_mutex_vs_mutex.bench.cpp
R libcxx/benchmarks/std_format_spec_string_unicode.bench.cpp
R libcxx/benchmarks/std_format_spec_string_unicode_escape.bench.cpp
R libcxx/benchmarks/stop_token.bench.cpp
R libcxx/benchmarks/string.bench.cpp
R libcxx/benchmarks/stringstream.bench.cpp
R libcxx/benchmarks/system_error.bench.cpp
R libcxx/benchmarks/to_chars.bench.cpp
R libcxx/benchmarks/unordered_set_operations.bench.cpp
R libcxx/benchmarks/util_smartptr.bench.cpp
R libcxx/benchmarks/variant_visit_1.bench.cpp
R libcxx/benchmarks/variant_visit_2.bench.cpp
R libcxx/benchmarks/variant_visit_3.bench.cpp
R libcxx/benchmarks/vector_operations.bench.cpp
R libcxx/cmake/Modules/CodeCoverage.cmake
M libcxx/cmake/caches/Generic-no-exceptions.cmake
M libcxx/cmake/caches/Generic-no-experimental.cmake
M libcxx/cmake/caches/Generic-no-filesystem.cmake
M libcxx/cmake/caches/Generic-no-localization.cmake
M libcxx/cmake/caches/Generic-no-random_device.cmake
M libcxx/cmake/caches/Generic-no-rtti.cmake
M libcxx/cmake/caches/Generic-no-threads.cmake
M libcxx/cmake/caches/Generic-no-tzdb.cmake
M libcxx/cmake/caches/Generic-no-unicode.cmake
M libcxx/cmake/caches/Generic-no-wide-characters.cmake
M libcxx/cmake/config-ix.cmake
M libcxx/docs/ReleaseNotes/20.rst
M libcxx/docs/Status/Cxx20Issues.csv
M libcxx/docs/Status/Cxx20Papers.csv
M libcxx/docs/Status/Cxx23Issues.csv
M libcxx/docs/Status/Cxx2cIssues.csv
M libcxx/docs/TestingLibcxx.rst
M libcxx/include/__algorithm/find_end.h
M libcxx/include/__atomic/atomic.h
M libcxx/include/__atomic/atomic_base.h
M libcxx/include/__atomic/atomic_flag.h
M libcxx/include/__atomic/atomic_ref.h
M libcxx/include/__config
M libcxx/include/__format/formatter.h
M libcxx/include/__format/formatter_bool.h
M libcxx/include/__format/formatter_char.h
M libcxx/include/__format/formatter_floating_point.h
M libcxx/include/__format/formatter_integer.h
M libcxx/include/__format/formatter_pointer.h
M libcxx/include/__format/formatter_string.h
M libcxx/include/__iterator/bounded_iter.h
M libcxx/include/__iterator/wrap_iter.h
M libcxx/include/__memory_resource/polymorphic_allocator.h
M libcxx/include/__mutex/unique_lock.h
M libcxx/include/__thread/thread.h
M libcxx/include/array
M libcxx/include/atomic
M libcxx/include/barrier
M libcxx/include/deque
M libcxx/include/format
M libcxx/include/latch
M libcxx/include/semaphore
M libcxx/include/stdatomic.h
M libcxx/modules/std/format.inc
M libcxx/src/CMakeLists.txt
M libcxx/test/CMakeLists.txt
A libcxx/test/benchmarks/CMakeLists.txt
A libcxx/test/benchmarks/CartesianBenchmarks.h
A libcxx/test/benchmarks/ContainerBenchmarks.h
A libcxx/test/benchmarks/GenerateInput.h
A libcxx/test/benchmarks/Utilities.h
A libcxx/test/benchmarks/VariantBenchmarks.h
A libcxx/test/benchmarks/algorithms.partition_point.bench.cpp
A libcxx/test/benchmarks/algorithms/common.h
A libcxx/test/benchmarks/algorithms/count.bench.cpp
A libcxx/test/benchmarks/algorithms/equal.bench.cpp
A libcxx/test/benchmarks/algorithms/fill.bench.cpp
A libcxx/test/benchmarks/algorithms/find.bench.cpp
A libcxx/test/benchmarks/algorithms/for_each.bench.cpp
A libcxx/test/benchmarks/algorithms/lower_bound.bench.cpp
A libcxx/test/benchmarks/algorithms/make_heap.bench.cpp
A libcxx/test/benchmarks/algorithms/make_heap_then_sort_heap.bench.cpp
A libcxx/test/benchmarks/algorithms/min.bench.cpp
A libcxx/test/benchmarks/algorithms/min_max_element.bench.cpp
A libcxx/test/benchmarks/algorithms/minmax.bench.cpp
A libcxx/test/benchmarks/algorithms/mismatch.bench.cpp
A libcxx/test/benchmarks/algorithms/pop_heap.bench.cpp
A libcxx/test/benchmarks/algorithms/pstl.stable_sort.bench.cpp
A libcxx/test/benchmarks/algorithms/push_heap.bench.cpp
A libcxx/test/benchmarks/algorithms/ranges_contains.bench.cpp
A libcxx/test/benchmarks/algorithms/ranges_ends_with.bench.cpp
A libcxx/test/benchmarks/algorithms/ranges_make_heap.bench.cpp
A libcxx/test/benchmarks/algorithms/ranges_make_heap_then_sort_heap.bench.cpp
A libcxx/test/benchmarks/algorithms/ranges_pop_heap.bench.cpp
A libcxx/test/benchmarks/algorithms/ranges_push_heap.bench.cpp
A libcxx/test/benchmarks/algorithms/ranges_sort.bench.cpp
A libcxx/test/benchmarks/algorithms/ranges_sort_heap.bench.cpp
A libcxx/test/benchmarks/algorithms/ranges_stable_sort.bench.cpp
A libcxx/test/benchmarks/algorithms/set_intersection.bench.cpp
A libcxx/test/benchmarks/algorithms/sort.bench.cpp
A libcxx/test/benchmarks/algorithms/sort_heap.bench.cpp
A libcxx/test/benchmarks/algorithms/stable_sort.bench.cpp
A libcxx/test/benchmarks/allocation.bench.cpp
A libcxx/test/benchmarks/atomic_wait.bench.cpp
A libcxx/test/benchmarks/atomic_wait_vs_mutex_lock.bench.cpp
A libcxx/test/benchmarks/deque.bench.cpp
A libcxx/test/benchmarks/deque_iterator.bench.cpp
A libcxx/test/benchmarks/exception_ptr.bench.cpp
A libcxx/test/benchmarks/filesystem.bench.cpp
A libcxx/test/benchmarks/format.bench.cpp
A libcxx/test/benchmarks/format_to.bench.cpp
A libcxx/test/benchmarks/format_to_n.bench.cpp
A libcxx/test/benchmarks/formatted_size.bench.cpp
A libcxx/test/benchmarks/formatter_float.bench.cpp
A libcxx/test/benchmarks/formatter_int.bench.cpp
A libcxx/test/benchmarks/function.bench.cpp
A libcxx/test/benchmarks/join_view.bench.cpp
A libcxx/test/benchmarks/lexicographical_compare_three_way.bench.cpp
A libcxx/test/benchmarks/libcxxabi/dynamic_cast.bench.cpp
A libcxx/test/benchmarks/libcxxabi/dynamic_cast_old_stress.bench.cpp
A libcxx/test/benchmarks/lit.cfg.py.in
A libcxx/test/benchmarks/lit.site.cfg.py.in
A libcxx/test/benchmarks/map.bench.cpp
A libcxx/test/benchmarks/monotonic_buffer.bench.cpp
A libcxx/test/benchmarks/numeric/gcd.bench.cpp
A libcxx/test/benchmarks/ordered_set.bench.cpp
A libcxx/test/benchmarks/random.bench.cpp
A libcxx/test/benchmarks/shared_mutex_vs_mutex.bench.cpp
A libcxx/test/benchmarks/std_format_spec_string_unicode.bench.cpp
A libcxx/test/benchmarks/std_format_spec_string_unicode_escape.bench.cpp
A libcxx/test/benchmarks/stop_token.bench.cpp
A libcxx/test/benchmarks/string.bench.cpp
A libcxx/test/benchmarks/stringstream.bench.cpp
A libcxx/test/benchmarks/system_error.bench.cpp
A libcxx/test/benchmarks/to_chars.bench.cpp
A libcxx/test/benchmarks/unordered_set_operations.bench.cpp
A libcxx/test/benchmarks/util_smartptr.bench.cpp
A libcxx/test/benchmarks/variant_visit_1.bench.cpp
A libcxx/test/benchmarks/variant_visit_2.bench.cpp
A libcxx/test/benchmarks/variant_visit_3.bench.cpp
A libcxx/test/benchmarks/vector_operations.bench.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/output.streams/ostream.syn/includes.compile.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/time/convert_to_tm.pass.cpp
M libcxx/test/libcxx/utilities/expected/expected.expected/no_unique_address.compile.pass.cpp
M libcxx/test/libcxx/utilities/expected/expected.expected/noexcept.extension.compile.pass.cpp
M libcxx/test/libcxx/utilities/expected/expected.unexpected/noexcept.extension.compile.pass.cpp
M libcxx/test/libcxx/utilities/expected/expected.void/no_unique_address.compile.pass.cpp
M libcxx/test/libcxx/utilities/expected/expected.void/noexcept.extension.compile.pass.cpp
M libcxx/test/libcxx/utilities/expected/expected.void/value.lwg3940.verify.cpp
M libcxx/test/libcxx/utilities/format/enable_insertable.compile.pass.cpp
M libcxx/test/libcxx/utilities/format/format.arguments/format.arg/arg_t.compile.pass.cpp
M libcxx/test/libcxx/utilities/format/format.formatter/format.context/types.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/code_point_width_estimation.pass.cpp
M libcxx/test/libcxx/utilities/format/format.string/format.string.std/concepts_precision.h
M libcxx/test/libcxx/utilities/format/format.string/format.string.std/escaped_output.pass.cpp
M libcxx/test/libcxx/utilities/format/format.string/format.string.std/extended_grapheme_cluster.pass.cpp
M libcxx/test/libcxx/utilities/format/format.string/format.string.std/test_exception.h
M libcxx/test/std/algorithms/alg.nonmodifying/alg.find.last/ranges.find_last.pass.cpp
M libcxx/test/std/algorithms/alg.nonmodifying/alg.find.last/ranges.find_last_if.pass.cpp
M libcxx/test/std/algorithms/alg.nonmodifying/alg.find.last/ranges.find_last_if_not.pass.cpp
M libcxx/test/std/algorithms/alg.sorting/alg.sort/sort/sort.pass.cpp
A libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.cpp
R libcxx/test/std/atomics/atomics.lockfree/isalwayslockfree.pass.cpp
M libcxx/test/std/atomics/atomics.ref/is_always_lock_free.pass.cpp
M libcxx/test/std/atomics/atomics.ref/required_alignment.pass.cpp
M libcxx/test/std/atomics/atomics.types.generic/general.compile.pass.cpp
M libcxx/test/std/atomics/atomics.types.generic/pointer.compile.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_notify_all.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_notify_one.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_wait.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_wait_explicit.pass.cpp
M libcxx/test/std/atomics/stdatomic.h.syn/types.compile.pass.cpp
M libcxx/test/std/containers/container.adaptors/container.adaptors.format/format.functions.format.pass.cpp
M libcxx/test/std/containers/container.adaptors/container.adaptors.format/format.functions.tests.h
M libcxx/test/std/containers/container.adaptors/container.adaptors.format/format.functions.vformat.pass.cpp
M libcxx/test/std/containers/container.adaptors/container.adaptors.format/format.pass.cpp
M libcxx/test/std/containers/container.adaptors/container.adaptors.format/parse.pass.cpp
M libcxx/test/std/containers/container.adaptors/container.adaptors.format/types.compile.pass.cpp
M libcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/format.functions.format.pass.cpp
M libcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/format.functions.tests.h
M libcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/format.functions.vformat.pass.cpp
M libcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/format.pass.cpp
M libcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/parse.pass.cpp
M libcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/types.compile.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/print.pass.cpp
M libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.formatted.print/print_tests.h
M libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.formatted.print/println.pass.cpp
M libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.formatted.print/vprint_nonunicode.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/print.fun/includes.compile.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/print.file.pass.cpp
M libcxx/test/std/input.output/iostream.format/print.fun/print.sh.cpp
M libcxx/test/std/input.output/iostream.format/print.fun/print_tests.h
M libcxx/test/std/input.output/iostream.format/print.fun/println.blank_line.sh.cpp
M libcxx/test/std/input.output/iostream.format/print.fun/println.file.pass.cpp
M libcxx/test/std/input.output/iostream.format/print.fun/println.sh.cpp
M libcxx/test/std/input.output/iostream.format/print.fun/vprint_nonunicode.file.pass.cpp
M libcxx/test/std/input.output/iostream.format/print.fun/vprint_nonunicode.sh.cpp
M libcxx/test/std/input.output/iostream.format/print.fun/vprint_unicode.file.pass.cpp
M libcxx/test/std/input.output/iostream.format/print.fun/vprint_unicode.sh.cpp
M libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_double.hex.pass.cpp
M libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.hex.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.bin/eval.PR44847.pass.cpp
M libcxx/test/std/thread/thread.barrier/arrive.pass.cpp
M libcxx/test/std/thread/thread.barrier/arrive_and_drop.pass.cpp
M libcxx/test/std/thread/thread.barrier/arrive_and_wait.pass.cpp
M libcxx/test/std/thread/thread.barrier/completion.pass.cpp
M libcxx/test/std/thread/thread.barrier/ctor.compile.pass.cpp
M libcxx/test/std/thread/thread.barrier/max.pass.cpp
M libcxx/test/std/thread/thread.latch/arrive_and_wait.pass.cpp
M libcxx/test/std/thread/thread.latch/count_down.pass.cpp
M libcxx/test/std/thread/thread.latch/ctor.pass.cpp
M libcxx/test/std/thread/thread.latch/max.pass.cpp
M libcxx/test/std/thread/thread.latch/try_wait.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/implicit_ctad.pass.cpp
R libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/copy_assign.compile.fail.cpp
A libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/copy_assign.compile.pass.cpp
R libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/copy_ctor.compile.fail.cpp
A libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/copy_ctor.compile.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/default.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/move_assign.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/move_ctor.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_adopt_lock.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_defer_lock.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/lock.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/try_lock.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/try_lock_for.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/try_lock_until.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/unlock.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/member_swap.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/nonmember_swap.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/release.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/mutex.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/op_bool.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/owns_lock.pass.cpp
A libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/types.compile.pass.cpp
A libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/types.h
R libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/types.pass.cpp
A libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/assign.compile.pass.cpp
R libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/assign.verify.cpp
R libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/copy.verify.cpp
A libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/ctor.copy.compile.pass.cpp
A libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/ctor.default.pass.cpp
R libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/default.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/lock.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/lock_shared.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/try_lock.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/try_lock_shared.pass.cpp
R libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/assign.compile.fail.cpp
A libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/assign.compile.pass.cpp
R libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/copy.compile.fail.cpp
A libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ctor.copy.compile.pass.cpp
A libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ctor.default.pass.cpp
R 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.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/lock.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/lock_shared.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_for.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_shared.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_shared_for.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_shared_until.pass.cpp
M libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/try_lock_until.pass.cpp
M libcxx/test/std/thread/thread.semaphore/acquire.pass.cpp
M libcxx/test/std/thread/thread.semaphore/binary.pass.cpp
M libcxx/test/std/thread/thread.semaphore/ctor.compile.pass.cpp
M libcxx/test/std/thread/thread.semaphore/max.pass.cpp
M libcxx/test/std/thread/thread.semaphore/release.pass.cpp
M libcxx/test/std/thread/thread.semaphore/timed.pass.cpp
M libcxx/test/std/thread/thread.semaphore/try_acquire.pass.cpp
M libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/format.functions.format.pass.cpp
M libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/format.functions.tests.h
M libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/format.functions.vformat.pass.cpp
M libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/format.pass.cpp
M libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/parse.pass.cpp
M libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/types.compile.pass.cpp
M libcxx/test/std/time/time.syn/formatter.day.pass.cpp
M libcxx/test/std/time/time.syn/formatter.duration.pass.cpp
M libcxx/test/std/time/time.syn/formatter.file_time.pass.cpp
M libcxx/test/std/time/time.syn/formatter.hh_mm_ss.pass.cpp
M libcxx/test/std/time/time.syn/formatter.local_info.pass.cpp
M libcxx/test/std/time/time.syn/formatter.local_time.pass.cpp
M libcxx/test/std/time/time.syn/formatter.month.pass.cpp
M libcxx/test/std/time/time.syn/formatter.month_day.pass.cpp
M libcxx/test/std/time/time.syn/formatter.month_day_last.pass.cpp
M libcxx/test/std/time/time.syn/formatter.month_weekday.pass.cpp
M libcxx/test/std/time/time.syn/formatter.sys_info.pass.cpp
M libcxx/test/std/time/time.syn/formatter.sys_time.pass.cpp
M libcxx/test/std/time/time.syn/formatter.weekday.pass.cpp
M libcxx/test/std/time/time.syn/formatter.weekday_index.pass.cpp
M libcxx/test/std/time/time.syn/formatter.weekday_last.pass.cpp
M libcxx/test/std/time/time.syn/formatter.year.pass.cpp
M libcxx/test/std/time/time.syn/formatter.year_month.pass.cpp
M libcxx/test/std/time/time.syn/formatter.year_month_day.pass.cpp
M libcxx/test/std/time/time.syn/formatter.year_month_day_last.pass.cpp
M libcxx/test/std/time/time.syn/formatter.year_month_weekday.pass.cpp
M libcxx/test/std/time/time.syn/formatter.year_month_weekday_last.pass.cpp
M libcxx/test/std/time/time.syn/formatter.zoned_time.pass.cpp
M libcxx/test/std/time/time.syn/formatter_tests.h
M libcxx/test/std/utilities/expected/expected.bad/base.compile.pass.cpp
M libcxx/test/std/utilities/expected/expected.bad/ctor.error.pass.cpp
M libcxx/test/std/utilities/expected/expected.bad/error.member.pass.cpp
M libcxx/test/std/utilities/expected/expected.bad/void-specialization.pass.cpp
M libcxx/test/std/utilities/expected/expected.bad/what.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/assign/assign.U.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/assign/assign.copy.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/assign/assign.move.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/assign/assign.unexpected.copy.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/assign/assign.unexpected.move.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/assign/emplace.intializer_list.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/assign/emplace.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.convert.copy.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.convert.move.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.copy.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.default.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.inplace.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.inplace_init_list.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.move.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.u.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.unexpect.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.unexpect_init_list.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.unexpected.copy.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.unexpected.move.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/dtor.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/equality/equality.T2.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/equality/equality.other_expected.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/equality/equality.unexpected.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/observers/arrow.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/observers/bool.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/observers/deref.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/observers/error.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/observers/has_value.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/observers/value.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/observers/value_or.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/swap/free.swap.pass.cpp
M libcxx/test/std/utilities/expected/expected.expected/swap/member.swap.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/assign/assign.copy.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/assign/assign.move.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/ctad.compile.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/ctor/ctor.copy.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/ctor/ctor.error.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/ctor/ctor.inplace.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/ctor/ctor.inplace_init_list.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/ctor/ctor.move.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/equality.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/observer/error.const_ref.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/observer/error.const_ref_ref.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/observer/error.ref.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/observer/error.ref_ref.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/swap/swap.free.pass.cpp
M libcxx/test/std/utilities/expected/expected.unexpected/swap/swap.member.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/assign/assign.copy.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/assign/assign.move.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/assign/assign.unexpected.copy.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/assign/assign.unexpected.move.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/assign/emplace.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/ctor/ctor.convert.copy.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/ctor/ctor.convert.move.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/ctor/ctor.copy.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/ctor/ctor.default.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/ctor/ctor.inplace.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/ctor/ctor.move.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/ctor/ctor.unexpect.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/ctor/ctor.unexpect_init_list.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/ctor/ctor.unexpected.copy.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/ctor/ctor.unexpected.move.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/dtor.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/equality/equality.other_expected.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/equality/equality.unexpected.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/observers/bool.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/observers/deref.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/observers/error.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/observers/has_value.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/observers/value.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/swap/free.swap.pass.cpp
M libcxx/test/std/utilities/expected/expected.void/swap/member.swap.pass.cpp
M libcxx/test/std/utilities/format/format.arguments/format.arg.store/make_format_args.pass.cpp
M libcxx/test/std/utilities/format/format.arguments/format.arg.store/make_format_args.sh.cpp
M libcxx/test/std/utilities/format/format.arguments/format.arg.store/make_wformat_args.pass.cpp
M libcxx/test/std/utilities/format/format.arguments/format.arg/ctor.pass.cpp
M libcxx/test/std/utilities/format/format.arguments/format.arg/operator_bool.pass.cpp
M libcxx/test/std/utilities/format/format.arguments/format.arg/visit.pass.cpp
M libcxx/test/std/utilities/format/format.arguments/format.arg/visit.return_type.pass.cpp
M libcxx/test/std/utilities/format/format.arguments/format.arg/visit_format_arg.deprecated.verify.cpp
M libcxx/test/std/utilities/format/format.arguments/format.arg/visit_format_arg.pass.cpp
M libcxx/test/std/utilities/format/format.arguments/format.args/ctad.compile.pass.cpp
M libcxx/test/std/utilities/format/format.arguments/format.args/ctor.pass.cpp
M libcxx/test/std/utilities/format/format.arguments/format.args/get.pass.cpp
M libcxx/test/std/utilities/format/format.arguments/format.args/types.compile.pass.cpp
M libcxx/test/std/utilities/format/format.formattable/concept.formattable.compile.pass.cpp
M libcxx/test/std/utilities/format/format.formattable/concept.formattable.float.compile.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.context/format.context/advance_to.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.context/format.context/arg.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.context/format.context/ctor.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.context/format.context/locale.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.context/format.context/out.pass.cpp
A libcxx/test/std/utilities/format/format.formatter/format.formatter.locking/enable_nonlocking_formatter_optimization.compile.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.bool.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.c_string.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/format/format.formatter/format.formatter.spec/formatter.char.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.char_array.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.floating_point.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.handle.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.pointer.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.signed_integral.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.string.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.unsigned_integral.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/advance_to.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/begin.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/check_arg_id.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/check_arg_id.verify.cpp
M libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/ctor.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/end.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/next_arg_id.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/next_arg_id.verify.cpp
M libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/types.compile.pass.cpp
M libcxx/test/std/utilities/format/format.functions/P2418.pass.cpp
M libcxx/test/std/utilities/format/format.functions/bug_81590.compile.pass.cpp
M libcxx/test/std/utilities/format/format.functions/escaped_output.unicode.pass.cpp
M libcxx/test/std/utilities/format/format.functions/fill.unicode.pass.cpp
M libcxx/test/std/utilities/format/format.functions/format.locale.pass.cpp
M libcxx/test/std/utilities/format/format.functions/format.locale.runtime_format.pass.cpp
M libcxx/test/std/utilities/format/format.functions/format.locale.verify.cpp
M libcxx/test/std/utilities/format/format.functions/format.pass.cpp
M libcxx/test/std/utilities/format/format.functions/format.runtime_format.pass.cpp
M libcxx/test/std/utilities/format/format.functions/format.verify.cpp
M libcxx/test/std/utilities/format/format.functions/format_tests.h
M libcxx/test/std/utilities/format/format.functions/format_to.locale.pass.cpp
M libcxx/test/std/utilities/format/format.functions/format_to.locale.verify.cpp
M libcxx/test/std/utilities/format/format.functions/format_to.pass.cpp
M libcxx/test/std/utilities/format/format.functions/format_to.verify.cpp
M libcxx/test/std/utilities/format/format.functions/format_to_n.locale.pass.cpp
M libcxx/test/std/utilities/format/format.functions/format_to_n.locale.verify.cpp
M libcxx/test/std/utilities/format/format.functions/format_to_n.pass.cpp
M libcxx/test/std/utilities/format/format.functions/format_to_n.verify.cpp
M libcxx/test/std/utilities/format/format.functions/formatted_size.locale.pass.cpp
M libcxx/test/std/utilities/format/format.functions/formatted_size.locale.verify.cpp
M libcxx/test/std/utilities/format/format.functions/formatted_size.pass.cpp
M libcxx/test/std/utilities/format/format.functions/formatted_size.verify.cpp
M libcxx/test/std/utilities/format/format.functions/locale-specific_form.pass.cpp
M libcxx/test/std/utilities/format/format.functions/unicode.pass.cpp
M libcxx/test/std/utilities/format/format.functions/vformat.locale.pass.cpp
M libcxx/test/std/utilities/format/format.functions/vformat.pass.cpp
M libcxx/test/std/utilities/format/format.functions/vformat_to.locale.pass.cpp
M libcxx/test/std/utilities/format/format.functions/vformat_to.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtdef/format.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtdef/parse.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtdef/set_brackets.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtdef/set_separator.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtkind/format_kind.compile.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtkind/format_kind.verify.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtkind/range_format.compile.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtmap/format.functions.format.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtmap/format.functions.tests.h
M libcxx/test/std/utilities/format/format.range/format.range.fmtmap/format.functions.vformat.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtmap/format.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtmap/parse.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtset/format.functions.format.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtset/format.functions.tests.h
M libcxx/test/std/utilities/format/format.range/format.range.fmtset/format.functions.vformat.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtset/format.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtset/parse.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtstr/format.functions.format.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtstr/format.functions.tests.h
M libcxx/test/std/utilities/format/format.range/format.range.fmtstr/format.functions.vformat.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtstr/format.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtstr/parse.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.formatter/format.functions.format.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.formatter/format.functions.tests.h
M libcxx/test/std/utilities/format/format.range/format.range.formatter/format.functions.vformat.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.formatter/format.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.formatter/parse.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.formatter/set_brackets.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.formatter/set_separator.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.formatter/underlying.pass.cpp
M libcxx/test/std/utilities/format/format.string/format.string.std/lwg3720_arg_id_width_precision_allowed_types.pass.cpp
M libcxx/test/std/utilities/format/format.string/format.string.std/lwg3720_arg_id_width_precision_allowed_types.verify.cpp
M libcxx/test/std/utilities/format/format.tuple/format.functions.format.pass.cpp
M libcxx/test/std/utilities/format/format.tuple/format.functions.format.verify.cpp
M libcxx/test/std/utilities/format/format.tuple/format.functions.tests.h
M libcxx/test/std/utilities/format/format.tuple/format.functions.vformat.pass.cpp
M libcxx/test/std/utilities/format/format.tuple/format.pass.cpp
M libcxx/test/std/utilities/format/format.tuple/parse.pass.cpp
M libcxx/test/std/utilities/format/format.tuple/set_brackets.pass.cpp
M libcxx/test/std/utilities/format/format.tuple/set_separator.pass.cpp
M libcxx/test/std/utilities/format/types.compile.pass.cpp
A libcxx/test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.class.general/equality.pass.cpp
M libcxx/test/support/atomic_helpers.h
M libcxx/test/support/format.functions.common.h
M libcxx/test/support/test.support/make_string_header.pass.cpp
M libcxx/test/support/test_basic_format_arg.h
M libcxx/test/support/test_iterators.h
M libcxx/utils/libcxx/test/features.py
M libcxxabi/src/demangle/ItaniumDemangle.h
M libcxxabi/test/test_demangle.pass.cpp
M libunwind/src/UnwindCursor.hpp
M libunwind/test/aix_signal_unwind.pass.sh.S
M lld/ELF/Config.h
M lld/ELF/Driver.cpp
M lld/ELF/ICF.cpp
M lld/ELF/InputFiles.cpp
M lld/ELF/InputFiles.h
M lld/ELF/InputSection.cpp
M lld/ELF/InputSection.h
M lld/ELF/Relocations.cpp
M lld/ELF/Relocations.h
M lld/ELF/ScriptLexer.cpp
M lld/ELF/ScriptLexer.h
M lld/ELF/ScriptParser.cpp
M lld/ELF/ScriptParser.h
M lld/ELF/Symbols.cpp
M lld/ELF/Symbols.h
M lld/ELF/SyntheticSections.cpp
M lld/ELF/SyntheticSections.h
M lld/ELF/Writer.cpp
M lld/docs/ReleaseNotes.rst
M lld/docs/ld.lld.1
M lld/test/CMakeLists.txt
M lld/test/ELF/defsym.s
M lld/test/ELF/gc-sections-with-provide.s
M lld/test/ELF/linkerscript/at2.test
M lld/test/ELF/linkerscript/at3.test
M lld/test/ELF/linkerscript/group.s
R lld/test/ELF/linkerscript/header-phdr.test
M lld/test/ELF/linkerscript/include-cycle.s
M lld/test/ELF/linkerscript/insert-after.test
M lld/test/ELF/linkerscript/insert-before.test
M lld/test/ELF/linkerscript/invalid.test
M lld/test/ELF/linkerscript/map-file.test
M lld/test/ELF/linkerscript/map-file2.test
M lld/test/ELF/linkerscript/memory-err.s
M lld/test/ELF/linkerscript/outputarch.test
M lld/test/ELF/linkerscript/overlay.test
R lld/test/ELF/linkerscript/phdr-check.s
M lld/test/ELF/linkerscript/phdrs.s
M lld/test/ELF/linkerscript/region-alias.s
M lld/test/ELF/linkerscript/sections.s
M lld/test/ELF/linkerscript/symbolreferenced.s
M lld/test/ELF/linkerscript/unquoted.test
A lld/test/ELF/zsectionheader.s
M lldb/cmake/modules/AddLLDB.cmake
M lldb/include/lldb/Core/PluginManager.h
M lldb/include/lldb/Interpreter/CommandObject.h
M lldb/include/lldb/Interpreter/Interfaces/ScriptedInterface.h
A lldb/include/lldb/Interpreter/Interfaces/ScriptedInterfaceUsages.h
M lldb/include/lldb/Symbol/SymbolFile.h
M lldb/include/lldb/Symbol/UnwindPlan.h
M lldb/include/lldb/Target/Target.h
M lldb/include/lldb/lldb-private-interfaces.h
M lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
M lldb/packages/Python/lldbsuite/test/lldbtest.py
M lldb/source/Commands/CommandObjectBreakpoint.cpp
M lldb/source/Commands/CommandObjectBreakpointCommand.cpp
M lldb/source/Commands/CommandObjectDisassemble.cpp
M lldb/source/Commands/CommandObjectExpression.cpp
M lldb/source/Commands/CommandObjectFrame.cpp
M lldb/source/Commands/CommandObjectProcess.cpp
M lldb/source/Commands/CommandObjectScripting.cpp
M lldb/source/Commands/CommandObjectTarget.cpp
M lldb/source/Commands/CommandObjectThread.cpp
M lldb/source/Commands/CommandObjectWatchpoint.cpp
M lldb/source/Commands/CommandObjectWatchpoint.h
M lldb/source/Commands/CommandObjectWatchpointCommand.cpp
M lldb/source/Commands/Options.td
M lldb/source/Core/PluginManager.cpp
M lldb/source/Interpreter/CMakeLists.txt
M lldb/source/Interpreter/CommandObject.cpp
A lldb/source/Interpreter/Interfaces/CMakeLists.txt
A lldb/source/Interpreter/Interfaces/ScriptedInterfaceUsages.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/OperatingSystemPythonInterface.cpp
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/OperatingSystemPythonInterface.h
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/OperatingSystemPythonInterface/CMakeLists.txt
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/OperatingSystemPythonInterface/OperatingSystemPythonInterface.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/OperatingSystemPythonInterface/OperatingSystemPythonInterface.h
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface.cpp
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface.h
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface/CMakeLists.txt
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface/ScriptedPlatformPythonInterface.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface/ScriptedPlatformPythonInterface.h
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.cpp
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.h
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface/CMakeLists.txt
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface/ScriptedThreadPlanPythonInterface.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface/ScriptedThreadPlanPythonInterface.h
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
M lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParser.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
M lldb/source/Symbol/UnwindPlan.cpp
M lldb/source/Target/RegisterContextUnwind.cpp
M lldb/source/Target/Target.cpp
M lldb/source/Target/TargetProperties.td
M lldb/test/API/api/multiple-debuggers/TestMultipleDebuggers.py
M lldb/test/API/api/multiple-debuggers/multi-process-driver.cpp
M lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
M lldb/test/API/lang/c/struct_types/main.c
A lldb/test/Shell/SymbolFile/DWARF/vla.cpp
M lldb/tools/lldb-dap/README.md
M lldb/tools/lldb-dap/package.json
M lldb/tools/lldb-server/LLDBServerUtilities.cpp
M llvm/CMakeLists.txt
M llvm/CODE_OWNERS.TXT
M llvm/cmake/modules/AddLLVM.cmake
M llvm/cmake/modules/HandleLLVMOptions.cmake
M llvm/cmake/modules/HandleLLVMStdlib.cmake
R llvm/cmake/modules/LLVMCheckLinkerFlag.cmake
M llvm/docs/CommandGuide/llvm-objcopy.rst
M llvm/docs/DirectX/DXILResources.rst
M llvm/docs/GettingStarted.rst
M llvm/docs/ProgrammersManual.rst
M llvm/docs/SourceLevelDebugging.rst
M llvm/include/llvm-c/Error.h
M llvm/include/llvm-c/Target.h
M llvm/include/llvm/ADT/APFloat.h
M llvm/include/llvm/ADT/DenseMap.h
M llvm/include/llvm/ADT/GenericCycleImpl.h
M llvm/include/llvm/ADT/StableHashing.h
M llvm/include/llvm/Analysis/DXILResource.h
M llvm/include/llvm/Analysis/GenericDomTreeUpdater.h
M llvm/include/llvm/Analysis/Loads.h
M llvm/include/llvm/Analysis/ScalarEvolution.h
M llvm/include/llvm/Analysis/TargetLibraryInfo.def
M llvm/include/llvm/Analysis/TargetTransformInfo.h
M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
M llvm/include/llvm/Analysis/ValueTracking.h
M llvm/include/llvm/Analysis/VecFuncs.def
M llvm/include/llvm/AsmParser/LLParser.h
M llvm/include/llvm/CodeGen/DebugHandlerBase.h
M llvm/include/llvm/CodeGen/SDPatternMatch.h
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/include/llvm/CodeGen/ValueTypes.td
M llvm/include/llvm/CodeGenTypes/MachineValueType.h
M llvm/include/llvm/Frontend/HLSL/HLSLResource.h
M llvm/include/llvm/IR/BasicBlock.h
M llvm/include/llvm/IR/Function.h
M llvm/include/llvm/IR/PatternMatch.h
M llvm/include/llvm/MC/MCAsmBackend.h
M llvm/include/llvm/MC/MCAssembler.h
M llvm/include/llvm/MC/MCELFStreamer.h
M llvm/include/llvm/MC/MCFragment.h
M llvm/include/llvm/MC/MCSection.h
M llvm/include/llvm/ObjCopy/CommonConfig.h
M llvm/include/llvm/Passes/PassBuilder.h
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/include/llvm/ProfileData/InstrProfData.inc
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/include/llvm/SandboxIR/SandboxIRValues.def
M llvm/include/llvm/SandboxIR/Tracker.h
M llvm/include/llvm/SandboxIR/Use.h
M llvm/include/llvm/Support/DXILABI.h
M llvm/include/llvm/Support/GenericDomTree.h
M llvm/include/llvm/Support/GenericDomTreeConstruction.h
M llvm/include/llvm/Support/MathExtras.h
M llvm/include/llvm/Transforms/Instrumentation/AddressSanitizer.h
M llvm/include/llvm/Transforms/Instrumentation/DataFlowSanitizer.h
M llvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h
M llvm/include/llvm/Transforms/Instrumentation/ThreadSanitizer.h
M llvm/include/llvm/Transforms/Utils/SSAUpdaterImpl.h
M llvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/Analysis/DXILResource.cpp
M llvm/lib/Analysis/DomTreeUpdater.cpp
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/Analysis/Loads.cpp
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/lib/Analysis/TargetTransformInfo.cpp
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/AsmParser/LLLexer.cpp
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
M llvm/lib/CodeGen/CalcSpillWeights.cpp
M llvm/lib/CodeGen/EarlyIfConversion.cpp
M llvm/lib/CodeGen/GlobalISel/LegalityPredicates.cpp
M llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
M llvm/lib/CodeGen/MIRParser/MIParser.cpp
M llvm/lib/CodeGen/MachineStableHash.cpp
M llvm/lib/CodeGen/RegisterBankInfo.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/IR/Function.cpp
M llvm/lib/IR/OptBisect.cpp
M llvm/lib/IR/RuntimeLibcalls.cpp
M llvm/lib/LTO/LTOBackend.cpp
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCContext.cpp
M llvm/lib/MC/MCELFStreamer.cpp
M llvm/lib/MC/MCFragment.cpp
M llvm/lib/MC/MCSection.cpp
M llvm/lib/ObjCopy/ConfigManager.cpp
M llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp
M llvm/lib/Passes/PassBuilderPipelines.cpp
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/lib/SandboxIR/Tracker.cpp
M llvm/lib/Support/APFloat.cpp
M llvm/lib/Support/Error.cpp
M llvm/lib/Support/Windows/Process.inc
M llvm/lib/Support/Windows/Signals.inc
M llvm/lib/Target/AArch64/AArch64Arm64ECCallLowering.cpp
M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
M llvm/lib/Target/AArch64/AArch64ConditionalCompares.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
R llvm/lib/Target/AArch64/peephole-sxtw.mir
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.h
M llvm/lib/Target/AMDGPU/AMDGPUGISel.td
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
M llvm/lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp
M llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
M llvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
M llvm/lib/Target/AMDGPU/AMDGPUResourceUsageAnalysis.cpp
M llvm/lib/Target/AMDGPU/AMDGPUResourceUsageAnalysis.h
M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.h
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
M llvm/lib/Target/AMDGPU/SMInstructions.td
M llvm/lib/Target/ARM/ARMAsmPrinter.cpp
M llvm/lib/Target/ARM/ARMAsmPrinter.h
M llvm/lib/Target/ARM/ARMMCInstLower.cpp
M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
M llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
M llvm/lib/Target/ARM/MCTargetDesc/ARMWinCOFFObjectWriter.cpp
M llvm/lib/Target/AVR/MCTargetDesc/AVRELFStreamer.cpp
M llvm/lib/Target/CSKY/CSKYAsmPrinter.cpp
M llvm/lib/Target/CSKY/CSKYAsmPrinter.h
M llvm/lib/Target/CSKY/MCTargetDesc/CSKYELFStreamer.cpp
M llvm/lib/Target/DirectX/DXIL.td
M llvm/lib/Target/DirectX/DXILConstants.h
M llvm/lib/Target/DirectX/DXILOpBuilder.cpp
M llvm/lib/Target/DirectX/DXILOpBuilder.h
M llvm/lib/Target/DirectX/DXILOpLowering.cpp
M llvm/lib/Target/DirectX/DXILPrepare.cpp
M llvm/lib/Target/DirectX/DXILPrettyPrinter.cpp
M llvm/lib/Target/DirectX/DXILResourceAnalysis.cpp
M llvm/lib/Target/DirectX/DXILResourceAnalysis.h
M llvm/lib/Target/DirectX/DXILTranslateMetadata.cpp
M llvm/lib/Target/DirectX/DirectX.h
M llvm/lib/Target/DirectX/DirectXPassRegistry.def
M llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
M llvm/lib/Target/LoongArch/LoongArchAsmPrinter.cpp
M llvm/lib/Target/LoongArch/LoongArchAsmPrinter.h
M llvm/lib/Target/LoongArch/LoongArchExpandPseudoInsts.cpp
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.cpp
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.h
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchELFStreamer.cpp
M llvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
M llvm/lib/Target/Mips/MipsAsmPrinter.cpp
M llvm/lib/Target/Mips/MipsAsmPrinter.h
M llvm/lib/Target/NVPTX/NVPTXFrameLowering.cpp
M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
M llvm/lib/Target/PowerPC/PPCGenScalarMASSEntries.cpp
M llvm/lib/Target/PowerPC/PPCRegisterInfo.td
M llvm/lib/Target/README.txt
M llvm/lib/Target/RISCV/GISel/RISCVCallLowering.cpp
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.h
M llvm/lib/Target/RISCV/GISel/RISCVRegisterBankInfo.cpp
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
M llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
M llvm/lib/Target/RISCV/RISCVCodeGenPrepare.cpp
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.h
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfo.h
M llvm/lib/Target/RISCV/RISCVInstrInfo.td
M llvm/lib/Target/RISCV/RISCVInstrInfoD.td
M llvm/lib/Target/RISCV/RISCVInstrInfoF.td
M llvm/lib/Target/RISCV/RISCVInstrInfoV.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
M llvm/lib/Target/RISCV/RISCVInstrInfoXVentana.td
M llvm/lib/Target/RISCV/RISCVInstrInfoZfh.td
M llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
M llvm/lib/Target/RISCV/RISCVMergeBaseOffset.cpp
M llvm/lib/Target/RISCV/RISCVProcessors.td
M llvm/lib/Target/RISCV/RISCVSchedSiFive7.td
M llvm/lib/Target/RISCV/RISCVSchedSiFiveP600.td
M llvm/lib/Target/RISCV/RISCVScheduleV.td
M llvm/lib/Target/RISCV/RISCVSubtarget.h
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
M llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
M llvm/lib/Target/Sparc/SparcISelLowering.cpp
M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86InstrInfo.cpp
M llvm/lib/Target/X86/X86SchedBroadwell.td
M llvm/lib/Target/X86/X86SchedHaswell.td
M llvm/lib/Target/X86/X86SchedSandyBridge.td
M llvm/lib/Target/X86/X86Subtarget.cpp
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/lib/TargetParser/Host.cpp
M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
M llvm/lib/Transforms/IPO/FunctionImport.cpp
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
M llvm/lib/Transforms/Instrumentation/LowerAllowCheckPass.cpp
M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
M llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp
M llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp
M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
M llvm/lib/Transforms/Scalar/LoopBoundSplit.cpp
M llvm/lib/Transforms/Scalar/LoopSink.cpp
M llvm/lib/Transforms/Utils/BuildLibCalls.cpp
M llvm/lib/Transforms/Utils/LCSSA.cpp
M llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp
M llvm/lib/Transforms/Utils/SCCPSolver.cpp
M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
M llvm/lib/Transforms/Utils/ValueMapper.cpp
M llvm/lib/Transforms/Vectorize/LoopIdiomVectorize.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Analysis/CostModel/AArch64/fptoi_sat.ll
R llvm/test/Analysis/CostModel/AMDGPU/arith-fp.ll
A llvm/test/Analysis/CostModel/AMDGPU/arithmetic_fence.ll
A llvm/test/Analysis/CostModel/AMDGPU/canonicalize.ll
A llvm/test/Analysis/CostModel/AMDGPU/copysign.ll
A llvm/test/Analysis/CostModel/AMDGPU/exp.ll
A llvm/test/Analysis/CostModel/AMDGPU/exp10.ll
A llvm/test/Analysis/CostModel/AMDGPU/exp2.ll
M llvm/test/Analysis/CostModel/AMDGPU/fabs.ll
M llvm/test/Analysis/CostModel/AMDGPU/fma.ll
M llvm/test/Analysis/CostModel/AMDGPU/fmul.ll
A llvm/test/Analysis/CostModel/AMDGPU/fmuladd.ll
M llvm/test/Analysis/CostModel/AMDGPU/fneg.ll
A llvm/test/Analysis/CostModel/AMDGPU/frexp.ll
A llvm/test/Analysis/CostModel/AMDGPU/is_fpclass.ll
A llvm/test/Analysis/CostModel/AMDGPU/ldexp.ll
A llvm/test/Analysis/CostModel/AMDGPU/log.ll
A llvm/test/Analysis/CostModel/AMDGPU/log10.ll
A llvm/test/Analysis/CostModel/AMDGPU/log2.ll
A llvm/test/Analysis/CostModel/AMDGPU/maximum.ll
A llvm/test/Analysis/CostModel/AMDGPU/maxnum.ll
A llvm/test/Analysis/CostModel/AMDGPU/minimum.ll
A llvm/test/Analysis/CostModel/AMDGPU/minnum.ll
A llvm/test/Analysis/CostModel/AMDGPU/ptrmask.ll
A llvm/test/Analysis/CostModel/AMDGPU/sqrt.ll
M llvm/test/Analysis/CostModel/RISCV/cast.ll
M llvm/test/Analysis/CostModel/RISCV/rvv-load-store.ll
M llvm/test/Analysis/CostModel/X86/arith-overflow.ll
A llvm/test/Analysis/CycleInfo/unreachable-predecessor.ll
M llvm/test/Analysis/ScalarEvolution/finite-trip-count.ll
M llvm/test/Analysis/ScalarEvolution/ne-overflow.ll
M llvm/test/Analysis/ScalarEvolution/trip-count-implied-addrec.ll
M llvm/test/Analysis/ScalarEvolution/trip-count-scalable-stride.ll
M llvm/test/Bindings/llvm-c/echo.ll
M llvm/test/Bitcode/compatibility.ll
M llvm/test/CodeGen/AArch64/arm64ec-hybrid-patchable.ll
M llvm/test/CodeGen/AArch64/exp10-libcall-names.ll
M llvm/test/CodeGen/AArch64/fcvt_combine.ll
M llvm/test/CodeGen/AArch64/fptosi-sat-vector.ll
M llvm/test/CodeGen/AArch64/fptoui-sat-vector.ll
A llvm/test/CodeGen/AArch64/peephole-sxtw.mir
M llvm/test/CodeGen/AArch64/ptrauth-fpac.ll
M llvm/test/CodeGen/AArch64/ptrauth-intrinsic-auth-resign-with-blend.ll
M llvm/test/CodeGen/AArch64/ptrauth-intrinsic-auth-resign.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/atomicrmw_fmax.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/atomicrmw_fmin.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/divergence-divergent-i1-phis-no-lane-mask-merging.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/divergent-control-flow.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/floor.f64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/global-atomic-fadd.f64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.fcmp.constants.w32.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-and.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-constant.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-copy.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fconstant.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-constant.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-global-saddr.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-smrd.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-or.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ptr-add.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ptrmask.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-store-private.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-xor.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-brcond.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.ballot.i32.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.end.cf.i32.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.if.break.i32.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.intersect_ray.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.mfma.gfx90a.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.rsq.clamp.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.set.inactive.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.wmma_32.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.wmma_64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.wqm.demote.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.memset.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/mubuf-global.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/sdiv.i64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/srem.i64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/udiv.i64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/urem.i64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/wmma-gfx12-w64-f16-f32-matrix-modifiers.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/wmma-gfx12-w64-imm.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/wmma-gfx12-w64-iu-modifiers.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/wmma-gfx12-w64-swmmac-index_key.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/wmma-gfx12-w64.ll
M llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-pow-codegen.ll
M llvm/test/CodeGen/AMDGPU/bf16.ll
M llvm/test/CodeGen/AMDGPU/dag-divergence.ll
A llvm/test/CodeGen/AMDGPU/eliminate-frame-index-s-mov-b32.mir
M llvm/test/CodeGen/AMDGPU/frame-index-elimination.ll
M llvm/test/CodeGen/AMDGPU/frame-index.mir
M llvm/test/CodeGen/AMDGPU/inline-asm.ll
M llvm/test/CodeGen/AMDGPU/insert_vector_dynelt.ll
M llvm/test/CodeGen/AMDGPU/lds-frame-extern.ll
M llvm/test/CodeGen/AMDGPU/lower-lds-struct-aa-memcpy.ll
A llvm/test/CodeGen/AMDGPU/materialize-frame-index-sgpr.gfx10.ll
A llvm/test/CodeGen/AMDGPU/materialize-frame-index-sgpr.ll
M llvm/test/CodeGen/AMDGPU/mmra.ll
M llvm/test/CodeGen/AMDGPU/offset-split-flat.ll
M llvm/test/CodeGen/AMDGPU/offset-split-global.ll
M llvm/test/CodeGen/AMDGPU/roundeven.ll
M llvm/test/CodeGen/AMDGPU/scalar_to_vector_v2x16.ll
M llvm/test/CodeGen/AMDGPU/sdag-print-divergence.ll
M llvm/test/CodeGen/AMDGPU/simplify-libcalls.ll
M llvm/test/CodeGen/AMDGPU/vgpr-spill-placement-issue61083.ll
M llvm/test/CodeGen/AMDGPU/vselect.ll
M llvm/test/CodeGen/AMDGPU/while-break.ll
M llvm/test/CodeGen/AMDGPU/wqm.ll
M llvm/test/CodeGen/ARM/vselect_imax.ll
M llvm/test/CodeGen/DirectX/UAVMetadata.ll
M llvm/test/CodeGen/DirectX/abs.ll
M llvm/test/CodeGen/DirectX/acos.ll
M llvm/test/CodeGen/DirectX/acos_error.ll
M llvm/test/CodeGen/DirectX/asin.ll
M llvm/test/CodeGen/DirectX/asin_error.ll
M llvm/test/CodeGen/DirectX/atan.ll
M llvm/test/CodeGen/DirectX/atan_error.ll
M llvm/test/CodeGen/DirectX/cbuf.ll
M llvm/test/CodeGen/DirectX/ceil.ll
M llvm/test/CodeGen/DirectX/ceil_error.ll
M llvm/test/CodeGen/DirectX/clamp.ll
M llvm/test/CodeGen/DirectX/comput_ids.ll
M llvm/test/CodeGen/DirectX/cos.ll
M llvm/test/CodeGen/DirectX/cos_error.ll
M llvm/test/CodeGen/DirectX/cosh.ll
M llvm/test/CodeGen/DirectX/cosh_error.ll
M llvm/test/CodeGen/DirectX/dot2_error.ll
M llvm/test/CodeGen/DirectX/dot3_error.ll
M llvm/test/CodeGen/DirectX/dot4_error.ll
M llvm/test/CodeGen/DirectX/exp.ll
M llvm/test/CodeGen/DirectX/exp2_error.ll
M llvm/test/CodeGen/DirectX/fabs.ll
M llvm/test/CodeGen/DirectX/fdot.ll
A llvm/test/CodeGen/DirectX/flattened_thread_id_in_group_error.ll
M llvm/test/CodeGen/DirectX/floor.ll
M llvm/test/CodeGen/DirectX/floor_error.ll
M llvm/test/CodeGen/DirectX/fmax.ll
M llvm/test/CodeGen/DirectX/fmin.ll
M llvm/test/CodeGen/DirectX/frac_error.ll
A llvm/test/CodeGen/DirectX/group_id_error.ll
M llvm/test/CodeGen/DirectX/idot.ll
M llvm/test/CodeGen/DirectX/isinf.ll
M llvm/test/CodeGen/DirectX/isinf_error.ll
M llvm/test/CodeGen/DirectX/log.ll
M llvm/test/CodeGen/DirectX/log10.ll
M llvm/test/CodeGen/DirectX/log2.ll
M llvm/test/CodeGen/DirectX/log2_error.ll
M llvm/test/CodeGen/DirectX/pow.ll
M llvm/test/CodeGen/DirectX/reversebits.ll
M llvm/test/CodeGen/DirectX/round.ll
M llvm/test/CodeGen/DirectX/round_error.ll
M llvm/test/CodeGen/DirectX/rsqrt.ll
M llvm/test/CodeGen/DirectX/rsqrt_error.ll
M llvm/test/CodeGen/DirectX/sin.ll
M llvm/test/CodeGen/DirectX/sin_error.ll
A llvm/test/CodeGen/DirectX/sin_no_stage_error.ll
M llvm/test/CodeGen/DirectX/sinh.ll
M llvm/test/CodeGen/DirectX/sinh_error.ll
M llvm/test/CodeGen/DirectX/smax.ll
M llvm/test/CodeGen/DirectX/smin.ll
M llvm/test/CodeGen/DirectX/sqrt.ll
M llvm/test/CodeGen/DirectX/sqrt_error.ll
M llvm/test/CodeGen/DirectX/tan.ll
M llvm/test/CodeGen/DirectX/tan_error.ll
M llvm/test/CodeGen/DirectX/tanh.ll
M llvm/test/CodeGen/DirectX/tanh_error.ll
A llvm/test/CodeGen/DirectX/thread_id_error.ll
A llvm/test/CodeGen/DirectX/thread_id_in_group_error.ll
M llvm/test/CodeGen/DirectX/trunc.ll
M llvm/test/CodeGen/DirectX/trunc_error.ll
M llvm/test/CodeGen/DirectX/umax.ll
M llvm/test/CodeGen/DirectX/umin.ll
M llvm/test/CodeGen/LoongArch/code-models.ll
M llvm/test/CodeGen/LoongArch/expand-call.ll
M llvm/test/CodeGen/LoongArch/global-address.ll
M llvm/test/CodeGen/LoongArch/global-variable-code-model.ll
M llvm/test/CodeGen/LoongArch/inline-asm-constraint-m.ll
M llvm/test/CodeGen/LoongArch/machinelicm-address-pseudos.ll
A llvm/test/CodeGen/LoongArch/merge-base-offset.ll
M llvm/test/CodeGen/LoongArch/psabi-restricted-scheduling.ll
M llvm/test/CodeGen/LoongArch/rotl-rotr.ll
M llvm/test/CodeGen/LoongArch/tls-models.ll
M llvm/test/CodeGen/LoongArch/ucmp.ll
M llvm/test/CodeGen/NVPTX/math-intrins.ll
M llvm/test/CodeGen/PowerPC/aix-vec_insert_elt.ll
M llvm/test/CodeGen/PowerPC/aix32-p8-scalar_vector_conversions.ll
M llvm/test/CodeGen/PowerPC/build-vector-tests.ll
M llvm/test/CodeGen/PowerPC/builtins-ppc-xlcompat-pwr9-64bit.ll
M llvm/test/CodeGen/PowerPC/canonical-merge-shuffles.ll
M llvm/test/CodeGen/PowerPC/combine-fneg.ll
M llvm/test/CodeGen/PowerPC/constant-pool.ll
M llvm/test/CodeGen/PowerPC/elf64-byval-cc.ll
M llvm/test/CodeGen/PowerPC/fma-combine.ll
M llvm/test/CodeGen/PowerPC/fp-strict-round.ll
M llvm/test/CodeGen/PowerPC/frem.ll
M llvm/test/CodeGen/PowerPC/handle-f16-storage-type.ll
M llvm/test/CodeGen/PowerPC/ldexp.ll
M llvm/test/CodeGen/PowerPC/p10-splatImm-CPload-pcrel.ll
M llvm/test/CodeGen/PowerPC/p8-scalar_vector_conversions.ll
M llvm/test/CodeGen/PowerPC/pcrel-call-linkage-leaf.ll
M llvm/test/CodeGen/PowerPC/save-reg-params.ll
M llvm/test/CodeGen/PowerPC/select_const.ll
M llvm/test/CodeGen/PowerPC/subreg-coalescer.mir
M llvm/test/CodeGen/PowerPC/subreg-lanemasks.mir
M llvm/test/CodeGen/PowerPC/toc-float.ll
M llvm/test/CodeGen/PowerPC/variable_elem_vec_extracts.ll
M llvm/test/CodeGen/PowerPC/vec_insert_elt.ll
M llvm/test/CodeGen/PowerPC/vector-constrained-fp-intrinsics.ll
M llvm/test/CodeGen/PowerPC/vector-llrint.ll
M llvm/test/CodeGen/PowerPC/vector-lrint.ll
M llvm/test/CodeGen/PowerPC/vector-reduce-fadd.ll
M llvm/test/CodeGen/PowerPC/vector-reduce-fmax.ll
M llvm/test/CodeGen/PowerPC/vector-reduce-fmin.ll
M llvm/test/CodeGen/PowerPC/vector-reduce-fmul.ll
M llvm/test/CodeGen/PowerPC/vsx.ll
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rvv/legalize-load.mir
A llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rvv/legalize-store.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/rvv/load.mir
A llvm/test/CodeGen/RISCV/GlobalISel/regbankselect/rvv/store.mir
M llvm/test/CodeGen/RISCV/avgflooru.ll
M llvm/test/CodeGen/RISCV/condops.ll
M llvm/test/CodeGen/RISCV/double-arith.ll
M llvm/test/CodeGen/RISCV/float-arith.ll
M llvm/test/CodeGen/RISCV/half-arith.ll
M llvm/test/CodeGen/RISCV/inline-asm-mem-constraint.ll
M llvm/test/CodeGen/RISCV/pr94265.ll
A llvm/test/CodeGen/RISCV/riscv-tail-dup-size.ll
M llvm/test/CodeGen/RISCV/rv64zba.ll
M llvm/test/CodeGen/RISCV/rvv-cfi-info.ll
M llvm/test/CodeGen/RISCV/rvv/abs-vp.ll
M llvm/test/CodeGen/RISCV/rvv/bitreverse-vp.ll
M llvm/test/CodeGen/RISCV/rvv/bswap-vp.ll
M llvm/test/CodeGen/RISCV/rvv/commutable.ll
M llvm/test/CodeGen/RISCV/rvv/ctpop-vp.ll
M llvm/test/CodeGen/RISCV/rvv/extractelt-fp.ll
M llvm/test/CodeGen/RISCV/rvv/extractelt-int-rv32.ll
M llvm/test/CodeGen/RISCV/rvv/extractelt-int-rv64.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-abs-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-bitcast.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-bitreverse-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-bswap-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-calling-conv.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctlz-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctpop-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-cttz-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-extload-truncstore.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-extract-i1.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-bitcast.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-buildvec.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-llrint.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-lrint.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-shuffle-extract-subvector.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-strided-vpload.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfptoi-constrained-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfw-web-simplification.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfwmacc.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vmacc-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vnmsac-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fpclamptosat_vec.ll
M llvm/test/CodeGen/RISCV/rvv/insertelt-fp.ll
M llvm/test/CodeGen/RISCV/rvv/insertelt-int-rv32.ll
M llvm/test/CodeGen/RISCV/rvv/insertelt-int-rv64.ll
M llvm/test/CodeGen/RISCV/rvv/legalize-store-sdnode.ll
R llvm/test/CodeGen/RISCV/rvv/mask-exts-truncs-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/mask-exts-truncs-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/mask-exts-truncs.ll
M llvm/test/CodeGen/RISCV/rvv/mscatter-combine.ll
M llvm/test/CodeGen/RISCV/rvv/regalloc-fast-crash.ll
M llvm/test/CodeGen/RISCV/rvv/rvv-peephole-vmerge-vops.ll
M llvm/test/CodeGen/RISCV/rvv/strided-vpload.ll
M llvm/test/CodeGen/RISCV/rvv/trunc-select-to-max-usat.ll
M llvm/test/CodeGen/RISCV/rvv/unmasked-ta.ll
M llvm/test/CodeGen/RISCV/rvv/unmasked-tu.ll
M llvm/test/CodeGen/RISCV/rvv/vfmerge.ll
M llvm/test/CodeGen/RISCV/rvv/vfmv.f.s.ll
M llvm/test/CodeGen/RISCV/rvv/vfmv.s.f.ll
M llvm/test/CodeGen/RISCV/rvv/vleff-vlseg2ff-output.ll
M llvm/test/CodeGen/RISCV/rvv/vlsegff-rv32-dead.ll
M llvm/test/CodeGen/RISCV/rvv/vlsegff-rv64-dead.ll
M llvm/test/CodeGen/RISCV/rvv/vmacc-vp.ll
M llvm/test/CodeGen/RISCV/rvv/vmadd-vp.ll
R llvm/test/CodeGen/RISCV/rvv/vmv.s.x-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vmv.s.x-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/vmv.s.x.ll
M llvm/test/CodeGen/RISCV/rvv/vmv.v.v-peephole.ll
R llvm/test/CodeGen/RISCV/rvv/vmv.v.v-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vmv.v.v-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/vmv.v.v.ll
R llvm/test/CodeGen/RISCV/rvv/vmv.v.x-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vmv.v.x-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/vmv.v.x.ll
R llvm/test/CodeGen/RISCV/rvv/vmv.x.s-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vmv.x.s-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/vmv.x.s.ll
M llvm/test/CodeGen/RISCV/rvv/vnmsac-vp.ll
M llvm/test/CodeGen/RISCV/rvv/vreductions-fp-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/vreductions-fp-vp.ll
R llvm/test/CodeGen/RISCV/rvv/vrgather-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vrgather-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/vrgather.ll
R llvm/test/CodeGen/RISCV/rvv/vrgatherei16-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vrgatherei16-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/vrgatherei16.ll
R llvm/test/CodeGen/RISCV/rvv/vsadd-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vsadd-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/vsadd.ll
R llvm/test/CodeGen/RISCV/rvv/vsaddu-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vsaddu-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/vsaddu.ll
M llvm/test/CodeGen/RISCV/rvv/vslide1down-constant-vl-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vslide1down-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vslide1down-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/vslide1down.ll
M llvm/test/CodeGen/RISCV/rvv/vslide1up-constant-vl-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vslide1up-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vslide1up-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/vslide1up.ll
R llvm/test/CodeGen/RISCV/rvv/vsmul-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vsmul-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/vsmul.ll
R llvm/test/CodeGen/RISCV/rvv/vssub-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vssub-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/vssub.ll
R llvm/test/CodeGen/RISCV/rvv/vssubu-rv32.ll
R llvm/test/CodeGen/RISCV/rvv/vssubu-rv64.ll
A llvm/test/CodeGen/RISCV/rvv/vssubu.ll
M llvm/test/CodeGen/RISCV/ucmp.ll
M llvm/test/CodeGen/SPARC/2011-01-11-CC.ll
M llvm/test/CodeGen/SPARC/64cond.ll
M llvm/test/CodeGen/SPARC/fp128-split.ll
M llvm/test/CodeGen/SPARC/smulo-128-legalisation-lowering.ll
M llvm/test/CodeGen/SPARC/umulo-128-legalisation-lowering.ll
M llvm/test/CodeGen/X86/2007-05-15-maskmovq.ll
M llvm/test/CodeGen/X86/2007-07-03-GR64ToVR64.ll
M llvm/test/CodeGen/X86/2008-04-08-CoalescerCrash.ll
M llvm/test/CodeGen/X86/2008-08-23-64Bit-maskmovq.ll
M llvm/test/CodeGen/X86/2008-09-05-sinttofp-2xi32.ll
M llvm/test/CodeGen/X86/2011-06-14-mmx-inlineasm.ll
A llvm/test/CodeGen/X86/apx/i386-ndd.ll
M llvm/test/CodeGen/X86/apx/setzucc.ll
A llvm/test/CodeGen/X86/avgflooru-i128.ll
M llvm/test/CodeGen/X86/avgflooru-scalar.ll
M llvm/test/CodeGen/X86/avx-vbroadcast.ll
M llvm/test/CodeGen/X86/avx2-vbroadcast.ll
M llvm/test/CodeGen/X86/bitcast-mmx.ll
M llvm/test/CodeGen/X86/exp10-libcall-names.ll
M llvm/test/CodeGen/X86/expand-vr64-gr64-copy.mir
M llvm/test/CodeGen/X86/fast-isel-bc.ll
M llvm/test/CodeGen/X86/fast-isel-nontemporal.ll
M llvm/test/CodeGen/X86/fp-strict-libcalls-msvc32.ll
M llvm/test/CodeGen/X86/fsafdo_test1.ll
M llvm/test/CodeGen/X86/fsafdo_test4.ll
M llvm/test/CodeGen/X86/is_fpclass.ll
M llvm/test/CodeGen/X86/known-bits.ll
M llvm/test/CodeGen/X86/mmx-arg-passing-x86-64.ll
M llvm/test/CodeGen/X86/mmx-arg-passing.ll
M llvm/test/CodeGen/X86/mmx-arith.ll
M llvm/test/CodeGen/X86/mmx-bitcast-fold.ll
M llvm/test/CodeGen/X86/mmx-bitcast.ll
M llvm/test/CodeGen/X86/mmx-build-vector.ll
M llvm/test/CodeGen/X86/mmx-coalescing.ll
M llvm/test/CodeGen/X86/mmx-cvt.ll
M llvm/test/CodeGen/X86/mmx-fold-load.ll
M llvm/test/CodeGen/X86/mmx-fold-zero.ll
M llvm/test/CodeGen/X86/mmx-intrinsics.ll
M llvm/test/CodeGen/X86/mmx-only.ll
M llvm/test/CodeGen/X86/mxcsr-reg-usage.ll
M llvm/test/CodeGen/X86/nontemporal.ll
M llvm/test/CodeGen/X86/pr13859.ll
M llvm/test/CodeGen/X86/pr23246.ll
M llvm/test/CodeGen/X86/pr29222.ll
M llvm/test/CodeGen/X86/pr35982.ll
A llvm/test/CodeGen/X86/pr99396.ll
M llvm/test/CodeGen/X86/select-mmx.ll
M llvm/test/CodeGen/X86/stack-folding-mmx.ll
M llvm/test/CodeGen/X86/unaligned_extract_from_vector_through_stack.ll
M llvm/test/CodeGen/X86/vec-libcalls.ll
M llvm/test/CodeGen/X86/vec_extract-mmx.ll
M llvm/test/CodeGen/X86/vec_insert-5.ll
M llvm/test/CodeGen/X86/vec_insert-7.ll
M llvm/test/CodeGen/X86/vec_insert-mmx.ll
M llvm/test/CodeGen/X86/vector-shuffle-mmx.ll
M llvm/test/CodeGen/X86/x86-64-psub.ll
A llvm/test/DebugInfo/X86/loop-align-debug.ll
M llvm/test/Instrumentation/HWAddressSanitizer/pgo-opt-out.ll
A llvm/test/Instrumentation/HeapProfiler/basic-histogram.ll
M llvm/test/Instrumentation/InstrProfiling/mcdc.ll
M llvm/test/Instrumentation/MemorySanitizer/AArch64/neon_vst.ll
M llvm/test/Instrumentation/MemorySanitizer/AArch64/neon_vst_float.ll
A llvm/test/Instrumentation/MemorySanitizer/AArch64/neon_vst_lane.ll
M llvm/test/Instrumentation/MemorySanitizer/AArch64/neon_vst_origins.ll
M llvm/test/Instrumentation/MemorySanitizer/X86/mmx-intrinsics.ll
M llvm/test/Instrumentation/MemorySanitizer/vector_arith.ll
M llvm/test/Instrumentation/MemorySanitizer/vector_cvt.ll
M llvm/test/Instrumentation/MemorySanitizer/vector_pack.ll
M llvm/test/Instrumentation/MemorySanitizer/vector_shift.ll
A llvm/test/LTO/X86/print-pipeline-passes.ll
A llvm/test/MC/AMDGPU/gfx12_asm_vop1-fake16.s
M llvm/test/MC/AMDGPU/gfx12_asm_vop1.s
A llvm/test/MC/AMDGPU/gfx12_asm_vop1_dpp16-fake16.s
M llvm/test/MC/AMDGPU/gfx12_asm_vop1_dpp16.s
A llvm/test/MC/AMDGPU/gfx12_asm_vop1_dpp8-fake16.s
M llvm/test/MC/AMDGPU/gfx12_asm_vop1_dpp8.s
A llvm/test/MC/AMDGPU/gfx12_asm_vop1_t16_err-fake16.s
M llvm/test/MC/AMDGPU/gfx12_asm_vop1_t16_err.s
M llvm/test/MC/ARM/Windows/invalid-relocation.s
A llvm/test/MC/ELF/layout-interdependency2.s
M llvm/test/MC/X86/apx/ccmp-att.s
M llvm/test/MC/X86/apx/ccmp-intel.s
M llvm/test/MC/X86/apx/ctest-att.s
M llvm/test/MC/X86/apx/ctest-intel.s
M llvm/test/MC/X86/x86-GCC-inline-asm-Y-constraints.ll
M llvm/test/Other/new-pm-thinlto-prelink-defaults.ll
M llvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
M llvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
M llvm/test/TableGen/dag-isel-regclass-emit-enum.td
A llvm/test/ThinLTO/X86/ctxprof.ll
M llvm/test/Transforms/AggressiveInstCombine/AArch64/fptosisat.ll
R llvm/test/Transforms/GlobalOpt/x86_mmx_load.ll
M llvm/test/Transforms/IRCE/wide_indvar.ll
M llvm/test/Transforms/InferFunctionAttrs/annotate.ll
M llvm/test/Transforms/InstCombine/X86/x86-movmsk.ll
M llvm/test/Transforms/InstCombine/bitcast.ll
M llvm/test/Transforms/InstCombine/cast.ll
M llvm/test/Transforms/InstCombine/ctpop-pow2.ll
M llvm/test/Transforms/InstCombine/ctpop.ll
M llvm/test/Transforms/InstCombine/icmp-ne-pow2.ll
M llvm/test/Transforms/InstCombine/ispow2.ll
A llvm/test/Transforms/InstCombine/lib-call-exit.ll
M llvm/test/Transforms/InstCombine/load.ll
M llvm/test/Transforms/InstCombine/multiple-uses-load-bitcast-select.ll
M llvm/test/Transforms/InstCombine/ptr-replace-alloca.ll
A llvm/test/Transforms/InstCombine/select-load.ll
M llvm/test/Transforms/InstCombine/strnlen-2.ll
M llvm/test/Transforms/InstSimplify/ConstProp/gep-zeroinit-vector.ll
M llvm/test/Transforms/LoopVectorize/AArch64/scalable-alloca.ll
M llvm/test/Transforms/LoopVectorize/AArch64/scalable-call.ll
M llvm/test/Transforms/LoopVectorize/RISCV/short-trip-count.ll
M llvm/test/Transforms/LoopVectorize/X86/amdlibm-calls.ll
M llvm/test/Transforms/LoopVectorize/X86/veclib-calls.ll
M llvm/test/Transforms/MemProfContextDisambiguation/tailcall.ll
M llvm/test/Transforms/PhaseOrdering/AArch64/slpordering.ll
M llvm/test/Transforms/SCCP/crash.ll
A llvm/test/Transforms/SCCP/float-denormal-simplification.ll
M llvm/test/Transforms/SCCP/ipsccp-preserve-pdt.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/loadorder.ll
A llvm/test/Transforms/SLPVectorizer/AMDGPU/slp-v2f16.ll
M llvm/test/Transforms/SLPVectorizer/X86/external-used-across-reductions.ll
A llvm/test/Transforms/SLPVectorizer/X86/extract-vectorized-operand.ll
M llvm/test/Transforms/SLPVectorizer/X86/gather-extractelements-different-bbs.ll
M llvm/test/Transforms/SLPVectorizer/X86/horizontal-minmax.ll
M llvm/test/Transforms/SLPVectorizer/X86/reduced-gathered-vectorized.ll
M llvm/test/Transforms/SLPVectorizer/X86/reduction-gather-non-scheduled-extracts.ll
M llvm/test/Transforms/SLPVectorizer/X86/reduction-logical.ll
M llvm/test/Transforms/SLPVectorizer/X86/vec_list_bias_external_insert_shuffled.ll
M llvm/test/Transforms/SLPVectorizer/revec.ll
M llvm/test/Transforms/SROA/phi-and-select.ll
M llvm/test/Transforms/SROA/phi-with-duplicate-pred.ll
M llvm/test/Transforms/SROA/pr57796.ll
M llvm/test/Transforms/SROA/select-load.ll
M llvm/test/Transforms/VectorCombine/X86/load-inseltpoison.ll
M llvm/test/Transforms/VectorCombine/X86/load-widening.ll
M llvm/test/Transforms/lower-builtin-allow-check.ll
M llvm/test/Verifier/atomics.ll
M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_isel.ll.expected
M llvm/test/tools/llvm-mca/X86/Barcelona/resources-sse2.s
M llvm/test/tools/llvm-mca/X86/Barcelona/zero-idioms.s
M llvm/test/tools/llvm-mca/X86/Broadwell/resources-mmx.s
M llvm/test/tools/llvm-mca/X86/Generic/resources-sse2.s
M llvm/test/tools/llvm-mca/X86/Haswell/resources-mmx.s
M llvm/test/tools/llvm-mca/X86/SandyBridge/resources-sse2.s
M llvm/test/tools/llvm-mca/X86/SandyBridge/zero-idioms.s
A llvm/test/tools/llvm-objcopy/ELF/change-section-address.test
A llvm/test/tools/llvm-objdump/BPF/disassemble-symbolize-operands.s
M llvm/test/tools/llvm-tli-checker/ps4-tli-check.yaml
M llvm/tools/llc/NewPMDriver.cpp
M llvm/tools/llvm-ctxprof-util/CMakeLists.txt
M llvm/tools/llvm-ctxprof-util/llvm-ctxprof-util.cpp
M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
M llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
M llvm/tools/llvm-objcopy/ObjcopyOpts.td
M llvm/tools/llvm-objdump/llvm-objdump.cpp
M llvm/tools/opt/NewPMDriver.cpp
M llvm/unittests/ADT/APFloatTest.cpp
M llvm/unittests/Analysis/DXILResourceTest.cpp
M llvm/unittests/Analysis/ScalarEvolutionTest.cpp
M llvm/unittests/Analysis/TargetLibraryInfoTest.cpp
M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp
M llvm/unittests/IR/DominatorTreeTest.cpp
M llvm/unittests/IR/FunctionTest.cpp
M llvm/unittests/IR/PatternMatch.cpp
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
M llvm/unittests/SandboxIR/TrackerTest.cpp
M llvm/unittests/Support/ErrorTest.cpp
M llvm/utils/TableGen/Common/CodeGenDAGPatterns.h
M llvm/utils/TableGen/DAGISelMatcherEmitter.cpp
M llvm/utils/TableGen/DXILEmitter.cpp
M llvm/utils/TableGen/GlobalISelEmitter.cpp
M llvm/utils/TableGen/PseudoLoweringEmitter.cpp
M llvm/utils/TableGen/VTEmitter.cpp
M llvm/utils/gn/secondary/lldb/source/Interpreter/BUILD.gn
A llvm/utils/gn/secondary/lldb/source/Interpreter/Interfaces/BUILD.gn
M llvm/utils/gn/secondary/llvm/tools/llvm-ctxprof-util/BUILD.gn
M mlir/docs/DefiningDialects/Operations.md
M mlir/include/mlir/Dialect/AMDGPU/IR/AMDGPU.td
M mlir/include/mlir/Dialect/ControlFlow/IR/ControlFlowOps.td
M mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.h
M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
M mlir/include/mlir/Dialect/NVGPU/IR/NVGPU.td
M mlir/include/mlir/Dialect/NVGPU/IR/NVGPUDialect.h
M mlir/include/mlir/Dialect/OpenACC/CMakeLists.txt
M mlir/include/mlir/Dialect/OpenACC/OpenACC.h
M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
A mlir/include/mlir/Dialect/OpenACC/OpenACCOpsInterfaces.td
M mlir/include/mlir/Dialect/OpenMP/OpenMPClauseOperands.h
M mlir/include/mlir/Dialect/OpenMP/OpenMPClauses.td
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.td
M mlir/include/mlir/Dialect/Ptr/IR/CMakeLists.txt
M mlir/include/mlir/Dialect/SCF/Transforms/Patterns.h
M mlir/include/mlir/Dialect/SCF/Transforms/TileUsingInterface.h
M mlir/include/mlir/Dialect/SCF/Transforms/Transforms.h
M mlir/include/mlir/Dialect/SCF/Utils/Utils.h
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensor.h
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.td
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
M mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
M mlir/include/mlir/IR/ODSSupport.h
M mlir/include/mlir/IR/Properties.td
M mlir/include/mlir/TableGen/Operator.h
M mlir/include/mlir/TableGen/Property.h
M mlir/lib/CAPI/Dialect/SparseTensor.cpp
M mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp
M mlir/lib/Conversion/ArithToEmitC/ArithToEmitC.cpp
M mlir/lib/Conversion/NVGPUToNVVM/NVGPUToNVVM.cpp
M mlir/lib/Conversion/SCFToOpenMP/SCFToOpenMP.cpp
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
M mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp
M mlir/lib/Dialect/Affine/Analysis/CMakeLists.txt
M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
M mlir/lib/Dialect/ArmSME/Transforms/OuterProductFusion.cpp
M mlir/lib/Dialect/ArmSME/Transforms/VectorLegalization.cpp
M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
M mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
M mlir/lib/Dialect/Math/Transforms/PolynomialApproximation.cpp
M mlir/lib/Dialect/NVGPU/IR/NVGPUDialect.cpp
M mlir/lib/Dialect/OpenACC/IR/CMakeLists.txt
M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
M mlir/lib/Dialect/OpenACC/Transforms/CMakeLists.txt
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
M mlir/lib/Dialect/SCF/Transforms/CMakeLists.txt
A mlir/lib/Dialect/SCF/Transforms/RotateWhileLoop.cpp
M mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
M mlir/lib/Dialect/SCF/Utils/Utils.cpp
M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparseIterationToScf.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparseSpaceCollapse.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/LoopEmitter.h
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
M mlir/lib/Dialect/Vector/Transforms/LowerVectorMask.cpp
M mlir/lib/Dialect/Vector/Transforms/VectorDropLeadUnitDim.cpp
M mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp
M mlir/lib/Dialect/Vector/Transforms/VectorInsertExtractStridedSliceRewritePatterns.cpp
M mlir/lib/Dialect/Vector/Transforms/VectorLinearize.cpp
M mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp
M mlir/lib/IR/ODSSupport.cpp
M mlir/lib/IR/Verifier.cpp
M mlir/lib/TableGen/Property.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/lib/Transforms/OpStats.cpp
M mlir/lib/Transforms/PrintIR.cpp
M mlir/lib/Transforms/Utils/DialectConversion.cpp
M mlir/lib/Transforms/ViewOpGraph.cpp
M mlir/python/mlir/runtime/np_to_memref.py
M mlir/python/requirements.txt
M mlir/test/Conversion/AMDGPUToROCDL/amdgpu-to-rocdl.mlir
M mlir/test/Conversion/ArithToEmitC/arith-to-emitc-unsupported.mlir
M mlir/test/Conversion/ArithToEmitC/arith-to-emitc.mlir
M mlir/test/Conversion/NVGPUToNVVM/nvgpu-to-nvvm.mlir
M mlir/test/Conversion/OpenMPToLLVM/convert-to-llvmir.mlir
M mlir/test/Conversion/VectorToSPIRV/vector-to-spirv.mlir
M mlir/test/Dialect/AMDGPU/ops.mlir
M mlir/test/Dialect/Linalg/canonicalize.mlir
M mlir/test/Dialect/Linalg/tile-tensors.mlir
M mlir/test/Dialect/Linalg/tile-to-forall.mlir
M mlir/test/Dialect/Linalg/transform-op-tile.mlir
M mlir/test/Dialect/Linalg/vectorization-with-patterns.mlir
M mlir/test/Dialect/NVGPU/invalid.mlir
M mlir/test/Dialect/OpenMP/invalid.mlir
M mlir/test/Dialect/OpenMP/ops.mlir
M mlir/test/Dialect/SCF/wrap-while-loop-in-zero-trip-check.mlir
M mlir/test/Dialect/SparseTensor/invalid.mlir
M mlir/test/Dialect/SparseTensor/roundtrip.mlir
M mlir/test/Dialect/SparseTensor/sparse_kernels_to_iterator.mlir
M mlir/test/IR/properties.mlir
M mlir/test/IR/traits.mlir
M mlir/test/Interfaces/TilingInterface/tile-and-fuse-using-interface.mlir
M mlir/test/Interfaces/TilingInterface/tile-pad-using-interface.mlir
M mlir/test/Interfaces/TilingInterface/tile-using-interface.mlir
M mlir/test/Interfaces/TilingInterface/tile-using-scfforall.mlir
M mlir/test/Target/LLVMIR/openmp-llvm.mlir
M mlir/test/Transforms/test-legalize-type-conversion.mlir
M mlir/test/Transforms/test-legalizer.mlir
M mlir/test/lib/Dialect/SCF/TestSCFWrapInZeroTripCheck.cpp
M mlir/test/lib/Dialect/Test/TestFormatUtils.cpp
M mlir/test/lib/Dialect/Test/TestFormatUtils.h
M mlir/test/lib/Dialect/Test/TestOps.td
M mlir/test/lib/Dialect/Test/TestOpsSyntax.td
M mlir/test/lib/Dialect/Test/TestPatterns.cpp
M mlir/test/lib/Interfaces/TilingInterface/TestTilingInterfaceTransformOps.cpp
M mlir/test/mlir-cpu-runner/math-polynomial-approx.mlir
M mlir/test/mlir-tblgen/op-format.mlir
M mlir/test/mlir-tblgen/op-format.td
M mlir/test/mlir-tblgen/op-properties.td
M mlir/test/python/execution_engine.py
M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
M mlir/tools/mlir-tblgen/OpFormatGen.cpp
M mlir/utils/spirv/gen_spirv_dialect.py
M offload/DeviceRTL/include/LibC.h
M offload/DeviceRTL/src/Debug.cpp
M offload/DeviceRTL/src/LibC.cpp
M offload/include/Shared/EnvironmentVar.h
M offload/plugins-nextgen/amdgpu/dynamic_hsa/hsa.h
M offload/plugins-nextgen/amdgpu/src/rtl.cpp
A offload/plugins-nextgen/common/include/ErrorReporting.h
M offload/plugins-nextgen/common/include/PluginInterface.h
M offload/plugins-nextgen/common/src/PluginInterface.cpp
M offload/src/omptarget.cpp
M offload/test/libc/assert.c
M offload/test/offloading/bug51781.c
A offload/test/sanitizer/double_free.c
A offload/test/sanitizer/double_free_racy.c
A offload/test/sanitizer/free_host_ptr.c
A offload/test/sanitizer/free_wrong_ptr_kind.c
A offload/test/sanitizer/free_wrong_ptr_kind.cpp
A offload/test/sanitizer/kernel_crash.c
A offload/test/sanitizer/kernel_crash_async.c
A offload/test/sanitizer/kernel_crash_many.c
A offload/test/sanitizer/kernel_crash_single.c
A offload/test/sanitizer/kernel_trap.c
A offload/test/sanitizer/kernel_trap_async.c
A offload/test/sanitizer/kernel_trap_many.c
M openmp/docs/design/Runtimes.rst
M openmp/runtime/src/kmp_affinity.cpp
M openmp/runtime/src/kmp_affinity.h
M polly/include/polly/ScopBuilder.h
M polly/include/polly/ScopInfo.h
M polly/lib/Analysis/ScopBuilder.cpp
M polly/lib/Analysis/ScopDetection.cpp
M polly/lib/Analysis/ScopInfo.cpp
A polly/test/DependenceInfo/reduction_indirect_access.ll
A polly/test/ScopInfo/reduction_double.ll
A polly/test/ScopInfo/reduction_escaping_intermediate_3.ll
A polly/test/ScopInfo/reduction_if.ll
A polly/test/ScopInfo/reduction_indirect_access.ll
A polly/test/ScopInfo/reduction_indirect_access_2.ll
A polly/test/ScopInfo/reduction_long_reduction_chain.ll
A polly/test/ScopInfo/reduction_long_reduction_chain_double_use.ll
A polly/test/ScopInfo/reduction_multiple_different_operators.ll
M utils/bazel/llvm-project-overlay/clang/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/unistd/BUILD.bazel
M utils/bazel/llvm-project-overlay/llvm/config.bzl
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[𝘀𝗽𝗿] changes introduced through rebase
Created using spr 1.3.4
[skip ci]
Compare: https://github.com/llvm/llvm-project/compare/7f4eaaaa64e8...e4edacdd7199
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