[all-commits] [llvm/llvm-project] db08b0: [ARM][AArch64] Bail out if CandidatesWithoutStackF...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Mon Jun 24 21:44:39 PDT 2024
Branch: refs/heads/users/MaskRay/spr/mcclangllvm-readobjyaml2obj-support-crel-relocation-format
Home: https://github.com/llvm/llvm-project
Commit: db08b0999d1b42391e34ac0c469b92de98e9f550
https://github.com/llvm/llvm-project/commit/db08b0999d1b42391e34ac0c469b92de98e9f550
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
A llvm/test/CodeGen/ARM/machine-outliner-no-candidates-without-stack-fixup.ll
Log Message:
-----------
[ARM][AArch64] Bail out if CandidatesWithoutStackFixups is empty (#95410)
The following code assumes that RepeatedSequenceLocs is non-empty. Bail
out if there are less than 2 candidates left, as no outlining is
possible in that case. The same check is already present in all the
other places where elements from RepeatedSequenceLocs may be dropped.
This fixes the issue reported at:
https://github.com/llvm/llvm-project/pull/93965#issuecomment-2151989716
Commit: c947709df7859bb7285873593adab70349a5ab3e
https://github.com/llvm/llvm-project/commit/c947709df7859bb7285873593adab70349a5ab3e
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Driver/defsym.s
Log Message:
-----------
[Driver] Support -Wa,--defsym similar to -Wa,-defsym
When the integrated assembler is enabled, clangDriver implements a small
set of popular -Wa, options. "-defsym" is implemented
(https://reviews.llvm.org/D26213), but the more common "--defsym" is
not. Support "--defsym".
Close #95386
Commit: 4942e78271e73d45e971196dc5a9769f94b30060
https://github.com/llvm/llvm-project/commit/4942e78271e73d45e971196dc5a9769f94b30060
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/tools/llvm-exegesis/CMakeLists.txt
M llvm/tools/llvm-exegesis/llvm-exegesis.cpp
Log Message:
-----------
[llvm-exegesis] Only link/initialize supported targets (NFC) (#95421)
llvm-exegesis currently links and initializes all targets, even though
most of them are not supported by llvm-exegesis. This is particularly
unfortunate because llvm-exegesis does not support the LLVM dylib, so
llvm-exegesis essentially ends up doing a complete relink of all of
LLVM, which is not fun if you use LTO.
Instead, only link and initialize the targets that are part of
LLVM_EXEGESIS_TARGETS.
Commit: d712ae4a21822a51817941e7007e0dd41343cde3
https://github.com/llvm/llvm-project/commit/d712ae4a21822a51817941e7007e0dd41343cde3
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Driver/defsym.s
A clang/test/Misc/cc1as-defsym.s
Log Message:
-----------
[Driver] Support -Wa,--defsym similar to -Wa,-defsym
Missing part in c947709df7859bb7285873593adab70349a5ab3e
Commit: 706e1975400b3f30bd406b694bb711a7c7dbe1c4
https://github.com/llvm/llvm-project/commit/706e1975400b3f30bd406b694bb711a7c7dbe1c4
Author: David Green <david.green at arm.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/InitUndef.cpp
M llvm/lib/CodeGen/MachineRegisterInfo.cpp
M llvm/lib/Target/ARM/ARMSubtarget.cpp
M llvm/lib/Target/Hexagon/HexagonSubtarget.cpp
M llvm/lib/Target/PowerPC/PPCSubtarget.cpp
M llvm/lib/Target/RISCV/RISCVSubtarget.cpp
M llvm/test/CodeGen/ARM/regcoal-invalid-subrange-update.mir
M llvm/test/CodeGen/Hexagon/bit-gen-rseq.ll
M llvm/test/CodeGen/Hexagon/regalloc-bad-undef.mir
M llvm/test/CodeGen/Hexagon/verify-liveness-at-def.mir
M llvm/test/CodeGen/PowerPC/atomics-i128-ldst.ll
M llvm/test/CodeGen/PowerPC/atomics-i128.ll
M llvm/test/CodeGen/PowerPC/mma-outer-product.ll
M llvm/test/CodeGen/PowerPC/ppc64-acc-regalloc.ll
M llvm/test/CodeGen/PowerPC/subreg-killed.mir
M llvm/test/CodeGen/RISCV/early-clobber-tied-def-subreg-liveness.ll
M llvm/test/CodeGen/RISCV/regalloc-last-chance-recoloring-failure.ll
M llvm/test/CodeGen/RISCV/rvv/subregister-undef-early-clobber.mir
M llvm/test/CodeGen/RISCV/rvv/undef-earlyclobber-chain.ll
M llvm/test/CodeGen/RISCV/rvv/undef-earlyclobber-chain.mir
M llvm/test/CodeGen/RISCV/rvv/vrgatherei16-subreg-liveness.ll
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/spillingmove.mir
M llvm/test/CodeGen/Thumb2/LowOverheadLoops/subreg-liveness.mir
Log Message:
-----------
[CodeGen] Remove target SubRegLiveness flags (#95437)
This removes the uses of target flags to disable subreg liveness,
relying on the `-enable-subreg-liveness` flag instead. The
`-enable-subreg-liveness` flag has been changed to take precedence over
the subtarget if set, and one use of `Subtarget->enableSubRegLiveness()`
has been changed to `MRI->subRegLivenessEnabled()` to make sure the
option properly applies.
Commit: ae71609e91ec9f38df7e92ba3c50a1f9cebb772e
https://github.com/llvm/llvm-project/commit/ae71609e91ec9f38df7e92ba3c50a1f9cebb772e
Author: Andreas Jonson <andjo403 at hotmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/test/CodeGen/AArch64/lower-range-metadata-func-call.ll
M llvm/test/CodeGen/X86/legalize-vec-assertzext.ll
Log Message:
-----------
[SDAG] Lower range attribute to AssertZext (#95450)
Add support for range attributes on calls, in addition to range metadata.
Commit: ebb5385c6ed7d6610f36b92090209c114568d796
https://github.com/llvm/llvm-project/commit/ebb5385c6ed7d6610f36b92090209c114568d796
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/unittests/Support/MathExtrasTest.cpp
Log Message:
-----------
MathExtras/test: increase coverage (#95425)
Increase test coverage, and cover possible overflow cases in preparation
for another patch optimizing for bitwidth.
Commit: da249cad8d398939e0c608d38d0c038954941316
https://github.com/llvm/llvm-project/commit/da249cad8d398939e0c608d38d0c038954941316
Author: Hans <hans at hanshq.net>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/docs/UsersManual.rst
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/MSVC.cpp
M clang/test/Driver/cl-options.c
Log Message:
-----------
[clang-cl] Map /Ot to -O3 instead of -O2 (#95406)
/Ot (which is also implied by /O2) is supposed to optimize for maximum
speed, so -O3 seems like a better match.
Commit: dfde0773fdee9301e5f2181e1dbcbb0dc3602e08
https://github.com/llvm/llvm-project/commit/dfde0773fdee9301e5f2181e1dbcbb0dc3602e08
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/test/Transforms/SimplifyCFG/X86/sink-common-code.ll
Log Message:
-----------
[SimplifyCFG] More accurate use legality check for sinking (#94462)
When sinking instructions, we have to make sure that the uses of that
instruction are consistent: If used in a phi node in the sink target,
then the phi operands have to match the sink candidates. This allows the
phi to be removed when the instruction is sunk. This case is already
handled accurately.
However, what the current code doesn't handle are uses in the same
block. These are just unconditionally accepted, even though this needs
the same consistency check for the phi node that sinking the using
instruction would introduce.
Instead, the code has another check when actually performing the
sinking, which repeats the phi check (just at a later time, where all
the later instructions have already been sunk and any new phis
introduced).
This is problematic, because it messes up the profitability heuristic.
The code will think that certain instructions will get sunk, but they
actually won't. This may result in more phi nodes being created than is
considered profitable. See the changed test for a case where we no
longer do this after this patch.
The new approach makes sure that the uses are consistent during the
initial legality check. This is based on PhiOperands, which we already
collect.
The primary motivation for this is to generalize sinking to support more
than one use, and doing that generalization is hard with the current
split checking approach.
Commit: e83adfe59632d2e2f8ff26db33087ba7fb754485
https://github.com/llvm/llvm-project/commit/e83adfe59632d2e2f8ff26db33087ba7fb754485
Author: Chris B <chris.bieneman at me.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/Analysis/SPIRVConvergenceRegionAnalysis.cpp
M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
Log Message:
-----------
[SPIRV] Silence unused variable warnings (#95492)
This change marks a few variable declarations as [[maybe_unused]] to
silence unused variable warnings.
Commit: 880d37038c7bbff53ef02c9d6b01cbbc87875243
https://github.com/llvm/llvm-project/commit/880d37038c7bbff53ef02c9d6b01cbbc87875243
Author: Durgadoss R <durgadossr at nvidia.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/lib/AST/MicrosoftMangle.cpp
M llvm/include/llvm/ADT/APFloat.h
M llvm/lib/Support/APFloat.cpp
M llvm/unittests/ADT/APFloatTest.cpp
Log Message:
-----------
[APFloat] Add APFloat support for FP4 data type (#95392)
This patch adds APFloat type support for the E2M1
FP4 datatype. The definitions for this format are
detailed in section 5.3.3 of the OCP specification,
which can be accessed here:
https://www.opencompute.org/documents/ocp-microscaling-formats-mx-v1-0-spec-final-pdf
Signed-off-by: Durgadoss R <durgadossr at nvidia.com>
Commit: b422fa6b62160f5eeb038d816d05e039182dde56
https://github.com/llvm/llvm-project/commit/b422fa6b62160f5eeb038d816d05e039182dde56
Author: Hans Wennborg <hans at chromium.org>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/docs/SourceBasedCodeCoverage.rst
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/CodeGen/CodeGenPGO.cpp
M clang/lib/CodeGen/CoverageMappingGen.cpp
M clang/lib/CodeGen/MCDCState.h
M clang/test/CoverageMapping/branch-constfolded.cpp
M clang/test/CoverageMapping/logical.cpp
M clang/test/CoverageMapping/mcdc-class.cpp
M clang/test/CoverageMapping/mcdc-error-conditions.cpp
M clang/test/CoverageMapping/mcdc-logical-scalar-ids.cpp
M clang/test/CoverageMapping/mcdc-logical-stmt-ids-all.cpp
M clang/test/CoverageMapping/mcdc-logical-stmt-ids.cpp
M clang/test/CoverageMapping/mcdc-scratch-space.c
M clang/test/CoverageMapping/mcdc-system-headers.cpp
M clang/test/Profile/c-mcdc-class.cpp
M clang/test/Profile/c-mcdc-logicalop-ternary.c
M clang/test/Profile/c-mcdc-nested-ternary.c
M clang/test/Profile/c-mcdc-not.c
M clang/test/Profile/c-mcdc.c
M llvm/docs/CoverageMappingFormat.rst
M llvm/docs/LangRef.rst
M llvm/include/llvm/IR/IntrinsicInst.h
M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
M llvm/test/Instrumentation/InstrProfiling/inline-data-var-create.ll
M llvm/test/Instrumentation/InstrProfiling/mcdc.ll
M llvm/test/tools/llvm-cov/Inputs/mcdc-const-folding.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-const-folding.proftext
M llvm/test/tools/llvm-cov/Inputs/mcdc-const.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-const.proftext
R llvm/test/tools/llvm-cov/Inputs/mcdc-general-18.o
R llvm/test/tools/llvm-cov/Inputs/mcdc-general-18.profdata
M llvm/test/tools/llvm-cov/Inputs/mcdc-general.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-general.proftext
M llvm/test/tools/llvm-cov/Inputs/mcdc-macro.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-macro.proftext
M llvm/test/tools/llvm-cov/Inputs/mcdc-maxbs.o
R llvm/test/tools/llvm-cov/mcdc-general-18.test
M llvm/unittests/ProfileData/CoverageMappingTest.cpp
Log Message:
-----------
Revert "[MC/DC][Coverage] Loosen the limit of NumConds from 6 (#82448)"
This broke the lit tests on Mac:
https://green.lab.llvm.org/job/llvm.org/job/clang-stage1-RA/1096/
> By storing possible test vectors instead of combinations of conditions,
> the restriction is dramatically relaxed.
>
> This introduces two options to `cc1`:
>
> * `-fmcdc-max-conditions=32767`
> * `-fmcdc-max-test-vectors=2147483646`
>
> This change makes coverage mapping, profraw, and profdata incompatible
> with Clang-18.
>
> - Bitmap semantics changed. It is incompatible with previous format.
> - `BitmapIdx` in `Decision` points to the end of the bitmap.
> - Bitmap is packed per function.
> - `llvm-cov` can understand `profdata` generated by `llvm-profdata-18`.
>
> RFC:
> https://discourse.llvm.org/t/rfc-coverage-new-algorithm-and-file-format-for-mc-dc/76798
This reverts commit 7ead2d8c7e9114b3f23666209a1654939987cb30.
Commit: dc726c340392d4a0f3af9dde5f34c58d98198667
https://github.com/llvm/llvm-project/commit/dc726c340392d4a0f3af9dde5f34c58d98198667
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/test/CodeGen/instrument-objc-method.m
M flang/test/Transforms/debug-local-var-2.f90
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm/AsmParser/LLParser.h
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/IR/DebugProgramInstruction.cpp
M llvm/lib/IR/Function.cpp
M llvm/lib/IR/Module.cpp
M llvm/tools/llvm-as/llvm-as.cpp
M llvm/tools/llvm-dis/llvm-dis.cpp
M llvm/tools/llvm-link/llvm-link.cpp
M llvm/unittests/Analysis/IRSimilarityIdentifierTest.cpp
M llvm/unittests/IR/BasicBlockDbgInfoTest.cpp
M llvm/unittests/IR/DebugInfoTest.cpp
M llvm/unittests/IR/IRBuilderTest.cpp
M llvm/unittests/IR/InstructionsTest.cpp
M llvm/unittests/IR/ValueTest.cpp
M llvm/unittests/Transforms/Utils/CloningTest.cpp
M llvm/unittests/Transforms/Utils/LocalTest.cpp
Log Message:
-----------
Reapply#4 "[RemoveDIs] Load into new debug info format by default in LLVM (#89799)"
Reapplies commit c5aeca73 (and its followup commit 21396be8), which were
reverted due to missing functionality in MLIR and Flang regarding printing
debug records. This has now been added in commit 08aa511, along with support
for printing debug records in flang.
This reverts commit 2dc2290860355dd2bac3b655eea895fe30fde257.
Commit: bd5fbab38f200c09eb5bc727b56812e53a3e9f00
https://github.com/llvm/llvm-project/commit/bd5fbab38f200c09eb5bc727b56812e53a3e9f00
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/test/Transforms/SimplifyCFG/X86/sink-common-code.ll
Log Message:
-----------
[SimplifyCFG] Add tests for sinking with multiple uses (NFC)
Commit: d62ff7195ef880bba6d2522bf5e882e7ef28cb7f
https://github.com/llvm/llvm-project/commit/d62ff7195ef880bba6d2522bf5e882e7ef28cb7f
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M flang/test/Lower/OpenMP/if-clause.f90
R flang/test/Lower/OpenMP/loop-combined.f90
A flang/test/Lower/OpenMP/loop-compound.f90
Log Message:
-----------
[Flang][OpenMP] NFC: Check omp.loop_nest in compound construct lowering (#95404)
This patch updates tests containing compound loop constructs to also
check for the `omp.loop_nest` operation. The "loop-combined.f90" test
file is renamed to "loop-compound.f90" as well, to better indicate the
types of constructs that are checked in it.
Commit: b6b0f975a6005de530262ed1c5643d1060c86d63
https://github.com/llvm/llvm-project/commit/b6b0f975a6005de530262ed1c5643d1060c86d63
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
A flang/test/Lower/OpenMP/parallel-reduction-pointer-array.f90
A flang/test/Lower/OpenMP/wsloop-reduction-pointer.f90
Log Message:
-----------
[flang][OpenMP] Support reduction of POINTER variables (#95148)
Just treat them the same as ALLOCATABLE. gfortran doesn't allow POINTER
objects in a REDUCTION clause, but so far as I can tell the standard
explicitly allows it (openmp5.2 section 5.5.5).
Commit: 32cd703da578e769787a921d76b768164a4256b6
https://github.com/llvm/llvm-project/commit/32cd703da578e769787a921d76b768164a4256b6
Author: Hans Wennborg <hans at chromium.org>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/docs/UsersManual.rst
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/MSVC.cpp
M clang/test/Driver/cl-options.c
Log Message:
-----------
[clang-cl] Support the /Ob3 flag
According to the docs, this was added in VS2019 and specifies more
aggressive inlining than /Ob2. Let's treat it the same as /Ob2 for now.
Commit: 88e42c6779067c4b65624939be74db2d56ee017b
https://github.com/llvm/llvm-project/commit/88e42c6779067c4b65624939be74db2d56ee017b
Author: Jannick Kremer <51118500+DeinAlptraum at users.noreply.github.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/bindings/python/clang/cindex.py
A clang/bindings/python/tests/cindex/test_enums.py
M clang/docs/ReleaseNotes.rst
Log Message:
-----------
[libclang/python] Fix bugs in custom enum implementation and add tests (#95381)
Do not allow initialization of enum from negative IDs (e.g. from_id(-1)
currently produces the last known variant)
Rename duplicate enums: CursorKind.OMP_TEAMS_DISTRIBUTE_DIRECTIVE and
TypeKind.OBJCCLASS
Add tests to cover these cases
Commit: ab0d01a5f0f17f20b106b0f6cc6d1b7d13cf4d65
https://github.com/llvm/llvm-project/commit/ab0d01a5f0f17f20b106b0f6cc6d1b7d13cf4d65
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCRegisterInfo.h
M llvm/lib/MC/MCRegisterInfo.cpp
M llvm/test/CodeGen/ARM/constant-island-movwt.mir
Log Message:
-----------
[MC] Cache MCRegAliasIterator (#93510)
AMDGPU has a lot of registers, almost 9000. Many of those registers have
aliases. For instance, SGPR0 has a ton of aliases due to the presence of
register tuples. It's even worse if you query the aliases of a register
tuple itself. A large register tuple can have hundreds of aliases
because it may include 16 registers, and each of those registers have
their own tuples as well.
The current implementation of MCRegAliasIterator is not good at this. In
some extreme cases it can iterate, 7000 more times than
necessary, just giving duplicates over and over again and using a lot of
expensive iterators.
This patch implements a cache system for MCRegAliasIterator. It does the
expensive part only once and then saves it for us so the next iterations
on that register's aliases are just a map lookup.
Furthermore, the cached data is uniqued (and sorted). Thus, this speeds
up code by both speeding up the iterator itself, but also by minimizing
the number of loop iterations users of the iterator do.
Commit: 4bccd25467ce591869dad41c8b7c550093c20f1b
https://github.com/llvm/llvm-project/commit/4bccd25467ce591869dad41c8b7c550093c20f1b
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/sve-hadd.ll
Log Message:
-----------
[AArch64] LowerAVG - fallback to default expansion (#95416)
The TargetLowering::expandAVG implementations now match or are better than the AArch64 override.
Commit: 44df1167f88cabbb4cfde816f279337379ea30b3
https://github.com/llvm/llvm-project/commit/44df1167f88cabbb4cfde816f279337379ea30b3
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/Error.h
M llvm/lib/Support/Error.cpp
M llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
M llvm/tools/llvm-pdbutil/DumpOutputStyle.cpp
M llvm/unittests/Support/ErrorTest.cpp
Log Message:
-----------
[Error] Add non-consuming toString (#95375)
There are some places that want to convert an Error to string, but still
retain the original Error object, for example to emit a non-fatal
warning.
This currently isn't possible, because the entire Error infra is
move-based. And what people end up doing in this case is to move the
Error... twice.
This patch introduces a toStringWithoutConsuming() function to
accommodate this use case. This also requires some infrastructure that
allows visiting Errors without consuming them.
Commit: 4f54b91842ea2ab9546459869df442f7e7fe59d6
https://github.com/llvm/llvm-project/commit/4f54b91842ea2ab9546459869df442f7e7fe59d6
Author: c8ef <c8ef at outlook.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SDPatternMatch.h
M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp
Log Message:
-----------
[SDPatternMatch] Only match ISD::SIGN_EXTEND in m_SExt (#95415)
Context: https://github.com/llvm/llvm-project/pull/95365#discussion_r1638236603
The current implementation of `m_SExt` matches both `ISD::SIGN_EXTEND` and `ISD::SIGN_EXTEND_INREG`. However, in cases where we specifically need to match _only_ `ISD::SIGN_EXTEND`, such as in the SelectionDAG graph below, this can lead to issues and unintended combinations.
```
SelectionDAG has 13 nodes:
t0: ch,glue = EntryToken
t2: v2i32,ch = CopyFromReg t0, Register:v2i32 %0
t21: v2i32 = sign_extend_inreg t2, ValueType:ch:v2i8
t4: v2i32,ch = CopyFromReg t0, Register:v2i32 %1
t22: v2i32 = sign_extend_inreg t4, ValueType:ch:v2i8
t23: v2i32 = avgfloors t21, t22
t24: v2i32 = sign_extend_inreg t23, ValueType:ch:v2i8
t15: ch,glue = CopyToReg t0, Register:v2i32 $d0, t24
t16: ch = AArch64ISD::RET_GLUE t15, Register:v2i32 $d0, t15:1
```
Commit: 738fcbee687a50bfa83ba30daf65bab41307211a
https://github.com/llvm/llvm-project/commit/738fcbee687a50bfa83ba30daf65bab41307211a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/SROA.cpp
M llvm/test/Transforms/SROA/phi-gep.ll
Log Message:
-----------
[SROA] Preserve all GEP flags during speculation
Unlikely to matter in practice, as these GEPs are typically
promoted away.
Commit: f1a29ec082ead82c6a4d61e515222d6bcf046a5b
https://github.com/llvm/llvm-project/commit/f1a29ec082ead82c6a4d61e515222d6bcf046a5b
Author: David Green <david.green at arm.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/fptoi.ll
Log Message:
-----------
[AArch64] Add i128 and fp128 tests to fptoi. NFC
Commit: 1ceede3318c29af83b219cca137f5e2c563fc871
https://github.com/llvm/llvm-project/commit/1ceede3318c29af83b219cca137f5e2c563fc871
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
Log Message:
-----------
[AMDGPULowerBufferFatPointers] Don't try to preserve flags for constant expressions
We expect all of these ConstantExpr ctors to fold away, don't try
to preserve flags, especially as the flags are not correct.
Commit: 71f8b441ed6a944ceb4530b49e8588dcbb1e0066
https://github.com/llvm/llvm-project/commit/71f8b441ed6a944ceb4530b49e8588dcbb1e0066
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/docs/SourceBasedCodeCoverage.rst
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/CodeGen/CodeGenPGO.cpp
M clang/lib/CodeGen/CoverageMappingGen.cpp
M clang/lib/CodeGen/MCDCState.h
M clang/test/CoverageMapping/branch-constfolded.cpp
M clang/test/CoverageMapping/logical.cpp
M clang/test/CoverageMapping/mcdc-class.cpp
M clang/test/CoverageMapping/mcdc-error-conditions.cpp
M clang/test/CoverageMapping/mcdc-logical-scalar-ids.cpp
M clang/test/CoverageMapping/mcdc-logical-stmt-ids-all.cpp
M clang/test/CoverageMapping/mcdc-logical-stmt-ids.cpp
M clang/test/CoverageMapping/mcdc-scratch-space.c
M clang/test/CoverageMapping/mcdc-system-headers.cpp
M clang/test/Profile/c-mcdc-class.cpp
M clang/test/Profile/c-mcdc-logicalop-ternary.c
M clang/test/Profile/c-mcdc-nested-ternary.c
M clang/test/Profile/c-mcdc-not.c
M clang/test/Profile/c-mcdc.c
M compiler-rt/test/profile/ContinuousSyncMode/image-with-mcdc.c
M llvm/docs/CoverageMappingFormat.rst
M llvm/docs/LangRef.rst
M llvm/include/llvm/IR/IntrinsicInst.h
M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
M llvm/test/Instrumentation/InstrProfiling/inline-data-var-create.ll
M llvm/test/Instrumentation/InstrProfiling/mcdc.ll
M llvm/test/tools/llvm-cov/Inputs/mcdc-const-folding.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-const-folding.proftext
M llvm/test/tools/llvm-cov/Inputs/mcdc-const.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-const.proftext
A llvm/test/tools/llvm-cov/Inputs/mcdc-general-18.o
A llvm/test/tools/llvm-cov/Inputs/mcdc-general-18.profdata
M llvm/test/tools/llvm-cov/Inputs/mcdc-general.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-general.proftext
M llvm/test/tools/llvm-cov/Inputs/mcdc-macro.o
M llvm/test/tools/llvm-cov/Inputs/mcdc-macro.proftext
M llvm/test/tools/llvm-cov/Inputs/mcdc-maxbs.o
A llvm/test/tools/llvm-cov/mcdc-general-18.test
M llvm/unittests/ProfileData/CoverageMappingTest.cpp
Log Message:
-----------
Reapply: [MC/DC][Coverage] Loosen the limit of NumConds from 6 (#82448)
By storing possible test vectors instead of combinations of conditions,
the restriction is dramatically relaxed.
This introduces two options to `cc1`:
* `-fmcdc-max-conditions=32767`
* `-fmcdc-max-test-vectors=2147483646`
This change makes coverage mapping, profraw, and profdata incompatible
with Clang-18.
- Bitmap semantics changed. It is incompatible with previous format.
- `BitmapIdx` in `Decision` points to the end of the bitmap.
- Bitmap is packed per function.
- `llvm-cov` can understand `profdata` generated by `llvm-profdata-18`.
RFC:
https://discourse.llvm.org/t/rfc-coverage-new-algorithm-and-file-format-for-mc-dc/76798
--
Change(s) since llvmorg-19-init-14288-g7ead2d8c7e91
- Update compiler-rt/test/profile/ContinuousSyncMode/image-with-mcdc.c
Commit: b650764b16b5c8790325775ac5f87f0b1c0beca7
https://github.com/llvm/llvm-project/commit/b650764b16b5c8790325775ac5f87f0b1c0beca7
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
A lldb/test/Shell/Expr/Inputs/objc-cast.cpp
A lldb/test/Shell/Expr/TestObjCIDCast.test
Log Message:
-----------
[lldb][test] Add test for completing ObjCObjectType (#95405)
This is a minimal reproducer for a crash where we would try to call
`DumpTypeDescription` on an incomplete type. This crash surfaced as part
of an NFC refactor of some of the logic in `GetCompleteQualType`:
```
(lldb) expr -l objc -- *(id)0x1234
Stack dump:
0. Program arguments: ./bin/lldb a.out -o "b main" -o run -o "expr -l objc -- *(id)0x1234"
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var LLVM_SYMBOLIZER_PATH to point to it):
0 lldb 0x0000000102ec768c llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1 lldb 0x0000000102ec6010 llvm::sys::RunSignalHandlers() + 112
2 lldb 0x0000000102ec7fa8 SignalHandler(int) + 292
3 libsystem_platform.dylib 0x000000018c7a8c44 _sigtramp + 56
4 LLDB 0x0000000116b2030c lldb_private::TypeSystemClang::DumpTypeDescription(void*, lldb_private::Stream&, lldb::DescriptionLevel, lldb_private::ExecutionContextScope*) + 588
5 LLDB 0x00000001166b5124 lldb_private::CompilerType::DumpTypeDescription(lldb_private::Stream*, lldb::DescriptionLevel, lldb_private::ExecutionContextScope*) const + 228
6 LLDB 0x0000000116d4f08c IRForTarget::CreateResultVariable(llvm::Function&) + 2076
```
rdar://129633122
Commit: 90fd99c0795711e1cf762a02b29b0a702f86a264
https://github.com/llvm/llvm-project/commit/90fd99c0795711e1cf762a02b29b0a702f86a264
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/lib/Transforms/Vectorize/VPlanValue.h
M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
Log Message:
-----------
Recommit "[VPlan] First step towards VPlan cost modeling. (#92555)"
This reverts commit 46080abe9b136821eda2a1a27d8a13ceac349f8c.
Extra tests have been added in 52d29eb287.
Original message:
This adds a new interface to compute the cost of recipes, VPBasicBlocks,
VPRegionBlocks and VPlan, initially falling back to the legacy cost model
for all recipes. Follow-up patches will gradually migrate recipes to
compute their own costs step-by-step.
It also adds getBestPlan function to LVP which computes the cost of all
VPlans and picks the most profitable one together with the most
profitable VF.
The VPlan selected by the VPlan cost model is executed and there is an
assert to catch cases where the VPlan cost model and the legacy cost
model disagree. Even though I checked a number of different build
configurations on AArch64 and X86, there may be some differences
that have been missed.
Additional discussions and context can be found in @arcbbb's
https://github.com/llvm/llvm-project/pull/67647 and
https://github.com/llvm/llvm-project/pull/67934 which is an earlier
version of the current PR.
PR: https://github.com/llvm/llvm-project/pull/92555
Commit: ad702e057cf7fc1ffdc0f78f563b416170ea7d57
https://github.com/llvm/llvm-project/commit/ad702e057cf7fc1ffdc0f78f563b416170ea7d57
Author: Harald van Dijk <harald.vandijk at codeplay.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/lib/Sema/Sema.cpp
M clang/test/CodeGen/aarch64-targetattr-arch.c
M clang/test/CodeGen/aarch64_neon_sve_bridge_intrinsics/target.c
M clang/test/CodeGenCXX/aarch64-mangle-sve-vectors.cpp
M clang/test/Sema/aarch64-sme2-sve2p1-diagnostics.c
M clang/test/Sema/arm-sve-target.cpp
Log Message:
-----------
[AArch64] Extend SVE diagnostics. (#94976)
The SVE diagnostics were guarded by a FD->hasBody() check that prevented
the diagnostic from being emitted for code that still triggered the
backend crashes that the errors were meant to avoid, because
FD->hasBody() returns false for a function that Clang is currently
processing. This is not done for the equivalent RISC-V code, and is not
needed for AArch64 either, so remove it.
Errors were also emitted in the wrong location, errors were emitted at
the called function's location, rather than at the caller's, which meant
that just removing the FD->hasBody() check resulted in incomprehensible
errors. Change this as well.
The aarch64-mangle-sve-vectors.cpp test was using -target-feature wrong
which was exposed as a result of these changes. Different target
features need to be passed in as different -target-feature options.
aarch64-targetattr-arch.c has a test_errors() function that needs to be
split in two. Now that svundef_s8() is diagnosed for its use of
svint8_t, the "needs target feature sve" diagnostic is no longer
emitted, but this affects all calls in the same function. To ensure we
still check this for its __crc32cd call, move that into a separate
function.
Fixes #94766.
Commit: 0113f26fad00e4798883b02eb7a049ea545a13de
https://github.com/llvm/llvm-project/commit/0113f26fad00e4798883b02eb7a049ea545a13de
Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64Subtarget.h
M llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-lse2_lse128.ll
M llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-v8_1a.ll
M llvm/test/CodeGen/AArch64/Atomics/aarch64_be-atomicrmw-lse2_lse128.ll
M llvm/test/CodeGen/AArch64/Atomics/aarch64_be-atomicrmw-v8_1a.ll
M llvm/test/CodeGen/AArch64/GlobalISel/arm64-atomic-128.ll
M llvm/test/CodeGen/AArch64/aarch64-interleaved-access-w-undef.ll
M llvm/test/CodeGen/AArch64/aarch64-neon-vector-insert-uaddlv.ll
M llvm/test/CodeGen/AArch64/aarch64-sysreg128.ll
M llvm/test/CodeGen/AArch64/arm64-atomic-128.ll
M llvm/test/CodeGen/AArch64/arm64-dup.ll
M llvm/test/CodeGen/AArch64/arm64-indexed-vector-ldst.ll
M llvm/test/CodeGen/AArch64/arm64-ld1.ll
M llvm/test/CodeGen/AArch64/arm64-neon-copy.ll
M llvm/test/CodeGen/AArch64/arm64-neon-copyPhysReg-tuple.ll
M llvm/test/CodeGen/AArch64/arm64-tbl.ll
M llvm/test/CodeGen/AArch64/arm64-zip.ll
M llvm/test/CodeGen/AArch64/atomicrmw-xchg-fp.ll
M llvm/test/CodeGen/AArch64/bf16-shuffle.ll
M llvm/test/CodeGen/AArch64/build-vector-two-dup.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-multiuses.ll
M llvm/test/CodeGen/AArch64/extract-vector-elt.ll
M llvm/test/CodeGen/AArch64/fp-conversion-to-tbl.ll
M llvm/test/CodeGen/AArch64/fptoi.ll
M llvm/test/CodeGen/AArch64/fptosi-sat-vector.ll
M llvm/test/CodeGen/AArch64/fptoui-sat-vector.ll
M llvm/test/CodeGen/AArch64/insert-subvector.ll
M llvm/test/CodeGen/AArch64/neon-bitwise-instructions.ll
M llvm/test/CodeGen/AArch64/neon-extracttruncate.ll
M llvm/test/CodeGen/AArch64/neon-reverseshuffle.ll
M llvm/test/CodeGen/AArch64/neon-widen-shuffle.ll
M llvm/test/CodeGen/AArch64/seqpairspill.mir
M llvm/test/CodeGen/AArch64/shuffle-tbl34.ll
M llvm/test/CodeGen/AArch64/shuffles.ll
M llvm/test/CodeGen/AArch64/shufflevector.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-add-sub-za16.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-add.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-cvtn.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-fmlas.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-fp-dots.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-insert-mova.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-int-dots.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-max.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-min.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-mlall.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-mlals.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-rshl.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-select-sme-tileslice.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-sqdmulh.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-sub.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-vdot.ll
M llvm/test/CodeGen/AArch64/sve-fixed-length-shuffles.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-stN-reg-imm-addr-mode.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-stN-reg-reg-addr-mode.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-stores.ll
M llvm/test/CodeGen/AArch64/sve-merging-stores.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ld2-alloca.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-shuffle.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-perm-tb.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-bfclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-fclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-multivec-stores.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-sclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-selx4.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-stores.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-uclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-uzpx4.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-while-pp.ll
M llvm/test/CodeGen/AArch64/swift-error-unreachable-use.ll
M llvm/test/CodeGen/AArch64/tbl-loops.ll
M llvm/test/CodeGen/AArch64/trunc-to-tbl.ll
M llvm/test/CodeGen/AArch64/vldn_shuffle.ll
Log Message:
-----------
[AArch64][SME] Enable subreg liveness tracking for AArch64 (#92142)
The SME dot instructions in these tests operate on contiguous register
tuples which use one subregister from each of the loads. When using the
strided register form for all loads, enabling subreg liveness tracking
will allow us to recognise that there is no overlap between the register
tuples used by each of the dot instructions.
This is the first in a series of patches to improve the allocation of
strided and contiguous registers for SME.
Commit: cf4c3d98430de7e2a19ba42714db78810d04d4e8
https://github.com/llvm/llvm-project/commit/cf4c3d98430de7e2a19ba42714db78810d04d4e8
Author: Vikram Hegde <115221833+vikramRH at users.noreply.github.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/lib/Target/AMDGPU/SIRegisterInfo.td
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.set.inactive.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.set.inactive.ll
Log Message:
-----------
[AMDGPU] Extend llvm.amdgcn.set.inactive intrinsic to support Reg32/Reg64 types (#94457)
Missed this while handling other patches. Any comments/concerns ?
Commit: 86dc75862398ec48ad411103770613fba9add9f5
https://github.com/llvm/llvm-project/commit/86dc75862398ec48ad411103770613fba9add9f5
Author: Amaury Séchet <deadalnix at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/include/llvm-c/Core.h
Log Message:
-----------
[llvm-c] Move LLVMAttributeIndex to a more apropriate place. NFC.
Commit: e910f61fb1810020ab68fdf6479bde03e702e013
https://github.com/llvm/llvm-project/commit/e910f61fb1810020ab68fdf6479bde03e702e013
Author: agozillon <Andrew.Gozillon at amd.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M flang/lib/Lower/OpenMP/Clauses.cpp
Log Message:
-----------
[Flang][OpenMP] Fix type in getBaseObject causing crashes in certain scenarios (#95472)
This typo would unfortunately cause code like the following to ICE,
where common block symbols/names are used in a map clause:
subroutine sb()
implicit none
integer:: b, c
common /var/ b, c
!$omp target map(tofrom: /var/)
b = 1
c = 2
!$omp end target
end subroutine
Commit: 8ab3f8ae0d39048e4bc1198514049813c6765fb6
https://github.com/llvm/llvm-project/commit/8ab3f8ae0d39048e4bc1198514049813c6765fb6
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/tools/llvm-exegesis/CMakeLists.txt
Log Message:
-----------
[llvm-exegesis] Fix typos in cmake file
Fix typos introduced in #95421.
Commit: c6b6e18c4d25305ab98b6eab752de99ea4e15344
https://github.com/llvm/llvm-project/commit/c6b6e18c4d25305ab98b6eab752de99ea4e15344
Author: David Truby <david.truby at arm.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M flang/docs/Directives.md
M flang/include/flang/Lower/PFTBuilder.h
M flang/include/flang/Optimizer/Dialect/FIROps.h
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/include/flang/Parser/dump-parse-tree.h
M flang/include/flang/Parser/parse-tree.h
M flang/lib/Lower/Bridge.cpp
M flang/lib/Optimizer/Transforms/ControlFlowConverter.cpp
M flang/lib/Parser/Fortran-parsers.cpp
M flang/lib/Parser/unparse.cpp
M flang/lib/Semantics/CMakeLists.txt
A flang/lib/Semantics/canonicalize-directives.cpp
A flang/lib/Semantics/canonicalize-directives.h
M flang/lib/Semantics/resolve-names.cpp
M flang/lib/Semantics/semantics.cpp
A flang/test/Fir/vector-always-cfg.fir
A flang/test/Fir/vector-always.fir
A flang/test/Integration/vector-always.f90
A flang/test/Lower/vector-always.f90
M flang/test/Parser/compiler-directives.f90
A flang/test/Semantics/loop-directives.f90
Log Message:
-----------
[flang] Implement !DIR$ VECTOR ALWAYS (#93830)
This patch implements support for the VECTOR ALWAYS directive, which
forces
vectorization to occurr when possible regardless of a decision by the
cost
model. This is done by adding an attribute to the branch into the loop
in LLVM
to indicate that the loop should always be vectorized.
This patch only implements this directive on plan structured do loops
without labels. Support for unstructured loops and array
expressions is planned for future patches.
Commit: c81d5b11cf7caf82749638752d819a061fdf4d9e
https://github.com/llvm/llvm-project/commit/c81d5b11cf7caf82749638752d819a061fdf4d9e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
A llvm/test/CodeGen/X86/avgceils-scalar.ll
A llvm/test/CodeGen/X86/avgceilu-scalar.ll
A llvm/test/CodeGen/X86/avgfloors-scalar.ll
A llvm/test/CodeGen/X86/avgflooru-scalar.ll
Log Message:
-----------
[X86] Add scalar test coverage for ISD::AVG nodes on 32 and 64-bit targets
Commit: 7e3e9d43086d21f9996a52f0d4f24e0edeb34991
https://github.com/llvm/llvm-project/commit/7e3e9d43086d21f9996a52f0d4f24e0edeb34991
Author: Joe Nash <joseph.nash at amd.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
Log Message:
-----------
[AMDGPU] Change getLdStRegisterOperand to !cond for better diagnostic (#95475)
If you would hit the unexpected case in these !if trees, you'd get an
error message like "error: Not a known RegisterClass! def VReg_1..."
This can happen when changing code quite indirectly related to these
class definitions. We can use !cond here, which has a builtin facility
to throw an error if no case in the !cond statement is hit.
NFC.
Commit: 9ad102f03b350c79256011cd272f27808cb61a39
https://github.com/llvm/llvm-project/commit/9ad102f03b350c79256011cd272f27808cb61a39
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/ProfileData/InstrProf.cpp
M llvm/lib/ProfileData/InstrProfWriter.cpp
M llvm/unittests/ProfileData/InstrProfTest.cpp
Log Message:
-----------
[ProfileData] Migrate to getValueArrayForSite (#95493)
This patch migrates uses of getValueForSite to getValueArrayForSite.
Each hunk is self-contained, meaning that each one can be applied
independently of the others.
In the unit test, there are cases where the array length check is
performed a lot earlier than the array content check. For now, I'm
leaving the length checks where they are. I'll consider moving them
when I migrate uses of getNumValueDataForSite to getValueArrayForSite
in a follow-up patch.
Commit: d5297b72aa32ad3a69563a1fcc61294282f0b379
https://github.com/llvm/llvm-project/commit/d5297b72aa32ad3a69563a1fcc61294282f0b379
Author: kadir çetinkaya <kadircet at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang-tools-extra/include-cleaner/lib/IncludeSpeller.cpp
M clang-tools-extra/include-cleaner/unittests/IncludeSpellerTest.cpp
M clang/include/clang/Testing/TestAST.h
M clang/lib/Testing/TestAST.cpp
Log Message:
-----------
[include-cleaner] Pass WorkingDir to suggestPathToFileForDiagnostics (#95114)
Addresses https://github.com/llvm/llvm-project/issues/81215.
Commit: 08fae467e4c742e91c8fdff8519718cf2c7c9b0e
https://github.com/llvm/llvm-project/commit/08fae467e4c742e91c8fdff8519718cf2c7c9b0e
Author: c8ef <c8ef at outlook.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/AArch64/aarch64-known-bits-hadd.ll
M llvm/test/CodeGen/AArch64/avg.ll
Log Message:
-----------
[DAG] fold `avgs(sext(x), sext(y))` -> `sext(avgs(x, y))` (#95365)
Follow up of #95134.
Context:
https://github.com/llvm/llvm-project/pull/95134#issuecomment-2162825594.
Commit: db3a47c810639388c80ed173dda3623dac00ce0a
https://github.com/llvm/llvm-project/commit/db3a47c810639388c80ed173dda3623dac00ce0a
Author: beetrees <b at beetr.ee>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGCall.cpp
M clang/test/CodeGen/attr-error.c
M clang/test/CodeGen/attr-warning.c
M llvm/docs/LangRef.rst
M llvm/include/llvm/IR/DiagnosticInfo.h
M llvm/lib/CodeGen/MachineModuleInfo.cpp
M llvm/lib/IR/DiagnosticInfo.cpp
Log Message:
-----------
Fix silent truncation of inline ASM `srcloc` cookie when going through a `DiagnosticInfoSrcMgr` (#84559)
The size of the inline ASM `srcloc` cookie was changed from 32 bits to
64 bits in [D105491](https://reviews.llvm.org/D105491). However, that
commit only updated the size of the cookie in `DiagnosticInfoInlineAsm`,
meaning that inline ASM diagnostics that are instead represented with a
`DiagnosticInfoSrcMgr` have their cookies truncated to 32 bits. This PR
replaces the remaining uses of `unsigned` to represent the cookie with
`uint64_t`, allowing the cookie to make it all the way to the diagnostic
handler without being truncated.
Commit: 6b4760acc73394f841fb66bfd04c501826f5c7f7
https://github.com/llvm/llvm-project/commit/6b4760acc73394f841fb66bfd04c501826f5c7f7
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
Log Message:
-----------
[AMDGPU] Make use of composeSubRegIndices. NFCI. (#95548)
Simplify SIInstrInfo::buildExtractSubReg by building one COPY with a
composed subreg index instead of two COPYs.
Commit: 094572701dce4aaf36f4521d6cf750420d39f206
https://github.com/llvm/llvm-project/commit/094572701dce4aaf36f4521d6cf750420d39f206
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/test/CodeGen/2010-07-08-DeclDebugLineNo.c
M clang/test/CodeGen/assignment-tracking/assignment-tracking.cpp
M clang/test/CodeGen/assignment-tracking/memcpy-fragment.cpp
M clang/test/CodeGen/assignment-tracking/nested-scope.cpp
M clang/test/CodeGen/attr-nodebug.c
M clang/test/CodeGen/debug-info-block-decl.c
M clang/test/CodeGen/debug-info-block-expr.c
M clang/test/CodeGen/debug-info-block-vars.c
M clang/test/CodeGen/debug-info-matrix-types.c
M clang/test/CodeGen/debug-info-vla.c
M clang/test/CodeGen/debug-label-inline.c
M clang/test/CodeGen/debug-label.c
M clang/test/CodeGen/instrument-objc-method.m
M clang/test/CodeGenCUDA/debug-info-address-class.cu
M clang/test/CodeGenCXX/debug-info-inheriting-constructor.cpp
M clang/test/CodeGenCXX/debug-info-nrvo.cpp
M clang/test/CodeGenCXX/debug-info-range-for-var-names.cpp
M clang/test/CodeGenCXX/debug-info-structured-binding-bitfield.cpp
M clang/test/CodeGenCXX/debug-info-structured-binding.cpp
M clang/test/CodeGenCXX/debug-info.cpp
M clang/test/CodeGenCXX/linetable-eh.cpp
M clang/test/CodeGenCXX/trivial_abi_debuginfo.cpp
M clang/test/CodeGenObjC/2010-02-09-DbgSelf.m
M clang/test/CodeGenObjC/debug-info-blocks.m
M clang/test/CodeGenObjC/debug-info-nested-blocks.m
M clang/test/CodeGenObjC/objc-fixed-enum.m
M clang/test/CodeGenObjCXX/property-objects.mm
M clang/test/CodeGenOpenCL/amdgpu-debug-info-variable-expression.cl
M clang/test/CodeGenSYCL/debug-info-kernel-variables.cpp
M clang/test/OpenMP/debug-info-complex-byval.cpp
M clang/test/OpenMP/debug-info-openmp-array.cpp
M clang/test/OpenMP/debug_private.c
M clang/test/OpenMP/debug_task_shared.c
M clang/test/OpenMP/debug_threadprivate_copyin.c
M clang/test/OpenMP/irbuilder_nested_parallel_for.c
M clang/test/OpenMP/nested_loop_codegen.cpp
M clang/test/OpenMP/parallel_codegen.cpp
M clang/test/OpenMP/target_parallel_debug_codegen.cpp
M clang/test/OpenMP/target_parallel_for_debug_codegen.cpp
M clang/test/OpenMP/target_parallel_generic_loop_codegen-3.cpp
M clang/test/OpenMP/taskgroup_task_reduction_codegen.cpp
M clang/test/OpenMP/threadprivate_codegen.cpp
M llvm/lib/IR/IRPrintingPasses.cpp
M llvm/test/Assembler/2010-02-05-FunctionLocalMetadataBecomesNull.ll
M llvm/test/Assembler/debug-label-bitcode.ll
M llvm/test/Bitcode/DIExpression-aggresult.ll
M llvm/test/Bitcode/constexpr-to-instr-metadata-2.ll
M llvm/test/Bitcode/constexpr-to-instr-metadata.ll
M llvm/test/Bitcode/dbg-label-record-bc.ll
M llvm/test/Bitcode/upgrade-dbg-addr.ll
M llvm/test/Bitcode/upgrade-dbg-value.ll
M llvm/test/CodeGen/AArch64/dbg-declare-swift-async.ll
M llvm/test/CodeGen/AArch64/stack-tagging-dbg-assign-tag-offset.ll
M llvm/test/CodeGen/AArch64/stack-tagging-dbg-declare-tag-offset.ll
M llvm/test/CodeGen/AArch64/stack-tagging-dbg-value-tag-offset-nopad.ll
M llvm/test/CodeGen/AArch64/stack-tagging-dbg-value-tag-offset.ll
M llvm/test/CodeGen/AArch64/stack-tagging-dbg.ll
M llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-sincos.ll
M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-unoptimized-debug-data.ll
M llvm/test/CodeGen/AMDGPU/si-annotate-dbg-info.ll
M llvm/test/CodeGen/BPF/preserve-static-offset/load-arr-pai.ll
M llvm/test/CodeGen/BPF/preserve-static-offset/load-ptr-pai.ll
M llvm/test/CodeGen/BPF/preserve-static-offset/load-struct-pai.ll
M llvm/test/CodeGen/BPF/preserve-static-offset/load-union-pai.ll
M llvm/test/CodeGen/BPF/preserve-static-offset/store-pai.ll
M llvm/test/CodeGen/Generic/MIRDebugify/locations-and-values.mir
M llvm/test/CodeGen/Generic/MIRStripDebug/dont-strip-real-debug-info.mir
M llvm/test/CodeGen/X86/fast-isel-dbg-value-alloca.ll
M llvm/test/CodeGen/X86/pr38763.ll
M llvm/test/CodeGen/X86/select-optimize.ll
M llvm/test/DebugInfo/AArch64/ir-outliner.ll
M llvm/test/DebugInfo/AArch64/select-optimize-trailing-dbg-records.ll
M llvm/test/DebugInfo/ARM/hardware-loop-phi-insertion.ll
M llvm/test/DebugInfo/ARM/lowerbdgdeclare_vla.ll
M llvm/test/DebugInfo/ARM/salvage-debug-info.ll
M llvm/test/DebugInfo/ARM/sroa-complex.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/adce/no-delete.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/codegenprepare/sunk-addr.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/hwasan.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/long-double-x87.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/nullptr-declare.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/scalable-vector.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/structured-bindings.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/var-not-alloca-sized.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/vla.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/dse/dse-after-memcpyopt-merge.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/dse/shorten-offset.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/dse/shorten.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/inline/id.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/inline/inline-stores.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/inline/shared-alloca.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/inline/use-before-def.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/do-not-remove-redundant-dbg.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/memset.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/remove-redundant-dbg.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/sink-store.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/sink.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/store-new-type.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/storemerge.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/licm/merge.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/licm/multi-exit.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/loop-deletion/dead-loop.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/loop-vectorize/remove-redundant-dbg.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/phi.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/single-block-alloca.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/single-store-alloca.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/store-to-part-of-alloca.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/memcpyopt/merge-stores.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/mldst-motion/diamond.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/optnone.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/roundtrip.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/remove-redundant-fwd-scan-linked.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/remove-redundant.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/salvage-value.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/simplifycfg/empty-block.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/simplifycfg/speculated-store.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/slp-vectorizer/merge-scalars.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/after-inlining.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/alloca-single-slice.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/arglist.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/complex.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/fail-fragment.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/frag-2.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/frag.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/id.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/memcpy.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/memmove-to-from-same-alloca.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/remove-redundant-dbg.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/rewrite.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/split-pre-fragmented-store-2.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/split-pre-fragmented-store.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/store.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/unspecified-var-size.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/user-memcpy.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/var-sized-fragment.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-1.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-2.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/track-assignments.ll
M llvm/test/DebugInfo/Generic/dbg-value-lower-linenos.ll
M llvm/test/DebugInfo/Generic/debug_value_list.ll
M llvm/test/DebugInfo/Generic/empty-metadata.ll
M llvm/test/DebugInfo/Generic/inline-alloca-ordering.ll
M llvm/test/DebugInfo/Generic/inline-dbg-values.ll
M llvm/test/DebugInfo/Generic/instcombine-replaced-select-with-operand.ll
M llvm/test/DebugInfo/Generic/ipsccp-remap-assign-id.ll
M llvm/test/DebugInfo/Generic/loop-deletion-inline-var.ll
M llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-1.ll
M llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-2.ll
M llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-3.ll
M llvm/test/DebugInfo/Generic/pr40628.ll
M llvm/test/DebugInfo/Generic/sroa-larger.ll
M llvm/test/DebugInfo/Generic/sroa-samesize.ll
M llvm/test/DebugInfo/Generic/volatile-alloca.ll
M llvm/test/DebugInfo/X86/LLVM_implicit_pointer.ll
M llvm/test/DebugInfo/X86/array2.ll
M llvm/test/DebugInfo/X86/codegenprep-addrsink.ll
M llvm/test/DebugInfo/X86/codegenprep-value.ll
M llvm/test/DebugInfo/X86/codegenprepare-rollback.ll
M llvm/test/DebugInfo/X86/dbg-value-dropped-instcombine.ll
M llvm/test/DebugInfo/X86/dead-store-elimination-marks-undef.ll
M llvm/test/DebugInfo/X86/formal_parameter.ll
M llvm/test/DebugInfo/X86/instcombine-demanded-bits-salvage.ll
M llvm/test/DebugInfo/X86/instcombine-fold-cast-into-phi.ll
M llvm/test/DebugInfo/X86/instcombine-instrinsics.ll
M llvm/test/DebugInfo/X86/licm-undef-dbg-value.ll
M llvm/test/DebugInfo/X86/mem2reg_fp80.ll
M llvm/test/DebugInfo/X86/sroa-after-inlining.ll
M llvm/test/DebugInfo/X86/sroasplit-1.ll
M llvm/test/DebugInfo/X86/sroasplit-2.ll
M llvm/test/DebugInfo/X86/sroasplit-3.ll
M llvm/test/DebugInfo/X86/sroasplit-4.ll
M llvm/test/DebugInfo/X86/sroasplit-dbg-declare.ll
M llvm/test/DebugInfo/assignment-tracking/X86/hotcoldsplit.ll
M llvm/test/DebugInfo/duplicate_dbgvalue.ll
M llvm/test/DebugInfo/instcombine-sink-latest-assignment.ll
M llvm/test/DebugInfo/salvage-cast-debug-info.ll
M llvm/test/DebugInfo/salvage-duplicate-values.ll
M llvm/test/DebugInfo/salvage-gep.ll
M llvm/test/DebugInfo/salvage-icmp.ll
M llvm/test/DebugInfo/salvage-limit-expr-size.ll
M llvm/test/DebugInfo/salvage-nonconst-binop.ll
M llvm/test/Instrumentation/AddressSanitizer/debug_info.ll
M llvm/test/Instrumentation/AddressSanitizer/local_stack_base.ll
M llvm/test/Instrumentation/HWAddressSanitizer/RISCV/alloca.ll
M llvm/test/Instrumentation/HWAddressSanitizer/alloca-uninteresting.ll
M llvm/test/Instrumentation/HWAddressSanitizer/alloca.ll
M llvm/test/Instrumentation/HWAddressSanitizer/dbg-assign-tag-offset.ll
M llvm/test/Instrumentation/HWAddressSanitizer/dbg-declare-tag-offset.ll
M llvm/test/Instrumentation/HWAddressSanitizer/dbg-value-tag-offset-nopad.ll
M llvm/test/Instrumentation/HWAddressSanitizer/dbg-value-tag-offset.ll
M llvm/test/Linker/DbgDeclare.ll
M llvm/test/Linker/debug-info-use-before-def.ll
M llvm/test/Transforms/ADCE/adce-salvage-dbg-value.ll
M llvm/test/Transforms/ADCE/debug-info-intrinsic.ll
M llvm/test/Transforms/AggressiveInstCombine/AArch64/combine_ignore_debug.ll
M llvm/test/Transforms/ArgumentPromotion/pr33641_remove_arg_dbgvalue.ll
M llvm/test/Transforms/Attributor/ArgumentPromotion/pr33641_remove_arg_dbgvalue.ll
M llvm/test/Transforms/BDCE/basic.ll
M llvm/test/Transforms/BDCE/dbg-multipleuses.ll
M llvm/test/Transforms/BDCE/pr26587.ll
M llvm/test/Transforms/BDCE/pr41925.ll
M llvm/test/Transforms/CallSiteSplitting/callsite-split-debug.ll
M llvm/test/Transforms/CallSiteSplitting/callsite-split-preserve-debug.ll
M llvm/test/Transforms/CodeExtractor/LoopExtractor_alloca.ll
M llvm/test/Transforms/CodeGenPrepare/X86/catchpad-phi-cast.ll
M llvm/test/Transforms/CodeGenPrepare/X86/cttz-ctlz.ll
M llvm/test/Transforms/CodeGenPrepare/X86/select.ll
M llvm/test/Transforms/CodeGenPrepare/debug-info-on-skipped-selects.ll
M llvm/test/Transforms/CodeGenPrepare/sink-shift-and-trunc.ll
M llvm/test/Transforms/Coroutines/coro-debug-O2.ll
M llvm/test/Transforms/Coroutines/coro-debug-coro-frame.ll
M llvm/test/Transforms/Coroutines/coro-debug-dbg.values-not_used_in_frame.ll
M llvm/test/Transforms/Coroutines/coro-debug-dbg.values.ll
M llvm/test/Transforms/Coroutines/coro-debug-frame-variable.ll
M llvm/test/Transforms/Coroutines/coro-debug-spill-dbg.declare.ll
M llvm/test/Transforms/Coroutines/coro-debug.ll
M llvm/test/Transforms/Coroutines/swift-async-dbg.ll
M llvm/test/Transforms/DCE/basic.ll
M llvm/test/Transforms/DCE/dbg-value-removal.ll
M llvm/test/Transforms/DeadArgElim/2010-04-30-DbgInfo.ll
M llvm/test/Transforms/DeadArgElim/dbginfo-preserve-dbgloc.ll
M llvm/test/Transforms/DeadArgElim/dbginfo-update-dbgval-local.ll
M llvm/test/Transforms/DeadArgElim/dbginfo-update-dbgval.ll
M llvm/test/Transforms/DeadStoreElimination/debuginfo.ll
M llvm/test/Transforms/EarlyCSE/debug-info-undef.ll
M llvm/test/Transforms/EarlyCSE/debuginfo-dce.ll
M llvm/test/Transforms/GVN/load-through-select-dbg.ll
M llvm/test/Transforms/GlobalOpt/deadglobal-diarglist-use.ll
M llvm/test/Transforms/GlobalOpt/localize-constexpr-debuginfo.ll
M llvm/test/Transforms/GlobalOpt/shrink-global-to-bool-check-debug.ll
M llvm/test/Transforms/HotColdSplit/split-out-dbg-label.ll
M llvm/test/Transforms/HotColdSplit/transfer-debug-info.ll
M llvm/test/Transforms/IROutliner/legal-debug.ll
M llvm/test/Transforms/IndVarSimplify/X86/indvar-debug-value.ll
M llvm/test/Transforms/IndVarSimplify/X86/indvar-debug-value2.ll
M llvm/test/Transforms/IndVarSimplify/X86/scev-phi-debug-info.ll
M llvm/test/Transforms/Inline/alloca-dbgdeclare.ll
M llvm/test/Transforms/Inline/inline_dbg_declare.ll
M llvm/test/Transforms/Inline/local-as-metadata-undominated-use.ll
M llvm/test/Transforms/InstCombine/alloca-cast-debuginfo.ll
M llvm/test/Transforms/InstCombine/assume.ll
M llvm/test/Transforms/InstCombine/cast-mul-select.ll
M llvm/test/Transforms/InstCombine/cast-set-preserve-signed-dbg-val.ll
M llvm/test/Transforms/InstCombine/consecutive-fences.ll
M llvm/test/Transforms/InstCombine/dbg-scalable-store-fixed-frag.ll
M llvm/test/Transforms/InstCombine/dbg-simplify-alloca-size.ll
M llvm/test/Transforms/InstCombine/debuginfo-dce.ll
M llvm/test/Transforms/InstCombine/debuginfo-dce2.ll
M llvm/test/Transforms/InstCombine/debuginfo-sink.ll
M llvm/test/Transforms/InstCombine/debuginfo-skip.ll
M llvm/test/Transforms/InstCombine/debuginfo-variables.ll
M llvm/test/Transforms/InstCombine/debuginfo.ll
M llvm/test/Transforms/InstCombine/debuginfo_add.ll
M llvm/test/Transforms/InstCombine/erase-dbg-values-at-dead-alloc-site.ll
M llvm/test/Transforms/InstCombine/lifetime-no-null-opt.ll
M llvm/test/Transforms/InstCombine/lifetime.ll
M llvm/test/Transforms/InstCombine/lower-dbg-declare.ll
M llvm/test/Transforms/InstCombine/pr43893.ll
M llvm/test/Transforms/InstCombine/salvage-dbg-declare.ll
M llvm/test/Transforms/InstCombine/sink-instruction-introduces-unnecessary-poison-value.ll
M llvm/test/Transforms/InstCombine/stacksave-debuginfo.ll
M llvm/test/Transforms/InstCombine/unavailable-debug.ll
M llvm/test/Transforms/JumpThreading/guard-split-debuginfo.ll
M llvm/test/Transforms/JumpThreading/redundant-dbg-info.ll
M llvm/test/Transforms/JumpThreading/thread-debug-info.ll
M llvm/test/Transforms/LCSSA/rewrite-existing-dbg-values.ll
M llvm/test/Transforms/LICM/dbg-value-sink.ll
M llvm/test/Transforms/LICM/debug-value.ll
M llvm/test/Transforms/LICM/sinking-debugify.ll
M llvm/test/Transforms/LoopDeletion/diundef.ll
M llvm/test/Transforms/LoopDeletion/over-defensive-undefing-dbg-values.ll
M llvm/test/Transforms/LoopIdiom/X86/arithmetic-right-shift-until-zero.ll
M llvm/test/Transforms/LoopIdiom/X86/left-shift-until-bittest.ll
M llvm/test/Transforms/LoopIdiom/X86/logical-right-shift-until-zero-debuginfo.ll
M llvm/test/Transforms/LoopIdiom/debug-line.ll
M llvm/test/Transforms/LoopIdiom/memcpy-debugify-remarks.ll
M llvm/test/Transforms/LoopIdiom/memset-debugify-remarks.ll
M llvm/test/Transforms/LoopRotate/call-prepare-for-lto.ll
M llvm/test/Transforms/LoopRotate/dbg-value-duplicates-2.ll
M llvm/test/Transforms/LoopRotate/dbg-value-duplicates.ll
M llvm/test/Transforms/LoopRotate/dbgvalue.ll
M llvm/test/Transforms/LoopRotate/delete-dbg-values.ll
M llvm/test/Transforms/LoopRotate/phi-dbgvalue.ll
M llvm/test/Transforms/LoopStrengthReduce/X86/lsr-cond-dbg.ll
M llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-0.ll
M llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-1.ll
M llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-2.ll
M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-0.ll
M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-1.ll
M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-2.ll
M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-3.ll
M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-4.ll
M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-5.ll
M llvm/test/Transforms/LoopStrengthReduce/pr51329.ll
M llvm/test/Transforms/LoopStrengthReduce/pr51656.ll
M llvm/test/Transforms/LoopStrengthReduce/pr52161.ll
M llvm/test/Transforms/LoopUnroll/debug-info.ll
M llvm/test/Transforms/LoopUnroll/runtime-epilog-debuginfo.ll
M llvm/test/Transforms/LoopUnroll/unroll-remove-redundant-dbg.ll
M llvm/test/Transforms/LoopVectorize/dbg-outer-loop-vect.ll
M llvm/test/Transforms/LoopVectorize/discriminator.ll
M llvm/test/Transforms/Mem2Reg/ConvertDebugInfo.ll
M llvm/test/Transforms/Mem2Reg/ConvertDebugInfo2.ll
M llvm/test/Transforms/Mem2Reg/dbg_declare_to_value_conversions.ll
M llvm/test/Transforms/Mem2Reg/debug-alloca-phi-2.ll
M llvm/test/Transforms/Mem2Reg/debug-alloca-phi.ll
M llvm/test/Transforms/Mem2Reg/debug-alloca-vla-1.ll
M llvm/test/Transforms/Mem2Reg/debug-alloca-vla-2.ll
M llvm/test/Transforms/MemCpyOpt/pr37967.ll
M llvm/test/Transforms/MergeFunc/mergefunc-preserve-debug-info.ll
M llvm/test/Transforms/MergeFunc/no-merge-debug-thunks.ll
M llvm/test/Transforms/ObjCARC/basic.ll
M llvm/test/Transforms/ObjCARC/ensure-that-exception-unwind-path-is-visited.ll
M llvm/test/Transforms/Reassociate/matching-binops.ll
M llvm/test/Transforms/Reassociate/reassociate_dbgvalue_discard.ll
M llvm/test/Transforms/Reassociate/reassociate_salvages_debug_info.ll
M llvm/test/Transforms/Reassociate/undef_intrinsics_when_deleting_instructions.ll
M llvm/test/Transforms/SCCP/loadtest.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/spillcost-di.ll
M llvm/test/Transforms/SLPVectorizer/X86/debug_info.ll
M llvm/test/Transforms/SLPVectorizer/X86/schedule_budget_debug_info.ll
M llvm/test/Transforms/SROA/alignment.ll
M llvm/test/Transforms/SROA/dbg-inline.ll
M llvm/test/Transforms/SROA/dbg-single-piece.ll
M llvm/test/Transforms/SROA/vector-promotion.ll
M llvm/test/Transforms/SafeStack/X86/debug-loc-dynamic.ll
M llvm/test/Transforms/SafeStack/X86/debug-loc.ll
M llvm/test/Transforms/SafeStack/X86/debug-loc2.ll
M llvm/test/Transforms/Scalarizer/dbginfo.ll
M llvm/test/Transforms/SimpleLoopUnswitch/debuginfo.ll
M llvm/test/Transforms/SimplifyCFG/X86/merge-compatible-invokes-of-landingpad-debuginfo.ll
M llvm/test/Transforms/SimplifyCFG/X86/pr39187-g.ll
M llvm/test/Transforms/SimplifyCFG/branch-fold-dbg.ll
M llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue-inlined.ll
M llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue.ll
M llvm/test/Transforms/SimplifyCFG/jump-threading-debuginfo.ll
M llvm/test/Transforms/SimplifyCFG/return-merge.ll
M llvm/test/Transforms/SimplifyCFG/speculate-dbgvalue.ll
M llvm/test/Transforms/SimplifyCFG/tail-merge-noreturn.ll
M llvm/test/Transforms/SpeculativeExecution/PR46267.ll
M llvm/test/Transforms/Util/Debugify/loc-only.ll
M llvm/test/Transforms/Util/dbg-call-bitcast.ll
M llvm/test/Transforms/Util/dbg-user-of-aext.ll
M llvm/test/Transforms/Util/salvage-debuginfo.ll
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll.funcsig.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll.funcsig.globals.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll.funcsig.noglobals.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values.ll.funcsig.transitiveglobals.expected
M mlir/test/Dialect/LLVMIR/di-expression-legalization.mlir
M polly/test/CodeGen/debug-intrinsics.ll
Log Message:
-----------
[RemoveDIs] Print IR with debug records by default (#91724)
This patch makes the final major change of the RemoveDIs project, changing the
default IR output from debug intrinsics to debug records. This is expected to
break a large number of tests: every single one that tests for uses or
declarations of debug intrinsics and does not explicitly disable writing
records.
If this patch has broken your downstream tests (or upstream tests on a
configuration I wasn't able to run):
1. If you need to immediately unblock a build, pass
`--write-experimental-debuginfo=false` to LLVM's option processing for all
failing tests (remember to use `-mllvm` for clang/flang to forward arguments to
LLVM).
2. For most test failures, the changes are trivial and mechanical, enough that
they can be done by script; see the migration guide for a guide on how to do
this: https://llvm.org/docs/RemoveDIsDebugInfo.html#test-updates
3. If any tests fail for reasons other than FileCheck check lines that need
updating, such as assertion failures, that is most likely a real bug with this
patch and should be reported as such.
For more information, see the recent PSA:
https://discourse.llvm.org/t/psa-ir-output-changing-from-debug-intrinsics-to-debug-records/79578
Commit: 8e0ba08448d5935281e5afd007664d528dd672c4
https://github.com/llvm/llvm-project/commit/8e0ba08448d5935281e5afd007664d528dd672c4
Author: kadir çetinkaya <kadircet at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/lib/Lex/HeaderSearch.cpp
M clang/unittests/Lex/HeaderSearchTest.cpp
Log Message:
-----------
[clang][HeaderSearch] Fix handling of relative file-paths in suggestPathToFileForDiagnostics (#95121)
Normalize header-to-be-spelled using WorkingDir, similar to search paths
themselves.
Addresses https://github.com/llvm/llvm-project/issues/81215.
Commit: b1b7643f5e9da2f64f78e024da2db208f78e0c42
https://github.com/llvm/llvm-project/commit/b1b7643f5e9da2f64f78e024da2db208f78e0c42
Author: Angel Zhang <angel.zhang at amd.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
A mlir/test/mlir-vulkan-runner/vector-deinterleave.mlir
Log Message:
-----------
[mlir][spirv] Add integration test for `vector.deinterleave` (#95469)
This commit is dependent on #95313.
Commit: 43e6f46936e177e47de6627a74b047ba27561b44
https://github.com/llvm/llvm-project/commit/43e6f46936e177e47de6627a74b047ba27561b44
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Log Message:
-----------
[VPlan] Pre-compute cost for all instrs only feeding exit conditions.
This fixes the following buildbot failures after 90fd99c07957:
https://lab.llvm.org/buildbot/#/builders/17/builds/47
https://lab.llvm.org/buildbot/#/builders/168/builds/37
Commit: 597d2f7662c31cae4c8a54cc27e2ea12833380ea
https://github.com/llvm/llvm-project/commit/597d2f7662c31cae4c8a54cc27e2ea12833380ea
Author: Tim Gymnich <tim at gymni.ch>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M offload/plugins-nextgen/common/include/PluginInterface.h
M offload/plugins-nextgen/common/src/PluginInterface.cpp
A offload/test/offloading/high_trip_count_block_limit.cpp
M openmp/docs/design/Runtimes.rst
Log Message:
-----------
[OpenMP] Add Environment Variable to disable Reuse of Blocks for High Loop Trip Counts (#89239)
Sometimes it might be beneficial to spawn more thread blocks instead of
reusing existing for multiple loop iterations.
**Alternatives considered:**
Make `DefaultNumBlocks` settable via an environment variable.
---------
Co-authored-by: Joseph Huber <huberjn at outlook.com>
Commit: 7ad12a7c047a421400803eebae4cacc82b27be1d
https://github.com/llvm/llvm-project/commit/7ad12a7c047a421400803eebae4cacc82b27be1d
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/test/CodeGen/ARM/2011-11-29-128bitArithmetics.ll
M llvm/test/CodeGen/ARM/fp16-fullfp16.ll
M llvm/test/CodeGen/ARM/fp16-promote.ll
M llvm/test/CodeGen/ARM/vfloatintrinsics.ll
M llvm/test/CodeGen/Thumb2/float-intrinsics-double.ll
M llvm/test/CodeGen/Thumb2/float-intrinsics-float.ll
M llvm/test/CodeGen/Thumb2/mve-fmath.ll
Log Message:
-----------
[ARM] Add tan intrinsic lowering (#95439)
- `ARMISelLowering.cpp` - Add f16 type and neon and mve vector support
for tan
Commit: 0774000e3294849206aac4e18adf27286b17e217
https://github.com/llvm/llvm-project/commit/0774000e3294849206aac4e18adf27286b17e217
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmax.ll
M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmin.ll
M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-pointer-ops.ll
Log Message:
-----------
[AMDGPULowerBufferFatPointers] Fix offset-only ptrtoint (#95543)
For ptrtoint that truncates to the offset only, the expansion generated
a shift by the bit width, which is poison. Instead, we should return the
offset directly.
(The same problem exists for the constant expression case, but I plan to
address that separately, and more comprehensively.)
Commit: 153fca5d6a96686917f2046b01758920fcc2b714
https://github.com/llvm/llvm-project/commit/153fca5d6a96686917f2046b01758920fcc2b714
Author: Benjamin Chetioui <3920784+bchetioui at users.noreply.github.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][bzl] Fix broken BUILD due to typo in `CAPITransformsObjects` in BUILD.bazel.
Commit: 74fe1da01eb149a2234fc0f9570c84a08692e782
https://github.com/llvm/llvm-project/commit/74fe1da01eb149a2234fc0f9570c84a08692e782
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86MCInstLower.cpp
M llvm/test/CodeGen/X86/combine-mul.ll
M llvm/test/CodeGen/X86/combine-sdiv.ll
M llvm/test/CodeGen/X86/combine-udiv.ll
M llvm/test/CodeGen/X86/dagcombine-shifts.ll
M llvm/test/CodeGen/X86/dpbusd_const.ll
M llvm/test/CodeGen/X86/fold-int-pow2-with-fmul-or-fdiv.ll
M llvm/test/CodeGen/X86/freeze-binary.ll
M llvm/test/CodeGen/X86/gfni-funnel-shifts.ll
M llvm/test/CodeGen/X86/gfni-rotates.ll
M llvm/test/CodeGen/X86/gfni-shifts.ll
M llvm/test/CodeGen/X86/known-never-zero.ll
M llvm/test/CodeGen/X86/lower-vec-shift.ll
M llvm/test/CodeGen/X86/madd.ll
M llvm/test/CodeGen/X86/omit-urem-of-power-of-two-or-zero-when-comparing-with-zero.ll
M llvm/test/CodeGen/X86/pmul.ll
M llvm/test/CodeGen/X86/prefer-avx256-wide-mul.ll
M llvm/test/CodeGen/X86/rotate-extract-vector.ll
M llvm/test/CodeGen/X86/shrink_vmul.ll
M llvm/test/CodeGen/X86/slow-pmulld.ll
M llvm/test/CodeGen/X86/srem-seteq-vec-nonsplat.ll
M llvm/test/CodeGen/X86/srem-vector-lkk.ll
M llvm/test/CodeGen/X86/urem-seteq-vec-tautological.ll
M llvm/test/CodeGen/X86/urem-seteq.ll
M llvm/test/CodeGen/X86/urem-vector-lkk.ll
M llvm/test/CodeGen/X86/var-permute-128.ll
M llvm/test/CodeGen/X86/var-permute-256.ll
M llvm/test/CodeGen/X86/vec_shift6.ll
M llvm/test/CodeGen/X86/vector-fshl-128.ll
M llvm/test/CodeGen/X86/vector-fshl-256.ll
M llvm/test/CodeGen/X86/vector-fshl-rot-128.ll
M llvm/test/CodeGen/X86/vector-fshl-rot-256.ll
M llvm/test/CodeGen/X86/vector-fshr-128.ll
M llvm/test/CodeGen/X86/vector-fshr-256.ll
M llvm/test/CodeGen/X86/vector-fshr-rot-128.ll
M llvm/test/CodeGen/X86/vector-fshr-rot-256.ll
M llvm/test/CodeGen/X86/vector-idiv-sdiv-128.ll
M llvm/test/CodeGen/X86/vector-idiv-sdiv-256.ll
M llvm/test/CodeGen/X86/vector-idiv-sdiv-512.ll
M llvm/test/CodeGen/X86/vector-idiv-udiv-128.ll
M llvm/test/CodeGen/X86/vector-idiv-udiv-256.ll
M llvm/test/CodeGen/X86/vector-idiv-udiv-512.ll
M llvm/test/CodeGen/X86/vector-mul.ll
M llvm/test/CodeGen/X86/vector-rotate-128.ll
M llvm/test/CodeGen/X86/vector-rotate-256.ll
M llvm/test/CodeGen/X86/vector-shift-ashr-128.ll
M llvm/test/CodeGen/X86/vector-shift-ashr-256.ll
M llvm/test/CodeGen/X86/vector-shift-ashr-sub128.ll
M llvm/test/CodeGen/X86/vector-shift-lshr-128.ll
M llvm/test/CodeGen/X86/vector-shift-lshr-256.ll
M llvm/test/CodeGen/X86/vector-shift-lshr-sub128.ll
M llvm/test/CodeGen/X86/vector-shift-shl-128.ll
M llvm/test/CodeGen/X86/vector-shift-shl-256.ll
M llvm/test/CodeGen/X86/vector-shift-shl-sub128.ll
M llvm/test/CodeGen/X86/vector-trunc-math.ll
M llvm/test/CodeGen/X86/x86-shifts.ll
Log Message:
-----------
[MC][X86] addConstantComments - add mul vXi16 comments
Based on feedback from #95403 - we use multiply by constant for various lowerings (shifts, division etc.), so its very useful to printout the constants to help understand the transform involved.
vXi16 multiplies are the easiest to add for this initial commit, but we can add other arithmetic instructions as follow ups when the need arises (I intend to add PMADDUBSW handling for #95403 next).
I've done my best to update all test checks but there are bound to be ones that got missed that will only appear when the file is regenerated.
Commit: 9b7b1bee07ea583af7a90ed29634e3f9af22a284
https://github.com/llvm/llvm-project/commit/9b7b1bee07ea583af7a90ed29634e3f9af22a284
Author: Alexander Yermolovich <43973793+ayermolo at users.noreply.github.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/AccelTable.h
M llvm/include/llvm/DWARFLinker/Classic/DWARFLinkerCompileUnit.h
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerUnit.h
A llvm/test/DebugInfo/X86/debug-names-types-die-offset-collision.ll
Log Message:
-----------
[CLANG][DWARF] Handle DIE offset collision in DW_IDX_parent (#95339)
This fixes https://github.com/llvm/llvm-project/issues/93886. The UnitID
is not
unique between CUs and TUs. This led to DW_IDX_parent to point ot an
entry for a
DIE in CU if it had the same relative offset as TU die.
Added a IsTU to the hash for parent chain.
Commit: 0a57a20aa506c5a5a8b0a8eb45446d0747493d7c
https://github.com/llvm/llvm-project/commit/0a57a20aa506c5a5a8b0a8eb45446d0747493d7c
Author: Scott Egerton <9487234+ScottEgerton at users.noreply.github.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/VOPInstructions.td
Log Message:
-----------
[AMDGPU] NFC: Remove duplicate VOP_DPP_Pseudo TableGen definitions (#95370)
After recent changes, VOP_DPP_Pseudo now inherits from VOP_Pseudo.
This commit removes some on the duplicate definitions in
VOP_DPP_Pseudo that are exactly the same as definitions inherited from
VOP_Pseudo.
Commit: d462bf687548a5630f60a8afaa66120df8319e88
https://github.com/llvm/llvm-project/commit/d462bf687548a5630f60a8afaa66120df8319e88
Author: Rolf Morel <rolf.morel at huawei.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
M mlir/lib/Dialect/Transform/IR/TransformOps.cpp
M mlir/test/Dialect/Linalg/multisize-tiling-full.mlir
M mlir/test/Dialect/SCF/transform-loop-fuse-sibling.mlir
M mlir/test/Dialect/Transform/ops-invalid.mlir
M mlir/test/Dialect/Transform/ops.mlir
M mlir/test/Dialect/Transform/test-interpreter.mlir
Log Message:
-----------
[mlir][Transform] Extend transform.foreach to take multiple arguments (#93705)
Changes transform.foreach's interface to take multiple arguments, e.g.
transform.foreach %ops1, %ops2, %params : ... { ^bb0(%op1, %op2,
%param): BODY } The semantics are that the payloads for these handles
get iterated over as if the payloads have been zipped-up together - BODY
gets executed once for each such tuple. The documentation explains that
this implementation requires that the payloads have the same length.
This change also enables the target argument(s) to be any op/value/param
handle.
The added test cases demonstrate some use cases for this change.
Commit: 9afb09e674d6195faf09431dda8a3a08886ab27d
https://github.com/llvm/llvm-project/commit/9afb09e674d6195faf09431dda8a3a08886ab27d
Author: David Tenty <daltenty at ibm.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_fr_FR.pass.cpp
M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_zh_CN.pass.cpp
M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_fr_FR.pass.cpp
M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_zh_CN.pass.cpp
Log Message:
-----------
[libcxx][test][AIX] address more platform differences in locale tests (#94826)
This is a follow on to https://github.com/llvm/llvm-project/pull/92312,
where we address some more locale platform differences. These are:
- for locale fr_FR AIX libc expects `U202F` as `LC_MONETARY`
`thousands_sep`
- for locale zh_CN AIX libc `LC_MONETARY` has `n_sign_posn == 1`,
indicating the `negative_sign` should come before the `currency_symbol`
string
Commit: a5985ca51dd7e0759d65fac9cb2b6a4448ebc404
https://github.com/llvm/llvm-project/commit/a5985ca51dd7e0759d65fac9cb2b6a4448ebc404
Author: klensy <klensy at users.noreply.github.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M mlir/test/Analysis/test-liveness.mlir
M mlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir
M mlir/test/Conversion/MemRefToLLVM/convert-dynamic-memref-ops.mlir
M mlir/test/Conversion/NVGPUToNVVM/nvgpu-to-nvvm.mlir
M mlir/test/Dialect/AMX/roundtrip.mlir
M mlir/test/Dialect/Affine/loop-fusion-3.mlir
M mlir/test/Dialect/Affine/unroll.mlir
M mlir/test/Dialect/ArmSME/tile-allocation-liveness.mlir
M mlir/test/Dialect/Linalg/drop-unit-extent-dims.mlir
M mlir/test/Dialect/Linalg/fusion-elementwise-ops.mlir
M mlir/test/Dialect/Linalg/transform-ops.mlir
M mlir/test/Dialect/OpenMP/ops.mlir
M mlir/test/Dialect/SparseTensor/sparse_reshape.mlir
M mlir/test/Dialect/Tensor/canonicalize.mlir
M mlir/test/Dialect/Tosa/canonicalize.mlir
M mlir/test/Dialect/Tosa/tosa-infer-shapes.mlir
M mlir/test/Dialect/Vector/vector-dropleadunitdim-transforms.mlir
M mlir/test/IR/parser.mlir
M mlir/test/Target/LLVMIR/llvmir.mlir
M mlir/test/Target/LLVMIR/openmp-llvm.mlir
M mlir/test/Transforms/canonicalize.mlir
M mlir/test/mlir-cpu-runner/copy.mlir
M mlir/test/mlir-tblgen/bytecode-reserved.td
M mlir/test/python/ir/attributes.py
Log Message:
-----------
[mlir][test] Fix filecheck annotation typos [2/n] (#93476)
Few more fixes
previous: https://github.com/llvm/llvm-project/pull/92897 pr
Issues from https://github.com/llvm/llvm-project/issues/93154 unfixed.
---------
Co-authored-by: klensy <nightouser at gmail.com>
Commit: 2d9b6a01c7a77ee76a5c279901bca1659a550499
https://github.com/llvm/llvm-project/commit/2d9b6a01c7a77ee76a5c279901bca1659a550499
Author: Tobias Stadler <mail at stadler-tobias.de>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/CombinerInfo.h
M llvm/lib/CodeGen/GlobalISel/Combiner.cpp
M llvm/lib/Target/AArch64/GISel/AArch64O0PreLegalizerCombiner.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/localizer-arm64-tti.ll
Log Message:
-----------
[GlobalISel][AArch64] AArch64O0PreLegalizerCombiner: Disable fixed-point iteration (#94291)
This adds an option to CombinerInfo to limit the number of iterations in the
Combiner. This option is then used to disable fixed-point iteration for the
AArch64O0PreLegalizerCombiner. The combines there are simple enough that
code quality impact should be minimal with the current heuristics
(instructions are processed from top to bottom of the basic block,
new/changed instructions are added back to the worklist). Test changes
are due to some instructions not being DCE'd, which has no actual impact
because InstructionSelect performs DCE as well.
AArch64 CTMark O0:
-0.9% geomean compile-time (instruction count)
no change in size..text for any of the benchmarks
Commit: 180a536665127bded6c7ef1755e9dd0edfa8802f
https://github.com/llvm/llvm-project/commit/180a536665127bded6c7ef1755e9dd0edfa8802f
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/unittests/ProfileData/InstrProfTest.cpp
Log Message:
-----------
[ProfileData] Fix the order of tests (#95549)
Without this patch, we call getValueForSite before veryfing that we
have an expected number of value sites with getNumValueSites.
This patch fixes the order by "sinking" the call to getValueForSite.
While I am at it, this patch migrates the use of getValueForSite to
getValueArrayForSite.
Commit: bbe9119d9cb37662faafe7fe273e792b1b70145e
https://github.com/llvm/llvm-project/commit/bbe9119d9cb37662faafe7fe273e792b1b70145e
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/unittests/ProfileData/InstrProfTest.cpp
Log Message:
-----------
[ProfileData] Sink the length checks (#95559)
The new API getValueArrayForSite returns ArrayRef<InstrProfValueData>,
packaging the array length and contents together.
This patch sinks the array length checks just before we check the
contents. This way, we check both the array length and contents
immediately after calling getValueArrayForSite.
Commit: f3aceeee8a8c5fef107657dc6c4d558f3de99773
https://github.com/llvm/llvm-project/commit/f3aceeee8a8c5fef107657dc6c4d558f3de99773
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/__support/FPUtil/FMA.h
M libc/src/__support/FPUtil/generic/CMakeLists.txt
M libc/src/__support/FPUtil/generic/FMA.h
M libc/src/__support/FPUtil/multiply_add.h
M libc/src/__support/big_int.h
M libc/src/math/CMakeLists.txt
A libc/src/math/f16fmaf.h
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/expm1f.cpp
A libc/src/math/generic/f16fmaf.cpp
M libc/src/math/generic/fma.cpp
M libc/src/math/generic/fmaf.cpp
M libc/src/math/generic/range_reduction_fma.h
M libc/test/src/math/CMakeLists.txt
M libc/test/src/math/FmaTest.h
A libc/test/src/math/f16fmaf_test.cpp
M libc/test/src/math/fma_test.cpp
M libc/test/src/math/fmaf_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/FmaTest.h
A libc/test/src/math/smoke/f16fmaf_test.cpp
M libc/test/src/math/smoke/fma_test.cpp
M libc/test/src/math/smoke/fmaf_test.cpp
M libc/utils/MPFRWrapper/MPFRUtils.cpp
M libc/utils/MPFRWrapper/MPFRUtils.h
Log Message:
-----------
[libc][math][c23] Add f16fmaf C23 math function (#95483)
Part of #93566.
Commit: 2ed2975e8bd9e9e1a0f376bded1dad627d5eab4e
https://github.com/llvm/llvm-project/commit/2ed2975e8bd9e9e1a0f376bded1dad627d5eab4e
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
A llvm/test/CodeGen/RISCV/rvv/vsplats-bf16.ll
Log Message:
-----------
[RISCV] Add isel patterns for bf16 riscv_vfmv_v_f_vl of FP constant.
We try not let bf16 splats through to isel, but constant folding
allows FP constants to get through. Thankfully we can handle those
using vmv.v.i or vmv.v.x.
Commit: a4f6b7dfa42bb3e129073704a5d9544f6618d222
https://github.com/llvm/llvm-project/commit/a4f6b7dfa42bb3e129073704a5d9544f6618d222
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M .ci/generate-buildkite-pipeline-premerge
Log Message:
-----------
[lldb] Stop testing LLDB on Clang changes in pre-commit CI (#95537)
This is a temporary measure to alleviate Linux pre-commit CI waiting
times that started snowballing
[recently](https://discourse.llvm.org/t/long-wait-for-linux-presubmit-testing/79547/5).
My [initial
estimate](https://github.com/llvm/llvm-project/pull/94208#issuecomment-2155972973)
of 4 additional minutes spent per built seems to be in the right
ballpark, but looks like that was the last straw to break camel's back.
It seems that CI load got past the tipping point, and now it's not able
to burn through the queue over the night on workdays.
I don't intend to overthrow the consensus we reached in #94208, but it
shouldn't come at the expense of the whole LLVM community. I'll enable
this back as soon as we have news that we got more capacity for Linux
pre-commit CI.
Commit: 2f5ec13761fa672cb39ff147d876c2604c08bcae
https://github.com/llvm/llvm-project/commit/2f5ec13761fa672cb39ff147d876c2604c08bcae
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
Log Message:
-----------
[Transforms] Migrate to a new version of getValueProfDataFromInst (#95442)
Note that the version of getValueProfDataFromInst that returns bool
has been "deprecated" since:
commit 1e15371dd8843dfc52b9435afaa133997c1773d8
Author: Mingming Liu <mingmingl at google.com>
Date: Mon Apr 1 15:14:49 2024 -0700
---------
Co-authored-by: Mingming Liu <minglotus6 at gmail.com>
Commit: c0cba5198155dba246ddd5764f57595d9bbbddef
https://github.com/llvm/llvm-project/commit/c0cba5198155dba246ddd5764f57595d9bbbddef
Author: Vijay Kandiah <vkandiah at nvidia.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/CodeGen/FIROpPatterns.h
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/CodeGen/FIROpPatterns.cpp
M flang/test/Fir/alloc.fir
M flang/test/Fir/boxproc.fir
M flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
M flang/test/Fir/convert-to-llvm.fir
M flang/test/Integration/OpenMP/copyprivate.f90
M flang/test/Transforms/debug-local-var-2.f90
Log Message:
-----------
[Flang] Hoisting constant-sized allocas at flang codegen. (#95310)
This change modifies the `AllocaOpConversion` in flang codegen to insert
constant-sized LLVM allocas at the entry block of `LLVMFuncOp` or
OpenACC/OpenMP Op, rather than in-place at the `fir.alloca`. This
effectively hoists constant-sized FIR allocas to the proper block.
When compiling the example subroutine below with `flang-new`, we get a
llvm.stacksave/stackrestore pair around a constant-sized `fir.alloca
i32`.
```
subroutine test(n)
block
integer :: n
print *, n
end block
end subroutine test
```
Without the proposed change, downstream LLVM compilation cannot hoist
this constant-sized alloca out of the stacksave/stackrestore region
which may lead to missed downstream optimizations:
```
*** IR Dump After Safe Stack instrumentation pass (safe-stack) ***
define void @test_(ptr %0) !dbg !3 {
%2 = call ptr @llvm.stacksave.p0(), !dbg !7
%3 = alloca i32, i64 1, align 4, !dbg !8
%4 = call ptr @_FortranAioBeginExternalListOutput(i32 6, ptr @_QQclX62c91d05f046c7a656e7978eb13f2821, i32 4), !dbg !9
%5 = load i32, ptr %3, align 4, !dbg !10, !tbaa !11
%6 = call i1 @_FortranAioOutputInteger32(ptr %4, i32 %5), !dbg !10
%7 = call i32 @_FortranAioEndIoStatement(ptr %4), !dbg !9
call void @llvm.stackrestore.p0(ptr %2), !dbg !15
ret void, !dbg !16
}
```
With this change, the `llvm.alloca` is already hoisted out of the
stacksave/stackrestore region during flang codegen:
```
// -----// IR Dump After FIRToLLVMLowering (fir-to-llvm-ir) //----- //
llvm.func @test_(%arg0: !llvm.ptr {fir.bindc_name = "n"}) attributes {fir.internal_name = "_QPtest"} {
%0 = llvm.mlir.constant(4 : i32) : i32
%1 = llvm.mlir.constant(1 : i64) : i64
%2 = llvm.alloca %1 x i32 {bindc_name = "n"} : (i64) -> !llvm.ptr
%3 = llvm.mlir.constant(6 : i32) : i32
%4 = llvm.mlir.undef : i1
%5 = llvm.call @llvm.stacksave.p0() {fastmathFlags = #llvm.fastmath<contract>} : () -> !llvm.ptr
%6 = llvm.mlir.addressof @_QQclX62c91d05f046c7a656e7978eb13f2821 : !llvm.ptr
%7 = llvm.call @_FortranAioBeginExternalListOutput(%3, %6, %0) {fastmathFlags = #llvm.fastmath<contract>} : (i32, !llvm.ptr, i32) -> !llvm.ptr
%8 = llvm.load %2 {tbaa = [#tbaa_tag]} : !llvm.ptr -> i32
%9 = llvm.call @_FortranAioOutputInteger32(%7, %8) {fastmathFlags = #llvm.fastmath<contract>} : (!llvm.ptr, i32) -> i1
%10 = llvm.call @_FortranAioEndIoStatement(%7) {fastmathFlags = #llvm.fastmath<contract>} : (!llvm.ptr) -> i32
llvm.call @llvm.stackrestore.p0(%5) {fastmathFlags = #llvm.fastmath<contract>} : (!llvm.ptr) -> ()
llvm.return
}
```
---------
Co-authored-by: Vijay Kandiah <vkandiah at sky6.pgi.net>
Commit: 8b9dce333f71bc21b3534e89a41e1ea8672aa063
https://github.com/llvm/llvm-project/commit/8b9dce333f71bc21b3534e89a41e1ea8672aa063
Author: Haowei <haowei at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M libcxx/include/__chrono/exception.h
Log Message:
-----------
[libc++] Add default copy ctor to "__chrono/exception.h" (#95338)
After PR#90394, "__chrono/exception.h" will trigger
"deprecated-copy-with-user-provided-dtor" warning on Windows x64 runtime
testing with ToT Clang. This patch addresses this issue by explicitly
adding those default copy ctors.
It is a bit weird that the same warning will not happen when testing on
Linux x64 under the same condition, despite the warning flag was enabled
(with `-Wdeprecated-copy -Wdeprecated-copy-dtor`). It might be a bug.
Commit: f808abf508a6b890b40fc2594ea36ce896bb1f37
https://github.com/llvm/llvm-project/commit/f808abf508a6b890b40fc2594ea36ce896bb1f37
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCCodeView.h
M llvm/include/llvm/MC/MCContext.h
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCCodeView.cpp
M llvm/lib/MC/MCContext.cpp
M llvm/lib/MC/MCELFStreamer.cpp
M llvm/lib/MC/MCMachOStreamer.cpp
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/MC/MCPseudoProbe.cpp
M llvm/lib/MC/MCWinCOFFStreamer.cpp
M llvm/lib/MC/WinCOFFObjectWriter.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
Log Message:
-----------
[MC] Add MCFragment allocation helpers
`allocFragment` might be changed to a placement new when the allocation
strategy changes.
`allocInitialFragment` is to deduplicate the following pattern
```
auto *F = new MCDataFragment();
Result->addFragment(*F);
F->setParent(Result);
```
Pull Request: https://github.com/llvm/llvm-project/pull/95197
Commit: c7b32341e9f885cc7e6ba4b2ff017f748a6f76ee
https://github.com/llvm/llvm-project/commit/c7b32341e9f885cc7e6ba4b2ff017f748a6f76ee
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
A .github/workflows/libcxx-restart-preempted-jobs.yaml
R .github/workflows/restart-preempted-libcxx-jobs.yaml
Log Message:
-----------
[libc++] Rename workflow that restarts preempted jobs
All the libc++ workflows start with `libcxx-`, so use that prefix for
this job as well. Also, remove trailing whitespace from the yaml file.
Commit: 9a92f2f742347d9b31470349f3b777ecab580ac1
https://github.com/llvm/llvm-project/commit/9a92f2f742347d9b31470349f3b777ecab580ac1
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/docs/UsersManual.rst
M clang/lib/Basic/Diagnostic.cpp
M clang/test/Modules/Inputs/implicit-built-Werror-using-W/convert.h
M clang/test/Modules/implicit-built-Werror-using-W.cpp
M clang/test/Preprocessor/pragma_diagnostic.c
M clang/test/Sema/implicit-decl.c
Log Message:
-----------
Make diagnostic pragma override -Werror=foo and DefaultError warnings
In GCC, `#pragma GCC diagnostic warning "-Wfoo"` overrides command-line
`-Werror=foo` and errors that can become warnings (pedwarn with
-pedantic-errors and permerror).
```
#pragma GCC diagnostic warning "-Wnarrowing"
int x = {4.2};
#pragma GCC diagnostic warning "-Wundef"
#if FOO
#endif
// gcc -c -Werror=undef -Werror=narrowing => two warnings
```
These diagnostics are similar to our Warning/ExtWarn/Extension
diagnostics with DefaultError. This patch ports the behavior to Clang.
Fix #93474
Pull Request: https://github.com/llvm/llvm-project/pull/93647
Commit: 72b841d016c7403ac1f7678d25b864dac80d06dc
https://github.com/llvm/llvm-project/commit/72b841d016c7403ac1f7678d25b864dac80d06dc
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Analysis/IndirectCallPromotionAnalysis.cpp
Log Message:
-----------
[Analysis] Migrate to a new version of getValueProfDataFromInst (#95561)
Note that the version of getValueProfDataFromInst that returns bool
has been "deprecated" since:
commit 1e15371dd8843dfc52b9435afaa133997c1773d8
Author: Mingming Liu <mingmingl at google.com>
Date: Mon Apr 1 15:14:49 2024 -0700
Commit: b1932b8483011c2bfebbea1ef56a565634570e6b
https://github.com/llvm/llvm-project/commit/b1932b8483011c2bfebbea1ef56a565634570e6b
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCELFStreamer.h
M llvm/include/llvm/MC/MCSection.h
M llvm/include/llvm/MC/MCWasmStreamer.h
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCELFStreamer.cpp
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/MC/MCSection.cpp
M llvm/lib/MC/MCWasmStreamer.cpp
M llvm/test/MC/X86/AlignedBundling/misaligned-bundle-group.s
M llvm/test/MC/X86/AlignedBundling/misaligned-bundle.s
Log Message:
-----------
[MC] Aligned bundling: remove special handling for RelaxAll
When both aligned bundling and RelaxAll are enabled, bundle padding is
directly written into fragments (https://reviews.llvm.org/D8072).
(The original motivation was memory usage, which has been achieved from
different angles with recent assembler improvement).
The code presents challenges with the work to replace fragment
representation (e.g. #94950 #95077). This patch removes the special
handling. RelaxAll still works but the behavior seems slightly different
as revealed by 2 changed tests. However, most `-mc-relax-all` tests are
unchanged.
RelaxAll used to be the default for clang -O0. This mode has significant
code size drawbacks and newer Clang doesn't use it (#90013).
---
flushPendingLabels: The FOffset parameter can be removed: pending labels
will be assigned to the incoming fragment at offset 0.
Pull Request: https://github.com/llvm/llvm-project/pull/95188
Commit: e7e90dd1c1014b4a7ef77f74af3682168d23ddbf
https://github.com/llvm/llvm-project/commit/e7e90dd1c1014b4a7ef77f74af3682168d23ddbf
Author: Brian Favela <brianfavela at microsoft.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIPeepholeSDWA.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/cvt_f32_ubyte.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/fshl.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/fshr.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.abs.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/saddsat.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/ssubsat.ll
M llvm/test/CodeGen/AMDGPU/cvt_f32_ubyte.ll
M llvm/test/CodeGen/AMDGPU/fract-match.ll
M llvm/test/CodeGen/AMDGPU/fshr.ll
M llvm/test/CodeGen/AMDGPU/idiv-licm.ll
M llvm/test/CodeGen/AMDGPU/idot4u.ll
M llvm/test/CodeGen/AMDGPU/llvm.frexp.ll
M llvm/test/CodeGen/AMDGPU/machine-sink-temporal-divergence-swdev407790.ll
M llvm/test/CodeGen/AMDGPU/permute_i8.ll
M llvm/test/CodeGen/AMDGPU/reassoc-mul-add-1-to-mad.ll
M llvm/test/CodeGen/AMDGPU/sdwa-peephole.ll
M llvm/test/CodeGen/AMDGPU/sminmax.v2i16.ll
Log Message:
-----------
[AMDGPU] Adding multiple use analysis to SIPeepholeSDWA (#94800)
Allow for multiple uses of an operand where each instruction can be
promoted to SDWA.
For instance:
; v_and_b32 v2, lit(0x0000ffff), v2
; v_and_b32 v3, 6, v2
; v_and_b32 v2, 1, v2
Can be folded to:
; v_and_b32 v3, 6, sel_lo(v2)
; v_and_b32 v2, 1, sel_lo(v2)
Commit: b7599da44983e3921116991bc6de1f10d2c1c3d9
https://github.com/llvm/llvm-project/commit/b7599da44983e3921116991bc6de1f10d2c1c3d9
Author: RoseZhang03 <rosezhang at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M libc/spec/stdc.td
Log Message:
-----------
[libc] Fixed NamedType usage in Fenv HeaderSpec Types (#95487)
Issue: NamedType<"fenv_t"> and NamedType<"fexcept_t"> were used in Fenv
HeaderSpec Types section instead of the actual NamedType
Fixed: Changed to FEnvT and FExceptT
Commit: 38fd0181a065784afdf9b170fe3988aff01aab66
https://github.com/llvm/llvm-project/commit/38fd0181a065784afdf9b170fe3988aff01aab66
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/Runtime/RTBuilder.h
M flang/include/flang/Optimizer/Builder/Runtime/Reduction.h
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/Builder/Runtime/Reduction.cpp
M flang/test/Lower/Intrinsics/reduce.f90
Log Message:
-----------
[flang] Lower REDUCE intrinsic for reduction op with args by value (#95353)
#95297 Updates the runtime entry points to distinguish between reduction
operation with arguments passed by value or by reference. Add lowering
to support the arguments passed by value.
Commit: 29d857f183fe6159c3265d6cee8c87419eb615ad
https://github.com/llvm/llvm-project/commit/29d857f183fe6159c3265d6cee8c87419eb615ad
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Transforms/Passes.h
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/include/flang/Tools/CLOptions.inc
M flang/lib/Optimizer/Transforms/CMakeLists.txt
A flang/lib/Optimizer/Transforms/StackReclaim.cpp
M flang/test/Driver/bbc-mlir-pass-pipeline.f90
M flang/test/Driver/mlir-debug-pass-pipeline.f90
M flang/test/Driver/mlir-pass-pipeline.f90
M flang/test/Fir/basic-program.fir
A flang/test/Transforms/stack-reclaime.fir
Log Message:
-----------
[flang] Add stack reclaim pass to reclaim allocas in loop (#95309)
Some passes in the flang pipeline are creating `fir.alloca` operation
like `hlfir.concat`. When these allocas are located in a loop, the stack
can quickly be used too much leading to segfaults.
This behavior can be seen in
https://github.com/jacobwilliams/json-fortran/blob/master/src/tests/jf_test_36.F90
This patch insert a call to LLVM stacksave/stackrestore in the body of
the loop to reclaim the alloca in its scope.
This PR is an alternative implementation to #95173
Commit: a43d79af782e2730b170c04db49f4c3040399d97
https://github.com/llvm/llvm-project/commit/a43d79af782e2730b170c04db49f4c3040399d97
Author: Peiming Liu <peiming at google.com>
Date: 2024-06-14 (Fri, 14 Jun 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/canonicalize.mlir
Log Message:
-----------
[mlir][sparse] add canonicalization patterns for IterateOp. (#95569)
Commit: eca988aa4420f33810f9830c80ff9f149b7928ff
https://github.com/llvm/llvm-project/commit/eca988aa4420f33810f9830c80ff9f149b7928ff
Author: Haowei Wu <haowei at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/riscv/entrypoints.txt
Log Message:
-----------
Revert "[libc] printf, putchar and vprintf in bareemetal entrypoints (#95436)"
This reverts commit b1de42a81d838bb0c6dea7d2436820a2456c730b, which
breaks libc build for baremetal targets.
Commit: 6f538f6a2d3224efda985e9eb09012fa4275ea92
https://github.com/llvm/llvm-project/commit/6f538f6a2d3224efda985e9eb09012fa4275ea92
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/lib/Transforms/Vectorize/VPlanValue.h
M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
Log Message:
-----------
Revert "Recommit "[VPlan] First step towards VPlan cost modeling. (#92555)""
This reverts commit 90fd99c0795711e1cf762a02b29b0a702f86a264.
This reverts commit 43e6f46936e177e47de6627a74b047ba27561b44.
Causes crashes, see comments on https://github.com/llvm/llvm-project/pull/92555.
Commit: 3a47d948ba1b0ebe99ff068ddf28fe9e6043e932
https://github.com/llvm/llvm-project/commit/3a47d948ba1b0ebe99ff068ddf28fe9e6043e932
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M flang/include/flang/Lower/ConvertConstant.h
M flang/lib/Lower/ConvertConstant.cpp
M flang/lib/Lower/ConvertVariable.cpp
M flang/test/Lower/CUDA/cuda-data-attribute.cuf
Log Message:
-----------
[flang][cuda] Propagate data attribute to global with initialization (#95504)
Global with initial value were missing the CUDA data attribute.
Commit: e84ecf26fa5d9a4be4da078a1f85e988731308af
https://github.com/llvm/llvm-project/commit/e84ecf26fa5d9a4be4da078a1f85e988731308af
Author: Stefan Pintilie <stefanp at ca.ibm.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
A llvm/test/CodeGen/PowerPC/subreg-lanemasks.mir
Log Message:
-----------
[NFC][PowerPC] Add test to check lanemasks for subregisters. (#94363)
This change adds a test case to check the lane masks for a varitey of
subregisters.
Commit: 3ecba1ad1f6d2e961948ddfdb165f22621d0788f
https://github.com/llvm/llvm-project/commit/3ecba1ad1f6d2e961948ddfdb165f22621d0788f
Author: Youngsuk Kim <joseph942010 at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M compiler-rt/lib/memprof/CMakeLists.txt
Log Message:
-----------
[compiler-rt] Remove 'memprof_meminfoblock.h' from MEMPROF_HEADERS (NFC) (#95334)
Commit 8306968b592d942cc49bde2e387061e673a9fbb7 deleted file
`compiler-rt/lib/memprof/memprof_meminfoblock.h`, but didn't remove it
from MEMPROF_HEADERS in `compiler-rt/lib/memprof/CMakeLists.txt`.
Remove unneeded leftover line in
`compiler-rt/lib/memprof/CMakeLists.txt`.
p.s.
GH #54777 reported a llvm14 build failure due to the existence of the
leftover line, but I'm unable to reproduce the build failure with llvm19
trunk.
Commit: b6fd6d4cc53d263c586264d1476265fbdcc0ba21
https://github.com/llvm/llvm-project/commit/b6fd6d4cc53d263c586264d1476265fbdcc0ba21
Author: Chris B <chris.bieneman at me.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/include/clang/AST/PrettyPrinter.h
M clang/lib/AST/TypePrinter.cpp
M clang/test/AST/HLSL/pch.hlsl
M clang/test/AST/HLSL/pch_with_buf.hlsl
M clang/test/AST/HLSL/vector-alias.hlsl
M clang/test/AST/HLSL/vector-constructors.hlsl
M clang/test/SemaHLSL/BuiltIns/RWBuffers.hlsl
M clang/test/SemaHLSL/BuiltIns/clamp-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/dot-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/lerp-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/mad-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/vector-errors.hlsl
M clang/test/SemaHLSL/Types/BuiltinVector/ScalarSwizzleErrors.hlsl
M clang/test/SemaHLSL/Types/BuiltinVector/ScalarSwizzles.hlsl
M clang/test/SemaHLSL/VectorOverloadResolution.hlsl
M clang/test/SemaHLSL/standard_conversion_sequences.hlsl
Log Message:
-----------
[HLSL] Use hlsl vector template in type printer (#95489)
In HLSL we really want to be using the HLSL vector template and other
built-in sugared spellings for some builtin types. This updates the type
printer to take an option to use HLSL type spellings.
This changes printing vector type names from:
```
T __attribute__((ext_vector_type(N)))
```
To:
```
vector<T, N>
```
Commit: 46c8f25b0a7d664d4ef3b8d6376815a877788463
https://github.com/llvm/llvm-project/commit/46c8f25b0a7d664d4ef3b8d6376815a877788463
Author: Akira Hatanaka <ahatanak at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/lib/AST/Decl.cpp
Log Message:
-----------
Check whether EvaluatedStmt::Value is valid in VarDecl::hasInit (#94515)
VarDecl::isNull() doesn't tell whether the VarDecl has an initializer as
methods like ensureEvaluatedStmt can create an EvaluatedStmt even when
there isn't an initializer.
Revert e1c3e16d24b5cc097ff08e9283f53319acd3f245 as the change isn't
needed anymore with this change.
See the discussion in https://github.com/llvm/llvm-project/pull/93749.
Commit: a66e2a1988cb14ec2feadfbc3dd1ff4bd77f4be9
https://github.com/llvm/llvm-project/commit/a66e2a1988cb14ec2feadfbc3dd1ff4bd77f4be9
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M libcxx/docs/Status/Cxx2cIssues.csv
M libcxx/include/__memory/shared_ptr.h
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter_allocator.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_allocator.pass.cpp
Log Message:
-----------
[libc++] Revert temporary attempt to implement LWG 4110 (#95263)
When I filed LWG4110 after the discussion in #93071, I thought it was
going to be a straightforward fix. It turns out that it isn't, so we
should stay in the state where libc++ is Standards conforming even if
that state leads to some reasonable code being rejected by the library.
Once WG21 figures out what to do with this issue and votes on it, we'll
implement it through our normal means.
This reverts f638f7b6a7c2 and 16f2aa1a2ddf.
Commit: ade28a77ed17760bf2fde57c6571b69489b0bac0
https://github.com/llvm/llvm-project/commit/ade28a77ed17760bf2fde57c6571b69489b0bac0
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang-tools-extra/clang-doc/tool/CMakeLists.txt
Log Message:
-----------
[clang-doc][cmake] Copy assets to build directory (#95187)
While we copy the asset files, like index.js, into the correct location
in the install step, tests do not have access to those resources in the
build directory.
This patch copies the contents of the clang-doc/assets directory into
the build folder, so that they can be used in testing.
Pull Request: https://github.com/llvm/llvm-project/pull/95185
Commit: e7d563501f056d0ae54440468df04b04c10f8070
https://github.com/llvm/llvm-project/commit/e7d563501f056d0ae54440468df04b04c10f8070
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M libcxx/docs/Status/Cxx20Issues.csv
M libcxx/include/__memory/shared_ptr.h
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter_allocator.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_allocator.pass.cpp
R libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/types.h
Log Message:
-----------
[libc++] Revert LWG3223 Broken requirements for shared_ptr converting constructors (#93071)
This reverts commit d868f0970, which was shown to break some code and we
don't know yet whether the code should be valid or not. Reverting until
we've had time to figure it out next week.
Commit: 1551c094e8afe674eaafc20e17bcd9b2f830b7de
https://github.com/llvm/llvm-project/commit/1551c094e8afe674eaafc20e17bcd9b2f830b7de
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIROpsSupport.h
M flang/lib/Lower/CallInterface.cpp
M flang/test/Lower/OpenMP/declare-target-func-and-subr.f90
M flang/test/Lower/OpenMP/declare-target-implicit-func-and-subr-cap-enter.f90
M flang/test/Lower/OpenMP/declare-target-implicit-func-and-subr-cap.f90
M flang/test/Lower/OpenMP/declare-target-implicit-tarop-cap.f90
A flang/test/Lower/func-attrs.f90
M flang/test/Lower/host-associated.f90
Log Message:
-----------
[flang] Lower function/subroutine attribute to func op (#95468)
Keep track of the Fortran procedure attributes on the func operation.
Commit: f6947e479e14e7904aa0b2539a95f5dfdc8f9295
https://github.com/llvm/llvm-project/commit/f6947e479e14e7904aa0b2539a95f5dfdc8f9295
Author: Florian Mayer <fmayer at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64Subtarget.h
M llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-lse2_lse128.ll
M llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-v8_1a.ll
M llvm/test/CodeGen/AArch64/Atomics/aarch64_be-atomicrmw-lse2_lse128.ll
M llvm/test/CodeGen/AArch64/Atomics/aarch64_be-atomicrmw-v8_1a.ll
M llvm/test/CodeGen/AArch64/GlobalISel/arm64-atomic-128.ll
M llvm/test/CodeGen/AArch64/aarch64-interleaved-access-w-undef.ll
M llvm/test/CodeGen/AArch64/aarch64-neon-vector-insert-uaddlv.ll
M llvm/test/CodeGen/AArch64/aarch64-sysreg128.ll
M llvm/test/CodeGen/AArch64/arm64-atomic-128.ll
M llvm/test/CodeGen/AArch64/arm64-dup.ll
M llvm/test/CodeGen/AArch64/arm64-indexed-vector-ldst.ll
M llvm/test/CodeGen/AArch64/arm64-ld1.ll
M llvm/test/CodeGen/AArch64/arm64-neon-copy.ll
M llvm/test/CodeGen/AArch64/arm64-neon-copyPhysReg-tuple.ll
M llvm/test/CodeGen/AArch64/arm64-tbl.ll
M llvm/test/CodeGen/AArch64/arm64-zip.ll
M llvm/test/CodeGen/AArch64/atomicrmw-xchg-fp.ll
M llvm/test/CodeGen/AArch64/bf16-shuffle.ll
M llvm/test/CodeGen/AArch64/build-vector-two-dup.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-multiuses.ll
M llvm/test/CodeGen/AArch64/extract-vector-elt.ll
M llvm/test/CodeGen/AArch64/fp-conversion-to-tbl.ll
M llvm/test/CodeGen/AArch64/fptoi.ll
M llvm/test/CodeGen/AArch64/fptosi-sat-vector.ll
M llvm/test/CodeGen/AArch64/fptoui-sat-vector.ll
M llvm/test/CodeGen/AArch64/insert-subvector.ll
M llvm/test/CodeGen/AArch64/neon-bitwise-instructions.ll
M llvm/test/CodeGen/AArch64/neon-extracttruncate.ll
M llvm/test/CodeGen/AArch64/neon-reverseshuffle.ll
M llvm/test/CodeGen/AArch64/neon-widen-shuffle.ll
M llvm/test/CodeGen/AArch64/seqpairspill.mir
M llvm/test/CodeGen/AArch64/shuffle-tbl34.ll
M llvm/test/CodeGen/AArch64/shuffles.ll
M llvm/test/CodeGen/AArch64/shufflevector.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-add-sub-za16.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-add.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-cvtn.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-fmlas.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-fp-dots.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-insert-mova.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-int-dots.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-max.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-min.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-mlall.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-mlals.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-rshl.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-select-sme-tileslice.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-sqdmulh.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-sub.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-vdot.ll
M llvm/test/CodeGen/AArch64/sve-fixed-length-shuffles.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-stN-reg-imm-addr-mode.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-stN-reg-reg-addr-mode.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-stores.ll
M llvm/test/CodeGen/AArch64/sve-merging-stores.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ld2-alloca.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-shuffle.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-perm-tb.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-bfclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-fclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-multivec-stores.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-sclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-selx4.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-stores.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-uclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-uzpx4.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-while-pp.ll
M llvm/test/CodeGen/AArch64/swift-error-unreachable-use.ll
M llvm/test/CodeGen/AArch64/tbl-loops.ll
M llvm/test/CodeGen/AArch64/trunc-to-tbl.ll
M llvm/test/CodeGen/AArch64/vldn_shuffle.ll
Log Message:
-----------
Revert " [AArch64][SME] Enable subreg liveness tracking when SME is available" (#95574)
Reverts llvm/llvm-project#92142
For now sending this to run on CI
Commit: 436872693a8a57487bf4510437183878d1e35cfb
https://github.com/llvm/llvm-project/commit/436872693a8a57487bf4510437183878d1e35cfb
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M lldb/test/API/lit.cfg.py
Log Message:
-----------
[lldb] Tweak Python interpreter workaround on macOS (#95582)
Avoid copying the Python interpreter when running in a virtual
environment as it will already have its own copy of the Python
interpreter. Also leave a breadcrumb that we're running with a different
Python interpreter.
Commit: 2ecb1ab6d701b6b4ec451f2c402c80c9fb9dcb14
https://github.com/llvm/llvm-project/commit/2ecb1ab6d701b6b4ec451f2c402c80c9fb9dcb14
Author: Aviad Cohen <aviadcohen7 at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/SCF/Utils/Utils.h
M mlir/lib/Dialect/SCF/Utils/Utils.cpp
Log Message:
-----------
[mlir][scf]: Removed LoopParams struct and used Range instead (NFC) (#95501)
Commit: b1f9440fa9286638bb1fe72a14d220770d1987cc
https://github.com/llvm/llvm-project/commit/b1f9440fa9286638bb1fe72a14d220770d1987cc
Author: Thorsten Schütt <schuett at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
M llvm/include/llvm/CodeGen/MachineInstr.h
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/MIRParser/MILexer.cpp
M llvm/lib/CodeGen/MIRParser/MILexer.h
M llvm/lib/CodeGen/MIRPrinter.cpp
M llvm/lib/CodeGen/MachineInstr.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator-gep.ll
M llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator-switch.ll
A llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-gep-flags.ll
M llvm/test/CodeGen/AArch64/arm64-this-return.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/function-returns.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call-return-values.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call-sret.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-sibling-call.ll
M llvm/test/CodeGen/Mips/GlobalISel/irtranslator/aggregate_struct_return.ll
M llvm/test/CodeGen/Mips/GlobalISel/irtranslator/sret_pointer.ll
M llvm/test/CodeGen/Mips/GlobalISel/irtranslator/var_arg.ll
M llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/calling-conv-ilp32-ilp32f-ilp32d-common.ll
M llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/calling-conv-lp64-lp64f-lp64d-common.ll
M llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/vararg.ll
M llvm/test/CodeGen/X86/GlobalISel/x86_64-irtranslator-struct-return.ll
Log Message:
-----------
[GlobalIsel] Import GEP flags (#93850)
https://github.com/llvm/llvm-project/pull/90824
Commit: 1af1c9fb98e5c99ce2aa3a9af8ede489ea85c745
https://github.com/llvm/llvm-project/commit/1af1c9fb98e5c99ce2aa3a9af8ede489ea85c745
Author: Stefan Pintilie <stefanp at ca.ibm.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/test/CodeGen/PowerPC/subreg-lanemasks.mir
Log Message:
-----------
[NFC][PowerPC] Update the option to -enable-subreg-liveness.
Commit: 005758eb6b35aaf548c3a59da860ecd2465a73f0
https://github.com/llvm/llvm-project/commit/005758eb6b35aaf548c3a59da860ecd2465a73f0
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M libc/src/__support/fixedvector.h
M libc/src/stdlib/CMakeLists.txt
M libc/src/stdlib/block.h
M libc/src/stdlib/freelist.h
M libc/src/stdlib/freelist_heap.h
A libc/src/stdlib/freelist_malloc.cpp
A libc/src/stdlib/realloc.h
M libc/test/src/stdlib/CMakeLists.txt
M libc/test/src/stdlib/freelist_heap_test.cpp
A libc/test/src/stdlib/freelist_malloc_test.cpp
Log Message:
-----------
[libc][stdlib] Make the FreeListHeap constant-initializable (#95453)
This refactors some of the FreeListHeap, FreeList, and Block classes to
have constexpr ctors so we can constinit a global allocator that does
not require running some global function or global ctor to initialize.
This is needed to prevent worrying about initialization order and any
other module-ctor can invoke malloc without worry.
Commit: cc7a18c18011d1e0c70187ceb60e3e69bf7cd0ee
https://github.com/llvm/llvm-project/commit/cc7a18c18011d1e0c70187ceb60e3e69bf7cd0ee
Author: Jeremy Day <jeremy at thebrowser.company>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Support/CMakeLists.txt
Log Message:
-----------
Set Support system_libs if WIN32, not just MSVC or MINGW (#95505)
The previous check was false when compiling with `clang++`, which
prevented `ntdll` from being specified as a link library, causing an
undefined symbol error when trying to resolve `RtlGetLastNtStatus`.
Since we always want to link these libraries on Windows, the check can
be simplified to just `if( WIN32 )`.
Commit: c63b9a5af72a7d83d936c12ae4bc79828c073edf
https://github.com/llvm/llvm-project/commit/c63b9a5af72a7d83d936c12ae4bc79828c073edf
Author: Nico Weber <thakis at chromium.org>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/test/Interpreter/inline-virtual.cpp
M clang/unittests/Interpreter/InterpreterTest.cpp
Log Message:
-----------
[clang-interp] Use -fno-sized-deallocation in two tests (#95546)
At least on my Windows machine, these two tests fail due to not being
able to look up `??3 at YAXPEAX_K@Z` (which is
`void __cdecl operator delete(void *, unsigned __int64)` in demangled)
after 130e93cc26ca. Since they don't test anything related to sized
deallocation, just disable sized allocation for them.
Possibly fixes #95451.
Commit: 445fc51800d391d0c912d8c6c918b016e0604319
https://github.com/llvm/llvm-project/commit/445fc51800d391d0c912d8c6c918b016e0604319
Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M lldb/test/Shell/SymbolFile/DWARF/x86/apple-index-is-used.cpp
Log Message:
-----------
[lldb][test] Force dwarf4 usage in test requiring it (#95449)
This test is explicitly checking for dwarf 4 behavior on Apple
platforms, so we should explicitly use the dwarf4 flag.
Related to https://github.com/llvm/llvm-project/pull/95164
Commit: feed66f3eae5006bb05e6cb34801930fd940daa8
https://github.com/llvm/llvm-project/commit/feed66f3eae5006bb05e6cb34801930fd940daa8
Author: Cyndy Ishida <cyndy_ishida at apple.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticInstallAPIKinds.td
A clang/include/clang/InstallAPI/DirectoryScanner.h
M clang/include/clang/InstallAPI/HeaderFile.h
A clang/include/clang/InstallAPI/Library.h
M clang/include/clang/InstallAPI/MachO.h
M clang/lib/InstallAPI/CMakeLists.txt
A clang/lib/InstallAPI/DirectoryScanner.cpp
A clang/lib/InstallAPI/Library.cpp
M clang/test/InstallAPI/asm.test
M clang/test/InstallAPI/basic.test
M clang/test/InstallAPI/binary-attributes.test
M clang/test/InstallAPI/cpp.test
M clang/test/InstallAPI/diagnostics-dsym.test
A clang/test/InstallAPI/directory-scanning-dylib.test
A clang/test/InstallAPI/directory-scanning-frameworks.test
M clang/test/InstallAPI/functions.test
M clang/test/InstallAPI/variables.test
M clang/tools/clang-installapi/Options.cpp
M clang/tools/clang-installapi/Options.h
Log Message:
-----------
[InstallAPI] Pick up input headers by directory traversal (#94508)
Match TAPI behavior and allow input headers to be resolved via a passed
directory, which is expected to be a library sitting in a build
directory.
Commit: 53c93a33be8cc78c35eccbe75053344fc9b2346b
https://github.com/llvm/llvm-project/commit/53c93a33be8cc78c35eccbe75053344fc9b2346b
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/InstallAPI/BUILD.gn
Log Message:
-----------
[gn build] Port feed66f3eae5
Commit: 4184d33369a9dce391977220683e3f1975bf1fc9
https://github.com/llvm/llvm-project/commit/4184d33369a9dce391977220683e3f1975bf1fc9
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/include/clang/Format/Format.h
M clang/include/clang/Frontend/PrecompiledPreamble.h
M clang/include/clang/Frontend/SerializedDiagnosticReader.h
M clang/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp
Log Message:
-----------
[Clang][NFC] Avoid opening namespace std (#95470)
Never opening `namespace std` avoids even the possibility of introducing
new symbols as well as making the code a bit shorter by removing
unnecessary boiler plate.
Commit: 38d8f6e58430357856926498185b2b221afc1d2c
https://github.com/llvm/llvm-project/commit/38d8f6e58430357856926498185b2b221afc1d2c
Author: Michael Jones <michaelrj at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M libc/src/stdio/putchar.h
Log Message:
-----------
[libc] Remove unnecessary include from putchar.h (#95576)
The putchar header was including the public stdio.h. It doesn't need to
do that and it was causing build failures for downstream baremetal users
so this patch fixes it.
Commit: cccc43725798de5371eb893f11f3940e6a954a0f
https://github.com/llvm/llvm-project/commit/cccc43725798de5371eb893f11f3940e6a954a0f
Author: Michael Jones <michaelrj at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M libc/src/__support/blockstore.h
Log Message:
-----------
[libc] add LIBC_INLINE annotations to BlockStore (#95573)
Add the LIBC_INLINE annotation to all the functions in blockstore.
Commit: 41fecca97b77a80926cb1b1a83c8af3c90d354bd
https://github.com/llvm/llvm-project/commit/41fecca97b77a80926cb1b1a83c8af3c90d354bd
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M libc/config/config.json
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/api.td
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/configure.rst
M libc/include/CMakeLists.txt
M libc/include/llvm-libc-types/CMakeLists.txt
A libc/include/llvm-libc-types/pthread_rwlock_t.h
M libc/include/pthread.h.def
M libc/spec/posix.td
M libc/spec/spec.td
M libc/src/__support/macros/attributes.h
M libc/src/__support/threads/linux/CMakeLists.txt
A libc/src/__support/threads/linux/rwlock.h
M libc/src/pthread/CMakeLists.txt
A libc/src/pthread/pthread_rwlock_destroy.cpp
A libc/src/pthread/pthread_rwlock_destroy.h
A libc/src/pthread/pthread_rwlock_init.cpp
A libc/src/pthread/pthread_rwlock_init.h
A libc/src/pthread/pthread_rwlock_rdlock.cpp
A libc/src/pthread/pthread_rwlock_rdlock.h
A libc/src/pthread/pthread_rwlock_timedrdlock.cpp
A libc/src/pthread/pthread_rwlock_timedrdlock.h
A libc/src/pthread/pthread_rwlock_timedwrlock.cpp
A libc/src/pthread/pthread_rwlock_timedwrlock.h
A libc/src/pthread/pthread_rwlock_tryrdlock.cpp
A libc/src/pthread/pthread_rwlock_tryrdlock.h
A libc/src/pthread/pthread_rwlock_trywrlock.cpp
A libc/src/pthread/pthread_rwlock_trywrlock.h
A libc/src/pthread/pthread_rwlock_unlock.cpp
A libc/src/pthread/pthread_rwlock_unlock.h
A libc/src/pthread/pthread_rwlock_wrlock.cpp
A libc/src/pthread/pthread_rwlock_wrlock.h
M libc/test/integration/src/pthread/CMakeLists.txt
A libc/test/integration/src/pthread/pthread_rwlock_test.cpp
Log Message:
-----------
[libc] add rwlock (#94156)
Commit: a506279e5c5d5668e66b0749c26a93d8d373931a
https://github.com/llvm/llvm-project/commit/a506279e5c5d5668e66b0749c26a93d8d373931a
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M flang/include/flang/Tools/CLOptions.inc
M flang/lib/Optimizer/HLFIR/Transforms/InlineElementals.cpp
M flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIRIntrinsics.cpp
M flang/lib/Optimizer/HLFIR/Transforms/OptimizedBufferization.cpp
M flang/lib/Optimizer/Transforms/AssumedRankOpConversion.cpp
M flang/lib/Optimizer/Transforms/StackArrays.cpp
M mlir/include/mlir/Transforms/GreedyPatternRewriteDriver.h
M mlir/include/mlir/Transforms/Passes.h
M mlir/include/mlir/Transforms/Passes.td
M mlir/include/mlir/Transforms/RegionUtils.h
M mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
M mlir/lib/Transforms/Utils/RegionUtils.cpp
M mlir/test/Dialect/SPIRV/Transforms/canonicalize.mlir
M mlir/test/Pass/run-reproducer.mlir
M mlir/test/Transforms/canonicalize-block-merge.mlir
M mlir/test/Transforms/canonicalize-dce.mlir
M mlir/test/Transforms/canonicalize.mlir
M mlir/test/Transforms/test-canonicalize.mlir
Log Message:
-----------
[mlir] Do not merge blocks during canonicalization by default (#95057)
This is a heavy process, and it can trigger a massive explosion in
adding block arguments. While potentially reducing the code size, the
resulting merged blocks with arguments are hiding some of the def-use
chain and can even hinder some further analyses/optimizations: a merge
block does not have it's own path-sensitive context, instead the context
is merged from all the predecessors.
Previous behavior can be restored by passing:
{test-convergence region-simplify=aggressive}
to the canonicalize pass.
Commit: 2f18381b905ab3a7872ac518bf19f6f3afb333df
https://github.com/llvm/llvm-project/commit/2f18381b905ab3a7872ac518bf19f6f3afb333df
Author: Vijay Kandiah <vkandiah at nvidia.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M flang/lib/Optimizer/CodeGen/CMakeLists.txt
Log Message:
-----------
[flang] Fix shared libs build for alloca change. (#95597)
My recent change broke shared library builds. This update to flang CodeGen CMakeLists.txt fixes shared builds.
Commit: 2146d12eb9401d488ad916fc9227b5f24bcfa5c4
https://github.com/llvm/llvm-project/commit/2146d12eb9401d488ad916fc9227b5f24bcfa5c4
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M libc/src/__support/macros/attributes.h
Log Message:
-----------
[libc] fix preferred_type attribute detection (#95599)
Commit: 7091dd277a1e2349f33390be9f3ccf21bff39003
https://github.com/llvm/llvm-project/commit/7091dd277a1e2349f33390be9f3ccf21bff39003
Author: Tim Gymnich <tim at gymni.ch>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
A llvm/test/CodeGen/AMDGPU/abs_i16.ll
Log Message:
-----------
[AMDGPU] Fix lowering of abs for i16 vectors with more than 2 elements (#95413)
fixes #94606
Expansion of `ABS` for `i16` vectors with more than 2 elements is
currently falling back to scalarization of the vector.
This PR adds a custom lowering for `ABS` on `i16` vectors that splits
the vector into multiple `<2 x i 16>` vectors.
Commit: e7acb3792b8ba971bda2c9564ed26c2a60a2ddbc
https://github.com/llvm/llvm-project/commit/e7acb3792b8ba971bda2c9564ed26c2a60a2ddbc
Author: Angel Zhang <anzhouzhang913 at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
R mlir/test/mlir-vulkan-runner/vector-deinterleave.mlir
Log Message:
-----------
Revert "[mlir][spirv] Add integration test for `vector.deinterleave`" (#95607)
Reverts llvm/llvm-project#95469 because using literals instead of
`arith.constant` as indices broke the tests.
Commit: 40a72f8cc414726a8be234a260650fd62354da21
https://github.com/llvm/llvm-project/commit/40a72f8cc414726a8be234a260650fd62354da21
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.cpp
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/reduction-recurrence-costs-sve.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-chains.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-complex.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-multiply-recurrences.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence.ll
Log Message:
-----------
[VPlan] Support extracting any lane of uniform value.
If the value we are extracting a lane from is uniform, only the first
lane will be set. Return lane 0 for any requested lane.
This fixes a crash when trying to extract the last lane for a
first-order recurrence resume value.
Fixes https://github.com/llvm/llvm-project/issues/95520.
Commit: 6355fb45a5433d90a3f1a342920ff56a7fee7e16
https://github.com/llvm/llvm-project/commit/6355fb45a5433d90a3f1a342920ff56a7fee7e16
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/TargetLoweringBase.cpp
M llvm/test/CodeGen/RISCV/half-intrinsics.ll
M llvm/test/CodeGen/WebAssembly/simd-unsupported.ll
M llvm/test/Transforms/LoopVectorize/intrinsic.ll
Log Message:
-----------
[CodeGen] Support vectors across all backends (#95518)
Add a default f16 type promotion
Commit: 19ad7a046b5cf435ba95c100170fc0e36231d620
https://github.com/llvm/llvm-project/commit/19ad7a046b5cf435ba95c100170fc0e36231d620
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M lldb/include/lldb/Utility/SupportFile.h
Log Message:
-----------
[lldb] Fix the semantics of SupportFile equivalence (#95606)
Currently, two SupportFiles with the same FileSpec are considered
different if one of them has a Checksum and the other doesn't. However,
this is overly strict. It's totally valid to mix LineTables that do and
do not contain Checksums. This patch makes it so that the Checksum is
only compared if both SupportFiles have a valid Checksum.
Commit: f00f11bf860cd7c4fe030cd43cc7e0d94825ca10
https://github.com/llvm/llvm-project/commit/f00f11bf860cd7c4fe030cd43cc7e0d94825ca10
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M libc/src/__support/threads/linux/rwlock.h
M libc/test/integration/src/pthread/pthread_rwlock_test.cpp
Log Message:
-----------
[libc] fix build errors (#95600)
Bitfield conversion problem tested at: https://godbolt.org/z/dxjhs5Ghr
Commit: 3d25e5ae996d709cf1496f0c6823f6a82f51831e
https://github.com/llvm/llvm-project/commit/3d25e5ae996d709cf1496f0c6823f6a82f51831e
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/ReturnConstRefFromParameterCheck.cpp
M clang-tools-extra/test/clang-tidy/checkers/bugprone/return-const-ref-from-parameter.cpp
Log Message:
-----------
[clang-tidy] avoid false positive when overload for bugprone-return-const-ref-from-parameter (#95434)
Fixes: #90274
Commit: 76b64aeb88925ec7eea43a388f937bc4f248ef87
https://github.com/llvm/llvm-project/commit/76b64aeb88925ec7eea43a388f937bc4f248ef87
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/unittests/ProfileData/InstrProfTest.cpp
Log Message:
-----------
[ProfileData] Migrate to a new version of getValueProfDataFromInst (#95568)
Note that the version of getValueProfDataFromInst that returns bool
has been "deprecated" since:
commit 1e15371dd8843dfc52b9435afaa133997c1773d8
Author: Mingming Liu <mingmingl at google.com>
Date: Mon Apr 1 15:14:49 2024 -0700
Commit: 8f7d30abb243d5383171861bd5ee443d95b2a338
https://github.com/llvm/llvm-project/commit/8f7d30abb243d5383171861bd5ee443d95b2a338
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/unittests/ProfileData/InstrProfTest.cpp
Log Message:
-----------
[ProfileData] Sink the length checks (#95604)
The new API getValueArrayForSite returns ArrayRef<InstrProfValueData>,
packaging the array length and contents together.
This patch sinks the array length checks just before we check the
contents. This way, we check both the array length and contents
immediately after calling getValueArrayForSite.
Commit: c091dd48008ba6d85aee68227077ee05daeb7ca7
https://github.com/llvm/llvm-project/commit/c091dd48008ba6d85aee68227077ee05daeb7ca7
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M libc/src/__support/threads/linux/rwlock.h
M libc/src/pthread/pthread_rwlock_timedrdlock.cpp
M libc/src/pthread/pthread_rwlock_timedwrlock.cpp
M libc/test/integration/src/pthread/CMakeLists.txt
M libc/test/integration/src/pthread/pthread_rwlock_test.cpp
Log Message:
-----------
[libc] fix build errors (#95613)
Commit: 93ffe1792fd9a985b96fee1105b399b5196a15bc
https://github.com/llvm/llvm-project/commit/93ffe1792fd9a985b96fee1105b399b5196a15bc
Author: Kavan Bickerstaff <kavanbickerstaff at googlemail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg-invalid.mlir
Log Message:
-----------
[mlir][tosa] Only match rfft2d of floats in linalg conversion (#93432)
This prevents an assertion being triggered by the cast to FloatType.
Fixes https://github.com/llvm/llvm-project/issues/92064
Commit: 98b117e4355d2ba7b672014aafc41b3f646fc72c
https://github.com/llvm/llvm-project/commit/98b117e4355d2ba7b672014aafc41b3f646fc72c
Author: Haowei <haowei at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/riscv/entrypoints.txt
Log Message:
-----------
Reapply "[libc] printf, putchar and vprintf in bareemetal entrypoints… (#95619)
This reverts commit eca988aa4420f33810f9830c80ff9f149b7928ff. The
underlying libc issue was fixed by PR#95576.
The original PR is #95436 , which adds printf, putchar and vprintf in
bareemetal entrypoints
Commit: 0b24b4706982907799c838d80e06b3aa08420549
https://github.com/llvm/llvm-project/commit/0b24b4706982907799c838d80e06b3aa08420549
Author: Xu Zhang <simonzgx at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 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/spec/posix.td
M libc/src/__support/File/linux/file.cpp
M libc/src/__support/File/linux/file.h
A libc/src/__support/OSUtil/fcntl.h
M libc/src/__support/OSUtil/linux/CMakeLists.txt
A libc/src/__support/OSUtil/linux/fcntl.cpp
M libc/src/fcntl/linux/CMakeLists.txt
M libc/src/fcntl/linux/fcntl.cpp
M libc/src/stdio/CMakeLists.txt
A libc/src/stdio/fdopen.h
M libc/src/stdio/linux/CMakeLists.txt
A libc/src/stdio/linux/fdopen.cpp
M libc/test/src/fcntl/fcntl_test.cpp
M libc/test/src/stdio/CMakeLists.txt
A libc/test/src/stdio/fdopen_test.cpp
Log Message:
-----------
[libc] Add the implementation of the fdopen function (#94186)
Fixes #93711 .
This patch implements the ``fdopen`` function. Given that ``fdopen``
internally calls ``fcntl``, the implementation of ``fcntl`` has been
moved to the ``__support/OSUtil``, where it serves as an internal public
function.
Commit: daac13fb8bd180479068df777f9b848e29a88315
https://github.com/llvm/llvm-project/commit/daac13fb8bd180479068df777f9b848e29a88315
Author: Vijay Kandiah <vkandiah at nvidia.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M flang/test/Lower/PowerPC/ppc-mma-assemble-disassemble.f90
M flang/test/Lower/PowerPC/ppc-mma-outer-product-1.f90
M flang/test/Lower/PowerPC/ppc-mma-outer-product-2.f90
M flang/test/Lower/PowerPC/ppc-pwr10-vec-intrinsics.f90
M flang/test/Lower/PowerPC/ppc-vector-types.f90
Log Message:
-----------
[flang] Fixing PPC lit failure due to alloca reordering. (#95621)
This change fixes the PowerPC lit tests that are failing due to the
recent change to hoist constant-sized allocas at flang codegen. Three of
these changed lit tests are entirely rewritten to use variables instead
of numbered LLVM IR.
Commit: 7042fcc6389c6c103d501b6f39988eafed0d9b5b
https://github.com/llvm/llvm-project/commit/7042fcc6389c6c103d501b6f39988eafed0d9b5b
Author: Ivy Zhang <yan3.zhang at intel.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
M mlir/lib/Dialect/Arith/Transforms/EmulateUnsupportedFloats.cpp
M mlir/lib/Dialect/Math/Transforms/LegalizeToF32.cpp
M mlir/test/Dialect/Arith/canonicalize.mlir
M mlir/test/Dialect/Arith/emulate-unsupported-floats.mlir
Log Message:
-----------
[MLIR][Arith][Resubmit] add fastMathAttr on arith::extf and arith::truncf (#95346)
Add an `fastMathAttr` on `arith::extf` and `arith::truncf`. If these two
ops are inserted by some promotion passes (like legalize-to-f32 /
emulate-unsupported-floats), they will be labeled as
`FastMathFlags::contract`, denoting that they can be then `eliminated by
canonicalizer`.
The `elimination` can help improve performance, while may introduce some
numerical differences.
Commit: 84e9401a7f848ebf3268a0ad1d7e36b8223afbc4
https://github.com/llvm/llvm-project/commit/84e9401a7f848ebf3268a0ad1d7e36b8223afbc4
Author: Jeffrey Byrnes <jeffrey.byrnes at amd.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/abs_i16.ll
Log Message:
-----------
[AMDGPU] Fix lit failure (#95620)
Lit test in
https://github.com/llvm/llvm-project/commit/7091dd277a1e2349f33390be9f3ccf21bff39003
was not updated for
https://github.com/llvm/llvm-project/commit/e7e90dd1c1014b4a7ef77f74af3682168d23ddbf
Commit: cfbed2c0e6110878e6174067e2fb8013fc512620
https://github.com/llvm/llvm-project/commit/cfbed2c0e6110878e6174067e2fb8013fc512620
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Support/CMakeLists.txt
A llvm/lib/Support/SipHash.cpp
M llvm/unittests/Support/CMakeLists.txt
A llvm/unittests/Support/SipHashTest.cpp
Log Message:
-----------
[Support] Import SipHash c reference implementation. (#94393)
This brings the unmodified SipHash reference implementation:
https://github.com/veorq/SipHash
which has been very graciously licensed under our llvm license
(Apache-2.0 WITH LLVM-exception) by Jean-Philippe Aumasson.
SipHash is a lightweight hash function optimized for speed on short
messages. We use it as part of the AArch64 ptrauth ABI (in arm64e and
ELF PAuth) to generate discriminators based on language identifiers and
mangled names.
This commit brings the unmodified reference implementation and tests
as of f26d35e, specifically siphash.c and vectors.h, as SipHash.cpp and
SipHashTest.cpp.
Next, we will integrate it properly into libSupport, with a wrapping API
suited for the ptrauth use-case.
Commit: 577c3f114b7c342ea6d8b69d3c4f22ce26d96b13
https://github.com/llvm/llvm-project/commit/577c3f114b7c342ea6d8b69d3c4f22ce26d96b13
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
A llvm/include/llvm/Support/SipHash.h
M llvm/lib/Support/CMakeLists.txt
M llvm/lib/Support/SipHash.cpp
M llvm/unittests/Support/CMakeLists.txt
M llvm/unittests/Support/SipHashTest.cpp
Log Message:
-----------
[Support] Integrate SipHash.cpp into libSupport. (#94394)
Start building it as part of the library, with some minor
tweaks compared to the reference implementation:
- clang-format to match libSupport
- remove tracing support
- add file header
- templatize cROUNDS/dROUNDS, as well as 8B/16B result length
- replace assert with static_assert
- use LLVM_FALLTHROUGH
This also exports interfaces for SipHash-2-4-64/-128, and
tests them using the reference test vectors.
Commit: 2693811195567d12dbadc5a8e2da48e2ebe8fca8
https://github.com/llvm/llvm-project/commit/2693811195567d12dbadc5a8e2da48e2ebe8fca8
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/Support/BUILD.gn
Log Message:
-----------
[gn build] Port cfbed2c0e611
Commit: 2b33591386e855cf82a4104092e1a1d2888f32b1
https://github.com/llvm/llvm-project/commit/2b33591386e855cf82a4104092e1a1d2888f32b1
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/test/Misc/target-invalid-cpu-note.c
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/Target/AArch64/AArch64Processors.td
M llvm/lib/Target/AArch64/AArch64Subtarget.cpp
M llvm/unittests/TargetParser/TargetParserTest.cpp
Log Message:
-----------
[llvm][AArch64] Support -mcpu=apple-m4 (#95478)
Commit: a0cef2bf71c5fb7a643656371d8e6cc58271fbe6
https://github.com/llvm/llvm-project/commit/a0cef2bf71c5fb7a643656371d8e6cc58271fbe6
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64Processors.td
M llvm/unittests/TargetParser/TargetParserTest.cpp
Log Message:
-----------
[llvm][AArch64] Rearrange Apple CPUs by generation, not product class. NFC (#95579)
Commit: 61069bd5a3954076018ed30c77094d6259bcbc90
https://github.com/llvm/llvm-project/commit/61069bd5a3954076018ed30c77094d6259bcbc90
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/SipHash.h
M llvm/lib/Support/SipHash.cpp
M llvm/unittests/Support/SipHashTest.cpp
Log Message:
-----------
[Support] Add SipHash-based 16-bit ptrauth ABI-stable hash. (#93902)
This finally wraps the now-lightly-modified SipHash C reference
implementation, for the main interface we need (16-bit ptrauth
discriminators).
The exact algorithm is the little-endian interpretation of the
non-doubled (i.e. 64-bit) result of applying a SipHash-2-4 using the
constant seed `b5d4c9eb79104a796fec8b1b428781d4` (big-endian), with the
result reduced by modulo to the range of non-zero discriminators (i.e.
`(rawHash % 65535) + 1`).
By "stable" we mean that the result of this hash algorithm will the same
across different compiler versions and target platforms.
The 16-bit hashes are used extensively for the AArch64 ptrauth ABI,
because AArch64 can efficiently load a 16-bit immediate into the high
bits of a register without disturbing the remainder of the value, which
serves as a nice blend operation.
16 bits is also sufficiently compact to not inflate a loader relocation.
We disallow zero to guarantee a different discriminator from the places
in the ABI that use a constant zero.
Co-authored-by: John McCall <rjmccall at apple.com>
Commit: 8f74725731bf431fb97929e1dd962e9a0db20865
https://github.com/llvm/llvm-project/commit/8f74725731bf431fb97929e1dd962e9a0db20865
Author: Fred Grim <fgrim at apple.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M lldb/include/lldb/Utility/ProcessInfo.h
M lldb/source/Host/linux/Host.cpp
M lldb/source/Utility/ProcessInfo.cpp
M lldb/unittests/Host/linux/HostTest.cpp
Log Message:
-----------
[lldb] Adds additional fields to ProcessInfo (#91544)
To implement SaveCore for elf binaries we need to populate some
additional fields in the prpsinfo struct. Those fields are the nice
value of the process whose core is to be taken as well as a boolean flag
indicating whether or not that process is a zombie. This commit adds
those as well as tests to ensure that the values are consistent with
expectations
Commit: 6f5dfbd73a2867019d52be546a89d4fb4224b83d
https://github.com/llvm/llvm-project/commit/6f5dfbd73a2867019d52be546a89d4fb4224b83d
Author: Ryan Beltran <rp.beltran at yahoo.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M libc/src/__support/CPP/bit.h
Log Message:
-----------
[libc][__support][bit] Switch popcount to Brian Kernighan’s Algorithm (#95625)
Commit: d7e4813a324f2e33726dec8c9a599cb342f0bde3
https://github.com/llvm/llvm-project/commit/d7e4813a324f2e33726dec8c9a599cb342f0bde3
Author: Aviad Cohen <aviadcohen7 at gmail.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M mlir/lib/Dialect/SCF/IR/SCF.cpp
Log Message:
-----------
[mlir][scf]: Copy old attributes of old ForOp in replaceWithAdditionalYields (#95502)
Commit: 904c53d53e7abc3916a679832ec4fa6e521e09b9
https://github.com/llvm/llvm-project/commit/904c53d53e7abc3916a679832ec4fa6e521e09b9
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/lib/AST/Interp/Descriptor.h
M clang/lib/AST/Interp/Pointer.cpp
M clang/lib/AST/Interp/Pointer.h
M clang/lib/AST/Interp/Program.cpp
M clang/test/AST/Interp/cxx98.cpp
M clang/unittests/AST/Interp/Descriptor.cpp
Log Message:
-----------
[clang][Interp] Use different inline descriptors for global variables
Most of the InlineDescriptor fields were unused for global variables.
But more importantly, we need to differentiate between global variables
that are uninitialized because they didn't have an initializer when we
originally created them, and ones that are uninitialized because they
DID have an initializer, but evaluating it failed.
Commit: cddb9ce04e68d876de895d39d60b6af34d569012
https://github.com/llvm/llvm-project/commit/cddb9ce04e68d876de895d39d60b6af34d569012
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Format/UnwrappedLineParser.h
M clang/unittests/Format/FormatTestComments.cpp
Log Message:
-----------
[clang-format] Don't over-indent comment below unbraced body (#95354)
Fixes #45002.
Commit: 675d8d629dbdc794a78d885511eacbabc7929f8a
https://github.com/llvm/llvm-project/commit/675d8d629dbdc794a78d885511eacbabc7929f8a
Author: William Junda Huang <williamjhuang at google.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/CodeGen/CGDebugInfo.h
M clang/lib/CodeGen/CGExprScalar.cpp
A clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp
Log Message:
-----------
(New) Add option to generate additional debug info for expression dereferencing pointer to pointers (#95298)
This is a different implementation to #94100, which has been reverted.
When -fdebug-info-for-profiling is specified, for any Load expression if
the pointer operand is not a declared variable, clang will emit debug
info describing the type of the pointer operand (which can be an
intermediate expr)
Commit: 7b6447a1574a1b852dfd8bff57ad4c48548c0102
https://github.com/llvm/llvm-project/commit/7b6447a1574a1b852dfd8bff57ad4c48548c0102
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Function.h
M clang/lib/AST/Interp/Interp.h
M clang/test/AST/Interp/lambda.cpp
Log Message:
-----------
[clang][Interp] Fix calling lambdas with explicit instance pointers...
...via a function pointer.
Commit: bb3091a6f3fb2b983fc3e0f539ff1d979ea470ac
https://github.com/llvm/llvm-project/commit/bb3091a6f3fb2b983fc3e0f539ff1d979ea470ac
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M clang/test/AST/Interp/cxx23.cpp
M clang/test/AST/Interp/lambda.cpp
Log Message:
-----------
[clang][Interp][test] Move explicit object parameter test to cxx23.cpp
It needs C++2b.
Commit: 7c6d0d26b1792fdf437b3e33b98c55fee9b06516
https://github.com/llvm/llvm-project/commit/7c6d0d26b1792fdf437b3e33b98c55fee9b06516
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/IntervalTree.h
M llvm/include/llvm/ExecutionEngine/Orc/Core.h
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/lib/Analysis/Delinearization.cpp
M llvm/lib/Analysis/ImportedFunctionsInliningStatistics.cpp
M llvm/lib/Analysis/StackSafetyAnalysis.cpp
M llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp
M llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/RegisterCoalescer.cpp
M llvm/lib/CodeGen/SplitKit.cpp
M llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
M llvm/lib/MC/MCParser/AsmParser.cpp
M llvm/lib/MC/MCParser/MasmParser.cpp
M llvm/lib/MCA/HardwareUnits/RegisterFile.cpp
M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
M llvm/lib/ProfileData/InstrProfWriter.cpp
M llvm/lib/Target/NVPTX/NVVMReflect.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86LoadValueInjectionLoadHardening.cpp
M llvm/lib/Target/X86/X86SpeculativeLoadHardening.cpp
M llvm/lib/Target/XCore/XCoreLowerThreadLocal.cpp
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
M llvm/lib/Transforms/Scalar/Reassociate.cpp
M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
M llvm/lib/Transforms/Scalar/SROA.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
M llvm/tools/llvm-nm/llvm-nm.cpp
M llvm/tools/llvm-objdump/llvm-objdump.cpp
Log Message:
-----------
[llvm] Use llvm::unique (NFC) (#95628)
Commit: 8cc6a2469c95f0815487c442495a829c337913c4
https://github.com/llvm/llvm-project/commit/8cc6a2469c95f0815487c442495a829c337913c4
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M lld/ELF/Driver.cpp
M lld/test/ELF/libsearch.s
Log Message:
-----------
[ELF] -r: force -Bstatic
In GNU ld, -r forces -Bstatic and has precedence over -Bdynamic: -lfoo
probes libfoo.a but not libfoo.so, even if -Bdynamic is in effect. Our
behavior currently matches gold and probes libfoo.so. Since we don't
have strong opinion on the exact behavior, let's just follow GNU ld and
also unify the reason we report the "attempted static link of dynamic
object " error.
Close #94958
Commit: 0a9a5f989ff1bcea96bef54e05acdaa633e657e2
https://github.com/llvm/llvm-project/commit/0a9a5f989ff1bcea96bef54e05acdaa633e657e2
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/DSInstructions.td
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/fp-atomics-gfx940.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-atomicrmw.ll
M llvm/test/CodeGen/AMDGPU/local-atomicrmw-fadd.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll
Log Message:
-----------
AMDGPU: Legalize atomicrmw fadd for v2f16/v2bf16 for local memory (#95393)
Make this legal for gfx940 and gfx12
Commit: 5021e6dd548323e1169be3d466d440009e6d1f8e
https://github.com/llvm/llvm-project/commit/5021e6dd548323e1169be3d466d440009e6d1f8e
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/FLATInstructions.td
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/fp-atomics-gfx940.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2bf16-agent.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2bf16-system.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2f16-agent.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2f16-system.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomicrmw-fp-vector.ll
Log Message:
-----------
AMDGPU: Handle legal v2f16/v2bf16 atomicrmw fadd for global/flat (#95394)
Unlike the existing fadd cases, choose to ignore the requirement for
amdgpu-unsafe-fp-atomics in case of fine-grained memory access. This
is to minimize migration pain to the new atomic control metadata. This
should not break any users, as the atomic intrinsics are still
directly consumed, and clang does not yet produce vector FP atomicrmw.
Commit: 23c1b488fee99ac598203b6c3972be3b404dfbbe
https://github.com/llvm/llvm-project/commit/23c1b488fee99ac598203b6c3972be3b404dfbbe
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/ARM/ARMISelLowering.h
M llvm/lib/Target/ARM/ARMInstrInfo.td
M llvm/lib/Target/ARM/ARMInstrThumb.td
M llvm/lib/Target/ARM/ARMInstrThumb2.td
Log Message:
-----------
[ARM] Remove duplicate custom SDag node (NFCI) (#93419)
ARMISD::SUBS is a duplicate of ARMISD::SUBC.
The node was introduced in 5745b6ac. This patch replaces SUBS with SUBC
and reverts changes in *.td files.
Commit: bfd95a003139a8f930874b2234c3cab545d504a1
https://github.com/llvm/llvm-project/commit/bfd95a003139a8f930874b2234c3cab545d504a1
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/MathExtras.h
M llvm/unittests/Support/MathExtrasTest.cpp
Log Message:
-----------
MathExtras: rewrite some methods to never overflow (#95556)
Rewrite divideCeil, divideNearest, divideFloorSigned, and
divideCeilSigned to never overflow.
Commit: 17712f501c63998e67178e817ee64612cd1daae3
https://github.com/llvm/llvm-project/commit/17712f501c63998e67178e817ee64612cd1daae3
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/EvaluationResult.cpp
M clang/test/AST/Interp/cxx20.cpp
Log Message:
-----------
[clang][Interp] Fix checking null pointers for initialization
Commit: 47f8b85b3d81ed3578cb3b8f80d69ce307e0c883
https://github.com/llvm/llvm-project/commit/47f8b85b3d81ed3578cb3b8f80d69ce307e0c883
Author: William Junda Huang <williamjhuang at google.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp
Log Message:
-----------
[Debug Info] Fix debug info ptr to ptr test (#95637)
Fix test case in #95298 because another recent submitted patch removed
llvm.dbg intrinsics, updated test case accordingly
Commit: 27bebc11611bd87390cb715ea2723276cb69341e
https://github.com/llvm/llvm-project/commit/27bebc11611bd87390cb715ea2723276cb69341e
Author: Christudasan Devadasan <christudasan.devadasan at amd.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/Utils.h
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/Utils.cpp
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
Log Message:
-----------
[GISel] Unify multiple instances of getTypeForLLT (NFC) (#95577)
Multiple static instances of this utility function have been found in
different GlobalISel files.
Unifying them by adding an instance in utils.cpp.
Commit: 5e9fcb9572d7d63aa3b540226bea128e81765f91
https://github.com/llvm/llvm-project/commit/5e9fcb9572d7d63aa3b540226bea128e81765f91
Author: Christudasan Devadasan <christudasan.devadasan at amd.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.s.buffer.load.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.s.buffer.load.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.s.buffer.load.ll
Log Message:
-----------
[AMDGPU][GISel] Use datalayout alignment for buffer-load legalization (#95578)
It matches the legalization of buffer loads similar to the SelectionDAG.
Commit: a78c104a238566d5ba1c89384087c57668c306ae
https://github.com/llvm/llvm-project/commit/a78c104a238566d5ba1c89384087c57668c306ae
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/performance/MoveConstArgCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/performance/move-const-arg.cpp
Log Message:
-----------
[clang-tidy]fix false positives of the result of std::move() is used as rvalue for performance-move-const-arg (#95633)
Fixes: #86404
---------
Co-authored-by: Danny Mösch <danny.moesch at icloud.com>
Commit: 9476671dc3fa13b1cd39f5de796f501539441a21
https://github.com/llvm/llvm-project/commit/9476671dc3fa13b1cd39f5de796f501539441a21
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86MCInstLower.cpp
M llvm/test/CodeGen/X86/combine-mul.ll
M llvm/test/CodeGen/X86/gfni-shifts.ll
M llvm/test/CodeGen/X86/pmul.ll
M llvm/test/CodeGen/X86/srem-seteq-vec-nonsplat.ll
M llvm/test/CodeGen/X86/vector-fshr-128.ll
M llvm/test/CodeGen/X86/vector-fshr-256.ll
M llvm/test/CodeGen/X86/vector-fshr-512.ll
M llvm/test/CodeGen/X86/vector-idiv-sdiv-128.ll
M llvm/test/CodeGen/X86/vector-idiv-sdiv-256.ll
M llvm/test/CodeGen/X86/vector-idiv-sdiv-512.ll
M llvm/test/CodeGen/X86/vector-idiv-udiv-128.ll
M llvm/test/CodeGen/X86/vector-idiv-udiv-256.ll
M llvm/test/CodeGen/X86/vector-idiv-udiv-512.ll
M llvm/test/CodeGen/X86/vector-mul.ll
M llvm/test/CodeGen/X86/vector-shift-shl-128.ll
M llvm/test/CodeGen/X86/vector-shift-shl-256.ll
M llvm/test/CodeGen/X86/vector-shift-shl-512.ll
Log Message:
-----------
[X86] Lower vXi8 multiplies by constant using PMADDUBSW on SSSE3+ targets (#95403)
As discussed on #90748 - we can avoid unpacks/extensions from vXi8 to vXi16 by using PMADDUBSW instead and packing the vXi16 results back together.
Commit: 3e8f2170bb7772abdc6215de0dc07c3f9bd51df5
https://github.com/llvm/llvm-project/commit/3e8f2170bb7772abdc6215de0dc07c3f9bd51df5
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
Log Message:
-----------
[clang][Interp][NFC] Handle AddressSpaceConversion casts
Ignore them. No test yet, but this will be useful in a future commit.
Commit: 8e954541581270c497cc961b08eff69dc41bc18d
https://github.com/llvm/llvm-project/commit/8e954541581270c497cc961b08eff69dc41bc18d
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/test/AST/Interp/vectors.cpp
M clang/test/CodeGenOpenCLCXX/constexpr.clcpp
Log Message:
-----------
[clang][Interp] Support ExtVectorElementExprs
Commit: 7d06bdcdfc0ef97fbc63d7a6b821070d160a64cd
https://github.com/llvm/llvm-project/commit/7d06bdcdfc0ef97fbc63d7a6b821070d160a64cd
Author: Luke Lau <luke at igalia.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Log Message:
-----------
[RISCV] Use isCompatible when we need runtime VSETVLIInfo equality. NFC (#94340)
In VSETVLIInfo we define == as lattice equality, e.g. unknown == unknown
and invalid == invalid. We need this to check if the information at a
block's entry or exit has changed.
However I think we may have been conflating it with the notion that the
state of VL and VTYPE are the same, which isn't the case for two
unknowns, and potentially in an upcoming patch where we don't know the
value of an AVL register (see #93796)
This patch switches over the use in emitVSETVLIs to use isCompatible
with all fields demanded, since we need VL and VTYPE to be known equal
at runtime rather than just the VSETVLIInfos to be the same.
This should be NFC for now we shouldn't reach here with an unknown
state. But it's needed if we're to introduce the notion of an AVLReg
with a nullptr ValNo, which will need this non-reflexive equality.
Specifically, hasSameAVL should return false for this case, but ==
should return true.
Commit: d46207645714620c95b2274a8a0996e5fcc24e92
https://github.com/llvm/llvm-project/commit/d46207645714620c95b2274a8a0996e5fcc24e92
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[x86] Fix -Wunused-value in X86ISelLowering.cpp (NFC)
llvm-project/llvm/lib/Target/X86/X86ISelLowering.cpp:28530:16:
error: left operand of comma operator has no effect [-Werror,-Wunused-value]
return VT, DAG.getNode(ISD::OR, dl, VT, RLo, DAG.getBitcast(VT, RHi));
^~
1 error generated.
Commit: b381d1e059823d432f67bc18b8a2d47570958aed
https://github.com/llvm/llvm-project/commit/b381d1e059823d432f67bc18b8a2d47570958aed
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/combine-pmadd.ll
Log Message:
-----------
[X86] Add test showing failure to constant fold (V)PMADDWD nodes
Commit: f857ed623ca2536968804ecb6e7ad3b686e09700
https://github.com/llvm/llvm-project/commit/f857ed623ca2536968804ecb6e7ad3b686e09700
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/combine-pmadd.ll
Log Message:
-----------
[X86] computeKnownBitsForTargetNode - add handling for (V)PMADDWD nodes
Commit: 29b0d5755409639cf061667233125fb75d624b7c
https://github.com/llvm/llvm-project/commit/29b0d5755409639cf061667233125fb75d624b7c
Author: Ian Anderson <iana at apple.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M clang/include/clang/Lex/HeaderSearch.h
M clang/lib/Lex/HeaderSearch.cpp
M clang/unittests/Lex/HeaderSearchTest.cpp
Log Message:
-----------
[clang][modules] HeaderSearch::MarkFileModuleHeader sets textual headers' HeaderFileInfo non-external when it shouldn't (#89005)
HeaderSearch::MarkFileModuleHeader is no longer properly checking for
no-changes, and so sets the HeaderFileInfo for every `textual header` to
non-external.
Commit: 961dd1ae5ea216024af3aa7d43a57c6b45a023ec
https://github.com/llvm/llvm-project/commit/961dd1ae5ea216024af3aa7d43a57c6b45a023ec
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
A llvm/test/CodeGen/RISCV/avgceils.ll
A llvm/test/CodeGen/RISCV/avgceilu.ll
A llvm/test/CodeGen/RISCV/avgfloors.ll
A llvm/test/CodeGen/RISCV/avgflooru.ll
Log Message:
-----------
[RISCV] Add scalar type test coverage for ISD::AVG nodes
Forked from the equivalent X86 tests
Commit: 7cb5faf6da5a6f6335aca8a2532e5320ec434458
https://github.com/llvm/llvm-project/commit/7cb5faf6da5a6f6335aca8a2532e5320ec434458
Author: Alexandre Ganea <aganea at havenstudios.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M clang/docs/UsersManual.rst
M clang/include/clang/Driver/Options.td
M clang/test/Driver/cl-options.c
Log Message:
-----------
[Clang][Driver] Expose `-fno-eliminate-unused-debug-types` to clang-cl (#95259)
This is used to set DebugInfoKind to "UnusedTypeInfo". This helps in the
context of Unreal Engine and NATVIS files that reference unused
otherwise `static constexpr` class members. See
https://udn.unrealengine.com/s/question/0D5QP00000N012h0AB/fname-debug-visualizer-fails-to-work-with-the-clang-compiler
This partially fixes https://github.com/llvm/llvm-project/issues/46924
Commit: 95b77d90aae10725ea692e120aac083ef1c1297d
https://github.com/llvm/llvm-project/commit/95b77d90aae10725ea692e120aac083ef1c1297d
Author: Nico Weber <thakis at chromium.org>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/FLATInstructions.td
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/fp-atomics-gfx940.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2bf16-agent.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2bf16-system.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2f16-agent.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2f16-system.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomicrmw-fp-vector.ll
Log Message:
-----------
Revert "AMDGPU: Handle legal v2f16/v2bf16 atomicrmw fadd for global/flat (#95394)"
This reverts commit 5021e6dd548323e1169be3d466d440009e6d1f8e.
Breaks tests, see https://github.com/llvm/llvm-project/pull/95394#issuecomment-2169394503
Commit: 417cd33f6d155d6d16ea29e9bcd81bb4708c9cfa
https://github.com/llvm/llvm-project/commit/417cd33f6d155d6d16ea29e9bcd81bb4708c9cfa
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/combine-pmadd.ll
Log Message:
-----------
[X86] Add test showing failure to constant fold (V)PMADDUBSW nodes
Commit: 0938cdbfbd946e4033b070ec4fbd9dfd790eb91a
https://github.com/llvm/llvm-project/commit/0938cdbfbd946e4033b070ec4fbd9dfd790eb91a
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/combine-pmadd.ll
Log Message:
-----------
[X86] computeKnownBitsForTargetNode - add handling for (V)PMADDUBSW nodes
Commit: f3b4c00304ef3aa737097684502a419b5e89d4e9
https://github.com/llvm/llvm-project/commit/f3b4c00304ef3aa737097684502a419b5e89d4e9
Author: Fabian Mora <fmora.dev at gmail.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/GPU/IR/GPUOps.td
M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
Log Message:
-----------
[mlir][gpu] Add builder to `gpu.launch_func` (#95541)
This patch adds a builder to `gpu.launch_func` allowing it to be created
using `SymbolRefAttr` instead of `GPUFuncOp`. This allows creating
`launch_func` when only a `gpu.binary` is present, instead of the full
`gpu.module {...}`.
Commit: e48f211ab8dc4f48cf27a2b08d58eb3fb73460d9
https://github.com/llvm/llvm-project/commit/e48f211ab8dc4f48cf27a2b08d58eb3fb73460d9
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.local_time.pass.cpp
Log Message:
-----------
[libc++][TZDB] Disables a failing test. (#95659)
The test fails depending on the timezone database used. Disable it for
now so it can be properly investigated later.
Commit: ef01c75d467df92b8c659307595aa74ed2290cd8
https://github.com/llvm/llvm-project/commit/ef01c75d467df92b8c659307595aa74ed2290cd8
Author: Shivam Gupta <shivam98.tkg at gmail.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M lldb/source/Utility/Scalar.cpp
Log Message:
-----------
[lldb] Remove dead code block (NFC) (#94775)
The check that max_bit_pos == sign_bit_pos conflicts with the check that
sign_bit_pos < max_bit_pos in the block surrounding it.
Originally found by cppcheck -
lldb/source/Utility/Scalar.cpp:756:23: warning: Opposite inner 'if'
condition leads to a dead code block. [oppositeInnerCondition]
Fixes #85985
Commit: 355e4a9e56c644f24fc10f780cb2fc68b660d0a0
https://github.com/llvm/llvm-project/commit/355e4a9e56c644f24fc10f780cb2fc68b660d0a0
Author: Hua Tian <akiratian at tencent.com>
Date: 2024-06-16 (Sun, 16 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/WindowScheduler.cpp
A llvm/test/CodeGen/Hexagon/swp-ws-weak-dep.mir
Log Message:
-----------
[llvm][CodeGen] Fix failure in window scheduler caused by weak dependencies (#95636)
This commit addresses an issue where weak dependencies trigger an
assertion in the window scheduler under certain conditions.
Commit: 213e308633e533f74f04269766989bb89fde0921
https://github.com/llvm/llvm-project/commit/213e308633e533f74f04269766989bb89fde0921
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/X86/combine-mul.ll
Log Message:
-----------
[DAG] Fold Y = sra (X, size(X)-1); mul (or (Y, 1), X) -> (abs X)
Similar to InstCombine implementation except we don't have to handle the NSW/is_int_min_poison case.
Commit: 50e222fa27bb636a392a6d6065f03a5469526ebf
https://github.com/llvm/llvm-project/commit/50e222fa27bb636a392a6d6065f03a5469526ebf
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/MachineSink.cpp
Log Message:
-----------
[MachineSink] Use SmallDenseMap (NFC) (#95676)
The use of SmallDenseMap saves 0.39% of heap allocations during the
compilation of a large preprocessed file, namely X86ISelLowering.cpp,
for the X86 target.
Commit: 7c0c9d640dac33ac9c7f0997c736dce023b84a2e
https://github.com/llvm/llvm-project/commit/7c0c9d640dac33ac9c7f0997c736dce023b84a2e
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/AArch64/conditional-branches-cost.ll
A llvm/test/Transforms/LoopVectorize/PowerPC/exit-branch-cost.ll
Log Message:
-----------
[LV] Add tests with multiple conditions feedin exit branches.
Test cases for the recent buildbot failures:
https://lab.llvm.org/buildbot/#/builders/17/builds/47
https://lab.llvm.org/buildbot/#/builders/168/builds/37
Commit: f05b15b21b46835efeb88eb8bfd456e82582722c
https://github.com/llvm/llvm-project/commit/f05b15b21b46835efeb88eb8bfd456e82582722c
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M llvm/include/llvm/Transforms/Scalar/JumpThreading.h
M llvm/lib/Transforms/Scalar/JumpThreading.cpp
Log Message:
-----------
[JumpThreading] Use SmallPtrSet (NFC) (#95674)
The use of SmallPtrSet here saves 0.66% of heap allocations during
the compilation of a large preprocessed file, namely
X86ISelLowering.cpp, for the X86 target.
Commit: ecea8371ff03c15fb3dc27ee4108b98335fd2d63
https://github.com/llvm/llvm-project/commit/ecea8371ff03c15fb3dc27ee4108b98335fd2d63
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/TargetLibraryInfo.h
Log Message:
-----------
[TargetLibraryInfo] Use std::move (NFC) (#95671)
The std::move here saves 0.11% of heap allocations during the
compilation of a large preprocessed file, namely X86ISelLowering.cpp,
for the X86 target.
Commit: 85a7bba7d28365ff98dae74f20ebf9f53d42023a
https://github.com/llvm/llvm-project/commit/85a7bba7d28365ff98dae74f20ebf9f53d42023a
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-16 (Sun, 16 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenPGO.cpp
M clang/test/Profile/c-mcdc.c
M llvm/docs/LangRef.rst
M llvm/include/llvm/IR/IntrinsicInst.h
M llvm/include/llvm/IR/Intrinsics.td
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
M llvm/test/Instrumentation/InstrProfiling/mcdc.ll
M llvm/unittests/IR/IntrinsicsTest.cpp
Log Message:
-----------
Cleanup MC/DC intrinsics for #82448 (#95496)
3rd arg of `tvbitmap.update` was made unused. Remove 3rd arg.
Sweep `condbitmap.update`, since it is no longer used.
Commit: dcbe0d43b56fbc44a42914ad335f036fdb58dfe8
https://github.com/llvm/llvm-project/commit/dcbe0d43b56fbc44a42914ad335f036fdb58dfe8
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-06-16 (Sun, 16 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/performance/inefficient-vector-operation.cpp
Log Message:
-----------
[clang-tidy] fix false negatives for performance-inefficient-vector-operation (#95667)
Fixes: #95596
Avoid false negatives caused by different variable definition type and
variable initial value type in loop initialization expression.
Commit: 22530e7985083032fe708848abb88b77be78e5ce
https://github.com/llvm/llvm-project/commit/22530e7985083032fe708848abb88b77be78e5ce
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-16 (Sun, 16 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/X86/arith-int-codesize.ll
M llvm/test/Analysis/CostModel/X86/arith-int-latency.ll
M llvm/test/Analysis/CostModel/X86/arith-int-sizelatency.ll
M llvm/test/Analysis/CostModel/X86/arith-int.ll
M llvm/test/Analysis/CostModel/X86/rem-codesize.ll
M llvm/test/Analysis/CostModel/X86/rem-latency.ll
M llvm/test/Analysis/CostModel/X86/rem-sizelatency.ll
M llvm/test/Analysis/CostModel/X86/rem.ll
M llvm/test/Analysis/CostModel/X86/slm-arith-costs.ll
M llvm/test/Transforms/VectorCombine/X86/extract-binop-inseltpoison.ll
M llvm/test/Transforms/VectorCombine/X86/extract-binop.ll
Log Message:
-----------
[CostModel][X86] Update vXi8 mul costs for AVX512BW/AVX2/AVX1/SSE
Later levels were inheriting some of the worst case costs from SSE/AVX1 etc.
Based off llvm-mca numbers from the check_cost_tables.py script in https://github.com/RKSimon/llvm-scripts
Cleanup prep work for #90748
Commit: a74a86cd4b301959f8f57a22aa33a7152143bb7f
https://github.com/llvm/llvm-project/commit/a74a86cd4b301959f8f57a22aa33a7152143bb7f
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-16 (Sun, 16 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/TargetLibraryInfo.h
Log Message:
-----------
[TargetLibraryInfo] Use the default move constructor/assignment operator (#95685)
commit ecea8371ff03c15fb3dc27ee4108b98335fd2d63
Author: Kazu Hirata <kazu at google.com>
Date: Sat Jun 15 14:02:42 2024 -0700
added std::move to the move constructor and assignment operator, but
we can just use = default to have the compiler to generate them.
As expected, the number of heap allocations is virtually unchanged.
Commit: c44d52823b4fe8f3aa98fc034f9fcc69b98ef6a0
https://github.com/llvm/llvm-project/commit/c44d52823b4fe8f3aa98fc034f9fcc69b98ef6a0
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-16 (Sun, 16 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/StackColoring.cpp
Log Message:
-----------
[StackColoring] Declare BitVector outside the loop (#95688)
The StackColoring pass creates two instances of BitVector per basic
block until the fixed point is reached. Each instance may involve a
heap allocation depending on its size.
This patch declares them outside the loop, saving 1.40% of heap
allocations during the compilation of CGBuiltin.cpp.ii, a preprocessed
version of CGBuiltin.cpp.
Commit: 630a6dd687ab4ec2038fc957fc8722c983aa4147
https://github.com/llvm/llvm-project/commit/630a6dd687ab4ec2038fc957fc8722c983aa4147
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-16 (Sun, 16 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ScheduleZnver4.td
M llvm/test/tools/llvm-mca/X86/Znver4/resources-avx2.s
M llvm/test/tools/llvm-mca/X86/Znver4/resources-avx512bwvl.s
M llvm/test/tools/llvm-mca/X86/Znver4/resources-avx512vl.s
Log Message:
-----------
[X86] Fix throughput of AVX2/AVX512VL vector extension/truncations
These should only consume 1cy on either of the 2 pipes (only zmm ops should double pump) - matches AMD SoG + uops.info
Noticed while updating costs for #90748
Commit: edabb5c12ed9312c3366286a69e881f625102a85
https://github.com/llvm/llvm-project/commit/edabb5c12ed9312c3366286a69e881f625102a85
Author: Gábor Horváth <xazax.hun at gmail.com>
Date: 2024-06-16 (Sun, 16 Jun 2024)
Changed paths:
M clang/docs/CommandGuide/clang.rst
M clang/docs/LanguageExtensions.rst
M clang/include/clang/Driver/ToolChain.h
M clang/test/Coverage/targets.c
M clang/test/Driver/arc.c
M clang/test/Driver/arclite-link.c
M clang/test/Driver/darwin-objc-defaults.m
M clang/test/Driver/darwin-stdlib-dont-pass-in-c.c
M clang/test/Driver/darwin-stdlib.cpp
M clang/test/Driver/darwin-version.c
M clang/test/Driver/darwin-xarch.c
M clang/test/Driver/fsanitize.c
M clang/test/Driver/macos-apple-silicon-slice-link-libs-darwin-only.cpp
M clang/test/Driver/sanitizer-ld.c
M clang/test/Driver/stack-protector.c
M clang/test/Index/TestClassForwardDecl.m
M clang/test/Index/c-index-api-loadTU-test.m
M clang/test/Index/c-index-getCursor-test.m
M clang/tools/scan-build/libexec/ccc-analyzer
Log Message:
-----------
[clang] Clean up macOS version flags (#95374)
The -mmacos-version-min flag is preferred over -mmacosx-version-min.
This patch updates the tests and documentation to make this clear and
also adds the missing logic to scan build to handle the new flag.
Fixes #86376.
Co-authored-by: Gabor Horvath <gaborh at apple.com>
Commit: f4ce3448be9c47c61755197173a6a9e9b612dff8
https://github.com/llvm/llvm-project/commit/f4ce3448be9c47c61755197173a6a9e9b612dff8
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-16 (Sun, 16 Jun 2024)
Changed paths:
M compiler-rt/lib/profile/InstrProfilingFile.c
Log Message:
-----------
Reformat
Commit: d442bf043537fd4bc0c2fc5a4d77337b0d482ea9
https://github.com/llvm/llvm-project/commit/d442bf043537fd4bc0c2fc5a4d77337b0d482ea9
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-16 (Sun, 16 Jun 2024)
Changed paths:
M compiler-rt/lib/profile/InstrProfilingFile.c
Log Message:
-----------
mmapForContinuousMode: Calculate FileOffsetToBitmap from FileOffsetToCounters. NFC.
Commit: 5548ea34341e9d0ae645719c34b466ca3b9eaa5a
https://github.com/llvm/llvm-project/commit/5548ea34341e9d0ae645719c34b466ca3b9eaa5a
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2024-06-16 (Sun, 16 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaExpr.cpp
M clang/test/SemaTemplate/instantiate-local-class.cpp
Log Message:
-----------
[Clang] Instantiate local constexpr functions eagerly (#95660)
We had a code path in `Sema::MarkFunctionReferenced()` that deferred
local lambda instantiation even for constexprs. This resulted in any
calls to them referring to function decls that lack bodies and hence
failures at constant evaluation.
The issue doesn't occur when the lambda has no explicit return type
because the return type deduction requires instantiation.
Fixes https://github.com/llvm/llvm-project/issues/35052
Fixes https://github.com/llvm/llvm-project/issues/94849
Commit: 1644a31ae93177e1d046878a480ce95484882b2b
https://github.com/llvm/llvm-project/commit/1644a31ae93177e1d046878a480ce95484882b2b
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-16 (Sun, 16 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/arm_sve.td
M clang/include/clang/Basic/arm_sve_sme_incl.td
M clang/include/clang/Sema/SemaARM.h
M clang/lib/Sema/SemaARM.cpp
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pext.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_qrshr.c
M clang/test/Sema/aarch64-incompat-sm-builtin-calls.c
M clang/test/Sema/aarch64-sme-intrinsics/acle_sme_target.c
R clang/test/Sema/aarch64-sme2-sve2p1-diagnostics.c
A clang/test/Sema/aarch64-streaming-sme-or-nonstreaming-sve-builtins.c
M clang/test/Sema/aarch64-sve-intrinsics/acle_sve_bfloat.cpp
M clang/utils/TableGen/SveEmitter.cpp
Log Message:
-----------
[Clang][AArch64] Generalise streaming mode checks for builtins. (#93802)
PR #76975 added 'IsStreamingOrSVE2p1' to emit a diagnostic when a builtin marked
with 'IsStreamingOrSVE2p1' is used in a non-streaming function that is not
compiled with `+sve2p1`.
The problem is a bit more complex than only this case. For example, we've marked
lots of builtins with 'IsStreamingCompatible', meaning it can be used in either
streaming, streaming-compatible or non-streaming functions. But the code in
SemaChecking, doesn't check the appropriate target guards. This issue becomes
relevant when SVE builtins are only available in streaming mode, e.g. when
compiling for SME without SVE.
If we were to add the appropriate target guards, we'd have to add many more
combinations, e.g.:
IsStreamingSMEOrSVE
IsStreamingSME2OrSVE2
IsStreamingSMEOrSVE2p1
IsStreamingSME2OrSVE2p1
etc.
To avoid having to add more combinations (and avoid having to add more in the
future for new extensions), we use a single 'IsSVEOrStreamingSVE' flag for all
builtins that are available in streaming mode for the appropriate SME flags, or
in non-streaming mode for the appropriate SVE flags, or both. The code in
SemaChecking will then verify for which mode (or both) the builtin would be
defined, given the target features of the function/compilation unit.
For example:
'svclamp' is enabled under FEAT_SVE2p1 and FEAT_SME2
* When we compile for SVE2p1 and SME (but not SME2), the builtin is undefined
behaviour when called from a streaming function.
* When we compile for SME2 and SVE2 (but not SVE2p1), the builtin is undefined
behaviour when called from a non-streaming function.
* When we compile for _both_ SVE2p1 and SME2, the builtin can be used in either
mode (non-streaming, streaming or streaming-compatible)
Commit: 907e73936fcf76b856348aa27bf0c85151d32563
https://github.com/llvm/llvm-project/commit/907e73936fcf76b856348aa27bf0c85151d32563
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-16 (Sun, 16 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.atomic.fadd.ll
Log Message:
-----------
AMDGPU: Don't use amdgpu_ps for some atomic tests
The default calling convention requires fewer shuffling moves and shrinks
the test output.
Commit: 55696dba2353bcc5a99165134b1d7d15abc51577
https://github.com/llvm/llvm-project/commit/55696dba2353bcc5a99165134b1d7d15abc51577
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-16 (Sun, 16 Jun 2024)
Changed paths:
R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.atomic.fadd.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.atomic.fadd_nortn.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.atomic.fadd_rtn.ll
Log Message:
-----------
AMDGPU: Expand raw ptr buffer atomic fadd tests
These were only checking the no return versions on gfx908
Commit: 570f36229aab50d2bc433bfb120869b33c8db076
https://github.com/llvm/llvm-project/commit/570f36229aab50d2bc433bfb120869b33c8db076
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-16 (Sun, 16 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.atomic.fadd.v2bf16.ll
Log Message:
-----------
AMDGPU: Fix legalization for llvm.amdgcn.raw.buffer.atomic.fadd.v2bf16
We somehow ended up with llvm.amdgcn.raw.ptr.buffer.atomic.fadd, and
llvm.amdgcn.raw.buffer.ptr.atomic.fadd.v2bf16 intrinsic definitions, despite
the second being the canonical mangling for the first intrinsic with v2bf16.
This requires us to handle it as a separate case. Surprisingly, cases
generating the regular 1st intrinsic with bfloat end up getting ID'd as
the second. The selection is still broken for the gfx9 cases.
Commit: 9f69e116a55dbd36e2f4fde38317de7262c88d7c
https://github.com/llvm/llvm-project/commit/9f69e116a55dbd36e2f4fde38317de7262c88d7c
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-16 (Sun, 16 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Log Message:
-----------
[VPlan] Use VPTransformState::UF in vectorizeInterleaveGroup (NFCI).
Bring implementations of vectorizeInterleaveGroup in line with other
recipes' execute by using VPTransformState::UF.
Commit: 67285feffd6708e6db36c11faf95eeab449e797a
https://github.com/llvm/llvm-project/commit/67285feffd6708e6db36c11faf95eeab449e797a
Author: Martin Storsjö <martin at martin.st>
Date: 2024-06-16 (Sun, 16 Jun 2024)
Changed paths:
M libcxx/utils/ci/run-buildbot
Log Message:
-----------
[libcxx] [ci] Simplify the mingw x86_64 configs (#95609)
Since switching the Windows CI environment over to GitHub Actions
runners, the mingw tests run in a setup where the default compiler
binary is a mingw-targeting compiler, so we don't need to specify a
custom executable name.
For the i686 tests, we still specify a custom compiler name, in order to
target i686 instead of x86_64.
Commit: a106131a34ed87f597c78183ada56f01fd17641d
https://github.com/llvm/llvm-project/commit/a106131a34ed87f597c78183ada56f01fd17641d
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-16 (Sun, 16 Jun 2024)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/TokenAnnotator.h
M clang/lib/Format/UnwrappedLineFormatter.cpp
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Handle AttributeMacro before access modifiers (#95634)
Closes #95094.
Commit: fe9aef05c2dcfbde6e29e2edb2d49e29a54bea4d
https://github.com/llvm/llvm-project/commit/fe9aef05c2dcfbde6e29e2edb2d49e29a54bea4d
Author: pointhex <1111artem1111 at gmail.com>
Date: 2024-06-16 (Sun, 16 Jun 2024)
Changed paths:
M clang/include/clang/Format/Format.h
M clang/lib/Format/Format.cpp
M clang/unittests/Format/ConfigParseTest.cpp
Log Message:
-----------
[clang-format] Add DiagHandler parameter to format::getStyle() (#91317)
It allows to control of error output for the function.
Closes #94205.
---------
Co-authored-by: Owen Pan <owenpiano at gmail.com>
Commit: d340f6283a3d242bad190ed9b95baa03e5607639
https://github.com/llvm/llvm-project/commit/d340f6283a3d242bad190ed9b95baa03e5607639
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang][NFC] Update C++ DR issues list
Commit: fbac6977820a341ab3dd7e1f0a2d8881e0161c49
https://github.com/llvm/llvm-project/commit/fbac6977820a341ab3dd7e1f0a2d8881e0161c49
Author: AtariDreams <gfunni234 at gmail.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
Log Message:
-----------
[Transforms] Replace incorrect uses of m_Deferred with m_Specific (#95719)
The values have been bound already, so use m_Specific.
Commit: 527e7328607ea0a55855e53a59c5030a7d07a554
https://github.com/llvm/llvm-project/commit/527e7328607ea0a55855e53a59c5030a7d07a554
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-16 (Sun, 16 Jun 2024)
Changed paths:
M clang/unittests/Format/ConfigParseTest.cpp
Log Message:
-----------
[clang-format][NFC] Suppress diagnostic noise in GetStyleOfFile test
Commit: 470d59d6565f564701e1a1c194aeea4903d6baa1
https://github.com/llvm/llvm-project/commit/470d59d6565f564701e1a1c194aeea4903d6baa1
Author: Shan Huang <52285902006 at stu.ecnu.edu.cn>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/Reassociate.cpp
A llvm/test/Transforms/Reassociate/dropping_debugloc_the_neg.ll
Log Message:
-----------
[DebugInfo][Reassociate] Fix missing debug location drop (#95355)
Fix #95343 .
Commit: ef18986b2033a44e69b7c3553a356e9037ac1413
https://github.com/llvm/llvm-project/commit/ef18986b2033a44e69b7c3553a356e9037ac1413
Author: sstwcw <su3e8a96kzlver at posteo.net>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/FormatTestVerilog.cpp
Log Message:
-----------
[clang-format] Handle Verilog delay control (#95703)
I made a mistake when I tried to make the code handle the backtick
character like the hash character. The code did not recognize the delay
control structure. It caused net names in the declaration to be aligned
to the type name instead of the first net name.
new
```Verilog
wire logic #0 mynet, //
mynet1;
```
old
```Verilog
wire logic #0 mynet, //
mynet1;
```
Commit: 15bb02650e26875c48889053d6a9697444583721
https://github.com/llvm/llvm-project/commit/15bb02650e26875c48889053d6a9697444583721
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M clang/include/clang/AST/DeclBase.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ASTWriter.h
M clang/lib/AST/DeclBase.cpp
M clang/lib/CodeGen/CGVTables.cpp
M clang/lib/CodeGen/ItaniumCXXABI.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/ASTWriterDecl.cpp
M clang/test/CodeGenCXX/modules-vtable.cppm
A clang/test/CodeGenCXX/pr70585.cppm
Log Message:
-----------
[C++20] [Modules] [Itanium ABI] Generate the vtable in the module unit of dynamic classes (#75912)
Close https://github.com/llvm/llvm-project/issues/70585 and reflect
https://github.com/itanium-cxx-abi/cxx-abi/issues/170.
The significant change of the patch is: for dynamic classes attached to
module units, we generate the vtable to the attached module units
directly and the key functions for such classes is meaningless.
Commit: e4e350e85b377e424299d26937cc60ea6868900c
https://github.com/llvm/llvm-project/commit/e4e350e85b377e424299d26937cc60ea6868900c
Author: Shivam Gupta <shivam98.tkg at gmail.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M lldb/source/Interpreter/Options.cpp
Log Message:
-----------
[LLDB] Remove dead code (NFC) (#95713)
The dead code is caught by PVS studio analyzer -
https://pvs-studio.com/en/blog/posts/cpp/1126/, fragment N12.
Warning message -
V523 The 'then' statement is equivalent to the 'else' statement.
Options.cpp 1212
Commit: b7b3d1798db98c0f7071e4557e860a6fd5847602
https://github.com/llvm/llvm-project/commit/b7b3d1798db98c0f7071e4557e860a6fd5847602
Author: Poseydon42 <vvmposeydon at gmail.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/test/Transforms/InstSimplify/uscmp.ll
Log Message:
-----------
[InstSimplify] Implement simple folds for `ucmp`/`scmp` intrinsics (#95601)
This patch adds folds for the cases where both operands are the same or
where it can be established that the first operand is less than, equal
to, or greater than the second operand.
Commit: 1d4e857acdd93a659387b9799fa262cce2370fb0
https://github.com/llvm/llvm-project/commit/1d4e857acdd93a659387b9799fa262cce2370fb0
Author: c8ef <c8ef at outlook.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
A llvm/test/Transforms/InstCombine/avg-lsb.ll
M llvm/test/Transforms/InstCombine/lshr.ll
Log Message:
-----------
[InstCombine] simplify average of lsb (#95684)
close: #94737
alive2: https://alive2.llvm.org/ce/z/WF_7mX
In this patch, we combine `(X + Y) / 2` into `(X & Y)` only when both X
and Y are less than or equal to 1.
Commit: ede27d8d391e3917a5aa25be7903cabde4303a66
https://github.com/llvm/llvm-project/commit/ede27d8d391e3917a5aa25be7903cabde4303a66
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/test/Transforms/SimplifyCFG/X86/sink-common-code.ll
Log Message:
-----------
[SimplifyCFG] Add support for sinking instructions with multiple uses (#95521)
Sinking currently only supports instructions that have zero or one uses.
Extend this to handle instructions with any number of uses, as long as
all uses are consistent (i.e. the "same" for all sinking candidates).
After #94462 this is basically just a matter of looping over all uses
instead of checking the first one only.
Commit: 5fe7f7364abcabe34f9bf157e5e6a6fa4fa0248a
https://github.com/llvm/llvm-project/commit/5fe7f7364abcabe34f9bf157e5e6a6fa4fa0248a
Author: Daniel Kiss <daniel.kiss at arm.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Basic/Targets/AArch64.h
A clang/test/Driver/aarch64-fixed-register-global.c
A clang/test/Sema/aarch64-fixed-global-register.c
Log Message:
-----------
[clang][AArch64] Add validation for Global Register Variable. (#94271)
Fixes: #76426
Commit: 9b933e9c94031287d326a02276e2e09aecb17b57
https://github.com/llvm/llvm-project/commit/9b933e9c94031287d326a02276e2e09aecb17b57
Author: Ralf Jung <post at ralfj.de>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/docs/LangRef.rst
Log Message:
-----------
LangRef: getelementptr: inbounds is about the object the pointer is 'based on' (#95650)
As discussed in
https://discourse.llvm.org/t/getelementptr-inbounds-inbounds-of-which-allocation/79024,
we need the pointer to be inbounds of *the* allocated object the pointer
is based on, not just any allocated object.
Commit: 5ef768d22bb33d9ab59a8ba9abe747bed9e068a2
https://github.com/llvm/llvm-project/commit/5ef768d22bb33d9ab59a8ba9abe747bed9e068a2
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/ReplaceConstant.h
M llvm/lib/IR/ReplaceConstant.cpp
M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-constants.ll
Log Message:
-----------
[AMDGPULowerBufferFatPointers] Expand const exprs using fat pointers (#95558)
Expand all constant expressions that use fat pointers upfront, so that
the rewriting logic only has to deal with instructions and not the
constant expression variants as well.
My primary motivation is to remove the creation of illegal constant
expressions (mul and shl) from this pass, but this also cuts down quite
a bit on the amount of duplicate logic.
Commit: 525318e5dc18fb4e6ec4f4dc4c7bcf92d31aa815
https://github.com/llvm/llvm-project/commit/525318e5dc18fb4e6ec4f4dc4c7bcf92d31aa815
Author: Vikash Gupta <35700483+vg0204 at users.noreply.github.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
A llvm/test/CodeGen/AMDGPU/si-lower-sgpr-spills-vgpr-lanes-usage.mir
Log Message:
-----------
[AMDGPU][LIT] Added a MIR LIT showing the SGPR spills (#94584)
This MIR test case is added to seek the consumption of VGPR lanes being
used for SGPR spills during si-lower-sgpr-spills pass of AMDGPU pass
pipeline. Basically, in this pass, stack slots are mapped to available
VGPR lanes for spilling purpose, thus ending the need for stack slots.
In current scenario, each new SGPR spill goes into new VGPR lanes as,
being mapped from its distinct stack slots assigned during SGPR
allocation pass. It can be clearly seen in the added test case.
Commit: 94a6b9c63ec683957c1d5f520666308ac70584ec
https://github.com/llvm/llvm-project/commit/94a6b9c63ec683957c1d5f520666308ac70584ec
Author: Pengcheng Wang <wangpengcheng.pp at bytedance.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
Log Message:
-----------
[RISCV] Remove getOffsetOfLocalArea() (#93765)
For RISC-V, it's always 0 and I don't see any reason we will
change it in the future.
Commit: 9a86d0a6b52da4cbeb541b4631baef4ba952dfb8
https://github.com/llvm/llvm-project/commit/9a86d0a6b52da4cbeb541b4631baef4ba952dfb8
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Log Message:
-----------
[InstCombine] Prefer source over result element type (NFC)
For single-index GEPs the source and result element types are the
same, but using the source type is semantically more correct.
Commit: 995835fe6d4dd7467d8b0b1dbe6a3d9547d900c8
https://github.com/llvm/llvm-project/commit/995835fe6d4dd7467d8b0b1dbe6a3d9547d900c8
Author: Poseydon42 <vvmposeydon at gmail.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/include/llvm/Target/TargetSelectionDAG.td
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/CodeGen/TargetLoweringBase.cpp
A llvm/test/CodeGen/AArch64/scmp.ll
A llvm/test/CodeGen/AArch64/ucmp.ll
A llvm/test/CodeGen/X86/scmp.ll
A llvm/test/CodeGen/X86/ucmp.ll
Log Message:
-----------
[SelectionDAG] Add support for the 3-way comparison intrinsics [US]CMP (#91871)
This PR adds initial support for the `scmp`/`ucmp` 3-way comparison
intrinsics in the SelectionDAG. Some of the expansions/lowerings
are not optimal yet.
Commit: 657ec7320d8a28171755ba0dd5afc570a5a16791
https://github.com/llvm/llvm-project/commit/657ec7320d8a28171755ba0dd5afc570a5a16791
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/ArmSVE/IR/ArmSVE.td
M mlir/lib/Dialect/ArmSVE/Transforms/LegalizeForLLVMExport.cpp
M mlir/test/Dialect/ArmSVE/legalize-for-llvm.mlir
M mlir/test/Target/LLVMIR/arm-sve.mlir
Log Message:
-----------
[mlir][ArmSVE] Lower predicate-sized vector.create_masks to whilelt (#95531)
This produces better/more canonical codegen than the generic LLVM
lowering, which is a pattern the backend currently does not recognize.
See: https://github.com/llvm/llvm-project/issues/81840.
Commit: 87aed824567201924d06190033843ede42b14a8d
https://github.com/llvm/llvm-project/commit/87aed824567201924d06190033843ede42b14a8d
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ptr.buffer.atomic.fadd_rtn_errors.ll
R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.ptr.buffer.atomic.fadd.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.ptr.buffer.atomic.fadd_nortn.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.ptr.buffer.atomic.fadd_rtn.ll
Log Message:
-----------
AMDGPU: Cleanup struct buffer atomic fadd intrinsic tests
Only gfx908 was tested, and the returning versions weren't tested.
Commit: e843f029b47e98ae17b9f3e72175a76653f0bd66
https://github.com/llvm/llvm-project/commit/e843f029b47e98ae17b9f3e72175a76653f0bd66
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Mesh/IR/MeshOps.h
M mlir/lib/Conversion/LLVMCommon/MemRefBuilder.cpp
M mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
Log Message:
-----------
mlir: fix incorrect usages of divideCeilSigned (#95680)
Follow up on #95087 to fix incorrect usage instances of
divideCeilSigned.
Commit: f838f08c8def5f49001bba9dc4f682baef04cd14
https://github.com/llvm/llvm-project/commit/f838f08c8def5f49001bba9dc4f682baef04cd14
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M lldb/include/lldb/Target/RegisterFlags.h
M lldb/source/Target/RegisterFlags.cpp
M lldb/unittests/Target/RegisterFlagsTest.cpp
Log Message:
-----------
[lldb] Add register field enum class (#90063)
This represents the enum type that can be assigned to a field using the
`<enum>` element in the target XML.
https://sourceware.org/gdb/current/onlinedocs/gdb.html/Enum-Target-Types.html
Each enumerator has:
* A non-empty name
* A value that is within the range of the field it's applied to
The XML includes a "size" but we don't need that for anything and it's a
pain to verify so I've left it out of our internal structures. When
emitting XML we'll set size to the size of the register using the enum.
An Enumerator class is added to RegisterFlags and hooked up to the
existing ToXML so lldb-server can use it to emit enums as well.
As enums are elements on the same level as flags, when emitting XML
we'll do so via the registers. Before emitting a flags element we look
at all the fields and see what enums they reference. Then print all of
those if we haven't already done so.
Functions are added to dump enum information for `register info` to use
to show the enum information.
Commit: 7e4f7fcd9c0622270269d9e01031c5059cb41dae
https://github.com/llvm/llvm-project/commit/7e4f7fcd9c0622270269d9e01031c5059cb41dae
Author: Abid Qadeer <haqadeer at amd.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
M flang/lib/Optimizer/Transforms/DebugTypeGenerator.h
A flang/test/Integration/debug-char-type-1.f90
A flang/test/Transforms/debug-char-type-1.fir
Log Message:
-----------
[flang][debug] Support fixed size character type. (#95462)
This PR adds debug support for fixed size character type. The character
type gets translated to DIStringType.
As I have noticed in comments, currently DIStringType does not have a
way to represent the underlying character type of the string. This
restricts our ability to represent wide string. As an example, this is
how the debugger shows 2 different type of string. Note that non-ascii
characters work ok with default kind string.
character(kind=4, len=5) :: str1
character(len=16) :: str2
str1 = 'hello'
str2 = 'π = 3.14'
(gdb) p str1
$1 = 'h\000\000\000e\000\000\000l\000\000\000l\000\000\000o\000\000\000'
(gdb) p str2
$2 = 'π = 3.14 '
Commit: f84056c38f1fd14881b23ace521a403e52ed7405
https://github.com/llvm/llvm-project/commit/f84056c38f1fd14881b23ace521a403e52ed7405
Author: John Brawn <john.brawn at arm.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/DebugInfoMetadata.h
M llvm/lib/IR/DebugInfoMetadata.cpp
M llvm/lib/Transforms/Utils/Local.cpp
A llvm/test/DebugInfo/Generic/sroa-extract-bits.ll
Log Message:
-----------
[DebugInfo] Handle DW_OP_LLVM_extract_bits in SROA (#94638)
This doesn't need any work to be done in SROA itself, but rather in
functions that it uses. Specifically:
* DIExpression::createFragmentExpression is made to understand
DW_OP_LLVM_extract_bits
* valueCoversEntireFragment is made to check the active bits instead of
the fragment size, so that it handles extract_bits correctly
Commit: 1ba8ed0cd7d03ed9b70aaf32b3d8e9205ef95ef2
https://github.com/llvm/llvm-project/commit/1ba8ed0cd7d03ed9b70aaf32b3d8e9205ef95ef2
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M libcxx/docs/ReleaseNotes/19.rst
M libcxx/include/__exception/exception_ptr.h
M libcxx/include/__expected/expected.h
M libcxx/include/__locale
M libcxx/include/__memory/shared_ptr.h
M libcxx/include/__split_buffer
M libcxx/include/__utility/pair.h
M libcxx/include/array
M libcxx/include/deque
M libcxx/include/optional
M libcxx/include/tuple
M libcxx/include/variant
M libcxx/include/vector
M libcxx/test/libcxx/transitive_includes/cxx03.csv
M libcxx/test/libcxx/transitive_includes/cxx11.csv
M libcxx/test/libcxx/transitive_includes/cxx14.csv
M libcxx/test/libcxx/transitive_includes/cxx17.csv
M libcxx/test/libcxx/transitive_includes/cxx20.csv
M libcxx/test/libcxx/transitive_includes/cxx23.csv
M libcxx/test/libcxx/transitive_includes/cxx26.csv
M libcxx/test/libcxx/type_traits/is_trivially_relocatable.compile.pass.cpp
Log Message:
-----------
[libc++] Mark more types as trivially relocatable (#89724)
Co-authored-by: Louis Dionne <ldionne.2 at gmail.com>
Commit: f06d96995a3e937ce125fd48efd1026256868b99
https://github.com/llvm/llvm-project/commit/f06d96995a3e937ce125fd48efd1026256868b99
Author: Paul Walker <paul.walker at arm.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-to-int.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-div.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-extends.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-rem.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-to-fp.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-masked-store.ll
A llvm/test/CodeGen/AArch64/vector-insert-dag-combines.ll
Log Message:
-----------
[LLVM][DAGCombiner] Extend coverage for insert_subv(undef, extract_subv(A, 0), 0) (#95242)
There is an existing combine to remove the need for extract_subv that
requires matching vector types (all fixed or all scalable).
The combine doesn't need this restriction and so I've changed it to use
ValueType's "knownBits??" interface that supports mixed vector types. In
doing so we also need extra guards to prevent invalid operations (e.g.
extracting a scalable vector from a fixed length vector).
Commit: 52d87de7a42d608ac1da33795ca0a892f2b53f36
https://github.com/llvm/llvm-project/commit/52d87de7a42d608ac1da33795ca0a892f2b53f36
Author: Andrei Safronov <safronov at espressif.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Target/Xtensa/AsmParser/XtensaAsmParser.cpp
A llvm/test/MC/Xtensa/Core/registers.s
Log Message:
-----------
[Xtensa] Fix register asm parsing. (#95551)
Fix passing temporary string object as argument to the StringRef
constructor in "parseRegister" function, because it causes errors in the
test "llvm/test/MC/Xtensa/Core/processor-control.s".
Commit: 6d973b4548e281d0b8e75e85833804bb45b6a0e8
https://github.com/llvm/llvm-project/commit/6d973b4548e281d0b8e75e85833804bb45b6a0e8
Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M clang/lib/CodeGen/ABIInfo.cpp
M clang/lib/CodeGen/ABIInfo.h
M clang/lib/CodeGen/ABIInfoImpl.cpp
M clang/lib/CodeGen/ABIInfoImpl.h
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CGExpr.cpp
M clang/lib/CodeGen/CGExprAgg.cpp
M clang/lib/CodeGen/CGExprComplex.cpp
M clang/lib/CodeGen/CGExprScalar.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/CodeGen/Targets/AArch64.cpp
M clang/lib/CodeGen/Targets/AMDGPU.cpp
M clang/lib/CodeGen/Targets/ARC.cpp
M clang/lib/CodeGen/Targets/ARM.cpp
M clang/lib/CodeGen/Targets/CSKY.cpp
M clang/lib/CodeGen/Targets/Hexagon.cpp
M clang/lib/CodeGen/Targets/LoongArch.cpp
M clang/lib/CodeGen/Targets/MSP430.cpp
M clang/lib/CodeGen/Targets/Mips.cpp
M clang/lib/CodeGen/Targets/NVPTX.cpp
M clang/lib/CodeGen/Targets/PNaCl.cpp
M clang/lib/CodeGen/Targets/PPC.cpp
M clang/lib/CodeGen/Targets/RISCV.cpp
M clang/lib/CodeGen/Targets/Sparc.cpp
M clang/lib/CodeGen/Targets/SystemZ.cpp
M clang/lib/CodeGen/Targets/WebAssembly.cpp
M clang/lib/CodeGen/Targets/X86.cpp
M clang/lib/CodeGen/Targets/XCore.cpp
M clang/test/CodeGen/X86/x86_64-vaarg.c
M clang/test/CodeGen/aarch64-varargs.c
M clang/test/CodeGen/arm-abi-vector.c
M clang/test/CodeGen/arm-vaarg.c
M clang/test/CodeGen/mips-varargs.c
M clang/test/CodeGenCXX/arm64-empty-struct.cpp
M clang/test/CodeGenCXX/x86_32-vaarg.cpp
M clang/test/CodeGenCXX/x86_64-vaarg.cpp
Log Message:
-----------
[clang][CodeGen] Return RValue from `EmitVAArg` (#94635)
This should simplify handling of resulting value by the callers.
Commit: c2d9f253e5a4074bb965e483cca2fe968b78693c
https://github.com/llvm/llvm-project/commit/c2d9f253e5a4074bb965e483cca2fe968b78693c
Author: Bruno De Fraine <brunodf at synopsys.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGDeclCXX.cpp
M clang/test/CodeGenCXX/init-invariant.cpp
Log Message:
-----------
[clang][CodeGen] Fix EmitInvariantStart for non-zero addrspace (#94346)
The `llvm.invariant.start` intrinsic is already overloaded to work with
memory objects in any address space. We simply instantiate the intrinsic
with the appropriate pointer type.
Fixes #94345.
Co-authored-by: Vito Kortbeek <kortbeek at synopsys.com>
Commit: 770393bb99d947b908031f83e2d064b9666740e4
https://github.com/llvm/llvm-project/commit/770393bb99d947b908031f83e2d064b9666740e4
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/MachineLICM.cpp
M llvm/test/CodeGen/AMDGPU/indirect-call.ll
Log Message:
-----------
[MachineLICM] Correctly Apply Register Masks (#95746)
Fix regression introduced in d4b8b72
Commit: 3cead572e91d3de5f8cb458f09ab39302e289d22
https://github.com/llvm/llvm-project/commit/3cead572e91d3de5f8cb458f09ab39302e289d22
Author: Corentin Ferry <corentin.ferry at amd.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M mlir/docs/Dialects/emitc.md
M mlir/include/mlir/Dialect/EmitC/IR/EmitC.h
M mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
M mlir/include/mlir/Dialect/EmitC/IR/EmitCTypes.td
A mlir/include/mlir/Dialect/EmitC/Transforms/TypeConversions.h
M mlir/lib/Dialect/EmitC/IR/EmitC.cpp
M mlir/lib/Dialect/EmitC/Transforms/CMakeLists.txt
A mlir/lib/Dialect/EmitC/Transforms/TypeConversions.cpp
M mlir/lib/Target/Cpp/TranslateToCpp.cpp
M mlir/test/Dialect/EmitC/invalid_ops.mlir
M mlir/test/Dialect/EmitC/invalid_types.mlir
M mlir/test/Dialect/EmitC/ops.mlir
M mlir/test/Dialect/EmitC/types.mlir
M mlir/test/Target/Cpp/types.mlir
Log Message:
-----------
[mlir][emitc] Add EmitC index types (#93155)
This commit adds `emitc.size_t`, `emitc.ssize_t` and `emitc.ptrdiff_t`
types to the EmitC dialect. These are used to map `index` types to C/C++
types with an explicit signedness, and are emitted in C/C++ as `size_t`,
`ssize_t` and `ptrdiff_t`.
Commit: fb59d9b9be1311ce9bb83f12bf6169378893202a
https://github.com/llvm/llvm-project/commit/fb59d9b9be1311ce9bb83f12bf6169378893202a
Author: John Brawn <john.brawn at arm.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/test/DebugInfo/Generic/sroa-extract-bits.ll
Log Message:
-----------
[DebugInfo] Update sroa-extract-bits.ll test (#95774)
Update test due to #91724
Commit: 457e8954798b707c73ec76e0819760aaf65d0ffb
https://github.com/llvm/llvm-project/commit/457e8954798b707c73ec76e0819760aaf65d0ffb
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/MachineLICM.cpp
M llvm/lib/CodeGen/RegUsageInfoCollector.cpp
Log Message:
-----------
[CodeGen] Do not include $noreg in any regmask operands. NFCI. (#95775)
Saying that a call preserves $noreg seems weird and required a
workaround in MachineLICM.
Commit: 0432221c8e6a8e5740a982076a6ae85e5ee9909e
https://github.com/llvm/llvm-project/commit/0432221c8e6a8e5740a982076a6ae85e5ee9909e
Author: Abid Qadeer <haqadeer at amd.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
M flang/lib/Optimizer/Transforms/DebugTypeGenerator.h
A flang/test/Integration/debug-allocatable-1.f90
A flang/test/Transforms/debug-allocatable-1.fir
Log Message:
-----------
[flang][debug] Support allocatables. (#95557)
This PR adds debug support for allocatable. The allocatable arrays use
the existing functionality to read the array information from
descriptor. The allocatable for the scalar shows up as pointer to the
scalar.
While testing this, I notices that values of allocated and associated
flags were swapped. This is also fixed in this PR.
Here is how the debugging of the allocatable looks like with this patch
in place.
integer, allocatable :: ar1(:, :)
real, allocatable :: sc
allocate(sc)
allocate(ar1(3, 4))
(gdb) ptype ar1
type = integer, allocatable (3,4)
(gdb) p ar1
$1 = ((5, 6, 7) (9, 10, 11) (13, 14, 15) (17, 18, 19)) (gdb) p sc
$2 = (PTR TO -> ( real )) 0x205300
(gdb) p *sc
$3 = 3.1400001
Commit: 96e8d0fd944e2732a3cf2cc125494e7235b25fa9
https://github.com/llvm/llvm-project/commit/96e8d0fd944e2732a3cf2cc125494e7235b25fa9
Author: Momchil Velikov <momchil.velikov at arm.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Log Message:
-----------
[AArch64] Refactor creation of a shuffle mask for TBL (NFC) (#92529)
... in preparation for https://github.com/llvm/llvm-project/pull/92528
Commit: 405882db942347baf525673befe0cea0093babb6
https://github.com/llvm/llvm-project/commit/405882db942347baf525673befe0cea0093babb6
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ptr.buffer.atomic.fadd_rtn_errors.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.ptr.buffer.atomic.fadd.v2bf16.ll
Log Message:
-----------
AMDGPU: Fix legalization for llvm.amdgcn.struct.buffer.atomic.fadd.v2bf16
Commit: 0cfdce854d588876bfca7030be868314e84c0e5b
https://github.com/llvm/llvm-project/commit/0cfdce854d588876bfca7030be868314e84c0e5b
Author: Konstantin Varlamov <varconsteq at gmail.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M libcxx/include/vector
Log Message:
-----------
[libc++] Guard transitive include of `<locale>` with availability macro (#95686)
This is a follow-up to https://github.com/llvm/llvm-project/pull/80282.
The transitive includes of `<locale>` in `<vector>` were all guarded by
the availability macro -- the new include should also be guarded,
otherwise any users who compile with localization disabled will start
getting errors trying to include `<vector>`.
Commit: b75e7c61ffc4adea0ec5fca63ba3feba845c8303
https://github.com/llvm/llvm-project/commit/b75e7c61ffc4adea0ec5fca63ba3feba845c8303
Author: Jan Leyonberg <jan_sjodin at yahoo.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M flang/include/flang/Frontend/CodeGenOptions.h
M flang/include/flang/Frontend/FrontendActions.h
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Frontend/FrontendActions.cpp
A flang/test/Driver/Inputs/libfun.f90
A flang/test/Driver/mlink-builtin-bc.f90
Log Message:
-----------
[flang] Add -mlink-builtin-bitcode option to fc1 (#94763)
This patch enables the -mlink-builtin-bitcode flag in fc1 so that
bitcode libraries can be linked in. This is needed for OpenMP offloading
libraries.
Commit: 7767f0d47428db66d65b07b35aa52f0507df71f9
https://github.com/llvm/llvm-project/commit/7767f0d47428db66d65b07b35aa52f0507df71f9
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/trunc.ll
Log Message:
-----------
[InstCombine] Add test for #95547 (NFC)
Commit: 534f8569a3c9fccfd5cbc5f632b63ad0cf711098
https://github.com/llvm/llvm-project/commit/534f8569a3c9fccfd5cbc5f632b63ad0cf711098
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
M llvm/test/Transforms/InstCombine/trunc.ll
Log Message:
-----------
[InstCombine] Don't preserve context across div
We can't preserve the context across a non-speculatable instruction,
as this might introduce a trap. Alternatively, we could also
insert all the replacement instruction at the use-site, but that
would be a more intrusive change for the sake of this edge case.
Fixes https://github.com/llvm/llvm-project/issues/95547.
Commit: 954cb5f9a220eb18afe2d0025722067a8299c41c
https://github.com/llvm/llvm-project/commit/954cb5f9a220eb18afe2d0025722067a8299c41c
Author: Fabian Mora <fmora.dev at gmail.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M mlir/include/mlir/Target/LLVM/ROCDL/Utils.h
M mlir/lib/Dialect/GPU/CMakeLists.txt
M mlir/lib/Target/LLVM/CMakeLists.txt
M mlir/lib/Target/LLVM/ROCDL/Target.cpp
Log Message:
-----------
[mlir][Target] Improve ROCDL gpu serialization API (#95456)
This patch improves the ROCDL gpu serialization API by:
- Introducing the enum `AMDGCNLibraries` for specifying the AMD GCN
device code libraries to use during linking.
- Removing `getCommonBitcodeLibs` in favor of `AMDGCNLibraries`.
Previously `getCommonBitcodeLibs` would try to load all AMD GCN bitcode
librariesm now it will only load the requested libraries.
- Exposing the `compileToBinary` method and making it virtual, allowing
downstream users to re-use this method.
- Exposing `moduleToObjectImpl`, this method provides a prototype flow
for compiling to binary, allowing downstream users to re-use this
method.
- It also avoids constructing the control variables if no device
libraries are being used.
This patch also changes the behavior of the CMake flag
`DEFAULT_ROCM_PATH`. Before it would fall back to a default value of
`/opt/rocm` if not specified. However, that default value causes fragile
builds in environments with ROCm. Now, the flag falls back to the empty
string, making it clear that **the user must provide a value at LLVM
build time**.
Commit: 4bf160e3968d77334e27dc358c497703f315351f
https://github.com/llvm/llvm-project/commit/4bf160e3968d77334e27dc358c497703f315351f
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M clang/lib/AST/ExprConstShared.h
M clang/lib/AST/ExprConstant.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/Opcodes.td
M clang/test/AST/Interp/complex.cpp
Log Message:
-----------
[clang][Interp] Implement Complex-complex multiplication (#94891)
Share the implementation for floating-point complex-complex
multiplication with the current interpreter. This means we need a new
opcode for this, but there's no good way around that.
Commit: 57b8be463a937e5acee025f4cccdfd4ac6b73ec9
https://github.com/llvm/llvm-project/commit/57b8be463a937e5acee025f4cccdfd4ac6b73ec9
Author: Fabian Mora <fmora.dev at gmail.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M mlir/include/mlir/Target/LLVM/ROCDL/Utils.h
M mlir/lib/Dialect/GPU/CMakeLists.txt
M mlir/lib/Target/LLVM/CMakeLists.txt
M mlir/lib/Target/LLVM/ROCDL/Target.cpp
Log Message:
-----------
Revert [mlir][Target] Improve ROCDL gpu serialization API (#95790)
Reverts llvm/llvm-project#95456
Commit: a1bdb016564d3c0867e83f3bb7494bfe8128f4b6
https://github.com/llvm/llvm-project/commit/a1bdb016564d3c0867e83f3bb7494bfe8128f4b6
Author: David Green <david.green at arm.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll
Log Message:
-----------
[VectorCombine] Change shuffleToIdentity to use Use. NFC
When looking up through shuffles, a Value can be multiple different leaf types
(for example an identity from one position, a splat from another). We currently
detect this by recalculating which type of leaf it is when generating, but as
more types of leafs are added (#94954) this doesn't scale very well.
This patch switches it to use Use, not Value, to more accurately detect which
type of leaf each Use should have.
Commit: 4cf1a19b7eb67f0f3e1d70b5d513b5404692119d
https://github.com/llvm/llvm-project/commit/4cf1a19b7eb67f0f3e1d70b5d513b5404692119d
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/FLATInstructions.td
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/fp-atomics-gfx940.ll
M llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fadd.ll
M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2bf16-agent.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2bf16-system.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2f16-agent.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2f16-system.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomicrmw-fp-vector.ll
Log Message:
-----------
Reapply "AMDGPU: Handle legal v2f16/v2bf16 atomicrmw fadd for global/flat (#95394)"
This reverts commit 95b77d90aae10725ea692e120aac083ef1c1297d.
Commit: c659e3a3f8ab797e65ca72a969b74cd06b1dfbd2
https://github.com/llvm/llvm-project/commit/c659e3a3f8ab797e65ca72a969b74cd06b1dfbd2
Author: Piotr Fusik <piotr at fusion-lang.org>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/docs/TableGen/ProgRef.rst
Log Message:
-----------
[TableGen][Docs] Fix `!range` markup (#95540)
Commit: d3da134487ca62da09c51ec598798bf8eff027d3
https://github.com/llvm/llvm-project/commit/d3da134487ca62da09c51ec598798bf8eff027d3
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
A llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-O0.ll
Log Message:
-----------
[RISCV] Add coverage for vsetvli insertion at O0 [nfc]
In review around https://github.com/llvm/llvm-project/pull/94686, we had
a discussion about a possible O0 specific miscompile case without test
coverage. The particular case turned out not be possible to exercise in
practice, but improving our test coverage remains a good idea if we're
going to have differences in the dataflow with and without live intervals.
Commit: f06575832aac0682c4d7383de34d2a9c20aa5837
https://github.com/llvm/llvm-project/commit/f06575832aac0682c4d7383de34d2a9c20aa5837
Author: Angel Zhang <angel.zhang at amd.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
A mlir/test/mlir-vulkan-runner/vector-deinterleave.mlir
Log Message:
-----------
[mlir][spirv] Reland integration test for `vector.deinterleave` (#95800)
This PR relands the commit reverted in #95607.
Fixes:
- Now literals are only used for the indices of `vector.insert` and
`vector.extract`.
- `arith.constant` needs to be used for the `memref.load` and
`memref.store` since otherwise there will be a failure to parse the
input IR.
Commit: c11677eedb2c302df0392af4bf21fb2f4978669b
https://github.com/llvm/llvm-project/commit/c11677eedb2c302df0392af4bf21fb2f4978669b
Author: GkvJwa <gkvjwa at gmail.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M lld/COFF/InputFiles.cpp
M lld/test/COFF/pdb-type-server-simple.test
Log Message:
-----------
[LLD][COFF] Support finding pdb files from outputpath (#94153)
In addition to looking for dependent (input) PDB files next to the associated .OBJ file, we now also look into the output folder as well. This mimics MSVC link.exe behavior.
Fixes #94152
Commit: 964c92d04f039a205327cb47c75919096f9fca94
https://github.com/llvm/llvm-project/commit/964c92d04f039a205327cb47c75919096f9fca94
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-expandload-fp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-expandload-int.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-masked-gather.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-scatter.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-unaligned.ll
M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.mir
Log Message:
-----------
[RISCV][InsertVSETVLI] Eliminate the AVLIsIgnored state (#94658)
As noted in one of the existing comments, the job AVLIsIgnored was
filing was really more of a demanded field role. Since we recently
realized we can use the values of VL on MI even in the backwards pass,
let's exploit that to improve demanded fields, and delete AVLIsIgnored.
Note that the test change is a real regression, but only incidental to
this patch. The backwards pass doesn't have the information that the VL
following a VL-preserving vtype is non-zero. This is an existing
problem, this patch just adds a few more cases where we prove
vl-preserving is legal.
Commit: 0851d7b00c651d527a37becc206566580bf3c615
https://github.com/llvm/llvm-project/commit/0851d7b00c651d527a37becc206566580bf3c615
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
M clang/test/Analysis/equality_tracking.c
M clang/test/Analysis/errno-stdlibraryfunctions.c
Log Message:
-----------
[clang][analyzer] use unqualified canonical type during merging equivalence class (#95729)
Fixes: #95658
Unqualified canonical type should be used instead of normal QualType for
type equality comparison
Commit: 8fe376f5ecf908856a4e817015c5796ca5307dae
https://github.com/llvm/llvm-project/commit/8fe376f5ecf908856a4e817015c5796ca5307dae
Author: Alexandre Ganea <aganea at havenstudios.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/utils/release/build_llvm_release.bat
Log Message:
-----------
[llvm] Fix incorrect usage of `LIBXML2_INCLUDE_DIRS` in the Windows release script (#95781)
Before this fix, when building the Windows LLVM package with the latest
cmake 3.29.3 I was seeing:
```
C:\git\llvm-project>llvm\utils\release\build_llvm_release.bat --version 19.0.0 --x64 --skip-checkout --local-python
...
-- Looking for FE_INEXACT
-- Looking for FE_INEXACT - found
-- Performing Test HAVE_BUILTIN_THREAD_POINTER
-- Performing Test HAVE_BUILTIN_THREAD_POINTER - Failed
-- Looking for mach/mach.h
-- Looking for mach/mach.h - not found
-- Looking for CrashReporterClient.h
-- Looking for CrashReporterClient.h - not found
-- Looking for pfm_initialize in pfm
-- Looking for pfm_initialize in pfm - not found
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
CMake Error at C:/Program Files/CMake/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find LibXml2 (missing: LIBXML2_INCLUDE_DIR)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.29/Modules/FindLibXml2.cmake:108 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
cmake/config-ix.cmake:167 (find_package)
CMakeLists.txt:921 (include)
-- Configuring incomplete, errors occurred!
```
It looks like `LIBXML2_INCLUDE_DIRS` (with the extra 'S') is a result
variable that is set by cmake after a call to `find_package(LibXml2)`.
It is actually `LIBXML2_INCLUDE_DIR` (without the 'S') that shold be
used as a input before the `find_package` call, since the 'S' variable
is unconditionally overwritten, see
https://github.com/Kitware/CMake/blob/master/Modules/FindLibXml2.cmake#L96.
I am unsure exactly why that worked with older cmake versions.
Commit: 13c66388db650d7766b5eb63c09ef84bb5c9e9b8
https://github.com/llvm/llvm-project/commit/13c66388db650d7766b5eb63c09ef84bb5c9e9b8
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M lldb/test/requirements.txt
Log Message:
-----------
[lldb] Add packaging to testing requirements.txt (#95806)
To fix CI after https://github.com/llvm/llvm-project/pull/93712 landed.
Commit: b6476e5549ccb728336a67faa5078b2021fd389a
https://github.com/llvm/llvm-project/commit/b6476e5549ccb728336a67faa5078b2021fd389a
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Log Message:
-----------
[LV] Retain branch in middle block when scalar epilogue is needed (NFC)
splitBlock will create a unconditional branch between the middle block
and scalar preheader. Instead of creating and replacing the same branch
again when scalar epilogue is needed, simply add an early exit.
As suggested by @ayalz in
https://github.com/llvm/llvm-project/pull/92651 to clarify the existing
code.
Commit: fae31e283203da9a4a3225e2d016e245d4887c2f
https://github.com/llvm/llvm-project/commit/fae31e283203da9a4a3225e2d016e245d4887c2f
Author: John Brawn <john.brawn at arm.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/CodeGen/CGDebugInfo.h
M clang/test/CodeGenCXX/debug-info-structured-binding-bitfield.cpp
Log Message:
-----------
[DebugInfo] Change handling of structured bindings of bitfields (#94632)
Currently we use DW_OP_plus_uconst to handle the bitfield offset and
handle the bitfield size by choosing a type size that matches, but this
doesn't work if either offset or size aren't byte-aligned. Extracting
the bits using DW_OP_LLVM_extract_bits means we can handle any kind of
offset or size.
Commit: 85f4593e856e5034c5de1e6bbea13fb59e1995f5
https://github.com/llvm/llvm-project/commit/85f4593e856e5034c5de1e6bbea13fb59e1995f5
Author: khaki3 <47756807+khaki3 at users.noreply.github.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M flang/lib/Lower/Bridge.cpp
M flang/test/Lower/loops3.f90
Log Message:
-----------
[flang] Add a REDUCE clause to each nested loop (#95555)
For DO CONCURRENT REDUCE, every nested loop should have a REDUCE clause
so that we can lower reduction without analysis.
Commit: 3380644fb070fd6648e873b1e75022bdfc432f1f
https://github.com/llvm/llvm-project/commit/3380644fb070fd6648e873b1e75022bdfc432f1f
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M lldb/include/lldb/Utility/SupportFile.h
M lldb/source/Symbol/LineEntry.cpp
Log Message:
-----------
[lldb] Remove SupportFile::Update and use the original Checksum (#95623)
When Jason was looking into the issue caused by #95606 he suggested
using the Checksum from the original file in LineEntry. I like the idea
because it makes sense semantically, but also allows us to get rid of
the Update method and ensures we make a new copy, in case someone else
is holding onto the old SupportFile.
Commit: e577f96e3b5e6f2b9f0687fd61ef9c68ca36afbe
https://github.com/llvm/llvm-project/commit/e577f96e3b5e6f2b9f0687fd61ef9c68ca36afbe
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPU.td
Log Message:
-----------
[AMDGPU] Move FeatureMaxHardClauseLength32 into FeatureISAVersion12. NFC. (#95808)
Commit: 5914a5671a1596f68189c8408f8d877e6b6373bf
https://github.com/llvm/llvm-project/commit/5914a5671a1596f68189c8408f8d877e6b6373bf
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M .github/workflows/pr-code-format.yml
Log Message:
-----------
[GitHub][workflows] Use latest clang-format version 18.1.7 (#95757)
Since clang-format 18.1.4, there have been a number of commits that
fixed various kinds of issues:
- Bug
3ceccbdb1995
- Regression
6dbaa89433f7
51ff7f38b633
35fea1032741
7699b341b763
768118d1ad38
8c0fe0d65ed8
- Crash
f1491c7460e7
- Invalid code generation
0abb89a80f5c
Commit: d1a4f0c9fb559eb4c2fb56112e56343bcd333edc
https://github.com/llvm/llvm-project/commit/d1a4f0c9fb559eb4c2fb56112e56343bcd333edc
Author: Momchil Velikov <momchil.velikov at arm.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
A llvm/test/CodeGen/AArch64/sitofp-to-tbl.ll
Log Message:
-----------
[AArch64] Lower extending sitofp using tbl (#92528)
In a similar manner as in https://reviews.llvm.org/D133494
use `TBL` to place bytes in the *upper* part of `i32` elements
and then convert to float using fixed-point `scvtf`, i.e.
scvtf Vd.4s, Vn.4s, #24
Commit: fe3f8ad8cc209c1f73a3c9465b46701120de51f7
https://github.com/llvm/llvm-project/commit/fe3f8ad8cc209c1f73a3c9465b46701120de51f7
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
Log Message:
-----------
[X86] getIntrinsicInstrCost - begin generalizing BSWAP load/store-folding handling.
Move load/store folding 'free costs' inside the adjustTableCost helper so we can some additional intrinsics in the future.
The plan is to do something similar for other costs callbacks as well (getArithmeticInstrCost etc.).
Commit: 7e3507e2f565bfc63d4a3f098ab770dce842ed32
https://github.com/llvm/llvm-project/commit/7e3507e2f565bfc63d4a3f098ab770dce842ed32
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAG] visitAVG - avoid duplication in the avg(ext(x), ext(y)) -> ext(avg(x, y)) folds
m_BinOp doesn't need a compile time opcode - so we can merge these into signed/unsigned cases.
Commit: a1994ae6247ddd0374c7eb3a5d421925117833ab
https://github.com/llvm/llvm-project/commit/a1994ae6247ddd0374c7eb3a5d421925117833ab
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M lldb/test/API/lit.cfg.py
Log Message:
-----------
[lldb] More reliably detect a virtual environment
More reliably detect whether the API tests are running in a virtual
environment by comparing sys.prefix and sys.base_prefix [1].
[1] https://docs.python.org/3/library/sys.html#sys.base_prefix
Commit: 2ebe4794b1bdb3519d5dda7ef39f32d868dfa9b0
https://github.com/llvm/llvm-project/commit/2ebe4794b1bdb3519d5dda7ef39f32d868dfa9b0
Author: Oleksandr T <oleksandr.tarasiuk at outlook.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/ExprConstant.cpp
A clang/test/Sema/integral-to-ptr.c
Log Message:
-----------
[Clang] Disallow non-lvalue values in constant expressions to prevent invalid pointer offset computation (#95479)
Fixes #95366
Commit: 4447e255a908c4e1a2863374eaee4bc98e773c3d
https://github.com/llvm/llvm-project/commit/4447e255a908c4e1a2863374eaee4bc98e773c3d
Author: Mital Ashok <mital at mitalashok.co.uk>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.nodiscard/p2.cpp
Log Message:
-----------
[NFC] Refactor `[[nodiscard]]` test to not use macros and run under `-pedantic` (#95762)
Commit: 3ad31e12ccfc7db25f3cbedc4ee966e7099ac78f
https://github.com/llvm/llvm-project/commit/3ad31e12ccfc7db25f3cbedc4ee966e7099ac78f
Author: Mital Ashok <mital at mitalashok.co.uk>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/ExprCXX.h
M clang/lib/AST/Expr.cpp
M clang/lib/AST/ExprCXX.cpp
M clang/lib/CodeGen/CGCXXABI.h
M clang/lib/CodeGen/CGExprCXX.cpp
M clang/lib/CodeGen/ItaniumCXXABI.cpp
M clang/lib/CodeGen/MicrosoftCXXABI.cpp
M clang/lib/Sema/SemaExceptionSpec.cpp
M clang/test/CXX/drs/cwg21xx.cpp
M clang/test/SemaCXX/warn-unused-value.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
[Clang] Introduce `CXXTypeidExpr::hasNullCheck` (#95718)
Used to implement CWG2191 where `typeid` for a polymorphic glvalue only
becomes potentially-throwing if the `typeid` operand was already
potentially throwing or a `nullptr` check was inserted:
https://cplusplus.github.io/CWG/issues/2191.html
Also change `Expr::hasSideEffects` for `CXXTypeidExpr` to check the
operand for side-effects instead of always reporting that there are
side-effects
Remove `IsDeref` parameter of `CGCXXABI::shouldTypeidBeNullChecked`
because it should never return `true` if `!IsDeref` (we shouldn't add a
null check that wasn't there in the first place)
Commit: a4b44c003e35bb6ed78af6300e576554d41f0368
https://github.com/llvm/llvm-project/commit/a4b44c003e35bb6ed78af6300e576554d41f0368
Author: Antonio Frighetto <me at antoniofrighetto.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/icmp-add.ll
Log Message:
-----------
[InstCombine] Canonicalize `icmp ult (add X, C2), C` expressions
`icmp ult (add X, C2), C` can be folded to `icmp ne (and X, C), 2C`,
subject to `C == -C2` and C2 being a power of 2.
Proofs: https://alive2.llvm.org/ce/z/P-VVmQ.
Fixes: https://github.com/llvm/llvm-project/issues/75613.
Commit: 3a2e4428938476a4822f4da7193e866e9dd585d9
https://github.com/llvm/llvm-project/commit/3a2e4428938476a4822f4da7193e866e9dd585d9
Author: Peiming Liu <peiming at google.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M mlir/lib/Dialect/SparseTensor/Transforms/SparseIterationToScf.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.h
M mlir/test/Dialect/SparseTensor/sparse_iteration_to_scf.mlir
Log Message:
-----------
[mlir][sparse] implement lowering rules for IterateOp. (#95286)
Commit: 21ba91c43902c25bfd55cc03fd245c3fe274717b
https://github.com/llvm/llvm-project/commit/21ba91c43902c25bfd55cc03fd245c3fe274717b
Author: Krzysztof Pszeniczny <kpszeniczny at google.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/SampleProfileMatcher.cpp
M llvm/test/Transforms/SampleProfile/pseudo-probe-stale-profile-matching-LCS.ll
Log Message:
-----------
[SamplePGO] Add a cutoff for number of profile matching anchors (#95542)
The algorithm added by PR #87375 can be potentially quadratic in the
number of anchors. This is almost never a problem because normally
functions have a reasonable number of function calls.
However, in some rare cases of auto-generated code we observed very
large functions that trigger quadratic behaviour here (resulting in
>130GB of peak heap memory usage for clang). Let's add a knob for
controlling the max number of callsites in a function above which stale
profile matching won't be performed.
Commit: 13d983e730297ad454d53a0a97e1f72499b489f1
https://github.com/llvm/llvm-project/commit/13d983e730297ad454d53a0a97e1f72499b489f1
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M mlir/lib/Transforms/Utils/DialectConversion.cpp
M mlir/test/Conversion/ArithToLLVM/arith-to-llvm.mlir
M mlir/test/Conversion/ArithToLLVM/convert-nd-vector-to-llvmir.mlir
M mlir/test/Conversion/ArithToSPIRV/arith-to-spirv.mlir
M mlir/test/Conversion/IndexToLLVM/index-to-llvm.mlir
M mlir/test/Conversion/IndexToSPIRV/index-to-spirv.mlir
M mlir/test/Conversion/MathToSPIRV/math-to-core-spirv.mlir
M mlir/test/Conversion/MemRefToLLVM/convert-dynamic-memref-ops.mlir
M mlir/test/Conversion/MemRefToLLVM/convert-static-memref-ops.mlir
M mlir/test/Conversion/MemRefToLLVM/memref-to-llvm.mlir
M mlir/test/Conversion/MemRefToSPIRV/bitwidth-emulation.mlir
M mlir/test/Conversion/MemRefToSPIRV/memref-to-spirv.mlir
M mlir/test/Conversion/NVGPUToNVVM/nvgpu-to-nvvm.mlir
M mlir/test/Conversion/VectorToLLVM/vector-scalable-memcpy.mlir
M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
M mlir/test/Conversion/VectorToSPIRV/vector-to-spirv.mlir
M mlir/test/Dialect/SCF/bufferize.mlir
M mlir/test/Dialect/Vector/linearize.mlir
Log Message:
-----------
[mlir][Transforms][NFC] Dialect Conversion: Resolve insertion point TODO (#95653)
Remove a TODO in the dialect conversion code base when materializing
unresolved conversions:
```
// FIXME: Determine a suitable insertion location when there are multiple
// inputs.
```
The implementation used to select an insertion point as follows:
- If the cast has exactly one operand: right after the definition of the
SSA value.
- Otherwise: right before the cast op.
However, it is not necessary to change the insertion point. Unresolved
materializations (`UnrealizedConversionCastOp`) are built during
`buildUnresolvedArgumentMaterialization` or
`buildUnresolvedTargetMaterialization`. In the former case, the op is
inserted at the beginning of the block. In the latter case, only one
operand is supported in the dialect conversion, and the op is inserted
right after the definition of the SSA value. I.e., the
`UnrealizedConversionCastOp` is already inserted at the right place and
it is not necessary to change the insertion point for the resolved
materialization op.
Note: The IR change changes slightly because the
`unrealized_conversion_cast` ops at the beginning of a block are no
longer doubly-inverted (by setting the insertion to the beginning of the
block when inserting the `unrealized_conversion_cast` and again when
inserting the resolved conversion op). All affected test cases were
fixed by using `CHECK-DAG` instead of `CHECK`.
Also improve the quality of multiple test cases that did not check for
the correct operands.
Note: This commit is in preparation of decoupling the
argument/source/target materialization logic of the type converter from
the dialect conversion (to reduce its complexity and make that
functionality usable from a new dialect conversion driver).
Commit: 15399890beb69f622ad0f04a544369fa7947d50b
https://github.com/llvm/llvm-project/commit/15399890beb69f622ad0f04a544369fa7947d50b
Author: Angel Zhang <angel.zhang at amd.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M mlir/test/mlir-vulkan-runner/vector-deinterleave.mlir
Log Message:
-----------
[mlir][spirv] Remove debug option from the `RUN` command in `vector-deinterleave.mlir` (#95820)
This PR is based on #95800. It removes a debug option from the `RUN`
command in `vector-deinterleave.mlir`.
Commit: 996905d8152def16ca2fa1322367e493ac6eef5e
https://github.com/llvm/llvm-project/commit/996905d8152def16ca2fa1322367e493ac6eef5e
Author: Peiming Liu <peiming at google.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M mlir/lib/Dialect/SparseTensor/Transforms/SparseIterationToScf.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.h
M mlir/test/Dialect/SparseTensor/sparse_iteration_to_scf.mlir
Log Message:
-----------
Revert "[mlir][sparse] implement lowering rules for IterateOp." (#95826)
Reverts llvm/llvm-project#95286
Commit: 7439072289f41d46d563763509d5d0d0cb62f3a0
https://github.com/llvm/llvm-project/commit/7439072289f41d46d563763509d5d0d0cb62f3a0
Author: Petr Hosek <phosek at google.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Fuchsia.cpp
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/aarch64-unknown-fuchsia/asan+noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/aarch64-unknown-fuchsia/asan/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/aarch64-unknown-fuchsia/compat/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/aarch64-unknown-fuchsia/hwasan+noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/aarch64-unknown-fuchsia/hwasan/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/aarch64-unknown-fuchsia/noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/riscv64-unknown-fuchsia/asan+noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/riscv64-unknown-fuchsia/asan/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/riscv64-unknown-fuchsia/compat/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/riscv64-unknown-fuchsia/hwasan+noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/riscv64-unknown-fuchsia/hwasan/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/riscv64-unknown-fuchsia/noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/x86_64-unknown-fuchsia/asan+noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/x86_64-unknown-fuchsia/asan/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/x86_64-unknown-fuchsia/compat/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/x86_64-unknown-fuchsia/hwasan+noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/x86_64-unknown-fuchsia/hwasan/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/x86_64-unknown-fuchsia/noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/lib/aarch64-unknown-fuchsia/ubsan+noexcept/libc++.so
A clang/test/Driver/Inputs/basic_fuchsia_tree/lib/aarch64-unknown-fuchsia/ubsan/libc++.so
A clang/test/Driver/Inputs/basic_fuchsia_tree/lib/x86_64-unknown-fuchsia/ubsan+noexcept/libc++.so
A clang/test/Driver/Inputs/basic_fuchsia_tree/lib/x86_64-unknown-fuchsia/ubsan/libc++.so
M clang/test/Driver/fuchsia.cpp
Log Message:
-----------
[Driver][Fuchsia] Support multilib for C++ include dir (#95815)
We generate a separate `__config_site` for each multilib and thus need
to add the additional include dir if it exists.
Commit: 111507ed4ce49bbb8cfbf36a3e143bb25f0f13c0
https://github.com/llvm/llvm-project/commit/111507ed4ce49bbb8cfbf36a3e143bb25f0f13c0
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
M llvm/test/CodeGen/RISCV/O0-pipeline.ll
A llvm/test/CodeGen/RISCV/rvv/pr93587.ll
M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-O0.ll
M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert.mir
Log Message:
-----------
[RISCV] Teach RISCVInsertVSETVLI to work without LiveIntervals (#94686)
Stacked on https://github.com/llvm/llvm-project/pull/94658.
We recently moved RISCVInsertVSETVLI from before vector register
allocation to after vector register allocation. When doing so, we added
an unconditional dependency on LiveIntervals - even at O0 where
LiveIntevals hadn't previously run. As reported in #93587, this was
apparently not safe to do.
This change makes LiveIntervals optional, and adjusts all the update
code to only run wen live intervals is present. The only real tricky
part of this change is the abstract state tracking in the dataflow. We
need to represent a "register w/unknown definition" state - but only
when we don't have LiveIntervals.
This adjust the abstract state definition so that the AVLIsReg state can
represent either a register + valno, or a register + unknown definition.
With LiveIntervals, we have an exact definition for each AVL use.
Without LiveIntervals, we treat the definition of a register AVL as
being unknown.
The key semantic change is that we now have a state in the lattice for
which something is known about the AVL value, but for which two
identical lattice elements do *not* necessarily represent the same AVL
value at runtime. Previously, the only case which could result in such
an unknown AVL was the fully unknown state (where VTYPE is also fully
unknown). This requires a small adjustment to hasSameAVL and lattice
state equality to draw this important distinction.
The net effect of this patch is that we remove the LiveIntervals
dependency at O0, and O0 code quality will regress for cases involving
register AVL values.
This patch is an alternative to
https://github.com/llvm/llvm-project/pull/93796 and
https://github.com/llvm/llvm-project/pull/94340. It is very directly
inspired by review conversation around them, and thus should be
considered coauthored by Luke.
Commit: 1d028151c9cd79d76c1cda0bc3b4f10a2239d8b6
https://github.com/llvm/llvm-project/commit/1d028151c9cd79d76c1cda0bc3b4f10a2239d8b6
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
M llvm/test/CodeGen/RISCV/O0-pipeline.ll
R llvm/test/CodeGen/RISCV/rvv/pr93587.ll
M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-O0.ll
M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert.mir
Log Message:
-----------
Revert "[RISCV] Teach RISCVInsertVSETVLI to work without LiveIntervals (#94686)"
This reverts commit 111507ed4ce49bbb8cfbf36a3e143bb25f0f13c0. Accidentally landed with stale commit message, will reply shortly.
Commit: 8756043467edbc6d62efd36af9985150b5781111
https://github.com/llvm/llvm-project/commit/8756043467edbc6d62efd36af9985150b5781111
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
M llvm/test/CodeGen/RISCV/O0-pipeline.ll
A llvm/test/CodeGen/RISCV/rvv/pr93587.ll
M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-O0.ll
M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert.mir
Log Message:
-----------
[RISCV] Teach RISCVInsertVSETVLI to work without LiveIntervals
(Reapplying with corrected commit message)
We recently moved RISCVInsertVSETVLI from before vector register allocation
to after vector register allocation. When doing so, we added an unconditional
dependency on LiveIntervals - even at O0 where LiveIntevals hadn't previously
run. As reported in #93587, this was apparently not safe to do.
This change makes LiveIntervals optional, and adjusts all the update code to
only run wen live intervals is present. The only real tricky part of this
change is the abstract state tracking in the dataflow. We need to represent
a "register w/unknown definition" state - but only when we don't have
LiveIntervals.
This adjust the abstract state definition so that the AVLIsReg state can
represent either a register + valno, or a register + unknown definition.
With LiveIntervals, we have an exact definition for each AVL use. Without
LiveIntervals, we treat the definition of a register AVL as being unknown.
The key semantic change is that we now have a state in the lattice for which
something is known about the AVL value, but for which two identical lattice
elements do *not* neccessarily represent the same AVL value at runtime.
Previously, the only case which could result in such an unknown AVL was the
fully unknown state (where VTYPE is also fully unknown). This requires a
small adjustment to hasSameAVL and lattice state equality to draw this
important distinction.
The net effect of this patch is that we remove the LiveIntervals dependency
at O0, and O0 code quality will regress for cases involving register AVL values.
In practice, this means we pessimize code written with intrinsics at O0.
This patch is an alternative to #93796 and #94340. It is very directly
inspired by review conversation around them, and thus should be considered
coauthored by Luke.
Commit: c9549e10e9ea70428ada80a34d15afeaf5710b2d
https://github.com/llvm/llvm-project/commit/c9549e10e9ea70428ada80a34d15afeaf5710b2d
Author: Jacques Pienaar <jpienaar at google.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M mlir/include/mlir-c/Rewrite.h
Log Message:
-----------
[mlirc] Add missing extern C (#95829)
This was missing being wrapped in extern C block.
Don't know why didn't fail elsewhere, but failed on Windows build while
linking Python libs.
Signed-off-by: Jacques Pienaar <jpienaar at google.com>
Commit: c22d3917b93a6d54613d2e5b2ea4c97546144c46
https://github.com/llvm/llvm-project/commit/c22d3917b93a6d54613d2e5b2ea4c97546144c46
Author: Antonio Frighetto <me at antoniofrighetto.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/ConstantRange.h
M llvm/lib/Analysis/LazyValueInfo.cpp
M llvm/lib/IR/ConstantRange.cpp
M llvm/test/Transforms/CorrelatedValuePropagation/icmp.ll
M llvm/unittests/IR/ConstantRangeTest.cpp
Log Message:
-----------
[LVI][ConstantRange] Generalize mask not equal conditions handling
Extend `V & Mask != 0` for non-zero constants if satisfiable, when
retrieving constraint value information from a non-equality comparison.
Proof: https://alive2.llvm.org/ce/z/dc5BeT.
Motivating example: https://github.com/gcc-mirror/gcc/blob/master/gcc/testsuite/gcc.dg/tree-ssa/vrp76.c.
Commit: 06aa078d68380bc775f0a903204fe330d50f4f1f
https://github.com/llvm/llvm-project/commit/06aa078d68380bc775f0a903204fe330d50f4f1f
Author: Hana Dusíková <hanicka at hanicka.net>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/docs/ReleaseNotes.rst
M llvm/test/tools/llvm-cov/Inputs/showProjectSummary.test
M llvm/test/tools/llvm-cov/showLineExecutionCounts.cpp
M llvm/test/tools/llvm-cov/showTemplateInstantiations.cpp
M llvm/tools/llvm-cov/SourceCoverageView.cpp
M llvm/tools/llvm-cov/SourceCoverageView.h
M llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp
M llvm/tools/llvm-cov/SourceCoverageViewHTML.h
M llvm/tools/llvm-cov/SourceCoverageViewText.cpp
M llvm/tools/llvm-cov/SourceCoverageViewText.h
Log Message:
-----------
[llvm-cov] Coverage report HTML UI to jump between uncovered parts of code (#95662)
I replaced "jump to first uncovered line" with UI buttons and keyboard
shortcut to jump between uncovered parts of code: lines (key L), branchs
(key B), regions (key R).
User can also jump in reverse direction with shift+key.
Commit: bba5951b6f9cd77047cafc554b20144b33602298
https://github.com/llvm/llvm-project/commit/bba5951b6f9cd77047cafc554b20144b33602298
Author: Shivam Gupta <shivam98.tkg at gmail.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/LoopEmitter.cpp
Log Message:
-----------
[MLIR] Fix an assert that contains a mistake in conditional operator (#95668)
This is described in (N2) https://pvs-studio.com/en/blog/posts/cpp/1126/
so caught by the PVS Studio analyzer.
Warning message -
V502 Perhaps the '?:' operator works in a different way than it was
expected. The '?:' operator has a lower priority than the '+' operator.
LoopEmitter.cpp 983
V502 Perhaps the '?:' operator works in a different way than it was
expected. The '?:' operator has a lower priority than the '+' operator.
LoopEmitter.cpp 1039
The assert should be
assert(bArgs.size() == reduc.size() + (needsUniv ? 1 : 0));
since + has higher precedence and ? has lower.
This further can be reduce to
assert(aArgs.size() == reduc.size() + needsUniv);
because needUniv is a bool value which is implicitly converted to 0 or
Commit: 3b997294d6117241477ab36be0595040f8278707
https://github.com/llvm/llvm-project/commit/3b997294d6117241477ab36be0595040f8278707
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/lib/Target/AMDGPU/AMDGPUGISel.td
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPUSearchableTables.td
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/test/CodeGen/AMDGPU/fp-atomics-gfx1200.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ptr.buffer.atomic.fadd_rtn_errors.ll
Log Message:
-----------
AMDGPU: Remove .v2bf16 buffer atomic fadd intrinsics (#95783)
These are redundant with the unsuffixed versions, and have a name
collision with surprising behavior when the base intrinsic is used with
v2bf16.
The global and flat variants should be removed too, but those are complicated
due to using v2i16 in place of the natural v2bf16. Those cases can soon be
completely deleted in favor of atomicrmw.
The GlobalISel codegen change is broken and substitutes handling as bf16
for handling as f16, but it's a bug that this passed the IRTranslator in the first
place.
Commit: 8930ac1bbe0bc50402da53b22501e17045a537ca
https://github.com/llvm/llvm-project/commit/8930ac1bbe0bc50402da53b22501e17045a537ca
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/SIRegisterInfo.td
Log Message:
-----------
AMDGPU: Cleanup selection patterns for buffer loads (#95378)
We should just support these for all register types.
Commit: 804335638078f5a7c2bd31847b6080763cb22159
https://github.com/llvm/llvm-project/commit/804335638078f5a7c2bd31847b6080763cb22159
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M offload/plugins-nextgen/amdgpu/src/rtl.cpp
Log Message:
-----------
[Offload] Change HSA header search order (#95769)
Summary:
The HSA headers existed previously in `include/hsa.h` and were moved to
`include/hsa/hsa.h` in a later ROCm version. The include headers here
were originally designed to favor a newer one. However, this
unintentionally prevented the dyanmic HSA's `hsa.h` from being used if
both were present. This patch changes the order so it will be found
first.
Related to https://github.com/llvm/llvm-project/pull/95484.
Commit: 77d8cfb3c50e3341d65af1f9e442004bbd77af9b
https://github.com/llvm/llvm-project/commit/77d8cfb3c50e3341d65af1f9e442004bbd77af9b
Author: Alexander Shaposhnikov <6532716+alexander-shaposhnikov at users.noreply.github.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M flang/include/flang/Evaluate/tools.h
M flang/include/flang/Lower/DumpEvaluateExpr.h
M flang/include/flang/Lower/PFTBuilder.h
M flang/include/flang/Lower/Support/Utils.h
M flang/include/flang/Optimizer/Support/Matcher.h
M flang/lib/Evaluate/intrinsics.cpp
M flang/lib/Lower/Allocatable.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/CallInterface.cpp
M flang/lib/Lower/ComponentPath.cpp
M flang/lib/Lower/ConvertArrayConstructor.cpp
M flang/lib/Lower/ConvertCall.cpp
M flang/lib/Lower/ConvertConstant.cpp
M flang/lib/Lower/ConvertExpr.cpp
M flang/lib/Lower/ConvertExprToHLFIR.cpp
M flang/lib/Lower/ConvertType.cpp
M flang/lib/Lower/DirectivesCommon.h
M flang/lib/Lower/IO.cpp
M flang/lib/Lower/IterationSpace.cpp
M flang/lib/Lower/Mangler.cpp
M flang/lib/Lower/OpenACC.cpp
M flang/lib/Lower/OpenMP/Clauses.cpp
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/lib/Lower/PFTBuilder.cpp
M flang/lib/Lower/VectorSubscripts.cpp
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Semantics/check-acc-structure.cpp
M flang/lib/Semantics/check-coarray.cpp
Log Message:
-----------
[Flang] Switch to common::visit more call sites (#90018)
Switch to common::visit more call sites.
Test plan: ninja check-all
Commit: 7ddff3a586baaf6f4403183ba51121951ce0602e
https://github.com/llvm/llvm-project/commit/7ddff3a586baaf6f4403183ba51121951ce0602e
Author: Abid Qadeer <haqadeer at amd.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
Log Message:
-----------
[flang] Fix comments and formatting. (NFC) (#95786)
As mentioned in
[here](https://github.com/llvm/llvm-project/pull/95462#discussion_r1640126721),
the formatting of the comments have been fixed. Also added comments
before literal arguments.
Commit: 7620fe0d2d1e0257611c0ab0d96f3bf1bf7a1079
https://github.com/llvm/llvm-project/commit/7620fe0d2d1e0257611c0ab0d96f3bf1bf7a1079
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/utils/git/code-format-helper.py
Log Message:
-----------
[CI][format] Explicitly pass extensions to git-clang-format (#95794)
This ensures that the CI script controls which file extensions are
considered instead of letting git-clang-format apply its own filtering
rules. In particular, this properly handles libc++ extension-less
headers which were passed to git-clang-format, but then dropped by that
tool as having an unrecognized extension.
Commit: 5b04b6fe3fabba8f76d730da3c0d528e1dd0c184
https://github.com/llvm/llvm-project/commit/5b04b6fe3fabba8f76d730da3c0d528e1dd0c184
Author: Florian Mayer <fmayer at google.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M compiler-rt/lib/asan/asan_linux.cpp
M compiler-rt/lib/asan/asan_mac.cpp
M compiler-rt/lib/asan/asan_premap_shadow.cpp
M compiler-rt/lib/hwasan/hwasan_dynamic_shadow.cpp
M compiler-rt/lib/memprof/memprof_linux.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_common.h
M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_win.cpp
Log Message:
-----------
[HWASan] [compiler-rt] support non-4k pages on Android (#95069)
Commit: d6cc35f7f67575f2d3534ea385c2f36f48f49aea
https://github.com/llvm/llvm-project/commit/d6cc35f7f67575f2d3534ea385c2f36f48f49aea
Author: Peiming Liu <peiming at google.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M mlir/lib/Dialect/SparseTensor/Transforms/SparseIterationToScf.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.h
M mlir/test/Dialect/SparseTensor/sparse_iteration_to_scf.mlir
Log Message:
-----------
Reapply "[mlir][sparse] implement lowering rules for IterateOp." (#95836)
Commit: dcb6c0d71c8dbb6bb17391c968c3716cfafd3765
https://github.com/llvm/llvm-project/commit/dcb6c0d71c8dbb6bb17391c968c3716cfafd3765
Author: Fabian Mora <fmora.dev at gmail.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M mlir/include/mlir/Target/LLVM/ROCDL/Utils.h
M mlir/lib/Dialect/GPU/CMakeLists.txt
M mlir/lib/Target/LLVM/CMakeLists.txt
M mlir/lib/Target/LLVM/ROCDL/Target.cpp
Log Message:
-----------
Reland [mlir][Target] Improve ROCDL gpu serialization API (#95813)
Reland: https://github.com/llvm/llvm-project/pull/95456
This patch improves the ROCDL gpu serialization API by:
- Introducing the enum `AMDGCNLibraries` for specifying the AMD GCN
device code libraries to use during linking.
- Removing `getCommonBitcodeLibs` in favor of `AMDGCNLibraries`.
Previously `getCommonBitcodeLibs` would try to load all AMD GCN bitcode
librariesm now it will only load the requested libraries.
- Exposing the `compileToBinary` method and making it virtual, allowing
downstream users to re-use this method.
- Exposing `moduleToObjectImpl`, this method provides a prototype flow
for compiling to binary, allowing downstream users to re-use this
method.
- It also avoids constructing the control variables if no device
libraries are being used.
- Changes the style of the error messages to be composable, ie no full
stops.
- Adds an error message for when the ROCm toolkit can't be found but it
was required.
Commit: 44ca65661e2cdd5636f592f573a2837e6ae948ba
https://github.com/llvm/llvm-project/commit/44ca65661e2cdd5636f592f573a2837e6ae948ba
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M libc/test/IntegrationTest/test.cpp
M libc/test/UnitTest/HermeticTestUtils.cpp
Log Message:
-----------
[libc] Only include getauxval on AARCH64 targets (#95844)
Summary:
Not all platforms support this function or header, but it was being
included by every test. Move it inside of the `ifdef` for the only user,
which is aarch64.
Commit: a50bcc03cbaecf6473c6bf41f4497758a7876f3d
https://github.com/llvm/llvm-project/commit/a50bcc03cbaecf6473c6bf41f4497758a7876f3d
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M libc/src/stdlib/CMakeLists.txt
Log Message:
-----------
[libc][stdlib] Only add internal malloc in full build mode. Use the system malloc in overlay mode. (#95845)
This causes an issue in overlay mode:
https://github.com/llvm/llvm-project/pull/95736#issuecomment-2172739705
Commit: 16aa39ad94350670f4d72dace0a4866fbe10d716
https://github.com/llvm/llvm-project/commit/16aa39ad94350670f4d72dace0a4866fbe10d716
Author: Joshua Baehring <98630690+JoshuaMBa at users.noreply.github.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M compiler-rt/lib/scudo/standalone/secondary.h
M compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
Log Message:
-----------
[scudo] Update error handling for seondary cache entry count (#95595)
Initially, the scudo allocator would return an error if the user
attempted to set the cache capacity
(i.e. the number of possible entries in the cache) above the maximum
cache capacity.
Now the allocator will resort to using the maximum cache capacity in
this event.
An error will still be returned if the user attempts to set the number
of entries to a negative value.
Commit: 6037a698b919e0c8dbf39673d68835c49dc5130a
https://github.com/llvm/llvm-project/commit/6037a698b919e0c8dbf39673d68835c49dc5130a
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/MLInlineAdvisor.h
M llvm/lib/Analysis/MLInlineAdvisor.cpp
M llvm/lib/Analysis/models/gen-inline-oz-test-model.py
A llvm/test/Transforms/Inline/ML/bypass.ll
Log Message:
-----------
[mlgo] inline for size: add bypass mechanism for perserving performance (#95616)
This allows shrinking for size the cold part of the code, without sacrificing performance.
Commit: 3a2f7d8a9f84db380af5122418098cb28a57443f
https://github.com/llvm/llvm-project/commit/3a2f7d8a9f84db380af5122418098cb28a57443f
Author: Fabian Mora <fmora.dev at gmail.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M mlir/include/mlir/Target/LLVM/ROCDL/Utils.h
M mlir/lib/Dialect/GPU/CMakeLists.txt
M mlir/lib/Target/LLVM/CMakeLists.txt
M mlir/lib/Target/LLVM/ROCDL/Target.cpp
Log Message:
-----------
Revert "Reland [mlir][Target] Improve ROCDL gpu serialization API" (#95847)
Reverts llvm/llvm-project#95813
Commit: 1adf0fae0503fccd1216865dd0276c3ec97f62a7
https://github.com/llvm/llvm-project/commit/1adf0fae0503fccd1216865dd0276c3ec97f62a7
Author: Florian Mayer <fmayer at google.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M compiler-rt/lib/asan/asan_linux.cpp
M compiler-rt/lib/asan/asan_mac.cpp
M compiler-rt/lib/asan/asan_premap_shadow.cpp
M compiler-rt/lib/hwasan/hwasan_dynamic_shadow.cpp
M compiler-rt/lib/memprof/memprof_linux.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_common.h
M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_win.cpp
Log Message:
-----------
Revert "[HWASan] [compiler-rt] support non-4k pages on Android" (#95853)
Reverts llvm/llvm-project#95069
Broke windows bot
Commit: 6b54ecca885f58cd9449535a8678d93144c62e4d
https://github.com/llvm/llvm-project/commit/6b54ecca885f58cd9449535a8678d93144c62e4d
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Analysis/DevelopmentModeInlineAdvisor.cpp
M llvm/lib/Analysis/models/gen-inline-oz-test-model.py
Log Message:
-----------
[mlgo] remove `inlining_default` - unused feature
The feature was only exposed for training and was immediately dropped on
the training side. It was bulk-copied into the test model generator, where
it had no effect (the generator always returns a constant).
In the AOT + test model case, since the test model returns a constant, all
input features are pruned by the AOT compiler, so its presence/absence
doesn't matter.
Commit: ca22469a101e73fd2b2057d98d3f880f064764e5
https://github.com/llvm/llvm-project/commit/ca22469a101e73fd2b2057d98d3f880f064764e5
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M libc/test/src/stdlib/CMakeLists.txt
Log Message:
-----------
[libc][stdlib] Run freelist_heap_test only in full build mode. (#95850)
Commit: ca1a96364a568be6a2e65e6f12328b23dd35bafc
https://github.com/llvm/llvm-project/commit/ca1a96364a568be6a2e65e6f12328b23dd35bafc
Author: Jacques Pienaar <jpienaar at google.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M mlir/test/mlir-tblgen/rewriter-static-matcher.td
M mlir/tools/mlir-tblgen/RewriterGen.cpp
Log Message:
-----------
[mlir][drr] Fix variadic destination emission (#95855)
Its possible for handleResultPattern to emit helpers, these helpers
cannot be interleaved with pushing into the array. Emit into a separate
string to enable helpers to be emitted before the population of vector.
Signed-off-by: Jacques Pienaar <jpienaar at google.com>
Commit: 6c17f1cabdee3399feceb478921a8369bde18b16
https://github.com/llvm/llvm-project/commit/6c17f1cabdee3399feceb478921a8369bde18b16
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M lldb/include/lldb/DataFormatters/ValueObjectPrinter.h
Log Message:
-----------
Fix comments in ValueObjectPrinter.h (NFC)
Commit: 68fc8dffe4669fed1f7eb88e6770509505f9960a
https://github.com/llvm/llvm-project/commit/68fc8dffe4669fed1f7eb88e6770509505f9960a
Author: shaw young <58664393+shawbyoung at users.noreply.github.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M bolt/docs/CommandLineArgumentReference.md
M bolt/lib/Profile/StaleProfileMatching.cpp
A bolt/test/X86/Inputs/blarge_profile_stale_low_matched_blocks.yaml
A bolt/test/X86/stale-matching-min-matched-block.test
Log Message:
-----------
[BOLT] Drop high discrepancy profiles in matching (#95156)
Summary: Functions with high discrepancy
(measured by matched function blocks)
can be ignored with an added command line
argument for better performance.
Test Plan: Added
stale-matching-min-matched-block.test
---------
Co-authored-by: Amir Ayupov <aaupov at fb.com>
Commit: 0041582b6ca137ad04e26985a87a1ae45fb0f0bb
https://github.com/llvm/llvm-project/commit/0041582b6ca137ad04e26985a87a1ae45fb0f0bb
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M lldb/test/API/lit.cfg.py
Log Message:
-----------
[lldb] Fix Python interpreter workaround (attempt #2)
On macOS, to make DYLD_INSERT_LIBRARIES and the Python shim work
together, we have a workaroud that copies the "real" Python interpreter
into the build directory. This doesn't work when running in a virtual
environment, as the copied interpreter cannot find the packages
installed in the virtual environment relative to itself.
Address this issue by copying the Python interpreter into the virtual
environment's `bin` folder, rather than the build folder, when the test
suite detects that it's being run inside a virtual environment.
I'm not thrilled about this solution because it puts a file outside the
build directory. However, given virtual environments are considered
disposable, this seems reasonable.
Commit: cd48335a8a5e97c4a4942fb4f94a511da3eb60f4
https://github.com/llvm/llvm-project/commit/cd48335a8a5e97c4a4942fb4f94a511da3eb60f4
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/docs/Security.rst
Log Message:
-----------
[docs][Security Group] Update Apple representation. (#95491)
Remove Kate; Apple is now represented by Oliver (and myself).
Commit: c6049e67efaaca34ca8ad93b007397b118574b81
https://github.com/llvm/llvm-project/commit/c6049e67efaaca34ca8ad93b007397b118574b81
Author: Florian Mayer <fmayer at google.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M compiler-rt/lib/asan/asan_linux.cpp
M compiler-rt/lib/asan/asan_mac.cpp
M compiler-rt/lib/asan/asan_premap_shadow.cpp
M compiler-rt/lib/asan/asan_win.cpp
M compiler-rt/lib/hwasan/hwasan_dynamic_shadow.cpp
M compiler-rt/lib/memprof/memprof_linux.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_common.h
M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_win.cpp
Log Message:
-----------
Reapply "[HWASan] [compiler-rt] support non-4k pages on Android" (#95853)
Updated MapDynamicShadow callsite in asan_win.
Commit: bea329ecb0bd756d2e169169fb4333e9cd4d2dae
https://github.com/llvm/llvm-project/commit/bea329ecb0bd756d2e169169fb4333e9cd4d2dae
Author: Vidush Singhal <54336227+vidsinghal at users.noreply.github.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
Log Message:
-----------
[Attributor]: allow more than one offset for a pass through user in AAPointerInfo (#94416)
Co-authored-by: Vidush Singhal <singhal2 at ruby964.llnl.gov>
Commit: c67ecf385395ecb6184faf577b5b60367c923aa8
https://github.com/llvm/llvm-project/commit/c67ecf385395ecb6184faf577b5b60367c923aa8
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M bolt/test/X86/bug-reorder-bb-jrcxz.s
Log Message:
-----------
[BOLT][tests] Fix jrcxz instruction test (#95861)
Rewrite the test case intended to check that BOLT does not separate
jrcxz instruction from its destination by more than a one-byte offset.
Commit: a02010b3e97b5f01d4ff921b353f4a25a29c45cd
https://github.com/llvm/llvm-project/commit/a02010b3e97b5f01d4ff921b353f4a25a29c45cd
Author: Peiming Liu <peiming at google.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensor.h
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
M mlir/include/mlir/Dialect/SparseTensor/Pipelines/Passes.h
M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.h
M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparseIterationToScf.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparsificationAndBufferizationPass.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/LoopEmitter.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/LoopEmitter.h
M mlir/test/Dialect/SparseTensor/fuse_sparse_pad_with_consumer.mlir
M mlir/test/Dialect/SparseTensor/sparse_2d.mlir
M mlir/test/Dialect/SparseTensor/sparse_3d.mlir
M mlir/test/Dialect/SparseTensor/sparse_affine.mlir
M mlir/test/Dialect/SparseTensor/sparse_batch.mlir
M mlir/test/Dialect/SparseTensor/sparse_broadcast.mlir
M mlir/test/Dialect/SparseTensor/sparse_concat.mlir
M mlir/test/Dialect/SparseTensor/sparse_fill_zero.mlir
M mlir/test/Dialect/SparseTensor/sparse_fp_ops.mlir
M mlir/test/Dialect/SparseTensor/sparse_fusion.mlir
M mlir/test/Dialect/SparseTensor/sparse_int_ops.mlir
M mlir/test/Dialect/SparseTensor/sparse_kernels.mlir
A mlir/test/Dialect/SparseTensor/sparse_kernels_to_iterator.mlir
M mlir/test/Dialect/SparseTensor/sparse_lower_inplace.mlir
M mlir/test/Dialect/SparseTensor/sparse_matmul_codegen.mlir
M mlir/test/Dialect/SparseTensor/sparse_nd.mlir
M mlir/test/Dialect/SparseTensor/sparse_out.mlir
M mlir/test/Dialect/SparseTensor/sparse_outbuf.mlir
M mlir/test/Dialect/SparseTensor/sparse_parallel_reduce.mlir
M mlir/test/Dialect/SparseTensor/sparse_perm.mlir
M mlir/test/Dialect/SparseTensor/sparse_reshape.mlir
M mlir/test/Dialect/SparseTensor/sparse_sddmm.mlir
M mlir/test/Dialect/SparseTensor/sparse_sddmm_org.mlir
M mlir/test/Dialect/SparseTensor/sparse_tensor_reshape.mlir
M mlir/test/Dialect/SparseTensor/sparse_vector_chain.mlir
M mlir/test/Dialect/SparseTensor/sparse_vector_index.mlir
M mlir/test/Dialect/SparseTensor/spy_sddmm_bsr.mlir
M mlir/test/Dialect/SparseTensor/vectorize_reduction.mlir
A mlir/test/Integration/Dialect/SparseTensor/CPU/iterator-based-sqsum.mlir
Log Message:
-----------
[mlir][sparse] support sparsifying sparse kernels to sparse-iterator-based loop (#95858)
Commit: 753498eed1d2d6d8c419bae5b65458640e5fbfd7
https://github.com/llvm/llvm-project/commit/753498eed1d2d6d8c419bae5b65458640e5fbfd7
Author: shaw young <58664393+shawbyoung at users.noreply.github.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M bolt/lib/Profile/StaleProfileMatching.cpp
A bolt/test/X86/Inputs/infer_no_exits.s
A bolt/test/X86/infer_no_exits.test
Log Message:
-----------
[BOLT] Add sink block to flow CFG in profile inference (#95047)
Summary: Constructing an artificial sink block for the
flow CFG in stale profile inference to allow profile
inference to be run on CFGs with blocks that terminate
and have successors.
Testing Plan: Added infer_no_exits.test to verify that
functions with exit blocks with a landing pad are
covered by stale profile inference.
---------
Co-authored-by: Amir Ayupov <fads93 at gmail.com>
Commit: 2cf2f1b2b6219b606faeade2342c3d2288658ab0
https://github.com/llvm/llvm-project/commit/2cf2f1b2b6219b606faeade2342c3d2288658ab0
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M libcxx/cmake/caches/Apple.cmake
R libcxx/test/configs/apple-libc++-shared.cfg.in
M libcxx/test/libcxx/input.output/iostream.format/output.streams/ostream.formatted/ostream.formatted.print/vprint_unicode.pass.cpp
M libcxx/utils/ci/apple-install-libcxx.sh
R libcxxabi/test/configs/apple-libc++abi-shared.cfg.in
Log Message:
-----------
[libc++] Test suite adjustments on macOS (#95835)
This patch makes a few adjustments to the way we run the tests in the
Apple configuration on macOS:
First, we stop using DYLD_LIBRARY_PATH. Using that environment variable
leads to libc++.dylib being replaced by the just-built one for the whole
process, and that assumes compatibility between the system-provided
dylib and the just-built one. Unfortunately, that is not the case
anymore due to typed allocation, which is only available in the system
one. Instead, we want to layer the just-built libc++ on top of the
system-provided one, which seems to be what happens when we set a rpath
instead.
Second, add a missing XFAIL for a std::print test that didn't work as
expected when building with availability annotations enabled. When we
enable these annotations, std::print falls back to a non-unicode and
non-terminal output, which breaks the test.
Commit: ffed34e0250820161c68d799ad883eb00086ac05
https://github.com/llvm/llvm-project/commit/ffed34e0250820161c68d799ad883eb00086ac05
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M libc/test/IntegrationTest/test.cpp
M libc/test/UnitTest/HermeticTestUtils.cpp
Log Message:
-----------
[libc] Fix getauxval being defined in a namespace
Commit: 3c6a1090b25ef2dda5a378182cd17aad00439d35
https://github.com/llvm/llvm-project/commit/3c6a1090b25ef2dda5a378182cd17aad00439d35
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M clang/lib/Format/FormatToken.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/UnwrappedLineParser.cpp
Log Message:
-----------
[clang-format][NFC] Add FormatToken::isAccessSpecifierKeyword() (#95727)
Commit: d6b0b7acf3562c8089f3342634a749f03909fd32
https://github.com/llvm/llvm-project/commit/d6b0b7acf3562c8089f3342634a749f03909fd32
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/lib/ProfileData/InstrProf.cpp
Log Message:
-----------
[ProfileData] Remove getValueProfDataFromInst (#95617)
I've migrated all uses to the new version of getValueProfDataFromInst
that returns std::unique_ptr<InstrProfValueData[]>.
Commit: 2c2f49059ff2999e06eb5ecb76af5b1ebd3e5477
https://github.com/llvm/llvm-project/commit/2c2f49059ff2999e06eb5ecb76af5b1ebd3e5477
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/IndirectCallPromotionAnalysis.h
M llvm/lib/Analysis/IndirectCallPromotionAnalysis.cpp
M llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
Log Message:
-----------
[Analysis] Clean up getPromotionCandidatesForInstruction (NFC) (#95624)
Callers of getPromotionCandidatesForInstruction pass NumVals as an out
parameter for the number of value-count pairs of the value profiling
data, but nobody uses the out parameter.
This patch removes the parameter and updates the callers. Note that
the number of value-count pairs is still available via
getPromotionCandidatesForInstruction(...).size().
Commit: d68eb5b956a47c6321e26076f2481346b5e397fa
https://github.com/llvm/llvm-project/commit/d68eb5b956a47c6321e26076f2481346b5e397fa
Author: alx32 <103613512+alx32 at users.noreply.github.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M lld/MachO/ObjC.cpp
M lld/MachO/ObjC.h
Log Message:
-----------
[lld-macho][NFC] Track category merger input data source language for better verification (#95473)
This change adds tracking for the source language of the various input
structs used by the category merger. Identification is based on expected
symbol names. It also adds checks to ensure we're dealing with the
expected data in known scenarios.
Commit: 117921e071a353edbd27f08456ec27ea98ecdb8c
https://github.com/llvm/llvm-project/commit/117921e071a353edbd27f08456ec27ea98ecdb8c
Author: Kai Luo <lkail at cn.ibm.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/lib/IR/Globals.cpp
M llvm/test/CodeGen/PowerPC/tocdata-firm-alignment.ll
Log Message:
-----------
[PowerPC] Alignment of toc-data symbol should not be increased during optimizations (#94593)
Currently, the alignment of toc-data symbol might be changed during
instcombine
```
IC: Visiting: %global = alloca %struct.widget, align 8
Found alloca equal to global: %global = alloca %struct.widget, align 8
memcpy = call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %global, ptr align 1 @global, i64 3, i1 false)
```
The `alloca` is created with `PrefAlign` which is 8 and after IC, the
alignment of `@global` is enforced into `8`, same as the `alloca`. This
is not expected, since toc-data symbol has the same alignment as toc
entry and should not be increased during optimizations.
---------
Co-authored-by: Sean Fertile <sd.fertile at gmail.com>
Co-authored-by: Eli Friedman <efriedma at quicinc.com>
Commit: e4b130fa00a01cad73709b782e8044e5a9535b85
https://github.com/llvm/llvm-project/commit/e4b130fa00a01cad73709b782e8044e5a9535b85
Author: Luke Lau <luke at igalia.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/utils/emacs/llvm-mode.el
Log Message:
-----------
[emacs] Handle vector types, arbitary integer types and function names (#88246)
Resurrecting this patch from https://reviews.llvm.org/D158321
This adds a few more regexp patterns for llvm-mode-syntax-table. The
primitive type regexp was split out so it could be reused when handling
vectors. Also worth noting is that the vector regexp needs to come
before the primitive types, otherwise they will match first.
Commit: 049630d0ae805d56b9587024d2542e7e08c9e1d2
https://github.com/llvm/llvm-project/commit/049630d0ae805d56b9587024d2542e7e08c9e1d2
Author: Justin Fargnoli <jfargnoli at nvidia.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/test/CodeGen/NVPTX/f16-instructions.ll
Log Message:
-----------
[NFC][NVPTX][test] Update test for `fneg half` (#95856)
`test_fneg` function uses `fsub half 0.0, %x`. Add a test that uses the
`fneg` instruction directly.
Commit: 43fd4c49bd8d54b9058620f0a885c7a5672fd602
https://github.com/llvm/llvm-project/commit/43fd4c49bd8d54b9058620f0a885c7a5672fd602
Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/GPU/IR/GPUBase.td
M mlir/include/mlir/Dialect/GPU/IR/GPUOps.td
M mlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp
M mlir/lib/Conversion/GPUCommon/IndexIntrinsicsOpLowering.h
M mlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
M mlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
M mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp
M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
M mlir/lib/Dialect/GPU/IR/InferIntRangeInterfaceImpls.cpp
M mlir/lib/Dialect/GPU/Transforms/KernelOutlining.cpp
M mlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir
M mlir/test/Conversion/GPUToROCDL/gpu-to-rocdl.mlir
M mlir/test/Dialect/GPU/int-range-interface.mlir
M mlir/test/Dialect/GPU/invalid.mlir
M mlir/test/Dialect/GPU/outlining.mlir
Log Message:
-----------
[mlir][GPU] Improve handling of GPU bounds (#95166)
This change reworks how range information for GPU dispatch IDs (block
IDs, thread IDs, and so on) is handled.
1. `known_block_size` and `known_grid_size` become inherent attributes
of GPU functions. This makes them less clunky to work with. As a
consequence, the `gpu.func` lowering patterns now only look at the
inherent attributes when setting target-specific attributes on the
`llvm.func` that they lower to.
2. At the same time, `gpu.known_block_size` and `gpu.known_grid_size`
are made official dialect-level discardable attributes which can be
placed on arbitrary functions. This allows for progressive lowerings
(without this, a lowering for `gpu.thread_id` couldn't know about the
bounds if it had already been moved from a `gpu.func` to an `llvm.func`)
and allows for range information to be provided even when
`gpu.*_{id,dim}` are being used outside of a `gpu.func` context.
3. All of these index operations have gained an optional `upper_bound`
attribute, allowing for an alternate mode of operation where the bounds
are specified locally and not inherited from the operation's context.
These also allow handling of cases where the precise launch sizes aren't
known, but can be bounded more precisely than the maximum of what any
platform's API allows. (I'd like to thank @benvanik for pointing out
that this could be useful.)
When inferring bounds (either for range inference or for setting `range`
during lowering) these sources of information are consulted in order of
specificity (`upper_bound` > inherent attribute > discardable attribute,
except that dimension sizes check for `known_*_bounds` to see if they
can be constant-folded before checking their `upper_bound`).
This patch also updates the documentation about the bounds and inference
behavior to clarify what these attributes do when set and the
consequences of setting them up incorrectly.
---------
Co-authored-by: Mehdi Amini <joker.eph at gmail.com>
Commit: d563c0f96ca4a4160b149ce83b99c78eed865fa8
https://github.com/llvm/llvm-project/commit/d563c0f96ca4a4160b149ce83b99c78eed865fa8
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/InterpBuiltin.cpp
Log Message:
-----------
[clang][Interp][NFC] Add source ranges to some diagnostics.
Commit: 5996496e7f1314fb40d57657e2085b5c41916766
https://github.com/llvm/llvm-project/commit/5996496e7f1314fb40d57657e2085b5c41916766
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaDecl.cpp
Log Message:
-----------
[clang][NFC] Use foreach loop in FinalizeDeclaratorGroup
Commit: e5d0627c5a78f8cf4ff79816547b528ec52d6590
https://github.com/llvm/llvm-project/commit/e5d0627c5a78f8cf4ff79816547b528ec52d6590
Author: Jonas Hahnfeld <jonas.hahnfeld at cern.ch>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
A llvm/test/ExecutionEngine/Orc/global-ctor-order.ll
Log Message:
-----------
[ORC] Preserve order of constructors with same priority (#95532)
Constructors with the same priority should keep their relative order
that was specified. This is important for `clang-repl` with many `const`
variables after commit 05137ecfca ("[clang-repl] Emit const variables
only once").
Commit: 2d38becda8afa48a031995d67ebf9a6383e01e4f
https://github.com/llvm/llvm-project/commit/2d38becda8afa48a031995d67ebf9a6383e01e4f
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeEmitter.h
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/lib/AST/Interp/EvalEmitter.cpp
M clang/lib/AST/Interp/EvalEmitter.h
M clang/lib/AST/Interp/EvaluationResult.cpp
Log Message:
-----------
[clang][Interp][NFC] Don't create variables in non-constant contexts
When the evaluation in a contant context fails, we would otherwise try
to access and use that variable later in a (maybe) non-constant context.
If the evaluation succeeds in the non-constant context, we never
reported success because we reported failure from the first time
we visited the variable.
Commit: 18000feec0e174194fec3476b8b73db1d767e0d2
https://github.com/llvm/llvm-project/commit/18000feec0e174194fec3476b8b73db1d767e0d2
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
Log Message:
-----------
[clang][Interp][NFC] Reject non-floating CK_FloatingCast casts
We need the types to be floating types. Rejecting the HLSL vector
casts here is also what the current interpreter does.
Commit: 6ec02f73163c1ef6443af024eec783c307f7d5bc
https://github.com/llvm/llvm-project/commit/6ec02f73163c1ef6443af024eec783c307f7d5bc
Author: Momchil Velikov <momchil.velikov at arm.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.h
Log Message:
-----------
[AArch64] Refactor redundant PTEST optimisations (NFC) (#87802)
This patch refactors `AArch64InstrInfo::optimizePTestInstr` to simplify
the convoluted conditions and control flow
and make it easier to add the optimisation in
https://github.com/llvm/llvm-project/pull/81141
Commit: 4b4aaf1e792367b4ce0e24966a7d21e2a83bb979
https://github.com/llvm/llvm-project/commit/4b4aaf1e792367b4ce0e24966a7d21e2a83bb979
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
A clang/test/AST/Interp/hlsl.hlsl
Log Message:
-----------
[clang][Interp] Fix non-initializing CK_VectorSplat casts
Create the usual local variable to fill.
Commit: edd6f0c544785d6f6276a24b94222e0064413cd1
https://github.com/llvm/llvm-project/commit/edd6f0c544785d6f6276a24b94222e0064413cd1
Author: Jonas Hahnfeld <jonas.hahnfeld at cern.ch>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
R llvm/test/ExecutionEngine/Orc/global-ctor-order.ll
Log Message:
-----------
Revert "[ORC] Preserve order of constructors with same priority (#95532)"
The test fails on 32-bit ARMv8:
https://lab.llvm.org/buildbot/#/builders/154/builds/170
This reverts commit e5d0627c5a78f8cf4ff79816547b528ec52d6590.
Commit: ae0813f2d7222c4eab7cd3e6099d49f50318d1d5
https://github.com/llvm/llvm-project/commit/ae0813f2d7222c4eab7cd3e6099d49f50318d1d5
Author: Kadir Cetinkaya <kadircet at google.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/include-cleaner/lib/LocateSymbol.cpp
M clang-tools-extra/include-cleaner/unittests/FindHeadersTest.cpp
M clang-tools-extra/test/clang-tidy/checkers/misc/include-cleaner.cpp
Log Message:
-----------
Revert "[clang-tidy] fix false positives for the functions with the same name as standard library functions in misc-include-cleaner (#94923)"
This reverts commit 1bae10879d9183c5edfb709c36b55086ebc772f0. Also add
some test cases to prevent further regressions.
Commit: d95b82c49aef0223bcc03ff5a9163e70037c82be
https://github.com/llvm/llvm-project/commit/d95b82c49aef0223bcc03ff5a9163e70037c82be
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/include/llvm/Target/TargetMachine.h
M llvm/lib/Target/AMDGPU/AMDGPUSplitModule.cpp
M llvm/lib/Target/AMDGPU/AMDGPUSplitModule.h
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
Log Message:
-----------
[NFC][AMDGPU] Make AMDGPUSplitModule a ModulePass (#95773)
It allows it to access TTI correctly, and opens the door to accessing
more analysis in the future.
I went back and forth between this, and also making the default
SplitModule a Pass too to make it uniform, but I decided against it
because it's just needless complications. Neither llvm-split or
LTOBackend have a PM ready to use so we need to create one anyway. Let's
keep all the mess hidden in the AMDGPU version for now to keep this
change more self-contained.
Commit: 3ca17443ef4af21bdb1f3b4fbcfff672cbc6176c
https://github.com/llvm/llvm-project/commit/3ca17443ef4af21bdb1f3b4fbcfff672cbc6176c
Author: eddyz87 <eddyz87 at gmail.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/DebugInfoMetadata.h
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/MetadataLoader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
M llvm/lib/IR/AsmWriter.cpp
M llvm/lib/IR/DebugInfoMetadata.cpp
M llvm/lib/IR/LLVMContextImpl.h
A llvm/test/Bitcode/attr-btf_tag-dibasic.ll
A llvm/test/Bitcode/attr-btf_tag-disubroutine.ll
M llvm/test/DebugInfo/attr-btf_type_tag.ll
Log Message:
-----------
[DebugInfo][BPF] Add 'annotations' field for DIBasicType & DISubroutineType (#91422)
Extend `DIBasicType` and `DISubroutineType` with additional field
`annotations`, e.g. as below:
```
!5 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed, annotations: !6)
!6 = !{!7}
!7 = !{!"btf:type_tag", !"tag1"}
```
The field would be used by BPF backend to generate DWARF attributes
corresponding to `btf_type_tag` type attributes, e.g.:
```
0x00000029: DW_TAG_base_type
DW_AT_name ("int")
DW_AT_encoding (DW_ATE_signed)
DW_AT_byte_size (0x04)
0x0000002d: DW_TAG_LLVM_annotation
DW_AT_name ("btf:type_tag")
DW_AT_const_value ("tag1")
```
Such DWARF entries would be used to generate BTF definitions by tools
like [pahole](https://github.com/acmel/dwarves).
Note: similar fields with similar purposes are already present in
DIDerivedType and DICompositeType.
Currently "btf_type_tag" attributes are represented in debug information
as 'annotations' fields in DIDerivedType with DW_TAG_pointer_type tag.
The annotation on a pointer corresponds to pointee having the attributes
in the final BTF.
The discussion in
[thread](https://lore.kernel.org/bpf/87r0w9jjoq.fsf@oracle.com/) came to
conclusion, that such annotations should apply to the annotated type
itself. Hence the necessity to extend `DIBasicType` & `DISubroutineType`
types with 'annotations' field to represent cases like below:
```
int __attribute__((btf_type_tag("foo"))) bar;
```
This was previously tracked as differential revision:
https://reviews.llvm.org/D143966
Commit: db394edf95e7e47e2a11c570d65a8f5005af7849
https://github.com/llvm/llvm-project/commit/db394edf95e7e47e2a11c570d65a8f5005af7849
Author: Carlos Alberto Enciso <Carlos.Enciso at sony.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/bindings/ocaml/debuginfo/debuginfo_ocaml.c
M llvm/docs/ReleaseNotes.rst
M llvm/docs/RemoveDIsDebugInfo.md
M llvm/include/llvm-c/DebugInfo.h
M llvm/lib/IR/DebugInfo.cpp
R llvm/test/Bindings/llvm-c/debug_info.ll
M llvm/test/Bindings/llvm-c/debug_info_new_format.ll
M llvm/tools/llvm-c-test/debuginfo.c
M llvm/tools/llvm-c-test/llvm-c-test.h
M llvm/tools/llvm-c-test/main.c
Log Message:
-----------
[RemoveDIs] Update DIBuilder C API with DbgRecord functions. (#95535)
The DIBuilder C API was changed to deal with DbgRecord functions:
https://github.com/llvm/llvm-project/pull/84915
https://github.com/llvm/llvm-project/pull/85657
https://github.com/llvm/llvm-project/pull/92417#issuecomment-2120078326
As discussed by @nikic and @OCHyams:
https://github.com/llvm/llvm-project/pull/92417#issuecomment-2144505440
> For the intrinsic-inserting functions, do you think we should:
>
> a) mark as deprecated but otherwise leave them alone for now.
> b) mark as deprecated and change their behaviour so that they
> do nothing and return nullptr.
> c) outright delete them (it sounds like you're voting this one,
> but just wanted to double check).
This patch implements option (c).
Commit: 7dd7d5749f7d9d98fec50ee88e633e8b85c6502a
https://github.com/llvm/llvm-project/commit/7dd7d5749f7d9d98fec50ee88e633e8b85c6502a
Author: Sirraide <aeternalmail at gmail.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaExpr.cpp
M clang/test/C/drs/dr1xx.c
R clang/test/Sema/debug-93066.cpp
M clang/test/Sema/exprs.c
M clang/test/Sema/va_arg_x86_32.c
M clang/test/SemaObjCXX/sel-address.mm
Log Message:
-----------
Revert "[clang] Fix-it hint for `++this` -> `++*this` when deref is modifiable" (#95833)
Reverts llvm/llvm-project#94159
@zygoloid had some concerns about the implementation of this, which make
sense to me, so I’d like to revert this for now so we can have more time
to think about how to best approach this (if at all...)
Commit: 89c26f6c7b0a6dfa257ec090fcf5b6e6e0c89aab
https://github.com/llvm/llvm-project/commit/89c26f6c7b0a6dfa257ec090fcf5b6e6e0c89aab
Author: Balazs Benics <benicsbalazs at gmail.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
A clang/include/clang/StaticAnalyzer/Core/BugReporter/Z3CrosscheckVisitor.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h
M clang/lib/StaticAnalyzer/Core/BugReporter.cpp
M clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
M clang/lib/StaticAnalyzer/Core/CMakeLists.txt
A clang/lib/StaticAnalyzer/Core/Z3CrosscheckVisitor.cpp
A clang/test/Analysis/z3/crosscheck-statistics.c
M clang/unittests/StaticAnalyzer/CMakeLists.txt
A clang/unittests/StaticAnalyzer/Z3CrosscheckOracleTest.cpp
M llvm/include/llvm/Support/SMTAPI.h
M llvm/lib/Support/Z3Solver.cpp
Log Message:
-----------
[analyzer][NFC] Reorganize Z3 report refutation
This change keeps existing behavior, namely that if we hit a Z3 timeout
we will accept the report as "satisfiable".
This prepares for the commit "Harden safeguards for Z3 query times".
https://discourse.llvm.org/t/analyzer-rfc-taming-z3-query-times/79520
Reviewers: NagyDonat, haoNoQ, Xazax-hun, mikhailramalho, Szelethus
Reviewed By: NagyDonat
Pull Request: https://github.com/llvm/llvm-project/pull/95128
Commit: eacc3b3504be061f7334410dd0eb599688ba103a
https://github.com/llvm/llvm-project/commit/eacc3b3504be061f7334410dd0eb599688ba103a
Author: Balazs Benics <benicsbalazs at gmail.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def
M clang/include/clang/StaticAnalyzer/Core/BugReporter/Z3CrosscheckVisitor.h
M clang/lib/StaticAnalyzer/Core/BugReporter.cpp
M clang/lib/StaticAnalyzer/Core/Z3CrosscheckVisitor.cpp
M clang/test/Analysis/analyzer-config.c
M clang/unittests/StaticAnalyzer/Z3CrosscheckOracleTest.cpp
Log Message:
-----------
[analyzer] Harden safeguards for Z3 query times
This patch is a functional change.
https://discourse.llvm.org/t/analyzer-rfc-taming-z3-query-times/79520
As a result of this patch, individual Z3 queries in refutation will be
bound by 300ms. Every report equivalence class will be processed in
at most 1 second.
The heuristic should have only really marginal observable impact -
except for the cases when we had big report eqclasses with long-running
(15s) Z3 queries, where previously CSA effectively halted.
After this patch, CSA will tackle such extreme cases as well.
Reviewers: NagyDonat, haoNoQ, Xazax-hun, Szelethus, mikhailramalho
Reviewed By: NagyDonat
Pull Request: https://github.com/llvm/llvm-project/pull/95129
Commit: a6eddf9a79709e3161d3aad86d44ab1097f57f22
https://github.com/llvm/llvm-project/commit/a6eddf9a79709e3161d3aad86d44ab1097f57f22
Author: Ruiling, Song <ruiling.song at amd.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Analysis/Loads.cpp
A llvm/test/Transforms/LICM/hoist-speculatable-load.ll
Log Message:
-----------
[Loads] Pass DominatorTree if available (#95752)
For better dominance check inside the function.
Commit: 8b0d38be9ece414dbc7a91dbd8fa506b0e3287e7
https://github.com/llvm/llvm-project/commit/8b0d38be9ece414dbc7a91dbd8fa506b0e3287e7
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang-tools-extra/test/CMakeLists.txt
M clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp
M llvm/docs/WritingAnLLVMPass.rst
M llvm/lib/Transforms/CMakeLists.txt
R llvm/lib/Transforms/Hello/CMakeLists.txt
R llvm/lib/Transforms/Hello/Hello.cpp
R llvm/lib/Transforms/Hello/Hello.exports
M llvm/test/CMakeLists.txt
Log Message:
-----------
[llvm] Remove the Legacy PM Hello example (#95708)
The Legacy PM was deprecated for the optimization pipeline in LLVM 14
[1] (the support was removed altogether in the following release). This
patch removes the original Hello example that was introduced to
illustrate the Legacy PM. The Hello example no longer works and hence is
deleted. The corresponding documentation is also removed.
Note, Hello example for the new PM is located in
* llvm/lib/Transforms/Utils/HelloWorld.cpp
and documented in
* WritingAnLLVMNewPMPass.rst.
[1]
https://releases.llvm.org/14.0.0/docs/ReleaseNotes.html#changes-to-the-llvm-ir
Commit: 0e21f125c69f0e3204ea76d931717c88493e5cb3
https://github.com/llvm/llvm-project/commit/0e21f125c69f0e3204ea76d931717c88493e5cb3
Author: Him188 <tguan at nvidia.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64GenRegisterBankInfo.def
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.h
A llvm/test/CodeGen/AArch64/GlobalISel/sve-formal-argument-multiple.ll
A llvm/test/CodeGen/AArch64/GlobalISel/sve-formal-argument.ll
A llvm/test/CodeGen/AArch64/GlobalISel/translate-sve-formal-argument-multiple.ll
A llvm/test/CodeGen/AArch64/GlobalISel/translate-sve-formal-argument.ll
Log Message:
-----------
[AArch64][GISel] Translate legal SVE formal arguments and select COPY for SVE (#95236)
This patch adds support for legal SVE fromal arguments in IRTranslator,
and support for COPY with SVE.
SVE arguments are allowed only if the hidden option
`-aarch64-enable-gisel-sve` is enabled. Illegal types and predicates
like `nxv8i1` are not supported yet.
Commit: a945f55d3e6af6be6648fb92a20c80e88e3fc2b2
https://github.com/llvm/llvm-project/commit/a945f55d3e6af6be6648fb92a20c80e88e3fc2b2
Author: Adam Siemieniuk <adam.siemieniuk at intel.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/DataLayoutPropagation.cpp
M mlir/test/Dialect/Linalg/data-layout-propagation.mlir
Log Message:
-----------
[mlir][linalg] Add pattern to bubble-up pack through expand shape op (#93529)
Extends bubble-up pack through reshape pattern to handle pack
propagation through expand shape ops.
---------
Co-authored-by: Prashant Kumar <pk5561 at gmail.com>
Commit: 9cd3622a6ecd4485d89bb5b074e029fbe646e22d
https://github.com/llvm/llvm-project/commit/9cd3622a6ecd4485d89bb5b074e029fbe646e22d
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/tools/llvm-c-test/debuginfo.c
M llvm/tools/llvm-c-test/llvm-c-test.h
Log Message:
-----------
[tools] Fix -Wstrict-prototypes in llvm-c-test.h (NFC)
/llvm-project/llvm/tools/llvm-c-test/llvm-c-test.h:39:24:
error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
int llvm_test_dibuilder();
^
void
1 error generated.
Commit: cf5ce8cdf1688ac3cd8b9dedd19df005a1ff8fdf
https://github.com/llvm/llvm-project/commit/cf5ce8cdf1688ac3cd8b9dedd19df005a1ff8fdf
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
A llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-fp128.ll
A llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i128.ll
Log Message:
-----------
AMDGPU: Add some tests for i128 and fp128 atomic expansion
These produce garbage libcalls, so the result is not useful but
this at least shows we don't assert.
Commit: 9f8e7c3a01bc071447634eaa3e7b41ae072a87fe
https://github.com/llvm/llvm-project/commit/9f8e7c3a01bc071447634eaa3e7b41ae072a87fe
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPU.td
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/FLATInstructions.td
M llvm/test/CodeGen/AMDGPU/fp-atomic-to-s_denormmode.mir
Log Message:
-----------
AMDGPU: Create pseudo to real mapping for flat/buffer atomic fmin/fmax (#95591)
The global/flat/buffer atomic fmin/fmax situation is a mess. These
instructions have been renamed 3 times. We currently have
separate pseudos defined for the same opcodes with the different names
(e.g. GLOBAL_ATOMIC_MIN_F64 from gfx90a and GLOBAL_ATOMIC_FMIN_X2 from gfx10).
Use the _FMIN versions as the canonical name for the f32 versions. Use the
_MIN_F64 style as the canonical name for the f64 case. This is because
gfx90a has the most sensible names, but does not have the f32 versions.t sho
Wire through the pseudo to use for the instruction properties vs. the assembly
name like in other cases. This will simplify handling of direct atomicrmw selection.
This will simplify directly selecting these from atomicrmw.
Commit: 47f5707db796419a5872592422f0f1beb17f0731
https://github.com/llvm/llvm-project/commit/47f5707db796419a5872592422f0f1beb17f0731
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/include/clang/AST/DeclID.h
Log Message:
-----------
[Serialization] Use specialized decl hash function for GlobalDeclID (#95730)
See the comment:
https://github.com/llvm/llvm-project/pull/92083#issuecomment-2168121729
After the patch, https://github.com/llvm/llvm-project/pull/92083, the
lower 32 bits of DeclID can be the same commonly. This may produce many
collisions. It will be best to change the default hash implementation
for uint64_t. But sent this one as a quick workaround.
Feel free to update this if you prefer other hash functions.
Commit: 6b4b29f85900995b2a3b817548be4a534d46763b
https://github.com/llvm/llvm-project/commit/6b4b29f85900995b2a3b817548be4a534d46763b
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M libcxx/include/__atomic/memory_order.h
M libcxx/include/__hash_table
M libcxx/include/__math/exponential_functions.h
M libcxx/include/__math/fdim.h
M libcxx/include/__math/fma.h
M libcxx/include/__math/hypot.h
M libcxx/include/__math/inverse_trigonometric_functions.h
M libcxx/include/__math/min_max.h
M libcxx/include/__math/modulo.h
M libcxx/include/__math/remainder.h
M libcxx/include/__math/rounding_functions.h
M libcxx/include/__mdspan/extents.h
M libcxx/include/__mdspan/layout_left.h
M libcxx/include/__mdspan/layout_right.h
M libcxx/include/__mdspan/layout_stride.h
M libcxx/include/__numeric/gcd_lcm.h
M libcxx/include/__thread/thread.h
M libcxx/include/__tree
M libcxx/include/cmath
M libcxx/include/deque
M libcxx/include/forward_list
M libcxx/include/ios
M libcxx/include/list
M libcxx/include/map
M libcxx/include/queue
M libcxx/include/set
M libcxx/include/stack
M libcxx/include/streambuf
M libcxx/include/string
M libcxx/include/string_view
M libcxx/include/unordered_map
M libcxx/include/unordered_set
M libcxx/include/vector
Log Message:
-----------
[libc++][NFC] Remove unnecessary parens in static_asserts (#95605)
These were required a long time ago due to `static_assert` not actually
being available in C++03. Now `static_assert` is simply mapped to
`_Static_assert` in C++03, making the additional parens unnecessary.
Commit: bbe4a80605619dcb819ccfee016cf1355fb00af2
https://github.com/llvm/llvm-project/commit/bbe4a80605619dcb819ccfee016cf1355fb00af2
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M libcxx/.clang-tidy
M libcxx/include/__bit_reference
M libcxx/include/__functional/function.h
M libcxx/include/__functional/reference_wrapper.h
M libcxx/include/__locale_dir/locale_base_api/locale_guard.h
M libcxx/include/__mutex/lock_guard.h
M libcxx/include/__ostream/basic_ostream.h
M libcxx/include/__ranges/ref_view.h
M libcxx/include/__thread/thread.h
M libcxx/include/__tree
M libcxx/include/forward_list
M libcxx/include/future
M libcxx/include/iosfwd
M libcxx/include/istream
M libcxx/include/list
M libcxx/include/locale
M libcxx/include/map
M libcxx/include/regex
M libcxx/include/tuple
M libcxx/include/unordered_map
M libcxx/include/vector
Log Message:
-----------
[libc++] Enable modernize-use-equals-delete (#93293)
Differential Revision: https://reviews.llvm.org/D121213
Commit: cb417401879ce70b441a999c4a30f7b64b8d426b
https://github.com/llvm/llvm-project/commit/cb417401879ce70b441a999c4a30f7b64b8d426b
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M libcxx/include/__hash_table
M libcxx/include/__memory/compressed_pair.h
M libcxx/include/__memory/swap_allocator.h
M libcxx/include/__memory/unique_ptr.h
M libcxx/include/__split_buffer
M libcxx/include/__tree
M libcxx/include/__type_traits/is_swappable.h
M libcxx/include/__utility/pair.h
M libcxx/include/__utility/swap.h
M libcxx/include/array
M libcxx/include/deque
M libcxx/include/experimental/propagate_const
M libcxx/include/forward_list
M libcxx/include/list
M libcxx/include/map
M libcxx/include/queue
M libcxx/include/regex
M libcxx/include/set
M libcxx/include/stack
M libcxx/include/string
M libcxx/include/tuple
M libcxx/include/unordered_map
M libcxx/include/unordered_set
M libcxx/include/vector
M libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable_include_order.pass.cpp
M libcxx/test/support/nasty_containers.h
M libcxx/test/support/poisoned_hash_helper.h
Log Message:
-----------
[libc++] Refactor<__type_traits/is_swappable.h> (#86822)
This changes the `is_swappable` implementation to use variable templates
first and basing the class templates on that. This avoids instantiating
them when the `_v` versions are used, which are generally less resource
intensive.
Commit: f07d30072ac0dd0e10a4684335d5f464db627049
https://github.com/llvm/llvm-project/commit/f07d30072ac0dd0e10a4684335d5f464db627049
Author: Tomas Matheson <Tomas.Matheson at arm.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Driver/ToolChains/Arch/AArch64.cpp
M clang/test/CodeGen/aarch64-targetattr.c
M clang/test/Misc/target-invalid-cpu-note.c
M clang/test/Preprocessor/aarch64-target-features.c
M flang/test/Driver/target-cpu-features.f90
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/Target/AArch64/AArch64Processors.td
M llvm/lib/TargetParser/AArch64TargetParser.cpp
M llvm/unittests/TargetParser/TargetParserTest.cpp
M llvm/utils/TableGen/ARMTargetDefEmitter.cpp
Log Message:
-----------
[AArch64][TargetParser] move CPUInfo into tablegen [NFC] (#92145)
This is a follow up to #92037, which moved the architecture information.
Generate the AArch64TargetParser CPUInfo from tablegen Processor defs using a
new tablegen emitter. Some basic error checking is added in the emitter to
ensure that duplicate features are not added to the Processor defs.
The generic CPU becomes an entry in tablegen.
Some CPU features which were present in the CPUInfo but absent from the tablegen
defs have been added to tablegen. FeatureCrypto is replaced with FeatureSHA2 and
FeatureAES. This changes a few of the tests.
Commit: aabf6df644d1906aaa8ebe95868e4ef0c262d428
https://github.com/llvm/llvm-project/commit/aabf6df644d1906aaa8ebe95868e4ef0c262d428
Author: Luke Lau <luke at igalia.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Log Message:
-----------
[RISCV] Remove redundant dependency on SlotIndexes in RISCVInsertVSETVLI. NFC
SlotIndexes is already marked as a transitive requirement of
LiveIntervals, so we don't need to specify it again in
RISCVInsertVSETVLI.
Commit: fed8e38c195af5b4806b1088c3ef4d772c0ff450
https://github.com/llvm/llvm-project/commit/fed8e38c195af5b4806b1088c3ef4d772c0ff450
Author: Jacek Caban <jacek at codeweavers.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M lld/COFF/Chunks.cpp
M lld/COFF/Chunks.h
M lld/COFF/Driver.cpp
M lld/COFF/ICF.cpp
M lld/COFF/InputFiles.cpp
M lld/COFF/InputFiles.h
M lld/COFF/MarkLive.cpp
M lld/COFF/SymbolTable.cpp
M lld/COFF/SymbolTable.h
M lld/COFF/Writer.cpp
A lld/test/COFF/arm64ec-entry-thunk.s
A lld/test/COFF/arm64ec-hybmp.s
M llvm/include/llvm/BinaryFormat/COFF.h
Log Message:
-----------
[LLD][COFF] Add support for ARM64EC entry thunks. (#88132)
For x86_64 callable functions, ARM64EC requires an entry thunk generated
by the compiler. The linker interprets .hybmp sections to associate
function chunks with their entry points and writes an offset to thunks
preceding function section contents.
Additionally, ICF needs to be aware of entry thunks to not consider
chunks to be equal when they have different entry thunks, and GC needs
to mark entry thunks together with function chunks.
I used a new SectionChunkEC class instead of storing entry thunks in
SectionChunk, following the guideline to keep SectionChunk as compact as
possible. This way, there is no memory usage increase on non-EC targets.
Commit: 7ea203b7d91b8533059e43f8eec18e2b47da28f1
https://github.com/llvm/llvm-project/commit/7ea203b7d91b8533059e43f8eec18e2b47da28f1
Author: csstormq <swust_xiaoqiangxu at 163.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/RegisterPressure.cpp
Log Message:
-----------
RegPressure: Fix incorrect comment. NFC (#95896)
Commit: ca7dc895cea44c80263c969302fa2f202751aa9c
https://github.com/llvm/llvm-project/commit/ca7dc895cea44c80263c969302fa2f202751aa9c
Author: Matthew Devereau <matthew.devereau at arm.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
M llvm/test/CodeGen/AArch64/sme-disable-gisel-fisel.ll
M llvm/test/CodeGen/AArch64/sme-framelower-use-bp.ll
M llvm/test/CodeGen/AArch64/sme-lazy-save-call.ll
M llvm/test/CodeGen/AArch64/sme-shared-za-interface.ll
A llvm/test/CodeGen/AArch64/sme-za-lazy-save-buffer.ll
M llvm/test/CodeGen/AArch64/sme-zt0-state.ll
Log Message:
-----------
[AArch64][SME] Remove unused ZA lazy-save (#81648)
This patch removes the TPIDR2 lazy-save object and buffer if no lazy
save is required.
---------
Co-authored-by: Samuel Tebbs <samuel.tebbs at arm.com>
Commit: 1d97f8f78a18820a2e0263d7a56595a25d9ed631
https://github.com/llvm/llvm-project/commit/1d97f8f78a18820a2e0263d7a56595a25d9ed631
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/fp-atomics-gfx940.ll
M llvm/test/CodeGen/AMDGPU/fp64-atomics-gfx90a.ll
Log Message:
-----------
AMDGPU: Add some addressing mode tests for flat atomic intrinsics
These are incorrectly matching with signed offsets.
Commit: 9f44d5d9d0903adaa9deb35d33056202e5030cb3
https://github.com/llvm/llvm-project/commit/9f44d5d9d0903adaa9deb35d33056202e5030cb3
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/Runtime/Assign.h
M flang/include/flang/Optimizer/Dialect/FIRType.h
M flang/include/flang/Optimizer/HLFIR/HLFIROps.td
M flang/include/flang/Runtime/assign.h
M flang/lib/Lower/ConvertCall.cpp
M flang/lib/Lower/ConvertExpr.cpp
M flang/lib/Optimizer/Builder/Runtime/Assign.cpp
M flang/lib/Optimizer/Dialect/FIRType.cpp
M flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
M flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
M flang/runtime/assign.cpp
M flang/test/HLFIR/assumed-type-actual-args.f90
M flang/test/HLFIR/assumed_shape_with_value_keyword.f90
M flang/test/HLFIR/copy-in-out-codegen.fir
M flang/test/HLFIR/copy-in-out.fir
M flang/test/HLFIR/memory-effects.fir
M flang/test/Lower/HLFIR/call-sequence-associated-descriptors.f90
M flang/test/Lower/HLFIR/calls-assumed-shape.f90
M flang/test/Lower/HLFIR/calls-constant-expr-arg.f90
M flang/test/Lower/HLFIR/calls-optional.f90
M flang/test/Lower/HLFIR/calls-poly-to-assumed-type.f90
M flang/test/Lower/HLFIR/poly_expr_for_nonpoly_dummy.f90
M flang/test/Lower/call-copy-in-out.f90
M flang/test/Lower/dummy-argument-assumed-shape-optional.f90
M flang/test/Lower/dummy-argument-optional-2.f90
M flang/test/Lower/optional-value-caller.f90
Log Message:
-----------
[flang] Simplify copy-in copy-out runtime API (#95822)
The runtime API for copy-in copy-out currently only has an entry only
for the copy-out. This entry has a "skipInit" boolean that is never set
to false by lowering and it does not deal with the deallocation of the
temporary.
The generated code was a mix of inline code and runtime calls This is not a big deal,
but this is unneeded compiler and generated code complexity.
With assumed-rank, it is also more cumbersome to establish a
temporary descriptor.
Instead, this patch:
- Adds a CopyInAssignment API that deals with establishing the temporary
descriptor and does the copy.
- Removes unused arg to CopyOutAssign, and pushes
destruction/deallocation responsibility inside it.
Note that this runtime API are still not responsible for deciding the
need of copying-in and out. This is kept as a separate runtime call to
IsContiguous, which is easier to inline/replace by inline code with the
hope of removing the copy-in/out calls after user function inlining.
@vzakhari has already shown that always inlining all the copy part
increase Fortran compilation time due to loop optimization attempts for
loops that are known to have little optimization profitability (the
variable being copied from and to is not contiguous).
Commit: 612fdf3fec279b84f9cae0c22214e2b0891c9847
https://github.com/llvm/llvm-project/commit/612fdf3fec279b84f9cae0c22214e2b0891c9847
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
A llvm/test/CodeGen/X86/cmpf-avx.ll
Log Message:
-----------
[X86] Add AVX1 v8i32 comparison test coverage
Pulled from #82290
Commit: 20d3cab85258198d262eea05fae6292a2666d6ae
https://github.com/llvm/llvm-project/commit/20d3cab85258198d262eea05fae6292a2666d6ae
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/include/clang/Sema/Sema.h
M clang/lib/Sema/SemaTemplateDeduction.cpp
Log Message:
-----------
[clang][NFC] Take const pointers in Sema::DiagnoseAutoDeductionFailure
Commit: eda9ff899faf77ec0171b4421a3278c4fb8a0a61
https://github.com/llvm/llvm-project/commit/eda9ff899faf77ec0171b4421a3278c4fb8a0a61
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
M llvm/lib/Target/AMDGPU/FLATInstructions.td
M llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fadd.ll
M llvm/test/CodeGen/AMDGPU/fp-atomics-gfx940.ll
M llvm/test/CodeGen/AMDGPU/fp64-atomics-gfx90a.ll
M llvm/test/Transforms/InferAddressSpaces/AMDGPU/flat_atomic.ll
Log Message:
-----------
AMDGPU: Flat instructions do not have signed offsets gfx7-gfx11 (#95852)
Fixes some atomicrmw fadd and intrinsic cases
Commit: 66aa26012bda48bca58673fcdd0bed43380d544f
https://github.com/llvm/llvm-project/commit/66aa26012bda48bca58673fcdd0bed43380d544f
Author: Nico Weber <thakis at chromium.org>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
R llvm/utils/gn/secondary/llvm/lib/Transforms/Hello/BUILD.gn
M llvm/utils/gn/secondary/llvm/test/BUILD.gn
Log Message:
-----------
[gn] port 8b0d38be9ece414
Commit: 69753aa43b0a1f0d13abdf396a754aa0cc8b6a20
https://github.com/llvm/llvm-project/commit/69753aa43b0a1f0d13abdf396a754aa0cc8b6a20
Author: Hans Wennborg <hans at chromium.org>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M bolt/test/X86/stale-matching-min-matched-block.test
Log Message:
-----------
[bolt] stale-matching-min-matched-block.test requires asserts
Because of the --debug-only flag.
Commit: 4d7d45e8bab102f8792d45e1807cfe2d1c55dd69
https://github.com/llvm/llvm-project/commit/4d7d45e8bab102f8792d45e1807cfe2d1c55dd69
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/lib/AST/ExprConstShared.h
M clang/lib/AST/ExprConstant.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/Opcodes.td
M clang/test/AST/Interp/complex.cpp
M clang/test/SemaCXX/complex-folding.cpp
Log Message:
-----------
[clang][Interp] Implement complex division (#94892)
Share the implementation with the current interpreter.
Commit: 9e63632b3274dc1b20502b569e79a311977e0a97
https://github.com/llvm/llvm-project/commit/9e63632b3274dc1b20502b569e79a311977e0a97
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Core/BUILD.gn
M llvm/utils/gn/secondary/clang/unittests/StaticAnalyzer/BUILD.gn
Log Message:
-----------
[gn build] Port 89c26f6c7b0a
Commit: ced41a125c7efdb11087570850bac27a94891030
https://github.com/llvm/llvm-project/commit/ced41a125c7efdb11087570850bac27a94891030
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
Log Message:
-----------
[InstCombine] Remove redundant urem demanded bits case
This does the recursive simplification with all bits demanded,
which is not useful. Fall through to the fallback case instead.
Commit: bcaacf38920fe2b85e7d65e8c3832deefea96d21
https://github.com/llvm/llvm-project/commit/bcaacf38920fe2b85e7d65e8c3832deefea96d21
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/InterpStack.h
Log Message:
-----------
[clang][Interp][NFC] Fix a user-after-move
Reported by a static analyzer.
Commit: 1a0a4d0b2290c124db6d656cf58226259d2d3443
https://github.com/llvm/llvm-project/commit/1a0a4d0b2290c124db6d656cf58226259d2d3443
Author: David Green <david.green at arm.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/ret-vec-promote.ll
A llvm/test/CodeGen/AArch64/GlobalISel/vec-param.ll
M llvm/test/CodeGen/AArch64/sadd_sat_vec.ll
M llvm/test/CodeGen/AArch64/ssub_sat_vec.ll
M llvm/test/CodeGen/AArch64/uadd_sat_vec.ll
M llvm/test/CodeGen/AArch64/usub_sat_vec.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/function-returns.v2i65.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-function-args.v2i65.ll
Log Message:
-----------
[GlobalISel] Allow more illegal vector types in params/returns. (#95514)
This helps some of the testing of illegal types, allowing us to pass
them into and out of functions.
The AMD tests no longer fail, but I am unsure whether they are correct.
They fail later on in the pipeline for GISel, and during lowering ret
for SDAG.
Commit: d97951e57a9b47fc3febff130217da62071aa44b
https://github.com/llvm/llvm-project/commit/d97951e57a9b47fc3febff130217da62071aa44b
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
A llvm/test/ExecutionEngine/Orc/global-ctor-order.ll
Log Message:
-----------
Reland "[ORC] Preserve order of constructors with same priority (#95532)"
This reverts commit edd6f0c544785d6f6276a24b94222e0064413cd1.
The newly added test uncovered a pre-existing issue on Arm 32 bit,
so as we did https://github.com/llvm/llvm-project/issues/94994, disable
it while we find the problem.
Commit: d38c8a7a51227fecdb1f84160f5da4f89c3e25be
https://github.com/llvm/llvm-project/commit/d38c8a7a51227fecdb1f84160f5da4f89c3e25be
Author: Matthew Devereau <matthew.devereau at arm.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/test/Transforms/InstSimplify/ConstProp/logf128.ll
Log Message:
-----------
ConstantFold logl calls (#94944)
This is a follow up patch from #90611 which folds logl calls in the same
manner as log.f128 calls. logl suffers from the same problem as logf128
of having slow calls to fp128 log functions which can be constant
folded. However, logl is emitted with -fmath-errno and log.f128 is
emitted by -fno-math-errno by certain intrinsics.
Commit: 79e668f9700cc8321e7ee0eecd3b82c108aea6de
https://github.com/llvm/llvm-project/commit/79e668f9700cc8321e7ee0eecd3b82c108aea6de
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
Log Message:
-----------
[InstCombine] Fix funnel shift bailout in demanded bits simplification
We shouldn't simply return here -- we still need to compute the
known bits and fall through to generic handling.
This fixes a -instcombine-verify-known-bits violation in funnel.ll.
Commit: e42a4c70a112c1c0f07ccb8b57b4fda4cfa11b49
https://github.com/llvm/llvm-project/commit/e42a4c70a112c1c0f07ccb8b57b4fda4cfa11b49
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ConstantFolding.cpp
Log Message:
-----------
[Analysis] Fix -Wunused-function in ConstantFolding.cpp (NFC)
/llvm-project/llvm/lib/Analysis/ConstantFolding.cpp:1787:11:
error: unused function 'ConstantFoldFP128' [-Werror,-Wunused-function]
Constant *ConstantFoldFP128(long double (*NativeFP)(long double),
^
1 error generated.
Commit: 55d5c032fc9fd3aeba82cdc5dfc82b2a32f34d4f
https://github.com/llvm/llvm-project/commit/55d5c032fc9fd3aeba82cdc5dfc82b2a32f34d4f
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
M mlir/test/Dialect/Vector/canonicalize.mlir
Log Message:
-----------
[mlir][vector] Fix crash in `vector.extract` folder (#95912)
Fix a bug in the `vector.extract` folder when the vector type is 0-d.
Commit: 8fc9c03cded022e2bfe16f6fd7470c3adedcd29c
https://github.com/llvm/llvm-project/commit/8fc9c03cded022e2bfe16f6fd7470c3adedcd29c
Author: Balazs Benics <benicsbalazs at gmail.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def
M clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
R clang/include/clang/StaticAnalyzer/Core/BugReporter/Z3CrosscheckVisitor.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h
M clang/lib/StaticAnalyzer/Core/BugReporter.cpp
M clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
M clang/lib/StaticAnalyzer/Core/CMakeLists.txt
R clang/lib/StaticAnalyzer/Core/Z3CrosscheckVisitor.cpp
M clang/test/Analysis/analyzer-config.c
R clang/test/Analysis/z3/crosscheck-statistics.c
M clang/unittests/StaticAnalyzer/CMakeLists.txt
R clang/unittests/StaticAnalyzer/Z3CrosscheckOracleTest.cpp
M llvm/include/llvm/Support/SMTAPI.h
M llvm/lib/Support/Z3Solver.cpp
Log Message:
-----------
[analyzer] Revert Z3 changes (#95916)
Requested in:
https://github.com/llvm/llvm-project/pull/95128#issuecomment-2176008007
Revert "[analyzer] Harden safeguards for Z3 query times"
Revert "[analyzer][NFC] Reorganize Z3 report refutation"
This reverts commit eacc3b3504be061f7334410dd0eb599688ba103a.
This reverts commit 89c26f6c7b0a6dfa257ec090fcf5b6e6e0c89aab.
Commit: eb3e544473e6064feece8255a5c44c9b31072f26
https://github.com/llvm/llvm-project/commit/eb3e544473e6064feece8255a5c44c9b31072f26
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Core/BUILD.gn
M llvm/utils/gn/secondary/clang/unittests/StaticAnalyzer/BUILD.gn
Log Message:
-----------
[gn build] Port 8fc9c03cded0
Commit: e2c2ffbe7a1b5d9e32a2ce64279475b50c4cba5b
https://github.com/llvm/llvm-project/commit/e2c2ffbe7a1b5d9e32a2ce64279475b50c4cba5b
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M libcxx/include/__algorithm/comp_ref_type.h
M libcxx/include/__algorithm/make_projected.h
M libcxx/include/__atomic/atomic_init.h
M libcxx/include/__bit_reference
M libcxx/include/__chrono/duration.h
M libcxx/include/__chrono/time_point.h
M libcxx/include/__config
M libcxx/include/__configuration/abi.h
M libcxx/include/__exception/exception_ptr.h
M libcxx/include/__format/formatter_output.h
M libcxx/include/__functional/bind.h
M libcxx/include/__functional/bind_back.h
M libcxx/include/__functional/bind_front.h
M libcxx/include/__functional/mem_fn.h
M libcxx/include/__functional/mem_fun_ref.h
M libcxx/include/__functional/operations.h
M libcxx/include/__functional/pointer_to_binary_function.h
M libcxx/include/__functional/pointer_to_unary_function.h
M libcxx/include/__functional/unary_negate.h
M libcxx/include/__iterator/access.h
M libcxx/include/__iterator/bounded_iter.h
M libcxx/include/__iterator/cpp17_iterator_concepts.h
M libcxx/include/__iterator/iter_swap.h
M libcxx/include/__iterator/move_iterator.h
M libcxx/include/__iterator/reverse_iterator.h
M libcxx/include/__iterator/wrap_iter.h
M libcxx/include/__mdspan/mdspan.h
M libcxx/include/__memory/allocate_at_least.h
M libcxx/include/__memory/pointer_traits.h
M libcxx/include/__memory/unique_ptr.h
M libcxx/include/__ranges/access.h
M libcxx/include/__ranges/all.h
M libcxx/include/__ranges/common_view.h
M libcxx/include/__ranges/counted.h
M libcxx/include/__ranges/data.h
M libcxx/include/__ranges/drop_view.h
M libcxx/include/__ranges/lazy_split_view.h
M libcxx/include/__ranges/rend.h
M libcxx/include/__ranges/reverse_view.h
M libcxx/include/__ranges/subrange.h
M libcxx/include/__split_buffer
M libcxx/include/__tuple/sfinae_helpers.h
M libcxx/include/__tuple/tuple_size.h
M libcxx/include/__type_traits/invoke.h
M libcxx/include/__type_traits/is_literal_type.h
M libcxx/include/__utility/exception_guard.h
M libcxx/include/__utility/forward_like.h
M libcxx/include/__utility/is_pointer_in_range.h
M libcxx/include/__verbose_abort
M libcxx/include/any
M libcxx/include/array
M libcxx/include/barrier
M libcxx/include/cmath
M libcxx/include/codecvt
M libcxx/include/coroutine
M libcxx/include/fstream
M libcxx/include/limits
M libcxx/include/locale
M libcxx/include/map
M libcxx/include/mutex
M libcxx/include/new
M libcxx/include/optional
M libcxx/include/print
M libcxx/include/queue
M libcxx/include/regex
M libcxx/include/scoped_allocator
M libcxx/include/set
M libcxx/include/shared_mutex
M libcxx/include/span
M libcxx/include/stack
M libcxx/include/string
M libcxx/include/string_view
M libcxx/include/strstream
M libcxx/include/tuple
M libcxx/include/unordered_map
M libcxx/include/unordered_set
M libcxx/include/valarray
M libcxx/include/variant
M libcxx/include/vector
Log Message:
-----------
[libc++][NFC] Run clang-format on libcxx/include again (#95874)
As time went by, a few files have become mis-formatted w.r.t.
clang-format. This was made worse by the fact that formatting was not
being enforced in extensionless headers. This commit simply brings all
of libcxx/include in-line with clang-format again.
We might have to do this from time to time as we update our clang-format
version, but frankly this is really low effort now that we've formatted
everything once.
Commit: 65b0301943e64d7841e11f047a1a9fbd15f28037
https://github.com/llvm/llvm-project/commit/65b0301943e64d7841e11f047a1a9fbd15f28037
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M .git-blame-ignore-revs
Log Message:
-----------
[git] Add libcxx touch-up formatting to git-blame-ignore-revs
Commit: 74941d053cd3cbe6a49a4b3387e21bd139377cee
https://github.com/llvm/llvm-project/commit/74941d053cd3cbe6a49a4b3387e21bd139377cee
Author: Hugo Trachino <hugo.trachino at huawei.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/LowerVectorTransfer.cpp
M mlir/test/Dialect/Vector/vector-transfer-to-vector-load-store.mlir
Log Message:
-----------
[MLIR][Vector] Implement XferOp To {Load|Store}Lowering as MaskableOpRewritePattern (#92892)
Implements `TransferReadToVectorLoadLowering` and
`TransferWriteToVectorStoreLowering` as a `MaskableOpRewritePattern`.
Allowing to exit gracefully when run on an xferOp located inside a
`vector::MaskOp` instead of breaking because the pattern generated
multiple ops in the MaskOp with `error: 'vector.mask' op expects only
one operation to mask`.
Split of https://github.com/llvm/llvm-project/pull/90835
Commit: 506b4cdae0929ff4bc7174cb580b5e55b8a74a0b
https://github.com/llvm/llvm-project/commit/506b4cdae0929ff4bc7174cb580b5e55b8a74a0b
Author: David Truby <david.truby at arm.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M flang/lib/Lower/Bridge.cpp
M flang/lib/Semantics/canonicalize-directives.cpp
M flang/test/Semantics/loop-directives.f90
Log Message:
-----------
[flang] Change vector always errors to warnings (#95908)
Commit: 0f1b6276ce8e92363cbebc5308d0ce5f0c25b99d
https://github.com/llvm/llvm-project/commit/0f1b6276ce8e92363cbebc5308d0ce5f0c25b99d
Author: Matt Devereau <matthew.devereau at arm.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ConstantFolding.cpp
Log Message:
-----------
Fixup __float128 uses and if defined guard in ConstantFolding
Uses of __float128 in (#94944) should be float128. Although ConstantFoldFP128
is not reliant on HAS_LOGF128, it is only used by conditional code controlled
by HAS_LOGF128, and will cause unused errors on buildbots.
Commit: fb86cb7ec157689e4106e70deea2e1f71d6a780e
https://github.com/llvm/llvm-project/commit/fb86cb7ec157689e4106e70deea2e1f71d6a780e
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
A llvm/test/Transforms/LoopVectorize/X86/interleave-cost.ll
M llvm/test/Transforms/LoopVectorize/X86/invariant-store-vectorization.ll
Log Message:
-----------
[LV] Add extra tests for interleave-group, reduction store costing.
Add extra cost model tests exposed by VPlan cost-model transition,
causing revert in 6f538f6a2d3224efda985e9eb09012fa4275ea92
Commit: 3417ff6b1c6b165fce92e7c647c65466092cf638
https://github.com/llvm/llvm-project/commit/3417ff6b1c6b165fce92e7c647c65466092cf638
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Sema/Sema.h
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/TreeTransform.h
M clang/test/SemaCXX/cxx2a-consteval.cpp
M clang/test/SemaCXX/cxx2b-consteval-propagate.cpp
Log Message:
-----------
[Clang] Fix immediate escalation in templated entities (#95233)
* Lambdas were not considered immediate escalating in a template
* Calls to an immediate function whose arguments were dependent were
incorrectly treated as immediate escalating.
Fixes #94935
Commit: f1eae81c0738a2b05d8ba4039a04af6959a13d3b
https://github.com/llvm/llvm-project/commit/f1eae81c0738a2b05d8ba4039a04af6959a13d3b
Author: Danial Klimkin <dklimkin at google.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/unittests/Lex/HeaderSearchTest.cpp
Log Message:
-----------
[NFC]Fix memory leak in HeaderSearchTest (#95927)
AddressSanitizer: 56 byte(s) leaked in 1 allocation(s).
(clang/unittests:lex_tests)
Commit: aede380210b4b86b821f3ec24b506f0d5a6928c9
https://github.com/llvm/llvm-project/commit/aede380210b4b86b821f3ec24b506f0d5a6928c9
Author: Shao-Ce SUN <sunshaoce at outlook.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/test/Driver/riscv-cpus.c
M clang/test/Misc/target-invalid-cpu-note.c
M llvm/lib/Target/RISCV/RISCVProcessors.td
Log Message:
-----------
[RISCV] Add processor definition for SpacemiT-X60 (#94564)
SpacemiT-X60 is an RVV 1.0 core integrated into the SpacemiT-K1, an
8-core SoC, and it is incorporated into the BPi-F3 development board.
According to the
[document](https://developer.spacemit.com/#/documentation?token=BWbGwbx7liGW21kq9lucSA6Vnpb),
relevant information for extensions has been obtained.
BPi-F3 Datasheet:
https://docs.banana-pi.org/en/BPI-F3/SpacemiT_K1_datasheet
Spacemit-K1 Datasheet:
https://developer.spacemit.com/#/documentation?token=DBd4wvqoqi2fiqkiERTcbEDknBh
Commit: 1d76bf900b1671eec88b414e83fe9a4df99fdb07
https://github.com/llvm/llvm-project/commit/1d76bf900b1671eec88b414e83fe9a4df99fdb07
Author: DianQK <dianqk at dianqk.net>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/test/Transforms/SimplifyCFG/ForwardSwitchConditionToPHI.ll
Log Message:
-----------
[SimplifyCFG] Remove unnecessary content in `ForwardSwitchConditionToPHI.ll` (NFC)
Also rename `t` to forward_multiple`.
Commit: d7d19a9ddaec49f014198c42a404b40de87284e4
https://github.com/llvm/llvm-project/commit/d7d19a9ddaec49f014198c42a404b40de87284e4
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
R clang/utils/update_options_td_flags.py
Log Message:
-----------
[clang] Remove update_options_td_flags.py (#95909)
The comment says:
> This script will be removed after the next LLVM release.
but it's still there. Change that.
Commit: 66959ff8633684ec285d62ac244d38bfc8b263da
https://github.com/llvm/llvm-project/commit/66959ff8633684ec285d62ac244d38bfc8b263da
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ConstantFolding.cpp
Log Message:
-----------
[Analysis] Fix -Wunused-function in ConstantFolding.cpp (NFC)
/llvm-project/llvm/lib/Analysis/ConstantFolding.cpp:1747:11:
error: unused function 'GetConstantFoldFPValue128' [-Werror,-Wunused-function]
Constant *GetConstantFoldFPValue128(float128 V, Type *Ty) {
^
1 error generated.
Commit: d9a00ed3668803d11675b103fe9b6ed077ddc4c1
https://github.com/llvm/llvm-project/commit/d9a00ed3668803d11675b103fe9b6ed077ddc4c1
Author: Xuan Zhang <144393379+xuanzh-meta at users.noreply.github.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/SuffixTree.h
M llvm/include/llvm/Support/SuffixTreeNode.h
M llvm/lib/CodeGen/MachineOutliner.cpp
M llvm/lib/Support/SuffixTree.cpp
M llvm/lib/Support/SuffixTreeNode.cpp
M llvm/test/CodeGen/AArch64/machine-outliner-cfi-tail-some.mir
A llvm/test/CodeGen/AArch64/machine-outliner-leaf-descendants.ll
M llvm/test/CodeGen/AArch64/machine-outliner-overlap.mir
M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-sp-mod.mir
M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-thunk.ll
M llvm/test/CodeGen/AArch64/machine-outliner-throw2.ll
M llvm/test/CodeGen/AArch64/machine-outliner-thunk.ll
M llvm/test/CodeGen/AArch64/machine-outliner.mir
M llvm/test/CodeGen/RISCV/machineoutliner-pcrel-lo.mir
M llvm/unittests/Support/SuffixTreeTest.cpp
Log Message:
-----------
[MachineOutliner] Leaf Descendants (#90275)
This PR depends on https://github.com/llvm/llvm-project/pull/90264
In the current implementation, only leaf children of each internal node
in the suffix tree are included as candidates for outlining. But all
leaf descendants are outlining candidates, which we include in the new
implementation. This is enabled on a flag `outliner-leaf-descendants`
which is default to be true.
The reason for _enabling this on a flag_ is because machine outliner is
not the only pass that uses suffix tree.
The reason for _having this default to be true_ is because including all
leaf descendants show consistent size win.
* For Clang/LLD, it shows around 3% reduction in text segment size when
compared to the baseline `-Oz` linker binary.
* For selected benchmark tests in LLVM test suite
| run (CTMark/) | only leaf children | all leaf descendants | reduction
% |
|------------------|--------------------|----------------------|-------------|
| lencod | 349624 | 348564 | -0.2004% |
| SPASS | 219672 | 218440 | -0.4738% |
| kc | 271956 | 250068 | -0.4506% |
| sqlite3 | 223920 | 222484 | -0.5471% |
| 7zip-benchmark | 405364 | 401244 | -0.3428% |
| bullet | 139820 | 138340 | -0.8315% |
| consumer-typeset | 295684 | 286628 | -1.2295% |
| pairlocalalign | 72236 | 71936 | -0.2164% |
| tramp3d-v4 | 189572 | 183676 | -2.9668% |
This is part of an enhanced version of machine outliner -- see
[RFC](https://discourse.llvm.org/t/rfc-enhanced-machine-outliner-part-1-fulllto-part-2-thinlto-nolto-to-come/78732).
Commit: 41f6aee769a900558e58eba7b5f9044f8f8a05b7
https://github.com/llvm/llvm-project/commit/41f6aee769a900558e58eba7b5f9044f8f8a05b7
Author: thetruestblue <92476612+thetruestblue at users.noreply.github.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M lldb/source/Target/InstrumentationRuntime.cpp
Log Message:
-----------
[LLDB] Don't cache module sp when Activate() fails. (#95586)
Currently, the instrumentation runtime is caching a library the first
time it sees it in the module list. However, in some rare cases on
Darwin, the cached pre-run unloaded modules are different from the
runtime module that is loaded at runtime. This patch removes the cached
module if the plugin fails to activate, ensuring that on subsequent
calls we don't try to activate using the unloaded cached module.
There are a few related bugs to fix in a follow up: CheckIfRuntimeValid
should have a stronger check to ensure the module is loaded and can be
activated. Further investigation in
UpdateSpecialBinariesFromNewImageInfos calling ModulesDidLoad when the
module list may have unloaded modules.
I have not included a test for the following reasons:
1. This is an incredibly rare occurance and is only observed in a
specific circumstance on Darwin. It is tied to behavior in the
DynamicLoader thai is not commonly encountered.
2. It is difficult to reproduce -- this bug requires precise conditions
on darwin and it is unclear how we'd reproduce that in a controlled
testing environment.
rdar://128971453
Commit: 552f80a97982c30e3cb1bde2223e923a2e3a47e8
https://github.com/llvm/llvm-project/commit/552f80a97982c30e3cb1bde2223e923a2e3a47e8
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
M mlir/test/Dialect/Vector/canonicalize.mlir
Log Message:
-----------
[mlir][vector] Fix crash when folding 0D extract from splat/broadcast (#95918)
There was an assertion in the folder that caused a crash when extracting
from a vector that is defined by an op with 0D semantics. This commit
removes the assertion and adds test cases to ensure that 0D scenarios
are handled correctly.
Commit: 440af98a04402929b8c644b983add05cf420b5f8
https://github.com/llvm/llvm-project/commit/440af98a04402929b8c644b983add05cf420b5f8
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
Log Message:
-----------
[InstCombine] Avoid use of ConstantExpr::getShl()
Use IRBuilder instead. Also use ImmConstant to guarantee that this
will fold.
Commit: 76e889d3b024c187880187b1a14fe9ab0ea7aa36
https://github.com/llvm/llvm-project/commit/76e889d3b024c187880187b1a14fe9ab0ea7aa36
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
Log Message:
-----------
[InstCombine] Avoid use of ConstantExpr::getShl()
Use the constant folding API instead (we later call isNotMinSignedValue
on it, so we do need the Constant* return type here). Use ImmConstant
to guarantee that constant folding succeeds.
Commit: d314cf241d61410fa4bd925c1c4355e87209da17
https://github.com/llvm/llvm-project/commit/d314cf241d61410fa4bd925c1c4355e87209da17
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineNegator.cpp
Log Message:
-----------
[InstCombine] Avoid use of ConstantExpr::getShl()
Use IRBuilder instead, as we don't care about the return type
here. Use ImmConstant to ensure that constant folding will
succeed.
Commit: e64ed1db46967fe9963751873b5d0098b57c9316
https://github.com/llvm/llvm-project/commit/e64ed1db46967fe9963751873b5d0098b57c9316
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
Log Message:
-----------
[InstCombine] Avoid use of ConstantExpr::getShl()
Either use IRBuilder or the constant folding API instead. For
the IRBuilder uses, also switch to ImmConstant to make sure that
folding will succeed.
Commit: 8052e94946ec7535f2d22aae1dbf3c48d3cd1b34
https://github.com/llvm/llvm-project/commit/8052e94946ec7535f2d22aae1dbf3c48d3cd1b34
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
Log Message:
-----------
[InstCombine] Avoid use of ConstantExpr::getShl()
Use the constant folding API instead. Use ImmConstant to make
sure it actually folds.
Commit: 162386693f663b3d0aa5403a45bfbc8edc3a84ed
https://github.com/llvm/llvm-project/commit/162386693f663b3d0aa5403a45bfbc8edc3a84ed
Author: Ivan Kosarev <ivan.kosarev at amd.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
M llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
M llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.h
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.cpp
M llvm/lib/Target/AMDGPU/SOPInstructions.td
M llvm/lib/Target/AMDGPU/Utils/AMDGPUAsmUtils.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUAsmUtils.h
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
M llvm/test/MC/AMDGPU/gfx12_asm_sopk.s
M llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_sopk.txt
Log Message:
-----------
[AMDGPU][MC] Support UC_VERSION_* constants. (#95618)
Our other tools support them, so we want them in LLVM
assembler/disassembler too.
Commit: 6be6c3a37be46ebefa967b66e398d8ea9ed4ffe8
https://github.com/llvm/llvm-project/commit/6be6c3a37be46ebefa967b66e398d8ea9ed4ffe8
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
M llvm/test/Transforms/InstCombine/shuffle_select.ll
Log Message:
-----------
[InstCombine] Use disjoint flag for alternate binops
Check the or disjoint flag instead of the weaker MaskedValueIsZero
query.
Commit: ffc31d3221e2ebe1f5b1e5c846dcde27cb326616
https://github.com/llvm/llvm-project/commit/ffc31d3221e2ebe1f5b1e5c846dcde27cb326616
Author: Tina Jung <tinamaria.jung at amd.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M mlir/lib/Conversion/ArithToEmitC/ArithToEmitC.cpp
M mlir/test/Conversion/ArithToEmitC/arith-to-emitc-unsupported.mlir
M mlir/test/Conversion/ArithToEmitC/arith-to-emitc.mlir
Log Message:
-----------
[mlir][emitc] arith.negf to EmitC conversion (#95372)
Lower arith.negf to the unary minus in EmitC.
Commit: 534e3ad08b0b9773aceaef82f1282fd5bd8c43e6
https://github.com/llvm/llvm-project/commit/534e3ad08b0b9773aceaef82f1282fd5bd8c43e6
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Log Message:
-----------
[InstCombine] Avoid use of ConstantExpr::getShl()
Use the constant folding API instead. Use ImmConstant to ensure
folding succeeds.
Commit: 5aaf2ab085ef85498a65a1af03a1b3812c2cf531
https://github.com/llvm/llvm-project/commit/5aaf2ab085ef85498a65a1af03a1b3812c2cf531
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/Reassociate.cpp
Log Message:
-----------
[Reassociate] Avoid use of ConstantExpr::getShl()
Use the constant folding API instead.
Commit: 3eb4128eb0cb4a42b912ee352c120a9c0f2ddbd6
https://github.com/llvm/llvm-project/commit/3eb4128eb0cb4a42b912ee352c120a9c0f2ddbd6
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/stack-tagging-initializer-merge.ll
Log Message:
-----------
[StackTagging] Generate test checks (NFC)
Commit: 7dbc1688b550510b6777acbbbcfea8e02ba34ed2
https://github.com/llvm/llvm-project/commit/7dbc1688b550510b6777acbbbcfea8e02ba34ed2
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M lldb/test/API/lit.cfg.py
Log Message:
-----------
[lldb] Extend Python interpreter workaround to Xcode Python (attempt #2.5)
The Python interpreter in Xcode cannot be copied because of a relative
RPATH. Our workaround would just use that Python interpreter directly
when it detects this. For the reasons explained in my previous commit,
that doesn't work in a virtual environment. Address this case by
creating a symlink to the "real" interpreter in the virtual environment.
Commit: 4b9112e88a998ce620e4683548f2afd17cc5fe95
https://github.com/llvm/llvm-project/commit/4b9112e88a998ce620e4683548f2afd17cc5fe95
Author: Vikash Gupta <35700483+vg0204 at users.noreply.github.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
M llvm/test/CodeGen/AMDGPU/preserve-wwm-copy-dst-reg.ll
M llvm/test/CodeGen/AMDGPU/sgpr-regalloc-flags.ll
M llvm/test/CodeGen/AMDGPU/si-lower-sgpr-spills-vgpr-lanes-usage.mir
M llvm/test/CodeGen/AMDGPU/spill-scavenge-offset.ll
Log Message:
-----------
[AMDGPU]Optimize SGPR spills (#93668)
This PR is dependent on
[#93779](https://github.com/llvm/llvm-project/pull/93779).
As currently, each SGPR Spills are lowered to go into distinct stack
slots in stack frame after SGPR allocation phase. Therefore, this patch
utilizes the capability of StackSlotColoring to ensure the stack slot
sharing if possible for stack frame index, where the SGPR spills are
occuring in the non-interfering region.
StackSlotColoring is introduced immediately after SGPR register
allocation, just to ensure that any further lowering happens on the
optimally allocated stack slots, with certain flags to indicate the
preservation of certain analysis result later to be used by RA of other
register classes.
Commit: 083c683969b2436afdc45becadc955841f5f4d31
https://github.com/llvm/llvm-project/commit/083c683969b2436afdc45becadc955841f5f4d31
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M flang/CMakeLists.txt
M flang/cmake/modules/AddFlang.cmake
Log Message:
-----------
[flang] Add FLANG_PARALLEL_COMPILE_JOBS option (#95672)
This works the same way as LLVM_PARALLEL_COMPILE_JOBS except that it is
specific to the flang source rather than for the whole project.
Configuring with -DFLANG_PARALLEL_COMPILE_JOBS=1 would mean that there
would only ever be one flang source being compiled at a time.
Some of the flang sources require large amounts of memory to compile, so
this option can be used to avoid OOM erros when compiling those files
while still allowing the rest of the project to compile using the
maximum number of jobs.
---------
Co-authored-by: Nikita Popov <github at npopov.com>
Commit: da0e5359fc1a5bf1749306440f9dad089046d772
https://github.com/llvm/llvm-project/commit/da0e5359fc1a5bf1749306440f9dad089046d772
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
A .github/workflows/release-sources.yml
M .github/workflows/release-tasks.yml
M llvm/docs/HowToReleaseLLVM.rst
Log Message:
-----------
workflows: Add a new job for packaging release sources (#91834)
This job uses the new artifact attestations:
https://github.blog/2024-05-02-introducing-artifact-attestations-now-in-public-beta/
This will allow users to verify that the sources came from a specific
workflow run in the llvm-project repository. Currently, this job does
not automatically upload sources to the release page, but rather it
attaches them the workflow run as artifacts. The release manager is
expected to download, verify, and sign the sources before uploading them
to the release page.
We may be able to automatically upload them in the future once we have a
process for signing the binaries within the github workflow.
Technically, though, the binaries are being signed as part of the
attestation process, but the only way to verify the signatures is using
the gh command line tool, and I don't think it is best to rely on that,
since the tool may not be easily available on all systems.
Commit: fcee0333bab6747ca34188f3a781f4fef900b7fe
https://github.com/llvm/llvm-project/commit/fcee0333bab6747ca34188f3a781f4fef900b7fe
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M lldb/source/Target/Process.cpp
M lldb/test/Shell/Process/UnsupportedLanguage.test
Log Message:
-----------
[lldb] Suppress unsupported language warning for assembly (#95871)
The following warning is technically correct, but pretty much useless,
since there aren't any frame variables that we'd expect the debugger to
understand.
> This version of LLDB has no plugin for the language "assembler".
> Inspection of frame variables will be limited.
This message is useful in the general case but should be suppressed for
the "assembler" case.
rdar://92745462
Commit: b99d0b34400176cb9183113b96b245400caaf8d8
https://github.com/llvm/llvm-project/commit/b99d0b34400176cb9183113b96b245400caaf8d8
Author: MaheshRavishankar <1663364+MaheshRavishankar at users.noreply.github.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
M mlir/include/mlir/Dialect/SCF/Transforms/TileUsingInterface.h
M mlir/include/mlir/Interfaces/TilingInterface.h
M mlir/include/mlir/Interfaces/TilingInterface.td
M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
M mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
M mlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp
M mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
Log Message:
-----------
[mlir][TilingInterface] Update `PartialReductionOpInterface` to get it more in line with `TilingInterface`. (#95460)
The `TilingInterface` methods have return values that allow the
interface implementation to return multiple operations, and also return
tiled values explicitly. This is to avoid the assumption that the
interface needs to return a single operation and this operations result
are the expected tiled values. Make the
`PartialReductionOpInterface::tileToPartialReduction` return
`TilingResult` as well for the same reason.
Similarly make the `PartialReductionOpInterface::mergeReductions` also
return a list of generated operations and values to use as replacements.
This is just a refactoring to allow for deprecation of
`linalg::tileReductionUsingForall` with `scf::tileReductionUsingSCF`
method.
Commit: ae6f730b2f6f2055b3a658235ddef91624d532f2
https://github.com/llvm/llvm-project/commit/ae6f730b2f6f2055b3a658235ddef91624d532f2
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/include/llvm/ExecutionEngine/JITLink/x86_64.h
M llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp
M llvm/lib/ExecutionEngine/JITLink/x86_64.cpp
A llvm/test/ExecutionEngine/JITLink/x86-64/ELF_R_X86_64_PC8.s
Log Message:
-----------
[JITLink] Add x86_64::Delta8 edge kind, ELF::R_X86_64_PC8 support (#95869)
Add support for ELF::R_X86_64_PC8 relocation via new x86_64::Delta8 edge
kind.
Commit: 8520061281b0475bf4767107ddc94cf13335db48
https://github.com/llvm/llvm-project/commit/8520061281b0475bf4767107ddc94cf13335db48
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUGISel.td
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/atomics-gmir.mir
M llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmax.ll
M llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fmax.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fmin.ll
Log Message:
-----------
AMDGPU: Support local atomicrmw fmin/fmax for float/double (#95590)
This has always been supported. Somehow, we ended up with 2
copies of clang builtins for this case, and the newer one
erroneously requires gfx8-insts.
Commit: b629d4b91291328090023b5405dbbaabfd38d961
https://github.com/llvm/llvm-project/commit/b629d4b91291328090023b5405dbbaabfd38d961
Author: Ethan Luis McDonough <ethanluismcdonough at gmail.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/Attributor.cpp
A llvm/test/Transforms/Attributor/recursive_globals.ll
Log Message:
-----------
[Attributor] Prevent infinite loop in AAGlobalValueInfoFloating (#94941)
Global variables that reference themselves alongside a function that is
called indirectly can cause an infinite loop in
`AAGlobalValueInfoFloating`. The recursive reference is continually
pushed back into the workload, causing the attributor to hang
indefinitely.
Commit: 62b5196be0f8ab9b3e73ccfd6a4ee0f1598d6f1c
https://github.com/llvm/llvm-project/commit/62b5196be0f8ab9b3e73ccfd6a4ee0f1598d6f1c
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
A llvm/test/CodeGen/AMDGPU/invalid-inline-asm-constraint-crash.ll
Log Message:
-----------
DAG: Fix asserting on invalid inline asm constraints (#95935)
Commit: 5207632f8698a2fab0c4cdcdf2f7ad9aaf96e06f
https://github.com/llvm/llvm-project/commit/5207632f8698a2fab0c4cdcdf2f7ad9aaf96e06f
Author: MaheshRavishankar <1663364+MaheshRavishankar at users.noreply.github.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/GPU/IR/CMakeLists.txt
A mlir/include/mlir/Dialect/GPU/IR/GPUDeviceMappingAttr.td
M mlir/include/mlir/Dialect/GPU/IR/GPUOps.td
M mlir/include/mlir/Dialect/GPU/TransformOps/CMakeLists.txt
R mlir/include/mlir/Dialect/GPU/TransformOps/GPUDeviceMappingAttr.td
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][GPU] Move `GPUDeviceMappingAttr.td` to `GPU/IR`. (#95880)
This seems to be in the wrong place with `GPU/TransformOps`
Commit: 8570685d3b5a71d9a65a8c37a88fb0184d9b131c
https://github.com/llvm/llvm-project/commit/8570685d3b5a71d9a65a8c37a88fb0184d9b131c
Author: Eli Friedman <efriedma at quicinc.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/aarch64-load-ext.ll
Log Message:
-----------
[AArch64] Fix v4i8 loads in strict-align mode. (#95828)
Fixes #95811
Commit: b932da16b76f905e05520c473e3ae01c2f89e594
https://github.com/llvm/llvm-project/commit/b932da16b76f905e05520c473e3ae01c2f89e594
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
M llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-pown.ll
Log Message:
-----------
AMDGPU: Fix vector handling in pown libcall simplification (#95832)
The isIntegerTy check would not work as you would hope in
the vector case.
Commit: b1477eb436fd22e96b4592a73242902ae240eeef
https://github.com/llvm/llvm-project/commit/b1477eb436fd22e96b4592a73242902ae240eeef
Author: Eli Friedman <efriedma at quicinc.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64Arm64ECCallLowering.cpp
M llvm/test/CodeGen/AArch64/arm64ec-entry-thunks.ll
Log Message:
-----------
[ARM64EC] Fix thunks for C++ methods returning structs. (#95876)
For C++ methods, the first argument is "this", and the second is the
sret argument, which needs to be returned indirectly. Add handling for
this case.
Commit: 6f13f0b3fe57d2f59b8d456446fe87f3fef686d0
https://github.com/llvm/llvm-project/commit/6f13f0b3fe57d2f59b8d456446fe87f3fef686d0
Author: Caslyn Tonelli <6718161+Caslyn at users.noreply.github.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
Log Message:
-----------
[scudo] Test secondary cache options only if enabled (#95872)
Configs that use `MapAllocatorNoCache` for its secondary cache will
return `false` if `setOption` is called with some [specific
options](https://github.com/llvm/llvm-project/blob/main/compiler-rt/lib/scudo/standalone/secondary.h#L104),
and this breaks with the `SecondaryOptions` test.
This change will gate testing all `setOption` expectations for cache
options only if the allocator cache is enabled. This will unblock
[github.com/llvm/llvm-project/pull/95595
](https://github.com/llvm/llvm-project/pull/95595) from merging into
Fuchsia.
Commit: 30efdce77e523454a6f1778827170f0e70ba8616
https://github.com/llvm/llvm-project/commit/30efdce77e523454a6f1778827170f0e70ba8616
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/LangOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/AST/DeclBase.cpp
M clang/lib/Sema/SemaAvailability.cpp
M clang/lib/Sema/SemaHLSL.cpp
A clang/test/SemaHLSL/Availability/avail-diag-strict-compute.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-strict-lib.hlsl
Log Message:
-----------
[HLSL] Strict Availability Diagnostics (#93860)
Implements HLSL availability diagnostics' strict mode.
HLSL availability diagnostics emits errors or warning when unavailable
shader APIs are used. Unavailable shader APIs are APIs that are exposed
in HLSL code but are not available in the target shader stage or shader
model version.
In the strict mode the compiler emits an error when an unavailable API
is found in any function regardless of whether it is reachable from the
shader entry point or not. This mode is enabled by
``-fhlsl-strict-availability``.
See HLSL Availability Diagnostics design doc
[here](https://github.com/llvm/llvm-project/blob/main/clang/docs/HLSL/AvailabilityDiagnostics.rst)
for more details.
Fixes #90096
Commit: 35a2b60973074ab7b9add53c58acafe166820551
https://github.com/llvm/llvm-project/commit/35a2b60973074ab7b9add53c58acafe166820551
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGHLSLRuntime.h
M clang/test/CodeGenHLSL/builtins/rsqrt.hlsl
M llvm/include/llvm/IR/IntrinsicsSPIRV.td
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/rsqrt.ll
Log Message:
-----------
[SPIRV][HLSL] Add lowering of `rsqrt` to SPIRV (#95849)
Add lowering of `rsqrt` to SPIRV.
Fixes #88949
Commit: 9a88aa0e2b6d09c7c7932e14224632b2033ad403
https://github.com/llvm/llvm-project/commit/9a88aa0e2b6d09c7c7932e14224632b2033ad403
Author: Krystian Stasiowski <sdkrystian at gmail.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Sema/DeclSpec.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.stc/p1.cpp
M clang/test/CXX/drs/cwg7xx.cpp
M clang/test/CXX/temp/temp.decls/temp.mem/p2.cpp
M clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp
M clang/test/CXX/temp/temp.spec/temp.expl.spec/p17.cpp
M clang/test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp
A clang/test/CXX/temp/temp.spec/temp.expl.spec/p2-20.cpp
M clang/test/Modules/Inputs/redecl-templates/a.h
M clang/test/Modules/redecl-templates.cpp
M clang/test/PCH/cxx-templates.h
M clang/test/PCH/cxx1y-variable-templates.cpp
M clang/test/SemaCXX/cxx1y-variable-templates_in_class.cpp
M clang/test/SemaTemplate/explicit-specialization-member.cpp
M clang/test/SemaTemplate/nested-template.cpp
Log Message:
-----------
[Clang][Sema] Diagnose variable template explicit specializations with storage-class-specifiers (#93873)
According to [temp.expl.spec] p2:
> The declaration in an _explicit-specialization_ shall not be an
_export-declaration_. An explicit specialization shall not use a
_storage-class-specifier_ other than `thread_local`.
Clang partially implements this, but a number of issues exist:
1. We don't diagnose class scope explicit specializations of variable
templates with _storage-class-specifiers_, e.g.
```
struct A
{
template<typename T>
static constexpr int x = 0;
template<>
static constexpr int x<void> = 1; // ill-formed, but clang accepts
};
````
2. We incorrectly reject class scope explicit specializations of
variable templates when `static` is not used, e.g.
```
struct A
{
template<typename T>
static constexpr int x = 0;
template<>
constexpr int x<void> = 1; // error: non-static data member cannot be
constexpr; did you intend to make it static?
};
````
3. We don't diagnose dependent class scope explicit specializations of
function templates with storage class specifiers, e.g.
```
template<typename T>
struct A
{
template<typename U>
static void f();
template<>
static void f<int>(); // ill-formed, but clang accepts
};
````
This patch addresses these issues as follows:
- # 1 is fixed by issuing a diagnostic when an explicit
specialization of a variable template has storage class specifier
- # 2 is fixed by considering any non-function declaration with any
template parameter lists at class scope to be a static data member. This
also allows for better error recovery (it's more likely the user
intended to declare a variable template than a "field template").
- # 3 is fixed by checking whether a function template explicit
specialization has a storage class specifier even when the primary
template is not yet known.
One thing to note is that it would be far simpler to diagnose this when
parsing the _decl-specifier-seq_, but such an implementation would
necessitate a refactor of `ParsedTemplateInfo` which I believe to be
outside the scope of this patch.
Commit: 295d5746dfc1ff5ae7d5767c6ada6130a2a69533
https://github.com/llvm/llvm-project/commit/295d5746dfc1ff5ae7d5767c6ada6130a2a69533
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Symbol/DWARFCallFrameInfo.cpp
Log Message:
-----------
[lldb] Remove LLVM_PRETTY_FUNCTION from LLDB_SCOPED_TIMERF
The macro already uses LLVM_PRETTY_FUNCTION as the timer category, so
there's no point in duplicating it in the timer message.
Commit: 7b33c5c79c20745aed953ea5539f32de1a622752
https://github.com/llvm/llvm-project/commit/7b33c5c79c20745aed953ea5539f32de1a622752
Author: Michael Jones <michaelrj at google.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M libc/src/stdio/printf_core/float_dec_converter.h
Log Message:
-----------
[libc] Remove unnecessary check in printf floats (#95841)
Fixes https://github.com/llvm/llvm-project/issues/95638
The check was `if(unsigned_num >= 0)` which will always be true. The
intent was to check for zero, but the `for` loop inside the `if` was
already doing that.
Commit: 04a75f54a11f1f2640a211a81120966c7a24d05b
https://github.com/llvm/llvm-project/commit/04a75f54a11f1f2640a211a81120966c7a24d05b
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M libcxx/include/__config_site.in
M libcxx/include/__format/parser_std_format_spec.h
M libcxx/test/libcxx/input.output/iostream.format/output.streams/ostream.formatted/ostream.formatted.print/vprint_unicode.pass.cpp
M libcxx/test/libcxx/input.output/iostream.format/print.fun/transcoding.pass.cpp
M libcxx/test/libcxx/input.output/iostream.format/print.fun/vprint_unicode_posix.pass.cpp
M libcxx/test/libcxx/input.output/iostream.format/print.fun/vprint_unicode_windows.pass.cpp
M libcxx/test/libcxx/utilities/format/format.functions/ascii.pass.cpp
M libcxx/test/libcxx/utilities/format/format.functions/escaped_output.ascii.pass.cpp
M libcxx/test/libcxx/utilities/format/format.string/format.string.std/extended_grapheme_cluster.pass.cpp
M libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.formatted.print/locale-specific_form.pass.cpp
M libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.formatted.print/vprint_unicode.pass.cpp
M libcxx/test/std/input.output/iostream.format/print.fun/no_file_description.pass.cpp
M libcxx/test/std/input.output/iostream.format/print.fun/vprint_unicode.sh.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.char.fsigned-char.pass.cpp
Log Message:
-----------
[libc++] Properly define _LIBCPP_HAS_NO_UNICODE in __config_site (#95138)
Fixes #93638
Co-authored-by: Mark de Wever <koraq at xs4all.nl>
Commit: f80bd9b8a8103f39f5fece019abf86d41098cec1
https://github.com/llvm/llvm-project/commit/f80bd9b8a8103f39f5fece019abf86d41098cec1
Author: Gábor Spaits <gaborspaits1 at gmail.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Sema/Initialization.h
M clang/lib/Sema/SemaInit.cpp
A clang/test/SemaCXX/ctad-copy-init-list-narrowing.cpp
Log Message:
-----------
[Sema][CTAD] Allow user defined conversion for copy-list-initialization (#94752)
Fixes #62925.
The following code:
```cpp
#include <map>
int main() {
std::map m1 = {std::pair{"foo", 2}, {"bar", 3}}; // guide #2
std::map m2(m1.begin(), m1.end()); // guide #1
}
```
Is rejected by clang, but accepted by both gcc and msvc:
https://godbolt.org/z/6v4fvabb5 .
So basically CTAD with copy-list-initialization is rejected.
Note that this exact code is also used in a cppreference article:
https://en.cppreference.com/w/cpp/container/map/deduction_guides
I checked the C++11 and C++20 standard drafts to see whether suppressing
user conversion is the correct thing to do for user conversions. Based
on the standard I don't think that it is correct.
```
13.3.1.4 Copy-initialization of class by user-defined conversion [over.match.copy]
Under the conditions specified in 8.5, as part of a copy-initialization of an object of class type, a user-defined
conversion can be invoked to convert an initializer expression to the type of the object being initialized.
Overload resolution is used to select the user-defined conversion to be invoked
```
So we could use user defined conversions according to the standard.
```
If a narrowing conversion is required to initialize any of the elements, the
program is ill-formed.
```
We should not do narrowing.
```
In copy-list-initialization, if an explicit constructor is chosen, the initialization is ill-formed.
```
We should not use explicit constructors.
Commit: 76894c5e6e20bfe8a30f7d8bdd39c41a7af54d65
https://github.com/llvm/llvm-project/commit/76894c5e6e20bfe8a30f7d8bdd39c41a7af54d65
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGenCUDA/builtins-amdgcn.cu
M clang/test/CodeGenCUDA/builtins-spirv-amdgcn.cu
M clang/test/CodeGenCUDA/builtins-unsafe-atomics-gfx90a.cu
M clang/test/CodeGenCUDA/builtins-unsafe-atomics-spirv-amdgcn-gfx90a.cu
M clang/test/CodeGenOpenCL/builtins-amdgcn-vi.cl
M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx12.cl
M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx8.cl
M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx90a.cl
M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx940.cl
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
Log Message:
-----------
clang/AMDGPU: Emit atomicrmw from ds_fadd builtins (#95395)
We should have done this for the f32/f64 case a long time ago. Now that
codegen handles atomicrmw selection for the v2f16/v2bf16 case, start emitting
it instead.
This also does upgrade the behavior to respect a volatile qualified pointer,
which was previously ignored (for the cases that don't have an explicit
volatile argument).
Commit: 89fd19509292db64ea6f2fd95e3b7d40cf78b2b1
https://github.com/llvm/llvm-project/commit/89fd19509292db64ea6f2fd95e3b7d40cf78b2b1
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.load.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.store.ll
Log Message:
-----------
AMDGPU: Fix buffer load/store of pointers (#95379)
Make sure we test all the address spaces since this support isn't
free in gisel.
Commit: 0863bd83e573f5e3e35c5c6b5750ac74f2295f48
https://github.com/llvm/llvm-project/commit/0863bd83e573f5e3e35c5c6b5750ac74f2295f48
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/ilist_base.h
M llvm/include/llvm/ADT/ilist_iterator.h
M llvm/include/llvm/ADT/ilist_node.h
M llvm/include/llvm/ADT/ilist_node_base.h
M llvm/include/llvm/ADT/ilist_node_options.h
M llvm/include/llvm/IR/BasicBlock.h
M llvm/include/llvm/IR/Instruction.h
M llvm/include/llvm/IR/ValueSymbolTable.h
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/IR/Instruction.cpp
M llvm/unittests/ADT/IListBaseTest.cpp
M llvm/unittests/ADT/IListIteratorBitsTest.cpp
M llvm/unittests/ADT/IListIteratorTest.cpp
M llvm/unittests/ADT/IListNodeBaseTest.cpp
M llvm/unittests/ADT/IListNodeTest.cpp
Log Message:
-----------
[LLVM] Add option to store Parent-pointer in ilist_node_base (#94224)
This patch adds a new option for `ilist`, `ilist_parent<ParentTy>`, that
enables storing an additional pointer in the `ilist_node_base` type to a
specified "parent" type, and uses that option for `Instruction`.
This is distinct from the `ilist_node_with_parent` class, despite their
apparent similarities. The `ilist_node_with_parent` class is a subclass
of `ilist_node` that requires its own subclasses to define a `getParent`
method, which is then used by the owning `ilist` for some of its
operations; it is purely an interface declaration. The `ilist_parent`
option on the other hand is concerned with data, adding a parent field
to the `ilist_node_base` class.
Currently, we can use `BasicBlock::iterator` to insert instructions,
_except_ when either the iterator is invalid (`NodePtr=0x0`), or when
the iterator points to a sentinel value (`BasicBlock::end()`). This patch
results in the sentinel value also having a valid pointer to its owning
basic block, which allows us to use iterators for all insertions,
without needing to store or pass an extra `BasicBlock *BB` argument
alongside it.
Commit: ad2905e52c2016a7de02ace59e33c3ca6ab53cd9
https://github.com/llvm/llvm-project/commit/ad2905e52c2016a7de02ace59e33c3ca6ab53cd9
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M bolt/lib/Rewrite/LinuxKernelRewriter.cpp
M bolt/test/X86/linux-alt-instruction.s
Log Message:
-----------
[BOLT] Skip optimization of functions with alt instructions (#95172)
Alternative instructions in the Linux kernel may modify control flow in
a function. As such, it is unsafe to optimize functions with alternative
instructions until we properly support CFG alternatives.
Previously, we marked functions with alt instructions before the
emission, but that could be too late if we remove or replace
instructions with alternatives. We could have marked functions as
non-simple immediately after reading .altinstructions, but it's nice to
be able to view functions after CFG is built. Thus assign the non-simple
status after building CFG.
Commit: d7b5741ad117a068537e2f0101999d1184acab4e
https://github.com/llvm/llvm-project/commit/d7b5741ad117a068537e2f0101999d1184acab4e
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M flang/lib/Parser/prescan.cpp
A flang/test/Preprocessing/multi-cont.F90
Log Message:
-----------
[flang] Fix crash due to overly broad assertion (#95809)
Fix https://github.com/llvm/llvm-project/issues/95689 and add a
regression test.
Commit: 4b57fe65fdc6b8d7163f36440386d1e707d89381
https://github.com/llvm/llvm-project/commit/4b57fe65fdc6b8d7163f36440386d1e707d89381
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M flang/include/flang/Common/Fortran.h
M flang/include/flang/Evaluate/common.h
M flang/include/flang/Evaluate/target.h
M flang/include/flang/Evaluate/tools.h
M flang/lib/Evaluate/fold-logical.cpp
M flang/lib/Evaluate/intrinsics.cpp
M flang/lib/Evaluate/tools.cpp
M flang/module/__fortran_builtins.f90
M flang/module/__fortran_ieee_exceptions.f90
M flang/module/ieee_arithmetic.f90
A flang/test/Evaluate/fold-ieee.f90
M flang/test/Lower/Intrinsics/ieee_femodes.f90
M flang/test/Lower/Intrinsics/ieee_festatus.f90
M flang/test/Lower/Intrinsics/ieee_flag.f90
M flang/test/Lower/Intrinsics/ieee_logb.f90
M flang/test/Lower/Intrinsics/ieee_max_min.f90
M flang/test/Lower/Intrinsics/ieee_operator_eq.f90
M flang/test/Lower/Intrinsics/ieee_rounding.f90
Log Message:
-----------
[flang] Fold IEEE_SUPPORT_xxx() intrinsic functions (#95866)
All of the IEEE_SUPPORT_xxx() intrinsic functions must fold to constant
logical values when they have constant arguments; and since they fold to
.TRUE. for currently support architectures, always fold them. But also
put in the infrastructure whereby a driver can initialize Evaluate's
target information to set some of them to .FALSE. if that becomes
necessary.
Commit: 3d2bbea37002e38759c06d975b6656a91e908dc6
https://github.com/llvm/llvm-project/commit/3d2bbea37002e38759c06d975b6656a91e908dc6
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/ProfileData/InstrProfWriter.cpp
Log Message:
-----------
[ProfileData] Clean up validateRecord (#95488)
validateRecord ensures that all the values are unique except for
IPVK_IndirectCallTarget and IPVK_VTableTarget. The problem is that we
exclude them in the innermost loop.
This patch pulls the loop invariant out of the loop. While I am at
it, this patch migrates a use of getValueForSite to
getValueArrayForSite.
Commit: 887bd73d7204a9ae80c608bb7113710be925384b
https://github.com/llvm/llvm-project/commit/887bd73d7204a9ae80c608bb7113710be925384b
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/test/Lower/Intrinsics/reduce.f90
Log Message:
-----------
[flang] Handle procedure pointer and dummy procecure in REDUCE intrinsic calls (#95843)
Add handling for procedure pointer and dummy procedure in REDUCE
intrinsic call lowering.
Commit: 5e20785edc39854751e78dbd102fc9e6fa740fc5
https://github.com/llvm/llvm-project/commit/5e20785edc39854751e78dbd102fc9e6fa740fc5
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M flang/lib/Optimizer/Dialect/CUF/CUFOps.cpp
M flang/test/Lower/CUDA/cuda-data-transfer.cuf
Log Message:
-----------
[flang][cuda] Relax cuf.data_transfer verifier (#95974)
Allow data transfer between array reference and array described by a
descriptor.
Commit: e5f16393429bd73ea7d8a73cdc19408114c9e944
https://github.com/llvm/llvm-project/commit/e5f16393429bd73ea7d8a73cdc19408114c9e944
Author: Mats Petersson <mats.petersson at arm.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/test/OpenMP/irbuilder_nested_parallel_for.c
M clang/test/OpenMP/nested_loop_codegen.cpp
A flang/test/Lower/OpenMP/parallel-reduction-mixed.f90
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Target/LLVMIR/openmp-parallel-reduction-cleanup.mlir
M mlir/test/Target/LLVMIR/openmp-reduction-init-arg.mlir
Log Message:
-----------
[Flang]Fix for changed code at the end of AllocaIP. (#92430)
Some of the OpenMP code can change the instruction pointed at by the
insertion point. This leads to an assert in the compiler about
BB->getParent() and IP->getParent() not matching.
The fix is to rebuild the insertionpoint from the block, rather than use
builder.restoreIP.
Also, move some of the alloca generation, rather than skipping back and
forth between insert points (and ensure all the allocas are done before
their users are created).
A simple test, mainly to ensure the minimal reproducer doesn't fail to
compile in the future is also added.
Commit: a03d06a736fd8921c8f40637667d6af9c2c76505
https://github.com/llvm/llvm-project/commit/a03d06a736fd8921c8f40637667d6af9c2c76505
Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/include/clang/AST/ASTContext.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/CMakeLists.txt
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Basic/Targets/AArch64.h
M clang/test/CodeGen/aarch64-cpu-supports-target.c
M clang/test/CodeGen/aarch64-sme-intrinsics/aarch64-sme-attrs.cpp
M clang/test/CodeGen/aarch64-targetattr.c
M clang/test/CodeGen/attr-target-version.c
M clang/test/Sema/aarch64-neon-target.c
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_aes_bitperm_sha3_sm4.cpp
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_imm_lane.cpp
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_imm_rotation.cpp
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/TargetParser/AArch64TargetParser.cpp
Log Message:
-----------
Reland "[AArch64] Decouple feature dependency expansion. (#94279)" (#95519)
This is the second attempt. When parsing the target attribute
we should be letting cc1 features which don't correspond to
Extensions pass through to avoid errors like the following:
% cat neon.c
__attribute__((target("arch=armv8-a")))
uint64x2_t foo(uint64x2_t a, uint64x2_t b) { return veorq_u64(a, b); }
% clang --target=aarch64-linux-gnu -c neon.c
error: always_inline function 'veorq_u64' requires target feature
'outline-atomics', but would be inlined into function 'foo'
that is compiled without support for 'outline-atomics'
Co-authored-by: Tomas Matheson <Tomas.Matheson at arm.com>
Commit: fad2ad704983ecf975f437f2352b3e72ec8d23a0
https://github.com/llvm/llvm-project/commit/fad2ad704983ecf975f437f2352b3e72ec8d23a0
Author: Nick Desaulniers (paternity leave) <nickdesaulniers at users.noreply.github.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M libc/src/__support/OSUtil/linux/fcntl.cpp
Log Message:
-----------
[libc][fcntl] fix -Wshorten-64-to-32 for 32b ARM (#95945)
Fixes:
llvm-project/libc/src/__support/OSUtil/linux/fcntl.cpp:63:26: error:
implicit conversion loses integer precision: '__off64_t' (aka 'long
long')
to '__off_t' (aka 'long') [-Werror,-Wshorten-64-to-32]
flk->l_start = flk64.l_start;
~ ~~~~~~^~~~~~~
llvm-project/libc/src/__support/OSUtil/linux/fcntl.cpp:64:24: error:
implicit conversion loses integer precision: '__off64_t' (aka 'long
long')
to '__off_t' (aka 'long') [-Werror,-Wshorten-64-to-32]
flk->l_len = flk64.l_len;
~ ~~~~~~^~~~~
We already have an overflow check, just need the cast to be explicit.
This
warning was observed on the 32b ARM build in overlay mode.
Commit: 300c41c2bd5a5a5b5c98c603f64a36d2e4df967f
https://github.com/llvm/llvm-project/commit/300c41c2bd5a5a5b5c98c603f64a36d2e4df967f
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLoweringCall.cpp
M llvm/test/CodeGen/X86/win64-jumptable.ll
Log Message:
-----------
[X86] Use 32-bit jump table entries on Windows (#95962)
Windows doesn't support relative 64-bit relocations.
Fixes #95622
Commit: 66df7657c83a3650312699163e4dce085bd2a160
https://github.com/llvm/llvm-project/commit/66df7657c83a3650312699163e4dce085bd2a160
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProf.h
Log Message:
-----------
[ProfileData] Remove getValueForSite and getNumValueDataForSite (#95989)
This patch removes getValueForSite and getNumValueDataForSite as I've
migrated all uses of them to getValueArrayForSite.
Commit: 773ee62e16b859f41104c53bc3b80fb318d13eb2
https://github.com/llvm/llvm-project/commit/773ee62e16b859f41104c53bc3b80fb318d13eb2
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/lib/ProfileData/InstrProfWriter.cpp
Log Message:
-----------
[memprof] Rename the members of IndexedMemProfData (NFC) (#94873)
I'm planning to use IndexedMemProfData in MemProfReader and beyond.
Before I do so, this patch renames the members of IndexedMemProfData
as MemProfData.FrameData is a bit mouthful with "Data" repeated twice.
Note that MemProfReader currently has a trio -- IdToFrame,
CSIdToCallStack, and FunctionProfileData. Replacing them with an
instance of IndexedMemProfData allows us to use the move semantics
from the reader to the writer context. More importantly, treating the
profile data as one package makes the maintenance easier. In the
past, forgetting to update a place dealing with the trio has resulted
in a bug where we totally forgot to emit call stacks into the indexed
profile.
Commit: d8b63b680d026ba9c62b99e335cb284d5a73617d
https://github.com/llvm/llvm-project/commit/d8b63b680d026ba9c62b99e335cb284d5a73617d
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
M llvm/test/CodeGen/AMDGPU/clamp-omod-special-case.mir
Log Message:
-----------
AMDGPU: Don't fold clamp/omod modifiers without nofpexcept (#95950)
Commit: 0f323dc0c43bd45147bdf8ee9cbeef0d8f57165b
https://github.com/llvm/llvm-project/commit/0f323dc0c43bd45147bdf8ee9cbeef0d8f57165b
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M flang/CMakeLists.txt
M flang/cmake/modules/AddFlang.cmake
Log Message:
-----------
Revert "[flang] Add FLANG_PARALLEL_COMPILE_JOBS option" (#96000)
Reverts llvm/llvm-project#95672
This is failing on build configurations that use the CMakeLists.txt file
from flang/runtime instead of flang/
Commit: 625fc4b3f2463355053f57baebc76a672935c50b
https://github.com/llvm/llvm-project/commit/625fc4b3f2463355053f57baebc76a672935c50b
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIROpsSupport.h
M flang/lib/Lower/CallInterface.cpp
Log Message:
-----------
[flang][NFC] Fix typo getFuncElementAttrName -> getFuncElementalAttrName (#95998)
Fix type in the getter for the attribute name
Commit: 12cf0dc685a9c3adfefc3a58f0b8ed4360be8b14
https://github.com/llvm/llvm-project/commit/12cf0dc685a9c3adfefc3a58f0b8ed4360be8b14
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M llvm/docs/ReleaseNotes.rst
Log Message:
-----------
Update ReleaseNotes for MC/DC changes. (#95887)
Mostly apparent changes (#82448, #95496) are described here.
Commit: f0a76d5cb53dda912565ab9d1d6807c569e4c636
https://github.com/llvm/llvm-project/commit/f0a76d5cb53dda912565ab9d1d6807c569e4c636
Author: Nico Weber <thakis at chromium.org>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
Log Message:
-----------
[gn] port 04a75f54a11f
Commit: c638ba19970905b191d0121a23ce640a3a811b30
https://github.com/llvm/llvm-project/commit/c638ba19970905b191d0121a23ce640a3a811b30
Author: Alexander Shaposhnikov <6532716+alexander-shaposhnikov at users.noreply.github.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Darwin.cpp
M clang/lib/Driver/ToolChains/Linux.cpp
M clang/test/Driver/fsanitize.c
Log Message:
-----------
[Clang][Sanitizers] Enable NSAN on X86_64 only (#95885)
This is a follow-up to https://github.com/llvm/llvm-project/pull/93783.
The current set of patches covers only x86_64,
therefore we should not enable this flag on arm64 yet.
Commit: 448bb5cfc999d166d82facd985ba3e2716bfb016
https://github.com/llvm/llvm-project/commit/448bb5cfc999d166d82facd985ba3e2716bfb016
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
A llvm/test/Analysis/ScalarEvolution/trip-count-scalable-stride.ll
Log Message:
-----------
[SCEV] Add coverage for variants of vscale indexing for EVL vectorized loops
Commit: 139f896c0f86ea9cdb13aa94835b48d1e6f63808
https://github.com/llvm/llvm-project/commit/139f896c0f86ea9cdb13aa94835b48d1e6f63808
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
Log Message:
-----------
InstrProfiling: Split creating Bias offset to getOrCreateBiasVar(Name). NFC. (#95692)
Commit: 8ea31db27211ed0c8207b4b4b0839e5cbe780c73
https://github.com/llvm/llvm-project/commit/8ea31db27211ed0c8207b4b4b0839e5cbe780c73
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/test/Transforms/CodeGenPrepare/X86/statepoint-relocate.ll
Log Message:
-----------
[CodeGenPrepare] Use MapVector to stabilize iteration order
DenseMap iteration order is not guaranteed to be deterministic.
Without the change,
llvm/test/Transforms/CodeGenPrepare/X86/statepoint-relocate.ll would
fail when `combineHashValue` changes (#95970).
Fixes: dba7329ebb0dbe1fabb3faaedfd31da3b8bd611d
Commit: 70f41a8c305478cb16bcda9f9967af96ab1e3a20
https://github.com/llvm/llvm-project/commit/70f41a8c305478cb16bcda9f9967af96ab1e3a20
Author: royitaqi <royitaqi at users.noreply.github.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M lldb/include/lldb/API/SBStatisticsOptions.h
M lldb/include/lldb/Interpreter/OptionArgParser.h
M lldb/include/lldb/Target/Statistics.h
M lldb/source/API/SBStatisticsOptions.cpp
M lldb/source/Commands/CommandObjectStats.cpp
M lldb/source/Commands/Options.td
M lldb/source/Interpreter/OptionArgParser.cpp
M lldb/source/Target/Statistics.cpp
M lldb/test/API/commands/statistics/basic/TestStats.py
M lldb/unittests/Interpreter/TestOptionArgParser.cpp
Log Message:
-----------
[lldb] Add/change options in `statistics dump` to control what sections are dumped (#95075)
# Added/changed options
The following options are **added** to the `statistics dump` command:
* `--targets=bool`: Boolean. Dumps the `targets` section.
* `--modules=bool`: Boolean. Dumps the `modules` section.
When both options are given, the field `moduleIdentifiers` will be
dumped for each target in the `targets` section.
The following options are **changed**:
* `--transcript=bool`: Changed to a boolean. Dumps the `transcript`
section.
# Behavior of `statistics dump` with various options
The behavior is **backward compatible**:
- When no options are provided, `statistics dump` dumps all sections.
- When `--summary` is provided, only dumps the summary info.
**New** behavior:
- `--targets=bool`, `--modules=bool`, `--transcript=bool` overrides the
above "default".
For **example**:
- `statistics dump --modules=false` dumps summary + targets +
transcript. No modules.
- `statistics dump --summary --targets=true --transcript=true` dumps
summary + targets (in summary mode) + transcript.
# Added options into public API
In `SBStatisticsOptions`, add:
* `Set/GetIncludeTargets`
* `Set/GetIncludeModules`
* `Set/GetIncludeTranscript`
**Alternative considered**: Thought about adding
`Set/GetIncludeSections(string sections_spec)`, which receives a
comma-separated list of section names to be included ("targets",
"modules", "transcript"). The **benefit** of this approach is that the
API is more future-proof when it comes to possible adding/changing of
section names. **However**, I feel the section names are likely to
remain unchanged for a while - it's not like we plan to make big changes
to the output of `statistics dump` any time soon. The **downsides** of
this approach are: 1\ the readability of the API is worse (requires
reading doc to understand what string can be accepted), 2\ string input
are more prone to human error (e.g. typo "target" instead of expected
"targets").
# Tests
```
bin/llvm-lit -sv ../external/llvm-project/lldb/test/API/commands/statistics/basic/TestStats.py
```
```
./tools/lldb/unittests/Interpreter/InterpreterTests
```
New test cases have been added to verify:
* Different sections are dumped/not dumped when different
`StatisticsOptions` are given through command line (CLI or
`HandleCommand`; see `test_sections_existence_through_command`) or API
(see `test_sections_existence_through_api`).
* The order in which the options are given in command line does not
matter (see `test_order_of_options_do_not_matter`).
---------
Co-authored-by: Roy Shi <royshi at meta.com>
Commit: ad599211a79dd7817f110241372075d82c0ae52a
https://github.com/llvm/llvm-project/commit/ad599211a79dd7817f110241372075d82c0ae52a
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/include/clang/AST/ASTContext.h
M clang/include/clang/AST/Type.h
M clang/include/clang/AST/TypeProperties.td
A clang/include/clang/Basic/AMDGPUTypes.def
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/ASTImporter.cpp
M clang/lib/AST/ExprConstant.cpp
M clang/lib/AST/ItaniumMangle.cpp
M clang/lib/AST/MicrosoftMangle.cpp
M clang/lib/AST/NSAPI.cpp
M clang/lib/AST/PrintfFormatString.cpp
M clang/lib/AST/Type.cpp
M clang/lib/AST/TypeLoc.cpp
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/CodeGen/CGDebugInfo.h
M clang/lib/CodeGen/CodeGenTypes.cpp
M clang/lib/CodeGen/ItaniumCXXABI.cpp
M clang/lib/Index/USRGeneration.cpp
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Serialization/ASTCommon.cpp
M clang/lib/Serialization/ASTReader.cpp
A clang/test/AST/ast-dump-amdgpu-types.c
A clang/test/CodeGen/amdgpu-buffer-rsrc-type-debug-info.c
A clang/test/CodeGenCXX/amdgpu-buffer-rsrc-typeinfo.cpp
A clang/test/CodeGenOpenCL/amdgcn-buffer-rsrc-type.cl
A clang/test/SemaCXX/amdgpu-buffer-rsrc.cpp
A clang/test/SemaHIP/amdgpu-buffer-rsrc.hip
A clang/test/SemaOpenCL/amdgpu-buffer-rsrc.cl
A clang/test/SemaOpenMP/amdgpu-buffer-rsrc.cpp
M clang/tools/libclang/CIndex.cpp
Log Message:
-----------
[Clang][AMDGPU] Add a new builtin type for buffer rsrc (#94830)
This patch adds a new builtin type for AMDGPU's buffer rsrc data type,
which is effectively an AS 8 pointer. This is needed because we'd like
to expose certain intrinsics to users via builtins which take buffer
rsrc as argument.
Commit: a5128542495d04e20db0828bceaae69c39e72c6d
https://github.com/llvm/llvm-project/commit/a5128542495d04e20db0828bceaae69c39e72c6d
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
M llvm/test/Instrumentation/InstrProfiling/runtime-counter-relocation.ll
M llvm/test/Transforms/PGOProfile/counter_promo_with_bias.ll
Log Message:
-----------
InstProfiling: Give the name to profc_bias. NFC. (#95587)
Commit: 61571e9046fa6f12661e443123635053186794a1
https://github.com/llvm/llvm-project/commit/61571e9046fa6f12661e443123635053186794a1
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Handle function try block with ctor-initializer (#95878)
Fixes #58987.
Fixes #95679.
Commit: 0c0281130ed51fea06cf20a2db37c5bca257ad31
https://github.com/llvm/llvm-project/commit/0c0281130ed51fea06cf20a2db37c5bca257ad31
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/apple.inc
Log Message:
-----------
fixup! [compiler-rt][AArch64][FMV] Use the hw.optional.arm.caps fast path (#95275)
https://github.com/llvm/llvm-project/pull/95275#issuecomment-2177366693
Commit: 728fb233b01330243a574c51ad524acffc3ffa2d
https://github.com/llvm/llvm-project/commit/728fb233b01330243a574c51ad524acffc3ffa2d
Author: Freddy Ye <freddy.ye at intel.com>
Date: 2024-06-19 (Wed, 19 Jun 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
Log Message:
-----------
[X86][MC] Support case insenstive for `dfv,sf,cf,of,zf` for CCMP/CTEST (#95910)
Commit: 3c8f3b91d898cb3f76e1e430da98972cdf8a4a1c
https://github.com/llvm/llvm-project/commit/3c8f3b91d898cb3f76e1e430da98972cdf8a4a1c
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/test/CodeGen/WebAssembly/exception-legacy.ll
Log Message:
-----------
[WebAssembly] Treat 'rethrow' as terminator in custom isel (#95967)
`rethrow` instruction is a terminator, but when when its DAG is built in
`SelectionDAGBuilder` in a custom routine, it was NOT treated as such.
```ll
rethrow: ; preds = %catch.start
invoke void @llvm.wasm.rethrow() #1 [ "funclet"(token %1) ]
to label %unreachable unwind label %ehcleanup
ehcleanup: ; preds = %rethrow, %catch.dispatch
%tmp = phi i32 [ 10, %catch.dispatch ], [ 20, %rethrow ]
...
```
In this bitcode, because of the `phi`, a `CONST_I32` will be created in
the `rethrow` BB. Without this patch, the DAG for the `rethrow` BB looks
like this:
```
t0: ch,glue = EntryToken
t3: ch = CopyToReg t0, Register:i32 %9, Constant:i32<20>
t5: ch = llvm.wasm.rethrow t0, TargetConstant:i32<12161>
t6: ch = TokenFactor t3, t5
t8: ch = br t6, BasicBlock:ch<unreachable 0x562532e43c50>
```
Note that `CopyToReg` and `llvm.wasm.rethrow` don't have dependence so
either can come first in the selected code, which can result in the code
like
```mir
bb.3.rethrow:
RETHROW 0, implicit-def dead $arguments
%9:i32 = CONST_I32 20, implicit-def dead $arguments
BR %bb.6, implicit-def dead $arguments
```
After this patch, `llvm.wasm.rethrow` is treated as a terminator, and
the DAG will look like
```
t0: ch,glue = EntryToken
t3: ch = CopyToReg t0, Register:i32 %9, Constant:i32<20>
t5: ch = llvm.wasm.rethrow t3, TargetConstant:i32<12161>
t7: ch = br t5, BasicBlock:ch<unreachable 0x5555e3d32c70>
```
Note that now `rethrow` takes a token from `CopyToReg`, so `rethrow` has
to come after `CopyToReg`. And the resulting code will be
```mir
bb.3.rethrow:
%9:i32 = CONST_I32 20, implicit-def dead $arguments
RETHROW 0, implicit-def dead $arguments
BR %bb.6, implicit-def dead $arguments
```
I'm not very familiar with the internals of `getRoot` vs.
`getControlRoot`, but other terminator instructions seem to use the
latter, and using it for `rethrow` too worked.
Commit: 1c9a81b2bd91e8cd9baf742fa66650eefbaf552c
https://github.com/llvm/llvm-project/commit/1c9a81b2bd91e8cd9baf742fa66650eefbaf552c
Author: David Blaikie <dblaikie at gmail.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.cpp
M cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb
M llvm/utils/gdb-scripts/prettyprinters.py
Log Message:
-----------
Fix gdb pretty printers for libSupport
Remove the testing for std::optional - it was originally for
llvm::Optional, but now that that doesn't exist and we use
std::optional, testing for that pretty printer should live, wherever the
pretty printer lives, not here in LLVM.
And the PointerIntPair pretty printer bit rotted due to changes in
PointerIntPair, 875391728c11339c8a6cd3338bcaa5ec0ffc2496.
Commit: 67a8b8838d3d5024a94e50e0839a03902126bd11
https://github.com/llvm/llvm-project/commit/67a8b8838d3d5024a94e50e0839a03902126bd11
Author: David Blaikie <dblaikie at gmail.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
Log Message:
-----------
lldb: Fixes for AMDGPU builtin added in ad599211a79dd7817f110241372075d82c0ae52a
Commit: 99c43e3ce3142a93bbad4f9efeace254d9a8442c
https://github.com/llvm/llvm-project/commit/99c43e3ce3142a93bbad4f9efeace254d9a8442c
Author: Bimo <rui.xu at intel.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M mlir/cmake/modules/AddMLIRPython.cmake
Log Message:
-----------
[MLIR][Python] fix mlir python cmake script (#95939)
Encountered a problem when linking multiple CAPI libs.
The `COMMON_CAPI_LINK_LIBS` should be multi_value_keywords here.
Commit: 7ef2bd4e447280015803cff7fc91ec4dd09cd4b3
https://github.com/llvm/llvm-project/commit/7ef2bd4e447280015803cff7fc91ec4dd09cd4b3
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M clang/test/Profile/c-mcdc-class.cpp
M clang/test/Profile/c-mcdc-logicalop-ternary.c
M clang/test/Profile/c-mcdc-nested-ternary.c
M clang/test/Profile/c-mcdc-not.c
M clang/test/Profile/c-mcdc.c
Log Message:
-----------
Relax MC/DC tests
Commit: dadf960607bb429baebd3f523ce5b93260a154d2
https://github.com/llvm/llvm-project/commit/dadf960607bb429baebd3f523ce5b93260a154d2
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
M lldb/test/API/lang/objcxx/objc-from-cpp-frames-without-debuginfo/TestObjCFromCppFramesWithoutDebugInfo.py
A lldb/test/Shell/Expr/TestObjCInCXXContext.test
Log Message:
-----------
[lldb][ObjC] Don't query objective-c runtime for decls in C++ contexts (#95963)
Commit: cb20d4d2054e72a2564572a74f34ca01cb791cbf
https://github.com/llvm/llvm-project/commit/cb20d4d2054e72a2564572a74f34ca01cb791cbf
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
R llvm/include/llvm/CodeGen/ParallelCG.h
M llvm/lib/CodeGen/CMakeLists.txt
R llvm/lib/CodeGen/ParallelCG.cpp
M llvm/lib/LTO/LTOCodeGenerator.cpp
M llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
Log Message:
-----------
[NFC][CodeGen] Remove dead ParallelCG.h/.cpp API (#95770)
LTOBackend inlined it a while ago and now uses a static copy. This API
was unused.
We can always restore it at some point if it's needed, but right now
it's just bloat.
Commit: 6c01011db089bae22630922e1ac30e5d49de3137
https://github.com/llvm/llvm-project/commit/6c01011db089bae22630922e1ac30e5d49de3137
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/IR/Constants.cpp
M llvm/test/CodeGen/AArch64/stack-tagging-initializer-merge.ll
M llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-constants.ll
Log Message:
-----------
[IR] Mark shl constant expression as undesirable (#95940)
Mark shl constant expressions undesirable, so that they are no longer
automatically created by IRBuilder, constant folding, etc.
This is in preparation for removing them entirely.
Commit: dd1d2b7cb083e870174d50627870c835d1e118e6
https://github.com/llvm/llvm-project/commit/dd1d2b7cb083e870174d50627870c835d1e118e6
Author: Hua Tian <akiratian at tencent.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/WindowScheduler.cpp
A llvm/test/CodeGen/Hexagon/swp-ws-phi.mir
Log Message:
-----------
[llvm][CodeGen] Fix failure in window scheduler caused by phi (#95900)
In certain cases, the register passed with the kernel MBB in phi are not
defined within the kernel MBB. This patch adds the corresponding handling.
Commit: 891ec2af45c02718c65f539cb6dad1758f079e73
https://github.com/llvm/llvm-project/commit/891ec2af45c02718c65f539cb6dad1758f079e73
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M mlir/test/Dialect/Vector/vector-transfer-permutation-lowering.mlir
Log Message:
-----------
[mlir][vector] Add tests for xfer-permute-lowering (1/n)(nfc) (#95529)
Adds more tests to "vector-transfer-permutation-lowering.mlir",
specifically for the `TransferWritePermutationLowering` pattern - such
tests seem to be missing ATM.
The following edge cases are covered:
* plain fixed-width (supported)
* scalable vectors with mask (supported)
* plain fixed-width, masked (not supported)
This is a part of a larger effort to make sure that all key cases for
patterns under `populateVectorTransferPermutationMapLoweringPatterns`
(*) are tested. I also want to make sure that tests use consistent
function and variable names.
(*) `transform.apply_patterns.vector.transfer_permutation_patterns` in
TD parlance)
Commit: 8af86025af2456c70c84aec309cca9a069124671
https://github.com/llvm/llvm-project/commit/8af86025af2456c70c84aec309cca9a069124671
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M clang/include/clang/AST/ASTUnresolvedSet.h
M clang/include/clang/AST/DeclID.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ASTWriter.h
M clang/lib/AST/DeclBase.cpp
M clang/lib/AST/DeclTemplate.cpp
M clang/lib/Frontend/ASTUnit.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/ASTWriterDecl.cpp
M clang/utils/TableGen/ClangAttrEmitter.cpp
Log Message:
-----------
[NFC] [Serialization] Unify how LocalDeclID can be created
Now we can create a LocalDeclID directly with an integer without
verifying. It may be hard to refactor if we want to change the way we
serialize DeclIDs (See https://github.com/llvm/llvm-project/pull/95897).
Also it is hard for us to debug if someday someone construct a
LocalDeclID with an incorrect value.
So in this patch, I tried to unify the way we can construct a
LocalDeclID in ASTReader, where we will construct the LocalDeclID from
the serialized data. Also, now we can verify the constructed LocalDeclID
sooner in the new interface.
Commit: 519175c3f5d844bac0cf3173396dc41db2873e1d
https://github.com/llvm/llvm-project/commit/519175c3f5d844bac0cf3173396dc41db2873e1d
Author: Corentin Ferry <corentin.ferry at amd.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M mlir/lib/Conversion/ArithToEmitC/ArithToEmitC.cpp
M mlir/test/Conversion/ArithToEmitC/arith-to-emitc.mlir
Log Message:
-----------
[mlir][emitc] Refactor ArithToEmitC: perform sign adaptation, type conversions / cast insertion in a single place (#95789)
Factor EmitC type signedness adaptation and cast operations in ArithToEmitC using adaptValueType and adaptIntegralTypeSignedness.
Commit: 7fc975aa26f2e0ce6c80629209115ea58b245da5
https://github.com/llvm/llvm-project/commit/7fc975aa26f2e0ce6c80629209115ea58b245da5
Author: Fabio D'Urso <fdurso at google.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M compiler-rt/lib/scudo/standalone/combined.h
M compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
Log Message:
-----------
Reland "[scudo] Apply filling when realloc shrinks and re-grows a block in-place" (#95838)
Reland of #93212, which had been reverted in
commit bddd8eae17df6511aee789744ccdc158de817081.
Commit: 9cbedd925cba9e8ef76c50caa6d6ab4b0cc79c8f
https://github.com/llvm/llvm-project/commit/9cbedd925cba9e8ef76c50caa6d6ab4b0cc79c8f
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/docs/LangRef.rst
Log Message:
-----------
[LangRef] Relax semantics of writeonly / memory(write) (#95238)
Instead of making writes immediate undefined behavior, consider these
attributes in terms of their externally observable effects. We don't
care if a location is read within the function, as long as it has no
impact on observed behavior. In particular, allow:
* Reading a location after writing it.
* Reading a location before writing it (within the function) returns a
poison value.
The latter could be further relaxed to also allow things like "reading
the value and then writing it back", but I'm not sure how one would
specify that operationally (so that proof checkers can verify it).
While here, also explicitly mention the fact that reads and writes to
allocas and read from constant globals are `memory(none)`.
Fixes https://github.com/llvm/llvm-project/issues/95152.
Commit: bacbf26b4cb64dbf77819ff5a2b0f4c26d111c66
https://github.com/llvm/llvm-project/commit/bacbf26b4cb64dbf77819ff5a2b0f4c26d111c66
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/test/Fir/convert-to-llvm.fir
Log Message:
-----------
[flang] allow assumed-rank box in fir.alloca (#95947)
The alloca can be maximized with the maximum number or ranks, which is
reasonable (15 currently as per the standard). Introducing a rank based
dynamic allocation would complexify alloca hoisting and stack size
analysis (this can be revisited if the standard changes to allow more
ranks).
No change is needed since this is already reflected in how the fir.box
type is translated to LLVM.
Commit: c6ff2446a4650f23afc9faffb55020aa68cf678c
https://github.com/llvm/llvm-project/commit/c6ff2446a4650f23afc9faffb55020aa68cf678c
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
M mlir/test/Dialect/Vector/canonicalize.mlir
M mlir/test/Dialect/Vector/invalid.mlir
M mlir/test/Dialect/Vector/ops.mlir
Log Message:
-----------
[mlir][vector] Add `vector.from_elements` op (#95938)
This commit adds a new operation to the vector dialect:
`vector.from_elements`
The op constructs a new vector from a given list of scalar values. It is
similar to `tensor.from_elements`.
```mlir
%0 = vector.from_elements %a, %b, %c, %a, %a, %a : vector<2x3xf32>
```
Constructing a new vector from elements was tedious before this op
existed: a typical way was to define an `arith.constant ... :
vector<...>`, followed by a chain of `vector.insert`.
Folders/canonicalizations are added that can fold `vector.extract` ops
and convert the `vector.from_elements` op into a `vector.splat` op.
The LLVM lowering generates an `llvm.mlir.undef`, followed by a sequence
of scalar insertions in the form of `llvm.insertelement`. Only 0-D and
1-D vectors are currently supported in the LLVM lowering.
Commit: c38b1fa32599cd84f60d09a0efdac62faa9c416e
https://github.com/llvm/llvm-project/commit/c38b1fa32599cd84f60d09a0efdac62faa9c416e
Author: Ivan Kulagin <ivan.i.kulagin at gmail.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M mlir/include/mlir/Interfaces/LoopLikeInterface.td
Log Message:
-----------
[mlir] Fix loop-like interface (#95817)
Using the `this` pointer inside interface methods is illegal because it
breaks concept-based interfaces.
It is necessary to use `$_op` instead.
Co-authored-by: ikulagin <i.kulagin at ispras.ru>
Commit: bdc7840c5758076e63719d45427c3c756c630ddd
https://github.com/llvm/llvm-project/commit/bdc7840c5758076e63719d45427c3c756c630ddd
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86CompressEVEX.cpp
M llvm/lib/Target/X86/X86InstrInfo.cpp
M llvm/lib/Target/X86/X86InstrInfo.h
M llvm/utils/TableGen/X86InstrMappingEmitter.cpp
R llvm/utils/TableGen/X86ManualCompressEVEXTables.def
A llvm/utils/TableGen/X86ManualInstrMapping.def
Log Message:
-----------
[X86][CodeGen] Share code between CompressEVEX pass and ND2NonND transform, NFCI
Commit: a786919256a37e9a462582fe365eb4ea92b1a9f9
https://github.com/llvm/llvm-project/commit/a786919256a37e9a462582fe365eb4ea92b1a9f9
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/test/Fir/convert-to-llvm.fir
M flang/test/Fir/tbaa.fir
Log Message:
-----------
[flang] allow assumed-rank box in fir.store (#95980)
Codegen is done with a memcpy using the rank from the "value" descriptor
like for the fir.load case.
Rational described in
https://github.com/llvm/llvm-project/blob/main/flang/docs/AssumedRank.md.
Commit: 0dd43774a6bce935f34f9deaf89451cfab34c7ab
https://github.com/llvm/llvm-project/commit/0dd43774a6bce935f34f9deaf89451cfab34c7ab
Author: Tim Gymnich <tim at gymni.ch>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/LICM.cpp
A llvm/test/Transforms/LICM/licm-ci.ll
Log Message:
-----------
[LICM] Fix dropped metadata (#95221)
LICM drops metadata for call instructions when cloning instructions.
This patch just adds the missing `copyMetadata`.
Fixes #91919.
Commit: 0daeed645d22704250bc22aec121c467ffc72e22
https://github.com/llvm/llvm-project/commit/0daeed645d22704250bc22aec121c467ffc72e22
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVDuplicatesTracker.h
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
M llvm/lib/Target/SPIRV/SPIRVUtils.h
Log Message:
-----------
[SPIR-V] Improve implementation of the duplicates tracker's storage (#95958)
This PR continues https://github.com/llvm/llvm-project/pull/94952,
managing FunctionType in the same way as a pointee types in
https://github.com/llvm/llvm-project/pull/94952 (that is working with
TypedPointers pointee types rather than with original llvm's untyped
pointers).
This PR also fully reworks the base type for the duplicates tracker's
storage to conform with and reuse DenseMapInfo. Previous implementation
didn't store enough info to differ between key values (see isEqual()
implemented as equality of derived from arguments hash values). This, in
turn, led to random crashes in very rare occasions when hash value of an
actual key matched hash values of empty and tombstone instances. In this
PR we use std::tuple instead of a tailor-made class hierarchy, both
reusing DenseMapInfo templates and getting rid of the crash condition.
Commit: f7336b990ccaa3f342023526da8ca01df0345f9a
https://github.com/llvm/llvm-project/commit/f7336b990ccaa3f342023526da8ca01df0345f9a
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
A llvm/test/CodeGen/SPIRV/AtomicExchange.ll
Log Message:
-----------
[SPIR-V] Add __spirv_ wrapper to the OpAtomicExchange instruction (#95961)
This PR adds __spirv_ wrapper to the OpAtomicExchange instruction. A new
test case is added for the change introduced.
Commit: 4889add1870545daf18ea01858fd1a46bd0d7198
https://github.com/llvm/llvm-project/commit/4889add1870545daf18ea01858fd1a46bd0d7198
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] Replace (void) with [[maybe_unused]] for some variables unused (or only used in asserts). NFC.
Commit: cfb4dce90ce66acbd094e443f422c4e5c413a9e8
https://github.com/llvm/llvm-project/commit/cfb4dce90ce66acbd094e443f422c4e5c413a9e8
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] combineConstantPoolLoads - early-out if the load is not from a constant pool. NFC.
Don't embed inside the for-loop later on
Commit: 116384a028f0e3801b9443e227e0840897202168
https://github.com/llvm/llvm-project/commit/116384a028f0e3801b9443e227e0840897202168
Author: Lucas Duarte Prates <lucas.prates at arm.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64Features.td
Log Message:
-----------
[NFC][AArch64] Organise extensions by archtecture version (#95898)
This updates the way the AArch64 architecture extensions are organised
in AArch64Features.td to improve readability and maintainability of the
file. Extensions are now grouped by the corresponding architecture
version in which they were
introduced.
Commit: d72b57bbf7c3448077f82147e3ce1a72b2c86a34
https://github.com/llvm/llvm-project/commit/d72b57bbf7c3448077f82147e3ce1a72b2c86a34
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/DenseMapInfo.h
M llvm/unittests/ADT/DenseMapTest.cpp
Log Message:
-----------
DenseMap: support enum class keys (#95972)
Implemented using std::underlying_type.
Commit: 1a364b4eefa6b624958e853e827dac24de0b3278
https://github.com/llvm/llvm-project/commit/1a364b4eefa6b624958e853e827dac24de0b3278
Author: Anton Sidorenko <anton.sidorenko at syntacore.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVSchedSyntacoreSCR1.td
M llvm/lib/Target/RISCV/RISCVSchedule.td
Log Message:
-----------
[RISCV][NFC] Add UnsupportedSched<F|D|A> multiclasses (#95948)
These multiclasses will be used by new processors (e.g.
https://github.com/llvm/llvm-project/pull/95427)
Commit: 4c8ce5d3012cc9f16ab8fee5ec444f6036cb099e
https://github.com/llvm/llvm-project/commit/4c8ce5d3012cc9f16ab8fee5ec444f6036cb099e
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/test/Transforms/InstCombine/opaque-ptr.ll
Log Message:
-----------
[InstCombine] Preserve all flags in select of gep fold
Preserve the flag intersection.
Commit: e7b4b437fbbf087ac4955ed5945c3e2f3dd2b702
https://github.com/llvm/llvm-project/commit/e7b4b437fbbf087ac4955ed5945c3e2f3dd2b702
Author: Kadir Cetinkaya <kadircet at google.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M clang-tools-extra/include-cleaner/lib/IncludeSpeller.cpp
Log Message:
-----------
[include-cleaner] Use filename as requested, not resolved path
This was an unintended change in d5297b72aa32ad3a69563a1fcc61294282f0b379.
We don't want to resolve symlinks in filenames, as these might lead to
unexpected spellings, compared to requested filenames.
Commit: 6467b49480cbf2aaa7cf22a0dab1d7b15fe54fd1
https://github.com/llvm/llvm-project/commit/6467b49480cbf2aaa7cf22a0dab1d7b15fe54fd1
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/GEPNoWrapFlags.h
M llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
M llvm/test/Transforms/InstCombine/opaque-ptr.ll
Log Message:
-----------
[InstCombine] Preserve all flags in phi of gep fold
Preserve the intersection of all flags. Add GEPNoWrapFlags::all()
to serve as the initialization value for the intersection.
Commit: 9e6625d6a25bf5849d381fa8774adfd29ed823fb
https://github.com/llvm/llvm-project/commit/9e6625d6a25bf5849d381fa8774adfd29ed823fb
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/test/Transforms/InstCombine/select-gep.ll
Log Message:
-----------
[InstCombine] Preserve all gep flags in another select of gep fold
Commit: 44cff96bb2f5b6622f12d4330a4c20ba81ac2396
https://github.com/llvm/llvm-project/commit/44cff96bb2f5b6622f12d4330a4c20ba81ac2396
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] computeKnownBitsForPMADDWD/PMADDUBSW - tidyup line overflow by moving extensions to the multiply stage. NFC.
Commit: 6efba06123c96fe7d51cfbb0801407dd3d952839
https://github.com/llvm/llvm-project/commit/6efba06123c96fe7d51cfbb0801407dd3d952839
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
M llvm/test/Transforms/InstCombine/dependent-ivs.ll
Log Message:
-----------
[InstCombine] Preserve all gep flags in dependent IV fold
Commit: 807222245e437aa693d0c8f8210cfe79a02cddb1
https://github.com/llvm/llvm-project/commit/807222245e437aa693d0c8f8210cfe79a02cddb1
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/getelementptr.ll
Log Message:
-----------
[InstCombine] Preserve all gep flags in gep of select fold
Commit: 2a1169088cd993bc123505ad8ff1b5fbb5ff6618
https://github.com/llvm/llvm-project/commit/2a1169088cd993bc123505ad8ff1b5fbb5ff6618
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/sub.ll
Log Message:
-----------
[InstCombine] Preserve all gep flags when emitting offset
Commit: 5dde4951ae16283fffad40f84bc8ae4149766782
https://github.com/llvm/llvm-project/commit/5dde4951ae16283fffad40f84bc8ae4149766782
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-div.ll
A llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-mul.ll
A llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-masked-gather-scatter.ll
Log Message:
-----------
[AArch64] NFC: Precommit some tests for SME
This shows that when compiling for +sme only, the code-generator
doesn't consider streaming mode to determine whether to use
(compatible) SVE instructions.
A follow-up patch will fix these issues.
Commit: 4d6b9921b3801709dca9245b5b4d7c17944a036f
https://github.com/llvm/llvm-project/commit/4d6b9921b3801709dca9245b5b4d7c17944a036f
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M mlir/lib/Conversion/VectorToArmSME/VectorToArmSME.cpp
M mlir/test/Conversion/VectorToArmSME/unsupported.mlir
M mlir/test/Conversion/VectorToArmSME/vector-to-arm-sme.mlir
Log Message:
-----------
[mlir][ArmSME] Fold MoveTileSliceToVector + TransferWrite to StoreTileSlice (#95907)
Commit: d26808c4a694d5a5bc5f4360798151be432164ad
https://github.com/llvm/llvm-project/commit/d26808c4a694d5a5bc5f4360798151be432164ad
Author: Luke Lau <luke at igalia.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Log Message:
-----------
[RISCV] Move RISCVInsertVSETVLI::coalesceVSETVLIs back to before insertReadVL (#96056)
Commit: 6244d87f42775e8d49cf758eeb1909f2ce144e3c
https://github.com/llvm/llvm-project/commit/6244d87f42775e8d49cf758eeb1909f2ce144e3c
Author: Michael Kruse <llvm-project at meinersbur.de>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M clang/cmake/modules/AddClang.cmake
M clang/lib/Support/CMakeLists.txt
M flang/cmake/modules/AddFlang.cmake
M mlir/cmake/modules/AddMLIR.cmake
M mlir/lib/Dialect/GPU/CMakeLists.txt
M mlir/lib/Target/LLVM/CMakeLists.txt
M mlir/tools/mlir-shlib/CMakeLists.txt
Log Message:
-----------
Avoid object libraries in the VS IDE (#93519)
As discussed in #89743, when using the Visual Studio solution
generators, object library projects are displayed as a collection of
non-editable *.obj files. To look for the corresponding source files,
one has to browse (or search) to the library's obj.libname project. This
patch tries to avoid this as much as possible.
For Clang, there is already an exception for XCode. We handle MSVC_IDE
the same way.
For MLIR, this is more complicated. There are explicit references to the
obj.libname target that only work when there is an object library. This
patch cleans up the reasons for why an object library is needed:
1. The obj.libname is modified in the calling CMakeLists.txt. Note that
with use-only references, `add_library(<name> ALIAS <target>)` could
have been used.
2. An `libMLIR.so` (mlir-shlib) is also created. This works by adding
linking the object libraries' object files into the libMLIR.so (in
addition to the library's own .so/.a). XCode is handled using the
`-force_load` linker option instead. Windows is not supported. This
mechanism is different from LLVM's llvm-shlib that is created by linking
static libraries with `-Wl,--whole-archive` (and `-Wl,-all_load` on
MacOS).
3. The library might be added to an aggregate library. In-tree, the
seems to be only `libMLIR-C.so` and the standalone example. In XCode, it
uses the object library and `-force_load` mechanism as above. Again,
this is different from `libLLVM-C.so`.
4. Build an object library whenever it was before this patch, except
when generating a Visual Studio solution. This condition could be
removed, but I am trying to avoid build breakages of whatever
configurations others use.
This seems to never have worked with XCode because of the explicit
references to obj.libname (reason 1.). I don't have access to XCode, but
I tried to preserve the current working. IMHO there should be a common
mechanism to build aggregate libraries for all LLVM projects instead of
the 4 that we have now.
As far as I can see, this means for LLVM there are the following changes
on whether object libraries are created:
1. An object library is created even in XCode if FORCE_OBJECT_LIBRARY is
set. I do not know how XCode handles it, but I also know CMake will
abort otherwise.
2. An object library is created even for explicitly SHARED libraries for
building `libMLIR.so`. Again, mlir-shlib does not work otherwise.
`libMLIR.so` itself is created using SHARED so this patch is marking it
as EXCLUDE_FROM_LIBMLIR.
3. For the second condition, it is now sensitive to whether the
mlir-shlib is built at all (LLVM_BUILD_LLVM_DYLIB). However, an object
library is still built using the fourth condition unless using the MSVC
solution generator. That is, except with MSVC_IDE, when an object
library was built before, it will also be an object library now.
Commit: 781133037387eefa4080aa31c73554cc0452e6e6
https://github.com/llvm/llvm-project/commit/781133037387eefa4080aa31c73554cc0452e6e6
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/ArmSVE/IR/ArmSVE.td
M mlir/lib/Dialect/ArmSVE/Transforms/LegalizeForLLVMExport.cpp
M mlir/test/Dialect/ArmSVE/invalid.mlir
M mlir/test/Dialect/ArmSVE/legalize-for-llvm.mlir
M mlir/test/Dialect/ArmSVE/roundtrip.mlir
M mlir/test/Target/LLVMIR/arm-sve.mlir
Log Message:
-----------
[mlir][ArmSVE] Add `arm_sve.psel` operation (#95764)
This adds a new operation for the SME/SVE2.1 psel instruction. This
allows selecting a predicate based on a bit within another predicate,
essentially allowing for 2-D predication. Informally, the semantics are:
```mlir
%pd = arm_sve.psel %p1, %p2[%index] : vector<[4]xi1>, vector<[8]xi1>
```
=>
```
if p2[index % num_elements(p2)] == 1:
pd = p1 : type(p1)
else:
pd = all-false : type(p1)
```
Commit: 60984f5be90d3f0378d739792adbd4c5e3dcc0e2
https://github.com/llvm/llvm-project/commit/60984f5be90d3f0378d739792adbd4c5e3dcc0e2
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/getelementptr.ll
Log Message:
-----------
[InstCombine] Preserve all gep flags in gep of exact div fold
Commit: 0d524bc45ddaa2bd94c28c8935e53153827f2374
https://github.com/llvm/llvm-project/commit/0d524bc45ddaa2bd94c28c8935e53153827f2374
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/tools/llvm-mca/CodeRegion.h
Log Message:
-----------
[llvm-mca] Use llvm::erase_if (NFC) (#96029)
Commit: 93831c73ea51dcf4dc1832a4ea5616b819d36f31
https://github.com/llvm/llvm-project/commit/93831c73ea51dcf4dc1832a4ea5616b819d36f31
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64InstrFormats.td
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-masked-load.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-masked-store.ll
R llvm/test/MC/AArch64/SME/streaming-mode-neon-bf16.s
R llvm/test/MC/AArch64/SME/streaming-mode-neon.s
Log Message:
-----------
[AArch64] Let patterns for NEON instructions check runtime mode. (#95560)
This helps identify any failures where the compiler might otherwise
silently emit instructions that are not valid for the given runtime mode.
Commit: ca423a26e7bfc31a36c9ad790b0ae1bb9be18836
https://github.com/llvm/llvm-project/commit/ca423a26e7bfc31a36c9ad790b0ae1bb9be18836
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bitselect.ll
Log Message:
-----------
[AArch64] Avoid using NEON BSL for streaming[-compatible] functions (#95803)
Commit: 5574a5894fdb7f9a46a4fbe6c8970fd39890dc9b
https://github.com/llvm/llvm-project/commit/5574a5894fdb7f9a46a4fbe6c8970fd39890dc9b
Author: Sam McCall <sam.mccall at gmail.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M clang-tools-extra/include-cleaner/lib/Record.cpp
M clang-tools-extra/include-cleaner/unittests/RecordTest.cpp
Log Message:
-----------
[include-cleaner] don't consider the associated header unused (#67228)
Loosely, the "associated header" of `foo.cpp` is `foo.h`.
It should be included, many styles include it first.
So far we haven't special cased it in any way, and require this include
to be justified. e.g. if foo.cpp defines a function declared in foo.h,
then the #include is allowed to check these declarations match.
However this doesn't really align with what users want:
- people reasonably want to include the associated header for the
side-effect of validating that it compiles.
In the degenerate case, `lib.cpp`is just `#include "lib.h"` (see bug)
- That `void foo(){}` IWYU-uses `void foo();` is a bit artificial, and
most users won't internalize this. Instead they'll stick with the
simpler model "include the header that defines your API".
In the rare cases where these give different answers[1], our current
behavior is a puzzling special case from the user POV.
It is more user-friendly to accept both models.
- even where this diagnostic is a true positive (defs don't match header
decls) the diagnostic does not communicate this usefully.
Fixes https://github.com/llvm/llvm-project/issues/67140
[1] Example of an associated header that's not IWYU-used:
```
// http.h
inline URL buildHttpURL(string host, int port, string path) {
return "http://" + host + ":" + port + "/" + path;
}
// http.cpp
class HTTPURLHandler : URLHandler { ... };
REGISTER_URL_HANDLER("http", HTTPURLHandler);
```
Commit: c83d9e99b0663cf8e7e81bd552d42a0c4298ab2c
https://github.com/llvm/llvm-project/commit/c83d9e99b0663cf8e7e81bd552d42a0c4298ab2c
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
Log Message:
-----------
[mlir][vector] Specify bounds of dynamic indices in vector.extract/insert (#95933)
Commit: 4b0c078a13c614032236dacfa7331219d0c9ca23
https://github.com/llvm/llvm-project/commit/4b0c078a13c614032236dacfa7331219d0c9ca23
Author: Alex Bradbury <asb at igalia.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/test/Transforms/ConstantHoisting/RISCV/immediates.ll
Log Message:
-----------
[RISCV][test] Pre-commit test case where ConstantHoisting fails to trigger
Our getIntImmCostInst is falling back to returning TCC_Free in this case
even though both immediates take two instructions to materialise.
Commit: 84c60bb7d84cfcfa9056ef0b675c0deb4f4ab5e1
https://github.com/llvm/llvm-project/commit/84c60bb7d84cfcfa9056ef0b675c0deb4f4ab5e1
Author: Joe Nash <joseph.nash at amd.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/VOP3Instructions.td
Log Message:
-----------
[AMDGPU] Add IsSingle to V_DIV_FMAS* for consistency. (#95983)
A _e64 suffix should not be printed since these instructions only have
one legal encoding length. The absence of the IsSingle flag is hidden by
how the string is printed, but fix it for consistency.
NFC
Commit: e5b0c210cc4cdaae7075ad2d4aa1efe4eb4cb0c5
https://github.com/llvm/llvm-project/commit/e5b0c210cc4cdaae7075ad2d4aa1efe4eb4cb0c5
Author: Joe Nash <joseph.nash at amd.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/VOP3Instructions.td
Log Message:
-----------
[AMDGPU] Add IsSingle to a few Interp instructions (#95984)
A _e64 suffix should not be printed since these instructions only have
one legal encoding length. The absence of the IsSingle flag is hidden by
how the string is printed. We could fix it for GFX10 as well, but we
shouldn't change the asm output to omit _e64 at this point.
NFC.
Commit: 2c1ae801e1b66a09a15028ae4ba614e0911eec00
https://github.com/llvm/llvm-project/commit/2c1ae801e1b66a09a15028ae4ba614e0911eec00
Author: donald chen <chenxunyu1993 at gmail.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
M flang/lib/Optimizer/HLFIR/Transforms/ScheduleOrderedAssignments.cpp
M flang/test/HLFIR/memory-effects.fir
M mlir/examples/transform/Ch2/lib/MyExtension.cpp
M mlir/examples/transform/Ch3/lib/MyExtension.cpp
M mlir/examples/transform/Ch4/lib/MyExtension.cpp
M mlir/include/mlir/Dialect/Affine/IR/AffineOps.h
M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
M mlir/include/mlir/Dialect/Transform/Interfaces/MatchInterfaces.h
M mlir/include/mlir/Dialect/Transform/Interfaces/TransformInterfaces.h
M mlir/include/mlir/Interfaces/SideEffectInterfaces.h
M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
M mlir/lib/Dialect/Affine/TransformOps/AffineTransformOps.cpp
M mlir/lib/Dialect/Bufferization/IR/BufferizationOps.cpp
M mlir/lib/Dialect/Bufferization/TransformOps/BufferizationTransformOps.cpp
M mlir/lib/Dialect/Func/TransformOps/FuncTransformOps.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
M mlir/lib/Dialect/Linalg/TransformOps/LinalgMatchOps.cpp
M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
M mlir/lib/Dialect/MemRef/TransformOps/MemRefTransformOps.cpp
M mlir/lib/Dialect/NVGPU/TransformOps/NVGPUTransformOps.cpp
M mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp
M mlir/lib/Dialect/Transform/IR/TransformOps.cpp
M mlir/lib/Dialect/Transform/IRDLExtension/IRDLExtensionOps.cpp
M mlir/lib/Dialect/Transform/Interfaces/TransformInterfaces.cpp
M mlir/lib/Dialect/Transform/LoopExtension/LoopExtensionOps.cpp
M mlir/lib/Dialect/Transform/PDLExtension/PDLExtensionOps.cpp
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
M mlir/lib/Interfaces/SideEffectInterfaces.cpp
M mlir/test/Dialect/Bufferization/side-effects.mlir
M mlir/test/IR/test-side-effects.mlir
M mlir/test/lib/Dialect/Test/TestOpDefs.cpp
M mlir/test/lib/Dialect/Test/TestOps.td
M mlir/test/lib/Dialect/Transform/TestTransformDialectExtension.cpp
M mlir/test/lib/IR/TestSideEffects.cpp
M mlir/test/lib/Interfaces/TilingInterface/TestTilingInterfaceTransformOps.cpp
M mlir/test/mlir-tblgen/op-side-effects.td
M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
Log Message:
-----------
[mlir][side effect] refactor(*): Include more precise side effects (#94213)
This patch adds more precise side effects to the current ops with memory
effects, allowing us to determine which OpOperand/OpResult/BlockArgument
the
operation reads or writes, rather than just recording the reading and
writing
of values. This allows for convenient use of precise side effects to
achieve
analysis and optimization.
Related discussions:
https://discourse.llvm.org/t/rfc-add-operandindex-to-sideeffect-instance/79243
Commit: 5b007582bb9142ccab47134e5d2de0dd451338af
https://github.com/llvm/llvm-project/commit/5b007582bb9142ccab47134e5d2de0dd451338af
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M mlir/include/mlir/Conversion/ReconcileUnrealizedCasts/ReconcileUnrealizedCasts.h
M mlir/lib/Conversion/ReconcileUnrealizedCasts/ReconcileUnrealizedCasts.cpp
M mlir/test/Conversion/FuncToLLVM/calling-convention.mlir
R mlir/test/Conversion/ReconcileUnrealizedCasts/reconcile-unrealized-casts-failure.mlir
M mlir/test/Conversion/ReconcileUnrealizedCasts/reconcile-unrealized-casts.mlir
M mlir/test/Dialect/LLVM/lower-to-llvm-e2e-with-target-tag.mlir
M mlir/test/Dialect/LLVM/lower-to-llvm-e2e-with-top-level-named-sequence.mlir
Log Message:
-----------
[mlir][Conversion] Generalize and fix crash in `reconcile-unrealized-casts` (#95700)
This commit fixes a crash in `-reconcile-unrealized-casts` when cast ops
have multiple operands:
```
DialectConversion.cpp:1583: virtual void mlir::ConversionPatternRewriter::replaceOp(mlir::Operation *, mlir::ValueRange): Assertion `op->getNumResults() == newValues.size() && "incorrect # of replacement values"' failed.
```
This commit also generalizes the pass such that more ops are folded. In
particular (letters indicate types):
```
A
/ \
B C
|
A
```
Previously, such IR was not folded at all. The `A -> B -> A` type cast
cycle is now folded away. (The `A -> C` cast stays in place.)
This commit also turns the pass from a dialect conversion into a simple
IR walk. The pattern and its `populate` function are removed. The
pattern was a (non-conversion) rewrite pattern, but used in a dialect
conversion, which is generally not safe. In particular, the rewrite
pattern may traverse IR that was already scheduled for erasure by the
dialect conversion.
Note: Some test cases changed slightly (NFC) because the new pass
implementation no longer attempts to fold ops.
Note for LLVM integration: If your pipeline uses the removed `populate`
function, try to simply remove that function call. Chances are you may
not need it at all. If it is in fact needed, run the
`-reconcile-unrealized-casts` pass right after the pass that used to
populate the pattern.
---------
Co-authored-by: Maksim Levental <maksim.levental at gmail.com>
Co-authored-by: Markus Böck <markus.boeck02 at gmail.com>
Commit: f4504083634ee73cfbb4593613a8f11487207ce6
https://github.com/llvm/llvm-project/commit/f4504083634ee73cfbb4593613a8f11487207ce6
Author: Gábor Spaits <gaborspaits1 at gmail.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
M llvm/lib/Target/RISCV/GISel/RISCVCallLowering.cpp
M llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/calling-conv-ilp32-ilp32f-ilp32d-common.ll
M llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/calling-conv-lp64-lp64f-lp64d-common.ll
Log Message:
-----------
[GISel][RISCV]Implement indirect parameter passing (#95429)
Some targets like RISC-V pass scalars wider than 2×XLEN bits by
reference, so those arguments are replaced in the argument list with an
address (See RISC-V ABIs Specification 1.0 section 2.1).
This commit implements this indirect parameter passing in GlobalISel.
---------
Co-authored-by: Gabor Spaits <Gabor.Spaits at hightec-rt.com>
Commit: 3be7312f81ad244de9e7d4759931b460cbb77372
https://github.com/llvm/llvm-project/commit/3be7312f81ad244de9e7d4759931b460cbb77372
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/X86/masked-store-cost.ll
Log Message:
-----------
[LV] Add more masked store cost tests with different masks.
Add additional masked store tests which caused crashes with earlier
versions of https://github.com/llvm/llvm-project/pull/92555.
Commit: edd2d7c5585316f20ab76fd7e52aa39691395ddc
https://github.com/llvm/llvm-project/commit/edd2d7c5585316f20ab76fd7e52aa39691395ddc
Author: Koakuma <koachan at protonmail.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Target/Sparc/SparcInstrAliases.td
M llvm/test/CodeGen/SPARC/inlineasm.ll
M llvm/test/MC/Disassembler/Sparc/sparc-v9.txt
Log Message:
-----------
[NFC][SPARC] Fix typos and style mismatches
Fix style errors accidentally introduced in PRs #87259 and #94245.
Reviewers: rorth, jrtc27, brad0, s-barannikov
Reviewed By: s-barannikov
Pull Request: https://github.com/llvm/llvm-project/pull/96019
Commit: 4a70981d21f8d9e9476032c239be1d346488a7dc
https://github.com/llvm/llvm-project/commit/4a70981d21f8d9e9476032c239be1d346488a7dc
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/docs/AMDGPUUsage.rst
Log Message:
-----------
AMDGPU/gfx12: Minor documentation update (#96079)
Commit: 021b9d0239f830244ebe0deb77cdca8fceeb6613
https://github.com/llvm/llvm-project/commit/021b9d0239f830244ebe0deb77cdca8fceeb6613
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaOpenACC.cpp
Log Message:
-----------
[Sema] Use llvm::erase_if (NFC) (#96068)
While I am at it, I'm constructing SmallVector directly from ArrayRef.
Commit: e773f5307d59fb796a5fc59fe7830281f12731ce
https://github.com/llvm/llvm-project/commit/e773f5307d59fb796a5fc59fe7830281f12731ce
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Target/AVR/AVRISelLowering.cpp
Log Message:
-----------
[AVR] Let ArrayRef infer the array size (NFC) (#96076)
Commit: 881dc132a21d645163ce00fe7b85499687ba8538
https://github.com/llvm/llvm-project/commit/881dc132a21d645163ce00fe7b85499687ba8538
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M libcxx/utils/ci/Dockerfile
Log Message:
-----------
[libc++] Install Python packaging to resolve LLDB data formatter issues (#95971)
This should fix the failures that started happening after #93712 landed.
Commit: 01ba3fa37b22828abca81011b0cb2e4cbbb8cfda
https://github.com/llvm/llvm-project/commit/01ba3fa37b22828abca81011b0cb2e4cbbb8cfda
Author: Andreas Jonson <andjo403 at hotmail.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGenOpenCL/builtins-amdgcn.cl
M clang/test/CodeGenOpenCL/builtins-r600.cl
Log Message:
-----------
[Clang] Swap range and noundef metadata to attribute for intrinsics. (#94851)
Commit: 1003f5b93e0ab0518e285b861573181942e41930
https://github.com/llvm/llvm-project/commit/1003f5b93e0ab0518e285b861573181942e41930
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M clang/include/clang/Basic/BuiltinsAArch64.def
A clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_state_builtin.c
Log Message:
-----------
[Clang][AArch64] Use 'uint64_t*' for _arm_get_sme_state builtin. (#95982)
Depending on the platform, the parameter for __arm_get_sme_state
requires a `unsigned long long*` instead of a `unsigned long*`.
>From ASTContext.cpp:
case 'W':
// This modifier represents int64 type.
Commit: cb76896d6e45e2c9b7ef5e47b6ec37aeca43f7a8
https://github.com/llvm/llvm-project/commit/cb76896d6e45e2c9b7ef5e47b6ec37aeca43f7a8
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
M llvm/test/Transforms/LoopStrengthReduce/X86/postinc-iv-used-by-urem-and-udiv.ll
M llvm/test/Transforms/LoopVectorize/trip-count-expansion-may-introduce-ub.ll
Log Message:
-----------
[SCEVExpander] Recognize urem idiom during expansion (#96005)
If we have a urem expression, emitting it as a urem is significantly
better that letting the fully expansion kick in. We have the risk of a
udiv or mul which could have previously been shared, but loosing that
seems like a reasonable tradeoff for being able to round trip a urem w/o
modification.
Commit: b2b1ee7a92aa51c5017edab40aec665278d63f16
https://github.com/llvm/llvm-project/commit/b2b1ee7a92aa51c5017edab40aec665278d63f16
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/vector-truncate-combine.ll
Log Message:
-----------
[X86] Regenerate vector-truncate-combine.ll to check entire code sequence
Commit: 2a57a08829e8079b59c95ad14f71a1417006c9b5
https://github.com/llvm/llvm-project/commit/2a57a08829e8079b59c95ad14f71a1417006c9b5
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/test/CodeGen/PowerPC/p8altivec-shuffles-pred.ll
Log Message:
-----------
[PowerPC] Regenerate p8altivec-shuffles-pred.ll with update_llc_test_checks script
Commit: f7c96d5733915c4ea30dbd7852faffc9cef4aca9
https://github.com/llvm/llvm-project/commit/f7c96d5733915c4ea30dbd7852faffc9cef4aca9
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Record.cpp
Log Message:
-----------
[Interp] Record::getBase - merge isRecordType/getAs<RecordType>() checks. NFC.
Noticed because static analyzer doesn't understand that isRecordType is just a wrapper to isa<> and was warning about a potential null dereference
Commit: 04cd06906288dcb148de37d7c3e6c009c3e3b726
https://github.com/llvm/llvm-project/commit/04cd06906288dcb148de37d7c3e6c009c3e3b726
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/test/Analysis/ScalarEvolution/trip-count-unknown-stride.ll
M llvm/test/Transforms/LoopRotate/pr56260.ll
Log Message:
-----------
[SCEV] Use context sensitive reasoning in howFarToZero (#94525)
This change builds on 0a357ad which supported non-constant strides in
howFarToZero, but used only context insensitive reasoning.
This change does two things:
1) Directly use context sensitive queries to prove facts established
before the loop. Note that we technically only need facts known
at the latch, but using facts known on entry is a conservative
approximation which will cover most everything.
2) For the non-zero check, we can usually prove non-zero from the
finite assumption implied by mustprogress. This eliminates the
need to do the context sensitive query in the common case.
Commit: b9702bb12f19b7bdb7f4420f94ee603d29d1bf1b
https://github.com/llvm/llvm-project/commit/b9702bb12f19b7bdb7f4420f94ee603d29d1bf1b
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/X86/interleave-cost.ll
M llvm/test/Transforms/LoopVectorize/X86/pr47437.ll
Log Message:
-----------
[LV] Consider insts feeding interleave group pointers free.
For interleave groups, we only generate a pointer for the start of the
interleave group (the instruction at the insert position). The other
addresses for other members are alreayd considered free, but so are
their operands, if they are only used in address computations for
other interleave group members.
Commit: 34a2889e901d594fc3d8eaf03132e571dee923a5
https://github.com/llvm/llvm-project/commit/34a2889e901d594fc3d8eaf03132e571dee923a5
Author: Andreas Jonson <andjo403 at hotmail.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
M llvm/test/Transforms/InstCombine/ARM/mve-v2i2v.ll
Log Message:
-----------
[InstCombine] Swap out range metadata to range attribute for arm_mve_pred_v2i (#94847)
Commit: 498757e710f39d536633436fe6b4081df73dd6b7
https://github.com/llvm/llvm-project/commit/498757e710f39d536633436fe6b4081df73dd6b7
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
Log Message:
-----------
[clang][Interp][NFC] Fix initializing union APValues
The InitElem op assumes an array.
Commit: e0b66a4d6848dae2a03e4a17292b501c01baa009
https://github.com/llvm/llvm-project/commit/e0b66a4d6848dae2a03e4a17292b501c01baa009
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
Log Message:
-----------
[clang][Interp][NFC] Loosen an assertion
Commit: 09f88da966c8117c3ee9780aaa4cbaa7f4f0da5c
https://github.com/llvm/llvm-project/commit/09f88da966c8117c3ee9780aaa4cbaa7f4f0da5c
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenPGO.cpp
Log Message:
-----------
[CodeGen] Remove extraneous ArrayRef (NFC) (#96085)
A C array can be implicitly cast to ArrayRef.
Commit: 7d9260948f48ba2f3a9c4a3e4d5796cb91ea34f0
https://github.com/llvm/llvm-project/commit/7d9260948f48ba2f3a9c4a3e4d5796cb91ea34f0
Author: Nico Weber <thakis at chromium.org>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/utils/gn/build/toolchain/target_flags.gni
Log Message:
-----------
[gn/mac] Fix isysroot flag when building compiler-rt
If the GN arg `sysroot` was set to a root-relative path like e.g.
`"//sysroot"`, we weren't rebasing it correctly, leading to
warnings from clang about it ignoring a non-existent sysroot.
Similar to 6073f87d7f160.
Commit: 70ec8419dd722abeddf09e11f01500ae62334394
https://github.com/llvm/llvm-project/commit/70ec8419dd722abeddf09e11f01500ae62334394
Author: PeterChou1 <peter.chou at mail.utoronto.ca>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
A clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
A clang-tools-extra/test/clang-doc/Inputs/basic-project/include/Calculator.h
A clang-tools-extra/test/clang-doc/Inputs/basic-project/include/Circle.h
A clang-tools-extra/test/clang-doc/Inputs/basic-project/include/Rectangle.h
A clang-tools-extra/test/clang-doc/Inputs/basic-project/include/Shape.h
A clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Calculator.cpp
A clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Circle.cpp
A clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Rectangle.cpp
A clang-tools-extra/test/clang-doc/basic-project.test
Log Message:
-----------
[clang-doc] Add basic e2e test (#93928)
Adds e2e tests for clang-doc, which serves as useful test against
regression in the html output. It also serves as a helpful tool for code
review as we can see the diffs to clang-docs output
Closes https://github.com/llvm/llvm-project/issues/93925
Commit: 58d7a6e0e6361871442df956bb88798ce602b09d
https://github.com/llvm/llvm-project/commit/58d7a6e0e6361871442df956bb88798ce602b09d
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalMerge.cpp
M llvm/test/Transforms/GlobalMerge/basic.ll
Log Message:
-----------
[GlobalMerge] Use MapVector to stabilize iteration order
DenseMap iteration order is not guaranteed to be deterministic.
Without the change,
llvm/test/Transforms/GlobalMerge/basic.ll could fail when
`combineHashValue` changes (#95970).
Commit: fb17bbce80cf76ce1a31eff463f451f626bc36b5
https://github.com/llvm/llvm-project/commit/fb17bbce80cf76ce1a31eff463f451f626bc36b5
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/DenseMapInfo.h
Log Message:
-----------
[DenseMap] Update combineHashValue
`combineHashValue` is a custom bit mixer from 2008
(5fc8ab6d187aefbf1d2cbd36e191e675b14db8f6) used for std::pair and
std::tuple. It has a long dependency chain and slow. Replace it with
a simply multiply-xorshift style hash using a constant from
splitmix64[1]. abseil-cpp and carbon also use this style, but with
uint128 to probably get a lower avalanche bias. We don't use uint128 for
MSVC portability.
Measured time to compute [0,1000000000) values on an i7-11850H:
* old: 1.163s
* new: 0.427s
[1]: https://jonkagstrom.com/tuning-bit-mixers/index.html
Pull Request: https://github.com/llvm/llvm-project/pull/95970
Commit: 0ea6b8e476c28746f4434db6515fcffe2f9cbe4b
https://github.com/llvm/llvm-project/commit/0ea6b8e476c28746f4434db6515fcffe2f9cbe4b
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M clang/test/Driver/linker-wrapper-libs.c
M clang/test/Driver/linker-wrapper.c
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
Log Message:
-----------
[clang-linker-wrapper] Use MapVector to stabilize iteration order
DenseMap iteration order is not guaranteed to be deterministic.
Without the change, clang/test/Driver/linker-wrapper{,-libs}.c would
fail when `combineHashValue` changes (#95970).
Commit: 24335e4108e194a1ff00be5e68171c369172f948
https://github.com/llvm/llvm-project/commit/24335e4108e194a1ff00be5e68171c369172f948
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/test/Transforms/IndVarSimplify/rewrite-loop-exit-value.ll
Log Message:
-----------
[RLEV] Add coverage for expansion of umin EVL idiom
Commit: abd95342f0b94e140b36ac954b8f8c29b1393861
https://github.com/llvm/llvm-project/commit/abd95342f0b94e140b36ac954b8f8c29b1393861
Author: Niranjan Hasabnis <niranjan.hasabnis at intel.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/DLTI/CMakeLists.txt
M mlir/include/mlir/Dialect/DLTI/DLTI.h
A mlir/include/mlir/Dialect/DLTI/DLTIAttrs.td
M mlir/include/mlir/Dialect/DLTI/DLTIBase.td
M mlir/include/mlir/Dialect/DLTI/Traits.h
M mlir/include/mlir/IR/BuiltinOps.td
M mlir/include/mlir/Interfaces/DataLayoutInterfaces.h
M mlir/include/mlir/Interfaces/DataLayoutInterfaces.td
M mlir/lib/Dialect/DLTI/DLTI.cpp
M mlir/lib/Dialect/DLTI/Traits.cpp
M mlir/lib/IR/BuiltinDialect.cpp
M mlir/lib/Interfaces/DataLayoutInterfaces.cpp
M mlir/test/Dialect/DLTI/invalid.mlir
M mlir/test/Dialect/DLTI/roundtrip.mlir
A mlir/test/Dialect/DLTI/valid.mlir
M mlir/unittests/Interfaces/DataLayoutInterfacesTest.cpp
Log Message:
-----------
Reimplementing target description concept using DLTI attribute (#92138)
and Interfaces. This is a newer implementation of PR
https://github.com/llvm/llvm-project/pull/85141 and
[RFC](https://discourse.llvm.org/t/rfc-target-description-and-cost-model-in-mlir/76990)
by considering reviews and comments on the original PR.
As an example of attributes supported by this commit:
```
module attributes {
dlti.target_system_spec =
#dlti.target_device_spec<
#dlti.dl_entry<"dlti.device_id", 0: ui32>,
#dlti.dl_entry<"dlti.device_type", "CPU">,
#dlti.dl_entry<"dlti.L1_cache_size_in_bytes", 8192 : ui32>>,
#dlti.target_device_spec <
#dlti.dl_entry<"dlti.device_id", 1: ui32>,
#dlti.dl_entry<"dlti.device_type", "GPU">,
#dlti.dl_entry<"dlti.max_vector_op_width", 64 : ui32>>,
#dlti.target_device_spec <
#dlti.dl_entry<"dlti.device_id", 2: ui32>,
#dlti.dl_entry<"dlti.device_type", "XPU">>>
}
```
Commit: d85706198bfbc838d204f86e53e9a534166644b8
https://github.com/llvm/llvm-project/commit/d85706198bfbc838d204f86e53e9a534166644b8
Author: S. Bharadwaj Yadavalli <Bharadwaj.Yadavalli at microsoft.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/docs/DirectX/DXILOpTableGenDesign.rst
Log Message:
-----------
[DirectX][DXIL] Update DXIL Op TableGen Specification (#95807)
Add a mechanism to specify constraints to the design document. These facilitate
specification of DXIL Op attributes that are predicated by Shader Model version.
Commit: eb8d036565496d4466ad9974fdf8ff91812feefb
https://github.com/llvm/llvm-project/commit/eb8d036565496d4466ad9974fdf8ff91812feefb
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
Log Message:
-----------
[clang-linker-wrapper] Use MapVector to stabilize iteration order
Commit: 02af67c88f393cd6998949cc1bf8075553579a42
https://github.com/llvm/llvm-project/commit/02af67c88f393cd6998949cc1bf8075553579a42
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M libcxx/include/__utility/pair.h
A libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/abi.non_trivial_copy_move.pass.cpp
A libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/abi.trivial_copy_move.pass.cpp
A libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/abi.trivially_copyable.compile.pass.cpp
R libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/non_trivial_copy_move_ABI.pass.cpp
R libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/trivial_copy_move_ABI.pass.cpp
M libcxx/utils/libcxx/test/dsl.py
M libcxx/utils/libcxx/test/features.py
Log Message:
-----------
[libc++] Fix triviality of std::pair for trivially copyable types without an assignment operator (#95444)
Since 83ead2b, std::pair would not be trivially copyable when it holds a
trivially copyable type without an assignment operator. That is because
pair gained an elligible copy-assignment-operator (the const version) in
83ead2b in C++ >= 23.
This means that the trivially copyable property of std::pair for such
types would be inconsistent between C++11/14/17/20 (trivially copyable)
and C++23/26 (not trivially copyable). This patch makes std::pair's
behavior consistent in all Standard modes EXCEPT C++03, which is a
pre-existing condition and we have no way of changing (also, it
shouldn't matter because the std::is_trivially_copyable trait was
introduced in C++11).
While this is not technically an ABI break, in practice we do know that
folks sometimes use a different representation based on whether a type
is trivially copyable. So we're treating 83ead2b as an ABI break and
this patch is fixing said breakage.
This patch also adds tests stolen from #89652 that pin down the ABI of
std::pair with respect to being trivially copyable.
Fixes #95428
Commit: c6ed8289b7c948464855841632f6b6783da1b65a
https://github.com/llvm/llvm-project/commit/c6ed8289b7c948464855841632f6b6783da1b65a
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/ilist_base.h
M llvm/include/llvm/ADT/ilist_iterator.h
M llvm/include/llvm/ADT/ilist_node.h
M llvm/include/llvm/ADT/ilist_node_base.h
M llvm/include/llvm/ADT/ilist_node_options.h
M llvm/unittests/ADT/IListIteratorTest.cpp
M llvm/unittests/ADT/IListNodeBaseTest.cpp
M llvm/unittests/ADT/IListNodeTest.cpp
Log Message:
-----------
[ADT] Fix incorrect const parent ptr type in ilist (#96059)
Fixes issue reported in: https://github.com/llvm/llvm-project/pull/94224
The recent commit above added an ilist_parent<ParentTy> option, which
added a parent pointer to the ilist_node_base type for the list. The
const methods for returning that parent pointer however were incorrectly
implemented, returning `const ParentPtrTy`, which is equivalent to
`ParentTy * const` rather than `const ParentTy *`. This patch fixes this
by passing around `ParentTy` in ilist's internal logic rather than
`ParentPtrTy`, removing the ability to have a `void*` parent pointer but
cleanly fixing this error.
Commit: 936bc9bb07f06b0fb036fb6f9d19f79aa3a12cf5
https://github.com/llvm/llvm-project/commit/936bc9bb07f06b0fb036fb6f9d19f79aa3a12cf5
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/include/llvm/IR/Intrinsics.td
M llvm/lib/Target/DirectX/DXIL.td
A llvm/test/CodeGen/DirectX/acos.ll
A llvm/test/CodeGen/DirectX/acos_error.ll
A llvm/test/CodeGen/DirectX/asin.ll
A llvm/test/CodeGen/DirectX/asin_error.ll
A llvm/test/CodeGen/DirectX/atan.ll
A llvm/test/CodeGen/DirectX/atan_error.ll
A llvm/test/CodeGen/DirectX/cosh.ll
A llvm/test/CodeGen/DirectX/cosh_error.ll
A llvm/test/CodeGen/DirectX/sinh.ll
A llvm/test/CodeGen/DirectX/sinh_error.ll
A llvm/test/CodeGen/DirectX/tanh.ll
A llvm/test/CodeGen/DirectX/tanh_error.ll
Log Message:
-----------
[DirectX] Add trig intrinsics and link them with DXIL backend (#95968)
This change is part of this proposal:
https://discourse.llvm.org/t/rfc-all-the-math-intrinsics/78294
This is part 1 of 4 PRs. It sets the ground work for adding the
intrinsics.
Add DXIL Lower for `acos`, `asin`, `atan`, `cosh`, `sinh`, and `tanh`
https://github.com/llvm/llvm-project/issues/70079
https://github.com/llvm/llvm-project/issues/70080
https://github.com/llvm/llvm-project/issues/70081
https://github.com/llvm/llvm-project/issues/70083
https://github.com/llvm/llvm-project/issues/70084
https://github.com/llvm/llvm-project/issues/95966
Commit: c008647b3a60efdbb5499c3df2b3e403728c29da
https://github.com/llvm/llvm-project/commit/c008647b3a60efdbb5499c3df2b3e403728c29da
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
Log Message:
-----------
[VPlan] Introduce isHeaderMask helper (NFCI).
Split off from https://github.com/llvm/llvm-project/pull/92555
and slightly generalized to more precisely check for a header mask.
Use it to replace manual checks in collectHeaderMasks.
Commit: f991ebbb465301a1382d6ce15a346b4edc3cfce2
https://github.com/llvm/llvm-project/commit/f991ebbb465301a1382d6ce15a346b4edc3cfce2
Author: Brendan Duke <brendanw.duke at gmail.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/xxhash.h
M llvm/lib/Support/xxhash.cpp
M llvm/unittests/Support/xxhashTest.cpp
Log Message:
-----------
[Support] Add llvm::xxh3_128bits (#95863)
Add a 128-bit xxhash function, following the existing
`llvm::xxh3_64bits` and `llvm::xxHash` implementations. Previously,
48e93f57f1ee914ca29aa31bf2ccd916565a3610 added support for
`llvm::xxh3_64bits`, which closely follows the upstream implementation
at https://github.com/Cyan4973/xxHash, with simplifications from Devin
Hussey's xxhash-clean.
However, it is desirable to have a larger 128-bit hash key for use cases
such as filesystem checksums where chance of collision needs to be
negligible.
So to that end this also ports over the 128-bit xxh3_128bits as
`llvm::xxh3_128bits`.
Testing:
- Add a test based on xsum_sanity_check.c in upstream xxhash.
Commit: 8e8dccdecd4a5302fcfad33b4ee1282ae808b106
https://github.com/llvm/llvm-project/commit/8e8dccdecd4a5302fcfad33b4ee1282ae808b106
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M flang/include/flang/Evaluate/tools.h
M flang/lib/Lower/Bridge.cpp
M flang/lib/Semantics/check-cuda.cpp
M flang/test/Lower/CUDA/cuda-data-transfer.cuf
Log Message:
-----------
[flang][cuda] Do not consider PINNED as device attribute (#95988)
PINNED is a CUDA data attribute meant for the host variables. Do not
consider it when computing the number of device variables in assignment
for the cuda data transfer.
Commit: 0a5292ebbb393b70dbb46b0a30a64a3b3a2463e1
https://github.com/llvm/llvm-project/commit/0a5292ebbb393b70dbb46b0a30a64a3b3a2463e1
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
Log Message:
-----------
[PowerPC] Remove extraneous ArrayRef (NFC) (#96092)
ArrayRef can be implicitly constructed from a C array while inferring
its size.
Commit: 61e62ce2ebde23937af3e4ca2d84195bb00dbe05
https://github.com/llvm/llvm-project/commit/61e62ce2ebde23937af3e4ca2d84195bb00dbe05
Author: Wentao Zhang <35722712+whentojump at users.noreply.github.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/tools/llvm-cov/CoverageReport.cpp
Log Message:
-----------
[llvm-cov] let text mode divider honor --show-branch-summary, --show-region-summary etc (#96016)
Commit: 86eb6bf6715c87425284902fe9e2e41e86937f23
https://github.com/llvm/llvm-project/commit/86eb6bf6715c87425284902fe9e2e41e86937f23
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/LowerTypeTests.cpp
M llvm/test/LTO/X86/cfi_jt_aliases.ll
Log Message:
-----------
[LowerTypeTests] Use MapVector to stabilize iteration order
Otherwise llvm/test/LTO/X86/cfi_jt_aliases.ll could fail when
DenseMapInfo<StringRef> changes.
Commit: cae6d458a0a528a037f6a43f308a9d92048f8ef1
https://github.com/llvm/llvm-project/commit/cae6d458a0a528a037f6a43f308a9d92048f8ef1
Author: Alexander Shaposhnikov <6532716+alexander-shaposhnikov at users.noreply.github.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
M compiler-rt/cmake/config-ix.cmake
A compiler-rt/include/sanitizer/nsan_interface.h
A compiler-rt/lib/nsan/CMakeLists.txt
A compiler-rt/lib/nsan/nsan.cc
A compiler-rt/lib/nsan/nsan.h
A compiler-rt/lib/nsan/nsan.syms.extra
A compiler-rt/lib/nsan/nsan_flags.cc
A compiler-rt/lib/nsan/nsan_flags.h
A compiler-rt/lib/nsan/nsan_flags.inc
A compiler-rt/lib/nsan/nsan_interceptors.cc
A compiler-rt/lib/nsan/nsan_platform.h
A compiler-rt/lib/nsan/nsan_stats.cc
A compiler-rt/lib/nsan/nsan_stats.h
A compiler-rt/lib/nsan/nsan_suppressions.cc
A compiler-rt/lib/nsan/nsan_suppressions.h
A compiler-rt/lib/nsan/tests/CMakeLists.txt
A compiler-rt/lib/nsan/tests/NSanUnitTest.cpp
A compiler-rt/lib/nsan/tests/nsan_unit_test_main.cpp
A compiler-rt/test/nsan/CMakeLists.txt
A compiler-rt/test/nsan/Unit/lit.site.cfg.py.in
A compiler-rt/test/nsan/lit.cfg.py
A compiler-rt/test/nsan/lit.site.cfg.py.in
Log Message:
-----------
[CompilerRT] Add support for numerical sanitizer (#94322)
This diff contains the compiler-rt changes / preparations for nsan.
Test plan:
1. cd build/runtimes/runtimes-bins && ninja check-nsan
2. ninja check-all
Commit: 89e8e63f47ffc355bf5c55cea8f43a806174cce8
https://github.com/llvm/llvm-project/commit/89e8e63f47ffc355bf5c55cea8f43a806174cce8
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/test/Transforms/Attributor/assumes_info.ll
M llvm/test/Transforms/OpenMP/spmdization_guarding.ll
Log Message:
-----------
[Attributor] Stabilize llvm.assume output
Don't rely on the iteration order of DenseSet<StringRef>, which is not
guaranteed to be deterministic.
Commit: 6d340e4c448c14b7103fddfec7d429b9d535611d
https://github.com/llvm/llvm-project/commit/6d340e4c448c14b7103fddfec7d429b9d535611d
Author: Vijay Kandiah <vkandiah at nvidia.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
M flang/test/Fir/convert-to-llvm.fir
Log Message:
-----------
[flang] fixing alloca hoisting for blocks having single op. (#96009)
This change fixes the issue
https://github.com/llvm/llvm-project/issues/95977 due to commit
c0cba5198155dba246ddd5764f57595d9bbbddef inserting allocas after the
terminator op in the insertion block in the case where the block had
only a single operation, its terminator, in it. With this change, the
hoisted constant-sized allocas are placed at the front of the insertion
block, rather than right after the first operation in it.
Commit: c025bd1fdbbdbe76c450eb08ebd8649fb3179d5a
https://github.com/llvm/llvm-project/commit/c025bd1fdbbdbe76c450eb08ebd8649fb3179d5a
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp
Log Message:
-----------
[TableGen,GlobalISel] Use MapVector to stabilize iteration order
Otherwise llvm/test/TableGen/GlobalISelCombinerEmitter/type-inference.td
could fail when llvm::hash_value(StringRef) changes.
Fix #66377
Commit: 34313eb1f0c2f5c6b5303b26d6babdad985e16e9
https://github.com/llvm/llvm-project/commit/34313eb1f0c2f5c6b5303b26d6babdad985e16e9
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/lib/ExecutionEngine/JITLink/SEHFrameSupport.h
Log Message:
-----------
[JITLink] Ensure Edges order is deterministic
Commit: fa00e8bb6a14d39e273f85a77308923ad28329f0
https://github.com/llvm/llvm-project/commit/fa00e8bb6a14d39e273f85a77308923ad28329f0
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Correctly annotate l_brace after TypenameMacro (#96026)
Closes #95418.
Commit: f8f4235612b9668bbcbb6a58634fcb756794045e
https://github.com/llvm/llvm-project/commit/f8f4235612b9668bbcbb6a58634fcb756794045e
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
Log Message:
-----------
[JITLink] Use MapVector to stabilize iteration order
Otherwise LinkGraph::dump output could change
(llvm/test/ExecutionEngine/JITLink/x86-64/COFF_pdata_strip.s) when
llvm::hash_value(StringRef) changes.
Commit: 57778ec36c9c7e96b76a167f19dccbe00d49c9d4
https://github.com/llvm/llvm-project/commit/57778ec36c9c7e96b76a167f19dccbe00d49c9d4
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M libc/test/src/sched/param_and_scheduler_test.cpp
Log Message:
-----------
[libc] Fix scheduler test incorrectly guessing user privileges (#95562)
Non-root users may be able to set real-time scheduling policies. Don't
expect failure to set real-time scheduling policies based on UID.
Instead, check that if it fails, it is either due to missing privileges,
or unsupported parameters if the scheduling policy is not mandated by
POSIX.
Fixes #95564.
Commit: ad79a14c9e5ec4a369eed4adf567c22cc029863f
https://github.com/llvm/llvm-project/commit/ad79a14c9e5ec4a369eed4adf567c22cc029863f
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/DenseMapInfo.h
Log Message:
-----------
[ADT] Update hash function of uint64_t for DenseMap (#95734)
(Background: See the comment:
https://github.com/llvm/llvm-project/pull/92083#issuecomment-2168121729)
It looks like the hash function for 64bits integers are not very good:
```
static unsigned getHashValue(const unsigned long long& Val) {
return (unsigned)(Val * 37ULL);
}
```
Since the result is truncated to 32 bits. It looks like the higher 32
bits won't contribute to the result. So that `0x1'00000001` will have
the the same results to `0x2'00000001`, `0x3'00000001`, ...
Then we may meet a lot collisions in such cases. I feel it should
generally good to include higher 32 bits for hashing functions.
Not sure who's the appropriate reviewer, adding some people by
impressions.
Commit: fa0666876cdf11162af341911b99311a56be2274
https://github.com/llvm/llvm-project/commit/fa0666876cdf11162af341911b99311a56be2274
Author: Prashant Kumar <pk5561 at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
M mlir/test/Dialect/Linalg/transform-op-decompose.mlir
Log Message:
-----------
[mlir][linalg] Fix numerical issue with softmax (#96090)
For more info:
https://github.com/iree-org/iree/issues/17670#issuecomment-2167591878
Commit: 480a788e4946ac7b313291f26bca19aa65d649f1
https://github.com/llvm/llvm-project/commit/480a788e4946ac7b313291f26bca19aa65d649f1
Author: Kai Luo <lkail at cn.ibm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
M llvm/test/CodeGen/PowerPC/peephole-mma-phi-liveness.ll
Log Message:
-----------
[PowerPC] Make verifier happy after peephole on MMA COPYs (#94321)
Commit: da2ad44119edf13eb944f7e685469352aa840e63
https://github.com/llvm/llvm-project/commit/da2ad44119edf13eb944f7e685469352aa840e63
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/include/clang/Lex/ExternalPreprocessorSource.h
M clang/include/clang/Lex/HeaderSearch.h
M clang/lib/Lex/HeaderSearch.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
Log Message:
-----------
[HeaderSearch] Introduce LazyIdentifierInfoPtr for Controlling Macro in HeaderFileInfo
This patch is helpful to reduce 32 bits for HeaderFileInfo by combining
a uint32_t and pointer into a tagged pointer.
This is reviewed as part of
https://github.com/llvm/llvm-project/pull/92085 and required to be split
as a separate commit
Commit: 5ef02d9963765514f094092d6635eb8b4f1f9ce6
https://github.com/llvm/llvm-project/commit/5ef02d9963765514f094092d6635eb8b4f1f9ce6
Author: Roger Ferrer Ibáñez <rofirrim at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/RuntimeLibcalls.def
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.h
A llvm/test/CodeGen/RISCV/clear-cache.ll
Log Message:
-----------
[RISCV] Lower llvm.clear_cache to __riscv_flush_icache for glibc targets (#93481)
This change is a preliminary step to support trampolines on RISC-V. Trampolines are used by flang to implement obtaining the address of an internal program (i.e., a nested function in Fortran parlance).
In this change we lower `llvm.clear_cache` intrinsic on glibc targets to
`__riscv_flush_icache` which is what GCC is currently doing for Linux targets.
Commit: 2f2ea3557bfe5aa773ae12a7f0a01a26f1791349
https://github.com/llvm/llvm-project/commit/2f2ea3557bfe5aa773ae12a7f0a01a26f1791349
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/include/clang/Lex/ExternalPreprocessorSource.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ModuleFile.h
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/GlobalModuleIndex.cpp
M clang/lib/Serialization/ModuleFile.cpp
A clang/test/Modules/no-transitive-identifier-change.cppm
Log Message:
-----------
[Serialization] No transitive identifier change (#92085)
Following of https://github.com/llvm/llvm-project/pull/92083
The motivation is still cutting of the unnecessary change in the
dependency chain. See the above link (recursively) for details.
After this patch, (and the above patch), we can already do something
pretty interesting. For example,
#### Motivation example
```
//--- m-partA.cppm
export module m:partA;
export inline int getA() {
return 43;
}
export class A {
public:
int getMem();
};
export template <typename T>
class ATempl {
public:
T getT();
};
//--- m-partA.v1.cppm
export module m:partA;
export inline int getA() {
return 43;
}
// Now we add a new declaration without introducing a new type.
// The consuming module which didn't use m:partA completely is expected to be
// not changed.
export inline int getA2() {
return 88;
}
export class A {
public:
int getMem();
// Now we add a new declaration without introducing a new type.
// The consuming module which didn't use m:partA completely is expected to be
// not changed.
int getMem2();
};
export template <typename T>
class ATempl {
public:
T getT();
// Add a new declaration without introducing a new type.
T getT2();
};
//--- m-partB.cppm
export module m:partB;
export inline int getB() {
return 430;
}
//--- m.cppm
export module m;
export import :partA;
export import :partB;
//--- useBOnly.cppm
export module useBOnly;
import m;
export inline int get() {
return getB();
}
```
In this example, module `m` exports two partitions `:partA` and
`:partB`. And a consumer `useBOnly` only consumes the entities from
`:partB`. So we don't hope the BMI of `useBOnly` changes if only
`:partA` changes. After this patch, we can make it if the change of
`:partA` doesn't introduce new types. (And we can get rid of this if we
make no-transitive-type-change).
As the example shows, when we change the implementation of `:partA` from
`m-partA.cppm` to `m-partA.v1.cppm`, we add new function declaration
`getA2()` at the global namespace, add a new member function `getMem2()`
to class `A` and add a new member function to `getT2()` to class
template `ATempl`. And since `:partA` is not used by `useBOnly`
completely, the BMI of `useBOnly` won't change after we made above
changes.
#### Design details
Method used in this patch is similar with
https://github.com/llvm/llvm-project/pull/92083 and
https://github.com/llvm/llvm-project/pull/86912. It extends the 32 bit
IdentifierID to 64 bits and use the higher 32 bits to store the module
file index. So that the encoding of the identifier won't get affected by
other modules.
#### Overhead
Similar with https://github.com/llvm/llvm-project/pull/92083 and
https://github.com/llvm/llvm-project/pull/86912. The change is only
expected to increase the size of the on-disk .pcm files and not affect
the compile-time performances. And from my experiment, the size of the
on-disk change only increase 1%+ and observe no compile-time impacts.
#### Future Plans
I'll try to do the same thing for type ids. IIRC, it won't change the
dependency graph if we add a new type in an unused units. I do think
this is a significant win. And this will be a pretty good answer to "why
modules are better than headers."
Commit: ac02bf733c9fd9242877109096dd0f6768f2766b
https://github.com/llvm/llvm-project/commit/ac02bf733c9fd9242877109096dd0f6768f2766b
Author: Qiu Chaofan <qiucofan at cn.ibm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/docs/LangRef.rst
Log Message:
-----------
[NFC] Fix header level in LangRef
Commit: fd88089151e66a4cb1d90aaa224e4cb4e7a748f4
https://github.com/llvm/llvm-project/commit/fd88089151e66a4cb1d90aaa224e4cb4e7a748f4
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGExpr.cpp
M clang/test/CodeGenCXX/catch-undef-behavior.cpp
Log Message:
-----------
-fsanitize=vptr: Change hash function and simplify bit mixer
llvm::hash_value is not guaranteed to be deterministic. Use the
deterministic xxh3_64bits. A strong bit mixer isn't necessary. Use a
simpler one that works well with pointers.
Commit: 394e321a2ea021194891cf5b0c5747a901fb7915
https://github.com/llvm/llvm-project/commit/394e321a2ea021194891cf5b0c5747a901fb7915
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
M llvm/test/Transforms/CorrelatedValuePropagation/basic.ll
A llvm/test/Transforms/CorrelatedValuePropagation/switch.ll
Log Message:
-----------
Reland "[CVP] Check whether the default case is reachable (#79993)" (#96089)
This patch reverts https://github.com/llvm/llvm-project/pull/81585 as
https://github.com/llvm/llvm-project/pull/78582 has been landed.
Now clang works well with reproducer
https://github.com/llvm/llvm-project/pull/79993#issuecomment-1936822679.
Commit: c2f976649a5ef405b224bfe36267966cdd394057
https://github.com/llvm/llvm-project/commit/c2f976649a5ef405b224bfe36267966cdd394057
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParser.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/test/Shell/SymbolFile/DWARF/x86/simple-template-names-context.cpp
Log Message:
-----------
[lldb/DWARF] Fix type definition search with simple template names (#95905)
With simple template names the template arguments aren't embedded in the
DW_AT_name attribute of the type. The code in
FindDefinitionTypeForDWARFDeclContext was comparing the synthesized
template arguments on the leaf (most deeply nested) DIE, but was not
sufficient, as the difference get be at any level above that
(Foo<T>::Bar vs. Foo<U>::Bar). This patch makes sure we compare the
entire context.
As a drive-by I also remove the completely unnecessary
ConstStringification of the GetDIEClassTemplateParams result.
Commit: 799e3c9e1713c3a52e45f071786a9748c4308c01
https://github.com/llvm/llvm-project/commit/799e3c9e1713c3a52e45f071786a9748c4308c01
Author: Adrian Kuegel <akuegel at google.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M mlir/lib/Pass/IRPrinting.cpp
Log Message:
-----------
[mlir] Apply ClangTidy finding.
Commit: 930dd3fd873c91556b878444d57b1d12651b266f
https://github.com/llvm/llvm-project/commit/930dd3fd873c91556b878444d57b1d12651b266f
Author: Daniel Kiss <daniel.kiss at arm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/Module.h
M llvm/lib/IR/Module.cpp
M llvm/unittests/IR/ModuleTest.cpp
Log Message:
-----------
[LLVM] Extend setModuleFlag interface. (#86031)
Add same interfaces variants to the `Module::setModuleFlag` as the
`Module::addModuleFlag` has.
Commit: 76d3ab2cc33336c1eece6484c9a55577eac7e79a
https://github.com/llvm/llvm-project/commit/76d3ab2cc33336c1eece6484c9a55577eac7e79a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/bindings/ocaml/llvm/llvm.ml
M llvm/bindings/ocaml/llvm/llvm.mli
M llvm/bindings/ocaml/llvm/llvm_ocaml.c
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm-c/Core.h
M llvm/include/llvm/IR/Constants.h
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/lib/IR/Constants.cpp
M llvm/lib/IR/Core.cpp
R llvm/test/Assembler/2003-05-21-MalformedShiftCrash.ll
M llvm/test/Assembler/flags.ll
M llvm/test/Transforms/InstCombine/rotate.ll
M llvm/test/Transforms/InstCombine/shift-logic.ll
M llvm/test/Transforms/InstCombine/udiv-simplify.ll
M llvm/test/Transforms/LoopStrengthReduce/pr2537.ll
M llvm/test/Verifier/ifunc-opaque.ll
M llvm/unittests/IR/ConstantsTest.cpp
Log Message:
-----------
[IR] Remove support for shl constant expressions (#96037)
Remove support for shl constant expressions, as part of:
https://discourse.llvm.org/t/rfc-remove-most-constant-expressions/63179
Commit: e7d63ebaa2928056fb837a575a36dc4447dc80b2
https://github.com/llvm/llvm-project/commit/e7d63ebaa2928056fb837a575a36dc4447dc80b2
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M flang/lib/Lower/ConvertCall.cpp
M flang/test/Lower/HLFIR/assumed-rank-calls.f90
Log Message:
-----------
[flang] enable copy-in/out of assumed-rank arrays (#96080)
Just remove the TODO and add a test.
There is nothing special to do to deal with assumed-rank copy-in/out
after the previous copy-in/out API change in
https://github.com/llvm/llvm-project/pull/95822.
Commit: fa08e97d03afd215caeb297a822895c4d0d93b7b
https://github.com/llvm/llvm-project/commit/fa08e97d03afd215caeb297a822895c4d0d93b7b
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M flang/lib/Lower/ConvertCall.cpp
M flang/lib/Optimizer/Builder/MutableBox.cpp
M flang/test/Lower/HLFIR/assumed-rank-calls.f90
Log Message:
-----------
[flang] lower assumed-rank TARGET to intent(in) POINTER (#96082)
The only special thing to do is to use fir.rebox_assumed_rank when
reboxing the target to properly set the POINTER attribute inside the
descriptor.
Commit: cc145f40530667d65220536a3e03eabe9fdd46cf
https://github.com/llvm/llvm-project/commit/cc145f40530667d65220536a3e03eabe9fdd46cf
Author: Cullen Rhodes <cullen.rhodes at arm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/LowerVectorGather.cpp
M mlir/test/Dialect/Vector/vector-gather-lowering.mlir
Log Message:
-----------
[mlir][vector] Disable Gather1DToConditionalLoads for scalable vectors (#96049)
Pattern scalarizes vector.gather operations and is incorrect for
scalable vectors.
Commit: 1d1d007b4bc1d326c13b9cfcc65257c7fe78a301
https://github.com/llvm/llvm-project/commit/1d1d007b4bc1d326c13b9cfcc65257c7fe78a301
Author: Danial Klimkin <dklimkin at google.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
Fix bazel build past abd95342f0b94e140b36ac954b8f8c29b1393861 (#96143)
Commit: 11344249e1e8360e75490733660ee1439d571228
https://github.com/llvm/llvm-project/commit/11344249e1e8360e75490733660ee1439d571228
Author: Danial Klimkin <dklimkin at google.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/include/clang/Lex/ExternalPreprocessorSource.h
Log Message:
-----------
Update ExternalPreprocessorSource.h (#96144)
Add missing includes.
Commit: ef83c25b0e56438d1697138915273dc71b8acf82
https://github.com/llvm/llvm-project/commit/ef83c25b0e56438d1697138915273dc71b8acf82
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M compiler-rt/lib/nsan/CMakeLists.txt
R compiler-rt/lib/nsan/nsan.cc
A compiler-rt/lib/nsan/nsan.cpp
M compiler-rt/lib/nsan/nsan.h
R compiler-rt/lib/nsan/nsan_flags.cc
A compiler-rt/lib/nsan/nsan_flags.cpp
R compiler-rt/lib/nsan/nsan_interceptors.cc
A compiler-rt/lib/nsan/nsan_interceptors.cpp
R compiler-rt/lib/nsan/nsan_stats.cc
A compiler-rt/lib/nsan/nsan_stats.cpp
M compiler-rt/lib/nsan/nsan_stats.h
R compiler-rt/lib/nsan/nsan_suppressions.cc
A compiler-rt/lib/nsan/nsan_suppressions.cpp
M compiler-rt/lib/nsan/tests/NSanUnitTest.cpp
Log Message:
-----------
[nsan] Fix style issue
The initial check-in of compiler-rt/lib/nsan #94322 has a lot of style
issues. Fix them before the history becomes more useful.
Pull Request: https://github.com/llvm/llvm-project/pull/96142
Commit: 7cf84d3b0bc5eda3a907dfd026d51a17e28114a3
https://github.com/llvm/llvm-project/commit/7cf84d3b0bc5eda3a907dfd026d51a17e28114a3
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M compiler-rt/lib/profile/InstrProfilingFile.c
Log Message:
-----------
mmapForContinuousMode: Align Linux's impl to __APPLE__'s more. NFC. (#95702)
Commit: b9ad0b6875950a0e161ad31447f796562f55a83a
https://github.com/llvm/llvm-project/commit/b9ad0b6875950a0e161ad31447f796562f55a83a
Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaType.cpp
M clang/test/SemaCXX/paren-list-agg-init.cpp
Log Message:
-----------
[clang] Fix `static_cast` to array of unknown bound (#96041)
Per P1975R0 an expression like static_cast<U[]>(...) defines the type of
the expression as U[1].
Fixes https://github.com/llvm/llvm-project/issues/62863
Commit: acf675b63f9426e61aac2155e29280f7d21f9421
https://github.com/llvm/llvm-project/commit/acf675b63f9426e61aac2155e29280f7d21f9421
Author: Martin Storsjö <martin at martin.st>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M lld/MinGW/Driver.cpp
M lld/test/MinGW/driver.test
Log Message:
-----------
[LLD] [MinGW] Interpret an empty -entry option as no entry point (#96055)
This fixes https://github.com/llvm/llvm-project/issues/93309, and seems
to match how GNU ld handles this case.
Commit: 46beeaa3940ef8380ee99b9f666cd27b884f63e4
https://github.com/llvm/llvm-project/commit/46beeaa3940ef8380ee99b9f666cd27b884f63e4
Author: aengelke <engelke at in.tum.de>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCContext.h
M llvm/include/llvm/MC/MCSection.h
M llvm/include/llvm/MC/MCSectionCOFF.h
M llvm/include/llvm/MC/MCSectionDXContainer.h
M llvm/include/llvm/MC/MCSectionELF.h
M llvm/include/llvm/MC/MCSectionGOFF.h
M llvm/include/llvm/MC/MCSectionSPIRV.h
M llvm/include/llvm/MC/MCSectionWasm.h
M llvm/include/llvm/MC/MCSectionXCOFF.h
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
M llvm/lib/MC/MCContext.cpp
M llvm/lib/MC/MCObjectFileInfo.cpp
M llvm/lib/MC/MCParser/COFFAsmParser.cpp
M llvm/lib/MC/MCParser/COFFMasmParser.cpp
M llvm/lib/MC/MCSection.cpp
M llvm/lib/MC/MCSectionCOFF.cpp
M llvm/lib/MC/MCSectionMachO.cpp
M llvm/lib/MC/MCStreamer.cpp
M llvm/lib/MC/WasmObjectWriter.cpp
M llvm/lib/MC/WinCOFFObjectWriter.cpp
M llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.cpp
M llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyWasmObjectWriter.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
Log Message:
-----------
[MC] Remove SectionKind from MCSection (#96067)
There are only three actual uses of the section kind in MCSection:
isText(), XCOFF, and WebAssembly. Store isText() in the MCSection, and
store other info in the actual section variants where required.
ELF and COFF flags also encode all relevant information, so for these
two section variants, remove the SectionKind parameter entirely.
This allows to remove the string switch (which is unnecessary and
inaccurate) from createELFSectionImpl. This was introduced in
[D133456](https://reviews.llvm.org/D133456), but apparently, it was
never hit for non-writable sections anyway and the resulting kind was
never used.
Commit: f0897ea4bb2c8cbebdf9d90dc4a0c1effdfe20e9
https://github.com/llvm/llvm-project/commit/f0897ea4bb2c8cbebdf9d90dc4a0c1effdfe20e9
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/MachineLICM.cpp
A llvm/test/CodeGen/AArch64/mlicm-csr-mask.mir
M llvm/test/CodeGen/AMDGPU/indirect-call.ll
Log Message:
-----------
[MachineLICM] Work-around Incomplete RegUnits (#95926)
Reverts the behavior introduced by 770393b while keeping the refactored
code.
Fixes a miscompile on AArch64, at the cost of a small regression on
AMDGPU.
#96146 opened to investigate the issue
Commit: 81e8f01b5511932808ac9b99c3054c0d9dc0259e
https://github.com/llvm/llvm-project/commit/81e8f01b5511932808ac9b99c3054c0d9dc0259e
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/test/MC/Disassembler/AMDGPU/gfx10_exp.txt
Log Message:
-----------
[AMDGPU] Fix typo "GXF" in check prefix
Commit: 2ccfa93ddb2efabd05b56cb12122ab0b8cae27a1
https://github.com/llvm/llvm-project/commit/2ccfa93ddb2efabd05b56cb12122ab0b8cae27a1
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/test/MC/AMDGPU/trap.s
Log Message:
-----------
[AMDGPU] Tweak comment to fix warning from filecheck_lint.py
Commit: 70748dcbe0ab48a1d9e4609fe73dfb9ab5ad36c1
https://github.com/llvm/llvm-project/commit/70748dcbe0ab48a1d9e4609fe73dfb9ab5ad36c1
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/test/MC/AMDGPU/mai-gfx90a.s
M llvm/test/MC/Disassembler/AMDGPU/gfx90a_mai.txt
Log Message:
-----------
[AMDGPU] Fix GFX90A/GFX940 check prefix typos
Commit: d594d9f7f4dc6eb748b3261917db689fdc348b96
https://github.com/llvm/llvm-project/commit/d594d9f7f4dc6eb748b3261917db689fdc348b96
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/test/MC/AMDGPU/isa-version-pal.s
Log Message:
-----------
[AMDGPU] Add a RUN line to test the OSABI-PAL-ERR prefix
Commit: 78ff617d3f573fb3a9b2fef180fa0fd43d5584ea
https://github.com/llvm/llvm-project/commit/78ff617d3f573fb3a9b2fef180fa0fd43d5584ea
Author: Lucas Duarte Prates <lucas.prates at arm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/ARM/ARMISelLowering.h
A llvm/test/CodeGen/ARM/cmse-harden-call-returned-values.ll
A llvm/test/CodeGen/ARM/cmse-harden-entry-arguments.ll
Log Message:
-----------
[ARM] CMSE security mitigation on function arguments and returned values (#89944)
The ABI mandates two things related to function calls:
- Function arguments must be sign- or zero-extended to the register
size by the caller.
- Return values must be sign- or zero-extended to the register size by
the callee.
As consequence, callees can assume that function arguments have been
extended and so can callers with regards to return values.
Here lies the problem: Nonsecure code might deliberately ignore this
mandate with the intent of attempting an exploit. It might try to pass
values that lie outside the expected type's value range in order to
trigger undefined behaviour, e.g. out of bounds access.
With the mitigation implemented, Secure code always performs extension
of values passed by Nonsecure code.
This addresses the vulnerability described in CVE-2024-0151.
Patches by Victor Campos.
---------
Co-authored-by: Victor Campos <victor.campos at arm.com>
Commit: 94fdfc1ca859d5802bee70853913e8d0400ad9d1
https://github.com/llvm/llvm-project/commit/94fdfc1ca859d5802bee70853913e8d0400ad9d1
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/test/MC/AMDGPU/hsa-diag-v4.s
Log Message:
-----------
[AMDGPU] Add ALL prefix to all RUN lines for better diagnostics
Commit: e2296d8295516e9991cd6ca99ba193fbd232b6da
https://github.com/llvm/llvm-project/commit/e2296d8295516e9991cd6ca99ba193fbd232b6da
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M mlir/include/mlir/Conversion/Passes.td
M mlir/lib/Conversion/VectorToArmSME/CMakeLists.txt
M mlir/lib/Conversion/VectorToArmSME/VectorToArmSME.cpp
M mlir/lib/Conversion/VectorToArmSME/VectorToArmSMEPass.cpp
M mlir/test/Conversion/VectorToArmSME/unsupported.mlir
M mlir/test/Conversion/VectorToArmSME/vector-to-arm-sme.mlir
Log Message:
-----------
[mlir][ArmSME] Lower extract from 2D scalable create_mask to psel (#96066)
Example:
```mlir
%mask = vector.create_mask %a, %b : vector<[4]x[8]xi1>
%slice = vector.extract %mask[%index]
: vector<[8]xi1> from vector<[4]x[8]xi1>
```
Becomes:
```mlir
%mask_rows = vector.create_mask %a : vector<[4]xi1>
%mask_cols = vector.create_mask %b : vector<[8]xi1>
%slice = arm_sve.psel %mask_cols, %mask_rows[%index]
: vector<[8]xi1>, vector<[4]xi1>
```
Note: While psel is under ArmSVE it requires SME (or SVE 2.1), so this
is currently the most logical place for this lowering.
Commit: 80f881485accb020345ee7e1c4c3151ec55ce590
https://github.com/llvm/llvm-project/commit/80f881485accb020345ee7e1c4c3151ec55ce590
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGBuilder.h
M clang/lib/CodeGen/CGExpr.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M llvm/include/llvm/IR/IRBuilder.h
M llvm/include/llvm/IR/InstrTypes.h
M llvm/include/llvm/IR/Instruction.h
M llvm/include/llvm/IR/Instructions.h
M llvm/lib/IR/Instruction.cpp
M llvm/lib/IR/Instructions.cpp
M llvm/lib/Transforms/Scalar/SROA.cpp
M polly/include/polly/CodeGen/IRBuilder.h
Log Message:
-----------
[LLVM] Add InsertPosition union-type to remove overloads of Instruction-creation (#94226)
This patch simplifies instruction creation by replacing all overloads of
instruction constructors/Create methods that are identical other than
the Instruction *InsertBefore/BasicBlock *InsertAtEnd/BasicBlock::iterator
InsertBefore argument with a single version that takes an InsertPosition
argument. The InsertPosition class can be implicitly constructed from
any of the above, internally converting them to the appropriate
BasicBlock::iterator value which can then be used to insert the
instruction (or to not insert it if an invalid iterator is passed).
The upshot of this is that code will be deduplicated, and all callsites
will switch to calling the new unified version without any changes
needed to make the compiler happy. There is at least one exception to
this; the construction of InsertPosition is a user-defined conversion,
so any caller that was already relying on a different user-defined
conversion won't work. In all of LLVM and Clang this happens exactly
once: at clang/lib/CodeGen/CGExpr.cpp:123 we try to construct an alloca
with an AssertingVH<Instruction> argument, which must now be cast to an
Instruction* by using `&*`. If this is more common elsewhere, it could
be fixed by adding an appropriate constructor to InsertPosition.
Commit: 919c547130cfd1cd75ccf148cbf2334b27b2f37f
https://github.com/llvm/llvm-project/commit/919c547130cfd1cd75ccf148cbf2334b27b2f37f
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstrArithmetic.td
Log Message:
-----------
[X86] Fix indention in X86InstrArithmetic.td, NFCI
Commit: c1a7c5ac73af92316426deed5f8f10f33f729ad2
https://github.com/llvm/llvm-project/commit/c1a7c5ac73af92316426deed5f8f10f33f729ad2
Author: aengelke <engelke at in.tum.de>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M bolt/lib/Passes/BinaryPasses.cpp
M llvm/include/llvm/MC/MCContext.h
M llvm/include/llvm/MC/MCSymbol.h
M llvm/include/llvm/MC/MCSymbolCOFF.h
M llvm/include/llvm/MC/MCSymbolELF.h
M llvm/include/llvm/MC/MCSymbolGOFF.h
M llvm/include/llvm/MC/MCSymbolMachO.h
A llvm/include/llvm/MC/MCSymbolTableEntry.h
M llvm/include/llvm/MC/MCSymbolWasm.h
M llvm/include/llvm/MC/MCSymbolXCOFF.h
M llvm/lib/MC/MCContext.cpp
M llvm/lib/MC/MCParser/AsmParser.cpp
M llvm/lib/MC/MCParser/MasmParser.cpp
M llvm/lib/MC/MCSymbol.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
Log Message:
-----------
[MC] Eliminate two symbol-related hash maps (#95464)
Previously, a symbol insertion requires (at least) three hash table
operations:
- Lookup/create entry in Symbols (main symbol table)
- Lookup NextUniqueID to deduplicate identical temporary labels
- Add entry to UsedNames, which is also used to serve as storage for the
symbol name in the MCSymbol.
All three lookups are done with the same name, so combining these into a
single table reduces the number of lookups to one. Thus, a pointer to a
symbol table entry can be passed to createSymbol to avoid a duplicate
lookup of the same name.
The new symbol table entry value is placed in a separate header to avoid
including MCContext in MCSymbol or vice versa.
Commit: 1002c08c646d8c85fb63a54140a00c642f317b28
https://github.com/llvm/llvm-project/commit/1002c08c646d8c85fb63a54140a00c642f317b28
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
R flang/test/Lower/OpenMP/Todo/reduction-array-intrinsic.f90
A flang/test/Lower/OpenMP/reduction-array-intrinsic.f90
A flang/test/Lower/OpenMP/wsloop-reduction-allocatable-array-minmax.f90
Log Message:
-----------
[flang][OpenMP] support more reduction types for procedure designators (#96057)
This re-uses reduction declarations from intrinsic operators to add
support for reductions of allocatables, pointers, and arrays with
procedure designators (e.g. min/max).
I have split this into two commits to make it easier to review. The
first one makes the functional change. The second cleans things up now
that we can share much more code between intrinsic operators and
procedure designators.
Commit: 2c06fb899966b49ff0fe4adf55fceb7d1941fbca
https://github.com/llvm/llvm-project/commit/2c06fb899966b49ff0fe4adf55fceb7d1941fbca
Author: Hugo Trachino <hugo.trachino at huawei.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
M mlir/test/Dialect/Vector/vector-transfer-flatten.mlir
Log Message:
-----------
[MLIR][Vector] Generalize DropUnitDimFromElementwiseOps to non leading / trailing dimensions. (#92934)
Generalizes `DropUnitDimFromElementwiseOps` to support inner unit
dimensions.
This change stems from improving lowering of contractionOps for Arm SME.
Where we end up with inner unit dimensions on MulOp, BroadcastOp and
TransposeOp, preventing the generation of outerproducts.
discussed
[here](https://discourse.llvm.org/t/on-improving-arm-sme-lowering-resilience-in-mlir/78543/17?u=nujaa).
---------
Co-authored-by: Benjamin Maxwell <macdue at dueutil.tech>
Commit: ffc51b966e74b89092cd57909d8659756aae106a
https://github.com/llvm/llvm-project/commit/ffc51b966e74b89092cd57909d8659756aae106a
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/AArch64/pr73894.ll
Log Message:
-----------
[LV] Remove loads from null from pr73894.ll test.
Load from null is UB, load from pointer arg instead.
Commit: 105a9f347ac6f59484d29798ac3d116c57080759
https://github.com/llvm/llvm-project/commit/105a9f347ac6f59484d29798ac3d116c57080759
Author: pvanhout <pierre.vanhoutryve at amd.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/mlicm-csr-mask.mir
Log Message:
-----------
[AArch64] Remove -debug flag from mlicm-csr-mask.mir
Commit: 6012de2b4ec24826574fe9f2d74c7d2ff2b52f23
https://github.com/llvm/llvm-project/commit/6012de2b4ec24826574fe9f2d74c7d2ff2b52f23
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/test/Transforms/InstSimplify/compare.ll
Log Message:
-----------
[ValueTracking] Support gep nuw in isKnownNonZero()
gep nuw can be null if and only if both the base pointer and offset
are null. Unlike the inbounds case this does not depend on whether
the null pointer is valid.
Proofs: https://alive2.llvm.org/ce/z/PLoqK5
Commit: 797724975bd5916408d776dcfb959a979778e349
https://github.com/llvm/llvm-project/commit/797724975bd5916408d776dcfb959a979778e349
Author: Danial Klimkin <dklimkin at google.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
Fix bazel build past e2296d8295516e9991cd6ca99ba193fbd232b6da (#96166)
Commit: b18bf8faaef952323c96e4c6b82f25623073fb1c
https://github.com/llvm/llvm-project/commit/b18bf8faaef952323c96e4c6b82f25623073fb1c
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/PassManager.h
M llvm/include/llvm/IR/PassManagerImpl.h
Log Message:
-----------
[NewPM] Move PassManager::run() into Impl.h (NFC)
We use explicit template instantiation for these classes, so there
is no need to have the definition in the header. The places that
instantiate the method will include the PassManagerImpl.h file.
Commit: 6859685a87ad093d60c8bed60b116143c0a684c7
https://github.com/llvm/llvm-project/commit/6859685a87ad093d60c8bed60b116143c0a684c7
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCContext.h
M llvm/lib/CodeGen/MachineBasicBlock.cpp
M llvm/lib/MC/MCContext.cpp
M llvm/test/CodeGen/AArch64/branch-relax-cross-section.mir
M llvm/test/CodeGen/BPF/objdump_cond_op.ll
M llvm/test/CodeGen/BPF/objdump_cond_op_2.ll
Log Message:
-----------
[CodeGen] Use temp symbol for MBBs (#95031)
Internal label names never occur in the symbol table, so when using an
object streamer, there's no point in constructing these names and then
adding them to hash tables -- they are never visible in the output.
It's not possible to reuse createTempSymbol, because on BPF has a
different prefix for globals and basic blocks right now.
Commit: 84428dafc0941e3a31303fa1b286835ab2b8e234
https://github.com/llvm/llvm-project/commit/84428dafc0941e3a31303fa1b286835ab2b8e234
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/MC/MCContext.cpp
Log Message:
-----------
[MC] Fix compilation
Commit: 90779fdc19dc15099231d6ebc39d9d76991d2d43
https://github.com/llvm/llvm-project/commit/90779fdc19dc15099231d6ebc39d9d76991d2d43
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.pops.exiting.wave.id.ll
Log Message:
-----------
[AMDGPU] Preserve chain when selecting llvm.amdgcn.pops.exiting.wave.id (#96167)
Without this SelectionDAG could fail assertions when using the intrinsic
in a non-entry BB.
Commit: 993c12b3177554d7915cde501fe5bddaa95dadae
https://github.com/llvm/llvm-project/commit/993c12b3177554d7915cde501fe5bddaa95dadae
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/www/cxx_dr_status.html
M clang/www/make_cxx_dr_status
Log Message:
-----------
[clang] Change style of superseded issues on C++ DR status page (#96051)
This patch changes how superseded issues inherit the color of the issues
that superseded them. Now they reduce the opacity of the color from 1.0
to 0.65, to make them distinguishable. This was requested during the
review of #94876.
That's how it's going to look:
![a1rYVHQ](https://github.com/llvm/llvm-project/assets/12883766/00e624c0-accb-4440-9f9b-4089a157aab2)
Commit: 89841137fbb3686673b86af3434bf3ba12993d6d
https://github.com/llvm/llvm-project/commit/89841137fbb3686673b86af3434bf3ba12993d6d
Author: Wu Yingcong <yingcong.wu at intel.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M offload/CMakeLists.txt
Log Message:
-----------
[offload][cmake] always define pythonize_bool macro (#96028)
I use the following cmake config to build offload and openmp
```
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="X86" -DLLVM_ENABLE_PROJECTS="clang;openmp" -DLLVM_ENABLE_RUNTIMES="offload" -DLLVM_LIT_ARGS="-vv -a" -DLLVM_ENABLE_ASSERTIONS=ON ../llvm
```
and got the following error:
```
CMake Error at /tmp/build-llvm/llvm/offload/CMakeLists.txt:321 (pythonize_bool):
Unknown CMake command "pythonize_bool".
```
After some search I find out that the "correct" way to build this is
putting openmp and offload to the ENABLE_RUNTIMES like
```
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="X86" -DLLVM_ENABLE_PROJECTS="clang" -DLLVM_ENABLE_RUNTIMES="openmp;offload" -DLLVM_LIT_ARGS="-vv -a" -DLLVM_ENABLE_ASSERTIONS=ON ../llvm
```
.
But since we don't forbid to config them using openmp as PROJECT and
offload as RUNTIME, then we probably support it. The fix is to always
define the pythonize_bool macro. For cmake, it is okay to redefine a
macro, it does not cause a warning or else.
Commit: be339fd99deea6633d35777fee5f60f42236983c
https://github.com/llvm/llvm-project/commit/be339fd99deea6633d35777fee5f60f42236983c
Author: Han-Kuan Chen <hankuan.chen at sifive.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP] NFC. Reduce redundant assignment. (#96149)
Commit: af82e63c28f67bf61a9b2b0e64bc55be4acf520e
https://github.com/llvm/llvm-project/commit/af82e63c28f67bf61a9b2b0e64bc55be4acf520e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/DenseMapInfo.h
Log Message:
-----------
[ADT] DenseMapInfo<unsigned long>::getHashValue - avoid MSVC out of bounds shift warning (#96173)
Fixes MSVC warning after #95734 - despite it taking the `sizeof(Val) == 4` path, it still warns that the 32-bit unsigned long shift by 32 is out of bounds.
Commit: 41c6e4379204ffc00948edd33d59ba5ebbceaba2
https://github.com/llvm/llvm-project/commit/41c6e4379204ffc00948edd33d59ba5ebbceaba2
Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang-tools-extra/test/pp-trace/pp-trace-macro.cpp
M clang/docs/LanguageExtensions.rst
M clang/include/clang/AST/Expr.h
M clang/include/clang/AST/RecursiveASTVisitor.h
M clang/include/clang/AST/TextNodeDumper.h
M clang/include/clang/Basic/DiagnosticCommonKinds.td
M clang/include/clang/Basic/DiagnosticLexKinds.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/FileManager.h
M clang/include/clang/Basic/StmtNodes.td
M clang/include/clang/Basic/TokenKinds.def
M clang/include/clang/Driver/Options.td
M clang/include/clang/Frontend/PreprocessorOutputOptions.h
M clang/include/clang/Lex/PPCallbacks.h
A clang/include/clang/Lex/PPDirectiveParameter.h
A clang/include/clang/Lex/PPEmbedParameters.h
M clang/include/clang/Lex/Preprocessor.h
M clang/include/clang/Lex/PreprocessorOptions.h
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Sema/Sema.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/lib/AST/Expr.cpp
M clang/lib/AST/ExprClassification.cpp
M clang/lib/AST/ExprConstant.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/lib/AST/ItaniumMangle.cpp
M clang/lib/AST/StmtPrinter.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/Basic/FileManager.cpp
M clang/lib/Basic/IdentifierTable.cpp
M clang/lib/CodeGen/CGExprAgg.cpp
M clang/lib/CodeGen/CGExprConstant.cpp
M clang/lib/CodeGen/CGExprScalar.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Frontend/DependencyFile.cpp
M clang/lib/Frontend/DependencyGraph.cpp
M clang/lib/Frontend/InitPreprocessor.cpp
M clang/lib/Frontend/PrintPreprocessedOutput.cpp
M clang/lib/Lex/PPDirectives.cpp
M clang/lib/Lex/PPExpressions.cpp
M clang/lib/Lex/PPMacroExpansion.cpp
M clang/lib/Lex/TokenConcatenation.cpp
M clang/lib/Parse/ParseExpr.cpp
M clang/lib/Parse/ParseInit.cpp
M clang/lib/Parse/ParseTemplate.cpp
M clang/lib/Sema/SemaExceptionSpec.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaInit.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTReaderStmt.cpp
M clang/lib/Serialization/ASTWriterStmt.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
A clang/test/C/C2x/Inputs/bits.bin
A clang/test/C/C2x/Inputs/boop.h
A clang/test/C/C2x/Inputs/i.dat
A clang/test/C/C2x/Inputs/jump.wav
A clang/test/C/C2x/Inputs/s.dat
A clang/test/C/C2x/n3017.c
A clang/test/Preprocessor/Inputs/jk.txt
A clang/test/Preprocessor/Inputs/media/art.txt
A clang/test/Preprocessor/Inputs/media/empty
A clang/test/Preprocessor/Inputs/numbers.txt
A clang/test/Preprocessor/Inputs/single_byte.txt
A clang/test/Preprocessor/embed___has_embed.c
A clang/test/Preprocessor/embed___has_embed_parsing_errors.c
A clang/test/Preprocessor/embed___has_embed_supported.c
A clang/test/Preprocessor/embed_art.c
A clang/test/Preprocessor/embed_codegen.cpp
A clang/test/Preprocessor/embed_constexpr.cpp
A clang/test/Preprocessor/embed_dependencies.c
A clang/test/Preprocessor/embed_ext_compat_diags.c
A clang/test/Preprocessor/embed_feature_test.cpp
A clang/test/Preprocessor/embed_file_not_found_chevron.c
A clang/test/Preprocessor/embed_file_not_found_quote.c
A clang/test/Preprocessor/embed_init.c
A clang/test/Preprocessor/embed_parameter_if_empty.c
A clang/test/Preprocessor/embed_parameter_limit.c
A clang/test/Preprocessor/embed_parameter_offset.c
A clang/test/Preprocessor/embed_parameter_prefix.c
A clang/test/Preprocessor/embed_parameter_suffix.c
A clang/test/Preprocessor/embed_parameter_unrecognized.c
A clang/test/Preprocessor/embed_parsing_errors.c
A clang/test/Preprocessor/embed_path_chevron.c
A clang/test/Preprocessor/embed_path_quote.c
A clang/test/Preprocessor/embed_preprocess_to_file.c
A clang/test/Preprocessor/embed_single_entity.c
A clang/test/Preprocessor/embed_weird.cpp
M clang/test/Preprocessor/init-aarch64.c
M clang/test/Preprocessor/init.c
A clang/test/Preprocessor/single_byte.txt
M clang/tools/libclang/CXCursor.cpp
M clang/www/c_status.html
Log Message:
-----------
Reland [clang][Sema, Lex, Parse] Preprocessor embed in C and C++ (#95802)
This commit implements the entirety of the now-accepted [N3017
-Preprocessor
Embed](https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3017.htm) and
its sister C++ paper [p1967](https://wg21.link/p1967). It implements
everything in the specification, and includes an implementation that
drastically improves the time it takes to embed data in specific
scenarios (the initialization of character type arrays). The mechanisms
used to do this are used under the "as-if" rule, and in general when the
system cannot detect it is initializing an array object in a variable
declaration, will generate EmbedExpr AST node which will be expanded by
AST consumers (CodeGen or constant expression evaluators) or expand
embed directive as a comma expression.
This reverts commit
https://github.com/llvm/llvm-project/commit/682d461d5a231cee54d65910e6341769419a67d7.
---------
Co-authored-by: The Phantom Derpstorm <phdofthehouse at gmail.com>
Co-authored-by: Aaron Ballman <aaron at aaronballman.com>
Co-authored-by: cor3ntin <corentinjabot at gmail.com>
Co-authored-by: H. Vetinari <h.vetinari at gmx.com>
Commit: 3808ba78dea8ef81b108862d795ff21cb463bdb1
https://github.com/llvm/llvm-project/commit/3808ba78dea8ef81b108862d795ff21cb463bdb1
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/fixed-order-recurrence.ll
M llvm/test/Transforms/LoopVectorize/AArch64/induction-costs.ll
M llvm/test/Transforms/LoopVectorize/AArch64/interleaving-reduction.ll
M llvm/test/Transforms/LoopVectorize/AArch64/loop-vectorization-factors.ll
M llvm/test/Transforms/LoopVectorize/AArch64/reduction-recurrence-costs-sve.ll
M llvm/test/Transforms/LoopVectorize/AArch64/scalable-strict-fadd.ll
M llvm/test/Transforms/LoopVectorize/AArch64/streaming-compatible-sve-no-maximize-bandwidth.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-epilog-vect-inloop-reductions.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-epilog-vect-reductions.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-interleaved-accesses.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-select-cmp.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-option.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-widen-phi.ll
M llvm/test/Transforms/LoopVectorize/ARM/mve-reduction-types.ll
M llvm/test/Transforms/LoopVectorize/ARM/mve-selectandorcost.ll
M llvm/test/Transforms/LoopVectorize/ARM/sphinx.ll
M llvm/test/Transforms/LoopVectorize/ARM/tail-fold-multiple-icmps.ll
M llvm/test/Transforms/LoopVectorize/ARM/tail-folding-not-allowed.ll
M llvm/test/Transforms/LoopVectorize/PowerPC/exit-branch-cost.ll
M llvm/test/Transforms/LoopVectorize/RISCV/defaults.ll
M llvm/test/Transforms/LoopVectorize/RISCV/inloop-reduction.ll
M llvm/test/Transforms/LoopVectorize/RISCV/ordered-reduction.ll
M llvm/test/Transforms/LoopVectorize/RISCV/scalable-basics.ll
M llvm/test/Transforms/LoopVectorize/RISCV/select-cmp-reduction.ll
M llvm/test/Transforms/LoopVectorize/X86/cost-model.ll
M llvm/test/Transforms/LoopVectorize/X86/fixed-order-recurrence.ll
M llvm/test/Transforms/LoopVectorize/X86/invariant-store-vectorization.ll
M llvm/test/Transforms/LoopVectorize/X86/load-deref-pred.ll
M llvm/test/Transforms/LoopVectorize/X86/pr72969.ll
M llvm/test/Transforms/LoopVectorize/X86/reduction-fastmath.ll
M llvm/test/Transforms/LoopVectorize/X86/x86-predication.ll
M llvm/test/Transforms/LoopVectorize/dead_instructions.ll
M llvm/test/Transforms/LoopVectorize/epilog-vectorization-any-of-reductions.ll
M llvm/test/Transforms/LoopVectorize/epilog-vectorization-reductions.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-complex.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence.ll
M llvm/test/Transforms/LoopVectorize/fix-reduction-dbg.ll
M llvm/test/Transforms/LoopVectorize/if-pred-non-void.ll
M llvm/test/Transforms/LoopVectorize/if-pred-stores.ll
M llvm/test/Transforms/LoopVectorize/induction.ll
M llvm/test/Transforms/LoopVectorize/interleaved-accesses.ll
M llvm/test/Transforms/LoopVectorize/invariant-store-vectorization-2.ll
M llvm/test/Transforms/LoopVectorize/invariant-store-vectorization.ll
M llvm/test/Transforms/LoopVectorize/reduction-align.ll
M llvm/test/Transforms/LoopVectorize/reduction-inloop-cond.ll
M llvm/test/Transforms/LoopVectorize/reduction-odd-interleave-counts.ll
M llvm/test/Transforms/LoopVectorize/reduction-small-size.ll
M llvm/test/Transforms/LoopVectorize/reduction.ll
M llvm/test/Transforms/LoopVectorize/scalable-reduction-inloop.ll
M llvm/test/Transforms/LoopVectorize/select-cmp-predicated.ll
M llvm/test/Transforms/LoopVectorize/select-cmp.ll
M llvm/test/Transforms/PhaseOrdering/AArch64/hoist-runtime-checks.ll
Log Message:
-----------
[VPlan] Model middle block via VPIRBasicBlock. (#95816)
Use VPIRBasicBlock to wrap the middle block and implement patching up
branches in predecessors in VPIRBasicBlock::execute. The IR middle block
is only created after skeleton creation. Initially a regular
VPBasicBlock is created, which will later be replaced by a
VPIRBasicBlock once the middle IR basic block has been created.
Note that this slightly changes the order of instructions created in the
middle block; code generated by recipe execution in the middle block
will now be inserted before the terminator (and in between the compare
to used by the terminator). The original order will be restored in
https://github.com/llvm/llvm-project/pull/92651.
PR: https://github.com/llvm/llvm-project/pull/95816
Commit: 7f09aa9e3670778217a3d61702a4cf3343e6449d
https://github.com/llvm/llvm-project/commit/7f09aa9e3670778217a3d61702a4cf3343e6449d
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/test/Analysis/ScalarEvolution/flags-from-poison.ll
Log Message:
-----------
[SCEV] Transfer gep nusw and nuw flags
nusw implies nsw offset and nuw base+offset arithmetic if offset
is non-negative. nuw implies nuw offset and base+offset arithmetic.
As usual, we can only transfer is poison implies UB.
Commit: 4abbf99579633d70bdecb9876cbed319ce9f546a
https://github.com/llvm/llvm-project/commit/4abbf99579633d70bdecb9876cbed319ce9f546a
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M flang/lib/Lower/ConvertType.cpp
M flang/lib/Lower/HostAssociations.cpp
M flang/lib/Optimizer/Builder/MutableBox.cpp
A flang/test/Lower/HLFIR/assumed-rank-internal-proc.f90
Log Message:
-----------
[flang] lower assumed-ranks captured in internal procedures (#96106)
Note: the added test fails because it needs the `associateMutableBox`
change from https://github.com/llvm/llvm-project/pull/96082. I will
rebase this PR once the other is merged.
Commit: 9ddf3b835c4c0f1d73ace1e2af1e05ec4bce865d
https://github.com/llvm/llvm-project/commit/9ddf3b835c4c0f1d73ace1e2af1e05ec4bce865d
Author: Fabian Mora <fmora.dev at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M mlir/docs/Dialects/GPU.md
M mlir/include/mlir/Config/mlir-config.h.cmake
M mlir/include/mlir/Conversion/Passes.td
M mlir/include/mlir/Dialect/GPU/Transforms/Passes.h
M mlir/include/mlir/Dialect/GPU/Transforms/Utils.h
M mlir/lib/Dialect/GPU/CMakeLists.txt
R mlir/lib/Dialect/GPU/Transforms/SerializeToBlob.cpp
R mlir/lib/Dialect/GPU/Transforms/SerializeToHsaco.cpp
M mlir/tools/mlir-opt/mlir-opt.cpp
Log Message:
-----------
[mlir][gpu] Remove old GPU serialization passes (#94998)
This patch removes the last vestiges of the old gpu serialization
pipeline. To compile GPU code use target attributes instead.
See [Compilation overview | 'gpu' Dialect - MLIR
docs](https://mlir.llvm.org/docs/Dialects/GPU/#compilation-overview) for
additional information on the target attributes compilation pipeline
that replaced the old serialization pipeline.
Commit: b6c9dcc9f57b870645cb44155dc5993ec551320a
https://github.com/llvm/llvm-project/commit/b6c9dcc9f57b870645cb44155dc5993ec551320a
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstrArithmetic.td
M llvm/test/CodeGen/X86/apx/adc.ll
M llvm/test/CodeGen/X86/apx/add.ll
M llvm/test/CodeGen/X86/apx/and.ll
M llvm/test/CodeGen/X86/apx/or.ll
M llvm/test/CodeGen/X86/apx/xor.ll
Log Message:
-----------
[X86][CodeGen] Not emit mr_ND if rr_ND is commutable
This gives us more chance to compress instruction in X86CompressEVEX.cpp
b/c mr_ND is not a candidate of instructions to be compressed while
rm_ND is.
Commit: 8f90258a5140bfb7b4d7f0fd503a9e659d79ba77
https://github.com/llvm/llvm-project/commit/8f90258a5140bfb7b4d7f0fd503a9e659d79ba77
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M flang/lib/Lower/ConvertVariable.cpp
A flang/test/Lower/HLFIR/assumed-rank-entry.f90
Log Message:
-----------
[flang] implement assumed-rank in ENTRY (#96111)
With `createUnallocatedBox` utility change from #96106 , the TODO for assumed-rank in entry
can simply be lifted and test is added.
The key is that a unallocated assumed-rank descriptor is created with
rank zero in the entry where an assumed-rank dummy from some other entry
do not appear as a dummy (the symbol must still be mapped to some valid
value because the symbol could be used in code that would be unreachable
at runtime, but that the compiler must still generate).
Commit: 724d903e03aaf7ee7d4bcdf3cd9fe1e1bda33f9a
https://github.com/llvm/llvm-project/commit/724d903e03aaf7ee7d4bcdf3cd9fe1e1bda33f9a
Author: PeterChou1 <peter.chou at mail.utoronto.ca>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
A clang-tools-extra/test/clang-doc/single-source-html.cpp
Log Message:
-----------
[clang-doc] Add --asset option to clang-doc (#94717)
Adds a new option --asset which allows users to specify the asset
folder for the html output of clang-doc.
Commit: 33c9331a9279d5d7f72afbac43de7f7da2ab63ed
https://github.com/llvm/llvm-project/commit/33c9331a9279d5d7f72afbac43de7f7da2ab63ed
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.pops.exiting.wave.id.ll
Log Message:
-----------
[AMDGPU] Precommit a test for llvm.amdgcn.pops.exiting.wave.id
Commit: b608b223ab152bb84c8f28a4a1184f9033c99560
https://github.com/llvm/llvm-project/commit/b608b223ab152bb84c8f28a4a1184f9033c99560
Author: Mital Ashok <mital at mitalashok.co.uk>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaExceptionSpec.cpp
M clang/test/SemaCXX/cxx0x-noexcept-expression.cpp
Log Message:
-----------
[Clang] [Sema] Ensure noexcept(typeid(E)) checks if E throws when needed (#95846)
3ad31e12ccfc7db25f3cbedc4ee966e7099ac78f changed it so that not all
potentially-evaluated `typeid`s were marked as potentially-throwing, but
I forgot to check the subexpression if the null check of the `typeid`
didn't potentially-throw. This adds that check.
Commit: 93ce8e10870429695a6a1aa8f16446ec1b042445
https://github.com/llvm/llvm-project/commit/93ce8e10870429695a6a1aa8f16446ec1b042445
Author: Thomas Preud'homme <thomas.preudhomme at arm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M mlir/lib/Interfaces/Utils/InferIntRangeCommon.cpp
Log Message:
-----------
Fix Android build failure in InferIntRangeCommon (#96154)
As of today, Android's libcxx is missing C++17's std::function's CTAD
added in e1eabcdfad89f67ae575b0c86aa4a72d277378b4. This leads to
InferIntRangeCommon.cpp to fail to compile. This commit makes the
template parameter of std::function in that function explicit, therefore
avoiding CTAD. While LLVM/MLIR's requirement is C++17, the rest of the
code builds fine so hopefully this is acceptable.
Commit: 290a939fc3a09b00fbda1dc655bb6373d878e18d
https://github.com/llvm/llvm-project/commit/290a939fc3a09b00fbda1dc655bb6373d878e18d
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/test/Analysis/ScalarEvolution/flags-from-poison.ll
Log Message:
-----------
[SCEV] Handle nusw/nuw gep flags for addrecs
Set the nw flag is gep has any nowrap flags. Transfer the nuw
flag. Also set nuw for the nusw + nneg combination.
Commit: b84323cca9e2c7049c0aec92a45911742822b40e
https://github.com/llvm/llvm-project/commit/b84323cca9e2c7049c0aec92a45911742822b40e
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C11] Remove N1350 and N1394 from the list of documents on the C status page
These papers added Annex K, which is a library component that Clang
doesn't need to do anything to support.
Commit: ace069d7c5882431d1fd72c5c297ec2508d20fb0
https://github.com/llvm/llvm-project/commit/ace069d7c5882431d1fd72c5c297ec2508d20fb0
Author: Shan Huang <52285902006 at stu.ecnu.edu.cn>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp
A llvm/test/Transforms/TailCallElim/dropping_debugloc_acc_rec_inst_rnew.ll
Log Message:
-----------
[DebugInfo][TailCallElim] Drop the debug location of AccRecInstrNew (#95742)
Fix #95731 .
Commit: 40a0ad2af3b6305fbabec003e51dad62564aa019
https://github.com/llvm/llvm-project/commit/40a0ad2af3b6305fbabec003e51dad62564aa019
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C11] Claim conformance to WG14 N3159
This was a roll-up of defect reports that we already test elsewhere, so
no additional test coverage is needed.
DR345: tested by clang/test/C/drs/dr3xx.c
DR344: tested by clang/test/C/drs/dr3xx.c
DR343: tested by clang/test/C/drs/dr3xx.c
DR341: tested by clang/test/C/drs/dr3xx.c
DR340: tested by clang/test/C/drs/dr3xx.c
DR338: tested by clang/test/C/drs/dr338.c
DR336: N/A for the compiler
DR330: N/A for the compiler
DR329: N/A for the compiler
DR328: tested by clang/test/C/drs/dr3xx.c
DR327: editorial
DR326: N/A for the compiler
DR315: tested by clang/test/C/drs/dr3xx.c
Commit: fa6d38d61afff695357977853ec17d0b7cc8e975
https://github.com/llvm/llvm-project/commit/fa6d38d61afff695357977853ec17d0b7cc8e975
Author: Tomas Matheson <Tomas.Matheson at arm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/include/clang/Basic/TargetInfo.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Basic/Targets/AArch64.h
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/Targets/AArch64.cpp
M clang/test/CodeGen/aarch64-fmv-dependencies.c
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/Target/AArch64/AArch64.td
A llvm/lib/Target/AArch64/AArch64FMV.td
M llvm/lib/Target/AArch64/AArch64Features.td
M llvm/lib/TargetParser/AArch64TargetParser.cpp
M llvm/unittests/TargetParser/TargetParserTest.cpp
M llvm/utils/TableGen/ARMTargetDefEmitter.cpp
Log Message:
-----------
[AArch64][TargetParser] Split FMV and extensions (#92882)
FMV extensions are really just mappings from FMV feature names to lists
of backend features for codegen. Split them out into their own separate
file.
Commit: 2ae6889d3f6c6bbe8390d6b1686c6583492b44a2
https://github.com/llvm/llvm-project/commit/2ae6889d3f6c6bbe8390d6b1686c6583492b44a2
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/docs/GlobalISel/GenericOpcode.rst
M llvm/include/llvm/Support/TargetOpcodes.def
M llvm/include/llvm/Target/GenericOpcodes.td
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
M llvm/lib/Target/SPIRV/SPIRVLegalizerInfo.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/acos.ll
A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/asin.ll
A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/atan.ll
A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/cosh.ll
A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/sinh.ll
A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/tanh.ll
Log Message:
-----------
[SPIRV] Add trig function lowering (#95973)
This change is part of this proposal:
https://discourse.llvm.org/t/rfc-all-the-math-intrinsics/78294
This is part 2 of 4 PRs. It sets the ground work for adding the
intrinsics.
Add SPIRV Lower for `acos`, `asin`, `atan`, `cosh`, `sinh`, and `tanh`
https://github.com/llvm/llvm-project/issues/70079
https://github.com/llvm/llvm-project/issues/70080
https://github.com/llvm/llvm-project/issues/70081
https://github.com/llvm/llvm-project/issues/70083
https://github.com/llvm/llvm-project/issues/70084
https://github.com/llvm/llvm-project/issues/95966
There isn't any aarch64 change in this pr, but when you add a target
opcode it is visible in there validaiton tests.
Commit: 67f5312c41a072aaa725b5943cce2aa0f1643781
https://github.com/llvm/llvm-project/commit/67f5312c41a072aaa725b5943cce2aa0f1643781
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/lib/AST/Interp/ByteCodeStmtGen.cpp
M clang/lib/AST/Interp/Interp.h
M clang/test/AST/Interp/records.cpp
M clang/test/SemaCXX/uninitialized.cpp
Log Message:
-----------
[clang][Interp] Nested ThisExprs that don't refer to the frame this ptr
Use a series of ops in that case, getting us to the right declaration
field.
Commit: 3e55ac94c7502d69c71bda0948a8353a6622da6e
https://github.com/llvm/llvm-project/commit/3e55ac94c7502d69c71bda0948a8353a6622da6e
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/mul.ll
M llvm/test/CodeGen/RISCV/rv32xtheadba.ll
M llvm/test/CodeGen/RISCV/rv32zba.ll
M llvm/test/CodeGen/RISCV/rv64-legal-i32/rv64zba.ll
M llvm/test/CodeGen/RISCV/rv64xtheadba.ll
M llvm/test/CodeGen/RISCV/rv64zba.ll
M llvm/test/CodeGen/RISCV/rvv/calling-conv-fastcc.ll
M llvm/test/CodeGen/RISCV/rvv/extract-subvector.ll
M llvm/test/CodeGen/RISCV/rvv/mscatter-combine.ll
M llvm/test/CodeGen/RISCV/rvv/setcc-fp-vp.ll
M llvm/test/CodeGen/RISCV/rvv/stepvector.ll
M llvm/test/CodeGen/RISCV/srem-seteq-illegal-types.ll
M llvm/test/CodeGen/RISCV/urem-vector-lkk.ll
Log Message:
-----------
[RISCV] Strength reduce mul by 2^N - 2^M (#88983)
This is a three instruction expansion, and does not depend on zba, so
most of the test changes are in base RV32/64I configurations.
With zba, this gets immediates such as 14, 28, 30, 56, 60, 62.. which
aren't covered by our other expansions.
Commit: 2e515ed60a6d63610a7b0d485158ca4d32f9cbce
https://github.com/llvm/llvm-project/commit/2e515ed60a6d63610a7b0d485158ca4d32f9cbce
Author: Balázs Kéri <balazs.keri at ericsson.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/docs/analyzer/checkers.rst
Log Message:
-----------
[clang] Move 'alpha.cplusplus.MisusedMovedObject' to 'cplusplus.Move' in documentation (NFC) (#95003)
The checker was renamed at some time ago but the documentation was not
updated. The section is now just moved and renamed. The documentation is
still very simple and needs improvement.
Commit: 67226bad150785f64efcf53c79b7785d421fc8eb
https://github.com/llvm/llvm-project/commit/67226bad150785f64efcf53c79b7785d421fc8eb
Author: Alexandre Ganea <aganea at havenstudios.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/CMakeLists.txt
M llvm/docs/CMake.rst
M llvm/docs/ReleaseNotes.rst
M llvm/lib/Support/CMakeLists.txt
A llvm/lib/Support/rpmalloc/CACHE.md
A llvm/lib/Support/rpmalloc/README.md
A llvm/lib/Support/rpmalloc/malloc.c
A llvm/lib/Support/rpmalloc/rpmalloc.c
A llvm/lib/Support/rpmalloc/rpmalloc.h
A llvm/lib/Support/rpmalloc/rpnew.h
M llvm/utils/release/build_llvm_release.bat
Log Message:
-----------
[Support] Vendor rpmalloc in-tree and use it for the Windows 64-bit release (#91862)
### Context
We have a longstanding performance issue on Windows, where to this day,
the default heap allocator is still lockfull. With the number of cores
increasing, building and using LLVM with the default Windows heap
allocator is sub-optimal. Notably, the ThinLTO link times with LLD are
extremely long, and increase proportionally with the number of cores in
the machine.
In
https://github.com/llvm/llvm-project/commit/a6a37a2fcd2a8048a75bd0d8280497ed89d73224,
I introduced the ability build LLVM with several popular lock-free
allocators. Downstream users however have to build their own toolchain
with this option, and building an optimal toolchain is a bit tedious and
long. Additionally, LLVM is now integrated into Visual Studio, which
AFAIK re-distributes the vanilla LLVM binaries/installer. The point
being that many users are impacted and might not be aware of this
problem, or are unable to build a more optimal version of the toolchain.
The symptom before this PR is that most of the CPU time goes to the
kernel (darker blue) when linking with ThinLTO:
![16c_ryzen9_windows_heap](https://github.com/llvm/llvm-project/assets/37383324/86c3f6b9-6028-4c1a-ba60-a2fa3876fba7)
With this PR, most time is spent in user space (light blue):
![16c_ryzen9_rpmalloc](https://github.com/llvm/llvm-project/assets/37383324/646b88f3-5b6d-485d-a2e4-15b520bdaf5b)
On higher core count machines, before this PR, the CPU usage becomes
pretty much flat because of contention:
<img width="549" alt="VM_176_windows_heap"
src="https://github.com/llvm/llvm-project/assets/37383324/f27d5800-ee02-496d-a4e7-88177e0727f0">
With this PR, similarily most CPU time is now used:
<img width="549" alt="VM_176_with_rpmalloc"
src="https://github.com/llvm/llvm-project/assets/37383324/7d4785dd-94a7-4f06-9b16-aaa4e2e505c8">
### Changes in this PR
The avenue I've taken here is to vendor/re-licence rpmalloc in-tree, and
use it when building the Windows 64-bit release. Given the permissive
rpmalloc licence, prior discussions with the LLVM foundation and
@lattner suggested this vendoring. Rpmalloc's author (@mjansson) kindly
agreed to ~~donate~~ re-licence the rpmalloc code in LLVM (please do
correct me if I misinterpreted our past communications).
I've chosen rpmalloc because it's small and gives the best value
overall. The source code is only 4 .c files. Rpmalloc is statically
replacing the weak CRT alloc symbols at link time, and has no dynamic
patching like mimalloc. As an alternative, there were several
unsuccessfull attempts made by Russell Gallop to use SCUDO in the past,
please see thread in https://reviews.llvm.org/D86694. If later someone
comes up with a PR of similar performance that uses SCUDO, we could then
delete this vendored rpmalloc folder.
I've added a new cmake flag `LLVM_ENABLE_RPMALLOC` which essentialy sets
`LLVM_INTEGRATED_CRT_ALLOC` to the in-tree rpmalloc source.
### Performance
The most obvious test is profling a ThinLTO linking step with LLD. I've
used a Clang compilation as a testbed, ie.
```
set OPTS=/GS- /D_ITERATOR_DEBUG_LEVEL=0 -Xclang -O3 -fstrict-aliasing -march=native -flto=thin -fwhole-program-vtables -fuse-ld=lld
cmake -G Ninja %ROOT%/llvm -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=TRUE -DLLVM_ENABLE_PROJECTS="clang" -DLLVM_ENABLE_PDB=ON -DLLVM_OPTIMIZED_TABLEGEN=ON -DCMAKE_C_COMPILER=clang-cl.exe -DCMAKE_CXX_COMPILER=clang-cl.exe -DCMAKE_LINKER=lld-link.exe -DLLVM_ENABLE_LLD=ON -DCMAKE_CXX_FLAGS="%OPTS%" -DCMAKE_C_FLAGS="%OPTS%" -DLLVM_ENABLE_LTO=THIN
```
I've profiled the linking step with no LTO cache, with Powershell, such
as:
```
Measure-Command { lld-link /nologo @CMakeFiles\clang.rsp /out:bin\clang.exe /implib:lib\clang.lib /pdb:bin\clang.pdb /version:0.0 /machine:x64 /STACK:10000000 /DEBUG /OPT:REF /OPT:ICF /INCREMENTAL:NO /subsystem:console /MANIFEST:EMBED,ID=1 }`
```
Timings:
| Machine | Allocator | Time to link |
|--------|--------|--------|
| 16c/32t AMD Ryzen 9 5950X | Windows Heap | 10 min 38 sec |
| | **Rpmalloc** | **4 min 11 sec** |
| 32c/64t AMD Ryzen Threadripper PRO 3975WX | Windows Heap | 23 min 29
sec |
| | **Rpmalloc** | **2 min 11 sec** |
| | **Rpmalloc + /threads:64** | **1 min 50 sec** |
| 176 vCPU (2 socket) Intel Xeon Platinium 8481C (fixed clock 2.7 GHz) |
Windows Heap | 43 min 40 sec |
| | **Rpmalloc** | **1 min 45 sec** |
This also improves the overall performance when building with clang-cl.
I've profiled a regular compilation of clang itself, ie:
```
set OPTS=/GS- /D_ITERATOR_DEBUG_LEVEL=0 /arch:AVX -fuse-ld=lld
cmake -G Ninja %ROOT%/llvm -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=TRUE -DLLVM_ENABLE_PROJECTS="clang;lld" -DLLVM_ENABLE_PDB=ON -DLLVM_OPTIMIZED_TABLEGEN=ON -DCMAKE_C_COMPILER=clang-cl.exe -DCMAKE_CXX_COMPILER=clang-cl.exe -DCMAKE_LINKER=lld-link.exe -DLLVM_ENABLE_LLD=ON -DCMAKE_CXX_FLAGS="%OPTS%" -DCMAKE_C_FLAGS="%OPTS%"
```
This saves approx. 30 sec when building on the Threadripper PRO 3975WX:
```
(default Windows Heap)
C:\src\git\llvm-project>hyperfine -r 5 -p "make_llvm.bat stage1_test2" "ninja clang -C stage1_test2"
Benchmark 1: ninja clang -C stage1_test2
Time (mean ± σ): 392.716 s ± 3.830 s [User: 17734.025 s, System: 1078.674 s]
Range (min … max): 390.127 s … 399.449 s 5 runs
(rpmalloc)
C:\src\git\llvm-project>hyperfine -r 5 -p "make_llvm.bat stage1_test2" "ninja clang -C stage1_test2"
Benchmark 1: ninja clang -C stage1_test2
Time (mean ± σ): 360.824 s ± 1.162 s [User: 15148.637 s, System: 905.175 s]
Range (min … max): 359.208 s … 362.288 s 5 runs
```
Commit: e3eb12cce97fa75d1d2443bcc2c2b26aa660fe34
https://github.com/llvm/llvm-project/commit/e3eb12cce97fa75d1d2443bcc2c2b26aa660fe34
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/include/clang/Basic/Builtins.def
M clang/include/clang/Basic/BuiltinsAMDGPU.def
M clang/lib/AST/ASTContext.cpp
M clang/lib/CodeGen/CGBuiltin.cpp
A clang/test/CodeGenHIP/builtins-make-buffer-rsrc.hip
A clang/test/CodeGenOpenCL/builtins-amdgcn-make-buffer-rsrc.cl
Log Message:
-----------
[Clang][AMDGPU] Add a builtin for `llvm.amdgcn.make.buffer.rsrc` intrinsic (#95276)
Depends on https://github.com/llvm/llvm-project/pull/94830.
Commit: d4bfc4a821dfcb1bc2445dc21c30eacdb7b90197
https://github.com/llvm/llvm-project/commit/d4bfc4a821dfcb1bc2445dc21c30eacdb7b90197
Author: Anton Sidorenko <anton.sidorenko at syntacore.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVSchedSyntacoreSCR1.td
Log Message:
-----------
[RISCV][NFC] Cleanup SCR1 sched model (#96088)
Related to https://github.com/llvm/llvm-project/pull/95948
Commit: abad8455ab08d4ca25b893e6a4605c1abe4aac02
https://github.com/llvm/llvm-project/commit/abad8455ab08d4ca25b893e6a4605c1abe4aac02
Author: Jonas Rickert <semi1 at posteo.de>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M mlir/include/mlir-c/IR.h
M mlir/lib/Bindings/Python/IRCore.cpp
M mlir/lib/Bindings/Python/IRModule.h
M mlir/lib/CAPI/IR/IR.cpp
M mlir/python/mlir/_mlir_libs/_mlir/ir.pyi
M mlir/test/CAPI/ir.c
M mlir/test/python/ir/operation.py
Log Message:
-----------
[mlir] Expose skipRegions option for Op printing in the C and Python bindings (#96150)
The MLIR C and Python Bindings expose various methods from
`mlir::OpPrintingFlags` . This PR adds a binding for the `skipRegions`
method, which allows to skip the printing of Regions when printing Ops.
It also exposes this option as parameter in the python `get_asm` and
`print` methods
Commit: f1ce6a465d09f9527151f2f36c19072d2091cbaa
https://github.com/llvm/llvm-project/commit/f1ce6a465d09f9527151f2f36c19072d2091cbaa
Author: Nick Desaulniers (paternity leave) <nickdesaulniers at users.noreply.github.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/arm/headers.txt
M libc/config/linux/arm/entrypoints.txt
M libc/config/linux/arm/headers.txt
M libc/include/llvm-libc-types/jmp_buf.h
M libc/include/setjmp.h.def
A libc/src/setjmp/arm/CMakeLists.txt
A libc/src/setjmp/arm/longjmp.cpp
A libc/src/setjmp/arm/setjmp.cpp
Log Message:
-----------
[libc][arm] implement a basic setjmp/longjmp (#93220)
Note: our baremetal arm configuration compiles this as
`--target=arm-none-eabi`, so this code is built in -marm mode. It could be
smaller with `--target=armv7-none-eabi -mthumb`. The assembler is valid ARMv5,
or THUMB2, but not THUMB(1).
Commit: bed2eb64de05d0e1f5a8494e8c0f44b24d41dd18
https://github.com/llvm/llvm-project/commit/bed2eb64de05d0e1f5a8494e8c0f44b24d41dd18
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/GenericDomTreeConstruction.h
Log Message:
-----------
[GenericDomTreeConstruction] Use SmallVector (NFC) (#96138)
The use of SmallVector here saves 4.7% of heap allocations during the
compilation of ConvertExpr.cpp.ii, a preprocessed version of
flang/lib/Lower/ConvertExpr.cpp.
Commit: 898b8a42b5fde2738da46ec9f5b427693bc681a1
https://github.com/llvm/llvm-project/commit/898b8a42b5fde2738da46ec9f5b427693bc681a1
Author: Zaara Syeda <syzaara at ca.ibm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCRegisterInfo.td
M llvm/test/CodeGen/PowerPC/ppc64-anyregcc.ll
Log Message:
-----------
[PPC] Add DwarfRegAlias for VSRPair (#95837)
Add DwarfRegAlias for VSRPair as it shares dwarfRegNum with the VR
registers.
Commit: 037a9a754a79af2d501786b8b88a5416446d7186
https://github.com/llvm/llvm-project/commit/037a9a754a79af2d501786b8b88a5416446d7186
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/docs/ReleaseNotes.rst
M llvm/lib/Target/AArch64/AArch64Features.td
M llvm/lib/Target/AArch64/AArch64Processors.td
M llvm/unittests/TargetParser/TargetParserTest.cpp
Log Message:
-----------
[llvm][AArch64] SVE2 is an optional feature in ARMv9.0a (#96007)
... so move it out of the `implied_features` list, and into the
`DefaultExts` list.
Commit: 49ae2dcf369e0fd76e4bb18f1c84e6716ff0ec4b
https://github.com/llvm/llvm-project/commit/49ae2dcf369e0fd76e4bb18f1c84e6716ff0ec4b
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
M lld/COFF/Driver.cpp
M lld/COFF/SymbolTable.cpp
M lld/ELF/InputFiles.cpp
M llvm/include/llvm/IR/PassManager.h
M llvm/include/llvm/IR/PassManagerImpl.h
M llvm/lib/Analysis/PHITransAddr.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/LTO/LTO.cpp
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
M llvm/lib/Transforms/IPO/ConstantMerge.cpp
M llvm/tools/llvm-as/llvm-as.cpp
M llvm/tools/opt/optdriver.cpp
Log Message:
-----------
[PassManager] Remove some unnecessary includes (NFC) (#96175)
SmallPtrSet.h and TimeProfiler.h are unused. CommandLine.h is only
needed for the UseNewDbgInfoFormat declare, which can be moved to the
places that need it.
Commit: 8e0cd7382adacd8bc1741dc26bc0be6bdf8e238a
https://github.com/llvm/llvm-project/commit/8e0cd7382adacd8bc1741dc26bc0be6bdf8e238a
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64Subtarget.h
M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
M llvm/test/CodeGen/AArch64/intrinsic-cttz-elts-sve.ll
M llvm/test/CodeGen/AArch64/sme-intrinsics-mova-extract.ll
M llvm/test/CodeGen/AArch64/sme-intrinsics-mova-insert.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-and-combine.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bit-counting.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bitcast.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bitselect.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-build-vector.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-concat.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ext-loads.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-extract-subvector.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-extract-vector-elt.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fcopysign.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-arith.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-compares.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-convert.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-extend-trunc.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-minmax.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-rounding.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-select.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-vselect.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-arith.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-compares.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-div.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-extends.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-immediates.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-log.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-minmax.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-mul.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-mulh.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-reduce.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-rem.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-select.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-shifts.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-vselect.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ld2-alloca.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-limit-duplane.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-loads.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-log-reduce.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-masked-gather-scatter.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-optimize-ptrue.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-permute-rev.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-permute-zip-uzp-trn.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ptest.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-rev.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-sdiv-pow2.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-shuffle.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-stores.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-subvector.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-trunc-stores.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-trunc.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-vector-shuffle.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-test-register-mov.ll
Log Message:
-----------
[AArch64] Consider runtime mode when deciding to use SVE for fixed-length vectors. (#96081)
This also fixes the case where an SVE div is incorrectly to be assumed
available in non-streaming mode with SME.
Commit: af6acd7442646fde56de919964bd52d7bb7922b2
https://github.com/llvm/llvm-project/commit/af6acd7442646fde56de919964bd52d7bb7922b2
Author: hdoc <68132204+hdoc at users.noreply.github.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/CommentCommandTraits.h
M clang/include/clang/AST/CommentCommands.td
M clang/include/clang/AST/CommentParser.h
M clang/lib/AST/CommentParser.cpp
M clang/test/Index/comment-misc-tags.m
M clang/unittests/AST/CommentParser.cpp
M clang/utils/TableGen/ClangCommentCommandInfoEmitter.cpp
Log Message:
-----------
[Clang][Comments] Support for parsing headers in Doxygen \par commands (#91100)
### Background
Doxygen's `\par` command
([link](https://www.doxygen.nl/manual/commands.html#cmdpar)) has an
optional argument, which denotes the header of the paragraph started by
a given `\par` command.
In short, the paragraph command can be used with a heading, or without
one. The code block below shows both forms and how the current version
of LLVM/Clang parses this code:
```
$ cat test.cpp
/// \par User defined paragraph:
/// Contents of the paragraph.
///
/// \par
/// New paragraph under the same heading.
///
/// \par
/// A second paragraph.
class A {};
$ clang++ -cc1 -ast-dump -fcolor-diagnostics -std=c++20 test.cpp
`-CXXRecordDecl 0x1530f3a78 <test.cpp:11:1, col:10> col:7 class A definition
|-FullComment 0x1530fea38 <line:2:4, line:9:23>
| |-ParagraphComment 0x1530fe7e0 <line:2:4>
| | `-TextComment 0x1530fe7b8 <col:4> Text=" "
| |-BlockCommandComment 0x1530fe800 <col:5, line:3:30> Name="par"
| | `-ParagraphComment 0x1530fe878 <line:2:9, line:3:30>
| | |-TextComment 0x1530fe828 <line:2:9, col:32> Text=" User defined paragraph:"
| | `-TextComment 0x1530fe848 <line:3:4, col:30> Text=" Contents of the paragraph."
| |-ParagraphComment 0x1530fe8c0 <line:5:4>
| | `-TextComment 0x1530fe898 <col:4> Text=" "
| |-BlockCommandComment 0x1530fe8e0 <col:5, line:6:41> Name="par"
| | `-ParagraphComment 0x1530fe930 <col:4, col:41>
| | `-TextComment 0x1530fe908 <col:4, col:41> Text=" New paragraph under the same heading."
| |-ParagraphComment 0x1530fe978 <line:8:4>
| | `-TextComment 0x1530fe950 <col:4> Text=" "
| `-BlockCommandComment 0x1530fe998 <col:5, line:9:23> Name="par"
| `-ParagraphComment 0x1530fe9e8 <col:4, col:23>
| `-TextComment 0x1530fe9c0 <col:4, col:23> Text=" A second paragraph."
`-CXXRecordDecl 0x1530f3bb0 <line:11:1, col:7> col:7 implicit class A
```
As we can see above, the optional paragraph heading (`"User defined
paragraph"`) is not an argument of the `\par` `BlockCommandComment`, but
instead a child `TextComment`.
For documentation generators like [hdoc](https://hdoc.io/), it would be
ideal if we could parse Doxygen documentation comments with these
semantics in mind. Currently that's not possible.
### Change
This change parses `\par` command according to how Doxygen parses them,
making an optional header available as a an argument if it is present.
In addition:
- AST unit tests are defined to test this functionality when an argument
is present, isn't present, with additional spacing, etc.
- TableGen is updated with an `IsParCommand` to support this
functionality
- `lit` tests are updated where needed
Commit: 651d44d3dac68192bc4fa37a53e13ae3211c9de0
https://github.com/llvm/llvm-project/commit/651d44d3dac68192bc4fa37a53e13ae3211c9de0
Author: Daniel Otero <danielotero at users.noreply.github.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/lib/Headers/CMakeLists.txt
Log Message:
-----------
[clang] Fix missing installed header (#95979)
Since commit 8d468c132eed7ffe34d601b224220efd51655eb3, the header
`openmp_wrappers/complex` is hidden behind `openmp_wrappers/complex.h`
due to a bug in CMake[^1], so is not actually installed.
To test the issue, you can ask `ninja` to generate the file on your
build:
```
$ ninja lib/clang/19/include/openmp_wrappers/complex.h
[199/199] Copying clang's openmp_wrappers/complex.h...
$ ninja lib/clang/19/include/openmp_wrappers/complex
ninja: error: unknown target 'lib/clang/19/include/openmp_wrappers/complex', did you mean 'lib/clang/19/include/openmp_wrappers/complex.h'?
```
Re-ordering the entries workarounds the issue. The other option is to
revert the cited commit, but I'm not sure which approach is preferred.
CC @etcwilde @jdoerfert
[^1]: [Here](https://gitlab.kitware.com/cmake/cmake/-/issues/26058) is
the CMake report on the issue.
Commit: c07be08df5731dac0b36e029a0dd03ccb099deea
https://github.com/llvm/llvm-project/commit/c07be08df5731dac0b36e029a0dd03ccb099deea
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/AArch64/conditional-branches-cost.ll
Log Message:
-----------
[LV] Add tail folding test with scalarized store and wide header mask.
Add additional test with salarized store which caused crashes with
earlier versions of https://github.com/llvm/llvm-project/pull/92555.
Commit: 242cc200ccb24e22eaf54aed7b0b0c84cfc54c0b
https://github.com/llvm/llvm-project/commit/242cc200ccb24e22eaf54aed7b0b0c84cfc54c0b
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/lib/Transforms/Vectorize/VPlanValue.h
M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
Log Message:
-----------
Recommit "[VPlan] First step towards VPlan cost modeling. (#92555)"
This reverts commit 6f538f6a2d3224efda985e9eb09012fa4275ea92.
Extra tests for crashes discovered when building Chromium have been
added in fb86cb7ec157689e, 3be7312f81ad2.
Original message:
This adds a new interface to compute the cost of recipes, VPBasicBlocks,
VPRegionBlocks and VPlan, initially falling back to the legacy cost model
for all recipes. Follow-up patches will gradually migrate recipes to
compute their own costs step-by-step.
It also adds getBestPlan function to LVP which computes the cost of all
VPlans and picks the most profitable one together with the most
profitable VF.
The VPlan selected by the VPlan cost model is executed and there is an
assert to catch cases where the VPlan cost model and the legacy cost
model disagree. Even though I checked a number of different build
configurations on AArch64 and X86, there may be some differences
that have been missed.
Additional discussions and context can be found in @arcbbb's
https://github.com/llvm/llvm-project/pull/67647 and
https://github.com/llvm/llvm-project/pull/67934 which is an earlier
version of the current PR.
PR: https://github.com/llvm/llvm-project/pull/92555
Commit: c65fb32ddd2f35ecda4db58e78290839f9249c23
https://github.com/llvm/llvm-project/commit/c65fb32ddd2f35ecda4db58e78290839f9249c23
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
M mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir
Log Message:
-----------
[mlir][vector] Update tests for collapse 3/n (nfc) (#94906)
The main goal of this PR (and subsequent PRs), is to add more tests with
scalable vectors to:
* vector-transfer-collapse-inner-most-dims.mlir
There's quite a few cases to consider, hence this is split into multiple
PRs. In this PR, the very first test for `vector.transfer_write` is
complemented with all the possible combinations:
* scalable (rather than fixed) unit trailing dim,
* dynamic (rather than static) trailing dim in the source memref.
To this end, the following tests:
* `@leading_scalable_dimension_transfer_write`
`@trailing_scalable_one_dim_transfer_write`
are replaced with:
* `@drop_two_inner_most_dim_scalable_inner_dim` and
`@negative_scalable_unit_dim`,
respectively. In addition:
* "_for_transfer_write" is removed from function names (to reduce
noise).
In addition, to maintain consistency between the tests for `xfer_read`
and `xfer_write`, 2 negative tests for `xfer_read` are also renamed.
This is to follow the suggestion made during the review of this PR.
Extra comments in "VectorTransforms.cpp" are added to better
document the limitations related to scalable vectors and which tests
added here excercise.
This is a follow-up for: #94490 and #94604
NOTE: This PR is limited to tests for `vector.transfer_write`.
Commit: 869f5517605224944d6037716e234d9f1f0e7067
https://github.com/llvm/llvm-project/commit/869f5517605224944d6037716e234d9f1f0e7067
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M lldb/test/API/api/multiple-debuggers/multi-process-driver.cpp
Log Message:
-----------
[lldb] Give more time to test/API/multiple-debuggers
This test occasionally fails on two of the busiest CI bots (asan and
matrix), and we can't reproduce it locally. This leads to the
hypothesis that the test is timing out (in the sense of the number of
"join attempts" performed by this test's driver).
This commit doubles the number of iterations performed and also does
an NFC refactor of the main test loop so that it can be more easily
understood.
Commit: afb3f7e0b723a88ffbd950736ac2396630154dd9
https://github.com/llvm/llvm-project/commit/afb3f7e0b723a88ffbd950736ac2396630154dd9
Author: Sam Clegg <sbc at chromium.org>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M lld/test/wasm/Inputs/libstub.so
M lld/test/wasm/stub-library-archive.s
M lld/test/wasm/stub-library.s
M lld/wasm/Driver.cpp
Log Message:
-----------
[lld][WebAssembly] Handle stub symbol dependencies when an explicit import name is used (#80169)
Commit: 0ec567c370df86893a22bf59d2716f6e553ca63b
https://github.com/llvm/llvm-project/commit/0ec567c370df86893a22bf59d2716f6e553ca63b
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
M lldb/test/API/lang/objcxx/objc-from-cpp-frames-without-debuginfo/TestObjCFromCppFramesWithoutDebugInfo.py
R lldb/test/Shell/Expr/TestObjCInCXXContext.test
Log Message:
-----------
Revert "[lldb][ObjC] Don't query objective-c runtime for decls in C++ contexts (#95963)"
This reverts commit dadf960607bb429baebd3f523ce5b93260a154d2.
The commit caused `TestEarlyProcessLaunch.py` to fail on the
macOS bots.
Commit: 6bc71cdd32de0add80d620b1342b5549efff363a
https://github.com/llvm/llvm-project/commit/6bc71cdd32de0add80d620b1342b5549efff363a
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
A clang/test/C/C99/n448.c
M clang/www/c_status.html
Log Message:
-----------
[C99] Claim partial conformance to n448
This is the paper that added the 'restrict' keyword. Clang is
conforming to the letter of the standard's requirements, so it would be
defensible for us to claim full support instead. However, LLVM does not
currently support the optimization semantics with restricted local
variables or data members, only with restricted pointers declared in
function parameters. So we're only claiming partial support because we
don't yet take full advantage of what the feature allows.
Commit: d1bc75c0bce141b94f9afadfde4e784760735ec0
https://github.com/llvm/llvm-project/commit/d1bc75c0bce141b94f9afadfde4e784760735ec0
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M lldb/include/lldb/Core/ValueObject.h
M lldb/include/lldb/DataFormatters/ValueObjectPrinter.h
M lldb/source/API/SBValue.cpp
M lldb/source/Breakpoint/Watchpoint.cpp
M lldb/source/Commands/CommandObjectDWIMPrint.cpp
M lldb/source/Commands/CommandObjectExpression.cpp
M lldb/source/Commands/CommandObjectFrame.cpp
M lldb/source/Commands/CommandObjectMemory.cpp
M lldb/source/Commands/CommandObjectTarget.cpp
M lldb/source/Commands/CommandObjectThread.cpp
M lldb/source/Core/DumpRegisterValue.cpp
M lldb/source/Core/FormatEntity.cpp
M lldb/source/Core/ValueObject.cpp
M lldb/source/DataFormatters/ValueObjectPrinter.cpp
M lldb/source/Plugins/REPL/Clang/ClangREPL.cpp
M lldb/test/API/commands/dwim-print/TestDWIMPrint.py
M lldb/test/API/commands/dwim-print/main.c
M lldb/test/Shell/SymbolFile/DWARF/x86/class-type-nullptr-deref.s
M lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-signature-loop.s
M lldb/unittests/ValueObject/DumpValueObjectOptionsTests.cpp
Log Message:
-----------
Convert ValueObject::Dump() to return llvm::Error() (NFCish)
This change by itself has no measurable effect on the LLDB
testsuite. I'm making it in preparation for threading through more
errors in the Swift language plugin.
Commit: f900644ae2b6c7a485673974688a62c3f3301dcc
https://github.com/llvm/llvm-project/commit/f900644ae2b6c7a485673974688a62c3f3301dcc
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M lldb/include/lldb/Core/ValueObject.h
M lldb/include/lldb/DataFormatters/ValueObjectPrinter.h
M lldb/include/lldb/Target/LanguageRuntime.h
M lldb/source/API/SBValue.cpp
M lldb/source/Core/ValueObject.cpp
M lldb/source/DataFormatters/ValueObjectPrinter.cpp
M lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp
M lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.h
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.h
M lldb/source/Plugins/LanguageRuntime/ObjC/GNUstepObjCRuntime/GNUstepObjCRuntime.cpp
M lldb/source/Plugins/LanguageRuntime/ObjC/GNUstepObjCRuntime/GNUstepObjCRuntime.h
Log Message:
-----------
Refactor GetObjectDescription() to return llvm::Expected (NFC)
This is de facto an NFC change for Objective-C but will benefit the
Swift language plugin.
Commit: b8f0ca09b66716fc337448a2e43146038bf115ab
https://github.com/llvm/llvm-project/commit/b8f0ca09b66716fc337448a2e43146038bf115ab
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
A lldb/include/lldb/Utility/ErrorMessages.h
M lldb/source/Interpreter/CommandInterpreter.cpp
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
M lldb/source/Utility/CMakeLists.txt
A lldb/source/Utility/ErrorMessages.cpp
Log Message:
-----------
Factor out expression result error strings.
Commit: f1edc0459a4cc8cd4d00331c2a5cb318955318b2
https://github.com/llvm/llvm-project/commit/f1edc0459a4cc8cd4d00331c2a5cb318955318b2
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M lldb/test/API/commands/dwim-print/TestDWIMPrint.py
Log Message:
-----------
Reformat test (NFC)
Commit: 1107575c95577f32678ad60a96be6eaf29cf0f65
https://github.com/llvm/llvm-project/commit/1107575c95577f32678ad60a96be6eaf29cf0f65
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/c23.rst
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/__support/FPUtil/BasicOperations.h
M libc/src/math/CMakeLists.txt
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/getpayloadf16.cpp
A libc/src/math/generic/setpayloadf16.cpp
A libc/src/math/generic/setpayloadsigf16.cpp
A libc/src/math/getpayloadf16.h
A libc/src/math/setpayloadf16.h
A libc/src/math/setpayloadsigf16.h
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/GetPayloadTest.h
A libc/test/src/math/smoke/SetPayloadSigTest.h
A libc/test/src/math/smoke/SetPayloadTest.h
A libc/test/src/math/smoke/getpayloadf16_test.cpp
A libc/test/src/math/smoke/setpayloadf16_test.cpp
A libc/test/src/math/smoke/setpayloadsigf16_test.cpp
Log Message:
-----------
[libc][math][c23] Add {getpayload,setpayload,setpayloadsig}f16 C23 math functions (#95159)
Part of #93566.
Commit: 6cea40400df542a1a4a6d35b45cbe3367f2c32b7
https://github.com/llvm/llvm-project/commit/6cea40400df542a1a4a6d35b45cbe3367f2c32b7
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/PassManager.h
M llvm/include/llvm/Transforms/Scalar/LoopPassManager.h
M llvm/lib/Passes/PassBuilder.cpp
M llvm/test/Other/new-pass-manager.ll
M llvm/test/Other/new-pm-print-pipeline.ll
M llvm/test/Transforms/Coroutines/coro-elide-stat.ll
M llvm/test/Transforms/Coroutines/coro-elide.ll
Log Message:
-----------
[IR] Remove RepeatedPass (#96211)
This pass is not used in any pipeline, barely used in tests and not
really useful, so drop it. The only place where we "repeat" passes is
devirt repetition, and that is done using a separate pass.
Commit: 482c41e992c1edf8833a4577b56ff9dda49fbc83
https://github.com/llvm/llvm-project/commit/482c41e992c1edf8833a4577b56ff9dda49fbc83
Author: Mital Ashok <mital at mitalashok.co.uk>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang-tools-extra/clangd/unittests/ASTTests.cpp
M clang-tools-extra/clangd/unittests/HoverTests.cpp
M clang-tools-extra/clangd/unittests/InlayHintTests.cpp
M clang-tools-extra/clangd/unittests/XRefsTests.cpp
M clang-tools-extra/include-cleaner/unittests/WalkASTTest.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize/min-max-use-initializer-list.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize/use-emplace-ignore-implicit-constructors.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize/use-emplace.cpp
M clang-tools-extra/test/clang-tidy/checkers/performance/inefficient-vector-operation.cpp
M clang-tools-extra/test/clang-tidy/checkers/readability/isolate-declaration-cxx17.cpp
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/AST/ExprConstant.cpp
M clang/lib/CodeGen/CGExprAgg.cpp
M clang/lib/Sema/SemaInit.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p4.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p7-cxx14.cpp
M clang/test/CodeCompletion/ctor-signature.cpp
M clang/test/Coverage/unresolved-ctor-expr.cpp
M clang/test/Modules/Inputs/initializer_list/direct.h
M clang/test/Modules/pr60775.cppm
M clang/test/OpenMP/declare_reduction_codegen_in_templates.cpp
M clang/test/Preprocessor/macro_with_initializer_list.cpp
M clang/test/SemaCXX/PR20334-std_initializer_list_diagnosis_assertion.cpp
M clang/test/SemaCXX/auto-invalid-init-crash.cpp
M clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
M clang/test/SemaCXX/cxx11-call-to-deleted-constructor.cpp
M clang/test/SemaCXX/cxx98-compat.cpp
M clang/test/SemaCXX/invalid-member-expr.cpp
M clang/test/SemaTemplate/instantiate-init.cpp
M clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
M clang/unittests/Analysis/FlowSensitive/UncheckedOptionalAccessModelTest.cpp
Log Message:
-----------
[Clang] [Sema] Diagnose unknown std::initializer_list layout in SemaInit (#95580)
This checks if the layout of `std::initializer_list` is something Clang
can handle much earlier and deduplicates the checks in
CodeGen/CGExprAgg.cpp and AST/ExprConstant.cpp
Also now diagnose `union initializer_list` (Fixes #95495), bit-field for
the size (Fixes a crash that would happen during codegen if it were
unnamed), base classes (that wouldn't be initialized) and polymorphic
classes (whose vtable pointer wouldn't be initialized).
Commit: 5e9f247c064cb2361cd641f62eb4b7049d21641a
https://github.com/llvm/llvm-project/commit/5e9f247c064cb2361cd641f62eb4b7049d21641a
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M lldb/include/lldb/Target/LanguageRuntime.h
M lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.cpp
M lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
Log Message:
-----------
[lldb] Make LanguageRuntime::GetTypeBitSize return an optional (NFC) (#96013)
Make LanguageRuntime::GetTypeBitSize return an optional. This should be
NFC, though the ObjCLanguageRuntime implementation is (possibly) more
defensive against returning 0.
I'm not sure if it's possible for both `m_ivar.size` and `m_ivar.offset`
to be zero. Previously, we'd return 0 and cache it, only to discard it
the next time when finding it in the cache, and recomputing it again.
The new code will avoid putting it in the cache in the first place.
Commit: 836703087d761f9cbf81b6f9593bc5313660f559
https://github.com/llvm/llvm-project/commit/836703087d761f9cbf81b6f9593bc5313660f559
Author: Alan Zhao <ayzhao at google.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/BranchFolding.cpp
M llvm/lib/CodeGen/BranchFolding.h
A llvm/test/CodeGen/MIR/X86/tail-merging-preserve-debugloc.mir
M llvm/test/DebugInfo/COFF/local-variables.ll
Log Message:
-----------
[BranchFolder] Fix missing debug info with tail merging (#94715)
`BranchFolder::TryTailMergeBlocks(...)` removes unconditional branch
instructions and then recreates them. However, this process loses debug
source location information from the previous branch instruction, even
if tail merging doesn't change IR. This patch preserves the debug
information from the removed instruction and inserts them into the
recreated instruction.
Fixes #94050
Commit: 8d9db947b725fefbb02905c5d6be05e09a306f6b
https://github.com/llvm/llvm-project/commit/8d9db947b725fefbb02905c5d6be05e09a306f6b
Author: Mingming Liu <mingmingl at google.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/ModuleSummaryIndex.h
M llvm/include/llvm/Transforms/IPO/FunctionImport.h
M llvm/lib/LTO/LTO.cpp
M llvm/lib/LTO/LTOBackend.cpp
M llvm/lib/Transforms/IPO/FunctionImport.cpp
M llvm/test/ThinLTO/X86/funcimport-stats.ll
A llvm/test/ThinLTO/X86/import_callee_declaration.ll
M llvm/test/Transforms/FunctionImport/funcimport.ll
M llvm/tools/llvm-link/llvm-link.cpp
Log Message:
-----------
Reland "[ThinLTO] Populate declaration import status except for distributed ThinLTO under a default-off new option" (#95482)
Make `FunctionsToImportTy` an `unordered_map` rather than `DenseMap`.
Credit goes to jvoung@ for the 'DenseMap -> unordered_map' change. This
is a reland of https://github.com/llvm/llvm-project/pull/92718
* `DenseMap` allocates space for a large number of key/value pairs and
wastes space when the number of elements are small.
* While init bucket size is zero [1], it quickly allocates buckets for 64 elements [2]
when the number of elements is small (for example, 3 or 4 elements). The programmer
manual [3] also mentions it could waste space.
* Experiments show `FunctionsToImportTy.size()` is smaller than 4 for
multiple binaries with high indexing ram usage. `unordered_map` grows
factor is at most 2 in llvm libc [4] for insert operations.
With this change, `ComputeCrossModuleImport` ram increase is smaller
than 0.5G on a couple of binaries with high indexing ram usage. A wider
range of (pre-release) tests pass.
[1] https://github.com/llvm/llvm-project/blob/ad79a14c9e5ec4a369eed4adf567c22cc029863f/llvm/include/llvm/ADT/DenseMap.h#L431-L432
[2] https://github.com/llvm/llvm-project/blob/ad79a14c9e5ec4a369eed4adf567c22cc029863f/llvm/include/llvm/ADT/DenseMap.h#L849
[3] https://llvm.org/docs/ProgrammersManual.html#llvm-adt-densemap-h
[4] https://github.com/llvm/llvm-project/blob/ad79a14c9e5ec4a369eed4adf567c22cc029863f/libcxx/include/__hash_table#L1525-L1526
**Original commit message**
The goal is to populate `declaration` import status if a new flag
`-import-declaration` is on.
* For in-process ThinLTO, the `declaration` status is visible to backend
`function-import` pass, so `FunctionImporter::importFunctions` should
read the import status and be no-op for declaration summaries.
Basically, the postlink pipeline is updated to keep its current behavior
(import definitions), but not updated to handle `declaration` summaries.
Two use cases ([better call-graph
sort](https://discourse.llvm.org/t/rfc-for-better-call-graph-sort-build-a-more-complete-call-graph-by-adding-more-indirect-call-edges/74029#support-cross-module-function-declaration-import-5)
or [cross-module
auto-init](https://github.com/llvm/llvm-project/pull/87597#discussion_r1556067195))
would use this bit differently.
* For distributed ThinLTO, the `declaration` status is not serialized to
bitcode. As discussed, https://github.com/llvm/llvm-project/pull/87600
will do this.
Commit: 67da89cf74917050b35fa63441fd25437195f8fc
https://github.com/llvm/llvm-project/commit/67da89cf74917050b35fa63441fd25437195f8fc
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M libcxxabi/CMakeLists.txt
M libcxxabi/src/CMakeLists.txt
Log Message:
-----------
[libc++abi] Use target_compile_options to pass LIBCXXABI_ADDITIONAL_COMPILE_FLAGS (#96112)
We use target_compile_options to pass the libc++ variant of this flag,
so we should be consistent for libc++abi. This is actually not only a
matter of consistency: target_compile_options handles duplicate CMake
options in a certain way (it removes duplicates but has an escape hatch
using the "SHELL:" prefix), and it is important for both libc++ and
libc++abi options to be handled in the same way.
Commit: 88dae3d5d0230747f3cbabdde9ac5ae9e5dc3f8d
https://github.com/llvm/llvm-project/commit/88dae3d5d0230747f3cbabdde9ac5ae9e5dc3f8d
Author: Jonathan Peyton <jonathan.l.peyton at intel.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M openmp/runtime/cmake/LibompExports.cmake
M openmp/runtime/cmake/LibompHandleFlags.cmake
M openmp/runtime/cmake/LibompMicroTests.cmake
M openmp/runtime/cmake/config-ix.cmake
M openmp/runtime/src/CMakeLists.txt
R openmp/runtime/tools/check-depends.pl
A openmp/runtime/tools/check-depends.py
R openmp/runtime/tools/check-execstack.pl
A openmp/runtime/tools/check-execstack.py
R openmp/runtime/tools/check-instruction-set.pl
R openmp/runtime/tools/generate-def.pl
A openmp/runtime/tools/generate-def.py
R openmp/runtime/tools/lib/Build.pm
R openmp/runtime/tools/lib/LibOMP.pm
R openmp/runtime/tools/lib/Platform.pm
R openmp/runtime/tools/lib/Uname.pm
R openmp/runtime/tools/lib/tools.pm
A openmp/runtime/tools/libomputils.py
R openmp/runtime/tools/message-converter.pl
A openmp/runtime/tools/message-converter.py
Log Message:
-----------
[OpenMP][libomp] Remove Perl in favor of Python (#95307)
* Removes all Perl scripts and modules
* Adds Python3 scripts which mimic the behavior of the Perl scripts
* Removes Perl from CMake; Adds Python3 requirement to CMake
* The check-instruction-set.pl script is Knights Corner specific. The
script is removed and not replicated with a corresponding Python3
script.
Relevant Discourse:
https://discourse.llvm.org/t/error-compiling-clang-with-offloading-support/79223/4
Fixes: https://github.com/llvm/llvm-project/issues/62289
Commit: 01ce74fe14fb98af42a3f2f7c8c6b04487761cf1
https://github.com/llvm/llvm-project/commit/01ce74fe14fb98af42a3f2f7c8c6b04487761cf1
Author: eddyz87 <eddyz87 at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/DebugInfoMetadata.h
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/MetadataLoader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
M llvm/lib/IR/AsmWriter.cpp
M llvm/lib/IR/DebugInfoMetadata.cpp
M llvm/lib/IR/LLVMContextImpl.h
R llvm/test/Bitcode/attr-btf_tag-dibasic.ll
R llvm/test/Bitcode/attr-btf_tag-disubroutine.ll
M llvm/test/DebugInfo/attr-btf_type_tag.ll
Log Message:
-----------
Revert "[DebugInfo][BPF] Add 'annotations' field for DIBasicType & DI… (#96172)
…SubroutineType (#91422)"
This reverts commit 3ca17443ef4af21bdb1f3b4fbcfff672cbc6176c.
As reported in [1,2] the commit above causes CI failure for powerpc-aix
target.
There is also a performance regression reported in [3]. Reverting to
comply with the developer policy.
[1]
https://github.com/llvm/llvm-project/pull/91422#issuecomment-2179425473
[2] https://lab.llvm.org/buildbot/#/builders/64/builds/62
[3]
https://github.com/llvm/llvm-project/pull/91422#issuecomment-2175631443
Commit: 99f5fcb0d1e04125daa404ff14c9cd14b7a2c40b
https://github.com/llvm/llvm-project/commit/99f5fcb0d1e04125daa404ff14c9cd14b7a2c40b
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
Log Message:
-----------
[clang][Interp] Try to fix #embed on big-endian machines
Insert a cast to the proper value.
Commit: 50b919378186ebb59e2dd402720f6ea8576d2477
https://github.com/llvm/llvm-project/commit/50b919378186ebb59e2dd402720f6ea8576d2477
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/docs/PointerAuthentication.rst
M clang/include/clang/Basic/Builtins.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/AST/ExprConstant.cpp
M clang/lib/Headers/ptrauth.h
M clang/lib/Sema/SemaChecking.cpp
M clang/test/CodeGen/ptrauth-intrinsics.c
M clang/test/Sema/ptrauth-intrinsics-macro.c
M clang/test/Sema/ptrauth.c
Log Message:
-----------
[clang] Define ptrauth_string_discriminator builtin. (#93903)
This exposes the ABI-stable hash function that allows computing a 16-bit
discriminator from a constant string.
This allows manually matching the implicit string discriminators
computed in the ABI (e.g., from mangled names for vtable pointer/entry
signing), as well as enabling the use of interesting discriminators when
manually annotating specific pointers with the __ptrauth qualifier.
The argument must be a string literal of char character type. The
result has type ptrauth_extra_data_t.
The result value is never zero and always within range for both the
__ptrauth qualifier and ptrauth_blend_discriminator.
This can be used in constant expressions.
Co-authored-by: John McCall <rjmccall at apple.com>
Commit: 7c814c13d0df6dbd0ef6a8b2be214d3f6edbb566
https://github.com/llvm/llvm-project/commit/7c814c13d0df6dbd0ef6a8b2be214d3f6edbb566
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/docs/PointerAuthentication.rst
M clang/include/clang/Basic/Builtins.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/AST/ExprConstant.cpp
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGExprConstant.cpp
A clang/lib/CodeGen/CGPointerAuth.cpp
M clang/lib/CodeGen/CMakeLists.txt
M clang/lib/CodeGen/CodeGenModule.h
M clang/lib/Headers/ptrauth.h
M clang/lib/Sema/SemaChecking.cpp
A clang/test/CodeGen/ptrauth-intrinsic-sign-constant.c
M clang/test/Sema/ptrauth-intrinsics-macro.c
M clang/test/Sema/ptrauth.c
Log Message:
-----------
[clang] Define ptrauth_sign_constant builtin. (#93904)
This is a constant-expression equivalent to
ptrauth_sign_unauthenticated. Its constant nature lets us guarantee
a non-attackable sequence is generated, unlike
ptrauth_sign_unauthenticated which we generally discourage using.
It being a constant also allows its usage in global initializers, though
requiring constant pointers and discriminators.
The value must be a constant expression of pointer type which evaluates
to a non-null pointer.
The key must be a constant expression of type ptrauth_key.
The extra data must be a constant expression of pointer or integer type;
if an integer, it will be coerced to ptrauth_extra_data_t.
The result will have the same type as the original value.
This can be used in constant expressions.
Co-authored-by: John McCall <rjmccall at apple.com>
Commit: 622d8b0bc2dd8af7427a3e684c625ce5681aa4de
https://github.com/llvm/llvm-project/commit/622d8b0bc2dd8af7427a3e684c625ce5681aa4de
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M libcxx/include/__chrono/ostream.h
M libcxx/include/chrono
M libcxx/test/libcxx/transitive_includes/cxx23.csv
M libcxx/test/libcxx/transitive_includes/cxx26.csv
Log Message:
-----------
[libc++] Remove <ostream> include from <chrono> (#96035)
Commit: dfe55a11cb2cdd0180be2d00eebcbcfc9f52fbec
https://github.com/llvm/llvm-project/commit/dfe55a11cb2cdd0180be2d00eebcbcfc9f52fbec
Author: Stella Stamenova <stilis at microsoft.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M mlir/utils/vscode/package-lock.json
Log Message:
-----------
[vscode-mlir] Bump the version of braces to 3.0.3 (#96137)
Version 3.0.2 of braces has a security vulnerability.
Commit: eea150c84053035163f307b46549a2997a343ce9
https://github.com/llvm/llvm-project/commit/eea150c84053035163f307b46549a2997a343ce9
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.cpp
A llvm/test/Transforms/LoopVectorize/WebAssembly/induction-branch-cost.ll
A llvm/test/Transforms/LoopVectorize/WebAssembly/lit.local.cfg
Log Message:
-----------
[VPlan] Include IV phi and backedge cost in VPlan cost computation.
In WebAssembly, costs != 0 are assigned to be backedge and induction
phis, so make sure we include those costs in the VPlan-based cost model.
This fixes a downstream crash with WebAssembly after 242cc200ccb
(https://github.com/llvm/llvm-project/pull/92555)
Commit: 9473e162b92a7e0bb1471eaaa6cbd6b5fc104fed
https://github.com/llvm/llvm-project/commit/9473e162b92a7e0bb1471eaaa6cbd6b5fc104fed
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M lldb/source/Commands/CommandObjectDWIMPrint.cpp
Log Message:
-----------
[DWIMPrint] Move the setting of the result status into dump_val_object (#96232)
Previously the result would get overwritten by a success on all code
paths.
This is another NFC change for TypeSystemClang, because an object
description cannot actually fail there. It will have different behavior
in the Swift plugin.
Commit: edf2d0a95e9f0bd1befd8ff7686cb0e07af14fc3
https://github.com/llvm/llvm-project/commit/edf2d0a95e9f0bd1befd8ff7686cb0e07af14fc3
Author: Michael Bedy <Michael.Bedy at amd.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUMIRFormatter.cpp
M llvm/lib/Target/AMDGPU/AMDGPUMIRFormatter.h
A llvm/test/CodeGen/AMDGPU/insert-delay-alu-literal.mir
A llvm/test/CodeGen/AMDGPU/insert-delay-alu-parse.mir
M llvm/test/CodeGen/AMDGPU/vopd-src2acc-delay.mir
Log Message:
-----------
[AMDGPU] Introduce a pseudo mnemonic for S_DELAY_ALU in MIR. (#96004)
Commit: 6e38df3aeb35a7cf3636d9fd9d90d8eb6a3c7c36
https://github.com/llvm/llvm-project/commit/6e38df3aeb35a7cf3636d9fd9d90d8eb6a3c7c36
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Basic/Targets/WebAssembly.cpp
M clang/test/Preprocessor/wasm-target-features.c
Log Message:
-----------
[WebAssembly] Re-enable reference types by default (#93261)
Now that we are about to upgrade emsdk's default node to v18.20.3
(https://github.com/emscripten-core/emsdk/pull/1387), we can re-enable
reference-types by default again. This effectively reverts #90792.
Commit: f77ade0aedcb0558936c1c2e6b9068c1606423fb
https://github.com/llvm/llvm-project/commit/f77ade0aedcb0558936c1c2e6b9068c1606423fb
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M libc/src/__support/CMakeLists.txt
A libc/src/__support/block.h
A libc/src/__support/freelist.h
A libc/src/__support/freelist_heap.h
M libc/src/stdlib/CMakeLists.txt
R libc/src/stdlib/block.h
R libc/src/stdlib/freelist.h
R libc/src/stdlib/freelist_heap.h
M libc/src/stdlib/freelist_malloc.cpp
M libc/test/src/__support/CMakeLists.txt
A libc/test/src/__support/block_test.cpp
A libc/test/src/__support/freelist_heap_test.cpp
A libc/test/src/__support/freelist_malloc_test.cpp
A libc/test/src/__support/freelist_test.cpp
M libc/test/src/stdlib/CMakeLists.txt
R libc/test/src/stdlib/block_test.cpp
R libc/test/src/stdlib/freelist_heap_test.cpp
R libc/test/src/stdlib/freelist_malloc_test.cpp
R libc/test/src/stdlib/freelist_test.cpp
Log Message:
-----------
[libc] Move freelist + block to __support (#96231)
Commit: 49001d584c69726eb7b5069468c5216da3fc3263
https://github.com/llvm/llvm-project/commit/49001d584c69726eb7b5069468c5216da3fc3263
Author: earnol <earnol at users.noreply.github.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGExpr.cpp
M compiler-rt/lib/ubsan/ubsan_value.cpp
M compiler-rt/lib/ubsan/ubsan_value.h
A compiler-rt/test/ubsan/TestCases/Integer/bit-int-pass.c
A compiler-rt/test/ubsan/TestCases/Integer/bit-int.c
Log Message:
-----------
[ubsan] Display correct runtime messages for negative _BitInt (#93612)
Without this patch compiler-rt ubsan library has a bug displaying
incorrect values for variables of the _BitInt (previously called
_ExtInt) type. This patch affects affects both: generation of metadata
inside code generator and runtime part. The runtime part provided only
for i386 and x86_64 runtimes. Other runtimes should be updated to take
full benefit of this patch.
The patch is constructed the way to be backward compatible and int and
float type runtime diagnostics should be unaffected for not yet updated
runtimes.
This patch fixes issue:
https://github.com/llvm/llvm-project/issues/64100.
Co-authored-by: Vladislav Aranov <vladislav.aranov at ericsson.com>
Co-authored-by: Aaron Ballman <aaron at aaronballman.com>
Commit: 7a49c90ab6f33293ec11426dcaf67ea9e3c59ba5
https://github.com/llvm/llvm-project/commit/7a49c90ab6f33293ec11426dcaf67ea9e3c59ba5
Author: Florian Mayer <fmayer at google.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
Log Message:
-----------
[NFC] fix incorrect #endif comment (#95991)
Commit: 17af54b88b57b7469d57f6f2d7db1033d835e13f
https://github.com/llvm/llvm-project/commit/17af54b88b57b7469d57f6f2d7db1033d835e13f
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/riscv/entrypoints.txt
Log Message:
-----------
[libc][config] Add malloc as baremetal arm entrypoint (#95827)
Commit: fd001c16fed19249eec47d16ade9ad5810489c37
https://github.com/llvm/llvm-project/commit/fd001c16fed19249eec47d16ade9ad5810489c37
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M libcxx/include/__type_traits/has_unique_object_representation.h
A libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/has_unique_object_representations.compile.pass.cpp
R libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/has_unique_object_representations.pass.cpp
Log Message:
-----------
[libc++] Workaround clang bug in __has_unique_object_representations (#95314)
Clang currently has a bug in the __has_unique_object_representations
builtin where it doesn't provide consistent answers based on the order
of instantiation of templates. This was reported as #95311.
This patch adds a workaround in libc++ to avoid breaking users until
Clang has been fixed. It also revamps the tests a bit.
Commit: 1ba2768c638a3e0f98ccd002d3f328a18739f7a9
https://github.com/llvm/llvm-project/commit/1ba2768c638a3e0f98ccd002d3f328a18739f7a9
Author: Peiming Liu <peiming at google.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.h
M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
M mlir/lib/Dialect/SparseTensor/Pipelines/SparseTensorPipelines.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparsificationAndBufferizationPass.cpp
M mlir/test/Dialect/SparseTensor/sparse_iteration_to_scf.mlir
Log Message:
-----------
[mlir][sparse] expose emit strategy option to mini pipeline (#96238)
Commit: 560b6452af060bf153b26698b4d02b4440e335da
https://github.com/llvm/llvm-project/commit/560b6452af060bf153b26698b4d02b4440e335da
Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M mlir/docs/Dialects/GPU.md
Log Message:
-----------
[mlir] Document GPU dialect layering to capture discussions from a PR (#95812)
Co-authored-by: Jakub Kuderski <kubakuderski at gmail.com>
Co-authored-by: Adam Siemieniuk <adam.siemieniuk at intel.com>
Commit: f47778455d28285341d0eeceb53ae7cd95d07d36
https://github.com/llvm/llvm-project/commit/f47778455d28285341d0eeceb53ae7cd95d07d36
Author: Yeoul Na <yeoul_na at apple.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/docs/BoundsSafety.rst
M clang/docs/BoundsSafetyImplPlans.rst
Log Message:
-----------
[BoundsSafety][doc] Make it clear that the feature is work-in-progress (#95964)
The `-fbounds-safety` feature is not available yet and the
implementation is still in progress, which will be guarded by
`-fexperimental-bounds-safety`. To avoid the confusion, we're making it
more explicit that the feature is not available yet and the document
only describes the model.
Commit: e908320a03e1b27619f32db73f66b7bab65c9c52
https://github.com/llvm/llvm-project/commit/e908320a03e1b27619f32db73f66b7bab65c9c52
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M compiler-rt/lib/profile/InstrProfilingFile.c
Log Message:
-----------
Revert "mmapForContinuousMode: Align Linux's impl to __APPLE__'s more. NFC. (#95702)"
This reverts commit 7cf84d3b0bc5eda3a907dfd026d51a17e28114a3.
(llvmorg-19-init-14939-g7cf84d3b0bc5)
This has my wrong assumptions possibly. This was failing fuchsia.
Commit: 0ee2af5f7c4c941c4588a67c87cb39e7dfad5ce8
https://github.com/llvm/llvm-project/commit/0ee2af5f7c4c941c4588a67c87cb39e7dfad5ce8
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/test/Instrumentation/InstrProfiling/mcdc.ll
Log Message:
-----------
mcdc.ll: Relax.
Commit: d8091522664248a4ba73d8d1e7fa6ac57bfcf67c
https://github.com/llvm/llvm-project/commit/d8091522664248a4ba73d8d1e7fa6ac57bfcf67c
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M libc/config/baremetal/config.json
M libc/config/config.json
M libc/docs/configure.rst
M libc/src/stdlib/CMakeLists.txt
M libc/src/stdlib/freelist_malloc.cpp
Log Message:
-----------
[libc] Control freelist malloc buffer size with a config (#96248)
Rather than propgating a compile define, add an explicit cmake flag for
controlling the size. The default for baremetal is 100KB and the default
for others is 1GB.
Commit: aafa0ef900791857f55629bcf61c37f53cc0d2af
https://github.com/llvm/llvm-project/commit/aafa0ef900791857f55629bcf61c37f53cc0d2af
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M lldb/examples/python/crashlog.py
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/altered_threadState.test
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/json.test
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/no_threadState.test
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/skipped_status_interactive_crashlog.test
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/text.test
Log Message:
-----------
[lldb/crashlog] Make interactive mode the new default (#94575)
This patch makes interactive mode as the default when using the crashlog
command. It replaces the existing `-i|--interactive` flag with a new
`-m|--mode` option, that can either be `interactive` or `batch`.
By default, when the option is not explicitely set by the user, the
interactive mode is selected, however, lldb will fallback to batch mode
if the command interpreter is not interactive or if stdout is not a tty.
This also adds some railguards to prevent users from using interactive
only options with the batch mode and updates the tests accordingly.
rdar://97801509
Differential Revision: https://reviews.llvm.org/D141658
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: 2fe8498654fe5db68c585fc9fa4cd84d634e53df
https://github.com/llvm/llvm-project/commit/2fe8498654fe5db68c585fc9fa4cd84d634e53df
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M compiler-rt/lib/profile/InstrProfilingFile.c
Log Message:
-----------
mmapForContinuousMode: Redo #95702: Align Linux's impl to __APPLE__'s a little.
I've made this small cosmetic changes,
`s/CountersOffsetInBiasMode/FileOffsetToCounters/`
Commit: e1e5ed5893c50918dc9b6b56acfe6242f03354dc
https://github.com/llvm/llvm-project/commit/e1e5ed5893c50918dc9b6b56acfe6242f03354dc
Author: Jan Voung <jvoung at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
Log Message:
-----------
Update ModuleSummaryIndexBitcodeReader::makeCallList reserve amount (#95461)
Tighten the reserve() to `Record.size() / 2` instead of `Record.size()`
in the HasProfile/HasRelBF cases. For the uncommon old profile format
cases we leave it as is, but those should be rare and not worth
optimizing.
This reduces peak memory during ThinLTO indexing by ~3% in one example.
Alternatively, we could make the branching for reserve more complex and
try to cover every case.
Commit: 03921b979d67657bfc9cf8240add2484cc4df6a7
https://github.com/llvm/llvm-project/commit/03921b979d67657bfc9cf8240add2484cc4df6a7
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ASTRecordReader.h
M clang/include/clang/Serialization/ModuleFile.h
M clang/lib/Serialization/ASTCommon.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/ModuleFile.cpp
M clang/test/Modules/no-transitive-decls-change.cppm
M clang/test/Modules/no-transitive-identifier-change.cppm
A clang/test/Modules/no-transitive-type-change.cppm
Log Message:
-----------
[serialization] No transitive type change (#92511)
Following of https://github.com/llvm/llvm-project/pull/92085.
#### motivation
The motivation is still cutting of the unnecessary change in the
dependency chain. See the above link (recursively) for details.
And this will be the last patch of the `no-transitive-*-change` series.
If there are any following patches, they might be C++20 Named modules
specific to handle special grammars like `ADL` (See the reply in
https://discourse.llvm.org/t/rfc-c-20-modules-introduce-thin-bmi-and-decls-hash/74755/53
for example). So they won't affect the whole serialization part as the
series patch did.
#### example
After this patch, finally we are able to cut of unnecessary change of
types. For example,
```
//--- m-partA.cppm
export module m:partA;
//--- m-partA.v1.cppm
export module m:partA;
namespace NS {
class A {
public:
int getValue() {
return 43;
}
};
}
//--- m-partB.cppm
export module m:partB;
export inline int getB() {
return 430;
}
//--- m.cppm
export module m;
export import :partA;
export import :partB;
//--- useBOnly.cppm
export module useBOnly;
import m;
export inline int get() {
return getB();
}
```
The BMI of `useBOnly.cppm` is expected to not change if we only add a
new class in `m:partA`. This will be pretty useful in practice.
#### implementation details
The key idea of this patch is similar with the previous patches: extend
the 32bits type ID to 64bits so that we can store the module file index
in the higher bits. Then the encoding of the type ID is independent on
the imported modules.
But there are two differences from the previous patches:
- TypeID is not completely an index of serialized types. We used the
lower 3 bits to store the qualifiers.
- TypeID won't take part in any lookup process. So the uses of TypeID is
much less than the previous patches.
The first difference make we have some more slightly complex bit
operations. And the second difference makes the patch much simpler than
the previous ones.
Commit: 1373f7c714824f5957aa5fabf8370286f86e6b14
https://github.com/llvm/llvm-project/commit/1373f7c714824f5957aa5fabf8370286f86e6b14
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M lldb/examples/python/crashlog.py
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/altered_threadState.test
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/json.test
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/no_threadState.test
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/skipped_status_interactive_crashlog.test
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/text.test
Log Message:
-----------
Revert "[lldb/crashlog] Make interactive mode the new default" (#96263)
Reverts llvm/llvm-project#94575 since introduces test failure:
https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/as-lldb-cmake/6166/
Commit: 1fafa32f6ee844f0862954d0b2330dee26b0469f
https://github.com/llvm/llvm-project/commit/1fafa32f6ee844f0862954d0b2330dee26b0469f
Author: Enna1 <xumingjie.enna1 at bytedance.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/ScalarEvolution.h
M llvm/lib/Analysis/ScalarEvolution.cpp
Log Message:
-----------
[SCEV] Avoid unnecessary call to getExitingBlock() in computeExitLimit() (#96188)
In `computeExitLimit()`, we use `getExitingBlock()` to check if loop has
exactly one exiting block.
Since `computeExitLimit()` is only used in
`computeBackedgeTakenCount()`, and `getExitingBlocks()` is called to get
all exiting blocks in `computeBackedgeTakenCount()`, we can simply check
if loop has exactly one exiting block by checking if the number of
exiting blocks equals 1 in `computeBackedgeTakenCount()` and pass it as
an argument to `computeExitLimit()`.
This change helps to improve the compile time for files containing large
loops.
Commit: 749876e8e5e505c2c635ab37d2006d7d0ea87f37
https://github.com/llvm/llvm-project/commit/749876e8e5e505c2c635ab37d2006d7d0ea87f37
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
Log Message:
-----------
[clang-format[NFC] Clean up AnnotatingParser::rParenEndsCast() (#96128)
Commit: abaaa48ce6b212798cc51f676f1d01d31d590120
https://github.com/llvm/llvm-project/commit/abaaa48ce6b212798cc51f676f1d01d31d590120
Author: Chen Zheng <czhengsz at cn.ibm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
A llvm/test/CodeGen/PowerPC/frameaddr-alloca.ll
Log Message:
-----------
[PowerPC] fix frameaddress error when there is dynamic alloca call, NFC
Commit: e1c03ddc9b03b820b421d8b3bca6a94e4d1a4675
https://github.com/llvm/llvm-project/commit/e1c03ddc9b03b820b421d8b3bca6a94e4d1a4675
Author: Chen Zheng <czhengsz at cn.ibm.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
M llvm/test/CodeGen/PowerPC/frameaddr-alloca.ll
Log Message:
-----------
[PowerPC] use r1 as the frame pointer when there is dynamic alloca
On PPC, when there is dynamic alloca, only r1 points to the backchain.
Commit: 7b906d46f6e6915f32718dd5b313ba47a7cec259
https://github.com/llvm/llvm-project/commit/7b906d46f6e6915f32718dd5b313ba47a7cec259
Author: Max Winkler <max.enrico.winkler at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/MicrosoftMangle.cpp
M clang/test/CodeGenCXX/mangle-ms-auto-templates.cpp
Log Message:
-----------
[clang-cl][AST] Fix auto NTTP MSVC 1920+ mangling for pointer types (#92477)
https://godbolt.org/z/G1K8Wszn9 for reference.
Starting with MSVC 1920+, VS2019, C++17 auto NTTP now adds `M <type>` to
the mangled name to avoid name collisions with different deduced types.
This PR fixes pointers. Pointers to members will be fixed in an upcoming
PR.
Here is a small example. The godbolt has more thorough examples.
```
template<auto>
struct AutoParmTemplate
{
AutoParmTemplate() {}
};
int i;
int main()
{
// MSVC 1916: ??0?$AutoParmTemplate@$1?i@@3HA@@QEAA at XZ
// MSVC 1929: ??0?$AutoParmTemplate@$MPEAH1?i@@3HA@@QEAA at XZ
// Clang: ??0?$AutoParmTemplate@$1?i@@3HA@@QEAA at XZ
AutoParmTemplate<&i> x;
}
```
Commit: e6486030340ea5756bec43a633567ed6411668c3
https://github.com/llvm/llvm-project/commit/e6486030340ea5756bec43a633567ed6411668c3
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/Serialization/ASTWriterStmt.cpp
A clang/test/Modules/transitive-adl-change.cppm
Log Message:
-----------
[C++20] [Modules] Reference all the possible declarations for ADL
In no transitive change mode, the unresolved ADL may not
be referenced, then it is problematic if the change didn't get
propagated correctly. This patch add references to all the possible
module files for the unresolved ADL to solve the problem.
Commit: 762546565173e27b1851dfd1f3bfcc7fc847a2f9
https://github.com/llvm/llvm-project/commit/762546565173e27b1851dfd1f3bfcc7fc847a2f9
Author: Jianjian Guan <jacquesguan at me.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/Basic/Targets/RISCV.cpp
M clang/test/CodeGen/RISCV/riscv-func-attr-target.c
M lld/test/ELF/lto/riscv-attributes.ll
M lld/test/ELF/riscv-attributes.s
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoM.td
M llvm/lib/Target/RISCV/RISCVInstrInfoZc.td
M llvm/test/CodeGen/RISCV/attributes-module-flag.ll
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/MC/RISCV/attribute-arch.s
M llvm/test/MC/RISCV/attribute.s
M llvm/test/MC/RISCV/default-build-attributes.s
M llvm/test/MC/RISCV/rv32zcb-valid.s
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Make M imply Zmmul (#95070)
According to the spec, M implies Zmmul.
Commit: f3c4dae6f2c44f1a7f130c4cf4b2861b62402b48
https://github.com/llvm/llvm-project/commit/f3c4dae6f2c44f1a7f130c4cf4b2861b62402b48
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M lld/ELF/Arch/X86_64.cpp
M lld/test/ELF/x86-64-gotpc-relax-too-far.s
Log Message:
-----------
[ELF] -no-pie: don't optimize addq R_X86_64_REX_GOTPCRELX when !isInt<32>(va)
When `!isInt<32>(x.va)`, `addq x at GOTPCREL(%rip), %rax` (possibly due to
getelementptr of a global variable) should not be optimized to
`addq offset, %rax`. We currently have either an assertion failure or an
incorrect optimization.
Fix it using the relaxOnce framework.
Commit: 89881480030f48f83af668175b70a9798edca2fb
https://github.com/llvm/llvm-project/commit/89881480030f48f83af668175b70a9798edca2fb
Author: YunQiang Su <syq at debian.org>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/include/llvm/ADT/APFloat.h
M llvm/include/llvm/Analysis/TargetLibraryInfo.def
M llvm/include/llvm/CodeGen/BasicTTIImpl.h
M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
M llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
M llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
M llvm/include/llvm/CodeGen/GlobalISel/Utils.h
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/include/llvm/IR/ConstrainedOps.def
M llvm/include/llvm/IR/IRBuilder.h
M llvm/include/llvm/IR/IntrinsicInst.h
M llvm/include/llvm/IR/Intrinsics.td
M llvm/include/llvm/IR/RuntimeLibcalls.def
M llvm/include/llvm/IR/VPIntrinsics.def
M llvm/include/llvm/Support/TargetOpcodes.def
M llvm/include/llvm/Target/GenericOpcodes.td
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
M llvm/include/llvm/Target/TargetSelectionDAG.td
M llvm/lib/CodeGen/ExpandVectorPredication.cpp
M llvm/lib/CodeGen/GlobalISel/CSEMIRBuilder.cpp
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/Utils.cpp
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/CodeGen/TargetLoweringBase.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
M llvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
M llvm/lib/Target/Hexagon/HexagonPatterns.td
M llvm/lib/Target/Hexagon/HexagonPatternsHVX.td
M llvm/lib/Target/RISCV/GISel/RISCVRegisterBankInfo.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoD.td
M llvm/lib/Target/RISCV/RISCVInstrInfoF.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
M llvm/test/CodeGen/AArch64/combine_andor_with_cmps.ll
A llvm/test/CodeGen/AArch64/fp-maximumnum-minimumnum.ll
M llvm/test/CodeGen/Hexagon/fminmax-v67.ll
A llvm/test/CodeGen/LoongArch/fp-maximumnum-minimumnum.ll
A llvm/test/CodeGen/Mips/fp-maximumnum-minimumnum.ll
M llvm/test/CodeGen/RISCV/double-intrinsics.ll
M llvm/test/CodeGen/RISCV/float-intrinsics.ll
M llvm/test/TableGen/GlobalISelEmitter.td
M llvm/test/tools/llvm-tli-checker/ps4-tli-check.yaml
M llvm/unittests/ADT/APFloatTest.cpp
M llvm/unittests/Analysis/TargetLibraryInfoTest.cpp
M llvm/unittests/IR/VPIntrinsicTest.cpp
Log Message:
-----------
Intrinsic: introduce minimumnum and maximumnum (#93841)
Currently, on different platform, the behaivor of llvm.minnum is
different if one operand is sNaN:
When we compare sNaN vs NUM:
ARM/AArch64/PowerPC: follow the IEEE754-2008's minNUM: return qNaN.
RISC-V/Hexagon follow the IEEE754-2019's minimumNumber: return NUM. X86:
Returns NUM but not same with IEEE754-2019's minimumNumber as
+0.0 is not always greater than -0.0.
MIPS/LoongArch/Generic: return NUM.
LIBCALL: returns qNaN.
So, let's introduce llvm.minmumnum/llvm.maximumnum, which always follow
IEEE754-2019's minimumNumber/maximumNumber.
Half-fix: #93033
Commit: 826bde5d8ae9f89b71d14453c631f1d76932c2d8
https://github.com/llvm/llvm-project/commit/826bde5d8ae9f89b71d14453c631f1d76932c2d8
Author: Anchu Rajendran S <asudhaku at amd.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M flang/include/flang/Semantics/openmp-directive-sets.h
M flang/lib/Parser/openmp-parsers.cpp
M flang/lib/Parser/unparse.cpp
M flang/lib/Semantics/resolve-directives.cpp
A flang/test/Lower/OpenMP/Todo/loop-directive.f90
A flang/test/Parser/OpenMP/target-loop-unparse.f90
M llvm/include/llvm/Frontend/OpenMP/OMP.td
Log Message:
-----------
Adding parsing support for omp loop, target loop directives (#93517)
Change adds parsing support for omp loop, omp target loop, omp target
parallel loop and omp target teams loop.
Commit: a2cd846b7bcc747825ed15b4ab1e9b243ff6b917
https://github.com/llvm/llvm-project/commit/a2cd846b7bcc747825ed15b4ab1e9b243ff6b917
Author: Piotr Fusik <piotr at fusion-lang.org>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/docs/TableGen/ProgRef.rst
Log Message:
-----------
[TableGen][Docs] Clarify `TokCode` definition. (#96201)
"shortest" would be an empty sequence and the rule would never match.
Commit: 255986e27fcf9f0b36f7a23fbe030fcca1ba0249
https://github.com/llvm/llvm-project/commit/255986e27fcf9f0b36f7a23fbe030fcca1ba0249
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/lib/Driver/Driver.cpp
Log Message:
-----------
[Driver] BuildOffloadingActions: Stabilize iteration order
Otherwise hip-phases.hip could fail when llvm::hash_value(StringRef)
changes.
Commit: e674e739d790aa4a7d9e9d779b02574e1dbe73ca
https://github.com/llvm/llvm-project/commit/e674e739d790aa4a7d9e9d779b02574e1dbe73ca
Author: Alexander Shaposhnikov <6532716+alexander-shaposhnikov at users.noreply.github.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M compiler-rt/lib/nsan/tests/CMakeLists.txt
Log Message:
-----------
[compiler-rt] Fix build breakage (#96235)
Add missing flags in cmake.
Follow-up to cae6d458a.
Commit: cfd202141069809c3c65b8b49d3896f44ff10a6a
https://github.com/llvm/llvm-project/commit/cfd202141069809c3c65b8b49d3896f44ff10a6a
Author: martinboehme <mboehme at google.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h
M clang/include/clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h
M clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp
M clang/unittests/Analysis/FlowSensitive/TestingSupport.h
M clang/unittests/Analysis/FlowSensitive/UncheckedOptionalAccessModelTest.cpp
Log Message:
-----------
[clang][dataflow] Add a callback run on the pre-transfer state. (#96140)
At the same time, rename `PostVisitCFG` to the more descriptive
`PostAnalysisCallbacks` (which emphasizes the fact that these callbacks
are run
after the dataflow analysis itself has converged).
Before this patch, it was only possible to run a callback on the state
_after_
the transfer function had been applied, but for many analyses, it's more
natural
to to check the state _before_ the transfer function has been applied,
because we
are usually checking the preconditions for some operation. Some checks
are
impossible to perform on the "after" state because we can no longer
check the
precondition; for example, the `++` / `--` operators on raw pointers
require the
operand to be nonnull, but after the transfer function for the operator
has been
applied, the original value of the pointer can no longer be accessed.
`UncheckedOptionalAccessModelTest` has been modified to run the
diagnosis
callback on the "before" state. In this particular case, diagnosis can
be run
unchanged on either the "before" or "after" state, but we want this test
to
demonstrate that running diagnosis on the "before" state is usually the
preferred approach.
This change is backwards-compatible; all existing analyses will continue
to run
the callback on the "after" state.
Commit: 348240362f9673c824c0ad22fd9e13ae3f937864
https://github.com/llvm/llvm-project/commit/348240362f9673c824c0ad22fd9e13ae3f937864
Author: Malay Sanghi <malay.sanghi at intel.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/Headers/intrin.h
M clang/test/CodeGen/X86/ms-x86-intrinsics.c
Log Message:
-----------
[X86]Add support for __outbyte/word/dword and __inbyte/word/dword (#93774)
A previous commit implemented _inp/w/d and renaming that to
__inbyte/word/dword
These intrinsics were declared in the header but never implemented.
Commit: beba2e738548cb7465deef640f173fa768c10711
https://github.com/llvm/llvm-project/commit/beba2e738548cb7465deef640f173fa768c10711
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/lib/ProfileData/InstrProf.cpp
M llvm/unittests/ProfileData/InstrProfTest.cpp
Log Message:
-----------
[ProfileData] Teach addValueData to honor parameter Site (#96233)
This patch teaches addValueData to honor Site for verification
purposes. It does not affect the profile data in any manner.
Commit: 225d8fc8eb24fb797154c1ef6dcbe5ba033142da
https://github.com/llvm/llvm-project/commit/225d8fc8eb24fb797154c1ef6dcbe5ba033142da
Author: dyung <douglas.yung at sony.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
Log Message:
-----------
Replace hard coded opcodes from #93841 with regexes to be more flexible. (#96277)
This change removes the hard coded opcode values and replaces them with
regexes so that the test can deal with different opcode numbers being
assigned and unbreak a ton of bots.
Commit: 9f71a6bb83881e2f19b543540d93b60370d52b3c
https://github.com/llvm/llvm-project/commit/9f71a6bb83881e2f19b543540d93b60370d52b3c
Author: David Tellenbach <dtellenbach at apple.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M llvm/lib/DWARFLinker/Classic/DWARFStreamer.cpp
M llvm/lib/DWARFLinker/Parallel/DebugLineSectionEmitter.h
A llvm/test/tools/dsymutil/Inputs/discriminator.arm64.dylib
A llvm/test/tools/dsymutil/Inputs/discriminator.arm64.o
A llvm/test/tools/dsymutil/discriminator.test
Log Message:
-----------
[DWARFLinker] Preserve DWARF discriminators while linking (#96124)
DWARF-4 introduced DWARF discriminators but both, the classic and the
parallel DWARF linkers discarded them so far.
After applying this patch dsymutil, which uses the DWARF linkers,
correctly preserves discriminator information.
Commit: 62abd9a6f6fecaebb5aaac7720622f4ca13b3e45
https://github.com/llvm/llvm-project/commit/62abd9a6f6fecaebb5aaac7720622f4ca13b3e45
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/include/clang/Lex/HeaderSearchOptions.h
Log Message:
-----------
[Lex] HeaderSearchOptions: Remove unused hash_value overloads
Commit: 84728629c37c8463910860f9b5531ba18d03a9a8
https://github.com/llvm/llvm-project/commit/84728629c37c8463910860f9b5531ba18d03a9a8
Author: David Tellenbach <dtellenbach at apple.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
A llvm/test/tools/dsymutil/ARM/discriminator.test
R llvm/test/tools/dsymutil/discriminator.test
Log Message:
-----------
[dsymutil] Move discriminator test to be executed with Arm support only (#96280)
This fixes a test failure introduced in 9f71a6b.
Commit: 12c0281f8c73bc1aa20d1517357e0e12c3f8bb4e
https://github.com/llvm/llvm-project/commit/12c0281f8c73bc1aa20d1517357e0e12c3f8bb4e
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/lib/Lex/HeaderSearch.cpp
Log Message:
-----------
[Lex] Replace hash_combine with a stable hash
Commit: f2f18459d4e77e323b08971cf9d42b3574421fa7
https://github.com/llvm/llvm-project/commit/f2f18459d4e77e323b08971cf9d42b3574421fa7
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/include/llvm/ADT/APFloat.h
M llvm/include/llvm/Analysis/TargetLibraryInfo.def
M llvm/include/llvm/CodeGen/BasicTTIImpl.h
M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
M llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
M llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
M llvm/include/llvm/CodeGen/GlobalISel/Utils.h
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/include/llvm/IR/ConstrainedOps.def
M llvm/include/llvm/IR/IRBuilder.h
M llvm/include/llvm/IR/IntrinsicInst.h
M llvm/include/llvm/IR/Intrinsics.td
M llvm/include/llvm/IR/RuntimeLibcalls.def
M llvm/include/llvm/IR/VPIntrinsics.def
M llvm/include/llvm/Support/TargetOpcodes.def
M llvm/include/llvm/Target/GenericOpcodes.td
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
M llvm/include/llvm/Target/TargetSelectionDAG.td
M llvm/lib/CodeGen/ExpandVectorPredication.cpp
M llvm/lib/CodeGen/GlobalISel/CSEMIRBuilder.cpp
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/Utils.cpp
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/CodeGen/TargetLoweringBase.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
M llvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
M llvm/lib/Target/Hexagon/HexagonPatterns.td
M llvm/lib/Target/Hexagon/HexagonPatternsHVX.td
M llvm/lib/Target/RISCV/GISel/RISCVRegisterBankInfo.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoD.td
M llvm/lib/Target/RISCV/RISCVInstrInfoF.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
M llvm/test/CodeGen/AArch64/combine_andor_with_cmps.ll
R llvm/test/CodeGen/AArch64/fp-maximumnum-minimumnum.ll
M llvm/test/CodeGen/Hexagon/fminmax-v67.ll
R llvm/test/CodeGen/LoongArch/fp-maximumnum-minimumnum.ll
R llvm/test/CodeGen/Mips/fp-maximumnum-minimumnum.ll
M llvm/test/CodeGen/RISCV/double-intrinsics.ll
M llvm/test/CodeGen/RISCV/float-intrinsics.ll
M llvm/test/TableGen/GlobalISelEmitter.td
M llvm/test/tools/llvm-tli-checker/ps4-tli-check.yaml
M llvm/unittests/ADT/APFloatTest.cpp
M llvm/unittests/Analysis/TargetLibraryInfoTest.cpp
M llvm/unittests/IR/VPIntrinsicTest.cpp
Log Message:
-----------
Revert "Intrinsic: introduce minimumnum and maximumnum (#93841)"
As far as I can tell, this pull request was not approved, and
did not go through an RFC on discourse.
This reverts commit 89881480030f48f83af668175b70a9798edca2fb.
This reverts commit 225d8fc8eb24fb797154c1ef6dcbe5ba033142da.
Commit: 36c6632eb43bf67e19c8a6a21981cf66e06389b4
https://github.com/llvm/llvm-project/commit/36c6632eb43bf67e19c8a6a21981cf66e06389b4
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/PassInstrumentation.h
M llvm/include/llvm/IR/PassManager.h
M llvm/include/llvm/IR/PassManagerImpl.h
M llvm/include/llvm/Target/TargetMachine.h
M llvm/include/llvm/Transforms/IPO/SampleProfileProbe.h
M llvm/include/llvm/Transforms/Scalar/LoopPassManager.h
M llvm/include/llvm/Transforms/Utils/Debugify.h
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/FuzzMutate/IRMutator.cpp
M llvm/unittests/Analysis/CGSCCPassManagerTest.cpp
M llvm/unittests/Analysis/InlineCostTest.cpp
M llvm/unittests/Transforms/IPO/FunctionSpecializationTest.cpp
M polly/lib/Support/DumpFunctionPass.cpp
Log Message:
-----------
[IR] Don't include PassInstrumentation.h in PassManager.h (NFC) (#96219)
Move PassInstrumentationAnalysis into PassInstrumentation.h and stop
including it in PassManager.h (effectively inverting the direction of
the dependency).
Most places using PassManager are not interested in PassInstrumentation,
and we no longer have any uses of it in PassManager.h itself (only in
PassManagerImpl.h).
Commit: 874dcaea09171100de02fa6d5c0af0669aea900f
https://github.com/llvm/llvm-project/commit/874dcaea09171100de02fa6d5c0af0669aea900f
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/lib/AST/ODRHash.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
M llvm/include/llvm/ADT/FoldingSet.h
Log Message:
-----------
[Serialization] Use stable hash functions
clangSerialization currently uses hash_combine/hash_value from
Hashing.h, which are not guaranteed to be deterministic.
Replace these uses with xxh3_64bits.
Pull Request: https://github.com/llvm/llvm-project/pull/96136
Commit: 218f07014a220543aaed4e43e214440687ca75f3
https://github.com/llvm/llvm-project/commit/218f07014a220543aaed4e43e214440687ca75f3
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir
Log Message:
-----------
[mlir][vector] Update tests for collapse 4/n (nfc) (#96214)
The main goal of this PR (and subsequent PRs), is to add more tests with
scalable vectors to:
* vector-transfer-collapse-inner-most-dims.mlir
There's quite a few cases to consider, hence this is split into multiple
PRs. In this PR, `@outer_dyn_drop_inner_most_dim` is replaced with:
* `@contiguous_inner_most_dynamic_outer`
I am also adding a similar test for scalable vectors. In addition,
* `@drop_two_inner_most_dim` and
`@drop_two_inner_most_dim_scalable_inner_dim`,
are renamed as `@contiguous_inner_most` and
`@contiguous_inner_most_scalable_inner_dim`, respectively, to match
their counterpart for `xfer_read`.
NOTE: This PR is limited to tests for `vector.transfer_write`
This is a follow-up for: #94490, #94604, #94906
Commit: b39f523af7601fe1b39b32568b705fe844d70057
https://github.com/llvm/llvm-project/commit/b39f523af7601fe1b39b32568b705fe844d70057
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/include/clang/Basic/arm_sve.td
M clang/include/clang/Basic/arm_sve_sme_incl.td
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_abd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_abs.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_acge.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_acgt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_acle.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_aclt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_add.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_addv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_and.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_andv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_asr.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_asrd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bfdot.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bfmlalb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bfmlalt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bic.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brka.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkn.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkpa.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkpb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cadd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clasta-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clasta.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clastb-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clastb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cls.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clz.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmla.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpeq.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpge.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpgt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmple.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmplt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpne.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpuo.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnot.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnt-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnth.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntp.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cvt-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cvt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cvtnt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_div.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_divr.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dot.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dup-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dup.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dupq-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dupq.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_eor.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_eorv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ext-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ext.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_extb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_exth.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_extw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_index.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_insr-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_insr.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lasta-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lasta.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lastb-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lastb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1rq-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1rq.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1ub.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1uh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1uw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnt1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnt1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_len-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_len.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lsl.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lsr.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mad.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_max.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxnm.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxnmv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_min.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minnm.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minnmv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mla.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mls.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mov.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_msb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mul.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mulh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mulx.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nand.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_neg.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmad.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmla.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmls.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmsb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nor.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_not.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_orn.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_orr.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_orv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_pfalse.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_pfirst.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_pnext.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ptest.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ptrue.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qadd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdech.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecp.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qinch.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincp.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qsub.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rbit.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_recpe.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_recps.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_recpx.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rev-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rev.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_revb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_revh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_revw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rinta.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rinti.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintm.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintn.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintp.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintx.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintz.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rsqrte.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rsqrts.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_scale.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sel-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sel.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_splice-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_splice.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sqrt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1b.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1h.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1w.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_stnt1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_stnt1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sub.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_subr.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sudot.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tbl-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tbl.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_unpklo.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_usdot.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_whilele.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_whilelt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip2.c
M clang/test/Sema/aarch64-sve-intrinsics/acle_sve_bfloat.cpp
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2.cpp
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_bfloat.cpp
M clang/utils/TableGen/SveEmitter.cpp
Log Message:
-----------
[Clang][AArch64] Expose compatible SVE intrinsics with only +sme (#95787)
This allows code with SVE intrinsics to be compiled with +sme,+nosve,
assuming the encompassing function is in the correct mode (see #93802)
Commit: 0255c48188801b20884bb6b2603d3af642782fba
https://github.com/llvm/llvm-project/commit/0255c48188801b20884bb6b2603d3af642782fba
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/lib/Transforms/Utils/DialectConversion.cpp
Log Message:
-----------
[mlir][Transforms] Dialect conversion: Remove workaround (#96186)
This commit removes a `FIXME` in the code base that was in place because
of patterns that used the dialect conversion API incorrectly. Those
patterns have been fixed and the workaround is no longer needed.
Commit: ae41232191ec73b5ee96e5f21df99a42ca25d626
https://github.com/llvm/llvm-project/commit/ae41232191ec73b5ee96e5f21df99a42ca25d626
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Descriptor.cpp
M clang/test/AST/Interp/vectors.cpp
Log Message:
-----------
[clang][Interp] Fix Descriptor::getElemQualType() for complex/vectors
We handle them like arrays but still need to differentiate between
array/vector/complex types when dealing with QualTypes.
Commit: 0adecfbc393e86def951bca3516593a0a58ca7d0
https://github.com/llvm/llvm-project/commit/0adecfbc393e86def951bca3516593a0a58ca7d0
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/test/CodeGenCXX/temporaries.cpp
Log Message:
-----------
[clang][test] Enable a commented-out test (#96195)
This doesn't seem to crash anymore.
Commit: db03d9d33a84b184ac0ce0d9bcf1c0d3da202b61
https://github.com/llvm/llvm-project/commit/db03d9d33a84b184ac0ce0d9bcf1c0d3da202b61
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/test/Transforms/Inline/access-attributes-prop.ll
M llvm/test/Transforms/Inline/noalias-calls-always.ll
M llvm/test/Transforms/Inline/noalias-calls.ll
M llvm/test/Transforms/PhaseOrdering/pr95152.ll
Log Message:
-----------
Recommit "[Inliner] Propagate callee argument memory access attributes before inlining" (2nd Try)
In the re-commit, just dropping the propagation of `writeonly` as that
is the only attribute that can play poorly with call slot optimization
(see issue: #95152 for more details).
Closes #95888
Commit: b635d690ed1e3fbebab9dee1b157fa380d3e9eba
https://github.com/llvm/llvm-project/commit/b635d690ed1e3fbebab9dee1b157fa380d3e9eba
Author: David Green <david.green at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/test/SemaHLSL/ScalarOverloadResolution.hlsl
M clang/test/SemaHLSL/VectorElementOverloadResolution.hlsl
M llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
M llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
M llvm/test/CodeGen/AArch64/speculation-hardening-loads.ll
M llvm/test/CodeGen/X86/load-partial-dot-product.ll
M llvm/test/tools/yaml2obj/COFF/load-config.yaml
Log Message:
-----------
[NFC] Fix laod -> load typos. NFC
Commit: 09cdbd2a5c2c8f821475d3d7e1741aee9a20d0f0
https://github.com/llvm/llvm-project/commit/09cdbd2a5c2c8f821475d3d7e1741aee9a20d0f0
Author: David Green <david.green at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Log Message:
-----------
[AArch64] Use AArch64ISD::UADDLP over aarch64_neon_uaddlp. NFC
Commit: c6a257fe0fc9ba677d96929a34dedc5f243aad7d
https://github.com/llvm/llvm-project/commit/c6a257fe0fc9ba677d96929a34dedc5f243aad7d
Author: David Green <david.green at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64GenRegisterBankInfo.def
Log Message:
-----------
[AArch64] Fix || Add brackets for || inside of assert
Fixes:
llvm/lib/Target/AArch64/AArch64GenRegisterBankInfo.def:185:12: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
assert(!Size.isScalable() || MinSize >= 128
~~~~~~~~~~~~~~
&& "Scalable vector types should have size of at least 128 bits");
Commit: 7c946f04cf363a8c581529907be8ee9f735591c7
https://github.com/llvm/llvm-project/commit/7c946f04cf363a8c581529907be8ee9f735591c7
Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/GlobalOpt.cpp
M llvm/test/Transforms/GlobalOpt/resolve-static-ifunc.ll
Log Message:
-----------
[GlobalOpt] Don't resolve aliased ifuncs with undefined resolvees. (#96220)
Fixes https://github.com/llvm/llvm-project/issues/96197.
A global alias should always point to a definition. Ifuncs are
definitions, so far so good. However an ifunc may be statically resolved
to a function that is declared but not defined in the translation unit.
With this patch we perform static resolution if:
* the resolvee is defined, else if
* none of the ifunc users is a global alias
Commit: d59a4cac5fe6c05da0e9088aad8f94c207423c36
https://github.com/llvm/llvm-project/commit/d59a4cac5fe6c05da0e9088aad8f94c207423c36
Author: Anton Sidorenko <anton.sidorenko at syntacore.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/test/Driver/riscv-cpus.c
M clang/test/Misc/target-invalid-cpu-note.c
M llvm/docs/ReleaseNotes.rst
M llvm/lib/Target/RISCV/RISCVProcessors.td
Log Message:
-----------
[RISCV] Add Syntacore SCR3 processor definition (#95953)
Syntacore SCR3 is a microcontroller-class processor core. Overview:
https://syntacore.com/products/scr3
This PR introduces two CPUs:
* 'syntacore-scr3-rv32' which is rv32imc
* 'syntacore-scr3-rv64' which is rv64imac
---------
Co-authored-by: Dmitrii Petrov <dmitrii.petrov at syntacore.com>
Commit: ef16f7ac1b3267e11bad464b4116d34396e7967f
https://github.com/llvm/llvm-project/commit/ef16f7ac1b3267e11bad464b4116d34396e7967f
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/CodeGenPrepare.cpp
Log Message:
-----------
[CodeGenPrepare] Add missing `static` decl on `matchIncrement()`; NFC
Commit: a078416a8594a5981367d9096e2181abe7811c5f
https://github.com/llvm/llvm-project/commit/a078416a8594a5981367d9096e2181abe7811c5f
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2-bfloat.c
Log Message:
-----------
[AArch64] Fix up failing test that should have been caught by precommit
Not sure why Github precommit tests didn't show this. Do they not build
for all targets?
Commit: c2a22f1a720e88ba3b574175bd23c1fb0164b4c8
https://github.com/llvm/llvm-project/commit/c2a22f1a720e88ba3b574175bd23c1fb0164b4c8
Author: Abid Qadeer <haqadeer at amd.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
A flang/test/Integration/debug-local-var-2.f90
R flang/test/Transforms/debug-fn-info.f90
A flang/test/Transforms/debug-fn-info.fir
R flang/test/Transforms/debug-local-var-2.f90
R flang/test/Transforms/debug-local-var.f90
A flang/test/Transforms/debug-local-var.fir
Log Message:
-----------
[flang][debug] Cleanup tests. (NFC) (#96189)
@kiranchandramohan mentioned
[here](https://github.com/llvm/llvm-project/pull/91582#discussion_r1606046605)
that LLVM IR tests should go in the Integration folder. He also
mentioned
[here](https://github.com/llvm/llvm-project/pull/91582#discussion_r1606684034)
that tests for `add-debug-info` pass should test that pass only. There
were some tests which were added before his comments so I have cleaned
them in this PR. The following changes were made.
1. Move LLVM IR tests to `Integration` folder.
2. Change tests from f90 to fir and only test changes done by
`add-debug-info` pass.
Commit: e887624aca4ed2f63d5393daa5bec3ddc4a46e83
https://github.com/llvm/llvm-project/commit/e887624aca4ed2f63d5393daa5bec3ddc4a46e83
Author: David Green <david.green at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
R llvm/test/CodeGen/AArch64/GlobalISel/gisel-fail-intermediate-legalizer.ll
M llvm/test/CodeGen/AArch64/GlobalISel/select-fp-casts.mir
M llvm/test/CodeGen/AArch64/fptoi.ll
Log Message:
-----------
[AArch64][GlobalISel] Add fp128 and i128 fptosi/fptoui handling. (#95528)
Any fp128 need to end up as libcall, as will f32->i128 and f64->i128.
f16 are a bit special as the maximum range of the result fits in a i17,
so can be shrank to an i64. Vector with i128/fp128 types are scalarized.
Commit: b23bd529c3bdbae147f68b68b4ce88cd92581d05
https://github.com/llvm/llvm-project/commit/b23bd529c3bdbae147f68b68b4ce88cd92581d05
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/IR/PassInstrumentation.cpp
Log Message:
-----------
[PassInstrumentation] Use try_emplace() (NFC)
To avoid a duplicate hash map lookup.
Commit: aed989157ddcdaaf3fea295c449f23dffe327ae5
https://github.com/llvm/llvm-project/commit/aed989157ddcdaaf3fea295c449f23dffe327ae5
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/test/CXX/drs/cwg2xx.cpp
M clang/test/CXX/drs/cwg3xx.cpp
M clang/test/CXX/drs/cwg8xx.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang] Cover CWG issues about `export template` (#94876)
This PR covers the following Core issues:
[CWG204](https://cplusplus.github.io/CWG/issues/204.html) "Exported
class templates"
[CWG323](https://cplusplus.github.io/CWG/issues/323.html) "Where must
`export` appear?"
[CWG335](https://cplusplus.github.io/CWG/issues/335.html) "Allowing
`export` on template members of nontemplate classes"
[CWG820](https://cplusplus.github.io/CWG/issues/820.html) "Deprecation
of `export`"
I believe the list above is entirety of Core issues that are dedicated
solely to `export template`.
I believe we have two main points of view here, which command what this
PR should do:
1. (easy) Removal of `export template` was done as a defect report in
CWG820, and the rest are effectively superseded by it, because we apply
defect reports retroactively.
2. (harder) Those Core issues are testable individually, so we should
test them for the behavior Core wanted at the time.
This PR implements the first option, making our C++ DR status page
greener.
I think I can be persuaded to go with the second option, if reviewers
have strong preference for it.
Commit: bc4d50f02ded9eea287daccf2b4a39ae5d30abd0
https://github.com/llvm/llvm-project/commit/bc4d50f02ded9eea287daccf2b4a39ae5d30abd0
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Sema/Sema.h
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/test/CXX/drs/cwg26xx.cpp
M clang/test/CXX/drs/cwg28xx.cpp
M clang/test/SemaCXX/cxx20-using-enum.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang] Implement CWG2877 "Type-only lookup for using-enum-declarator" (#95399)
This patch implements 2024-05-31 resolution of a tentatively ready issue
[CWG2877](https://cplusplus.github.io/CWG/issues/2877.html) "Type-only
lookup for using-enum-declarator", which supersedes earlier
[CWG2621](https://cplusplus.github.io/CWG/issues/2621.html) "Kind of
lookup for `using enum` declarations".
Now we perform type-only lookup (not to be confused with type-only
context) for `elaborated-enum-declarator`. This is the same kind of
lookup that elaborated type specifiers and base specifiers undergo.
I also found out (and fixed) that one of our existing tests claimed that
a dependent type can be used in `elaborated-enum-declarator`, but that's
not the case:
> The
[using-enum-declarator](http://eel.is/c++draft/enum.udecl#nt:using-enum-declarator)
shall designate a non-dependent type with a reachable
[enum-specifier](http://eel.is/c++draft/dcl.enum#nt:enum-specifier)[.](http://eel.is/c++draft/enum.udecl#1.sentence-2)
Commit: 2b5d1fb889fca7287858db0791bfecc1465f23e1
https://github.com/llvm/llvm-project/commit/2b5d1fb889fca7287858db0791bfecc1465f23e1
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/test/CXX/basic/basic.start/basic.start.init/p3.cpp
M clang/test/CXX/drs/cwg28xx.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang] Add test for CWG2811 "Clarify "use" of main" (#96168)
This patch covers
[CWG2811](https://cplusplus.github.io/CWG/issues/2811.html) "Clarify
"use" of main", basically adding a test for `-Wmain`, focusing on usages
of `main` in unevaluated contexts.
To my understanding, the diagnostic message is based on the wording, so
I updated it based on the new wording. I also replaces "ISO C++
requires" with a phrasing that explicitly says "extension".
Commit: d4d95ee65159db1ea1a8c4159cfdaf8b81097897
https://github.com/llvm/llvm-project/commit/d4d95ee65159db1ea1a8c4159cfdaf8b81097897
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/include/clang/Serialization/ASTWriter.h
M clang/lib/Serialization/ASTWriter.cpp
M clang/test/Modules/decl-params-determinisim.m
A clang/test/Modules/no-transitive-identifier-change-2.cppm
Log Message:
-----------
[Serialization] Register identifiers in ahead and don't emit predefined decls
See the added test for the motivation example. In that example, we add a
new function declaration in `a.cppm` and this is not used in the reduced
BMI of `b.cppm`. We expect that the change won't affect the BMI of
`b.cppm`. But it is the not the case.
There are 2 reason for unexpected result:
1. We would register the interesting identifiers in a pretty late phase.
This may cause some some predefined identifier ID change due to we
insert other identifiers during emitting decls and types.
2. In `GenerateNameLookup`, we would generate information for predefined
decls. This may not be intended. Since every predefined decl doesn't
belong to any module.
And this patch solves the first issue by registering the identifiers in
the very early posititon to make sure the ID won't get affected by the
process to emit decls and types. And we solve the second question by
filtering predefined decls simply.
Commit: 34de7fd4284ce9f02c2ea902f8a8ce5fd256db3d
https://github.com/llvm/llvm-project/commit/34de7fd4284ce9f02c2ea902f8a8ce5fd256db3d
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/VectorTransferOpTransforms.cpp
M mlir/test/Dialect/Vector/vector-transfer-flatten.mlir
Log Message:
-----------
[mlir][vector] Refactor vector-transfer-flatten.mlir (nfc) (1/n) (#95743)
The main goal of this and subsequent PRs is to unify and categorize
tests in:
* vector-transfer-flatten.mlir
This should make it easier to identify the edge cases being tested (and
how they differ), remove duplicates and to add tests for scalable
vectors.
The main contributions of this PR:
* split tests that covered `xfer_read` + `xfer_write` into separate
tests (majority of the existing tests check _one_ xfer Op at a time),
* organise tests for `xfer_read` and `xfer_write` into separate
groups (separate with a big bold comment).
Note, all tests (i.e. test cases) are preserved and some new tests are
added. Deletions that you will see in `git diff` correspond to
`xfer_write` and `xfer_read` Ops being extracted to separate functions
(so that there's one xfer Op per function). In particular, the number of
test functions has grown from 26 to 30.
In addition, this PR unifies the tests so that:
* input variable names are consistent (e.g. make sure that the input
memref is always `arg`)
* CHECK lines use similar indentations
* 2 x tabs are always used for function arguments, 1 x tab for
function body
Finally, changes in "VectorTransferOpTransforms.cpp" are merely meant to
unify comments and logic between
* `FlattenContiguousRowMajorTransferWritePattern` and
* `FlattenContiguousRowMajorTransferReadPattern`.
Commit: 906316eababcbcfd71e357aa3b66bdfc9237b3b9
https://github.com/llvm/llvm-project/commit/906316eababcbcfd71e357aa3b66bdfc9237b3b9
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M lldb/include/lldb/Target/RegisterFlags.h
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
M lldb/source/Target/RegisterFlags.cpp
Log Message:
-----------
[lldb] More descriptive name for register flags logging functions
This was requested on a review for enum code that added new log
functions.
Commit: 0637778af4174daf9cc1c315049a79db27f36e72
https://github.com/llvm/llvm-project/commit/0637778af4174daf9cc1c315049a79db27f36e72
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
A mlir/test/Target/LLVMIR/openmp-parallel-reduction-multiblock.mlir
M mlir/test/Target/LLVMIR/openmp-reduction-init-arg.mlir
Log Message:
-----------
[mlir][LLVMIR][OpenMP] fix dominance for reduction init block (#96052)
It was incorrect to set the insertion point to the init block after
inlining the initialization region because the code generated in the
init block depends upon the value yielded from the init region. When
there were multiple reduction initialization regions each with multiple
blocks, this could lead to the initilization region being inlined after
the init block which depends upon it.
Moving the insertion point to before inlining the initialization block
turned up further issues around the handling of the terminator for the
initialization block, which are also fixed here.
This fixes a bug in #92430 (but the affected code couldn't compile
before #92430 anyway).
Commit: 57c083ecfb63a15656d974d097793c709c6552c4
https://github.com/llvm/llvm-project/commit/57c083ecfb63a15656d974d097793c709c6552c4
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/combine-pmadd.ll
Log Message:
-----------
[X86] combine-pmadd.ll - add tests for concatenations of pmaddwd/pmaddubsw subvectors
Commit: 53a059ca76b0a6a0dff731e5acc7d51e5a62546c
https://github.com/llvm/llvm-project/commit/53a059ca76b0a6a0dff731e5acc7d51e5a62546c
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/PassInstrumentation.h
Log Message:
-----------
[PassInstrumentation] Use DenseMap to store class->pass map (NFC)
It's okay to store the StringRef for the class name without
creating a separate copy inside the map, so use DenseMap instead
of StringMap.
Commit: cba4dfdd2fd0515821459b50947f4ec0d8b5c58a
https://github.com/llvm/llvm-project/commit/cba4dfdd2fd0515821459b50947f4ec0d8b5c58a
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/RegAllocFast.cpp
Log Message:
-----------
[RegAllocFast] Use unsigned for operand indices
MachineInstr operand indices can be up 24 bits currently. Use unsigned
as consistent data type for operand indices instead of uint16_t.
Commit: b1ec1a2dc81075eceddd2c6b34b52d2a741fd961
https://github.com/llvm/llvm-project/commit/b1ec1a2dc81075eceddd2c6b34b52d2a741fd961
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
Log Message:
-----------
[AArch64] NFCI: More sensible implementation of isLegalMaskedGatherScatter.
Gather/Scatter instructions are only available if the whole of SVE
is available.
Commit: 0ae6cfc5990b0b739166bd7db370125ca66494c2
https://github.com/llvm/llvm-project/commit/0ae6cfc5990b0b739166bd7db370125ca66494c2
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/RegAllocFast.cpp
Log Message:
-----------
[RegAllocFast] Handle single-vdef instrs faster (#96284)
On x86, many instructions have tied operands, so allocateInstruction
uses the more complex assignment strategy, which computes the assignment
order of virtual defs first. This involves iterating over all register
classes (or register aliases for physical defs) to compute the possible
number of defs per register class.
However, this information is only used for sorting virtual defs and
therefore not required when there's only one virtual def -- which is a
very common case. As iterating over all register classes/aliases is not
cheap, do this only when there's more than one virtual def.
Commit: 0290a0e64f0d235e0e6b38283f9a389c7ab977dc
https://github.com/llvm/llvm-project/commit/0290a0e64f0d235e0e6b38283f9a389c7ab977dc
Author: Balázs Kéri <balazs.keri at ericsson.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/AST/ASTImporter.cpp
Log Message:
-----------
[clang][ASTImporter] Fix possible crash "given incorrect InsertPos for specialization". (#89887)
In some situations a new `VarTemplateSpecializationDecl` (for the same
template) can be added during import of another one. The "insert
position" that is used to insert the current object into the list of
specializations is stored at start of the import and is used later. If
the list changes before the insertion the position is not valid any
more.
Commit: f12655ac1e0b036e354d4484f34409bd1438a69c
https://github.com/llvm/llvm-project/commit/f12655ac1e0b036e354d4484f34409bd1438a69c
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/include/llvm/Frontend/HLSL/HLSLResource.h
M llvm/lib/Frontend/HLSL/HLSLResource.cpp
Log Message:
-----------
[HLSLResource] Don't include Metadata.h (NFC)
This is only used for a single assert, so move it out of line.
This avoids a dependency on Metadata.h from large parts of clang.
Commit: c7c636189adc45251be2b7cc53b6b047e1ac3536
https://github.com/llvm/llvm-project/commit/c7c636189adc45251be2b7cc53b6b047e1ac3536
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/CXX/temp/temp.res/temp.dep/temp.dep.constexpr/p2-0x.cpp
Log Message:
-----------
[clang][Interp] Don't try to decay non-pointers to pointers
Commit: 739a9605677dd736971b17a7888f9d18fd245904
https://github.com/llvm/llvm-project/commit/739a9605677dd736971b17a7888f9d18fd245904
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/RegAllocCommon.h
M llvm/include/llvm/CodeGen/RegAllocFast.h
M llvm/include/llvm/Passes/PassBuilder.h
M llvm/lib/CodeGen/RegAllocBase.cpp
M llvm/lib/CodeGen/RegAllocBase.h
M llvm/lib/CodeGen/RegAllocBasic.cpp
M llvm/lib/CodeGen/RegAllocFast.cpp
M llvm/lib/CodeGen/RegAllocGreedy.cpp
M llvm/lib/CodeGen/RegAllocGreedy.h
M llvm/lib/Passes/PassBuilder.cpp
Log Message:
-----------
[RegAlloc] Don't call always-true ShouldAllocClass (#96296)
Previously, there was at least one virtual function call for every
allocated register. The only users of this feature are AMDGPU and RISC-V
(RVV), other targets don't use this. To easily identify these cases,
change the default functor to nullptr and don't call it for every
allocated register.
Commit: bc82793b304cff80605cf7ab14f51a7924d27481
https://github.com/llvm/llvm-project/commit/bc82793b304cff80605cf7ab14f51a7924d27481
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/test/IR/parser.mlir
M mlir/test/lib/Dialect/Test/CMakeLists.txt
M mlir/test/lib/Dialect/Test/TestAttrDefs.td
M mlir/test/lib/Dialect/Test/TestAttributes.h
M mlir/test/lib/Dialect/Test/TestOps.td
M mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp
Log Message:
-----------
[mlir] load dialects for non-namespaced attrs (#96242)
The mlir-translate tool calls into the parser without loading registered
dependent dialects, and the parser only loads attributes if the
fully-namespaced attribute is present in the textual IR. This causes
parsing to break when an op has an attribute that prints/parses without
the namespaced attribute.
Co-authored-by: Jeremy Kun <jkun at google.com>
Commit: f1075a34ab30f67915deb9a519dd98e025c5c998
https://github.com/llvm/llvm-project/commit/f1075a34ab30f67915deb9a519dd98e025c5c998
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/FileSystem.h
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
Log Message:
-----------
[FileSystem] Avoid <stack> include (NFC)
The standard pattern in LLVM is to directly use vectors for stacks,
without an additional std::stack wrapper to rename some methods.
Commit: 1c85c711aadb65943f5187524274fc96d1151b02
https://github.com/llvm/llvm-project/commit/1c85c711aadb65943f5187524274fc96d1151b02
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/test/Dialect/Vector/vector-transfer-flatten.mlir
Log Message:
-----------
[mlir][vector] Refactor vector-transfer-flatten.mlir (nfc) (2/n) (#95744)
The main goal of this and subsequent PRs is to unify and categorize
tests in:
* vector-transfer-flatten.mlir
This should make it easier to identify the edge cases being tested (and
how they differ), remove duplicates and to add tests for scalable
vectors.
Below are the main contributions of this PR
1. Two tests duplicated
`@transfer_{read|write}_dims_mismatch_non_contiguous_slice`:
* `@transfer_{read|write}_dims_mismatch_non_contiguous` and
* `@transfer_read_flattenable_negative` duplicated
`@transfer_{read|write}_dims_mismatch_non_contiguous_slice`.
These tests are removed (the original test is preserved).
2. `@transfer_read_flattenable_negative2` is replaced with
two tests with more descriptive names:
* `@transfer_read_non_contiguous_src` (for `xfer_read`) and
* `@transfer_write_non_contiguous_src` (for `xfer_write`)
Commit: c026024ff9c7ed79afffde318a73793c1f14e004
https://github.com/llvm/llvm-project/commit/c026024ff9c7ed79afffde318a73793c1f14e004
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
Log Message:
-----------
AMDGPU: Legalize v2f16 atomicrmw fadd for buffer fat pointers (#95929)
Unfortunately the v2bf16 case is complicated because gfx90a
doesn't support it, while it does for global/flat.
Commit: b23fe1088fa47d2604cb6c671aeca6ea7fe01df8
https://github.com/llvm/llvm-project/commit/b23fe1088fa47d2604cb6c671aeca6ea7fe01df8
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M bolt/lib/Core/BinaryFunction.cpp
Log Message:
-----------
[bolt] Add missing <stack> include (NFC)
Commit: 9c4944095db919580bdc698273065d1c91a98ed8
https://github.com/llvm/llvm-project/commit/9c4944095db919580bdc698273065d1c91a98ed8
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M lldb/include/lldb/Target/TraceDumper.h
M lldb/source/Commands/CommandObjectThreadUtil.h
Log Message:
-----------
[lldb] Add missing <stack> includes (NFC)
Commit: 9b50a88853cc5df4fcdcb56a2ea57f5db4b1978b
https://github.com/llvm/llvm-project/commit/9b50a88853cc5df4fcdcb56a2ea57f5db4b1978b
Author: Oleksandr T <oleksandr.tarasiuk at outlook.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaStmt.cpp
A clang/test/SemaCXX/lambda-as-default-parameter.cpp
Log Message:
-----------
[Clang] skip alignment checks on incomplete types to avoid an assertion failure while parsing lambda used as default argument (#94542)
Fixes #93512
Commit: 8cf39881d17becb1afef85190a602c4f76fe70d4
https://github.com/llvm/llvm-project/commit/8cf39881d17becb1afef85190a602c4f76fe70d4
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/combine-pmadd.ll
Log Message:
-----------
[X86] combineConcatVectorOps - add pmaddwd/pmaddubsw handling
Commit: 138ea7d1fb82c2525da8dcc2f8ea73eae7b25f25
https://github.com/llvm/llvm-project/commit/138ea7d1fb82c2525da8dcc2f8ea73eae7b25f25
Author: earnol <earnol at users.noreply.github.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGExpr.cpp
M compiler-rt/lib/ubsan/ubsan_value.cpp
M compiler-rt/lib/ubsan/ubsan_value.h
R compiler-rt/test/ubsan/TestCases/Integer/bit-int-pass.c
R compiler-rt/test/ubsan/TestCases/Integer/bit-int.c
Log Message:
-----------
Revert "[ubsan] Display correct runtime messages for negative _BitInt" (#96239)
Reverts llvm/llvm-project#93612 due to the issues with ppc64le platform.
Commit: 9f0aa05bfb40c077a5b1c2ea8cac88fdd51f0c5c
https://github.com/llvm/llvm-project/commit/9f0aa05bfb40c077a5b1c2ea8cac88fdd51f0c5c
Author: Hugo Trachino <hugo.trachino at huawei.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Vector/IR/VectorOps.h
M mlir/include/mlir/Dialect/Vector/TransformOps/VectorTransformOps.td
M mlir/lib/Dialect/Vector/TransformOps/VectorTransformOps.cpp
M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
M mlir/test/Dialect/Vector/transform-vector.mlir
Log Message:
-----------
[mlir][vector] Add ElementwiseToOuterproduct (#93664)
1D multi-reduction are lowered to arith which can prevent some
optimisations. I propose `ElementwiseToOuterproduct` matching a series of
ops to generate `vector.outerproduct`.
As part of some `ElementwiseToVectorOpsPatterns`, it could allow to fuse
other elementwiseOps to vector dialect.
Originally discussed
https://discourse.llvm.org/t/on-improving-arm-sme-lowering-resilience-in-mlir/78543/24.
quote @MacDue
```
%lhsBcast = vector.broadcast %lhsCast : vector<[4]xf32> to vector<[4]x[4]xf32>
%lhsT = vector.transpose %lhsBcast, [1, 0] : vector<[4]x[4]xf32> to vector<[4]x[4]xf32>
%rhsBcast = vector.broadcast %rhs : vector<[4]xf32> to vector<[4]x[4]xf32>
%mul = arith.mulf %lhsT, %rhsBcast : vector<[4]x[4]xf32>
```
Can be rewritten as:
```
%mul = vector.outerproduct $lhs, $rhs : vector<[4]xf32>, vector<[4]xf32>
```
---------
Co-authored-by: Han-Chung Wang <hanhan0912 at gmail.com>
Commit: cb8bd6f77235ee15bbe549c8f3486392b8966447
https://github.com/llvm/llvm-project/commit/cb8bd6f77235ee15bbe549c8f3486392b8966447
Author: Aviad Cohen <aviadcohen7 at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.td
M mlir/include/mlir/Dialect/SCF/Utils/Utils.h
M mlir/include/mlir/Interfaces/LoopLikeInterface.h
M mlir/lib/Dialect/Affine/Utils/LoopUtils.cpp
M mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp
M mlir/lib/Dialect/SCF/Utils/Utils.cpp
M mlir/test/Dialect/SCF/transform-ops-invalid.mlir
M mlir/test/Dialect/SCF/transform-ops.mlir
Log Message:
-----------
Introduce new Unroll And Jam loop transform for SCF/Affine loops (#94142)
Unroll And Jam was supported in affine dialect long time ago using pass.
This commit exposes the pattern using transform and in addition adds
partial support for SCF loops.
Commit: c399aeacf67e517bcfa9c4d7e5cc709a3fbe5d09
https://github.com/llvm/llvm-project/commit/c399aeacf67e517bcfa9c4d7e5cc709a3fbe5d09
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M lldb/include/lldb/Target/Thread.h
M lldb/include/lldb/Utility/Args.h
Log Message:
-----------
[lldb] Remove YAMLTraits.h include (NFC)
The YAML functionality was dropped in
70599d70273b671b1b2e6a0e0b9c11e413209647, but this include was
left behind.
Commit: b5efd214297a50664cf3373362db29432c883ebd
https://github.com/llvm/llvm-project/commit/b5efd214297a50664cf3373362db29432c883ebd
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/__support/FPUtil/CMakeLists.txt
M libc/src/__support/FPUtil/ManipulationFunctions.h
M libc/src/__support/FPUtil/dyadic_float.h
M libc/src/__support/big_int.h
M libc/src/math/CMakeLists.txt
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/ldexpf16.cpp
A libc/src/math/generic/scalblnf16.cpp
A libc/src/math/generic/scalbnf16.cpp
A libc/src/math/ldexpf16.h
A libc/src/math/scalblnf16.h
A libc/src/math/scalbnf16.h
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/LdExpTest.h
M libc/test/src/math/smoke/ScalbnTest.h
A libc/test/src/math/smoke/ldexpf16_test.cpp
A libc/test/src/math/smoke/scalblnf16_test.cpp
M libc/test/src/math/smoke/scalbn_test.cpp
M libc/test/src/math/smoke/scalbnf128_test.cpp
A libc/test/src/math/smoke/scalbnf16_test.cpp
M libc/test/src/math/smoke/scalbnf_test.cpp
M libc/test/src/math/smoke/scalbnl_test.cpp
Log Message:
-----------
[libc][math][c23] Add {ldexp,scalbn,scalbln}f16 C23 math functions (#94797)
Part of #93566.
Commit: f5c2ef2597d937901b7b261ca3a847aecd456a65
https://github.com/llvm/llvm-project/commit/f5c2ef2597d937901b7b261ca3a847aecd456a65
Author: JoelWee <32009741+JoelWee at users.noreply.github.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
Fix bazel build after bc82793b
Commit: df86fb069e130f405ca2e6124c725e6dd1d629c6
https://github.com/llvm/llvm-project/commit/df86fb069e130f405ca2e6124c725e6dd1d629c6
Author: zhijian lin <zhijian at ca.ibm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/include/llvm/Object/XCOFFObjectFile.h
M llvm/lib/Object/XCOFFObjectFile.cpp
A llvm/test/tools/llvm-objdump/XCOFF/file-headers.test
M llvm/tools/llvm-objdump/llvm-objdump.cpp
Log Message:
-----------
[llvm-objdump] enable file-headers option of llvm-objdump for XCOFF object files (#96104)
the patch enable file-headers option of llvm-objdump for XCOFF object
files
Commit: 48ef912e2b32798b704af242e551a7090102c750
https://github.com/llvm/llvm-project/commit/48ef912e2b32798b704af242e551a7090102c750
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang-tools-extra/clang-tidy/abseil/RedundantStrcatCallsCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/MacroRepeatedSideEffectsCheck.cpp
M clang-tools-extra/clangd/GlobalCompilationDatabase.cpp
M clang-tools-extra/clangd/Selection.h
M clang/lib/Sema/SemaAPINotes.cpp
M clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
M clang/unittests/Support/TimeProfilerTest.cpp
M lldb/include/lldb/Target/StackFrameRecognizer.h
M llvm/include/llvm/Support/VirtualFileSystem.h
M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
M llvm/lib/Support/VirtualFileSystem.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
Log Message:
-----------
[VFS] Avoid <stack> include (NFC)
Directly use a vector instead of wrapping it in a stack, like we
do in most places.
Commit: 52bec3e362e85723e97ff0aa333a4071fab2fd26
https://github.com/llvm/llvm-project/commit/52bec3e362e85723e97ff0aa333a4071fab2fd26
Author: JoelWee <32009741+JoelWee at users.noreply.github.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
Revert f5c2ef2597
Commit: 9048150cbc5c7e8cae026b08815c35cc78807117
https://github.com/llvm/llvm-project/commit/9048150cbc5c7e8cae026b08815c35cc78807117
Author: Joel Wee <joelwee at google.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
Log Message:
-----------
Fix bazel build after bc82793
Commit: 8bb3b1440cb09d0bade79ab65a2909fa94e9309c
https://github.com/llvm/llvm-project/commit/8bb3b1440cb09d0bade79ab65a2909fa94e9309c
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/TensorSpec.h
M llvm/lib/CodeGen/MLRegAllocEvictAdvisor.h
M llvm/lib/LTO/ThinLTOCodeGenerator.cpp
M llvm/unittests/Analysis/TensorSpecTest.cpp
Log Message:
-----------
[TensorSpec] Avoid JSON.h include (NFC)
Instead forward declare the two classes that are referenced.
Commit: 747f9dacfe30114b492553e0c69a29328d246e4f
https://github.com/llvm/llvm-project/commit/747f9dacfe30114b492553e0c69a29328d246e4f
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/AArch64/sme-vectorize.ll
Log Message:
-----------
[AArch64] NFC: Precommit new RUN lines to test sme-vectorize.ll
Commit: dc5d541081381e3dca80b982097596546e0619fc
https://github.com/llvm/llvm-project/commit/dc5d541081381e3dca80b982097596546e0619fc
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Utils/IndexingUtils.h
M mlir/lib/Dialect/Vector/Transforms/LowerVectorBitCast.cpp
M mlir/test/Dialect/Vector/vector-bitcast-lowering-transforms.mlir
Log Message:
-----------
[mlir][vector] Support scalable vectors when unrolling vector.bitcast (#94197)
Follow up to #94064.
Commit: 2dea00b1437f8620e56e5f1f9566492514ac8647
https://github.com/llvm/llvm-project/commit/2dea00b1437f8620e56e5f1f9566492514ac8647
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/combine-pmadd.ll
Log Message:
-----------
[X86] combine-pmadd.ll - add demandedelts tests for pmaddwd/pmaddubsw
pmaddwd is already handled, but pmaddubsw is missing
Commit: 0be0ab90684102d1bed40362b895579f346e0fc0
https://github.com/llvm/llvm-project/commit/0be0ab90684102d1bed40362b895579f346e0fc0
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/combine-pmadd.ll
Log Message:
-----------
[X86] SimplifyDemandedVectorEltsForTargetNode - add X86ISD::VPMADDUBSW handling
In general terms, this can reuse the X86ISD::VPMADDWD code (num src elts = 2 * num dst elts) and same zero behaviour.
Commit: 4232dd586b65c9301304cab2fb166d8df97c591a
https://github.com/llvm/llvm-project/commit/4232dd586b65c9301304cab2fb166d8df97c591a
Author: Yi Wu <yi.wu2 at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M flang/docs/Intrinsics.md
M flang/runtime/execute.cpp
M flang/unittests/Runtime/CommandTest.cpp
Log Message:
-----------
[flang] Fix execute_command_line cmdstat is not set when error occurs (#93023)
Fixes: https://github.com/llvm/llvm-project/issues/92929
Also added cmdstat for common linux return code 1, 126, 127
Commit: 30299b87171cbad2dacb8b1ec0e75801785f16d9
https://github.com/llvm/llvm-project/commit/30299b87171cbad2dacb8b1ec0e75801785f16d9
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/Frontend/PrecompiledPreamble.cpp
M lldb/utils/TableGen/LLDBTableGen.cpp
M llvm/include/llvm/Support/CommandLine.h
M llvm/lib/Support/CommandLine.cpp
M llvm/lib/Support/RandomNumberGenerator.cpp
M llvm/lib/Support/TypeSize.cpp
Log Message:
-----------
[CommandLine] Avoid ManagedStatic.h include (NFC)
The two variables using ManagedStatic that are exported by this
header are not actually used anywhere -- they are used through
SubCommand::getTopLevel() and SubCommand::getAll() instead.
Drop the extern declarations and the include.
Commit: 0aea1f2f21b8b3984072dc2ea33857d077d91af2
https://github.com/llvm/llvm-project/commit/0aea1f2f21b8b3984072dc2ea33857d077d91af2
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/lib/Debug/CLOptionsSetup.cpp
M mlir/lib/IR/AsmPrinter.cpp
M mlir/lib/Pass/PassCrashRecovery.cpp
M mlir/lib/Tools/mlir-translate/Translation.cpp
Log Message:
-----------
[mlir] Add missing ManagedStatic.h includes (NFC)
Commit: 60bdcc02ad19045ebb71ce8e48a316882c9b4e7e
https://github.com/llvm/llvm-project/commit/60bdcc02ad19045ebb71ce8e48a316882c9b4e7e
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Support/GraphWriter.cpp
Log Message:
-----------
[GraphWriter] Add missing ManagedStatic.h include (NFC)
This include is only necessary on __APPLE__.
Commit: db8c7e004a8acf74f40e0f7bc60066f26d43ccd9
https://github.com/llvm/llvm-project/commit/db8c7e004a8acf74f40e0f7bc60066f26d43ccd9
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M libcxx/include/__configuration/availability.h
M libcxx/lib/abi/CHANGELOG.TXT
M libcxx/test/configs/apple-libc++-backdeployment.cfg.in
M libcxx/test/libcxx/atomics/atomics.syn/wait.pass.cpp
M libcxx/test/libcxx/input.output/iostreams.base/ios.base/ios.base.cons/dtor.uninitialized.pass.cpp
M libcxx/test/libcxx/language.support/cxa_deleted_virtual.pass.cpp
M libcxx/test/libcxx/strings/basic.string/string.capacity/PR53170.pass.cpp
M libcxx/test/libcxx/strings/basic.string/string.capacity/allocation_size.pass.cpp
M libcxx/test/libcxx/thread/thread.condition/PR30202_notify_from_pthread_created_thread.pass.cpp
M libcxx/test/libcxx/thread/thread.threads/thread.thread.this/sleep_for.pass.cpp
M libcxx/test/libcxx/thread/thread.threads/thread.thread.this/sleep_for.signals.pass.cpp
M libcxx/test/std/depr/depr.c.headers/stdlib_h.aligned_alloc.compile.pass.cpp
M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp
M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/refresh.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/last_write_time.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/copy_file.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directories/create_directories.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory_with_attributes.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.file_size/file_size.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove_all/toctou.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/bool.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/double.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/float.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/int.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long_double.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/long_long.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/pointer.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/short.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_int.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_long.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_long_long.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/unsigned_short.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/streambuf.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_chart.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_pointer_size.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_pointer_size_chart.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_streambuf.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/get_streambuf_chart.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/getline_pointer_size.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/getline_pointer_size_chart.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/ignore.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/peek.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/read.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/seekg_off.pass.cpp
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/sync.pass.cpp
M libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/minmax_showbase.pass.cpp
M libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/minus1.pass.cpp
M libcxx/test/std/input.output/iostreams.base/ios.base/ios.types/ios_Init/ios_Init.multiple.pass.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_fsizeddeallocation.pass.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_fsizeddeallocation.pass.cpp
M libcxx/test/std/language.support/support.exception/uncaught/uncaught_exceptions.pass.cpp
M libcxx/test/std/language.support/support.runtime/cstdlib.aligned_alloc.compile.pass.cpp
M libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp
M libcxx/test/std/localization/codecvt_unicode.pass.cpp
M libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.statics/table_size.pass.cpp
M libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_double.pass.cpp
M libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_float.pass.cpp
M libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long.pass.cpp
M libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long_double.pass.cpp
M libcxx/test/std/localization/locales/locale/locale.cons/name_construction.pass.cpp
M libcxx/test/std/numerics/rand/rand.device/ctor.pass.cpp
M libcxx/test/std/strings/basic.string/string.capacity/max_size.pass.cpp
M libcxx/test/std/strings/basic.string/string.capacity/over_max_size.pass.cpp
M libcxx/test/std/strings/basic.string/string.capacity/reserve_size.pass.cpp
M libcxx/test/std/thread/futures/futures.async/async_race.38682.pass.cpp
M libcxx/test/std/thread/futures/futures.future_error/what.pass.cpp
M libcxx/test/std/thread/thread.condition/notify_all_at_thread_exit_lwg3343.pass.cpp
M libcxx/test/std/utilities/memory/temporary.buffer/overaligned.pass.cpp
M libcxx/utils/ci/buildkite-pipeline.yml
M libcxx/utils/ci/run-buildbot
M libcxx/utils/libcxx/test/features.py
M libcxx/utils/libcxx/test/params.py
M libcxxabi/test/catch_function_01.pass.cpp
M libcxxabi/test/catch_function_03.pass.cpp
M libcxxabi/test/catch_member_data_pointer_01.pass.cpp
M libcxxabi/test/catch_member_function_pointer_02.pass.cpp
M libcxxabi/test/catch_member_pointer_nullptr.pass.cpp
M libcxxabi/test/catch_multi_level_pointer.pass.cpp
M libcxxabi/test/catch_null_pointer_to_object_pr64953.pass.cpp
M libcxxabi/test/catch_pointer_nullptr.pass.cpp
M libcxxabi/test/catch_ptr_02.pass.cpp
M libcxxabi/test/configs/apple-libc++abi-backdeployment.cfg.in
M libcxxabi/test/cxa_vec_new_overflow_PR41395.pass.cpp
M libcxxabi/test/dynamic_cast.pass.cpp
M libcxxabi/test/exception_object_alignment.pass.cpp
M libcxxabi/test/forced_unwind1.pass.cpp
M libcxxabi/test/forced_unwind2.pass.cpp
M libcxxabi/test/incomplete_type.sh.cpp
M libcxxabi/test/test_aux_runtime_op_array_new.pass.cpp
M libcxxabi/test/test_demangle.pass.cpp
M libcxxabi/test/test_exception_address_alignment.pass.cpp
M libcxxabi/test/uncaught_exception.pass.cpp
M libcxxabi/test/uncaught_exceptions.pass.cpp
M libunwind/test/configs/apple-libunwind-backdeployment.cfg.in
M libunwind/test/libunwind_01.pass.cpp
Log Message:
-----------
[libc++] Fix deployment target Lit features (#94791)
We were not making any distinction between e.g. the "Apple-flavored"
libc++ built from trunk and the system-provided standard library on
Apple platforms. For example, any test that would be XFAILed on a
back-deployment target would unexpectedly pass when run on that
deployment target against the tip of trunk Apple-flavored libc++. In
reality, that test would be expected to pass because we're running
against the latest libc++, even if it is Apple-flavored.
To solve this issue, we introduce a new feature that describes whether
the Standard Library in use is the one provided by the system by
default, and that notion is different from the underlying standard
library flavor. We also refactor the existing Lit features to make a
distinction between availability markup and the library we're running
against at runtime, which otherwise limit the flexibility of what we can
express in the test suite. Finally, we refactor some of the
back-deployment versions that were incorrect (such as thinking that LLVM
10 was introduced in macOS 11, when in reality macOS 11 was synced with
LLVM 11).
Fixes #82107
Commit: 74a105ad80725b4a54ef76950c938ffe76796b3b
https://github.com/llvm/llvm-project/commit/74a105ad80725b4a54ef76950c938ffe76796b3b
Author: Artem Kroviakov <71938912+akroviakov at users.noreply.github.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/VectorLinearize.cpp
M mlir/test/Dialect/Vector/linearize.mlir
Log Message:
-----------
[mlir][vector] Use notifyMatchFailure instead of assert in VectorLinearize (#93590)
As it was [suggested](https://github.com/llvm/llvm-project/pull/92370#discussion_r1617592942), the `assert` is replaced by `notifyMatchFailure` for improved consistency.
Commit: a9efcbf490d9b8f46ec37062ca8653b4068000e5
https://github.com/llvm/llvm-project/commit/a9efcbf490d9b8f46ec37062ca8653b4068000e5
Author: muneebkhan85 <150162960+muneebkhan85 at users.noreply.github.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
M mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
M mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
M mlir/lib/Dialect/Transform/IR/TransformOps.cpp
M mlir/python/mlir/dialects/transform/structured.py
A mlir/test/Dialect/Linalg/continuous-tiling-full.mlir
A mlir/test/Dialect/Linalg/continuous-tiling-multiway-split.mlir
M mlir/test/Dialect/Linalg/transform-op-split.mlir
M mlir/test/python/dialects/transform_structured_ext.py
Log Message:
-----------
[MLIR] Add continuous tiling to transform dialect (#82792)
This patch enables continuous tiling of a target structured op using
diminishing tile sizes. In cases where the tensor dimensions are not
exactly divisible by the tile size, we are left with leftover tensor
chunks that are irregularly tiled. This approach enables tiling of the
leftover chunk with a smaller tile size and repeats this process
recursively using exponentially diminishing tile sizes. This eventually
generates a chain of loops that apply tiling using diminishing tile
sizes.
Adds `continuous_tile_sizes` op to the transform dialect. This op, when
given a tile size and a dimension, computes a series of diminishing tile
sizes that can be used to tile the target along the given dimension.
Additionally, this op also generates a series of chunk sizes that the
corresponding tile sizes should be applied to along the given dimension.
Adds `multiway` attribute to `transform.structured.split` that enables
multiway splitting of a single target op along the given dimension, as
specified in a list enumerating the chunk sizes.
Commit: 4e6835d4d980b0a1ea6a9de1c2e8360fd0810bba
https://github.com/llvm/llvm-project/commit/4e6835d4d980b0a1ea6a9de1c2e8360fd0810bba
Author: AtariDreams <gfunni234 at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
M llvm/test/CodeGen/AArch64/arm64-ccmp.ll
M llvm/test/CodeGen/AArch64/cmp-chains.ll
Log Message:
-----------
[AArch64] Use ccmn to compare negative immediates between -1 and -31 (#95825)
Because ccmn is like a + b, it works when using cmp but with values that
when negated are in the range of 1 through 31
Commit: f581d197b7f9896f1a64922ef9928be911c96f4e
https://github.com/llvm/llvm-project/commit/f581d197b7f9896f1a64922ef9928be911c96f4e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
Log Message:
-----------
[AArch64] AArch64AsmParser::tryParseImmRange - don't directly dereference pointers from dyn_cast
Static analysis was reporting that dyn_cast<> can return null on failure - use cast<> instead
Commit: 3de162fee44376b3857c73958d656f76b17e50f5
https://github.com/llvm/llvm-project/commit/3de162fee44376b3857c73958d656f76b17e50f5
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M offload/test/CMakeLists.txt
M offload/test/lit.site.cfg.in
Log Message:
-----------
[Offload] Fix using old deprecated CUDA root variable (#96307)
Summary:
This variable isn't being set properly since we moved to the new way to
find the CUDA directory. That means this variable was just unset the
whole time. This patch adds it in by calculating it using the binary
directory so it can be passed to `--cuda-path`.
Commit: a083e50f53f0f9eb9ad0c5b65f3c627cf97043e6
https://github.com/llvm/llvm-project/commit/a083e50f53f0f9eb9ad0c5b65f3c627cf97043e6
Author: Miro Bucko <mbucko at meta.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M lldb/include/lldb/API/SBAddressRange.h
M lldb/include/lldb/API/SBAddressRangeList.h
M lldb/source/API/SBAddressRange.cpp
M lldb/source/API/SBAddressRangeList.cpp
M lldb/test/API/python_api/address_range/TestAddressRange.py
Log Message:
-----------
[lldb] Fix SBAddressRange validation checks. (#95997)
Commit: f2b17d2582b45dbe83421d29e77cc1d5fdf4e069
https://github.com/llvm/llvm-project/commit/f2b17d2582b45dbe83421d29e77cc1d5fdf4e069
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/Format/CMakeLists.txt
Log Message:
-----------
[clang-format][NFC] Add CMake target clang-format-check-format (#95873)
Adapted from polly-check-format.
Commit: 6a69cfb607bafe2bfe75818cc6290af2565a3198
https://github.com/llvm/llvm-project/commit/6a69cfb607bafe2bfe75818cc6290af2565a3198
Author: Angel Zhang <angel.zhang at amd.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
A mlir/include/mlir/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.h
M mlir/include/mlir/Conversion/Passes.h
M mlir/include/mlir/Conversion/Passes.td
M mlir/lib/Conversion/CMakeLists.txt
A mlir/lib/Conversion/ConvertToSPIRV/CMakeLists.txt
A mlir/lib/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.cpp
A mlir/test/Conversion/ConvertToSPIRV/arith.mlir
A mlir/test/Conversion/ConvertToSPIRV/combined.mlir
A mlir/test/Conversion/ConvertToSPIRV/index.mlir
A mlir/test/Conversion/ConvertToSPIRV/scf.mlir
A mlir/test/Conversion/ConvertToSPIRV/simple.mlir
A mlir/test/Conversion/ConvertToSPIRV/ub.mlir
A mlir/test/Conversion/ConvertToSPIRV/vector.mlir
Log Message:
-----------
[mlir][spirv] Add a generic `convert-to-spirv` pass (#95942)
This PR implements a MVP version of an MLIR lowering pipeline to SPIR-V.
The goal of adding this pipeline is to have a better test coverage of
SPIR-V compilation upstream, and enable writing simple kernels by hand.
The dialects supported in this version include `arith`, `vector` (only
1-D vectors with size 2,3,4,8 or 16), `scf`, `ub`, `index`, `func` and
`math`. New test cases for the pass are also included in this PR.
**Relevant links**
- [Open MLIR Meeting - YouTube
Video](https://www.youtube.com/watch?v=csWPOQfgLMo)
- [Discussion on LLVM
Forum](https://discourse.llvm.org/t/open-mlir-meeting-12-14-2023-discussion-on-improving-handling-of-unit-dimensions-in-the-vector-dialect/75683)
**Future plans**
- Add conversion patterns for other dialects, e.g. `gpu`, `tensor`, etc.
- Include vector transformation to unroll vectors to 1-D, and handle
those with unsupported sizes.
- Implement multiple-return. SPIR-V does not support multiple return
values since a `spirv.func` can only return zero or one values. It might
be possible to wrap the return values in a `spirv.struct`.
- Add a conversion for `scf.parallel`.
Commit: 35bfbb3b21e9874d03b730e8ce4eb98b1dcd2d28
https://github.com/llvm/llvm-project/commit/35bfbb3b21e9874d03b730e8ce4eb98b1dcd2d28
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/AST/QualTypeNames.cpp
Log Message:
-----------
[clang][AST] createNestedNameSpecifierForScopeOf - don't use dyn_cast_or_null on never null DC argument
Fixes static analysis warning about later dereferencing the DC variable which might have been null (assumed due to dyn_cast_or_null) - getRedeclContext shouldn't ever return a null value so safe to use dyn_cast instead.
Commit: f9fc6f6d7504e3c8eb6844a34a2ca988da9df21c
https://github.com/llvm/llvm-project/commit/f9fc6f6d7504e3c8eb6844a34a2ca988da9df21c
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP] Remove dead initialization noticed by static analyser. NFC.
Commit: 2615e69ec2b373a38ffd4459609147f4c1ebe955
https://github.com/llvm/llvm-project/commit/2615e69ec2b373a38ffd4459609147f4c1ebe955
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/IR/AutoUpgrade.cpp
Log Message:
-----------
[IR] AutoUpgrade.cpp - don't directly dereference pointers from dyn_cast
Static analysis was reporting that dyn_cast<> can return null on failure - use cast<> instead
Commit: 19470e72e4aadfe16d1b6b0e4df325d75dc7fd7c
https://github.com/llvm/llvm-project/commit/19470e72e4aadfe16d1b6b0e4df325d75dc7fd7c
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C99] Claim conformance to "more precise aliasing rules via effective type"
We don't have a document number to check our behavior against, but the
document title makes it clear that this is related to optimization
behavior, which doesn't require Clang to change.
Commit: 1eddf3519f2e692d60a43204d862ea00a92f48f4
https://github.com/llvm/llvm-project/commit/1eddf3519f2e692d60a43204d862ea00a92f48f4
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Port #95942 (#96334)
Commit: ecf2a53407f517a261ee296e1f922c647a13a503
https://github.com/llvm/llvm-project/commit/ecf2a53407f517a261ee296e1f922c647a13a503
Author: Angel Zhang <anzhouzhang913 at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
R mlir/include/mlir/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.h
M mlir/include/mlir/Conversion/Passes.h
M mlir/include/mlir/Conversion/Passes.td
M mlir/lib/Conversion/CMakeLists.txt
R mlir/lib/Conversion/ConvertToSPIRV/CMakeLists.txt
R mlir/lib/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.cpp
R mlir/test/Conversion/ConvertToSPIRV/arith.mlir
R mlir/test/Conversion/ConvertToSPIRV/combined.mlir
R mlir/test/Conversion/ConvertToSPIRV/index.mlir
R mlir/test/Conversion/ConvertToSPIRV/scf.mlir
R mlir/test/Conversion/ConvertToSPIRV/simple.mlir
R mlir/test/Conversion/ConvertToSPIRV/ub.mlir
R mlir/test/Conversion/ConvertToSPIRV/vector.mlir
Log Message:
-----------
Revert "[mlir][spirv] Add a generic `convert-to-spirv` pass" (#96332)
Reverts llvm/llvm-project#95942 due to link failures.
Commit: e23250ecb7e09170e584db60375100790f39fac9
https://github.com/llvm/llvm-project/commit/e23250ecb7e09170e584db60375100790f39fac9
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/include/clang/Basic/CodeGenOptions.h
M clang/include/clang/Basic/PointerAuthOptions.h
M clang/include/clang/Frontend/CompilerInvocation.h
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CGCall.h
M clang/lib/CodeGen/CGExpr.cpp
M clang/lib/CodeGen/CGExprConstant.cpp
M clang/lib/CodeGen/CGPointerAuth.cpp
A clang/lib/CodeGen/CGPointerAuthInfo.h
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/CodeGen/CodeGenModule.h
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Headers/ptrauth.h
A clang/test/CodeGen/ptrauth-function-attributes.c
A clang/test/CodeGen/ptrauth-function-init-fail.c
A clang/test/CodeGen/ptrauth-function-init.c
A clang/test/CodeGen/ptrauth-function-lvalue-cast.c
A clang/test/CodeGen/ptrauth-function.c
A clang/test/CodeGen/ptrauth-weak_import.c
A clang/test/CodeGenCXX/ptrauth.cpp
Log Message:
-----------
[clang] Implement function pointer signing and authenticated function calls (#93906)
The functions are currently always signed/authenticated with zero
discriminator.
Co-Authored-By: John McCall <rjmccall at apple.com>
Commit: 131bc0390dba1bc21fb8af8e5e8afa78a17d39b9
https://github.com/llvm/llvm-project/commit/131bc0390dba1bc21fb8af8e5e8afa78a17d39b9
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C99] Claim partial conformance to IEC 60559 support
We intend to support Annex F but there are edge cases we don't handle
properly, such as raising an "invalid" exception when converting some
floating-point values to integers.
This does not add any test coverage as full conformance would require
sufficiently extensive testing that we should consider getting a
third-party test suite such as the one from http://tybor.com/
Commit: f4cf15d225fdaf98c106a4adfae57dae509607ff
https://github.com/llvm/llvm-project/commit/f4cf15d225fdaf98c106a4adfae57dae509607ff
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/RegAllocFast.cpp
Log Message:
-----------
[RegAllocFast] Replace UsedInInstr with vector (#96323)
A SparseSet adds an avoidable layer of indirection and possibly looping
control flow. Avoid this overhead by using a vector to store
UsedInInstrs and PhysRegUses.
To avoid clearing the vector after every instruction, use a
monotonically increasing counter. The two maps are now merged and the
lowest bit indicates whether the use is relevant for the livethrough
handling code only.
Commit: e9af6eeb9118a708ce806ab29f2f72de937fba47
https://github.com/llvm/llvm-project/commit/e9af6eeb9118a708ce806ab29f2f72de937fba47
Author: Gabriel Baraldi <baraldigabriel at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
Log Message:
-----------
Enable building 16 bit floating point builtins in apple platforms if supported by the compiler (#84192)
Currently we will not build float16/bfloat16 builtins on apple
platforms, LLVM will include calls to those builtins and fail to link.
I copied the test code we perform for non apple platforms because oddly
we branch on it being apple for building builtins
Commit: f0b93096690ebc98017c05b58202fa5a3a84d7ea
https://github.com/llvm/llvm-project/commit/f0b93096690ebc98017c05b58202fa5a3a84d7ea
Author: RoseZhang03 <rosezhang at google.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M libc/spec/linux.td
Log Message:
-----------
[libc] Added const modifier to SigSetPtrType (#96252)
Function header files for epoll_pwait and epoll_pwait2 have const
modifier on
SigSetPtrType in function signature, but the linux.td file does not
reflect that.
.td file located in libc/spec/linux.td
epoll functions located in libc/src/sys/epoll
Commit: 918ef312d1fda56ff783f3974b5a193542e5497c
https://github.com/llvm/llvm-project/commit/918ef312d1fda56ff783f3974b5a193542e5497c
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C99] Claim full conformance to C99
We now believe we know the status of all the proposals that went into
C99. There are three entries marked Partial:
N448 restricted pointers
------------------------
Clang fully conforms to the standard requirements, but LLVM support
could be improved to support more than just restricted pointers used
as function parameters.
N693 complex and imaginary support in <complex.h>
-------------------------------------------------
Clang supports _Complex but not _Imaginary. Clang does not attempt to
implement Annex G, so a lack of _Imaginary is not necessary for
conformance to C99. It's also worth noting that C2y is anticipated to
remove support for _Imaginary (see WG14 N3274 which was adopted at the
June 2024 meeting).
However, support for _Complex requires runtime support and compiler-rt
is not supported on all targets (notably, Windows).
(Doc # unknown) IEC 60559 support
---------------------------------
Clang largely conforms to the requirements in Annex F, but there are
edge cases that are incorrect. However, Clang does not predefine the
__STDC_IEC_559__ macro and so we don't claim to conform to Annex F yet.
Because all three of these partial entries are technically conforming,
it seems reasonable to claim full conformance for C99.
Commit: af478c82a5f6e42ff5d1e67dcefbf9dd0fee501c
https://github.com/llvm/llvm-project/commit/af478c82a5f6e42ff5d1e67dcefbf9dd0fee501c
Author: Michael Kruse <llvm-project at meinersbur.de>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/runtimes/CMakeLists.txt
Log Message:
-----------
[offload][runtimes] Forward user-provided system configuration (#96303)
In order for LLVM_ENABLE_RUNTIMES projects to find their requirements,
they need access to user-provided configuration options such as
`CMAKE_PREFIX_PATH`. Forward a selection of configuration options such
that runtimes uses the same system introspection as LLVM and
LLVM_ENABLE_PROJECTS do.
The concrete symptom this is solving is that the path to CUDA is
provided using `cmake -DCUDA_TOOLKIT_ROOT_DIR=/opt/cuda` or `CUDA_PATH`,
but is ignored by offload. Handling for this case already existed for
libc, but only when it was enabled and only `CUDAToolkit_ROOT` (The
former is for `find_package(CUDA)`, the latter for
`find_package(CUDAToolkit)`, `CUDA_PATH` is used by
`find_package(CUDAToolkit)` and `enable_language(CUDA)`).
Commit: 8abb5ae1c250a488cef6e9b05074f95a722be9a9
https://github.com/llvm/llvm-project/commit/8abb5ae1c250a488cef6e9b05074f95a722be9a9
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
Revert "[bazel] Port #95942" (#96340)
Original change was reverted
Reverts llvm/llvm-project#96334
Commit: f82a595b7fbec408a2a22f4d9e45f28664d2ab07
https://github.com/llvm/llvm-project/commit/f82a595b7fbec408a2a22f4d9e45f28664d2ab07
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel
Log Message:
-----------
[bazel] Fix mpfr_wrapper build (#96341)
Commit: fbf0ca64182baa5fac73fa012ed1fb6805fa3581
https://github.com/llvm/llvm-project/commit/fbf0ca64182baa5fac73fa012ed1fb6805fa3581
Author: Mariusz Sikora <mariusz.sikora at amd.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/FLATInstructions.td
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/SIRegisterInfo.td
M llvm/test/MC/AMDGPU/gfx12_asm_vflat.s
M llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vflat.txt
Log Message:
-----------
[AMDGPU][GFX12] Add support for new block ls instructions (#96273)
Add MC layer support for new instructions:
GLOBAL_LOAD_BLOCK
GLOBAL_STORE_BLOCK
SCRATCH_LOAD_BLOCK
SCRATCH_STORE_BLOCK
Co-authored-by: Piotr Sobczak <piotr.sobczak at amd.com>
Commit: f333fc5c9732a5b64ae0bca09ade6f0036e80c40
https://github.com/llvm/llvm-project/commit/f333fc5c9732a5b64ae0bca09ade6f0036e80c40
Author: Rose Zhang <rosezhang at google.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
A libc/spec/stdc_assert.yaml
A libc/spec/stdc_ctype.yaml
A libc/spec/stdc_string.yaml
Log Message:
-----------
combined string and time functions
Commit: c8ba4119acffa518355acc751233849b3e9e0712
https://github.com/llvm/llvm-project/commit/c8ba4119acffa518355acc751233849b3e9e0712
Author: Nick Desaulniers <ndesaulniers at google.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
R libc/spec/stdc_assert.yaml
R libc/spec/stdc_ctype.yaml
R libc/spec/stdc_string.yaml
Log Message:
-----------
Revert "combined string and time functions"
This reverts commit f333fc5c9732a5b64ae0bca09ade6f0036e80c40.
Accidentally pushed, sorry!
Commit: bf3e3289d67cb0fe136b0660cac39c24c9f65069
https://github.com/llvm/llvm-project/commit/bf3e3289d67cb0fe136b0660cac39c24c9f65069
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M lldb/include/lldb/Target/Platform.h
M lldb/include/lldb/Target/RemoteAwarePlatform.h
M lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp
M lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.h
M lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.cpp
M lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.h
M lldb/source/Target/Platform.cpp
M lldb/source/Target/RemoteAwarePlatform.cpp
M lldb/test/API/assert_messages_test/TestAssertMessages.py
M lldb/test/API/tools/lldb-dap/launch/TestDAP_launch.py
M lldb/unittests/Target/RemoteAwarePlatformTest.cpp
Log Message:
-----------
[lldb] Unify Platform::ResolveExecutable (#96256)
The Platform class currently has two functions to resolve an executable:
`ResolveExecutable` and `ResolveRemoteExecutable`. The former strictly
deals with local files while the latter can handle potentially remote
files. I couldn't figure out why the distinction matters, at the latter
is a super-set of the former.
To make things even more confusion, we had a similar but not identical
implementation in RemoteAwarePlatform where its implementation of
`ResolveExecutable` could handle remote files. To top it all off, we had
copy-pasted implementation, dead code included in
`PlatformAppleSimulator` and `PlatformRemoteDarwinDevice`.
I went ahead and unified all the different implementation on the
original `ResolveRemoteExecutable` implementation. As far as I can tell,
it should work for every other platform, and the test suite (on macOS)
seems to agree with me, except for a small wording change.
Commit: 39048b69b85e530b9b8a4226d9043a0bd340fe8a
https://github.com/llvm/llvm-project/commit/39048b69b85e530b9b8a4226d9043a0bd340fe8a
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/include/clang/Basic/Attr.td
M clang/utils/TableGen/ClangAttrEmitter.cpp
M llvm/include/llvm/Frontend/HLSL/HLSLResource.h
M llvm/include/llvm/Support/DXILABI.h
Log Message:
-----------
[DirectX] Move ResourceClass enum into DXILABI. NFC (#96335)
The resource class isn't HLSL specific, and we'll need to use it in the
DirectX backend as well.
I've also removed the "invalid" enum value since it isn't needed or
used, which necessitates fixing up the clang attr emitter to handle
external enum types that are fully covered by the attribute.
Commit: f1f3c34b4770437bdb022737918603b4bbeb523e
https://github.com/llvm/llvm-project/commit/f1f3c34b4770437bdb022737918603b4bbeb523e
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/lib/Transforms/Vectorize/VPlanValue.h
M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
R llvm/test/Transforms/LoopVectorize/WebAssembly/induction-branch-cost.ll
R llvm/test/Transforms/LoopVectorize/WebAssembly/lit.local.cfg
Log Message:
-----------
Revert "Recommit "[VPlan] First step towards VPlan cost modeling. (#92555)""
This reverts commit 242cc200ccb24e22eaf54aed7b0b0c84cfc54c0b and
eea150c84053035163f307b46549a2997a343ce9, as it is causing a build bot
failure and there have been a number of crashes reported at
https://github.com/llvm/llvm-project/pull/92555
Commit: 5ece35df8586d0cb8c104a9f44eaae771de025f5
https://github.com/llvm/llvm-project/commit/5ece35df8586d0cb8c104a9f44eaae771de025f5
Author: Haopeng Liu <153236845+haopliu at users.noreply.github.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/include/llvm/AsmParser/LLParser.h
M llvm/include/llvm/Bitcode/LLVMBitCodes.h
M llvm/include/llvm/IR/Attributes.h
M llvm/include/llvm/IR/Attributes.td
A llvm/include/llvm/IR/ConstantRangeList.h
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/IR/AttributeImpl.h
M llvm/lib/IR/Attributes.cpp
M llvm/lib/IR/CMakeLists.txt
A llvm/lib/IR/ConstantRangeList.cpp
M llvm/lib/IR/LLVMContextImpl.cpp
M llvm/lib/IR/LLVMContextImpl.h
M llvm/lib/IR/Verifier.cpp
M llvm/lib/Transforms/Utils/CodeExtractor.cpp
A llvm/test/Assembler/initializes-attribute-invalid.ll
M llvm/test/Bitcode/attributes.ll
A llvm/test/Verifier/initializes-attr.ll
M llvm/unittests/IR/CMakeLists.txt
A llvm/unittests/IR/ConstantRangeListTest.cpp
M llvm/utils/TableGen/Attributes.cpp
Log Message:
-----------
Add the 'initializes' attribute langref and support (#84803)
We propose adding a new LLVM attribute,
`initializes((Lo1,Hi1),(Lo2,Hi2),...)`, which expresses the notion of
memory space (i.e., intervals, in bytes) that the argument pointing to
is initialized in the function.
Will commit the attribute inferring in the follow-up PRs.
https://discourse.llvm.org/t/rfc-llvm-new-initialized-parameter-attribute-for-improved-interprocedural-dse/77337
Commit: b284ced06969a540e53bcf4103f22fa9be8f20b9
https://github.com/llvm/llvm-project/commit/b284ced06969a540e53bcf4103f22fa9be8f20b9
Author: Kelvin Li <kkwli at users.noreply.github.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M flang/test/Preprocessing/directive-contin-with-pp.F90
Log Message:
-----------
[flang] Use %flang_fc1 to avoid options being inserted between %flang and -fc1 (NFC) (#96320)
Commit: ad393151d30d573b14c0d5d6009deb971c2f3f85
https://github.com/llvm/llvm-project/commit/ad393151d30d573b14c0d5d6009deb971c2f3f85
Author: Aart Bik <ajcbik at google.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
Log Message:
-----------
[mlir][sparse] added some clarification on sparse tensors ABI (#96331)
Commit: 9e6ea387c877a50394aca4b02f18a05e88cf2690
https://github.com/llvm/llvm-project/commit/9e6ea387c877a50394aca4b02f18a05e88cf2690
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
M lldb/test/API/lang/objcxx/objc-from-cpp-frames-without-debuginfo/TestObjCFromCppFramesWithoutDebugInfo.py
M lldb/test/API/macosx/early-process-launch/TestEarlyProcessLaunch.py
A lldb/test/Shell/Expr/TestObjCInCXXContext.test
Log Message:
-----------
Reland "[lldb][ObjC] Don't query objective-c runtime for decls in C++ contexts"
This relands https://github.com/llvm/llvm-project/pull/95963. It had to
be reverted because the `TestEarlyProcessLaunch.py` test was failing
on the incremental macOS bots. The test failed because it was relying on
expression log output from the ObjC introspection routines (but was
the expression was called from a C++ context). The relanded patch
simply ensures that the test runs the expressions as `ObjC` expressions.
When LLDB isn't able to find a `clang::Decl` in response
to a `FindExternalVisibleDeclsByName`, it will fall-back
to looking into the Objective-C runtime for that decl. This
ends up doing a lot of work which isn't necessary when we're
debugging a C++ program. This patch makes the ObjC lookup
conditional on the language that the ExpressionParser deduced
(which can be explicitly set using the `expr --language` option
or is set implicitly if we're stopped in an ObjC frame or a
C++ frame without debug-info).
rdar://96236519
Commit: 513644b5a3cb9ce3440731796b52ccab7c18278e
https://github.com/llvm/llvm-project/commit/513644b5a3cb9ce3440731796b52ccab7c18278e
Author: Fabio D'Urso <fdurso at google.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M compiler-rt/lib/scudo/standalone/tests/memtag_test.cpp
M compiler-rt/lib/scudo/standalone/tests/scudo_unit_test.h
M compiler-rt/lib/scudo/standalone/tests/strings_test.cpp
M compiler-rt/lib/scudo/standalone/tests/vector_test.cpp
Log Message:
-----------
[scudo] Add TEST_SKIP macro to skip the current test (#96192)
Commit: 60fa7c7690d65f23636c5ca51e0fbfc54ed09370
https://github.com/llvm/llvm-project/commit/60fa7c7690d65f23636c5ca51e0fbfc54ed09370
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/Driver/ToolChains/AMDGPU.cpp
M clang/lib/Driver/ToolChains/AMDGPU.h
M clang/test/Driver/rocm-device-libs.cl
Log Message:
-----------
Enable ASAN in amdgpu toolchain for OpenCL (#96262)
Commit: bf824d98c06099c50413cd6c957a75b894a8ac26
https://github.com/llvm/llvm-project/commit/bf824d98c06099c50413cd6c957a75b894a8ac26
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
R clang-tools-extra/test/clang-doc/single-source-html.cpp
Log Message:
-----------
Revert "[clang-doc] Add --asset option to clang-doc" (#96354)
Reverts llvm/llvm-project#94717
This breaks on some buildbots:
http://45.33.8.238/linux/141118/step_7.txt
Commit: 7b57a1b4018db0c987fb5a67effbef4d7559c4f1
https://github.com/llvm/llvm-project/commit/7b57a1b4018db0c987fb5a67effbef4d7559c4f1
Author: Mohammed Keyvanzadeh <mohammadkeyvanzade94 at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Analysis/CallGraphSCCPass.cpp
M llvm/lib/Analysis/CallPrinter.cpp
M llvm/lib/Analysis/CaptureTracking.cpp
M llvm/lib/Analysis/CycleAnalysis.cpp
M llvm/lib/Analysis/FunctionPropertiesAnalysis.cpp
M llvm/lib/Analysis/ImportedFunctionsInliningStatistics.cpp
M llvm/lib/Analysis/InlineAdvisor.cpp
M llvm/lib/Analysis/LazyValueInfo.cpp
M llvm/lib/Analysis/LoopAnalysisManager.cpp
M llvm/lib/Analysis/LoopPass.cpp
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/lib/Analysis/ScalarEvolutionDivision.cpp
Log Message:
-----------
[llvm] format and terminate namespaces with closing comment (#94917)
Namespaces are terminated with a closing comment in the majority of the
codebase so do the same here for consistency. Also format code within
some namespaces to make clang-format happy.
Commit: 32d05db6e9a5650f87eedb5fe328fa9e1fcec76f
https://github.com/llvm/llvm-project/commit/32d05db6e9a5650f87eedb5fe328fa9e1fcec76f
Author: Nick Desaulniers (paternity leave) <nickdesaulniers at users.noreply.github.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M libc/startup/linux/CMakeLists.txt
Log Message:
-----------
[libc][startup] set --target= for linker when cross compiling (#96342)
Otherwise the startup objects will fail to link since they were cross compiled,
but the linker is not informed of the intent to cross compile, which results in
linker errors when the host architecture does not match the target
architecture.
Commit: e52016a2361a35773e8c1ad969b4b33a2b30d018
https://github.com/llvm/llvm-project/commit/e52016a2361a35773e8c1ad969b4b33a2b30d018
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
Log Message:
-----------
[Clang] Replace `emitXXXBuiltin` with a unified interface (#96313)
Commit: 09bc1e825068f314db71ee7eb32d9f93c5ac87a0
https://github.com/llvm/llvm-project/commit/09bc1e825068f314db71ee7eb32d9f93c5ac87a0
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M libc/src/stdlib/CMakeLists.txt
M libc/test/src/__support/CMakeLists.txt
Log Message:
-----------
[libc][stdlib] Only use freelist_malloc for baremetal targets. (#96355)
Commit: 31bbaf40afd9f8a230395ff45c9b79ff272fbc77
https://github.com/llvm/llvm-project/commit/31bbaf40afd9f8a230395ff45c9b79ff272fbc77
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/IR/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/IR/BUILD.gn
Log Message:
-----------
[gn build] Port 5ece35df8586
Commit: 3984e58d0d467d93b39b03c34d36e40d14c9d7ba
https://github.com/llvm/llvm-project/commit/3984e58d0d467d93b39b03c34d36e40d14c9d7ba
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/CodeGen/BUILD.gn
Log Message:
-----------
[gn build] Port 7c814c13d0df
Commit: df54be40af9fd1bf159459304c40f3a93ab6748a
https://github.com/llvm/llvm-project/commit/df54be40af9fd1bf159459304c40f3a93ab6748a
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/source/Utility/BUILD.gn
Log Message:
-----------
[gn build] Port b8f0ca09b667
Commit: 5d6d2fc0802e1a6fb9727d82571273c337c23629
https://github.com/llvm/llvm-project/commit/5d6d2fc0802e1a6fb9727d82571273c337c23629
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/BUFInstructions.td
Log Message:
-----------
AMDGPU: Fix overriding SubtargetPredicate in MUBUF_Real_gfx90a (#96351)
Commit: b9c7d60a2f2c5b26f4a6543dd9472959a84c6d48
https://github.com/llvm/llvm-project/commit/b9c7d60a2f2c5b26f4a6543dd9472959a84c6d48
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/BUFInstructions.td
Log Message:
-----------
AMDGPU: Start fixing inconsistencies in usage of SubtargetPredicate (#96337)
SubtargetPredicate should be the primary "does this instruction exist"
predicate, with OtherPredicates used for other side pieces of information.
Changes like 856d1c4410 were backwards. The problematic usage is how
GFX12 is using HasRestrictedOffset. The multiclasses for buffers
should probably be split up instead of hiding OtherPredicates inside
the buffer atomic multiclasses. The two cases are mutually exclusive
and really need a negated predicate for the not-gfx12 case.
It's pretty terrible we have to manage this in the first place.
TableGen should be able to figure out the required predicates
from any instructions that appear in the pattern output.
Commit: 781d5cf32a2512b8010831df750daa8003d6bf5a
https://github.com/llvm/llvm-project/commit/781d5cf32a2512b8010831df750daa8003d6bf5a
Author: Nick Desaulniers (paternity leave) <nickdesaulniers at users.noreply.github.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M libc/startup/linux/CMakeLists.txt
Log Message:
-----------
[libc][startup] check that we're cross compiling and using LLD (#96357)
We only need to set `--target=` for LLD when cross compiling. This should fix
the host build using BFD or targeting the host.
Fixes: #96342
Commit: 9b78ddf3b2abfb3e2063e3dad2a326f5eabc1618
https://github.com/llvm/llvm-project/commit/9b78ddf3b2abfb3e2063e3dad2a326f5eabc1618
Author: Jeff Niu <jeff at modular.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/include/mlir/Support/ThreadLocalCache.h
Log Message:
-----------
[mlir] Optimize ThreadLocalCache by removing atomic bottleneck (attempt #3) (#93315)
The ThreadLocalCache implementation is used by the MLIRContext (among
other things) to try to manage thread contention in the StorageUniquers.
There is a bunch of fancy shared pointer/weak pointer setups that
basically keeps everything alive across threads at the right time, but a
huge bottleneck is the `weak_ptr::lock` call inside the `::get` method.
This is because the `lock` method has to hit the atomic refcount several
times, and this is bottlenecking performance across many threads.
However, all this is doing is checking whether the storage is
initialized. Importantly, when the `PerThreadInstance` goes out of
scope, it does not remove all of its associated entries from the
thread-local hash map (it contains dangling `PerThreadInstance *` keys).
The `weak_ptr` also allows the thread local cache to synchronize with
the `PerThreadInstance`'s destruction:
1. if `ThreadLocalCache` destructs, the `weak_ptr`s that reference its
contained values are immediately invalidated
2. if `CacheType` destructs within a thread, any entries still live are
removed from the owning `PerThreadInstance`, and it locks the `weak_ptr`
first to ensure it's kept alive long enough for the removal.
This PR changes the TLC entries to contain a `shared_ptr<ValueT*>` and a
`weak_ptr<PerInstanceState>`. It gives the `PerInstanceState` entries a
`weak_ptr<ValueT*>` on top of the `unique_ptr<ValueT>`. This enables
`ThreadLocalCache::get` to check if the value is initialized by
dereferencing the `shared_ptr<ValueT*>` and check if the contained
pointer is null. When `PerInstanceState` destructs, the values inside
the TLC are written to nullptr. The TLC uses the
`weak_ptr<PerInstanceState>` to satisfy (2).
(1) is no longer the case. When `ThreadLocalCache` begins destruction,
the `weak_ptr<PerInstanceState>` are invalidated, but not the
`shared_ptr<ValueT*>`. This is OK: because the overall object is being
destroyed, `::get` cannot get called and because the
`shared_ptr<PerInstanceState>` finishes destruction before freeing the
pointer, it cannot get reallocated to another `ThreadLocalCache` during
destruction. I.e. the values inside the TLC associated with a
`PerInstanceState` cannot be read during destruction. The most important
thing is to make sure destruction of the TLC doesn't race with the
destructor of `PerInstanceState`. Because `PerInstanceState` carries
`weak_ptr` references into the TLC, we guarantee to not have any
use-after-frees.
Commit: 73a2232720898acfee26588520f795b2d97d0000
https://github.com/llvm/llvm-project/commit/73a2232720898acfee26588520f795b2d97d0000
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/add.v2i16.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/fshl.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/fshr.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.intersect_ray.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/sub.v2i16.ll
M llvm/test/CodeGen/AMDGPU/bitreverse-inline-immediates.ll
M llvm/test/CodeGen/AMDGPU/fsqrt.f32.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_i64.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.intersect_ray.ll
M llvm/test/CodeGen/AMDGPU/med3-knownbits.ll
M llvm/test/CodeGen/AMDGPU/permute_i8.ll
M llvm/test/CodeGen/AMDGPU/shrink-add-sub-constant.ll
M llvm/test/CodeGen/AMDGPU/shrink-insts-scalar-bit-ops.mir
M llvm/test/CodeGen/AMDGPU/udiv64.ll
M llvm/test/CodeGen/AMDGPU/urem64.ll
Log Message:
-----------
AMDGPU: Materialize bitwise not of inline immediates (#95960)
If we have a bitwise negated inline immediate, we can materialize
it with s_not_b32/v_not_b32. This mirrors the current bitreverse
handling.
As a side effect, we also now handle the bitreversed FP immediate
case.
One test shows some VOPD regressions on gfx11 which should
probably be fixed. Previously the 2 v_mov_b32 could be packed,
but now the mismatched opcode + mov can't. This problem already
already existed for the bfrev case, it just happens more often now.
Commit: 435635652fd226fa292abcff6a10d3df9dbd74e3
https://github.com/llvm/llvm-project/commit/435635652fd226fa292abcff6a10d3df9dbd74e3
Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M flang/docs/Intrinsics.md
M flang/runtime/execute.cpp
M flang/unittests/Runtime/CommandTest.cpp
Log Message:
-----------
Revert "[flang] Fix execute_command_line cmdstat is not set when error occurs" (#96365)
Reverts llvm/llvm-project#93023
Reverting due to buildbot failure.
https://lab.llvm.org/buildbot/#/builders/41/builds/227
test-suite ::
Fortran/gfortran/regression/gfortran-regression-execute-regression__execute_command_line_3_f90
Commit: 7d2c2af0453c28d0902668523099a1f46a0bc348
https://github.com/llvm/llvm-project/commit/7d2c2af0453c28d0902668523099a1f46a0bc348
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
A lld/test/wasm/Inputs/signature-mismatch-debug-info-a.s
A lld/test/wasm/Inputs/signature-mismatch-debug-info-b.s
A lld/test/wasm/Inputs/signature-mismatch-debug-info-main.s
A lld/test/wasm/signature-mismatch-debug-info.test
M lld/wasm/InputChunks.h
Log Message:
-----------
[lld][WebAssembly] Return 0 for synthetic function offsets (#96134)
When two or more functions' signatures differ, one of them is selected
and for other signatures `unreachable` stubs are generated:
https://github.com/llvm/llvm-project/blob/57778ec36c9c7e96b76a167f19dccbe00d49c9d4/lld/wasm/SymbolTable.cpp#L975
https://github.com/llvm/llvm-project/blob/57778ec36c9c7e96b76a167f19dccbe00d49c9d4/lld/wasm/SymbolTable.cpp#L852-L870
And when these `SyntheticFunction`s are generated, this constructor is
used,
https://github.com/llvm/llvm-project/blob/57778ec36c9c7e96b76a167f19dccbe00d49c9d4/lld/wasm/InputChunks.h#L266-L269
which does not set its `function` field:
https://github.com/llvm/llvm-project/blob/57778ec36c9c7e96b76a167f19dccbe00d49c9d4/lld/wasm/InputChunks.h#L304
As a result, the `function` field contains a garbage value for these
stub functions.
`InputFunction::getFunctionCodeOffset()` is called when relocations are
resolved for `.debug_info` section to get functions' PC locations. But
because these stub functions don't have their `function` field set, this
function segfaults:
https://github.com/llvm/llvm-project/blob/57778ec36c9c7e96b76a167f19dccbe00d49c9d4/lld/wasm/InputChunks.h#L282
This bug seems to be triggered when these conditions are met:
- There is a signature mismatch warning with multiple different
definitions (one definition with other declarations is not sufficient)
with weak linkage with the same name
- The 'stub' function containing unreachable has a callsite, meaning it
isn't DCE'd
- .debug_info section is generated (i.e., DWARF is used)
This PR initializes the field with `nullptr`, and in
`InputFunction::getFunctionCodeOffset`, checks if `function` is
`nullptr`, and if so, just returns 0. This function is called only for
resolving relocations in the `.debug_info` section, and addresses of
these stub functions, which are not the functions users wrote in the
first place, are not really meaningful anyway.
Commit: b515d9ea1e4365f156dad06a91e7b0f18b1b67c7
https://github.com/llvm/llvm-project/commit/b515d9ea1e4365f156dad06a91e7b0f18b1b67c7
Author: Tulio Magno Quites Machado Filho <tuliom at redhat.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M compiler-rt/lib/hwasan/CMakeLists.txt
Log Message:
-----------
[hwasan][aarch64] Fix missing DT_AARCH64_BTI_PLT flag (#95796)
When building hwasan on aarch64, the DT_AARCH64_BTI_PLT flag is missing
from libclang_rt.hwasan.so because some object files without
DT_AARCH64_BTI_PLT are linked in the final DSO.
These files are specific to riscv64 and x86_64, ending up with no
aarch64 code in them.
Avoid building and linking architecture-specific files unless the
architecture is listed in HWASAN_SUPPORTED_ARCH.
Commit: 91db7add6d72d411a50c1d7265e7d115d6e4a882
https://github.com/llvm/llvm-project/commit/91db7add6d72d411a50c1d7265e7d115d6e4a882
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn
Log Message:
-----------
[gn build] Port b515d9ea1e43
Commit: a0e1b4a2444181287b6434152d9361dd81049e73
https://github.com/llvm/llvm-project/commit/a0e1b4a2444181287b6434152d9361dd81049e73
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
M llvm/test/Instrumentation/InstrProfiling/mcdc.ll
Log Message:
-----------
[MC/DC][Coverage] Split out Read-modfy-Write to rmw_or(ptr,i8) (#96040)
`rmw_or` is defined as "private alwaysinline". At the moment, it has
just only simple "Read, Or, and Write", which is just same as the
current implementation.
Commit: ba2f4964e3c013dfac4f5eac0be652679b2faec3
https://github.com/llvm/llvm-project/commit/ba2f4964e3c013dfac4f5eac0be652679b2faec3
Author: Igor Kudrin <ikudrin at accesssoftek.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/test/MC/AArch64/ELF_ARM64_large-relocations.s
Log Message:
-----------
[MC][AArch64][NFC] Re-enable a test (#96344)
Part of the test did not run due to an incorrect prefix.
The test was added in [D27629](https://reviews.llvm.org/D27629).
Commit: a41a46c665ffb50f129daadc8c7b081ddf0b1e37
https://github.com/llvm/llvm-project/commit/a41a46c665ffb50f129daadc8c7b081ddf0b1e37
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachineDominators.h
M llvm/include/llvm/Passes/MachinePassRegistry.def
M llvm/lib/CodeGen/MachineDominators.cpp
M llvm/lib/Passes/PassBuilder.cpp
Log Message:
-----------
[CodeGen][NewPM] Port machine dominator tree analysis to new pass manager (#95879)
- Add `MachineDominatorTreeAnalysis`
- Add `MachineDominatorTreePrinterPass` There is no test for this
analysis in codebase.
Also, the pass name is renamed to `machine-dom-tree` instead of
`machinedomtree`.
Commit: 38458144bf74417aa36bdd468ce3b3d482cdaf99
https://github.com/llvm/llvm-project/commit/38458144bf74417aa36bdd468ce3b3d482cdaf99
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/riscv/entrypoints.txt
M libc/src/stdlib/CMakeLists.txt
Log Message:
-----------
[libc][stdlib] Fix skipped libc.src.stdlib.freelist_malloc target for baremetal. (#96372)
Downstream build issue reported:
https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64/b8744479865106393873/overview
Commit: d69050d614cc3348fb639f4a1862e8b9a9ad9885
https://github.com/llvm/llvm-project/commit/d69050d614cc3348fb639f4a1862e8b9a9ad9885
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Annotate r_paren before braced list as TT_CastRParen (#96271)
Fixes #96096.
Commit: c2735d2d5a66e42f004323c715bdefd5ef09882a
https://github.com/llvm/llvm-project/commit/c2735d2d5a66e42f004323c715bdefd5ef09882a
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M libc/src/stdlib/CMakeLists.txt
Log Message:
-----------
[libc][stdlib] Bring all GPU's alloc/free entrypoints under the same conditional. (#96373)
Commit: 905e4ec747f917bb519a8229eb2dbe43743b1b3c
https://github.com/llvm/llvm-project/commit/905e4ec747f917bb519a8229eb2dbe43743b1b3c
Author: Poseydon42 <vvmposeydon at gmail.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
A llvm/test/Transforms/InstCombine/scmp.ll
A llvm/test/Transforms/InstCombine/ucmp.ll
Log Message:
-----------
[InstCombine] Implement folds of icmp of UCMP/SCMP call and a constant (#96118)
This patch handles various cases where an operation of the kind `icmp
(ucmp/scmp x, y), constant` folds to `icmp x, y`. Another patch with
cases where this operation folds to a constant (i.e. dumb cases like
`icmp eq (cmp x, y), 4` should be published in a couple of days.
I wasn't sure what negative tests should be added here, if any are
necessary at all. I'd love to hear your suggestions.
Proofs (ucmp): https://alive2.llvm.org/ce/z/qQ7ihz
Proofs (scmp): https://alive2.llvm.org/ce/z/cipKEn
---------
Co-authored-by: Nikita Popov <github at npopov.com>
Commit: c5f5238a4aa385d4ae4ec1b509bd50e0a43b81ae
https://github.com/llvm/llvm-project/commit/c5f5238a4aa385d4ae4ec1b509bd50e0a43b81ae
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/unittests/Target/SPIRV/SPIRVConvergenceRegionAnalysisTests.cpp
Log Message:
-----------
[SPIRV] #include "llvm/IR/PassInstrumentation.h"
Commit: 9486c35ecac59a451aaa923f47087e834f478dfb
https://github.com/llvm/llvm-project/commit/9486c35ecac59a451aaa923f47087e834f478dfb
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
Log Message:
-----------
[ARM] Simplify ElfMappingSymbolInfo. NFC
Commit: 87424778ef554e3d50a6b15f7a9c8b0d35368031
https://github.com/llvm/llvm-project/commit/87424778ef554e3d50a6b15f7a9c8b0d35368031
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCFragment.h
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/MC/MCSection.cpp
M llvm/lib/MC/MCSymbol.cpp
M llvm/lib/MC/MCWinCOFFStreamer.cpp
Log Message:
-----------
[MC] Remove the Parent parameter from MCFragment ctor callers. NFC
Commit: 9b44cfbdbf694e29d80bea688f3ecbfd1d764bfd
https://github.com/llvm/llvm-project/commit/9b44cfbdbf694e29d80bea688f3ecbfd1d764bfd
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCFragment.h
M llvm/lib/MC/MCFragment.cpp
M llvm/lib/MC/MCWinCOFFStreamer.cpp
Log Message:
-----------
[MC] Remove unused section parameters from MCFragment constructors
Commit: 82f9b0fbda81232d1294aafa2611a84bba082da6
https://github.com/llvm/llvm-project/commit/82f9b0fbda81232d1294aafa2611a84bba082da6
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCFragment.h
M llvm/lib/MC/MCFragment.cpp
Log Message:
-----------
[MC] Remove Parent initializer from MCFragment ctor
Commit: bfd263a34df5d3916eb8425bb070618324acabfa
https://github.com/llvm/llvm-project/commit/bfd263a34df5d3916eb8425bb070618324acabfa
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M lldb/include/lldb/Expression/ExpressionParser.h
M lldb/source/Expression/CMakeLists.txt
A lldb/source/Expression/ExpressionParser.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h
M lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
Log Message:
-----------
[lldb][ExpressionParser][NFCI] Add new DoPrepareForExecution interface to be implemented by language plugins (#96290)
This patch adds a new `DoPrepareForExecution` API, which can be
implemented by the Clang and Swift language plugins. This also moves
`RunStaticInitializers` into `ExpressionParser::PrepareForExecution`, so
we call it consistently between language plugins.
This *should* be mostly NFC (the static initializers will still only run
after we finished parsing). We've been living on this patch downstream
for sometime now.
rdar://130267058
Commit: 4684d0c0073669c1833be7bb127a149b1f7a5e65
https://github.com/llvm/llvm-project/commit/4684d0c0073669c1833be7bb127a149b1f7a5e65
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCELFStreamer.h
M llvm/include/llvm/MC/MCObjectStreamer.h
M llvm/include/llvm/MC/MCWasmStreamer.h
M llvm/lib/MC/MCELFStreamer.cpp
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/MC/MCWasmStreamer.cpp
M llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
Log Message:
-----------
[MC] emitLabelAtPos: change parameter to MCDataFragment &. NFC
emitLabelAtPos is only called by ARMELFStreamer with MCDataFragment.
Commit: 369e24aa3852baccffe61c69ce891dc47fd5e176
https://github.com/llvm/llvm-project/commit/369e24aa3852baccffe61c69ce891dc47fd5e176
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M llvm/lib/MC/MCWinCOFFStreamer.cpp
Log Message:
-----------
[MC] Fix emitCOFFSafeSEH after 9b44cfbdbf694e29d80bea688f3ecbfd1d764bfd
Tested by lld/test/COFF/safeseh*.s but not by llvm/test/**
Commit: c9c0c465a7bd0ce922da63410d79d04c663c6ffe
https://github.com/llvm/llvm-project/commit/c9c0c465a7bd0ce922da63410d79d04c663c6ffe
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/source/Expression/BUILD.gn
Log Message:
-----------
[gn build] Port bfd263a34df5
Commit: a89669cb6ba7d0fbda0785650f03390b55a7650f
https://github.com/llvm/llvm-project/commit/a89669cb6ba7d0fbda0785650f03390b55a7650f
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86MCInstLower.cpp
Log Message:
-----------
[X86][MC] Drop optional from LowerMachineOperand (#96338)
This caused the MCOperand to be returned in memory. An MCOperand is only
16 bytes and therefore can be returned in registers on x86-64 and
AArch64 (and others).
Commit: a091bfe71fdde4358dbfc73926f875cb05121c00
https://github.com/llvm/llvm-project/commit/a091bfe71fdde4358dbfc73926f875cb05121c00
Author: Zhikai Zeng <backlight.zzk at gmail.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaTemplateInstantiate.cpp
M clang/test/CXX/expr/expr.prim/expr.prim.req/compound-requirement.cpp
Log Message:
-----------
[Clang] fix access checking inside return-type-requirement of compound requirements (#95651)
fixes https://github.com/llvm/llvm-project/issues/93788 .
Commit: 75006466296ed4b0f845cbbec4bf77c21de43b40
https://github.com/llvm/llvm-project/commit/75006466296ed4b0f845cbbec4bf77c21de43b40
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCAsmLayout.h
M llvm/include/llvm/MC/MCObjectStreamer.h
M llvm/include/llvm/MC/MCSection.h
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/MC/MCSection.cpp
M llvm/test/MC/MachO/pending-labels.s
M llvm/tools/dsymutil/MachOUtils.cpp
Log Message:
-----------
[MC] Remove pending labels
This commit removes the complexity introduced by pending labels in
https://reviews.llvm.org/D5915 by using a simpler approach. D5915 aimed
to ensure padding placement before `.Ltmp0` for the following code, but
at the cost of expensive per-instruction `flushPendingLabels`.
```
// similar to llvm/test/MC/X86/AlignedBundling/labeloffset.s
.bundle_lock align_to_end
calll .L0$pb
.bundle_unlock
.L0$pb:
popl %eax
.Ltmp0: //// padding should be inserted before this label instead of after
addl $_GLOBAL_OFFSET_TABLE_+(.Ltmp0-.L0$pb), %eax
```
(D5915 was adjusted by https://reviews.llvm.org/D8072 and
https://reviews.llvm.org/D71368)
This patch achieves the same goal by setting the offset of the empty
MCDataFragment (`Prev`) in `layoutBundle`. This eliminates the need for
pending labels and simplifies the code.
llvm/test/MC/MachO/pending-labels.s (D71368): relocation symbols are
changed, but the result is still supported by linkers.
Commit: b0ae923ada836fa2c9114ac2c5afb39466f49fe0
https://github.com/llvm/llvm-project/commit/b0ae923ada836fa2c9114ac2c5afb39466f49fe0
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
M llvm/lib/ProfileData/InstrProf.cpp
Log Message:
-----------
[ProfileData] Add a variant of getValueProfDataFromInst (#95993)
This patch adds a variant of getValueProfDataFromInst that returns
std::vector<InstrProfValueData> instead of
std::unique<InstrProfValueData[]>. The new return type carries the
length with it, so we can drop out parameter ActualNumValueData.
Also, the caller can directly feed the return value into a range-based
for loop as shown in the patch.
I'm planning to migrate other callers of getValueProfDataFromInst to
the new variant in follow-up patches.
Commit: 8e9c6bfb5075a498344521d5911b6bc9ab9c901f
https://github.com/llvm/llvm-project/commit/8e9c6bfb5075a498344521d5911b6bc9ab9c901f
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachinePassManager.h
M llvm/include/llvm/IR/PassManager.h
M llvm/lib/CodeGen/RegAllocFast.cpp
M llvm/lib/Passes/PassBuilder.cpp
Log Message:
-----------
[CodeGen][NewPM] Extract MachineFunctionProperties modification part to an RAII class (#94854)
Modify MachineFunctionProperties in PassModel makes `PassT P;
P.run(...);` not work properly. This is a necessary compromise.
Commit: 4a7bf42a9b83144db8a11ac06cce4da21166e6a2
https://github.com/llvm/llvm-project/commit/4a7bf42a9b83144db8a11ac06cce4da21166e6a2
Author: Emilia Kond <emilia at rymiel.space>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Don't count template template parameter as declaration (#95025)
In ContinuationIndenter::mustBreak, a break is required between a
template declaration and the function/class declaration it applies to,
if the template declaration spans multiple lines.
However, this also includes template template parameters, which can
cause extra erroneous line breaks in some declarations.
This patch makes template template parameters not be counted as template
declarations.
Fixes https://github.com/llvm/llvm-project/issues/93793
Fixes https://github.com/llvm/llvm-project/issues/48746
Commit: 4145ad2bac4bb99d5034d60c74bb2789f6c6e802
https://github.com/llvm/llvm-project/commit/4145ad2bac4bb99d5034d60c74bb2789f6c6e802
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachinePassManager.h
Log Message:
-----------
[NewPM] Add deduction guide to `MFPropsModifier` to suppress warning (#96384)
Buildbot `clang-ppc64le-rhel` failed with:
```sh
error: 'MFPropsModifier' may not intend to support class template argument deduction [-Werror,-Wctad-maybe-unsupported]
note: add a deduction guide to suppress this warning
```
after #94854. This PR adds deduction guide explicitly to suppress
warning.
Commit: 34d44eb41dfbbbf01712719558b02763334fbeb3
https://github.com/llvm/llvm-project/commit/34d44eb41dfbbbf01712719558b02763334fbeb3
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
Revert "[clang-format] Don't count template template parameter as declaration" (#96388)
Reverts llvm/llvm-project#95025 ; many bots are broken
Commit: c3fe1c4472e72a3832be911e8fa9098fa84762a0
https://github.com/llvm/llvm-project/commit/c3fe1c4472e72a3832be911e8fa9098fa84762a0
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M lldb/include/lldb/Target/RemoteAwarePlatform.h
M lldb/source/Target/RemoteAwarePlatform.cpp
Log Message:
-----------
[lldb] Resolve executables more aggressively on the host
When unifying the ResolveExecutable implementations in #96256, I missed
that RemoteAwarePlatform was able to resolve executables more
aggressively. The host platform can rely on the current working
directory to make relative paths absolute and resolve things like home
directories.
This should fix command-target-create-resolve-exe.test.
Commit: 0fccae9d8e64f3b0f415946000d6ca79ae1255db
https://github.com/llvm/llvm-project/commit/0fccae9d8e64f3b0f415946000d6ca79ae1255db
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
R clang/utils/ClangDataFormat.py
Log Message:
-----------
[clang][utils] Remove ClangDataFormat.py for now (#96385)
This formatter doesn't currently provide much value. It only formats
`SourceLocation` and `QualType`. The only formatting it does for
`QualType` is call `getAsString()` on it.
The main motivator for the removal however is that the formatter
implementation can be very slow (since it uses the expression evaluator
in non-trivial ways).
Not infrequently do we get reports about LLDB being slow when debugging
Clang, and it turns out the user was loading `ClangDataFormat.py` in
their `.lldbinit` by default.
We should eventually develop proper formatters for Clang data-types, but
these are currently not ready. So this patch removes them in the
meantime to avoid users shooting themselves in the foot, and giving the
wrong impression of these being reference implementations.
Commit: 485d7eaefd93c4f6bc8c51c9a169ffb22ce3a898
https://github.com/llvm/llvm-project/commit/485d7eaefd93c4f6bc8c51c9a169ffb22ce3a898
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCObjectStreamer.h
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/MC/MCSection.cpp
Log Message:
-----------
[MC] Remove remnant code related to pending labels
Commit: a4ca22506c96cd8508bcfb93a26941f19c7179ef
https://github.com/llvm/llvm-project/commit/a4ca22506c96cd8508bcfb93a26941f19c7179ef
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
A llvm/test/Transforms/InstCombine/fmul-bool.ll
Log Message:
-----------
[InstCombine] (uitofp bool X) * Y --> X ? Y : 0 (#96216)
Fold `mul (uitofp i1 X), Y` to `select i1 X, Y, 0.0` when the `mul` is
`nnan` and `nsz`
Proof: https://alive2.llvm.org/ce/z/_stiPm
Commit: 170c194ec19c76deee33d8aa8b288368c574f7a0
https://github.com/llvm/llvm-project/commit/170c194ec19c76deee33d8aa8b288368c574f7a0
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/InterpBuiltin.cpp
M clang/test/CodeGen/cfstring.c
Log Message:
-----------
[clang][Interp] Fix CFStringMakeConstantString etc. evaluation
We're ultimately expected to return an APValue simply pointing to
the CallExpr, not any useful value. Do that by creating a global
variable for the call.
Commit: 8fa4fe1f995a9bc85666d63e84c094f9a09686b5
https://github.com/llvm/llvm-project/commit/8fa4fe1f995a9bc85666d63e84c094f9a09686b5
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/lib/MC/MCExpr.cpp
Log Message:
-----------
[MC] AttemptToFoldSymbolOffsetDifference: remove MCDummyFragment check. NFC
This was added by 507efbcce03d8c2c5dbea3028bc39f02c88fea79
([MC] Fold A-B when A is a pending label or A/B are separated by a
MCFillFragment) to account for pending labels and is now unneeded after
the removal of pending labels (75006466296ed4b0f845cbbec4bf77c21de43b40).
Commit: 2c9c22c6e295b1176225b63ae4cbbceb216da55e
https://github.com/llvm/llvm-project/commit/2c9c22c6e295b1176225b63ae4cbbceb216da55e
Author: Daniel Paoliello <danpao at microsoft.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64Arm64ECCallLowering.cpp
M llvm/test/CodeGen/AArch64/arm64ec-entry-thunks.ll
M llvm/test/CodeGen/AArch64/arm64ec-exit-thunks.ll
Log Message:
-----------
[ARM64EC] Fix thunks for vector args (#96003)
The checks when building a thunk to decide if an arg needed to be cast
to/from an integer or redirected via a pointer didn't match how arg
types were changed in `canonicalizeThunkType`, this caused LLVM to ICE
when using vector types as args due to incorrect types in a call
instruction.
Instead of duplicating these checks, we should check if the arg type
differs between x64 and AArch64 and then cast or redirect as
appropriate.
Commit: 6621505a1eb5428b13d2d29f377050624ef5531c
https://github.com/llvm/llvm-project/commit/6621505a1eb5428b13d2d29f377050624ef5531c
Author: Emilia Kond <emilia at rymiel.space>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/test/Index/overriding-ftemplate-comments.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Don't count template template parameter as declaration (#96396)
Reapply 4a7bf42a9b83144db8a11ac06cce4da21166e6a2
which was reverted in 34d44eb41dfbbbf01712719558b02763334fbeb3
Not sure why there are tests elsewhere in clang that rely on the output
of clang-format, but they were wrong
Commit: ca5ba2e46445caf2c8063a53eb6351fb596190e8
https://github.com/llvm/llvm-project/commit/ca5ba2e46445caf2c8063a53eb6351fb596190e8
Author: Sven Verdoolaege <sven at cerebras.net>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/FormatProviders.h
Log Message:
-----------
[Support] Avoid warning about possibly uninitialized variable in format_provider (#95704)
The original implementation of HelperFunctions::consumeHexStyle always
sets Style when it returns true, but this is difficult for a compiler
to understand since it requires seeing that Str starts
with either an "x" or an "X" when starts_with_insensitive("x")
return true.
In particular, g++ 12 warns that HS may be used uninitialized
in the format_provider::format caller.
Change HelperFunctions::consumeHexStyle to return an optional
HexPrintStyle and to make the fact that Str necessarily starts
with an "X" when all other cases do not apply more explicit.
This helps both the compiler and the human reader of the code.
Co-authored-by: Sven Verdoolaege <sven.verdoolaege at gmail.com>
Commit: fc23564c44f3eff1847462253d43c08b85489148
https://github.com/llvm/llvm-project/commit/fc23564c44f3eff1847462253d43c08b85489148
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/include/llvm/Frontend/OpenMP/OMP.td
Log Message:
-----------
[NFC][Clang][OMPX] Fix a typo in `OMP.td` (#96398)
Commit: 8cb6e587fd40b97983e445ee3f17f4c6d7190df7
https://github.com/llvm/llvm-project/commit/8cb6e587fd40b97983e445ee3f17f4c6d7190df7
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCContext.h
M llvm/lib/MC/MCCodeView.cpp
M llvm/lib/MC/MCContext.cpp
M llvm/lib/MC/MCFragment.cpp
Log Message:
-----------
[MC] Allocate MCFragment with a bump allocator
#95197 and 75006466296ed4b0f845cbbec4bf77c21de43b40 eliminated all raw
`new MCXXXFragment`. We can now place fragments in a bump allocator.
In addition, remove the dead `Kind == FragmentType(~0)` condition.
~CodeViewContext may call `StrTabFragment->destroy()` and need to be
reset before `FragmentAllocator.Reset()`.
Tested by llvm/test/MC/COFF/cv-compiler-info.ll using asan.
Pull Request: https://github.com/llvm/llvm-project/pull/96402
Commit: c9f6a5e49519f860f20f808b1af84dc3fc50ff91
https://github.com/llvm/llvm-project/commit/c9f6a5e49519f860f20f808b1af84dc3fc50ff91
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCAssembler.h
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCFragment.cpp
Log Message:
-----------
[MC] Move computeBundlePadding closer to its only caller. NFC
There is only one caller after #95188.
Commit: f5b93ae5884dd72bd145576344e4effff685cf5e
https://github.com/llvm/llvm-project/commit/f5b93ae5884dd72bd145576344e4effff685cf5e
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M clang/lib/Frontend/TextDiagnostic.cpp
M clang/lib/Lex/PPDirectives.cpp
Log Message:
-----------
[clang] Fix -Wsign-compare in 32-bit builds
Commit: 3ba7599842be852abdad9db2ad75c35263ad517e
https://github.com/llvm/llvm-project/commit/3ba7599842be852abdad9db2ad75c35263ad517e
Author: Nico Weber <thakis at chromium.org>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/clang-tools-extra/clang-doc/tool/BUILD.gn
Log Message:
-----------
[gn] port ade28a77ed1776 (clang-doc asset copy to share/clang)
Commit: f3005d5b86ca947977f6056552b2a4648b9f0460
https://github.com/llvm/llvm-project/commit/f3005d5b86ca947977f6056552b2a4648b9f0460
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
Log Message:
-----------
[Serialization] Change input file content hash from size_t to uint64_t
https://reviews.llvm.org/D67249 added content hash (see
-fvalidate-ast-input-files-content) using llvm::hash_code (size_t).
The hash value is 32-bit on 32-bit systems, which was unintentional.
Fix #96379: #96136 switched the hash function to xxh3_64bit but did not
update the ContentHash type, leading to mismatch between ASTReader and
ASTWriter.
Commit: f73ac218a666e2017565f2210b47332ddcf55f00
https://github.com/llvm/llvm-project/commit/f73ac218a666e2017565f2210b47332ddcf55f00
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M clang/docs/LanguageExtensions.rst
M clang/include/clang/Basic/Builtins.td
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
M clang/lib/Sema/SemaChecking.cpp
M clang/test/CodeGen/builtins-elementwise-math.c
M clang/test/CodeGen/strictfp-elementwise-bulitins.cpp
A clang/test/CodeGenHLSL/builtins/acos.hlsl
A clang/test/CodeGenHLSL/builtins/asin.hlsl
A clang/test/CodeGenHLSL/builtins/atan.hlsl
A clang/test/CodeGenHLSL/builtins/cosh.hlsl
A clang/test/CodeGenHLSL/builtins/sinh.hlsl
A clang/test/CodeGenHLSL/builtins/tanh.hlsl
M clang/test/Sema/aarch64-sve-vector-trig-ops.c
M clang/test/Sema/builtins-elementwise-math.c
M clang/test/Sema/riscv-rvv-vector-trig-ops.c
M clang/test/SemaCXX/builtins-elementwise-math.cpp
M clang/test/SemaHLSL/BuiltIns/half-float-only-errors.hlsl
Log Message:
-----------
[HLSL][clang] Add elementwise builtins for trig intrinsics (#95999)
This change is part of this proposal:
https://discourse.llvm.org/t/rfc-all-the-math-intrinsics/78294
This is part 3 of 4 PRs. It sets the ground work for using the
intrinsics in HLSL.
Add HLSL frontend apis for `acos`, `asin`, `atan`, `cosh`, `sinh`, and
`tanh`
https://github.com/llvm/llvm-project/issues/70079
https://github.com/llvm/llvm-project/issues/70080
https://github.com/llvm/llvm-project/issues/70081
https://github.com/llvm/llvm-project/issues/70083
https://github.com/llvm/llvm-project/issues/70084
https://github.com/llvm/llvm-project/issues/95966
Commit: 05ba5c0648ae5e80d5afce270495bf3b1eef9af4
https://github.com/llvm/llvm-project/commit/05ba5c0648ae5e80d5afce270495bf3b1eef9af4
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCStreamer.h
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/MC/MCParser/ELFAsmParser.cpp
M llvm/lib/MC/MCStreamer.cpp
Log Message:
-----------
[MC] MCSectionSubPair: replace const MCExpr * with uint32_t
Commit: 61c4d7b9231d22f8cff7a6a6b3b52d401cba9f6f
https://github.com/llvm/llvm-project/commit/61c4d7b9231d22f8cff7a6a6b3b52d401cba9f6f
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
A llvm/test/Transforms/InstCombine/select-cmp-eq-op-fold.ll
Log Message:
-----------
[InstCombine] Add tests for expanding `foldSelectValueEquivalence`; NFC
Commit: b37a4b9991a0a669594b53caa0eb75f489211d69
https://github.com/llvm/llvm-project/commit/b37a4b9991a0a669594b53caa0eb75f489211d69
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/test/Transforms/InstCombine/select-cmp-eq-op-fold.ll
Log Message:
-----------
[InstCombine] Improve coverage of `foldSelectValueEquivalence` for non-constants
If f(Y) simplifies to Y, replace with Y. This requires Y to be
non-undef.
Closes #94719
Commit: 95f983f8239c071712cc42d0d54d3ebfa7c32a22
https://github.com/llvm/llvm-project/commit/95f983f8239c071712cc42d0d54d3ebfa7c32a22
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCContext.h
M llvm/include/llvm/MC/MCELFStreamer.h
M llvm/include/llvm/MC/MCObjectStreamer.h
M llvm/include/llvm/MC/MCSection.h
M llvm/include/llvm/MC/MCSectionCOFF.h
M llvm/include/llvm/MC/MCSectionDXContainer.h
M llvm/include/llvm/MC/MCSectionELF.h
M llvm/include/llvm/MC/MCSectionGOFF.h
M llvm/include/llvm/MC/MCSectionMachO.h
M llvm/include/llvm/MC/MCSectionSPIRV.h
M llvm/include/llvm/MC/MCSectionWasm.h
M llvm/include/llvm/MC/MCSectionXCOFF.h
M llvm/include/llvm/MC/MCStreamer.h
M llvm/include/llvm/MC/MCWasmStreamer.h
M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
M llvm/lib/MC/MCAsmStreamer.cpp
M llvm/lib/MC/MCContext.cpp
M llvm/lib/MC/MCELFStreamer.cpp
M llvm/lib/MC/MCMachOStreamer.cpp
M llvm/lib/MC/MCObjectFileInfo.cpp
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/MC/MCParser/ELFAsmParser.cpp
M llvm/lib/MC/MCSectionCOFF.cpp
M llvm/lib/MC/MCSectionDXContainer.cpp
M llvm/lib/MC/MCSectionELF.cpp
M llvm/lib/MC/MCSectionMachO.cpp
M llvm/lib/MC/MCSectionWasm.cpp
M llvm/lib/MC/MCSectionXCOFF.cpp
M llvm/lib/MC/MCStreamer.cpp
M llvm/lib/MC/MCWasmStreamer.cpp
M llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
M llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
M llvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
M llvm/lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp
M llvm/lib/Target/Mips/MCTargetDesc/MipsELFStreamer.h
M llvm/lib/Target/Mips/MipsAsmPrinter.cpp
M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.cpp
M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.h
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.h
M llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVTargetStreamer.h
Log Message:
-----------
[MC] Change Subsection parameters from const MCExpr * to uint32_t
Follow-up to 05ba5c0648ae5e80d5afce270495bf3b1eef9af4. uint32_t is
preferred over const MCExpr * in the section stack uses because it
should only be evaluated once. Change the paramter type to match.
Commit: 6ec1ddfd72656cbf8e4185239175e52d50e0f4a3
https://github.com/llvm/llvm-project/commit/6ec1ddfd72656cbf8e4185239175e52d50e0f4a3
Author: ZhangYin <zhangyin2018 at iscas.ac.cn>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M libcxx/docs/Status/ParallelismProjects.csv
M libcxx/include/experimental/__simd/reference.h
M libcxx/include/experimental/simd
A libcxx/test/std/experimental/simd/simd.reference/reference_swap.pass.cpp
Log Message:
-----------
[libc++] <experimental/simd> Add swap functions of simd reference (#86478)
Commit: e7622ab4721141d9e6af6041fa7f9bbc1029e9aa
https://github.com/llvm/llvm-project/commit/e7622ab4721141d9e6af6041fa7f9bbc1029e9aa
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCObjectStreamer.h
M llvm/lib/MC/MCObjectStreamer.cpp
Log Message:
-----------
[MC] Remove unused MCObjectStreamer::CurSubsectionIdx. NFC
Commit: 346c4a88afedcef3da40f68c83f0a5b3e0ac61ea
https://github.com/llvm/llvm-project/commit/346c4a88afedcef3da40f68c83f0a5b3e0ac61ea
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
M mlir/test/Target/LLVMIR/nvvmir.mlir
Log Message:
-----------
[mlir][NVVM] Disallow results on kernel functions (#96399)
Functions that have the `nvvm.kernel` attribute should have 0 results.
Commit: 3f33d2f3ca570f1e4e016a07f049724fdff6dad9
https://github.com/llvm/llvm-project/commit/3f33d2f3ca570f1e4e016a07f049724fdff6dad9
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M mlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp
M mlir/lib/Conversion/GPUCommon/GPUOpsLowering.h
M mlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir
Log Message:
-----------
[mlir][GPUToNVVM] Fix memref function args/results (#96392)
The `gpu.func` op lowering accounts for memref arguments/results (both
"normal" and bare-pointer supported), but the `gpu.return` op lowering
did not. The lowering produced invalid IR that did not verify.
This commit uses the same lowering strategy as for `func.return` in the
`gpu.return` lowering. (The C++ implementation is copied. We may want to
share some code between `func` and `gpu` lowerings in the future.)
Commit: a440a96ec2084985bca71e2b90b33bd07af3e65e
https://github.com/llvm/llvm-project/commit/a440a96ec2084985bca71e2b90b33bd07af3e65e
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M clang/test/CodeGenCUDA/amdgpu-atomic-ops.cu
M llvm/lib/Target/AMDGPU/AMDGPU.td
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/FLATInstructions.td
M llvm/lib/Target/AMDGPU/GCNSubtarget.h
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmax.ll
M llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmin.ll
M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmax.ll
M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmin.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fmax.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fmin.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.ptr.buffer.atomic.fmax.f32.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.ptr.buffer.atomic.fmax.f64.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.ptr.buffer.atomic.fmin.f32.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.ptr.buffer.atomic.fmin.f64.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f32-agent.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f32-system.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f64-agent.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f64-system.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fmax.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fmin.ll
Log Message:
-----------
AMDGPU: Start selecting flat/global atomicrmw fmin/fmax. (#95592)
Define subtarget features for atomic fmin/fmax support.
The flat/global support is a real messe. We had float/double support at
the beginning in gfx6 and gfx7. gfx8 removed these. gfx10 reintroduced them.
gfx11 removed the f64 versions again.
gfx9 partially reintroduced them, in gfx90a and gfx940 but only for f64.
Commit: 414c74149c0085e3c11496af171217d5317481e1
https://github.com/llvm/llvm-project/commit/414c74149c0085e3c11496af171217d5317481e1
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmax.ll
M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmin.ll
Log Message:
-----------
AMDGPU: Start selecting buffer fat pointer atomicrmw fmin/fmax (#95593)
Commit: 70c8b9c24a7cf2b7c6e65675cbdb42a65ff668ba
https://github.com/llvm/llvm-project/commit/70c8b9c24a7cf2b7c6e65675cbdb42a65ff668ba
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/lib/IR/AutoUpgrade.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPUSearchableTables.td
M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
M llvm/lib/Target/AMDGPU/DSInstructions.td
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/Bitcode/amdgcn-atomic.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/fp-atomics-gfx940.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/fp64-atomics-gfx90a.ll
R llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.ds.fadd.ll
M llvm/test/CodeGen/AMDGPU/fp-atomics-gfx1200.ll
M llvm/test/CodeGen/AMDGPU/fp-atomics-gfx940.ll
M llvm/test/CodeGen/AMDGPU/fp64-atomics-gfx90a.ll
R llvm/test/CodeGen/AMDGPU/lds-atomic-fadd.ll
Log Message:
-----------
AMDGPU: Remove ds atomic fadd intrinsics (#95396)
These have been replaced with atomicrmw fadd
Commit: 3ae6755719c6dfc07761b4e9bdac8c86bcb41734
https://github.com/llvm/llvm-project/commit/3ae6755719c6dfc07761b4e9bdac8c86bcb41734
Author: Shan Huang <52285902006 at stu.ecnu.edu.cn>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/DivRemPairs.cpp
A llvm/test/Transforms/DivRemPairs/X86/preserving-debugloc-frx-fry-mul-sub.ll
A llvm/test/Transforms/DivRemPairs/X86/preserving-debugloc-realrem.ll
Log Message:
-----------
[DebugInfo][DivRemPairs] Fix missing debug location updates (#96045)
Fix #96014 .
Commit: f7fc72e281e26082d98b26c95c7ffc93393b3920
https://github.com/llvm/llvm-project/commit/f7fc72e281e26082d98b26c95c7ffc93393b3920
Author: Zain Jaffal <zain at jjaffal.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
A llvm/test/Transforms/InstCombine/fold-a-or-b-zero.ll
Log Message:
-----------
[InstCombine] fold `(a == c && b != c) || (a != c && b == c))` to `(a == c) == (b != c)` (#94915)
resolves https://github.com/llvm/llvm-project/issues/92966
alive proof
https://alive2.llvm.org/ce/z/bLAQBS
Commit: f372bb45e39b7eae94930fc419724e12596a8361
https://github.com/llvm/llvm-project/commit/f372bb45e39b7eae94930fc419724e12596a8361
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Target/LLVMIR/openmp-private.mlir
Log Message:
-----------
[OpenMP][LLVM] Clone `omp.private` op in the parent module (#96024)
Fixes a crash uncovered by test 0007_0019.f90 in the Fujitsu test suite.
Previously, in the `PrivCB`, we cloned the `omp.private` op without
inserting it in the parent module of the original op. This causes issues
whenever there is an op that needs to lookup the parent module (e.g. for
symbol lookup). This PR fixes the issue by cloning in the parent module
instead of creating an orphaned op.
Commit: eb76bc38ffc286e62fdb8f8d897b5de04b2575be
https://github.com/llvm/llvm-project/commit/eb76bc38ffc286e62fdb8f8d897b5de04b2575be
Author: Luke Lau <luke at igalia.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.ll
M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert.ll
M llvm/test/Transforms/LoopStrengthReduce/RISCV/lsr-drop-solution.ll
Log Message:
-----------
[RISCV] Relax RISCVInsertVSETVLI output VL peeking to cover registers (#96200)
If the AVL in a VSETVLIInfo is the output VL of a vsetvli with the same
VLMAX, we treat it as the AVL of said vsetvli.
This allows us to remove a true dependency as well as treating
VSETVLIInfos as equal in more places and avoid toggles.
We do this in two places, needVSETVLI and computeInfoForInstr. However
we don't do this in computeInfoForInstr's vsetvli equivalent,
getInfoForVSETVLI.
We also have a restriction only in computeInfoForInstr that the AVL
can't be a register as we want to avoid extending live ranges.
This patch does two interlinked things:
1) It adds this AVL "peeking" to getInfoForVSETVLI
2) It relaxes the constraint that the AVL can't be a register in
computeInfoForInstr, since it removes a use of the output VL which can
actually reduce register pressure. E.g. see the diff in
@vector_init_vsetvli_N and @test6
Now that getInfoForVSETVLI and computeInfoForInstr are consistent, we
can remove the check in needVSETVLI.
We also need to update how we update LiveIntervals in insertVSETVLI, as
we can now end up needing to extend the LiveRange of the AVL across
blocks.
Commit: 8990763d2c974a179dd0ed42b0cfb7b8b60e9c0c
https://github.com/llvm/llvm-project/commit/8990763d2c974a179dd0ed42b0cfb7b8b60e9c0c
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGExprConstant.cpp
Log Message:
-----------
[clang][codegen][NFC] Improve const correctness
Commit: c19028f364cceb4b2111c7956dcacbc257a96fd4
https://github.com/llvm/llvm-project/commit/c19028f364cceb4b2111c7956dcacbc257a96fd4
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/GenericDomTree.h
M llvm/include/llvm/Support/GenericDomTreeConstruction.h
Log Message:
-----------
[GenericDomTree] Use range-based for loops (NFC) (#96404)
Commit: 48cf6b6bbe7a22bfcd98f82dc7afd21c9decd22f
https://github.com/llvm/llvm-project/commit/48cf6b6bbe7a22bfcd98f82dc7afd21c9decd22f
Author: Christian Sigg <csigg at google.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
Log Message:
-----------
[mlir] Fix use-after-free introduced in a9efcbf490d9b8f46ec37062ca8653b4068000e5.
Commit: 6dc8de7a0abc7df8295273694fd9b951ed33708f
https://github.com/llvm/llvm-project/commit/6dc8de7a0abc7df8295273694fd9b951ed33708f
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Utils/StaticValueUtils.h
M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
M mlir/test/Dialect/Linalg/promote.mlir
M mlir/test/Dialect/Linalg/transform-promotion.mlir
M mlir/test/Dialect/MemRef/canonicalize.mlir
M mlir/test/Dialect/MemRef/subview.mlir
M mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir
M mlir/test/Dialect/Vector/vector-transferop-opt.mlir
M mlir/test/Transforms/canonicalize.mlir
Log Message:
-----------
[mlir][memref] Improve `memref.subview` type inference (#96421)
The `memref.subview` result type inference
(`SubViewOp::inferResultType`) sometimes used to produce a dynamic
offset when a static offset is possible.
When a dynamic value (stride, size, etc.) is multiplied with zero, the
result is always a "static 0". Based on this, the result type inference
implementation can be improved to produce more static type information
in memref types.
Commit: 21fac2d1d060b0f9b11a746718e58d4cd1ee97e5
https://github.com/llvm/llvm-project/commit/21fac2d1d060b0f9b11a746718e58d4cd1ee97e5
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCContext.cpp
M llvm/lib/MC/MCMachOStreamer.cpp
M llvm/tools/dsymutil/MachOUtils.cpp
Log Message:
-----------
[MC] Ensure all new sections have a MCDataFragment
MCAssembler::layout ensures that every section has at least one
fragment, which simplifies MCAsmLayout::getSectionAddressSize (see
e73353c7201a3080851d99a16f5fe2c17f7697c6 from 2010). It's better to
ensure the condition is satisfied at create time (COFF, GOFF, Mach-O) to
simplify more fragment processing.
Commit: 05d167fc201b4f2e96108be0d682f6800a70c23d
https://github.com/llvm/llvm-project/commit/05d167fc201b4f2e96108be0d682f6800a70c23d
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
M llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
M llvm/lib/DWARFLinker/Parallel/ArrayList.h
M llvm/lib/ExecutionEngine/Orc/Core.cpp
M llvm/lib/ExecutionEngine/Orc/Debugging/DebugInfoSupport.cpp
M llvm/lib/ProfileData/InstrProfReader.cpp
M llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
M llvm/lib/Target/NVPTX/NVVMReflect.cpp
M llvm/lib/Target/PowerPC/PPCMergeStringPool.cpp
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
M llvm/lib/Transforms/Utils/CodeLayout.cpp
M llvm/tools/llvm-jitlink/llvm-jitlink.cpp
M llvm/utils/TableGen/ARMTargetDefEmitter.cpp
M llvm/utils/TableGen/ExegesisEmitter.cpp
Log Message:
-----------
[llvm] Use llvm::sort (NFC) (#96434)
Commit: ab9c2b1c54392e20d0b14d3b009146f8d68d192f
https://github.com/llvm/llvm-project/commit/ab9c2b1c54392e20d0b14d3b009146f8d68d192f
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
Log Message:
-----------
[VPlan] Restructure code for BranchOnCond codegen. (NFCI)
Reoder code to exit early if the BranchOnCond isn't in an exiting block.
This delays retrieving the parent region, which may not be present.
Split off from https://github.com/llvm/llvm-project/pull/92651.
Commit: 31a94bd783ae61f418bd730109992dfb30b70e87
https://github.com/llvm/llvm-project/commit/31a94bd783ae61f418bd730109992dfb30b70e87
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.cpp
Log Message:
-----------
[VPlan] Rename Preheader -> Entry in createInitialVPlan (NFCI).
Split off from https://github.com/llvm/llvm-project/pull/92651 as
suggested.
Commit: ef1773ad57507727e4cafdb43b9c28ac03e01ae5
https://github.com/llvm/llvm-project/commit/ef1773ad57507727e4cafdb43b9c28ac03e01ae5
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
Log Message:
-----------
[VPlan] Rewrite cloneSESE to use 2 depth-first passes (NFCI).
Rewrite cloneSESE to perform 2 depth-first passes with the first one
cloning blocks and the second one updating the predecessors and
successors.
This is needed to preserve the correct predecessor/successor ordering
with https://github.com/llvm/llvm-project/pull/92651 and has been split
off as suggested.
Commit: de0d4827ee8fe440e6288c19cdcd5ffc9d3a4236
https://github.com/llvm/llvm-project/commit/de0d4827ee8fe440e6288c19cdcd5ffc9d3a4236
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCWinCOFFStreamer.h
M llvm/lib/MC/MCWinCOFFStreamer.cpp
M llvm/lib/MC/WinCOFFObjectWriter.cpp
Log Message:
-----------
[MC,COFF] Register .llvm.call-graph-profile in finalizeImpl
All sections should have been created before MCAssembler::layout so that
every section has an ordinal. Registering the section in
WinCOFFObjectWriter::executePostLayoutBinding is a hack.
Commit: 1f98ac095e35f12a85d71101269df00279faa55c
https://github.com/llvm/llvm-project/commit/1f98ac095e35f12a85d71101269df00279faa55c
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M libcxx/include/__atomic/atomic_base.h
M libcxx/include/__charconv/chars_format.h
M libcxx/include/__chrono/time_point.h
M libcxx/include/__functional/function.h
M libcxx/include/__iterator/data.h
M libcxx/include/__iterator/size.h
M libcxx/include/__numeric/gcd_lcm.h
M libcxx/include/__random/discard_block_engine.h
M libcxx/include/__string/char_traits.h
M libcxx/include/__utility/pair.h
M libcxx/include/deque
M libcxx/include/experimental/propagate_const
M libcxx/include/experimental/type_traits
M libcxx/include/forward_list
M libcxx/include/future
M libcxx/include/list
M libcxx/include/map
M libcxx/include/queue
M libcxx/include/set
M libcxx/include/stack
M libcxx/include/string
M libcxx/include/string_view
M libcxx/include/tuple
Log Message:
-----------
[libc++][NFC] Replace _NOEXCEPT and _LIBCPP_CONSTEXPR macros with the keywords in C++11 code (#96387)
Commit: b7048681675c2e953688837e9c1db4ec810d1166
https://github.com/llvm/llvm-project/commit/b7048681675c2e953688837e9c1db4ec810d1166
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/test/MC/COFF/section-comdat.s
Log Message:
-----------
[test] Use llvm-objdump for COFF/section-comdat.s
Commit: f05fa6e0cfdc61f29bac94b157a56e048d10efd1
https://github.com/llvm/llvm-project/commit/f05fa6e0cfdc61f29bac94b157a56e048d10efd1
Author: antangelo <contact at antangelo.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M clang/include/clang/Basic/AttrDocs.td
M llvm/lib/Target/AArch64/AArch64CallingConvention.td
M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
M llvm/test/CodeGen/AArch64/preserve_nonecc_call.ll
Log Message:
-----------
[AArch64] Fix argument passing in reserved registers for preserve_nonecc (#96259)
These registers include:
- X19, used by LLVM as the base pointer
- X15 on Windows, where it is used for stack allocation. It can still be
used on Linux/Darwin.
- Adjust FrameLowering scratch register code to not assume X9 is
available if the calling convention is preserve_nonecc. The code will
then pick an unused register as scratch, and allow X9 to continue being
used for argument passing.
Commit: abbf3bce94e0848f746e39186d36ebb938c1c5de
https://github.com/llvm/llvm-project/commit/abbf3bce94e0848f746e39186d36ebb938c1c5de
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCObjectStreamer.h
M llvm/lib/MC/MCMachOStreamer.cpp
M llvm/lib/MC/MCWinCOFFStreamer.cpp
Log Message:
-----------
[MC] Avoid some registerSection calls
changeSection is preferred to call the changeSectionImpl hook, which
registers the section symbol.
Commit: 6082a50a9835907f5f90f1967e21dcd7f5ab30f1
https://github.com/llvm/llvm-project/commit/6082a50a9835907f5f90f1967e21dcd7f5ab30f1
Author: Francis Visoiu Mistrih <890283+francisvm at users.noreply.github.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
Log Message:
-----------
[RISCV] Mark all registers marked isConstant as reserved (#96002)
This makes use of the information from TableGen instead of duplicating
it in the code.
Commit: 9d63506ddc6d60e220d967eb11779114075d401d
https://github.com/llvm/llvm-project/commit/9d63506ddc6d60e220d967eb11779114075d401d
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/MC/ELFObjectWriter.cpp
M llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
Log Message:
-----------
[MC] Move ELFWriter::createMemtagRelocs to AArch64ELFStreamer::finishImpl
Follow-up to https://reviews.llvm.org/D128958
* Move target-specific code away from the generic ELFWriter.
* All sections should have been created before MCAssembler::layout.
* Remove one `registerSection` use, which should be considered private to MCAssembler.
Commit: cde799ff444b986e591a572b47765606c17c35a4
https://github.com/llvm/llvm-project/commit/cde799ff444b986e591a572b47765606c17c35a4
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCELFStreamer.h
M llvm/lib/Target/Mips/MCTargetDesc/MipsOptionRecord.cpp
M llvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
Log Message:
-----------
[NC,MIPS] Avoid some registerSection calls
Similar to abbf3bce94e0848f746e39186d36ebb938c1c5de.
switchSection calls registerSection internally.
Commit: 329e6b4fd5a995c7d8aa4d11aec1b901ca49e484
https://github.com/llvm/llvm-project/commit/329e6b4fd5a995c7d8aa4d11aec1b901ca49e484
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProf.h
Log Message:
-----------
[ProfileData] Use std::array for ValueProfData (#96440)
This patch uses std::array for ValueProfData. Aside from reducing the
line count and code duplication, the use of std::array here makes it
easier to add a new type of value profiling without touching as many
places.
Commit: a3cf14af77116c1395fe85b82200ab818e3fc5bc
https://github.com/llvm/llvm-project/commit/a3cf14af77116c1395fe85b82200ab818e3fc5bc
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/MC/MCObjectFileInfo.cpp
Log Message:
-----------
[MC,COFF] Remove unneeded BeginSymName
When `BeginSymName` is not null, `createTempSymbol` is called but the
created symbol is not attached to a fragment. This is used as a hack to
some DWARF tests to work. In the future, we should repurpose
`BeginSymbol` as the section symbol in ELF.
Commit: 905c58f5aa33f1cd6370913bcadcd2e7dd8abbd0
https://github.com/llvm/llvm-project/commit/905c58f5aa33f1cd6370913bcadcd2e7dd8abbd0
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/MC/MCParser/ELFAsmParser.cpp
Log Message:
-----------
[MC] Remove unneeded setBeginSymbol. NFC
getELFSection ensures that the section symbol exists.
Commit: 8f49dab19e861baeb0d87452e652ed97d3883d1a
https://github.com/llvm/llvm-project/commit/8f49dab19e861baeb0d87452e652ed97d3883d1a
Author: Enna1 <xumingjie.enna1 at bytedance.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Analysis/BranchProbabilityInfo.cpp
Log Message:
-----------
[BPI] Use BasicBlock::isEHPad() to check exception handling block. (#95771)
There is no need to iterate all predecessors of current block, check if
current block is the invoke unwind destination of any predecessor. We
can directly call `BasicBlock::isEHPad()` to check if current block is
an exception handling block.
Commit: 1ecc5ae13b9061cfb37ef0c409c8a4fc4bad42c9
https://github.com/llvm/llvm-project/commit/1ecc5ae13b9061cfb37ef0c409c8a4fc4bad42c9
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/Serialization/ASTWriter.cpp
M clang/test/Modules/no-implicit-declarations.cppm
A clang/test/Modules/no-transitive-decl-change-2.cppm
Log Message:
-----------
[Serialization] Register Speical types before register decls
We will only regsiter top level types and decls in ASTWriter and
we will register the sub types and decls during the process of writing
types and decls. So that the ID for the types in the sub level can be
different if the writing decl process changes the order of the to-be-
emitted type queues. This is not ideal since it causes unnecessary
changes especially in no transitive changes model.
This patch migrates the issue by regsitering special types before
regsitering decls. This make sure that the special types in the 2nd
top level can be registered early than the decls. But it might still be
problematic if there are more levels in the special types. Luckily we
just don't have such special types.
Commit: 4061354ab3157255238cf2664b9482bd6297dc83
https://github.com/llvm/llvm-project/commit/4061354ab3157255238cf2664b9482bd6297dc83
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/AST/DeclID.h
Log Message:
-----------
[Serialization] Revert specialization for DenseMapInfo<GlobalDeclID>::getHashValue
The FIXME says to revert this when the underlying issue got fixed. And
now the underlying issue got fixed in
https://github.com/llvm/llvm-project/pull/95734. So I think it should be
fine to rever that one now.
Commit: 5997e7d748fdabe2abb7a19a5d9658622152e7d8
https://github.com/llvm/llvm-project/commit/5997e7d748fdabe2abb7a19a5d9658622152e7d8
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/MC/ELFObjectWriter.cpp
M llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
Log Message:
-----------
Revert "[MC] Move ELFWriter::createMemtagRelocs to AArch64ELFStreamer::finishImpl"
This reverts commit 9d63506ddc6d60e220d967eb11779114075d401d.
There is a heap-use-after-free.
Commit: ffec31566c0acc341a3953ffc9b015f702c138ec
https://github.com/llvm/llvm-project/commit/ffec31566c0acc341a3953ffc9b015f702c138ec
Author: Poseydon42 <vvmposeydon at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/test/Transforms/InstSimplify/uscmp.ll
Log Message:
-----------
[InstSimplify] Provide information about the range of possible values that `ucmp`/`scmp` can return (#96410)
This makes it possible to fold dumb comparisons like `ucmp(x, y) == 7`.
Commit: fec1b6f9d3cf5347b67ffb2078c995eb496acf47
https://github.com/llvm/llvm-project/commit/fec1b6f9d3cf5347b67ffb2078c995eb496acf47
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/MC/ELFObjectWriter.cpp
M llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
M llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.h
Log Message:
-----------
[MC] Move ELFWriter::createMemtagRelocs to AArch64TargetELFStreamer::finish
Follow-up to https://reviews.llvm.org/D128958
* Move target-specific code away from the generic ELFWriter.
* All sections should have been created before MCAssembler::layout.
* Remove one `registerSection` use, which should be considered private to MCAssembler.
Commit: efdb91e1daba502481f8eab6116e3595766e2300
https://github.com/llvm/llvm-project/commit/efdb91e1daba502481f8eab6116e3595766e2300
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
Log Message:
-----------
[ARM] Move ARMELFStreamer::finishImpl to ARMTargetELFStreamer::finish. NFC
ELFStreamer::finishImpl is not intended to be further overridden.
Commit: a9ac31910db3975d5e92a6265ab29dafd6a4691d
https://github.com/llvm/llvm-project/commit/a9ac31910db3975d5e92a6265ab29dafd6a4691d
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-23 (Sun, 23 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCELFStreamer.h
Log Message:
-----------
[MC] Make MCELFStreamer::finishImpl final
This function is final after efdb91e1daba502481f8eab6116e3595766e2300.
Target-specific code should override MCTargetStreamer::finish instead,
e.g. AArch64TargetELFStreamer::finish
(fec1b6f9d3cf5347b67ffb2078c995eb496acf47).
Commit: b78883fc6db7ca0780ee287267f4c133a3b38201
https://github.com/llvm/llvm-project/commit/b78883fc6db7ca0780ee287267f4c133a3b38201
Author: Felix Schneider <fx.schn at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/lib/Analysis/DataFlow/IntegerRangeAnalysis.cpp
M mlir/test/Dialect/Arith/int-range-interface.mlir
Log Message:
-----------
[mlir][intrange] Fix inference of zero-trip loop bound (#96429)
When lower bound and exclusive upper bound of a loop are the same, and
the zero-trip loop is not canonicalized away before the analysis, this
leads to a meaningless range for the induction variable being inferred.
This patch adds a check to make sure that the inferred range for the IV
is meaningful before updating the analysis state.
Fix https://github.com/llvm/llvm-project/issues/94423
Commit: 79b0966f2f137869cabab42d094fc1ccbb58373c
https://github.com/llvm/llvm-project/commit/79b0966f2f137869cabab42d094fc1ccbb58373c
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/AST/DeclID.h
M clang/lib/Serialization/ASTReader.cpp
Log Message:
-----------
[NFC] [Serialization] Refactor getLocalDeclID to 'LocalDeclID::get'
I just realized that the name `getLocalDeclID` looks like an member
function in ASTReader. It looks not good. So I decided to refactor this
into a static member function in LocalDeclID.
Commit: 9e8ccf6b6410a598f94d2ce4c29d753b8609c907
https://github.com/llvm/llvm-project/commit/9e8ccf6b6410a598f94d2ce4c29d753b8609c907
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/lib/Conversion/FuncToLLVM/FuncToLLVM.cpp
M mlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp
M mlir/lib/Conversion/LLVMCommon/TypeConverter.cpp
Log Message:
-----------
[mlir][Conversion] `FuncToLLVM`: Simplify bare-pointer handling (#96393)
Before this commit, there used to be a workaround in the
`func.func`/`gpu.func` op lowering when the bare-pointer calling
convention is enabled. This workaround "patched up" the argument
materializations for memref arguments. This can be done directly in the
argument materialization functions (as the TODOs in the code base
indicate).
This commit effectively reverts back to the old implementation
(a664c14001fa2359604527084c91d0864aa131a4) and adds additional checks to
make sure that bare pointers are used only for function entry block
arguments.
Commit: 1c025fb02d0fa15b76ca816d8414d532a687ebeb
https://github.com/llvm/llvm-project/commit/1c025fb02d0fa15b76ca816d8414d532a687ebeb
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUSplitModule.cpp
M llvm/test/tools/llvm-split/AMDGPU/address-taken-externalize-with-call.ll
M llvm/test/tools/llvm-split/AMDGPU/address-taken-externalize.ll
A llvm/test/tools/llvm-split/AMDGPU/debug-non-kernel-root.ll
M llvm/test/tools/llvm-split/AMDGPU/large-kernels-merging.ll
A llvm/test/tools/llvm-split/AMDGPU/non-kernels-dependencies.ll
A llvm/test/tools/llvm-split/AMDGPU/non-kernels-dependency-indirect.ll
Log Message:
-----------
[AMDGPU][SplitModule] Allow non-kernels to be treated as roots (#95902)
I initially assumed only kernels could be roots, but that is wrong. A
function with no callers also needs to be a root to ensure it is
correctly handled.
They're very rare because we usually internalize everything, and
internal functions with no callers would be deleted.
When they are present, we need to also consider their dependencies and
act accordingly. Previously, we could put a function "by default" in P0,
but it could call another function with internal linkage defined in
another module which was of course incorrect.
Fixes SWDEV-467695
Commit: 599ca7165edcf7d226bd658c450801044b46ce7c
https://github.com/llvm/llvm-project/commit/599ca7165edcf7d226bd658c450801044b46ce7c
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/include/lldb/lldb-private-enumerations.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
M lldb/source/Symbol/Type.cpp
M lldb/test/Shell/SymbolFile/DWARF/clang-gmodules-type-lookup.c
M lldb/test/Shell/SymbolFile/DWARF/x86/compilercontext.ll
M lldb/test/Shell/SymbolFile/DWARF/x86/find-basic-function.cpp
M lldb/test/Shell/SymbolFile/DWARF/x86/module-ownership.mm
M lldb/tools/lldb-test/lldb-test.cpp
M lldb/unittests/Symbol/TestType.cpp
M lldb/unittests/SymbolFile/DWARF/DWARFDIETest.cpp
Log Message:
-----------
[lldb] Merge CompilerContextKind::{Class,Struct} (#96145)
Our dwarf parsing code treats structures and classes as interchangable.
CompilerContextKind is used when looking DIEs for types. This makes sure
we always they're treated the same way.
See also
[#95905#discussion_r1645686628](https://github.com/llvm/llvm-project/pull/95905#discussion_r1645686628).
Commit: c43d5f540fd43409e7997c9fec97a1d415855b7c
https://github.com/llvm/llvm-project/commit/c43d5f540fd43409e7997c9fec97a1d415855b7c
Author: Balázs Kéri <balazs.keri at ericsson.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/PointerSubChecker.cpp
M clang/test/Analysis/casts.c
A clang/test/Analysis/pointer-sub-notes.c
M clang/test/Analysis/pointer-sub.c
Log Message:
-----------
[clang][analyzer] Add notes to PointerSubChecker (#95899)
Notes are added to indicate the array declarations of the arrays in a
found invalid pointer subtraction.
Commit: c2fc7f75f67039bb1ed577bc0edbd699a850cd9d
https://github.com/llvm/llvm-project/commit/c2fc7f75f67039bb1ed577bc0edbd699a850cd9d
Author: vg0204 <Vikash.Gupta at amd.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
M llvm/test/CodeGen/AMDGPU/preserve-wwm-copy-dst-reg.ll
M llvm/test/CodeGen/AMDGPU/sgpr-regalloc-flags.ll
M llvm/test/CodeGen/AMDGPU/si-lower-sgpr-spills-vgpr-lanes-usage.mir
M llvm/test/CodeGen/AMDGPU/spill-scavenge-offset.ll
Log Message:
-----------
Revert "[AMDGPU]Optimize SGPR spills (#93668)"
This reverts commit 4b9112e88a998ce620e4683548f2afd17cc5fe95. A separate
issue(#96353) describing it has been opened to further keep its track.
Commit: f0c674f680e3e3301c7ccd429400690b128172c5
https://github.com/llvm/llvm-project/commit/f0c674f680e3e3301c7ccd429400690b128172c5
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
A llvm/test/Transforms/LoopVectorize/RISCV/only-compute-cost-for-vplan-vfs.ll
Log Message:
-----------
[LV] Add test showing cost is computed when there are no vector plans.
Add test showing unnecessary cost computations, as no vector VPlans are
generated.
Commit: 45a7af7c993f66044a8492dce1d073380feafffc
https://github.com/llvm/llvm-project/commit/45a7af7c993f66044a8492dce1d073380feafffc
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Basic/Targets/X86.cpp
M clang/test/Driver/x86-target-features.c
M clang/test/Preprocessor/x86_target_features.c
Log Message:
-----------
[X86][Driver] Enable feature cf for -mapxf
This is follow-up for #78901 after validation.
Commit: 9931ee61d99c101db653ae21706f1edce4b39781
https://github.com/llvm/llvm-project/commit/9931ee61d99c101db653ae21706f1edce4b39781
Author: Cullen Rhodes <cullen.rhodes at arm.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/LowerVectorGather.cpp
M mlir/test/Dialect/Vector/vector-gather-lowering.mlir
Log Message:
-----------
[mlir][vector] Fix FlattenGather for scalable vectors (#96074)
This pattern flattens vector.gather ops by unrolling the outermost
dimension for rank > 2 vectors. There's two issues with this pattern for
scalable vectors:
1. The unrolling doesn't take vscale into account. A constraint is
added to disable this pattern for vectors with leading scalable
dims.
2. The scalable dims are dropped when creating the new gather. Fixed
by propagating the flags.
Depends on #96049.
Commit: abf5969f76c6b4196b08fe5ea9c2890e97a61357
https://github.com/llvm/llvm-project/commit/abf5969f76c6b4196b08fe5ea9c2890e97a61357
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/RISCV/only-compute-cost-for-vplan-vfs.ll
Log Message:
-----------
[VPlan] Don't compute costs if there are no vector VPlans.
In some cases, no vector VPlans can be constructed due to failing VPlan
legality checks (e.g. unable to perform sinking for first order
recurrences or plans being incompatible with EVL).
There's no need to compute costs in those cases, so check directly if
there are no vector plans.
Commit: 957dc4366dd2ce9d5d2991c3ad76bbf438e9954e
https://github.com/llvm/llvm-project/commit/957dc4366dd2ce9d5d2991c3ad76bbf438e9954e
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/PassInstrumentation.h
M llvm/include/llvm/Passes/TargetPassRegistry.inc
M llvm/include/llvm/Target/TargetMachine.h
M llvm/lib/IR/PassInstrumentation.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.h
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
M llvm/lib/Target/BPF/BPFTargetMachine.cpp
M llvm/lib/Target/BPF/BPFTargetMachine.h
M llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
M llvm/lib/Target/Hexagon/HexagonTargetMachine.h
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.h
M llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
M llvm/lib/Target/X86/X86TargetMachine.h
Log Message:
-----------
[IR] Lazily initialize the class to pass name mapping (NFC) (#96321)
Initializing this map is somewhat expensive (especially for O0), so we
currently only do it if certain flags are used. I would like to make use
of it for crash dumps (#96078), where we don't know in advance whether
it will be needed or not.
This patch changes the initialization to a lazy approach, where a
callback is registered that does the actual initialization. The
callbacks will be run the first time the pass name is requested.
This way there is no compile-time impact if the mapping is not used.
Commit: 57f79371a5c08e1328e85b68b757cd5547f2bf62
https://github.com/llvm/llvm-project/commit/57f79371a5c08e1328e85b68b757cd5547f2bf62
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
M llvm/lib/Target/SPIRV/SPIRVCommandLine.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
M llvm/lib/Target/SPIRV/SPIRVInstrInfo.td
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
M llvm/lib/Target/SPIRV/SPIRVSymbolicOperands.td
A llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_cooperative_matrix/cooperative_matrix.ll
A llvm/test/CodeGen/SPIRV/transcoding/OpPtrCastToGeneric.ll
Log Message:
-----------
[SPIR-V]: Add SPIR-V extension: SPV_KHR_cooperative_matrix (#96091)
This PR adds SPIR-V extension SPV_KHR_cooperative_matrix that "adds a
new set of types known as "cooperative matrix" types, where the storage
for and computations performed on the matrix are spread across a set of
invocations such as a subgroup" (see
https://github.com/KhronosGroup/SPIRV-Registry/blob/main/extensions/KHR/SPV_KHR_cooperative_matrix.asciidoc).
This PR also fixes https://github.com/llvm/llvm-project/issues/96170, a
new test cases is attached
(llvm/test/CodeGen/SPIRV/transcoding/OpPtrCastToGeneric.ll).
Commit: 790f931886a03324714f31a626eef7e9c609ae97
https://github.com/llvm/llvm-project/commit/790f931886a03324714f31a626eef7e9c609ae97
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/AST/ASTContext.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaLookup.cpp
M clang/lib/Sema/SemaModule.cpp
Log Message:
-----------
[NFC] [Modules] Extract the logic to decide whether the module units belongs to the same module
This patch extracts the logci to decide how we decide the module units
belongs to the same module into a member function of ASTContext. This is
helpful to refactor the implementation in the future.
Commit: e7137f2fed5cfee822ae3c4c6d39188adb59a16c
https://github.com/llvm/llvm-project/commit/e7137f2fed5cfee822ae3c4c6d39188adb59a16c
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/include/llvm/Passes/TargetPassRegistry.inc
Log Message:
-----------
[Passes] Try to fix build on windows
Some passes reference *this (inside decltype) which fails with
MSVC. Fix this by not explicitly specifying the captures (otherwise
we would get an unused lambda capture warning for cases where this
is *not* used).
Commit: 6eaf204dbb0a6a81cddfd02f625c130f7bb1aae5
https://github.com/llvm/llvm-project/commit/6eaf204dbb0a6a81cddfd02f625c130f7bb1aae5
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
M llvm/lib/Target/DirectX/DirectXTargetMachine.h
Log Message:
-----------
[DirectX] Fix DirectXTargetMachine after #96321
Commit: 33676ba543737f8e286e28a9cae81a848bdd3f09
https://github.com/llvm/llvm-project/commit/33676ba543737f8e286e28a9cae81a848bdd3f09
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeEmitter.h
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/lib/AST/Interp/EvalEmitter.h
M clang/test/AST/Interp/c.c
Log Message:
-----------
[clang][Interp] Fix variable initialization in inactive regions
When the EvalEmitter is inactive, it will simply not evaluate
any of the operations we emit via emit*. However, it will still
allocate variables. So the variables will be allocated, but we
won't evaluate their initializer, so later when we see the variable
again, it is uninitialized.
Stop creating variables in that case.
Commit: 73cf014223fed1947f725f7debcf19b8f54448b5
https://github.com/llvm/llvm-project/commit/73cf014223fed1947f725f7debcf19b8f54448b5
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M flang/include/flang/Evaluate/characteristics.h
M flang/include/flang/Evaluate/shape.h
M flang/lib/Evaluate/characteristics.cpp
M flang/lib/Evaluate/check-expression.cpp
M flang/lib/Evaluate/shape.cpp
M flang/lib/Lower/CallInterface.cpp
M flang/lib/Semantics/check-call.cpp
M flang/lib/Semantics/check-declarations.cpp
M flang/lib/Semantics/pointer-assignment.cpp
M flang/lib/Semantics/runtime-type-info.cpp
M flang/test/Evaluate/rewrite06.f90
Log Message:
-----------
[flang] harden TypeAndShape for assumed-ranks (#96234)
SIZEOF and C_SIZEOF were broken for assumed-ranks because
`TypeAndShape::MeasureSizeInBytes` behaved as a scalar because the
`TypeAndShape::shape_` member was the same for scalar and assumed-ranks.
The easy fix would have been to add special handling in
`MeasureSizeInBytes` for assumed-ranks using the TypeAndShape
attributes, but I think this solution would leave `TypeAndShape::shape_`
manipulation fragile to future developers. Hence, I went for the
solution that turn shape_ into a `std::optional<Shape>`.
Commit: e5a41f0afc152cc24b8fef3aa177ef53b2e77c43
https://github.com/llvm/llvm-project/commit/e5a41f0afc152cc24b8fef3aa177ef53b2e77c43
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/PassInstrumentation.h
M llvm/include/llvm/Passes/TargetPassRegistry.inc
M llvm/include/llvm/Target/TargetMachine.h
M llvm/lib/IR/PassInstrumentation.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.h
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
M llvm/lib/Target/BPF/BPFTargetMachine.cpp
M llvm/lib/Target/BPF/BPFTargetMachine.h
M llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
M llvm/lib/Target/DirectX/DirectXTargetMachine.h
M llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
M llvm/lib/Target/Hexagon/HexagonTargetMachine.h
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.h
M llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
M llvm/lib/Target/X86/X86TargetMachine.h
Log Message:
-----------
Revert "[IR] Lazily initialize the class to pass name mapping (NFC) (#96321)"
My attempt to fix the Windows build made things worse,
revert entirely for now.
This reverts commit e7137f2fed5cfee822ae3c4c6d39188adb59a16c.
This reverts commit 6eaf204dbb0a6a81cddfd02f625c130f7bb1aae5.
This reverts commit 957dc4366dd2ce9d5d2991c3ad76bbf438e9954e.
Commit: 64796044f4152c49e4b3c797390a83dcfd33bd46
https://github.com/llvm/llvm-project/commit/64796044f4152c49e4b3c797390a83dcfd33bd46
Author: Tim Creech <timothy.m.creech at intel.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M libclc/CMakeLists.txt
M libclc/cmake/modules/AddLibclc.cmake
Log Message:
-----------
[CMake][libclc] Improve dependencies to avoid build errors (#95018)
With the Makefile generator and particularly high build parallelism some
intermediate dependencies may be generated redundantly and concurrently,
leading to build failures.
To fix this, arrange for libclc's add_custom_commands to depend on
targets in addition to files.
This follows CMake documentation's[^1] guidance on add_custom_command:
> Do not list the output in more than one independent target that may
> build in parallel or the instances of the rule may conflict. Instead,
> use the add_custom_target() command to drive the command and make the
> other targets depend on that one.
Eliminating the redundant commands also improves build times.
[^1]: https://cmake.org/cmake/help/v3.29/command/add_custom_command.html
Commit: 090e0c4f50ec39df2beafd98d0556f23e82f4bcd
https://github.com/llvm/llvm-project/commit/090e0c4f50ec39df2beafd98d0556f23e82f4bcd
Author: Ben Shi <2283975856 at qq.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/AVR/AVRInstrInfo.td
Log Message:
-----------
[AVR][NFC] Improve format of target description files (#96449)
Commit: 2232881736f1a7e3e94ee1123dea1b6cd85a9c3a
https://github.com/llvm/llvm-project/commit/2232881736f1a7e3e94ee1123dea1b6cd85a9c3a
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/AST/ASTContext.h
M clang/lib/AST/ASTContext.cpp
Log Message:
-----------
[C++20] [Modules] Avoid comparing primary module name to decide isInSameModule all the time
Previously, we decide if two module units are in the same module by
comparing name of the primary module interface. But it looks not
efficiency if we always compare the strings. It should be good to
avoid the expensive string operations if possible.
In this patch, we introduced a `llvm::StringMap` to map primary module
name to a Module* and a `llvm::DenseMap<Module*, Module*>` to map a
Module* to a representative Module *. The representative Module* is one
of the Module units belonging to a certain module. The module units have the
same representative Module* should belong to the same module.
We choose the representative Module* by the first module lookup for a
certain primary module name. So the following module units have the same
primary module name would get the same representative modules. So that
for every modules, there will be only one hash process for the primary
module name.
Commit: 3b6462c5b5b38c2f329a2bf97734196610cb4a35
https://github.com/llvm/llvm-project/commit/3b6462c5b5b38c2f329a2bf97734196610cb4a35
Author: Adrian Kuegel <akuegel at google.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Mesh/Interfaces/ShardingInterface.cpp
Log Message:
-----------
[mlir] Apply ClangTidy fixes
Prefer to check .empty() instead of .size() == 0
Commit: 2151ba036213705346553e759fc4e095547989d1
https://github.com/llvm/llvm-project/commit/2151ba036213705346553e759fc4e095547989d1
Author: A. Jiang <de34 at live.cn>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/www/cxx_status.html
Log Message:
-----------
[Docs][Clang] Missing DR status for C++23-era papers in cxx_status.html (#68846)
List the following C++23-era WG21 papers as Defect Reports in
cxx_status.html as per WG21 meeting minutes.
- [P1949R7](https://wg21.link/p1949r7) (C++ Identifier Syntax using
Unicode Standard Annex 31)
- [P2156R1](https://wg21.link/p2156r1) (Allow Duplicate Attributes)
- [P2036R3](https://wg21.link/p2036r3) (Change scope of lambda
_trailing-return-type_)
- [P2468R2](https://wg21.link/p2468r2) (The Equality Operator You Are
Looking For)
- [P2327R1](https://wg21.link/p2327r1) (De-deprecating `volatile`
compound operations)
- [P2493R0](https://wg21.link/p2493r0) (Missing feature test macros for
C++20 core papers)
- [P2513R3](https://wg21.link/p2513r3) (`char8_t` Compatibility and
Portability Fix)
- [P2460R2](https://wg21.link/p2460r2) (Relax requirements on `wchar_t`
to match existing practices)
- [P2579R0](https://wg21.link/p2579r0) (Mitigation strategies for
[P2036](https://wg21.link/p2036) ”Changing scope for lambda
_trailing-return-type_”)
Commit: 137a7451f458cf7d8e1d88df93dbd8da6888886d
https://github.com/llvm/llvm-project/commit/137a7451f458cf7d8e1d88df93dbd8da6888886d
Author: Mubashar Ahmad <mubashar.ahmad at arm.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp
M mlir/test/Dialect/Vector/vector-rewrite-narrow-types.mlir
Log Message:
-----------
[mlir][vector] Support n-D vectors in i8 to i4 trunci emulation (#94946)
Previously, this only supported 1-D vectors via vector.shuffle, with
the new vector.deinterleave this can be updated to support n-D vectors.
Commit: b0bc2f691254adae7042052b8aff6aa728fd6a2d
https://github.com/llvm/llvm-project/commit/b0bc2f691254adae7042052b8aff6aa728fd6a2d
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Target/LLVMIR/openmp-private.mlir
Log Message:
-----------
[OpenMP][LLVM] Fix access to reduction args of `omp.parallel`. (#96426)
Fix for Fujitsu test suite test: 0275_0032.f90. The MLIR to LLVM
translation logic assumed that reduction arguments to an `omp.parallel`
op are always the last set of arguments to the op. However, this is a
wrong assumption since private args come afterward.
Commit: f8ff9094711b74d3f695f7571f6390f8a481fc52
https://github.com/llvm/llvm-project/commit/f8ff9094711b74d3f695f7571f6390f8a481fc52
Author: Guray Ozen <guray.ozen at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/include/mlir-c/Dialect/GPU.h
M mlir/lib/Bindings/Python/DialectGPU.cpp
M mlir/lib/CAPI/Dialect/GPU.cpp
M mlir/test/Examples/NVGPU/Ch1.py
M mlir/test/Examples/NVGPU/Ch2.py
M mlir/test/Examples/NVGPU/Ch3.py
M mlir/test/Examples/NVGPU/Ch4.py
M mlir/test/Examples/NVGPU/Ch5.py
M mlir/test/Integration/GPU/CUDA/sm90/python/tools/matmulBuilder.py
Log Message:
-----------
[mlir][gpu] Add py binding for AsyncTokenType (#96466)
The PR adds py binding for `AsyncTokenType`
Commit: dfbfb6c5c6dba8a25c7a9769e969d56ba19fc14d
https://github.com/llvm/llvm-project/commit/dfbfb6c5c6dba8a25c7a9769e969d56ba19fc14d
Author: Ilya Biryukov <ibiryukov at google.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/Basic/SourceManager.h
M clang/lib/Basic/SourceManager.cpp
Log Message:
-----------
[SourceManager] Expose max usage of source location space as a Statistic (#96292)
We have been running into source location exhaustion recently and want
to use the statistics to monitor the usage in various files to be able
to anticipate where the next problem will happen.
I picked `Statistic` because it can be written into a structured JSON
file and is easier to consume by further automation.
This commit does not change any existing per-source-manager metrics
exposed via `SourceManager::PrintStats()`. This does create some
redundancy, but I also expect to be non-controversial because it aligns
with the intended use of `Statistic`.
Commit: 738533c84aeb56fff94b19c71714f54ae91c3670
https://github.com/llvm/llvm-project/commit/738533c84aeb56fff94b19c71714f54ae91c3670
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
M llvm/test/Transforms/LoopVectorize/AArch64/sme-vectorize.ll
Log Message:
-----------
[AArch64] Consider streaming mode in TTI interfaces for vectorization. (#96305)
At the moment, vectorization is only enabled in streaming(-compatible)
mode when enabled through an option. But the interfaces should check
more than just 'hasSVE()', because a function with +sme in streaming
mode should also vectorize with the option enabled.
Additionally, a streaming-compatible function should only be able to use
fixed-length autovec if SVE is available, otherwise the vector code will
be scalarised by the backend.
Commit: 1b64ed0e0c7fde1b65d55bfb7954beadc0f60e28
https://github.com/llvm/llvm-project/commit/1b64ed0e0c7fde1b65d55bfb7954beadc0f60e28
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/ArmSME/Transforms/Passes.td
M mlir/lib/Dialect/ArmSME/Transforms/EnableArmStreaming.cpp
M mlir/test/Dialect/ArmSME/enable-arm-streaming-invalid.mlir
M mlir/test/Dialect/ArmSME/enable-arm-streaming.mlir
Log Message:
-----------
[mlir][ArmSME] Disallow streaming mode for gathers/scatters (#96209)
Ideally, this would be based on target information (but we don't really
have that), so this currently errs on the side of caution. If possible
gathers/scatters should be lowered regular vector loads/stores before
using invoking enable-arm-streaming.
Commit: fd5a177ccb56ec2dbe1a313db54072f450aa1c29
https://github.com/llvm/llvm-project/commit/fd5a177ccb56ec2dbe1a313db54072f450aa1c29
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
R llvm/test/CodeGen/X86/clz.ll
A llvm/test/CodeGen/X86/ctlz.ll
Log Message:
-----------
[X86] Rename clz.ll -> ctlz.ll to match the intrinsic naming
I'll be splitting the ctlz/cttz tests into separate test files shortly
Commit: 145f36c2aa4ec9c4dc02699579c10e754a797997
https://github.com/llvm/llvm-project/commit/145f36c2aa4ec9c4dc02699579c10e754a797997
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/ctlz.ll
A llvm/test/CodeGen/X86/cttz.ll
Log Message:
-----------
[X86] Split scalar ctlz/cttz tests into their own files
Commit: 53e577add0fb25e335d73376a906da7321182261
https://github.com/llvm/llvm-project/commit/53e577add0fb25e335d73376a906da7321182261
Author: Thomas Preud'homme <thomas.preudhomme at arm.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/Utils/Utils.h
Log Message:
-----------
Remove reference to removed method. (#96315)
Methodes were removed in dc37dc824aabbbe3d029519f43f0b348dcad7027.
Commit: 5a997c1d83845cd891c1e4662cb7ddb02c1eaecc
https://github.com/llvm/llvm-project/commit/5a997c1d83845cd891c1e4662cb7ddb02c1eaecc
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
A llvm/test/CodeGen/X86/ctlo.ll
Log Message:
-----------
[X86] Add count leading ones test coverage based on #96455
Commit: f03cb005eb4ba3c6fb645aca2228e907db8cd452
https://github.com/llvm/llvm-project/commit/f03cb005eb4ba3c6fb645aca2228e907db8cd452
Author: Doug Wyatt <doug at sonosphere.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/AbstractBasicReader.h
M clang/include/clang/AST/AbstractBasicWriter.h
M clang/include/clang/AST/Decl.h
M clang/include/clang/AST/PropertiesBase.td
M clang/include/clang/AST/Type.h
M clang/include/clang/AST/TypeProperties.td
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Sema/Sema.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/Type.cpp
M clang/lib/AST/TypePrinter.cpp
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Sema/SemaOverload.cpp
M clang/lib/Sema/SemaType.cpp
M clang/lib/Sema/TreeTransform.h
A clang/test/Sema/attr-nonblocking-sema.c
A clang/test/Sema/attr-nonblocking-sema.cpp
A clang/test/Sema/attr-nonblocking-syntax.cpp
Log Message:
-----------
[Clang] Introduce `nonblocking`/`nonallocating` attributes (#84983)
Introduce `nonblocking` and `nonallocating` attributes. RFC is here:
https://discourse.llvm.org/t/rfc-nolock-and-noalloc-attributes/76837
This PR introduces the attributes, with some changes in Sema to deal
with them as extensions to function (proto)types.
There are some basic type checks, most importantly, a warning when
trying to spoof the attribute (implicitly convert a function without the
attribute to one that has it).
A second, follow-on pull request will introduce new caller/callee
verification.
---------
Co-authored-by: Doug Wyatt <dwyatt at apple.com>
Co-authored-by: Shafik Yaghmour <shafik.yaghmour at intel.com>
Co-authored-by: Aaron Ballman <aaron at aaronballman.com>
Co-authored-by: Sirraide <aeternalmail at gmail.com>
Commit: a66900be7507eb0c68a6eff1e945e1823507d3e0
https://github.com/llvm/llvm-project/commit/a66900be7507eb0c68a6eff1e945e1823507d3e0
Author: Luke Lau <luke at igalia.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Log Message:
-----------
[RISCV] Pretty print AVL register in VSETVLIInfo::dump. NFC
Currently the AVLReg is printed raw like {AVLReg=2147483668, ...}, this
changes it to {AVLReg=%20, ...} which should be easier to read.
Commit: 3d8079229e7571a5912e880bf7a960d809c8ee96
https://github.com/llvm/llvm-project/commit/3d8079229e7571a5912e880bf7a960d809c8ee96
Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/test/CodeGen/aarch64-mixed-target-attributes.c
M clang/test/CodeGen/attr-target-clones-aarch64.c
M clang/test/CodeGen/attr-target-version.c
M clang/test/CodeGenCXX/attr-target-clones-aarch64.cpp
M clang/test/CodeGenCXX/attr-target-version.cpp
M clang/test/CodeGenCXX/fmv-namespace.cpp
Log Message:
-----------
[clang][AArch64][FMV] Stop emitting alias to ifunc. (#96221)
Long story short the interaction of two optimizations happening in
GlobalOpt results in a crash. For more details look at the issue
https://github.com/llvm/llvm-project/issues/96197. I will be fixing this
in GlobalOpt but it is a conservative solution since it won't allow us
to optimize resolvers which return a pointer to a function whose
definition is in another TU when compiling without LTO:
```
__attribute__((target_version("simd"))) void bar(void);
__attribute__((target_version("default"))) void bar(void);
int foo() { bar(); }
```
fixes: #96197
Commit: 4e6c8f1d30b8516fc7205bbcc97a78a728215512
https://github.com/llvm/llvm-project/commit/4e6c8f1d30b8516fc7205bbcc97a78a728215512
Author: Martin Storsjö <martin at martin.st>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/Frontend/InitPreprocessor.cpp
M clang/test/Preprocessor/predefined-win-macros.c
Log Message:
-----------
[clang] [MinGW] Set a predefined __GXX_TYPEINFO_EQUALITY_INLINE=0 for MinGW targets (#96062)
libstdc++ requires this define to match what is predefined in GCC for
the ABI of this platform; GCC hardcodes this define for all mingw
configurations in gcc/config/i386/cygming.h.
(It also defines __GXX_MERGED_TYPEINFO_NAMES=0, but that happens to
match the defaults in libstdc++ headers, so there's no similar need to
define it in Clang.)
This fixes a Clang/libstdc++ interop issue discussed at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110572.
Commit: 6b41de3605658069eb69b8684c2760e54bd1bea3
https://github.com/llvm/llvm-project/commit/6b41de3605658069eb69b8684c2760e54bd1bea3
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/InterpBuiltin.cpp
M clang/test/CodeGen/ptrauth-intrinsics.c
Log Message:
-----------
[clang][Interp] Implement ptrauth builtins
Commit: cc4ec6daf0d4f43110e8220d542c1155b8c1ef51
https://github.com/llvm/llvm-project/commit/cc4ec6daf0d4f43110e8220d542c1155b8c1ef51
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/test/Modules/no-eager-load.cppm
A clang/test/Modules/same-decl-in-different-modules.cppm
Log Message:
-----------
[C++20] [Modules] Diagnose redeclarations from different modules
[basic.link]/p10:
> If two declarations of an entity are attached to different modules,
> the program is ill-formed
But we only implemented the check for ODR. In this patch, we tried to
diagnose the redeclarations from different modules.
Commit: 17e51d5fc79fc1c9a2a33c13eb02cfbd70c9a221
https://github.com/llvm/llvm-project/commit/17e51d5fc79fc1c9a2a33c13eb02cfbd70c9a221
Author: Andarwinux <144242044+Andarwinux at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
Log Message:
-----------
[Driver] Add winsysroot alias to the GNU driver (#95320)
fixes #91216
Commit: 689c5c48294451461b936be2ea30444ecaf39182
https://github.com/llvm/llvm-project/commit/689c5c48294451461b936be2ea30444ecaf39182
Author: Mariusz Sikora <mariusz.sikora at amd.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPU.td
M llvm/test/CodeGen/AMDGPU/llvm.maximum.f64.ll
M llvm/test/CodeGen/AMDGPU/llvm.minimum.f64.ll
M llvm/test/CodeGen/AMDGPU/load-constant-i1.ll
M llvm/test/CodeGen/AMDGPU/load-constant-i16.ll
M llvm/test/CodeGen/AMDGPU/load-constant-i8.ll
M llvm/test/CodeGen/AMDGPU/occupancy-levels.ll
Log Message:
-----------
[AMDGPU] Set total VGPRs to 1536 for gfx12 (#96272)
- Use Feature1_5xVGPRs
Commit: 41a4db1ba6591169069dd2352e00364d9113fbeb
https://github.com/llvm/llvm-project/commit/41a4db1ba6591169069dd2352e00364d9113fbeb
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Log Message:
-----------
[lldb/DWARF] Optimize DIEToType handling (#96308)
- move type insertion from individual parse methods into
ParseTypeFromDWARF
- optimize sentinel (TYPE_IS_BEING_PARSED) insertion to avoid double map
lookup
- as this requires the map to not have nullptr values, I've replaced all
`operator[]` queries with calls to `lookup`.
Commit: 9298e40f46e07bb348e310236c1b2f0359a224dc
https://github.com/llvm/llvm-project/commit/9298e40f46e07bb348e310236c1b2f0359a224dc
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/tailcc-ssp.ll
Log Message:
-----------
[X86] tailcc-ssp.ll - regenerate test checks to simplify diff for #95904
Commit: 284fbf91663b737be2ffb4785ad819c75d22797e
https://github.com/llvm/llvm-project/commit/284fbf91663b737be2ffb4785ad819c75d22797e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/test/CodeGen/X86/stack-protector-msvc.ll
Log Message:
-----------
[X86] stack-protector-msvc.ll - regenerate test checks to simplify diff for #95904
Commit: efab4a380f36dcd23561633f8bba484036c500f3
https://github.com/llvm/llvm-project/commit/efab4a380f36dcd23561633f8bba484036c500f3
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaType.cpp
Log Message:
-----------
[Sema] Fix -Wunused-variable in SemaType.cpp (NFC)
/llvm-project/clang/lib/Sema/SemaType.cpp:7625:8:
error: unused variable 'Success' [-Werror,-Wunused-variable]
bool Success = FX.insert(NewEC, Errs);
^
1 error generated.
Commit: 9cd6ef4b8a5c843ef491437c765d4cb2ff2f8fe3
https://github.com/llvm/llvm-project/commit/9cd6ef4b8a5c843ef491437c765d4cb2ff2f8fe3
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/test/Driver/riscv-arch.c
M clang/test/Preprocessor/riscv-target-features.c
M llvm/docs/RISCVUsage.rst
M llvm/docs/ReleaseNotes.rst
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/test/CodeGen/RISCV/GlobalISel/atomic-fence.ll
M llvm/test/CodeGen/RISCV/atomic-cmpxchg.ll
M llvm/test/CodeGen/RISCV/atomic-fence.ll
M llvm/test/CodeGen/RISCV/atomic-load-store.ll
M llvm/test/CodeGen/RISCV/atomic-rmw.ll
M llvm/test/CodeGen/RISCV/atomicrmw-uinc-udec-wrap.ll
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/CodeGen/RISCV/module-elf-flags.ll
M llvm/test/MC/RISCV/Ztso.s
M llvm/test/MC/RISCV/attribute-arch.s
M llvm/test/MC/RISCV/elf-flags.s
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Remove experimental from Ztso. (#96465)
Ztso 1.0 was ratified in January 2023.
Documentation:
https://github.com/riscv/riscv-isa-manual/blob/main/src/ztso-st-ext.adoc
Commit: c053ec95f7e66ff212c8a867426cc7275a4dace6
https://github.com/llvm/llvm-project/commit/c053ec95f7e66ff212c8a867426cc7275a4dace6
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/test/API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py
Log Message:
-----------
[lldb] Fix TestDAP_runInTerminal for #96256
change the expected error msg.
Commit: b8979c6b13e9d4cb5051dd6f8ca772a20b14b428
https://github.com/llvm/llvm-project/commit/b8979c6b13e9d4cb5051dd6f8ca772a20b14b428
Author: Kamau Bridgeman <kamau.bridgeman.ibm at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/Basic/Targets/PPC.h
A clang/test/CodeGen/PowerPC/inline-asm-constraints-error.c
Log Message:
-----------
[PPC][InlineASM] Mark the 'a' constraint as unsupported (#96109)
'a' is an input/output constraint for restraining assembly variables
to an indexed or indirect address operand. It previously was marked
as supported but would throw an assertion for unknown constraint type
in the back-end when this test case was compiled. This change marks it
as unsupported until we can add full support for address operands
constraining to the compiler code generation.
Commit: 6e3725d7f290d0180e8b5cfe073d0cc4c9bbafd0
https://github.com/llvm/llvm-project/commit/6e3725d7f290d0180e8b5cfe073d0cc4c9bbafd0
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
Log Message:
-----------
[IndVars] Make pushIVUsers() a member function (NFC)
Make it easier to access additional state from it.
Commit: 0cf1e662b13fb20d3897c5b9055c60b0de50beca
https://github.com/llvm/llvm-project/commit/0cf1e662b13fb20d3897c5b9055c60b0de50beca
Author: Jan Voung <jvoung at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGDecl.cpp
M clang/test/CodeGenCXX/auto-var-init-max-size.cpp
M clang/test/CodeGenCXX/auto-var-init-stop-after.cpp
M clang/test/CodeGenCXX/auto-var-init.cpp
A clang/test/CodeGenCXX/trivial-auto-var-init-skip-scalar-with-nonconst-init.cpp
Log Message:
-----------
[clang] Skip auto-init on scalar vars that have a non-constant Init and no self-ref (#94642)
In that scalar case, the Init should initialize the auto var before use. The Init might use uninitialized memory from other sources (e.g., heap) but auto-init did not help us in that case because the auto-init would have been overwritten by the Init before use.
For non-scalars e.g., classes, the Init expr might be a ctor call that leaves uninitialized members, so we leave the auto-init there.
The motivation is to have less IR for the optimizer to later remove, which may not be until a fairly late pass (DSE) or may not get optimized in lower optimization levels like O1 (no DSE) or sometimes due to derefinement.
This is ~10% less left-over auto-init in O1 in a few examples checked.
Commit: 5cd0ba30f53d11835dbfd05ad4071d397387fb04
https://github.com/llvm/llvm-project/commit/5cd0ba30f53d11835dbfd05ad4071d397387fb04
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/PassInstrumentation.h
M llvm/include/llvm/Passes/TargetPassRegistry.inc
M llvm/include/llvm/Target/TargetMachine.h
M llvm/lib/IR/PassInstrumentation.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.h
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
M llvm/lib/Target/BPF/BPFTargetMachine.cpp
M llvm/lib/Target/BPF/BPFTargetMachine.h
M llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
M llvm/lib/Target/DirectX/DirectXTargetMachine.h
M llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
M llvm/lib/Target/Hexagon/HexagonTargetMachine.h
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
M llvm/lib/Target/NVPTX/NVPTXTargetMachine.h
M llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
M llvm/lib/Target/X86/X86TargetMachine.h
Log Message:
-----------
Reapply [IR] Lazily initialize the class to pass name mapping (NFC) (#96321) (#96462)
On MSVC the `this` uses inside `decltype` require a lambda capture. On
clang they result in an unused capture warning instead. Add the capture
and suppress the warning with `(void)this`.
-----
Initializing this map is somewhat expensive (especially for O0), so we
currently only do it if certain flags are used. I would like to make use
of it for crash dumps (#96078), where we don't know in advance whether
it will be needed or not.
This patch changes the initialization to a lazy approach, where a
callback is registered that does the actual initialization. The
callbacks will be run the first time the pass name is requested.
This way there is no compile-time impact if the mapping is not used.
Commit: c1bde0a2cb640b3607e9568b9a57b292e1f82666
https://github.com/llvm/llvm-project/commit/c1bde0a2cb640b3607e9568b9a57b292e1f82666
Author: Dan McArdle <zingermc at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/docs/ThreadSafetyAnalysis.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Sema/ParsedAttr.h
M clang/lib/Analysis/ThreadSafety.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/test/Sema/attr-capabilities.c
M clang/test/SemaCXX/warn-thread-safety-analysis.cpp
M clang/test/SemaCXX/warn-thread-safety-parsing.cpp
M clang/unittests/AST/ASTImporterTest.cpp
Log Message:
-----------
[clang][ThreadSafety] Check trylock function success and return types (#95290)
With this change, Clang will generate errors when trylock functions have
improper return types. Today, it silently fails to apply the trylock
attribute to these functions which may incorrectly lead users to believe
they have correctly acquired locks before accessing guarded data.
As a side effect of explicitly checking the success argument type, I
seem to have fixed a false negative in the analysis that could occur
when a trylock's success argument is an enumerator. I've added a
regression test to warn-thread-safety-analysis.cpp named
`TrylockSuccessEnumFalseNegative`.
This change also improves the documentation with descriptions of of the
subtle gotchas that arise from the analysis interpreting the success arg
as a boolean.
Issue #92408
Commit: 3ff680a1a57d74a5c94d3da35594a8046a879888
https://github.com/llvm/llvm-project/commit/3ff680a1a57d74a5c94d3da35594a8046a879888
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
A clang/test/C/C11/n1285.c
M clang/www/c_status.html
Log Message:
-----------
[C11] Claim we do not conform to WG14 N1285 yet
This also updates the status for C11 to be Partial, and because C17 is
C11 plus DR resolutions, that makes C17 also Partial.
Commit: ae1c564d1522f1202d05b698dce8d9c8ca46667c
https://github.com/llvm/llvm-project/commit/ae1c564d1522f1202d05b698dce8d9c8ca46667c
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/Sema/ptrauth.c
Log Message:
-----------
[clang][Interp] Cast dummy pointers to other pointer type if necessary
Commit: 605e18479c8ee272759f2f52fc5259bfb8af7085
https://github.com/llvm/llvm-project/commit/605e18479c8ee272759f2f52fc5259bfb8af7085
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Analysis/VectorUtils.cpp
Log Message:
-----------
[VectorUtils] Use poison instead of undef in findScalarElement()
Out-of-range extractelement returns poison, and so do poison elements
in the shufflevector mask.
Commit: 9b8c3c687163931eee69c718c9d83a7fe6bc6f57
https://github.com/llvm/llvm-project/commit/9b8c3c687163931eee69c718c9d83a7fe6bc6f57
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
Log Message:
-----------
[InstSimplify] Use poison instead of undef for unreachable inst
Commit: 29e0f046735010540fbdba4371dcd26f9e437650
https://github.com/llvm/llvm-project/commit/29e0f046735010540fbdba4371dcd26f9e437650
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C11] Remove WG14 N1353 from the list of papers to track
Only the first proposed changes in the paper were adopted, and that
wording was changing "operations" into "operators", which is purely an
editorial change.
Commit: 69d07465c5cb0194d15dfe75b058957fd6ab16c8
https://github.com/llvm/llvm-project/commit/69d07465c5cb0194d15dfe75b058957fd6ab16c8
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Analysis/Lint.cpp
Log Message:
-----------
[Lint] Use poison instead of undef for self-referential values
Commit: 6ecb9fd83d6015b19be8db554328645ae15e63e9
https://github.com/llvm/llvm-project/commit/6ecb9fd83d6015b19be8db554328645ae15e63e9
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C11] Remove WG14 N1382 from the list of papers to track
This paper proposes only changes to a footnote that had problematic
implications for ABI; the changes were purely editorial.
Commit: fc4b09d16139348533f1a1c9c72c99dacba51417
https://github.com/llvm/llvm-project/commit/fc4b09d16139348533f1a1c9c72c99dacba51417
Author: Kristóf Umann <dkszelethus at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/NoOwnershipChangeVisitor.cpp
M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
A clang/test/Analysis/stream-notes-missing-close.cpp
Log Message:
-----------
[analyzer] Add an ownership change visitor to StreamChecker (#94957)
This is very similar to https://reviews.llvm.org/D105553, in fact, I
barely made any changes from MallocChecker's ownership visitor to this
one.
The new visitor emits a diagnostic note for function where a change in
stream ownership was expected (for example, it had a fclose() call), but
the ownership remained unchanged. This is similar to messages regarding
ordinary values ("Returning without writing to x").
Commit: b6447260748086c0df484ec6609f126ae90e91ea
https://github.com/llvm/llvm-project/commit/b6447260748086c0df484ec6609f126ae90e91ea
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/test/CodeGen/PowerPC/inline-asm-constraints-error.c
Log Message:
-----------
[PPC][InlineASM] Don't write to source directory in test
Commit: 824113f7b1fe79e9e5258323a0fdfbf960ab315a
https://github.com/llvm/llvm-project/commit/824113f7b1fe79e9e5258323a0fdfbf960ab315a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/AsmParser/LLParser.cpp
Log Message:
-----------
[LLParser] Use poison instead of undef when cleaning up forward refs
Commit: 6258b5f610d51d37a79456d660b12c2d8e98500b
https://github.com/llvm/llvm-project/commit/6258b5f610d51d37a79456d660b12c2d8e98500b
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
Log Message:
-----------
[BitcodeReader] Use poison instead of undef for invalid instructions
Commit: 34026207c87116bd8e7fb0a464ea8db947f8239a
https://github.com/llvm/llvm-project/commit/34026207c87116bd8e7fb0a464ea8db947f8239a
Author: Dan McArdle <dmcardle at google.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/docs/ThreadSafetyAnalysis.rst
Log Message:
-----------
[clang][ThreadSafety] Fix code block syntax in ThreadSafetyAnalysis.rst (#96494)
Without a newline, documentation was failing to build with this error:
Warning, treated as error:
/home/runner/work/llvm-project/llvm-project/clang-build/tools/clang/docs/ThreadSafetyAnalysis.rst:466:Error
in "code-block" directive:
maximum 1 argument(s) allowed, 10 supplied.
Issue #92408
Commit: df9f4792f55d63d77f45786a6b3c0955d2180e9e
https://github.com/llvm/llvm-project/commit/df9f4792f55d63d77f45786a6b3c0955d2180e9e
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/IR/Instructions.cpp
Log Message:
-----------
[IR] Use poison instead of undef for self-referential phi
Commit: b012ab01cb39e440a38dad5d7dd71b419480264b
https://github.com/llvm/llvm-project/commit/b012ab01cb39e440a38dad5d7dd71b419480264b
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
A clang/test/C/C2x/n3033.c
A clang/test/C/C2x/n3033_2.c
M clang/www/c_status.html
Log Message:
-----------
[C23] Claim conformance to WG14 N3033
Clang has implemented __VA_OPT__ since Clang 12.
Commit: db9e9eabb7835bae4285a3f13c7cc7c985455e27
https://github.com/llvm/llvm-project/commit/db9e9eabb7835bae4285a3f13c7cc7c985455e27
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/IR/Instructions.cpp
Log Message:
-----------
[IR] Generate poison for all-poison scalable shufflevector mask
Ultimately doesn't matter because the bitcode reader interprets
undef and poison interchangeably in this context.
Commit: 10bd5ad0a133fe73ffc1b05e63bc3fb2d56ba79c
https://github.com/llvm/llvm-project/commit/10bd5ad0a133fe73ffc1b05e63bc3fb2d56ba79c
Author: Miro Bucko <mbucko at meta.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/bindings/python/python-typemaps.swig
M lldb/include/lldb/API/SBProcess.h
M lldb/include/lldb/Core/AddressRangeListImpl.h
M lldb/include/lldb/Target/Process.h
M lldb/source/API/SBProcess.cpp
M lldb/source/Target/Process.cpp
A lldb/test/API/python_api/find_in_memory/Makefile
A lldb/test/API/python_api/find_in_memory/TestFindInMemory.py
A lldb/test/API/python_api/find_in_memory/TestFindRangesInMemory.py
A lldb/test/API/python_api/find_in_memory/address_ranges_helper.py
A lldb/test/API/python_api/find_in_memory/main.cpp
Log Message:
-----------
[lldb][API] Add Find(Ranges)InMemory() to Process SB API (#95007)
Test Plan:
llvm-lit
llvm-project/lldb/test/API/python_api/find_in_memory/TestFindInMemory.py
llvm-project/lldb/test/API/python_api/find_in_memory/TestFindRangesInMemory.py
Reviewers: clayborg
Tasks: lldb
Commit: 13c1fec4716a93079311d2dff54c4ae977f8de67
https://github.com/llvm/llvm-project/commit/13c1fec4716a93079311d2dff54c4ae977f8de67
Author: Angel Zhang <angel.zhang at amd.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
A mlir/include/mlir/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.h
M mlir/include/mlir/Conversion/Passes.h
M mlir/include/mlir/Conversion/Passes.td
M mlir/lib/Conversion/CMakeLists.txt
A mlir/lib/Conversion/ConvertToSPIRV/CMakeLists.txt
A mlir/lib/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.cpp
A mlir/test/Conversion/ConvertToSPIRV/arith.mlir
A mlir/test/Conversion/ConvertToSPIRV/combined.mlir
A mlir/test/Conversion/ConvertToSPIRV/index.mlir
A mlir/test/Conversion/ConvertToSPIRV/scf.mlir
A mlir/test/Conversion/ConvertToSPIRV/simple.mlir
A mlir/test/Conversion/ConvertToSPIRV/ub.mlir
A mlir/test/Conversion/ConvertToSPIRV/vector.mlir
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
Reland "[mlir][spirv] Add a generic convert-to-spirv pass" (#96359)
This PR relands #95942, which was reverted in #96332 due to link
failures. It fixes the issue by updating CMake dependencies. The bazel
support, originally introduced in #96334, is also included in this PR.
---------
Co-authored-by: Keith Smiley <keithbsmiley at gmail.com>
Commit: 3e36dfafa0d11b2a5d7776d88f170c449116aa0e
https://github.com/llvm/llvm-project/commit/3e36dfafa0d11b2a5d7776d88f170c449116aa0e
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
[C23] Remove WG14 N2660 from the list of papers we track
This paper was a clarification paper that made no normative changes to
the wording, so we can lean on the C99 status for this.
Commit: b0efde6db0282c0a98aec04806d7b8ba29e19a1b
https://github.com/llvm/llvm-project/commit/b0efde6db0282c0a98aec04806d7b8ba29e19a1b
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
A llvm/test/CodeGen/SPIRV/const-array-in-struct.ll
A llvm/test/CodeGen/SPIRV/const-nested-vecs.ll
M llvm/test/CodeGen/SPIRV/opencl/image.ll
A llvm/test/CodeGen/SPIRV/pointers/global-zeroinitializer.ll
Log Message:
-----------
[SPIR-V]: Improve pattern matching to recognize a composite constant to be a constant (#96286)
This PR is to fix https://github.com/llvm/llvm-project/issues/96285 by:
* improve pattern matching to recognize an aggregate constant to be a
constant
* do not emit Bitcast for an aggregate type
Commit: f985a8826bfa4ca3d23e654185de35e30ea6dc79
https://github.com/llvm/llvm-project/commit/f985a8826bfa4ca3d23e654185de35e30ea6dc79
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/test/Driver/riscv-arch.c
M clang/test/Preprocessor/riscv-target-features.c
M llvm/docs/RISCVUsage.rst
M llvm/docs/ReleaseNotes.rst
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/test/CodeGen/RISCV/GlobalISel/atomic-fence.ll
M llvm/test/CodeGen/RISCV/atomic-cmpxchg.ll
M llvm/test/CodeGen/RISCV/atomic-fence.ll
M llvm/test/CodeGen/RISCV/atomic-load-store.ll
M llvm/test/CodeGen/RISCV/atomic-rmw.ll
M llvm/test/CodeGen/RISCV/atomicrmw-uinc-udec-wrap.ll
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/CodeGen/RISCV/module-elf-flags.ll
M llvm/test/MC/RISCV/Ztso.s
M llvm/test/MC/RISCV/attribute-arch.s
M llvm/test/MC/RISCV/elf-flags.s
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
Revert "[RISCV] Remove experimental from Ztso. (#96465)"
This reverts commit 9cd6ef4b8a5c843ef491437c765d4cb2ff2f8fe3. See
discussion on review thread.
Commit: b312cbf921422fc30615b1311b235a8cb31453d9
https://github.com/llvm/llvm-project/commit/b312cbf921422fc30615b1311b235a8cb31453d9
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/CGSCCPassManager.h
M llvm/lib/Analysis/CGSCCPassManager.cpp
Log Message:
-----------
[NFC][CGSCC] Remove RCWorklist from CGSCCUpdateResult (#95448)
After #94815, this is only used within
ModuleToPostOrderCGSCCPassAdaptor::run(), so keep it local to that
function.
Commit: 3602efa78ddc16f82c338358748b3a13b3859e24
https://github.com/llvm/llvm-project/commit/3602efa78ddc16f82c338358748b3a13b3859e24
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M flang/lib/Evaluate/check-expression.cpp
M flang/lib/Evaluate/tools.cpp
M flang/lib/Semantics/check-declarations.cpp
M flang/lib/Semantics/resolve-names.cpp
M flang/module/__fortran_builtins.f90
M flang/test/Semantics/c_loc01.f90
M flang/test/Semantics/call05.f90
Log Message:
-----------
[flang] Silence errors on C_LOC/C_FUNLOC in specification expressions (#96108)
Transformational functions from the intrinsic module ISO_C_BINDING are
allowed in specification expressions, so tweak some general checks that
would otherwise trigger error messages about inadmissible targets, dummy
procedures in specification expressions, and pure procedures with impure
dummy procedures.
Commit: 317277e4f961edf13132914a58a26408db4ab0aa
https://github.com/llvm/llvm-project/commit/317277e4f961edf13132914a58a26408db4ab0aa
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M flang/lib/Evaluate/fold-integer.cpp
M flang/lib/Evaluate/fold-real.cpp
M flang/test/Evaluate/fold-nearest.f90
M flang/test/Evaluate/folding04.f90
Log Message:
-----------
[flang] Better error reporting for MOD/MODULO/NEAREST (#96114)
When the second argument to these intrinsic functions is a scalar
constant zero, emit a warning (if enabled) even if the first argument is
not a constant.
Commit: 6481dc57612671ebe77fe9c34214fba94e1b3b27
https://github.com/llvm/llvm-project/commit/6481dc57612671ebe77fe9c34214fba94e1b3b27
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGBlocks.cpp
M clang/lib/CodeGen/CGGPUBuiltin.cpp
M clang/lib/CodeGen/CGHLSLRuntime.cpp
M clang/lib/CodeGen/CGObjC.cpp
M clang/lib/CodeGen/CGObjCMac.cpp
M clang/lib/CodeGen/CGOpenMPRuntime.cpp
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/CodeGen/CodeGenABITypes.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M llvm/include/llvm/IR/IRBuilder.h
M llvm/include/llvm/IR/Instruction.h
M llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
M llvm/lib/Analysis/MemoryBuiltins.cpp
M llvm/lib/CodeGen/AtomicExpandPass.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/ExpandLargeFpConvert.cpp
M llvm/lib/CodeGen/ExpandMemCmp.cpp
M llvm/lib/CodeGen/ExpandVectorPredication.cpp
M llvm/lib/CodeGen/HardwareLoops.cpp
M llvm/lib/CodeGen/IntrinsicLowering.cpp
M llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
M llvm/lib/CodeGen/SafeStack.cpp
M llvm/lib/CodeGen/ShadowStackGCLowering.cpp
M llvm/lib/CodeGen/SjLjEHPrepare.cpp
M llvm/lib/CodeGen/WasmEHPrepare.cpp
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/IR/AutoUpgrade.cpp
M llvm/lib/IR/Core.cpp
M llvm/lib/Target/AArch64/SVEIntrinsicOpts.cpp
M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
M llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
M llvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
M llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
M llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
M llvm/lib/Target/ARM/ARMParallelDSP.cpp
M llvm/lib/Target/ARM/MVELaneInterleavingPass.cpp
M llvm/lib/Target/ARM/MVETailPredication.cpp
M llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
M llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
M llvm/lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
M llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
M llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp
M llvm/lib/Target/X86/X86LowerAMXType.cpp
M llvm/lib/Target/X86/X86WinEHState.cpp
M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp
M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
M llvm/lib/Transforms/ObjCARC/ObjCARC.cpp
M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
M llvm/lib/Transforms/Scalar/GuardWidening.cpp
M llvm/lib/Transforms/Scalar/LoopBoundSplit.cpp
M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
M llvm/lib/Transforms/Scalar/LoopPredication.cpp
M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
M llvm/lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
M llvm/lib/Transforms/Scalar/SROA.cpp
M llvm/lib/Transforms/Scalar/ScalarizeMaskedMemIntrin.cpp
M llvm/lib/Transforms/Scalar/Scalarizer.cpp
M llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp
M llvm/lib/Transforms/Utils/BypassSlowDivision.cpp
M llvm/lib/Transforms/Utils/CallPromotionUtils.cpp
M llvm/lib/Transforms/Utils/FlattenCFG.cpp
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/lib/Transforms/Utils/IntegerDivision.cpp
M llvm/lib/Transforms/Utils/SSAUpdaterBulk.cpp
M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
M llvm/lib/Transforms/Vectorize/LoopIdiomVectorize.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/unittests/Analysis/MemorySSATest.cpp
M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
M llvm/unittests/IR/BasicBlockTest.cpp
M llvm/unittests/IR/DebugInfoTest.cpp
M llvm/unittests/IR/IRBuilderTest.cpp
M llvm/unittests/Transforms/Utils/SSAUpdaterBulkTest.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M polly/lib/CodeGen/BlockGenerators.cpp
Log Message:
-----------
[IR][NFC] Update IRBuilder to use InsertPosition (#96497)
Uses the new InsertPosition class (added in #94226) to simplify some of
the IRBuilder interface, and removes the need to pass a BasicBlock
alongside a BasicBlock::iterator, using the fact that we can now get the
parent basic block from the iterator even if it points to the sentinel.
This patch removes the BasicBlock argument from each constructor or call
to setInsertPoint.
This has no functional effect, but later on as we look to remove the
`Instruction *InsertBefore` argument from instruction-creation
(discussed
[here](https://discourse.llvm.org/t/psa-instruction-constructors-changing-to-iterator-only-insertion/77845)),
this will simplify the process by allowing us to deprecate the
InsertPosition constructor directly and catch all the cases where we use
instructions rather than iterators.
Commit: 347206f9570446340da6d7dadc13d10b0aac4528
https://github.com/llvm/llvm-project/commit/347206f9570446340da6d7dadc13d10b0aac4528
Author: Chelsea Cassanova <chelsea_cassanova at apple.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/include/lldb/lldb-private-interfaces.h
M lldb/source/Breakpoint/BreakpointOptions.cpp
M lldb/unittests/CMakeLists.txt
A lldb/unittests/Callback/CMakeLists.txt
A lldb/unittests/Callback/TestBreakpointSetCallback.cpp
Log Message:
-----------
Add a unit test for SBBreakpoint::SetCallback (#96001)
This commit adds a unit test for SBBreakpoint::SetCallback as it wasn't
being tested before.
Commit: 9eba835dec2e7d755a86efdf464ff5745f3c2b1e
https://github.com/llvm/llvm-project/commit/9eba835dec2e7d755a86efdf464ff5745f3c2b1e
Author: Nick Desaulniers (paternity leave) <nickdesaulniers at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M libc/config/linux/arm/entrypoints.txt
Log Message:
-----------
[libc][arm] add malloc/free/aligned_alloc to entrypoints (#96516)
Necessary for arm32 cross full build.
Commit: 9ab292d72651c6dda098a653320f7fbb3624b778
https://github.com/llvm/llvm-project/commit/9ab292d72651c6dda098a653320f7fbb3624b778
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M flang/include/flang/Evaluate/tools.h
M flang/lib/Semantics/check-allocate.cpp
M flang/lib/Semantics/check-call.cpp
M flang/lib/Semantics/check-declarations.cpp
M flang/lib/Semantics/expression.cpp
M flang/lib/Semantics/pointer-assignment.cpp
M flang/test/Semantics/select-rank03.f90
Log Message:
-----------
[flang] Add/fix some semantic checks for assumed-rank (#96194)
Catch some cases where assumed rank dummy arguments are not allowed.
Commit: 3b5b814647ef83ab763cf7871b6d74edfca67438
https://github.com/llvm/llvm-project/commit/3b5b814647ef83ab763cf7871b6d74edfca67438
Author: Greg Clayton <gclayton at fb.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.h
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.h
M lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.h
A lldb/test/Shell/SymbolFile/DWARF/x86/dwp-foreign-type-units.cpp
M llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
M llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
Log Message:
-----------
Add support for using foreign type units in .debug_names. (#87740)
This patch adds support for the new foreign type unit support in
.debug_names. Features include:
- don't manually index foreign TUs if we have info for them
- only use the type unit entries that match the .dwo files when we have
a .dwp file
- fix type unit lookups for .dwo files
- fix crashers that happen due to PeekDIEName() using wrong offsets where an entry had DW_IDX_comp_unit and DW_IDX_type_unit entries and when we had no type unit support, it would cause us to think it was a normal DIE in .debug_info from the main executable.
---------
Co-authored-by: paperchalice <liujunchang97 at outlook.com>
Commit: d75f9dd1d29b332bdc51346de63cbc04646354d7
https://github.com/llvm/llvm-project/commit/d75f9dd1d29b332bdc51346de63cbc04646354d7
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGBlocks.cpp
M clang/lib/CodeGen/CGGPUBuiltin.cpp
M clang/lib/CodeGen/CGHLSLRuntime.cpp
M clang/lib/CodeGen/CGObjC.cpp
M clang/lib/CodeGen/CGObjCMac.cpp
M clang/lib/CodeGen/CGOpenMPRuntime.cpp
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/CodeGen/CodeGenABITypes.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M llvm/include/llvm/IR/IRBuilder.h
M llvm/include/llvm/IR/Instruction.h
M llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
M llvm/lib/Analysis/MemoryBuiltins.cpp
M llvm/lib/CodeGen/AtomicExpandPass.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/ExpandLargeFpConvert.cpp
M llvm/lib/CodeGen/ExpandMemCmp.cpp
M llvm/lib/CodeGen/ExpandVectorPredication.cpp
M llvm/lib/CodeGen/HardwareLoops.cpp
M llvm/lib/CodeGen/IntrinsicLowering.cpp
M llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
M llvm/lib/CodeGen/SafeStack.cpp
M llvm/lib/CodeGen/ShadowStackGCLowering.cpp
M llvm/lib/CodeGen/SjLjEHPrepare.cpp
M llvm/lib/CodeGen/WasmEHPrepare.cpp
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/IR/AutoUpgrade.cpp
M llvm/lib/IR/Core.cpp
M llvm/lib/Target/AArch64/SVEIntrinsicOpts.cpp
M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
M llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
M llvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
M llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
M llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
M llvm/lib/Target/ARM/ARMParallelDSP.cpp
M llvm/lib/Target/ARM/MVELaneInterleavingPass.cpp
M llvm/lib/Target/ARM/MVETailPredication.cpp
M llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
M llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
M llvm/lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
M llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
M llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp
M llvm/lib/Target/X86/X86LowerAMXType.cpp
M llvm/lib/Target/X86/X86WinEHState.cpp
M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp
M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
M llvm/lib/Transforms/ObjCARC/ObjCARC.cpp
M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
M llvm/lib/Transforms/Scalar/GuardWidening.cpp
M llvm/lib/Transforms/Scalar/LoopBoundSplit.cpp
M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
M llvm/lib/Transforms/Scalar/LoopPredication.cpp
M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
M llvm/lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
M llvm/lib/Transforms/Scalar/SROA.cpp
M llvm/lib/Transforms/Scalar/ScalarizeMaskedMemIntrin.cpp
M llvm/lib/Transforms/Scalar/Scalarizer.cpp
M llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp
M llvm/lib/Transforms/Utils/BypassSlowDivision.cpp
M llvm/lib/Transforms/Utils/CallPromotionUtils.cpp
M llvm/lib/Transforms/Utils/FlattenCFG.cpp
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/lib/Transforms/Utils/IntegerDivision.cpp
M llvm/lib/Transforms/Utils/SSAUpdaterBulk.cpp
M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
M llvm/lib/Transforms/Vectorize/LoopIdiomVectorize.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/unittests/Analysis/MemorySSATest.cpp
M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
M llvm/unittests/IR/BasicBlockTest.cpp
M llvm/unittests/IR/DebugInfoTest.cpp
M llvm/unittests/IR/IRBuilderTest.cpp
M llvm/unittests/Transforms/Utils/SSAUpdaterBulkTest.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M polly/lib/CodeGen/BlockGenerators.cpp
Log Message:
-----------
Revert "[IR][NFC] Update IRBuilder to use InsertPosition (#96497)"
Reverts the above commit, as it updates a common header function and
did not update all callsites:
https://lab.llvm.org/buildbot/#/builders/29/builds/382
This reverts commit 6481dc57612671ebe77fe9c34214fba94e1b3b27.
Commit: 7601ae125de673c5a5f13a1d97f16cdd49e26e29
https://github.com/llvm/llvm-project/commit/7601ae125de673c5a5f13a1d97f16cdd49e26e29
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-select-fp.ll
Log Message:
-----------
[RISCV] Add back some test cases I inadvertently deleted. NFC
These tests were accidentally removed in a7a1195f01037e5019f671c96ef4bca9af9bb9a7.
I only meant to remove bfloat tests, but I accidentally removed
f32 and f64 as well.
Commit: cb248f8c2a79fbddfdfed0039390e49512410a80
https://github.com/llvm/llvm-project/commit/cb248f8c2a79fbddfdfed0039390e49512410a80
Author: Martin Storsjö <martin at martin.st>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lld/COFF/Driver.cpp
A lld/test/COFF/invalid-entry.s
Log Message:
-----------
[LLD] [COFF] Don't crash on an empty -entry: argument (#96058)
We can't pass an empty string to addUndefined().
This fixes the crash that was encountered in
https://github.com/llvm/llvm-project/issues/93309 (turning the crash
into a properly handled error; making it do the right thing is handled
in https://github.com/llvm/llvm-project/pull/96055).
Commit: 3a57925b071f16c64af6a729078dce58510a0da9
https://github.com/llvm/llvm-project/commit/3a57925b071f16c64af6a729078dce58510a0da9
Author: Abid Qadeer <haqadeer at amd.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
M flang/lib/Optimizer/Transforms/DebugTypeGenerator.h
M flang/test/Integration/debug-char-type-1.f90
M flang/test/Transforms/debug-char-type-1.fir
Log Message:
-----------
[flang][debug] Handle allocatable strings. (#95906)
The allocatable strings also use DIStringType but provide dwarf
expressions to find the location and length of the string. With this
change in place, the debugging of the allocatable strings looks like
this:
character(len=:), allocatable :: first
character(len=:), allocatable :: second
character(len=:), allocatable :: third
first = 'Mount'
second = 'Everest'
third = first // " " // second
print *, third
(gdb) p third
$1 = ""
(gdb) n
18 print *, third
(gdb) p third
$2 = 'Mount Everest'
(gdb) ptype third
type = character (13)
Commit: ee4c12f87dfe24431a786d8bf32aa853a5f39e7f
https://github.com/llvm/llvm-project/commit/ee4c12f87dfe24431a786d8bf32aa853a5f39e7f
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lld/ELF/LinkerScript.cpp
M lld/ELF/LinkerScript.h
M lld/ELF/ScriptParser.cpp
M lld/test/ELF/linkerscript/addr.test
M lld/test/ELF/linkerscript/locationcountererr-arm-exidx.test
Log Message:
-----------
[ELF] Postpone more linker script errors
Since `assignAddresses` is executed more than once, error reporting
during `assignAddresses` would be duplicated. Generalize #66854 to cover
more errors.
Note: address-related errors exposed in one invocation might not be
errors in another invocation.
Pull Request: https://github.com/llvm/llvm-project/pull/96361
Commit: fc066ca1c32b4aef549f3e371dc70589804aba0f
https://github.com/llvm/llvm-project/commit/fc066ca1c32b4aef549f3e371dc70589804aba0f
Author: Greg Clayton <clayborg at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
Log Message:
-----------
Fix buildbots for https://github.com/llvm/llvm-project/pull/87740
Commit: 5d15f606da4cb4346465956d935a2842f8e86200
https://github.com/llvm/llvm-project/commit/5d15f606da4cb4346465956d935a2842f8e86200
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M flang/include/flang/Parser/preprocessor.h
M flang/lib/Parser/prescan.cpp
M flang/lib/Parser/prescan.h
A flang/test/Preprocessing/cond-contin.F90
A flang/test/Preprocessing/inc-contin-1.F
A flang/test/Preprocessing/inc-contin-1.h
A flang/test/Preprocessing/inc-contin-2.F90
A flang/test/Preprocessing/inc-contin-2a.h
A flang/test/Preprocessing/inc-contin-2b.h
M flang/test/Preprocessing/include-args.F90
M flang/unittests/Frontend/FrontendActionTest.cpp
Log Message:
-----------
[flang][preprocessing] Mix preprocessing directives with free form li… (#96244)
…ne continuation
Allow preprocessing directives to appear between a source line and its
continuation, including conditional compilation directives (#if, #ifdef,
&c.).
Fixes https://github.com/llvm/llvm-project/issues/95476.
Commit: e6ec3664cb72fd95669cb516b21572da4236fd91
https://github.com/llvm/llvm-project/commit/e6ec3664cb72fd95669cb516b21572da4236fd91
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/InterpBuiltin.cpp
M clang/test/AST/Interp/functions.cpp
Log Message:
-----------
[clang][Interp] Fix classifying __builtin_addressof() argument
It's an lvalue, so we need to use the classify() taking an expression.
Commit: eac925fb81f26342811ad1765e8f9919628e2254
https://github.com/llvm/llvm-project/commit/eac925fb81f26342811ad1765e8f9919628e2254
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M flang/runtime/external-unit.cpp
M flang/runtime/pseudo-unit.cpp
M flang/runtime/unit.h
Log Message:
-----------
[flang][runtime] Better handling of "fort.N" opening errors (#96347)
When a data transfer statement references a unit number that hasn't been
explicitly OPENed, the runtime I/O support library opens a local
"fort.N" file where N is the unit number. If that name exists in the
current working directory but is not a readable or writable file (as
appropriate), the runtime needs to catch the error at the point of the
READ or WRITE statement rather than leaving an open unit in the unit map
without a valid file descriptor.
Commit: 514c1ec5477a48e4f639c0b15ab757832b67dd10
https://github.com/llvm/llvm-project/commit/514c1ec5477a48e4f639c0b15ab757832b67dd10
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M flang/include/flang/Runtime/pointer.h
M flang/runtime/ISO_Fortran_binding.cpp
M flang/runtime/descriptor.cpp
M flang/runtime/pointer.cpp
Log Message:
-----------
[flang][runtime] Interoperable POINTER deallocation validation (#96100)
Extend the runtime validation of deallocated pointers so that it also
works when pointers are allocated &/or deallocated outside Fortran.
Previously, bogus runtime errors would be reported for pointers
allocated via CFI_allocate() and deallocated in Fortran, and
CFI_deallocate() did not check that it was deallocating a whole
contiguous pointer that was allocated as such.
Commit: a27164cb33162bb42642c091703f9c6f8829785c
https://github.com/llvm/llvm-project/commit/a27164cb33162bb42642c091703f9c6f8829785c
Author: Jacob Lalonde <jalalonde at fb.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.cpp
M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.h
M lldb/source/Plugins/ObjectFile/Minidump/ObjectFileMinidump.cpp
M llvm/include/llvm/BinaryFormat/Minidump.h
Log Message:
-----------
[LLDB][Minidump] Add 64b support to LLDB's minidump file builder. (#95312)
Currently, LLDB does not support taking a minidump over the 4.2gb limit imposed by uint32. In fact, currently it writes the RVA's and the headers to the end of the file, which can become corrupted due to the header offset only supporting a 32b offset.
This change reorganizes how the file structure is laid out. LLDB will precalculate the number of directories required and preallocate space at the top of the file to fill in later. Additionally, thread stacks require a 32b offset, and we provision empty descriptors and keep track of them to clean up once we write the 32b memory list.
For
[MemoryList64](https://learn.microsoft.com/en-us/windows/win32/api/minidumpapiset/ns-minidumpapiset-minidump_memory64_list),
the RVA to the start of the section itself will remain in a 32b addressable space. We achieve this by predetermining the space the memory regions will take, and only writing up to 4.2 gb of data with some buffer to allow all the MemoryDescriptor64s to also still be 32b addressable.
I did not add any explicit tests to this PR because allocating 4.2gb+ to test is very expensive. However, we have 32b automation tests and I validated with in several ways, including with 5gb+ array/object and would be willing to add this as a test case.
Commit: 43d207addaf4111dd6a4e0e702e8797587ce61ba
https://github.com/llvm/llvm-project/commit/43d207addaf4111dd6a4e0e702e8797587ce61ba
Author: Jiahan Xie <88367305+jiahanxie353 at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
A llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/vec-store.ll
Log Message:
-----------
[RISCV][GISEL] IRTranslator for Scalable Vector Store (#86699)
Support IR translation for scalable vector store
Commit: 431213c99d7707114d8e7956073a057cf1607160
https://github.com/llvm/llvm-project/commit/431213c99d7707114d8e7956073a057cf1607160
Author: srcarroll <50210727+srcarroll at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
M mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp
A mlir/test/Dialect/Linalg/rank-reduce-contraction-ops.mlir
M mlir/test/lib/Dialect/Linalg/CMakeLists.txt
A mlir/test/lib/Dialect/Linalg/TestLinalgRankReduceContractionOps.cpp
M mlir/tools/mlir-opt/mlir-opt.cpp
Log Message:
-----------
[mlir][linalg] Implement patterns for reducing rank of named linalg contraction ops (#95710)
This patch introduces pattern rewrites for reducing the rank of named
linalg contraction ops with unit spatial dim(s) to other named
contraction ops. For example `linalg.batch_matmul` with batch size 1 ->
`linalg.matmul` and `linalg.matmul` with unit LHS spatial dim ->
`linalg.vecmat`, etc. These patterns don't support reducing the rank
along reduction dimension as those don't convert to other named
contraction ops.
Commit: 962d7ac7fcdf6f0cb43e36dec2a6a67cadd7c46c
https://github.com/llvm/llvm-project/commit/962d7ac7fcdf6f0cb43e36dec2a6a67cadd7c46c
Author: Quentin Michaud <128144579+mh4ck-Thales at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/Basic/LangOptions.h
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/WebAssembly.cpp
Log Message:
-----------
Add flag to opt out of wasm-opt (#95208)
This PR fixes #55781 by adding the `--no-wasm-opt` and `--wasm-opt`
flags in clang to disable/enable the `wasm-opt` optimizations. The
default is to enable `wasm-opt` as before in order to not break existing
workflows.
I think that adding a warning when no flag or the `--wasm-opt` flag is
given but `wasm-opt` wasn't found in the path may be relevant here. It
allows people using `wasm-opt` to be aware of if it have been used on
their produced binary or not. The only downside I see to this is that
people already using the toolchain with the `-O` and `-Werror` flags but
without `wasm-opt` in the path will see their toolchain break (with an
easy fix: either adding `--no-wasm-opt` or add `wasm-opt` to the path).
I haven't implemented this here because I haven't figured out how to add
such a warning, and I don't know if this warning should be added here or
in another PR.
CC @sunfishcode that proposed in the associated issue to review this
patch.
Commit: 0ab81986be7c2df8dc784e9e950c906274b51fd4
https://github.com/llvm/llvm-project/commit/0ab81986be7c2df8dc784e9e950c906274b51fd4
Author: Fred Grim <fgrim at apple.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/test/tools/llvm-readobj/ELF/dynamic-tags.test
M llvm/tools/llvm-readobj/ELFDumper.cpp
Log Message:
-----------
[llvm-readobj][ELF] Implement JSON output for --dynamic-table (#95976)
When printing JSON output with --dynamic-table I noticed that the output
is invalid JSON. This patch overrides the printDynamicTable() function
in the JSONELFDumper to return a list of dictionaries for the
DynamicSection value.
Before the output was:
```
{
"FileSummary": {
"File": "bin/llvm-readelf",
"Format": "elf64-x86-64",
"Arch": "x86_64",
"AddressSize": "64bit",
"LoadName": "<Not found>"
}DynamicSection [ (35 entries)
Tag Type Name/Value
0x000000000000001D RUNPATH Library runpath: [$ORIGIN/../lib:]
0x0000000000000001 NEEDED Shared library: [libm.so.6]
0x0000000000000001 NEEDED Shared library: [libz.so.1]
0x0000000000000001 NEEDED Shared library: [libzstd.so.1]
```
Now the output looks like:
```
"DynamicSection": [
{
"Tag": 29,
"Type": "RUNPATH",
"Value": 6322,
"Path": [
"$ORIGIN/../lib"
]
},
{
"Tag": 1,
"Type": "NEEDED",
"Value": 6109,
"Library": "libm.so.6"
},
```
Commit: 58cb0e651fee277777c7121465d488dba43adbd6
https://github.com/llvm/llvm-project/commit/58cb0e651fee277777c7121465d488dba43adbd6
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M .github/CODEOWNERS
Log Message:
-----------
[.github] Add myself as a reviewer for DWARFLinker & friends (#96531)
Commit: 0534953253725a0f3aa5a83ba5e09836c768860e
https://github.com/llvm/llvm-project/commit/0534953253725a0f3aa5a83ba5e09836c768860e
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
Log Message:
-----------
[bazel] Port #95312 (#96533)
Commit: 33a9c57b89c3ea901a057c3fcc9c9160eaf5a625
https://github.com/llvm/llvm-project/commit/33a9c57b89c3ea901a057c3fcc9c9160eaf5a625
Author: Miro Bucko <mbucko at meta.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/test/API/python_api/find_in_memory/address_ranges_helper.py
Log Message:
-----------
[lldb] Fix failing TestFind(Ranges)InMemory.py tests. (#96511)
This is to unblock #95007. Will investigate why the assertion is failing
on some arch.
Commit: 2f69e9a212bb3b965c4d79ff8a12e1e63d679587
https://github.com/llvm/llvm-project/commit/2f69e9a212bb3b965c4d79ff8a12e1e63d679587
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/test/DebugInfo/COFF/fission-sections.ll
Log Message:
-----------
[COFF,test] Improve fission.ll
Commit: b7b337fb91f9b0538fcc4467ffca7c6c71192bc9
https://github.com/llvm/llvm-project/commit/b7b337fb91f9b0538fcc4467ffca7c6c71192bc9
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Affine/Transforms/LoopFusion.cpp
M mlir/lib/Dialect/GPU/Transforms/NVVMAttachTarget.cpp
M mlir/lib/Dialect/GPU/Transforms/ROCDLAttachTarget.cpp
M mlir/lib/Dialect/GPU/Transforms/SPIRVAttachTarget.cpp
M mlir/lib/Dialect/Transform/Interfaces/MatchInterfaces.cpp
M mlir/lib/IR/AffineMap.cpp
M mlir/lib/Tools/mlir-pdll-lsp-server/PDLLServer.cpp
Log Message:
-----------
[mlir] Use llvm::unique (NFC) (#96415)
Commit: d6a3bd1325c5c54ef59e8a612451757c86186355
https://github.com/llvm/llvm-project/commit/d6a3bd1325c5c54ef59e8a612451757c86186355
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/www/get_involved.html
Log Message:
-----------
Update Clang extension criteria (#96532)
This updates Clang's extension criteria to explicitly mention impacts on
other projects within the monorepo.
These changes were discussed in the following RFC:
https://discourse.llvm.org/t/rfc-require-discussion-of-impact-to-monorepo-stakeholders-when-adding-new-clang-extensions/79613
Commit: 2ae09052477e1a966afbc5482d88585f95694c53
https://github.com/llvm/llvm-project/commit/2ae09052477e1a966afbc5482d88585f95694c53
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
A clang/test/C/C2x/n2819.c
M clang/www/c_status.html
Log Message:
-----------
[C23] Claim we do not conform to N2819
This paper clarified the lifetime of compound literal objects in odd
scopes, such as use at function prototype scope.
We do not currently implement this paper, as the new test demonstrates.
Commit: 62baf21daa377c4ec1a641b26931063c1117d262
https://github.com/llvm/llvm-project/commit/62baf21daa377c4ec1a641b26931063c1117d262
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
M llvm/test/CodeGen/AArch64/aarch64-sme2-asm.ll
M llvm/test/CodeGen/AArch64/sme-intrinsics-add.ll
M llvm/test/CodeGen/AArch64/sme-intrinsics-loads.ll
M llvm/test/CodeGen/AArch64/sme-intrinsics-mopa.ll
M llvm/test/CodeGen/AArch64/sme-intrinsics-mops.ll
M llvm/test/CodeGen/AArch64/sme-intrinsics-stores.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-add-sub-za16.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-add.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-cvt.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-cvtl.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-cvtn.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-extract-mova.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-fmlas.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-fmlas16.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-fp-dots.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-frint.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-insert-mova.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-int-dots.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-ld1.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-ldnt1.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-luti2-lane-x2.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-luti2-lane-x4.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-luti2-lane.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-luti4-lane-x2.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-luti4-lane-x4.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-luti4-lane.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-max.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-min.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-mlall.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-mlals.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-mop.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-mopa.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-qcvt.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-qcvtn.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-qrshr.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-rshl.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-select-sme-tileslice.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-sqdmulh.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-sub.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-vdot.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-zero-zt.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-zt0.ll
M llvm/test/CodeGen/AArch64/sme2p1-intrinsics-zero.ll
M llvm/test/CodeGen/AArch64/sve-callee-save-restore-pairs.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-contiguous-prefetches.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-conversion.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-counting-bits.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-counting-elems.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-fp-converts.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-ldN-sret-reg+imm-addr-mode.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-ldN-sret-reg+reg-addr-mode.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-logical.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-pred-creation.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-pred-operations.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-pred-testing.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-reinterpret.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-reversal.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-sel.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-sqdec.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-sqinc.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-st1-addressing-mode-reg-imm.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-st1-addressing-mode-reg-reg.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-st1.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-stN-reg-imm-addr-mode.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-stN-reg-reg-addr-mode.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-stores.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-uqdec.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-uqinc.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-while.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-reshuffle.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-binary-narrowing-add-sub.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-binary-narrowing-shr.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-complex-dot.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-contiguous-conflict-detection.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-fp-converts.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-fp-int-binary-logarithm.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-fp-widening-mul-acc.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-int-mul-lane.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-non-widening-pairwise-arith.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-polynomial-arithmetic.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-psel.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-revd.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-unary-narrowing.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-uniform-complex-arith.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-while-reversed.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-while.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-widening-complex-int-arith.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-widening-dsp.ll
M llvm/test/CodeGen/AArch64/sve2-intrinsics-widening-pairwise-arith.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-cntp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-dots.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-fclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-fp-reduce.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-int-reduce.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-loads.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-predicate-as-counter.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-sclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-selx2.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-selx4.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-stores.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-uclamp.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-unpk.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-uzpx2.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-uzpx4.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-while-pn.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-zipx2.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-zipx4.ll
Log Message:
-----------
[AArch64] Check for streaming mode in HasSME* features. (#96302)
This also fixes up some asserts in copyPhysReg, loadRegFromStackSlot and
storeRegToStackSlot.
Commit: 09c0337a581dfd8f39df131786cfc7f675adf483
https://github.com/llvm/llvm-project/commit/09c0337a581dfd8f39df131786cfc7f675adf483
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/Basic/arm_sme.td
M clang/include/clang/Basic/arm_sve.td
M clang/include/clang/Basic/arm_sve_sme_incl.td
M clang/test/Sema/aarch64-sve-intrinsics/acle_sve_bfloat.cpp
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_bfloat.cpp
M clang/utils/TableGen/SveEmitter.cpp
Log Message:
-----------
[Clang][SveEmitter] Split up TargetGuard into SVE and SME component. (#96482)
One reason to want to split this up is to simplify the code added in
#93802, where it checks the SME streaming-mode requirements for a
builtin by checking for the absence of SVE. If the target guards are
separate, we can generate a table and make the Sema code to verify the
runtime mode simpler.
Another reason is to avoid an issue with a check in SveEmitter.cpp where
it ensures that the 'VerifyRuntimeMode' is set correctly for functions
that have both SVE and SME target guards:
if (!Def->isFlagSet(VerifyRuntimeMode) &&
Def->getGuard().contains("sve") &&
Def->getGuard().contains("sme"))
llvm_unreachable("Missing VerifyRuntimeMode flag");
However, if we ever add a new feature with "sme" in the name, even
though it is unrelated to FEAT_SME, then this code no longer works.
Note that the arm_sve.td and arm_sme.td files could do with a bit of
restructuring after this but it seems better to follow that up in an NFC
patch.
Commit: f2d3d829b97a221c9ce3a3467a20ea51bb29ecbd
https://github.com/llvm/llvm-project/commit/f2d3d829b97a221c9ce3a3467a20ea51bb29ecbd
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
Log Message:
-----------
[mlir][linalg][Transform] Fix use-after-free in `SplitOp::apply` (#96390)
Detected with ASAN. `Operation::getLoc()` was called after erasing the
operation.
Reverts 48cf6b6bbe7a22bfcd98f82dc7afd21c9decd22f, which attempted to fix
the use-after-free. (But the use-after-free is still there when the
`hasFailed` branch is taken.)
Commit: d30b082fd4aeba0a3a99c3f17dbffe6691f859cc
https://github.com/llvm/llvm-project/commit/d30b082fd4aeba0a3a99c3f17dbffe6691f859cc
Author: Terry Wilmarth <terry.l.wilmarth at intel.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M openmp/runtime/src/dllexports
M openmp/runtime/src/kmp.h
M openmp/runtime/src/kmp_csupport.cpp
M openmp/runtime/src/kmp_runtime.cpp
A openmp/runtime/test/parallel/omp_parallel_num_threads_list.c
A openmp/runtime/test/parallel/omp_parallel_num_threads_strict.c
Log Message:
-----------
[OpenMP] Add num_threads clause list format and strict modifier support (#85466)
Add support to the runtime for 6.0 spec features that allow num_threads
clause to take a list, and also make use of the strict modifier.
Provides new compiler interface functions for these features.
Commit: 0555afd02401551c10dbf7f646a98501929b27e2
https://github.com/llvm/llvm-project/commit/0555afd02401551c10dbf7f646a98501929b27e2
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Analysis/MLInlineAdvisor.cpp
Log Message:
-----------
[NFC][MLInliner] Rename LastSCC -> CurSCC (#96546)
The passed SCC is the current SCC we're working on.
Commit: b1a93dbaba87119556c1138b64cde6aa5ee8a854
https://github.com/llvm/llvm-project/commit/b1a93dbaba87119556c1138b64cde6aa5ee8a854
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Export distributable lldb files (#96549)
If you're building and vendoring lldb, you might need to also vendor
these files.
Commit: b097018fdafe61f1fe10337a71f56e5386930d54
https://github.com/llvm/llvm-project/commit/b097018fdafe61f1fe10337a71f56e5386930d54
Author: Mike Rice <michael.p.rice at intel.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaOpenMP.cpp
M clang/test/OpenMP/Inputs/nesting_of_regions.cpp
Log Message:
-----------
[clang][OpenMP] Fix teams nesting of region check (#94806)
The static verifier flagged dead code in the check since the loop will
only execute once and never reach the iterator increment.
The loop needs to iterate twice to correctly diagnose when a statement
is after the teams.
Since there are two iterations again, reset the iterator to the first
teams directive when the double teams case is seen so the diagnostic can
report both locations.
Commit: 313b1a8250d3cd742356cc71c36402b10d8b2e16
https://github.com/llvm/llvm-project/commit/313b1a8250d3cd742356cc71c36402b10d8b2e16
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/ReleaseModeModelRunner.h
M llvm/lib/Analysis/MLInlineAdvisor.cpp
M llvm/unittests/Analysis/MLModelRunnerTest.cpp
Log Message:
-----------
[mlgo] Support composite AOT-ed models (#96276)
This applies to the AOT case where we embed models in the compiler. The
change adds support for multiple models for the same agent, and allows
the user select one via a command line flag. "agent" refers to e.g. the
inline advisor or the register allocator eviction advisor.
To avoid build setup complexity, the support is delegated to the saved
model. Since saved models define computational graphs, we can generate a
composite model (this happens prior to building and embedding it in LLVM
and is not shown in this change) that exposes an extra feature with a
predefined name: `_model_selector`. The model, then, delegates
internally to contained models based on that feature value.
Model selection is expected to happen at model instantiation, there is
no current scenario for switching them afterwards.
If the model doesn't expose such a feature but the user passes one, we
report error.
If the model exposes such a feature but the user doesn't pass one, we
also report an error.
Invalid model selector values are expected to be handled by the saved
model.
Internally, the model uses a pair of uint64 values - the high and low of
the MD5 hash of the name.
A tool composing models would, then, need to:
- expose the extra feature, `_model_selector`, shape (2,), uint64 data
type
- test its value (`tf.cond` or `tf.case` in Tensorflow) against the MD5
hash, in the [high, low] order, of contained models based on a
user-specified name (which the user will then use as flag value to the
compiler)
Agents just need to add a flag to capture the name of a model and pass
it to `ReleaseModeModelRunner` at construction. This can be passed in
all cases without checking - the case where the model is not composite
and we pass an empty name, everything works as before.
This change also factors out the string flags we pass to the
`ReleaseModeModelRunner` for better maintainability (we risk confusing
parameters that are strings otherwise)
Commit: 5413a2bb843a3c71e0891aa5984afd63cd580dea
https://github.com/llvm/llvm-project/commit/5413a2bb843a3c71e0891aa5984afd63cd580dea
Author: Mike Rice <michael.p.rice at intel.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/lib/Parse/ParseOpenMP.cpp
M clang/test/OpenMP/declare_variant_clauses_messages.cpp
Log Message:
-----------
[clang][OpenMP] Fix error handling of the adjust_args clause (#94696)
Static verifier noticed the current code has logically dead code parsing
the clause where IsComma is assigned. Fix this and improve the error
message received when a bad adjust-op is specified.
This will now be handled like 'map' where a nice diagnostic is given
with the correct values, then parsing continues on the next clause
reducing unhelpful diagnostics.
Commit: 3aef525aa4b9a5395b6ac4ae771e28e64b27a126
https://github.com/llvm/llvm-project/commit/3aef525aa4b9a5395b6ac4ae771e28e64b27a126
Author: vangthao95 <vang.thao at amd.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-constant.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/smrd.ll
M llvm/test/CodeGen/AMDGPU/cgp-addressing-modes-smem.ll
M llvm/test/CodeGen/AMDGPU/gfx12_scalar_subword_loads.ll
M llvm/test/CodeGen/AMDGPU/global-saddr-load.ll
M llvm/test/CodeGen/AMDGPU/llvm.prefetch.ll
M llvm/test/CodeGen/AMDGPU/smrd.ll
Log Message:
-----------
[AMDGPU] Fix negative immediate offset for unbuffered smem loads (#89165)
For unbuffered smem loads, it is illegal for the immediate offset to be
negative if the resulting IOFFSET + (SGPR[Offset] or M0 or zero) is
negative.
New PR of https://github.com/llvm/llvm-project/pull/79553.
Commit: d2864d1716b5e5b5eabb3004b04a1d7f67803f0d
https://github.com/llvm/llvm-project/commit/d2864d1716b5e5b5eabb3004b04a1d7f67803f0d
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M libcxx/CMakeLists.txt
M libcxx/lib/abi/powerpc-ibm-aix.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/powerpc64-ibm-aix.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/x86_64-unknown-freebsd.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/x86_64-unknown-linux-gnu.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/x86_64-unknown-linux-gnu.libcxxabi.v1.stable.noexceptions.nonew.abilist
Log Message:
-----------
[libc++] Build with -fsized-deallocation (#96217)
This patch makes libc++ build with -fsized-deallocation. That flag is
enabled by default in recent versions of Clang, so this patch will make
libc++ forward-compatible with ToT Clang.
Commit: bea7f3d8739a12c599525c18c151f37b1293a080
https://github.com/llvm/llvm-project/commit/bea7f3d8739a12c599525c18c151f37b1293a080
Author: Nick Desaulniers (paternity leave) <nickdesaulniers at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M libc/include/llvm-libc-macros/CMakeLists.txt
A libc/include/llvm-libc-macros/link-macros.h
M libc/startup/linux/CMakeLists.txt
M libc/startup/linux/do_start.cpp
Log Message:
-----------
[libc][startup] create header for ElfW and use in startup (#96510)
This is necessary for 32b platforms such as ARM and i386.
Link: #94128
Commit: dd8d978b7642b410f3a4895aa20f0aada4a0f7e4
https://github.com/llvm/llvm-project/commit/dd8d978b7642b410f3a4895aa20f0aada4a0f7e4
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/lldb/BUILD.bazel
Log Message:
-----------
[bazel] Switch mach_gen to apple_genrule (#96551)
mig is a tool vendored with Xcode. Using apple_genrule makes sure that
the bazel selected version of Xcode is preferred, and that the action is
invalidated when that version changes.
Commit: a030c8bc87be0599e861f5d8fe8254ac8d6e84ba
https://github.com/llvm/llvm-project/commit/a030c8bc87be0599e861f5d8fe8254ac8d6e84ba
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
A utils/bazel/llvm-project-overlay/lldb/tools/lldb-dap/BUILD.bazel
Log Message:
-----------
[bazel] Add support for building lldb-dap (#96556)
Commit: 687d6fbfac6205e6f53ea58584278c09738ea708
https://github.com/llvm/llvm-project/commit/687d6fbfac6205e6f53ea58584278c09738ea708
Author: Akshay Deodhar <adeodhar at nvidia.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/IntrinsicsNVVM.td
M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
M llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
M llvm/lib/Target/NVPTX/NVPTXUtilities.cpp
M llvm/lib/Target/NVPTX/NVPTXUtilities.h
A llvm/test/CodeGen/NVPTX/lower-args-gridconstant.ll
Log Message:
-----------
[NVPTX] Basic support for "grid_constant" (#96125)
- Adds a helper function for checking whether an argument is a
[grid_constant](https://docs.nvidia.com/cuda/nvvm-ir-spec/index.html#supported-properties).
- Adds support for cvta.param using changes from
https://github.com/llvm/llvm-project/pull/95289
- Supports escaped grid_constant pointers conservatively, by casting all
uses to the generic address space with cvta.param.
Commit: 5ae50698a0d6a3022af2e79d405a7eb6c8c790f0
https://github.com/llvm/llvm-project/commit/5ae50698a0d6a3022af2e79d405a7eb6c8c790f0
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
M llvm/test/Analysis/LoopAccessAnalysis/symbolic-stride.ll
Log Message:
-----------
LAA: strip unnecessary getUniqueCastUse (#92119)
733b8b2 ([LAA] Simplify identification of speculatable strides [nfc])
refactored getStrideFromPointer() to compute directly on SCEVs, and
return an SCEV expression instead of a Value. However, it left behind a
call to getUniqueCastUse(), which is completely unnecessary. Remove
this, showing a positive test update, and simplify the surrounding
program logic.
Commit: 16903ace180755b7558234ff2b2e8d89b00dcb88
https://github.com/llvm/llvm-project/commit/16903ace180755b7558234ff2b2e8d89b00dcb88
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M libc/config/darwin/arm/entrypoints.txt
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/arm/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/docs/math/index.rst
M libc/src/__support/FPUtil/double_double.h
M libc/src/__support/FPUtil/dyadic_float.h
M libc/src/__support/macros/optimization.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/range_reduction_double_common.h
A libc/src/math/generic/range_reduction_double_fma.h
A libc/src/math/generic/range_reduction_double_nofma.h
A libc/src/math/generic/sin.cpp
A libc/src/math/generic/sincos_eval.h
M libc/src/math/x86_64/CMakeLists.txt
R libc/src/math/x86_64/sin.cpp
M libc/test/src/math/sin_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/sin_test.cpp
Log Message:
-----------
[libc][math] Implement double precision sin correctly rounded to all rounding modes. (#95736)
- Algorithm:
- Step 1 - Range reduction: for a double precision input `x`, return `k`
and `u` such that
- k is an integer
- u = x - k * pi / 128, and |u| < pi/256
- Step 2 - Calculate `sin(u)` and `cos(u)` in double-double using Taylor
polynomials with errors < 2^-70 with FMA or < 2^-66 w/o FMA.
- Step 3 - Calculate `sin(x) = sin(k*pi/128) * cos(u) + cos(k*pi/128) *
sin(u)` using look-up table for `sin(k*pi/128)` and `cos(k*pi/128)`.
- Step 4 - Use Ziv's rounding test to decide if the result is correctly
rounded.
- Step 4' - If the Ziv's rounding test failed, redo step 1-3 using
128-bit precision.
- Currently, without FMA instructions, the large range reduction only
works correctly for the default rounding mode (FE_TONEAREST).
- Provide `LIBC_MATH` flag so that users can set `LIBC_MATH =
LIBC_MATH_SKIP_ACCURATE_PASS` to build the `sin` function without step 4
and 4'.
Commit: a32b7199f0c15ea1c6c9490b6166c019c9d4bd2b
https://github.com/llvm/llvm-project/commit/a32b7199f0c15ea1c6c9490b6166c019c9d4bd2b
Author: Chelsea Cassanova <chelsea_cassanova at apple.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/bindings/python/python-typemaps.swig
M lldb/include/lldb/API/SBProcess.h
M lldb/include/lldb/Core/AddressRangeListImpl.h
M lldb/include/lldb/Target/Process.h
M lldb/source/API/SBProcess.cpp
M lldb/source/Target/Process.cpp
R lldb/test/API/python_api/find_in_memory/Makefile
R lldb/test/API/python_api/find_in_memory/TestFindInMemory.py
R lldb/test/API/python_api/find_in_memory/TestFindRangesInMemory.py
R lldb/test/API/python_api/find_in_memory/address_ranges_helper.py
R lldb/test/API/python_api/find_in_memory/main.cpp
Log Message:
-----------
Revert commits that add `TestFind(Ranges)InMemory.py` (#96560)
Reverting to unblock macOS buildbots which are currently failing on
these tests.
https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/as-lldb-cmake/6377/
Commit: 75ac887a3033c6e4eb8e423a78490c8d4bf7d5b5
https://github.com/llvm/llvm-project/commit/75ac887a3033c6e4eb8e423a78490c8d4bf7d5b5
Author: shaw young <58664393+shawbyoung at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M bolt/docs/CommandLineArgumentReference.md
Log Message:
-----------
[BOLT][NFC] Sync CommandLineArgumentReference with options (#96563)
Commit: a3a44bfbdfefe0928124f9e40d242507f75b87f4
https://github.com/llvm/llvm-project/commit/a3a44bfbdfefe0928124f9e40d242507f75b87f4
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/ProfDataUtils.h
M llvm/lib/IR/Instructions.cpp
M llvm/lib/IR/ProfDataUtils.cpp
M llvm/lib/IR/Verifier.cpp
Log Message:
-----------
[llvm][ProfDataUtils] Provide getNumBranchWeights API (#90146)
As suggested in
https://github.com/llvm/llvm-project/pull/86609/files#r1556689262
an API for getting the number of branch weights directly from the MD
node would be useful in a variety of checks, and keeps the logic within
ProfDataUtils.
Commit: 5e097c79d820683b72e2bac8e56df93801ad85ec
https://github.com/llvm/llvm-project/commit/5e097c79d820683b72e2bac8e56df93801ad85ec
Author: shaw young <58664393+shawbyoung at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M bolt/docs/CommandLineArgumentReference.md
M bolt/lib/Profile/YAMLProfileReader.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/lib/Utils/CommandLineOpts.cpp
A bolt/test/X86/hashing-based-function-matching.test
Log Message:
-----------
[BOLT] Hash-based function matching (#95821)
Using the hashes of binary and profiled functions
to recover functions with changed names.
Test Plan: added
hashing-based-function-matching.test.
Commit: b3c668b0055717633503ed26787037d9e3499781
https://github.com/llvm/llvm-project/commit/b3c668b0055717633503ed26787037d9e3499781
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M clang/docs/LanguageExtensions.rst
Log Message:
-----------
[clang][docs] '#pragma clang section' is supported on Mach-O. NFC
This was added back in 7f6e3316456f939a062aad0eeaac983251a1747c, but I forgot
to update the docs that referenced it.
Commit: 32e4906c28952d2dd8ed193cfd37856b98233ef5
https://github.com/llvm/llvm-project/commit/32e4906c28952d2dd8ed193cfd37856b98233ef5
Author: shaw young <58664393+shawbyoung at users.noreply.github.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M bolt/docs/CommandLineArgumentReference.md
M bolt/lib/Profile/YAMLProfileReader.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/lib/Utils/CommandLineOpts.cpp
R bolt/test/X86/hashing-based-function-matching.test
Log Message:
-----------
Revert "[BOLT] Hash-based function matching" (#96568)
Reverts llvm/llvm-project#95821
Commit: 0d4da0df166ea7512c6e97e182b21cd706293eaa
https://github.com/llvm/llvm-project/commit/0d4da0df166ea7512c6e97e182b21cd706293eaa
Author: Miro Bucko <mbucko at meta.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/bindings/python/python-typemaps.swig
M lldb/include/lldb/API/SBProcess.h
M lldb/include/lldb/Core/AddressRangeListImpl.h
M lldb/include/lldb/Target/Process.h
M lldb/source/API/SBProcess.cpp
M lldb/source/Target/Process.cpp
A lldb/test/API/python_api/find_in_memory/Makefile
A lldb/test/API/python_api/find_in_memory/TestFindInMemory.py
A lldb/test/API/python_api/find_in_memory/TestFindRangesInMemory.py
A lldb/test/API/python_api/find_in_memory/address_ranges_helper.py
A lldb/test/API/python_api/find_in_memory/main.cpp
Log Message:
-----------
[lldb][API] Add Find(Ranges)InMemory() to Process SB API (#96569)
This is a second attempt to land #95007
Test Plan:
llvm-lit
llvm-project/lldb/test/API/python_api/find_in_memory/TestFindInMemory.py
llvm-project/lldb/test/API/python_api/find_in_memory/TestFindRangesInMemory.py
Reviewers: clayborg
Tasks: lldb
Commit: dc27ff10497ea0c7d93de028badffa62707d8b6c
https://github.com/llvm/llvm-project/commit/dc27ff10497ea0c7d93de028badffa62707d8b6c
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M libc/test/src/__support/CMakeLists.txt
Log Message:
-----------
[libc] Disable freelist test on NVPTX temporarily
Summary:
This test fails due to alignment issues, it's likely that it's
misaligned on other targets too and they just don't crash on it.
@PiJoules maybe we should run this with ubsan?
Commit: 361543e4100defe14334cfb11481be44a977e627
https://github.com/llvm/llvm-project/commit/361543e4100defe14334cfb11481be44a977e627
Author: Jacob Lalonde <jalalonde at fb.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.cpp
M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.h
Log Message:
-----------
[LLDB][Minidump] Change expected directories to the correct type; size_t (#96564)
In #95312 I incorrectly set `m_expected_directories` to uint, this broke
the windows build and is the incorrect type.
`size_t` is more accurate because this value only ever represents the
expected upper bound of the directory vector.
Commit: a2d340ba161fe48ee4ff736c6e7877038a7388cd
https://github.com/llvm/llvm-project/commit/a2d340ba161fe48ee4ff736c6e7877038a7388cd
Author: David Truby <david.truby at arm.com>
Date: 2024-06-25 (Tue, 25 Jun 2024)
Changed paths:
M clang/include/clang/Driver/Driver.h
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/Driver.cpp
R flang/test/Driver/print-resource-dir.F90
Log Message:
-----------
Revert "[Flang][Driver] Add -print-resource-dir command line flag to emit Flang's resource directory" (#96557)
Reverts llvm/llvm-project#90886
These changes broke linking to compiler-rt on Windows
Commit: bacb1812ac30121bf06b81c2951b1cf7ba94ecee
https://github.com/llvm/llvm-project/commit/bacb1812ac30121bf06b81c2951b1cf7ba94ecee
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M .ci/generate-buildkite-pipeline-premerge
M .ci/monolithic-linux.sh
M .ci/monolithic-windows.sh
M .git-blame-ignore-revs
M .github/CODEOWNERS
M .github/new-prs-labeler.yml
A .github/workflows/ci-post-commit-analyzer-run.py
A .github/workflows/ci-post-commit-analyzer.yml
M .github/workflows/containers/github-action-ci/stage1.Dockerfile
M .github/workflows/docs.yml
M .github/workflows/libclang-python-tests.yml
M .github/workflows/libcxx-build-and-test.yaml
A .github/workflows/libcxx-restart-preempted-jobs.yaml
M .github/workflows/llvm-project-tests.yml
M .github/workflows/pr-code-format.yml
M .github/workflows/release-binaries.yml
M .github/workflows/release-documentation.yml
M .github/workflows/release-doxygen.yml
A .github/workflows/release-sources.yml
M .github/workflows/release-tasks.yml
M bolt/docs/CommandLineArgumentReference.md
A bolt/docs/generate_doc.py
M bolt/include/bolt/Core/BinaryBasicBlock.h
M bolt/include/bolt/Core/BinarySection.h
M bolt/include/bolt/Core/DIEBuilder.h
M bolt/include/bolt/Core/DebugNames.h
M bolt/include/bolt/Core/FunctionLayout.h
A bolt/include/bolt/Core/GDBIndex.h
M bolt/include/bolt/Core/MCPlusBuilder.h
M bolt/include/bolt/Rewrite/DWARFRewriter.h
M bolt/include/bolt/Rewrite/MetadataManager.h
M bolt/include/bolt/Rewrite/MetadataRewriter.h
M bolt/include/bolt/Rewrite/MetadataRewriters.h
M bolt/include/bolt/Rewrite/RewriteInstance.h
M bolt/lib/Core/BinaryEmitter.cpp
M bolt/lib/Core/BinaryFunction.cpp
M bolt/lib/Core/CMakeLists.txt
M bolt/lib/Core/DIEBuilder.cpp
M bolt/lib/Core/DebugNames.cpp
M bolt/lib/Core/FunctionLayout.cpp
A bolt/lib/Core/GDBIndex.cpp
M bolt/lib/Passes/BinaryPasses.cpp
M bolt/lib/Passes/IdenticalCodeFolding.cpp
M bolt/lib/Passes/PLTCall.cpp
M bolt/lib/Passes/ValidateMemRefs.cpp
M bolt/lib/Passes/VeneerElimination.cpp
M bolt/lib/Profile/BoltAddressTranslation.cpp
M bolt/lib/Profile/StaleProfileMatching.cpp
M bolt/lib/Profile/YAMLProfileWriter.cpp
A bolt/lib/Rewrite/BuildIDRewriter.cpp
M bolt/lib/Rewrite/CMakeLists.txt
M bolt/lib/Rewrite/DWARFRewriter.cpp
M bolt/lib/Rewrite/LinuxKernelRewriter.cpp
M bolt/lib/Rewrite/MetadataManager.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
M bolt/lib/Target/RISCV/RISCVMCPlusBuilder.cpp
M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
M bolt/test/AArch64/Inputs/array_end.lld_script
M bolt/test/AArch64/lit.local.cfg
A bolt/test/AArch64/plt-call.test
R bolt/test/Inputs/lsda.ldscript
A bolt/test/Inputs/plt-tailcall.c
A bolt/test/X86/Inputs/blarge_profile_stale_low_matched_blocks.yaml
A bolt/test/X86/Inputs/dwarf4-df-input-lowpc-ranges-other.s
A bolt/test/X86/Inputs/dwarf4-subprogram-multiple-ranges-other.s
A bolt/test/X86/Inputs/dwarf5-df-input-lowpc-ranges-other.s
A bolt/test/X86/Inputs/dwarf5-subprogram-multiple-ranges-other.s
A bolt/test/X86/Inputs/infer_no_exits.s
M bolt/test/X86/addr32.s
M bolt/test/X86/asm-func-debug.test
M bolt/test/X86/avx512-trap.test
M bolt/test/X86/bb-with-two-tail-calls.s
M bolt/test/X86/block-reordering.test
M bolt/test/X86/bolt-address-translation-internal-call.test
M bolt/test/X86/bolt-address-translation-yaml.test
M bolt/test/X86/bolt-address-translation.test
M bolt/test/X86/branch-data.test
M bolt/test/X86/broken_dynsym.test
M bolt/test/X86/bug-function-layout-execount.s
M bolt/test/X86/bug-reorder-bb-jrcxz.s
M bolt/test/X86/calculate-emitted-block-size.s
M bolt/test/X86/call-zero.s
M bolt/test/X86/cdsplit-call-scale.s
M bolt/test/X86/cdsplit-symbol-names.s
M bolt/test/X86/cfi-expr-rewrite.s
M bolt/test/X86/cfi-instrs-count.s
M bolt/test/X86/cfi-instrs-reordered.s
M bolt/test/X86/checkvma-large-section.test
M bolt/test/X86/ctc-and-unreachable.test
M bolt/test/X86/debug-fission-single-convert.s
M bolt/test/X86/debug-fission-single.s
M bolt/test/X86/double-jump.test
M bolt/test/X86/dwarf-handle-visit-loclist-error.s
M bolt/test/X86/dwarf-test-df-logging.test
M bolt/test/X86/dwarf3-lowpc-highpc-convert.s
M bolt/test/X86/dwarf4-cross-cu-backward-different-abbrev.test
M bolt/test/X86/dwarf4-cross-cu-forward-different-abbrev.test
M bolt/test/X86/dwarf4-cross-cu-loclist-dwarf4-loclist--dwarf5-loclist.test
M bolt/test/X86/dwarf4-df-basic.test
M bolt/test/X86/dwarf4-df-call-site-change-low-pc.test
M bolt/test/X86/dwarf4-df-change-in-dw-op-gnu-addr-index-main.test
M bolt/test/X86/dwarf4-df-do-no-convert-low-pc-high-pc-to-ranges.test
M bolt/test/X86/dwarf4-df-dualcu-loclist.test
M bolt/test/X86/dwarf4-df-dualcu.test
M bolt/test/X86/dwarf4-df-inlined-subroutine-lowpc-0.test
A bolt/test/X86/dwarf4-df-input-lowpc-ranges-cus.test
M bolt/test/X86/dwarf4-df-input-lowpc-ranges.test
M bolt/test/X86/dwarf4-df-no-base.test
M bolt/test/X86/dwarf4-do-no-convert-low-pc-high-pc-to-ranges.test
M bolt/test/X86/dwarf4-duplicate-types.test
M bolt/test/X86/dwarf4-ftypes-dwo-input-dwp-output.test
M bolt/test/X86/dwarf4-ftypes-dwo-mono-input-dwp-output.test
M bolt/test/X86/dwarf4-ftypes-dwp-input-dwo-output.test
M bolt/test/X86/dwarf4-ftypes-dwp-input-dwp-output.test
M bolt/test/X86/dwarf4-gdb-index-types-gdb-generated.test
M bolt/test/X86/dwarf4-gdb-index-types-lld-generated.test
M bolt/test/X86/dwarf4-invalid-reference-die-offset-no-internal-dwarf-error.s
M bolt/test/X86/dwarf4-invalid-reference-die-offset-with-internal-dwarf-error-cant-parse-die.s
M bolt/test/X86/dwarf4-invalid-reference-die-offset-with-internal-dwarf-error-invalid-die.s
M bolt/test/X86/dwarf4-sibling.s
M bolt/test/X86/dwarf4-size-0-inlined_subroutine.s
M bolt/test/X86/dwarf4-split-dwarf-no-address.test
M bolt/test/X86/dwarf4-split-gdb-index-types-gdb-generated.test
A bolt/test/X86/dwarf4-subprogram-multiple-ranges-cus.test
M bolt/test/X86/dwarf4-subprogram-multiple-ranges.test
M bolt/test/X86/dwarf4-subprogram-single-gc-ranges.test
M bolt/test/X86/dwarf4-subprogram-single-ranges.test
M bolt/test/X86/dwarf4-types-dwarf5-types.test
M bolt/test/X86/dwarf4-types-dwarf5.test
M bolt/test/X86/dwarf4-types-forward-backward-cross-reference.s
M bolt/test/X86/dwarf4-types.test
M bolt/test/X86/dwarf5-addr-section-reuse.s
M bolt/test/X86/dwarf5-call-pc-function-null-check.test
M bolt/test/X86/dwarf5-call-pc.test
M bolt/test/X86/dwarf5-cu-no-debug-addr.test
M bolt/test/X86/dwarf5-debug-info-dwarf4-debug-line.s
M bolt/test/X86/dwarf5-debug-line-not-modified.test
M bolt/test/X86/dwarf5-debug-line.s
M bolt/test/X86/dwarf5-debug-loclists.s
A bolt/test/X86/dwarf5-debug-names-skip-forward-decl.s
M bolt/test/X86/dwarf5-df-call-site-change-low-pc.test
M bolt/test/X86/dwarf5-df-change-in-dw-op-gnu-addr-index-main.test
M bolt/test/X86/dwarf5-df-cu-function-gc.test
M bolt/test/X86/dwarf5-df-dualcu-loclist.test
M bolt/test/X86/dwarf5-df-dualcu.test
M bolt/test/X86/dwarf5-df-inlined-subroutine-gc-sections-range.test
M bolt/test/X86/dwarf5-df-inlined-subroutine-range-0.test
A bolt/test/X86/dwarf5-df-input-lowpc-ranges-cus.test
M bolt/test/X86/dwarf5-df-input-lowpc-ranges.test
M bolt/test/X86/dwarf5-df-mono-dualcu.test
M bolt/test/X86/dwarf5-df-output-dir-same-name.test
M bolt/test/X86/dwarf5-df-types-dup-dwp-input.test
M bolt/test/X86/dwarf5-do-no-convert-low-pc-high-pc-to-ranges.test
M bolt/test/X86/dwarf5-dwarf4-gdb-index-types-gdb-generated-gdb11.test
M bolt/test/X86/dwarf5-dwarf4-gdb-index-types-gdb-generated-gdb9.test
M bolt/test/X86/dwarf5-dwarf4-gdb-index-types-lld-generated.test
M bolt/test/X86/dwarf5-dwarf4-monolithic.test
M bolt/test/X86/dwarf5-dwarf4-types-backward-forward-cross-reference.test
M bolt/test/X86/dwarf5-ftypes-dwo-mono-input-dwp-output.test
M bolt/test/X86/dwarf5-ftypes-dwp-input-dwo-output.test
M bolt/test/X86/dwarf5-gdb-index-types-gdb-generated-gdb11.test
M bolt/test/X86/dwarf5-gdb-index-types-gdb-generated-gdb9.test
M bolt/test/X86/dwarf5-gdb-index-types-lld-generated.test
M bolt/test/X86/dwarf5-locaddrx.test
M bolt/test/X86/dwarf5-locexpr-addrx.s
M bolt/test/X86/dwarf5-locexpr-referrence.test
M bolt/test/X86/dwarf5-loclist-offset-form.test
M bolt/test/X86/dwarf5-lowpc-highpc-convert.s
M bolt/test/X86/dwarf5-multiple-dw-op-addrx-locexpr.s
M bolt/test/X86/dwarf5-one-loclists-two-bases.test
M bolt/test/X86/dwarf5-rangeoffset-to-rangeindex.s
M bolt/test/X86/dwarf5-return-pc-form-addr.test
M bolt/test/X86/dwarf5-return-pc.test
M bolt/test/X86/dwarf5-shared-str-offset-base.s
M bolt/test/X86/dwarf5-split-dwarf4-monolithic.test
M bolt/test/X86/dwarf5-split-gdb-index-types-gdb-generated.test
A bolt/test/X86/dwarf5-subprogram-multiple-ranges-cus.test
M bolt/test/X86/dwarf5-subprogram-multiple-ranges.test
M bolt/test/X86/dwarf5-subprogram-single-gc-ranges.test
M bolt/test/X86/dwarf5-subprogram-single-ranges.test
M bolt/test/X86/dwarf5-two-loclists.test
M bolt/test/X86/dwarf5-two-rnglists.test
M bolt/test/X86/dwarf5-types-backward-cross-reference.s
M bolt/test/X86/dwarf5-types-forward-cross-reference.s
M bolt/test/X86/dynrelocs.s
M bolt/test/X86/exceptions-args.test
M bolt/test/X86/fallthrough-to-noop.test
M bolt/test/X86/false-jump-table.s
M bolt/test/X86/fatal-error.s
M bolt/test/X86/fragment-lite-reverse.s
M bolt/test/X86/fragment-lite.s
M bolt/test/X86/fragmented-symbols.s
M bolt/test/X86/frame-opt-lea.s
M bolt/test/X86/function-order-lite.s
M bolt/test/X86/gdbindex.test
M bolt/test/X86/high_pc_udata.s
M bolt/test/X86/icp-inline.s
M bolt/test/X86/ignored-interprocedural-reference.s
M bolt/test/X86/indirect-goto-pie.test
M bolt/test/X86/indirect-goto.test
A bolt/test/X86/infer_no_exits.test
M bolt/test/X86/inlined-function-mixed.test
M bolt/test/X86/insert-addr-rnglists_base.s
M bolt/test/X86/insert-debug-info-entry.test
M bolt/test/X86/internal-call-instrument-so.s
M bolt/test/X86/internal-call-instrument.s
M bolt/test/X86/interprocedural-ref-entry-point.s
M bolt/test/X86/is-strip.s
M bolt/test/X86/issue20.s
M bolt/test/X86/issue20.test
M bolt/test/X86/issue26.s
M bolt/test/X86/issue26.test
M bolt/test/X86/jmp-optimization.test
M bolt/test/X86/jmpjmp.test
M bolt/test/X86/jt-symbol-disambiguation-3.s
A bolt/test/X86/jt-symbol-disambiguation-4.s
M bolt/test/X86/jump-table-fixed-ref-pic.test
M bolt/test/X86/jump-table-footprint-reduction.test
M bolt/test/X86/jump-table-icp.test
M bolt/test/X86/jump-table-pic-conflict.s
M bolt/test/X86/jump-table-pic-order.test
M bolt/test/X86/jump-table-reference.test
M bolt/test/X86/layout-heuristic.test
M bolt/test/X86/line-number.test
M bolt/test/X86/linux-alt-instruction.s
M bolt/test/X86/lit.local.cfg
M bolt/test/X86/log.test
M bolt/test/X86/loop-inversion-pass.s
M bolt/test/X86/loop-nest.test
M bolt/test/X86/merge-fdata-bat-mode.test
M bolt/test/X86/merge-fdata-nobat-mode.test
M bolt/test/X86/merge-fdata-output.test
M bolt/test/X86/no-entry-reordering.test
M bolt/test/X86/no-output.test
M bolt/test/X86/nolbr.s
M bolt/test/X86/patch-entries.test
A bolt/test/X86/plt-call.test
M bolt/test/X86/pre-aggregated-perf.test
M bolt/test/X86/pt_gnu_relro.s
M bolt/test/X86/reader-stale-yaml-std.test
M bolt/test/X86/reader-stale-yaml.test
M bolt/test/X86/reader.test
M bolt/test/X86/register-fragments-bolt-symbols.s
M bolt/test/X86/relaxed-tailcall.test
M bolt/test/X86/remove-unused.test
M bolt/test/X86/rodata-simpl-loads.test
M bolt/test/X86/sctc-bug.test
M bolt/test/X86/sctc-bug2.test
M bolt/test/X86/sctc-bug3.test
M bolt/test/X86/sctc-bug4.test
M bolt/test/X86/shared_object_entry.s
M bolt/test/X86/shorten-mov.test
M bolt/test/X86/shrinkwrapping-and-rsp.s
M bolt/test/X86/shrinkwrapping-critedge.s
M bolt/test/X86/shrinkwrapping-do-not-pessimize.s
M bolt/test/X86/shrinkwrapping-insertcfi.s
M bolt/test/X86/shrinkwrapping-lea.s
M bolt/test/X86/shrinkwrapping-mov.s
M bolt/test/X86/shrinkwrapping-pop-order.s
M bolt/test/X86/shrinkwrapping-popf.s
M bolt/test/X86/shrinkwrapping-restore-position.s
M bolt/test/X86/shrinkwrapping.test
M bolt/test/X86/split-all-lptrampoline.s
M bolt/test/X86/split-all.s
M bolt/test/X86/split-func-icf.s
M bolt/test/X86/split-func-jump-table-fragment-bidirection.s
M bolt/test/X86/split-func-jump-table-fragment-noparent.s
M bolt/test/X86/split-func-jump-table-fragment-reverse.s
M bolt/test/X86/split-func-jump-table-fragment.s
M bolt/test/X86/split-func-jump-table-unknown.s
M bolt/test/X86/split-landing-pad.s
M bolt/test/X86/split-random.s
A bolt/test/X86/stale-matching-min-matched-block.test
M bolt/test/X86/static-exe.test
M bolt/test/X86/symtab-secondary-entries.test
M bolt/test/X86/tail-duplication-cache.s
M bolt/test/X86/tail-duplication-cacheline.s
M bolt/test/X86/tail-duplication-complex.s
M bolt/test/X86/tail-duplication-jt.s
M bolt/test/X86/tail-duplication-pass.s
M bolt/test/X86/tail-duplication-prop-bug.s
M bolt/test/X86/tailcall-traps.test
M bolt/test/X86/tailcall.test
M bolt/test/X86/unclaimed-jt-entries.s
M bolt/test/X86/unreachable-jmp.s
M bolt/test/X86/unreachable.test
M bolt/test/X86/vararg.test
M bolt/test/X86/yaml-multiple-profiles.test
M bolt/test/X86/zero-sized-object.s
M bolt/test/bad-exe.test
M bolt/test/bolt-icf.test
M bolt/test/bolt-info.test
M bolt/test/heatmap.test
M bolt/test/invalid-profile.test
M bolt/test/keep-aranges.test
M bolt/test/lit.local.cfg
M bolt/test/lsda-section-name.cpp
M bolt/test/no-relocs.test
M bolt/test/non-empty-debug-line.test
M bolt/test/pie.test
M bolt/test/re-optimize.test
M bolt/test/runtime/X86/asm-dump.c
M bolt/test/shared-object.test
M clang-tools-extra/clang-doc/tool/CMakeLists.txt
M clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
M clang-tools-extra/clang-query/QueryParser.cpp
M clang-tools-extra/clang-tidy/abseil/RedundantStrcatCallsCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/MacroRepeatedSideEffectsCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/MultiLevelImplicitPointerConversionCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/ReturnConstRefFromParameterCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.h
M clang-tools-extra/clang-tidy/cppcoreguidelines/MacroUsageCheck.cpp
M clang-tools-extra/clang-tidy/misc/CMakeLists.txt
M clang-tools-extra/clang-tidy/misc/HeaderIncludeCycleCheck.cpp
M clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp
A clang-tools-extra/clang-tidy/misc/UseInternalLinkageCheck.cpp
A clang-tools-extra/clang-tidy/misc/UseInternalLinkageCheck.h
M clang-tools-extra/clang-tidy/modernize/UseDesignatedInitializersCheck.cpp
M clang-tools-extra/clang-tidy/modernize/UseDesignatedInitializersCheck.h
M clang-tools-extra/clang-tidy/modernize/UseStdFormatCheck.cpp
M clang-tools-extra/clang-tidy/modernize/UseStdPrintCheck.cpp
M clang-tools-extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp
M clang-tools-extra/clang-tidy/performance/MoveConstArgCheck.cpp
M clang-tools-extra/clang-tidy/performance/UnnecessaryCopyInitialization.cpp
M clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
M clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp
M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.h
M clang-tools-extra/clang-tidy/readability/ImplicitBoolConversionCheck.cpp
M clang-tools-extra/clang-tidy/readability/MathMissingParenthesesCheck.cpp
M clang-tools-extra/clang-tidy/readability/RedundantMemberInitCheck.cpp
M clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py
M clang-tools-extra/clang-tidy/utils/DeclRefExprUtils.cpp
M clang-tools-extra/clang-tidy/utils/FormatStringConverter.cpp
M clang-tools-extra/clang-tidy/utils/Matchers.h
M clang-tools-extra/clangd/Config.h
M clang-tools-extra/clangd/ConfigCompile.cpp
M clang-tools-extra/clangd/ConfigFragment.h
M clang-tools-extra/clangd/ConfigYAML.cpp
M clang-tools-extra/clangd/FindSymbols.cpp
M clang-tools-extra/clangd/GlobalCompilationDatabase.cpp
M clang-tools-extra/clangd/IncludeCleaner.cpp
M clang-tools-extra/clangd/IncludeCleaner.h
M clang-tools-extra/clangd/ParsedAST.cpp
M clang-tools-extra/clangd/Selection.h
M clang-tools-extra/clangd/SemanticHighlighting.cpp
M clang-tools-extra/clangd/TidyProvider.cpp
M clang-tools-extra/clangd/XRefs.cpp
M clang-tools-extra/clangd/index/remote/CMakeLists.txt
M clang-tools-extra/clangd/refactor/Rename.cpp
M clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
M clang-tools-extra/clangd/unittests/ASTTests.cpp
M clang-tools-extra/clangd/unittests/ConfigCompileTests.cpp
M clang-tools-extra/clangd/unittests/ConfigYAMLTests.cpp
M clang-tools-extra/clangd/unittests/HoverTests.cpp
M clang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp
M clang-tools-extra/clangd/unittests/InlayHintTests.cpp
M clang-tools-extra/clangd/unittests/PreambleTests.cpp
M clang-tools-extra/clangd/unittests/ReplayPeambleTests.cpp
M clang-tools-extra/clangd/unittests/XRefsTests.cpp
M clang-tools-extra/clangd/unittests/tweaks/DefineOutlineTests.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/bugprone/sizeof-expression.rst
A clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/cplusplus.ArrayDelete.rst
A clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/security.SetgidSetuidOrder.rst
A clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/unix.Stream.rst
M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/macro-usage.rst
M clang-tools-extra/docs/clang-tidy/checks/gen-static-analyzer-docs.py
M clang-tools-extra/docs/clang-tidy/checks/list.rst
A clang-tools-extra/docs/clang-tidy/checks/misc/use-internal-linkage.rst
M clang-tools-extra/docs/clang-tidy/checks/modernize/use-designated-initializers.rst
M clang-tools-extra/docs/clang-tidy/checks/readability/identifier-length.rst
M clang-tools-extra/include-cleaner/lib/IncludeSpeller.cpp
M clang-tools-extra/include-cleaner/lib/Record.cpp
M clang-tools-extra/include-cleaner/unittests/FindHeadersTest.cpp
M clang-tools-extra/include-cleaner/unittests/IncludeSpellerTest.cpp
M clang-tools-extra/include-cleaner/unittests/RecordTest.cpp
M clang-tools-extra/include-cleaner/unittests/WalkASTTest.cpp
M clang-tools-extra/pseudo/lib/CMakeLists.txt
M clang-tools-extra/pseudo/lib/cxx/CMakeLists.txt
M clang-tools-extra/test/CMakeLists.txt
A clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
A clang-tools-extra/test/clang-doc/Inputs/basic-project/include/Calculator.h
A clang-tools-extra/test/clang-doc/Inputs/basic-project/include/Circle.h
A clang-tools-extra/test/clang-doc/Inputs/basic-project/include/Rectangle.h
A clang-tools-extra/test/clang-doc/Inputs/basic-project/include/Shape.h
A clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Calculator.cpp
A clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Circle.cpp
A clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Rectangle.cpp
A clang-tools-extra/test/clang-doc/basic-project.test
M clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp
M clang-tools-extra/test/clang-tidy/checkers/bugprone/multi-level-implicit-pointer-conversion.cpp
M clang-tools-extra/test/clang-tidy/checkers/bugprone/return-const-ref-from-parameter.cpp
M clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression-2.c
A clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression-any-pointer.cpp
M clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression.cpp
M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/macro-usage.cpp
A clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage/func.h
A clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage/func_cpp.inc
A clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage/func_h.inc
A clang-tools-extra/test/clang-tidy/checkers/misc/Inputs/use-internal-linkage/var.h
A clang-tools-extra/test/clang-tidy/checkers/misc/header-include-cycle.self.cpp
A clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-func.cpp
A clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-var.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize/min-max-use-initializer-list.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize/use-designated-initializers.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize/use-emplace-ignore-implicit-constructors.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize/use-emplace.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize/use-std-format-custom.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize/use-std-print-custom.cpp
M clang-tools-extra/test/clang-tidy/checkers/performance/inefficient-vector-operation.cpp
M clang-tools-extra/test/clang-tidy/checkers/performance/move-const-arg.cpp
M clang-tools-extra/test/clang-tidy/checkers/performance/unnecessary-copy-initialization.cpp
M clang-tools-extra/test/clang-tidy/checkers/readability/container-size-empty.cpp
A clang-tools-extra/test/clang-tidy/checkers/readability/implicit-bool-conversion-cxx20.cpp
M clang-tools-extra/test/clang-tidy/checkers/readability/isolate-declaration-cxx17.cpp
M clang-tools-extra/test/clang-tidy/checkers/readability/math-missing-parentheses.cpp
M clang-tools-extra/test/clang-tidy/checkers/readability/redundant-member-init.cpp
M clang-tools-extra/test/pp-trace/pp-trace-macro.cpp
M clang-tools-extra/unittests/clang-tidy/DeclRefExprUtilsTest.cpp
M clang/CMakeLists.txt
M clang/README.txt
M clang/bindings/python/clang/cindex.py
A clang/bindings/python/tests/cindex/test_enums.py
M clang/cmake/caches/CrossWinToARMLinux.cmake
M clang/cmake/caches/Fuchsia-stage2.cmake
M clang/cmake/caches/Release.cmake
M clang/cmake/modules/AddClang.cmake
M clang/docs/APINotes.rst
M clang/docs/BoundsSafety.rst
M clang/docs/BoundsSafetyImplPlans.rst
M clang/docs/ClangFormatStyleOptions.rst
M clang/docs/CommandGuide/clang.rst
M clang/docs/InternalsManual.rst
M clang/docs/LanguageExtensions.rst
M clang/docs/PointerAuthentication.rst
M clang/docs/ReleaseNotes.rst
M clang/docs/SourceBasedCodeCoverage.rst
M clang/docs/ThreadSafetyAnalysis.rst
M clang/docs/UsersManual.rst
M clang/docs/analyzer/checkers.rst
M clang/docs/tools/clang-formatted-files.txt
M clang/examples/PrintFunctionNames/PrintFunctionNames.cpp
M clang/include/clang-c/Index.h
M clang/include/clang/APINotes/APINotesManager.h
M clang/include/clang/AST/ASTContext.h
M clang/include/clang/AST/ASTUnresolvedSet.h
M clang/include/clang/AST/AbstractBasicReader.h
M clang/include/clang/AST/AbstractBasicWriter.h
M clang/include/clang/AST/CommentCommandTraits.h
M clang/include/clang/AST/CommentCommands.td
M clang/include/clang/AST/CommentParser.h
M clang/include/clang/AST/Decl.h
M clang/include/clang/AST/DeclAccessPair.h
M clang/include/clang/AST/DeclBase.h
M clang/include/clang/AST/DeclID.h
M clang/include/clang/AST/Expr.h
M clang/include/clang/AST/ExprCXX.h
M clang/include/clang/AST/OpenACCClause.h
M clang/include/clang/AST/PrettyPrinter.h
M clang/include/clang/AST/PropertiesBase.td
M clang/include/clang/AST/RecursiveASTVisitor.h
M clang/include/clang/AST/StmtOpenACC.h
M clang/include/clang/AST/TemplateBase.h
M clang/include/clang/AST/TemplateName.h
M clang/include/clang/AST/TextNodeDumper.h
M clang/include/clang/AST/Type.h
M clang/include/clang/AST/TypeProperties.td
M clang/include/clang/AST/UnresolvedSet.h
M clang/include/clang/ASTMatchers/ASTMatchers.h
M clang/include/clang/Analysis/Analyses/ThreadSafetyCommon.h
M clang/include/clang/Analysis/FlowSensitive/ASTOps.h
M clang/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h
M clang/include/clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h
A clang/include/clang/Basic/AMDGPUTypes.def
A clang/include/clang/Basic/ASTSourceDescriptor.h
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Basic/Builtins.def
M clang/include/clang/Basic/Builtins.td
M clang/include/clang/Basic/BuiltinsAArch64.def
M clang/include/clang/Basic/BuiltinsAMDGPU.def
M clang/include/clang/Basic/BuiltinsNVPTX.def
M clang/include/clang/Basic/BuiltinsWebAssembly.def
M clang/include/clang/Basic/CharInfo.h
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Basic/CodeGenOptions.h
M clang/include/clang/Basic/Cuda.h
M clang/include/clang/Basic/CustomizableOptional.h
M clang/include/clang/Basic/DebugOptions.def
M clang/include/clang/Basic/DiagnosticCommonKinds.td
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticInstallAPIKinds.td
M clang/include/clang/Basic/DiagnosticLexKinds.td
M clang/include/clang/Basic/DiagnosticOptions.h
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/Features.def
M clang/include/clang/Basic/FileManager.h
M clang/include/clang/Basic/LangOptions.def
M clang/include/clang/Basic/LangOptions.h
M clang/include/clang/Basic/Module.h
M clang/include/clang/Basic/OpenACCClauses.def
M clang/include/clang/Basic/PointerAuthOptions.h
M clang/include/clang/Basic/Sanitizers.def
M clang/include/clang/Basic/SourceManager.h
M clang/include/clang/Basic/StmtNodes.td
M clang/include/clang/Basic/TargetInfo.h
M clang/include/clang/Basic/TokenKinds.def
M clang/include/clang/Basic/arm_sme.td
M clang/include/clang/Basic/arm_sve.td
M clang/include/clang/Basic/arm_sve_sme_incl.td
M clang/include/clang/Basic/riscv_vector.td
M clang/include/clang/Driver/Driver.h
M clang/include/clang/Driver/Options.td
M clang/include/clang/Driver/SanitizerArgs.h
M clang/include/clang/Driver/ToolChain.h
M clang/include/clang/ExtractAPI/ExtractAPIVisitor.h
M clang/include/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h
M clang/include/clang/Format/Format.h
M clang/include/clang/Frontend/CompilerInvocation.h
M clang/include/clang/Frontend/FrontendOptions.h
M clang/include/clang/Frontend/PrecompiledPreamble.h
M clang/include/clang/Frontend/PreprocessorOutputOptions.h
M clang/include/clang/Frontend/SerializedDiagnosticReader.h
A clang/include/clang/InstallAPI/DirectoryScanner.h
M clang/include/clang/InstallAPI/DylibVerifier.h
M clang/include/clang/InstallAPI/HeaderFile.h
A clang/include/clang/InstallAPI/Library.h
M clang/include/clang/InstallAPI/MachO.h
M clang/include/clang/Interpreter/Interpreter.h
M clang/include/clang/Lex/ExternalPreprocessorSource.h
M clang/include/clang/Lex/HeaderSearch.h
M clang/include/clang/Lex/HeaderSearchOptions.h
M clang/include/clang/Lex/PPCallbacks.h
A clang/include/clang/Lex/PPDirectiveParameter.h
A clang/include/clang/Lex/PPEmbedParameters.h
M clang/include/clang/Lex/Preprocessor.h
M clang/include/clang/Lex/PreprocessorOptions.h
M clang/include/clang/Parse/Parser.h
A clang/include/clang/Sema/Attr.h
M clang/include/clang/Sema/Initialization.h
M clang/include/clang/Sema/Overload.h
M clang/include/clang/Sema/ParsedAttr.h
M clang/include/clang/Sema/Sema.h
A clang/include/clang/Sema/SemaAMDGPU.h
A clang/include/clang/Sema/SemaARM.h
A clang/include/clang/Sema/SemaAVR.h
A clang/include/clang/Sema/SemaBPF.h
M clang/include/clang/Sema/SemaBase.h
M clang/include/clang/Sema/SemaHLSL.h
A clang/include/clang/Sema/SemaHexagon.h
M clang/include/clang/Sema/SemaInternal.h
A clang/include/clang/Sema/SemaLoongArch.h
A clang/include/clang/Sema/SemaM68k.h
A clang/include/clang/Sema/SemaMIPS.h
A clang/include/clang/Sema/SemaMSP430.h
A clang/include/clang/Sema/SemaNVPTX.h
M clang/include/clang/Sema/SemaObjC.h
M clang/include/clang/Sema/SemaOpenACC.h
A clang/include/clang/Sema/SemaOpenCL.h
M clang/include/clang/Sema/SemaOpenMP.h
A clang/include/clang/Sema/SemaPPC.h
M clang/include/clang/Sema/SemaRISCV.h
M clang/include/clang/Sema/SemaSYCL.h
A clang/include/clang/Sema/SemaSwift.h
A clang/include/clang/Sema/SemaSystemZ.h
A clang/include/clang/Sema/SemaWasm.h
M clang/include/clang/Sema/SemaX86.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ASTRecordReader.h
M clang/include/clang/Serialization/ASTWriter.h
M clang/include/clang/Serialization/ModuleFile.h
M clang/include/clang/Serialization/ModuleManager.h
M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
M clang/include/clang/Testing/TestAST.h
M clang/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h
M clang/include/clang/Tooling/Syntax/Tokens.h
M clang/lib/APINotes/APINotesManager.cpp
M clang/lib/ARCMigrate/TransUnbridgedCasts.cpp
M clang/lib/AST/APValue.cpp
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/ASTDumper.cpp
M clang/lib/AST/ASTImporter.cpp
M clang/lib/AST/ASTStructuralEquivalence.cpp
M clang/lib/AST/CMakeLists.txt
M clang/lib/AST/CommentParser.cpp
M clang/lib/AST/Decl.cpp
M clang/lib/AST/DeclBase.cpp
M clang/lib/AST/DeclCXX.cpp
M clang/lib/AST/DeclTemplate.cpp
M clang/lib/AST/Expr.cpp
M clang/lib/AST/ExprCXX.cpp
M clang/lib/AST/ExprClassification.cpp
M clang/lib/AST/ExprConstShared.h
M clang/lib/AST/ExprConstant.cpp
M clang/lib/AST/ExternalASTSource.cpp
M clang/lib/AST/Interp/ByteCodeEmitter.h
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/lib/AST/Interp/ByteCodeStmtGen.cpp
M clang/lib/AST/Interp/Context.cpp
M clang/lib/AST/Interp/Context.h
M clang/lib/AST/Interp/Descriptor.cpp
M clang/lib/AST/Interp/Descriptor.h
M clang/lib/AST/Interp/Disasm.cpp
M clang/lib/AST/Interp/EvalEmitter.cpp
M clang/lib/AST/Interp/EvalEmitter.h
M clang/lib/AST/Interp/EvaluationResult.cpp
M clang/lib/AST/Interp/Function.cpp
M clang/lib/AST/Interp/Function.h
M clang/lib/AST/Interp/Interp.cpp
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/InterpBlock.h
M clang/lib/AST/Interp/InterpBuiltin.cpp
M clang/lib/AST/Interp/InterpFrame.cpp
M clang/lib/AST/Interp/InterpStack.cpp
M clang/lib/AST/Interp/InterpStack.h
M clang/lib/AST/Interp/InterpState.cpp
M clang/lib/AST/Interp/InterpState.h
A clang/lib/AST/Interp/MemberPointer.cpp
A clang/lib/AST/Interp/MemberPointer.h
M clang/lib/AST/Interp/Opcodes.td
M clang/lib/AST/Interp/Pointer.cpp
M clang/lib/AST/Interp/Pointer.h
M clang/lib/AST/Interp/PrimType.cpp
M clang/lib/AST/Interp/PrimType.h
M clang/lib/AST/Interp/Program.cpp
M clang/lib/AST/Interp/Program.h
M clang/lib/AST/Interp/Record.cpp
M clang/lib/AST/ItaniumMangle.cpp
M clang/lib/AST/Mangle.cpp
M clang/lib/AST/MicrosoftMangle.cpp
M clang/lib/AST/NSAPI.cpp
M clang/lib/AST/ODRHash.cpp
M clang/lib/AST/OpenACCClause.cpp
M clang/lib/AST/ParentMap.cpp
M clang/lib/AST/PrintfFormatString.cpp
M clang/lib/AST/QualTypeNames.cpp
M clang/lib/AST/StmtOpenACC.cpp
M clang/lib/AST/StmtPrinter.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/TemplateBase.cpp
M clang/lib/AST/TemplateName.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/AST/Type.cpp
M clang/lib/AST/TypeLoc.cpp
M clang/lib/AST/TypePrinter.cpp
M clang/lib/Analysis/CFG.cpp
M clang/lib/Analysis/FlowSensitive/ASTOps.cpp
M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp
M clang/lib/Analysis/MacroExpansionContext.cpp
M clang/lib/Analysis/ThreadSafety.cpp
A clang/lib/Basic/ASTSourceDescriptor.cpp
M clang/lib/Basic/CMakeLists.txt
M clang/lib/Basic/CharInfo.cpp
M clang/lib/Basic/Cuda.cpp
M clang/lib/Basic/Diagnostic.cpp
M clang/lib/Basic/FileManager.cpp
M clang/lib/Basic/IdentifierTable.cpp
M clang/lib/Basic/Module.cpp
M clang/lib/Basic/SourceManager.cpp
M clang/lib/Basic/Targets.cpp
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Basic/Targets/AArch64.h
M clang/lib/Basic/Targets/LoongArch.h
M clang/lib/Basic/Targets/NVPTX.cpp
M clang/lib/Basic/Targets/OSTargets.h
M clang/lib/Basic/Targets/PPC.h
M clang/lib/Basic/Targets/RISCV.cpp
M clang/lib/Basic/Targets/SPIR.cpp
M clang/lib/Basic/Targets/SPIR.h
M clang/lib/Basic/Targets/WebAssembly.cpp
M clang/lib/Basic/Targets/X86.cpp
M clang/lib/Basic/Targets/X86.h
M clang/lib/CodeGen/ABIInfo.cpp
M clang/lib/CodeGen/ABIInfo.h
M clang/lib/CodeGen/ABIInfoImpl.cpp
M clang/lib/CodeGen/ABIInfoImpl.h
M clang/lib/CodeGen/BackendUtil.cpp
M clang/lib/CodeGen/CGBlocks.cpp
M clang/lib/CodeGen/CGBuilder.h
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGCUDANV.cpp
M clang/lib/CodeGen/CGCXXABI.h
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CGCall.h
M clang/lib/CodeGen/CGClass.cpp
M clang/lib/CodeGen/CGCleanup.cpp
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/CodeGen/CGDebugInfo.h
M clang/lib/CodeGen/CGDecl.cpp
M clang/lib/CodeGen/CGDeclCXX.cpp
M clang/lib/CodeGen/CGExpr.cpp
M clang/lib/CodeGen/CGExprAgg.cpp
M clang/lib/CodeGen/CGExprCXX.cpp
M clang/lib/CodeGen/CGExprComplex.cpp
M clang/lib/CodeGen/CGExprConstant.cpp
M clang/lib/CodeGen/CGExprScalar.cpp
M clang/lib/CodeGen/CGHLSLRuntime.cpp
M clang/lib/CodeGen/CGHLSLRuntime.h
M clang/lib/CodeGen/CGObjCGNU.cpp
M clang/lib/CodeGen/CGObjCMac.cpp
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
A clang/lib/CodeGen/CGPointerAuth.cpp
A clang/lib/CodeGen/CGPointerAuthInfo.h
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/lib/CodeGen/CGVTables.cpp
M clang/lib/CodeGen/CMakeLists.txt
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/CodeGenModule.h
M clang/lib/CodeGen/CodeGenPGO.cpp
M clang/lib/CodeGen/CodeGenTypes.cpp
M clang/lib/CodeGen/CoverageMappingGen.cpp
M clang/lib/CodeGen/ItaniumCXXABI.cpp
M clang/lib/CodeGen/MCDCState.h
M clang/lib/CodeGen/MicrosoftCXXABI.cpp
M clang/lib/CodeGen/Targets/AArch64.cpp
M clang/lib/CodeGen/Targets/AMDGPU.cpp
M clang/lib/CodeGen/Targets/ARC.cpp
M clang/lib/CodeGen/Targets/ARM.cpp
M clang/lib/CodeGen/Targets/CSKY.cpp
M clang/lib/CodeGen/Targets/Hexagon.cpp
M clang/lib/CodeGen/Targets/LoongArch.cpp
M clang/lib/CodeGen/Targets/MSP430.cpp
M clang/lib/CodeGen/Targets/Mips.cpp
M clang/lib/CodeGen/Targets/NVPTX.cpp
M clang/lib/CodeGen/Targets/PNaCl.cpp
M clang/lib/CodeGen/Targets/PPC.cpp
M clang/lib/CodeGen/Targets/RISCV.cpp
M clang/lib/CodeGen/Targets/Sparc.cpp
M clang/lib/CodeGen/Targets/SystemZ.cpp
M clang/lib/CodeGen/Targets/WebAssembly.cpp
M clang/lib/CodeGen/Targets/X86.cpp
M clang/lib/CodeGen/Targets/XCore.cpp
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/SanitizerArgs.cpp
M clang/lib/Driver/ToolChain.cpp
M clang/lib/Driver/ToolChains/AMDGPU.cpp
M clang/lib/Driver/ToolChains/AMDGPU.h
M clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
M clang/lib/Driver/ToolChains/Arch/AArch64.cpp
M clang/lib/Driver/ToolChains/Arch/ARM.cpp
M clang/lib/Driver/ToolChains/Arch/RISCV.cpp
M clang/lib/Driver/ToolChains/Arch/X86.cpp
M clang/lib/Driver/ToolChains/BareMetal.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/lib/Driver/ToolChains/Cuda.cpp
M clang/lib/Driver/ToolChains/Darwin.cpp
M clang/lib/Driver/ToolChains/Flang.cpp
M clang/lib/Driver/ToolChains/Fuchsia.cpp
M clang/lib/Driver/ToolChains/Gnu.cpp
M clang/lib/Driver/ToolChains/HIPUtility.cpp
M clang/lib/Driver/ToolChains/Linux.cpp
M clang/lib/Driver/ToolChains/MSVC.cpp
M clang/lib/Driver/ToolChains/MSVC.h
M clang/lib/Driver/ToolChains/SPIRV.cpp
M clang/lib/Driver/ToolChains/WebAssembly.cpp
M clang/lib/ExtractAPI/API.cpp
M clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
M clang/lib/Format/CMakeLists.txt
M clang/lib/Format/ContinuationIndenter.cpp
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatToken.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/TokenAnnotator.h
M clang/lib/Format/UnwrappedLineFormatter.cpp
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Format/UnwrappedLineParser.h
M clang/lib/Frontend/ASTUnit.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Frontend/DependencyFile.cpp
M clang/lib/Frontend/DependencyGraph.cpp
M clang/lib/Frontend/FrontendActions.cpp
M clang/lib/Frontend/InitPreprocessor.cpp
M clang/lib/Frontend/PrecompiledPreamble.cpp
M clang/lib/Frontend/PrintPreprocessedOutput.cpp
M clang/lib/Frontend/TextDiagnostic.cpp
M clang/lib/Headers/CMakeLists.txt
M clang/lib/Headers/cuda_wrappers/algorithm
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
M clang/lib/Headers/intrin.h
M clang/lib/Headers/ptrauth.h
M clang/lib/Index/CommentToXML.cpp
M clang/lib/Index/IndexBody.cpp
M clang/lib/Index/USRGeneration.cpp
M clang/lib/InstallAPI/CMakeLists.txt
A clang/lib/InstallAPI/DirectoryScanner.cpp
A clang/lib/InstallAPI/Library.cpp
M clang/lib/InstallAPI/Visitor.cpp
M clang/lib/Interpreter/IncrementalParser.cpp
M clang/lib/Interpreter/Interpreter.cpp
M clang/lib/Lex/HeaderSearch.cpp
M clang/lib/Lex/Lexer.cpp
M clang/lib/Lex/PPDirectives.cpp
M clang/lib/Lex/PPExpressions.cpp
M clang/lib/Lex/PPMacroExpansion.cpp
M clang/lib/Lex/Preprocessor.cpp
M clang/lib/Lex/TokenConcatenation.cpp
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Parse/ParseExpr.cpp
M clang/lib/Parse/ParseExprCXX.cpp
M clang/lib/Parse/ParseInit.cpp
M clang/lib/Parse/ParseOpenACC.cpp
M clang/lib/Parse/ParseOpenMP.cpp
M clang/lib/Parse/ParseStmt.cpp
M clang/lib/Parse/ParseTemplate.cpp
M clang/lib/Sema/AnalysisBasedWarnings.cpp
M clang/lib/Sema/CMakeLists.txt
M clang/lib/Sema/DeclSpec.cpp
M clang/lib/Sema/Scope.cpp
M clang/lib/Sema/Sema.cpp
A clang/lib/Sema/SemaAMDGPU.cpp
M clang/lib/Sema/SemaAPINotes.cpp
A clang/lib/Sema/SemaARM.cpp
A clang/lib/Sema/SemaAVR.cpp
M clang/lib/Sema/SemaAvailability.cpp
A clang/lib/Sema/SemaBPF.cpp
M clang/lib/Sema/SemaBase.cpp
M clang/lib/Sema/SemaCUDA.cpp
M clang/lib/Sema/SemaCXXScopeSpec.cpp
M clang/lib/Sema/SemaCast.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Sema/SemaDeclObjC.cpp
M clang/lib/Sema/SemaExceptionSpec.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaExprCXX.cpp
M clang/lib/Sema/SemaExprMember.cpp
M clang/lib/Sema/SemaExprObjC.cpp
M clang/lib/Sema/SemaHLSL.cpp
A clang/lib/Sema/SemaHexagon.cpp
M clang/lib/Sema/SemaInit.cpp
M clang/lib/Sema/SemaLambda.cpp
M clang/lib/Sema/SemaLookup.cpp
A clang/lib/Sema/SemaLoongArch.cpp
A clang/lib/Sema/SemaM68k.cpp
A clang/lib/Sema/SemaMIPS.cpp
A clang/lib/Sema/SemaMSP430.cpp
M clang/lib/Sema/SemaModule.cpp
A clang/lib/Sema/SemaNVPTX.cpp
M clang/lib/Sema/SemaObjC.cpp
M clang/lib/Sema/SemaOpenACC.cpp
A clang/lib/Sema/SemaOpenCL.cpp
M clang/lib/Sema/SemaOpenMP.cpp
M clang/lib/Sema/SemaOverload.cpp
A clang/lib/Sema/SemaPPC.cpp
M clang/lib/Sema/SemaRISCV.cpp
M clang/lib/Sema/SemaSYCL.cpp
M clang/lib/Sema/SemaStmt.cpp
M clang/lib/Sema/SemaStmtAttr.cpp
A clang/lib/Sema/SemaSwift.cpp
A clang/lib/Sema/SemaSystemZ.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaTemplateDeduction.cpp
M clang/lib/Sema/SemaTemplateInstantiate.cpp
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
M clang/lib/Sema/SemaType.cpp
A clang/lib/Sema/SemaWasm.cpp
M clang/lib/Sema/SemaX86.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTCommon.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/lib/Serialization/ASTReaderStmt.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/ASTWriterDecl.cpp
M clang/lib/Serialization/ASTWriterStmt.cpp
M clang/lib/Serialization/GlobalModuleIndex.cpp
M clang/lib/Serialization/ModuleFile.cpp
M clang/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
R clang/lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp
M clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
A clang/lib/StaticAnalyzer/Checkers/NoOwnershipChangeVisitor.cpp
A clang/lib/StaticAnalyzer/Checkers/NoOwnershipChangeVisitor.h
M clang/lib/StaticAnalyzer/Checkers/PointerSubChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
M clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
M clang/lib/StaticAnalyzer/Core/MemRegion.cpp
M clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
M clang/lib/Support/CMakeLists.txt
M clang/lib/Testing/TestAST.cpp
M clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
M clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
M clang/lib/Tooling/JSONCompilationDatabase.cpp
M clang/lib/Tooling/Syntax/Tokens.cpp
M clang/test/AST/HLSL/pch.hlsl
M clang/test/AST/HLSL/pch_with_buf.hlsl
M clang/test/AST/HLSL/vector-alias.hlsl
M clang/test/AST/HLSL/vector-constructors.hlsl
M clang/test/AST/Interp/arrays.cpp
M clang/test/AST/Interp/builtin-align-cxx.cpp
M clang/test/AST/Interp/c.c
M clang/test/AST/Interp/complex.cpp
M clang/test/AST/Interp/const-eval.c
M clang/test/AST/Interp/cxx11.cpp
M clang/test/AST/Interp/cxx20.cpp
M clang/test/AST/Interp/cxx23.cpp
A clang/test/AST/Interp/cxx26.cpp
M clang/test/AST/Interp/cxx98.cpp
M clang/test/AST/Interp/eval-order.cpp
M clang/test/AST/Interp/functions.cpp
A clang/test/AST/Interp/hlsl.hlsl
M clang/test/AST/Interp/lambda.cpp
M clang/test/AST/Interp/literals.cpp
A clang/test/AST/Interp/memberpointers.cpp
M clang/test/AST/Interp/opencl.cl
M clang/test/AST/Interp/records.cpp
M clang/test/AST/Interp/references.cpp
M clang/test/AST/Interp/vectors.cpp
M clang/test/AST/ast-dump-APValue-anon-union.cpp
A clang/test/AST/ast-dump-amdgpu-types.c
M clang/test/AST/ast-dump-ctad-alias.cpp
M clang/test/AST/ast-dump-decl.cpp
M clang/test/AST/ast-dump-default-init-json.cpp
M clang/test/AST/ast-dump-default-init.cpp
M clang/test/AST/ast-dump-expr.cpp
M clang/test/AST/ast-dump-openmp-begin-declare-variant_template_2.cpp
M clang/test/AST/ast-dump-template-decls.cpp
A clang/test/AST/ast-dump-template-name.cpp
M clang/test/AST/ast-dump-using-template.cpp
A clang/test/AST/ast-print-openacc-loop-construct.cpp
M clang/test/AST/constraints-explicit-instantiation.cpp
M clang/test/Analysis/Inputs/system-header-simulator-for-simple-stream.h
M clang/test/Analysis/analyzer-enabled-checkers.c
M clang/test/Analysis/block-in-critical-section.c
M clang/test/Analysis/block-in-critical-section.cpp
M clang/test/Analysis/block-in-critical-section.m
M clang/test/Analysis/builtin_signbit.cpp
M clang/test/Analysis/casts.c
M clang/test/Analysis/cfg-openmp.cpp
M clang/test/Analysis/cxx-uninitialized-object.cpp
M clang/test/Analysis/equality_tracking.c
M clang/test/Analysis/errno-stdlibraryfunctions.c
A clang/test/Analysis/fread.c
M clang/test/Analysis/lifetime-extended-regions.cpp
M clang/test/Analysis/malloc.c
M clang/test/Analysis/malloc.cpp
A clang/test/Analysis/pointer-sub-notes.c
A clang/test/Analysis/pointer-sub.c
M clang/test/Analysis/ptr-arith.c
M clang/test/Analysis/putenv-stack-array.c
R clang/test/Analysis/sizeofpointer.c
M clang/test/Analysis/std-c-library-functions-arg-enabled-checkers.c
A clang/test/Analysis/stream-notes-missing-close.cpp
M clang/test/Analysis/taint-diagnostic-visitor.c
A clang/test/C/C11/n1285.c
A clang/test/C/C11/n1464.c
A clang/test/C/C2x/Inputs/bits.bin
A clang/test/C/C2x/Inputs/boop.h
A clang/test/C/C2x/Inputs/i.dat
A clang/test/C/C2x/Inputs/jump.wav
A clang/test/C/C2x/Inputs/s.dat
A clang/test/C/C2x/n2819.c
A clang/test/C/C2x/n3017.c
A clang/test/C/C2x/n3033.c
A clang/test/C/C2x/n3033_2.c
M clang/test/C/C99/block-scopes.c
A clang/test/C/C99/n448.c
M clang/test/CXX/basic/basic.lookup/basic.lookup.elab/p2.cpp
M clang/test/CXX/basic/basic.start/basic.start.init/p3.cpp
M clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p6-cxx11.cpp
M clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.nodiscard/p2.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p3.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.stc/p1.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p4.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p7-cxx14.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.elab/p2-0x.cpp
M clang/test/CXX/drs/cwg0xx.cpp
M clang/test/CXX/drs/cwg16xx.cpp
M clang/test/CXX/drs/cwg18xx.cpp
M clang/test/CXX/drs/cwg19xx.cpp
M clang/test/CXX/drs/cwg1xx.cpp
M clang/test/CXX/drs/cwg21xx.cpp
R clang/test/CXX/drs/cwg2390.cpp
M clang/test/CXX/drs/cwg23xx.cpp
M clang/test/CXX/drs/cwg24xx.cpp
M clang/test/CXX/drs/cwg2630.cpp
M clang/test/CXX/drs/cwg26xx.cpp
A clang/test/CXX/drs/cwg2771.cpp
M clang/test/CXX/drs/cwg27xx.cpp
M clang/test/CXX/drs/cwg28xx.cpp
M clang/test/CXX/drs/cwg2xx.cpp
M clang/test/CXX/drs/cwg3xx.cpp
M clang/test/CXX/drs/cwg4xx.cpp
M clang/test/CXX/drs/cwg7xx.cpp
M clang/test/CXX/drs/cwg8xx.cpp
M clang/test/CXX/expr/expr.prim/expr.prim.req/compound-requirement.cpp
M clang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p3-2a.cpp
M clang/test/CXX/special/class.temporary/p6.cpp
M clang/test/CXX/temp/temp.decls/temp.friend/p1.cpp
M clang/test/CXX/temp/temp.decls/temp.mem/p2.cpp
M clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp
M clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p9-0x.cpp
M clang/test/CXX/temp/temp.res/temp.dep/temp.dep.constexpr/p2-0x.cpp
M clang/test/CXX/temp/temp.spec/no-body.cpp
M clang/test/CXX/temp/temp.spec/temp.expl.spec/p17.cpp
M clang/test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp
A clang/test/CXX/temp/temp.spec/temp.expl.spec/p2-20.cpp
M clang/test/ClangScanDeps/diagnostics.c
M clang/test/ClangScanDeps/header-search-pruning-transitive.c
M clang/test/ClangScanDeps/header-search-pruning.cpp
A clang/test/ClangScanDeps/link-libraries.c
M clang/test/ClangScanDeps/modules-canononical-module-map-case.c
M clang/test/ClangScanDeps/modules-context-hash.c
M clang/test/ClangScanDeps/modules-dep-args.c
M clang/test/ClangScanDeps/modules-excluded-header.m
M clang/test/ClangScanDeps/modules-extern-submodule.c
M clang/test/ClangScanDeps/modules-extern-unrelated.m
M clang/test/ClangScanDeps/modules-file-path-isolation.c
M clang/test/ClangScanDeps/modules-fmodule-name-no-module-built.m
M clang/test/ClangScanDeps/modules-full-by-mod-name.c
M clang/test/ClangScanDeps/modules-full.cpp
M clang/test/ClangScanDeps/modules-implementation-private.m
M clang/test/ClangScanDeps/modules-implicit-dot-private.m
M clang/test/ClangScanDeps/modules-incomplete-umbrella.c
M clang/test/ClangScanDeps/modules-inferred.m
M clang/test/ClangScanDeps/modules-no-undeclared-includes.c
M clang/test/ClangScanDeps/modules-pch-common-submodule.c
M clang/test/ClangScanDeps/modules-pch-common-via-submodule.c
M clang/test/ClangScanDeps/modules-pch.c
M clang/test/ClangScanDeps/modules-priv-fw-from-pub.m
M clang/test/ClangScanDeps/modules-redefinition.m
M clang/test/ClangScanDeps/modules-symlink-dir-vfs.c
M clang/test/ClangScanDeps/modules-transitive.c
M clang/test/ClangScanDeps/optimize-canonicalize-macros.m
M clang/test/ClangScanDeps/optimize-fmodulemap.m
M clang/test/ClangScanDeps/optimize-system-warnings.m
M clang/test/ClangScanDeps/optimize-vfs-leak.m
M clang/test/ClangScanDeps/optimize-vfs.m
M clang/test/ClangScanDeps/removed-args.c
M clang/test/ClangScanDeps/working-dir.m
M clang/test/CodeCompletion/ctor-signature.cpp
M clang/test/CodeGen/2010-07-08-DeclDebugLineNo.c
A clang/test/CodeGen/PowerPC/inline-asm-constraints-error.c
M clang/test/CodeGen/RISCV/riscv-func-attr-target.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/vcpopv.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/overloaded/vcpopv.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/vcpopv.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/vcpopv.c
M clang/test/CodeGen/X86/math-builtins.c
M clang/test/CodeGen/X86/ms-x86-intrinsics.c
A clang/test/CodeGen/X86/x86-atomic-double.c
M clang/test/CodeGen/X86/x86-atomic-float.c
M clang/test/CodeGen/X86/x86-atomic-long_double.c
M clang/test/CodeGen/X86/x86_64-instrument-functions.c
M clang/test/CodeGen/X86/x86_64-vaarg.c
M clang/test/CodeGen/aarch64-cpu-supports-target.c
M clang/test/CodeGen/aarch64-fmv-dependencies.c
M clang/test/CodeGen/aarch64-mixed-target-attributes.c
M clang/test/CodeGen/aarch64-sme-intrinsics/aarch64-sme-attrs.cpp
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_add-i64.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_mopa-za64.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_mops-za64.c
A clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_state_builtin.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/aarch64-sme2-attrs.cpp
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_add.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_add_sub_za16.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_bmop.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_clamp.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvt.c
A clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvtl.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvtn.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_fmlas16.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_fp_dots.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_frint.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_int_dots.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti2_lane_zt.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti2_lane_zt_x2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti2_lane_zt_x4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti4_lane_zt.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti4_lane_zt_x2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_luti4_lane_zt_x4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_max.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_maxnm.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_min.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_minnm.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mla.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mlal.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mlall.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mls.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mlsl.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mop.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mopa_nonwide.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_read.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_reinterpret_svcount_svbool.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_sqdmulh.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_sub.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_unpkx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_unpkx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vdot.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_add.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_qrshr.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_rshl.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_selx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_selx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_uzpx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_uzpx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_zipx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_zipx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_write.c
A clang/test/CodeGen/aarch64-sme2p1-intrinsics/acle_sme2p1_zero.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_abd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_abs.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_acge.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_acgt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_acle.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_aclt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_add.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_addv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_and.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_andv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_asr.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_asrd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bfdot.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bfmlalb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bfmlalt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_bic.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brka.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkn.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkpa.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_brkpb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cadd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clasta-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clasta.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clastb-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clastb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cls.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_clz.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmla.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpeq.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpge.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpgt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmple.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmplt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpne.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cmpuo.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnot.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnt-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cnth.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntp.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cntw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cvt-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cvt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_cvtnt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_div.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_divr.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dot.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dup-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dup.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dupq-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_dupq.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_eor.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_eorv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ext-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ext.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_extb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_exth.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_extw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_index.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_insr-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_insr.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lasta-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lasta.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lastb-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lastb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1rq-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1rq.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1ub.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1uh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1uw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnt1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnt1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_len-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_len.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lsl.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_lsr.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mad.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_max.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxnm.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxnmv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_min.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minnm.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minnmv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mla.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mls.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mov.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_msb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mul.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mulh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mulx.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nand.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_neg.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmad.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmla.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmls.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmsb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nor.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_not.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_orn.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_orr.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_orv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_pfalse.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_pfirst.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_pnext.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_prfw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ptest.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ptrue.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qadd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdech.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecp.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qdecw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qinch.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincp.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qincw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_qsub.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rbit.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_recpe.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_recps.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_recpx.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rev-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rev.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_revb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_revh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_revw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rinta.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rinti.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintm.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintn.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintp.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintx.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rintz.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rsqrte.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_rsqrts.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_scale.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sel-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sel.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_splice-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_splice.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sqrt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1b.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1h.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st1w.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_st4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_stnt1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_stnt1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sub.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_subr.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sudot.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tbl-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tbl.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_undef4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_unpklo.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_usdot.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_whilele.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_whilelt.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip2.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aba.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abalb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abalt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abdlb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_abdlt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adalp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_adclt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addhnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addhnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlbt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addlt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addwb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_addwt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aese.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesimc.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_aesmc.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bcax.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bdep.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bext.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bgrp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl1n.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_bsl2n.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cdot.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cmla.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtlt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtx.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_cvtxnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eor3.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eorbt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_eortb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_histcnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_histseg.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hsub.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_hsubr.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sh.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1sw.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1ub.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1uh.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_ldnt1uw.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_logb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_match.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_maxnmp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_maxp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_minnmp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_minp.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mla.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlalb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlalt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mls.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlslb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mlslt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_movlb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_movlt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mul.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mullb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_mullt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_nbsl.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_nmatch.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmul.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullb_128.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_pmullt_128.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qabs.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qcadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalbt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlalt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslbt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmlslt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmulh.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmullb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qdmullt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qneg.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdcmlah.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmlah.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmlsh.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrdmulh.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshl.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrunb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qrshrunt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshl.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshlu.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrunb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qshrunt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qsub.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qsubr.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtunb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_qxtunt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_raddhnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_raddhnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rax1.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_recpe.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_revd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rhadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshl.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshr.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshrnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rshrnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsqrte.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsra.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsubhnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_rsubhnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sbclt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shllb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shllt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shrnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_shrnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sli.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sm4e.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sm4ekey.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sqadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sra.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sri.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1b.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1h.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_stnt1w.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subhnb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subhnt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublbt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_sublt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subltb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subwb.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_subwt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbl2-bfloat.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbl2.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbx-bfloat.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_tbx.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_uqadd.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilege.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilegt.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilerw-bfloat.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilerw.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilewr-bfloat.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_whilewr.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_xar.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfadd.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmax.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmaxnm.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmin.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfminnm.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmla.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmla_lane.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmls.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmls_lane.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmlsl.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmul.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmul_lane.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfsub.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_cntp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_create2_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_create4_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_dot.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_dupq.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_extq.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_fclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_fp_reduce.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_get2_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_get4_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_int_reduce.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ld1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ld1_single.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ldnt1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_loads.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pext.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pfalse.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pmov_to_pred.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pmov_to_vector.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_psel.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_psel_svcount.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ptrue.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_qcvtn.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_qrshr.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_sclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set2_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set4_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_st1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_st1_single.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_stnt1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_store.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_tblq.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_tbxq.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_undef_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uzpq1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uzpq2.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_while_pn.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_while_x2.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_zipq1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_zipq2.c
M clang/test/CodeGen/aarch64-targetattr-arch.c
M clang/test/CodeGen/aarch64-targetattr.c
M clang/test/CodeGen/aarch64-varargs.c
M clang/test/CodeGen/aarch64_neon_sve_bridge_intrinsics/target.c
A clang/test/CodeGen/amdgpu-buffer-rsrc-type-debug-info.c
A clang/test/CodeGen/amdgpu-variadic-call.c
M clang/test/CodeGen/arm-abi-vector.c
M clang/test/CodeGen/arm-vaarg.c
M clang/test/CodeGen/arm-vector_type-params-returns.c
M clang/test/CodeGen/assignment-tracking/assignment-tracking.cpp
M clang/test/CodeGen/assignment-tracking/memcpy-fragment.cpp
M clang/test/CodeGen/assignment-tracking/nested-scope.cpp
M clang/test/CodeGen/attr-error.c
M clang/test/CodeGen/attr-nodebug.c
M clang/test/CodeGen/attr-noinline.cpp
M clang/test/CodeGen/attr-target-clones-aarch64.c
M clang/test/CodeGen/attr-target-version.c
M clang/test/CodeGen/attr-warning.c
M clang/test/CodeGen/builtins-elementwise-math.c
M clang/test/CodeGen/builtins-wasm.c
M clang/test/CodeGen/catch-nullptr-and-nonzero-offset.c
M clang/test/CodeGen/cfstring.c
M clang/test/CodeGen/constantexpr-fneg.c
M clang/test/CodeGen/constrained-math-builtins.c
M clang/test/CodeGen/debug-info-block-decl.c
M clang/test/CodeGen/debug-info-block-expr.c
M clang/test/CodeGen/debug-info-block-vars.c
M clang/test/CodeGen/debug-info-matrix-types.c
M clang/test/CodeGen/debug-info-packed-struct.c
M clang/test/CodeGen/debug-info-vla.c
M clang/test/CodeGen/debug-label-inline.c
M clang/test/CodeGen/debug-label.c
M clang/test/CodeGen/instrument-objc-method.m
M clang/test/CodeGen/lto-newpm-pipeline.c
M clang/test/CodeGen/math-libcalls.c
M clang/test/CodeGen/mcount-aix.c
M clang/test/CodeGen/mcount.c
M clang/test/CodeGen/mips-varargs.c
M clang/test/CodeGen/object-size.c
M clang/test/CodeGen/paren-list-agg-init.cpp
M clang/test/CodeGen/preserve-call-conv.c
A clang/test/CodeGen/ptrauth-function-attributes.c
A clang/test/CodeGen/ptrauth-function-init-fail.c
A clang/test/CodeGen/ptrauth-function-init.c
A clang/test/CodeGen/ptrauth-function-lvalue-cast.c
A clang/test/CodeGen/ptrauth-function.c
A clang/test/CodeGen/ptrauth-intrinsic-sign-constant.c
M clang/test/CodeGen/ptrauth-intrinsics.c
A clang/test/CodeGen/ptrauth-weak_import.c
A clang/test/CodeGen/sanitize-numerical-stability-attr.cpp
M clang/test/CodeGen/strictfp-elementwise-bulitins.cpp
M clang/test/CodeGen/target-data.c
A clang/test/CodeGen/voidptr-vaarg.c
M clang/test/CodeGenCUDA/amdgpu-atomic-ops.cu
M clang/test/CodeGenCUDA/builtins-amdgcn.cu
A clang/test/CodeGenCUDA/builtins-spirv-amdgcn.cu
M clang/test/CodeGenCUDA/builtins-unsafe-atomics-gfx90a.cu
A clang/test/CodeGenCUDA/builtins-unsafe-atomics-spirv-amdgcn-gfx90a.cu
M clang/test/CodeGenCUDA/cuda-builtin-vars.cu
M clang/test/CodeGenCUDA/debug-info-address-class.cu
M clang/test/CodeGenCUDA/long-double.cu
M clang/test/CodeGenCUDA/managed-var.cu
A clang/test/CodeGenCUDA/spirv-amdgcn-bf16.cu
M clang/test/CodeGenCXX/2011-12-19-init-list-ctor.cpp
M clang/test/CodeGenCXX/aarch64-mangle-sve-vectors.cpp
A clang/test/CodeGenCXX/amdgpu-buffer-rsrc-typeinfo.cpp
M clang/test/CodeGenCXX/arm64-empty-struct.cpp
M clang/test/CodeGenCXX/attr-likelihood-if-vs-builtin-expect.cpp
M clang/test/CodeGenCXX/attr-target-clones-aarch64.cpp
M clang/test/CodeGenCXX/attr-target-version.cpp
M clang/test/CodeGenCXX/auto-var-init-max-size.cpp
M clang/test/CodeGenCXX/auto-var-init-stop-after.cpp
M clang/test/CodeGenCXX/auto-var-init.cpp
M clang/test/CodeGenCXX/catch-undef-behavior.cpp
M clang/test/CodeGenCXX/control-flow-in-stmt-expr.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-references.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
M clang/test/CodeGenCXX/cxx11-initializer-array-new.cpp
M clang/test/CodeGenCXX/cxx11-thread-local.cpp
M clang/test/CodeGenCXX/cxx2b-deducing-this.cpp
A clang/test/CodeGenCXX/debug-info-incomplete-types.cpp
M clang/test/CodeGenCXX/debug-info-inheriting-constructor.cpp
M clang/test/CodeGenCXX/debug-info-nrvo.cpp
A clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp
M clang/test/CodeGenCXX/debug-info-range-for-var-names.cpp
M clang/test/CodeGenCXX/debug-info-struct-align.cpp
M clang/test/CodeGenCXX/debug-info-structured-binding-bitfield.cpp
M clang/test/CodeGenCXX/debug-info-structured-binding.cpp
M clang/test/CodeGenCXX/debug-info.cpp
M clang/test/CodeGenCXX/fmv-namespace.cpp
M clang/test/CodeGenCXX/init-invariant.cpp
A clang/test/CodeGenCXX/inline-then-fold-variadics.cpp
M clang/test/CodeGenCXX/linetable-eh.cpp
M clang/test/CodeGenCXX/mangle-ms-auto-templates.cpp
M clang/test/CodeGenCXX/modules-vtable.cppm
M clang/test/CodeGenCXX/ms-inline-asm-fields.cpp
M clang/test/CodeGenCXX/no-unique-address.cpp
M clang/test/CodeGenCXX/partial-destruction.cpp
M clang/test/CodeGenCXX/partitions.cpp
M clang/test/CodeGenCXX/pointers-to-data-members.cpp
A clang/test/CodeGenCXX/pr70585.cppm
A clang/test/CodeGenCXX/ptrauth.cpp
A clang/test/CodeGenCXX/spirv-amdgcn-float16.cpp
M clang/test/CodeGenCXX/template-param-objects-linkage.cpp
M clang/test/CodeGenCXX/temporaries.cpp
A clang/test/CodeGenCXX/trivial-auto-var-init-skip-scalar-with-nonconst-init.cpp
M clang/test/CodeGenCXX/trivial_abi_debuginfo.cpp
M clang/test/CodeGenCXX/ubsan-nullability-arg.cpp
M clang/test/CodeGenCXX/value-init.cpp
M clang/test/CodeGenCXX/weak-external.cpp
A clang/test/CodeGenCXX/windows-instantiate-dllexport-template-specialization.cpp
M clang/test/CodeGenCXX/x86_32-vaarg.cpp
M clang/test/CodeGenCXX/x86_64-vaarg.cpp
M clang/test/CodeGenCoroutines/coro-suspend-cleanups.cpp
A clang/test/CodeGenHIP/builtins-make-buffer-rsrc.hip
M clang/test/CodeGenHIP/hipspv-addr-spaces.cpp
A clang/test/CodeGenHIP/spirv-amdgcn-ballot.cpp
A clang/test/CodeGenHIP/spirv-amdgcn-dpp-const-fold.hip
A clang/test/CodeGenHIP/spirv-amdgcn-half.hip
A clang/test/CodeGenHLSL/builtins/acos.hlsl
A clang/test/CodeGenHLSL/builtins/asin.hlsl
A clang/test/CodeGenHLSL/builtins/atan.hlsl
A clang/test/CodeGenHLSL/builtins/cosh.hlsl
M clang/test/CodeGenHLSL/builtins/rsqrt.hlsl
A clang/test/CodeGenHLSL/builtins/sinh.hlsl
A clang/test/CodeGenHLSL/builtins/tanh.hlsl
M clang/test/CodeGenHLSL/cbuf.hlsl
M clang/test/CodeGenHLSL/convergence/for.hlsl
M clang/test/CodeGenObjC/2010-02-09-DbgSelf.m
M clang/test/CodeGenObjC/arc-ternary-op.m
M clang/test/CodeGenObjC/arc.m
M clang/test/CodeGenObjC/debug-info-blocks.m
M clang/test/CodeGenObjC/debug-info-nested-blocks.m
M clang/test/CodeGenObjC/encode-test-3.m
M clang/test/CodeGenObjC/objc-fixed-enum.m
M clang/test/CodeGenObjCXX/arc-exceptions.mm
M clang/test/CodeGenObjCXX/property-objects.mm
A clang/test/CodeGenOpenCL/amdgcn-buffer-rsrc-type.cl
M clang/test/CodeGenOpenCL/amdgcn-flat-scratch-name.cl
M clang/test/CodeGenOpenCL/amdgpu-debug-info-variable-expression.cl
M clang/test/CodeGenOpenCL/amdgpu-features.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx10.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx11.cl
A clang/test/CodeGenOpenCL/builtins-amdgcn-make-buffer-rsrc.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-vi.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn.cl
M clang/test/CodeGenOpenCL/builtins-f16.cl
M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx12.cl
M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx8.cl
M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx90a.cl
M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx940.cl
M clang/test/CodeGenOpenCL/builtins-r600.cl
M clang/test/CodeGenOpenCL/inline-asm-amdgcn.cl
M clang/test/CodeGenOpenCLCXX/constexpr.clcpp
M clang/test/CodeGenSYCL/debug-info-kernel-variables.cpp
M clang/test/Coverage/targets.c
M clang/test/Coverage/unresolved-ctor-expr.cpp
M clang/test/CoverageMapping/branch-constfolded.cpp
M clang/test/CoverageMapping/logical.cpp
M clang/test/CoverageMapping/mcdc-class.cpp
M clang/test/CoverageMapping/mcdc-error-conditions.cpp
M clang/test/CoverageMapping/mcdc-logical-scalar-ids.cpp
M clang/test/CoverageMapping/mcdc-logical-stmt-ids-all.cpp
M clang/test/CoverageMapping/mcdc-logical-stmt-ids.cpp
M clang/test/CoverageMapping/mcdc-scratch-space.c
M clang/test/CoverageMapping/mcdc-system-headers.cpp
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/aarch64-unknown-fuchsia/asan+noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/aarch64-unknown-fuchsia/asan/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/aarch64-unknown-fuchsia/compat/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/aarch64-unknown-fuchsia/hwasan+noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/aarch64-unknown-fuchsia/hwasan/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/aarch64-unknown-fuchsia/noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/riscv64-unknown-fuchsia/asan+noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/riscv64-unknown-fuchsia/asan/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/riscv64-unknown-fuchsia/compat/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/riscv64-unknown-fuchsia/hwasan+noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/riscv64-unknown-fuchsia/hwasan/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/riscv64-unknown-fuchsia/noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/x86_64-unknown-fuchsia/asan+noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/x86_64-unknown-fuchsia/asan/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/x86_64-unknown-fuchsia/compat/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/x86_64-unknown-fuchsia/hwasan+noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/x86_64-unknown-fuchsia/hwasan/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/include/x86_64-unknown-fuchsia/noexcept/c++/v1/.keep
A clang/test/Driver/Inputs/basic_fuchsia_tree/lib/aarch64-unknown-fuchsia/ubsan+noexcept/libc++.so
A clang/test/Driver/Inputs/basic_fuchsia_tree/lib/aarch64-unknown-fuchsia/ubsan/libc++.so
A clang/test/Driver/Inputs/basic_fuchsia_tree/lib/x86_64-unknown-fuchsia/ubsan+noexcept/libc++.so
A clang/test/Driver/Inputs/basic_fuchsia_tree/lib/x86_64-unknown-fuchsia/ubsan/libc++.so
A clang/test/Driver/aarch64-fixed-register-global.c
M clang/test/Driver/aarch64-mac-cpus.c
M clang/test/Driver/aarch64-mcpu.c
A clang/test/Driver/aarch64-oryon-1.c
M clang/test/Driver/aarch64-outliner.c
M clang/test/Driver/amdgcn-gz-options.cl
M clang/test/Driver/amdgpu-hip-system-arch.c
M clang/test/Driver/amdgpu-invalid-target-id.s
M clang/test/Driver/amdgpu-macros.cl
M clang/test/Driver/amdgpu-mcpu.cl
M clang/test/Driver/amdgpu-openmp-system-arch-fail.c
M clang/test/Driver/amdgpu-openmp-toolchain.c
A clang/test/Driver/apple-os-triples.c
R clang/test/Driver/appletvos-version-min.c
M clang/test/Driver/arc.c
M clang/test/Driver/arclite-link.c
M clang/test/Driver/arm-float-abi-runtime-path.c
M clang/test/Driver/arm-float-abi.c
M clang/test/Driver/arm-machine-outliner.c
A clang/test/Driver/baremetal-ld.c
M clang/test/Driver/cl-options.c
M clang/test/Driver/cl-options.cu
M clang/test/Driver/cl-outputs.c
M clang/test/Driver/clang-offload-bundler-zlib.c
M clang/test/Driver/clang-offload-bundler-zstd.c
M clang/test/Driver/compress-noias.c
M clang/test/Driver/cuda-arch-translation.cu
M clang/test/Driver/cuda-bad-arch.cu
M clang/test/Driver/cuda-bail-out.cu
M clang/test/Driver/cuda-bindings.cu
M clang/test/Driver/cuda-constructor-alias.cu
M clang/test/Driver/cuda-cross-compiling.c
M clang/test/Driver/cuda-detect-path.cu
M clang/test/Driver/cuda-detect.cu
M clang/test/Driver/cuda-external-tools.cu
M clang/test/Driver/cuda-macosx.cu
M clang/test/Driver/cuda-march.cu
M clang/test/Driver/cuda-omp-unsupported-debug-options.cu
M clang/test/Driver/cuda-openmp-driver.cu
M clang/test/Driver/cuda-options.cu
M clang/test/Driver/cuda-output-asm.cu
M clang/test/Driver/cuda-phases.cu
M clang/test/Driver/cuda-ptxas-path.cu
M clang/test/Driver/cuda-version-check.cu
M clang/test/Driver/cuda-windows.cu
M clang/test/Driver/darwin-objc-defaults.m
M clang/test/Driver/darwin-stdlib-dont-pass-in-c.c
M clang/test/Driver/darwin-stdlib.cpp
M clang/test/Driver/darwin-version.c
M clang/test/Driver/darwin-xarch.c
M clang/test/Driver/debug-options.c
M clang/test/Driver/defsym.s
M clang/test/Driver/driverkit-arm64.c
M clang/test/Driver/driverkit-arm64e.c
M clang/test/Driver/driverkit-cplusplus.cpp
M clang/test/Driver/driverkit-exceptions.cpp
M clang/test/Driver/driverkit-path.c
M clang/test/Driver/driverkit-rtti.cpp
M clang/test/Driver/driverkit-target-cpu.c
R clang/test/Driver/driverkit-version-min.c
M clang/test/Driver/dwarf-target-version-clamp.cu
M clang/test/Driver/elfiamcu-header-search.c
M clang/test/Driver/fsanitize.c
M clang/test/Driver/fuchsia.cpp
M clang/test/Driver/gcc-param.c
M clang/test/Driver/gcodeview-command-line.c
M clang/test/Driver/gcodeview-ghash.c
M clang/test/Driver/global-isel.c
M clang/test/Driver/gpu-libc-headers.c
M clang/test/Driver/hexagon-toolchain-elf.c
M clang/test/Driver/hip-autolink.hip
M clang/test/Driver/hip-binding.hip
M clang/test/Driver/hip-code-object-version.hip
M clang/test/Driver/hip-cuid-hash.hip
M clang/test/Driver/hip-cuid.hip
M clang/test/Driver/hip-default-gpu-arch.hip
M clang/test/Driver/hip-device-compile.hip
M clang/test/Driver/hip-device-libs.hip
M clang/test/Driver/hip-fpie-option.hip
M clang/test/Driver/hip-gsplit-dwarf-options.hip
M clang/test/Driver/hip-gz-options.hip
M clang/test/Driver/hip-host-cpu-features.hip
M clang/test/Driver/hip-include-path.hip
M clang/test/Driver/hip-inputs.hip
M clang/test/Driver/hip-invalid-target-id.hip
M clang/test/Driver/hip-launch-api.hip
M clang/test/Driver/hip-link-bc-to-bc.hip
M clang/test/Driver/hip-link-bundle-archive.hip
M clang/test/Driver/hip-link-save-temps.hip
M clang/test/Driver/hip-link-static-library.hip
M clang/test/Driver/hip-no-device-libs.hip
M clang/test/Driver/hip-offload-arch.hip
M clang/test/Driver/hip-offload-compress-zlib.hip
M clang/test/Driver/hip-offload-compress-zstd.hip
M clang/test/Driver/hip-options.hip
M clang/test/Driver/hip-output-file-name.hip
M clang/test/Driver/hip-phases.hip
M clang/test/Driver/hip-printf.hip
M clang/test/Driver/hip-rdc-device-only.hip
M clang/test/Driver/hip-sanitize-options.hip
M clang/test/Driver/hip-save-temps.hip
M clang/test/Driver/hip-std.hip
M clang/test/Driver/hip-syntax-only.hip
M clang/test/Driver/hip-target-id.hip
M clang/test/Driver/hip-toolchain-device-only.hip
M clang/test/Driver/hip-toolchain-dwarf.hip
M clang/test/Driver/hip-toolchain-features.hip
M clang/test/Driver/hip-toolchain-mllvm.hip
M clang/test/Driver/hip-toolchain-no-rdc.hip
M clang/test/Driver/hip-toolchain-opt.hip
M clang/test/Driver/hip-toolchain-rdc-separate.hip
M clang/test/Driver/hip-toolchain-rdc-static-lib.hip
M clang/test/Driver/hip-toolchain-rdc.hip
M clang/test/Driver/hip-unbundle-preproc.hipi
M clang/test/Driver/hip-wavefront-size.hip
M clang/test/Driver/hip-windows-filename.hip
M clang/test/Driver/hipspv-device-libs.hip
M clang/test/Driver/hipspv-pass-plugin.hip
M clang/test/Driver/hipspv-toolchain-rdc.hip
M clang/test/Driver/hipspv-toolchain.hip
M clang/test/Driver/indirect-tls-seg-refs.c
M clang/test/Driver/invalid-offload-options.cpp
M clang/test/Driver/invalid-target-id.cl
R clang/test/Driver/ios-version-min.c
M clang/test/Driver/linker-wrapper-image.c
M clang/test/Driver/linker-wrapper-libs.c
M clang/test/Driver/linker-wrapper.c
R clang/test/Driver/loongarch-default-features.c
A clang/test/Driver/loongarch-features.c
M clang/test/Driver/lto.cu
M clang/test/Driver/m68k-features.cpp
M clang/test/Driver/macos-apple-silicon-slice-link-libs-darwin-only.cpp
M clang/test/Driver/mbackchain.c
M clang/test/Driver/mips-abi.c
M clang/test/Driver/mips-abicalls-warning.c
M clang/test/Driver/mips-cs.cpp
M clang/test/Driver/mips-fsf.cpp
M clang/test/Driver/mips-gpopt-warning.c
M clang/test/Driver/mips-img-v2.cpp
M clang/test/Driver/mips-img.cpp
M clang/test/Driver/mips-indirect-branch.c
M clang/test/Driver/mips-mti-linux.c
M clang/test/Driver/msan.c
M clang/test/Driver/nvptx-cuda-system-arch.c
M clang/test/Driver/offloading-interoperability.c
M clang/test/Driver/openmp-offload-gpu.c
M clang/test/Driver/openmp-offload-headers.c
M clang/test/Driver/openmp-offload-infer.c
M clang/test/Driver/openmp-offload-jit.c
M clang/test/Driver/openmp-offload.c
M clang/test/Driver/openmp-system-arch.c
M clang/test/Driver/ppc-dependent-options.cpp
M clang/test/Driver/ppc-float-abi-warning.cpp
M clang/test/Driver/ppc-unsupported.c
M clang/test/Driver/riscv-arch.c
M clang/test/Driver/riscv-cpus.c
M clang/test/Driver/riscv32-toolchain-extra.c
M clang/test/Driver/riscv64-toolchain-extra.c
M clang/test/Driver/rocm-detect.cl
M clang/test/Driver/rocm-detect.hip
M clang/test/Driver/rocm-device-libs.cl
M clang/test/Driver/sanitizer-ld.c
M clang/test/Driver/save-temps.c
M clang/test/Driver/spirv-toolchain.cl
M clang/test/Driver/stack-protector.c
M clang/test/Driver/sysroot.c
M clang/test/Driver/target-id-macros.cl
M clang/test/Driver/target-id.cl
M clang/test/Driver/thinlto.cu
M clang/test/Driver/tsan.c
M clang/test/Driver/ve-toolchain.c
M clang/test/Driver/ve-toolchain.cpp
M clang/test/Driver/warning-options.cpp
R clang/test/Driver/watchos-version-min.c
A clang/test/Driver/x86-apx-inline-asm-use-gpr32.cpp
M clang/test/Driver/x86-target-features.c
M clang/test/ExtractAPI/anonymous_record_no_typedef.c
M clang/test/ExtractAPI/enum.c
M clang/test/Frontend/gnu-mcount.c
M clang/test/Headers/__clang_hip_math.hip
A clang/test/Headers/cuda_wrapper_algorithm.cu
M clang/test/Import/builtin-template/test.cpp
M clang/test/Index/TestClassForwardDecl.m
M clang/test/Index/c-index-api-loadTU-test.m
M clang/test/Index/c-index-getCursor-test.m
M clang/test/Index/comment-misc-tags.m
M clang/test/Index/comment-to-html-xml-conversion.cpp
M clang/test/Index/overriding-ftemplate-comments.cpp
M clang/test/Index/print-type.cpp
M clang/test/InstallAPI/asm.test
M clang/test/InstallAPI/basic.test
M clang/test/InstallAPI/binary-attributes.test
M clang/test/InstallAPI/cpp.test
M clang/test/InstallAPI/diagnostics-dsym.test
A clang/test/InstallAPI/directory-scanning-dylib.test
A clang/test/InstallAPI/directory-scanning-frameworks.test
M clang/test/InstallAPI/functions.test
M clang/test/InstallAPI/variables.test
A clang/test/Interpreter/execute.c
M clang/test/Interpreter/execute.cpp
M clang/test/Interpreter/incremental-mode.cpp
M clang/test/Interpreter/inline-virtual.cpp
A clang/test/Interpreter/pretty-print.c
A clang/test/Lexer/cxx2c-raw-strings.cpp
A clang/test/Lexer/has_feature_numerical_stability_sanitizer.cpp
A clang/test/Misc/cc1as-defsym.s
M clang/test/Misc/target-invalid-cpu-note.c
A clang/test/Misc/win32-elf.c
M clang/test/Modules/Inputs/implicit-built-Werror-using-W/convert.h
M clang/test/Modules/Inputs/initializer_list/direct.h
M clang/test/Modules/Inputs/redecl-templates/a.h
A clang/test/Modules/cxx20-decls.cppm
M clang/test/Modules/decl-params-determinisim.m
M clang/test/Modules/implicit-built-Werror-using-W.cpp
M clang/test/Modules/no-eager-load.cppm
M clang/test/Modules/no-implicit-declarations.cppm
A clang/test/Modules/no-transitive-decl-change-2.cppm
A clang/test/Modules/no-transitive-decls-change.cppm
A clang/test/Modules/no-transitive-identifier-change-2.cppm
A clang/test/Modules/no-transitive-identifier-change.cppm
A clang/test/Modules/no-transitive-type-change.cppm
M clang/test/Modules/pr60775.cppm
A clang/test/Modules/pr93497.cppm
A clang/test/Modules/pr93859.cppm
M clang/test/Modules/redecl-templates.cpp
A clang/test/Modules/safe_buffers_optout.cpp
A clang/test/Modules/same-decl-in-different-modules.cppm
A clang/test/Modules/transitive-adl-change.cppm
M clang/test/OpenMP/Inputs/nesting_of_regions.cpp
M clang/test/OpenMP/align_clause_ast_print.cpp
M clang/test/OpenMP/debug-info-complex-byval.cpp
M clang/test/OpenMP/debug-info-openmp-array.cpp
M clang/test/OpenMP/debug_private.c
M clang/test/OpenMP/debug_task_shared.c
M clang/test/OpenMP/debug_threadprivate_copyin.c
M clang/test/OpenMP/declare_mapper_messages.cpp
M clang/test/OpenMP/declare_reduction_codegen_in_templates.cpp
M clang/test/OpenMP/declare_variant_clauses_messages.cpp
M clang/test/OpenMP/distribute_firstprivate_codegen.cpp
M clang/test/OpenMP/distribute_lastprivate_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_firstprivate_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_lastprivate_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_private_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_private_codegen.cpp
M clang/test/OpenMP/distribute_private_codegen.cpp
M clang/test/OpenMP/distribute_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/distribute_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/distribute_simd_private_codegen.cpp
A clang/test/OpenMP/error_unsupport_feature.c
M clang/test/OpenMP/for_firstprivate_codegen.cpp
M clang/test/OpenMP/for_lastprivate_codegen.cpp
M clang/test/OpenMP/for_private_codegen.cpp
M clang/test/OpenMP/for_reduction_codegen.cpp
M clang/test/OpenMP/for_reduction_codegen_UDR.cpp
M clang/test/OpenMP/generic_loop_ast_print.cpp
M clang/test/OpenMP/interop_ast_print.cpp
M clang/test/OpenMP/irbuilder_nested_parallel_for.c
M clang/test/OpenMP/nested_loop_codegen.cpp
M clang/test/OpenMP/nvptx_target_cuda_mode_messages.cpp
M clang/test/OpenMP/parallel_codegen.cpp
M clang/test/OpenMP/parallel_copyin_codegen.cpp
M clang/test/OpenMP/parallel_firstprivate_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_firstprivate_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_lastprivate_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/parallel_private_codegen.cpp
M clang/test/OpenMP/parallel_reduction_codegen.cpp
M clang/test/OpenMP/sections_firstprivate_codegen.cpp
M clang/test/OpenMP/sections_lastprivate_codegen.cpp
M clang/test/OpenMP/sections_private_codegen.cpp
M clang/test/OpenMP/sections_reduction_codegen.cpp
M clang/test/OpenMP/simd_private_taskloop_codegen.cpp
M clang/test/OpenMP/single_firstprivate_codegen.cpp
M clang/test/OpenMP/single_private_codegen.cpp
M clang/test/OpenMP/target_parallel_debug_codegen.cpp
M clang/test/OpenMP/target_parallel_for_debug_codegen.cpp
M clang/test/OpenMP/target_parallel_generic_loop_codegen-3.cpp
R clang/test/OpenMP/target_reduction_codegen.cpp
R clang/test/OpenMP/target_reduction_messages.cpp
M clang/test/OpenMP/target_teams_distribute_firstprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_lastprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_firstprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_lastprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_private_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_private_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_simd_private_codegen.cpp
M clang/test/OpenMP/target_teams_generic_loop_private_codegen.cpp
M clang/test/OpenMP/target_vla_messages.cpp
M clang/test/OpenMP/taskgroup_task_reduction_codegen.cpp
M clang/test/OpenMP/teams_distribute_firstprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_lastprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_firstprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_lastprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_private_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_private_codegen.cpp
M clang/test/OpenMP/teams_distribute_private_codegen.cpp
M clang/test/OpenMP/teams_distribute_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_simd_private_codegen.cpp
M clang/test/OpenMP/teams_firstprivate_codegen.cpp
M clang/test/OpenMP/teams_generic_loop_private_codegen.cpp
M clang/test/OpenMP/teams_private_codegen.cpp
M clang/test/OpenMP/threadprivate_codegen.cpp
M clang/test/PCH/cxx-templates.h
M clang/test/PCH/cxx1y-variable-templates.cpp
M clang/test/PCH/cxx_paren_init.cpp
A clang/test/PCH/unsafe-buffer-usage-pragma-pch-complex.cpp
A clang/test/PCH/unsafe-buffer-usage-pragma-pch-cross-files-2.cpp
A clang/test/PCH/unsafe-buffer-usage-pragma-pch-cross-files.cpp
M clang/test/Parser/cxx-template-template-recovery.cpp
A clang/test/Parser/decls.c
M clang/test/ParserOpenACC/parse-clauses.c
M clang/test/ParserOpenACC/parse-clauses.cpp
M clang/test/ParserOpenACC/parse-constructs.c
A clang/test/Preprocessor/Inputs/jk.txt
A clang/test/Preprocessor/Inputs/media/art.txt
A clang/test/Preprocessor/Inputs/media/empty
A clang/test/Preprocessor/Inputs/numbers.txt
A clang/test/Preprocessor/Inputs/single_byte.txt
M clang/test/Preprocessor/aarch64-target-features.c
A clang/test/Preprocessor/embed___has_embed.c
A clang/test/Preprocessor/embed___has_embed_parsing_errors.c
A clang/test/Preprocessor/embed___has_embed_supported.c
A clang/test/Preprocessor/embed_art.c
A clang/test/Preprocessor/embed_codegen.cpp
A clang/test/Preprocessor/embed_constexpr.cpp
A clang/test/Preprocessor/embed_dependencies.c
A clang/test/Preprocessor/embed_ext_compat_diags.c
A clang/test/Preprocessor/embed_feature_test.cpp
A clang/test/Preprocessor/embed_file_not_found_chevron.c
A clang/test/Preprocessor/embed_file_not_found_quote.c
A clang/test/Preprocessor/embed_init.c
A clang/test/Preprocessor/embed_parameter_if_empty.c
A clang/test/Preprocessor/embed_parameter_limit.c
A clang/test/Preprocessor/embed_parameter_offset.c
A clang/test/Preprocessor/embed_parameter_prefix.c
A clang/test/Preprocessor/embed_parameter_suffix.c
A clang/test/Preprocessor/embed_parameter_unrecognized.c
A clang/test/Preprocessor/embed_parsing_errors.c
A clang/test/Preprocessor/embed_path_chevron.c
A clang/test/Preprocessor/embed_path_quote.c
A clang/test/Preprocessor/embed_preprocess_to_file.c
A clang/test/Preprocessor/embed_single_entity.c
A clang/test/Preprocessor/embed_weird.cpp
M clang/test/Preprocessor/hash_builtin.cpp
M clang/test/Preprocessor/init-aarch64.c
M clang/test/Preprocessor/init-x86.c
M clang/test/Preprocessor/init.c
M clang/test/Preprocessor/macro_with_initializer_list.cpp
M clang/test/Preprocessor/pragma_diagnostic.c
M clang/test/Preprocessor/predefined-macros-no-warnings.c
M clang/test/Preprocessor/predefined-macros.c
M clang/test/Preprocessor/predefined-win-macros.c
M clang/test/Preprocessor/riscv-target-features.c
A clang/test/Preprocessor/single_byte.txt
M clang/test/Preprocessor/wasm-target-features.c
M clang/test/Preprocessor/x86_target_features.c
M clang/test/Profile/c-mcdc-class.cpp
M clang/test/Profile/c-mcdc-logicalop-ternary.c
M clang/test/Profile/c-mcdc-nested-ternary.c
M clang/test/Profile/c-mcdc-not.c
M clang/test/Profile/c-mcdc.c
A clang/test/Sema/aarch64-fixed-global-register.c
M clang/test/Sema/aarch64-incompat-sm-builtin-calls.c
M clang/test/Sema/aarch64-neon-target.c
M clang/test/Sema/aarch64-sme-func-attrs.c
M clang/test/Sema/aarch64-sme-intrinsics/acle_sme_target.c
A clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_b16b16.cpp
M clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_imm.cpp
R clang/test/Sema/aarch64-sme2-sve2p1-diagnostics.c
M clang/test/Sema/aarch64-sme2p1-diagnostics.c
A clang/test/Sema/aarch64-streaming-sme-or-nonstreaming-sve-builtins.c
M clang/test/Sema/aarch64-sve-intrinsics/acle_sve_bfloat.cpp
M clang/test/Sema/aarch64-sve-vector-trig-ops.c
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2.cpp
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_aes_bitperm_sha3_sm4.cpp
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_bfloat.cpp
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_imm_lane.cpp
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_imm_n.cpp
M clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_imm_rotation.cpp
M clang/test/Sema/aarch64-sve2p1-intrinsics/acle_sve2p1_imm.cpp
M clang/test/Sema/arm-sve-target.cpp
A clang/test/Sema/attr-availability-macosx.cpp
M clang/test/Sema/attr-capabilities.c
M clang/test/Sema/attr-noinline.cpp
A clang/test/Sema/attr-nonblocking-sema.c
A clang/test/Sema/attr-nonblocking-sema.cpp
A clang/test/Sema/attr-nonblocking-syntax.cpp
A clang/test/Sema/builtin-spirv-amdgcn-atomic-inc-dec-failure.cpp
M clang/test/Sema/builtins-elementwise-math.c
M clang/test/Sema/constexpr-void-cast.c
M clang/test/Sema/implicit-decl.c
A clang/test/Sema/inline-asm-validate-spirv-amdgcn.cl
A clang/test/Sema/integral-to-ptr.c
M clang/test/Sema/ptrauth-intrinsics-macro.c
M clang/test/Sema/ptrauth.c
M clang/test/Sema/riscv-rvv-vector-trig-ops.c
M clang/test/Sema/warn-cast-function-type-strict.c
M clang/test/Sema/warn-cast-function-type.c
M clang/test/SemaCUDA/allow-int128.cu
M clang/test/SemaCUDA/amdgpu-f128.cu
M clang/test/SemaCUDA/float16.cu
M clang/test/SemaCUDA/fp16-arg-return.cu
A clang/test/SemaCUDA/function-redclare.cu
A clang/test/SemaCUDA/spirv-amdgcn-atomic-ops.cu
M clang/test/SemaCXX/PR20334-std_initializer_list_diagnosis_assertion.cpp
M clang/test/SemaCXX/PR8755.cpp
A clang/test/SemaCXX/amdgpu-buffer-rsrc.cpp
M clang/test/SemaCXX/attr-weak.cpp
M clang/test/SemaCXX/auto-invalid-init-crash.cpp
A clang/test/SemaCXX/builtin-is-bitwise-cloneable-fsanitize.cpp
A clang/test/SemaCXX/builtin-is-bitwise-cloneable.cpp
M clang/test/SemaCXX/builtins-elementwise-math.cpp
M clang/test/SemaCXX/complex-folding.cpp
M clang/test/SemaCXX/constant-expression-cxx14.cpp
M clang/test/SemaCXX/constexpr-default-arg.cpp
A clang/test/SemaCXX/constexpr-never-constant.cpp
A clang/test/SemaCXX/constexpr-return-non-void-cxx2b.cpp
A clang/test/SemaCXX/ctad-copy-init-list-narrowing.cpp
M clang/test/SemaCXX/cxx0x-initializer-references.cpp
M clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
M clang/test/SemaCXX/cxx0x-noexcept-expression.cpp
M clang/test/SemaCXX/cxx11-call-to-deleted-constructor.cpp
M clang/test/SemaCXX/cxx11-default-member-initializers.cpp
M clang/test/SemaCXX/cxx1y-initializer-aggregates.cpp
M clang/test/SemaCXX/cxx1y-variable-templates_in_class.cpp
M clang/test/SemaCXX/cxx20-using-enum.cpp
M clang/test/SemaCXX/cxx23-assume-disabled.cpp
M clang/test/SemaCXX/cxx2a-consteval.cpp
M clang/test/SemaCXX/cxx2b-consteval-propagate.cpp
M clang/test/SemaCXX/cxx2b-deducing-this.cpp
M clang/test/SemaCXX/cxx2c-pack-indexing.cpp
M clang/test/SemaCXX/cxx98-compat.cpp
M clang/test/SemaCXX/eval-crashes.cpp
M clang/test/SemaCXX/for-range-examples.cpp
A clang/test/SemaCXX/incomplete-array-extent.cpp
M clang/test/SemaCXX/integer-overflow.cpp
M clang/test/SemaCXX/invalid-if-constexpr.cpp
M clang/test/SemaCXX/invalid-member-expr.cpp
A clang/test/SemaCXX/invalid-this-in-lambda.cpp
A clang/test/SemaCXX/lambda-as-default-parameter.cpp
M clang/test/SemaCXX/lambda-unevaluated.cpp
M clang/test/SemaCXX/ms-const-member-expr.cpp
M clang/test/SemaCXX/nullptr_in_arithmetic_ops.cpp
M clang/test/SemaCXX/paren-list-agg-init.cpp
M clang/test/SemaCXX/template-specialization.cpp
A clang/test/SemaCXX/typo-correction-builtin-func.cpp
M clang/test/SemaCXX/uninitialized.cpp
M clang/test/SemaCXX/using-decl-templates.cpp
M clang/test/SemaCXX/warn-cast-function-type-strict.cpp
M clang/test/SemaCXX/warn-cast-function-type.cpp
M clang/test/SemaCXX/warn-thread-safety-analysis.cpp
M clang/test/SemaCXX/warn-thread-safety-parsing.cpp
A clang/test/SemaCXX/warn-unsafe-buffer-usage-pragma-pch.cpp
M clang/test/SemaCXX/warn-unused-value.cpp
A clang/test/SemaHIP/amdgpu-buffer-rsrc.hip
M clang/test/SemaHLSL/Availability/attr-availability-compute.hlsl
M clang/test/SemaHLSL/Availability/attr-availability-mesh.hlsl
M clang/test/SemaHLSL/Availability/attr-availability-pixel.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-default-compute.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-default-lib.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-relaxed-compute.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-relaxed-lib.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-strict-compute.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-strict-lib.hlsl
A clang/test/SemaHLSL/Availability/avail-lib-multiple-stages.hlsl
M clang/test/SemaHLSL/BuiltIns/RWBuffers.hlsl
M clang/test/SemaHLSL/BuiltIns/clamp-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/dot-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/half-float-only-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/lerp-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/mad-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/vector-errors.hlsl
M clang/test/SemaHLSL/ScalarOverloadResolution.hlsl
M clang/test/SemaHLSL/Types/BuiltinVector/ScalarSwizzleErrors.hlsl
M clang/test/SemaHLSL/Types/BuiltinVector/ScalarSwizzles.hlsl
M clang/test/SemaHLSL/VectorElementOverloadResolution.hlsl
M clang/test/SemaHLSL/VectorOverloadResolution.hlsl
M clang/test/SemaHLSL/WaveBuiltinAvailability.hlsl
M clang/test/SemaHLSL/standard_conversion_sequences.hlsl
M clang/test/SemaObjCXX/arc-type-traits.mm
M clang/test/SemaObjCXX/block-capture.mm
M clang/test/SemaOpenACC/compute-construct-async-clause.c
M clang/test/SemaOpenACC/compute-construct-attach-clause.c
M clang/test/SemaOpenACC/compute-construct-copy-clause.c
M clang/test/SemaOpenACC/compute-construct-copyin-clause.c
M clang/test/SemaOpenACC/compute-construct-copyout-clause.c
M clang/test/SemaOpenACC/compute-construct-create-clause.c
M clang/test/SemaOpenACC/compute-construct-default-clause.c
M clang/test/SemaOpenACC/compute-construct-default-clause.cpp
M clang/test/SemaOpenACC/compute-construct-device_type-clause.c
M clang/test/SemaOpenACC/compute-construct-deviceptr-clause.c
M clang/test/SemaOpenACC/compute-construct-firstprivate-clause.c
M clang/test/SemaOpenACC/compute-construct-if-clause.c
M clang/test/SemaOpenACC/compute-construct-no_create-clause.c
M clang/test/SemaOpenACC/compute-construct-num_gangs-clause.c
M clang/test/SemaOpenACC/compute-construct-num_workers-clause.c
M clang/test/SemaOpenACC/compute-construct-present-clause.c
M clang/test/SemaOpenACC/compute-construct-private-clause.c
M clang/test/SemaOpenACC/compute-construct-reduction-clause.c
M clang/test/SemaOpenACC/compute-construct-self-clause.c
M clang/test/SemaOpenACC/compute-construct-vector_length-clause.c
M clang/test/SemaOpenACC/compute-construct-wait-clause.c
A clang/test/SemaOpenACC/loop-ast.cpp
A clang/test/SemaOpenACC/loop-construct-auto_seq_independent-ast.cpp
A clang/test/SemaOpenACC/loop-construct-auto_seq_independent-clauses.c
A clang/test/SemaOpenACC/loop-construct-device_type-ast.cpp
A clang/test/SemaOpenACC/loop-construct-device_type-clause.c
A clang/test/SemaOpenACC/loop-construct-device_type-clause.cpp
A clang/test/SemaOpenACC/loop-construct-private-clause.c
A clang/test/SemaOpenACC/loop-construct-private-clause.cpp
A clang/test/SemaOpenACC/loop-loc-and-stmt.c
A clang/test/SemaOpenACC/loop-loc-and-stmt.cpp
M clang/test/SemaOpenACC/parallel-loc-and-stmt.c
M clang/test/SemaOpenACC/sub-array-ast.cpp
A clang/test/SemaOpenCL/amdgpu-buffer-rsrc.cl
M clang/test/SemaOpenCL/builtins-amdgcn-error-gfx908-param.cl
M clang/test/SemaOpenCL/builtins-amdgcn-error-gfx90a-param.cl
M clang/test/SemaOpenCL/builtins-amdgcn-error-gfx940-param.cl
M clang/test/SemaOpenCL/builtins-amdgcn-gfx940-err.cl
A clang/test/SemaOpenMP/amdgpu-buffer-rsrc.cpp
M clang/test/SemaTemplate/aggregate-deduction-candidate.cpp
M clang/test/SemaTemplate/attributes.cpp
M clang/test/SemaTemplate/concepts-lambda.cpp
M clang/test/SemaTemplate/concepts.cpp
M clang/test/SemaTemplate/cwg2398.cpp
M clang/test/SemaTemplate/deduction-guide.cpp
M clang/test/SemaTemplate/dependent-names.cpp
M clang/test/SemaTemplate/explicit-specialization-member.cpp
M clang/test/SemaTemplate/instantiate-init.cpp
M clang/test/SemaTemplate/instantiate-local-class.cpp
M clang/test/SemaTemplate/instantiate-requires-expr.cpp
M clang/test/SemaTemplate/make_integer_seq.cpp
M clang/test/SemaTemplate/nested-implicit-deduction-guides.cpp
M clang/test/SemaTemplate/nested-template.cpp
M clang/test/SemaTemplate/temp_arg_nontype_cxx2c.cpp
M clang/test/SemaTemplate/template-id-expr.cpp
M clang/test/SemaTemplate/template-id-printing.cpp
M clang/test/SemaTemplate/type_pack_element.cpp
M clang/test/TableGen/deferred-diag.td
M clang/test/TableGen/text-substitution.td
A clang/test/TableGen/wording-errors.td
M clang/test/lit.site.cfg.py.in
M clang/tools/clang-format/ClangFormat.cpp
M clang/tools/clang-installapi/Options.cpp
M clang/tools/clang-installapi/Options.h
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
M clang/tools/clang-repl/CMakeLists.txt
M clang/tools/clang-scan-deps/ClangScanDeps.cpp
M clang/tools/driver/cc1as_main.cpp
M clang/tools/libclang/CIndex.cpp
M clang/tools/libclang/CXCursor.cpp
M clang/tools/libclang/CXExtractAPI.cpp
M clang/tools/scan-build/bin/set-xcode-analyzer
M clang/tools/scan-build/libexec/ccc-analyzer
M clang/unittests/AST/ASTImporterTest.cpp
M clang/unittests/AST/CMakeLists.txt
M clang/unittests/AST/CommentParser.cpp
M clang/unittests/AST/Interp/Descriptor.cpp
M clang/unittests/AST/Interp/toAPValue.cpp
A clang/unittests/AST/ProfilingTest.cpp
M clang/unittests/AST/StructuralEquivalenceTest.cpp
M clang/unittests/AST/TemplateNameTest.cpp
M clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
M clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
A clang/unittests/Analysis/FlowSensitive/ASTOpsTest.cpp
M clang/unittests/Analysis/FlowSensitive/CMakeLists.txt
M clang/unittests/Analysis/FlowSensitive/TestingSupport.h
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
M clang/unittests/Analysis/FlowSensitive/UncheckedOptionalAccessModelTest.cpp
M clang/unittests/Format/ConfigParseTest.cpp
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/FormatTestComments.cpp
M clang/unittests/Format/FormatTestVerilog.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
M clang/unittests/Interpreter/CodeCompletionTest.cpp
M clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp
M clang/unittests/Interpreter/IncrementalProcessingTest.cpp
M clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
M clang/unittests/Interpreter/InterpreterTest.cpp
A clang/unittests/Interpreter/InterpreterTestFixture.h
M clang/unittests/Lex/HeaderSearchTest.cpp
M clang/unittests/Support/TimeProfilerTest.cpp
M clang/unittests/Tooling/CompilationDatabaseTest.cpp
M clang/unittests/Tooling/Syntax/TokensTest.cpp
R clang/utils/ClangDataFormat.py
M clang/utils/TableGen/ClangAttrEmitter.cpp
M clang/utils/TableGen/ClangCommentCommandInfoEmitter.cpp
M clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
M clang/utils/TableGen/MveEmitter.cpp
M clang/utils/TableGen/SveEmitter.cpp
M clang/utils/check_cfc/check_cfc.py
R clang/utils/ci/run-buildbot
M clang/utils/perf-training/CMakeLists.txt
R clang/utils/update_options_td_flags.py
M clang/www/analyzer/alpha_checks.html
M clang/www/c_status.html
M clang/www/cxx_dr_status.html
M clang/www/cxx_status.html
M clang/www/get_involved.html
M clang/www/make_cxx_dr_status
M compiler-rt/CMakeLists.txt
M compiler-rt/cmake/Modules/AddCompilerRT.cmake
M compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
M compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
M compiler-rt/cmake/Modules/CompilerRTUtils.cmake
M compiler-rt/cmake/base-config-ix.cmake
M compiler-rt/cmake/config-ix.cmake
M compiler-rt/include/CMakeLists.txt
A compiler-rt/include/sanitizer/nsan_interface.h
M compiler-rt/lib/asan/asan_linux.cpp
M compiler-rt/lib/asan/asan_mac.cpp
M compiler-rt/lib/asan/asan_premap_shadow.cpp
M compiler-rt/lib/asan/asan_win.cpp
M compiler-rt/lib/asan/tests/CMakeLists.txt
M compiler-rt/lib/builtins/CMakeLists.txt
A compiler-rt/lib/builtins/aarch64/sme-abi-vg.c
M compiler-rt/lib/builtins/atomic.c
M compiler-rt/lib/builtins/cpu_model/aarch64.c
A compiler-rt/lib/builtins/cpu_model/aarch64.h
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/android.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/apple.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/freebsd.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/fuchsia.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/mrs.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/fmv/sysauxv.inc
M compiler-rt/lib/builtins/cpu_model/aarch64/hwcap.inc
M compiler-rt/lib/dfsan/dfsan_custom.cpp
M compiler-rt/lib/fuzzer/tests/CMakeLists.txt
M compiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
M compiler-rt/lib/gwp_asan/optional/segv_handler_posix.cpp
M compiler-rt/lib/gwp_asan/tests/CMakeLists.txt
M compiler-rt/lib/gwp_asan/tests/harness.cpp
M compiler-rt/lib/gwp_asan/tests/harness.h
M compiler-rt/lib/gwp_asan/tests/late_init.cpp
M compiler-rt/lib/hwasan/CMakeLists.txt
M compiler-rt/lib/hwasan/hwasan_dynamic_shadow.cpp
M compiler-rt/lib/hwasan/hwasan_linux.cpp
M compiler-rt/lib/interception/tests/CMakeLists.txt
M compiler-rt/lib/memprof/CMakeLists.txt
M compiler-rt/lib/memprof/memprof_linux.cpp
M compiler-rt/lib/memprof/tests/CMakeLists.txt
M compiler-rt/lib/msan/msan.cpp
A compiler-rt/lib/nsan/CMakeLists.txt
A compiler-rt/lib/nsan/nsan.cpp
A compiler-rt/lib/nsan/nsan.h
A compiler-rt/lib/nsan/nsan.syms.extra
A compiler-rt/lib/nsan/nsan_flags.cpp
A compiler-rt/lib/nsan/nsan_flags.h
A compiler-rt/lib/nsan/nsan_flags.inc
A compiler-rt/lib/nsan/nsan_interceptors.cpp
A compiler-rt/lib/nsan/nsan_platform.h
A compiler-rt/lib/nsan/nsan_stats.cpp
A compiler-rt/lib/nsan/nsan_stats.h
A compiler-rt/lib/nsan/nsan_suppressions.cpp
A compiler-rt/lib/nsan/nsan_suppressions.h
A compiler-rt/lib/nsan/tests/CMakeLists.txt
A compiler-rt/lib/nsan/tests/NSanUnitTest.cpp
A compiler-rt/lib/nsan/tests/nsan_unit_test_main.cpp
M compiler-rt/lib/orc/tests/CMakeLists.txt
M compiler-rt/lib/profile/InstrProfilingFile.c
M compiler-rt/lib/sanitizer_common/sanitizer_bitvector.h
M compiler-rt/lib/sanitizer_common/sanitizer_common.h
M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_win.cpp
M compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cpp
M compiler-rt/lib/scudo/standalone/combined.h
M compiler-rt/lib/scudo/standalone/primary64.h
M compiler-rt/lib/scudo/standalone/secondary.h
M compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
M compiler-rt/lib/scudo/standalone/tests/memtag_test.cpp
M compiler-rt/lib/scudo/standalone/tests/scudo_unit_test.h
M compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
M compiler-rt/lib/scudo/standalone/tests/strings_test.cpp
M compiler-rt/lib/scudo/standalone/tests/vector_test.cpp
M compiler-rt/lib/stats/CMakeLists.txt
M compiler-rt/lib/tsan/CMakeLists.txt
M compiler-rt/lib/tsan/dd/CMakeLists.txt
M compiler-rt/lib/tsan/rtl/CMakeLists.txt
M compiler-rt/lib/xray/tests/CMakeLists.txt
M compiler-rt/lib/xray/tests/unit/function_call_trie_test.cpp
M compiler-rt/lib/xray/tests/unit/profile_collector_test.cpp
M compiler-rt/lib/xray/tests/unit/segmented_array_test.cpp
M compiler-rt/lib/xray/tests/unit/test_helpers.cpp
M compiler-rt/lib/xray/xray_fdr_logging.cpp
M compiler-rt/lib/xray/xray_function_call_trie.h
M compiler-rt/lib/xray/xray_profile_collector.cpp
M compiler-rt/lib/xray/xray_profiling.cpp
M compiler-rt/lib/xray/xray_segmented_array.h
M compiler-rt/test/CMakeLists.txt
M compiler-rt/test/asan/CMakeLists.txt
M compiler-rt/test/asan/TestCases/debug_double_free.cpp
M compiler-rt/test/asan/TestCases/debug_report.cpp
M compiler-rt/test/asan_abi/CMakeLists.txt
M compiler-rt/test/builtins/CMakeLists.txt
M compiler-rt/test/cfi/CMakeLists.txt
M compiler-rt/test/dfsan/CMakeLists.txt
M compiler-rt/test/dfsan/custom.cpp
M compiler-rt/test/dfsan/release_shadow_space.c
A compiler-rt/test/dfsan/sscanf.c
M compiler-rt/test/fuzzer/CMakeLists.txt
M compiler-rt/test/gwp_asan/CMakeLists.txt
M compiler-rt/test/hwasan/CMakeLists.txt
A compiler-rt/test/hwasan/TestCases/hwasan_symbolize_stack_uas.cpp
M compiler-rt/test/interception/CMakeLists.txt
M compiler-rt/test/lit.common.cfg.py
M compiler-rt/test/lsan/CMakeLists.txt
M compiler-rt/test/memprof/CMakeLists.txt
M compiler-rt/test/metadata/CMakeLists.txt
M compiler-rt/test/msan/CMakeLists.txt
A compiler-rt/test/nsan/CMakeLists.txt
A compiler-rt/test/nsan/Unit/lit.site.cfg.py.in
A compiler-rt/test/nsan/lit.cfg.py
A compiler-rt/test/nsan/lit.site.cfg.py.in
M compiler-rt/test/orc/CMakeLists.txt
A compiler-rt/test/orc/TestCases/Darwin/arm64/objc-nonlazy-class.S
A compiler-rt/test/orc/TestCases/Darwin/arm64/objc-protocol-ref.S
A compiler-rt/test/orc/TestCases/Darwin/arm64/objc-protocol.S
A compiler-rt/test/orc/TestCases/Darwin/x86-64/objc-nonlazy-class.S
A compiler-rt/test/orc/TestCases/Darwin/x86-64/objc-protocol-ref.S
A compiler-rt/test/orc/TestCases/Darwin/x86-64/objc-protocol.S
M compiler-rt/test/orc/TestCases/Linux/ppc64/trivial-tls-pwr10.test
M compiler-rt/test/profile/CMakeLists.txt
M compiler-rt/test/profile/ContinuousSyncMode/image-with-mcdc.c
M compiler-rt/test/safestack/CMakeLists.txt
M compiler-rt/test/sanitizer_common/CMakeLists.txt
M compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_allowlist_ignorelist.cpp
M compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cpp
M compiler-rt/test/shadowcallstack/CMakeLists.txt
M compiler-rt/test/tsan/CMakeLists.txt
M compiler-rt/test/tsan/custom_mutex4.cpp
M compiler-rt/test/tsan/custom_mutex5.cpp
M compiler-rt/test/ubsan/CMakeLists.txt
M compiler-rt/test/ubsan_minimal/CMakeLists.txt
M compiler-rt/test/xray/CMakeLists.txt
M cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py
M cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.cpp
M cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb
M flang/cmake/modules/AddFlang.cmake
M flang/cmake/modules/AddFlangOffloadRuntime.cmake
M flang/docs/Directives.md
M flang/docs/Extensions.md
M flang/docs/Intrinsics.md
M flang/examples/FeatureList/FeatureList.cpp
M flang/examples/FlangOmpReport/yaml_summarizer.py
M flang/include/flang/Common/Fortran-features.h
M flang/include/flang/Common/Fortran.h
M flang/include/flang/Evaluate/characteristics.h
M flang/include/flang/Evaluate/check-expression.h
M flang/include/flang/Evaluate/common.h
M flang/include/flang/Evaluate/integer.h
M flang/include/flang/Evaluate/shape.h
M flang/include/flang/Evaluate/target.h
M flang/include/flang/Evaluate/tools.h
M flang/include/flang/Frontend/CodeGenOptions.h
M flang/include/flang/Frontend/FrontendActions.h
M flang/include/flang/Frontend/LangOptions.def
M flang/include/flang/Lower/ConvertConstant.h
M flang/include/flang/Lower/ConvertExprToHLFIR.h
M flang/include/flang/Lower/DumpEvaluateExpr.h
M flang/include/flang/Lower/PFTBuilder.h
M flang/include/flang/Lower/Support/Utils.h
M flang/include/flang/Optimizer/Analysis/AliasAnalysis.h
M flang/include/flang/Optimizer/Analysis/TBAAForest.h
M flang/include/flang/Optimizer/Builder/BoxValue.h
M flang/include/flang/Optimizer/Builder/HLFIRTools.h
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/include/flang/Optimizer/Builder/Runtime/Assign.h
M flang/include/flang/Optimizer/Builder/Runtime/Command.h
M flang/include/flang/Optimizer/Builder/Runtime/Inquiry.h
M flang/include/flang/Optimizer/Builder/Runtime/Numeric.h
M flang/include/flang/Optimizer/Builder/Runtime/RTBuilder.h
M flang/include/flang/Optimizer/Builder/Runtime/Reduction.h
M flang/include/flang/Optimizer/Builder/Runtime/Support.h
M flang/include/flang/Optimizer/CodeGen/CGPasses.td
M flang/include/flang/Optimizer/CodeGen/CodeGen.h
A flang/include/flang/Optimizer/CodeGen/DescriptorModel.h
M flang/include/flang/Optimizer/CodeGen/FIROpPatterns.h
M flang/include/flang/Optimizer/CodeGen/TypeConverter.h
M flang/include/flang/Optimizer/Dialect/CUF/CUFOps.td
M flang/include/flang/Optimizer/Dialect/FIRAttr.td
M flang/include/flang/Optimizer/Dialect/FIROps.h
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/include/flang/Optimizer/Dialect/FIROpsSupport.h
M flang/include/flang/Optimizer/Dialect/FIRType.h
M flang/include/flang/Optimizer/HLFIR/HLFIROps.td
M flang/include/flang/Optimizer/HLFIR/Passes.h
M flang/include/flang/Optimizer/HLFIR/Passes.td
M flang/include/flang/Optimizer/Support/Matcher.h
M flang/include/flang/Optimizer/Transforms/Passes.h
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/include/flang/Parser/dump-parse-tree.h
M flang/include/flang/Parser/parse-tree.h
M flang/include/flang/Parser/preprocessor.h
M flang/include/flang/Parser/provenance.h
M flang/include/flang/Parser/token-sequence.h
M flang/include/flang/Runtime/assign.h
M flang/include/flang/Runtime/command.h
M flang/include/flang/Runtime/inquiry.h
M flang/include/flang/Runtime/magic-numbers.h
M flang/include/flang/Runtime/numeric.h
M flang/include/flang/Runtime/pointer.h
M flang/include/flang/Runtime/reduce.h
M flang/include/flang/Runtime/support.h
M flang/include/flang/Semantics/openmp-directive-sets.h
M flang/include/flang/Semantics/symbol.h
M flang/include/flang/Tools/CLOptions.inc
M flang/include/flang/Tools/CrossToolHelpers.h
M flang/lib/Evaluate/characteristics.cpp
M flang/lib/Evaluate/check-expression.cpp
M flang/lib/Evaluate/fold-integer.cpp
M flang/lib/Evaluate/fold-logical.cpp
M flang/lib/Evaluate/fold-real.cpp
M flang/lib/Evaluate/intrinsics.cpp
M flang/lib/Evaluate/shape.cpp
M flang/lib/Evaluate/tools.cpp
M flang/lib/Frontend/CMakeLists.txt
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Frontend/FrontendActions.cpp
M flang/lib/Lower/Allocatable.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/CallInterface.cpp
M flang/lib/Lower/ComponentPath.cpp
M flang/lib/Lower/ConvertArrayConstructor.cpp
M flang/lib/Lower/ConvertCall.cpp
M flang/lib/Lower/ConvertConstant.cpp
M flang/lib/Lower/ConvertExpr.cpp
M flang/lib/Lower/ConvertExprToHLFIR.cpp
M flang/lib/Lower/ConvertType.cpp
M flang/lib/Lower/ConvertVariable.cpp
M flang/lib/Lower/DirectivesCommon.h
M flang/lib/Lower/HostAssociations.cpp
M flang/lib/Lower/IO.cpp
M flang/lib/Lower/IterationSpace.cpp
M flang/lib/Lower/Mangler.cpp
M flang/lib/Lower/OpenACC.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.h
M flang/lib/Lower/OpenMP/Clauses.cpp
M flang/lib/Lower/OpenMP/Clauses.h
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
M flang/lib/Lower/OpenMP/DataSharingProcessor.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/lib/Lower/OpenMP/Utils.h
M flang/lib/Lower/PFTBuilder.cpp
M flang/lib/Lower/VectorSubscripts.cpp
M flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
M flang/lib/Optimizer/Builder/FIRBuilder.cpp
M flang/lib/Optimizer/Builder/HLFIRTools.cpp
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/Builder/MutableBox.cpp
M flang/lib/Optimizer/Builder/Runtime/Assign.cpp
M flang/lib/Optimizer/Builder/Runtime/Command.cpp
M flang/lib/Optimizer/Builder/Runtime/Inquiry.cpp
M flang/lib/Optimizer/Builder/Runtime/Numeric.cpp
M flang/lib/Optimizer/Builder/Runtime/Reduction.cpp
M flang/lib/Optimizer/Builder/Runtime/Support.cpp
M flang/lib/Optimizer/CodeGen/BoxedProcedure.cpp
M flang/lib/Optimizer/CodeGen/CMakeLists.txt
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
R flang/lib/Optimizer/CodeGen/DescriptorModel.h
M flang/lib/Optimizer/CodeGen/FIROpPatterns.cpp
M flang/lib/Optimizer/CodeGen/PreCGRewrite.cpp
M flang/lib/Optimizer/CodeGen/TBAABuilder.cpp
M flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
M flang/lib/Optimizer/CodeGen/TypeConverter.cpp
M flang/lib/Optimizer/Dialect/CUF/CUFOps.cpp
M flang/lib/Optimizer/Dialect/FIRAttr.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/lib/Optimizer/Dialect/FIRType.cpp
M flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
M flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
M flang/lib/Optimizer/HLFIR/Transforms/InlineElementals.cpp
M flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIRIntrinsics.cpp
M flang/lib/Optimizer/HLFIR/Transforms/OptimizedBufferization.cpp
M flang/lib/Optimizer/HLFIR/Transforms/ScheduleOrderedAssignments.cpp
M flang/lib/Optimizer/Transforms/AddAliasTags.cpp
M flang/lib/Optimizer/Transforms/AddDebugInfo.cpp
M flang/lib/Optimizer/Transforms/AssumedRankOpConversion.cpp
M flang/lib/Optimizer/Transforms/CMakeLists.txt
M flang/lib/Optimizer/Transforms/ControlFlowConverter.cpp
M flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
M flang/lib/Optimizer/Transforms/DebugTypeGenerator.h
M flang/lib/Optimizer/Transforms/ExternalNameConversion.cpp
M flang/lib/Optimizer/Transforms/FunctionAttr.cpp
M flang/lib/Optimizer/Transforms/OMPFunctionFiltering.cpp
M flang/lib/Optimizer/Transforms/OMPMapInfoFinalization.cpp
M flang/lib/Optimizer/Transforms/OMPMarkDeclareTarget.cpp
M flang/lib/Optimizer/Transforms/StackArrays.cpp
A flang/lib/Optimizer/Transforms/StackReclaim.cpp
M flang/lib/Optimizer/Transforms/VScaleAttr.cpp
M flang/lib/Parser/Fortran-parsers.cpp
M flang/lib/Parser/executable-parsers.cpp
M flang/lib/Parser/expr-parsers.cpp
M flang/lib/Parser/openacc-parsers.cpp
M flang/lib/Parser/openmp-parsers.cpp
M flang/lib/Parser/preprocessor.cpp
M flang/lib/Parser/prescan.cpp
M flang/lib/Parser/prescan.h
M flang/lib/Parser/program-parsers.cpp
M flang/lib/Parser/provenance.cpp
M flang/lib/Parser/token-parsers.h
M flang/lib/Parser/token-sequence.cpp
M flang/lib/Parser/unparse.cpp
M flang/lib/Semantics/CMakeLists.txt
A flang/lib/Semantics/canonicalize-directives.cpp
A flang/lib/Semantics/canonicalize-directives.h
M flang/lib/Semantics/check-acc-structure.cpp
M flang/lib/Semantics/check-allocate.cpp
M flang/lib/Semantics/check-call.cpp
M flang/lib/Semantics/check-coarray.cpp
M flang/lib/Semantics/check-cuda.cpp
M flang/lib/Semantics/check-declarations.cpp
M flang/lib/Semantics/check-do-forall.cpp
M flang/lib/Semantics/check-omp-structure.cpp
M flang/lib/Semantics/data-to-inits.cpp
M flang/lib/Semantics/expression.cpp
M flang/lib/Semantics/pointer-assignment.cpp
M flang/lib/Semantics/resolve-directives.cpp
M flang/lib/Semantics/resolve-labels.cpp
M flang/lib/Semantics/resolve-names-utils.cpp
M flang/lib/Semantics/resolve-names.cpp
M flang/lib/Semantics/runtime-type-info.cpp
M flang/lib/Semantics/scope.cpp
M flang/lib/Semantics/semantics.cpp
M flang/lib/Semantics/symbol.cpp
M flang/module/__fortran_builtins.f90
M flang/module/__fortran_ieee_exceptions.f90
M flang/module/cudadevice.f90
M flang/module/ieee_arithmetic.f90
M flang/runtime/ISO_Fortran_binding.cpp
M flang/runtime/assign.cpp
M flang/runtime/command.cpp
M flang/runtime/complex-reduction.c
M flang/runtime/complex-reduction.h
M flang/runtime/descriptor.cpp
M flang/runtime/external-unit.cpp
M flang/runtime/file.cpp
M flang/runtime/inquiry.cpp
M flang/runtime/io-api-common.h
M flang/runtime/numeric-templates.h
M flang/runtime/numeric.cpp
M flang/runtime/pointer.cpp
M flang/runtime/pseudo-unit.cpp
M flang/runtime/reduce.cpp
M flang/runtime/reduction-templates.h
M flang/runtime/stat.h
M flang/runtime/support.cpp
M flang/runtime/time-intrinsic.cpp
M flang/runtime/unit.h
M flang/test/Analysis/AliasAnalysis/alias-analysis-9.fir
A flang/test/Driver/Inputs/libfun.f90
M flang/test/Driver/bbc-mlir-pass-pipeline.f90
M flang/test/Driver/exec.f90
A flang/test/Driver/mlink-builtin-bc.f90
M flang/test/Driver/mlir-debug-pass-pipeline.f90
M flang/test/Driver/mlir-pass-pipeline.f90
M flang/test/Driver/mllvm_vs_mmlir.f90
M flang/test/Driver/omp-driver-offload.f90
R flang/test/Driver/print-resource-dir.F90
M flang/test/Driver/target-cpu-features.f90
A flang/test/Evaluate/fold-ieee.f90
M flang/test/Evaluate/fold-nearest.f90
M flang/test/Evaluate/folding04.f90
M flang/test/Evaluate/rewrite06.f90
A flang/test/Evaluate/signed-mult-opd.f90
M flang/test/Fir/alloc.fir
A flang/test/Fir/array-coor-canonicalization.fir
M flang/test/Fir/basic-program.fir
M flang/test/Fir/boxproc.fir
M flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
M flang/test/Fir/convert-to-llvm.fir
M flang/test/Fir/fir-ops.fir
M flang/test/Fir/invalid.fir
A flang/test/Fir/is_assumed_size-codegen.fir
A flang/test/Fir/loop03.fir
M flang/test/Fir/rebox_assumed_rank_codegen.fir
M flang/test/Fir/tbaa.fir
A flang/test/Fir/vector-always-cfg.fir
A flang/test/Fir/vector-always.fir
M flang/test/HLFIR/assumed-type-actual-args.f90
M flang/test/HLFIR/assumed_shape_with_value_keyword.f90
M flang/test/HLFIR/bufferize01.fir
M flang/test/HLFIR/c_ptr_byvalue.f90
M flang/test/HLFIR/copy-in-out-codegen.fir
M flang/test/HLFIR/copy-in-out.fir
M flang/test/HLFIR/declare-codegen.fir
M flang/test/HLFIR/maxloc-elemental.fir
M flang/test/HLFIR/memory-effects.fir
M flang/test/HLFIR/minloc-elemental.fir
M flang/test/Integration/OpenMP/copyprivate.f90
A flang/test/Integration/debug-allocatable-1.f90
A flang/test/Integration/debug-assumed-shape-array.f90
A flang/test/Integration/debug-char-type-1.f90
A flang/test/Integration/debug-local-var-2.f90
A flang/test/Integration/vector-always.f90
M flang/test/Lower/CUDA/cuda-data-attribute.cuf
M flang/test/Lower/CUDA/cuda-data-transfer.cuf
A flang/test/Lower/CUDA/cuda-device-proc.cuf
A flang/test/Lower/CUDA/cuda-kernel-do-reduction.cuf
A flang/test/Lower/HLFIR/assumed-rank-calls.f90
A flang/test/Lower/HLFIR/assumed-rank-entry.f90
M flang/test/Lower/HLFIR/assumed-rank-iface.f90
A flang/test/Lower/HLFIR/assumed-rank-inquiries-2.f90
A flang/test/Lower/HLFIR/assumed-rank-inquiries-3.f90
A flang/test/Lower/HLFIR/assumed-rank-inquiries.f90
A flang/test/Lower/HLFIR/assumed-rank-internal-proc.f90
M flang/test/Lower/HLFIR/bindc-value-derived.f90
M flang/test/Lower/HLFIR/block_bindc_pocs.f90
M flang/test/Lower/HLFIR/call-sequence-associated-descriptors.f90
M flang/test/Lower/HLFIR/calls-assumed-shape.f90
M flang/test/Lower/HLFIR/calls-character-singleton-result.f90
M flang/test/Lower/HLFIR/calls-constant-expr-arg.f90
M flang/test/Lower/HLFIR/calls-optional.f90
M flang/test/Lower/HLFIR/calls-poly-to-assumed-type.f90
A flang/test/Lower/HLFIR/convert-variable-assumed-rank.f90
A flang/test/Lower/HLFIR/elemental-result-length.f90
M flang/test/Lower/HLFIR/ignore-type-assumed-shape.f90
M flang/test/Lower/HLFIR/poly_expr_for_nonpoly_dummy.f90
A flang/test/Lower/HLFIR/select-rank.f90
R flang/test/Lower/Intrinsics/Todo/reduce.f90
M flang/test/Lower/Intrinsics/associated.f90
A flang/test/Lower/Intrinsics/erfc_scaled.f90
A flang/test/Lower/Intrinsics/getcwd-function.f90
A flang/test/Lower/Intrinsics/getcwd-optional.f90
A flang/test/Lower/Intrinsics/getcwd.f90
M flang/test/Lower/Intrinsics/ieee_femodes.f90
M flang/test/Lower/Intrinsics/ieee_festatus.f90
M flang/test/Lower/Intrinsics/ieee_flag.f90
M flang/test/Lower/Intrinsics/ieee_logb.f90
M flang/test/Lower/Intrinsics/ieee_max_min.f90
M flang/test/Lower/Intrinsics/ieee_operator_eq.f90
M flang/test/Lower/Intrinsics/ieee_rounding.f90
A flang/test/Lower/Intrinsics/reduce.f90
M flang/test/Lower/Intrinsics/ubound01.f90
A flang/test/Lower/OpenMP/DelayedPrivatization/target-private-allocatable.f90
A flang/test/Lower/OpenMP/DelayedPrivatization/target-private-multiple-variables.f90
A flang/test/Lower/OpenMP/DelayedPrivatization/target-private-simple.f90
A flang/test/Lower/OpenMP/Todo/loop-directive.f90
R flang/test/Lower/OpenMP/Todo/reduction-array-intrinsic.f90
M flang/test/Lower/OpenMP/Todo/reduction-derived-type-field.f90
A flang/test/Lower/OpenMP/allocatable-multiple-vars.f90
M flang/test/Lower/OpenMP/critical.f90
A flang/test/Lower/OpenMP/debug_info_conflict.f90
M flang/test/Lower/OpenMP/declare-target-data.f90
M flang/test/Lower/OpenMP/declare-target-func-and-subr.f90
M flang/test/Lower/OpenMP/declare-target-implicit-func-and-subr-cap-enter.f90
M flang/test/Lower/OpenMP/declare-target-implicit-func-and-subr-cap.f90
M flang/test/Lower/OpenMP/declare-target-implicit-tarop-cap.f90
M flang/test/Lower/OpenMP/delayed-privatization-allocatable-firstprivate.f90
A flang/test/Lower/OpenMP/delayed-privatization-lower-allocatable-to-llvm.f90
A flang/test/Lower/OpenMP/distribute.f90
A flang/test/Lower/OpenMP/force-usm.f90
M flang/test/Lower/OpenMP/function-filtering-2.f90
M flang/test/Lower/OpenMP/if-clause.f90
M flang/test/Lower/OpenMP/lastprivate-commonblock.f90
R flang/test/Lower/OpenMP/loop-combined.f90
A flang/test/Lower/OpenMP/loop-compound.f90
M flang/test/Lower/OpenMP/map-component-ref.f90
A flang/test/Lower/OpenMP/parallel-reduction-mixed.f90
A flang/test/Lower/OpenMP/parallel-reduction-pointer-array.f90
A flang/test/Lower/OpenMP/reduction-array-intrinsic.f90
A flang/test/Lower/OpenMP/requires-force-usm.f90
M flang/test/Lower/OpenMP/simd.f90
A flang/test/Lower/OpenMP/simd_aarch64.f90
A flang/test/Lower/OpenMP/simd_x86_64.f90
M flang/test/Lower/OpenMP/threadprivate-commonblock-use.f90
M flang/test/Lower/OpenMP/threadprivate-commonblock.f90
M flang/test/Lower/OpenMP/threadprivate-default-clause.f90
M flang/test/Lower/OpenMP/threadprivate-use-association.f90
A flang/test/Lower/OpenMP/wsloop-reduction-allocatable-array-minmax.f90
A flang/test/Lower/OpenMP/wsloop-reduction-pointer.f90
M flang/test/Lower/PowerPC/ppc-mma-assemble-disassemble.f90
M flang/test/Lower/PowerPC/ppc-mma-outer-product-1.f90
M flang/test/Lower/PowerPC/ppc-mma-outer-product-2.f90
M flang/test/Lower/PowerPC/ppc-pwr10-vec-intrinsics.f90
M flang/test/Lower/PowerPC/ppc-vec-load.f90
M flang/test/Lower/PowerPC/ppc-vec-shift-be-le.f90
M flang/test/Lower/PowerPC/ppc-vector-types.f90
M flang/test/Lower/block.f90
A flang/test/Lower/call-bindc.f90
M flang/test/Lower/call-copy-in-out.f90
M flang/test/Lower/common-block-2.f90
M flang/test/Lower/common-block.f90
M flang/test/Lower/dummy-argument-assumed-shape-optional.f90
M flang/test/Lower/dummy-argument-optional-2.f90
A flang/test/Lower/func-attrs.f90
M flang/test/Lower/host-associated.f90
A flang/test/Lower/loops3.f90
M flang/test/Lower/module_definition.f90
M flang/test/Lower/module_use.f90
M flang/test/Lower/optional-value-caller.f90
M flang/test/Lower/pointer-initial-target-2.f90
A flang/test/Lower/pre-fir-tree09.f90
A flang/test/Lower/vector-always.f90
A flang/test/Parser/OpenMP/target-loop-unparse.f90
M flang/test/Parser/compiler-directives.f90
A flang/test/Parser/recovery01.f90
A flang/test/Parser/recovery02.f90
A flang/test/Preprocessing/args.h
A flang/test/Preprocessing/cond-contin.F90
M flang/test/Preprocessing/directive-contin-with-pp.F90
A flang/test/Preprocessing/ff-args.h
A flang/test/Preprocessing/ff-include-args.F
A flang/test/Preprocessing/inc-contin-1.F
A flang/test/Preprocessing/inc-contin-1.h
A flang/test/Preprocessing/inc-contin-2.F90
A flang/test/Preprocessing/inc-contin-2a.h
A flang/test/Preprocessing/inc-contin-2b.h
A flang/test/Preprocessing/include-args.F90
A flang/test/Preprocessing/multi-cont.F90
M flang/test/Semantics/OpenMP/reduction09.f90
A flang/test/Semantics/OpenMP/reduction13.f90
A flang/test/Semantics/OpenMP/reduction14.f90
M flang/test/Semantics/associated.f90
M flang/test/Semantics/bind-c02.f90
M flang/test/Semantics/bind-c15.f90
A flang/test/Semantics/bind-c16.f90
M flang/test/Semantics/c_loc01.f90
M flang/test/Semantics/call03.f90
M flang/test/Semantics/call05.f90
M flang/test/Semantics/call10.f90
M flang/test/Semantics/call30.f90
M flang/test/Semantics/call40.f90
A flang/test/Semantics/cuf16.cuf
M flang/test/Semantics/declarations02.f90
M flang/test/Semantics/elemental01.f90
A flang/test/Semantics/getcwd.f90
M flang/test/Semantics/label05.f90
A flang/test/Semantics/loop-directives.f90
M flang/test/Semantics/null01.f90
M flang/test/Semantics/resolve09.f90
M flang/test/Semantics/resolve118.f90
A flang/test/Semantics/resolve123.f90
A flang/test/Semantics/resolve124.f90
M flang/test/Semantics/resolve55.f90
M flang/test/Semantics/select-rank03.f90
M flang/test/Semantics/stmt-func01.f90
M flang/test/Transforms/debug-90683.fir
A flang/test/Transforms/debug-allocatable-1.fir
A flang/test/Transforms/debug-assumed-shape-array.fir
A flang/test/Transforms/debug-char-type-1.fir
M flang/test/Transforms/debug-complex-1.fir
M flang/test/Transforms/debug-fixed-array-type.fir
R flang/test/Transforms/debug-fn-info.f90
A flang/test/Transforms/debug-fn-info.fir
M flang/test/Transforms/debug-line-table-existing.fir
M flang/test/Transforms/debug-line-table-inc-file.fir
M flang/test/Transforms/debug-line-table-inc-same-file.fir
M flang/test/Transforms/debug-line-table.fir
R flang/test/Transforms/debug-local-var-2.f90
R flang/test/Transforms/debug-local-var.f90
A flang/test/Transforms/debug-local-var.fir
M flang/test/Transforms/debug-module-1.fir
A flang/test/Transforms/stack-reclaime.fir
A flang/test/Transforms/tbaa-with-dummy-scope.fir
M flang/test/Transforms/tbaa.fir
M flang/test/Transforms/tbaa2.fir
M flang/tools/bbc/bbc.cpp
M flang/unittests/Frontend/FrontendActionTest.cpp
M flang/unittests/Runtime/Inquiry.cpp
M flang/unittests/Runtime/Numeric.cpp
M flang/unittests/Runtime/Reduction.cpp
M flang/unittests/Runtime/Support.cpp
M libc/cmake/modules/CheckCompilerFeatures.cmake
M libc/cmake/modules/LLVMLibCLibraryRules.cmake
M libc/cmake/modules/LLVMLibCObjectRules.cmake
M libc/cmake/modules/LLVMLibCTestRules.cmake
A libc/cmake/modules/compiler_features/check_float16.cpp
M libc/cmake/modules/prepare_libc_gpu_build.cmake
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/arm/headers.txt
M libc/config/baremetal/config.json
M libc/config/baremetal/riscv/entrypoints.txt
M libc/config/config.json
M libc/config/darwin/arm/entrypoints.txt
M libc/config/gpu/entrypoints.txt
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/api.td
M libc/config/linux/arm/entrypoints.txt
M libc/config/linux/arm/headers.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/config/windows/entrypoints.txt
M libc/docs/c23.rst
M libc/docs/configure.rst
M libc/docs/gpu/using.rst
M libc/docs/math/index.rst
M libc/hdr/CMakeLists.txt
A libc/hdr/float_macros.h
M libc/hdr/types/CMakeLists.txt
A libc/hdr/types/atexithandler_t.h
A libc/hdr/types/pid_t.h
M libc/include/CMakeLists.txt
M libc/include/llvm-libc-macros/CMakeLists.txt
M libc/include/llvm-libc-macros/float-macros.h
A libc/include/llvm-libc-macros/float16-macros.h
M libc/include/llvm-libc-macros/limits-macros.h
A libc/include/llvm-libc-macros/link-macros.h
M libc/include/llvm-libc-types/CMakeLists.txt
M libc/include/llvm-libc-types/cnd_t.h
M libc/include/llvm-libc-types/jmp_buf.h
A libc/include/llvm-libc-types/pthread_rwlock_t.h
M libc/include/llvm-libc-types/pthread_rwlockattr_t.h
M libc/include/math.h.def
M libc/include/pthread.h.def
M libc/include/setjmp.h.def
M libc/spec/linux.td
M libc/spec/posix.td
M libc/spec/spec.td
M libc/spec/stdc.td
M libc/src/__support/CMakeLists.txt
M libc/src/__support/CPP/CMakeLists.txt
M libc/src/__support/CPP/algorithm.h
M libc/src/__support/CPP/bit.h
M libc/src/__support/CPP/expected.h
M libc/src/__support/CPP/new.h
M libc/src/__support/CPP/type_traits.h
A libc/src/__support/CPP/type_traits/aligned_storage.h
M libc/src/__support/CPP/type_traits/is_floating_point.h
M libc/src/__support/FPUtil/BasicOperations.h
M libc/src/__support/FPUtil/CMakeLists.txt
M libc/src/__support/FPUtil/FMA.h
M libc/src/__support/FPUtil/FPBits.h
M libc/src/__support/FPUtil/ManipulationFunctions.h
M libc/src/__support/FPUtil/NearestIntegerOperations.h
M libc/src/__support/FPUtil/NormalFloat.h
M libc/src/__support/FPUtil/double_double.h
M libc/src/__support/FPUtil/dyadic_float.h
M libc/src/__support/FPUtil/generic/CMakeLists.txt
M libc/src/__support/FPUtil/generic/FMA.h
M libc/src/__support/FPUtil/generic/FMod.h
M libc/src/__support/FPUtil/generic/sqrt.h
M libc/src/__support/FPUtil/multiply_add.h
M libc/src/__support/FPUtil/sqrt.h
M libc/src/__support/FPUtil/x86_64/FEnvImpl.h
R libc/src/__support/FPUtil/x86_64/PolyEval.h
M libc/src/__support/FPUtil/x86_64/sqrt.h
M libc/src/__support/File/dir.h
M libc/src/__support/File/file.h
M libc/src/__support/File/linux/file.cpp
M libc/src/__support/File/linux/file.h
M libc/src/__support/OSUtil/baremetal/CMakeLists.txt
A libc/src/__support/OSUtil/baremetal/exit.cpp
R libc/src/__support/OSUtil/baremetal/quick_exit.cpp
R llvm/lib/Transforms/Hello/Hello.exports
Log Message:
-----------
address comments
Created using spr 1.3.5-bogner
Compare: https://github.com/llvm/llvm-project/compare/269bd6dabdd6...bacb1812ac30
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